Commit Graph

134 Commits

Author SHA1 Message Date
Kristine
d85a83de14 add Modal to messaging category 2022-02-10 10:12:40 -05:00
Tessa Kelly
1c4decc516 💀 move modals into general layout section 2021-11-11 14:51:27 -08:00
Tessa Kelly
d98b9ca94e Ratchet deprecated imports 2021-11-05 16:02:02 -07:00
Tessa Kelly
52a58c4924 Remove the preview items from the tab order
need to fix switch still
2021-11-05 14:35:09 -07:00
Tessa Kelly
22a1916855 Mini modal preview 2021-11-05 13:13:35 -07:00
Tessa Kelly
52dd34abc2 Adds to example record 2021-11-05 11:19:08 -07:00
Liz Krane
5c337e41d8
Merge pull request #761 from NoRedInk/tessa/use-control-extras
Tessa/use control extras
2021-11-01 14:09:02 -07:00
Liz Krane
b5ce28f73f Use Button.modal and ClickableText.modal helpers in Modal styleguide example 2021-11-01 11:06:55 -07:00
Tessa Kelly
a2d63ea650 Use list for Modal example 2021-10-28 08:50:39 -07:00
Tessa Kelly
6a50cb6229 Adds plaintext and markdown helpers 2021-10-27 19:14:11 -07:00
Tessa Kelly
f478bcc508 V5 -> V6 2021-10-27 19:14:11 -07:00
Ben Dansby
b39b59cd6e gold to blue 2021-08-30 15:47:40 -07:00
Tessa Kelly
83946a6b0e 💀 remove atomic design elements 2021-05-27 18:30:31 -07:00
Tessa Kelly
3fe407b55e Update Text version 2021-05-27 18:30:31 -07:00
Tessa Kelly
e431f736ce Adds separate version field 2020-09-09 11:43:10 -07:00
Juan Edi
a73de4be5f The modal requires a focus trap now 2020-09-08 15:36:13 -03:00
Juan Edi
6370b83d99 Use a type alias instead of a custom type for FocusTrap
I don't think we are getting any value out of the custom type since we have a
single case and are exposing the constructor anway.
2020-09-08 15:29:21 -03:00
Tessa Kelly
53f5d77ee2 Remove the cases 2020-09-04 17:23:41 -07:00
Tessa Kelly
ce5201e900 fix 🐛s caused by duplicative id 2020-09-04 17:15:54 -07:00
Tessa Kelly
4db7df2a48 Implement one element focus trap 2020-09-04 17:01:49 -07:00
Tessa Kelly
6ddc4499fa Make the closeButton an attribute 2020-09-04 16:59:02 -07:00
Tessa Kelly
44eee7f15a Remove closeModal attribute hole 2020-09-04 16:49:59 -07:00
Tessa Kelly
a193082fa9 🎨 remove unnecessary argument hole 2020-09-04 16:49:07 -07:00
Tessa Kelly
12a804adb3 Audit current behavior 2020-09-04 16:47:31 -07:00
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