This commit is contained in:
Tessa Kelly 2021-10-29 11:56:54 -07:00
parent 52464c18f8
commit e7f5f5e559
2 changed files with 4 additions and 6 deletions

View File

@ -1,7 +1,6 @@
module Nri.Ui.InputStyles.V3 exposing
( label, Theme(..), input
, inputPaddingVertical, inputLineHeight, textAreaHeight, writingLineHeight, writingPadding, writingPaddingTop, writingMinHeight
, defaultMarginTop
, inputPaddingVertical, inputLineHeight, textAreaHeight, writingLineHeight, writingPadding, writingPaddingTop, writingMinHeight, defaultMarginTop
)
{-| InputStyles used by the TextInput and TextArea widgets.
@ -11,7 +10,7 @@ module Nri.Ui.InputStyles.V3 exposing
## Shared hardcoded values
@docs inputPaddingVertical, inputLineHeight, textAreaHeight, writingLineHeight, writingPadding, writingPaddingTop, writingMinHeight
@docs inputPaddingVertical, inputLineHeight, textAreaHeight, writingLineHeight, writingPadding, writingPaddingTop, writingMinHeight, defaultMarginTop
## Changelog
@ -111,6 +110,7 @@ label theme inError =
]
{-| -}
defaultMarginTop : Float
defaultMarginTop =
9

View File

@ -13,9 +13,7 @@ spec =
[ test "it uses the same DOM id that generateId produces" <|
\() ->
TextInput.view "myLabel"
(TextInput.text identity)
[]
""
[ TextInput.text identity ]
|> Html.Styled.toUnstyled
|> Query.fromHtml
|> Query.has