API and Development
DateTimeInput from @prepared911/ui/date-time-input. A span of days is DateRangeInput. There is no before/after/between picker and no separate time-range field on the date control.
| Prop | Meaning |
|---|---|
label | Required name of the group. |
value / defaultValue | A Date instant, or null. |
onValueChange | Next instant and details.reason. |
timeZone | IANA zone the segments read and write. |
min / max / disableFuture | Bounds on the instant. |
hourCycle | 24-hour unless you opt into 12-hour or 11-hour. |
step | Minutes between times in the list. |
confirm | Requires applyLabel and resetLabel. Reset restores the value held when the popover opened and stays open. Clear, when clearLabel is set, empties the draft and stays open. Escape and an outside press close without committing. Apply is the only primary action. |