<commit_before>module Material.Checkbox exposing
    ( Property
    , view
    , checked
    , disabled
    , nativeControl
    )

{-| The Checkbox component is a spec-aligned checkbox component adhering to the
Material Design checkbox requirements.


# Resources

  - [Material Design guidelines: Selection Controls – Checkbox](https://material.io/guidelines/components/selection-controls.html#selection-controls-checkbox)
  - [Demo](https://aforemny.github.io/elm-mdc/#checkbox)


# Example

    import Html exposing (text)
    import Material.Checkbox as Checkbox
    import Material.FormField as FormField
    import Material.Options as Options exposing (styled, cs)


    FormField.view []
        [ Checkbox.view Mdc "my-checkbox" model.mdc
              [ Checkbox.checked True
              , Options.onClick Toggle
              ]
              []
        , Html.label
              [ Options.onClick Toggle
              ]
              [ text "My checkbox"
              ]
        ]


# Usage

@docs Property
@docs view
@docs checked
@docs disabled
@docs nativeControl

-}

import Html exposing (Html)
import Internal.Checkbox.Implementation as Checkbox
import Internal.Component exposing (Index)
import Material
import Material.Options as Options


{-| Checkbox property.
-}
type alias Property m =
    Checkbox.Property m
<commit_msg>Fix Checkbox docs example<commit_after>module Material.Checkbox exposing
    ( Property
    , view
    , checked
    , disabled
    , nativeControl
    )

{-| The Checkbox component is a spec-aligned checkbox component adhering to the
Material Design checkbox requirements.


# Resources

  - [Material Design guidelines: Selection Controls – Checkbox](https://material.io/guidelines/components/selection-controls.html#selection-controls-checkbox)
  - [Demo](https://aforemny.github.io/elm-mdc/#checkbox)


# Example

    import Html exposing (text)
    import Material.Checkbox as Checkbox
    import Material.FormField as FormField
    import Material.Options as Options exposing (styled, cs)


    FormField.view []
        [ Checkbox.view Mdc "my-checkbox" model.mdc
              [ Checkbox.checked True
              , Options.onClick Toggle
              ]
              []
        , Html.label
              [ Html.Events.onClick Toggle
              ]
              [ text "My checkbox"
              ]
        ]


# Usage

@docs Property
@docs view
@docs checked
@docs disabled
@docs nativeControl

-}

import Html exposing (Html)
import Internal.Checkbox.Implementation as Checkbox
import Internal.Component exposing (Index)
import Material
import Material.Options as Options


{-| Checkbox property.
-}
type alias Property m =
    Checkbox.Property m

{'fraction_non_alphanumeric': 0.08007380073800738, 'fraction_numerical': 0.0, 'mean_word_length': 2.5530799475753603, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1174630', 'n_tokens_mistral': 753, 'n_tokens_neox': 711, 'n_words': 211}