Added comments

This commit is contained in:
Lucas Payr 2021-06-10 07:45:03 +02:00
parent 76c604a7c4
commit bfc6df731a
2 changed files with 8 additions and 3 deletions

View File

@ -850,11 +850,15 @@ type alias PasswordInput msg =
} }
{-| An input field that supports autofilling the current password
-}
currentPasswordInput : PasswordInputStyle msg -> PasswordInput msg -> Element msg currentPasswordInput : PasswordInputStyle msg -> PasswordInput msg -> Element msg
currentPasswordInput = currentPasswordInput =
PasswordInput.currentPasswordInput PasswordInput.currentPasswordInput
{-| An input field that supports autofilling the new password
-}
newPasswordInput : PasswordInputStyle msg -> PasswordInput msg -> Element msg newPasswordInput : PasswordInputStyle msg -> PasswordInput msg -> Element msg
newPasswordInput = newPasswordInput =
PasswordInput.newPasswordInput PasswordInput.newPasswordInput

View File

@ -1,5 +1,5 @@
module Widget.Material exposing module Widget.Material exposing
( Palette, defaultPalette, darkPalette, gray ( Palette, defaultPalette, darkPalette, gray, lightGray, textGray
, containedButton, outlinedButton, textButton , containedButton, outlinedButton, textButton
, iconButton, toggleButton, toggleRow , iconButton, toggleButton, toggleRow
, switch , switch
@ -17,7 +17,6 @@ module Widget.Material exposing
, snackbar , snackbar
, tab, tabButton , tab, tabButton
, buttonRow , buttonRow
, textGray
) )
{-| This module implements a Material design theme for all widgets. {-| This module implements a Material design theme for all widgets.
@ -35,7 +34,7 @@ If you have any suggestions or improvements, be sure to leave a [PR or a Issue](
# Palette # Palette
@docs Palette, defaultPalette, darkPalette, gray @docs Palette, defaultPalette, darkPalette, gray, lightGray, textGray
# Button # Button
@ -684,6 +683,8 @@ textInput =
TextInput.textInput TextInput.textInput
{-| A text input style for the password Input.
-}
passwordInput : Palette -> PasswordInputStyle msg passwordInput : Palette -> PasswordInputStyle msg
passwordInput = passwordInput =
PasswordInput.passwordInput PasswordInput.passwordInput