Commit Graph

4023 Commits

Author SHA1 Message Date
Tessa Kelly
da7b06678d Adds nriDescription, testId, id, custom 2021-10-27 19:14:11 -07:00
Tessa Kelly
bac7afbfeb Use a singular view helper 2021-10-27 19:14:11 -07:00
Tessa Kelly
93ec041197 Extract and use general buildSettings helper 2021-10-27 19:14:11 -07:00
Tessa Kelly
0531a7b0df Use Attribute pattern wrapping a function 2021-10-27 19:14:11 -07:00
Tessa Kelly
f478bcc508 V5 -> V6 2021-10-27 19:14:11 -07:00
Tessa Kelly
0e8f94ccbc cp Text V5 to V6 2021-10-27 19:14:11 -07:00
Tessa
dbc7475633
Merge pull request #758 from NoRedInk/dansby/quiz-engine-breakpoint
700 -> 750
2021-10-27 15:14:30 -07:00
Ben Dansby
0fac14c695 700 -> 750 2021-10-27 14:57:11 -07:00
Alex Perkins
e156e68472
Merge pull request #757 from NoRedInk/kraken/bump-for-textinput-onEnter
bump for TextInput.onEnter
2021-10-27 16:09:43 -04:00
Alex Perkins
af9b4cc6d8 bump for TextInput.onEnter 2021-10-27 15:46:25 -04:00
Alex Perkins
a330d7f519
Merge pull request #755 from NoRedInk/kraken/add-naive-onEnter-handler-TextInput
add an attr for Enter keydown events
2021-10-27 15:33:52 -04:00
Tessa
09edd3f4e8
Merge pull request #754 from NoRedInk/dansby/shadow
Add shadows to tooltips and balloons
2021-10-27 10:26:00 -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
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