Commit Graph

1576 Commits

Author SHA1 Message Date
Tessa Kelly
bebf5b55fd Merge remote-tracking branch 'origin/master' into bat/text-and-heading 2022-03-28 14:22:46 -07:00
Tessa Kelly
d692b93d90 Merge remote-tracking branch 'origin/master' into bat/menu-example-code 2022-03-28 14:19:21 -07:00
Tessa Kelly
91a42e644a Fix compilation after master merge 2022-03-28 14:16:34 -07:00
Tessa Kelly
d470227767 Merge remote-tracking branch 'origin/master' into bat/segmented-control 2022-03-28 14:13:24 -07:00
Tessa Kelly
7cf81c530c Merge remote-tracking branch 'origin/master' into bat/fix-heading-level 2022-03-28 14:13:03 -07:00
Tessa Kelly
b68d71e193 Elm review 2022-03-25 17:09:51 -07:00
Tessa Kelly
3adab95d99 Add more semantic structure 2022-03-25 13:55:26 -07:00
Tessa Kelly
e6a0476427 Improve page structure 2022-03-25 13:41:02 -07:00
Tessa Kelly
77d7d79a99 Use a header element to demarcate the, uh, header 2022-03-25 13:35:06 -07:00
Tessa Kelly
2d564609e7 Remove unneccessary styles 2022-03-25 13:32:48 -07:00
Tessa Kelly
6a2faef2b4 Use top-level heading that doesn't link to itself 2022-03-25 13:32:07 -07:00
Kristine
65abe662a0 add instructions 2022-03-25 14:39:05 -04:00
Kristine
60c2777d80 change title 2022-03-25 14:22:20 -04:00
Tessa Kelly
3ce976c4a9 Adds radio example 2022-03-25 07:42:29 -07:00
Tessa Kelly
4a8fbbe5be Sketch the code gen 2022-03-25 07:42:29 -07:00
Tessa Kelly
92876cd6f6 Adds more example code 2022-03-25 07:42:29 -07:00
Tessa Kelly
05e8f89df4 Begin switching to shared debug view 2022-03-25 07:42:29 -07:00
Tessa Kelly
bd246b24a3 Adds mini preview 2022-03-25 07:42:29 -07:00
Tessa Kelly
bf585327dd Fix examples after merge 2022-03-25 07:41:28 -07:00
Tessa Kelly
95dd4632bb Merge remote-tracking branch 'origin/master' into bat/ellie-example-links 2022-03-25 07:37:39 -07:00
Tessa
ad64c2b373
Merge pull request #876 from NoRedInk/bat/standardize-container
Show example code for Container
2022-03-25 07:36:51 -07:00
Tessa
b802f3277b
Merge pull request #878 from NoRedInk/bat/disclosure-indicator
Bat/disclosure indicator
2022-03-25 07:36:32 -07:00
Nuno Ferreira
a93d661574
Merge pull request #883 from NoRedInk/bat/remove-slide-modal
Remove slide modal example
2022-03-25 14:13:57 +01:00
Tessa Kelly
960ed59a57 Customize the code gen for the standard button 2022-03-24 14:36:18 -07:00
Tessa Kelly
909a5fee50 Customize the code gen for the custom button 2022-03-24 14:30:13 -07:00
Tessa Kelly
141a2a84e6 Start writing the generated Menu code 2022-03-24 14:26:42 -07:00
Tessa Kelly
935d4ca950 Better example headings 2022-03-24 13:44:36 -07:00
Tessa Kelly
e03f4dd24f Simplify the custom example as much as possible 2022-03-24 13:43:57 -07:00
Tessa Kelly
199e115627 Use icon common control for rendering
the arrow left looks pretty bad on this view, but one thing at a time
2022-03-24 13:41:31 -07:00
Tessa Kelly
ef010f8967 Move the button wrapping to an attribute list 2022-03-24 13:37:16 -07:00
Tessa Kelly
6c4048d040 Move the button width to an attribute list 2022-03-24 13:34:39 -07:00
Tessa Kelly
7eaf196659 Move the border setting to an attribute list 2022-03-24 13:31:34 -07:00
Tessa Kelly
4c9e678ba7 Adds menu width to list
it doesn't seem like this does anything -- is this broken?
2022-03-24 13:22:20 -07:00
Tessa Kelly
5f0d1feb70 Move isdisabled to a shared value
this illustrates a problem with the custom button dropdown, where it won't automatically get the disabled attr applied
2022-03-24 13:17:13 -07:00
Tessa Kelly
07c1a12917 Begin sharing attribute code 2022-03-24 13:14:21 -07:00
Tessa Kelly
394eb3da18 Use viewExamples helper 2022-03-24 13:06:40 -07:00
Tessa Kelly
8aca13a2fb Begin switching to Debug.Control.View for examples 2022-03-24 13:05:08 -07:00
Tessa Kelly
3b9c693e7c Fix compilation after merge 2022-03-24 10:03:47 -07:00
Tessa Kelly
8d357c7432 Merge remote-tracking branch 'origin/master' into bat/ellie-example-links 2022-03-24 10:02:40 -07:00
Antoine Dauguet
128a7fe765
Merge pull request #875 from NoRedInk/bat/standardize-balloon
Bat/standardize balloon
2022-03-24 10:50:45 +01:00
Tessa Kelly
d164a7e988 Adds section name to the ellie title 2022-03-23 16:21:48 -07:00
Tessa Kelly
ded32c9500 Adds missing common import 2022-03-23 16:19:38 -07:00
Tessa Kelly
df63890d54 Fix extra line mistake in Button 2022-03-23 16:17:33 -07:00
Tessa Kelly
6e90950bd7 Adds another package for convenience 2022-03-23 16:17:19 -07:00
Tessa Kelly
4bba00573e aHA the html is also configurable and so needs to be passed through 2022-03-23 16:12:57 -07:00
Tessa Kelly
84b21dc35a Adds proof of concept with links to ellie
note that something is currently wrong on the ellie side -- everything looks fine, except that there's no compiled output
2022-03-23 16:05:50 -07:00
Tessa Kelly
69beae6c67 Thread the version and name through to the example code generator 2022-03-23 13:24:19 -07:00
Tessa Kelly
d8ee80e2a2 Thread the module name through to the example code 2022-03-23 13:13:19 -07:00
Tessa Kelly
08bf44e544 💀 remove slide modal example 2022-03-23 11:25:28 -07:00
Tessa Kelly
f3c79aed8b Elm review 2022-03-23 11:20:21 -07:00
Tessa Kelly
cf6028bdb2 Show the HTML content in the genearted code 2022-03-23 11:14:40 -07:00
Tessa Kelly
067e4f8155 Adds Style control 2022-03-23 11:10:18 -07:00
Tessa Kelly
235cec46ea Adds error state support 2022-03-23 11:04:27 -07:00
Tessa Kelly
b2dd4adb5f Begin wiring in custom controls 2022-03-23 11:01:51 -07:00
Tessa Kelly
fa7061d208 Adds control to Heading example 2022-03-23 10:55:53 -07:00
Tessa Kelly
a4b017ef52 Fix heading order partially for text example 2022-03-23 10:51:50 -07:00
Tessa Kelly
a1fc268d5e Adds example code for Text examples 2022-03-23 10:46:12 -07:00
Tessa Kelly
f6807eb02e Include strings in base controls 2022-03-23 10:44:35 -07:00
Tessa Kelly
eaacc02e73 Simplify preview setup 2022-03-23 10:39:45 -07:00
Tessa Kelly
4b6ac208ee Begin setting up example code 2022-03-23 10:38:15 -07:00
Tessa Kelly
c8d53a71c8 Adds code section 2022-03-23 09:00:32 -07:00
Tessa Kelly
360ccc23ed Elm review 2022-03-22 17:03:28 -07:00
Tessa
daf9edeb20
Merge pull request #879 from NoRedInk/dansby/colors
Spruce up Colors example
2022-03-22 13:17:25 -07:00
Ben Dansby
44ee5f52ef styling and such 2022-03-22 11:00:59 -07:00
Tessa Kelly
b21a30637a Make the names of the helpers a touch more clear 2022-03-22 09:22:54 -07:00
Tessa Kelly
2e6b1e207f Support css styles 2022-03-22 09:20:49 -07:00
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