Commit Graph

3134 Commits

Author SHA1 Message Date
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
Tessa Kelly
fb9810354a Fix bad string value 2020-09-04 16:30:15 -07:00
Tessa Kelly
8729d8bb4f Change the racheting accessibility tooling to expect null violations 2020-09-04 16:27:56 -07:00
Tessa Kelly
000c97b92d Make the radio button filter ids unique 2020-09-04 16:27:56 -07:00
Tessa Kelly
70c221714a Fix premium checkboxes (identifiers with special chars break the filter reference) 2020-09-04 16:27:56 -07:00
Tessa Kelly
18bc07aaea Make the filter ids unique 2020-09-04 16:27:56 -07:00
Tessa Kelly
54f7871d9c Use the copied versions of the tab components 2020-09-04 16:24:59 -07:00
Tessa Kelly
b1b9dda0e1 cp SegmentedControl.V13 and Tabs.V7 2020-09-04 16:24:59 -07:00
Tessa Kelly
f2e19df603 Adjust API so that any focusable component can be usedas the trigger for the tooltip 2020-09-04 16:24:59 -07:00
Tessa Kelly
7501ac437b Adds example of tooltip in a tab
I notice that this really messes up the tab order :/ I think we're going to have to more deeply integrate the tooltips
2020-09-04 16:24:59 -07:00
Tessa Kelly
c70204e156 Switch the hover click event to allow propagation
this should enable us to use the tooltip rather than the Nri.Balloon for other components, like tabs
2020-09-04 16:24:59 -07:00
Tessa Kelly
e6ae7d16fd Adds a todo: 2020-09-04 16:24:59 -07:00
Tessa Kelly
65c224f695 Don't overwrite pre-existing attributes 2020-09-04 16:24:59 -07:00
Tessa Kelly
ef14174eb1 Put defaults first in controls 2020-09-04 16:24:59 -07:00
Tessa Kelly
8306501ced Use custom number for the other values 2020-09-04 16:24:59 -07:00
Tessa Kelly
ff1d8b296f Adds a fake number input rather than hardcoding rando values 2020-09-04 16:24:59 -07:00
Tessa Kelly
7e8bb3ee1e Simplify the primarylabel and auxillarydescription notes 2020-09-04 16:24:59 -07:00
Tessa Kelly
67acb4c8b0 Elimate weird lost focus 2020-09-04 16:24:59 -07:00
Tessa Kelly
15447c0987 You can now move your focus into the tooltip 2020-09-04 16:24:59 -07:00
Tessa Kelly
9f7b2274bf Pass through the offset because I don't think there's a way to do this properly without knowing the height 2020-09-04 16:24:59 -07:00
Tessa Kelly
455bd83417 Further customization 2020-09-04 16:24:59 -07:00
Tessa Kelly
cee39e7332 Fix the container positioning for align start and align end top and bottom exact width tooltips 2020-09-04 16:24:59 -07:00
Tessa Kelly
3b27a670db Remove hopefully-unnecessary div layer 2020-09-04 16:24:59 -07:00
Tessa Kelly
5e48ec2850 Fix backwards sign on align right 2020-09-04 16:24:59 -07:00
Tessa Kelly
2b8fe6cfd0 Move the position up 2020-09-04 16:24:59 -07:00
Tessa Kelly
616a8c6930 Begin positioning the arrows 2020-09-04 16:24:59 -07:00
Tessa Kelly
c7d3f51422 Adds alignment to example 2020-09-04 16:24:59 -07:00