Merge branch 'master' into zamboni/add-button-v7

This commit is contained in:
Jasper Woudenberg 2019-01-03 13:44:35 +00:00 committed by GitHub
commit 5899d7a386
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 16 deletions

View File

@ -129,22 +129,21 @@ view_ theme model =
"false"
]
[]
]
, if not model.showLabel then
Html.label
([ Attributes.for (generateId model.label)
, Attributes.css [ InputStyles.label theme model.isInError ]
]
++ Accessibility.Styled.Style.invisible
)
[ Html.text model.label ]
, if not model.showLabel then
Html.label
([ Attributes.for (generateId model.label)
]
++ Accessibility.Styled.Style.invisible
)
[ Html.text model.label ]
else
Html.label
[ Attributes.for (generateId model.label)
, Attributes.css [ InputStyles.label theme model.isInError ]
]
[ Html.text model.label ]
else
Html.label
[ Attributes.for (generateId model.label)
, Attributes.css [ InputStyles.label theme model.isInError ]
]
[ Html.text model.label ]
]
]

View File

@ -37,7 +37,7 @@ type alias State =
{-| -}
example : (Msg -> msg) -> State -> ModuleExample msg
example parentMessage state =
{ filename = "Nri.Ui.TextArea.V3"
{ filename = "Nri.Ui.TextArea.v3"
, category = Inputs
, content =
[ Text.heading [ Html.text "Textarea controls" ]