Commit Graph

970 Commits

Author SHA1 Message Date
Tessa Kelly
20606485b3 change primaryLabel and auxillaryDescription to attributes, adding view 2020-09-04 14:38:12 -07:00
Tessa Kelly
d500161811 Move the trigger to the attributes 2020-09-04 14:38:12 -07:00
Tessa Kelly
428b66bb14 Change to attribute-based API 2020-09-04 14:38:12 -07:00
Tessa Kelly
23e80fa9d2 Replace withPosition with directional helpers 2020-09-04 14:38:12 -07:00
Tessa Kelly
9f8939b1b6 Use Tooltip V2 2020-09-04 14:38:11 -07:00
Tessa Kelly
44975187d6 Apparently nesting Control records causes deque to fail. de-nest 2020-09-04 08:52:47 -07:00
Tessa Kelly
7bb32b0787 Fix mistake in the focus handling 2020-09-02 16:57:32 -07:00
Tessa Kelly
fd69c6c8a9 Pull out focus trap helper 2020-09-02 16:56:10 -07:00
Tessa Kelly
7aa2d65e96 Change closeButton to accept any msg type 2020-09-02 16:37:00 -07:00
Tessa Kelly
708f291081 The most major of API changes:
allows the user to set the id of their focusable element, and prevents autofocusing from overrding the other element id options and vice versa
2020-09-02 16:32:17 -07:00
Tessa Kelly
c09053b69c Add a helper for the continue button 2020-09-02 14:35:35 -07:00
Tessa Kelly
1eda22c565 Add a helper for the close button 2020-09-02 14:32:57 -07:00
Tessa Kelly
94f841c5f8 Adds keyboard support notes 2020-09-02 14:19:41 -07:00
Tessa Kelly
cb2b548064 Put all the attributes in a list in the controls 2020-09-02 14:15:42 -07:00
Tessa Kelly
9972b9a46b ALlow a little more customization inthe css 2020-09-02 14:09:52 -07:00
Tessa Kelly
e249033658 Adds showTitle helper 2020-09-02 14:04:06 -07:00
Tessa Kelly
87f2064938 Make the content customizable 2020-09-02 13:59:02 -07:00
Tessa Kelly
9ad216b994 Move the theme into the settings 2020-09-02 13:53:40 -07:00
Tessa Kelly
9743a69d32 Use Debug.Control 2020-09-02 13:44:39 -07:00
Tessa Kelly
14da7572d2 Hide the skip button when not focused 2020-09-02 12:53:27 -07:00
Tessa Kelly
97bf52f3bd Skip to header rather than to whole section 2020-09-02 12:39:35 -07:00
Tessa Kelly
751aa89f84 Make info and warning into themes 2020-09-02 10:48:52 -07:00
Tessa Kelly
66bd38307c 💀 replace initOPen with open 2020-09-02 10:35:20 -07:00
Tessa Kelly
b04eee1d89 Use Modal.V11 2020-09-02 10:12:59 -07:00
Tessa Kelly
e5f5928c44 Render a table with all the examples 2020-08-28 16:05:31 -07:00
Tessa Kelly
0b337ee1c5 Auto-set the content for the example after all 2020-08-28 16:05:31 -07:00
Tessa Kelly
66798374c0 Make tiny, large, and banner into attribute constructors 2020-08-28 16:05:31 -07:00
Tessa Kelly
c3fdcd30fb Allow for greater customization of the custom theme 2020-08-28 16:05:31 -07:00
Tessa Kelly
34a733c11a Move Theme to be an attribute 2020-08-28 16:05:31 -07:00
Tessa Kelly
79d395ca4d Move Content to be an attribute 2020-08-28 16:05:31 -07:00
Tessa Kelly
e99c085cae 💀 remove mapContent 2020-08-28 16:05:31 -07:00
Tessa Kelly
cc6ccd400f Adds the view helper to the settings 2020-08-28 16:05:31 -07:00
Tessa Kelly
78988a704a Show dismissibility in the Message example 2020-08-28 16:05:31 -07:00
Tessa Kelly
c911ba707c Pull the subcontrols to the top level 2020-08-28 16:05:31 -07:00
Tessa Kelly
34b0985652 Show one theme at a time 2020-08-28 16:05:31 -07:00
Tessa Kelly
9b94e2cdb2 Add roles to the tiny and large elements 2020-08-28 16:05:31 -07:00
Tessa Kelly
d13539330d Rename BannerAttribute -> Attribute 2020-08-28 16:05:31 -07:00
Tessa Kelly
aba39c5b86 Adds alert and alert dialog role options to the message API 2020-08-28 16:05:31 -07:00
Tessa Kelly
a2421b7742 Wire up message v2 2020-08-28 16:05:31 -07:00
Brian Hicks
9aead358a5 allow SegmentedControl to be centered 2020-08-20 15:58:31 -05:00
Brian Hicks
b31e31a0fc replace toString with idString in viewRadioGroup 2020-08-20 15:43:57 -05:00
Brian Hicks
f54ff424c5 use idString instead of toString 2020-08-20 15:41:50 -05:00
Brian Hicks
bae4303bb6 allow HTML in radio options 2020-08-20 15:17:45 -05:00
Brian Hicks
e979190537 allow HTML in labels 2020-08-20 15:13:35 -05:00
Brian Hicks
85bcfbe424 copy v11 -> v12 2020-08-20 15:07:18 -05:00
Tessa Kelly
98614d2f7f Fix Modal docs links 2020-08-18 14:01:28 -07:00
Brian Hicks
e34e887b43 upgrade elm-version in the styleguide 2020-08-13 16:13:07 -05:00
Ju Liu
be9c2e42c5 Implement Modal.V10
Which allows an easier way to customize the modal styling
2020-08-12 15:18:21 +01:00
Tessa Kelly
6a9ebcd980 Adds misisng legend 2020-08-05 16:22:33 -07:00
Tessa Kelly
ca714c5775 Update the keyboard support notes 2020-08-05 15:58:40 -07:00
Tessa Kelly
d7b6d9fdf0 🎨 make the API consistent 2020-08-05 15:25:26 -07:00
Tessa Kelly
f815a4bb13 Use TabsInternal for Segmentedcontrol 2020-08-05 15:19:09 -07:00
Tessa Kelly
bcd3135c39 Begin basing segmented control off of tabsinternal 2020-08-05 15:03:22 -07:00
Tessa Kelly
a30bb6153d Copy V5 tabs to V6 2020-08-05 14:18:03 -07:00
Tessa Kelly
a9d64e7cbb Use radio button under the hood 2020-08-05 14:04:49 -07:00
Tessa Kelly
a7b3ed779c Do renames for radio group 2020-08-05 13:20:48 -07:00
Tessa Kelly
b6b41109e5 cp SegmentedControl/V10.elm SegmentedControl/V11.elm 2020-08-05 13:15:57 -07:00
Tessa
ef6ee0ab21
Merge branch 'master' into lab/stickyable-segmented-control 2020-08-04 21:44:47 -07:00
Tessa Kelly
e9631d95f2 Show icons by default cause icons are adorable 2020-08-04 21:36:15 -07:00
Tessa Kelly
f4e5467cff Add long content example 2020-08-04 21:35:10 -07:00
Tessa Kelly
437f37d135 🎨 remove other map2 2020-08-04 21:28:01 -07:00
Tessa Kelly
bdb8f7260f Remove option map2 2020-08-04 19:30:24 -07:00
Tessa Kelly
8a32a17772 Move the content into the Option 2020-08-04 19:06:28 -07:00
Tessa Kelly
0233fbf682 Add some more info on difference between view and viewSelect 2020-08-04 18:30:25 -07:00
Tessa Kelly
3eaea56a92 Open up the type for the attributes for each option 2020-08-04 18:25:41 -07:00
Tessa Kelly
a326999f84 Begin passing through attributes 2020-08-04 18:17:24 -07:00
Tessa Kelly
2f20f05bff 💀 remove the useSpa control 2020-08-04 18:08:16 -07:00
Tessa Kelly
249285e52d Remove the segmented control from the inputs section 2020-08-04 18:00:58 -07:00
Tessa Kelly
a98e805abf Document the current keyboard behavior
I vaguely suspect that tab should take the user into the controlled content, rather than through the rest of the control options... but will elave it to testing
2020-08-04 17:58:29 -07:00
Tessa Kelly
fc2c79817d 🎨 tidy the API 2020-08-04 17:52:30 -07:00
Tessa Kelly
1314260cf2 Switch from V9 in styleguide to V10 2020-08-04 17:38:11 -07:00
Tessa Kelly
6fc885e96e Fix the example, which should be against the newest version 2020-07-31 13:18:48 -07:00
Tessa Kelly
432be025a3 Notes for V2 of RadioButton 2020-07-30 11:47:32 -07:00
Tessa Kelly
6d7f6061ca Show modal 2020-07-30 11:39:16 -07:00
Tessa Kelly
83b8633e0d Add example from the monolith styleguide (minus premium modal) 2020-07-30 11:28:18 -07:00
Tessa Kelly
192cd5c49c Adds example app 2020-07-30 11:12:30 -07:00
Tessa
4dd1629b95
Merge branch 'master' into tessa/expand-segmented-control-example 2020-07-29 13:16:14 -07:00
Tessa Kelly
97dba40ff3 Use different prefixes in order to end up with different ids for axe 2020-07-29 11:18:07 -07:00
Tessa Kelly
05dc88402f Demo 2-8 segmented controls 2020-07-29 11:10:49 -07:00
Tessa Kelly
090c6eb695 Change the ExampleOptionSelect to use ints 2020-07-29 11:00:05 -07:00
Tessa Kelly
4d0df17b74 Ads missing document 2020-07-28 16:46:01 -07:00
Tessa Kelly
e227c99631 Adds documents icon 2020-07-16 16:30:24 -07:00
Brian Hicks
789d0ae7c8 add examples of attribute-based customization to the style guide 2020-07-13 10:11:33 -05:00
Brian Hicks
273fe45f41 accept and apply styles 2020-07-13 09:50:19 -05:00
Tessa Kelly
e3f714d2c3 Fix warning modal content
:
2020-07-02 15:33:51 -07:00
Tessa Kelly
885b457677 Switch to FocusManager type 2020-07-02 15:09:07 -07:00
Tessa Kelly
ed10041cfa 💀 remove Focusable type
TODO: decide whether or not to expose Attribute
2020-07-02 12:58:38 -07:00
Tessa Kelly
434ec45805 Change the API for onlyFocusable to expect a record 2020-07-02 12:51:04 -07:00
Tessa Kelly
7e2d47bfa3 Remove ViewFuncs abstraction, which imo made it harder to unserstand what the views actually required 2020-07-02 12:20:21 -07:00
Tessa Kelly
1dbe7b3a15 Expose and use V9 2020-07-02 12:15:53 -07:00
Aaron VonderHaar
d894d7e21c Add UiIcon.searchInCircle 2020-06-29 17:23:45 -07:00
Tessa Kelly
80e5cfcae8 Merge remote-tracking branch 'origin/master' into remove-old-components 2020-06-23 12:29:54 -07:00
Tessa Kelly
9b0b4c300e Follow review recs on sorting modules into atomic design types 2020-06-23 10:21:31 -07:00
Tessa Kelly
f9501508f3 Use increasing sorter rather than alphabetical sorter for atomic design type 2020-06-23 10:19:39 -07:00
Tessa Kelly
3bf24352af 💀 remove old components 2020-06-22 17:46:20 -07:00
Tessa Kelly
4ae16d11d5 Add some examples of keyboard support 2020-06-19 14:50:47 -07:00
Tessa Kelly
3ca51afde0 Rename from 'shortcuts' to 'support' -- not about providing shortcuts, about providing access 2020-06-19 14:45:32 -07:00
Tessa Kelly
311ba32ec3 Adds keyboard shortcuts to all the examples 2020-06-19 14:42:28 -07:00
Tessa Kelly
a84f0b9665 Wire in keyboard shortcuts section to the examples 2020-06-19 14:35:53 -07:00
Tessa Kelly
90aadbe547 Adds a source link 2020-06-19 14:23:17 -07:00