<InputDate> — a date (or date-time) field that replaces the native
type="date" / type="datetime-local" input, composed from Input +
Menu + Calendar (no a-inputdate element; the wrapper is the coordinator).
The field accepts free text and resolves it on commit (blur / Enter) with a
lenient, locale-aware parser, then rewrites the entry to the canonical format;
an unrecognized entry marks the field critical and keeps the text. Clicking the
field (or pressing ArrowDown) opens a Calendar in a menu; a leading calendar
icon marks the affordance. Mouse-open keeps focus in the field so you can keep
typing; ArrowDown moves focus into the grid. With time, a time row sits under
the grid. The value is an ISO YYYY-MM-DD string, or YYYY-MM-DDTHH:mm with time.
Not SSR-safe (it embeds Calendar): it reads the current date
(Temporal.Now) and locale (navigator.language) at render, so server and
client output diverge and hydration mismatches. Render it client-side only.
<InputDate>— a date (or date-time) field that replaces the nativetype="date"/type="datetime-local"input, composed fromInput+Menu+Calendar(noa-inputdateelement; the wrapper is the coordinator). The field accepts free text and resolves it on commit (blur / Enter) with a lenient, locale-aware parser, then rewrites the entry to the canonical format; an unrecognized entry marks the fieldcriticaland keeps the text. Clicking the field (or pressing ArrowDown) opens aCalendarin a menu; a leading calendar icon marks the affordance. Mouse-open keeps focus in the field so you can keep typing; ArrowDown moves focus into the grid. Withtime, a time row sits under the grid. The value is an ISOYYYY-MM-DDstring, orYYYY-MM-DDTHH:mmwithtime.Controlled (
value+onValueChange) or uncontrolled (defaultValue). Requires@antadesign/anta/elements(client-side only).