Tessa Kelly
4bce428b35
Remove Tables category
2021-11-11 14:56:04 -08:00
Tessa Kelly
93fe288d39
💀 remove Widgets category
2021-11-11 14:54:56 -08:00
Tessa Kelly
7bb00f7213
💀 remove Page category
2021-11-11 14:53:25 -08:00
Tessa Kelly
1c4decc516
💀 move modals into general layout section
2021-11-11 14:51:27 -08:00
Tessa Kelly
573b934574
Move disclosure indicator to icons from widgets
2021-11-11 14:49:46 -08:00
Tessa Kelly
040a1a0eef
Colors -> Atoms
2021-11-11 14:48:31 -08:00
Tessa Kelly
5b01699c6b
Add guidance to Select example
2021-11-11 14:07:02 -08:00
Tessa Kelly
f4237ac510
💀 remove Modal.V10
2021-11-09 12:48:39 -08:00
Tessa Kelly
2558a5cd68
Adds select preview
2021-11-08 14:55:56 -08:00
Tessa Kelly
4978d449b5
Merge remote-tracking branch 'origin/master' into tessa/select-with-label
2021-11-08 14:51:16 -08:00
Tessa Kelly
d98b9ca94e
Ratchet deprecated imports
2021-11-05 16:02:02 -07:00
Tessa Kelly
b369adcbd5
Adds faked out tab example
2021-11-05 15:53:15 -07:00
Tessa Kelly
fd1120b387
Fake an accordion example
2021-11-05 15:38:35 -07:00
Tessa Kelly
8bbb7655d0
Even out the number of UiIcons shown as well
2021-11-05 15:28:51 -07:00
Tessa Kelly
19b5e1ed9f
Put a more-even number of icons for AssignmentIcon preview
2021-11-05 15:26:48 -07:00
Tessa Kelly
91c086372b
Adds button to take you back out of an example
2021-11-05 15:04:14 -07:00
Tessa Kelly
fe0e3f2e13
Make the Switch component preview non-focusable
2021-11-05 14:42:34 -07:00
Tessa Kelly
52a58c4924
Remove the preview items from the tab order
...
need to fix switch still
2021-11-05 14:35:09 -07:00
Tessa Kelly
cd84f2c628
Adds tooltip preview
2021-11-05 14:17:14 -07:00
Tessa Kelly
27ee66295b
Adds text input examples
2021-11-05 14:11:11 -07:00
Tessa Kelly
985e4dead9
Adds text preview
2021-11-05 14:07:21 -07:00
Tessa Kelly
b684abf57c
Adds table example
2021-11-05 14:01:10 -07:00
Tessa Kelly
a5743b0639
Adds switch preivew and removes Text.mediumBody wrapping
...
the styleguide shouldn't imply that styles like those of medium body are att
ached when they're not
2021-11-05 13:55:44 -07:00
Tessa Kelly
e6b524021e
Adds pennant
2021-11-05 13:14:23 -07:00
Tessa Kelly
22a1916855
Mini modal preview
2021-11-05 13:13:35 -07:00
Tessa Kelly
0c1830f261
Mini example preview of the page component
2021-11-05 12:59:13 -07:00
Tessa Kelly
45da215536
Adds logo examples
2021-11-05 12:50:05 -07:00
Tessa Kelly
d3077d875c
Adds heading preview
2021-11-05 12:45:22 -07:00
Tessa Kelly
700f269eed
Adds fonts examples
2021-11-05 12:44:23 -07:00
Tessa Kelly
dc2ec3fc18
Adds dividing line preview
2021-11-05 12:38:12 -07:00
Tessa Kelly
d23f3e6a8c
Adds discloser indicator preview
...
TODO: consider removing the example for this. People should use the Accordion compnent directly
2021-11-05 12:37:22 -07:00
Tessa Kelly
117c21408a
Adds Container examples
2021-11-05 12:35:01 -07:00
Tessa Kelly
4350e22248
Adds Colors preview
2021-11-05 12:28:39 -07:00
Tessa Kelly
51c14c0106
Adds ClickableText preview
2021-11-05 12:16:52 -07:00
Tessa Kelly
7cdb53489c
Adds clickablesv examples
2021-11-05 12:13:17 -07:00
Tessa Kelly
db95e2c3b9
Adds Button examples
2021-11-05 12:07:58 -07:00
Tessa Kelly
cf319c6423
Adds balloon example
2021-11-05 11:59:39 -07:00
Tessa Kelly
0a0d008d02
Begins adding preview content
2021-11-05 11:48:09 -07:00
Tessa Kelly
52dd34abc2
Adds to example record
2021-11-05 11:19:08 -07:00
Tessa Kelly
aff0ed5068
Adds no margin and container css helpers
2021-11-04 12:51:08 -07:00
Tessa Kelly
250617c4f5
Adds shared label view helper
2021-11-04 12:37:03 -07:00
Tessa Kelly
be8f033605
Include code example
2021-11-04 11:56:59 -07:00
Tessa Kelly
b0e9be0aaf
Adds label
2021-11-04 11:36:37 -07:00
Tessa Kelly
4a40c8f430
Clean up the examples a bit
2021-11-04 11:32:46 -07:00
Tessa Kelly
9349da5029
Move value to string into the choices code
2021-11-04 11:23:26 -07:00
Tessa Kelly
7fc1668e12
Move choices to the attribtues
2021-11-04 11:06:31 -07:00
Tessa Kelly
9b4b910e55
Moves default display text to attribtues and adds custom, nriDescription, and testId
2021-11-04 10:52:25 -07:00
Tessa Kelly
fff5a4c621
🎨 add value helper replacing current value config
2021-11-04 10:44:47 -07:00
Tessa Kelly
05d6b7e209
Adds a control for the error states
2021-11-04 10:28:05 -07:00
Tessa Kelly
a4fb30171c
Adds common error management module
...
note that Select is not fully using the errormessage module yet
2021-11-04 10:22:22 -07:00
Tessa Kelly
6682888573
Adds label
2021-11-04 10:05:24 -07:00
Tessa Kelly
bb9819fb7b
Update to V8:
2021-11-04 09:33:24 -07:00
Tessa
b187f990a7
Merge pull request #759 from NoRedInk/kraken/text-input-v7
...
Kraken/text input v7
2021-11-02 16:02:51 -07:00
Tessa Kelly
79468439ba
Adds onFocus helper
2021-11-02 12:23:54 -07:00
Liz Krane
5c337e41d8
Merge pull request #761 from NoRedInk/tessa/use-control-extras
...
Tessa/use control extras
2021-11-01 14:09:02 -07:00
Liz Krane
b5ce28f73f
Use Button.modal and ClickableText.modal helpers in Modal styleguide example
2021-11-01 11:06:55 -07:00
Tessa Kelly
f45b5ea07e
Change order of tail/alignment in example to avoid bug
2021-10-29 17:41:18 -07:00
Tessa Kelly
c959beaac4
Fix hardcoded true
2021-10-29 17:23:48 -07:00
Tessa Kelly
c9da21b1cd
Split new and current password
2021-10-29 12:00:46 -07:00
Tessa Kelly
99d28a687a
Adds guidance to the API
2021-10-29 11:14:49 -07:00
Tessa Kelly
6c7d5668e6
Implement the rest of the PW hide/show behavior
2021-10-29 11:07:06 -07:00
Tessa Kelly
518d223219
Undo the separate onInput change -- types actually seem simpler with it integrated
2021-10-29 11:07:06 -07:00
Tessa Kelly
c46e6fb332
Bake onReset behavior in to the Search so that the search icon and x always appear
2021-10-29 11:07:06 -07:00
Tessa Kelly
c64a10965d
Reorder slightly for readability
2021-10-29 11:07:06 -07:00
Tessa Kelly
36692d3326
Make toExample helper to make the examples more readable
2021-10-29 11:07:06 -07:00
Tessa Kelly
1c690a0c37
Use a single update helper for all the fields
2021-10-29 11:07:06 -07:00
Tessa Kelly
2033d83a94
Use map to reimplement the other examples
2021-10-29 11:07:06 -07:00
Tessa Kelly
f478e8f3ab
Split out onInput helper and add map
2021-10-29 11:07:06 -07:00
Tessa Kelly
da651f51f4
Experiment with exposing value and inputType as attribute helpers
...
breaks the styleguide example a bit, since the attribute type doesn't line up. Needs fixing still
2021-10-29 11:07:06 -07:00
Tessa Kelly
3e943c05e9
Move writing styles into an attribute"
2021-10-29 11:05:06 -07:00
Tessa Kelly
970a396174
Avoid duplicative ids while still respecting the sepcified label
2021-10-29 11:05:06 -07:00
Tessa Kelly
3bcd97aebe
Oops accidentally deleted pw example
2021-10-29 11:05:06 -07:00
Tessa Kelly
c45bc7b5a0
Drop TextInput prefix for (hopefully) improved legibility
2021-10-29 11:05:06 -07:00
Tessa Kelly
f6eb1c19ad
Make css an optional list control
2021-10-29 11:05:06 -07:00
Tessa Kelly
cf60270ceb
Make onEnter part of the configuration
2021-10-29 11:05:06 -07:00
Tessa Kelly
03f8d45e53
Generalize viewExamples helper
2021-10-29 11:05:06 -07:00
Tessa Kelly
85f13b9e02
Use a list for the easily list-able attributes
2021-10-29 11:05:06 -07:00
Tessa Kelly
21d42e1bba
Switch to V7
2021-10-29 11:05:06 -07:00
Ben Dansby
67d5a0b639
blue too
2021-10-28 08:58:34 -07:00
Tessa Kelly
e932d809cd
Use list for Tooltip example
2021-10-28 08:57:25 -07:00
Tessa Kelly
a2d63ea650
Use list for Modal example
2021-10-28 08:50:39 -07:00
Tessa Kelly
08f345a17c
Convert Message example to use Debug.Controls.Extra.list
2021-10-28 08:49:00 -07:00
Tessa Kelly
60f148f17a
Use list for Ballooon
2021-10-28 08:40:23 -07:00
Ben Dansby
c720f4f1c9
master of none
2021-10-28 06:06:49 -07:00
Tessa Kelly
4e1e1e3579
Replace one off styles with debug control css option
2021-10-27 19:14:11 -07:00
Tessa Kelly
ccb7f01c52
Make noBreak setting a bit more clear
2021-10-27 19:14:11 -07:00
Tessa Kelly
eb506876f6
Allow customization of the content on the stylguide example
2021-10-27 19:14:11 -07:00
Tessa Kelly
49ac49087f
Adds empty controls
2021-10-27 19:14:11 -07:00
Tessa Kelly
6a50cb6229
Adds plaintext and markdown helpers
2021-10-27 19:14:11 -07:00
Tessa Kelly
f478bcc508
V5 -> V6
2021-10-27 19:14:11 -07:00
Alex Perkins
7e584de137
elm-format (but why??)
2021-10-27 11:00:08 -04:00
Alex Perkins
e8f8f4dc38
add an attr for Enter keydown events
...
Note that there can only be one `on "keydown"` event on a DOM node
so any more complex event handlers will need to use a custom event
instead
```
onEnter : msg -> TextInput.Attribute msg
onEnter msg =
(\event ->
case event.key of
Just "Enter" ->
if noModifiers event then
Just msg
else
Nothing
_ ->
Nothing
)
|> considerKeyboardEvent
|> HtmlEvents.on "keydown"
|> TextInput.custom
```
2021-10-27 10:43:53 -04:00
Alex Perkins
15ef7f8d92
Merge pull request #750 from NoRedInk/tessa/remove-input-margin
...
Adds noMargin helper
2021-10-26 12:15:10 -04:00
Tessa Kelly
3dc8e3ebf2
💀 remove fullheight. it's not working, it requires changes to the container of Container, and it's only used one place in the monolith
2021-10-22 09:27:14 -07:00
Tessa Kelly
91feb06746
Begin making the example layout reusable
...
looks like something is actually wrong with the fullHeight helper
2021-10-21 17:32:14 -07:00
Tessa Kelly
57f014b8a0
Adds hover css example
2021-10-21 17:27:29 -07:00
Tessa Kelly
d096fa6b3a
Adds fullheight to controls
...
since the container doesn't have a min height, the Container doesn't stretch in the example
2021-10-21 17:23:59 -07:00
Tessa Kelly
6dec2ee268
Adds paddingPx control settings
2021-10-21 17:20:29 -07:00
Tessa Kelly
850c422f1f
Adds example markdown and plaintext
2021-10-21 16:53:08 -07:00
Tessa Kelly
86c8720f86
Display different content types
2021-10-21 15:36:55 -07:00