Commit Graph

71 Commits

Author SHA1 Message Date
Tessa Kelly
2ef33bde50 Thread the ellie package dependencies through 2022-03-29 10:19:32 -07:00
celso
04ca511a1a
Merge pull request #856 from NoRedInk/fix-premium-radiobuttons-locked-clicks
Improve premium radio buttons locked clicks
2022-03-17 17:57:05 -03:00
Ju Liu
efaee1b7af Apply elm-review in styleguide app 2022-03-15 18:06:13 +00:00
Brian J. Cardiff
809d7e463a RadioButton: Rename onLockedPennantClick to onLockedClick 2022-03-11 14:55:42 -03:00
Brian J. Cardiff
e8c30bc4e8 Rename onPennantClick to onLockedPennantClick
Make the unlocked pennant not clickable
Update changes from V3
2022-03-10 11:30:21 -03:00
Celso Bonutti
6a978cb762 updates RadioButton example controls 2022-03-10 11:06:40 -03:00
Celso Bonutti
e77787f42f updates RadioButton example version 2022-03-08 16:46:05 -03:00
Celso Bonutti
f6eb83f8b3 migrates RadioButton example to RadioButton.V4 2022-03-07 17:15:01 -03:00
Tessa Kelly
603deb90c7 Prevent the example code from shoving the disclosure styles over 2021-12-09 12:29:31 -08:00
Liz Krane
f353ced329
Merge pull request #792 from NoRedInk/tessa/minor-styleguide-fixes
RadioButton preview
2021-12-03 15:41:14 -08:00
Tessa Kelly
af9db025f0 Adds premium to preview 2021-12-02 10:13:49 -08:00
Tessa Kelly
6f3e6193c0 Adds RadioButton preview 2021-12-02 10:12:17 -08:00
Tessa Kelly
15cb3e7865 Adds labelCss helper 2021-12-01 10:40:34 -08: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
0b15260bf0 Adds error message and guidance support 2021-11-22 16:19:47 -08:00
Tessa Kelly
2a685acc7e Move required fields into the view record 2021-11-22 15:56:20 -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
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
d098373a61 Robots aren't pets. Rats are great pets 2021-11-22 11:59:49 -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
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
6d2085a27d internal config helper 2021-11-19 16:32:24 -05:00
Alex Perkins
0d47f37ab9 make an explicit choice to display inline or in a block thing. use view helpers for those since branching inside of view was very unwieldy 2021-11-19 16:22:32 -05:00
Alex Perkins
7a5cfbc300 add describedBy and a no-op attribute 2021-11-19 12:36:45 -05:00
Alex Perkins
480e46c37c unstyled but functional disclosure content 2021-11-19 10:05:16 -05:00
Alex Perkins
f4d74032d4 add back in showPennant 2021-11-18 19:07:21 -05:00
Alex Perkins
e18a25154b add back in premiumm as an attribute, requiring all the premium locking info at once 2021-11-18 18:44:58 -05:00
Alex Perkins
710576115b required label attribute at the begininning, in keeping with other APIs 2021-11-18 18:18:50 -05:00
Alex Perkins
83486fbf2f move valueToString into the list API 2021-11-18 18:14:44 -05:00
Alex Perkins
7460c4700b move onSelect into list API 2021-11-18 17:48:49 -05:00
Alex Perkins
aaa1d0f2f7 move selectedValue into the list api 2021-11-18 17:10:29 -05:00
Alex Perkins
e30a968088 premium is becoming a hassle so I will remove it for now and maybe add it back later 2021-11-18 17:01:48 -05:00
Alex Perkins
a7efe81cb1 move name into list api 2021-11-18 16:43:48 -05:00
Alex Perkins
6a298e82b6 move value into list api 2021-11-18 16:42:02 -05:00