Commit Graph

1510 Commits

Author SHA1 Message Date
Tessa Kelly
615ef0cfc4 Use Control for state, rather than custom modeling 2022-03-22 09:15:40 -07:00
Tessa Kelly
0c41188752 Adds generated code to disclosure 2022-03-22 09:11:43 -07:00
Tessa
8d10e2c76e
Merge pull request #869 from NoRedInk/dansby/icon-examples
Icon examples
2022-03-21 17:46:15 -07:00
Tessa Kelly
46ef681e0b Show example code for Container 2022-03-21 17:12:15 -07:00
Tessa Kelly
92445dfe51 elm review 2022-03-21 16:56:18 -07:00
Tessa Kelly
904c13be5c Add some new lines for better many-mod support 2022-03-21 16:53:00 -07:00
Tessa Kelly
c42a999910 Fix example code 2022-03-21 16:51:25 -07:00
Tessa Kelly
07b1bca45d Use ControlView for Balloon example 2022-03-21 16:50:45 -07:00
Tessa Kelly
ae4d88ce1a Adds show names checkbox for all icon examples 2022-03-21 13:41:54 -07:00
Tessa Kelly
c7ff0aba90 Begin adding checkboxes 2022-03-21 13:32:55 -07:00
Tessa Kelly
417577cb84 Make a hole for threading a show-text bool through 2022-03-21 13:24:53 -07:00
Tessa
9b6b1860f4
Merge pull request #867 from NoRedInk/bat/pop-up
Generate Tooltip example code
2022-03-21 13:09:06 -07:00
Ben Dansby
3c8e3713ec smaller x 2022-03-21 08:37:10 -07:00
Ben Dansby
feb2b540bf restyle 2022-03-21 08:31:34 -07:00
Tessa Kelly
059ed95445 Aww yeah elm review 2022-03-17 18:07:25 -07:00
Tessa Kelly
efc6634ab0 Fix TODOs in generated code for tooltip module 2022-03-17 17:48:48 -07:00
Tessa Kelly
0cb8c81681 Add string values to controls 2022-03-17 17:45:16 -07:00
Tessa Kelly
4a2a5a835b Reduce the amount of code generated by default 2022-03-17 17:35:47 -07:00
Tessa Kelly
11f0fb11b9 🎨 use reusable boolhelper 2022-03-17 17:33:49 -07:00
Tessa Kelly
9fe2b852eb Used shared content control 2022-03-17 17:30:50 -07:00
Tessa Kelly
652691e161 Begins adding example code snippet 2022-03-17 17:25:51 -07:00
Tessa Kelly
4e4f3165fe Avoid implying in the example that shadows include border radius styles 2022-03-17 15:18:10 -07:00
celso
93b0387a13
Merge pull request #864 from NoRedInk/fix-premium-checkbox-not-disabled-underneath
Use 'Html.button' element for PremiumLocked checkboxes
2022-03-17 17:59:06 -03: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
Celso Bonutti
cf53068fc6 uses 'Html.button' element for PremiumLocked checkboxes 2022-03-16 10:49:56 -03:00
Ju Liu
efaee1b7af Apply elm-review in styleguide app 2022-03-15 18:06:13 +00:00
Ju Liu
b7f6ff13ea Add elm-review to styleguide app 2022-03-15 17:58:21 +00:00
Tessa
d0a7f520f3
Merge pull request #858 from NoRedInk/tessa/sidebar
Tessa/sidebar
2022-03-11 15:14:31 -08:00
Tessa Kelly
b007959cb9 Fix generated code 2022-03-11 13:54:18 -08:00
Tessa Kelly
95f2b11f46 Adds premium pennant 2022-03-11 13:50:35 -08:00
Tessa Kelly
30117e65cd Use strings for the routes 2022-03-11 13:47:03 -08:00
Tessa Kelly
62fc8e3dcb Adds secondary theme 2022-03-11 13:40:06 -08:00
Tessa Kelly
550e7b0e0e Adds icon 2022-03-11 13:37:44 -08:00
Tessa Kelly
07f31b4f6e Adds sidenav css 2022-03-11 13:35:57 -08:00
Brian J. Cardiff
809d7e463a RadioButton: Rename onLockedPennantClick to onLockedClick 2022-03-11 14:55:42 -03:00
Brian J. Cardiff
6d12ed0821 Extend examples to cover unlocked and disabled better 2022-03-11 14:47:38 -03:00
Brian J. Cardiff
1cc2127883 PremiumCheckbox.V8: Rename and fix showPennant to onLockedClick 2022-03-11 14:39:15 -03:00
Tessa Kelly
72d4087fb1 Recursion makes the ui too bad. Give up and proceed with other features 2022-03-10 19:11:38 -08:00
Tessa Kelly
ef530533e3 Adds listItems helper 2022-03-10 18:01:47 -08:00
Tessa Kelly
0534c35a17 Implement dynamic list
because of how debug.controls renders records, this implementation artificially indents. This should be fixed in order to make the controls actually usable
2022-03-10 17:13:39 -08:00
Tessa Kelly
ee0e46f06d Start outlining the sidenav example 2022-03-10 16:36:59 -08:00
Tessa Kelly
e514dcf173 Adds little minit preview 2022-03-10 15:53:50 -08:00
Tessa Kelly
5656e9e595 Adds SideNav example 2022-03-10 15:42:13 -08:00
Tessa
7ee0ef1fba
Merge pull request #853 from NoRedInk/tessa/shadows
Adds Shadows
2022-03-10 13:01:24 -08:00
Celso Bonutti
738e45a9d4 formats CommonControls 2022-03-10 16:18:14 -03:00
Celso Bonutti
a521c09ee0 Merge branch 'master' into growth/premium-display 2022-03-10 16:09:41 -03:00
Tessa Kelly
4c2076cd27 Adds Shadows 2022-03-10 08:53:28 -08:00
Tessa Kelly
e35672e4aa Merge remote-tracking branch 'origin/master' into tessa/media-support-3 2022-03-10 08:14:42 -08:00
Tessa
abd0c584f0
Merge pull request #851 from NoRedInk/bressa/media-support-2
Bressa/media support 2
2022-03-10 08:11:21 -08: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
Tessa Kelly
2be5eed9cd Use value directly rather than threading bool through 2022-03-09 17:18:15 -08:00
Tessa Kelly
a761c9c404 Remove brittle css parsing to simplify example code 2022-03-09 17:16:13 -08:00
Tessa Kelly
ff290dd7e2 Use common controls for text 2022-03-09 15:59:41 -08:00
Tessa Kelly
e47373b8b6 Highlight the child icon issue 2022-03-09 15:30:50 -08:00
Tessa Kelly
622ae05ea4 Adds example use of hideIconForMobile
coupla problems left:
- add example icon in the html, and make sure these icons aren't hidden
- hide the circle for the banner icons
2022-03-09 15:30:50 -08:00
Tessa Kelly
b84f306cfd Adds css breakpoint helper examples 2022-03-09 15:30:50 -08:00
Tessa Kelly
d931c36603 Reduce the default vertical heeight of the generated code, to keep the example in the viewport by default 2022-03-09 15:30:49 -08:00
Tessa Kelly
1cd017d95d Generalize the content control 2022-03-09 15:30:49 -08:00
Tessa Kelly
9765660b51 Generate code for Message 2022-03-09 15:30:49 -08:00
Tessa Kelly
7e58d51c15 Use common controls ui icon helper 2022-03-09 15:30:49 -08:00
Brian J. Cardiff
1a0b1c0e72 Add hideTextForMobile, hideTextFor to ClickableText 2022-03-09 17:31:21 -03:00
Brian J. Cardiff
91f522ad3f Add hideIconForMobile, hideIconFor on ClickableText 2022-03-09 17:17:17 -03:00
Tessa Kelly
a106add5f6 Adds media helpers 2022-03-09 11:57:36 -08:00
Celso Bonutti
e77787f42f updates RadioButton example version 2022-03-08 16:46:05 -03:00
Celso Bonutti
bc2e90fbed migrates Main example to SideNav.V2 2022-03-07 17:26:56 -03:00
Celso Bonutti
aa31b8a324 migrates Checkbox example to use PremiumCheckbox.V8 2022-03-07 17:19:22 -03:00
Celso Bonutti
f6eb83f8b3 migrates RadioButton example to RadioButton.V4 2022-03-07 17:15:01 -03:00
Tessa Kelly
5ad3f3920f Improve the styles of the new shared code gen layout helper 2022-03-04 17:26:27 -08:00
Tessa Kelly
4684939411 Adds code generation to Button 2022-03-04 17:19:03 -08:00
Tessa Kelly
d849f3ae75 Adds css helpers to Button 2022-03-04 17:16:57 -08:00
Tessa Kelly
c6f8f7a854 reorder args to emphasize button type 2022-03-04 17:14:14 -08:00
Tessa Kelly
5284b8aac2 Use a list for the Button attribute examples 2022-03-04 17:13:22 -08:00
Tessa Kelly
1a4daea359 Add general choice helper 2022-03-04 17:04:56 -08:00
Tessa Kelly
2531043be1 Fix regex 2022-03-04 16:45:40 -08:00
Tessa Kelly
1d27a3c28e Add example for hiding svg children on mobile 2022-03-04 15:58:17 -08:00
Tessa Kelly
654f5feaeb Adds query selectors to the clickable text example 2022-03-04 15:12:31 -08:00
Tessa Kelly
556293061e Use shared view helper to start rendering example code for CLickableText 2022-03-04 14:59:11 -08:00
Tessa Kelly
5bf6a4481c Use list of attributes for clickable text attrs 2022-03-04 14:49:45 -08:00
Tessa Kelly
de00b884fa Adds and uses css helper that allows for code gen 2022-03-04 14:21:02 -08:00
Tessa Kelly
88cfb2453a Adds common disabled helper 2022-03-04 14:01:36 -08:00
Tessa Kelly
06a5615959 Include the uiicon used in the code gen 2022-03-04 13:43:01 -08:00
Tessa Kelly
25e5aa9a29 Begin implementing code example 2022-03-04 12:46:28 -08:00
Tessa Kelly
ae8b8b477f Adds other styles to the demo options 2022-03-04 10:50:04 -08:00
Tessa Kelly
3387c6fc1b Make the label explicit 2022-03-04 10:47:06 -08:00
Tessa Kelly
ce8d858805 Adds example mobileCss 2022-03-04 10:44:03 -08:00
Tessa Kelly
c8a4ca22b7 Adds css to example 2022-03-04 10:42:09 -08:00
Tessa Kelly
900c80f790 Adds example to list doc 2022-03-04 10:42:00 -08:00
Tessa Kelly
44aa1b4d4d Generally, clickable svgs are square 2022-03-04 10:31:17 -08:00
Tessa Kelly
0eefc2a714 Extract int helper 2022-03-04 10:26:19 -08:00
Tessa Kelly
0de52bbde6 💀 remove deprecated size options 2022-03-04 10:25:56 -08:00
Tessa Kelly
1c56ae55cd Use list for ClickableSvg options 2022-03-04 10:24:01 -08:00
Tessa Kelly
99ee395e10 Add icons to default examples, so percy can catch icon regressions 2022-02-18 11:42:53 -08:00
Kristine
7b04dedd38 add SlideModal to messaging category 2022-02-10 10:12:45 -05:00
Kristine
d85a83de14 add Modal to messaging category 2022-02-10 10:12:40 -05:00
Tessa Kelly
f0d62aa136 Adds in Clever library logo 2022-02-08 14:47:19 -08:00
Tessa Kelly
e261bf8f1f Use elm-css 17.0.5 2022-02-02 14:01:03 -08:00
Kristine
910b289bbc move heading examples into table 2022-01-28 16:12:17 -05:00
Tessa Kelly
0e33fe4306 Fix ClickableText minor visual regression 2022-01-28 09:24:40 -08:00
Micah Hahn
31c46d479e
Merge pull request #821 from NoRedInk/tessa/add-self-review-icons
Tessa/add self review icons
2022-01-27 12:01:47 -05:00
Tessa Kelly
aa09325bf5 Adds media icons from readaloud 2022-01-26 09:37:08 -08:00
Tessa Kelly
da2a5ab7ac Display microscope, sclae, and tada 2022-01-25 13:24:03 -08:00
Tessa Kelly
bfaa7ea4a6 Design says to go with mail 2022-01-25 13:20:45 -08:00
Tessa Kelly
4282b7b561 Fix highlighter fill and add to writing utensils examples 2022-01-25 13:10:41 -08:00
Tessa Kelly
93f8b94789 Adds envelope
Asked design whether we actually want this icon. it's very near identical to mail
2022-01-25 13:09:29 -08:00
Tessa
f55399a4e9
Merge pull request #813 from NoRedInk/tessa/fix-icon-regression
Adds Sprite.V1
2022-01-25 09:23:49 -08:00
Tessa
d48be12593
Merge pull request #815 from NoRedInk/tessa/move-lms-logos
Tessa/move lms logos
2022-01-25 09:15:09 -08:00
Tessa Kelly
bc81b9641d Use percy/cli 2022-01-21 16:49:18 -08:00
Tessa Kelly
d745baf960 Fix css preview 2022-01-18 11:40:46 -08:00
Tessa Kelly
6c691d34f1 Copy the lms logos in 2022-01-18 11:39:52 -08:00
Tessa Kelly
e13a2f4aa5 adds explicit sprite type
this will enable us to keep the quill toolbar working as it currenlty does, while keeping attributes on the UiIcon
2022-01-18 10:39:31 -08:00
Tessa
a5680698a9
Merge pull request #806 from NoRedInk/tessa/readonly-textinput
Adds readOnlyText input type
2022-01-11 11:06:24 -08:00
Tessa Kelly
316326064d Revert to elm-css 17.0.1 2022-01-11 10:51:10 -08:00
Tessa Kelly
f41bc326ae Bump elm css requirements 2022-01-10 11:47:01 -08:00
Tessa Kelly
6d25d6ed17 Adds readOnlyText input type 2022-01-10 11:37:36 -08:00
Tessa Kelly
9425ab5de6 adds role img and hide decorative svgs 2022-01-05 16:09:12 -08:00
Alex Perkins
33629e8b3b
Merge pull request #799 from NoRedInk/kraken/radio-styling
Kraken/radio styling
2021-12-13 16:09:28 -05:00
Liz Krane
d38c27b120
Merge pull request #797 from NoRedInk/kraken/input-positioning
Kraken/input positioning
2021-12-10 12:45:32 -08:00
Tessa Kelly
603deb90c7 Prevent the example code from shoving the disclosure styles over 2021-12-09 12:29:31 -08:00
Tessa
524dd55301
Merge pull request #794 from NoRedInk/hack-day/tessa/sidebar
Adds general sidenav component
2021-12-09 11:02:21 -08:00
Tessa Kelly
2867c20e67 Adds disabled and enabled helpers 2021-12-07 12:09:56 -08:00
Tessa Kelly
e7a5aeed63 Re-adds selection support 2021-12-07 12:04:40 -08:00
Tessa Kelly
4900f94b65 Begin switching to list-based API 2021-12-07 11:59:57 -08:00
Tessa Kelly
9d3c509615 Adds Checkbox V7 with the icon on the left 2021-12-07 10:55:52 -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
ca55e1da5e 🎨 cleanup nav setup 2021-12-03 13:34:32 -08:00
Tessa Kelly
7c10606ee8 Style feedback 2021-12-03 13:11:02 -08:00
Tessa Kelly
27261307d3 Fix mobile styles 2021-12-03 12:10:49 -08:00
Tessa Kelly
66245759b1 💀 remove locked and create your own content 2021-12-03 12:04:21 -08:00
Tessa Kelly
a31da1772e Restrict page width 2021-12-03 11:41:51 -08:00
Tessa Kelly
5b086b5d9e Support external links 2021-12-03 11:31:29 -08:00
Tessa Kelly
57c4358822 Thread the route through once 2021-12-03 11:25:47 -08:00
Tessa Kelly
8876c5be32 Generalize ClickableAttributes to improve the routing links 2021-12-03 11:10:15 -08:00
Tessa Kelly
de8903eeee Use ClickableAttribute helpers 2021-12-03 10:47:40 -08:00
Tessa Kelly
5d1dbdb367 link -> entry 2021-12-03 10:00:26 -08:00
Tessa Kelly
925c4ea64a Remove external link 2021-12-03 09:40:45 -08:00
Tessa Kelly
e012dc1f91 Adds the All section back in the way it should be 2021-12-03 09:22:25 -08:00
Tessa Kelly
caa28bd23c Get closer to the existing styleguide styles 2021-12-03 09:22:04 -08:00
Tessa Kelly
ce44a68f70 Fix left alignment of sub-nav links 2021-12-03 08:45:06 -08:00
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
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