@mlw-packages/react-components 1.7.21 → 1.7.22
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 +3 -0
- package/dist/index.d.mts +75 -52
- package/dist/index.d.ts +75 -52
- package/dist/index.js +1265 -1229
- package/dist/index.mjs +1188 -1152
- package/package.json +1 -1
package/dist/index.css
CHANGED
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React$1 from 'react';
|
|
2
|
-
import React__default, { ReactNode, ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
import React__default, { ReactNode, ComponentPropsWithoutRef, ComponentType } 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';
|
|
@@ -125,7 +125,7 @@ interface SelectItem<T extends string> {
|
|
|
125
125
|
label: string;
|
|
126
126
|
value: T;
|
|
127
127
|
}
|
|
128
|
-
interface SelectTestIds
|
|
128
|
+
interface SelectTestIds {
|
|
129
129
|
root?: string;
|
|
130
130
|
base?: string;
|
|
131
131
|
trigger?: string;
|
|
@@ -139,7 +139,7 @@ interface SelectTestIds$1 {
|
|
|
139
139
|
paginationNext?: string;
|
|
140
140
|
paginationPage?: (page: number) => string;
|
|
141
141
|
}
|
|
142
|
-
interface DefaultSelectProps
|
|
142
|
+
interface DefaultSelectProps<T extends string> extends ErrorMessageProps {
|
|
143
143
|
selected: T | null;
|
|
144
144
|
onChange: (value: T) => void;
|
|
145
145
|
placeholder?: string;
|
|
@@ -149,63 +149,20 @@ interface DefaultSelectProps$1<T extends string> extends ErrorMessageProps {
|
|
|
149
149
|
labelClassname?: string;
|
|
150
150
|
pagination?: number;
|
|
151
151
|
}
|
|
152
|
-
interface SelectPropsWithItems
|
|
152
|
+
interface SelectPropsWithItems<T extends string> extends DefaultSelectProps<T> {
|
|
153
153
|
items: SelectItem<T>[];
|
|
154
154
|
groupItems?: never;
|
|
155
|
-
testIds?: SelectTestIds$1;
|
|
156
|
-
}
|
|
157
|
-
interface SelectPropsWithGroupItems$1<T extends string> extends DefaultSelectProps$1<T> {
|
|
158
|
-
items?: never;
|
|
159
|
-
groupItems: {
|
|
160
|
-
[key: string]: SelectItem<T>[];
|
|
161
|
-
};
|
|
162
|
-
testIds?: SelectTestIds$1;
|
|
163
|
-
}
|
|
164
|
-
type NewSelectProps<T extends string> = SelectPropsWithItems$1<T> | SelectPropsWithGroupItems$1<T>;
|
|
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;
|
|
166
|
-
|
|
167
|
-
interface AvatarComboboxItem<T extends string> {
|
|
168
|
-
label: string;
|
|
169
|
-
value: T;
|
|
170
|
-
avatar?: ReactNode;
|
|
171
|
-
avatarClassName?: string;
|
|
172
|
-
}
|
|
173
|
-
interface SelectTestIds {
|
|
174
|
-
root?: string;
|
|
175
|
-
base?: string;
|
|
176
|
-
trigger?: string;
|
|
177
|
-
value?: string;
|
|
178
|
-
scrollarea?: string;
|
|
179
|
-
content?: string;
|
|
180
|
-
group?: string;
|
|
181
|
-
label?: string;
|
|
182
|
-
item?: (value: string) => string;
|
|
183
|
-
}
|
|
184
|
-
interface DefaultSelectProps extends ErrorMessageProps {
|
|
185
|
-
placeholder?: string;
|
|
186
|
-
onChange: (value: string) => void;
|
|
187
|
-
disabled?: boolean;
|
|
188
|
-
className?: string;
|
|
189
|
-
colors?: string[];
|
|
190
|
-
}
|
|
191
|
-
interface SelectPropsWithItems<T extends string> extends DefaultSelectProps {
|
|
192
|
-
items: AvatarComboboxItem<T>[];
|
|
193
|
-
groupItems?: never;
|
|
194
155
|
testIds?: SelectTestIds;
|
|
195
156
|
}
|
|
196
|
-
interface SelectPropsWithGroupItems<T extends string> extends DefaultSelectProps {
|
|
157
|
+
interface SelectPropsWithGroupItems<T extends string> extends DefaultSelectProps<T> {
|
|
197
158
|
items?: never;
|
|
198
159
|
groupItems: {
|
|
199
|
-
[key: string]:
|
|
160
|
+
[key: string]: SelectItem<T>[];
|
|
200
161
|
};
|
|
201
162
|
testIds?: SelectTestIds;
|
|
202
163
|
}
|
|
203
|
-
type
|
|
204
|
-
declare function
|
|
205
|
-
selected?: T | null;
|
|
206
|
-
label?: string;
|
|
207
|
-
labelClassname?: string;
|
|
208
|
-
}): react_jsx_runtime.JSX.Element;
|
|
164
|
+
type NewSelectProps<T extends string> = SelectPropsWithItems<T> | SelectPropsWithGroupItems<T>;
|
|
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;
|
|
209
166
|
|
|
210
167
|
declare const formatFieldName: (fieldName: string) => string;
|
|
211
168
|
declare const detectDataFields: (data: Record<string, unknown>[], xAxisKey: string) => string[];
|
|
@@ -1649,6 +1606,17 @@ interface CheckboxTreeProps {
|
|
|
1649
1606
|
}
|
|
1650
1607
|
declare function CheckboxTree({ tree, renderNode }: CheckboxTreeProps): React__default.ReactNode;
|
|
1651
1608
|
|
|
1609
|
+
type MultiSelectContextType = {
|
|
1610
|
+
open: boolean;
|
|
1611
|
+
setOpen: (open: boolean) => void;
|
|
1612
|
+
selectedValues: Set<string>;
|
|
1613
|
+
toggleValue: (value: string) => void;
|
|
1614
|
+
items: Map<string, ReactNode>;
|
|
1615
|
+
onItemAdded: (value: string, label: ReactNode) => void;
|
|
1616
|
+
disabled?: boolean;
|
|
1617
|
+
emptyMessage?: ReactNode;
|
|
1618
|
+
error?: string;
|
|
1619
|
+
};
|
|
1652
1620
|
declare function MultiSelectBase({ children, values, defaultValues, onValuesChange, disabled, empty, error, }: {
|
|
1653
1621
|
children: ReactNode;
|
|
1654
1622
|
values?: string[];
|
|
@@ -1877,6 +1845,61 @@ interface WeekViewProps {
|
|
|
1877
1845
|
}
|
|
1878
1846
|
declare function WeekViewAgenda({ currentDate, events, onEventSelect, onEventCreate, showUndatedEvents, }: WeekViewProps): react_jsx_runtime.JSX.Element;
|
|
1879
1847
|
|
|
1848
|
+
type IconProps = {
|
|
1849
|
+
className?: string;
|
|
1850
|
+
size?: number | string;
|
|
1851
|
+
};
|
|
1852
|
+
type BannerProps = {
|
|
1853
|
+
icon?: ReactNode | ComponentType<IconProps>;
|
|
1854
|
+
title?: string;
|
|
1855
|
+
description?: string;
|
|
1856
|
+
actionText?: ReactNode;
|
|
1857
|
+
id?: string;
|
|
1858
|
+
};
|
|
1859
|
+
|
|
1860
|
+
interface AvatarComboboxItem<T extends string> {
|
|
1861
|
+
label: string;
|
|
1862
|
+
value: T;
|
|
1863
|
+
avatar?: ReactNode;
|
|
1864
|
+
avatarClassName?: string;
|
|
1865
|
+
}
|
|
1866
|
+
interface AvatarComboboxTestIds {
|
|
1867
|
+
root?: string;
|
|
1868
|
+
base?: string;
|
|
1869
|
+
trigger?: string;
|
|
1870
|
+
value?: string;
|
|
1871
|
+
scrollarea?: string;
|
|
1872
|
+
content?: string;
|
|
1873
|
+
group?: string;
|
|
1874
|
+
label?: string;
|
|
1875
|
+
item?: (value: string) => string;
|
|
1876
|
+
}
|
|
1877
|
+
interface DefaultAvatarComboboxProps extends ErrorMessageProps {
|
|
1878
|
+
placeholder?: string;
|
|
1879
|
+
onChange: (value: string) => void;
|
|
1880
|
+
disabled?: boolean;
|
|
1881
|
+
className?: string;
|
|
1882
|
+
colors?: string[];
|
|
1883
|
+
}
|
|
1884
|
+
interface AvatarComboboxPropsWithItems<T extends string> extends DefaultAvatarComboboxProps {
|
|
1885
|
+
items: AvatarComboboxItem<T>[];
|
|
1886
|
+
groupItems?: never;
|
|
1887
|
+
testIds?: AvatarComboboxTestIds;
|
|
1888
|
+
}
|
|
1889
|
+
interface AvatarComboboxPropsWithGroupItems<T extends string> extends DefaultAvatarComboboxProps {
|
|
1890
|
+
items?: never;
|
|
1891
|
+
groupItems: {
|
|
1892
|
+
[key: string]: AvatarComboboxItem<T>[];
|
|
1893
|
+
};
|
|
1894
|
+
testIds?: AvatarComboboxTestIds;
|
|
1895
|
+
}
|
|
1896
|
+
type AvatarComboboxProps<T extends string> = AvatarComboboxPropsWithItems<T> | AvatarComboboxPropsWithGroupItems<T>;
|
|
1897
|
+
declare function AvatarCombobox<T extends string>({ items, groupItems, placeholder, onChange, error, testIds, disabled, selected, label, labelClassname, className, colors, }: AvatarComboboxProps<T> & {
|
|
1898
|
+
selected?: T | null;
|
|
1899
|
+
label?: string;
|
|
1900
|
+
labelClassname?: string;
|
|
1901
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1902
|
+
|
|
1880
1903
|
declare function useIsMobile(): boolean;
|
|
1881
1904
|
|
|
1882
1905
|
interface Position {
|
|
@@ -1896,4 +1919,4 @@ declare const useDrag: (options?: UseDragOptions) => {
|
|
|
1896
1919
|
isDragging: boolean;
|
|
1897
1920
|
};
|
|
1898
1921
|
|
|
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 };
|
|
1922
|
+
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, 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
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React$1 from 'react';
|
|
2
|
-
import React__default, { ReactNode, ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
import React__default, { ReactNode, ComponentPropsWithoutRef, ComponentType } 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';
|
|
@@ -125,7 +125,7 @@ interface SelectItem<T extends string> {
|
|
|
125
125
|
label: string;
|
|
126
126
|
value: T;
|
|
127
127
|
}
|
|
128
|
-
interface SelectTestIds
|
|
128
|
+
interface SelectTestIds {
|
|
129
129
|
root?: string;
|
|
130
130
|
base?: string;
|
|
131
131
|
trigger?: string;
|
|
@@ -139,7 +139,7 @@ interface SelectTestIds$1 {
|
|
|
139
139
|
paginationNext?: string;
|
|
140
140
|
paginationPage?: (page: number) => string;
|
|
141
141
|
}
|
|
142
|
-
interface DefaultSelectProps
|
|
142
|
+
interface DefaultSelectProps<T extends string> extends ErrorMessageProps {
|
|
143
143
|
selected: T | null;
|
|
144
144
|
onChange: (value: T) => void;
|
|
145
145
|
placeholder?: string;
|
|
@@ -149,63 +149,20 @@ interface DefaultSelectProps$1<T extends string> extends ErrorMessageProps {
|
|
|
149
149
|
labelClassname?: string;
|
|
150
150
|
pagination?: number;
|
|
151
151
|
}
|
|
152
|
-
interface SelectPropsWithItems
|
|
152
|
+
interface SelectPropsWithItems<T extends string> extends DefaultSelectProps<T> {
|
|
153
153
|
items: SelectItem<T>[];
|
|
154
154
|
groupItems?: never;
|
|
155
|
-
testIds?: SelectTestIds$1;
|
|
156
|
-
}
|
|
157
|
-
interface SelectPropsWithGroupItems$1<T extends string> extends DefaultSelectProps$1<T> {
|
|
158
|
-
items?: never;
|
|
159
|
-
groupItems: {
|
|
160
|
-
[key: string]: SelectItem<T>[];
|
|
161
|
-
};
|
|
162
|
-
testIds?: SelectTestIds$1;
|
|
163
|
-
}
|
|
164
|
-
type NewSelectProps<T extends string> = SelectPropsWithItems$1<T> | SelectPropsWithGroupItems$1<T>;
|
|
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;
|
|
166
|
-
|
|
167
|
-
interface AvatarComboboxItem<T extends string> {
|
|
168
|
-
label: string;
|
|
169
|
-
value: T;
|
|
170
|
-
avatar?: ReactNode;
|
|
171
|
-
avatarClassName?: string;
|
|
172
|
-
}
|
|
173
|
-
interface SelectTestIds {
|
|
174
|
-
root?: string;
|
|
175
|
-
base?: string;
|
|
176
|
-
trigger?: string;
|
|
177
|
-
value?: string;
|
|
178
|
-
scrollarea?: string;
|
|
179
|
-
content?: string;
|
|
180
|
-
group?: string;
|
|
181
|
-
label?: string;
|
|
182
|
-
item?: (value: string) => string;
|
|
183
|
-
}
|
|
184
|
-
interface DefaultSelectProps extends ErrorMessageProps {
|
|
185
|
-
placeholder?: string;
|
|
186
|
-
onChange: (value: string) => void;
|
|
187
|
-
disabled?: boolean;
|
|
188
|
-
className?: string;
|
|
189
|
-
colors?: string[];
|
|
190
|
-
}
|
|
191
|
-
interface SelectPropsWithItems<T extends string> extends DefaultSelectProps {
|
|
192
|
-
items: AvatarComboboxItem<T>[];
|
|
193
|
-
groupItems?: never;
|
|
194
155
|
testIds?: SelectTestIds;
|
|
195
156
|
}
|
|
196
|
-
interface SelectPropsWithGroupItems<T extends string> extends DefaultSelectProps {
|
|
157
|
+
interface SelectPropsWithGroupItems<T extends string> extends DefaultSelectProps<T> {
|
|
197
158
|
items?: never;
|
|
198
159
|
groupItems: {
|
|
199
|
-
[key: string]:
|
|
160
|
+
[key: string]: SelectItem<T>[];
|
|
200
161
|
};
|
|
201
162
|
testIds?: SelectTestIds;
|
|
202
163
|
}
|
|
203
|
-
type
|
|
204
|
-
declare function
|
|
205
|
-
selected?: T | null;
|
|
206
|
-
label?: string;
|
|
207
|
-
labelClassname?: string;
|
|
208
|
-
}): react_jsx_runtime.JSX.Element;
|
|
164
|
+
type NewSelectProps<T extends string> = SelectPropsWithItems<T> | SelectPropsWithGroupItems<T>;
|
|
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;
|
|
209
166
|
|
|
210
167
|
declare const formatFieldName: (fieldName: string) => string;
|
|
211
168
|
declare const detectDataFields: (data: Record<string, unknown>[], xAxisKey: string) => string[];
|
|
@@ -1649,6 +1606,17 @@ interface CheckboxTreeProps {
|
|
|
1649
1606
|
}
|
|
1650
1607
|
declare function CheckboxTree({ tree, renderNode }: CheckboxTreeProps): React__default.ReactNode;
|
|
1651
1608
|
|
|
1609
|
+
type MultiSelectContextType = {
|
|
1610
|
+
open: boolean;
|
|
1611
|
+
setOpen: (open: boolean) => void;
|
|
1612
|
+
selectedValues: Set<string>;
|
|
1613
|
+
toggleValue: (value: string) => void;
|
|
1614
|
+
items: Map<string, ReactNode>;
|
|
1615
|
+
onItemAdded: (value: string, label: ReactNode) => void;
|
|
1616
|
+
disabled?: boolean;
|
|
1617
|
+
emptyMessage?: ReactNode;
|
|
1618
|
+
error?: string;
|
|
1619
|
+
};
|
|
1652
1620
|
declare function MultiSelectBase({ children, values, defaultValues, onValuesChange, disabled, empty, error, }: {
|
|
1653
1621
|
children: ReactNode;
|
|
1654
1622
|
values?: string[];
|
|
@@ -1877,6 +1845,61 @@ interface WeekViewProps {
|
|
|
1877
1845
|
}
|
|
1878
1846
|
declare function WeekViewAgenda({ currentDate, events, onEventSelect, onEventCreate, showUndatedEvents, }: WeekViewProps): react_jsx_runtime.JSX.Element;
|
|
1879
1847
|
|
|
1848
|
+
type IconProps = {
|
|
1849
|
+
className?: string;
|
|
1850
|
+
size?: number | string;
|
|
1851
|
+
};
|
|
1852
|
+
type BannerProps = {
|
|
1853
|
+
icon?: ReactNode | ComponentType<IconProps>;
|
|
1854
|
+
title?: string;
|
|
1855
|
+
description?: string;
|
|
1856
|
+
actionText?: ReactNode;
|
|
1857
|
+
id?: string;
|
|
1858
|
+
};
|
|
1859
|
+
|
|
1860
|
+
interface AvatarComboboxItem<T extends string> {
|
|
1861
|
+
label: string;
|
|
1862
|
+
value: T;
|
|
1863
|
+
avatar?: ReactNode;
|
|
1864
|
+
avatarClassName?: string;
|
|
1865
|
+
}
|
|
1866
|
+
interface AvatarComboboxTestIds {
|
|
1867
|
+
root?: string;
|
|
1868
|
+
base?: string;
|
|
1869
|
+
trigger?: string;
|
|
1870
|
+
value?: string;
|
|
1871
|
+
scrollarea?: string;
|
|
1872
|
+
content?: string;
|
|
1873
|
+
group?: string;
|
|
1874
|
+
label?: string;
|
|
1875
|
+
item?: (value: string) => string;
|
|
1876
|
+
}
|
|
1877
|
+
interface DefaultAvatarComboboxProps extends ErrorMessageProps {
|
|
1878
|
+
placeholder?: string;
|
|
1879
|
+
onChange: (value: string) => void;
|
|
1880
|
+
disabled?: boolean;
|
|
1881
|
+
className?: string;
|
|
1882
|
+
colors?: string[];
|
|
1883
|
+
}
|
|
1884
|
+
interface AvatarComboboxPropsWithItems<T extends string> extends DefaultAvatarComboboxProps {
|
|
1885
|
+
items: AvatarComboboxItem<T>[];
|
|
1886
|
+
groupItems?: never;
|
|
1887
|
+
testIds?: AvatarComboboxTestIds;
|
|
1888
|
+
}
|
|
1889
|
+
interface AvatarComboboxPropsWithGroupItems<T extends string> extends DefaultAvatarComboboxProps {
|
|
1890
|
+
items?: never;
|
|
1891
|
+
groupItems: {
|
|
1892
|
+
[key: string]: AvatarComboboxItem<T>[];
|
|
1893
|
+
};
|
|
1894
|
+
testIds?: AvatarComboboxTestIds;
|
|
1895
|
+
}
|
|
1896
|
+
type AvatarComboboxProps<T extends string> = AvatarComboboxPropsWithItems<T> | AvatarComboboxPropsWithGroupItems<T>;
|
|
1897
|
+
declare function AvatarCombobox<T extends string>({ items, groupItems, placeholder, onChange, error, testIds, disabled, selected, label, labelClassname, className, colors, }: AvatarComboboxProps<T> & {
|
|
1898
|
+
selected?: T | null;
|
|
1899
|
+
label?: string;
|
|
1900
|
+
labelClassname?: string;
|
|
1901
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1902
|
+
|
|
1880
1903
|
declare function useIsMobile(): boolean;
|
|
1881
1904
|
|
|
1882
1905
|
interface Position {
|
|
@@ -1896,4 +1919,4 @@ declare const useDrag: (options?: UseDragOptions) => {
|
|
|
1896
1919
|
isDragging: boolean;
|
|
1897
1920
|
};
|
|
1898
1921
|
|
|
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 };
|
|
1922
|
+
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, 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 };
|