Commit Graph

110 Commits

Author SHA1 Message Date
Juan Edi
ba9929ac3a WIIIIIIIPP implement one of the use cases to use new FocusTrap API 2020-09-04 19:36:22 -03: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
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
98614d2f7f Fix Modal docs links 2020-08-18 14:01:28 -07: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
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
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
a84f0b9665 Wire in keyboard shortcuts section to the examples 2020-06-19 14:35:53 -07:00
Tessa Kelly
87ff24e8f0 Remove namespacing 2020-06-19 14:16:10 -07:00
Tessa Kelly
68ea678d7c Adds atomic design tags 2020-06-19 13:41:28 -07:00
Tessa Kelly
6d5184137f Adds Example type annotations 2020-03-31 16:35:17 -07:00
Tessa Kelly
de82a5c4ab Adds back in subscriptions 2020-03-31 16:35:17 -07:00
Tessa Kelly
dc9ed8ba7b Uncomment all the states 2020-03-31 16:35:17 -07:00
Tessa Kelly
5d1fb3c5ba Change category modeling to allow presence in multiple categories 2020-03-23 17:48:53 -07:00
Tessa Kelly
2b87eb84df 🎨 Pull Category out into its own module 2020-03-23 17:33:42 -07:00
Gavin Panella
28d36c6f64 Revert "Merge pull request #461 from NoRedInk/puffins/prepare-for-merge"
This reverts commit 4373c78d82, reversing
changes made to 6b78075f02.
2020-03-06 20:00:34 +01:00
Stoeffel
873f0ef521 move files into subdirectory 2020-03-02 10:45:03 +01:00
Tessa Kelly
57388e579c Avoid creating a new ClickableText version 2020-01-31 10:50:37 -08:00
Tessa Kelly
eb76953022 Use ClickableText.V4 in styleguide examples 2020-01-31 10:22:36 -08:00
Tessa Kelly
1dd1bebdb3 Use css helper rather than Button.custom 2020-01-31 10:15:57 -08:00
Tessa Kelly
31d70b4f90 Fixes style overwritten unintentionally by elm-css 2020-01-29 09:20:21 -08:00
Ben Dansby
e3a67a706a import v10 button for modal example 2020-01-28 17:10:20 -08:00
Brian Hicks
0764e4527f add some more cupcake ipsum 2019-11-18 12:44:25 -06:00
Michael Glass
32de6d0a9b
revert optional config because there's only one config option 2019-10-23 18:33:27 +02:00
Michael Glass
091fc357d6
move autoFocusOnLastElement into onlyFocusableElementView 2019-10-23 18:26:59 +02:00
Michael Glass
cc35555ac5
fix focus usage in example modal 2019-10-23 18:10:05 +02:00
Michael Glass
caeb3d06f9
pass through view funcs as callbacks to avoid need to pass config to multiple places 2019-10-23 17:21:20 +02:00
Michael Glass
800b9d1910
only accept one focusable 2019-10-23 17:02:52 +02:00
Michael Glass
eed29adcf2
don't thread visibleTitle through focusable callbacks 2019-10-23 16:59:30 +02:00
Michael Glass
11ca265f5b
modal options are optional config 2019-10-23 13:56:31 +02:00