Commit Graph

3241 Commits

Author SHA1 Message Date
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
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
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
Tessa Kelly
d500161811 Move the trigger to the attributes 2020-09-04 14:38:12 -07:00
Tessa Kelly
428b66bb14 Change to attribute-based API 2020-09-04 14:38:12 -07:00
Tessa Kelly
011190d3c1 Adds helper 2020-09-04 14:38:12 -07:00
Tessa Kelly
430f742cef adds customPadding 2020-09-04 14:38:12 -07:00
Tessa Kelly
f32b926e49 {Padding, withPadding} -> {smallPadding, normalPadding} 2020-09-04 14:38:12 -07:00
Tessa Kelly
b0cbf8d1c0 {Width, withWidth} -> {exactWidth, fitToContent} 2020-09-04 14:38:12 -07:00
Tessa Kelly
bd54f65c81 withTooltipStyleOverrides -> css 2020-09-04 14:38:12 -07:00
Tessa Kelly
23e80fa9d2 Replace withPosition with directional helpers 2020-09-04 14:38:12 -07:00
Tessa Kelly
9f8939b1b6 Use Tooltip V2 2020-09-04 14:38:11 -07:00
Tessa Kelly
8b8c4c4a6d cp Tooltip 2020-09-04 14:38:11 -07:00
Tessa
a3d2ab6e4b
Merge pull request #593 from NoRedInk/raven/modal-improvements
Raven/modal improvements
2020-09-04 14:29:33 -07: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
9802c33d8f 💀 remove dead code 2020-09-02 16:42:22 -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
72e60d9367 Fix missing attributes in example code 2020-09-02 14:46:12 -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
1c184d8179 add more changes to docs 2020-09-02 14:30:52 -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