BodyBuilder.Attributes

This module entirely replaces Html.Attributes, providing a type-safer alternatives. This is designed to work with BodyBuilder. It is not compatible with Html.Attributes, though.


type alias StyleSelector =

{ media : Maybe.Maybe BodyBuilder.Attributes.MediaQuery, pseudoClass : Maybe.Maybe String.String }


defaultStyleSelector : BodyBuilder.Attributes.StyleSelector



type MediaQuery

= MediaQuery

[['Greater', ['Basics.Int']], ['Lesser', ['Basics.Int']], ['Between', ['Basics.Int', 'Basics.Int']]]



type alias StyleModifier a =

BodyBuilder.Attributes.StyleSelector -> Modifiers.Modifier a


style : List.List (BodyBuilder.Attributes.StyleModifier a) -> Modifiers.Modifier a


rawStyle : b -> { a | rawStyle : Maybe.Maybe b } -> { a | rawStyle : Maybe.Maybe b }



rawAttribute : a -> { c | rawAttributes : List.List a } -> { c | rawAttributes : List.List a }



type alias AutocompleteAttribute a =

{ a | autocomplete : Basics.Bool }


type alias WidthAttribute a =

{ a | width : Maybe.Maybe Basics.Int }



type alias HeightAttribute a =

{ a | height : Maybe.Maybe Basics.Int }



type alias ValueAttribute b a =

{ a | value : Maybe.Maybe b }



type alias StepAttribute a =

{ a | step : Maybe.Maybe Basics.Int }



type alias MaxAttribute a =

{ a | max : Maybe.Maybe Basics.Int }



type alias MinAttribute a =

{ a | min : Maybe.Maybe Basics.Int }



type alias TargetAttribute a =

{ a | target : Maybe.Maybe String.String }



type alias HrefAttribute a =

{ a | href : Maybe.Maybe String.String }



type alias NameAttribute a =

{ a | name : Maybe.Maybe String.String }



type alias DisabledAttribute a =

{ a | disabled : Basics.Bool }



type alias PlaceholderAttribute a =

{ a | placeholder : Maybe.Maybe String.String }



type alias DataAttribute a =

{ a | data : List.List ( String.String, String.String ) }


data : a -> { c | data : a } -> { c | data : a }



type alias TypeContainer a =

{ a | type_ : String.String }



type alias BoxContainer a =

{ a | box : List.List ( Modifiers.Modifiers Elegant.Box.Box, BodyBuilder.Attributes.StyleSelector ) }



type alias CheckedContainer a =

{ a | checked : Basics.Bool }



type alias UniversalContainer a =

{ a | universal : BodyBuilder.Attributes.UniversalAttributes }


title : String.String -> Modifiers.Modifier { a | universal : BodyBuilder.Attributes.UniversalAttributes }


id : String.String -> Modifiers.Modifier { a | universal : BodyBuilder.Attributes.UniversalAttributes }


class : List.List String.String -> Modifiers.Modifier { a | universal : BodyBuilder.Attributes.UniversalAttributes }


tabindex : Basics.Int -> Modifiers.Modifier { a | universal : BodyBuilder.Attributes.UniversalAttributes }



type alias MaybeBlockContainer a =

{ a | block : Maybe.Maybe (List.List ( Modifiers.Modifiers Elegant.Display.BlockDetails, BodyBuilder.Attributes.StyleSelector )) }



type alias BlockContainer a =

{ a | block : List.List ( Modifiers.Modifiers Elegant.Display.BlockDetails, BodyBuilder.Attributes.StyleSelector ) }



type alias FlexContainerProperties a =

{ a | flexContainerProperties : List.List ( Modifiers.Modifiers Elegant.Flex.FlexContainerDetails, BodyBuilder.Attributes.StyleSelector ) }



type alias FlexItemProperties a =

{ a | flexItemProperties : List.List ( Modifiers.Modifiers Elegant.Flex.FlexItemDetails, BodyBuilder.Attributes.StyleSelector ) }



type alias GridContainerProperties a =

{ a | gridContainerProperties : List.List ( Modifiers.Modifiers Elegant.Grid.GridContainerDetails, BodyBuilder.Attributes.StyleSelector ) }



type alias GridItemProperties a =

{ a | gridItemProperties : List.List ( Modifiers.Modifiers Elegant.Grid.GridItemDetails, BodyBuilder.Attributes.StyleSelector ) }



type alias VisibleAttributes a =

{ a | box : List.List ( Modifiers.Modifiers Elegant.Box.Box, BodyBuilder.Attributes.StyleSelector ), universal : BodyBuilder.Attributes.UniversalAttributes, rawStyle : Maybe.Maybe Elegant.CommonStyle }

