Commit Graph

4077 Commits

Author SHA1 Message Date
Tessa Kelly
ae1b769d27 Adds the skip link back in 2021-12-03 08:32:21 -08:00
Tessa Kelly
b1d9432a9b Begin using the sidenav for the styleguide 2021-12-03 08:16:38 -08:00
Tessa Kelly
8b7e3924ab Extract SideNav from AL, with some light modifications 2021-12-02 17:34:55 -08:00
Alex Perkins
dfd7962981
Merge pull request #791 from NoRedInk/kraken/radio-label-css
Adds RadioButton.labelCss
2021-12-02 18:56:40 -05:00
Liz Krane
0de05a7065
Merge pull request #789 from NoRedInk/kraken/radio-button-styles
Adds Radio Button border
2021-12-01 14:06:51 -08:00
Tessa Kelly
15cb3e7865 Adds labelCss helper 2021-12-01 10:40:34 -08:00
Tessa Kelly
6bd82550a7 Adds border 2021-11-30 12:17:05 -08:00
Liz Krane
e8216914e6
Merge pull request #788 from NoRedInk/kraken/bump-forradiobutton-v3
bump 15 to 15.1
2021-11-30 10:05:16 -08:00
Alex Perkins
a07f12303b bump 15 to 15.1 2021-11-30 10:57:23 -05:00
Alex Perkins
21244543ca
Merge pull request #787 from NoRedInk/kraken/radiobutton-v3
Create RadioButton V3
2021-11-29 22:30:51 -05:00
Tessa Kelly
58ca50ad32 Attempt to make the ui more usable 2021-11-22 16:30:43 -08:00
Tessa Kelly
9234613c7b EVEN THO rats are excellent pets, removing them from these options because there's some vertical overwhelm 2021-11-22 16:29:03 -08:00
Tessa Kelly
37706de125 Adds missing described by 2021-11-22 16:26:49 -08:00
Tessa Kelly
8ce7b7558b Adds purple label on error 2021-11-22 16:25:54 -08:00
Tessa Kelly
0b15260bf0 Adds error message and guidance support 2021-11-22 16:19:47 -08:00
Tessa Kelly
3207adc468 Organize exports 2021-11-22 16:11:29 -08:00
Tessa Kelly
4f5378a7f2 Combine events and values and config, since we're not taking advantage of having both fields anymore 2021-11-22 16:07:58 -08:00
Tessa Kelly
8d96764996 Adds custom id attribute 2021-11-22 16:03:36 -08:00
Tessa Kelly
a294e29ead Adds nriDescription and testId' 2021-11-22 15:58:33 -08:00
Tessa Kelly
2a685acc7e Move required fields into the view record 2021-11-22 15:56:20 -08:00
Tessa Kelly
2b645dfebd Adds custom support 2021-11-22 13:59:54 -08:00
Tessa Kelly
2b2268f0ea Fix premium whitespace 2021-11-22 13:51:56 -08:00
Tessa Kelly
b832bd510c Adds missing label and name code example 2021-11-22 13:50:24 -08:00
Tessa Kelly
634e7b1109 Make the default api a bit more clear (still missing label and name tho) 2021-11-22 13:47:11 -08:00
Tessa Kelly
e4a67a7fea Begin building out code examples 2021-11-22 13:43:56 -08:00
Tessa Kelly
899c6f1e00 Simplify the example set up 2021-11-22 13:30:46 -08:00
Tessa Kelly
d24104f9d6 Adds viewExample helper 2021-11-22 13:27:24 -08:00
Tessa Kelly
756690083b Require name field 2021-11-22 13:21:34 -08:00
Tessa Kelly
56fbcf9275 Reduce function wrapping in styles 2021-11-22 13:18:27 -08:00
Tessa Kelly
57bb480907 Fix misalignment when label is hidden 2021-11-22 13:18:09 -08:00
Tessa Kelly
1860ad3070 Adds another styling preset 2021-11-22 13:11:56 -08:00
Tessa Kelly
3de9baa216 Use debug controls for disclosure 2021-11-22 13:10:15 -08:00
Tessa Kelly
9b011c2283 oops, this isn't a change 2021-11-22 13:02:39 -08:00
Tessa Kelly
d098373a61 Robots aren't pets. Rats are great pets 2021-11-22 11:59:49 -08:00
Tessa Kelly
dfae231c03 Simplify pennant styles 2021-11-22 11:59:12 -08:00
Tessa Kelly
bf9e73509c Fix vertical alignment of the label when premium pennant is showing 2021-11-22 11:56:46 -08:00
Tessa Kelly
a9fa26a023 Only show the premium pennant when the content is not free 2021-11-22 11:54:10 -08:00
Tessa Kelly
42a805f446 Replace intermediary InternalConfig structure 2021-11-22 11:39:11 -08:00
Tessa Kelly
ac119b6dd1 replace with containerCss helper 2021-11-22 11:19:10 -08:00
Tessa Kelly
2a4799cf4c Adds labelVisibility setting 2021-11-22 11:08:40 -08:00
Tessa Kelly
5600383d5d Move name into list of controlled attribtues 2021-11-22 11:06:08 -08:00
Tessa Kelly
bf8988f345 Move the premium level into the list
i think this exposes a weakness of the API -- the teacher premium level won't vary across the inputs, but we're still requiring the user to pass it in for every input
2021-11-22 11:04:28 -08:00
Tessa Kelly
df89d0597c Move pennant into example list 2021-11-22 10:47:58 -08:00
Tessa Kelly
ad0116ac2c Adds disabled/enabled helper 2021-11-22 10:42:39 -08:00
Tessa Kelly
d38d18f1f8 Adds debug controls settings 2021-11-22 10:31:17 -08:00
Tessa Kelly
ac12759931 make the premium behavior more clear 2021-11-22 10:06:38 -08:00
Alex Perkins
50a3ee8c16 wire in button controlling the input 2021-11-22 10:21:58 -05:00
Alex Perkins
f5865855f3 hide label on inline. No one is asking for this and it looks awful 2021-11-21 12:23:24 -05:00
Alex Perkins
3bfb389c9b Allow hiding the label. Why? See below
Explained in greater detail with a diagram in [this comment on the
work-in-progress pull
request](https://github.com/NoRedInk/noredink-ui/pull/787#issuecomment-974838245)
2021-11-21 09:57:38 -05:00
Alex Perkins
5d86a5fa31 wrap grey block with a button, not a div
This is so we can select the radio button when clicking anywhere in the
grey. So why not a <label>? Then the full contents of the disclosure
would be read out as the label content when picking options. That
content *describes* the radio button but it does not *label* it, and
should not be read out before "selected, n of m" and the rest of the
radio helper voiceover content.
2021-11-21 09:16:34 -05:00