mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-12-29 00:21:42 +03:00
Merge branch 'master' into zamboni/add-button-v7
This commit is contained in:
commit
5899d7a386
@ -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 ]
|
||||
]
|
||||
]
|
||||
|
||||
|
||||
|
@ -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" ]
|
||||
|
Loading…
Reference in New Issue
Block a user