Computed :


visibleAttributesToHtmlAttributes : BodyBuilder.Attributes.VisibleAttributesAndEvents msg a -> List.List (Html.Attribute msg)


rawStyleToHtmlAttributes : Elegant.CommonStyle -> List.List (Html.Attribute msg)



type alias VisibleAttributesAndEvents msg a =

{ a | onMouseEvents : Maybe.Maybe (BodyBuilder.Events.OnMouseEventsInside msg), onEvent : Maybe.Maybe ( String.String, VirtualDom.Handler msg ), onBlurEvent : Maybe.Maybe msg, onFocusEvent : Maybe.Maybe msg, box : List.List ( Modifiers.Modifiers Elegant.Box.Box, BodyBuilder.Attributes.StyleSelector ), universal : BodyBuilder.Attributes.UniversalAttributes, rawStyle : Maybe.Maybe Elegant.CommonStyle, rawAttributes : List.List (Html.Attribute msg) }

OnEvent msg (OnFocusEvent msg (OnBlurEvent msg (OnMouseEvents msg (VisibleAttributes a))))



type alias UniversalAttributes =

{ title : Maybe.Maybe String.String, tabindex : Maybe.Maybe Basics.Int, id : Maybe.Maybe String.String, class : List.List String.String }

TitleAttribute (TabindexAttribute (IdAttribute (ClassAttribute {})))


defaultUniversalAttributes : BodyBuilder.Attributes.UniversalAttributes


universalAttributesToHtmlAttributes : BodyBuilder.Attributes.UniversalAttributes -> List.List (Html.Attribute msg)



type alias NodeAttributes msg =

{ onMouseEvents : Maybe.Maybe (BodyBuilder.Events.OnMouseEventsInside msg), onEvent : Maybe.Maybe ( String.String, VirtualDom.Handler msg ), onBlurEvent : Maybe.Maybe msg, onFocusEvent : Maybe.Maybe msg, box : List.List ( Modifiers.Modifiers Elegant.Box.Box, BodyBuilder.Attributes.StyleSelector ), universal : BodyBuilder.Attributes.UniversalAttributes, block : Maybe.Maybe (List.List ( Modifiers.Modifiers Elegant.Display.BlockDetails, BodyBuilder.Attributes.StyleSelector )), rawStyle : Maybe.Maybe Elegant.CommonStyle, rawAttributes : List.List (Html.Attribute msg) }

Computed : MaybeBlockContainer (FlowAttributes msg)


defaultNodeAttributes : BodyBuilder.Attributes.NodeAttributes msg


nodeAttributesToHtmlAttributes : BodyBuilder.Attributes.NodeAttributes msg -> List.List (Html.Attribute msg)



type alias BlockAttributes msg =

{ block : List.List ( Modifiers.Modifiers Elegant.Display.BlockDetails, BodyBuilder.Attributes.StyleSelector ), onMouseEvents : Maybe.Maybe (BodyBuilder.Events.OnMouseEventsInside msg), onEvent : Maybe.Maybe ( String.String, VirtualDom.Handler msg ), onBlurEvent : Maybe.Maybe msg, onFocusEvent : Maybe.Maybe msg, box : List.List ( Modifiers.Modifiers Elegant.Box.Box, BodyBuilder.Attributes.StyleSelector ), universal : BodyBuilder.Attributes.UniversalAttributes, rawStyle : Maybe.Maybe Elegant.CommonStyle, rawAttributes : List.List (Html.Attribute msg) }


width : Basics.Int -> Modifiers.Modifier (BodyBuilder.Attributes.WidthAttribute a)


height : Basics.Int -> Modifiers.Modifier (BodyBuilder.Attributes.HeightAttribute a)



type alias HeadingAttributes msg =

BodyBuilder.Attributes.BlockAttributes msg


defaultHeadingAttributes : BodyBuilder.Attributes.HeadingAttributes msg


headingAttributesToHtmlAttributes : BodyBuilder.Attributes.HeadingAttributes msg -> List.List (Html.Attribute msg)



type alias FlowAttributes msg =

{ onMouseEvents : Maybe.Maybe (BodyBuilder.Events.OnMouseEventsInside msg), onEvent : Maybe.Maybe ( String.String, VirtualDom.Handler msg ), onBlurEvent : Maybe.Maybe msg, onFocusEvent : Maybe.Maybe msg, box : List.List ( Modifiers.Modifiers Elegant.Box.Box, BodyBuilder.Attributes.StyleSelector ), universal : BodyBuilder.Attributes.UniversalAttributes, rawStyle : Maybe.Maybe Elegant.CommonStyle, rawAttributes : List.List (Html.Attribute msg) }


