Commit Graph

970 Commits

Author SHA1 Message Date
Tessa Kelly
d7b6d9fdf0 🎨 make the API consistent 2020-08-05 15:25:26 -07:00
Tessa Kelly
f815a4bb13 Use TabsInternal for Segmentedcontrol 2020-08-05 15:19:09 -07:00
Tessa Kelly
bcd3135c39 Begin basing segmented control off of tabsinternal 2020-08-05 15:03:22 -07:00
Tessa Kelly
a30bb6153d Copy V5 tabs to V6 2020-08-05 14:18:03 -07:00
Tessa Kelly
a9d64e7cbb Use radio button under the hood 2020-08-05 14:04:49 -07:00
Tessa Kelly
a7b3ed779c Do renames for radio group 2020-08-05 13:20:48 -07:00
Tessa Kelly
b6b41109e5 cp SegmentedControl/V10.elm SegmentedControl/V11.elm 2020-08-05 13:15:57 -07:00
Tessa
ef6ee0ab21
Merge branch 'master' into lab/stickyable-segmented-control 2020-08-04 21:44:47 -07:00
Tessa Kelly
e9631d95f2 Show icons by default cause icons are adorable 2020-08-04 21:36:15 -07:00
Tessa Kelly
f4e5467cff Add long content example 2020-08-04 21:35:10 -07:00
Tessa Kelly
437f37d135 🎨 remove other map2 2020-08-04 21:28:01 -07:00
Tessa Kelly
bdb8f7260f Remove option map2 2020-08-04 19:30:24 -07:00
Tessa Kelly
8a32a17772 Move the content into the Option 2020-08-04 19:06:28 -07:00
Tessa Kelly
0233fbf682 Add some more info on difference between view and viewSelect 2020-08-04 18:30:25 -07:00
Tessa Kelly
3eaea56a92 Open up the type for the attributes for each option 2020-08-04 18:25:41 -07:00
Tessa Kelly
a326999f84 Begin passing through attributes 2020-08-04 18:17:24 -07:00
Tessa Kelly
2f20f05bff 💀 remove the useSpa control 2020-08-04 18:08:16 -07:00
Tessa Kelly
249285e52d Remove the segmented control from the inputs section 2020-08-04 18:00:58 -07:00
Tessa Kelly
a98e805abf Document the current keyboard behavior
I vaguely suspect that tab should take the user into the controlled content, rather than through the rest of the control options... but will elave it to testing
2020-08-04 17:58:29 -07:00
Tessa Kelly
fc2c79817d 🎨 tidy the API 2020-08-04 17:52:30 -07:00
Tessa Kelly
1314260cf2 Switch from V9 in styleguide to V10 2020-08-04 17:38:11 -07:00
Tessa Kelly
6fc885e96e Fix the example, which should be against the newest version 2020-07-31 13:18:48 -07:00
Tessa Kelly
432be025a3 Notes for V2 of RadioButton 2020-07-30 11:47:32 -07:00
Tessa Kelly
6d7f6061ca Show modal 2020-07-30 11:39:16 -07:00
Tessa Kelly
83b8633e0d Add example from the monolith styleguide (minus premium modal) 2020-07-30 11:28:18 -07:00
Tessa Kelly
192cd5c49c Adds example app 2020-07-30 11:12:30 -07:00
Tessa
4dd1629b95
Merge branch 'master' into tessa/expand-segmented-control-example 2020-07-29 13:16:14 -07:00
Tessa Kelly
97dba40ff3 Use different prefixes in order to end up with different ids for axe 2020-07-29 11:18:07 -07:00
Tessa Kelly
05dc88402f Demo 2-8 segmented controls 2020-07-29 11:10:49 -07:00
Tessa Kelly
090c6eb695 Change the ExampleOptionSelect to use ints 2020-07-29 11:00:05 -07:00
Tessa Kelly
4d0df17b74 Ads missing document 2020-07-28 16:46:01 -07:00
Tessa Kelly
e227c99631 Adds documents icon 2020-07-16 16:30:24 -07:00
Brian Hicks
789d0ae7c8 add examples of attribute-based customization to the style guide 2020-07-13 10:11:33 -05:00
Brian Hicks
273fe45f41 accept and apply styles 2020-07-13 09:50:19 -05:00
Tessa Kelly
e3f714d2c3 Fix warning modal content
:
2020-07-02 15:33:51 -07:00
Tessa Kelly
885b457677 Switch to FocusManager type 2020-07-02 15:09:07 -07:00
Tessa Kelly
ed10041cfa 💀 remove Focusable type
TODO: decide whether or not to expose Attribute
2020-07-02 12:58:38 -07:00
Tessa Kelly
434ec45805 Change the API for onlyFocusable to expect a record 2020-07-02 12:51:04 -07:00
Tessa Kelly
7e2d47bfa3 Remove ViewFuncs abstraction, which imo made it harder to unserstand what the views actually required 2020-07-02 12:20:21 -07:00
Tessa Kelly
1dbe7b3a15 Expose and use V9 2020-07-02 12:15:53 -07:00
Aaron VonderHaar
d894d7e21c Add UiIcon.searchInCircle 2020-06-29 17:23:45 -07:00
Tessa Kelly
80e5cfcae8 Merge remote-tracking branch 'origin/master' into remove-old-components 2020-06-23 12:29:54 -07:00
Tessa Kelly
9b0b4c300e Follow review recs on sorting modules into atomic design types 2020-06-23 10:21:31 -07:00
Tessa Kelly
f9501508f3 Use increasing sorter rather than alphabetical sorter for atomic design type 2020-06-23 10:19:39 -07:00
Tessa Kelly
3bf24352af 💀 remove old components 2020-06-22 17:46:20 -07:00
Tessa Kelly
4ae16d11d5 Add some examples of keyboard support 2020-06-19 14:50:47 -07:00
Tessa Kelly
3ca51afde0 Rename from 'shortcuts' to 'support' -- not about providing shortcuts, about providing access 2020-06-19 14:45:32 -07:00
Tessa Kelly
311ba32ec3 Adds keyboard shortcuts to all the examples 2020-06-19 14:42:28 -07:00
Tessa Kelly
a84f0b9665 Wire in keyboard shortcuts section to the examples 2020-06-19 14:35:53 -07:00
Tessa Kelly
90aadbe547 Adds a source link 2020-06-19 14:23:17 -07:00
Tessa Kelly
87ff24e8f0 Remove namespacing 2020-06-19 14:16:10 -07:00
Tessa Kelly
c2e2f7524b Switch from Atom to Page for Loading and Page examples 2020-06-19 14:15:42 -07:00
Tessa Kelly
e49673d4ba Adds filtering 2020-06-19 14:12:53 -07:00
Tessa Kelly
c15e4096e2 Adds atomic design state 2020-06-19 13:52:02 -07:00
Tessa Kelly
68ea678d7c Adds atomic design tags 2020-06-19 13:41:28 -07:00
Tessa Kelly
e4db603475 Merge remote-tracking branch 'origin/master' into lab/tabs 2020-06-12 10:07:57 -07:00
Tessa Kelly
de5d646010 Adds link 2020-06-11 17:22:04 -07:00
Tessa Kelly
28a75685fc Merge remote-tracking branch 'origin/master' into lab/tabs 2020-06-10 15:11:45 -07:00
Tessa Kelly
61dbc7ad31 Merge remote-tracking branch 'origin/master' into lab/adds-gd-tda-icons 2020-06-10 15:10:59 -07:00
Tessa Kelly
20edfbf1d3 Adds openBook 2020-06-10 15:10:16 -07:00
Tessa
18e3a09386
Merge branch 'master' into lab/extend-clickable-helpers 2020-06-10 14:20:52 -07:00
Tessa Kelly
26e45a1290 Adds checklist 2020-06-10 13:57:07 -07:00
Tessa Kelly
7c2da0a9dc Adds speechBallono 2020-06-10 13:47:39 -07:00
Tessa Kelly
346c6fa793 Adds redo 2020-06-10 13:41:20 -07:00
Tessa Kelly
6c2eabc01d Fix axe error 2020-06-09 18:34:52 -07:00
Tessa Kelly
edd6435a68 Thread custom spacing options through 2020-06-09 18:08:33 -07:00
Tessa Kelly
bb7bd52e1f Fix the focus behavior 2020-06-09 17:56:10 -07:00
Tessa Kelly
f713fb1afa Extract key events 2020-06-09 17:43:54 -07:00
Tessa Kelly
6827c85196 Replace the separate spa link implementation 2020-06-09 17:16:08 -07:00
Tessa Kelly
5ce84e40e3 💀 remove normal link 2020-06-09 16:50:37 -07:00
Tessa Kelly
a1a6625885 Change the API to reduce casing 2020-06-09 16:23:15 -07:00
Tessa Kelly
fdb6c04fb5 Move away from a zipper-based approach 2020-06-09 15:53:46 -07:00
Tessa Kelly
0fd1cafed9 Adds the default tab view helper back in 2020-06-09 15:28:12 -07:00
Tessa Kelly
738418074d Begin adjusting the API to take HTML for tab content 2020-06-09 15:12:30 -07:00
Tessa Kelly
30d4c20a93 Adds Title to settings
Note: alignment left and center don't work correctly when there is a title
2020-06-09 14:55:39 -07:00
Tessa Kelly
162989e54f Adds alignment demo to the example 2020-06-09 14:51:00 -07:00
Tessa Kelly
fb53ce05d5 Copy V4 -> V5 2020-06-09 14:21:42 -07:00
Tessa Kelly
5af663cada 💀 remove nri menu approach to clickable svgs 2020-06-09 13:51:27 -07:00
Tessa Kelly
57a5d0e886 Adds tooltip implementations 2020-06-09 13:47:53 -07:00
Tessa Kelly
8fbe69f783 Adds withTooltipAbove and withTooltipBelow helpers 2020-06-09 13:19:00 -07:00
Tessa Kelly
73f486abd0 Adds viewExample helper to the clickable svg examples 2020-06-09 13:06:37 -07:00
Tessa Kelly
14cdcaa490 Fix example name 2020-06-05 17:36:09 -07:00
Tessa Kelly
99f5615bde Adds V2 of Confetti without highlighted words 2020-06-05 11:51:02 -07:00
Tessa Kelly
e78b180131 💀 remove words from the styleguide example 2020-06-05 11:45:04 -07:00
Ju Liu
52e76cb852 Rename assignArrow to arrowPointingRightThick 2020-06-03 18:10:05 +01:00
Ju Liu
9b5d8768e0 Move some icons to UiIcons 2020-06-03 17:34:43 +01:00
Ju Liu
397a9c0803 Add more writing icons 2020-06-03 12:45:50 +01:00
Ju Liu
05748da187 Reorganize and rename assignment icons 2020-06-03 12:01:53 +01:00
Katie Hughes
b6a9b04ad2 Add SegmentedControl to the Inputs category too 2020-05-26 11:07:39 -07:00
Katie Hughes
36c4163943 Rename Toggle to Select in example and remove prefix 2020-05-26 11:06:16 -07:00
Katie Hughes
deb9e60067 Rename to clarify roles 2020-05-22 11:31:13 -07:00
Katie Hughes
f0d57573d4 Unify toggle select into one 2020-05-22 11:28:37 -07:00
Katie Hughes
6b2cabe74e Use v9 in the example 2020-05-22 11:22:38 -07:00
Katie Hughes
0a32833c29 Format 2020-05-22 08:44:20 -07:00
Katie Hughes
fd26b1e508 Detangle example state 2020-05-22 08:44:20 -07:00
Katie Hughes
8d2d77d75d Add optionallySelected to example state 2020-05-22 08:44:20 -07:00
Katie Hughes
80955205db Add a segmented control with an optional selection very lazily 2020-05-22 08:44:20 -07:00
Tessa
695e5265a2
Merge branch 'master' into tessa/add-nri-menu 2020-05-21 18:17:24 -07:00
Renee Tremlab
9d2b2aafb9 fix docs 2020-05-20 07:12:52 -07:00
Renee Tremlab
4c02b2d82b Merge remote-tracking branch 'origin/master' into iconic-lizards 2020-05-19 14:56:08 -07:00
Renee Tremlab
3b5c341c01 add gray85 Color 2020-05-19 14:54:06 -07:00
Renee Tremlab
874d1e08e0 add allLibrary icon 2020-05-19 14:31:50 -07:00
Renee Tremlab
9688a53266 add quiz2 and unitDiagnostic icons 2020-05-19 14:24:36 -07:00
Renee Tremlab
4ff9b03e35 add home, planningDiagnostic and passageQuiz icons 2020-05-19 14:04:44 -07:00
Tessa Kelly
8bc6706acb Merge remote-tracking branch 'origin/master' into tessa/add-nri-menu 2020-05-19 13:38:48 -07:00
Renee Tremlab
01ea2c2d5c add "assignArrow" AssignmentIcon 2020-05-18 16:40:12 -07:00
Renee Tremlab
fe1f427fcc add "writing" AssignmentIcon 2020-05-18 16:28:54 -07:00
Renee Tremlab
1a45ab684a add standards AssignmentIcon 2020-05-18 14:24:28 -07:00
Renee Tremlab
ce2261a057 add practice2 icon (with circle background) 2020-05-18 14:14:38 -07:00
Renee Tremlab
afb9ef88cd add "assessment" AssignmentIcon
will be adding several as part of the Assignment Lizard project https://paper.dropbox.com/doc/Product-Spec-Assignment-Lizard-Practice-and-Assessment--A0NhWJoLeVDPRwotLgP1aPRVAg-h4EKGo6LiwWp74kWZRaGg#:uid=290663292049913853060467&h2=Design-Specs
2020-05-18 14:03:34 -07:00
Tessa
70712ea365
Merge branch 'master' into hack-day/tessa/confetti 2020-05-18 13:12:42 -07:00
Tessa Kelly
1492c456eb Adds rich text formatting icons 2020-05-15 16:28:56 -07:00
Tessa Kelly
4ab04bdd81 updateCenter -> updatePageWidth 2020-05-15 11:07:05 -07:00
Tessa Kelly
5e8188926a System -> Model 2020-05-15 11:07:05 -07:00
Tessa Kelly
8b72ad3426 Allow for viewing custom words in the confetti example 2020-05-15 11:07:05 -07:00
Tessa Kelly
fa0768b1da Adds subscription for page resize
would probably be nice if the confetti started centered, but will require a change to Example
2020-05-15 11:07:05 -07:00
Tessa Kelly
64f415564c Expose subscriptions rather than particleSystem 2020-05-15 11:07:05 -07:00
Tessa Kelly
7bcb96e186 Wires up confetti example 2020-05-15 11:07:05 -07:00
Tessa Kelly
606bd748f6 Adds elm-particle dependency 2020-05-15 11:07:05 -07:00
Tessa Kelly
73cc6c6add Remove checkbox from examples
the checkboxes fail the accessibility checker due to the svgs including filters that operate by ids, and i don't think it's worth dealing with here
2020-05-07 14:12:37 -07:00
Tessa Kelly
d9f7249796 Adds control helper 2020-05-07 13:32:30 -07:00
Tessa Kelly
bfe9413dc3 Import the example implemntation from the monolith 2020-05-07 13:26:33 -07:00
Tessa Kelly
fa8fd2003e Begins adding styleguide example 2020-05-07 12:46:21 -07:00
Tessa Kelly
f7cf19a07e Merge remote-tracking branch 'origin/master' into tessa/remove-old-components 2020-05-01 10:35:55 -07:00
Aaron VonderHaar
f67ab34956 Restore previous behavior: Message.banner centers the content when it is shorter than one line 2020-04-30 10:19:40 -07:00
Aaron VonderHaar
9849124734 Merge remote-tracking branch 'origin/master' into ink/message 2020-04-29 08:52:18 -07:00
Ju Liu
4366f2709e Merge branch 'master' into tessa/remove-dropdown 2020-04-29 11:57:45 +01:00
Aaron VonderHaar
8b56dc9849 Merge remote-tracking branch 'origin/master' into ink/message 2020-04-28 16:43:23 -07:00
Aaron VonderHaar
098bdcce0c Make Nri.Ui.Tabs.V4 work with ProgramTest.clickButton
And also applies the guidelines from https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/Tab_Role#Best_practices
2020-04-28 16:29:00 -07:00
Aaron VonderHaar
318f662035 Update documentation 2020-04-28 13:35:21 -07:00
Aaron VonderHaar
dc50b07a5e Revert moving Callout examples into Message examples 2020-04-28 13:27:14 -07:00
Aaron VonderHaar
fb6e4222ae Rename Message.Warning -> Message.Alert 2020-04-28 12:49:04 -07:00
Aaron VonderHaar
5d58fcea7c Add UiIcon.V1.checkmarkInCircle 2020-04-28 12:33:09 -07:00
Aaron VonderHaar
71c3324376 Add Message.V1.large 2020-04-28 12:25:05 -07:00
Aaron VonderHaar
a205a7b985 Fix typos in Message HTML example 2020-04-27 17:27:24 -07:00
Aaron VonderHaar
cb79a5242f Add italics to the Message markdown example 2020-04-27 17:26:11 -07:00
Aaron VonderHaar
839a010992 Generalize Examples.Message 2020-04-27 17:19:51 -07:00
Aaron VonderHaar
fdf69538ce Message.V1 replaces BannerAlert.V6.custom 2020-04-27 16:49:45 -07:00
Aaron VonderHaar
5afa50ca9c Message.V1 replaces BannerAlert.V6.neutral, success, error 2020-04-27 16:35:24 -07:00
Aaron VonderHaar
3efc6fcf8f Message.V1 replaces BannerAlert.V6.alert 2020-04-27 16:30:09 -07:00
Aaron VonderHaar
a02bc08ae9 Message.V1 replaces Alert.V4.tip 2020-04-27 15:29:06 -07:00
Aaron VonderHaar
4498ec54bf Message.V1 replaces Alert.V4.warning 2020-04-27 15:25:18 -07:00
Aaron VonderHaar
a78b29f7ba Message.V1 replaces Alert.V4.success 2020-04-27 15:22:43 -07:00
Aaron VonderHaar
cad02d44b9 Message.V1 replaces Alert.V4.error and Alert.V4.somethingWentWrong 2020-04-27 15:10:26 -07:00
Aaron VonderHaar
65f30b295d Normalize references 2020-04-27 15:07:26 -07:00
Aaron VonderHaar
086d8f3321 Move Callout examples into Message examples 2020-04-27 14:46:21 -07:00
Aaron VonderHaar
c419ee292d Move BannerAlert examples into Message examples 2020-04-27 14:40:50 -07:00
Aaron VonderHaar
6e712bb79e Move Alert examples into Message examples 2020-04-27 14:35:33 -07:00
Tessa Kelly
d56f45248d 💀 remove select v6 2020-04-24 16:55:12 -07:00
Tessa Kelly
5570c30e74 Upgrade to v10 buttons in examples 2020-04-24 16:55:11 -07:00