@super-calendar/dom 2.10.0 → 2.11.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { Locale } from "date-fns";
2
2
  import { CSSProperties, ComponentType, ReactElement, ReactNode } from "react";
3
- import { BusinessHours, BusinessHours as BusinessHours$1, BusinessHoursBand, BusinessHoursBand as BusinessHoursBand$1, BusinessHoursValue, CalendarColors, CalendarEvent, CalendarEvent as CalendarEvent$1, CalendarMode, CalendarMode as CalendarMode$1, DateRange, DateRange as DateRange$1, DateSelectionConstraints, DateSelectionConstraints as DateSelectionConstraints$1, DaySelectionState, EventAccessibilityLabelContext, EventAccessibilityLabeler, EventAccessibilityLabeler as EventAccessibilityLabeler$1, ICalEvent, ICalendarEvent, MonthEventSegment, MonthGrid, MonthGridDay, MonthGridWeek, MonthGridWeekday, MonthWeekEvents, PositionedEvent, RecurrenceFrequency, RecurrenceRule, TimeGridMode, TimeGridMode as TimeGridMode$1, ToICalendarOptions, UseDateRangeOptions, UseMonthGridOptions, WeekStartsOn, WeekStartsOn as WeekStartsOn$1, WeekdayFormat, WeekdayFormat as WeekdayFormat$1, backgroundBandsForDay, buildMonthGrid, daySelectionState, expandRecurringEvents, getViewDays, isAllDayEvent, isBackgroundEvent, isDateSelectable, isRangeEndpoint, isWithinDateRange, layoutDayEvents, layoutMonthWeek, nextDateRange, parseICalendar, toICalendar, useDateRange, useEventSource, useMonthGrid, useNow, weekdayFormatToken } from "@super-calendar/core";
3
+ import { BusinessHours, BusinessHours as BusinessHours$1, BusinessHoursBand, BusinessHoursBand as BusinessHoursBand$1, BusinessHoursValue, CalendarColors, CalendarEvent, CalendarEvent as CalendarEvent$1, CalendarLabels, CalendarLabels as CalendarLabels$1, CalendarMode, CalendarMode as CalendarMode$1, DateRange, DateRange as DateRange$1, DateSelectionConstraints, DateSelectionConstraints as DateSelectionConstraints$1, DaySelectionState, EventAccessibilityLabelContext, EventAccessibilityLabeler, EventAccessibilityLabeler as EventAccessibilityLabeler$1, ICalEvent, ICalendarEvent, MonthEventSegment, MonthGrid, MonthGridDay, MonthGridWeek, MonthGridWeekday, MonthWeekEvents, PositionedEvent, RecurrenceFrequency, RecurrenceRule, TimeGridMode, TimeGridMode as TimeGridMode$1, ToICalendarOptions, UseDateRangeOptions, UseMonthGridOptions, WeekStartsOn, WeekStartsOn as WeekStartsOn$1, WeekdayFormat, WeekdayFormat as WeekdayFormat$1, backgroundBandsForDay, buildMonthGrid, daySelectionState, defaultCalendarLabels, expandRecurringEvents, getViewDays, isAllDayEvent, isBackgroundEvent, isDateSelectable, isRangeEndpoint, isWithinDateRange, layoutDayEvents, layoutMonthWeek, nextDateRange, parseICalendar, toICalendar, useDateRange, useEventSource, useMonthGrid, useNow, weekdayFormatToken } from "@super-calendar/core";
4
4
  //#region src/slots.d.ts
5
5
  /**
6
6
  * Per-slot styling overrides. Give a slot a Tailwind/CSS class and/or an inline
@@ -50,11 +50,11 @@ type DomCalendarTheme = CalendarColors & {
50
50
  fontFamily: string;
51
51
  };
52
52
  /** The default light theme: the core light palette plus the DOM metrics. */
53
- declare const defaultDomTheme: DomCalendarTheme;
53
+ export declare const defaultDomTheme: DomCalendarTheme;
54
54
  /** The dark theme: the core dark palette plus the DOM metrics. */
55
- declare const darkDomTheme: DomCalendarTheme;
55
+ export declare const darkDomTheme: DomCalendarTheme;
56
56
  /** Merge a partial override onto a base theme (defaults to {@link defaultDomTheme}). */
57
- declare function mergeDomTheme(overrides?: Partial<DomCalendarTheme>, base?: DomCalendarTheme): DomCalendarTheme;
57
+ export declare function mergeDomTheme(overrides?: Partial<DomCalendarTheme>, base?: DomCalendarTheme): DomCalendarTheme;
58
58
  //#endregion
59
59
  //#region src/Agenda.d.ts
60
60
  /**
@@ -119,7 +119,7 @@ interface AgendaProps<T = unknown> extends SlotStyleProps<AgendaSlot> {
119
119
  * <Agenda events={events} onPressEvent={(e) => console.log(e.title)} />
120
120
  * ```
121
121
  */
122
- declare function Agenda<T = unknown>({ events, locale, ampm, activeDate, theme: themeOverrides, height, renderEvent, eventAccessibilityLabel, onPressEvent, onPressDay, className, style, classNames, styles }: AgendaProps<T>): ReactElement;
122
+ export declare function Agenda<T = unknown>({ events, locale, ampm, activeDate, theme: themeOverrides, height, renderEvent, eventAccessibilityLabel, onPressEvent, onPressDay, className, style, classNames, styles }: AgendaProps<T>): ReactElement;
123
123
  //#endregion
124
124
  //#region src/YearView.d.ts
125
125
  /**
@@ -140,6 +140,8 @@ interface YearViewProps<T = unknown> extends DateSelectionConstraints$1, SlotSty
140
140
  /** Weekdays (0=Sunday…6=Saturday) hidden from the grid, e.g. `[0, 6]` for weekends off. */
141
141
  hiddenDays?: number[];
142
142
  locale?: Locale;
143
+ /** Translations for the screen-reader words; omitted keys use English. */
144
+ labels?: Partial<CalendarLabels$1>;
143
145
  /** Highlight this date instead of the real "today". */
144
146
  activeDate?: Date;
145
147
  /** A selected span: endpoints get a filled badge, the days between get the range band. */
@@ -183,7 +185,7 @@ interface YearViewProps<T = unknown> extends DateSelectionConstraints$1, SlotSty
183
185
  * highlighted and a dot under days that hold events. It's the view `Calendar`
184
186
  * renders for `mode="year"`.
185
187
  */