defaultFlowAttributes : BodyBuilder.Attributes.FlowAttributes msg


flowAttributesToHtmlAttributes : BodyBuilder.Attributes.FlowAttributes msg -> List.List (Html.Attribute msg)



type alias FlexContainerAttributes msg =

{ flexContainerProperties : List.List ( Modifiers.Modifiers Elegant.Flex.FlexContainerDetails, BodyBuilder.Attributes.StyleSelector ), onMouseEvents : Maybe.Maybe (BodyBuilder.Events.OnMouseEventsInside msg), onEvent : Maybe.Maybe ( String.String, VirtualDom.Handler msg ), onBlurEvent : Maybe.Maybe msg, onFocusEvent : Maybe.Maybe msg, box : List.List ( Modifiers.Modifiers Elegant.Box.Box, BodyBuilder.Attributes.StyleSelector ), universal : BodyBuilder.Attributes.UniversalAttributes, block : Maybe.Maybe (List.List ( Modifiers.Modifiers Elegant.Display.BlockDetails, BodyBuilder.Attributes.StyleSelector )), rawStyle : Maybe.Maybe Elegant.CommonStyle, rawAttributes : List.List (Html.Attribute msg) }


defaultFlexContainerAttributes : BodyBuilder.Attributes.FlexContainerAttributes msg


flexContainerAttributesToHtmlAttributes : BodyBuilder.Attributes.FlexContainerAttributes msg -> List.List (Html.Attribute msg)



type alias FlexItemAttributes msg =

{ flexItemProperties : List.List ( Modifiers.Modifiers Elegant.Flex.FlexItemDetails, BodyBuilder.Attributes.StyleSelector ), onMouseEvents : Maybe.Maybe (BodyBuilder.Events.OnMouseEventsInside msg), onEvent : Maybe.Maybe ( String.String, VirtualDom.Handler msg ), onBlurEvent : Maybe.Maybe msg, onFocusEvent : Maybe.Maybe msg, box : List.List ( Modifiers.Modifiers Elegant.Box.Box, BodyBuilder.Attributes.StyleSelector ), universal : BodyBuilder.Attributes.UniversalAttributes, block : Maybe.Maybe (List.List ( Modifiers.Modifiers Elegant.Display.BlockDetails, BodyBuilder.Attributes.StyleSelector )), rawStyle : Maybe.Maybe Elegant.CommonStyle, rawAttributes : List.List (Html.Attribute msg) }


defaultFlexItemAttributes : BodyBuilder.Attributes.FlexItemAttributes msg


flexItemAttributesToHtmlAttributes : BodyBuilder.Attributes.FlexItemAttributes msg -> List.List (Html.Attribute msg)



type alias GridContainerAttributes msg =

{ gridContainerProperties : List.List ( Modifiers.Modifiers Elegant.Grid.GridContainerDetails, BodyBuilder.Attributes.StyleSelector ), onMouseEvents : Maybe.Maybe (BodyBuilder.Events.OnMouseEventsInside msg), onEvent : Maybe.Maybe ( String.String, VirtualDom.Handler msg ), onBlurEvent : Maybe.Maybe msg, onFocusEvent : Maybe.Maybe msg, box : List.List ( Modifiers.Modifiers Elegant.Box.Box, BodyBuilder.Attributes.StyleSelector ), universal : BodyBuilder.Attributes.UniversalAttributes, block : Maybe.Maybe (List.List ( Modifiers.Modifiers Elegant.Display.BlockDetails, BodyBuilder.Attributes.StyleSelector )), rawStyle : Maybe.Maybe Elegant.CommonStyle, rawAttributes : List.List (Html.Attribute msg) }


defaultGridContainerAttributes : BodyBuilder.Attributes.GridContainerAttributes msg


gridContainerAttributesToHtmlAttributes : BodyBuilder.Attributes.GridContainerAttributes msg -> List.List (Html.Attribute msg)



type alias GridItemAttributes msg =

{ gridItemProperties : List.List ( Modifiers.Modifiers Elegant.Grid.GridItemDetails, BodyBuilder.Attributes.StyleSelector ), onMouseEvents : Maybe.Maybe (BodyBuilder.Events.OnMouseEventsInside msg), onEvent : Maybe.Maybe ( String.String, VirtualDom.Handler msg ), onBlurEvent : Maybe.Maybe msg, onFocusEvent : Maybe.Maybe msg, box : List.List ( Modifiers.Modifiers Elegant.Box.Box, BodyBuilder.Attributes.StyleSelector ), universal : BodyBuilder.Attributes.UniversalAttributes, block : Maybe.Maybe (List.List ( Modifiers.Modifiers Elegant.Display.BlockDetails, BodyBuilder.Attributes.StyleSelector )), rawStyle : Maybe.Maybe Elegant.CommonStyle, rawAttributes : List.List (Html.Attribute msg) }


