API and Development
DateRangeInput from @prepared911/ui/date-range-input. There is no before/after/between mode enum. The calendar grid is Calendar; this field owns the popover.
| Prop | Meaning |
|---|---|
label | Required name of the group. |
rangeLabels | Start and end, heard before the label. |
segmentLabels | Day, month, and year for both ends. |
calendarLabel | The button that opens the calendar. |
value / defaultValue | { start, end } of local Dates, or null. |
onValueChange | Next value and details.reason. |
allowPartialRange | Reports a range with null for an empty end. |
minDate / maxDate / disableFuture | Bounds for both ends. |
confirm | Requires applyLabel and resetLabel. |