Commit Graph

3663 Commits

Author SHA1 Message Date
Tessa Kelly
869623f9ad Finish width todo 2021-03-04 11:22:50 -08:00
Tessa Kelly
cbd3ef12e6 Separate the types for the menu configuration 2021-03-04 11:22:50 -08:00
Tessa Kelly
c5155ca408 Make the menu more generic: move the tooltip and clickable svg stuff to an example 2021-03-04 11:22:50 -08:00
Tessa Kelly
e702bd1a3c Move the click handling to the shared location 2021-03-04 11:22:50 -08:00
Tessa Kelly
a88f1fb155 Share the code that can be shared between the two discrete menu implementations 2021-03-04 11:22:50 -08:00
Tessa Kelly
ba86a258ed 💀 unused code 2021-03-04 11:22:50 -08:00
Tessa Kelly
7edbd4fd49 Adjust the id behavior 2021-03-04 11:22:50 -08:00
Tessa Kelly
d309b391cf Use ClickableSvg and Tooltip.V2 for the menu 2021-03-04 11:22:50 -08:00
Tessa Kelly
8da3a2dd4d Inline reusable helper for easy refactoring 2021-03-04 11:22:50 -08:00
Tessa Kelly
fa3c5f9c5f 💀 remove iconLink and iconButton 2021-03-04 11:22:50 -08:00
Tessa Kelly
ec54e767f9 Close the main menu on escape 2021-03-04 11:22:50 -08:00
Tessa Kelly
643d0a0bc4 onToggle -> toggle 2021-03-04 11:22:50 -08:00
Tessa Kelly
06242c36f2 Adds focus helper 2021-03-04 11:22:50 -08:00
Tessa Kelly
c5c7a24c99 copy V1 to V2 2021-03-04 11:22:50 -08:00
Tessa Kelly
4937f69c04 Adds aspirational menu interaction notes 2021-03-04 11:22:50 -08:00
Tessa
d28dfa1d5c
Merge pull request #682 from NoRedInk/bump-for-null
Bump version
2021-03-02 14:42:37 -08:00
Tessa Kelly
1b91c898b9 Bump version 2021-03-02 14:38:39 -08:00
Tessa
3bc65cbf61
Merge pull request #681 from NoRedInk/kraken/adds-icons
Kraken/adds icons
2021-02-23 16:52:06 -08:00
Tessa Kelly
e32f91f621 🎨 Scope the imports 2021-02-23 11:24:48 -08:00
Tessa Kelly
71f66e80fe Rearrange the examples a bit 2021-02-23 11:21:03 -08:00
Tessa Kelly
2b76c45f07 Adds minimally edited null 2021-02-23 11:20:26 -08:00
Tessa Kelly
ac3a2e4afb Fix the current color 2021-02-23 11:16:09 -08:00
Tessa Kelly
05a637f152 Adds minimally edited openBooks 2021-02-23 11:13:53 -08:00
Ju Liu
5fec427c19
Merge pull request #677 from NoRedInk/12.16.2-bump
Bump to 12.16.2
2021-02-10 11:16:22 +00:00
Ju Liu
543d3c5185 Bump to 12.16.2 2021-02-10 11:11:48 +00:00
Ju Liu
ef285da8e7 Switch from http to https 2021-02-10 11:10:48 +00:00
Ju Liu
ae44c803ae
Merge pull request #676 from NoRedInk/checkbox/more-padding
Increase label left padding on checkboxes
2021-02-10 11:07:08 +00:00
Ju Liu
b67ab7dad6 Increase label left padding on checkboxes 2021-02-09 18:52:19 +00:00
Ju Liu
3128658c8c
Merge pull request #675 from NoRedInk/12.16.1-bump
bump to 12.16.1
2021-02-04 16:19:14 +00:00
Juan Edi
e957723371 bump to 12.16.1 2021-02-03 11:22:00 -03:00
Ju Liu
401e0eeb1b
Merge pull request #673 from NoRedInk/raven/label-for-switch
add "for" attribute to the switch's label
2021-02-03 09:41:22 +00:00
Juan Edi
c1c660073c add "for" attribute to the switch's label
this will associate the label with the input, giving us some nice things such
as:
  - screen readers will read the label when the input is focused
  - clicking on the label toggles the switch
  - toggling the switch with elm-program-test is now possible without manually
  simulating dom events
2021-02-02 16:26:48 -03:00
Tessa
fd995cbcb1
Merge pull request #672 from NoRedInk/kraken/fix-message-example
Fix version
2021-01-26 14:54:05 -08:00
Tessa Kelly
ce46c58689 Fix version 2021-01-25 12:04:39 -08:00
Tessa
cd84aa6f1d
Merge pull request #671 from NoRedInk/kraken/message-v3-release
Message.V3 and prefers-reduced-motion Confetti
2021-01-25 11:18:52 -08:00
Tessa Kelly
45a0868b92 bump 2021-01-25 11:13:07 -08:00
Tessa
0a9a882937
Merge pull request #670 from NoRedInk/raven/reduced-motion-support-3
Raven/reduced motion support 3
2021-01-25 10:53:57 -08:00
Juan Edi
153ddbb0ca Don't show confetti if prefers-reduced-motion is set 2021-01-22 16:35:02 -03:00
Juan Edi
1ef2154677 Use Css instead of Attributes.style 2021-01-22 16:33:46 -03:00
Juan Edi
69c7047dfd Fix Confetti demo
We don't need a positioned parent anymore. We may want to change this in the
future if we ever need to scope confetti to a container, but seems unlikely
given hoe we've been using it so far.
2021-01-22 16:31:33 -03:00
Tessa
72f06f02cb
Merge pull request #669 from NoRedInk/kraken/message-v3
Kraken/message v3
2021-01-20 12:44:51 -08:00
Ju Liu
8b6970c40d Fix exports 2021-01-20 11:14:54 +00:00
Tessa Kelly
68f5f30db4 Improve the changelist 2021-01-19 13:17:48 -08:00
Tessa Kelly
bbcbd6f1e3 Allow icon to be set independently of the default colors 2021-01-19 13:15:16 -08:00
Tessa Kelly
65287fd416 💀 remove the nriDescription helper, since the nriDescription is already set on the component 2021-01-19 13:01:06 -08:00
Tessa Kelly
c4e26e2cc2 Reduce the HTML layers so that we don't have to worry about inner conent spilling over, the custom css not applying as we expect 2021-01-19 13:00:10 -08:00
Tessa Kelly
6ef1b62778 Add css customization examples
the second css prefill shows the content _not_ being cut off properly at the edges
2021-01-19 12:48:50 -08:00
Tessa Kelly
22c5b8b9a0 Adds nriDescription, testId, id, css, and custom 2021-01-19 12:39:05 -08:00
Tessa Kelly
5fde0fee48 Use V3 in the examples 2021-01-19 12:23:48 -08:00
Tessa Kelly
4e52ec85f9 cp V2 V3 2021-01-19 12:22:17 -08:00