defaultGridItemAttributes : BodyBuilder.Attributes.GridItemAttributes msg


gridItemAttributesToHtmlAttributes : BodyBuilder.Attributes.GridItemAttributes msg -> List.List (Html.Attribute msg)



type alias ButtonAttributes msg =

{ disabled : Basics.Bool, block : Maybe.Maybe (List.List ( Modifiers.Modifiers Elegant.Display.BlockDetails, BodyBuilder.Attributes.StyleSelector )), onMouseEvents : Maybe.Maybe (BodyBuilder.Events.OnMouseEventsInside msg), onEvent : Maybe.Maybe ( String.String, VirtualDom.Handler msg ), onBlurEvent : Maybe.Maybe msg, onFocusEvent : Maybe.Maybe msg, box : List.List ( Modifiers.Modifiers Elegant.Box.Box, BodyBuilder.Attributes.StyleSelector ), universal : BodyBuilder.Attributes.UniversalAttributes, rawStyle : Maybe.Maybe Elegant.CommonStyle, rawAttributes : List.List (Html.Attribute msg) }


defaultButtonAttributes : BodyBuilder.Attributes.ButtonAttributes msg


buttonAttributesToHtmlAttributes : BodyBuilder.Attributes.ButtonAttributes msg -> List.List (Html.Attribute msg)



type alias AAttributes msg =

{ onMouseEvents : Maybe.Maybe (BodyBuilder.Events.OnMouseEventsInside msg), onEvent : Maybe.Maybe ( String.String, VirtualDom.Handler msg ), onBlurEvent : Maybe.Maybe msg, onFocusEvent : Maybe.Maybe msg, box : List.List ( Modifiers.Modifiers Elegant.Box.Box, BodyBuilder.Attributes.StyleSelector ), universal : BodyBuilder.Attributes.UniversalAttributes, href : Maybe.Maybe String.String, target : Maybe.Maybe String.String, block : Maybe.Maybe (List.List ( Modifiers.Modifiers Elegant.Display.BlockDetails, BodyBuilder.Attributes.StyleSelector )), rawStyle : Maybe.Maybe Elegant.CommonStyle, rawAttributes : List.List (Html.Attribute msg) }


target : String.String -> Modifiers.Modifier (BodyBuilder.Attributes.TargetAttribute a)


href : String.String -> Modifiers.Modifier (BodyBuilder.Attributes.HrefAttribute a)


defaultAAttributes : BodyBuilder.Attributes.AAttributes msg


aAttributesToHtmlAttributes : BodyBuilder.Attributes.AAttributes msg -> List.List (Html.Attribute msg)



type alias ImgAttributes msg =

{ onMouseEvents : Maybe.Maybe (BodyBuilder.Events.OnMouseEventsInside msg), onEvent : Maybe.Maybe ( String.String, VirtualDom.Handler msg ), onBlurEvent : Maybe.Maybe msg, onFocusEvent : Maybe.Maybe msg, box : List.List ( Modifiers.Modifiers Elegant.Box.Box, BodyBuilder.Attributes.StyleSelector ), universal : BodyBuilder.Attributes.UniversalAttributes, src : String.String, alt : String.String, width : Maybe.Maybe Basics.Int, height : Maybe.Maybe Basics.Int, block : Maybe.Maybe (List.List ( Modifiers.Modifiers Elegant.Display.BlockDetails, BodyBuilder.Attributes.StyleSelector )), rawStyle : Maybe.Maybe Elegant.CommonStyle, rawAttributes : List.List (Html.Attribute msg) }


defaultImgAttributes : String.String -> String.String -> BodyBuilder.Attributes.ImgAttributes msg


imgAttributesToHtmlAttributes : BodyBuilder.Attributes.ImgAttributes msg -> List.List (Html.Attribute msg)



type alias AudioAttributes msg =

{ onMouseEvents : Maybe.Maybe (BodyBuilder.Events.OnMouseEventsInside msg), onEvent : Maybe.Maybe ( String.String, VirtualDom.Handler msg ), onBlurEvent : Maybe.Maybe msg, onFocusEvent : Maybe.Maybe msg, box : List.List ( Modifiers.Modifiers Elegant.Box.Box, BodyBuilder.Attributes.StyleSelector ), universal : BodyBuilder.Attributes.UniversalAttributes, src : String.String, block : Maybe.Maybe (List.List ( Modifiers.Modifiers Elegant.Display.BlockDetails, BodyBuilder.Attributes.StyleSelector )), rawStyle : Maybe.Maybe Elegant.CommonStyle, rawAttributes : List.List (Html.Attribute msg) }


