Commit Graph

3841 Commits

Author SHA1 Message Date
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
c7964eef4f Update custom API to match the other customs 2021-10-29 11:05:06 -07:00
Tessa Kelly
21d42e1bba Switch to V7 2021-10-29 11:05:06 -07:00
Tessa Kelly
f00b1a8e9b cp textinput v6 v7 2021-10-29 11:05:06 -07:00
Alex Perkins
eb12a713ac
Merge pull request #756 from NoRedInk/tessa/standardize-text-api
Tessa/standardize text api
2021-10-29 08:35:30 -04:00
Tessa
00db5c2d5e
Merge pull request #763 from NoRedInk/dansby/performance-icon
Update performance icon
2021-10-28 17:01:35 -07:00
Ben Dansby
b894116799 new performance icon 2021-10-28 14:11:33 -07:00
Juan Edi
bc815c7e04
Merge pull request #762 from NoRedInk/raven/security-upgrades
Raven/security upgrades
2021-10-28 17:00:50 -03:00
Juan Edi
02d3a88249 upgrade puppeteer 2021-10-28 16:53:36 -03:00
Juan Edi
2a30e1f990 upgrade axe-core
reincarnation of the changes in https://github.com/NoRedInk/noredink-ui/pull/700
2021-10-28 16:46:45 -03:00
Tessa Kelly
42946cd081 Fix Container.V1 compilation 2021-10-27 19:14:11 -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
96da1442ed 💀 remove noWidow 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
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