Commit Graph

569 Commits

Author SHA1 Message Date
Michael Glass
47bf78258d
Merge branch 'master' into lab/modal-without-bottom-buttons 2019-10-16 15:49:09 +02:00
Danielle Pham
cd6143eb12 Remove second gear example
The first one is under Interface
2019-10-15 11:26:39 -04:00
Danielle Pham
c2d8d907dc Merge branch 'master' into tessa/more-flexible-banners 2019-10-15 11:25:28 -04:00
Ju Liu
3642b80fc6 Remove viewFooterlessContent in favour of viewContent 2019-10-14 17:40:56 +01:00
Ju Liu
a087374cf4 Change shape of Modal.viewContent 2019-10-14 17:22:16 +01:00
Michael Glass
c3738faa8a
Merge branch 'master' into lab/modal-without-bottom-buttons 2019-10-14 15:58:35 +02:00
Tessa
a972cc74ec
Merge branch 'master' into lab/modal-without-bottom-buttons 2019-10-11 12:02:20 -07:00
Tessa Kelly
3e3a7cb250 Oops display the clock 2019-10-11 11:58:56 -07:00
Tessa
e5265b83af
Merge branch 'master' into tessa/update-nri-menu-icons 2019-10-11 11:58:13 -07:00
Tessa Kelly
cb8bf24c7c Adds missing icon 2019-10-11 11:52:02 -07:00
Tessa Kelly
5f4d6b0d1c Adds checkmarks and bangs and arrows 2019-10-11 11:52:02 -07:00
Tessa Kelly
69517cf4c7 Move a bunch more icons over 2019-10-11 11:34:34 -07:00
Tessa Kelly
d36e0057b2 Remove moved-over-icons from the icon examples 2019-10-11 11:23:52 -07:00
Tessa Kelly
2deade929c Move the gear to UiIcons 2019-10-11 11:17:14 -07:00
Tessa Kelly
513b20fc9e Add another batch of icons 2019-10-11 10:56:47 -07:00
Tessa Kelly
351a9e058b Final styling tweaks 2019-10-11 10:24:21 -07:00
Tessa Kelly
ba857536ef Fix background colors added for debugging 2019-10-10 16:33:04 -07:00
Tessa Kelly
74c0efba08 Fix spacing between continue and close buttons 2019-10-10 16:29:46 -07:00
Tessa Kelly
fec7bf64c6 Fix the top bar styles 2019-10-10 16:25:23 -07:00
Tessa Kelly
933f8b8765 Add icon to the complex exmple 2019-10-10 15:54:22 -07:00
Tessa Kelly
eca9dba043 Move the gear to UiIcons 2019-10-10 15:49:57 -07:00
Tessa Kelly
15c6f74cfb Update the Banner alert to take html 2019-10-10 15:44:39 -07:00
Tessa Kelly
c29f8ebea7 Use banner alert v6 2019-10-10 15:05:53 -07:00
brookeangel
74b8f58c83 improve tooltip commentary 2019-10-10 11:46:16 -07:00
Gavin Panella
52fdfa9a71 Merge remote-tracking branch 'origin/master' into zamboni/accessible-tooltips 2019-10-10 19:51:08 +02:00
Tessa Kelly
5179bff1fc Fix the upper corners depending on whether the title is showing or not 2019-10-09 14:33:29 -07:00
Tessa Kelly
4d741e9769 Fix the height 2019-10-09 13:53:13 -07:00
Tessa Kelly
5c46167a10 Improve footerless styles 2019-10-09 13:19:02 -07:00
Tessa Kelly
60f4971fbf fixup! Use V8 in examples 2019-10-09 13:06:31 -07:00
Tessa Kelly
f032e6a234 Make title visibility an attribute 2019-10-09 12:20:17 -07:00
Tessa Kelly
4f2c5ee905 Allow customizable modal height 2019-10-09 07:11:45 -07:00
Tessa Kelly
c3afbf89da Use V8 in examples 2019-10-09 07:03:07 -07:00
Tessa
e0dd31398f
Merge branch 'master' into tessa/icons 2019-10-04 18:07:55 -07:00
Tessa Kelly
1b427bca14 Adds Edit icon 2019-10-04 14:59:39 -07:00
Tessa Kelly
a7e543ad2b 💀 remove edit writing icon -- i think we use the regular edit pencil everywhere 2019-10-04 14:56:43 -07:00
Tessa Kelly
3b2af12049 💀 Remove the old versions of the icons from the styleguide 2019-10-04 14:56:18 -07:00
Tessa Kelly
e19b20d455 Adds the share icon and holes for the rest of the teacher icons 2019-10-04 14:48:26 -07:00
Tessa Kelly
69b683ff8b Adds UiIcon module with a nicer-looking unarchive png 2019-10-04 14:43:57 -07:00
Tessa Kelly
0fe19d9967 💀 remove apparently unused assignment types from the styleguide 2019-10-04 14:36:23 -07:00
Tessa Kelly
c96c038d3f Merge remote-tracking branch 'origin/master' into tessa/fix-text-example 2019-10-02 11:43:23 -07:00
Tessa Kelly
9c817e4eb2 Merge remote-tracking branch 'origin/master' into tessa/fix-text-example 2019-10-01 16:41:45 -07:00
Tessa Kelly
6c82640098 Merge remote-tracking branch 'origin/master' into svg-assignment-icons-2 2019-10-01 16:40:43 -07:00
Tessa Kelly
25e9c42cde IconHelpers -> IconExamples 2019-10-01 09:04:33 -07:00
Tessa Kelly
a514f3e132 🎨 beautify per review 2019-10-01 09:02:06 -07:00
Tessa Kelly
9cba1a22d0 🐛 fixes the broken see-only-this-link and the view docs link 2019-09-30 18:15:26 -07:00
Tessa Kelly
6a76c3cecb Update sorting for the assignment icons 2019-09-30 17:55:15 -07:00
Tessa Kelly
9bc50f34f3 Convert revising 2019-09-30 17:53:34 -07:00
Tessa Kelly
a508fbf6d7 Convert rating 2019-09-30 17:50:19 -07:00
Tessa Kelly
6523255a82 Convert submitting 2019-09-30 17:48:19 -07:00
Tessa Kelly
d34248bead Move the assignment icon examples into their own module 2019-09-30 17:30:35 -07:00
Tessa Kelly
d5b127a1d9 🐛 fix icon version in example name 2019-09-30 17:16:46 -07:00
Tessa Kelly
6054040e8f Extract icon helpers 2019-09-30 17:16:29 -07:00
Tessa Kelly
dde558fa31 :bowtie: adjust the spacing of icon sections a bit 2019-09-30 17:13:57 -07:00
Tessa Kelly
807764fc5d Tag assignment icons as svg never 2019-09-30 17:13:00 -07:00
Tessa Kelly
555f876d05 🎨 dry up the icon examples helpers 2019-09-30 17:10:09 -07:00
Tessa Kelly
c971530a76 Update header name
since we didn't end up deleting the entire assignment icon section, I think it's helpful for the section name to be a bit different
2019-09-30 16:58:36 -07:00
Renee Tremlab
113a78c0ff Removing deprecated Icon approach from Examples.Icon 2019-09-30 16:47:02 -07:00
Renee Tremlab
7a4bac32de Adds selfReview Icon 2019-09-30 16:46:08 -07:00
Tessa Kelly
5de9ed53dc Adds guided draft 2019-09-30 16:33:44 -07:00
Tessa Kelly
9e681b7080 Adds quickWrite 2019-09-30 16:31:36 -07:00
Renee Tremlab
3d56f7c8c6 Adds quiz icon 2019-09-30 16:28:13 -07:00
Renee Tremlab
b985a6465b Adds practice icon 2019-09-30 16:23:47 -07:00
Tessa Kelly
476545c26d Show peerreview icon and name in the styleguide example 2019-09-30 16:18:37 -07:00
Renee Tremlab
9b21cc0c5a Adds diagnostic SVG directly 2019-09-30 16:07:13 -07:00
brookeangel
7e55bfbd2a also test toggletip and add some accessibility goodies 2019-09-30 15:29:43 -07:00
brookeangel
fbce39979f add hover example to styleguide app 2019-09-30 12:30:12 -07:00
brookeangel
cea0403928 add extra attrs for things like modal 2019-09-30 12:26:46 -07:00
brookeangel
6a0932fd2a toggle tip doesnt have to show id 2019-09-30 11:45:30 -07:00
brookeangel
36ab2ae548 Add more legit toggletip 2019-09-30 11:30:19 -07:00
brookeangel
2a8147f190 Merge remote-tracking branch 'origin/master' into zamboni/accessible-tooltips 2019-09-20 09:22:51 -07:00
Katie Hughes
753e34a272 fix some axe complaints 2019-09-16 16:08:08 -07:00
Katie Hughes
f4575fbac4 Add an example to the styleguide for the segmented toggle 2019-09-11 10:37:19 -07:00
Michael Glass
82b1534dc2
Merge branch 'master' into upgrade-list-zipper 2019-09-04 13:53:43 +02:00
Michael Glass
1fae6a445b upgrade list zipper dependency 2019-09-04 11:03:03 +02:00
Michael Glass
313ae99ec7 Revert "Merge pull request #354 from NoRedInk/use-elm-color"
This reverts commit 8b6f993fb3, reversing
changes made to d8fcbc58f8.
2019-08-29 17:18:57 +02:00
Brian Hicks
220895db01 demonstrate customizations in the style guide 2019-08-27 09:08:20 -05:00
Michael Glass
0c2ab2500c Revert "Use palette rather than color"
This reverts commit 44ff70191b.
2019-08-26 10:14:44 +02:00
Michael Glass
848ffc5c9a Revert "Ugrade palette version"
This reverts commit a9d6edd2d2.
2019-08-26 10:09:36 +02:00
Brian Hicks
9c8ef672ca Merge remote-tracking branch 'origin/master' into callout 2019-08-20 14:30:17 -05:00
Brian Hicks
4c8f1eb814 rename sideText to label 2019-08-20 13:23:13 -05:00
Brian Hicks
f8f4a81d8a add custom attributes for things like titles 2019-08-20 13:08:01 -05:00
Brian Hicks
8f499a51f8 add Nri.Ui.Callout.V1 2019-08-20 12:38:24 -05:00
Tessa Kelly
d4f5f5f4b6 Oops fix button color 2019-08-16 15:57:36 -07:00
Tessa Kelly
0eb64eb7ee Display variable-length content 2019-08-16 15:51:00 -07:00
Tessa Kelly
afd8ebc6eb Pull the settings out of the modal 2019-08-16 15:47:21 -07:00
Tessa Kelly
45cfc71f0b Fix the focus behavior 2019-08-16 15:40:34 -07:00
Tessa Kelly
94384ddbce get the new version of the code using the new modal api 2019-08-16 15:37:17 -07:00
brookeangel
201234d677 Add basic example to styleguide 2019-08-16 15:26:51 -07:00
Tessa Kelly
f87a9de93a use autofocus attribute
sooooooooo this won't work if the autofocus is on the same element as the last focusalble elemnt, cause the ids get overwritten... back to the drawing board I suppose
2019-08-16 12:04:59 -07:00
Tessa Kelly
89e5f58ace Use clickable text for secondary button 2019-08-16 11:17:54 -07:00
Tessa Kelly
27af311778 enlargen the styleguide buttons 2019-08-16 11:12:39 -07:00
Tessa Kelly
43c5f27a1a Wrap the modal in a new stacking context
in the monolith, there were pages where tooltip triggers were showing through the modal backdrop
2019-08-16 10:09:30 -07:00
Tessa Kelly
34d60a459c Merge remote-tracking branch 'origin/master' into tessa/use-color-library 2019-08-13 11:47:01 -07:00
Tessa
26633d74af
Merge branch 'master' into tessa/password-supporting-input 2019-08-05 13:01:58 -07:00
Charlie Koster
e9562b956b Updated docs 2019-08-05 14:38:34 -05:00
Tessa Kelly
b029a18b26 Adds password input 2019-08-05 12:27:29 -07:00
Charlie Koster
5111241b3d Update table example with V5 2019-08-05 13:48:02 -05:00
Tessa Kelly
570472b7a8 Adds V5 of the text input 2019-08-02 17:20:09 -07:00
Tessa Kelly
1696a4ce31 Merge remote-tracking branch 'origin/master' into tessa/upgrate-clickable-text 2019-07-31 17:03:07 -07:00
Tessa Kelly
eb53f7661b Use avh4/elm-debug-controls 2019-07-30 12:55:55 -07:00
Tessa Kelly
231fcef985 Refactor examples to make finding the API simpler 2019-07-30 12:28:35 -07:00
Tessa Kelly
2d5028c502 Upgrade API to match Button.V9 2019-07-30 12:13:09 -07:00
Tessa Kelly
0254b35bb2 cp V2 to V3 2019-07-30 11:47:25 -07:00
Brian Hicks
0154813dad Merge remote-tracking branch 'origin/master' into simplify-nri-ui-headings 2019-07-29 13:22:29 -05:00
Brian Hicks
3090779b02
Merge branch 'master' into nri-ui-text-without-headings 2019-07-29 13:13:25 -05:00
Tessa Kelly
a462e9ff04 Write out the focus behavior explicitly
the focus still won't handle correctly until we update the checkboxes to take arbitrary attributes, unfortunately
2019-07-25 22:26:57 -07:00
Tessa Kelly
1fcca16f12 Update modal to take advantage of the new button API 2019-07-25 22:14:26 -07:00
Tessa Kelly
0c6e191a1d cp Modal v5 to v6 2019-07-25 21:46:20 -07:00
Brian Hicks
b8bdb072e4
Merge branch 'master' into nri-ui-text-without-headings 2019-07-25 08:13:26 -05:00
brookeangel
8041530e72 Merge remote-tracking branch 'origin/master' into premium-checkbox-v6 2019-07-24 10:18:27 -07:00
Brian Hicks
6eba967567 replace Headings with Nri.Ui.Heading.V2 2019-07-23 09:58:23 -05:00
Brian Hicks
3935313198 upgrade use of Nri.Ui.Heading.V1 in the style guide 2019-07-23 09:53:43 -05:00
Brian Hicks
9fac5ad438 add Nri.Ui.Text.V4 without headings 2019-07-23 09:09:07 -05:00
Tessa Kelly
6896a5e6f3 Update link helpers to specify what they require in order to work properly 2019-07-19 18:27:17 -07:00
Tessa Kelly
19de994db2 Make label required 2019-07-19 18:16:46 -07:00
Tessa Kelly
2bad7531f0 Custom takes a list 2019-07-19 14:56:01 -07:00
Tessa Kelly
a9d6edd2d2 Ugrade palette version 2019-07-19 09:44:28 -07:00
Tessa Kelly
ee32290ba0 Merge remote-tracking branch 'origin/master' into tessa/use-color-library 2019-07-19 09:39:28 -07:00
Tessa Kelly
ba66f8f221 update attribute helpers to feel more natural in the new pattern 2019-07-19 09:07:42 -07:00
Tessa Kelly
b527f61894 Use attribute-based API instead 2019-07-19 08:57:56 -07:00
Tessa Kelly
4ce5e05a89 Merge remote-tracking branch 'origin/master' into tessa/more-flexible-button-v2 2019-07-19 08:45:10 -07:00
Gavin Panella
6a189a3bc9 Merge remote-tracking branch 'origin/master' into tessa/fix-disclosure-safari 2019-07-19 14:33:02 +02:00
brookeangel
1f15935faa add V6 2019-07-17 14:34:16 -07:00
Brian Hicks
8c95289d19 Merge remote-tracking branch 'origin/master' into header-levels 2019-07-17 10:48:35 -05:00
Brian Hicks
f468a1c77a add note about Heading.V1 2019-07-17 10:46:52 -05:00
Tessa
39b17e874a
Merge branch 'master' into tessa/fix-disclosure-safari 2019-07-15 08:41:16 -07:00
Brian Hicks
4a99f65a4b use new heading API in styleguide 2019-07-12 17:06:21 -05:00
Tessa Kelly
719d77b844 Add a custom attribute to the examples 2019-07-11 15:25:00 -07:00
Tessa Kelly
ccf793d5e1 Generalize the button 2019-07-11 15:23:20 -07:00
Tessa Kelly
c7c56cdf3d Rather than passing the attributes through, render the button and link directly 2019-07-11 14:41:46 -07:00
Tessa Kelly
441c6ff02c 💀 Remove 'Button' 2019-07-11 14:29:10 -07:00
Tessa Kelly
de29750f91 Adds function helpers for setting enabled or not 2019-07-11 14:23:25 -07:00
Tessa Kelly
bed50f0b8b Get the sortable table compiling 2019-07-11 13:18:22 -07:00
Tessa Kelly
4a62b8271d Copy sortable table code from monolith 2019-07-11 12:46:22 -07:00
Tessa Kelly
608ddffa33 Make the example more clear as to what's included in the disclosure indicator 2019-07-11 10:22:00 -07:00
Tessa Kelly
7a05940960 Adds a note about the clickable text being required 2019-07-11 10:07:10 -07:00
Tessa Kelly
8a99134bd8 Fix background color on disclosure indicator example 2019-07-11 10:04:39 -07:00
Tessa Kelly
60f25f9085 Implement the types 2019-07-03 12:13:01 -07:00
Tessa Kelly
eb4fdcc128 Allow for custom attributes in button 2019-07-03 11:00:28 -07:00
Tessa Kelly
0edfd97f51 Allow for custom attributes in link 2019-07-03 10:19:54 -07:00
Tessa Kelly
c35cf203c4 Move the link/button specialization to the renderer 2019-07-03 10:16:40 -07:00
Tessa Kelly
ccfdd6c532 💀 remove link 2019-07-03 10:00:15 -07:00
Tessa Kelly
d7aa9fa456 Duplicate the existing behavior with an initial version of the new API 2019-07-03 09:39:06 -07:00
Tessa Kelly
724260bd3a Introduce builder pattern 2019-07-03 06:52:20 -07:00
Tessa Kelly
d2535caf34 Expose V9 2019-07-03 05:36:57 -07:00
Tessa
358cd76544
Merge branch 'master' into tessa/use-color-library 2019-07-02 16:12:08 -07:00
Aaron VonderHaar
68b096f00f Update Text example docs 2019-06-27 17:13:50 -07:00
Aaron VonderHaar
b735965a6a Nri.Ui.Text.V3: normalize how margins are used 2019-06-27 16:03:47 -07:00
Aaron VonderHaar
ce30943436 Add Nri.Ui.Text.V3 2019-06-27 16:03:47 -07:00
Tessa Kelly
44ff70191b Use palette rather than color 2019-06-21 10:08:06 -07:00
Tessa Kelly
283472a0f0 Merge branch 'tessa/icon-work' of github.com:NoRedInk/noredink-ui into tessa/icon-work 2019-06-18 09:06:16 -07:00
Tessa Kelly
b1d44c054f 🎨 avoid passing along a function with lots of arguments 2019-06-18 09:00:01 -07:00
Tessa Kelly
3ba03bbdef Use a type alias to describe the focusable elements 2019-06-18 08:54:20 -07:00
Tessa
bcf228998c
Merge branch 'master' into tessa/icon-work 2019-06-13 17:25:56 -07:00
Tessa Kelly
f4dff90f06 Make the pennant required 2019-06-13 08:40:15 -07:00
Tessa Kelly
51e953d0cf Remove the assets from the premium checkbox 2019-06-13 08:40:15 -07:00
Tessa Kelly
4fa137f642 Fix the states for main and secondary buttons 2019-06-12 11:27:21 -07:00
Tessa Kelly
699b2789de Use newest modal version 2019-06-12 11:12:37 -07:00
Tessa Kelly
ae00ab4841 Wire in setting for closing on escape or backdrop click 2019-06-11 12:11:59 -07:00
Tessa Kelly
83c06883f2 Adds dismiss on click setting 2019-06-11 12:11:59 -07:00
Tessa Kelly
576cc1f99a Upgrade to newest modal version 2019-06-11 12:11:59 -07:00
Tessa Kelly
daa52b80bc Adds secondary button 2019-06-11 12:11:59 -07:00
Tessa Kelly
7792e6fb4b Simplify the content view
Note that this is not perfect. if all the items in the modal are de-selected, then the trap doesn't work. pretty much just having the X doesn't work right now
2019-06-11 12:11:59 -07:00
Tessa Kelly
349d9132d3 Fix the focus trap behavior 2019-06-11 12:11:59 -07:00
Tessa Kelly
ffcee01e30 Move the settings into the modal 2019-06-11 12:11:59 -07:00
Tessa Kelly
89f38b32e4 Generalize the main button content 2019-06-11 12:11:59 -07:00
Tessa Kelly
88490ebdd2 Show the danger button 2019-06-11 12:11:59 -07:00
Tessa Kelly
ac6be5a103 Fix the content styles 2019-06-11 12:11:59 -07:00
Tessa Kelly
ad8be4964f 🎨 make launch button easier to work with 2019-06-11 12:11:59 -07:00
Tessa Kelly
2858098121 Adds primaryButton view 2019-06-11 12:11:59 -07:00
Tessa Kelly
a006d2836b Configure when the x shows 2019-06-11 12:11:59 -07:00
Tessa Kelly
a049f6a167 Adds setting for the visible title 2019-06-11 12:11:59 -07:00
Tessa Kelly
d079e73395 Adds separate viewTitle helper 2019-06-11 12:11:59 -07:00
Tessa Kelly
52258fcd3e Adds launch button helper 2019-06-11 12:11:59 -07:00
Tessa Kelly
a77eebd0c2 Basic working example of accessible button-free modules 2019-06-11 12:11:59 -07:00
Tessa Kelly
f83456aa2a Remove dependence on the assets 2019-06-11 12:11:59 -07:00
Tessa Kelly
1ec26224fd Change version to v5 2019-06-11 12:11:59 -07:00
Aaron VonderHaar
1c75f4ab6d Add aria tabpanel to SegmentedControl.V7 2019-06-04 17:47:27 -07:00
Aaron VonderHaar
8e04ea9771 Add flexibility to SegmentedControl example 2019-06-04 16:01:20 -07:00
Aaron VonderHaar
75b6e8a9ee Remove id attribute from SegmentedControl.V7 2019-06-04 14:47:01 -07:00
Aaron VonderHaar
b05eefd421 Copy Nri.Ui.SegmentedControl.V7 from V6 2019-06-04 14:35:01 -07:00
Tessa Kelly
04dd20022e Fix missing logo 2019-06-03 16:35:12 -07:00
Tessa Kelly
ac9b8d4c49 Merge remote-tracking branch 'origin/master' into lab/remove-unused-icons 2019-06-03 16:24:27 -07:00
Tessa Kelly
9ad34d6fd3 Remove the small checkmark and keep the equality sign 2019-06-03 15:43:28 -07:00
Tessa Kelly
372f577bf0 💀 unhelpful and out of date comment 2019-06-03 15:30:25 -07:00
Tessa Kelly
b2b9c215c3 Adds skip to the styleguide 2019-06-03 15:28:24 -07:00
Tessa Kelly
be32adc648 💀 Remove checkbox icons from the asset list 2019-06-03 15:17:39 -07:00
tremlab
4e4eb63605 BannerAlert.V5 includes style polish for V4 2019-05-30 11:44:18 -07:00
tremlab
3e3c6f2dff Support link in BannerAlert content 2019-05-30 09:23:00 -07:00
Juan Edi
9619281ba4 Update imports to use new version of Nri.Ui.Icon 2019-05-29 14:20:30 -03:00
tremlab
548c5742f3 Typo - BannerAlert.V4 2019-05-23 14:29:03 -07:00
tremlab
a475e62c8a Merge remote-tracking branch 'origin/master' into banner-alert-sunshine 2019-05-23 14:25:40 -07:00
tremlab
df1e1df535 BannerAlert examples includes dismiss msg 2019-05-23 14:21:58 -07:00
Danielle Pham
e18c1abd80 Add Tabs.SpaLink example 2019-05-23 10:57:29 -04:00
Michael Hadley
9c4f4cdc82 Unify into just LinkConfig and links 2019-05-22 17:23:11 -07:00
Michael Hadley
d45cada97e Copy into new tabs V4 module 2019-05-22 15:26:01 -07:00
tremlab
56d7921d25 Adding V4 BannerAlert example 2019-05-22 14:38:11 -07:00
tremlab
7bb62df442 creating v4 for BannerAlert 2019-05-22 11:23:50 -07:00
Katie Hughes
c131ee2070 fully replace the select v5 example with the select v6 example 2019-05-17 15:42:40 -07:00
Katie Hughes
0575f48c74 add select v6 tests 2019-05-17 15:38:47 -07:00