defaultAudioAttributes : BodyBuilder.Attributes.AudioAttributes msg


audioAttributesToHtmlAttributes : BodyBuilder.Attributes.AudioAttributes msg -> List.List (Html.Attribute msg)



type alias ScriptAttributes msg =

{ onMouseEvents : Maybe.Maybe (BodyBuilder.Events.OnMouseEventsInside msg), onEvent : Maybe.Maybe ( String.String, VirtualDom.Handler msg ), onBlurEvent : Maybe.Maybe msg, onFocusEvent : Maybe.Maybe msg, box : List.List ( Modifiers.Modifiers Elegant.Box.Box, BodyBuilder.Attributes.StyleSelector ), universal : BodyBuilder.Attributes.UniversalAttributes, src : String.String, data : List.List ( String.String, String.String ), rawStyle : Maybe.Maybe Elegant.CommonStyle, rawAttributes : List.List (Html.Attribute msg) }


defaultScriptAttributes : BodyBuilder.Attributes.ScriptAttributes msg


scriptAttributesToHtmlAttributes : BodyBuilder.Attributes.ScriptAttributes msg -> List.List (Html.Attribute msg)



type alias ProgressAttributes msg =

{ onMouseEvents : Maybe.Maybe (BodyBuilder.Events.OnMouseEventsInside msg), onEvent : Maybe.Maybe ( String.String, VirtualDom.Handler msg ), onBlurEvent : Maybe.Maybe msg, onFocusEvent : Maybe.Maybe msg, box : List.List ( Modifiers.Modifiers Elegant.Box.Box, BodyBuilder.Attributes.StyleSelector ), universal : BodyBuilder.Attributes.UniversalAttributes, block : Maybe.Maybe (List.List ( Modifiers.Modifiers Elegant.Display.BlockDetails, BodyBuilder.Attributes.StyleSelector )), rawStyle : Maybe.Maybe Elegant.CommonStyle, rawAttributes : List.List (Html.Attribute msg) }


defaultProgressAttributes : BodyBuilder.Attributes.ProgressAttributes msg


progressAttributesToHtmlAttributes : BodyBuilder.Attributes.ProgressAttributes msg -> List.List (Html.Attribute msg)



type alias SelectAttributes msg =

{ block : Maybe.Maybe (List.List ( Modifiers.Modifiers Elegant.Display.BlockDetails, BodyBuilder.Attributes.StyleSelector )), value : Maybe.Maybe String.String, onMouseEvents : Maybe.Maybe (BodyBuilder.Events.OnMouseEventsInside msg), onEvent : Maybe.Maybe ( String.String, VirtualDom.Handler msg ), onBlurEvent : Maybe.Maybe msg, onFocusEvent : Maybe.Maybe msg, box : List.List ( Modifiers.Modifiers Elegant.Box.Box, BodyBuilder.Attributes.StyleSelector ), universal : BodyBuilder.Attributes.UniversalAttributes, rawStyle : Maybe.Maybe Elegant.CommonStyle, rawAttributes : List.List (Html.Attribute msg), onInputEvent : Maybe.Maybe (String.String -> msg), fromStringInput : String.String -> String.String }

Computed : -- MaybeBlockContainer (StringValue (FlowAttributes msg))


defaultSelectAttributes : BodyBuilder.Attributes.SelectAttributes msg


selectAttributesToHtmlAttributes : BodyBuilder.Attributes.SelectAttributes msg -> List.List (Html.Attribute msg)



type alias LabelAttributes msg =

{ onMouseEvents : Maybe.Maybe (BodyBuilder.Events.OnMouseEventsInside msg), onEvent : Maybe.Maybe ( String.String, VirtualDom.Handler msg ), onBlurEvent : Maybe.Maybe msg, onFocusEvent : Maybe.Maybe msg, box : List.List ( Modifiers.Modifiers Elegant.Box.Box, BodyBuilder.Attributes.StyleSelector ), universal : BodyBuilder.Attributes.UniversalAttributes, position : BodyBuilder.Attributes.Position, block : Maybe.Maybe (List.List ( Modifiers.Modifiers Elegant.Display.BlockDetails, BodyBuilder.Attributes.StyleSelector )), rawStyle : Maybe.Maybe Elegant.CommonStyle, rawAttributes : List.List (Html.Attribute msg) }


label : BodyBuilder.Attributes.Position -> List.List (Html.Html msg) -> { c | label : Maybe.Maybe (BodyBuilder.Internals.Shared.Label msg) } -> { c | label : Maybe.Maybe (BodyBuilder.Internals.Shared.Label msg) }


type alias PositionAttribute a =

