API and Development
EventRecurrencePicker from @prepared911/ui-calendar configures recurring schedules: frequency (RecurrenceFrequency), end conditions, custom weekly/monthly/yearly rules, and optional time windows via TimeRangePicker. It composes DatePicker, Switch, Combobox, and other @prepared911/ui-core primitives. Value shape is EventRecurrencePickerValue; use getRecurrenceSummary from ./utils/recurrence for human-readable summaries.
| Name | Type | Description |
|---|---|---|
value | EventRecurrencePickerValue | Full recurrence state. |
onChange | (value) => void | Emits updated value. |
cta | 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. |