@mlw-packages/react-components 1.7.20 → 1.7.21

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.css CHANGED
@@ -1021,6 +1021,9 @@ body {
1021
1021
  .max-h-56 {
1022
1022
  max-height: 14rem;
1023
1023
  }
1024
+ .max-h-9 {
1025
+ max-height: 2.25rem;
1026
+ }
1024
1027
  .max-h-96 {
1025
1028
  max-height: 24rem;
1026
1029
  }
@@ -1048,6 +1051,9 @@ body {
1048
1051
  .min-h-0 {
1049
1052
  min-height: 0px;
1050
1053
  }
1054
+ .min-h-9 {
1055
+ min-height: 2.25rem;
1056
+ }
1051
1057
  .min-h-\[2\.25rem\] {
1052
1058
  min-height: 2.25rem;
1053
1059
  }
@@ -1324,6 +1330,9 @@ body {
1324
1330
  .max-w-7xl {
1325
1331
  max-width: 80rem;
1326
1332
  }
1333
+ .max-w-80 {
1334
+ max-width: 20rem;
1335
+ }
1327
1336
  .max-w-\[--skeleton-width\] {
1328
1337
  max-width: var(--skeleton-width);
1329
1338
  }
@@ -1370,6 +1379,9 @@ body {
1370
1379
  .max-w-md {
1371
1380
  max-width: 28rem;
1372
1381
  }
1382
+ .max-w-prose {
1383
+ max-width: 65ch;
1384
+ }
1373
1385
  .max-w-sm {
1374
1386
  max-width: 24rem;
1375
1387
  }
@@ -1415,6 +1427,10 @@ body {
1415
1427
  --tw-translate-x: -1px;
1416
1428
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
1417
1429
  }
1430
+ .-translate-y-1 {
1431
+ --tw-translate-y: -0.25rem;
1432
+ transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
1433
+ }
1418
1434
  .-translate-y-1\/2 {
1419
1435
  --tw-translate-y: -50%;
1420
1436
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
@@ -2819,6 +2835,9 @@ body {
2819
2835
  .text-\[11px\] {
2820
2836
  font-size: 11px;
2821
2837
  }
2838
+ .text-\[12px\] {
2839
+ font-size: 12px;
2840
+ }
2822
2841
  .text-\[28\.5px\] {
2823
2842
  font-size: 28.5px;
2824
2843
  }
@@ -4862,6 +4881,9 @@ body {
4862
4881
  .data-\[active\=true\]\:text-accent-foreground[data-active=true] {
4863
4882
  color: hsl(var(--accent-foreground));
4864
4883
  }
4884
+ .data-\[placeholder\]\:text-muted-foreground[data-placeholder] {
4885
+ color: hsl(var(--muted-foreground));
4886
+ }
4865
4887
  .data-\[selected\=true\]\:text-primary[data-selected=true] {
4866
4888
  color: hsl(var(--primary));
4867
4889
  }
@@ -5406,6 +5428,10 @@ body {
5406
5428
  --tw-bg-opacity: 1;
5407
5429
  background-color: rgb(51 65 85 / var(--tw-bg-opacity, 1));
5408
5430
  }
5431
+ .dark\:bg-slate-800:is(.dark *) {
5432
+ --tw-bg-opacity: 1;
5433
+ background-color: rgb(30 41 59 / var(--tw-bg-opacity, 1));
5434
+ }
5409
5435
  .dark\:bg-slate-800\/60:is(.dark *) {
5410
5436
  background-color: rgb(30 41 59 / 0.6);
5411
5437
  }
@@ -5547,6 +5573,9 @@ body {
5547
5573
  .dark\:hover\:bg-emerald-400\/20:hover:is(.dark *) {
5548
5574
  background-color: rgb(52 211 153 / 0.2);
5549
5575
  }
5576
+ .dark\:hover\:bg-input\/50:hover:is(.dark *) {
5577
+ background-color: hsl(var(--input) / 0.5);
5578
+ }
5550
5579
  .dark\:hover\:bg-orange-400\/20:hover:is(.dark *) {
5551
5580
  background-color: rgb(251 146 60 / 0.2);
5552
5581
  }
@@ -5707,6 +5736,9 @@ body {
5707
5736
  .sm\:h-6 {
5708
5737
  height: 1.5rem;
5709
5738
  }
5739
+ .sm\:h-7 {
5740
+ height: 1.75rem;
5741
+ }
5710
5742
  .sm\:h-9 {
5711
5743
  height: 2.25rem;
5712
5744
  }
@@ -5731,6 +5763,9 @@ body {
5731
5763
  .sm\:w-6 {
5732
5764
  width: 1.5rem;
5733
5765
  }
5766
+ .sm\:w-7 {
5767
+ width: 1.75rem;
5768
+ }
5734
5769
  .sm\:w-9 {
5735
5770
  width: 2.25rem;
5736
5771
  }
@@ -5806,9 +5841,15 @@ body {
5806
5841
  margin-top: calc(0.75rem * calc(1 - var(--tw-space-y-reverse)));
5807
5842
  margin-bottom: calc(0.75rem * var(--tw-space-y-reverse));
5808
5843
  }
5844
+ .sm\:whitespace-normal {
5845
+ white-space: normal;
5846
+ }
5809
5847
  .sm\:rounded-lg {
5810
5848
  border-radius: var(--radius);
5811
5849
  }
5850
+ .sm\:p-2 {
5851
+ padding: 0.5rem;
5852
+ }
5812
5853
  .sm\:p-3 {
5813
5854
  padding: 0.75rem;
5814
5855
  }
@@ -5827,6 +5868,10 @@ body {
5827
5868
  padding-left: 1.5rem;
5828
5869
  padding-right: 1.5rem;
5829
5870
  }
5871
+ .sm\:py-1 {
5872
+ padding-top: 0.25rem;
5873
+ padding-bottom: 0.25rem;
5874
+ }
5830
5875
  .sm\:pe-4 {
5831
5876
  padding-inline-end: 1rem;
5832
5877
  }
@@ -5872,6 +5917,9 @@ body {
5872
5917
  font-size: 0.75rem;
5873
5918
  line-height: 1rem;
5874
5919
  }
5920
+ .sm\:tracking-wide {
5921
+ letter-spacing: 0.025em;
5922
+ }
5875
5923
  .data-\[vaul-drawer-direction\=left\]\:sm\:max-w-sm[data-vaul-drawer-direction=left] {
5876
5924
  max-width: 24rem;
5877
5925
  }
@@ -6041,6 +6089,16 @@ body {
6041
6089
  padding-left: 2rem;
6042
6090
  padding-right: 2rem;
6043
6091
  }
6092
+ .lg\:text-xl {
6093
+ font-size: 1.25rem;
6094
+ line-height: 1.75rem;
6095
+ }
6096
+ }
6097
+ @media (min-width: 1280px) {
6098
+ .xl\:text-2xl {
6099
+ font-size: 1.5rem;
6100
+ line-height: 2rem;
6101
+ }
6044
6102
  }
6045
6103
  .\[\&\:has\(\[aria-selected\]\)\]\:bg-muted:has([aria-selected]) {
6046
6104
  background-color: hsl(var(--muted));
package/dist/index.d.mts CHANGED
@@ -135,6 +135,9 @@ interface SelectTestIds$1 {
135
135
  group?: string;
136
136
  label?: string;
137
137
  item?: (value: string) => string;
138
+ paginationPrev?: string;
139
+ paginationNext?: string;
140
+ paginationPage?: (page: number) => string;
138
141
  }
139
142
  interface DefaultSelectProps$1<T extends string> extends ErrorMessageProps {
140
143
  selected: T | null;
@@ -144,6 +147,7 @@ interface DefaultSelectProps$1<T extends string> extends ErrorMessageProps {
144
147
  className?: string;
145
148
  label?: string;
146
149
  labelClassname?: string;
150
+ pagination?: number;
147
151
  }
148
152
  interface SelectPropsWithItems$1<T extends string> extends DefaultSelectProps$1<T> {
149
153
  items: SelectItem<T>[];
@@ -158,7 +162,7 @@ interface SelectPropsWithGroupItems$1<T extends string> extends DefaultSelectPro
158
162
  testIds?: SelectTestIds$1;
159
163
  }
160
164
  type NewSelectProps<T extends string> = SelectPropsWithItems$1<T> | SelectPropsWithGroupItems$1<T>;
161
- declare function Select<T extends string>({ items, groupItems, placeholder, onChange, error, testIds, disabled, selected, label, labelClassname, className, }: NewSelectProps<T>): react_jsx_runtime.JSX.Element;
165
+ declare function Select<T extends string>({ items, groupItems, placeholder, onChange, error, testIds, disabled, selected, label, labelClassname, className, pagination, }: NewSelectProps<T>): react_jsx_runtime.JSX.Element;
162
166
 
163
167
  interface AvatarComboboxItem<T extends string> {
164
168
  label: string;
@@ -1680,7 +1684,7 @@ declare function MultiSelectSeparatorBase(props: ComponentPropsWithoutRef<typeof
1680
1684
  interface AgendaViewProps {
1681
1685
  currentDate: Date;
1682
1686
  events: CalendarEventAgenda[];
1683
- onEventSelect?: (event: CalendarEventAgenda) => void;
1687
+ onEventSelect?: (event: CalendarEventAgenda, e?: React.MouseEvent) => void;
1684
1688
  showUndatedEvents?: boolean;
1685
1689
  }
1686
1690
  declare function Agenda({ currentDate, events, onEventSelect, showUndatedEvents, }: AgendaViewProps): react_jsx_runtime.JSX.Element;
@@ -1736,7 +1740,7 @@ type EventColorAgenda = "sky" | "amber" | "violet" | "rose" | "emerald" | "orang
1736
1740
  interface DayViewProps {
1737
1741
  currentDate: Date;
1738
1742
  events: CalendarEventAgenda[];
1739
- onEventSelect: (event: CalendarEventAgenda) => void;
1743
+ onEventSelect: (event: CalendarEventAgenda, e?: React__default.MouseEvent) => void;
1740
1744
  showUndatedEvents?: boolean;
1741
1745
  }
1742
1746
  declare function DayViewAgenda({ currentDate, events, onEventSelect, showUndatedEvents, }: DayViewProps): react_jsx_runtime.JSX.Element;
@@ -1757,8 +1761,14 @@ interface EventCalendarProps {
1757
1761
  className?: string;
1758
1762
  initialView?: CalendarViewAgenda;
1759
1763
  initialDate?: Date;
1764
+ onClick?: ((event: CalendarEventAgenda, e?: React__default.MouseEvent) => void) | React__default.ReactElement<ModalLikeProps>;
1760
1765
  }
1761
- declare function EventAgenda({ events, onEventUpdate, className, initialView, initialDate, }: EventCalendarProps): react_jsx_runtime.JSX.Element;
1766
+ interface ModalLikeProps {
1767
+ event?: CalendarEventAgenda;
1768
+ onClose?: () => void;
1769
+ [key: string]: unknown;
1770
+ }
1771
+ declare function EventAgenda({ events, onEventUpdate, className, initialView, initialDate, onClick, }: EventCalendarProps): react_jsx_runtime.JSX.Element;
1762
1772
 
1763
1773
  interface EventItemProps {
1764
1774
  event: CalendarEventAgenda;
@@ -1781,7 +1791,7 @@ declare function EventItemAgenda({ event, view, onClick, showTime, currentTime,
1781
1791
 
1782
1792
  interface UndatedEventsProps {
1783
1793
  events: CalendarEventAgenda[];
1784
- onEventSelect?: (event: CalendarEventAgenda) => void;
1794
+ onEventSelect?: (event: CalendarEventAgenda, e?: React.MouseEvent) => void;
1785
1795
  className?: string;
1786
1796
  title?: string;
1787
1797
  show?: boolean;
@@ -1811,7 +1821,7 @@ declare function useEventVisibilityAgenda({ eventHeight, eventGap, }: EventVisib
1811
1821
  interface MonthViewProps {
1812
1822
  currentDate: Date;
1813
1823
  events: CalendarEventAgenda[];
1814
- onEventSelect: (event: CalendarEventAgenda) => void;
1824
+ onEventSelect: (event: CalendarEventAgenda, e?: React__default.MouseEvent) => void;
1815
1825
  showUndatedEvents?: boolean;
1816
1826
  }
1817
1827
  declare function MonthViewAgenda({ currentDate, events, onEventSelect, showUndatedEvents, }: MonthViewProps): react_jsx_runtime.JSX.Element;
@@ -1842,16 +1852,26 @@ declare function getAllEventsForDayAgenda(events: CalendarEventAgenda[], day: Da
1842
1852
  * Get all events for a day (for agenda view)
1843
1853
  */
1844
1854
  declare function getAgendaEventsForDayAgenda(events: CalendarEventAgenda[], day: Date): CalendarEventAgenda[];
1855
+ /**
1856
+ * Return the event start as a Date if possible
1857
+ */
1858
+ declare function getEventStartDate(event: CalendarEventAgenda): Date | undefined;
1859
+ /**
1860
+ * Return the event end as a Date. If `end` is not provided but `duration` (minutes) is,
1861
+ * compute end = start + duration minutes.
1862
+ */
1863
+ declare function getEventEndDate(event: CalendarEventAgenda): Date | undefined;
1845
1864
  declare function normalizeAttendDate(d?: unknown): Date | undefined;
1846
1865
  /**
1847
1866
  * Add hours to a date
1848
1867
  */
1868
+ declare function addMinutesToDateAgenda(date: Date, minutes: number): Date;
1849
1869
  declare function addHoursToDateAgenda(date: Date, hours: number): Date;
1850
1870
 
1851
1871
  interface WeekViewProps {
1852
1872
  currentDate: Date;
1853
1873
  events: CalendarEventAgenda[];
1854
- onEventSelect: (event: CalendarEventAgenda) => void;
1874
+ onEventSelect: (event: CalendarEventAgenda, e?: React__default.MouseEvent) => void;
1855
1875
  onEventCreate?: (startTime: Date) => void;
1856
1876
  showUndatedEvents?: boolean;
1857
1877
  }
@@ -1876,4 +1896,4 @@ declare const useDrag: (options?: UseDragOptions) => {
1876
1896
  isDragging: boolean;
1877
1897
  };
1878
1898
 
1879
- export { AddButton, Agenda, AgendaDaysToShow, AgendaDaysToShowAgenda, AgendaView, AlertDialogActionBase, AlertDialogBase, AlertDialogCancelBase, AlertDialogContentBase, AlertDialogDescriptionBase, AlertDialogFooterBase, AlertDialogHeaderBase, AlertDialogOverlayBase, AlertDialogPortalBase, AlertDialogTitleBase, AlertDialogTriggerBase, AvatarBase, AvatarCombobox, type AvatarComboboxItem, AvatarFallbackBase, AvatarImageBase, BackButton, Badge, type BadgeColorType, BarChart, BreadcrumbBase, BreadcrumbEllipsisBase, BreadcrumbItemBase, BreadcrumbLinkBase, BreadcrumbListBase, BreadcrumbPageBase, BreadcrumbSeparatorBase, ButtonBase, ButtonGroupBase, type ButtonProps, CalendarBase, CalendarDndProvider, CalendarDndProviderAgenda, type CalendarEvent, type CalendarEventAgenda, type CalendarProps, type CalendarView, type CalendarViewAgenda, CardBase, CardContentBase, CardDescriptionBase, CardFooterBase, CardHeaderBase, CardTitleBase, type CarouselApi, CarouselBase, CarouselContentBase, CarouselItemBase, CarouselNextBase, CarouselPreviousBase, ChangeButton, Chart, type ChartData, type ChartHooksArgs, CheckButton, CheckboxBase, CheckboxTree, CloseAllButton, CloseButton, CodeBlock, CollapsibleBase, CollapsibleContentBase, CollapsibleTriggerBase, Combobox, type ComboboxProps, type ComboboxTestIds, CommandBase, CommandDialogBase, CommandEmptyBase, CommandGroupBase, CommandInputBase, CommandItemBase, CommandListBase, CommandSeparatorBase, CommandShortcutBase, ContextMenuBase, ContextMenuCheckboxItemBase, ContextMenuContentBase, ContextMenuGroupBase, ContextMenuItemBase, ContextMenuLabelBase, ContextMenuPortalBase, ContextMenuRadioGroupBase, ContextMenuRadioItemBase, ContextMenuSeparatorBase, ContextMenuShortcutBase, ContextMenuSubBase, ContextMenuSubContentBase, ContextMenuSubTriggerBase, ContextMenuTriggerBase, CopyButton, DateTimePicker, DayView, DayViewAgenda, DebouncedInput, type DebouncedInputProps, DefaultEndHour, DefaultEndHourAgenda, DefaultStartHour, DefaultStartHourAgenda, DestructiveDialog, DialogBase, DialogCloseBase, DialogContentBase, DialogDescriptionBase, DialogFooterBase, DialogHeaderBase, DialogOverlayBase, DialogPortalBase, DialogTitleBase, DialogTriggerBase, DownloadButton, DraggableEvent, DraggableTooltip, DrawerBase, DrawerCloseBase, DrawerContentBase, DrawerDescriptionBase, DrawerFooterBase, DrawerHeaderBase, DrawerOverlayBase, DrawerPortalBase, DrawerTitleBase, DrawerTriggerBase, DropDownMenuBase, DropDownMenuCheckboxItemBase, DropDownMenuContentBase, DropDownMenuGroupBase, DropDownMenuItemBase, DropDownMenuLabelBase, DropDownMenuPortalBase, DropDownMenuRadioGroupBase, DropDownMenuRadioItemBase, DropDownMenuSeparatorBase, DropDownMenuShortcutBase, DropDownMenuSubBase, DropDownMenuSubContentBase, DropDownMenuSubTriggerBase, DropDownMenuTriggerBase, DroppableCell, DroppableCellAgenda, EditButton, EndHour, EndHourAgenda, ErrorMessage, EventAgenda, EventCalendar, type EventColor, type EventColorAgenda, EventDialog, EventGap, EventGapAgenda, EventHeight, EventHeightAgenda, EventItem, EventItemAgenda, EventsPopup, FavoriteButton, FileUploader, type FileUploaderProps, type FileWithPreview, FilterButton, type FinalValueFormatter, HideButton, Highlights, HoverCardBase, HoverCardContentBase, HoverCardTriggerBase, InputBase, type InputBaseProps, InputOTPBase, InputOTPGroupBase, InputOTPSeparatorBase, InputOTPSlotBase, LabelBase, LikeButton, CustomLineChart as LineChart, LoadingBase, LockButton, type MapperConfig, type MapperConfigEntry, type Margins, ModalBase, ModalCloseBase, ModalContentBase, ModalDescriptionBase, ModalFooterBase, ModalHeaderBase, ModalOverlayBase, ModalPortalBase, ModalTitleBase, ModalTriggerBase, ModeToggleBase, MonthView, MonthViewAgenda, MoreButton, MultiCombobox, MultiSelectBase, MultiSelectContentBase, MultiSelectGroupBase, MultiSelectItemBase, MultiSelectSeparatorBase, MultiSelectTriggerBase, MultiSelectValueBase, NavigationMenuBase, NavigationMenuContentBase, NavigationMenuIndicatorBase, NavigationMenuItemBase, NavigationMenuLinkBase, NavigationMenuListBase, NavigationMenuTriggerBase, NavigationMenuViewportBase, NoData, NotificationButton, type Padding, type Period, PeriodsDropdown, CustomPieChart as PieChart, PopoverAnchorBase, PopoverBase, PopoverContentBase, PopoverTriggerBase, type Primitive, ProgressBase, type ProgressBaseProps, ProgressCirclesBase, type ProgressCirclesBaseProps, ProgressPanelsBase, type ProgressPanelsBaseProps, ProgressSegmentsBase, type ProgressSegmentsBaseProps, type ProgressType, RangePicker, type RangePickerProps, RefreshButton, SaveButton, ScrollAreaBase, ScrollBarBase, SearchButton, Select, SelectBase, SelectContentBase, SelectGroupBase, type SelectItem, SelectItemBase, SelectLabelBase, SelectScrollDownButtonBase, SelectScrollUpButtonBase, SelectSeparatorBase, SelectTriggerBase, SelectValueBase, SeparatorBase, type SeriesCounts, type SeriesEntry, type SeriesProp, SettingsButton, SheetBase, SheetCloseBase, SheetContentBase, SheetDescriptionBase, SheetFooterBase, SheetHeaderBase, SheetOverlayBase, SheetPortalBase, SheetTitleBase, SheetTriggerBase, ShowOnly, SidebarBase, SidebarContentBase, SidebarFooterBase, SidebarGroupActionBase, SidebarGroupBase, SidebarGroupContentBase, SidebarGroupLabelBase, SidebarHeaderBase, SidebarInputBase, SidebarInsetBase, SidebarMenuActionBase, SidebarMenuBadgeBase, SidebarMenuBase, SidebarMenuButtonBase, SidebarMenuItemBase, SidebarMenuSkeletonBase, SidebarMenuSubBase, SidebarMenuSubButtonBase, SidebarMenuSubItemBase, SidebarProviderBase, SidebarRailBase, SidebarSeparatorBase, SidebarTriggerBase, SkeletonBase, SlideBase, type SliderBaseProps, StartHour, StartHourAgenda, StatusIndicator, type StatusProps, SwitchBase, TableBase, TableBodyBase, TableCaptionBase, TableCellBase, TableFooterBase, TableHeadBase, TableHeaderBase, TableRowBase, TabsBase, TabsContentBase, TabsListBase, TabsTriggerBase, TextAreaBase, type TextAreaBaseProps, type Theme, ThemeProviderBase, TimePicker, TimePickerInput, type TimePickerInputProps, type TimePickerType, Toaster, type TooltipAdaptedRow, TooltipBase, TooltipContentBase, type TooltipItem, TooltipProviderBase, TooltipSimple, TooltipTriggerBase, RechartTooltipWithTotal as TooltipWithTotal, UndatedEvents, UniversalTooltipRenderer, UnlockButton, UploadButton, UseSideBarBase, type ValueFormatter, ViewButton, VisibilityButton, WeekCellsHeight, WeekCellsHeightAgenda, WeekView, WeekViewAgenda, type XAxisConfig, type YAxes, type YAxisMap, type YAxisOptions, type YAxisSide, addHoursToDate, addHoursToDateAgenda, badgeVariants, buttonVariantsBase, compactTick, convert12HourTo24Hour, detectDataFields, detectXAxis, display12HourValue, formatFieldName, generateAdditionalColors, getAgendaEventsForDay, getAgendaEventsForDayAgenda, getAllEventsForDay, getAllEventsForDayAgenda, getArrowByType, getBorderRadiusClasses, getBorderRadiusClassesAgenda, getDateByType, getEventColorClasses, getEventColorClassesAgenda, getEventsForDay, getEventsForDayAgenda, getSpanningEventsForDay, getSpanningEventsForDayAgenda, getValid12Hour, getValidArrow12Hour, getValidArrowHour, getValidArrowMinuteOrSecond, getValidArrowNumber, getValidHour, getValidMinuteOrSecond, getValidNumber, isMultiDayEvent, isMultiDayEventAgenda, isValid12Hour, isValidHour, isValidMinuteOrSecond, niceCeil, normalizeAttendDate, renderInsideBarLabel, renderPillLabel, resolveChartMargins, resolveContainerPaddingLeft, set12Hours, setDateByType, setHours, setMinutes, setSeconds, sortEvents, sortEventsAgenda, toast, useCalendarDnd, useCalendarDndAgenda, useChartHighlights, useCurrentTimeIndicator, useCurrentTimeIndicatorAgenda, useDrag, useEventVisibility, useEventVisibilityAgenda, useIsMobile, useTheme, type valueFormatter };
1899
+ export { AddButton, Agenda, AgendaDaysToShow, AgendaDaysToShowAgenda, AgendaView, AlertDialogActionBase, AlertDialogBase, AlertDialogCancelBase, AlertDialogContentBase, AlertDialogDescriptionBase, AlertDialogFooterBase, AlertDialogHeaderBase, AlertDialogOverlayBase, AlertDialogPortalBase, AlertDialogTitleBase, AlertDialogTriggerBase, AvatarBase, AvatarCombobox, type AvatarComboboxItem, AvatarFallbackBase, AvatarImageBase, BackButton, Badge, type BadgeColorType, BarChart, BreadcrumbBase, BreadcrumbEllipsisBase, BreadcrumbItemBase, BreadcrumbLinkBase, BreadcrumbListBase, BreadcrumbPageBase, BreadcrumbSeparatorBase, ButtonBase, ButtonGroupBase, type ButtonProps, CalendarBase, CalendarDndProvider, CalendarDndProviderAgenda, type CalendarEvent, type CalendarEventAgenda, type CalendarProps, type CalendarView, type CalendarViewAgenda, CardBase, CardContentBase, CardDescriptionBase, CardFooterBase, CardHeaderBase, CardTitleBase, type CarouselApi, CarouselBase, CarouselContentBase, CarouselItemBase, CarouselNextBase, CarouselPreviousBase, ChangeButton, Chart, type ChartData, type ChartHooksArgs, CheckButton, CheckboxBase, CheckboxTree, CloseAllButton, CloseButton, CodeBlock, CollapsibleBase, CollapsibleContentBase, CollapsibleTriggerBase, Combobox, type ComboboxProps, type ComboboxTestIds, CommandBase, CommandDialogBase, CommandEmptyBase, CommandGroupBase, CommandInputBase, CommandItemBase, CommandListBase, CommandSeparatorBase, CommandShortcutBase, ContextMenuBase, ContextMenuCheckboxItemBase, ContextMenuContentBase, ContextMenuGroupBase, ContextMenuItemBase, ContextMenuLabelBase, ContextMenuPortalBase, ContextMenuRadioGroupBase, ContextMenuRadioItemBase, ContextMenuSeparatorBase, ContextMenuShortcutBase, ContextMenuSubBase, ContextMenuSubContentBase, ContextMenuSubTriggerBase, ContextMenuTriggerBase, CopyButton, DateTimePicker, DayView, DayViewAgenda, DebouncedInput, type DebouncedInputProps, DefaultEndHour, DefaultEndHourAgenda, DefaultStartHour, DefaultStartHourAgenda, DestructiveDialog, DialogBase, DialogCloseBase, DialogContentBase, DialogDescriptionBase, DialogFooterBase, DialogHeaderBase, DialogOverlayBase, DialogPortalBase, DialogTitleBase, DialogTriggerBase, DownloadButton, DraggableEvent, DraggableTooltip, DrawerBase, DrawerCloseBase, DrawerContentBase, DrawerDescriptionBase, DrawerFooterBase, DrawerHeaderBase, DrawerOverlayBase, DrawerPortalBase, DrawerTitleBase, DrawerTriggerBase, DropDownMenuBase, DropDownMenuCheckboxItemBase, DropDownMenuContentBase, DropDownMenuGroupBase, DropDownMenuItemBase, DropDownMenuLabelBase, DropDownMenuPortalBase, DropDownMenuRadioGroupBase, DropDownMenuRadioItemBase, DropDownMenuSeparatorBase, DropDownMenuShortcutBase, DropDownMenuSubBase, DropDownMenuSubContentBase, DropDownMenuSubTriggerBase, DropDownMenuTriggerBase, DroppableCell, DroppableCellAgenda, EditButton, EndHour, EndHourAgenda, ErrorMessage, EventAgenda, EventCalendar, type EventColor, type EventColorAgenda, EventDialog, EventGap, EventGapAgenda, EventHeight, EventHeightAgenda, EventItem, EventItemAgenda, EventsPopup, FavoriteButton, FileUploader, type FileUploaderProps, type FileWithPreview, FilterButton, type FinalValueFormatter, HideButton, Highlights, HoverCardBase, HoverCardContentBase, HoverCardTriggerBase, InputBase, type InputBaseProps, InputOTPBase, InputOTPGroupBase, InputOTPSeparatorBase, InputOTPSlotBase, LabelBase, LikeButton, CustomLineChart as LineChart, LoadingBase, LockButton, type MapperConfig, type MapperConfigEntry, type Margins, ModalBase, ModalCloseBase, ModalContentBase, ModalDescriptionBase, ModalFooterBase, ModalHeaderBase, ModalOverlayBase, ModalPortalBase, ModalTitleBase, ModalTriggerBase, ModeToggleBase, MonthView, MonthViewAgenda, MoreButton, MultiCombobox, MultiSelectBase, MultiSelectContentBase, MultiSelectGroupBase, MultiSelectItemBase, MultiSelectSeparatorBase, MultiSelectTriggerBase, MultiSelectValueBase, NavigationMenuBase, NavigationMenuContentBase, NavigationMenuIndicatorBase, NavigationMenuItemBase, NavigationMenuLinkBase, NavigationMenuListBase, NavigationMenuTriggerBase, NavigationMenuViewportBase, NoData, NotificationButton, type Padding, type Period, PeriodsDropdown, CustomPieChart as PieChart, PopoverAnchorBase, PopoverBase, PopoverContentBase, PopoverTriggerBase, type Primitive, ProgressBase, type ProgressBaseProps, ProgressCirclesBase, type ProgressCirclesBaseProps, ProgressPanelsBase, type ProgressPanelsBaseProps, ProgressSegmentsBase, type ProgressSegmentsBaseProps, type ProgressType, RangePicker, type RangePickerProps, RefreshButton, SaveButton, ScrollAreaBase, ScrollBarBase, SearchButton, Select, SelectBase, SelectContentBase, SelectGroupBase, type SelectItem, SelectItemBase, SelectLabelBase, SelectScrollDownButtonBase, SelectScrollUpButtonBase, SelectSeparatorBase, SelectTriggerBase, SelectValueBase, SeparatorBase, type SeriesCounts, type SeriesEntry, type SeriesProp, SettingsButton, SheetBase, SheetCloseBase, SheetContentBase, SheetDescriptionBase, SheetFooterBase, SheetHeaderBase, SheetOverlayBase, SheetPortalBase, SheetTitleBase, SheetTriggerBase, ShowOnly, SidebarBase, SidebarContentBase, SidebarFooterBase, SidebarGroupActionBase, SidebarGroupBase, SidebarGroupContentBase, SidebarGroupLabelBase, SidebarHeaderBase, SidebarInputBase, SidebarInsetBase, SidebarMenuActionBase, SidebarMenuBadgeBase, SidebarMenuBase, SidebarMenuButtonBase, SidebarMenuItemBase, SidebarMenuSkeletonBase, SidebarMenuSubBase, SidebarMenuSubButtonBase, SidebarMenuSubItemBase, SidebarProviderBase, SidebarRailBase, SidebarSeparatorBase, SidebarTriggerBase, SkeletonBase, SlideBase, type SliderBaseProps, StartHour, StartHourAgenda, StatusIndicator, type StatusProps, SwitchBase, TableBase, TableBodyBase, TableCaptionBase, TableCellBase, TableFooterBase, TableHeadBase, TableHeaderBase, TableRowBase, TabsBase, TabsContentBase, TabsListBase, TabsTriggerBase, TextAreaBase, type TextAreaBaseProps, type Theme, ThemeProviderBase, TimePicker, TimePickerInput, type TimePickerInputProps, type TimePickerType, Toaster, type TooltipAdaptedRow, TooltipBase, TooltipContentBase, type TooltipItem, TooltipProviderBase, TooltipSimple, TooltipTriggerBase, RechartTooltipWithTotal as TooltipWithTotal, UndatedEvents, UniversalTooltipRenderer, UnlockButton, UploadButton, UseSideBarBase, type ValueFormatter, ViewButton, VisibilityButton, WeekCellsHeight, WeekCellsHeightAgenda, WeekView, WeekViewAgenda, type XAxisConfig, type YAxes, type YAxisMap, type YAxisOptions, type YAxisSide, addHoursToDate, addHoursToDateAgenda, addMinutesToDateAgenda, badgeVariants, buttonVariantsBase, compactTick, convert12HourTo24Hour, detectDataFields, detectXAxis, display12HourValue, formatFieldName, generateAdditionalColors, getAgendaEventsForDay, getAgendaEventsForDayAgenda, getAllEventsForDay, getAllEventsForDayAgenda, getArrowByType, getBorderRadiusClasses, getBorderRadiusClassesAgenda, getDateByType, getEventColorClasses, getEventColorClassesAgenda, getEventEndDate, getEventStartDate, getEventsForDay, getEventsForDayAgenda, getSpanningEventsForDay, getSpanningEventsForDayAgenda, getValid12Hour, getValidArrow12Hour, getValidArrowHour, getValidArrowMinuteOrSecond, getValidArrowNumber, getValidHour, getValidMinuteOrSecond, getValidNumber, isMultiDayEvent, isMultiDayEventAgenda, isValid12Hour, isValidHour, isValidMinuteOrSecond, niceCeil, normalizeAttendDate, renderInsideBarLabel, renderPillLabel, resolveChartMargins, resolveContainerPaddingLeft, set12Hours, setDateByType, setHours, setMinutes, setSeconds, sortEvents, sortEventsAgenda, toast, useCalendarDnd, useCalendarDndAgenda, useChartHighlights, useCurrentTimeIndicator, useCurrentTimeIndicatorAgenda, useDrag, useEventVisibility, useEventVisibilityAgenda, useIsMobile, useTheme, type valueFormatter };
package/dist/index.d.ts CHANGED
@@ -135,6 +135,9 @@ interface SelectTestIds$1 {
135
135
  group?: string;
136
136
  label?: string;
137
137
  item?: (value: string) => string;
138
+ paginationPrev?: string;
139
+ paginationNext?: string;
140
+ paginationPage?: (page: number) => string;
138
141
  }
139
142
  interface DefaultSelectProps$1<T extends string> extends ErrorMessageProps {
140
143
  selected: T | null;
@@ -144,6 +147,7 @@ interface DefaultSelectProps$1<T extends string> extends ErrorMessageProps {
144
147
  className?: string;
145
148
  label?: string;
146
149
  labelClassname?: string;
150
+ pagination?: number;
147
151
  }
148
152
  interface SelectPropsWithItems$1<T extends string> extends DefaultSelectProps$1<T> {
149
153
  items: SelectItem<T>[];
@@ -158,7 +162,7 @@ interface SelectPropsWithGroupItems$1<T extends string> extends DefaultSelectPro
158
162
  testIds?: SelectTestIds$1;
159
163
  }
160
164
  type NewSelectProps<T extends string> = SelectPropsWithItems$1<T> | SelectPropsWithGroupItems$1<T>;
161
- declare function Select<T extends string>({ items, groupItems, placeholder, onChange, error, testIds, disabled, selected, label, labelClassname, className, }: NewSelectProps<T>): react_jsx_runtime.JSX.Element;
165
+ declare function Select<T extends string>({ items, groupItems, placeholder, onChange, error, testIds, disabled, selected, label, labelClassname, className, pagination, }: NewSelectProps<T>): react_jsx_runtime.JSX.Element;
162
166
 
163
167
  interface AvatarComboboxItem<T extends string> {
164
168
  label: string;
@@ -1680,7 +1684,7 @@ declare function MultiSelectSeparatorBase(props: ComponentPropsWithoutRef<typeof
1680
1684
  interface AgendaViewProps {
1681
1685
  currentDate: Date;
1682
1686
  events: CalendarEventAgenda[];
1683
- onEventSelect?: (event: CalendarEventAgenda) => void;
1687
+ onEventSelect?: (event: CalendarEventAgenda, e?: React.MouseEvent) => void;
1684
1688
  showUndatedEvents?: boolean;
1685
1689
  }
1686
1690
  declare function Agenda({ currentDate, events, onEventSelect, showUndatedEvents, }: AgendaViewProps): react_jsx_runtime.JSX.Element;
@@ -1736,7 +1740,7 @@ type EventColorAgenda = "sky" | "amber" | "violet" | "rose" | "emerald" | "orang
1736
1740
  interface DayViewProps {
1737
1741
  currentDate: Date;
1738
1742
  events: CalendarEventAgenda[];
1739
- onEventSelect: (event: CalendarEventAgenda) => void;
1743
+ onEventSelect: (event: CalendarEventAgenda, e?: React__default.MouseEvent) => void;
1740
1744
  showUndatedEvents?: boolean;
1741
1745
  }
1742
1746
  declare function DayViewAgenda({ currentDate, events, onEventSelect, showUndatedEvents, }: DayViewProps): react_jsx_runtime.JSX.Element;
@@ -1757,8 +1761,14 @@ interface EventCalendarProps {
1757
1761
  className?: string;
1758
1762
  initialView?: CalendarViewAgenda;
1759
1763
  initialDate?: Date;
1764
+ onClick?: ((event: CalendarEventAgenda, e?: React__default.MouseEvent) => void) | React__default.ReactElement<ModalLikeProps>;
1760
1765
  }
1761
- declare function EventAgenda({ events, onEventUpdate, className, initialView, initialDate, }: EventCalendarProps): react_jsx_runtime.JSX.Element;
1766
+ interface ModalLikeProps {
1767
+ event?: CalendarEventAgenda;
1768
+ onClose?: () => void;
1769
+ [key: string]: unknown;
1770
+ }
1771
+ declare function EventAgenda({ events, onEventUpdate, className, initialView, initialDate, onClick, }: EventCalendarProps): react_jsx_runtime.JSX.Element;
1762
1772
 
1763
1773
  interface EventItemProps {
1764
1774
  event: CalendarEventAgenda;
@@ -1781,7 +1791,7 @@ declare function EventItemAgenda({ event, view, onClick, showTime, currentTime,
1781
1791
 
1782
1792
  interface UndatedEventsProps {
1783
1793
  events: CalendarEventAgenda[];
1784
- onEventSelect?: (event: CalendarEventAgenda) => void;
1794
+ onEventSelect?: (event: CalendarEventAgenda, e?: React.MouseEvent) => void;
1785
1795
  className?: string;
1786
1796
  title?: string;
1787
1797
  show?: boolean;
@@ -1811,7 +1821,7 @@ declare function useEventVisibilityAgenda({ eventHeight, eventGap, }: EventVisib
1811
1821
  interface MonthViewProps {
1812
1822
  currentDate: Date;
1813
1823
  events: CalendarEventAgenda[];
1814
- onEventSelect: (event: CalendarEventAgenda) => void;
1824
+ onEventSelect: (event: CalendarEventAgenda, e?: React__default.MouseEvent) => void;
1815
1825
  showUndatedEvents?: boolean;
1816
1826
  }
1817
1827
  declare function MonthViewAgenda({ currentDate, events, onEventSelect, showUndatedEvents, }: MonthViewProps): react_jsx_runtime.JSX.Element;
@@ -1842,16 +1852,26 @@ declare function getAllEventsForDayAgenda(events: CalendarEventAgenda[], day: Da
1842
1852
  * Get all events for a day (for agenda view)
1843
1853
  */
1844
1854
  declare function getAgendaEventsForDayAgenda(events: CalendarEventAgenda[], day: Date): CalendarEventAgenda[];
1855
+ /**
1856
+ * Return the event start as a Date if possible
1857
+ */
1858
+ declare function getEventStartDate(event: CalendarEventAgenda): Date | undefined;
1859
+ /**
1860
+ * Return the event end as a Date. If `end` is not provided but `duration` (minutes) is,
1861
+ * compute end = start + duration minutes.
1862
+ */
1863
+ declare function getEventEndDate(event: CalendarEventAgenda): Date | undefined;
1845
1864
  declare function normalizeAttendDate(d?: unknown): Date | undefined;
1846
1865
  /**
1847
1866
  * Add hours to a date
1848
1867
  */
1868
+ declare function addMinutesToDateAgenda(date: Date, minutes: number): Date;
1849
1869
  declare function addHoursToDateAgenda(date: Date, hours: number): Date;
1850
1870
 
1851
1871
  interface WeekViewProps {
1852
1872
  currentDate: Date;
1853
1873
  events: CalendarEventAgenda[];
1854
- onEventSelect: (event: CalendarEventAgenda) => void;
1874
+ onEventSelect: (event: CalendarEventAgenda, e?: React__default.MouseEvent) => void;
1855
1875
  onEventCreate?: (startTime: Date) => void;
1856
1876
  showUndatedEvents?: boolean;
1857
1877
  }
@@ -1876,4 +1896,4 @@ declare const useDrag: (options?: UseDragOptions) => {
1876
1896
  isDragging: boolean;
1877
1897
  };
1878
1898
 
1879
- export { AddButton, Agenda, AgendaDaysToShow, AgendaDaysToShowAgenda, AgendaView, AlertDialogActionBase, AlertDialogBase, AlertDialogCancelBase, AlertDialogContentBase, AlertDialogDescriptionBase, AlertDialogFooterBase, AlertDialogHeaderBase, AlertDialogOverlayBase, AlertDialogPortalBase, AlertDialogTitleBase, AlertDialogTriggerBase, AvatarBase, AvatarCombobox, type AvatarComboboxItem, AvatarFallbackBase, AvatarImageBase, BackButton, Badge, type BadgeColorType, BarChart, BreadcrumbBase, BreadcrumbEllipsisBase, BreadcrumbItemBase, BreadcrumbLinkBase, BreadcrumbListBase, BreadcrumbPageBase, BreadcrumbSeparatorBase, ButtonBase, ButtonGroupBase, type ButtonProps, CalendarBase, CalendarDndProvider, CalendarDndProviderAgenda, type CalendarEvent, type CalendarEventAgenda, type CalendarProps, type CalendarView, type CalendarViewAgenda, CardBase, CardContentBase, CardDescriptionBase, CardFooterBase, CardHeaderBase, CardTitleBase, type CarouselApi, CarouselBase, CarouselContentBase, CarouselItemBase, CarouselNextBase, CarouselPreviousBase, ChangeButton, Chart, type ChartData, type ChartHooksArgs, CheckButton, CheckboxBase, CheckboxTree, CloseAllButton, CloseButton, CodeBlock, CollapsibleBase, CollapsibleContentBase, CollapsibleTriggerBase, Combobox, type ComboboxProps, type ComboboxTestIds, CommandBase, CommandDialogBase, CommandEmptyBase, CommandGroupBase, CommandInputBase, CommandItemBase, CommandListBase, CommandSeparatorBase, CommandShortcutBase, ContextMenuBase, ContextMenuCheckboxItemBase, ContextMenuContentBase, ContextMenuGroupBase, ContextMenuItemBase, ContextMenuLabelBase, ContextMenuPortalBase, ContextMenuRadioGroupBase, ContextMenuRadioItemBase, ContextMenuSeparatorBase, ContextMenuShortcutBase, ContextMenuSubBase, ContextMenuSubContentBase, ContextMenuSubTriggerBase, ContextMenuTriggerBase, CopyButton, DateTimePicker, DayView, DayViewAgenda, DebouncedInput, type DebouncedInputProps, DefaultEndHour, DefaultEndHourAgenda, DefaultStartHour, DefaultStartHourAgenda, DestructiveDialog, DialogBase, DialogCloseBase, DialogContentBase, DialogDescriptionBase, DialogFooterBase, DialogHeaderBase, DialogOverlayBase, DialogPortalBase, DialogTitleBase, DialogTriggerBase, DownloadButton, DraggableEvent, DraggableTooltip, DrawerBase, DrawerCloseBase, DrawerContentBase, DrawerDescriptionBase, DrawerFooterBase, DrawerHeaderBase, DrawerOverlayBase, DrawerPortalBase, DrawerTitleBase, DrawerTriggerBase, DropDownMenuBase, DropDownMenuCheckboxItemBase, DropDownMenuContentBase, DropDownMenuGroupBase, DropDownMenuItemBase, DropDownMenuLabelBase, DropDownMenuPortalBase, DropDownMenuRadioGroupBase, DropDownMenuRadioItemBase, DropDownMenuSeparatorBase, DropDownMenuShortcutBase, DropDownMenuSubBase, DropDownMenuSubContentBase, DropDownMenuSubTriggerBase, DropDownMenuTriggerBase, DroppableCell, DroppableCellAgenda, EditButton, EndHour, EndHourAgenda, ErrorMessage, EventAgenda, EventCalendar, type EventColor, type EventColorAgenda, EventDialog, EventGap, EventGapAgenda, EventHeight, EventHeightAgenda, EventItem, EventItemAgenda, EventsPopup, FavoriteButton, FileUploader, type FileUploaderProps, type FileWithPreview, FilterButton, type FinalValueFormatter, HideButton, Highlights, HoverCardBase, HoverCardContentBase, HoverCardTriggerBase, InputBase, type InputBaseProps, InputOTPBase, InputOTPGroupBase, InputOTPSeparatorBase, InputOTPSlotBase, LabelBase, LikeButton, CustomLineChart as LineChart, LoadingBase, LockButton, type MapperConfig, type MapperConfigEntry, type Margins, ModalBase, ModalCloseBase, ModalContentBase, ModalDescriptionBase, ModalFooterBase, ModalHeaderBase, ModalOverlayBase, ModalPortalBase, ModalTitleBase, ModalTriggerBase, ModeToggleBase, MonthView, MonthViewAgenda, MoreButton, MultiCombobox, MultiSelectBase, MultiSelectContentBase, MultiSelectGroupBase, MultiSelectItemBase, MultiSelectSeparatorBase, MultiSelectTriggerBase, MultiSelectValueBase, NavigationMenuBase, NavigationMenuContentBase, NavigationMenuIndicatorBase, NavigationMenuItemBase, NavigationMenuLinkBase, NavigationMenuListBase, NavigationMenuTriggerBase, NavigationMenuViewportBase, NoData, NotificationButton, type Padding, type Period, PeriodsDropdown, CustomPieChart as PieChart, PopoverAnchorBase, PopoverBase, PopoverContentBase, PopoverTriggerBase, type Primitive, ProgressBase, type ProgressBaseProps, ProgressCirclesBase, type ProgressCirclesBaseProps, ProgressPanelsBase, type ProgressPanelsBaseProps, ProgressSegmentsBase, type ProgressSegmentsBaseProps, type ProgressType, RangePicker, type RangePickerProps, RefreshButton, SaveButton, ScrollAreaBase, ScrollBarBase, SearchButton, Select, SelectBase, SelectContentBase, SelectGroupBase, type SelectItem, SelectItemBase, SelectLabelBase, SelectScrollDownButtonBase, SelectScrollUpButtonBase, SelectSeparatorBase, SelectTriggerBase, SelectValueBase, SeparatorBase, type SeriesCounts, type SeriesEntry, type SeriesProp, SettingsButton, SheetBase, SheetCloseBase, SheetContentBase, SheetDescriptionBase, SheetFooterBase, SheetHeaderBase, SheetOverlayBase, SheetPortalBase, SheetTitleBase, SheetTriggerBase, ShowOnly, SidebarBase, SidebarContentBase, SidebarFooterBase, SidebarGroupActionBase, SidebarGroupBase, SidebarGroupContentBase, SidebarGroupLabelBase, SidebarHeaderBase, SidebarInputBase, SidebarInsetBase, SidebarMenuActionBase, SidebarMenuBadgeBase, SidebarMenuBase, SidebarMenuButtonBase, SidebarMenuItemBase, SidebarMenuSkeletonBase, SidebarMenuSubBase, SidebarMenuSubButtonBase, SidebarMenuSubItemBase, SidebarProviderBase, SidebarRailBase, SidebarSeparatorBase, SidebarTriggerBase, SkeletonBase, SlideBase, type SliderBaseProps, StartHour, StartHourAgenda, StatusIndicator, type StatusProps, SwitchBase, TableBase, TableBodyBase, TableCaptionBase, TableCellBase, TableFooterBase, TableHeadBase, TableHeaderBase, TableRowBase, TabsBase, TabsContentBase, TabsListBase, TabsTriggerBase, TextAreaBase, type TextAreaBaseProps, type Theme, ThemeProviderBase, TimePicker, TimePickerInput, type TimePickerInputProps, type TimePickerType, Toaster, type TooltipAdaptedRow, TooltipBase, TooltipContentBase, type TooltipItem, TooltipProviderBase, TooltipSimple, TooltipTriggerBase, RechartTooltipWithTotal as TooltipWithTotal, UndatedEvents, UniversalTooltipRenderer, UnlockButton, UploadButton, UseSideBarBase, type ValueFormatter, ViewButton, VisibilityButton, WeekCellsHeight, WeekCellsHeightAgenda, WeekView, WeekViewAgenda, type XAxisConfig, type YAxes, type YAxisMap, type YAxisOptions, type YAxisSide, addHoursToDate, addHoursToDateAgenda, badgeVariants, buttonVariantsBase, compactTick, convert12HourTo24Hour, detectDataFields, detectXAxis, display12HourValue, formatFieldName, generateAdditionalColors, getAgendaEventsForDay, getAgendaEventsForDayAgenda, getAllEventsForDay, getAllEventsForDayAgenda, getArrowByType, getBorderRadiusClasses, getBorderRadiusClassesAgenda, getDateByType, getEventColorClasses, getEventColorClassesAgenda, getEventsForDay, getEventsForDayAgenda, getSpanningEventsForDay, getSpanningEventsForDayAgenda, getValid12Hour, getValidArrow12Hour, getValidArrowHour, getValidArrowMinuteOrSecond, getValidArrowNumber, getValidHour, getValidMinuteOrSecond, getValidNumber, isMultiDayEvent, isMultiDayEventAgenda, isValid12Hour, isValidHour, isValidMinuteOrSecond, niceCeil, normalizeAttendDate, renderInsideBarLabel, renderPillLabel, resolveChartMargins, resolveContainerPaddingLeft, set12Hours, setDateByType, setHours, setMinutes, setSeconds, sortEvents, sortEventsAgenda, toast, useCalendarDnd, useCalendarDndAgenda, useChartHighlights, useCurrentTimeIndicator, useCurrentTimeIndicatorAgenda, useDrag, useEventVisibility, useEventVisibilityAgenda, useIsMobile, useTheme, type valueFormatter };
1899
+ export { AddButton, Agenda, AgendaDaysToShow, AgendaDaysToShowAgenda, AgendaView, AlertDialogActionBase, AlertDialogBase, AlertDialogCancelBase, AlertDialogContentBase, AlertDialogDescriptionBase, AlertDialogFooterBase, AlertDialogHeaderBase, AlertDialogOverlayBase, AlertDialogPortalBase, AlertDialogTitleBase, AlertDialogTriggerBase, AvatarBase, AvatarCombobox, type AvatarComboboxItem, AvatarFallbackBase, AvatarImageBase, BackButton, Badge, type BadgeColorType, BarChart, BreadcrumbBase, BreadcrumbEllipsisBase, BreadcrumbItemBase, BreadcrumbLinkBase, BreadcrumbListBase, BreadcrumbPageBase, BreadcrumbSeparatorBase, ButtonBase, ButtonGroupBase, type ButtonProps, CalendarBase, CalendarDndProvider, CalendarDndProviderAgenda, type CalendarEvent, type CalendarEventAgenda, type CalendarProps, type CalendarView, type CalendarViewAgenda, CardBase, CardContentBase, CardDescriptionBase, CardFooterBase, CardHeaderBase, CardTitleBase, type CarouselApi, CarouselBase, CarouselContentBase, CarouselItemBase, CarouselNextBase, CarouselPreviousBase, ChangeButton, Chart, type ChartData, type ChartHooksArgs, CheckButton, CheckboxBase, CheckboxTree, CloseAllButton, CloseButton, CodeBlock, CollapsibleBase, CollapsibleContentBase, CollapsibleTriggerBase, Combobox, type ComboboxProps, type ComboboxTestIds, CommandBase, CommandDialogBase, CommandEmptyBase, CommandGroupBase, CommandInputBase, CommandItemBase, CommandListBase, CommandSeparatorBase, CommandShortcutBase, ContextMenuBase, ContextMenuCheckboxItemBase, ContextMenuContentBase, ContextMenuGroupBase, ContextMenuItemBase, ContextMenuLabelBase, ContextMenuPortalBase, ContextMenuRadioGroupBase, ContextMenuRadioItemBase, ContextMenuSeparatorBase, ContextMenuShortcutBase, ContextMenuSubBase, ContextMenuSubContentBase, ContextMenuSubTriggerBase, ContextMenuTriggerBase, CopyButton, DateTimePicker, DayView, DayViewAgenda, DebouncedInput, type DebouncedInputProps, DefaultEndHour, DefaultEndHourAgenda, DefaultStartHour, DefaultStartHourAgenda, DestructiveDialog, DialogBase, DialogCloseBase, DialogContentBase, DialogDescriptionBase, DialogFooterBase, DialogHeaderBase, DialogOverlayBase, DialogPortalBase, DialogTitleBase, DialogTriggerBase, DownloadButton, DraggableEvent, DraggableTooltip, DrawerBase, DrawerCloseBase, DrawerContentBase, DrawerDescriptionBase, DrawerFooterBase, DrawerHeaderBase, DrawerOverlayBase, DrawerPortalBase, DrawerTitleBase, DrawerTriggerBase, DropDownMenuBase, DropDownMenuCheckboxItemBase, DropDownMenuContentBase, DropDownMenuGroupBase, DropDownMenuItemBase, DropDownMenuLabelBase, DropDownMenuPortalBase, DropDownMenuRadioGroupBase, DropDownMenuRadioItemBase, DropDownMenuSeparatorBase, DropDownMenuShortcutBase, DropDownMenuSubBase, DropDownMenuSubContentBase, DropDownMenuSubTriggerBase, DropDownMenuTriggerBase, DroppableCell, DroppableCellAgenda, EditButton, EndHour, EndHourAgenda, ErrorMessage, EventAgenda, EventCalendar, type EventColor, type EventColorAgenda, EventDialog, EventGap, EventGapAgenda, EventHeight, EventHeightAgenda, EventItem, EventItemAgenda, EventsPopup, FavoriteButton, FileUploader, type FileUploaderProps, type FileWithPreview, FilterButton, type FinalValueFormatter, HideButton, Highlights, HoverCardBase, HoverCardContentBase, HoverCardTriggerBase, InputBase, type InputBaseProps, InputOTPBase, InputOTPGroupBase, InputOTPSeparatorBase, InputOTPSlotBase, LabelBase, LikeButton, CustomLineChart as LineChart, LoadingBase, LockButton, type MapperConfig, type MapperConfigEntry, type Margins, ModalBase, ModalCloseBase, ModalContentBase, ModalDescriptionBase, ModalFooterBase, ModalHeaderBase, ModalOverlayBase, ModalPortalBase, ModalTitleBase, ModalTriggerBase, ModeToggleBase, MonthView, MonthViewAgenda, MoreButton, MultiCombobox, MultiSelectBase, MultiSelectContentBase, MultiSelectGroupBase, MultiSelectItemBase, MultiSelectSeparatorBase, MultiSelectTriggerBase, MultiSelectValueBase, NavigationMenuBase, NavigationMenuContentBase, NavigationMenuIndicatorBase, NavigationMenuItemBase, NavigationMenuLinkBase, NavigationMenuListBase, NavigationMenuTriggerBase, NavigationMenuViewportBase, NoData, NotificationButton, type Padding, type Period, PeriodsDropdown, CustomPieChart as PieChart, PopoverAnchorBase, PopoverBase, PopoverContentBase, PopoverTriggerBase, type Primitive, ProgressBase, type ProgressBaseProps, ProgressCirclesBase, type ProgressCirclesBaseProps, ProgressPanelsBase, type ProgressPanelsBaseProps, ProgressSegmentsBase, type ProgressSegmentsBaseProps, type ProgressType, RangePicker, type RangePickerProps, RefreshButton, SaveButton, ScrollAreaBase, ScrollBarBase, SearchButton, Select, SelectBase, SelectContentBase, SelectGroupBase, type SelectItem, SelectItemBase, SelectLabelBase, SelectScrollDownButtonBase, SelectScrollUpButtonBase, SelectSeparatorBase, SelectTriggerBase, SelectValueBase, SeparatorBase, type SeriesCounts, type SeriesEntry, type SeriesProp, SettingsButton, SheetBase, SheetCloseBase, SheetContentBase, SheetDescriptionBase, SheetFooterBase, SheetHeaderBase, SheetOverlayBase, SheetPortalBase, SheetTitleBase, SheetTriggerBase, ShowOnly, SidebarBase, SidebarContentBase, SidebarFooterBase, SidebarGroupActionBase, SidebarGroupBase, SidebarGroupContentBase, SidebarGroupLabelBase, SidebarHeaderBase, SidebarInputBase, SidebarInsetBase, SidebarMenuActionBase, SidebarMenuBadgeBase, SidebarMenuBase, SidebarMenuButtonBase, SidebarMenuItemBase, SidebarMenuSkeletonBase, SidebarMenuSubBase, SidebarMenuSubButtonBase, SidebarMenuSubItemBase, SidebarProviderBase, SidebarRailBase, SidebarSeparatorBase, SidebarTriggerBase, SkeletonBase, SlideBase, type SliderBaseProps, StartHour, StartHourAgenda, StatusIndicator, type StatusProps, SwitchBase, TableBase, TableBodyBase, TableCaptionBase, TableCellBase, TableFooterBase, TableHeadBase, TableHeaderBase, TableRowBase, TabsBase, TabsContentBase, TabsListBase, TabsTriggerBase, TextAreaBase, type TextAreaBaseProps, type Theme, ThemeProviderBase, TimePicker, TimePickerInput, type TimePickerInputProps, type TimePickerType, Toaster, type TooltipAdaptedRow, TooltipBase, TooltipContentBase, type TooltipItem, TooltipProviderBase, TooltipSimple, TooltipTriggerBase, RechartTooltipWithTotal as TooltipWithTotal, UndatedEvents, UniversalTooltipRenderer, UnlockButton, UploadButton, UseSideBarBase, type ValueFormatter, ViewButton, VisibilityButton, WeekCellsHeight, WeekCellsHeightAgenda, WeekView, WeekViewAgenda, type XAxisConfig, type YAxes, type YAxisMap, type YAxisOptions, type YAxisSide, addHoursToDate, addHoursToDateAgenda, addMinutesToDateAgenda, badgeVariants, buttonVariantsBase, compactTick, convert12HourTo24Hour, detectDataFields, detectXAxis, display12HourValue, formatFieldName, generateAdditionalColors, getAgendaEventsForDay, getAgendaEventsForDayAgenda, getAllEventsForDay, getAllEventsForDayAgenda, getArrowByType, getBorderRadiusClasses, getBorderRadiusClassesAgenda, getDateByType, getEventColorClasses, getEventColorClassesAgenda, getEventEndDate, getEventStartDate, getEventsForDay, getEventsForDayAgenda, getSpanningEventsForDay, getSpanningEventsForDayAgenda, getValid12Hour, getValidArrow12Hour, getValidArrowHour, getValidArrowMinuteOrSecond, getValidArrowNumber, getValidHour, getValidMinuteOrSecond, getValidNumber, isMultiDayEvent, isMultiDayEventAgenda, isValid12Hour, isValidHour, isValidMinuteOrSecond, niceCeil, normalizeAttendDate, renderInsideBarLabel, renderPillLabel, resolveChartMargins, resolveContainerPaddingLeft, set12Hours, setDateByType, setHours, setMinutes, setSeconds, sortEvents, sortEventsAgenda, toast, useCalendarDnd, useCalendarDndAgenda, useChartHighlights, useCurrentTimeIndicator, useCurrentTimeIndicatorAgenda, useDrag, useEventVisibility, useEventVisibilityAgenda, useIsMobile, useTheme, type valueFormatter };