Commit Graph

1114 Commits

Author SHA1 Message Date
Michael Hadley
7ca94b1b6f Use rel with external links
See the diff for some links to resources about why we set rel
when using `target="_blank"`.
2019-11-22 14:50:22 -08:00
Katie Hughes
4ed233a424 add an input type that handles floats 2019-11-19 12:03:39 -08:00
Brian Hicks
a26c3fde21 change warning alert text to redDark 2019-11-19 11:46:47 -06:00
Danielle Pham
095f526c62 Center modal in overlay 2019-11-18 12:44:25 -06:00
Brian Hicks
c0f39c55fa biggify the modals 2019-11-18 12:44:25 -06:00
Brian Hicks
cb3c5c4630 darken default red 2019-11-15 19:10:17 -06:00
Brian Hicks
03eee1aeda remove a couple more invalid aria attributes 2019-11-15 17:09:26 -06:00
Brian Hicks
3e313ac4d3 fix invalid aria attributes
1. a valid ID cannot contain spaces
2. an ID referenced by aria-controls must be present on the page
2019-11-15 17:09:25 -06:00
Brian Hicks
dc0b0966e0 aria-selected has to be on the element with role=tab 2019-11-15 17:09:25 -06:00
Brian Hicks
36c59a8a45 add a main to the styleguide
this revealed some errors in the callout: namely that we're not supposed
to have <aside> inside <main>. Since we should always have a <main>, we
should indicate callouts some other way. A <div> works fine for this.
2019-11-15 17:09:25 -06:00
brookeangel
72c09eccfc Merge remote-tracking branch 'origin/master' into tooltip-patch 2019-11-15 10:54:16 -08:00
Tessa Kelly
e0e0790079 Adds logo to the Logos 2019-10-29 18:39:12 -07:00
Tessa Kelly
4f0ad33fcd elmify the lock and key and badge' 2019-10-29 18:34:36 -07:00
Tessa Kelly
35c37ec687 Adds new Logos module 2019-10-29 18:33:48 -07:00
Tessa Kelly
5c2098079c Adds bulb and hint 2019-10-29 18:09:17 -07:00
Tessa Kelly
c38f5eaf32 :bowtie: adds assignment start icons 2019-10-29 17:18:04 -07:00
Tessa Kelly
b146fead0c Replace equals 2019-10-29 16:53:10 -07:00
Tessa Kelly
dff660f528 Adds more icons 2019-10-29 16:47:01 -07:00
Ju Liu
85dde02bd9 Merge branch 'master' into tessa/accordion 2019-10-28 15:55:43 +00:00
Michael Glass
2313048de8
Merge branch 'master' into tessa/remove-assets 2019-10-28 15:38:23 +01:00
Brian Hicks
ca3698d62f add error and errorIf to Heading styles 2019-10-25 11:59:57 -05:00
Tessa
5e22b4c087
Merge branch 'master' into tessa/remove-assets 2019-10-24 15:13:00 -07:00
Tessa
95e77fef33
Merge branch 'master' into tessa/accordion 2019-10-24 15:12:58 -07:00
brookeangel
80bcd1a2a6 add docs 2019-10-24 14:40:23 -07:00
brookeangel
cfa0a6ede6 Add Nri.Ui.Pennant.V1 2019-10-24 14:40:23 -07:00
Tessa Kelly
d91c6d4baf Adds star outline 2019-10-24 12:34:59 -07:00
Tessa Kelly
8a52b74149 Show varied icons on the segmented control examples 2019-10-24 12:29:21 -07:00
Tessa Kelly
efae29d888 Adds star icon 2019-10-24 12:17:13 -07:00
Tessa Kelly
1622e09d7c Adds support for a different-colored svg 2019-10-24 11:29:27 -07:00
Tessa Kelly
ab6dab8926 Adds segmented control v8 2019-10-24 11:09:30 -07:00
Tessa Kelly
82e81a85c6 Use a button rather than a clickable div
the clickable div didn't have keyboard events set up, so there was no way to interact with it without the mouse, even though it did have role button and tabindex set
2019-10-24 10:39:02 -07:00
Tessa Kelly
7847a0e36c 🎨 Arrange the exports 2019-10-24 10:26:48 -07:00
Tessa Kelly
bfbe814f0c 💀 remove minwidth settings 2019-10-24 10:24:01 -07:00
Tessa Kelly
4cd17b5e63 Adds accordion v1 (copied from the monolith) 2019-10-24 10:23:19 -07:00
Tessa Kelly
a09b5faf57 Use min and max widths 2019-10-23 17:54:07 -07:00
Tessa Kelly
c1aefe9efc Fix bottom shadow for the modal 2019-10-23 12:56:22 -07:00
Tessa Kelly
ebfa1093d7 📝 fix typo 2019-10-23 12:46:32 -07:00
Michael Glass
f5fe046310
update docs 2019-10-23 18:37:17 +02:00
Michael Glass
32de6d0a9b
revert optional config because there's only one config option 2019-10-23 18:33:27 +02:00
Michael Glass
091fc357d6
move autoFocusOnLastElement into onlyFocusableElementView 2019-10-23 18:26:59 +02:00
Michael Glass
ff3074bf82
remove Nri.Ui.styled 2019-10-23 17:46:50 +02:00
Michael Glass
d1cd934fd7
update changelog in comments 2019-10-23 17:37:10 +02:00
Michael Glass
7024462c18
rearrange code 2019-10-23 17:34:50 +02:00
Michael Glass
03e88189b6
update comment 2019-10-23 17:31:02 +02:00
Michael Glass
caeb3d06f9
pass through view funcs as callbacks to avoid need to pass config to multiple places 2019-10-23 17:21:20 +02:00
Michael Glass
800b9d1910
only accept one focusable 2019-10-23 17:02:52 +02:00
Michael Glass
eed29adcf2
don't thread visibleTitle through focusable callbacks 2019-10-23 16:59:30 +02:00
Michael Glass
11ca265f5b
modal options are optional config 2019-10-23 13:56:31 +02:00
Michael Glass
31dac5b6d1
make visibleTitle an optional config 2019-10-23 13:55:21 +02:00
Michael Glass
47bf78258d
Merge branch 'master' into lab/modal-without-bottom-buttons 2019-10-16 15:49:09 +02:00
Danielle Pham
c2d8d907dc Merge branch 'master' into tessa/more-flexible-banners 2019-10-15 11:25:28 -04:00
Ju Liu
ee91675164 Use attributes from elm-css when possible 2019-10-14 17:59:01 +01: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
Ju Liu
8032a14432 Small typo 2019-10-14 17:08:55 +01:00
Ju Liu
850761e7f7 Use right version of module in doc 2019-10-14 17:08:33 +01:00
Michael Glass
c3738faa8a
Merge branch 'master' into lab/modal-without-bottom-buttons 2019-10-14 15:58:35 +02:00
brookeangel
4b2c4a2755 use onClickStopPropagation in tooltip.V1 2019-10-11 14:23:16 -07:00
Tessa
a972cc74ec
Merge branch 'master' into lab/modal-without-bottom-buttons 2019-10-11 12:02:20 -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
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
brookeangel
ee749f91a3 dont hide focus ring 2019-10-11 10:53:44 -07:00
Tessa Kelly
d08f5c2796 Fix doc example 2019-10-11 10:25:55 -07:00
Tessa Kelly
351a9e058b Final styling tweaks 2019-10-11 10:24:21 -07:00
Tessa Kelly
fccecd5b83 Fix the outline on the x 2019-10-11 09:57:46 -07:00
Tessa Kelly
da92e539c7 Fiddle with the shadow size 2019-10-11 09:55:36 -07:00
Tessa Kelly
3e2045af13 Remove the viewContent_ helper 2019-10-11 09:47:43 -07:00
Tessa
37fb6e9654
fix summary/details backwardness 2019-10-10 16:37:31 -07:00
Tessa Kelly
90472f8d1e Don't vary the top shadow 2019-10-10 16:34:09 -07:00
Tessa Kelly
ba857536ef Fix background colors added for debugging 2019-10-10 16:33:04 -07:00
Tessa Kelly
aa04f1c4cc Fix the spacing between the Continut button and the scrolled content 2019-10-10 16:27:52 -07:00
Tessa Kelly
fec7bf64c6 Fix the top bar styles 2019-10-10 16:25:23 -07:00
Tessa Kelly
c099315582 Re-position the X 2019-10-10 16:18:03 -07:00
Tessa Kelly
978267e512 :bowtie: use darker transparency to match styleguide 2019-10-10 16:08:20 -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
Tessa Kelly
ccd4fbe28e Cp V5 V6 2019-10-10 15:03:29 -07:00
brookeangel
74b8f58c83 improve tooltip commentary 2019-10-10 11:46:16 -07:00
Tessa Kelly
432e495daf Use a different opacity for the footerless content 2019-10-10 10:52:09 -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
78ff4ea5a6 Merge remote-tracking branch 'origin/master' into lab/modal-without-bottom-buttons 2019-10-10 10:34:48 -07:00
Brian Hicks
af81110638 add pointer-events: none to all SVG icons 2019-10-10 08:55:53 -05:00
Tessa Kelly
29c89cf858 :bowtie: height adjustments 2019-10-09 15:01:47 -07: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
86c532a02a Only pass the theme when necessary 2019-10-09 13:37:26 -07:00
Tessa Kelly
cb6c806fa4 Make the attribute field opaque 2019-10-09 13:36:29 -07:00
Tessa Kelly
a5b33a3201 Fix the theme handling 2019-10-09 13:32:25 -07:00
Tessa Kelly
5c46167a10 Improve footerless styles 2019-10-09 13:19:02 -07:00
Tessa Kelly
f032e6a234 Make title visibility an attribute 2019-10-09 12:20:17 -07:00
Tessa Kelly
a272f5c961 Allow footerless content to take the full height' 2019-10-09 12:09:55 -07:00
Tessa Kelly
4f2c5ee905 Allow customizable modal height 2019-10-09 07:11:45 -07:00
Tessa Kelly
becc274b49 Make the exit button small 2019-10-09 07:04:26 -07:00
Tessa Kelly
c3afbf89da Use V8 in examples 2019-10-09 07:03:07 -07:00
Tessa Kelly
5514551780 cp V7 to V8 2019-10-09 07:02:18 -07:00
Tessa Kelly
1b427bca14 Adds Edit icon 2019-10-04 14:59:39 -07:00
Tessa Kelly
3720ccefc1 Adds the rest of the teacher actions 2019-10-04 14:54:05 -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
Michael Hadley
d2fdd69b6f Switch to Accessibility.Styled 2019-10-02 08:29:52 -07:00
Michael Hadley
f5a39abedf Tab.links should be using the tab and tablist roles 2019-10-02 08:23:51 -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
18a9ea92c5 Remove seemingly and hopefully actually unnecessary attributes 2019-10-01 09:01:52 -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
807764fc5d Tag assignment icons as svg never 2019-09-30 17:13:00 -07:00
Renee Tremlab
bbaf3dd669 Documentation for AssignmentsIcon 2019-09-30 16:56:32 -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
58e0fd0b8e Adds peerReview icon 2019-09-30 16:18:15 -07:00
Renee Tremlab
9b21cc0c5a Adds diagnostic SVG directly 2019-09-30 16:07:13 -07:00
brookeangel
d21e0c6531 elaborate on docs 2019-09-30 15:42:02 -07:00
brookeangel
bd52f5db2f also remove stop propagation from event extras 2019-09-30 15:37:34 -07:00
brookeangel
9ebeaa9566 why did we need to stop propagation?? 2019-09-30 15:31:37 -07:00
brookeangel
7e55bfbd2a also test toggletip and add some accessibility goodies 2019-09-30 15:29:43 -07:00
brookeangel
77b485a485 both types of tooltips can trigger on focus / blur - test it 2019-09-30 14:30:21 -07:00
brookeangel
d958809fa6 Merge remote-tracking branch 'origin/master' into zamboni/accessible-tooltips 2019-09-30 13:17:06 -07:00
brookeangel
cea0403928 add extra attrs for things like modal 2019-09-30 12:26:46 -07:00
brookeangel
0c6a6e35d5 add more realistic example 2019-09-30 12:19:12 -07:00
brookeangel
49445c43ec dont confuse people about view 2019-09-30 11:48:25 -07:00
brookeangel
6a0932fd2a toggle tip doesnt have to show id 2019-09-30 11:45:30 -07:00
brookeangel
167eb194e1 change todo on viewIf 2019-09-30 11:41:46 -07:00
brookeangel
36ab2ae548 Add more legit toggletip 2019-09-30 11:30:19 -07:00
Tessa Kelly
d0903cbe96 Docs 2019-09-24 16:05:51 -07:00
brookeangel
81bfcf71d0 They can be auxillary descriptions too! 2019-09-20 09:42:43 -07:00
brookeangel
0c999013e1 Make everything a "primary label" tooltip, for now 2019-09-20 09:37:28 -07:00
brookeangel
2a8147f190 Merge remote-tracking branch 'origin/master' into zamboni/accessible-tooltips 2019-09-20 09:22:51 -07:00
Tessa Kelly
6015aefc26 Merge remote-tracking branch 'origin/master' into renee-tessa-secret-what/icons 2019-09-19 08:37:06 -07:00
Michael Glass
73f4cf9633
Merge remote-tracking branch 'origin/master' into renee-tessa-secret-what/icons 2019-09-19 17:33:18 +02:00
Michael Glass
abb91e4d5e
remove bottom padding from modal content in slide modal 2019-09-19 17:25:56 +02:00
Katie Hughes
5375ebf622 give viewTab a config so there aren't a thousand params 2019-09-17 15:05:13 -07:00
Katie Hughes
f6d3acb875 pass selected attribute instead of bool 2019-09-17 14:49:05 -07:00
Katie Hughes
753e34a272 fix some axe complaints 2019-09-16 16:08:08 -07:00
Katie Hughes
0737af2649 try another attribute so aria isn't mad 2019-09-16 14:51:24 -07:00
Katie Hughes
aecac29240 Create a toggle only view for SegmentedControl so you don't need to use it for page navigation 2019-09-11 10:34:03 -07:00
Tessa Kelly
912d2af5db Adjust modal styles 2019-09-05 14:11:53 -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
394b087f98 remove aliases 2019-08-28 08:07:34 -05:00
Brian Hicks
fd072091ed add aliases for easier upgrades 2019-08-27 09:04:23 -05:00