186
- declare function YearView<T = unknown>({ date, events, weekStartsOn, hiddenDays, locale, activeDate, selectedRange, selectedDates, minDate, maxDate, isDateDisabled, minMonthWidth, onPressDay, onPressMonth, onSelectDrag, onCreateEvent, theme: themeOverrides, className, style, classNames, styles }: YearViewProps<T>): ReactElement;
188
+ export declare function YearView<T = unknown>({ date, events, weekStartsOn, hiddenDays, locale, labels: labelsProp, activeDate, selectedRange, selectedDates, minDate, maxDate, isDateDisabled, minMonthWidth, onPressDay, onPressMonth, onSelectDrag, onCreateEvent, theme: themeOverrides, className, style, classNames, styles }: YearViewProps<T>): ReactElement;
187
189
  //#endregion
188
190
  //#region src/MonthView.d.ts
189
191
  /**
@@ -233,6 +235,8 @@ interface MonthViewProps<T = unknown> extends DateSelectionConstraints$1, SlotSt
233
235
  maxVisibleEventCount?: number;
234
236
  /** Template for the overflow row; `{moreCount}` is replaced (default "{moreCount} More"). */
235
237
  moreLabel?: string;
238
+ /** Translations for the screen-reader words and gutter text; omitted keys use English. */
239
+ labels?: Partial<CalendarLabels$1>;
236
240
  /** Tap an event chip. */
237
241
  onPressEvent?: (event: CalendarEvent$1<T>) => void;
238
242
  /** Tap the "+N more" overflow row. */
