@mlw-packages/react-components 1.7.7 → 1.7.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as React$1 from 'react';
2
- import React__default from 'react';
2
+ import React__default, { ReactNode } from 'react';
3
3
  import * as SelectPrimitive from '@radix-ui/react-select';
4
4
  import * as react_jsx_runtime from 'react/jsx-runtime';
5
5
  import * as AvatarPrimitive from '@radix-ui/react-avatar';
@@ -27,6 +27,8 @@ import * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu';
27
27
  import { Drawer } from 'vaul';
28
28
  import * as PopoverPrimitive from '@radix-ui/react-popover';
29
29
  import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
30
+ import { UniqueIdentifier, DraggableAttributes } from '@dnd-kit/core';
31
+ import { SyntheticListenerMap } from '@dnd-kit/core/dist/hooks/utilities';
30
32
 
31
33
  type ErrorMessageProps = {
32
34
  error?: string;
@@ -120,10 +122,47 @@ interface SelectItem<T extends string> {
120
122
  label: string;
121
123
  value: T;
122
124
  }
123
- interface DefaultSelectProps extends ErrorMessageProps {
124
- placeholder: string;
125
+ interface SelectTestIds$1 {
126
+ root?: string;
127
+ base?: string;
128
+ trigger?: string;
129
+ value?: string;
130
+ scrollarea?: string;
131
+ content?: string;
132
+ group?: string;
133
+ label?: string;
134
+ item?: (value: string) => string;
135
+ }
136
+ interface DefaultSelectProps$1 extends ErrorMessageProps {
137
+ placeholder?: string;
125
138
  onChange: (value: string) => void;
126
139
  disabled?: boolean;
140
+ className?: string;
141
+ }
142
+ interface SelectPropsWithItems$1<T extends string> extends DefaultSelectProps$1 {
143
+ items: SelectItem<T>[];
144
+ groupItems?: never;
145
+ testIds?: SelectTestIds$1;
146
+ }
147
+ interface SelectPropsWithGroupItems$1<T extends string> extends DefaultSelectProps$1 {
148
+ items?: never;
149
+ groupItems: {
150
+ [key: string]: SelectItem<T>[];
151
+ };
152
+ testIds?: SelectTestIds$1;
153
+ }
154
+ type NewSelectProps<T extends string> = SelectPropsWithItems$1<T> | SelectPropsWithGroupItems$1<T>;
155
+ declare function Select<T extends string>({ items, groupItems, placeholder, onChange, error, testIds, disabled, selected, label, labelClassname, className }: NewSelectProps<T> & {
156
+ selected?: T | null;
157
+ label?: string;
158
+ labelClassname?: string;
159
+ }): react_jsx_runtime.JSX.Element;
160
+
161
+ interface AvatarSelectItem<T extends string> {
162
+ label: string;
163
+ value: T;
164
+ avatar?: string;
165
+ avatarClassName?: string;
127
166
  }
128
167
  interface SelectTestIds {
129
168
  root?: string;
@@ -135,22 +174,31 @@ interface SelectTestIds {
135
174
  group?: string;
136
175
  label?: string;
137
176
  item?: (value: string) => string;
138
- error?: string;
177
+ }
178
+ interface DefaultSelectProps extends ErrorMessageProps {
179
+ placeholder?: string;
180
+ onChange: (value: string) => void;
181
+ disabled?: boolean;
182
+ className?: string;
139
183
  }
140
184
  interface SelectPropsWithItems<T extends string> extends DefaultSelectProps {
141
- items: SelectItem<T>[];
185
+ items: AvatarSelectItem<T>[];
142
186
  groupItems?: never;
143
187
  testIds?: SelectTestIds;
144
188
  }
145
189
  interface SelectPropsWithGroupItems<T extends string> extends DefaultSelectProps {
146
190
  items?: never;
147
191
  groupItems: {
148
- [key: string]: SelectItem<T>[];
192
+ [key: string]: AvatarSelectItem<T>[];
149
193
  };
150
194
  testIds?: SelectTestIds;
151
195
  }
152
- type SelectProps<T extends string> = SelectPropsWithItems<T> | SelectPropsWithGroupItems<T>;
153
- declare function Select<T extends string>({ items, groupItems, placeholder, onChange, error, testIds, disabled, }: SelectProps<T>): react_jsx_runtime.JSX.Element;
196
+ type AvatarSelectProps<T extends string> = SelectPropsWithItems<T> | SelectPropsWithGroupItems<T>;
197
+ declare function AvatarSelect<T extends string>({ items, groupItems, placeholder, onChange, error, testIds, disabled, selected, label, labelClassname, className, }: AvatarSelectProps<T> & {
198
+ selected?: T | null;
199
+ label?: string;
200
+ labelClassname?: string;
201
+ }): react_jsx_runtime.JSX.Element;
154
202
 
155
203
  declare const formatFieldName: (fieldName: string) => string;
156
204
  declare const detectDataFields: (data: Record<string, unknown>[], xAxisKey: string) => string[];
@@ -576,6 +624,7 @@ interface DestructiveDialogProps {
576
624
  onCancel?: () => void;
577
625
  children?: React$1.ReactNode;
578
626
  triggerContent?: React$1.ReactNode;
627
+ className?: string;
579
628
  }
580
629
  declare const DestructiveDialog: React$1.FC<DestructiveDialogProps>;
581
630
 
@@ -1273,6 +1322,214 @@ interface DebouncedInputProps extends Omit<React.InputHTMLAttributes<HTMLInputEl
1273
1322
  error?: string | undefined;
1274
1323
  }
1275
1324
 
1325
+ interface AgendaViewProps {
1326
+ currentDate: Date;
1327
+ events: CalendarEvent[];
1328
+ onEventSelect: (event: CalendarEvent) => void;
1329
+ }
1330
+ declare function AgendaView({ currentDate, events, onEventSelect, }: AgendaViewProps): react_jsx_runtime.JSX.Element;
1331
+
1332
+ interface CalendarDndProviderProps {
1333
+ children: ReactNode;
1334
+ onEventUpdate: (event: CalendarEvent) => void;
1335
+ }
1336
+ declare function CalendarDndProvider({ children, onEventUpdate, }: CalendarDndProviderProps): react_jsx_runtime.JSX.Element;
1337
+
1338
+ type CalendarDndContextType = {
1339
+ activeEvent: CalendarEvent | null;
1340
+ activeId: UniqueIdentifier | null;
1341
+ activeView: "month" | "week" | "day" | null;
1342
+ currentTime: Date | null;
1343
+ eventHeight: number | null;
1344
+ isMultiDay: boolean;
1345
+ multiDayWidth: number | null;
1346
+ dragHandlePosition: {
1347
+ x?: number;
1348
+ y?: number;
1349
+ data?: {
1350
+ isFirstDay?: boolean;
1351
+ isLastDay?: boolean;
1352
+ };
1353
+ } | null;
1354
+ };
1355
+ declare const useCalendarDnd: () => CalendarDndContextType;
1356
+
1357
+ declare const EventHeight = 24;
1358
+ declare const EventGap = 4;
1359
+ declare const WeekCellsHeight = 64;
1360
+ declare const AgendaDaysToShow = 30;
1361
+ declare const StartHour = 0;
1362
+ declare const EndHour = 24;
1363
+ declare const DefaultStartHour = 9;
1364
+ declare const DefaultEndHour = 10;
1365
+
1366
+ interface DayViewProps {
1367
+ currentDate: Date;
1368
+ events: CalendarEvent[];
1369
+ onEventSelect: (event: CalendarEvent) => void;
1370
+ onEventCreate: (startTime: Date) => void;
1371
+ }
1372
+ declare function DayView({ currentDate, events, onEventSelect, onEventCreate, }: DayViewProps): react_jsx_runtime.JSX.Element;
1373
+
1374
+ interface DraggableEventProps {
1375
+ event: CalendarEvent;
1376
+ view: "month" | "week" | "day";
1377
+ showTime?: boolean;
1378
+ onClick?: (e: React.MouseEvent) => void;
1379
+ height?: number;
1380
+ isMultiDay?: boolean;
1381
+ multiDayWidth?: number;
1382
+ isFirstDay?: boolean;
1383
+ isLastDay?: boolean;
1384
+ "aria-hidden"?: boolean | "true" | "false";
1385
+ }
1386
+ declare function DraggableEvent({ event, view, showTime, onClick, height, isMultiDay, multiDayWidth, isFirstDay, isLastDay, "aria-hidden": ariaHidden, }: DraggableEventProps): react_jsx_runtime.JSX.Element;
1387
+
1388
+ interface DroppableCellProps {
1389
+ id: string;
1390
+ date: Date;
1391
+ time?: number;
1392
+ children?: React.ReactNode;
1393
+ className?: string;
1394
+ onClick?: () => void;
1395
+ }
1396
+ declare function DroppableCell({ id, date, time, children, className, onClick, }: DroppableCellProps): react_jsx_runtime.JSX.Element;
1397
+
1398
+ interface EventCalendarProps {
1399
+ events?: CalendarEvent[];
1400
+ onEventAdd?: (event: CalendarEvent) => void;
1401
+ onEventUpdate?: (event: CalendarEvent) => void;
1402
+ onEventDelete?: (eventId: string) => void;
1403
+ className?: string;
1404
+ initialView?: CalendarView;
1405
+ }
1406
+ declare function EventCalendar({ events, onEventAdd, onEventUpdate, onEventDelete, className, initialView, }: EventCalendarProps): react_jsx_runtime.JSX.Element;
1407
+
1408
+ interface EventDialogProps {
1409
+ event: CalendarEvent | null;
1410
+ isOpen: boolean;
1411
+ onClose: () => void;
1412
+ onSave: (event: CalendarEvent) => void;
1413
+ onDelete: (eventId: string) => void;
1414
+ }
1415
+ declare function EventDialog({ event, isOpen, onClose, onSave, onDelete, }: EventDialogProps): react_jsx_runtime.JSX.Element;
1416
+
1417
+ interface EventItemProps {
1418
+ event: CalendarEvent;
1419
+ view: "month" | "week" | "day" | "agenda";
1420
+ isDragging?: boolean;
1421
+ onClick?: (e: React.MouseEvent) => void;
1422
+ showTime?: boolean;
1423
+ currentTime?: Date;
1424
+ isFirstDay?: boolean;
1425
+ isLastDay?: boolean;
1426
+ children?: React.ReactNode;
1427
+ className?: string;
1428
+ dndListeners?: SyntheticListenerMap;
1429
+ dndAttributes?: DraggableAttributes;
1430
+ onMouseDown?: (e: React.MouseEvent) => void;
1431
+ onTouchStart?: (e: React.TouchEvent) => void;
1432
+ }
1433
+ declare function EventItem({ event, view, isDragging, onClick, showTime, currentTime, isFirstDay, isLastDay, children, className, dndListeners, dndAttributes, onMouseDown, onTouchStart, }: EventItemProps): react_jsx_runtime.JSX.Element;
1434
+
1435
+ interface EventsPopupProps {
1436
+ date: Date;
1437
+ events: CalendarEvent[];
1438
+ position: {
1439
+ top: number;
1440
+ left: number;
1441
+ };
1442
+ onClose: () => void;
1443
+ onEventSelect: (event: CalendarEvent) => void;
1444
+ }
1445
+ declare function EventsPopup({ date, events, position, onClose, onEventSelect, }: EventsPopupProps): react_jsx_runtime.JSX.Element;
1446
+
1447
+ declare function useCurrentTimeIndicator(currentDate: Date, view: "day" | "week"): {
1448
+ currentTimePosition: number;
1449
+ currentTimeVisible: boolean;
1450
+ };
1451
+
1452
+ interface EventVisibilityOptions {
1453
+ eventHeight: number;
1454
+ eventGap: number;
1455
+ }
1456
+ interface EventVisibilityResult {
1457
+ contentRef: React.RefObject<HTMLDivElement>;
1458
+ contentHeight: number | null;
1459
+ getVisibleEventCount: (totalEvents: number) => number;
1460
+ }
1461
+ /**
1462
+ * Hook for calculating event visibility based on container height
1463
+ * Uses ResizeObserver for efficient updates
1464
+ */
1465
+ declare function useEventVisibility({ eventHeight, eventGap, }: EventVisibilityOptions): EventVisibilityResult;
1466
+
1467
+ interface MonthViewProps {
1468
+ currentDate: Date;
1469
+ events: CalendarEvent[];
1470
+ onEventSelect: (event: CalendarEvent) => void;
1471
+ onEventCreate: (startTime: Date) => void;
1472
+ }
1473
+ declare function MonthView({ currentDate, events, onEventSelect, onEventCreate, }: MonthViewProps): react_jsx_runtime.JSX.Element;
1474
+
1475
+ type CalendarView = "month" | "week" | "day" | "agenda";
1476
+ interface CalendarEvent {
1477
+ id: string;
1478
+ title: string;
1479
+ description?: string;
1480
+ start: Date;
1481
+ end: Date;
1482
+ allDay?: boolean;
1483
+ color?: EventColor;
1484
+ location?: string;
1485
+ }
1486
+ type EventColor = "sky" | "amber" | "violet" | "rose" | "emerald" | "orange";
1487
+
1488
+ /**
1489
+ * Get CSS classes for event colors
1490
+ */
1491
+ declare function getEventColorClasses(color?: EventColor | string): string;
1492
+ /**
1493
+ * Get CSS classes for border radius based on event position in multi-day events
1494
+ */
1495
+ declare function getBorderRadiusClasses(isFirstDay: boolean, isLastDay: boolean): string;
1496
+ /**
1497
+ * Check if an event is a multi-day event
1498
+ */
1499
+ declare function isMultiDayEvent(event: CalendarEvent): boolean;
1500
+ /**
1501
+ * Filter events for a specific day
1502
+ */
1503
+ declare function getEventsForDay(events: CalendarEvent[], day: Date): CalendarEvent[];
1504
+ /**
1505
+ * Sort events with multi-day events first, then by start time
1506
+ */
1507
+ declare function sortEvents(events: CalendarEvent[]): CalendarEvent[];
1508
+ /**
1509
+ * Get multi-day events that span across a specific day (but don't start on that day)
1510
+ */
1511
+ declare function getSpanningEventsForDay(events: CalendarEvent[], day: Date): CalendarEvent[];
1512
+ /**
1513
+ * Get all events visible on a specific day (starting, ending, or spanning)
1514
+ */
1515
+ declare function getAllEventsForDay(events: CalendarEvent[], day: Date): CalendarEvent[];
1516
+ /**
1517
+ * Get all events for a day (for agenda view)
1518
+ */
1519
+ declare function getAgendaEventsForDay(events: CalendarEvent[], day: Date): CalendarEvent[];
1520
+ /**
1521
+ * Add hours to a date
1522
+ */
1523
+ declare function addHoursToDate(date: Date, hours: number): Date;
1524
+
1525
+ interface WeekViewProps {
1526
+ currentDate: Date;
1527
+ events: CalendarEvent[];
1528
+ onEventSelect: (event: CalendarEvent) => void;
1529
+ onEventCreate: (startTime: Date) => void;
1530
+ }
1531
+ declare function WeekView({ currentDate, events, onEventSelect, onEventCreate, }: WeekViewProps): react_jsx_runtime.JSX.Element;
1532
+
1276
1533
  declare function useIsMobile(): boolean;
1277
1534
 
1278
1535
  interface Position {
@@ -1292,4 +1549,4 @@ declare const useDrag: (options?: UseDragOptions) => {
1292
1549
  isDragging: boolean;
1293
1550
  };
1294
1551
 
1295
- export { AddButton, AlertDialogActionBase, AlertDialogBase, AlertDialogCancelBase, AlertDialogContentBase, AlertDialogDescriptionBase, AlertDialogFooterBase, AlertDialogHeaderBase, AlertDialogOverlayBase, AlertDialogPortalBase, AlertDialogTitleBase, AlertDialogTriggerBase, AvatarBase, AvatarFallbackBase, AvatarImageBase, BackButton, Badge, type BadgeColorType, BarChart, BreadcrumbBase, BreadcrumbEllipsisBase, BreadcrumbItemBase, BreadcrumbLinkBase, BreadcrumbListBase, BreadcrumbPageBase, BreadcrumbSeparatorBase, ButtonBase, ButtonGroupBase, type ButtonProps, CalendarBase, type CalendarProps, CardBase, CardContentBase, CardDescriptionBase, CardFooterBase, CardHeaderBase, CardTitleBase, type CarouselApi, CarouselBase, CarouselContentBase, CarouselItemBase, CarouselNextBase, CarouselPreviousBase, ChangeButton, Chart, CheckButton, CheckboxBase, 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, type DebouncedInputProps, DestructiveDialog, DialogBase, DialogCloseBase, DialogContentBase, DialogDescriptionBase, DialogFooterBase, DialogHeaderBase, DialogOverlayBase, DialogPortalBase, DialogTitleBase, DialogTriggerBase, DownloadButton, 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, EditButton, ErrorMessage, FavoriteButton, FileUploader, type FileUploaderProps, type FileWithPreview, FilterButton, HideButton, Highlights, HoverCardBase, HoverCardContentBase, HoverCardTriggerBase, InputBase, type InputBaseProps, InputOTPBase, InputOTPGroupBase, InputOTPSeparatorBase, InputOTPSlotBase, LabelBase, LikeButton, CustomLineChart as LineChart, LoadingBase, LockButton, type Margins, ModalBase, ModalCloseBase, ModalContentBase, ModalDescriptionBase, ModalFooterBase, ModalHeaderBase, ModalOverlayBase, ModalPortalBase, ModalTitleBase, ModalTriggerBase, ModeToggleBase, MoreButton, MultiCombobox, NavigationMenuBase, NavigationMenuContentBase, NavigationMenuIndicatorBase, NavigationMenuItemBase, NavigationMenuLinkBase, NavigationMenuListBase, NavigationMenuTriggerBase, NavigationMenuViewportBase, NotificationButton, type Padding, type Period, PeriodsDropdown, CustomPieChart as PieChart, PopoverAnchorBase, PopoverBase, PopoverContentBase, PopoverTriggerBase, 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, 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, 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, TooltipBase, TooltipContentBase, TooltipProviderBase, TooltipSimple, TooltipTriggerBase, RechartTooltipWithTotal as TooltipWithTotal, UniversalTooltipRenderer, UnlockButton, UploadButton, UseSideBarBase, ViewButton, VisibilityButton, badgeVariants, buttonVariantsBase, compactTick, convert12HourTo24Hour, detectDataFields, detectXAxis, display12HourValue, formatFieldName, generateAdditionalColors, getArrowByType, getDateByType, getValid12Hour, getValidArrow12Hour, getValidArrowHour, getValidArrowMinuteOrSecond, getValidArrowNumber, getValidHour, getValidMinuteOrSecond, getValidNumber, isValid12Hour, isValidHour, isValidMinuteOrSecond, niceCeil, renderPillLabel, resolveChartMargins, resolveContainerPaddingLeft, set12Hours, setDateByType, setHours, setMinutes, setSeconds, toast, useChartHighlights, useDrag, useIsMobile, useTheme, type valueFormatter };
1552
+ export { AddButton, AgendaDaysToShow, AgendaView, AlertDialogActionBase, AlertDialogBase, AlertDialogCancelBase, AlertDialogContentBase, AlertDialogDescriptionBase, AlertDialogFooterBase, AlertDialogHeaderBase, AlertDialogOverlayBase, AlertDialogPortalBase, AlertDialogTitleBase, AlertDialogTriggerBase, AvatarBase, AvatarFallbackBase, AvatarImageBase, AvatarSelect, type AvatarSelectItem, BackButton, Badge, type BadgeColorType, BarChart, BreadcrumbBase, BreadcrumbEllipsisBase, BreadcrumbItemBase, BreadcrumbLinkBase, BreadcrumbListBase, BreadcrumbPageBase, BreadcrumbSeparatorBase, ButtonBase, ButtonGroupBase, type ButtonProps, CalendarBase, CalendarDndProvider, type CalendarEvent, type CalendarProps, type CalendarView, CardBase, CardContentBase, CardDescriptionBase, CardFooterBase, CardHeaderBase, CardTitleBase, type CarouselApi, CarouselBase, CarouselContentBase, CarouselItemBase, CarouselNextBase, CarouselPreviousBase, ChangeButton, Chart, CheckButton, CheckboxBase, 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, type DebouncedInputProps, DefaultEndHour, DefaultStartHour, 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, EditButton, EndHour, ErrorMessage, EventCalendar, type EventColor, EventDialog, EventGap, EventHeight, EventItem, EventsPopup, FavoriteButton, FileUploader, type FileUploaderProps, type FileWithPreview, FilterButton, HideButton, Highlights, HoverCardBase, HoverCardContentBase, HoverCardTriggerBase, InputBase, type InputBaseProps, InputOTPBase, InputOTPGroupBase, InputOTPSeparatorBase, InputOTPSlotBase, LabelBase, LikeButton, CustomLineChart as LineChart, LoadingBase, LockButton, type Margins, ModalBase, ModalCloseBase, ModalContentBase, ModalDescriptionBase, ModalFooterBase, ModalHeaderBase, ModalOverlayBase, ModalPortalBase, ModalTitleBase, ModalTriggerBase, ModeToggleBase, MonthView, MoreButton, MultiCombobox, NavigationMenuBase, NavigationMenuContentBase, NavigationMenuIndicatorBase, NavigationMenuItemBase, NavigationMenuLinkBase, NavigationMenuListBase, NavigationMenuTriggerBase, NavigationMenuViewportBase, NotificationButton, type Padding, type Period, PeriodsDropdown, CustomPieChart as PieChart, PopoverAnchorBase, PopoverBase, PopoverContentBase, PopoverTriggerBase, 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, 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, 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, TooltipBase, TooltipContentBase, TooltipProviderBase, TooltipSimple, TooltipTriggerBase, RechartTooltipWithTotal as TooltipWithTotal, UniversalTooltipRenderer, UnlockButton, UploadButton, UseSideBarBase, ViewButton, VisibilityButton, WeekCellsHeight, WeekView, addHoursToDate, badgeVariants, buttonVariantsBase, compactTick, convert12HourTo24Hour, detectDataFields, detectXAxis, display12HourValue, formatFieldName, generateAdditionalColors, getAgendaEventsForDay, getAllEventsForDay, getArrowByType, getBorderRadiusClasses, getDateByType, getEventColorClasses, getEventsForDay, getSpanningEventsForDay, getValid12Hour, getValidArrow12Hour, getValidArrowHour, getValidArrowMinuteOrSecond, getValidArrowNumber, getValidHour, getValidMinuteOrSecond, getValidNumber, isMultiDayEvent, isValid12Hour, isValidHour, isValidMinuteOrSecond, niceCeil, renderPillLabel, resolveChartMargins, resolveContainerPaddingLeft, set12Hours, setDateByType, setHours, setMinutes, setSeconds, sortEvents, toast, useCalendarDnd, useChartHighlights, useCurrentTimeIndicator, useDrag, useEventVisibility, useIsMobile, useTheme, type valueFormatter };