Commit Graph

3065 Commits

Author SHA1 Message Date
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
Tessa Kelly
41a609c503 Fix the styles for the tab 2020-09-08 11:22:17 -07: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
Tessa Kelly
e146ae9ac3 Wire in a tooltip helper 2020-09-08 10:37:19 -07:00
Tessa Kelly
06fa4732f5 Use tabs internal v2 2020-09-08 10:30:52 -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
Tessa Kelly
01638257af Adds alignment (not yet implemented) 2020-09-04 16:24:59 -07:00
Tessa Kelly
3e39cd9410 WIP 2020-09-04 16:24:59 -07:00
Tessa Kelly
865197322f Keep the overlay, and instead remove the focus/blur behavior from the onclick tooltip 2020-09-04 16:24:59 -07:00
Tessa Kelly
d9626693a0 Revert "💀 remove overlay"
This reverts commit 4964f6c74b4cedff3f5e6078dba1db78163d25bd.
2020-09-04 16:24:59 -07:00
Tessa Kelly
1767961983 💀 remove overlay
we don't need this because we have an onBlur event -- clicking anywhere else will, of course, cause a blur event
2020-09-04 16:24:59 -07:00
Tessa Kelly
757134ec8a Use a more reasonable id for the toggle tip label 2020-09-04 16:24:59 -07:00
Tessa Kelly
3ebc3fc696 Adds the hover bridge back in 2020-09-04 16:24:59 -07:00
Tessa Kelly
fdd77b25f0 fold toggleTip and view into each other, so there's less to maintain 2020-09-04 16:24:59 -07:00
Tessa Kelly
7fff4a4069 Add padding to example 2020-09-04 16:24:59 -07:00
Tessa Kelly
3dbf629ba4 Add width to example 2020-09-04 16:24:59 -07:00
Tessa Kelly
d6a9b42411 Adds direction to example 2020-09-04 16:24:59 -07:00
Tessa Kelly
72706c869d Begin adding static examples 2020-09-04 16:24:59 -07:00
Tessa Kelly
1d4f7bee3f Adds debug controls 2020-09-04 16:24:59 -07:00
Tessa Kelly
2a969a4b59 Re-order the tooltip example 2020-09-04 16:24:59 -07:00
Tessa Kelly
73f85c530a isOpen field becomes the open attribute 2020-09-04 16:24:59 -07:00
Tessa Kelly
d2821156fe extraButtonAttrs becomes attribute 2020-09-04 14:38:12 -07:00
Tessa Kelly
20606485b3 change primaryLabel and auxillaryDescription to attributes, adding view 2020-09-04 14:38:12 -07:00
Tessa Kelly
2dd15a295a Adjust the example to be more accurate 2020-09-04 14:38:12 -07:00