@mlw-packages/react-components 1.7.19 → 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
  }
@@ -3610,9 +3629,6 @@ body {
3610
3629
  .ease-out {
3611
3630
  animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
3612
3631
  }
3613
- .running {
3614
- animation-play-state: running;
3615
- }
3616
3632
  :root {
3617
3633
  --white: #ffffff;
3618
3634
  --purple: #8e68ff;
@@ -4865,6 +4881,9 @@ body {
4865
4881
  .data-\[active\=true\]\:text-accent-foreground[data-active=true] {
4866
4882
  color: hsl(var(--accent-foreground));
4867
4883
  }
4884
+ .data-\[placeholder\]\:text-muted-foreground[data-placeholder] {
4885
+ color: hsl(var(--muted-foreground));
4886
+ }
4868
4887
  .data-\[selected\=true\]\:text-primary[data-selected=true] {
4869
4888
  color: hsl(var(--primary));
4870
4889
  }
@@ -5409,6 +5428,10 @@ body {
5409
5428
  --tw-bg-opacity: 1;
5410
5429
  background-color: rgb(51 65 85 / var(--tw-bg-opacity, 1));
5411
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
+ }
5412
5435
  .dark\:bg-slate-800\/60:is(.dark *) {
5413
5436
  background-color: rgb(30 41 59 / 0.6);
5414
5437
  }
@@ -5550,6 +5573,9 @@ body {
5550
5573
  .dark\:hover\:bg-emerald-400\/20:hover:is(.dark *) {
5551
5574
  background-color: rgb(52 211 153 / 0.2);
5552
5575
  }
5576
+ .dark\:hover\:bg-input\/50:hover:is(.dark *) {
5577
+ background-color: hsl(var(--input) / 0.5);
5578
+ }
5553
5579
  .dark\:hover\:bg-orange-400\/20:hover:is(.dark *) {
5554
5580
  background-color: rgb(251 146 60 / 0.2);
5555
5581
  }
@@ -5669,9 +5695,6 @@ body {
5669
5695
  }
5670
5696
  }
5671
5697
  @media (min-width: 480px) {
5672
- .min-\[480px\]\:inline-block {
5673
- display: inline-block;
5674
- }
5675
5698
  .min-\[480px\]\:hidden {
5676
5699
  display: none;
5677
5700
  }
@@ -5713,6 +5736,9 @@ body {
5713
5736
  .sm\:h-6 {
5714
5737
  height: 1.5rem;
5715
5738
  }
5739
+ .sm\:h-7 {
5740
+ height: 1.75rem;
5741
+ }
5716
5742
  .sm\:h-9 {
5717
5743
  height: 2.25rem;
5718
5744
  }
@@ -5737,6 +5763,9 @@ body {
5737
5763
  .sm\:w-6 {
5738
5764
  width: 1.5rem;
5739
5765
  }
5766
+ .sm\:w-7 {
5767
+ width: 1.75rem;
5768
+ }
5740
5769
  .sm\:w-9 {
5741
5770
  width: 2.25rem;
5742
5771
  }
@@ -5812,9 +5841,15 @@ body {
5812
5841
  margin-top: calc(0.75rem * calc(1 - var(--tw-space-y-reverse)));
5813
5842
  margin-bottom: calc(0.75rem * var(--tw-space-y-reverse));
5814
5843
  }
5844
+ .sm\:whitespace-normal {
5845
+ white-space: normal;
5846
+ }
5815
5847
  .sm\:rounded-lg {
5816
5848
  border-radius: var(--radius);
5817
5849
  }
5850
+ .sm\:p-2 {
5851
+ padding: 0.5rem;
5852
+ }
5818
5853
  .sm\:p-3 {
5819
5854
  padding: 0.75rem;
5820
5855
  }
@@ -5833,6 +5868,10 @@ body {
5833
5868
  padding-left: 1.5rem;
5834
5869
  padding-right: 1.5rem;
5835
5870
  }
5871
+ .sm\:py-1 {
5872
+ padding-top: 0.25rem;
5873
+ padding-bottom: 0.25rem;
5874
+ }
5836
5875
  .sm\:pe-4 {
5837
5876
  padding-inline-end: 1rem;
5838
5877
  }
@@ -5878,6 +5917,9 @@ body {
5878
5917
  font-size: 0.75rem;
5879
5918
  line-height: 1rem;
5880
5919
  }
5920
+ .sm\:tracking-wide {
5921
+ letter-spacing: 0.025em;
5922
+ }
5881
5923
  .data-\[vaul-drawer-direction\=left\]\:sm\:max-w-sm[data-vaul-drawer-direction=left] {
5882
5924
  max-width: 24rem;
5883
5925
  }
@@ -6047,6 +6089,16 @@ body {
6047
6089
  padding-left: 2rem;
6048
6090
  padding-right: 2rem;
6049
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
+ }
6050
6102
  }
6051
6103
  .\[\&\:has\(\[aria-selected\]\)\]\:bg-muted:has([aria-selected]) {
6052
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;
@@ -1726,17 +1730,17 @@ interface CalendarEventAgenda {
1726
1730
  description?: ReactNode;
1727
1731
  start?: Date | null;
1728
1732
  end?: Date | null;
1729
- attend_date?: Date | null;
1730
1733
  allDay?: boolean;
1731
1734
  color?: EventColorAgenda;
1732
1735
  location?: string;
1736
+ duration?: number;
1733
1737
  }
1734
1738
  type EventColorAgenda = "sky" | "amber" | "violet" | "rose" | "emerald" | "orange" | "green" | "blue" | "red" | "purple";
1735
1739
 
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;
@@ -1756,11 +1760,15 @@ interface EventCalendarProps {
1756
1760
  onEventUpdate?: (event: CalendarEventAgenda) => void;
1757
1761
  className?: string;
1758
1762
  initialView?: CalendarViewAgenda;
1759
- mode?: "agenda-only";
1760
- /** Optional initial date for the calendar (used by stories/tests) */
1761
1763
  initialDate?: Date;
1764
+ onClick?: ((event: CalendarEventAgenda, e?: React__default.MouseEvent) => void) | React__default.ReactElement<ModalLikeProps>;
1765
+ }
1766
+ interface ModalLikeProps {
1767
+ event?: CalendarEventAgenda;
1768
+ onClose?: () => void;
1769
+ [key: string]: unknown;
1762
1770
  }
1763
- declare function EventAgenda({ events, onEventUpdate, className, initialView, mode, initialDate, }: EventCalendarProps): react_jsx_runtime.JSX.Element;
1771
+ declare function EventAgenda({ events, onEventUpdate, className, initialView, initialDate, onClick, }: EventCalendarProps): react_jsx_runtime.JSX.Element;
1764
1772
 
1765
1773
  interface EventItemProps {
1766
1774
  event: CalendarEventAgenda;
@@ -1783,7 +1791,7 @@ declare function EventItemAgenda({ event, view, onClick, showTime, currentTime,
1783
1791
 
1784
1792
  interface UndatedEventsProps {
1785
1793
  events: CalendarEventAgenda[];
1786
- onEventSelect?: (event: CalendarEventAgenda) => void;
1794
+ onEventSelect?: (event: CalendarEventAgenda, e?: React.MouseEvent) => void;
1787
1795
  className?: string;
1788
1796
  title?: string;
1789
1797
  show?: boolean;
@@ -1813,7 +1821,7 @@ declare function useEventVisibilityAgenda({ eventHeight, eventGap, }: EventVisib
1813
1821
  interface MonthViewProps {
1814
1822
  currentDate: Date;
1815
1823
  events: CalendarEventAgenda[];
1816
- onEventSelect: (event: CalendarEventAgenda) => void;
1824
+ onEventSelect: (event: CalendarEventAgenda, e?: React__default.MouseEvent) => void;
1817
1825
  showUndatedEvents?: boolean;
1818
1826
  }
1819
1827
  declare function MonthViewAgenda({ currentDate, events, onEventSelect, showUndatedEvents, }: MonthViewProps): react_jsx_runtime.JSX.Element;
@@ -1844,19 +1852,30 @@ declare function getAllEventsForDayAgenda(events: CalendarEventAgenda[], day: Da
1844
1852
  * Get all events for a day (for agenda view)
1845
1853
  */
1846
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;
1847
1864
  declare function normalizeAttendDate(d?: unknown): Date | undefined;
1848
1865
  /**
1849
1866
  * Add hours to a date
1850
1867
  */
1868
+ declare function addMinutesToDateAgenda(date: Date, minutes: number): Date;
1851
1869
  declare function addHoursToDateAgenda(date: Date, hours: number): Date;
1852
1870
 
1853
1871
  interface WeekViewProps {
1854
1872
  currentDate: Date;
1855
1873
  events: CalendarEventAgenda[];
1856
- onEventSelect: (event: CalendarEventAgenda) => void;
1874
+ onEventSelect: (event: CalendarEventAgenda, e?: React__default.MouseEvent) => void;
1857
1875
  onEventCreate?: (startTime: Date) => void;
1876
+ showUndatedEvents?: boolean;
1858
1877
  }
1859
- declare function WeekViewAgenda({ currentDate, events, onEventSelect, onEventCreate, }: WeekViewProps): react_jsx_runtime.JSX.Element;
1878
+ declare function WeekViewAgenda({ currentDate, events, onEventSelect, onEventCreate, showUndatedEvents, }: WeekViewProps): react_jsx_runtime.JSX.Element;
1860
1879
 
1861
1880
  declare function useIsMobile(): boolean;
1862
1881
 
@@ -1877,4 +1896,4 @@ declare const useDrag: (options?: UseDragOptions) => {
1877
1896
  isDragging: boolean;
1878
1897
  };
1879
1898
 
1880
- 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;
@@ -1726,17 +1730,17 @@ interface CalendarEventAgenda {
1726
1730
  description?: ReactNode;
1727
1731
  start?: Date | null;
1728
1732
  end?: Date | null;
1729
- attend_date?: Date | null;
1730
1733
  allDay?: boolean;
1731
1734
  color?: EventColorAgenda;
1732
1735
  location?: string;
1736
+ duration?: number;
1733
1737
  }
1734
1738
  type EventColorAgenda = "sky" | "amber" | "violet" | "rose" | "emerald" | "orange" | "green" | "blue" | "red" | "purple";
1735
1739
 
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;
@@ -1756,11 +1760,15 @@ interface EventCalendarProps {
1756
1760
  onEventUpdate?: (event: CalendarEventAgenda) => void;
1757
1761
  className?: string;
1758
1762
  initialView?: CalendarViewAgenda;
1759
- mode?: "agenda-only";
1760
- /** Optional initial date for the calendar (used by stories/tests) */
1761
1763
  initialDate?: Date;
1764
+ onClick?: ((event: CalendarEventAgenda, e?: React__default.MouseEvent) => void) | React__default.ReactElement<ModalLikeProps>;
1765
+ }
1766
+ interface ModalLikeProps {
1767
+ event?: CalendarEventAgenda;
1768
+ onClose?: () => void;
1769
+ [key: string]: unknown;
1762
1770
  }
1763
- declare function EventAgenda({ events, onEventUpdate, className, initialView, mode, initialDate, }: EventCalendarProps): react_jsx_runtime.JSX.Element;
1771
+ declare function EventAgenda({ events, onEventUpdate, className, initialView, initialDate, onClick, }: EventCalendarProps): react_jsx_runtime.JSX.Element;
1764
1772
 
1765
1773
  interface EventItemProps {
1766
1774
  event: CalendarEventAgenda;
@@ -1783,7 +1791,7 @@ declare function EventItemAgenda({ event, view, onClick, showTime, currentTime,
1783
1791
 
1784
1792
  interface UndatedEventsProps {
1785
1793
  events: CalendarEventAgenda[];
1786
- onEventSelect?: (event: CalendarEventAgenda) => void;
1794
+ onEventSelect?: (event: CalendarEventAgenda, e?: React.MouseEvent) => void;
1787
1795
  className?: string;
1788
1796
  title?: string;
1789
1797
  show?: boolean;
@@ -1813,7 +1821,7 @@ declare function useEventVisibilityAgenda({ eventHeight, eventGap, }: EventVisib
1813
1821
  interface MonthViewProps {
1814
1822
  currentDate: Date;
1815
1823
  events: CalendarEventAgenda[];
1816
- onEventSelect: (event: CalendarEventAgenda) => void;
1824
+ onEventSelect: (event: CalendarEventAgenda, e?: React__default.MouseEvent) => void;
1817
1825
  showUndatedEvents?: boolean;
1818
1826
  }
1819
1827
  declare function MonthViewAgenda({ currentDate, events, onEventSelect, showUndatedEvents, }: MonthViewProps): react_jsx_runtime.JSX.Element;
@@ -1844,19 +1852,30 @@ declare function getAllEventsForDayAgenda(events: CalendarEventAgenda[], day: Da
1844
1852
  * Get all events for a day (for agenda view)
1845
1853
  */
1846
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;
1847
1864
  declare function normalizeAttendDate(d?: unknown): Date | undefined;
1848
1865
  /**
1849
1866
  * Add hours to a date
1850
1867
  */
1868
+ declare function addMinutesToDateAgenda(date: Date, minutes: number): Date;
1851
1869
  declare function addHoursToDateAgenda(date: Date, hours: number): Date;
1852
1870
 
1853
1871
  interface WeekViewProps {
1854
1872
  currentDate: Date;
1855
1873
  events: CalendarEventAgenda[];
1856
- onEventSelect: (event: CalendarEventAgenda) => void;
1874
+ onEventSelect: (event: CalendarEventAgenda, e?: React__default.MouseEvent) => void;
1857
1875
  onEventCreate?: (startTime: Date) => void;
1876
+ showUndatedEvents?: boolean;
1858
1877
  }
1859
- declare function WeekViewAgenda({ currentDate, events, onEventSelect, onEventCreate, }: WeekViewProps): react_jsx_runtime.JSX.Element;
1878
+ declare function WeekViewAgenda({ currentDate, events, onEventSelect, onEventCreate, showUndatedEvents, }: WeekViewProps): react_jsx_runtime.JSX.Element;
1860
1879
 
1861
1880
  declare function useIsMobile(): boolean;
1862
1881
 
@@ -1877,4 +1896,4 @@ declare const useDrag: (options?: UseDragOptions) => {
1877
1896
  isDragging: boolean;
1878
1897
  };
1879
1898
 
1880
- 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 };