diff --git a/src/Nri/Ui/InputStyles/V3.elm b/src/Nri/Ui/InputStyles/V3.elm index 6abf3c5d..a28b14d3 100644 --- a/src/Nri/Ui/InputStyles/V3.elm +++ b/src/Nri/Ui/InputStyles/V3.elm @@ -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 diff --git a/tests/Spec/Nri/Ui/TextInput.elm b/tests/Spec/Nri/Ui/TextInput.elm index 396d6920..ba5f18b2 100644 --- a/tests/Spec/Nri/Ui/TextInput.elm +++ b/tests/Spec/Nri/Ui/TextInput.elm @@ -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