@@ -318,7 +322,7 @@ interface MonthViewInternalProps<T = unknown> extends MonthViewProps<T> {
318
322
  * <MonthView date={new Date()} events={events} onPressDay={(d) => setDate(d)} />
319
323
  * ```
320
324
  */
321
- declare function MonthView<T = unknown>({ date, weekStartsOn, hiddenDays, weekdayFormat, events, eventsByDay: eventsByDayProp, renderEvent, eventAccessibilityLabel, maxVisibleEventCount, moreLabel, onPressEvent, onPressMore, selectedRange, selectedDates, showAdjacentMonths, highlightWeekends, fillCellOnSelection, showTitle, showWeekdays, locale, theme: themeOverrides, minDate, maxDate, isDateDisabled, onPressDay, onPressCell, onCreateEvent, onSelectDrag, onDragEvent, onDragStart, eventStartEditable, eventOverlap, keyboardDayNavigation, className, style, classNames, styles }: MonthViewInternalProps<T>): ReactElement;
325
+ export declare function MonthView<T = unknown>({ date, weekStartsOn, hiddenDays, weekdayFormat, events, eventsByDay: eventsByDayProp, renderEvent, eventAccessibilityLabel, maxVisibleEventCount, moreLabel, labels: labelsProp, onPressEvent, onPressMore, selectedRange, selectedDates, showAdjacentMonths, highlightWeekends, fillCellOnSelection, showTitle, showWeekdays, locale, theme: themeOverrides, minDate, maxDate, isDateDisabled, onPressDay, onPressCell, onCreateEvent, onSelectDrag, onDragEvent, onDragStart, eventStartEditable, eventOverlap, keyboardDayNavigation, className, style, classNames, styles }: MonthViewInternalProps<T>): ReactElement;
322
326
  //#endregion
323
327
  //#region src/TimeGrid.d.ts
324
328
  /**
@@ -409,6 +413,15 @@ interface TimeGridProps<T = unknown> extends SlotStyleProps<TimeGridSlot> {
409
413
  * band stays non-interactive and hidden from assistive tech.
410
414
  */
411
415
  renderBusinessHours?: (band: BusinessHoursBand$1) => ReactNode;
416
+ /**
417
+ * A component that draws a `display: "background"` event's band in place of
418
+ * the themed shade. Rendered like `renderEvent`, it receives the event, the
419
+ * mode, `continuesBefore` / `continuesAfter` for a multi-day event, and
420
+ * `onPress`, which fires `onPressEvent`. The band then takes pointer events and
421
+ * is no longer hidden from assistive tech; cell clicks and drag-to-create are
422
+ * unreachable underneath it. Without it the band stays a shaded, inert range.
423
+ */
424
+ renderBackgroundEvent?: DomRenderEvent<T>;
412
425
  /** Show the current-time indicator on today's column (default true). */
413
426
  showNowIndicator?: boolean;
414
427
  /** Fixed "now" instant for the indicator (doesn't tick). Defaults to the device clock. */
@@ -417,6 +430,10 @@ interface TimeGridProps<T = unknown> extends SlotStyleProps<TimeGridSlot> {
417
430
  timeZone?: string;
418
431
  /** Show the all-day lane above the grid (default true). */
419
432
  showAllDayEventCell?: boolean;
433
+ /** Show the "all-day" text beside the lane (default false). */
434
+ showAllDayLabel?: boolean;
435
+ /** Translations for the screen-reader words and gutter text; omitted keys use English. */
436
+ labels?: Partial<CalendarLabels$1>;
420
437
  /** Tint Saturday/Sunday columns with the weekend background (default true). Set
421
438
  * false to treat weekends like any other day. */
422
439
  highlightWeekends?: boolean;
@@ -490,7 +507,7 @@ interface TimeGridProps<T = unknown> extends SlotStyleProps<TimeGridSlot> {
490
507
  * <TimeGrid mode="week" date={new Date()} events={events} />
491
508
  * ```
492
509
  */
493
- declare function TimeGrid<T = unknown>({ date, events, mode, numberOfDays, weekStartsOn, weekdayFormat, hourHeight: initialHourHeight, scrollOffsetMinutes, zoomable, minHourHeight, maxHourHeight, minEventHeight, eventGap, dragStepMinutes, ampm, timeslots, minHour, maxHour, hideHours, showWeekNumber, weekNumberPrefix, hiddenDays, keyboardEventNavigation, businessHours, renderBusinessHours, showNowIndicator, highlightWeekends, eventStartEditable, eventDurationEditable, eventOverlap, now: nowProp, timeZone, showAllDayEventCell, locale, theme: themeOverrides, height, renderEvent, eventAccessibilityLabel, hourComponent, onPressEvent, onPressDateHeader, onPressCell, onCreateEvent, onDragStart, onDragEvent, onChangeDate, className, style, classNames, styles }: TimeGridProps<T>): ReactElement;
510
+ export declare function TimeGrid<T = unknown>({ date, events, mode, numberOfDays, weekStartsOn, weekdayFormat, hourHeight: initialHourHeight, scrollOffsetMinutes, zoomable, minHourHeight, maxHourHeight, minEventHeight, eventGap, dragStepMinutes, ampm, timeslots, minHour, maxHour, hideHours, showWeekNumber, weekNumberPrefix, hiddenDays, keyboardEventNavigation, businessHours, renderBusinessHours, renderBackgroundEvent, showNowIndicator, highlightWeekends, eventStartEditable, eventDurationEditable, eventOverlap, now: nowProp, timeZone, showAllDayEventCell, showAllDayLabel, labels: labelsProp, locale, theme: themeOverrides, height, renderEvent, eventAccessibilityLabel, hourComponent, onPressEvent, onPressDateHeader, onPressCell, onCreateEvent, onDragStart, onDragEvent, onChangeDate, className, style, classNames, styles }: TimeGridProps<T>): ReactElement;
494
511
  //#endregion
495
512
  //#region src/Calendar.d.ts
496
513
  /**
@@ -597,10 +614,17 @@ interface CalendarProps<T = unknown> extends DateSelectionConstraints$1, SlotSty
597
614
  * band stays non-interactive and hidden from assistive tech.
598
615
  */
599
616
  renderBusinessHours?: (band: BusinessHoursBand$1) => ReactNode;
617
+ /**
618
+ * A component that draws a `display: "background"` event's band in place of
619
+ * the themed shade; see `TimeGrid`'s prop of the same name.
620
+ */
621
+ renderBackgroundEvent?: DomRenderEvent<T>;
600
622
  /** Show the current-time indicator (default true). */
601
623
  showNowIndicator?: boolean;
602
624
  /** Show the all-day lane (default true). */
603
625
  showAllDayEventCell?: boolean;
626
+ /** Show the "all-day" text beside the lane (default false). */
627
+ showAllDayLabel?: boolean;
604
628
  /** Tint weekend columns (default true). Set false to treat weekends normally. */
605
629
  highlightWeekends?: boolean;
606
630
  /** Allow moving events by default (per-event `startEditable` overrides). Default true. */
@@ -645,6 +669,8 @@ interface CalendarProps<T = unknown> extends DateSelectionConstraints$1, SlotSty
645
669
  maxVisibleEventCount?: number;
646
670
  /** Overflow row template; `{moreCount}` is replaced. */
647
671
  moreLabel?: string;
672
+ /** Translations for the screen-reader words and gutter text; omitted keys use English. */
673
+ labels?: Partial<CalendarLabels$1>;
648
674
  /** Render neighbouring months' days in the leading/trailing cells (default true). */
649
675
  showAdjacentMonths?: boolean;
650
676
  /**
@@ -695,7 +721,7 @@ interface CalendarProps<T = unknown> extends DateSelectionConstraints$1, SlotSty
695
721
  * <Calendar mode="week" date={new Date()} events={events} />
696
722
  * ```
697
723
  */
698
- declare function Calendar<T = unknown>({ mode, date, events, onChangeDate, weekStartsOn, hiddenDays, now, numberOfDays, locale, timeZone, theme, height, className, style, onPressEvent, eventAccessibilityLabel, ampm, hourHeight, minEventHeight, eventGap, scrollOffsetMinutes, timeslots, minHour, maxHour, hideHours, showWeekNumber, weekNumberPrefix, businessHours, renderBusinessHours, showNowIndicator, showAllDayEventCell, highlightWeekends, eventStartEditable, eventDurationEditable, eventOverlap, dragStepMinutes, onPressCell, onCreateEvent, onDragStart, onDragEvent, onPressDateHeader, renderTimeEvent, hourComponent, keyboardEventNavigation, maxVisibleEventCount, moreLabel, showAdjacentMonths, showTitle, weekdayFormat, fillCellOnSelection, selectedRange, selectedDates, minDate, maxDate, isDateDisabled, keyboardDayNavigation, onPressDay, onSelectDrag, onPressMonth, onPressMore, renderMonthEvent, renderScheduleEvent, classNames, styles }: CalendarProps<T>): ReactElement;
724
+ export declare function Calendar<T = unknown>({ mode, date, events, onChangeDate, weekStartsOn, hiddenDays, now, numberOfDays, locale, timeZone, theme, height, className, style, onPressEvent, eventAccessibilityLabel, ampm, hourHeight, minEventHeight, eventGap, scrollOffsetMinutes, timeslots, minHour, maxHour, hideHours, showWeekNumber, weekNumberPrefix, businessHours, renderBusinessHours, renderBackgroundEvent, showNowIndicator, showAllDayEventCell, showAllDayLabel, highlightWeekends, eventStartEditable, eventDurationEditable, eventOverlap, dragStepMinutes, onPressCell, onCreateEvent, onDragStart, onDragEvent, onPressDateHeader, renderTimeEvent, hourComponent, keyboardEventNavigation, maxVisibleEventCount, moreLabel, labels, showAdjacentMonths, showTitle, weekdayFormat, fillCellOnSelection, selectedRange, selectedDates, minDate, maxDate, isDateDisabled, keyboardDayNavigation, onPressDay, onSelectDrag, onPressMonth, onPressMore, renderMonthEvent, renderScheduleEvent, classNames, styles }: CalendarProps<T>): ReactElement;
699
725
  //#endregion
700
726
  //#region src/MonthList.d.ts
701
727
  /**
@@ -732,6 +758,8 @@ interface MonthListProps<T = unknown> extends DateSelectionConstraints$1, SlotSt
732
758
  maxVisibleEventCount?: number;
733
759
  /** Template for the overflow row; `{moreCount}` is replaced. */
734
760
  moreLabel?: string;
761
+ /** Translations for the screen-reader words and gutter text; omitted keys use English. */
762
+ labels?: Partial<CalendarLabels$1>;
735
763
  /** Tap an event chip. */
736
764
  onPressEvent?: (event: CalendarEvent$1<T>) => void;
737
765
  /** Tap the "+N more" overflow row. */
@@ -766,7 +794,7 @@ interface MonthListProps<T = unknown> extends DateSelectionConstraints$1, SlotSt
766
794
  * Legend List's DOM renderer and the library's headless grid logic. Selection is
767
795
  * controlled, pass `selectedRange` (or `selectedDates`) and handle `onPressDay`.
768
796
  */
769
- declare function MonthList<T = unknown>({ date, pastMonths, futureMonths, weekdayFormat, highlightWeekends, weekStartsOn, events, renderEvent, eventAccessibilityLabel, maxVisibleEventCount, moreLabel, onPressEvent, onPressMore, selectedRange, selectedDates, fillCellOnSelection, locale, theme: themeOverrides, height, minDate, maxDate, isDateDisabled, keyboardDayNavigation, onPressDay, className, style, classNames, styles }: MonthListProps<T>): ReactElement;
797
+ export declare function MonthList<T = unknown>({ date, pastMonths, futureMonths, weekdayFormat, highlightWeekends, weekStartsOn, events, renderEvent, eventAccessibilityLabel, maxVisibleEventCount, moreLabel, labels, onPressEvent, onPressMore, selectedRange, selectedDates, fillCellOnSelection, locale, theme: themeOverrides, height, minDate, maxDate, isDateDisabled, keyboardDayNavigation, onPressDay, className, style, classNames, styles }: MonthListProps<T>): ReactElement;
770
798
  //#endregion
771
799
  //#region src/DateRangePicker.d.ts
772
800
  /** Styleable chrome of the pickers (the calendar's own slots forward through too). */
@@ -807,7 +835,7 @@ interface DatePickerProps extends PickerBaseProps {
807
835
  * <DatePicker value={value} onChange={setValue} />
808
836
  * ```
809
837
  */
810
- declare function DatePicker({ value, onChange, formatLabel, weekStartsOn, height, placeholder, disabled, theme: themeOverrides, className, style, classNames, styles, minDate, maxDate, isDateDisabled }: DatePickerProps): ReactElement;
838
+ export declare function DatePicker({ value, onChange, formatLabel, weekStartsOn, height, placeholder, disabled, theme: themeOverrides, className, style, classNames, styles, minDate, maxDate, isDateDisabled }: DatePickerProps): ReactElement;
811
839
  /** Props for {@link DateRangePicker}. */
812
840
  interface DateRangePickerProps extends PickerBaseProps {
813
841
  /** The selected range, or `null`. `end` is `null` while only the start is picked. */
@@ -828,7 +856,7 @@ interface DateRangePickerProps extends PickerBaseProps {
828
856
  * <DateRangePicker value={range} onChange={setRange} />
829
857
  * ```
830
858
  */
831
- declare function DateRangePicker({ value, onChange, formatLabel, weekStartsOn, height, placeholder, disabled, theme: themeOverrides, className, style, classNames, styles, minDate, maxDate, isDateDisabled }: DateRangePickerProps): ReactElement;
859
+ export declare function DateRangePicker({ value, onChange, formatLabel, weekStartsOn, height, placeholder, disabled, theme: themeOverrides, className, style, classNames, styles, minDate, maxDate, isDateDisabled }: DateRangePickerProps): ReactElement;
832
860
  //#endregion
833
861
  //#region src/ResourceTimeline.d.ts
834
862
  /**
@@ -966,6 +994,6 @@ interface ResourceTimelineProps<T = unknown> extends SlotStyleProps<ResourceTime
966
994
  * />
967
995
  * ```
968
996
  */
969
- declare function ResourceTimeline<T = unknown>({ date, orientation, resources: allResources, resourcesPerPage, resourcePage, events, resourceId, startHour, endHour, hourWidth, hourHeight, rowHeight, labelWidth, ampm, theme: themeOverrides, renderEvent, onPressEvent, onDragEvent, onPressCell, onCreateEvent, businessHours, renderBusinessHours, renderResourceHeader, dragStepMinutes, showNowIndicator, now: nowProp, timeZone, className, style, classNames, styles }: ResourceTimelineProps<T>): ReactElement;
997
+ export declare function ResourceTimeline<T = unknown>({ date, orientation, resources: allResources, resourcesPerPage, resourcePage, events, resourceId, startHour, endHour, hourWidth, hourHeight, rowHeight, labelWidth, ampm, theme: themeOverrides, renderEvent, onPressEvent, onDragEvent, onPressCell, onCreateEvent, businessHours, renderBusinessHours, renderResourceHeader, dragStepMinutes, showNowIndicator, now: nowProp, timeZone, className, style, classNames, styles }: ResourceTimelineProps<T>): ReactElement;
970
998
  //#endregion
971
- export { Agenda, type AgendaProps, type AgendaSlot, type BusinessHours, type BusinessHoursBand, Calendar, type CalendarEvent, type CalendarMode, type CalendarProps, type CalendarSlot, DatePicker, type DatePickerProps, type DatePickerSlot, type DateRange, DateRangePicker, type DateRangePickerProps, type DateSelectionConstraints, type DaySelectionState, type DomAgendaEvent, type DomAgendaEventArgs, type DomCalendarTheme, type DomMonthEvent, type DomMonthEventArgs, type DomRenderEvent, type DomRenderEventArgs, type EventAccessibilityLabelContext, type EventAccessibilityLabeler, type ICalEvent, type ICalendarEvent, type MonthEventSegment, type MonthGrid, type MonthGridDay, type MonthGridWeek, type MonthGridWeekday, MonthList, type MonthListProps, type MonthListSlot, MonthView, type MonthViewProps, type MonthViewSlot, type MonthWeekEvents, type PositionedEvent, type RecurrenceFrequency, type RecurrenceRule, type ResolvedSlot, type Resource, type ResourceEventArgs, ResourceTimeline, type ResourceTimelineProps, type ResourceTimelineSlot, type SlotDefault, type SlotStyleProps, TimeGrid, type TimeGridMode, type TimeGridProps, type TimeGridSlot, type ToICalendarOptions, type UseDateRangeOptions, type UseMonthGridOptions, type WeekStartsOn, type WeekdayFormat, YearView, type YearViewProps, type YearViewSlot, backgroundBandsForDay, buildMonthGrid, darkDomTheme, daySelectionState, defaultDomTheme, expandRecurringEvents, getViewDays, isAllDayEvent, isBackgroundEvent, isDateSelectable, isRangeEndpoint, isWithinDateRange, layoutDayEvents, layoutMonthWeek, mergeDomTheme, nextDateRange, parseICalendar, toICalendar, useDateRange, useEventSource, useMonthGrid, useNow, weekdayFormatToken };
999
+ export { type AgendaProps, type AgendaSlot, type BusinessHours, type BusinessHoursBand, type CalendarEvent, type CalendarLabels, type CalendarMode, type CalendarProps, type CalendarSlot, type DatePickerProps, type DatePickerSlot, type DateRange, type DateRangePickerProps, type DateSelectionConstraints, type DaySelectionState, type DomAgendaEvent, type DomAgendaEventArgs, type DomCalendarTheme, type DomMonthEvent, type DomMonthEventArgs, type DomRenderEvent, type DomRenderEventArgs, type EventAccessibilityLabelContext, type EventAccessibilityLabeler, type ICalEvent, type ICalendarEvent, type MonthEventSegment, type MonthGrid, type MonthGridDay, type MonthGridWeek, type MonthGridWeekday, type MonthListProps, type MonthListSlot, type MonthViewProps, type MonthViewSlot, type MonthWeekEvents, type PositionedEvent, type RecurrenceFrequency, type RecurrenceRule, type ResolvedSlot, type Resource, type ResourceEventArgs, type ResourceTimelineProps, type ResourceTimelineSlot, type SlotDefault, type SlotStyleProps, type TimeGridMode, type TimeGridProps, type TimeGridSlot, type ToICalendarOptions, type UseDateRangeOptions, type UseMonthGridOptions, type WeekStartsOn, type WeekdayFormat, type YearViewProps, type YearViewSlot, backgroundBandsForDay, buildMonthGrid, daySelectionState, defaultCalendarLabels, expandRecurringEvents, getViewDays, isAllDayEvent, isBackgroundEvent, isDateSelectable, isRangeEndpoint, isWithinDateRange, layoutDayEvents, layoutMonthWeek, nextDateRange, parseICalendar, toICalendar, useDateRange, useEventSource, useMonthGrid, useNow, weekdayFormatToken };
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { Locale } from "date-fns";
2
2
  import { CSSProperties, ComponentType, ReactElement, ReactNode } from "react";
3
- import { BusinessHours, BusinessHours as BusinessHours$1, BusinessHoursBand, BusinessHoursBand as BusinessHoursBand$1, BusinessHoursValue, CalendarColors, CalendarEvent, CalendarEvent as CalendarEvent$1, CalendarMode, CalendarMode as CalendarMode$1, DateRange, DateRange as DateRange$1, DateSelectionConstraints, DateSelectionConstraints as DateSelectionConstraints$1, DaySelectionState, EventAccessibilityLabelContext, EventAccessibilityLabeler, EventAccessibilityLabeler as EventAccessibilityLabeler$1, ICalEvent, ICalendarEvent, MonthEventSegment, MonthGrid, MonthGridDay, MonthGridWeek, MonthGridWeekday, MonthWeekEvents, PositionedEvent, RecurrenceFrequency, RecurrenceRule, TimeGridMode, TimeGridMode as TimeGridMode$1, ToICalendarOptions, UseDateRangeOptions, UseMonthGridOptions, WeekStartsOn, WeekStartsOn as WeekStartsOn$1, WeekdayFormat, WeekdayFormat as WeekdayFormat$1, backgroundBandsForDay, buildMonthGrid, daySelectionState, expandRecurringEvents, getViewDays, isAllDayEvent, isBackgroundEvent, isDateSelectable, isRangeEndpoint, isWithinDateRange, layoutDayEvents, layoutMonthWeek, nextDateRange, parseICalendar, toICalendar, useDateRange, useEventSource, useMonthGrid, useNow, weekdayFormatToken } from "@super-calendar/core";
3
+ import { BusinessHours, BusinessHours as BusinessHours$1, BusinessHoursBand, BusinessHoursBand as BusinessHoursBand$1, BusinessHoursValue, CalendarColors, CalendarEvent, CalendarEvent as CalendarEvent$1, CalendarLabels, CalendarLabels as CalendarLabels$1, CalendarMode, CalendarMode as CalendarMode$1, DateRange, DateRange as DateRange$1, DateSelectionConstraints, DateSelectionConstraints as DateSelectionConstraints$1, DaySelectionState, EventAccessibilityLabelContext, EventAccessibilityLabeler, EventAccessibilityLabeler as EventAccessibilityLabeler$1, ICalEvent, ICalendarEvent, MonthEventSegment, MonthGrid, MonthGridDay, MonthGridWeek, MonthGridWeekday, MonthWeekEvents, PositionedEvent, RecurrenceFrequency, RecurrenceRule, TimeGridMode, TimeGridMode as TimeGridMode$1, ToICalendarOptions, UseDateRangeOptions, UseMonthGridOptions, WeekStartsOn, WeekStartsOn as WeekStartsOn$1, WeekdayFormat, WeekdayFormat as WeekdayFormat$1, backgroundBandsForDay, buildMonthGrid, daySelectionState, defaultCalendarLabels, expandRecurringEvents, getViewDays, isAllDayEvent, isBackgroundEvent, isDateSelectable, isRangeEndpoint, isWithinDateRange, layoutDayEvents, layoutMonthWeek, nextDateRange, parseICalendar, toICalendar, useDateRange, useEventSource, useMonthGrid, useNow, weekdayFormatToken } from "@super-calendar/core";
4
4
  //#region src/slots.d.ts
5
5
  /**
6
6
  * Per-slot styling overrides. Give a slot a Tailwind/CSS class and/or an inline
@@ -50,11 +50,11 @@ type DomCalendarTheme = CalendarColors & {
50
50
  fontFamily: string;
51
51
  };
52
52
  /** The default light theme: the core light palette plus the DOM metrics. */
53
- declare const defaultDomTheme: DomCalendarTheme;
53
+ export declare const defaultDomTheme: DomCalendarTheme;
54
54
  /** The dark theme: the core dark palette plus the DOM metrics. */
55
- declare const darkDomTheme: DomCalendarTheme;
55
+ export declare const darkDomTheme: DomCalendarTheme;
56
56
  /** Merge a partial override onto a base theme (defaults to {@link defaultDomTheme}). */
57
- declare function mergeDomTheme(overrides?: Partial<DomCalendarTheme>, base?: DomCalendarTheme): DomCalendarTheme;
57
+ export declare function mergeDomTheme(overrides?: Partial<DomCalendarTheme>, base?: DomCalendarTheme): DomCalendarTheme;
58
58
  //#endregion
59
59
  //#region src/Agenda.d.ts
60
60
  /**
@@ -119,7 +119,7 @@ interface AgendaProps<T = unknown> extends SlotStyleProps<AgendaSlot> {
119
119
  * <Agenda events={events} onPressEvent={(e) => console.log(e.title)} />
120
120
  * ```
121
121
  */
122
- declare function Agenda<T = unknown>({ events, locale, ampm, activeDate, theme: themeOverrides, height, renderEvent, eventAccessibilityLabel, onPressEvent, onPressDay, className, style, classNames, styles }: AgendaProps<T>): ReactElement;
122
+ export declare function Agenda<T = unknown>({ events, locale, ampm, activeDate, theme: themeOverrides, height, renderEvent, eventAccessibilityLabel, onPressEvent, onPressDay, className, style, classNames, styles }: AgendaProps<T>): ReactElement;
123
123
  //#endregion
124
124
  //#region src/YearView.d.ts
125
125
  /**
@@ -140,6 +140,8 @@ interface YearViewProps<T = unknown> extends DateSelectionConstraints$1, SlotSty
140
140
  /** Weekdays (0=Sunday…6=Saturday) hidden from the grid, e.g. `[0, 6]` for weekends off. */
141
141
  hiddenDays?: number[];
142
142
  locale?: Locale;
143
+ /** Translations for the screen-reader words; omitted keys use English. */
144
+ labels?: Partial<CalendarLabels$1>;
143
145
  /** Highlight this date instead of the real "today". */
144
146
  activeDate?: Date;
145
147
  /** A selected span: endpoints get a filled badge, the days between get the range band. */
@@ -183,7 +185,7 @@ interface YearViewProps<T = unknown> extends DateSelectionConstraints$1, SlotSty
183
185
  * highlighted and a dot under days that hold events. It's the view `Calendar`
184
186
  * renders for `mode="year"`.
185
187
  */
186
- declare function YearView<T = unknown>({ date, events, weekStartsOn, hiddenDays, locale, activeDate, selectedRange, selectedDates, minDate, maxDate, isDateDisabled, minMonthWidth, onPressDay, onPressMonth, onSelectDrag, onCreateEvent, theme: themeOverrides, className, style, classNames, styles }: YearViewProps<T>): ReactElement;
188
+ export declare function YearView<T = unknown>({ date, events, weekStartsOn, hiddenDays, locale, labels: labelsProp, activeDate, selectedRange, selectedDates, minDate, maxDate, isDateDisabled, minMonthWidth, onPressDay, onPressMonth, onSelectDrag, onCreateEvent, theme: themeOverrides, className, style, classNames, styles }: YearViewProps<T>): ReactElement;
187
189
  //#endregion
188
190
  //#region src/MonthView.d.ts
189
191
  /**
@@ -233,6 +235,8 @@ interface MonthViewProps<T = unknown> extends DateSelectionConstraints$1, SlotSt
233
235
  maxVisibleEventCount?: number;
234
236
  /** Template for the overflow row; `{moreCount}` is replaced (default "{moreCount} More"). */
235
237
  moreLabel?: string;
238
+ /** Translations for the screen-reader words and gutter text; omitted keys use English. */
239
+ labels?: Partial<CalendarLabels$1>;
236
240
  /** Tap an event chip. */
237
241
  onPressEvent?: (event: CalendarEvent$1<T>) => void;
238
242
  /** Tap the "+N more" overflow row. */
@@ -318,7 +322,7 @@ interface MonthViewInternalProps<T = unknown> extends MonthViewProps<T> {
318
322
  * <MonthView date={new Date()} events={events} onPressDay={(d) => setDate(d)} />
319
323
  * ```
320
324
  */
321
- declare function MonthView<T = unknown>({ date, weekStartsOn, hiddenDays, weekdayFormat, events, eventsByDay: eventsByDayProp, renderEvent, eventAccessibilityLabel, maxVisibleEventCount, moreLabel, onPressEvent, onPressMore, selectedRange, selectedDates, showAdjacentMonths, highlightWeekends, fillCellOnSelection, showTitle, showWeekdays, locale, theme: themeOverrides, minDate, maxDate, isDateDisabled, onPressDay, onPressCell, onCreateEvent, onSelectDrag, onDragEvent, onDragStart, eventStartEditable, eventOverlap, keyboardDayNavigation, className, style, classNames, styles }: MonthViewInternalProps<T>): ReactElement;
325
+ export declare function MonthView<T = unknown>({ date, weekStartsOn, hiddenDays, weekdayFormat, events, eventsByDay: eventsByDayProp, renderEvent, eventAccessibilityLabel, maxVisibleEventCount, moreLabel, labels: labelsProp, onPressEvent, onPressMore, selectedRange, selectedDates, showAdjacentMonths, highlightWeekends, fillCellOnSelection, showTitle, showWeekdays, locale, theme: themeOverrides, minDate, maxDate, isDateDisabled, onPressDay, onPressCell, onCreateEvent, onSelectDrag, onDragEvent, onDragStart, eventStartEditable, eventOverlap, keyboardDayNavigation, className, style, classNames, styles }: MonthViewInternalProps<T>): ReactElement;
322
326
  //#endregion
323
327
  //#region src/TimeGrid.d.ts
324
328
  /**
@@ -409,6 +413,15 @@ interface TimeGridProps<T = unknown> extends SlotStyleProps<TimeGridSlot> {
409
413
  * band stays non-interactive and hidden from assistive tech.
410
414
  */
411
415
  renderBusinessHours?: (band: BusinessHoursBand$1) => ReactNode;
416
+ /**
417
+ * A component that draws a `display: "background"` event's band in place of
418
+ * the themed shade. Rendered like `renderEvent`, it receives the event, the
419
+ * mode, `continuesBefore` / `continuesAfter` for a multi-day event, and
420
+ * `onPress`, which fires `onPressEvent`. The band then takes pointer events and
421
+ * is no longer hidden from assistive tech; cell clicks and drag-to-create are
422
+ * unreachable underneath it. Without it the band stays a shaded, inert range.
423
+ */
424
+ renderBackgroundEvent?: DomRenderEvent<T>;
412
425
  /** Show the current-time indicator on today's column (default true). */
413
426
  showNowIndicator?: boolean;
414
427
  /** Fixed "now" instant for the indicator (doesn't tick). Defaults to the device clock. */
@@ -417,6 +430,10 @@ interface TimeGridProps<T = unknown> extends SlotStyleProps<TimeGridSlot> {
417
430
  timeZone?: string;
418
431
  /** Show the all-day lane above the grid (default true). */
419
432
  showAllDayEventCell?: boolean;
433
+ /** Show the "all-day" text beside the lane (default false). */
434
+ showAllDayLabel?: boolean;
435
+ /** Translations for the screen-reader words and gutter text; omitted keys use English. */
436
+ labels?: Partial<CalendarLabels$1>;
420
437
  /** Tint Saturday/Sunday columns with the weekend background (default true). Set
421
438
  * false to treat weekends like any other day. */
422
439
  highlightWeekends?: boolean;
@@ -490,7 +507,7 @@ interface TimeGridProps<T = unknown> extends SlotStyleProps<TimeGridSlot> {
490
507
  * <TimeGrid mode="week" date={new Date()} events={events} />
491
508
  * ```
492
509
  */
493
- declare function TimeGrid<T = unknown>({ date, events, mode, numberOfDays, weekStartsOn, weekdayFormat, hourHeight: initialHourHeight, scrollOffsetMinutes, zoomable, minHourHeight, maxHourHeight, minEventHeight, eventGap, dragStepMinutes, ampm, timeslots, minHour, maxHour, hideHours, showWeekNumber, weekNumberPrefix, hiddenDays, keyboardEventNavigation, businessHours, renderBusinessHours, showNowIndicator, highlightWeekends, eventStartEditable, eventDurationEditable, eventOverlap, now: nowProp, timeZone, showAllDayEventCell, locale, theme: themeOverrides, height, renderEvent, eventAccessibilityLabel, hourComponent, onPressEvent, onPressDateHeader, onPressCell, onCreateEvent, onDragStart, onDragEvent, onChangeDate, className, style, classNames, styles }: TimeGridProps<T>): ReactElement;
510
+ export declare function TimeGrid<T = unknown>({ date, events, mode, numberOfDays, weekStartsOn, weekdayFormat, hourHeight: initialHourHeight, scrollOffsetMinutes, zoomable, minHourHeight, maxHourHeight, minEventHeight, eventGap, dragStepMinutes, ampm, timeslots, minHour, maxHour, hideHours, showWeekNumber, weekNumberPrefix, hiddenDays, keyboardEventNavigation, businessHours, renderBusinessHours, renderBackgroundEvent, showNowIndicator, highlightWeekends, eventStartEditable, eventDurationEditable, eventOverlap, now: nowProp, timeZone, showAllDayEventCell, showAllDayLabel, labels: labelsProp, locale, theme: themeOverrides, height, renderEvent, eventAccessibilityLabel, hourComponent, onPressEvent, onPressDateHeader, onPressCell, onCreateEvent, onDragStart, onDragEvent, onChangeDate, className, style, classNames, styles }: TimeGridProps<T>): ReactElement;
494
511
  //#endregion
495
512
  //#region src/Calendar.d.ts
496
513
  /**
@@ -597,10 +614,17 @@ interface CalendarProps<T = unknown> extends DateSelectionConstraints$1, SlotSty
597
614
  * band stays non-interactive and hidden from assistive tech.
598
615
  */
599
616
  renderBusinessHours?: (band: BusinessHoursBand$1) => ReactNode;
617
+ /**
618
+ * A component that draws a `display: "background"` event's band in place of
619
+ * the themed shade; see `TimeGrid`'s prop of the same name.
620
+ */
621
+ renderBackgroundEvent?: DomRenderEvent<T>;
600
622
  /** Show the current-time indicator (default true). */
601
623
  showNowIndicator?: boolean;
602
624
  /** Show the all-day lane (default true). */
603
625
  showAllDayEventCell?: boolean;
626
+ /** Show the "all-day" text beside the lane (default false). */
627
+ showAllDayLabel?: boolean;
604
628
  /** Tint weekend columns (default true). Set false to treat weekends normally. */
605
629
  highlightWeekends?: boolean;
606
630
  /** Allow moving events by default (per-event `startEditable` overrides). Default true. */
@@ -645,6 +669,8 @@ interface CalendarProps<T = unknown> extends DateSelectionConstraints$1, SlotSty
645
669
  maxVisibleEventCount?: number;
646
670
  /** Overflow row template; `{moreCount}` is replaced. */
647
671
  moreLabel?: string;
672
+ /** Translations for the screen-reader words and gutter text; omitted keys use English. */
673
+ labels?: Partial<CalendarLabels$1>;
648
674
  /** Render neighbouring months' days in the leading/trailing cells (default true). */
649
675
  showAdjacentMonths?: boolean;
650
676
  /**
@@ -695,7 +721,7 @@ interface CalendarProps<T = unknown> extends DateSelectionConstraints$1, SlotSty
695
721
  * <Calendar mode="week" date={new Date()} events={events} />
696
722
  * ```
697
723
  */
698
- declare function Calendar<T = unknown>({ mode, date, events, onChangeDate, weekStartsOn, hiddenDays, now, numberOfDays, locale, timeZone, theme, height, className, style, onPressEvent, eventAccessibilityLabel, ampm, hourHeight, minEventHeight, eventGap, scrollOffsetMinutes, timeslots, minHour, maxHour, hideHours, showWeekNumber, weekNumberPrefix, businessHours, renderBusinessHours, showNowIndicator, showAllDayEventCell, highlightWeekends, eventStartEditable, eventDurationEditable, eventOverlap, dragStepMinutes, onPressCell, onCreateEvent, onDragStart, onDragEvent, onPressDateHeader, renderTimeEvent, hourComponent, keyboardEventNavigation, maxVisibleEventCount, moreLabel, showAdjacentMonths, showTitle, weekdayFormat, fillCellOnSelection, selectedRange, selectedDates, minDate, maxDate, isDateDisabled, keyboardDayNavigation, onPressDay, onSelectDrag, onPressMonth, onPressMore, renderMonthEvent, renderScheduleEvent, classNames, styles }: CalendarProps<T>): ReactElement;
724
+ export declare function Calendar<T = unknown>({ mode, date, events, onChangeDate, weekStartsOn, hiddenDays, now, numberOfDays, locale, timeZone, theme, height, className, style, onPressEvent, eventAccessibilityLabel, ampm, hourHeight, minEventHeight, eventGap, scrollOffsetMinutes, timeslots, minHour, maxHour, hideHours, showWeekNumber, weekNumberPrefix, businessHours, renderBusinessHours, renderBackgroundEvent, showNowIndicator, showAllDayEventCell, showAllDayLabel, highlightWeekends, eventStartEditable, eventDurationEditable, eventOverlap, dragStepMinutes, onPressCell, onCreateEvent, onDragStart, onDragEvent, onPressDateHeader, renderTimeEvent, hourComponent, keyboardEventNavigation, maxVisibleEventCount, moreLabel, labels, showAdjacentMonths, showTitle, weekdayFormat, fillCellOnSelection, selectedRange, selectedDates, minDate, maxDate, isDateDisabled, keyboardDayNavigation, onPressDay, onSelectDrag, onPressMonth, onPressMore, renderMonthEvent, renderScheduleEvent, classNames, styles }: CalendarProps<T>): ReactElement;
699
725
  //#endregion
700
726
  //#region src/MonthList.d.ts
701
727
  /**
@@ -732,6 +758,8 @@ interface MonthListProps<T = unknown> extends DateSelectionConstraints$1, SlotSt
732
758
  maxVisibleEventCount?: number;
733
759
  /** Template for the overflow row; `{moreCount}` is replaced. */
734
760
  moreLabel?: string;
761
+ /** Translations for the screen-reader words and gutter text; omitted keys use English. */
762
+ labels?: Partial<CalendarLabels$1>;
735
763
  /** Tap an event chip. */
736
764
  onPressEvent?: (event: CalendarEvent$1<T>) => void;
737
765
  /** Tap the "+N more" overflow row. */
@@ -766,7 +794,7 @@ interface MonthListProps<T = unknown> extends DateSelectionConstraints$1, SlotSt
766
794
  * Legend List's DOM renderer and the library's headless grid logic. Selection is
767
795
  * controlled, pass `selectedRange` (or `selectedDates`) and handle `onPressDay`.
768
796
  */
769
- declare function MonthList<T = unknown>({ date, pastMonths, futureMonths, weekdayFormat, highlightWeekends, weekStartsOn, events, renderEvent, eventAccessibilityLabel, maxVisibleEventCount, moreLabel, onPressEvent, onPressMore, selectedRange, selectedDates, fillCellOnSelection, locale, theme: themeOverrides, height, minDate, maxDate, isDateDisabled, keyboardDayNavigation, onPressDay, className, style, classNames, styles }: MonthListProps<T>): ReactElement;
797
+ export declare function MonthList<T = unknown>({ date, pastMonths, futureMonths, weekdayFormat, highlightWeekends, weekStartsOn, events, renderEvent, eventAccessibilityLabel, maxVisibleEventCount, moreLabel, labels, onPressEvent, onPressMore, selectedRange, selectedDates, fillCellOnSelection, locale, theme: themeOverrides, height, minDate, maxDate, isDateDisabled, keyboardDayNavigation, onPressDay, className, style, classNames, styles }: MonthListProps<T>): ReactElement;
770
798
  //#endregion
771
799
  //#region src/DateRangePicker.d.ts
772
800
  /** Styleable chrome of the pickers (the calendar's own slots forward through too). */
@@ -807,7 +835,7 @@ interface DatePickerProps extends PickerBaseProps {
807
835
  * <DatePicker value={value} onChange={setValue} />
808
836
  * ```
809
837
  */
810
- declare function DatePicker({ value, onChange, formatLabel, weekStartsOn, height, placeholder, disabled, theme: themeOverrides, className, style, classNames, styles, minDate, maxDate, isDateDisabled }: DatePickerProps): ReactElement;
838
+ export declare function DatePicker({ value, onChange, formatLabel, weekStartsOn, height, placeholder, disabled, theme: themeOverrides, className, style, classNames, styles, minDate, maxDate, isDateDisabled }: DatePickerProps): ReactElement;
811
839
  /** Props for {@link DateRangePicker}. */
812
840
  interface DateRangePickerProps extends PickerBaseProps {
813
841
  /** The selected range, or `null`. `end` is `null` while only the start is picked. */
@@ -828,7 +856,7 @@ interface DateRangePickerProps extends PickerBaseProps {
828
856
  * <DateRangePicker value={range} onChange={setRange} />
829
857
  * ```
830
858
  */
831
- declare function DateRangePicker({ value, onChange, formatLabel, weekStartsOn, height, placeholder, disabled, theme: themeOverrides, className, style, classNames, styles, minDate, maxDate, isDateDisabled }: DateRangePickerProps): ReactElement;
859
+ export declare function DateRangePicker({ value, onChange, formatLabel, weekStartsOn, height, placeholder, disabled, theme: themeOverrides, className, style, classNames, styles, minDate, maxDate, isDateDisabled }: DateRangePickerProps): ReactElement;
832
860
  //#endregion
833
861
  //#region src/ResourceTimeline.d.ts
834
862
  /**
@@ -966,6 +994,6 @@ interface ResourceTimelineProps<T = unknown> extends SlotStyleProps<ResourceTime
966
994
  * />
967
995
  * ```
968
996
  */
969
- declare function ResourceTimeline<T = unknown>({ date, orientation, resources: allResources, resourcesPerPage, resourcePage, events, resourceId, startHour, endHour, hourWidth, hourHeight, rowHeight, labelWidth, ampm, theme: themeOverrides, renderEvent, onPressEvent, onDragEvent, onPressCell, onCreateEvent, businessHours, renderBusinessHours, renderResourceHeader, dragStepMinutes, showNowIndicator, now: nowProp, timeZone, className, style, classNames, styles }: ResourceTimelineProps<T>): ReactElement;
997
+ export declare function ResourceTimeline<T = unknown>({ date, orientation, resources: allResources, resourcesPerPage, resourcePage, events, resourceId, startHour, endHour, hourWidth, hourHeight, rowHeight, labelWidth, ampm, theme: themeOverrides, renderEvent, onPressEvent, onDragEvent, onPressCell, onCreateEvent, businessHours, renderBusinessHours, renderResourceHeader, dragStepMinutes, showNowIndicator, now: nowProp, timeZone, className, style, classNames, styles }: ResourceTimelineProps<T>): ReactElement;
970
998
  //#endregion
971
- export { Agenda, type AgendaProps, type AgendaSlot, type BusinessHours, type BusinessHoursBand, Calendar, type CalendarEvent, type CalendarMode, type CalendarProps, type CalendarSlot, DatePicker, type DatePickerProps, type DatePickerSlot, type DateRange, DateRangePicker, type DateRangePickerProps, type DateSelectionConstraints, type DaySelectionState, type DomAgendaEvent, type DomAgendaEventArgs, type DomCalendarTheme, type DomMonthEvent, type DomMonthEventArgs, type DomRenderEvent, type DomRenderEventArgs, type EventAccessibilityLabelContext, type EventAccessibilityLabeler, type ICalEvent, type ICalendarEvent, type MonthEventSegment, type MonthGrid, type MonthGridDay, type MonthGridWeek, type MonthGridWeekday, MonthList, type MonthListProps, type MonthListSlot, MonthView, type MonthViewProps, type MonthViewSlot, type MonthWeekEvents, type PositionedEvent, type RecurrenceFrequency, type RecurrenceRule, type ResolvedSlot, type Resource, type ResourceEventArgs, ResourceTimeline, type ResourceTimelineProps, type ResourceTimelineSlot, type SlotDefault, type SlotStyleProps, TimeGrid, type TimeGridMode, type TimeGridProps, type TimeGridSlot, type ToICalendarOptions, type UseDateRangeOptions, type UseMonthGridOptions, type WeekStartsOn, type WeekdayFormat, YearView, type YearViewProps, type YearViewSlot, backgroundBandsForDay, buildMonthGrid, darkDomTheme, daySelectionState, defaultDomTheme, expandRecurringEvents, getViewDays, isAllDayEvent, isBackgroundEvent, isDateSelectable, isRangeEndpoint, isWithinDateRange, layoutDayEvents, layoutMonthWeek, mergeDomTheme, nextDateRange, parseICalendar, toICalendar, useDateRange, useEventSource, useMonthGrid, useNow, weekdayFormatToken };
999
+ export { type AgendaProps, type AgendaSlot, type BusinessHours, type BusinessHoursBand, type CalendarEvent, type CalendarLabels, type CalendarMode, type CalendarProps, type CalendarSlot, type DatePickerProps, type DatePickerSlot, type DateRange, type DateRangePickerProps, type DateSelectionConstraints, type DaySelectionState, type DomAgendaEvent, type DomAgendaEventArgs, type DomCalendarTheme, type DomMonthEvent, type DomMonthEventArgs, type DomRenderEvent, type DomRenderEventArgs, type EventAccessibilityLabelContext, type EventAccessibilityLabeler, type ICalEvent, type ICalendarEvent, type MonthEventSegment, type MonthGrid, type MonthGridDay, type MonthGridWeek, type MonthGridWeekday, type MonthListProps, type MonthListSlot, type MonthViewProps, type MonthViewSlot, type MonthWeekEvents, type PositionedEvent, type RecurrenceFrequency, type RecurrenceRule, type ResolvedSlot, type Resource, type ResourceEventArgs, type ResourceTimelineProps, type ResourceTimelineSlot, type SlotDefault, type SlotStyleProps, type TimeGridMode, type TimeGridProps, type TimeGridSlot, type ToICalendarOptions, type UseDateRangeOptions, type UseMonthGridOptions, type WeekStartsOn, type WeekdayFormat, type YearViewProps, type YearViewSlot, backgroundBandsForDay, buildMonthGrid, daySelectionState, defaultCalendarLabels, expandRecurringEvents, getViewDays, isAllDayEvent, isBackgroundEvent, isDateSelectable, isRangeEndpoint, isWithinDateRange, layoutDayEvents, layoutMonthWeek, nextDateRange, parseICalendar, toICalendar, useDateRange, useEventSource, useMonthGrid, useNow, weekdayFormatToken };