Commit Graph

4011 Commits

Author SHA1 Message Date
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
Ben Dansby
b737dec9f4 add shadows 2021-10-26 17:20:06 -07:00
Tessa
52d9ebd5f9
Merge pull request #753 from NoRedInk/nri-container-2-bump
Nri.Ui.Container.V2, TextInput.V6
2021-10-26 09:33:46 -07:00
Tessa Kelly
8b5fc7f331 Bump 2021-10-26 09:30:19 -07: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
4b1bb5b9f7
Merge pull request #752 from NoRedInk/dansby/s
Add s
2021-10-25 10:03:13 -07:00
Ben Dansby
9f41d335ca s 2021-10-24 11:13:56 -07:00
Tessa Kelly
d37237f3c8 Fix docs 2021-10-22 13:11:47 -07:00
Ben Dansby
8fdb6867ec
Merge pull request #751 from NoRedInk/dansby/container-v2
Container v2
2021-10-22 10:59:05 -07:00
Tessa Kelly
178dae1422 Expose Nri.Ui.Container.V2 2021-10-22 09:39:40 -07:00
Tessa Kelly
4610ab237d Fill out changelog 2021-10-22 09:33:20 -07: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
d041c8d90d Add a warning instead of making assumptions about children 2021-10-21 16:53:26 -07:00
Tessa Kelly
850c422f1f Adds example markdown and plaintext 2021-10-21 16:53:08 -07:00
Tessa Kelly
d12cb923be Adds usual custom warning around elm-css 2021-10-21 16:44:14 -07:00
Tessa Kelly
f805f7fedf Adds todos 2021-10-21 15:38:34 -07:00
Tessa Kelly
86c8720f86 Display different content types 2021-10-21 15:36:55 -07:00
Tessa Kelly
40a3bcf990 Adds custom, testId, and id 2021-10-21 15:27:16 -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
1ee035cdc9 Fold name into Settings 2021-10-21 14:54:07 -07:00
Tessa Kelly
a8470308d8 Fold default styles into the attributes 2021-10-21 14:50:22 -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
Ben Dansby
e44989ada2 add v2 container 2021-10-21 12:17:32 -07:00
Tessa Kelly
8ca05d41eb Fix label alignment 2021-10-21 11:12:34 -07:00
Tessa Kelly
f93b4a71a2 Adds noMargin helper 2021-10-21 11:09:07 -07:00
Micah Hahn
66eb261f4f
Merge pull request #712 from NoRedInk/dependabot/npm_and_yarn/path-parse-1.0.7
Bump path-parse from 1.0.6 to 1.0.7
2021-10-20 16:48:34 -04:00
Micah Hahn
3589474d00
Merge pull request #674 from NoRedInk/dependabot/npm_and_yarn/elliptic-6.5.4
[Security] Bump elliptic from 6.4.1 to 6.5.4
2021-10-20 16:47:16 -04:00
Micah Hahn
861d37f833
Merge pull request #470 from NoRedInk/dependabot/npm_and_yarn/acorn-5.7.4
[Security] Bump acorn from 5.7.3 to 5.7.4
2021-10-20 16:41:45 -04:00
Micah Hahn
aefff535bf
Merge pull request #679 from NoRedInk/dependabot/npm_and_yarn/lodash-4.17.21
[Security] Bump lodash from 4.17.11 to 4.17.21
2021-10-20 16:40:56 -04:00
Micah Hahn
04dbf8f6ce
Merge pull request #702 from NoRedInk/dependabot/npm_and_yarn/ws-6.2.2
[Security] Bump ws from 6.2.1 to 6.2.2
2021-10-20 16:37:07 -04:00
Micah Hahn
87a9edca27
Merge pull request #707 from NoRedInk/dependabot/npm_and_yarn/glob-parent-5.1.2
[Security] Bump glob-parent from 5.1.0 to 5.1.2
2021-10-20 16:35:42 -04:00
Micah Hahn
6bd8947930
Merge pull request #711 from NoRedInk/dependabot/npm_and_yarn/color-string-1.6.0
[Security] Bump color-string from 1.5.3 to 1.6.0
2021-10-20 16:34:29 -04:00
Liz Krane
9f2cd3a572
Merge pull request #749 from NoRedInk/bump-icons
Bump to 14.4.0
2021-10-18 13:23:24 -07:00
Liz Krane
2293e817da Bump to 14.4.0 2021-10-18 11:31:32 -07:00
Tessa
30cbfd7079
Merge pull request #748 from NoRedInk/kraken/add-clever-google-icons
Add clever and google icons
2021-10-18 11:29:29 -07:00
Liz Krane
008090eb2a Rename class on googleG icon to be more specific 2021-10-18 11:25:27 -07:00
Tessa Kelly
ff0601891f Move the fill in as an attribute instead as a class 2021-10-18 11:13:25 -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
d7281ba69e
Merge pull request #747 from NoRedInk/bump-elm-css
Release for new elm-css, tab definitely-no-underline styles, label styles, and Nri.Ui.Container
2021-10-15 10:08:16 -07:00
Tessa Kelly
7eeb5140fe Bump noredink-ui version 2021-10-15 09:59:04 -07:00
Tessa Kelly
43c9e6c634 Bump versions 2021-10-15 09:58:47 -07:00