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
460c347d7a
Adjust sidebar link style
2021-11-05 11:29:45 -07:00
Tessa Kelly
52dd34abc2
Adds to example record
2021-11-05 11:19:08 -07:00
Tessa Kelly
b5888c9977
Make the hit area the entire container
...
the only element that will receive focus is the actual link
2021-11-05 11:13:28 -07:00
Tessa Kelly
96f4adb968
Use a grid layout for the example previews
2021-11-05 11:05:08 -07:00
Tessa Kelly
63ac9d5ea7
Use internal components for links and heading styles
2021-11-05 10:42:52 -07:00
Tessa Kelly
078b16c8f4
Only show a preview for a category or for general browsing
2021-11-05 10:35:58 -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
ebe6686275
add Gizra/elm-keyboard-event dependency back to styleguide
2021-10-27 10:55:25 -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
Tessa Kelly
f0e17d5b2d
Switch to view pattern
2021-10-21 15:21:24 -07:00
Tessa Kelly
bc0aa218ef
Adds plaintext, html, and markdown helpers
2021-10-21 15:06:41 -07:00
Tessa Kelly
c9b304b67b
Update Component version
2021-10-21 14:47:50 -07:00
Ben Dansby
d90f7ca323
update example
2021-10-21 12:17:48 -07:00
Tessa Kelly
f93b4a71a2
Adds noMargin helper
2021-10-21 11:09:07 -07:00
Liz Krane
b4f54b84a1
Add googleG icon, formatting
2021-10-18 11:06:43 -07:00
Liz Krane
b7b731cd0c
Add cleverC SVG
2021-10-18 10:57:46 -07:00
Tessa Kelly
cd3fc1abf0
Adds styleguide example
2021-10-13 10:44:03 -07:00
Mariano Abel Coca
07d83b1fa1
Rename open/close curlie to quotationMark
2021-10-12 13:00:04 -03:00
Tessa Kelly
1cc2ed0631
Adds to styleguide example app
2021-10-12 08:47:30 -07:00
Juan Edi
acffacaa6a
Merge pull request #734 from NoRedInk/tessa/add-search-input
...
Tessa/add search input
2021-10-11 09:48:33 -03:00
Tessa Kelly
86b26bc442
Adds search icon
2021-10-04 15:55:13 -07:00
Tessa Kelly
292f9cd357
Adds onReset attribute
2021-10-04 15:55:13 -07:00
Tessa Kelly
24bfce5d64
Generalize onBlur setting
2021-10-04 15:55:13 -07:00
Tessa Kelly
5bff274cb9
🎨 tidy up the attributes
2021-10-04 15:55:13 -07:00
Tessa Kelly
d752d10106
Remove transform. It was making things feel very misaligned :sweat-smile:
2021-10-04 15:55:13 -07:00
Tessa Kelly
837a44089e
Adds search input type
2021-10-04 15:55:13 -07:00
Tessa Kelly
35b4c3a7e7
Marginally improve the mobile styleguide
2021-10-04 15:40:18 -07:00
Ben Dansby
2b6ebef455
Merge pull request #735 from NoRedInk/dansby/mobile-modal
...
Dansby/mobile modal
2021-09-29 12:52:09 -07:00
Ben Dansby
663e48089a
make style guide app display correctly on mobile
2021-09-28 19:59:53 -07:00
Tessa Kelly
aff7c2a71e
Space out example a bit
2021-09-28 15:16:33 -07:00
Tessa Kelly
399ccb3ed0
Adds padding example
2021-09-28 15:15:41 -07:00
Tessa Kelly
2bd8dea4ba
Paddings are only ever specified in px
2021-09-28 15:13:54 -07:00
Tessa Kelly
357100e564
Allow customization of the width
2021-09-28 15:09:32 -07:00
Tessa Kelly
33b0a5dc56
Expand use of Debug.Controls
2021-09-28 14:41:49 -07:00
Tessa Kelly
d6605a520b
Add in debug controls
2021-09-28 14:26:37 -07:00
Tessa Kelly
9d8829f86a
Adds Nri.Ui.Balloon.V1 (straight copy from monolith)
2021-09-28 14:21:09 -07:00
Ben Dansby
29b9f293d0
Merge pull request #727 from NoRedInk/dansby/input-padding
...
Input padding
2021-09-10 13:55:50 -07:00
Ben Dansby
90b939bae2
zero out premium example
2021-09-09 07:51:44 -07:00
Ben Dansby
7cc7a549d9
delete callout
2021-09-07 08:42:38 -07:00
Ben Dansby
d3696076c7
zero out radio button example margin
2021-09-04 08:49:10 -07:00
Ben Dansby
4cc157295b
put radio buttons in proper category
2021-09-04 08:47:56 -07:00
Liz Krane
36280b73af
Run elm-format --elm-version=0.19
2021-09-02 14:33:25 -07:00
Liz Krane
c720d333bc
Update toggle button state on click
2021-09-02 13:05:50 -07:00
Liz Krane
a63bd36029
Add toggle button state to model, pass to toggleButtons
2021-09-02 11:35:18 -07:00
Tessa Kelly
9fcfdc7318
Change model to use a record so that we can add the toggle button state to it
2021-09-02 10:55:19 -07:00
Christoph Hermann
3327552e83
Merge pull request #720 from NoRedInk/zen/menu-v3
...
Menu.V3
2021-08-31 07:45:33 +02:00
Stoeffel
32f7102d04
Simplify examples
2021-08-31 06:56:20 +02:00
Ben Dansby
b39b59cd6e
gold to blue
2021-08-30 15:47:40 -07:00
Juan Wajnerman
db13976770
Updated styleguide for Menu.V3
2021-08-27 18:56:17 -03:00
Tessa Kelly
73650aaa4a
💀 remove clickable svg v1
2021-05-27 18:59:03 -07:00
Tessa Kelly
403aa9c887
Update styleguide dependencies"
2021-05-27 18:30:31 -07:00
Tessa Kelly
cb84c77dbb
Use newer palette version
2021-05-27 18:30:31 -07:00
Tessa Kelly
83946a6b0e
💀 remove atomic design elements
2021-05-27 18:30:31 -07:00
Tessa Kelly
ebcd0cfa1a
💀 remove Icon example
2021-05-27 18:30:31 -07:00
Tessa Kelly
3fe407b55e
Update Text version
2021-05-27 18:30:31 -07:00
Tessa Kelly
f7e0fc1a39
💀 remove tooltip from the ClickableSvg1 api
2021-05-27 18:30:31 -07:00
Juan Edi
fcc095567f
Merge remote-tracking branch 'origin/master' into raven/disabled-tabs
2021-05-26 15:32:58 -03:00
Nuno Ferreira
8f10d823f6
updated example with labelledBy attribute
2021-05-26 15:23:06 +01:00
Juan Edi
fcead8fc07
Include a disabled tab in the styleguide
2021-05-25 18:25:05 -03:00
Juan Edi
2bbce1aa19
Add new setting to the demo
2021-05-20 18:55:39 -03:00
Tessa Kelly
f22342e8e5
Adjust the example to make it more clear what the debug controls actually control
2021-05-14 15:02:58 -07:00
Tessa Kelly
3b86bb15b3
Adds http error to the styleguide example for Message
2021-05-14 15:02:58 -07:00
Tessa Kelly
d48fffad68
Use viewExample for http error helper
2021-05-13 10:06:15 -07:00
Tessa Kelly
588805c790
Adds blocked V4 that follows the pattern of the rest of the pages
2021-05-13 09:54:42 -07:00
Tessa Kelly
1286cdc96e
Display the network error on the styleguide
2021-05-13 09:47:35 -07:00
Tessa Kelly
6a4b310cb1
Adds helper for displaying the recovery text
2021-05-13 09:33:54 -07:00
Tessa Kelly
f16d8b57a9
Begin adding examples
2021-05-12 16:16:42 -07:00
Tessa Kelly
b17a190d70
Adds elm/http
2021-05-12 16:02:26 -07:00
Tessa Kelly
f091193be6
Use a custom icon for the advanced example
2021-05-05 16:38:12 -07:00
Tessa Kelly
515a400879
left-align the fixed position example
2021-05-05 16:36:09 -07:00
Tessa Kelly
c28e4e8a18
Make the examples a bit more standardized. Incorporating everything that the accordion might support made loking at the example confusing
2021-05-05 16:28:42 -07:00
Tessa Kelly
91b87b7ec8
Update to Accordion V3 version
2021-05-05 16:03:57 -07:00
Tessa
f3fbc633d5
Merge branch 'master' into fab/menu
2021-04-22 18:16:22 -07:00
Juan Edi
3b3f2d5a2e
SegmentedControl's demo respects "tooltip" options
...
The viewRadioGroup example was behaving as if it was always enabled
2021-04-13 18:39:25 -03:00
Tessa Kelly
37800509da
Fix example
2021-04-07 08:39:52 -07:00
Brian Hicks
f7a4735995
allow tooltips in segmented controls
2021-04-06 16:13:23 -05:00
Brian Hicks
d8d09cb115
add new SegmentedControl.V14
2021-04-06 16:13:22 -05:00
Tessa Kelly
ab92b6af35
Adds tab/tab-back behavior
2021-03-18 10:35:46 -07:00
Tessa Kelly
a066b6377f
Un-comment the other example
2021-03-18 10:31:40 -07:00
Tessa Kelly
bfafa67d5c
Fix group behavior
2021-03-04 15:22:22 -08:00
Tessa Kelly
40d6a27f09
Fix the arrow implementation for singular entries (groups are broken)
2021-03-04 13:47:18 -08:00
Tessa Kelly
ebf809918b
Combine the focus and toggle message handlers
2021-03-04 11:22:50 -08:00
Tessa Kelly
d186fbac68
Adds menu item ids
2021-03-04 11:22:50 -08:00
Tessa Kelly
cbd3ef12e6
Separate the types for the menu configuration
2021-03-04 11:22:50 -08:00
Tessa Kelly
c5155ca408
Make the menu more generic: move the tooltip and clickable svg stuff to an example
2021-03-04 11:22:50 -08:00
Tessa Kelly
a88f1fb155
Share the code that can be shared between the two discrete menu implementations
2021-03-04 11:22:50 -08:00
Tessa Kelly
7edbd4fd49
Adjust the id behavior
2021-03-04 11:22:50 -08:00
Tessa Kelly
643d0a0bc4
onToggle -> toggle
2021-03-04 11:22:50 -08:00
Tessa Kelly
06242c36f2
Adds focus helper
2021-03-04 11:22:50 -08:00
Tessa Kelly
c5c7a24c99
copy V1 to V2
2021-03-04 11:22:50 -08:00
Tessa Kelly
4937f69c04
Adds aspirational menu interaction notes
2021-03-04 11:22:50 -08:00
Tessa Kelly
71f66e80fe
Rearrange the examples a bit
2021-02-23 11:21:03 -08:00
Tessa Kelly
2b76c45f07
Adds minimally edited null
2021-02-23 11:20:26 -08:00
Tessa Kelly
05a637f152
Adds minimally edited openBooks
2021-02-23 11:13:53 -08:00
Tessa Kelly
ce46c58689
Fix version
2021-01-25 12:04:39 -08:00
Tessa Kelly
bbcbd6f1e3
Allow icon to be set independently of the default colors
2021-01-19 13:15:16 -08:00
Tessa Kelly
6ef1b62778
Add css customization examples
...
the second css prefill shows the content _not_ being cut off properly at the edges
2021-01-19 12:48:50 -08:00
Tessa Kelly
5fde0fee48
Use V3 in the examples
2021-01-19 12:23:48 -08:00
Tessa Kelly
95835245f1
Adds mastery icon level four
2020-12-14 15:41:24 -08:00
Tessa Kelly
5733b0d464
Move the badge next to the other stars
2020-12-14 15:31:04 -08:00
Tessa
a0511dfa68
Merge branch 'master' into kraken/starFilled
2020-12-11 10:02:00 -08:00
Tessa Kelly
75ba47d7b4
Adds starFilled
2020-12-10 12:45:42 -08:00
Brian Hicks
4cef8dae2b
add the ability to explicitly disable a switch
2020-12-10 14:10:19 -06:00
Brian Hicks
a3c2e97ad2
first pass at Switch API and display
2020-12-10 14:07:34 -06:00
Ju Liu
023f3c25c8
Add loggedOut view to Nri.Ui.Page
2020-12-04 18:44:56 +00:00
Tessa Kelly
424bd1854c
💀 remove the invisible label.
...
having an invisible label makes it easier to make bad UX decisions.
2020-11-20 10:45:35 -08:00
Tessa Kelly
8343bb06b0
Fix example keyboard support
2020-11-20 10:42:26 -08:00
Tessa Kelly
16d95ef9c5
Merge remote-tracking branch 'origin/master' into fab/radio-button
2020-11-20 10:40:54 -08:00
Tessa Kelly
d81bc46701
Fix keyboard support section
2020-11-16 11:38:04 -08:00
Ju Liu
e50a2226a3
Fix multiline example
2020-11-16 12:46:43 +00:00
Tessa Kelly
3fa130da65
Adds keyboard support notes
2020-11-13 14:53:01 -08:00
Brian Hicks
433494f621
allow overriding the generated ID in a text input
2020-11-13 10:27:18 -06:00
Tessa Kelly
c2e1257895
Remove the noOp
2020-11-06 15:57:10 -08:00
Tessa Kelly
e536c34e40
Remove duped vendor prefix heleprs
2020-11-06 10:51:33 -08:00
Tessa Kelly
5abcdf9d78
💀 remove delete button from the examples; use ClickableSvg for this behavior
2020-11-06 10:35:24 -08:00
Tessa Kelly
ea59a9f352
Adds non-square ui icons to the button example
2020-10-28 09:38:38 -07:00
Brian Hicks
b2d555137c
add a button that can grow within bounds
2020-10-26 16:53:43 -05:00
Tessa Kelly
759bdd4764
Adds exactHeight
2020-10-21 11:34:44 -07:00
Tessa Kelly
25d79211cc
Adds exact width helper
2020-10-21 10:43:15 -07:00
Tessa Kelly
8f6f61f85f
Begin adding small, medium, large styles
2020-10-21 09:40:20 -07:00
Tessa Kelly
4be98644b3
Remove width, height helpers
2020-10-21 09:12:07 -07:00
Tessa Kelly
6cce76bd0f
Copy V1
2020-10-21 09:07:51 -07:00
Tessa
82a4b87bf8
Merge branch 'master' into kraken/clickable-text-alignment
2020-10-19 10:19:17 -07:00
Brian Hicks
b3f8ad7507
speed up examples with laziness
...
the amount of *stuff* in our styleguide meant that the page was starting to
slow down due to vdom calculations. This sprinkles a little bit of laziness
to get things going quickly again.
2020-10-16 09:24:42 -05:00
Tessa Kelly
bbde873cff
Fix bottom border styles
2020-10-14 14:47:15 -07:00
Tessa Kelly
36f3fc3c7e
Put archive and unarchive in their own sections
2020-10-08 11:46:53 -07:00
Tessa Kelly
f63c7bd0a9
Show the pennant names
2020-10-08 11:45:03 -07:00
Tessa Kelly
77d416f529
Adds expired premium pennant
2020-10-08 11:40:54 -07:00
Tessa Kelly
4a1021e3ce
Adds archive icon
2020-10-08 11:36:09 -07:00
Tessa Kelly
0910d55660
Merge remote-tracking branch 'origin/master' into FAB/accordion-v2
2020-10-02 09:35:17 -07:00
Ben Dansby
b472821d9c
styling
2020-10-01 21:08:41 -07:00
Tessa
5e2ab36a6c
Merge branch 'master' into FAB/accordion-v2
2020-09-29 13:56:23 -07:00
Ju Liu
51d1600b2d
Merge branch 'master' into kraken/co-teach-icon
2020-09-29 11:15:41 +01:00
Tessa
0c0f8c280f
Merge branch 'master' into FAB/accordion-v2
2020-09-28 16:49:02 -07:00
Tessa Kelly
7cf429489f
Adds couple for coteacher icon
2020-09-28 15:18:26 -07:00
Tessa Kelly
8e432d85b5
Simplify examples
2020-09-28 15:00:27 -07:00
Tessa Kelly
bcfe6cd41c
Reduce visual noise
2020-09-28 14:56:08 -07:00
Tessa Kelly
d1324d5042
Move withBorder examples to always show
2020-09-28 14:52:35 -07:00
Tessa Kelly
e7c1e2fa1c
Show all the themes at once
2020-09-28 14:45:03 -07:00
Tessa Kelly
3b4b83482e
Adds dangerSecondary
2020-09-28 14:37:19 -07:00
Tessa Kelly
0cfcde3791
Replace the hardcoded examples with debug controls examples
2020-09-28 11:58:02 -07:00
Tessa Kelly
e4a1b52f11
Adds setting options
2020-09-28 11:44:00 -07:00
Tessa Kelly
0820004b44
Adds debug-control to example
2020-09-28 11:28:24 -07:00
Tessa Kelly
9eaa87708d
Use the new tooltip rather than the withtooltip helpers
2020-09-28 11:14:26 -07:00
Tessa Kelly
9e38525aed
Adds border option
2020-09-28 10:05:28 -07:00
Tessa Kelly
fb21fd334f
Merge remote-tracking branch 'origin/master' into FAB/accordion-v2
2020-09-25 12:30:20 -07:00
Tessa Kelly
6ef4c28280
this is v5
2020-09-21 10:36:59 -07:00
Brian Hicks
d89920ca66
fix up deps in styleguide-app
2020-09-18 06:03:34 -05:00
Tessa Kelly
3dffd64955
Allow for customizing the header level
2020-09-11 13:33:15 -07:00
Tessa Kelly
0f13413303
Implement the arrow behavior
2020-09-11 13:15:17 -07:00
Tessa Kelly
15500128ed
combine view and viewKeyed so that nodes are always keyed
2020-09-11 12:08:07 -07:00
Tessa Kelly
9824671634
Use V2
2020-09-11 12:03:25 -07:00
Tessa Kelly
c6bf74f2cd
Merge remote-tracking branch 'origin/master' into raven/tooltip-v2
2020-09-10 14:47:33 -07:00
Tessa Kelly
49f9880181
Adjust error message
2020-09-09 12:07:07 -07:00
Tessa Kelly
819aee116d
Take screenshots of one widget at a time
2020-09-09 12:05:26 -07:00
Tessa Kelly
e431f736ce
Adds separate version field
2020-09-09 11:43:10 -07:00
Tessa Kelly
89e212d0bd
Add svg label
...
this seems redundant to me, but not sure how to get around it in the tests given how the tooltip currenlty works (probably display:none on the tooltip content rather than not rendering it would be better)
2020-09-09 11:11:14 -07:00
Tessa Kelly
9a98133ce0
Merge remote-tracking branch 'origin/master' into raven/tooltip-v2
2020-09-08 16:40:52 -07:00
Tessa Kelly
686fcf0846
Merge remote-tracking branch 'origin/master' into raven/focus-trap-proof-of-concept
2020-09-08 15:41:38 -07:00
Tessa Kelly
658b27923e
Merge remote-tracking branch 'origin/master' into raven/tooltip-v2
2020-09-08 15:31:28 -07:00
Tessa Kelly
989ce0821f
Show the labels without text
2020-09-08 14:47:38 -07:00
Tessa Kelly
093718d9ed
Fix broken on-focus tooltip behavior
2020-09-08 14:35:36 -07:00
Tessa Kelly
688b3190ce
Adds some defaults
2020-09-08 14:14:40 -07:00
Tessa Kelly
c033727e81
Adds segmented control tooltip example
2020-09-08 14:09:49 -07:00
Tessa Kelly
0f36a850e3
Adds adjusted alignment example
2020-09-08 11:55:09 -07:00
Juan Edi
a73de4be5f
The modal requires a focus trap now
2020-09-08 15:36:13 -03:00
Juan Edi
6370b83d99
Use a type alias instead of a custom type for FocusTrap
...
I don't think we are getting any value out of the custom type since we have a
single case and are exposing the constructor anway.
2020-09-08 15:29:21 -03:00
Tessa Kelly
41a609c503
Fix the styles for the tab
2020-09-08 11:22:17 -07:00
Tessa Kelly
83da4f1a4b
Render the tooltip in the tab example
2020-09-08 11:00:32 -07:00
Tessa Kelly
ededf8008b
Change to an attributes-based approach
2020-09-08 10:56:29 -07:00
Tessa Kelly
53f5d77ee2
Remove the cases
2020-09-04 17:23:41 -07:00
Tessa Kelly
ce5201e900
fix 🐛 s caused by duplicative id
2020-09-04 17:15:54 -07:00
Tessa Kelly
4db7df2a48
Implement one element focus trap
2020-09-04 17:01:49 -07:00
Tessa Kelly
6ddc4499fa
Make the closeButton an attribute
2020-09-04 16:59:02 -07:00
Tessa Kelly
44eee7f15a
Remove closeModal attribute hole
2020-09-04 16:49:59 -07:00
Tessa Kelly
a193082fa9
🎨 remove unnecessary argument hole
2020-09-04 16:49:07 -07:00
Tessa Kelly
12a804adb3
Audit current behavior
2020-09-04 16:47:31 -07:00
Tessa Kelly
fb9810354a
Fix bad string value
2020-09-04 16:30:15 -07:00
Tessa Kelly
70c221714a
Fix premium checkboxes (identifiers with special chars break the filter reference)
2020-09-04 16:27:56 -07:00
Tessa Kelly
54f7871d9c
Use the copied versions of the tab components
2020-09-04 16:24:59 -07:00
Tessa Kelly
f2e19df603
Adjust API so that any focusable component can be usedas the trigger for the tooltip
2020-09-04 16:24:59 -07:00
Tessa Kelly
7501ac437b
Adds example of tooltip in a tab
...
I notice that this really messes up the tab order :/ I think we're going to have to more deeply integrate the tooltips
2020-09-04 16:24:59 -07:00
Tessa Kelly
ef14174eb1
Put defaults first in controls
2020-09-04 16:24:59 -07:00
Tessa Kelly
8306501ced
Use custom number for the other values
2020-09-04 16:24:59 -07:00
Tessa Kelly
ff1d8b296f
Adds a fake number input rather than hardcoding rando values
2020-09-04 16:24:59 -07:00
Tessa Kelly
7e8bb3ee1e
Simplify the primarylabel and auxillarydescription notes
2020-09-04 16:24:59 -07:00
Tessa Kelly
9f7b2274bf
Pass through the offset because I don't think there's a way to do this properly without knowing the height
2020-09-04 16:24:59 -07:00
Tessa Kelly
c7d3f51422
Adds alignment to example
2020-09-04 16:24:59 -07:00
Tessa Kelly
3ebc3fc696
Adds the hover bridge back in
2020-09-04 16:24:59 -07:00
Tessa Kelly
7fff4a4069
Add padding to example
2020-09-04 16:24:59 -07:00
Tessa Kelly
3dbf629ba4
Add width to example
2020-09-04 16:24:59 -07:00
Tessa Kelly
d6a9b42411
Adds direction to example
2020-09-04 16:24:59 -07:00
Tessa Kelly
72706c869d
Begin adding static examples
2020-09-04 16:24:59 -07:00
Tessa Kelly
1d4f7bee3f
Adds debug controls
2020-09-04 16:24:59 -07:00
Tessa Kelly
2a969a4b59
Re-order the tooltip example
2020-09-04 16:24:59 -07:00
Tessa Kelly
73f85c530a
isOpen field becomes the open attribute
2020-09-04 16:24:59 -07:00
Juan Edi
ba9929ac3a
WIIIIIIIPP implement one of the use cases to use new FocusTrap API
2020-09-04 19:36:22 -03:00
Tessa Kelly
d2821156fe
extraButtonAttrs becomes attribute
2020-09-04 14:38:12 -07:00
Tessa Kelly
20606485b3
change primaryLabel and auxillaryDescription to attributes, adding view
2020-09-04 14:38:12 -07:00
Tessa Kelly
d500161811
Move the trigger to the attributes
2020-09-04 14:38:12 -07:00
Tessa Kelly
428b66bb14
Change to attribute-based API
2020-09-04 14:38:12 -07:00
Tessa Kelly
23e80fa9d2
Replace withPosition with directional helpers
2020-09-04 14:38:12 -07:00
Tessa Kelly
9f8939b1b6
Use Tooltip V2
2020-09-04 14:38:11 -07:00
Tessa Kelly
44975187d6
Apparently nesting Control records causes deque to fail. de-nest
2020-09-04 08:52:47 -07:00
Tessa Kelly
7bb32b0787
Fix mistake in the focus handling
2020-09-02 16:57:32 -07:00
Tessa Kelly
fd69c6c8a9
Pull out focus trap helper
2020-09-02 16:56:10 -07:00
Tessa Kelly
7aa2d65e96
Change closeButton to accept any msg type
2020-09-02 16:37:00 -07:00
Tessa Kelly
708f291081
The most major of API changes:
...
allows the user to set the id of their focusable element, and prevents autofocusing from overrding the other element id options and vice versa
2020-09-02 16:32:17 -07:00
Tessa Kelly
c09053b69c
Add a helper for the continue button
2020-09-02 14:35:35 -07:00
Tessa Kelly
1eda22c565
Add a helper for the close button
2020-09-02 14:32:57 -07:00
Tessa Kelly
94f841c5f8
Adds keyboard support notes
2020-09-02 14:19:41 -07:00
Tessa Kelly
cb2b548064
Put all the attributes in a list in the controls
2020-09-02 14:15:42 -07:00
Tessa Kelly
9972b9a46b
ALlow a little more customization inthe css
2020-09-02 14:09:52 -07:00
Tessa Kelly
e249033658
Adds showTitle helper
2020-09-02 14:04:06 -07:00
Tessa Kelly
87f2064938
Make the content customizable
2020-09-02 13:59:02 -07:00
Tessa Kelly
9ad216b994
Move the theme into the settings
2020-09-02 13:53:40 -07:00
Tessa Kelly
9743a69d32
Use Debug.Control
2020-09-02 13:44:39 -07:00
Tessa Kelly
14da7572d2
Hide the skip button when not focused
2020-09-02 12:53:27 -07:00
Tessa Kelly
97bf52f3bd
Skip to header rather than to whole section
2020-09-02 12:39:35 -07:00
Tessa Kelly
751aa89f84
Make info and warning into themes
2020-09-02 10:48:52 -07:00
Tessa Kelly
66bd38307c
💀 replace initOPen with open
2020-09-02 10:35:20 -07:00
Tessa Kelly
b04eee1d89
Use Modal.V11
2020-09-02 10:12:59 -07:00
Tessa Kelly
e5f5928c44
Render a table with all the examples
2020-08-28 16:05:31 -07:00
Tessa Kelly
0b337ee1c5
Auto-set the content for the example after all
2020-08-28 16:05:31 -07:00
Tessa Kelly
66798374c0
Make tiny, large, and banner into attribute constructors
2020-08-28 16:05:31 -07:00
Tessa Kelly
c3fdcd30fb
Allow for greater customization of the custom theme
2020-08-28 16:05:31 -07:00
Tessa Kelly
34a733c11a
Move Theme to be an attribute
2020-08-28 16:05:31 -07:00
Tessa Kelly
79d395ca4d
Move Content to be an attribute
2020-08-28 16:05:31 -07:00
Tessa Kelly
e99c085cae
💀 remove mapContent
2020-08-28 16:05:31 -07:00
Tessa Kelly
cc6ccd400f
Adds the view helper to the settings
2020-08-28 16:05:31 -07:00
Tessa Kelly
78988a704a
Show dismissibility in the Message example
2020-08-28 16:05:31 -07:00
Tessa Kelly
c911ba707c
Pull the subcontrols to the top level
2020-08-28 16:05:31 -07:00
Tessa Kelly
34b0985652
Show one theme at a time
2020-08-28 16:05:31 -07:00
Tessa Kelly
9b94e2cdb2
Add roles to the tiny and large elements
2020-08-28 16:05:31 -07:00
Tessa Kelly
d13539330d
Rename BannerAttribute -> Attribute
2020-08-28 16:05:31 -07:00
Tessa Kelly
aba39c5b86
Adds alert and alert dialog role options to the message API
2020-08-28 16:05:31 -07:00
Tessa Kelly
a2421b7742
Wire up message v2
2020-08-28 16:05:31 -07:00
Brian Hicks
9aead358a5
allow SegmentedControl to be centered
2020-08-20 15:58:31 -05:00
Brian Hicks
b31e31a0fc
replace toString with idString in viewRadioGroup
2020-08-20 15:43:57 -05:00
Brian Hicks
f54ff424c5
use idString instead of toString
2020-08-20 15:41:50 -05:00
Brian Hicks
bae4303bb6
allow HTML in radio options
2020-08-20 15:17:45 -05:00
Brian Hicks
e979190537
allow HTML in labels
2020-08-20 15:13:35 -05:00
Brian Hicks
85bcfbe424
copy v11 -> v12
2020-08-20 15:07:18 -05:00
Tessa Kelly
98614d2f7f
Fix Modal docs links
2020-08-18 14:01:28 -07:00
Brian Hicks
e34e887b43
upgrade elm-version in the styleguide
2020-08-13 16:13:07 -05:00
Ju Liu
be9c2e42c5
Implement Modal.V10
...
Which allows an easier way to customize the modal styling
2020-08-12 15:18:21 +01:00
Tessa Kelly
6a9ebcd980
Adds misisng legend
2020-08-05 16:22:33 -07:00
Tessa Kelly
ca714c5775
Update the keyboard support notes
2020-08-05 15:58:40 -07:00
Tessa Kelly
d7b6d9fdf0
🎨 make the API consistent
2020-08-05 15:25:26 -07:00
Tessa Kelly
f815a4bb13
Use TabsInternal for Segmentedcontrol
2020-08-05 15:19:09 -07:00
Tessa Kelly
bcd3135c39
Begin basing segmented control off of tabsinternal
2020-08-05 15:03:22 -07:00
Tessa Kelly
a30bb6153d
Copy V5 tabs to V6
2020-08-05 14:18:03 -07:00
Tessa Kelly
a9d64e7cbb
Use radio button under the hood
2020-08-05 14:04:49 -07:00
Tessa Kelly
a7b3ed779c
Do renames for radio group
2020-08-05 13:20:48 -07:00
Tessa Kelly
b6b41109e5
cp SegmentedControl/V10.elm SegmentedControl/V11.elm
2020-08-05 13:15:57 -07:00
Tessa
ef6ee0ab21
Merge branch 'master' into lab/stickyable-segmented-control
2020-08-04 21:44:47 -07:00
Tessa Kelly
e9631d95f2
Show icons by default cause icons are adorable
2020-08-04 21:36:15 -07:00
Tessa Kelly
f4e5467cff
Add long content example
2020-08-04 21:35:10 -07:00
Tessa Kelly
437f37d135
🎨 remove other map2
2020-08-04 21:28:01 -07:00
Tessa Kelly
bdb8f7260f
Remove option map2
2020-08-04 19:30:24 -07:00
Tessa Kelly
8a32a17772
Move the content into the Option
2020-08-04 19:06:28 -07:00
Tessa Kelly
0233fbf682
Add some more info on difference between view and viewSelect
2020-08-04 18:30:25 -07:00
Tessa Kelly
3eaea56a92
Open up the type for the attributes for each option
2020-08-04 18:25:41 -07:00
Tessa Kelly
a326999f84
Begin passing through attributes
2020-08-04 18:17:24 -07:00
Tessa Kelly
2f20f05bff
💀 remove the useSpa control
2020-08-04 18:08:16 -07:00
Tessa Kelly
249285e52d
Remove the segmented control from the inputs section
2020-08-04 18:00:58 -07:00
Tessa Kelly
a98e805abf
Document the current keyboard behavior
...
I vaguely suspect that tab should take the user into the controlled content, rather than through the rest of the control options... but will elave it to testing
2020-08-04 17:58:29 -07:00
Tessa Kelly
fc2c79817d
🎨 tidy the API
2020-08-04 17:52:30 -07:00
Tessa Kelly
1314260cf2
Switch from V9 in styleguide to V10
2020-08-04 17:38:11 -07:00
Tessa Kelly
6fc885e96e
Fix the example, which should be against the newest version
2020-07-31 13:18:48 -07:00
Tessa Kelly
432be025a3
Notes for V2 of RadioButton
2020-07-30 11:47:32 -07:00
Tessa Kelly
6d7f6061ca
Show modal
2020-07-30 11:39:16 -07:00
Tessa Kelly
83b8633e0d
Add example from the monolith styleguide (minus premium modal)
2020-07-30 11:28:18 -07:00
Tessa Kelly
192cd5c49c
Adds example app
2020-07-30 11:12:30 -07:00
Tessa
4dd1629b95
Merge branch 'master' into tessa/expand-segmented-control-example
2020-07-29 13:16:14 -07:00
Tessa Kelly
97dba40ff3
Use different prefixes in order to end up with different ids for axe
2020-07-29 11:18:07 -07:00
Tessa Kelly
05dc88402f
Demo 2-8 segmented controls
2020-07-29 11:10:49 -07:00
Tessa Kelly
090c6eb695
Change the ExampleOptionSelect to use ints
2020-07-29 11:00:05 -07:00
Tessa Kelly
4d0df17b74
Ads missing document
2020-07-28 16:46:01 -07:00
Tessa Kelly
e227c99631
Adds documents icon
2020-07-16 16:30:24 -07:00
Brian Hicks
789d0ae7c8
add examples of attribute-based customization to the style guide
2020-07-13 10:11:33 -05:00
Brian Hicks
273fe45f41
accept and apply styles
2020-07-13 09:50:19 -05:00
Tessa Kelly
e3f714d2c3
Fix warning modal content
...
:
2020-07-02 15:33:51 -07:00
Tessa Kelly
885b457677
Switch to FocusManager type
2020-07-02 15:09:07 -07:00
Tessa Kelly
ed10041cfa
💀 remove Focusable type
...
TODO: decide whether or not to expose Attribute
2020-07-02 12:58:38 -07:00
Tessa Kelly
434ec45805
Change the API for onlyFocusable to expect a record
2020-07-02 12:51:04 -07:00
Tessa Kelly
7e2d47bfa3
Remove ViewFuncs abstraction, which imo made it harder to unserstand what the views actually required
2020-07-02 12:20:21 -07:00
Tessa Kelly
1dbe7b3a15
Expose and use V9
2020-07-02 12:15:53 -07:00
Aaron VonderHaar
d894d7e21c
Add UiIcon.searchInCircle
2020-06-29 17:23:45 -07:00
Tessa Kelly
80e5cfcae8
Merge remote-tracking branch 'origin/master' into remove-old-components
2020-06-23 12:29:54 -07:00
Tessa Kelly
9b0b4c300e
Follow review recs on sorting modules into atomic design types
2020-06-23 10:21:31 -07:00
Tessa Kelly
f9501508f3
Use increasing sorter rather than alphabetical sorter for atomic design type
2020-06-23 10:19:39 -07:00
Tessa Kelly
3bf24352af
💀 remove old components
2020-06-22 17:46:20 -07:00
Tessa Kelly
4ae16d11d5
Add some examples of keyboard support
2020-06-19 14:50:47 -07:00
Tessa Kelly
3ca51afde0
Rename from 'shortcuts' to 'support' -- not about providing shortcuts, about providing access
2020-06-19 14:45:32 -07:00
Tessa Kelly
311ba32ec3
Adds keyboard shortcuts to all the examples
2020-06-19 14:42:28 -07:00
Tessa Kelly
a84f0b9665
Wire in keyboard shortcuts section to the examples
2020-06-19 14:35:53 -07:00
Tessa Kelly
90aadbe547
Adds a source link
2020-06-19 14:23:17 -07:00
Tessa Kelly
87ff24e8f0
Remove namespacing
2020-06-19 14:16:10 -07:00
Tessa Kelly
c2e2f7524b
Switch from Atom to Page for Loading and Page examples
2020-06-19 14:15:42 -07:00
Tessa Kelly
e49673d4ba
Adds filtering
2020-06-19 14:12:53 -07:00
Tessa Kelly
c15e4096e2
Adds atomic design state
2020-06-19 13:52:02 -07:00
Tessa Kelly
68ea678d7c
Adds atomic design tags
2020-06-19 13:41:28 -07:00
Tessa Kelly
e4db603475
Merge remote-tracking branch 'origin/master' into lab/tabs
2020-06-12 10:07:57 -07:00
Tessa Kelly
de5d646010
Adds link
2020-06-11 17:22:04 -07:00
Tessa Kelly
28a75685fc
Merge remote-tracking branch 'origin/master' into lab/tabs
2020-06-10 15:11:45 -07:00
Tessa Kelly
61dbc7ad31
Merge remote-tracking branch 'origin/master' into lab/adds-gd-tda-icons
2020-06-10 15:10:59 -07:00
Tessa Kelly
20edfbf1d3
Adds openBook
2020-06-10 15:10:16 -07:00
Tessa
18e3a09386
Merge branch 'master' into lab/extend-clickable-helpers
2020-06-10 14:20:52 -07:00
Tessa Kelly
26e45a1290
Adds checklist
2020-06-10 13:57:07 -07:00
Tessa Kelly
7c2da0a9dc
Adds speechBallono
2020-06-10 13:47:39 -07:00
Tessa Kelly
346c6fa793
Adds redo
2020-06-10 13:41:20 -07:00
Tessa Kelly
6c2eabc01d
Fix axe error
2020-06-09 18:34:52 -07:00
Tessa Kelly
edd6435a68
Thread custom spacing options through
2020-06-09 18:08:33 -07:00
Tessa Kelly
bb7bd52e1f
Fix the focus behavior
2020-06-09 17:56:10 -07:00
Tessa Kelly
f713fb1afa
Extract key events
2020-06-09 17:43:54 -07:00
Tessa Kelly
6827c85196
Replace the separate spa link implementation
2020-06-09 17:16:08 -07:00
Tessa Kelly
5ce84e40e3
💀 remove normal link
2020-06-09 16:50:37 -07:00
Tessa Kelly
a1a6625885
Change the API to reduce casing
2020-06-09 16:23:15 -07:00
Tessa Kelly
fdb6c04fb5
Move away from a zipper-based approach
2020-06-09 15:53:46 -07:00
Tessa Kelly
0fd1cafed9
Adds the default tab view helper back in
2020-06-09 15:28:12 -07:00
Tessa Kelly
738418074d
Begin adjusting the API to take HTML for tab content
2020-06-09 15:12:30 -07:00
Tessa Kelly
30d4c20a93
Adds Title to settings
...
Note: alignment left and center don't work correctly when there is a title
2020-06-09 14:55:39 -07:00
Tessa Kelly
162989e54f
Adds alignment demo to the example
2020-06-09 14:51:00 -07:00