{ a | position : BodyBuilder.Attributes.Position }


type Position

= Position

[['Before', []], ['After', []]]



type alias InputAttributes a =

{ a | type_ : String.String, name : Maybe.Maybe String.String }


value : a -> { c | value : Maybe.Maybe a } -> { c | value : Maybe.Maybe a }


disabled : Modifiers.Modifier (BodyBuilder.Attributes.DisabledAttribute a)


name : String.String -> Modifiers.Modifier (BodyBuilder.Attributes.NameAttribute a)


disabledAttributeToHtmlAttributes : Basics.Bool -> List.List (Html.Attribute msg)


inputAttributesToHtmlAttributes : BodyBuilder.Attributes.InputAttributes a -> List.List (Html.Attribute msg)


inputVisibleToHtmlAttributes : BodyBuilder.Attributes.VisibleAttributesAndEvents msg { a | name : Maybe.Maybe String.String, type_ : String.String } -> List.List (Html.Attribute msg)



type alias InputHiddenAttributes =

{ name : Maybe.Maybe String.String, type_ : String.String, value : Maybe.Maybe String.String, universal : BodyBuilder.Attributes.UniversalAttributes }


defaultInputHiddenAttributes : BodyBuilder.Attributes.InputHiddenAttributes


inputHiddenAttributesToHtmlAttributes : BodyBuilder.Attributes.InputHiddenAttributes -> List.List (Html.Attribute msg)



type alias InputPasswordAttributes msg =

BodyBuilder.Attributes.InputTextAttributes msg


defaultInputPasswordAttributes : BodyBuilder.Attributes.InputPasswordAttributes msg


inputPasswordAttributesToHtmlAttributes : BodyBuilder.Attributes.InputPasswordAttributes msg -> List.List (Html.Attribute msg)



type alias InputRangeAttributes msg =

BodyBuilder.Attributes.InputNumberAttributes msg


step : Basics.Int -> Modifiers.Modifier (BodyBuilder.Attributes.StepAttribute a)


defaultInputRangeAttributes : BodyBuilder.Attributes.InputRangeAttributes msg


inputRangeAttributesToHtmlAttributes : BodyBuilder.Attributes.InputRangeAttributes msg -> List.List (Html.Attribute msg)



type alias InputRadioAttributes msg =

{ name : Maybe.Maybe String.String, type_ : String.String, universal : BodyBuilder.Attributes.UniversalAttributes, box : List.List ( Modifiers.Modifiers Elegant.Box.Box, BodyBuilder.Attributes.StyleSelector ), onMouseEvents : Maybe.Maybe (BodyBuilder.Events.OnMouseEventsInside msg), onEvent : Maybe.Maybe ( String.String, VirtualDom.Handler msg ), onBlurEvent : Maybe.Maybe msg, onFocusEvent : Maybe.Maybe msg, value : Maybe.Maybe String.String, block : Maybe.Maybe (List.List ( Modifiers.Modifiers Elegant.Display.BlockDetails, BodyBuilder.Attributes.StyleSelector )), label : Maybe.Maybe (BodyBuilder.Internals.Shared.Label msg), rawStyle : Maybe.Maybe Elegant.CommonStyle, rawAttributes : List.List (Html.Attribute msg) }


defaultInputRadioAttributes : BodyBuilder.Attributes.InputRadioAttributes msg


inputRadioAttributesToHtmlAttributes : BodyBuilder.Attributes.InputRadioAttributes msg -> List.List (Html.Attribute msg)



type alias InputCheckboxAttributes msg =

{ name : Maybe.Maybe String.String, type_ : String.String, universal : BodyBuilder.Attributes.UniversalAttributes, box : List.List ( Modifiers.Modifiers Elegant.Box.Box, BodyBuilder.Attributes.StyleSelector ), onMouseEvents : Maybe.Maybe (BodyBuilder.Events.OnMouseEventsInside msg), onEvent : Maybe.Maybe ( String.String, VirtualDom.Handler msg ), onBlurEvent : Maybe.Maybe msg, onFocusEvent : Maybe.Maybe msg, value : Maybe.Maybe String.String, label : Maybe.Maybe (BodyBuilder.Internals.Shared.Label msg), block : Maybe.Maybe (List.List ( Modifiers.Modifiers Elegant.Display.BlockDetails, BodyBuilder.Attributes.StyleSelector )), checked : Basics.Bool, onCheckEvent : Maybe.Maybe (Basics.Bool -> msg), rawStyle : Maybe.Maybe Elegant.CommonStyle, rawAttributes : List.List (Html.Attribute msg) }


checked : Basics.Bool -> Modifiers.Modifier (BodyBuilder.Attributes.InputCheckboxAttributes msg)


