@mlw-packages/react-components 1.8.4 → 1.8.6
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 +149 -58
- package/dist/index.d.mts +93 -15
- package/dist/index.d.ts +93 -15
- package/dist/index.js +1401 -934
- package/dist/index.mjs +1465 -990
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -252,11 +252,11 @@ type ToasterProps = React.ComponentProps<typeof Toaster$1> & {
|
|
|
252
252
|
};
|
|
253
253
|
declare const Toaster: ({ testId, ...props }: ToasterProps) => react_jsx_runtime.JSX.Element;
|
|
254
254
|
declare const toast: {
|
|
255
|
-
success: (message: string) => string | number;
|
|
256
|
-
error: (message: string) => string | number;
|
|
257
|
-
warning: (message: string) => string | number;
|
|
258
|
-
info: (message: string) => string | number;
|
|
259
|
-
loading: (message: string) => string | number;
|
|
255
|
+
success: (message: string, description?: string) => string | number;
|
|
256
|
+
error: (message: string, description?: string) => string | number;
|
|
257
|
+
warning: (message: string, description?: string) => string | number;
|
|
258
|
+
info: (message: string, description?: string) => string | number;
|
|
259
|
+
loading: (message: string, description?: string) => string | number;
|
|
260
260
|
};
|
|
261
261
|
|
|
262
262
|
declare const TooltipProviderBase: React$1.FC<TooltipPrimitive.TooltipProviderProps>;
|
|
@@ -1381,8 +1381,9 @@ interface ComboboxProps<T extends string> extends ErrorMessageProps {
|
|
|
1381
1381
|
labelClassname?: string;
|
|
1382
1382
|
testIds?: ComboboxTestIds;
|
|
1383
1383
|
disabled?: boolean;
|
|
1384
|
+
hideClear?: boolean;
|
|
1384
1385
|
}
|
|
1385
|
-
declare function Combobox<T extends string>({ items, selected, onChange, className, placeholder, searchPlaceholder, empty, disabled, label, labelClassname, testIds, error, }: ComboboxProps<T>): react_jsx_runtime.JSX.Element;
|
|
1386
|
+
declare function Combobox<T extends string>({ items, selected, onChange, className, placeholder, searchPlaceholder, empty, disabled, label, labelClassname, testIds, error, hideClear, }: ComboboxProps<T>): react_jsx_runtime.JSX.Element;
|
|
1386
1387
|
|
|
1387
1388
|
interface MultiComboboxTestIds {
|
|
1388
1389
|
root?: string;
|
|
@@ -1429,7 +1430,7 @@ type MultiSelectContextType = {
|
|
|
1429
1430
|
emptyMessage?: ReactNode;
|
|
1430
1431
|
error?: string;
|
|
1431
1432
|
};
|
|
1432
|
-
declare function MultiSelectBase({ children, values, defaultValues, onValuesChange, disabled, empty, error, }: {
|
|
1433
|
+
declare function MultiSelectBase({ children, values, defaultValues, onValuesChange, disabled, empty, error, initialItems, }: {
|
|
1433
1434
|
children: ReactNode;
|
|
1434
1435
|
values?: string[];
|
|
1435
1436
|
defaultValues?: string[];
|
|
@@ -1437,6 +1438,10 @@ declare function MultiSelectBase({ children, values, defaultValues, onValuesChan
|
|
|
1437
1438
|
disabled?: boolean;
|
|
1438
1439
|
empty?: ReactNode;
|
|
1439
1440
|
error?: string;
|
|
1441
|
+
initialItems?: Map<string, ReactNode> | {
|
|
1442
|
+
value: string;
|
|
1443
|
+
label: ReactNode;
|
|
1444
|
+
}[];
|
|
1440
1445
|
}): react_jsx_runtime.JSX.Element;
|
|
1441
1446
|
declare function MultiSelectTriggerBase({ className, children, error: propError, label, labelClassname, ...props }: {
|
|
1442
1447
|
className?: string;
|
|
@@ -1634,7 +1639,7 @@ declare const renderPillLabel: (color: string, variant: Variant, valueFormatter?
|
|
|
1634
1639
|
|
|
1635
1640
|
declare const renderInsideBarLabel: (color: string, valueFormatter?: valueFormatter) => (props: LabelRendererProps) => react_jsx_runtime.JSX.Element;
|
|
1636
1641
|
|
|
1637
|
-
interface ChartData$
|
|
1642
|
+
interface ChartData$4 {
|
|
1638
1643
|
[key: string]: string | number | boolean | null | undefined;
|
|
1639
1644
|
}
|
|
1640
1645
|
interface XAxisConfig$2 {
|
|
@@ -1650,13 +1655,23 @@ interface BiaxialConfig {
|
|
|
1650
1655
|
decimals?: number;
|
|
1651
1656
|
stroke?: string | Record<string, string>;
|
|
1652
1657
|
}
|
|
1658
|
+
interface TimeSeriesConfig {
|
|
1659
|
+
start?: number;
|
|
1660
|
+
end?: number;
|
|
1661
|
+
onRangeChange?: (startIndex: number, endIndex: number) => void;
|
|
1662
|
+
height?: number;
|
|
1663
|
+
brushColor?: string;
|
|
1664
|
+
brushStroke?: string;
|
|
1665
|
+
miniChartOpacity?: number;
|
|
1666
|
+
chartHeight?: number;
|
|
1667
|
+
}
|
|
1653
1668
|
type SeriesProp$1 = {
|
|
1654
1669
|
bar?: string[];
|
|
1655
1670
|
line?: string[];
|
|
1656
1671
|
area?: string[];
|
|
1657
1672
|
};
|
|
1658
1673
|
interface ChartProps {
|
|
1659
|
-
data: ChartData$
|
|
1674
|
+
data: ChartData$4[];
|
|
1660
1675
|
series?: SeriesProp$1;
|
|
1661
1676
|
className?: string;
|
|
1662
1677
|
chartMargin?: Partial<{
|
|
@@ -1692,6 +1707,7 @@ interface ChartProps {
|
|
|
1692
1707
|
formatBR?: boolean;
|
|
1693
1708
|
legendUppercase?: boolean;
|
|
1694
1709
|
isLoading?: boolean;
|
|
1710
|
+
timeSeries?: boolean | TimeSeriesConfig;
|
|
1695
1711
|
}
|
|
1696
1712
|
declare const Chart: React__default.FC<ChartProps>;
|
|
1697
1713
|
|
|
@@ -1785,6 +1801,26 @@ interface CustomPieChartProps {
|
|
|
1785
1801
|
}
|
|
1786
1802
|
declare const CustomPieChart: React__default.FC<CustomPieChartProps>;
|
|
1787
1803
|
|
|
1804
|
+
interface TimeSeriesData {
|
|
1805
|
+
[key: string]: string | number | boolean | null | undefined;
|
|
1806
|
+
}
|
|
1807
|
+
interface TimeSeriesProps extends Omit<React__default.ComponentProps<typeof Chart>, "data" | "xAxis" | "timeSeries"> {
|
|
1808
|
+
data: TimeSeriesData[];
|
|
1809
|
+
xAxis: string;
|
|
1810
|
+
chartHeight?: number;
|
|
1811
|
+
height?: number;
|
|
1812
|
+
brushHeight?: number;
|
|
1813
|
+
start?: number;
|
|
1814
|
+
end?: number;
|
|
1815
|
+
defaultStartIndex?: number;
|
|
1816
|
+
defaultEndIndex?: number;
|
|
1817
|
+
onRangeChange?: (startIndex: number, endIndex: number) => void;
|
|
1818
|
+
brushColor?: string;
|
|
1819
|
+
brushStroke?: string;
|
|
1820
|
+
miniChartOpacity?: number;
|
|
1821
|
+
}
|
|
1822
|
+
declare const TimeSeries: React__default.FC<TimeSeriesProps>;
|
|
1823
|
+
|
|
1788
1824
|
interface Props$4 {
|
|
1789
1825
|
processedData: Array<{
|
|
1790
1826
|
name: string;
|
|
@@ -1903,6 +1939,33 @@ interface Props {
|
|
|
1903
1939
|
}
|
|
1904
1940
|
declare const TooltipSimple: React__default.FC<Props>;
|
|
1905
1941
|
|
|
1942
|
+
interface ChartData$3 {
|
|
1943
|
+
[key: string]: string | number | boolean | null | undefined;
|
|
1944
|
+
}
|
|
1945
|
+
interface BrushProps {
|
|
1946
|
+
data: ChartData$3[];
|
|
1947
|
+
startIndex: number;
|
|
1948
|
+
endIndex: number;
|
|
1949
|
+
onMouseDown: (e: React__default.MouseEvent, type: "start" | "end" | "middle") => void;
|
|
1950
|
+
brushRef: React__default.RefObject<HTMLDivElement | null>;
|
|
1951
|
+
xAxisKey: string;
|
|
1952
|
+
seriesOrder: Array<{
|
|
1953
|
+
type: "bar" | "line" | "area";
|
|
1954
|
+
key: string;
|
|
1955
|
+
}>;
|
|
1956
|
+
finalColors: Record<string, string>;
|
|
1957
|
+
brushHeight?: number;
|
|
1958
|
+
brushColor?: string;
|
|
1959
|
+
miniChartOpacity?: number;
|
|
1960
|
+
showGrid?: boolean;
|
|
1961
|
+
gridColor?: string;
|
|
1962
|
+
margin?: {
|
|
1963
|
+
left?: number;
|
|
1964
|
+
right?: number;
|
|
1965
|
+
};
|
|
1966
|
+
}
|
|
1967
|
+
declare const Brush: React__default.FC<BrushProps>;
|
|
1968
|
+
|
|
1906
1969
|
interface UseChartHighlightsReturn {
|
|
1907
1970
|
highlightedSeries: Set<string>;
|
|
1908
1971
|
showOnlyHighlighted: boolean;
|
|
@@ -1971,6 +2034,20 @@ declare const useChartClick: ({ enableDraggableTooltips, xAxisDataKey, toggleToo
|
|
|
1971
2034
|
handleSeriesClick: (...args: unknown[]) => void;
|
|
1972
2035
|
};
|
|
1973
2036
|
|
|
2037
|
+
interface UseTimeSeriesRangeProps {
|
|
2038
|
+
dataLength: number;
|
|
2039
|
+
defaultStartIndex?: number;
|
|
2040
|
+
defaultEndIndex?: number;
|
|
2041
|
+
onRangeChange?: (startIndex: number, endIndex: number) => void;
|
|
2042
|
+
}
|
|
2043
|
+
declare function useTimeSeriesRange({ dataLength, defaultStartIndex, defaultEndIndex, onRangeChange, }: UseTimeSeriesRangeProps): {
|
|
2044
|
+
startIndex: number;
|
|
2045
|
+
endIndex: number;
|
|
2046
|
+
isDragging: "end" | "start" | "middle" | null;
|
|
2047
|
+
brushRef: React$1.RefObject<HTMLDivElement | null>;
|
|
2048
|
+
handleMouseDown: (e: React.MouseEvent, type: "start" | "end" | "middle") => void;
|
|
2049
|
+
};
|
|
2050
|
+
|
|
1974
2051
|
interface NoDataProps {
|
|
1975
2052
|
paddingLeft?: number;
|
|
1976
2053
|
height?: number | string;
|
|
@@ -2060,18 +2137,19 @@ interface ChartHooksArgs {
|
|
|
2060
2137
|
xAxisLabel?: string;
|
|
2061
2138
|
}
|
|
2062
2139
|
|
|
2063
|
-
interface LeaderboardItem {
|
|
2140
|
+
interface LeaderboardItem<T extends string> {
|
|
2064
2141
|
name: string;
|
|
2065
|
-
|
|
2142
|
+
value: number | string | T;
|
|
2066
2143
|
}
|
|
2067
|
-
interface LeaderboardProps {
|
|
2068
|
-
items?: LeaderboardItem[];
|
|
2144
|
+
interface LeaderboardProps<T extends string> {
|
|
2145
|
+
items?: LeaderboardItem<T>[];
|
|
2069
2146
|
order?: "asc" | "desc";
|
|
2070
2147
|
title?: string;
|
|
2071
2148
|
className?: string;
|
|
2072
2149
|
isLoading?: boolean;
|
|
2150
|
+
legend?: [string, string][];
|
|
2073
2151
|
}
|
|
2074
|
-
declare function Leaderboard({ items, order: initialOrder, title, className, isLoading, }: LeaderboardProps): react_jsx_runtime.JSX.Element;
|
|
2152
|
+
declare function Leaderboard<T extends string>({ items, order: initialOrder, title, className, isLoading, legend, }: LeaderboardProps<T>): react_jsx_runtime.JSX.Element;
|
|
2075
2153
|
|
|
2076
2154
|
declare function useIsMobile(): boolean;
|
|
2077
2155
|
|
|
@@ -2092,4 +2170,4 @@ declare const useDrag: (options?: UseDragOptions) => {
|
|
|
2092
2170
|
isDragging: boolean;
|
|
2093
2171
|
};
|
|
2094
2172
|
|
|
2095
|
-
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 };
|
|
2173
|
+
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, Brush, 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, type LeaderboardItem, type LeaderboardProps, 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, TimeSeries, 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, useTimeSeriesRange, type valueFormatter, visualForItem };
|
package/dist/index.d.ts
CHANGED
|
@@ -252,11 +252,11 @@ type ToasterProps = React.ComponentProps<typeof Toaster$1> & {
|
|
|
252
252
|
};
|
|
253
253
|
declare const Toaster: ({ testId, ...props }: ToasterProps) => react_jsx_runtime.JSX.Element;
|
|
254
254
|
declare const toast: {
|
|
255
|
-
success: (message: string) => string | number;
|
|
256
|
-
error: (message: string) => string | number;
|
|
257
|
-
warning: (message: string) => string | number;
|
|
258
|
-
info: (message: string) => string | number;
|
|
259
|
-
loading: (message: string) => string | number;
|
|
255
|
+
success: (message: string, description?: string) => string | number;
|
|
256
|
+
error: (message: string, description?: string) => string | number;
|
|
257
|
+
warning: (message: string, description?: string) => string | number;
|
|
258
|
+
info: (message: string, description?: string) => string | number;
|
|
259
|
+
loading: (message: string, description?: string) => string | number;
|
|
260
260
|
};
|
|
261
261
|
|
|
262
262
|
declare const TooltipProviderBase: React$1.FC<TooltipPrimitive.TooltipProviderProps>;
|
|
@@ -1381,8 +1381,9 @@ interface ComboboxProps<T extends string> extends ErrorMessageProps {
|
|
|
1381
1381
|
labelClassname?: string;
|
|
1382
1382
|
testIds?: ComboboxTestIds;
|
|
1383
1383
|
disabled?: boolean;
|
|
1384
|
+
hideClear?: boolean;
|
|
1384
1385
|
}
|
|
1385
|
-
declare function Combobox<T extends string>({ items, selected, onChange, className, placeholder, searchPlaceholder, empty, disabled, label, labelClassname, testIds, error, }: ComboboxProps<T>): react_jsx_runtime.JSX.Element;
|
|
1386
|
+
declare function Combobox<T extends string>({ items, selected, onChange, className, placeholder, searchPlaceholder, empty, disabled, label, labelClassname, testIds, error, hideClear, }: ComboboxProps<T>): react_jsx_runtime.JSX.Element;
|
|
1386
1387
|
|
|
1387
1388
|
interface MultiComboboxTestIds {
|
|
1388
1389
|
root?: string;
|
|
@@ -1429,7 +1430,7 @@ type MultiSelectContextType = {
|
|
|
1429
1430
|
emptyMessage?: ReactNode;
|
|
1430
1431
|
error?: string;
|
|
1431
1432
|
};
|
|
1432
|
-
declare function MultiSelectBase({ children, values, defaultValues, onValuesChange, disabled, empty, error, }: {
|
|
1433
|
+
declare function MultiSelectBase({ children, values, defaultValues, onValuesChange, disabled, empty, error, initialItems, }: {
|
|
1433
1434
|
children: ReactNode;
|
|
1434
1435
|
values?: string[];
|
|
1435
1436
|
defaultValues?: string[];
|
|
@@ -1437,6 +1438,10 @@ declare function MultiSelectBase({ children, values, defaultValues, onValuesChan
|
|
|
1437
1438
|
disabled?: boolean;
|
|
1438
1439
|
empty?: ReactNode;
|
|
1439
1440
|
error?: string;
|
|
1441
|
+
initialItems?: Map<string, ReactNode> | {
|
|
1442
|
+
value: string;
|
|
1443
|
+
label: ReactNode;
|
|
1444
|
+
}[];
|
|
1440
1445
|
}): react_jsx_runtime.JSX.Element;
|
|
1441
1446
|
declare function MultiSelectTriggerBase({ className, children, error: propError, label, labelClassname, ...props }: {
|
|
1442
1447
|
className?: string;
|
|
@@ -1634,7 +1639,7 @@ declare const renderPillLabel: (color: string, variant: Variant, valueFormatter?
|
|
|
1634
1639
|
|
|
1635
1640
|
declare const renderInsideBarLabel: (color: string, valueFormatter?: valueFormatter) => (props: LabelRendererProps) => react_jsx_runtime.JSX.Element;
|
|
1636
1641
|
|
|
1637
|
-
interface ChartData$
|
|
1642
|
+
interface ChartData$4 {
|
|
1638
1643
|
[key: string]: string | number | boolean | null | undefined;
|
|
1639
1644
|
}
|
|
1640
1645
|
interface XAxisConfig$2 {
|
|
@@ -1650,13 +1655,23 @@ interface BiaxialConfig {
|
|
|
1650
1655
|
decimals?: number;
|
|
1651
1656
|
stroke?: string | Record<string, string>;
|
|
1652
1657
|
}
|
|
1658
|
+
interface TimeSeriesConfig {
|
|
1659
|
+
start?: number;
|
|
1660
|
+
end?: number;
|
|
1661
|
+
onRangeChange?: (startIndex: number, endIndex: number) => void;
|
|
1662
|
+
height?: number;
|
|
1663
|
+
brushColor?: string;
|
|
1664
|
+
brushStroke?: string;
|
|
1665
|
+
miniChartOpacity?: number;
|
|
1666
|
+
chartHeight?: number;
|
|
1667
|
+
}
|
|
1653
1668
|
type SeriesProp$1 = {
|
|
1654
1669
|
bar?: string[];
|
|
1655
1670
|
line?: string[];
|
|
1656
1671
|
area?: string[];
|
|
1657
1672
|
};
|
|
1658
1673
|
interface ChartProps {
|
|
1659
|
-
data: ChartData$
|
|
1674
|
+
data: ChartData$4[];
|
|
1660
1675
|
series?: SeriesProp$1;
|
|
1661
1676
|
className?: string;
|
|
1662
1677
|
chartMargin?: Partial<{
|
|
@@ -1692,6 +1707,7 @@ interface ChartProps {
|
|
|
1692
1707
|
formatBR?: boolean;
|
|
1693
1708
|
legendUppercase?: boolean;
|
|
1694
1709
|
isLoading?: boolean;
|
|
1710
|
+
timeSeries?: boolean | TimeSeriesConfig;
|
|
1695
1711
|
}
|
|
1696
1712
|
declare const Chart: React__default.FC<ChartProps>;
|
|
1697
1713
|
|
|
@@ -1785,6 +1801,26 @@ interface CustomPieChartProps {
|
|
|
1785
1801
|
}
|
|
1786
1802
|
declare const CustomPieChart: React__default.FC<CustomPieChartProps>;
|
|
1787
1803
|
|
|
1804
|
+
interface TimeSeriesData {
|
|
1805
|
+
[key: string]: string | number | boolean | null | undefined;
|
|
1806
|
+
}
|
|
1807
|
+
interface TimeSeriesProps extends Omit<React__default.ComponentProps<typeof Chart>, "data" | "xAxis" | "timeSeries"> {
|
|
1808
|
+
data: TimeSeriesData[];
|
|
1809
|
+
xAxis: string;
|
|
1810
|
+
chartHeight?: number;
|
|
1811
|
+
height?: number;
|
|
1812
|
+
brushHeight?: number;
|
|
1813
|
+
start?: number;
|
|
1814
|
+
end?: number;
|
|
1815
|
+
defaultStartIndex?: number;
|
|
1816
|
+
defaultEndIndex?: number;
|
|
1817
|
+
onRangeChange?: (startIndex: number, endIndex: number) => void;
|
|
1818
|
+
brushColor?: string;
|
|
1819
|
+
brushStroke?: string;
|
|
1820
|
+
miniChartOpacity?: number;
|
|
1821
|
+
}
|
|
1822
|
+
declare const TimeSeries: React__default.FC<TimeSeriesProps>;
|
|
1823
|
+
|
|
1788
1824
|
interface Props$4 {
|
|
1789
1825
|
processedData: Array<{
|
|
1790
1826
|
name: string;
|
|
@@ -1903,6 +1939,33 @@ interface Props {
|
|
|
1903
1939
|
}
|
|
1904
1940
|
declare const TooltipSimple: React__default.FC<Props>;
|
|
1905
1941
|
|
|
1942
|
+
interface ChartData$3 {
|
|
1943
|
+
[key: string]: string | number | boolean | null | undefined;
|
|
1944
|
+
}
|
|
1945
|
+
interface BrushProps {
|
|
1946
|
+
data: ChartData$3[];
|
|
1947
|
+
startIndex: number;
|
|
1948
|
+
endIndex: number;
|
|
1949
|
+
onMouseDown: (e: React__default.MouseEvent, type: "start" | "end" | "middle") => void;
|
|
1950
|
+
brushRef: React__default.RefObject<HTMLDivElement | null>;
|
|
1951
|
+
xAxisKey: string;
|
|
1952
|
+
seriesOrder: Array<{
|
|
1953
|
+
type: "bar" | "line" | "area";
|
|
1954
|
+
key: string;
|
|
1955
|
+
}>;
|
|
1956
|
+
finalColors: Record<string, string>;
|
|
1957
|
+
brushHeight?: number;
|
|
1958
|
+
brushColor?: string;
|
|
1959
|
+
miniChartOpacity?: number;
|
|
1960
|
+
showGrid?: boolean;
|
|
1961
|
+
gridColor?: string;
|
|
1962
|
+
margin?: {
|
|
1963
|
+
left?: number;
|
|
1964
|
+
right?: number;
|
|
1965
|
+
};
|
|
1966
|
+
}
|
|
1967
|
+
declare const Brush: React__default.FC<BrushProps>;
|
|
1968
|
+
|
|
1906
1969
|
interface UseChartHighlightsReturn {
|
|
1907
1970
|
highlightedSeries: Set<string>;
|
|
1908
1971
|
showOnlyHighlighted: boolean;
|
|
@@ -1971,6 +2034,20 @@ declare const useChartClick: ({ enableDraggableTooltips, xAxisDataKey, toggleToo
|
|
|
1971
2034
|
handleSeriesClick: (...args: unknown[]) => void;
|
|
1972
2035
|
};
|
|
1973
2036
|
|
|
2037
|
+
interface UseTimeSeriesRangeProps {
|
|
2038
|
+
dataLength: number;
|
|
2039
|
+
defaultStartIndex?: number;
|
|
2040
|
+
defaultEndIndex?: number;
|
|
2041
|
+
onRangeChange?: (startIndex: number, endIndex: number) => void;
|
|
2042
|
+
}
|
|
2043
|
+
declare function useTimeSeriesRange({ dataLength, defaultStartIndex, defaultEndIndex, onRangeChange, }: UseTimeSeriesRangeProps): {
|
|
2044
|
+
startIndex: number;
|
|
2045
|
+
endIndex: number;
|
|
2046
|
+
isDragging: "end" | "start" | "middle" | null;
|
|
2047
|
+
brushRef: React$1.RefObject<HTMLDivElement | null>;
|
|
2048
|
+
handleMouseDown: (e: React.MouseEvent, type: "start" | "end" | "middle") => void;
|
|
2049
|
+
};
|
|
2050
|
+
|
|
1974
2051
|
interface NoDataProps {
|
|
1975
2052
|
paddingLeft?: number;
|
|
1976
2053
|
height?: number | string;
|
|
@@ -2060,18 +2137,19 @@ interface ChartHooksArgs {
|
|
|
2060
2137
|
xAxisLabel?: string;
|
|
2061
2138
|
}
|
|
2062
2139
|
|
|
2063
|
-
interface LeaderboardItem {
|
|
2140
|
+
interface LeaderboardItem<T extends string> {
|
|
2064
2141
|
name: string;
|
|
2065
|
-
|
|
2142
|
+
value: number | string | T;
|
|
2066
2143
|
}
|
|
2067
|
-
interface LeaderboardProps {
|
|
2068
|
-
items?: LeaderboardItem[];
|
|
2144
|
+
interface LeaderboardProps<T extends string> {
|
|
2145
|
+
items?: LeaderboardItem<T>[];
|
|
2069
2146
|
order?: "asc" | "desc";
|
|
2070
2147
|
title?: string;
|
|
2071
2148
|
className?: string;
|
|
2072
2149
|
isLoading?: boolean;
|
|
2150
|
+
legend?: [string, string][];
|
|
2073
2151
|
}
|
|
2074
|
-
declare function Leaderboard({ items, order: initialOrder, title, className, isLoading, }: LeaderboardProps): react_jsx_runtime.JSX.Element;
|
|
2152
|
+
declare function Leaderboard<T extends string>({ items, order: initialOrder, title, className, isLoading, legend, }: LeaderboardProps<T>): react_jsx_runtime.JSX.Element;
|
|
2075
2153
|
|
|
2076
2154
|
declare function useIsMobile(): boolean;
|
|
2077
2155
|
|
|
@@ -2092,4 +2170,4 @@ declare const useDrag: (options?: UseDragOptions) => {
|
|
|
2092
2170
|
isDragging: boolean;
|
|
2093
2171
|
};
|
|
2094
2172
|
|
|
2095
|
-
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 };
|
|
2173
|
+
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, Brush, 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, type LeaderboardItem, type LeaderboardProps, 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, TimeSeries, 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, useTimeSeriesRange, type valueFormatter, visualForItem };
|