API and Development
RecurrenceField from @prepared911/ui/recurrence-field configures recurring schedules: frequency (RecurrenceFrequency), end conditions, custom weekly/monthly/yearly rules, and optional time windows. copy supplies every visible string, including formatSummary. The value shape is EventRecurrencePickerValue. onValueChange replaces onChange, and confirm replaces the apply-button flag.
| Name | Type | Description |
|---|---|---|
copy | RecurrenceFieldCopy | Required labels and formatters, including formatSummary. |
value | EventRecurrencePickerValue | Full recurrence state. |
onValueChange | (value) => void | Emits updated value. |
confirm | boolean | Optional CTA region in the picker. |
disabled | boolean | Disables editing. |
disableFuture | boolean | Prevent dates after today where applicable. |
trigger | ReactNode | Custom trigger; omit for inline body. |
open / onOpenChange / onClose | Controlled popover when trigger is set. |