defaultInputCheckboxAttributes : BodyBuilder.Attributes.InputCheckboxAttributes msg


inputCheckboxAttributesToHtmlAttributes : BodyBuilder.Attributes.InputCheckboxAttributes msg -> List.List (Html.Attribute msg)



type alias InputTextAttributes msg =

{ name : Maybe.Maybe String.String, type_ : String.String, universal : BodyBuilder.Attributes.UniversalAttributes, box : List.List ( Modifiers.Modifiers Elegant.Box.Box, BodyBuilder.Attributes.StyleSelector ), onMouseEvents : Maybe.Maybe (BodyBuilder.Events.OnMouseEventsInside msg), onEvent : Maybe.Maybe ( String.String, VirtualDom.Handler msg ), onBlurEvent : Maybe.Maybe msg, onFocusEvent : Maybe.Maybe msg, value : Maybe.Maybe String.String, label : Maybe.Maybe (BodyBuilder.Internals.Shared.Label msg), placeholder : Maybe.Maybe String.String, autocomplete : Basics.Bool, onInputEvent : Maybe.Maybe (String.String -> msg), fromStringInput : String.String -> String.String, block : Maybe.Maybe (List.List ( Modifiers.Modifiers Elegant.Display.BlockDetails, BodyBuilder.Attributes.StyleSelector )), rawStyle : Maybe.Maybe Elegant.CommonStyle, rawAttributes : List.List (Html.Attribute msg) }


autocomplete : Basics.Bool -> Modifiers.Modifier (BodyBuilder.Attributes.AutocompleteAttribute a)


defaultInputTextAttributes : BodyBuilder.Attributes.InputTextAttributes msg


defaultInputEmailAttributes : BodyBuilder.Attributes.InputTextAttributes msg


inputTextAttributesToHtmlAttributes : BodyBuilder.Attributes.InputTextAttributes msg -> List.List (Html.Attribute msg)



type alias InputTelAttributes msg =

BodyBuilder.Attributes.InputTextAttributes msg


defaultInputTelAttributes : BodyBuilder.Attributes.InputTelAttributes msg



type alias InputSubmitAttributes msg =

{ label : Maybe.Maybe (BodyBuilder.Internals.Shared.Label msg), type_ : String.String, disabled : Basics.Bool, block : Maybe.Maybe (List.List ( Modifiers.Modifiers Elegant.Display.BlockDetails, BodyBuilder.Attributes.StyleSelector )), onMouseEvents : Maybe.Maybe (BodyBuilder.Events.OnMouseEventsInside msg), onEvent : Maybe.Maybe ( String.String, VirtualDom.Handler msg ), onBlurEvent : Maybe.Maybe msg, onFocusEvent : Maybe.Maybe msg, onSubmitEvent : Maybe.Maybe msg, box : List.List ( Modifiers.Modifiers Elegant.Box.Box, BodyBuilder.Attributes.StyleSelector ), universal : BodyBuilder.Attributes.UniversalAttributes, rawStyle : Maybe.Maybe Elegant.CommonStyle, rawAttributes : List.List (Html.Attribute msg) }


defaultInputSubmitAttributes : BodyBuilder.Attributes.InputSubmitAttributes msg


inputSubmitAttributesToHtmlAttributes : BodyBuilder.Attributes.InputSubmitAttributes msg -> List.List (Html.Attribute msg)



type alias InputUrlAttributes msg =

BodyBuilder.Attributes.InputTextAttributes msg


defaultInputUrlAttributes : BodyBuilder.Attributes.InputUrlAttributes msg


inputUrlAttributesToHtmlAttributes : BodyBuilder.Attributes.InputUrlAttributes msg -> List.List (Html.Attribute msg)



type alias InputNumberAttributes msg =

{ name : Maybe.Maybe String.String, type_ : String.String, universal : BodyBuilder.Attributes.UniversalAttributes, box : List.List ( Modifiers.Modifiers Elegant.Box.Box, BodyBuilder.Attributes.StyleSelector ), onMouseEvents : Maybe.Maybe (BodyBuilder.Events.OnMouseEventsInside msg), onEvent : Maybe.Maybe ( String.String, VirtualDom.Handler msg ), onBlurEvent : Maybe.Maybe msg, onFocusEvent : Maybe.Maybe msg, label : Maybe.Maybe (BodyBuilder.Internals.Shared.Label msg), rawStyle : Maybe.Maybe Elegant.CommonStyle, rawAttributes : List.List (Html.Attribute msg), value : Maybe.Maybe Basics.Int, onInputEvent : Maybe.Maybe (Basics.Int -> msg), fromStringInput : String.String -> Basics.Int, step : Maybe.Maybe Basics.Int, max : Maybe.Maybe Basics.Int, min : Maybe.Maybe Basics.Int, block : Maybe.Maybe (List.List ( Modifiers.Modifiers Elegant.Display.BlockDetails, BodyBuilder.Attributes.StyleSelector )), disabled : Basics.Bool }


