@mlw-packages/react-components 1.8.0 → 1.8.2

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
@@ -334,28 +334,6 @@ video {
334
334
  [hidden]:where(:not([hidden=until-found])) {
335
335
  display: none;
336
336
  }
337
- * {
338
- scrollbar-width: thin;
339
- scrollbar-color: hsl(var(--border)) hsl(var(--background));
340
- border-color: hsl(var(--border));
341
- }
342
- *::-webkit-scrollbar {
343
- width: 8px;
344
- height: 8px;
345
- }
346
- *::-webkit-scrollbar-track {
347
- background: hsl(var(--background));
348
- }
349
- *::-webkit-scrollbar-thumb {
350
- background-color: hsl(var(--border));
351
- border-radius: 9999px;
352
- border: 2px solid hsl(var(--background));
353
- -webkit-transition: background-color 0.3s ease;
354
- transition: background-color 0.3s ease;
355
- }
356
- *::-webkit-scrollbar-thumb:hover {
357
- background-color: hsl(var(--muted));
358
- }
359
337
  body {
360
338
  background-color: hsl(var(--background));
361
339
  font-family:
@@ -1033,6 +1011,9 @@ body {
1033
1011
  .max-h-56 {
1034
1012
  max-height: 14rem;
1035
1013
  }
1014
+ .max-h-80 {
1015
+ max-height: 20rem;
1016
+ }
1036
1017
  .max-h-9 {
1037
1018
  max-height: 2.25rem;
1038
1019
  }
@@ -1659,6 +1640,9 @@ body {
1659
1640
  .justify-between {
1660
1641
  justify-content: space-between;
1661
1642
  }
1643
+ .gap-0 {
1644
+ gap: 0px;
1645
+ }
1662
1646
  .gap-0\.5 {
1663
1647
  gap: 0.125rem;
1664
1648
  }
@@ -1930,12 +1914,6 @@ body {
1930
1914
  border-top-left-radius: 0.75rem;
1931
1915
  border-top-right-radius: 0.75rem;
1932
1916
  }
1933
- .rounded-bl-md {
1934
- border-bottom-left-radius: calc(var(--radius) - 2px);
1935
- }
1936
- .rounded-tl-none {
1937
- border-top-left-radius: 0px;
1938
- }
1939
1917
  .rounded-tl-sm {
1940
1918
  border-top-left-radius: calc(var(--radius) - 4px);
1941
1919
  }
@@ -1974,9 +1952,6 @@ body {
1974
1952
  .border-t {
1975
1953
  border-top-width: 1px;
1976
1954
  }
1977
- .border-t-0 {
1978
- border-top-width: 0px;
1979
- }
1980
1955
  .border-t-2 {
1981
1956
  border-top-width: 2px;
1982
1957
  }
@@ -2629,6 +2604,9 @@ body {
2629
2604
  .fill-popover {
2630
2605
  fill: hsl(var(--popover));
2631
2606
  }
2607
+ .fill-primary {
2608
+ fill: hsl(var(--primary));
2609
+ }
2632
2610
  .stroke-\[rgba\(0\,0\,0\,0\.06\)\] {
2633
2611
  stroke: rgba(0, 0, 0, 0.06);
2634
2612
  }
@@ -5067,6 +5045,9 @@ body {
5067
5045
  .data-\[active\=true\]\:ring-ring\/50[data-active=true] {
5068
5046
  --tw-ring-color: hsl(var(--ring) / 0.5);
5069
5047
  }
5048
+ .data-\[state\=closed\]\:duration-150[data-state=closed] {
5049
+ transition-duration: 150ms;
5050
+ }
5070
5051
  .data-\[state\=closed\]\:duration-300[data-state=closed] {
5071
5052
  transition-duration: 300ms;
5072
5053
  }
@@ -5214,6 +5195,9 @@ body {
5214
5195
  .data-\[state\=open\]\:slide-in-from-top-\[48\%\][data-state=open] {
5215
5196
  --tw-enter-translate-y: -48%;
5216
5197
  }
5198
+ .data-\[state\=closed\]\:duration-150[data-state=closed] {
5199
+ animation-duration: 150ms;
5200
+ }
5217
5201
  .data-\[state\=closed\]\:duration-300[data-state=closed] {
5218
5202
  animation-duration: 300ms;
5219
5203
  }
@@ -5695,6 +5679,10 @@ body {
5695
5679
  --tw-text-opacity: 1;
5696
5680
  color: rgb(248 250 252 / var(--tw-text-opacity, 1));
5697
5681
  }
5682
+ .dark\:text-slate-500:is(.dark *) {
5683
+ --tw-text-opacity: 1;
5684
+ color: rgb(100 116 139 / var(--tw-text-opacity, 1));
5685
+ }
5698
5686
  .dark\:text-slate-900:is(.dark *) {
5699
5687
  --tw-text-opacity: 1;
5700
5688
  color: rgb(15 23 42 / var(--tw-text-opacity, 1));
@@ -5986,27 +5974,10 @@ body {
5986
5974
  .sm\:rounded-lg {
5987
5975
  border-radius: var(--radius);
5988
5976
  }
5989
- .sm\:rounded-b-none {
5990
- border-bottom-right-radius: 0px;
5991
- border-bottom-left-radius: 0px;
5992
- }
5993
- .sm\:rounded-r-md {
5994
- border-top-right-radius: calc(var(--radius) - 2px);
5995
- border-bottom-right-radius: calc(var(--radius) - 2px);
5996
- }
5997
5977
  .sm\:rounded-r-none {
5998
5978
  border-top-right-radius: 0px;
5999
5979
  border-bottom-right-radius: 0px;
6000
5980
  }
6001
- .sm\:border-b {
6002
- border-bottom-width: 1px;
6003
- }
6004
- .sm\:border-r {
6005
- border-right-width: 1px;
6006
- }
6007
- .sm\:border-t {
6008
- border-top-width: 1px;
6009
- }
6010
5981
  .sm\:p-2 {
6011
5982
  padding: 0.5rem;
6012
5983
  }
package/dist/index.d.mts CHANGED
@@ -38,9 +38,7 @@ declare const ErrorMessage: React$1.FC<ErrorMessageProps>;
38
38
  declare const SelectBase: React$1.FC<SelectPrimitive.SelectProps>;
39
39
  declare const SelectGroupBase: React$1.ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & React$1.RefAttributes<HTMLDivElement>>;
40
40
  declare const SelectValueBase: React$1.ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & React$1.RefAttributes<HTMLSpanElement>>;
41
- declare const SelectTriggerBase: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & ErrorMessageProps & {
42
- open?: boolean;
43
- } & React$1.RefAttributes<HTMLButtonElement>>;
41
+ declare const SelectTriggerBase: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & ErrorMessageProps & React$1.RefAttributes<HTMLButtonElement>>;
44
42
  declare const SelectScrollUpButtonBase: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollUpButtonProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
45
43
  declare const SelectScrollDownButtonBase: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollDownButtonProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
46
44
  declare const SelectContentBase: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
@@ -262,8 +260,10 @@ declare const toast: {
262
260
  };
263
261
 
264
262
  declare const TooltipProviderBase: React$1.FC<TooltipPrimitive.TooltipProviderProps>;
265
- declare const TooltipBase: React$1.FC<TooltipPrimitive.TooltipProps>;
266
- declare const TooltipTriggerBase: React$1.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
263
+ declare const TooltipBase: React$1.FC<React$1.ComponentProps<typeof TooltipPrimitive.Root>>;
264
+ declare const TooltipTriggerBase: React$1.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & {
265
+ button?: boolean;
266
+ } & React$1.RefAttributes<HTMLButtonElement>>;
267
267
  declare const TooltipContentBase: React$1.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
268
268
 
269
269
  declare const buttonVariantsBase: (props?: ({
@@ -382,7 +382,7 @@ declare const SwitchBase: React$1.ForwardRefExoticComponent<Omit<SwitchPrimitive
382
382
  } & React$1.RefAttributes<HTMLButtonElement>>;
383
383
 
384
384
  interface TextAreaBaseProps extends React$1.ComponentProps<"textarea"> {
385
- clearable?: boolean;
385
+ hideClear?: boolean;
386
386
  onClear?: () => void;
387
387
  }
388
388
  declare const TextAreaBase: React$1.ForwardRefExoticComponent<Omit<TextAreaBaseProps, "ref"> & React$1.RefAttributes<HTMLTextAreaElement>>;
@@ -802,8 +802,9 @@ interface DateTimePickerProps extends ErrorMessageProps {
802
802
  disabled?: boolean;
803
803
  className?: string;
804
804
  error?: string;
805
+ hideClear?: boolean;
805
806
  }
806
- declare function DateTimePicker({ label, date, onChange, onConfirm, displayFormat, hideTime, hideSeconds, fromDate, toDate, disabled, className, error, }: DateTimePickerProps): react_jsx_runtime.JSX.Element;
807
+ declare function DateTimePicker({ label, date, onChange, onConfirm, displayFormat, hideTime, hideSeconds, fromDate, toDate, disabled, className, error, hideClear, }: DateTimePickerProps): react_jsx_runtime.JSX.Element;
807
808
 
808
809
  interface RangePickerProps extends ErrorMessageProps {
809
810
  value?: DateRange;
@@ -898,6 +899,13 @@ interface TimePickerInputProps extends Omit<React__default.InputHTMLAttributes<H
898
899
  }
899
900
  declare const TimePickerInput: React__default.ForwardRefExoticComponent<TimePickerInputProps & React__default.RefAttributes<HTMLInputElement>>;
900
901
 
902
+ declare function visualForItem(item: number, value: number): {
903
+ scale: number;
904
+ opacity: number;
905
+ translateY: number;
906
+ distance: number;
907
+ };
908
+
901
909
  interface AgendaViewProps$1 {
902
910
  currentDate: Date;
903
911
  events: CalendarEventAgenda[];
@@ -1377,23 +1385,37 @@ declare function Combobox<T extends string>({ items, selected, onChange, classNa
1377
1385
 
1378
1386
  interface MultiComboboxTestIds {
1379
1387
  root?: string;
1380
- label?: string;
1381
- selectedWrapper?: string;
1382
- emptyPlaceholder?: string;
1383
- selectedItem?: (value: string) => string;
1384
- clearAll?: string;
1388
+ base?: string;
1389
+ trigger?: string;
1390
+ value?: string;
1391
+ content?: string;
1392
+ group?: string;
1393
+ item?: (value: string) => string;
1385
1394
  }
1386
- interface MultiComboboxProps<T extends string> extends Omit<ComboboxProps<T>, "selected" | "onChange">, ErrorMessageProps {
1395
+ interface MultiComboboxProps<T extends string> extends ErrorMessageProps {
1396
+ items: {
1397
+ label: string;
1398
+ value: T;
1399
+ }[];
1387
1400
  selected: T[];
1388
1401
  onChange: (value: T[]) => void;
1389
1402
  label?: string;
1390
1403
  labelClassname?: string;
1391
1404
  testIds?: MultiComboboxTestIds;
1392
- keepOpen?: boolean;
1393
- showClearAll?: boolean;
1394
1405
  disabled?: boolean;
1406
+ placeholder?: string;
1407
+ empty?: string;
1408
+ search?: boolean | {
1409
+ placeholder?: string;
1410
+ emptyMessage?: string;
1411
+ };
1412
+ clickToRemove?: boolean;
1413
+ overflowBehavior?: "wrap" | "wrap-when-open" | "cutoff";
1414
+ pagination?: number;
1415
+ searchPlaceholder?: string;
1416
+ className?: string;
1395
1417
  }
1396
- declare function MultiCombobox<T extends string>({ items, selected, onChange, className, placeholder, searchPlaceholder, label, labelClassname, testIds, error, disabled, keepOpen, showClearAll, empty, }: MultiComboboxProps<T>): react_jsx_runtime.JSX.Element;
1418
+ declare function MultiCombobox<T extends string>({ items, selected, onChange, label, labelClassname, testIds, disabled, placeholder, empty, error, search, clickToRemove, overflowBehavior, searchPlaceholder, className, }: MultiComboboxProps<T>): react_jsx_runtime.JSX.Element;
1397
1419
 
1398
1420
  type MultiSelectContextType = {
1399
1421
  open: boolean;
@@ -1440,6 +1462,56 @@ declare function MultiSelectItemBase({ value, children, badgeLabel, onSelect, ..
1440
1462
  declare function MultiSelectGroupBase(props: ComponentPropsWithoutRef<typeof CommandGroupBase>): react_jsx_runtime.JSX.Element;
1441
1463
  declare function MultiSelectSeparatorBase(props: ComponentPropsWithoutRef<typeof CommandSeparatorBase>): react_jsx_runtime.JSX.Element;
1442
1464
 
1465
+ interface MultiSelectItem<T extends string> {
1466
+ label: string;
1467
+ value: T;
1468
+ badgeLabel?: string;
1469
+ }
1470
+ interface MultiSelectTestIds {
1471
+ root?: string;
1472
+ base?: string;
1473
+ trigger?: string;
1474
+ value?: string;
1475
+ content?: string;
1476
+ group?: string;
1477
+ item?: (value: string) => string;
1478
+ paginationPrev?: string;
1479
+ paginationNext?: string;
1480
+ paginationPage?: (page: number) => string;
1481
+ }
1482
+ interface DefaultMultiSelectProps<T extends string> extends ErrorMessageProps {
1483
+ selected?: T[];
1484
+ defaultSelected?: T[];
1485
+ onChange?: (values: T[]) => void;
1486
+ placeholder?: string;
1487
+ disabled?: boolean;
1488
+ className?: string;
1489
+ label?: string;
1490
+ labelClassname?: string;
1491
+ pagination?: number;
1492
+ empty?: string;
1493
+ search?: boolean | {
1494
+ placeholder?: string;
1495
+ emptyMessage?: string;
1496
+ };
1497
+ clickToRemove?: boolean;
1498
+ overflowBehavior?: "wrap" | "wrap-when-open" | "cutoff";
1499
+ }
1500
+ interface MultiSelectPropsWithItems<T extends string> extends DefaultMultiSelectProps<T> {
1501
+ items: MultiSelectItem<T>[];
1502
+ groupItems?: never;
1503
+ testIds?: MultiSelectTestIds;
1504
+ }
1505
+ interface MultiSelectPropsWithGroupItems<T extends string> extends DefaultMultiSelectProps<T> {
1506
+ items?: never;
1507
+ groupItems: {
1508
+ [key: string]: MultiSelectItem<T>[];
1509
+ };
1510
+ testIds?: MultiSelectTestIds;
1511
+ }
1512
+ type MultiSelectProps<T extends string> = MultiSelectPropsWithItems<T> | MultiSelectPropsWithGroupItems<T>;
1513
+ declare function MultiSelect<T extends string>({ items, groupItems, placeholder, onChange, error, testIds, disabled, selected, defaultSelected, label, labelClassname, className, pagination, empty, search, clickToRemove, overflowBehavior, }: MultiSelectProps<T>): react_jsx_runtime.JSX.Element;
1514
+
1443
1515
  interface SelectItem<T extends string> {
1444
1516
  label: string;
1445
1517
  value: T;
@@ -1467,7 +1539,7 @@ interface DefaultSelectProps<T extends string> extends ErrorMessageProps {
1467
1539
  label?: string;
1468
1540
  labelClassname?: string;
1469
1541
  pagination?: number;
1470
- clearable?: boolean;
1542
+ hideClear?: boolean;
1471
1543
  }
1472
1544
  interface SelectPropsWithItems<T extends string> extends DefaultSelectProps<T> {
1473
1545
  items: SelectItem<T>[];
@@ -1482,7 +1554,7 @@ interface SelectPropsWithGroupItems<T extends string> extends DefaultSelectProps
1482
1554
  testIds?: SelectTestIds;
1483
1555
  }
1484
1556
  type NewSelectProps<T extends string> = SelectPropsWithItems<T> | SelectPropsWithGroupItems<T>;
1485
- declare function Select<T extends string>({ items, groupItems, placeholder, onChange, error, testIds, disabled, selected, label, labelClassname, className, pagination, clearable, }: NewSelectProps<T>): react_jsx_runtime.JSX.Element;
1557
+ declare function Select<T extends string>({ items, groupItems, placeholder, onChange, error, testIds, disabled, selected, label, labelClassname, className, pagination, hideClear, }: NewSelectProps<T>): react_jsx_runtime.JSX.Element;
1486
1558
 
1487
1559
  declare const formatFieldName: (fieldName: string) => string;
1488
1560
  declare const detectDataFields: (data: Record<string, unknown>[], xAxisKey: string) => string[];
@@ -1618,6 +1690,7 @@ interface ChartProps {
1618
1690
  maxTooltips?: number;
1619
1691
  formatBR?: boolean;
1620
1692
  legendUppercase?: boolean;
1693
+ isLoading?: boolean;
1621
1694
  }
1622
1695
  declare const Chart: React__default.FC<ChartProps>;
1623
1696
 
@@ -1903,10 +1976,8 @@ interface NoDataProps {
1903
1976
  message?: string;
1904
1977
  className?: string;
1905
1978
  title?: string;
1906
- subtitle?: string;
1907
- icon?: "chart" | "database" | "search";
1908
- showSuggestion?: boolean;
1909
- suggestionText?: string;
1979
+ isLoading?: boolean;
1980
+ loadingMessage?: string;
1910
1981
  }
1911
1982
  declare const NoData: React__default.FC<NoDataProps>;
1912
1983
 
@@ -1988,6 +2059,19 @@ interface ChartHooksArgs {
1988
2059
  xAxisLabel?: string;
1989
2060
  }
1990
2061
 
2062
+ interface LeaderboardItem {
2063
+ name: string;
2064
+ percentage: number;
2065
+ }
2066
+ interface LeaderboardProps {
2067
+ items?: LeaderboardItem[];
2068
+ order?: "asc" | "desc";
2069
+ title?: string;
2070
+ className?: string;
2071
+ isLoading?: boolean;
2072
+ }
2073
+ declare function Leaderboard({ items, order: initialOrder, title, className, isLoading, }: LeaderboardProps): react_jsx_runtime.JSX.Element;
2074
+
1991
2075
  declare function useIsMobile(): boolean;
1992
2076
 
1993
2077
  interface Position {
@@ -2007,4 +2091,4 @@ declare const useDrag: (options?: UseDragOptions) => {
2007
2091
  isDragging: boolean;
2008
2092
  };
2009
2093
 
2010
- export { AddButton, Agenda, AgendaDaysToShow, AgendaDaysToShowAgenda, AgendaView, AlertDialogActionBase, AlertDialogBase, AlertDialogCancelBase, AlertDialogContentBase, AlertDialogDescriptionBase, AlertDialogFooterBase, AlertDialogHeaderBase, AlertDialogOverlayBase, AlertDialogPortalBase, AlertDialogTitleBase, AlertDialogTriggerBase, AvatarBase, AvatarCombobox, type AvatarComboboxItem, type AvatarComboboxProps, type AvatarComboboxPropsWithGroupItems, type AvatarComboboxPropsWithItems, type AvatarComboboxTestIds, AvatarFallbackBase, AvatarImageBase, BackButton, Badge, type BadgeColorType, type BannerProps, 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, type DefaultAvatarComboboxProps, DefaultEndHour, DefaultEndHourAgenda, type DefaultSelectProps, 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, type IconProps, 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, type MultiComboboxProps, type MultiComboboxTestIds, MultiSelectBase, MultiSelectContentBase, type MultiSelectContextType, MultiSelectGroupBase, MultiSelectItemBase, MultiSelectSeparatorBase, MultiSelectTriggerBase, MultiSelectValueBase, NavigationMenuBase, NavigationMenuContentBase, NavigationMenuIndicatorBase, NavigationMenuItemBase, NavigationMenuLinkBase, NavigationMenuListBase, NavigationMenuTriggerBase, NavigationMenuViewportBase, type NewSelectProps, 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, type SelectPropsWithGroupItems, type SelectPropsWithItems, SelectScrollDownButtonBase, SelectScrollUpButtonBase, SelectSeparatorBase, type SelectTestIds, 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, type ValueFormatterType, ViewButton, VisibilityButton, WeekCellsHeight, WeekCellsHeightAgenda, WeekView, WeekViewAgenda, type XAxisConfig, type YAxes, type YAxisMap, type YAxisOptions, type YAxisSide, adaptDataForTooltip, addHoursToDate, addHoursToDateAgenda, addMinutesToDateAgenda, badgeVariants, buttonVariantsBase, compactTick, computeChartWidth, computeNiceMax, computeYAxisTickWidth, convert12HourTo24Hour, createValueFormatter, createYTickFormatter, detectDataFields, detectXAxis, display12HourValue, formatFieldName, generateAdditionalColors, generateColorMap, getAgendaEventsForDay, getAgendaEventsForDayAgenda, getAllEventsForDay, getAllEventsForDayAgenda, getArrowByType, getBorderRadiusClasses, getBorderRadiusClassesAgenda, getDateByType, getEventColorClasses, getEventColorClassesAgenda, getEventEndDate, getEventStartDate, getEventsForDay, getEventsForDayAgenda, getMaxDataValue, getMinDataValue, 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, useChartClick, useChartDimensions, useChartHighlights, useChartTooltips, useCurrentTimeIndicator, useCurrentTimeIndicatorAgenda, useDrag, useEventVisibility, useEventVisibilityAgenda, useIsMobile, useTheme, type valueFormatter };
2094
+ export { AddButton, Agenda, AgendaDaysToShow, AgendaDaysToShowAgenda, AgendaView, AlertDialogActionBase, AlertDialogBase, AlertDialogCancelBase, AlertDialogContentBase, AlertDialogDescriptionBase, AlertDialogFooterBase, AlertDialogHeaderBase, AlertDialogOverlayBase, AlertDialogPortalBase, AlertDialogTitleBase, AlertDialogTriggerBase, AvatarBase, AvatarCombobox, type AvatarComboboxItem, type AvatarComboboxProps, type AvatarComboboxPropsWithGroupItems, type AvatarComboboxPropsWithItems, type AvatarComboboxTestIds, AvatarFallbackBase, AvatarImageBase, BackButton, Badge, type BadgeColorType, type BannerProps, 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, type DefaultAvatarComboboxProps, DefaultEndHour, DefaultEndHourAgenda, type DefaultMultiSelectProps, type DefaultSelectProps, 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, type IconProps, InputBase, type InputBaseProps, InputOTPBase, InputOTPGroupBase, InputOTPSeparatorBase, InputOTPSlotBase, LabelBase, Leaderboard, 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, type MultiComboboxProps, type MultiComboboxTestIds, MultiSelect, MultiSelectBase, MultiSelectContentBase, type MultiSelectContextType, MultiSelectGroupBase, type MultiSelectItem, MultiSelectItemBase, type MultiSelectProps, type MultiSelectPropsWithGroupItems, type MultiSelectPropsWithItems, MultiSelectSeparatorBase, type MultiSelectTestIds, MultiSelectTriggerBase, MultiSelectValueBase, NavigationMenuBase, NavigationMenuContentBase, NavigationMenuIndicatorBase, NavigationMenuItemBase, NavigationMenuLinkBase, NavigationMenuListBase, NavigationMenuTriggerBase, NavigationMenuViewportBase, type NewSelectProps, 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, type SelectPropsWithGroupItems, type SelectPropsWithItems, SelectScrollDownButtonBase, SelectScrollUpButtonBase, SelectSeparatorBase, type SelectTestIds, 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, type ValueFormatterType, ViewButton, VisibilityButton, WeekCellsHeight, WeekCellsHeightAgenda, WeekView, WeekViewAgenda, type XAxisConfig, type YAxes, type YAxisMap, type YAxisOptions, type YAxisSide, adaptDataForTooltip, addHoursToDate, addHoursToDateAgenda, addMinutesToDateAgenda, badgeVariants, buttonVariantsBase, compactTick, computeChartWidth, computeNiceMax, computeYAxisTickWidth, convert12HourTo24Hour, createValueFormatter, createYTickFormatter, detectDataFields, detectXAxis, display12HourValue, formatFieldName, generateAdditionalColors, generateColorMap, getAgendaEventsForDay, getAgendaEventsForDayAgenda, getAllEventsForDay, getAllEventsForDayAgenda, getArrowByType, getBorderRadiusClasses, getBorderRadiusClassesAgenda, getDateByType, getEventColorClasses, getEventColorClassesAgenda, getEventEndDate, getEventStartDate, getEventsForDay, getEventsForDayAgenda, getMaxDataValue, getMinDataValue, 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, useChartClick, useChartDimensions, useChartHighlights, useChartTooltips, useCurrentTimeIndicator, useCurrentTimeIndicatorAgenda, useDrag, useEventVisibility, useEventVisibilityAgenda, useIsMobile, useTheme, type valueFormatter, visualForItem };
package/dist/index.d.ts CHANGED
@@ -38,9 +38,7 @@ declare const ErrorMessage: React$1.FC<ErrorMessageProps>;
38
38
  declare const SelectBase: React$1.FC<SelectPrimitive.SelectProps>;
39
39
  declare const SelectGroupBase: React$1.ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & React$1.RefAttributes<HTMLDivElement>>;
40
40
  declare const SelectValueBase: React$1.ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & React$1.RefAttributes<HTMLSpanElement>>;
41
- declare const SelectTriggerBase: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & ErrorMessageProps & {
42
- open?: boolean;
43
- } & React$1.RefAttributes<HTMLButtonElement>>;
41
+ declare const SelectTriggerBase: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & ErrorMessageProps & React$1.RefAttributes<HTMLButtonElement>>;
44
42
  declare const SelectScrollUpButtonBase: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollUpButtonProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
45
43
  declare const SelectScrollDownButtonBase: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollDownButtonProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
46
44
  declare const SelectContentBase: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
@@ -262,8 +260,10 @@ declare const toast: {
262
260
  };
263
261
 
264
262
  declare const TooltipProviderBase: React$1.FC<TooltipPrimitive.TooltipProviderProps>;
265
- declare const TooltipBase: React$1.FC<TooltipPrimitive.TooltipProps>;
266
- declare const TooltipTriggerBase: React$1.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
263
+ declare const TooltipBase: React$1.FC<React$1.ComponentProps<typeof TooltipPrimitive.Root>>;
264
+ declare const TooltipTriggerBase: React$1.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & {
265
+ button?: boolean;
266
+ } & React$1.RefAttributes<HTMLButtonElement>>;
267
267
  declare const TooltipContentBase: React$1.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
268
268
 
269
269
  declare const buttonVariantsBase: (props?: ({
@@ -382,7 +382,7 @@ declare const SwitchBase: React$1.ForwardRefExoticComponent<Omit<SwitchPrimitive
382
382
  } & React$1.RefAttributes<HTMLButtonElement>>;
383
383
 
384
384
  interface TextAreaBaseProps extends React$1.ComponentProps<"textarea"> {
385
- clearable?: boolean;
385
+ hideClear?: boolean;
386
386
  onClear?: () => void;
387
387
  }
388
388
  declare const TextAreaBase: React$1.ForwardRefExoticComponent<Omit<TextAreaBaseProps, "ref"> & React$1.RefAttributes<HTMLTextAreaElement>>;
@@ -802,8 +802,9 @@ interface DateTimePickerProps extends ErrorMessageProps {
802
802
  disabled?: boolean;
803
803
  className?: string;
804
804
  error?: string;
805
+ hideClear?: boolean;
805
806
  }
806
- declare function DateTimePicker({ label, date, onChange, onConfirm, displayFormat, hideTime, hideSeconds, fromDate, toDate, disabled, className, error, }: DateTimePickerProps): react_jsx_runtime.JSX.Element;
807
+ declare function DateTimePicker({ label, date, onChange, onConfirm, displayFormat, hideTime, hideSeconds, fromDate, toDate, disabled, className, error, hideClear, }: DateTimePickerProps): react_jsx_runtime.JSX.Element;
807
808
 
808
809
  interface RangePickerProps extends ErrorMessageProps {
809
810
  value?: DateRange;
@@ -898,6 +899,13 @@ interface TimePickerInputProps extends Omit<React__default.InputHTMLAttributes<H
898
899
  }
899
900
  declare const TimePickerInput: React__default.ForwardRefExoticComponent<TimePickerInputProps & React__default.RefAttributes<HTMLInputElement>>;
900
901
 
902
+ declare function visualForItem(item: number, value: number): {
903
+ scale: number;
904
+ opacity: number;
905
+ translateY: number;
906
+ distance: number;
907
+ };
908
+
901
909
  interface AgendaViewProps$1 {
902
910
  currentDate: Date;
903
911
  events: CalendarEventAgenda[];
@@ -1377,23 +1385,37 @@ declare function Combobox<T extends string>({ items, selected, onChange, classNa
1377
1385
 
1378
1386
  interface MultiComboboxTestIds {
1379
1387
  root?: string;
1380
- label?: string;
1381
- selectedWrapper?: string;
1382
- emptyPlaceholder?: string;
1383
- selectedItem?: (value: string) => string;
1384
- clearAll?: string;
1388
+ base?: string;
1389
+ trigger?: string;
1390
+ value?: string;
1391
+ content?: string;
1392
+ group?: string;
1393
+ item?: (value: string) => string;
1385
1394
  }
1386
- interface MultiComboboxProps<T extends string> extends Omit<ComboboxProps<T>, "selected" | "onChange">, ErrorMessageProps {
1395
+ interface MultiComboboxProps<T extends string> extends ErrorMessageProps {
1396
+ items: {
1397
+ label: string;
1398
+ value: T;
1399
+ }[];
1387
1400
  selected: T[];
1388
1401
  onChange: (value: T[]) => void;
1389
1402
  label?: string;
1390
1403
  labelClassname?: string;
1391
1404
  testIds?: MultiComboboxTestIds;
1392
- keepOpen?: boolean;
1393
- showClearAll?: boolean;
1394
1405
  disabled?: boolean;
1406
+ placeholder?: string;
1407
+ empty?: string;
1408
+ search?: boolean | {
1409
+ placeholder?: string;
1410
+ emptyMessage?: string;
1411
+ };
1412
+ clickToRemove?: boolean;
1413
+ overflowBehavior?: "wrap" | "wrap-when-open" | "cutoff";
1414
+ pagination?: number;
1415
+ searchPlaceholder?: string;
1416
+ className?: string;
1395
1417
  }
1396
- declare function MultiCombobox<T extends string>({ items, selected, onChange, className, placeholder, searchPlaceholder, label, labelClassname, testIds, error, disabled, keepOpen, showClearAll, empty, }: MultiComboboxProps<T>): react_jsx_runtime.JSX.Element;
1418
+ declare function MultiCombobox<T extends string>({ items, selected, onChange, label, labelClassname, testIds, disabled, placeholder, empty, error, search, clickToRemove, overflowBehavior, searchPlaceholder, className, }: MultiComboboxProps<T>): react_jsx_runtime.JSX.Element;
1397
1419
 
1398
1420
  type MultiSelectContextType = {
1399
1421
  open: boolean;
@@ -1440,6 +1462,56 @@ declare function MultiSelectItemBase({ value, children, badgeLabel, onSelect, ..
1440
1462
  declare function MultiSelectGroupBase(props: ComponentPropsWithoutRef<typeof CommandGroupBase>): react_jsx_runtime.JSX.Element;
1441
1463
  declare function MultiSelectSeparatorBase(props: ComponentPropsWithoutRef<typeof CommandSeparatorBase>): react_jsx_runtime.JSX.Element;
1442
1464
 
1465
+ interface MultiSelectItem<T extends string> {
1466
+ label: string;
1467
+ value: T;
1468
+ badgeLabel?: string;
1469
+ }
1470
+ interface MultiSelectTestIds {
1471
+ root?: string;
1472
+ base?: string;
1473
+ trigger?: string;
1474
+ value?: string;
1475
+ content?: string;
1476
+ group?: string;
1477
+ item?: (value: string) => string;
1478
+ paginationPrev?: string;
1479
+ paginationNext?: string;
1480
+ paginationPage?: (page: number) => string;
1481
+ }
1482
+ interface DefaultMultiSelectProps<T extends string> extends ErrorMessageProps {
1483
+ selected?: T[];
1484
+ defaultSelected?: T[];
1485
+ onChange?: (values: T[]) => void;
1486
+ placeholder?: string;
1487
+ disabled?: boolean;
1488
+ className?: string;
1489
+ label?: string;
1490
+ labelClassname?: string;
1491
+ pagination?: number;
1492
+ empty?: string;
1493
+ search?: boolean | {
1494
+ placeholder?: string;
1495
+ emptyMessage?: string;
1496
+ };
1497
+ clickToRemove?: boolean;
1498
+ overflowBehavior?: "wrap" | "wrap-when-open" | "cutoff";
1499
+ }
1500
+ interface MultiSelectPropsWithItems<T extends string> extends DefaultMultiSelectProps<T> {
1501
+ items: MultiSelectItem<T>[];
1502
+ groupItems?: never;
1503
+ testIds?: MultiSelectTestIds;
1504
+ }
1505
+ interface MultiSelectPropsWithGroupItems<T extends string> extends DefaultMultiSelectProps<T> {
1506
+ items?: never;
1507
+ groupItems: {
1508
+ [key: string]: MultiSelectItem<T>[];
1509
+ };
1510
+ testIds?: MultiSelectTestIds;
1511
+ }
1512
+ type MultiSelectProps<T extends string> = MultiSelectPropsWithItems<T> | MultiSelectPropsWithGroupItems<T>;
1513
+ declare function MultiSelect<T extends string>({ items, groupItems, placeholder, onChange, error, testIds, disabled, selected, defaultSelected, label, labelClassname, className, pagination, empty, search, clickToRemove, overflowBehavior, }: MultiSelectProps<T>): react_jsx_runtime.JSX.Element;
1514
+
1443
1515
  interface SelectItem<T extends string> {
1444
1516
  label: string;
1445
1517
  value: T;
@@ -1467,7 +1539,7 @@ interface DefaultSelectProps<T extends string> extends ErrorMessageProps {
1467
1539
  label?: string;
1468
1540
  labelClassname?: string;
1469
1541
  pagination?: number;
1470
- clearable?: boolean;
1542
+ hideClear?: boolean;
1471
1543
  }
1472
1544
  interface SelectPropsWithItems<T extends string> extends DefaultSelectProps<T> {
1473
1545
  items: SelectItem<T>[];
@@ -1482,7 +1554,7 @@ interface SelectPropsWithGroupItems<T extends string> extends DefaultSelectProps
1482
1554
  testIds?: SelectTestIds;
1483
1555
  }
1484
1556
  type NewSelectProps<T extends string> = SelectPropsWithItems<T> | SelectPropsWithGroupItems<T>;
1485
- declare function Select<T extends string>({ items, groupItems, placeholder, onChange, error, testIds, disabled, selected, label, labelClassname, className, pagination, clearable, }: NewSelectProps<T>): react_jsx_runtime.JSX.Element;
1557
+ declare function Select<T extends string>({ items, groupItems, placeholder, onChange, error, testIds, disabled, selected, label, labelClassname, className, pagination, hideClear, }: NewSelectProps<T>): react_jsx_runtime.JSX.Element;
1486
1558
 
1487
1559
  declare const formatFieldName: (fieldName: string) => string;
1488
1560
  declare const detectDataFields: (data: Record<string, unknown>[], xAxisKey: string) => string[];
@@ -1618,6 +1690,7 @@ interface ChartProps {
1618
1690
  maxTooltips?: number;
1619
1691
  formatBR?: boolean;
1620
1692
  legendUppercase?: boolean;
1693
+ isLoading?: boolean;
1621
1694
  }
1622
1695
  declare const Chart: React__default.FC<ChartProps>;
1623
1696
 
@@ -1903,10 +1976,8 @@ interface NoDataProps {
1903
1976
  message?: string;
1904
1977
  className?: string;
1905
1978
  title?: string;
1906
- subtitle?: string;
1907
- icon?: "chart" | "database" | "search";
1908
- showSuggestion?: boolean;
1909
- suggestionText?: string;
1979
+ isLoading?: boolean;
1980
+ loadingMessage?: string;
1910
1981
  }
1911
1982
  declare const NoData: React__default.FC<NoDataProps>;
1912
1983
 
@@ -1988,6 +2059,19 @@ interface ChartHooksArgs {
1988
2059
  xAxisLabel?: string;
1989
2060
  }
1990
2061
 
2062
+ interface LeaderboardItem {
2063
+ name: string;
2064
+ percentage: number;
2065
+ }
2066
+ interface LeaderboardProps {
2067
+ items?: LeaderboardItem[];
2068
+ order?: "asc" | "desc";
2069
+ title?: string;
2070
+ className?: string;
2071
+ isLoading?: boolean;
2072
+ }
2073
+ declare function Leaderboard({ items, order: initialOrder, title, className, isLoading, }: LeaderboardProps): react_jsx_runtime.JSX.Element;
2074
+
1991
2075
  declare function useIsMobile(): boolean;
1992
2076
 
1993
2077
  interface Position {
@@ -2007,4 +2091,4 @@ declare const useDrag: (options?: UseDragOptions) => {
2007
2091
  isDragging: boolean;
2008
2092
  };
2009
2093
 
2010
- export { AddButton, Agenda, AgendaDaysToShow, AgendaDaysToShowAgenda, AgendaView, AlertDialogActionBase, AlertDialogBase, AlertDialogCancelBase, AlertDialogContentBase, AlertDialogDescriptionBase, AlertDialogFooterBase, AlertDialogHeaderBase, AlertDialogOverlayBase, AlertDialogPortalBase, AlertDialogTitleBase, AlertDialogTriggerBase, AvatarBase, AvatarCombobox, type AvatarComboboxItem, type AvatarComboboxProps, type AvatarComboboxPropsWithGroupItems, type AvatarComboboxPropsWithItems, type AvatarComboboxTestIds, AvatarFallbackBase, AvatarImageBase, BackButton, Badge, type BadgeColorType, type BannerProps, 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, type DefaultAvatarComboboxProps, DefaultEndHour, DefaultEndHourAgenda, type DefaultSelectProps, 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, type IconProps, 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, type MultiComboboxProps, type MultiComboboxTestIds, MultiSelectBase, MultiSelectContentBase, type MultiSelectContextType, MultiSelectGroupBase, MultiSelectItemBase, MultiSelectSeparatorBase, MultiSelectTriggerBase, MultiSelectValueBase, NavigationMenuBase, NavigationMenuContentBase, NavigationMenuIndicatorBase, NavigationMenuItemBase, NavigationMenuLinkBase, NavigationMenuListBase, NavigationMenuTriggerBase, NavigationMenuViewportBase, type NewSelectProps, 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, type SelectPropsWithGroupItems, type SelectPropsWithItems, SelectScrollDownButtonBase, SelectScrollUpButtonBase, SelectSeparatorBase, type SelectTestIds, 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, type ValueFormatterType, ViewButton, VisibilityButton, WeekCellsHeight, WeekCellsHeightAgenda, WeekView, WeekViewAgenda, type XAxisConfig, type YAxes, type YAxisMap, type YAxisOptions, type YAxisSide, adaptDataForTooltip, addHoursToDate, addHoursToDateAgenda, addMinutesToDateAgenda, badgeVariants, buttonVariantsBase, compactTick, computeChartWidth, computeNiceMax, computeYAxisTickWidth, convert12HourTo24Hour, createValueFormatter, createYTickFormatter, detectDataFields, detectXAxis, display12HourValue, formatFieldName, generateAdditionalColors, generateColorMap, getAgendaEventsForDay, getAgendaEventsForDayAgenda, getAllEventsForDay, getAllEventsForDayAgenda, getArrowByType, getBorderRadiusClasses, getBorderRadiusClassesAgenda, getDateByType, getEventColorClasses, getEventColorClassesAgenda, getEventEndDate, getEventStartDate, getEventsForDay, getEventsForDayAgenda, getMaxDataValue, getMinDataValue, 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, useChartClick, useChartDimensions, useChartHighlights, useChartTooltips, useCurrentTimeIndicator, useCurrentTimeIndicatorAgenda, useDrag, useEventVisibility, useEventVisibilityAgenda, useIsMobile, useTheme, type valueFormatter };
2094
+ export { AddButton, Agenda, AgendaDaysToShow, AgendaDaysToShowAgenda, AgendaView, AlertDialogActionBase, AlertDialogBase, AlertDialogCancelBase, AlertDialogContentBase, AlertDialogDescriptionBase, AlertDialogFooterBase, AlertDialogHeaderBase, AlertDialogOverlayBase, AlertDialogPortalBase, AlertDialogTitleBase, AlertDialogTriggerBase, AvatarBase, AvatarCombobox, type AvatarComboboxItem, type AvatarComboboxProps, type AvatarComboboxPropsWithGroupItems, type AvatarComboboxPropsWithItems, type AvatarComboboxTestIds, AvatarFallbackBase, AvatarImageBase, BackButton, Badge, type BadgeColorType, type BannerProps, 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, type DefaultAvatarComboboxProps, DefaultEndHour, DefaultEndHourAgenda, type DefaultMultiSelectProps, type DefaultSelectProps, 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, type IconProps, InputBase, type InputBaseProps, InputOTPBase, InputOTPGroupBase, InputOTPSeparatorBase, InputOTPSlotBase, LabelBase, Leaderboard, 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, type MultiComboboxProps, type MultiComboboxTestIds, MultiSelect, MultiSelectBase, MultiSelectContentBase, type MultiSelectContextType, MultiSelectGroupBase, type MultiSelectItem, MultiSelectItemBase, type MultiSelectProps, type MultiSelectPropsWithGroupItems, type MultiSelectPropsWithItems, MultiSelectSeparatorBase, type MultiSelectTestIds, MultiSelectTriggerBase, MultiSelectValueBase, NavigationMenuBase, NavigationMenuContentBase, NavigationMenuIndicatorBase, NavigationMenuItemBase, NavigationMenuLinkBase, NavigationMenuListBase, NavigationMenuTriggerBase, NavigationMenuViewportBase, type NewSelectProps, 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, type SelectPropsWithGroupItems, type SelectPropsWithItems, SelectScrollDownButtonBase, SelectScrollUpButtonBase, SelectSeparatorBase, type SelectTestIds, 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, type ValueFormatterType, ViewButton, VisibilityButton, WeekCellsHeight, WeekCellsHeightAgenda, WeekView, WeekViewAgenda, type XAxisConfig, type YAxes, type YAxisMap, type YAxisOptions, type YAxisSide, adaptDataForTooltip, addHoursToDate, addHoursToDateAgenda, addMinutesToDateAgenda, badgeVariants, buttonVariantsBase, compactTick, computeChartWidth, computeNiceMax, computeYAxisTickWidth, convert12HourTo24Hour, createValueFormatter, createYTickFormatter, detectDataFields, detectXAxis, display12HourValue, formatFieldName, generateAdditionalColors, generateColorMap, getAgendaEventsForDay, getAgendaEventsForDayAgenda, getAllEventsForDay, getAllEventsForDayAgenda, getArrowByType, getBorderRadiusClasses, getBorderRadiusClassesAgenda, getDateByType, getEventColorClasses, getEventColorClassesAgenda, getEventEndDate, getEventStartDate, getEventsForDay, getEventsForDayAgenda, getMaxDataValue, getMinDataValue, 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, useChartClick, useChartDimensions, useChartHighlights, useChartTooltips, useCurrentTimeIndicator, useCurrentTimeIndicatorAgenda, useDrag, useEventVisibility, useEventVisibilityAgenda, useIsMobile, useTheme, type valueFormatter, visualForItem };