nathanjohnson320/elm-ui-components/2.0.0

NOTE: the latest version is 2.3.0

Rerouted (fork, verified). The original repository is gone. This copy comes from a fork that still has the tag. The Lamdera package server serves a copy recovered from https://github.com/Natim/elm-ui-components (a fork).

What we checked: Rebuilt with git archive from commit 456738cd5ac2 of https://github.com/Natim/elm-ui-components (a fork) (zip prefix nathanjohnson320-elm-ui-components-456738c/, America/Los_Angeles times): the zip is byte-identical to the one package.elm-lang.org recorded, SHA-1 553f959371fcb3ce4f1cfd0a9ddff3054a7b756c.

The Lamdera compiler uses this copy and prints a one-line notice saying so. elm itself fails to download this version.

Details · package.elm-lang.org's zip: https://github.com/nathanjohnson320/elm-ui-components/zipball/2.0.0/

ElmUIC.Checkbox

A styled checkbox

type alias Checkbox =
{ checked : Bool
, kind : ColorSetting
, size : Size
}

Base model for a checkbox

defaultCheckbox : Checkbox

Instantiates the default properties of a checkbox

{ defaultCheckbox | checked = model.checked }
Theme
-> Checkbox
-> List (Attribute msg)
-> List (Html msg)
-> Html msg

A styled checkbox

checkbox defaultTheme
    { defaultCheckbox | size = Medium, checked = model.checked }
    [ onClick Check ]
    []