matken11235/html-styled-extra/1.0.0

NOTE: the latest version is 1.0.2

Renamed to ken-matsui/html-styled-extra. It is published under that name, and new versions come out there.

Versions published as matken11235/html-styled-extra still install under that name. 2 versions of 3 come from the new location (see their notes). 1 version could not be recovered and cannot be installed.

Rerouted (renamed, verified). The GitHub user or repository was renamed. The tag is still there, at the new name. The Lamdera package server serves a copy recovered from https://github.com/ken-matsui/html-styled-extra.

What we checked: The repo moved to github.com/ken-matsui/html-styled-extra. Rebuilt with git archive from commit 24da6cf8c6a2 of https://github.com/ken-matsui/html-styled-extra (zip prefix matken11235-html-styled-extra-24da6cf/, America/Los_Angeles times): the zip is byte-identical to the one package.elm-lang.org recorded, SHA-1 c591713a5f08be2e49c9056829d292eef6b4953e.

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/matken11235/html-styled-extra/zipball/1.0.0/

Html.Styled.Attributes.Autocomplete

 This module contains types and values you can use to build up a list of
autocomplete tokens for form fields. Simple values like `On` or `Off` are
available, as well as more complex, nestable values: `Detailed <| Section "red"
<| Shipping <| Contact (Just Fax) Telephone`.

You'll probably want to import this module with an alias:

    import Html.Styled exposing (input)
    import Html.Styled.Attributes.Autocomplete as Autocomplete
    import Html.Styled.Attributes.Extra exposing (autocomplete)

    myShippingEmailInput =
        input
            [ autocomplete <|
                Autocomplete.Detailed <|
                    Autocomplete.Shipping <|
                        Autocomplete.Contact Nothing <|
                            Autocomplete.Email
            ]
            []

Check out the [HTML Spec][spec] for more information about the `autocomplete`
attribute and the autocomplete detail tokens, such as their meaning, valid
controls, and inputformat.

[spec]: https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill
= On
| Off
| Detailed DetailedCompletion

This is the generalized completion value. You explicitly toggle completion on or off, or use a more complex DetailedCompletion.

Build the attribute value for a Completion.

= Section String DetailedCompletion
| Shipping DetailedCompletion
| Contact (Maybe ContactType) ContactCompletion
| Name
| HonorificPrefix
| GivenName
| AdditionalName
| FamilyName
| HonorificSuffix
| Nickname
| Username
| NewPassword
| CurrentPassword
| OneTimeCode
| OrganizationTitle
| Organization
| StreetAddress
| AddressLine1
| AddressLine2
| AddressLine3
| AddressLevel4
| AddressLevel3
| AddressLevel2
| AddressLevel1
| Country
| CountryName
| PostalCode
| CreditCardName
| CreditCardGivenName
| CreditCardAdditionalName
| CreditCardFamilyName
| CreditCardNumber
| CreditCardExpiration
| CreditCardExpirationMonth
| CreditCardExpirationYear
| CreditCardCSC
| CreditCardType
| TransactionCurrency
| TransactionAmount
| Language
| Birthday
| BirthdayDay
| BirthdayMonth
| BirthdayYear
| Sex
| Url
| Photo

The base type for detailed autocomplete attributes. Some of these are simple, like Email, while some allow nesting of autocomplete tokens, like Billing Email.

Build a list of autocomplete tokens for a DetailedCompletion.

= Home
| Work
| Mobile
| Fax
| Pager

The optional contact types a ContactCompletion can be tagged with.

Transform a ContactType into it's autocomplete detail token.

= Telephone
| TelephoneCountryCode
| TelephoneNational
| TelephoneAreaCode
| TelephoneLocal
| TelephoneLocalPrefix
| TelephoneLocalSuffix
| TelephoneExtension
| Email
| IMPP

Autocomplete tokens with the ability to be tagged with a ContactType.

Transform a ContactCompletion into it's autocomplete detail token.