max : Basics.Int -> Modifiers.Modifier (BodyBuilder.Attributes.MaxAttribute a)


min : Basics.Int -> Modifiers.Modifier (BodyBuilder.Attributes.MinAttribute a)


defaultInputNumberAttributes : BodyBuilder.Attributes.InputNumberAttributes msg


inputNumberAttributesToHtmlAttributes : BodyBuilder.Attributes.InputNumberAttributes msg -> List.List (Html.Attribute msg)



type alias InputColorAttributes msg =

{ name : Maybe.Maybe String.String, type_ : String.String, universal : BodyBuilder.Attributes.UniversalAttributes, box : List.List ( Modifiers.Modifiers Elegant.Box.Box, BodyBuilder.Attributes.StyleSelector ), onMouseEvents : Maybe.Maybe (BodyBuilder.Events.OnMouseEventsInside msg), onEvent : Maybe.Maybe ( String.String, VirtualDom.Handler msg ), onBlurEvent : Maybe.Maybe msg, onFocusEvent : Maybe.Maybe msg, label : Maybe.Maybe (BodyBuilder.Internals.Shared.Label msg), rawStyle : Maybe.Maybe Elegant.CommonStyle, rawAttributes : List.List (Html.Attribute msg), value : Maybe.Maybe Color.Color, onInputEvent : Maybe.Maybe (Color.Color -> msg), fromStringInput : String.String -> Color.Color, block : Maybe.Maybe (List.List ( Modifiers.Modifiers Elegant.Display.BlockDetails, BodyBuilder.Attributes.StyleSelector )) }


defaultInputColorAttributes : BodyBuilder.Attributes.InputColorAttributes msg


inputColorAttributesToHtmlAttributes : BodyBuilder.Attributes.InputColorAttributes msg -> List.List (Html.Attribute msg)



type alias InputFileAttributes msg =

{ name : Maybe.Maybe String.String, type_ : String.String, universal : BodyBuilder.Attributes.UniversalAttributes, box : List.List ( Modifiers.Modifiers Elegant.Box.Box, BodyBuilder.Attributes.StyleSelector ), onMouseEvents : Maybe.Maybe (BodyBuilder.Events.OnMouseEventsInside msg), onEvent : Maybe.Maybe ( String.String, VirtualDom.Handler msg ), onBlurEvent : Maybe.Maybe msg, onFocusEvent : Maybe.Maybe msg, label : Maybe.Maybe (BodyBuilder.Internals.Shared.Label msg), rawStyle : Maybe.Maybe Elegant.CommonStyle, rawAttributes : List.List (Html.Attribute msg), block : Maybe.Maybe (List.List ( Modifiers.Modifiers Elegant.Display.BlockDetails, BodyBuilder.Attributes.StyleSelector )) }


defaultInputFileAttributes : BodyBuilder.Attributes.InputFileAttributes msg


inputFileAttributesToHtmlAttributes : BodyBuilder.Attributes.InputFileAttributes msg -> List.List (Html.Attribute msg)



type alias TextareaAttributes msg =

{ onMouseEvents : Maybe.Maybe (BodyBuilder.Events.OnMouseEventsInside msg), onEvent : Maybe.Maybe ( String.String, VirtualDom.Handler msg ), onBlurEvent : Maybe.Maybe msg, onFocusEvent : Maybe.Maybe msg, box : List.List ( Modifiers.Modifiers Elegant.Box.Box, BodyBuilder.Attributes.StyleSelector ), universal : BodyBuilder.Attributes.UniversalAttributes, value : Maybe.Maybe String.String, onInputEvent : Maybe.Maybe (String.String -> msg), fromStringInput : String.String -> String.String, name : Maybe.Maybe String.String, placeholder : Maybe.Maybe String.String, block : Maybe.Maybe (List.List ( Modifiers.Modifiers Elegant.Display.BlockDetails, BodyBuilder.Attributes.StyleSelector )), rawStyle : Maybe.Maybe Elegant.CommonStyle, rawAttributes : List.List (Html.Attribute msg) }


placeholder : String.String -> Modifiers.Modifier (BodyBuilder.Attributes.PlaceholderAttribute a)


defaultTextareaAttributes : BodyBuilder.Attributes.TextareaAttributes msg


textareaAttributesToHtmlAttributes : BodyBuilder.Attributes.TextareaAttributes msg -> List.List (Html.Attribute msg)