@mlw-packages/react-components 1.7.2 → 1.7.4
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 +159 -64
- package/dist/index.d.mts +97 -60
- package/dist/index.d.ts +97 -60
- package/dist/index.js +2593 -2206
- package/dist/index.mjs +2604 -2218
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -26,6 +26,7 @@ import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
|
26
26
|
import * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu';
|
|
27
27
|
import { Drawer } from 'vaul';
|
|
28
28
|
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
29
|
+
import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
|
|
29
30
|
|
|
30
31
|
type ErrorMessageProps = {
|
|
31
32
|
error?: string;
|
|
@@ -150,51 +151,6 @@ interface SelectPropsWithGroupItems<T extends string> extends DefaultSelectProps
|
|
|
150
151
|
type SelectProps<T extends string> = SelectPropsWithItems<T> | SelectPropsWithGroupItems<T>;
|
|
151
152
|
declare function Select<T extends string>({ items, groupItems, placeholder, onChange, error, testIds, }: SelectProps<T>): react_jsx_runtime.JSX.Element;
|
|
152
153
|
|
|
153
|
-
interface ChartData {
|
|
154
|
-
[key: string]: string | number | boolean | null | undefined;
|
|
155
|
-
}
|
|
156
|
-
interface XAxisConfig$1 {
|
|
157
|
-
dataKey: string;
|
|
158
|
-
label?: string;
|
|
159
|
-
formatter?: (value: string | number) => string;
|
|
160
|
-
autoLabel?: boolean;
|
|
161
|
-
}
|
|
162
|
-
type SeriesProp = {
|
|
163
|
-
bar?: string[];
|
|
164
|
-
line?: string[];
|
|
165
|
-
area?: string[];
|
|
166
|
-
};
|
|
167
|
-
interface ChartProps {
|
|
168
|
-
data: ChartData[];
|
|
169
|
-
series?: SeriesProp;
|
|
170
|
-
className?: string;
|
|
171
|
-
chartMargin?: Partial<{
|
|
172
|
-
top: number;
|
|
173
|
-
right: number;
|
|
174
|
-
left: number;
|
|
175
|
-
bottom: number;
|
|
176
|
-
}>;
|
|
177
|
-
height?: number;
|
|
178
|
-
width?: number | string;
|
|
179
|
-
colors?: string[];
|
|
180
|
-
gridColor?: string;
|
|
181
|
-
showGrid?: boolean;
|
|
182
|
-
showTooltip?: boolean;
|
|
183
|
-
showLegend?: boolean;
|
|
184
|
-
title?: string;
|
|
185
|
-
titlePosition?: "left" | "center" | "right";
|
|
186
|
-
showLabels?: boolean;
|
|
187
|
-
labelMap?: Record<string, string>;
|
|
188
|
-
xAxis?: XAxisConfig$1 | string;
|
|
189
|
-
enableHighlights?: boolean;
|
|
190
|
-
enableShowOnly?: boolean;
|
|
191
|
-
enablePeriodsDropdown?: boolean;
|
|
192
|
-
enableDraggableTooltips?: boolean;
|
|
193
|
-
showTooltipTotal?: boolean;
|
|
194
|
-
maxTooltips?: number;
|
|
195
|
-
}
|
|
196
|
-
declare const Chart: React__default.FC<ChartProps>;
|
|
197
|
-
|
|
198
154
|
declare const formatFieldName: (fieldName: string) => string;
|
|
199
155
|
declare const detectDataFields: (data: Record<string, unknown>[], xAxisKey: string) => string[];
|
|
200
156
|
declare const detectXAxis: (data: Record<string, unknown>[]) => string;
|
|
@@ -239,7 +195,66 @@ type LabelRendererProps = {
|
|
|
239
195
|
cx?: number | string;
|
|
240
196
|
cy?: number | string;
|
|
241
197
|
};
|
|
242
|
-
|
|
198
|
+
type valueFormatter = (props: {
|
|
199
|
+
value: number | string | undefined;
|
|
200
|
+
formattedValue: string;
|
|
201
|
+
[key: string]: unknown;
|
|
202
|
+
}) => string;
|
|
203
|
+
declare const renderPillLabel: (color: string, variant: Variant, valueFormatter?: valueFormatter) => (props: LabelRendererProps) => react_jsx_runtime.JSX.Element;
|
|
204
|
+
|
|
205
|
+
interface ChartData {
|
|
206
|
+
[key: string]: string | number | boolean | null | undefined;
|
|
207
|
+
}
|
|
208
|
+
interface XAxisConfig$1 {
|
|
209
|
+
dataKey: string;
|
|
210
|
+
label?: string;
|
|
211
|
+
valueFormatter?: (value: string | number) => string;
|
|
212
|
+
autoLabel?: boolean;
|
|
213
|
+
}
|
|
214
|
+
type SeriesProp = {
|
|
215
|
+
bar?: string[];
|
|
216
|
+
line?: string[];
|
|
217
|
+
area?: string[];
|
|
218
|
+
};
|
|
219
|
+
interface ChartProps {
|
|
220
|
+
data: ChartData[];
|
|
221
|
+
series?: SeriesProp;
|
|
222
|
+
className?: string;
|
|
223
|
+
chartMargin?: Partial<{
|
|
224
|
+
top: number;
|
|
225
|
+
right: number;
|
|
226
|
+
left: number;
|
|
227
|
+
bottom: number;
|
|
228
|
+
}>;
|
|
229
|
+
height?: number;
|
|
230
|
+
width?: number | string;
|
|
231
|
+
colors?: string[];
|
|
232
|
+
gridColor?: string;
|
|
233
|
+
showGrid?: boolean;
|
|
234
|
+
showTooltip?: boolean;
|
|
235
|
+
showLegend?: boolean;
|
|
236
|
+
title?: string;
|
|
237
|
+
titlePosition?: "left" | "center" | "right";
|
|
238
|
+
showLabels?: boolean;
|
|
239
|
+
labelMap?: Record<string, string>;
|
|
240
|
+
valueFormatter?: valueFormatter;
|
|
241
|
+
/** Formata valores categóricos (ex.: "BANANA" -> "Banana") apenas para exibição */
|
|
242
|
+
categoryFormatter?: (value: string | number) => string;
|
|
243
|
+
/** Label a ser exibido abaixo do eixo X */
|
|
244
|
+
xAxisLabel?: string;
|
|
245
|
+
/** Label a ser exibido ao lado do eixo Y */
|
|
246
|
+
yAxisLabel?: string;
|
|
247
|
+
xAxis?: XAxisConfig$1 | string;
|
|
248
|
+
enableHighlights?: boolean;
|
|
249
|
+
enableShowOnly?: boolean;
|
|
250
|
+
enablePeriodsDropdown?: boolean;
|
|
251
|
+
enableDraggableTooltips?: boolean;
|
|
252
|
+
showTooltipTotal?: boolean;
|
|
253
|
+
maxTooltips?: number;
|
|
254
|
+
/** Quando true, formata valores numéricos no formato pt-BR (ex: 00.000,00) */
|
|
255
|
+
formatBR?: boolean;
|
|
256
|
+
}
|
|
257
|
+
declare const Chart: React__default.FC<ChartProps>;
|
|
243
258
|
|
|
244
259
|
interface BarChartData {
|
|
245
260
|
[key: string]: string | number | boolean | null | undefined;
|
|
@@ -247,13 +262,13 @@ interface BarChartData {
|
|
|
247
262
|
interface XAxisConfig {
|
|
248
263
|
dataKey: string;
|
|
249
264
|
label?: string;
|
|
250
|
-
|
|
265
|
+
valueFormatter?: (value: string | number) => string;
|
|
251
266
|
autoLabel?: boolean;
|
|
252
267
|
}
|
|
253
268
|
interface DataMapper {
|
|
254
269
|
[dataKey: string]: {
|
|
255
270
|
label?: string;
|
|
256
|
-
|
|
271
|
+
valueFormatter?: (value: string | number) => string | number;
|
|
257
272
|
color?: string;
|
|
258
273
|
type?: "number" | "string" | "auto";
|
|
259
274
|
visible?: boolean;
|
|
@@ -359,7 +374,7 @@ declare const ShowOnly: React__default.FC<Props$3>;
|
|
|
359
374
|
|
|
360
375
|
interface MapperEntry {
|
|
361
376
|
label?: string;
|
|
362
|
-
|
|
377
|
+
valueFormatter?: (value: string | number) => string | number;
|
|
363
378
|
color?: string;
|
|
364
379
|
type?: string;
|
|
365
380
|
visible?: boolean;
|
|
@@ -411,6 +426,8 @@ interface DraggableTooltipProps {
|
|
|
411
426
|
highlightedSeries?: Set<string>;
|
|
412
427
|
toggleHighlight?: (key: string) => void;
|
|
413
428
|
showOnlyHighlighted?: boolean;
|
|
429
|
+
valueFormatter?: valueFormatter;
|
|
430
|
+
categoryFormatter?: (value: string | number) => string;
|
|
414
431
|
}
|
|
415
432
|
declare const DraggableTooltip: React__default.NamedExoticComponent<DraggableTooltipProps>;
|
|
416
433
|
|
|
@@ -427,6 +444,8 @@ interface Props$1 {
|
|
|
427
444
|
finalColors?: Record<string, string>;
|
|
428
445
|
periodLabel?: string;
|
|
429
446
|
totalLabel?: string;
|
|
447
|
+
valueFormatter?: valueFormatter;
|
|
448
|
+
categoryFormatter?: (value: string | number) => string;
|
|
430
449
|
}
|
|
431
450
|
declare const RechartTooltipWithTotal: React__default.FC<Props$1>;
|
|
432
451
|
|
|
@@ -442,6 +461,8 @@ interface Props {
|
|
|
442
461
|
label?: string;
|
|
443
462
|
finalColors?: Record<string, string>;
|
|
444
463
|
periodLabel?: string;
|
|
464
|
+
valueFormatter?: valueFormatter;
|
|
465
|
+
categoryFormatter?: (value: string | number) => string;
|
|
445
466
|
}
|
|
446
467
|
declare const TooltipSimple: React__default.FC<Props>;
|
|
447
468
|
|
|
@@ -741,14 +762,6 @@ declare const ChangeButton: React$1.ForwardRefExoticComponent<QuickButtonProps &
|
|
|
741
762
|
declare const SaveButton: React$1.ForwardRefExoticComponent<QuickButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
742
763
|
declare const AddButton: React$1.ForwardRefExoticComponent<QuickButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
743
764
|
declare const CloseButton: React$1.ForwardRefExoticComponent<QuickButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
744
|
-
interface DeleteButtonProps extends QuickButtonProps {
|
|
745
|
-
destructiveTitle?: string;
|
|
746
|
-
destructiveDescription?: string;
|
|
747
|
-
destructiveOnConfirm?: () => void;
|
|
748
|
-
destructiveOnCancel?: () => void;
|
|
749
|
-
destructiveTriggerContent?: React$1.ReactNode;
|
|
750
|
-
}
|
|
751
|
-
declare const DeleteButton: React$1.ForwardRefExoticComponent<DeleteButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
752
765
|
declare const DownloadButton: React$1.FC<QuickButtonProps>;
|
|
753
766
|
declare const UploadButton: React$1.FC<QuickButtonProps>;
|
|
754
767
|
declare const CopyButton: React$1.FC<QuickButtonProps>;
|
|
@@ -1089,7 +1102,8 @@ interface DateTimePickerProps extends ErrorMessageProps {
|
|
|
1089
1102
|
label?: string;
|
|
1090
1103
|
date: Date | undefined;
|
|
1091
1104
|
onChange: (date: Date | undefined) => void;
|
|
1092
|
-
|
|
1105
|
+
displayFormat?: string;
|
|
1106
|
+
hideTime?: boolean;
|
|
1093
1107
|
hideSeconds?: boolean;
|
|
1094
1108
|
hideHour?: boolean;
|
|
1095
1109
|
hideMinute?: boolean;
|
|
@@ -1099,7 +1113,7 @@ interface DateTimePickerProps extends ErrorMessageProps {
|
|
|
1099
1113
|
className?: string;
|
|
1100
1114
|
error?: string;
|
|
1101
1115
|
}
|
|
1102
|
-
declare function DateTimePicker({ label, date, onChange,
|
|
1116
|
+
declare function DateTimePicker({ label, date, onChange, displayFormat, hideTime, hideSeconds, hideHour, hideMinute, fromDate, toDate, disabled, className, error, }: DateTimePickerProps): react_jsx_runtime.JSX.Element;
|
|
1103
1117
|
|
|
1104
1118
|
interface RangePickerProps extends ErrorMessageProps {
|
|
1105
1119
|
value?: DateRange;
|
|
@@ -1191,6 +1205,29 @@ interface TimePickerInputProps extends Omit<React__default.InputHTMLAttributes<H
|
|
|
1191
1205
|
}
|
|
1192
1206
|
declare const TimePickerInput: React__default.ForwardRefExoticComponent<TimePickerInputProps & React__default.RefAttributes<HTMLInputElement>>;
|
|
1193
1207
|
|
|
1208
|
+
declare function ContextMenuBase(props: React$1.ComponentProps<typeof ContextMenuPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
1209
|
+
declare function ContextMenuTriggerBase(props: React$1.ComponentProps<typeof ContextMenuPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
1210
|
+
declare function ContextMenuGroupBase(props: React$1.ComponentProps<typeof ContextMenuPrimitive.Group>): react_jsx_runtime.JSX.Element;
|
|
1211
|
+
declare function ContextMenuPortalBase(props: React$1.ComponentProps<typeof ContextMenuPrimitive.Portal>): react_jsx_runtime.JSX.Element;
|
|
1212
|
+
declare function ContextMenuSubBase(props: React$1.ComponentProps<typeof ContextMenuPrimitive.Sub>): react_jsx_runtime.JSX.Element;
|
|
1213
|
+
declare function ContextMenuRadioGroupBase(props: React$1.ComponentProps<typeof ContextMenuPrimitive.RadioGroup>): react_jsx_runtime.JSX.Element;
|
|
1214
|
+
declare function ContextMenuSubTriggerBase({ className, inset, children, ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.SubTrigger> & {
|
|
1215
|
+
inset?: boolean;
|
|
1216
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1217
|
+
declare function ContextMenuSubContentBase({ className, ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.SubContent>): react_jsx_runtime.JSX.Element;
|
|
1218
|
+
declare function ContextMenuContentBase({ className, ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.Content>): react_jsx_runtime.JSX.Element;
|
|
1219
|
+
declare function ContextMenuItemBase({ className, inset, variant, ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.Item> & {
|
|
1220
|
+
inset?: boolean;
|
|
1221
|
+
variant?: "default" | "destructive";
|
|
1222
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1223
|
+
declare function ContextMenuCheckboxItemBase({ className, children, checked, ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.CheckboxItem>): react_jsx_runtime.JSX.Element;
|
|
1224
|
+
declare function ContextMenuRadioItemBase({ className, children, ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.RadioItem>): react_jsx_runtime.JSX.Element;
|
|
1225
|
+
declare function ContextMenuLabelBase({ className, inset, ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.Label> & {
|
|
1226
|
+
inset?: boolean;
|
|
1227
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1228
|
+
declare function ContextMenuSeparatorBase({ className, ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.Separator>): react_jsx_runtime.JSX.Element;
|
|
1229
|
+
declare function ContextMenuShortcutBase({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
1230
|
+
|
|
1194
1231
|
declare function useIsMobile(): boolean;
|
|
1195
1232
|
|
|
1196
1233
|
interface Position {
|
|
@@ -1210,4 +1247,4 @@ declare const useDrag: (options?: UseDragOptions) => {
|
|
|
1210
1247
|
isDragging: boolean;
|
|
1211
1248
|
};
|
|
1212
1249
|
|
|
1213
|
-
export { AddButton, AlertDialogActionBase, AlertDialogBase, AlertDialogCancelBase, AlertDialogContentBase, AlertDialogDescriptionBase, AlertDialogFooterBase, AlertDialogHeaderBase, AlertDialogOverlayBase, AlertDialogPortalBase, AlertDialogTitleBase, AlertDialogTriggerBase, AvatarBase, AvatarFallbackBase, AvatarImageBase, BackButton, BadgeBase, BarChart, BreadcrumbBase, BreadcrumbEllipsisBase, BreadcrumbItemBase, BreadcrumbLinkBase, BreadcrumbListBase, BreadcrumbPageBase, BreadcrumbSeparatorBase, ButtonBase, ButtonGroupBase, type ButtonProps, CalendarBase, type CalendarProps, CardBase, CardContentBase, CardDescriptionBase, CardFooterBase, CardHeaderBase, CardTitleBase, type CarouselApi, CarouselBase, CarouselContentBase, CarouselItemBase, CarouselNextBase, CarouselPrevious, ChangeButton, Chart, CheckButton, CheckboxBase, CloseAllButton, CloseButton, CollapsibleBase, CollapsibleContentBase, CollapsibleTriggerBase, Combobox, type ComboboxProps, type ComboboxTestIds, CommandBase, CommandDialogBase, CommandEmptyBase, CommandGroupBase, CommandInputBase, CommandItemBase, CommandListBase, CommandSeparatorBase, CommandShortcutBase, CopyButton, DateTimePicker, type DebouncedInputProps,
|
|
1250
|
+
export { AddButton, AlertDialogActionBase, AlertDialogBase, AlertDialogCancelBase, AlertDialogContentBase, AlertDialogDescriptionBase, AlertDialogFooterBase, AlertDialogHeaderBase, AlertDialogOverlayBase, AlertDialogPortalBase, AlertDialogTitleBase, AlertDialogTriggerBase, AvatarBase, AvatarFallbackBase, AvatarImageBase, BackButton, BadgeBase, BarChart, BreadcrumbBase, BreadcrumbEllipsisBase, BreadcrumbItemBase, BreadcrumbLinkBase, BreadcrumbListBase, BreadcrumbPageBase, BreadcrumbSeparatorBase, ButtonBase, ButtonGroupBase, type ButtonProps, CalendarBase, type CalendarProps, CardBase, CardContentBase, CardDescriptionBase, CardFooterBase, CardHeaderBase, CardTitleBase, type CarouselApi, CarouselBase, CarouselContentBase, CarouselItemBase, CarouselNextBase, CarouselPrevious, ChangeButton, Chart, CheckButton, CheckboxBase, CloseAllButton, CloseButton, CollapsibleBase, CollapsibleContentBase, CollapsibleTriggerBase, Combobox, type ComboboxProps, type ComboboxTestIds, CommandBase, CommandDialogBase, CommandEmptyBase, CommandGroupBase, CommandInputBase, CommandItemBase, CommandListBase, CommandSeparatorBase, CommandShortcutBase, ContextMenuBase, ContextMenuCheckboxItemBase, ContextMenuContentBase, ContextMenuGroupBase, ContextMenuItemBase, ContextMenuLabelBase, ContextMenuPortalBase, ContextMenuRadioGroupBase, ContextMenuRadioItemBase, ContextMenuSeparatorBase, ContextMenuShortcutBase, ContextMenuSubBase, ContextMenuSubContentBase, ContextMenuSubTriggerBase, ContextMenuTriggerBase, CopyButton, DateTimePicker, type DebouncedInputProps, DestructiveDialog, DialogBase, DialogCloseBase, DialogContentBase, DialogDescriptionBase, DialogFooterBase, DialogHeaderBase, DialogOverlayBase, DialogPortalBase, DialogTitleBase, DialogTriggerBase, DownloadButton, DraggableTooltip, DrawerBase, DrawerCloseBase, DrawerContentBase, DrawerDescriptionBase, DrawerFooterBase, DrawerHeaderBase, DrawerOverlayBase, DrawerPortalBase, DrawerTitleBase, DrawerTriggerBase, DropDownMenuBase, DropDownMenuCheckboxItemBase, DropDownMenuContentBase, DropDownMenuGroupBase, DropDownMenuItemBase, DropDownMenuLabelBase, DropDownMenuPortalBase, DropDownMenuRadioGroupBase, DropDownMenuRadioItemBase, DropDownMenuSeparatorBase, DropDownMenuShortcutBase, DropDownMenuSubBase, DropDownMenuSubContentBase, DropDownMenuSubTriggerBase, DropDownMenuTriggerBase, EditButton, ErrorMessage, FavoriteButton, FileUploader, type FileUploaderProps, type FileWithPreview, FilterButton, HideButton, Highlights, HoverCardBase, HoverCardContentBase, HoverCardTriggerBase, InputBase, type InputBaseProps, InputOTPBase, InputOTPGroupBase, InputOTPSeparatorBase, InputOTPSlotBase, LabelBase, LikeButton, CustomLineChart as LineChart, LoadingBase, LockButton, type Margins, ModalBase, ModalCloseBase, ModalContentBase, ModalDescriptionBase, ModalFooterBase, ModalHeaderBase, ModalOverlayBase, ModalPortalBase, ModalTitleBase, ModalTriggerBase, ModeToggleBase, MoreButton, MultiCombobox, NavigationMenuBase, NavigationMenuContentBase, NavigationMenuIndicatorBase, NavigationMenuItemBase, NavigationMenuLinkBase, NavigationMenuListBase, NavigationMenuTriggerBase, NavigationMenuViewportBase, NotificationButton, type Padding, type Period, PeriodsDropdown, CustomPieChart as PieChart, PopoverAnchorBase, PopoverBase, PopoverContentBase, PopoverTriggerBase, ProgressBase, type ProgressBaseProps, ProgressCirclesBase, type ProgressCirclesBaseProps, ProgressPanelsBase, type ProgressPanelsBaseProps, ProgressSegmentsBase, type ProgressSegmentsBaseProps, type ProgressType, RangePicker, type RangePickerProps, RefreshButton, SaveButton, ScrollAreaBase, ScrollBarBase, SearchButton, Select, SelectBase, SelectContentBase, SelectGroupBase, type SelectItem, SelectItemBase, SelectLabelBase, SelectScrollDownButtonBase, SelectScrollUpButtonBase, SelectSeparatorBase, SelectTriggerBase, SelectValueBase, SeparatorBase, SettingsButton, SheetBase, SheetCloseBase, SheetContentBase, SheetDescriptionBase, SheetFooterBase, SheetHeaderBase, SheetOverlayBase, SheetPortalBase, SheetTitleBase, SheetTriggerBase, ShowOnly, SidebarBase, SidebarContentBase, SidebarFooterBase, SidebarGroupActionBase, SidebarGroupBase, SidebarGroupContentBase, SidebarGroupLabelBase, SidebarHeaderBase, SidebarInputBase, SidebarInsetBase, SidebarMenuActionBase, SidebarMenuBadgeBase, SidebarMenuBase, SidebarMenuButtonBase, SidebarMenuItemBase, SidebarMenuSkeletonBase, SidebarMenuSubBase, SidebarMenuSubButtonBase, SidebarMenuSubItemBase, SidebarProviderBase, SidebarRailBase, SidebarSeparatorBase, SidebarTriggerBase, SkeletonBase, SlideBase, type SliderBaseProps, SwitchBase, TableBase, TableBodyBase, TableCaptionBase, TableCellBase, TableFooterBase, TableHeadBase, TableHeaderBase, TableRowBase, TabsBase, TabsContentBase, TabsListBase, TabsTriggerBase, TextAreaBase, type TextAreaBaseProps, type Theme, ThemeProviderBase, TimePicker, TimePickerInput, type TimePickerInputProps, type TimePickerType, Toaster, TooltipBase, TooltipContentBase, TooltipProviderBase, TooltipSimple, TooltipTriggerBase, RechartTooltipWithTotal as TooltipWithTotal, UniversalTooltipRenderer, UnlockButton, UploadButton, UseSideBarBase, ViewButton, VisibilityButton, badgeVariants, buttonVariantsBase, compactTick, convert12HourTo24Hour, detectDataFields, detectXAxis, display12HourValue, formatFieldName, generateAdditionalColors, getArrowByType, getDateByType, getValid12Hour, getValidArrow12Hour, getValidArrowHour, getValidArrowMinuteOrSecond, getValidArrowNumber, getValidHour, getValidMinuteOrSecond, getValidNumber, isValid12Hour, isValidHour, isValidMinuteOrSecond, niceCeil, renderPillLabel, resolveChartMargins, resolveContainerPaddingLeft, set12Hours, setDateByType, setHours, setMinutes, setSeconds, toast, useChartHighlights, useDrag, useIsMobile, useTheme, type valueFormatter };
|
package/dist/index.d.ts
CHANGED
|
@@ -26,6 +26,7 @@ import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
|
26
26
|
import * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu';
|
|
27
27
|
import { Drawer } from 'vaul';
|
|
28
28
|
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
29
|
+
import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
|
|
29
30
|
|
|
30
31
|
type ErrorMessageProps = {
|
|
31
32
|
error?: string;
|
|
@@ -150,51 +151,6 @@ interface SelectPropsWithGroupItems<T extends string> extends DefaultSelectProps
|
|
|
150
151
|
type SelectProps<T extends string> = SelectPropsWithItems<T> | SelectPropsWithGroupItems<T>;
|
|
151
152
|
declare function Select<T extends string>({ items, groupItems, placeholder, onChange, error, testIds, }: SelectProps<T>): react_jsx_runtime.JSX.Element;
|
|
152
153
|
|
|
153
|
-
interface ChartData {
|
|
154
|
-
[key: string]: string | number | boolean | null | undefined;
|
|
155
|
-
}
|
|
156
|
-
interface XAxisConfig$1 {
|
|
157
|
-
dataKey: string;
|
|
158
|
-
label?: string;
|
|
159
|
-
formatter?: (value: string | number) => string;
|
|
160
|
-
autoLabel?: boolean;
|
|
161
|
-
}
|
|
162
|
-
type SeriesProp = {
|
|
163
|
-
bar?: string[];
|
|
164
|
-
line?: string[];
|
|
165
|
-
area?: string[];
|
|
166
|
-
};
|
|
167
|
-
interface ChartProps {
|
|
168
|
-
data: ChartData[];
|
|
169
|
-
series?: SeriesProp;
|
|
170
|
-
className?: string;
|
|
171
|
-
chartMargin?: Partial<{
|
|
172
|
-
top: number;
|
|
173
|
-
right: number;
|
|
174
|
-
left: number;
|
|
175
|
-
bottom: number;
|
|
176
|
-
}>;
|
|
177
|
-
height?: number;
|
|
178
|
-
width?: number | string;
|
|
179
|
-
colors?: string[];
|
|
180
|
-
gridColor?: string;
|
|
181
|
-
showGrid?: boolean;
|
|
182
|
-
showTooltip?: boolean;
|
|
183
|
-
showLegend?: boolean;
|
|
184
|
-
title?: string;
|
|
185
|
-
titlePosition?: "left" | "center" | "right";
|
|
186
|
-
showLabels?: boolean;
|
|
187
|
-
labelMap?: Record<string, string>;
|
|
188
|
-
xAxis?: XAxisConfig$1 | string;
|
|
189
|
-
enableHighlights?: boolean;
|
|
190
|
-
enableShowOnly?: boolean;
|
|
191
|
-
enablePeriodsDropdown?: boolean;
|
|
192
|
-
enableDraggableTooltips?: boolean;
|
|
193
|
-
showTooltipTotal?: boolean;
|
|
194
|
-
maxTooltips?: number;
|
|
195
|
-
}
|
|
196
|
-
declare const Chart: React__default.FC<ChartProps>;
|
|
197
|
-
|
|
198
154
|
declare const formatFieldName: (fieldName: string) => string;
|
|
199
155
|
declare const detectDataFields: (data: Record<string, unknown>[], xAxisKey: string) => string[];
|
|
200
156
|
declare const detectXAxis: (data: Record<string, unknown>[]) => string;
|
|
@@ -239,7 +195,66 @@ type LabelRendererProps = {
|
|
|
239
195
|
cx?: number | string;
|
|
240
196
|
cy?: number | string;
|
|
241
197
|
};
|
|
242
|
-
|
|
198
|
+
type valueFormatter = (props: {
|
|
199
|
+
value: number | string | undefined;
|
|
200
|
+
formattedValue: string;
|
|
201
|
+
[key: string]: unknown;
|
|
202
|
+
}) => string;
|
|
203
|
+
declare const renderPillLabel: (color: string, variant: Variant, valueFormatter?: valueFormatter) => (props: LabelRendererProps) => react_jsx_runtime.JSX.Element;
|
|
204
|
+
|
|
205
|
+
interface ChartData {
|
|
206
|
+
[key: string]: string | number | boolean | null | undefined;
|
|
207
|
+
}
|
|
208
|
+
interface XAxisConfig$1 {
|
|
209
|
+
dataKey: string;
|
|
210
|
+
label?: string;
|
|
211
|
+
valueFormatter?: (value: string | number) => string;
|
|
212
|
+
autoLabel?: boolean;
|
|
213
|
+
}
|
|
214
|
+
type SeriesProp = {
|
|
215
|
+
bar?: string[];
|
|
216
|
+
line?: string[];
|
|
217
|
+
area?: string[];
|
|
218
|
+
};
|
|
219
|
+
interface ChartProps {
|
|
220
|
+
data: ChartData[];
|
|
221
|
+
series?: SeriesProp;
|
|
222
|
+
className?: string;
|
|
223
|
+
chartMargin?: Partial<{
|
|
224
|
+
top: number;
|
|
225
|
+
right: number;
|
|
226
|
+
left: number;
|
|
227
|
+
bottom: number;
|
|
228
|
+
}>;
|
|
229
|
+
height?: number;
|
|
230
|
+
width?: number | string;
|
|
231
|
+
colors?: string[];
|
|
232
|
+
gridColor?: string;
|
|
233
|
+
showGrid?: boolean;
|
|
234
|
+
showTooltip?: boolean;
|
|
235
|
+
showLegend?: boolean;
|
|
236
|
+
title?: string;
|
|
237
|
+
titlePosition?: "left" | "center" | "right";
|
|
238
|
+
showLabels?: boolean;
|
|
239
|
+
labelMap?: Record<string, string>;
|
|
240
|
+
valueFormatter?: valueFormatter;
|
|
241
|
+
/** Formata valores categóricos (ex.: "BANANA" -> "Banana") apenas para exibição */
|
|
242
|
+
categoryFormatter?: (value: string | number) => string;
|
|
243
|
+
/** Label a ser exibido abaixo do eixo X */
|
|
244
|
+
xAxisLabel?: string;
|
|
245
|
+
/** Label a ser exibido ao lado do eixo Y */
|
|
246
|
+
yAxisLabel?: string;
|
|
247
|
+
xAxis?: XAxisConfig$1 | string;
|
|
248
|
+
enableHighlights?: boolean;
|
|
249
|
+
enableShowOnly?: boolean;
|
|
250
|
+
enablePeriodsDropdown?: boolean;
|
|
251
|
+
enableDraggableTooltips?: boolean;
|
|
252
|
+
showTooltipTotal?: boolean;
|
|
253
|
+
maxTooltips?: number;
|
|
254
|
+
/** Quando true, formata valores numéricos no formato pt-BR (ex: 00.000,00) */
|
|
255
|
+
formatBR?: boolean;
|
|
256
|
+
}
|
|
257
|
+
declare const Chart: React__default.FC<ChartProps>;
|
|
243
258
|
|
|
244
259
|
interface BarChartData {
|
|
245
260
|
[key: string]: string | number | boolean | null | undefined;
|
|
@@ -247,13 +262,13 @@ interface BarChartData {
|
|
|
247
262
|
interface XAxisConfig {
|
|
248
263
|
dataKey: string;
|
|
249
264
|
label?: string;
|
|
250
|
-
|
|
265
|
+
valueFormatter?: (value: string | number) => string;
|
|
251
266
|
autoLabel?: boolean;
|
|
252
267
|
}
|
|
253
268
|
interface DataMapper {
|
|
254
269
|
[dataKey: string]: {
|
|
255
270
|
label?: string;
|
|
256
|
-
|
|
271
|
+
valueFormatter?: (value: string | number) => string | number;
|
|
257
272
|
color?: string;
|
|
258
273
|
type?: "number" | "string" | "auto";
|
|
259
274
|
visible?: boolean;
|
|
@@ -359,7 +374,7 @@ declare const ShowOnly: React__default.FC<Props$3>;
|
|
|
359
374
|
|
|
360
375
|
interface MapperEntry {
|
|
361
376
|
label?: string;
|
|
362
|
-
|
|
377
|
+
valueFormatter?: (value: string | number) => string | number;
|
|
363
378
|
color?: string;
|
|
364
379
|
type?: string;
|
|
365
380
|
visible?: boolean;
|
|
@@ -411,6 +426,8 @@ interface DraggableTooltipProps {
|
|
|
411
426
|
highlightedSeries?: Set<string>;
|
|
412
427
|
toggleHighlight?: (key: string) => void;
|
|
413
428
|
showOnlyHighlighted?: boolean;
|
|
429
|
+
valueFormatter?: valueFormatter;
|
|
430
|
+
categoryFormatter?: (value: string | number) => string;
|
|
414
431
|
}
|
|
415
432
|
declare const DraggableTooltip: React__default.NamedExoticComponent<DraggableTooltipProps>;
|
|
416
433
|
|
|
@@ -427,6 +444,8 @@ interface Props$1 {
|
|
|
427
444
|
finalColors?: Record<string, string>;
|
|
428
445
|
periodLabel?: string;
|
|
429
446
|
totalLabel?: string;
|
|
447
|
+
valueFormatter?: valueFormatter;
|
|
448
|
+
categoryFormatter?: (value: string | number) => string;
|
|
430
449
|
}
|
|
431
450
|
declare const RechartTooltipWithTotal: React__default.FC<Props$1>;
|
|
432
451
|
|
|
@@ -442,6 +461,8 @@ interface Props {
|
|
|
442
461
|
label?: string;
|
|
443
462
|
finalColors?: Record<string, string>;
|
|
444
463
|
periodLabel?: string;
|
|
464
|
+
valueFormatter?: valueFormatter;
|
|
465
|
+
categoryFormatter?: (value: string | number) => string;
|
|
445
466
|
}
|
|
446
467
|
declare const TooltipSimple: React__default.FC<Props>;
|
|
447
468
|
|
|
@@ -741,14 +762,6 @@ declare const ChangeButton: React$1.ForwardRefExoticComponent<QuickButtonProps &
|
|
|
741
762
|
declare const SaveButton: React$1.ForwardRefExoticComponent<QuickButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
742
763
|
declare const AddButton: React$1.ForwardRefExoticComponent<QuickButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
743
764
|
declare const CloseButton: React$1.ForwardRefExoticComponent<QuickButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
744
|
-
interface DeleteButtonProps extends QuickButtonProps {
|
|
745
|
-
destructiveTitle?: string;
|
|
746
|
-
destructiveDescription?: string;
|
|
747
|
-
destructiveOnConfirm?: () => void;
|
|
748
|
-
destructiveOnCancel?: () => void;
|
|
749
|
-
destructiveTriggerContent?: React$1.ReactNode;
|
|
750
|
-
}
|
|
751
|
-
declare const DeleteButton: React$1.ForwardRefExoticComponent<DeleteButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
752
765
|
declare const DownloadButton: React$1.FC<QuickButtonProps>;
|
|
753
766
|
declare const UploadButton: React$1.FC<QuickButtonProps>;
|
|
754
767
|
declare const CopyButton: React$1.FC<QuickButtonProps>;
|
|
@@ -1089,7 +1102,8 @@ interface DateTimePickerProps extends ErrorMessageProps {
|
|
|
1089
1102
|
label?: string;
|
|
1090
1103
|
date: Date | undefined;
|
|
1091
1104
|
onChange: (date: Date | undefined) => void;
|
|
1092
|
-
|
|
1105
|
+
displayFormat?: string;
|
|
1106
|
+
hideTime?: boolean;
|
|
1093
1107
|
hideSeconds?: boolean;
|
|
1094
1108
|
hideHour?: boolean;
|
|
1095
1109
|
hideMinute?: boolean;
|
|
@@ -1099,7 +1113,7 @@ interface DateTimePickerProps extends ErrorMessageProps {
|
|
|
1099
1113
|
className?: string;
|
|
1100
1114
|
error?: string;
|
|
1101
1115
|
}
|
|
1102
|
-
declare function DateTimePicker({ label, date, onChange,
|
|
1116
|
+
declare function DateTimePicker({ label, date, onChange, displayFormat, hideTime, hideSeconds, hideHour, hideMinute, fromDate, toDate, disabled, className, error, }: DateTimePickerProps): react_jsx_runtime.JSX.Element;
|
|
1103
1117
|
|
|
1104
1118
|
interface RangePickerProps extends ErrorMessageProps {
|
|
1105
1119
|
value?: DateRange;
|
|
@@ -1191,6 +1205,29 @@ interface TimePickerInputProps extends Omit<React__default.InputHTMLAttributes<H
|
|
|
1191
1205
|
}
|
|
1192
1206
|
declare const TimePickerInput: React__default.ForwardRefExoticComponent<TimePickerInputProps & React__default.RefAttributes<HTMLInputElement>>;
|
|
1193
1207
|
|
|
1208
|
+
declare function ContextMenuBase(props: React$1.ComponentProps<typeof ContextMenuPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
1209
|
+
declare function ContextMenuTriggerBase(props: React$1.ComponentProps<typeof ContextMenuPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
1210
|
+
declare function ContextMenuGroupBase(props: React$1.ComponentProps<typeof ContextMenuPrimitive.Group>): react_jsx_runtime.JSX.Element;
|
|
1211
|
+
declare function ContextMenuPortalBase(props: React$1.ComponentProps<typeof ContextMenuPrimitive.Portal>): react_jsx_runtime.JSX.Element;
|
|
1212
|
+
declare function ContextMenuSubBase(props: React$1.ComponentProps<typeof ContextMenuPrimitive.Sub>): react_jsx_runtime.JSX.Element;
|
|
1213
|
+
declare function ContextMenuRadioGroupBase(props: React$1.ComponentProps<typeof ContextMenuPrimitive.RadioGroup>): react_jsx_runtime.JSX.Element;
|
|
1214
|
+
declare function ContextMenuSubTriggerBase({ className, inset, children, ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.SubTrigger> & {
|
|
1215
|
+
inset?: boolean;
|
|
1216
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1217
|
+
declare function ContextMenuSubContentBase({ className, ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.SubContent>): react_jsx_runtime.JSX.Element;
|
|
1218
|
+
declare function ContextMenuContentBase({ className, ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.Content>): react_jsx_runtime.JSX.Element;
|
|
1219
|
+
declare function ContextMenuItemBase({ className, inset, variant, ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.Item> & {
|
|
1220
|
+
inset?: boolean;
|
|
1221
|
+
variant?: "default" | "destructive";
|
|
1222
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1223
|
+
declare function ContextMenuCheckboxItemBase({ className, children, checked, ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.CheckboxItem>): react_jsx_runtime.JSX.Element;
|
|
1224
|
+
declare function ContextMenuRadioItemBase({ className, children, ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.RadioItem>): react_jsx_runtime.JSX.Element;
|
|
1225
|
+
declare function ContextMenuLabelBase({ className, inset, ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.Label> & {
|
|
1226
|
+
inset?: boolean;
|
|
1227
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1228
|
+
declare function ContextMenuSeparatorBase({ className, ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.Separator>): react_jsx_runtime.JSX.Element;
|
|
1229
|
+
declare function ContextMenuShortcutBase({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
1230
|
+
|
|
1194
1231
|
declare function useIsMobile(): boolean;
|
|
1195
1232
|
|
|
1196
1233
|
interface Position {
|
|
@@ -1210,4 +1247,4 @@ declare const useDrag: (options?: UseDragOptions) => {
|
|
|
1210
1247
|
isDragging: boolean;
|
|
1211
1248
|
};
|
|
1212
1249
|
|
|
1213
|
-
export { AddButton, AlertDialogActionBase, AlertDialogBase, AlertDialogCancelBase, AlertDialogContentBase, AlertDialogDescriptionBase, AlertDialogFooterBase, AlertDialogHeaderBase, AlertDialogOverlayBase, AlertDialogPortalBase, AlertDialogTitleBase, AlertDialogTriggerBase, AvatarBase, AvatarFallbackBase, AvatarImageBase, BackButton, BadgeBase, BarChart, BreadcrumbBase, BreadcrumbEllipsisBase, BreadcrumbItemBase, BreadcrumbLinkBase, BreadcrumbListBase, BreadcrumbPageBase, BreadcrumbSeparatorBase, ButtonBase, ButtonGroupBase, type ButtonProps, CalendarBase, type CalendarProps, CardBase, CardContentBase, CardDescriptionBase, CardFooterBase, CardHeaderBase, CardTitleBase, type CarouselApi, CarouselBase, CarouselContentBase, CarouselItemBase, CarouselNextBase, CarouselPrevious, ChangeButton, Chart, CheckButton, CheckboxBase, CloseAllButton, CloseButton, CollapsibleBase, CollapsibleContentBase, CollapsibleTriggerBase, Combobox, type ComboboxProps, type ComboboxTestIds, CommandBase, CommandDialogBase, CommandEmptyBase, CommandGroupBase, CommandInputBase, CommandItemBase, CommandListBase, CommandSeparatorBase, CommandShortcutBase, CopyButton, DateTimePicker, type DebouncedInputProps,
|
|
1250
|
+
export { AddButton, AlertDialogActionBase, AlertDialogBase, AlertDialogCancelBase, AlertDialogContentBase, AlertDialogDescriptionBase, AlertDialogFooterBase, AlertDialogHeaderBase, AlertDialogOverlayBase, AlertDialogPortalBase, AlertDialogTitleBase, AlertDialogTriggerBase, AvatarBase, AvatarFallbackBase, AvatarImageBase, BackButton, BadgeBase, BarChart, BreadcrumbBase, BreadcrumbEllipsisBase, BreadcrumbItemBase, BreadcrumbLinkBase, BreadcrumbListBase, BreadcrumbPageBase, BreadcrumbSeparatorBase, ButtonBase, ButtonGroupBase, type ButtonProps, CalendarBase, type CalendarProps, CardBase, CardContentBase, CardDescriptionBase, CardFooterBase, CardHeaderBase, CardTitleBase, type CarouselApi, CarouselBase, CarouselContentBase, CarouselItemBase, CarouselNextBase, CarouselPrevious, ChangeButton, Chart, CheckButton, CheckboxBase, CloseAllButton, CloseButton, CollapsibleBase, CollapsibleContentBase, CollapsibleTriggerBase, Combobox, type ComboboxProps, type ComboboxTestIds, CommandBase, CommandDialogBase, CommandEmptyBase, CommandGroupBase, CommandInputBase, CommandItemBase, CommandListBase, CommandSeparatorBase, CommandShortcutBase, ContextMenuBase, ContextMenuCheckboxItemBase, ContextMenuContentBase, ContextMenuGroupBase, ContextMenuItemBase, ContextMenuLabelBase, ContextMenuPortalBase, ContextMenuRadioGroupBase, ContextMenuRadioItemBase, ContextMenuSeparatorBase, ContextMenuShortcutBase, ContextMenuSubBase, ContextMenuSubContentBase, ContextMenuSubTriggerBase, ContextMenuTriggerBase, CopyButton, DateTimePicker, type DebouncedInputProps, DestructiveDialog, DialogBase, DialogCloseBase, DialogContentBase, DialogDescriptionBase, DialogFooterBase, DialogHeaderBase, DialogOverlayBase, DialogPortalBase, DialogTitleBase, DialogTriggerBase, DownloadButton, DraggableTooltip, DrawerBase, DrawerCloseBase, DrawerContentBase, DrawerDescriptionBase, DrawerFooterBase, DrawerHeaderBase, DrawerOverlayBase, DrawerPortalBase, DrawerTitleBase, DrawerTriggerBase, DropDownMenuBase, DropDownMenuCheckboxItemBase, DropDownMenuContentBase, DropDownMenuGroupBase, DropDownMenuItemBase, DropDownMenuLabelBase, DropDownMenuPortalBase, DropDownMenuRadioGroupBase, DropDownMenuRadioItemBase, DropDownMenuSeparatorBase, DropDownMenuShortcutBase, DropDownMenuSubBase, DropDownMenuSubContentBase, DropDownMenuSubTriggerBase, DropDownMenuTriggerBase, EditButton, ErrorMessage, FavoriteButton, FileUploader, type FileUploaderProps, type FileWithPreview, FilterButton, HideButton, Highlights, HoverCardBase, HoverCardContentBase, HoverCardTriggerBase, InputBase, type InputBaseProps, InputOTPBase, InputOTPGroupBase, InputOTPSeparatorBase, InputOTPSlotBase, LabelBase, LikeButton, CustomLineChart as LineChart, LoadingBase, LockButton, type Margins, ModalBase, ModalCloseBase, ModalContentBase, ModalDescriptionBase, ModalFooterBase, ModalHeaderBase, ModalOverlayBase, ModalPortalBase, ModalTitleBase, ModalTriggerBase, ModeToggleBase, MoreButton, MultiCombobox, NavigationMenuBase, NavigationMenuContentBase, NavigationMenuIndicatorBase, NavigationMenuItemBase, NavigationMenuLinkBase, NavigationMenuListBase, NavigationMenuTriggerBase, NavigationMenuViewportBase, NotificationButton, type Padding, type Period, PeriodsDropdown, CustomPieChart as PieChart, PopoverAnchorBase, PopoverBase, PopoverContentBase, PopoverTriggerBase, ProgressBase, type ProgressBaseProps, ProgressCirclesBase, type ProgressCirclesBaseProps, ProgressPanelsBase, type ProgressPanelsBaseProps, ProgressSegmentsBase, type ProgressSegmentsBaseProps, type ProgressType, RangePicker, type RangePickerProps, RefreshButton, SaveButton, ScrollAreaBase, ScrollBarBase, SearchButton, Select, SelectBase, SelectContentBase, SelectGroupBase, type SelectItem, SelectItemBase, SelectLabelBase, SelectScrollDownButtonBase, SelectScrollUpButtonBase, SelectSeparatorBase, SelectTriggerBase, SelectValueBase, SeparatorBase, SettingsButton, SheetBase, SheetCloseBase, SheetContentBase, SheetDescriptionBase, SheetFooterBase, SheetHeaderBase, SheetOverlayBase, SheetPortalBase, SheetTitleBase, SheetTriggerBase, ShowOnly, SidebarBase, SidebarContentBase, SidebarFooterBase, SidebarGroupActionBase, SidebarGroupBase, SidebarGroupContentBase, SidebarGroupLabelBase, SidebarHeaderBase, SidebarInputBase, SidebarInsetBase, SidebarMenuActionBase, SidebarMenuBadgeBase, SidebarMenuBase, SidebarMenuButtonBase, SidebarMenuItemBase, SidebarMenuSkeletonBase, SidebarMenuSubBase, SidebarMenuSubButtonBase, SidebarMenuSubItemBase, SidebarProviderBase, SidebarRailBase, SidebarSeparatorBase, SidebarTriggerBase, SkeletonBase, SlideBase, type SliderBaseProps, SwitchBase, TableBase, TableBodyBase, TableCaptionBase, TableCellBase, TableFooterBase, TableHeadBase, TableHeaderBase, TableRowBase, TabsBase, TabsContentBase, TabsListBase, TabsTriggerBase, TextAreaBase, type TextAreaBaseProps, type Theme, ThemeProviderBase, TimePicker, TimePickerInput, type TimePickerInputProps, type TimePickerType, Toaster, TooltipBase, TooltipContentBase, TooltipProviderBase, TooltipSimple, TooltipTriggerBase, RechartTooltipWithTotal as TooltipWithTotal, UniversalTooltipRenderer, UnlockButton, UploadButton, UseSideBarBase, ViewButton, VisibilityButton, badgeVariants, buttonVariantsBase, compactTick, convert12HourTo24Hour, detectDataFields, detectXAxis, display12HourValue, formatFieldName, generateAdditionalColors, getArrowByType, getDateByType, getValid12Hour, getValidArrow12Hour, getValidArrowHour, getValidArrowMinuteOrSecond, getValidArrowNumber, getValidHour, getValidMinuteOrSecond, getValidNumber, isValid12Hour, isValidHour, isValidMinuteOrSecond, niceCeil, renderPillLabel, resolveChartMargins, resolveContainerPaddingLeft, set12Hours, setDateByType, setHours, setMinutes, setSeconds, toast, useChartHighlights, useDrag, useIsMobile, useTheme, type valueFormatter };
|