Commit Graph

3160 Commits

Author SHA1 Message Date
Tessa Kelly
89e212d0bd Add svg label
this seems redundant to me, but not sure how to get around it in the tests given how the tooltip currenlty works (probably display:none on the tooltip content rather than not rendering it would be better)
2020-09-09 11:11:14 -07:00
Tessa Kelly
39eae7b313 allow old imports for clickable svg and menu
these can be updated separately
2020-09-09 11:07:41 -07:00
Tessa Kelly
c3c88e8cc0 Update segmented control import 2020-09-09 11:07:19 -07:00
Tessa Kelly
0474335320 🎨 simplify test setup 2020-09-09 11:04:44 -07:00
Tessa Kelly
a7ec9f48bb Test mouse enter and mouse leave behavior 2020-09-09 11:00:01 -07:00
Tessa Kelly
d65321053e Use variables for the onHover tests 2020-09-09 10:58:23 -07:00
Tessa Kelly
d0fabd528d Fix the onclick test
Note: the old onClick open-on-focus behavior is gone.
2020-09-09 10:56:20 -07:00
Tessa Kelly
887f612e02 Fix the toggle tip on hover tests 2020-09-09 10:48:43 -07:00
Tessa Kelly
3eb01db0c5 Adds helpers 2020-09-09 10:36:18 -07:00
Tessa Kelly
e0cd60f10e Wet the examples 2020-09-09 10:23:23 -07:00
Tessa Kelly
329aec27c5 Fix tooltip spec compilation 2020-09-09 10:13:42 -07:00
Tessa Kelly
9a98133ce0 Merge remote-tracking branch 'origin/master' into raven/tooltip-v2 2020-09-08 16:40:52 -07:00
Tessa
1e484236a7
Merge pull request #597 from NoRedInk/raven/focus-trap-proof-of-concept
Changes to FocusTrap API
2020-09-08 16:36:38 -07:00
Tessa Kelly
960ebf0b32 Adds missing type annotations: 2020-09-08 16:24:09 -07:00
Tessa Kelly
182129ffac 💀 remove resolved comment 2020-09-08 16:20:47 -07:00
Tessa Kelly
82e4c6e63b Fix tests 2020-09-08 16:13:30 -07:00
Tessa Kelly
686fcf0846 Merge remote-tracking branch 'origin/master' into raven/focus-trap-proof-of-concept 2020-09-08 15:41:38 -07:00
Tessa Kelly
a2cc2b7ba3 Fix typo 2020-09-08 15:41:23 -07:00
Tessa Kelly
9100a9b204 Expose Tabs and Segmented control 2020-09-08 15:34:15 -07:00
Tessa Kelly
658b27923e Merge remote-tracking branch 'origin/master' into raven/tooltip-v2 2020-09-08 15:31:28 -07:00
Tessa Kelly
fabd2efee1 Adds some known issues 2020-09-08 15:14:42 -07:00
Tessa Kelly
4967bfbf50 Move the builder pattern into the internal helper 2020-09-08 15:08:41 -07:00
Tessa Kelly
92c8ede11a Model internal tabs as internal tabs 2020-09-08 15:04:29 -07:00
Tessa Kelly
989ce0821f Show the labels without text 2020-09-08 14:47:38 -07:00
Tessa Kelly
093718d9ed Fix broken on-focus tooltip behavior 2020-09-08 14:35:36 -07:00
Tessa Kelly
688b3190ce Adds some defaults 2020-09-08 14:14:40 -07:00
Tessa Kelly
c033727e81 Adds segmented control tooltip example 2020-09-08 14:09:49 -07:00
Tessa Kelly
0f36a850e3 Adds adjusted alignment example 2020-09-08 11:55:09 -07:00
Tessa Kelly
07ea7966db Center the tooltip 2020-09-08 11:49:05 -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
Juan Edi
365d625cca don't case now that we use a single constructor 2020-09-08 15:26:06 -03:00
Juan Edi
d4625ae274 Add some docs to the FocusTrap module 2020-09-08 15:23:50 -03:00
Tessa Kelly
41a609c503 Fix the styles for the tab 2020-09-08 11:22:17 -07:00
Juan Edi
41ea557191 Simplify example
Now that the single/multi-focusable element cases were consolidates it seems
less necessary to show two types of modals.
2020-09-08 15:17:43 -03:00
Juan Edi
a81fb3617a Update docs to use the new API in the example 2020-09-08 15:06:13 -03:00
Tessa Kelly
83da4f1a4b Render the tooltip in the tab example 2020-09-08 11:00:32 -07:00
Tessa Kelly
ededf8008b Change to an attributes-based approach 2020-09-08 10:56:29 -07:00
Juan Edi
ad1bfb6672 Remove old FocusTrap helpers 2020-09-08 14:49:51 -03:00
Tessa Kelly
e146ae9ac3 Wire in a tooltip helper 2020-09-08 10:37:19 -07:00
Juan Edi
0854f2bc60
Merge pull request #595 from NoRedInk/tessa/fix-checkbox-background
Tessa/fix checkbox background
2020-09-08 14:32:07 -03:00
Tessa Kelly
06fa4732f5 Use tabs internal v2 2020-09-08 10:30:52 -07: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
1fb208396a Pull the 9 check higher 2020-09-04 17:04:57 -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