// Interim-UI helper (AD-28): a labeled native for server forms.
// Deliberate exception to "compose from ~/ui" — the ~/ui TextInput.Input type prop
// excludes "date" and the ~/ui DatePicker is a controlled component that does not
// submit a form field. Styled with the same design tokens as ~/ui inputs (control
// height Medium 36 = h-9, radius small 4, neutral border/text) so it reads David-near.
export type DateFieldProps = {
label: string;
name: string;
defaultValue?: string;
value?: string;
onChange?: (value: string) => void;
required?: boolean;
/** Width override; the field fills its column by default. */
className?: string;
};
export function DateField({ label, name, defaultValue, value, onChange, required, className }: DateFieldProps) {
return (
);
}