Skip to content
Frauthy Brand
Frauthy index

Go anywhere.

    No exact contract found. Try a component family, product name, prop, or keyboard key.

    ↑↓ move↵ openesc close

    05 · Forms

    beta

    DateField

    A labelled native date input with controlled ISO date string, localized accessible value text, constraints, and reset.

    Since
    1.0.0-next.0
    Owner
    Brand Core
    Export
    PRIVATE_BETA_PACKAGE_COORDINATE_REDACTED/DateField
    Release
    Documentation version
    Deterministic fixture · default state

    Component studio

    light · comfortable · LTR
    Used to map verified identities to membership.
    §01

    Contract

    Semantics first

    Anatomy

    Uses input type=date; the submitted value remains YYYY-MM-DD while the platform presents its localized picker.

    Consumer classes, styles, and data attributes may extend the surface, but required roles, IDs, relationships, and handlers remain owned by the component.

    Keyboard

    • Tab focuses the date input.
    • Segment navigation, typing, and picker shortcuts follow the browser and operating system.
    • Form reset restores the declared default value.
    §02

    Public surface

    API & styling

    Props

    id
    Explicit IDs override stable generated IDs.
    class / style
    Consumer additions compose with required styles.
    ref
    Element or callback where focus control is expected.
    children
    Typed content; raw HTML strings are never rendered.

    Slots & events

    children
    Primary content slot.
    onChange
    Typed value plus a small reason object when state changes.
    native events
    Composed without overwriting required handlers.

    State attributes

    • data-fui-date-field
    • data-fui-control
    • data-fui-invalid

    CSS tokens

    • --fui-field-*
    • --fui-date-field-*
    • --fui-control-target
    §03

    Consumption

    Solid, Vite & Astro

    Solid / VitePRIVATE_BETA_PACKAGE_COORDINATE_REDACTED/DateField
    import DateField from 'PRIVATE_BETA_PACKAGE_COORDINATE_REDACTED/DateField';
    
    <DateField>Frauthy content</DateField>
    Astrostatic
    ---
    import DateField from 'PRIVATE_BETA_PACKAGE_COORDINATE_REDACTED/DateField';
    ---
    
    <DateField>Frauthy content</DateField>
    §04

    Verification

    Evidence record

    Scheduled

    Automated

    Batch D form tests cover ISO controlled/default values, UTC formatting, min/max, change/reset, label/description/error wiring, and submission.

    Target
    Brand 1.0.0-next.0 matrix
    Last verified
    Pending integrated G2 run
    Required

    Assistive technology

    Pending VoiceOver/Safari, NVDA/Firefox, and one mobile native date-picker verification.

    Desktop
    VoiceOver/Safari · NVDA/Firefox
    Touch
    Required for touch-centric behavior
    Open

    Known issues

    • Native date picker UI and segment keyboard behavior vary substantially by browser and platform.
    • This first release represents calendar dates only, not time zones or date ranges.
    §05

    Editorial guidance

    Do / don’t

    Do

    Store and submit the calendar date as YYYY-MM-DD and provide clear min/max guidance.

    Don’t

    Do not use DateField for date ranges, date-time instants, or unsupported calendar systems.

    Release activity

    DateField · Brand Core

    1 recorded change · 26 weeks
    1. 1.0.0-next.3

      Baseline public component contract.

    Version & provenance

    New in the v2 architecture

    There is no stable predecessor for this explicit compiled subpath. The v1 compatibility layer remains tested separately; visual and API diffs begin with the next prerelease.

    Current
    1.0.0-next.0
    Previous
    compatibility surface
    Deprecation
    none
    Replacement
    not applicable
    Next in FormsFileTrigger