dawn-ui-react 1.0.0-rc.4 → 1.0.0-rc.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +126 -7
- package/dist/index.mjs +283 -11
- package/dist/index.mjs.map +1 -0
- package/dist/styles.css +2 -0
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -6,6 +6,7 @@ import { AlertDialog as AlertDialog$1, Button as Button$1, CheckboxGroup as Chec
|
|
|
6
6
|
import React$1, { ComponentProps, ReactNode } from "react";
|
|
7
7
|
import { Autocomplete as Autocomplete$1 } from "@base-ui/react/autocomplete";
|
|
8
8
|
import { Avatar as Avatar$1 } from "@base-ui/react/avatar";
|
|
9
|
+
import { DefaultLegendContentProps, LegendProps, TooltipContentProps as TooltipContentProps$1, TooltipPayloadEntry, TooltipProps as TooltipProps$1 } from "recharts";
|
|
9
10
|
import { Checkbox as Checkbox$2 } from "@base-ui/react/checkbox";
|
|
10
11
|
import { Select as Select$1 } from "@base-ui/react/select";
|
|
11
12
|
import { Tabs as Tabs$1 } from "@base-ui/react/tabs";
|
|
@@ -18,7 +19,7 @@ import { Combobox as Combobox$1, ComboboxEmptyProps as ComboboxEmptyProps$1 } fr
|
|
|
18
19
|
import { Virtualizer } from "@tanstack/react-virtual";
|
|
19
20
|
import { ContextMenu as ContextMenu$1 } from "@base-ui/react/context-menu";
|
|
20
21
|
import { Dialog as Dialog$1 } from "@base-ui/react/dialog";
|
|
21
|
-
import { Tooltip as Tooltip$
|
|
22
|
+
import { Tooltip as Tooltip$2 } from "@base-ui/react/tooltip";
|
|
22
23
|
import { Switch as Switch$1 } from "@base-ui/react/switch";
|
|
23
24
|
import { Column, OnChangeFn, Row, RowData, TableFeature, TableFeatures, Updater } from "@tanstack/react-table";
|
|
24
25
|
import { Menu as Menu$1 } from "@base-ui/react/menu";
|
|
@@ -403,6 +404,123 @@ type ButtonGroupProps = React.ComponentProps<'div'> & VariantProps<typeof button
|
|
|
403
404
|
//#region src/components/button-group/button-group.d.ts
|
|
404
405
|
export declare function ButtonGroup({ size, variant, tone, orientation, className, ref, ...props }: ButtonGroupProps): import("react").JSX.Element;
|
|
405
406
|
//#endregion
|
|
407
|
+
//#region src/components/chart/chart.types.d.ts
|
|
408
|
+
declare const THEMES: {
|
|
409
|
+
readonly dark: '.dark';
|
|
410
|
+
readonly light: '';
|
|
411
|
+
}, ChartContainerContext: React$1.Context<ChartContainerContextProps | undefined>, ChartLegendPayloadContext: React$1.Context<{
|
|
412
|
+
label?: string;
|
|
413
|
+
color?: string;
|
|
414
|
+
icon?: React$1.ComponentType;
|
|
415
|
+
} | undefined>;
|
|
416
|
+
type ChartConfig = Record<string, {
|
|
417
|
+
label?: string;
|
|
418
|
+
icon?: React$1.ComponentType;
|
|
419
|
+
} & ({
|
|
420
|
+
color?: string;
|
|
421
|
+
theme?: never;
|
|
422
|
+
} | {
|
|
423
|
+
color?: never;
|
|
424
|
+
theme: Record<keyof typeof THEMES, string>;
|
|
425
|
+
})>;
|
|
426
|
+
interface ChartContainerContextProps {
|
|
427
|
+
config: ChartConfig;
|
|
428
|
+
}
|
|
429
|
+
type ChartContainerProps = React$1.ComponentProps<'div'> & {
|
|
430
|
+
config: ChartConfig;
|
|
431
|
+
initialDimension?: {
|
|
432
|
+
width: number;
|
|
433
|
+
height: number;
|
|
434
|
+
};
|
|
435
|
+
};
|
|
436
|
+
type ChartTooltipProps = TooltipProps$1;
|
|
437
|
+
type ChartTooltipContentProps = React$1.ComponentProps<'div'> & Partial<TooltipContentProps$1>;
|
|
438
|
+
type ChartLegendProps = LegendProps;
|
|
439
|
+
type ChartLegendContentProps = React$1.ComponentProps<'div'> & DefaultLegendContentProps;
|
|
440
|
+
type ChartTooltipLabelProps = React$1.ComponentProps<'p'>;
|
|
441
|
+
type ChartTooltipNameProps = React$1.ComponentProps<'p'>;
|
|
442
|
+
type ChartTooltipPayloadProps = React$1.ComponentProps<'div'>;
|
|
443
|
+
type ChartLegendPayloadProps = React$1.ComponentProps<'div'>;
|
|
444
|
+
type ChartTooltipIndicatorProps = React$1.ComponentProps<'div'> & {
|
|
445
|
+
shape?: 'circle' | 'square' | 'diamond' | 'triangle' | 'wye' | 'line';
|
|
446
|
+
};
|
|
447
|
+
type ChartLinearGradientProps = React$1.ComponentProps<'defs'> & {
|
|
448
|
+
gradients: {
|
|
449
|
+
id: string;
|
|
450
|
+
stopColor: string;
|
|
451
|
+
}[];
|
|
452
|
+
};
|
|
453
|
+
type ChartTooltipIconProps = React$1.ComponentProps<'div'>;
|
|
454
|
+
type ChartLegendIconProps = React$1.ComponentProps<'div'>;
|
|
455
|
+
type ChartLegendLabelProps = React$1.ComponentProps<'p'>;
|
|
456
|
+
type ChartLegendIndicatorProps = React$1.ComponentProps<'div'> & {
|
|
457
|
+
shape?: 'circle' | 'square' | 'diamond' | 'triangle' | 'wye' | 'line';
|
|
458
|
+
};
|
|
459
|
+
type ChartTooltipValueProps = React$1.ComponentProps<'p'>;
|
|
460
|
+
//#endregion
|
|
461
|
+
//#region src/components/chart/chart-container.d.ts
|
|
462
|
+
export declare function ChartContainer({ id, config, className, children, ref, ...props }: ChartContainerProps): React$1.JSX.Element;
|
|
463
|
+
//#endregion
|
|
464
|
+
//#region src/components/chart/chart-tooltip.d.ts
|
|
465
|
+
export declare function ChartTooltip({ content, ...props }: ChartTooltipProps): import("react").JSX.Element;
|
|
466
|
+
//#endregion
|
|
467
|
+
//#region src/components/chart/chart-tooltip-content.d.ts
|
|
468
|
+
declare function ChartTooltipContent({ className, children, ref, ...props }: ChartTooltipContentProps): React$1.JSX.Element;
|
|
469
|
+
declare function useChartTooltipContent(): ChartTooltipContentProps;
|
|
470
|
+
//#endregion
|
|
471
|
+
//#region src/components/chart/chart-tooltip-label.d.ts
|
|
472
|
+
export declare function ChartTooltipLabel({ className, children, ref, ...props }: ChartTooltipLabelProps): import("react").JSX.Element;
|
|
473
|
+
//#endregion
|
|
474
|
+
//#region src/components/chart/chart-tooltip-payload.d.ts
|
|
475
|
+
declare function ChartTooltipPayload({ className, children, ref, ...props }: ChartTooltipPayloadProps): React$1.JSX.Element;
|
|
476
|
+
declare function useChartTooltipPayload(): TooltipPayloadEntry<import("recharts").TooltipValueType, import("recharts/types/component/DefaultTooltipContent").NameType>;
|
|
477
|
+
//#endregion
|
|
478
|
+
//#region src/components/chart/chart-legend.d.ts
|
|
479
|
+
export declare function ChartLegend({ children, ...props }: ChartLegendProps): import("react").JSX.Element;
|
|
480
|
+
//#endregion
|
|
481
|
+
//#region src/components/chart/chart-legend-content.d.ts
|
|
482
|
+
export declare function ChartLegendContent({ payload, verticalAlign, className, children, ref, ...props }: ChartLegendContentProps): import("react").JSX.Element;
|
|
483
|
+
//#endregion
|
|
484
|
+
//#region src/components/chart/chart-linear-gradient.d.ts
|
|
485
|
+
export declare function ChartLinearGradient({ gradients, className, children, ref, ...props }: ChartLinearGradientProps): import("react").JSX.Element;
|
|
486
|
+
//#endregion
|
|
487
|
+
//#region src/components/chart/chart-tooltip-indicator.d.ts
|
|
488
|
+
export declare function ChartTooltipIndicator({ shape, className, children, ref, ...props }: ChartTooltipIndicatorProps): import("react").JSX.Element;
|
|
489
|
+
//#endregion
|
|
490
|
+
//#region src/components/chart/chart-tooltip-name.d.ts
|
|
491
|
+
export declare function ChartTooltipName({ className, children, ref, ...props }: ChartTooltipNameProps): import("react").JSX.Element;
|
|
492
|
+
//#endregion
|
|
493
|
+
//#region src/components/chart/chart-legend-icon.d.ts
|
|
494
|
+
export declare function ChartLegendIcon({ className, children, ref, ...props }: ChartLegendIconProps): import("react").JSX.Element;
|
|
495
|
+
//#endregion
|
|
496
|
+
//#region src/components/chart/chart-legend-label.d.ts
|
|
497
|
+
export declare function ChartLegendLabel({ className, children, ref, ...props }: ChartLegendLabelProps): import("react").JSX.Element;
|
|
498
|
+
//#endregion
|
|
499
|
+
//#region src/components/chart/chart-legend-indicator.d.ts
|
|
500
|
+
export declare function ChartLegendIndicator({ shape, className, children, ref, ...props }: ChartLegendIndicatorProps): import("react").JSX.Element;
|
|
501
|
+
//#endregion
|
|
502
|
+
//#region src/components/chart/chart-tooltip-icon.d.ts
|
|
503
|
+
export declare function ChartTooltipIcon({ className, children, ref, ...props }: ChartTooltipIconProps): import("react").JSX.Element;
|
|
504
|
+
//#endregion
|
|
505
|
+
//#region src/components/chart/chart.utils.d.ts
|
|
506
|
+
declare const getPayloadConfigFromPayload: (config: ChartConfig, payload: unknown, key: string) => ({
|
|
507
|
+
label?: string;
|
|
508
|
+
icon?: React$1.ComponentType;
|
|
509
|
+
} & ({
|
|
510
|
+
color?: string;
|
|
511
|
+
theme?: never;
|
|
512
|
+
} | {
|
|
513
|
+
color?: never;
|
|
514
|
+
theme: Record<"dark" | "light", string>;
|
|
515
|
+
})) | undefined, useChart: () => ChartContainerContextProps, useChartLegendPayload: () => {
|
|
516
|
+
label?: string;
|
|
517
|
+
color?: string;
|
|
518
|
+
icon?: React$1.ComponentType;
|
|
519
|
+
};
|
|
520
|
+
//#endregion
|
|
521
|
+
//#region src/components/chart/chart-tooltip-value.d.ts
|
|
522
|
+
export declare function ChartTooltipValue({ className, children, ref, ...props }: ChartTooltipValueProps): import("react").JSX.Element;
|
|
523
|
+
//#endregion
|
|
406
524
|
//#region src/components/checkbox/checkbox.types.d.ts
|
|
407
525
|
declare const checkboxVariants: (props?: ({
|
|
408
526
|
variant?: "elevated" | "inSurface" | null | undefined;
|
|
@@ -3935,16 +4053,16 @@ type ToggleGroupProps = React.ComponentProps<typeof ToggleGroup$1> & VariantProp
|
|
|
3935
4053
|
export declare function ToggleGroup({ size, variant, className, ref, ...props }: ToggleGroupProps): import("react").JSX.Element;
|
|
3936
4054
|
//#endregion
|
|
3937
4055
|
//#region src/components/tooltip/tooltip.types.d.ts
|
|
3938
|
-
type TooltipProps = ComponentProps<typeof Tooltip$
|
|
3939
|
-
type TooltipTriggerProps = ComponentProps<typeof Tooltip$
|
|
3940
|
-
type TooltipContentProps = ComponentProps<typeof Tooltip$
|
|
4056
|
+
type TooltipProps = ComponentProps<typeof Tooltip$2.Root>;
|
|
4057
|
+
type TooltipTriggerProps = ComponentProps<typeof Tooltip$2.Trigger>;
|
|
4058
|
+
type TooltipContentProps = ComponentProps<typeof Tooltip$2.Popup> & {
|
|
3941
4059
|
side?: 'top' | 'right' | 'bottom' | 'left';
|
|
3942
4060
|
alignOffset?: number;
|
|
3943
4061
|
sideOffset?: number;
|
|
3944
4062
|
};
|
|
3945
4063
|
//#endregion
|
|
3946
4064
|
//#region src/components/tooltip/tooltip.d.ts
|
|
3947
|
-
declare function Tooltip$
|
|
4065
|
+
declare function Tooltip$3({ ...props }: TooltipProps): import("react").JSX.Element;
|
|
3948
4066
|
//#endregion
|
|
3949
4067
|
//#region src/components/tooltip/tooltip-context.d.ts
|
|
3950
4068
|
export declare function TooltipContent({ side, alignOffset, sideOffset, className, children, ...props }: TooltipContentProps): import("react").JSX.Element;
|
|
@@ -3953,7 +4071,7 @@ export declare function TooltipContent({ side, alignOffset, sideOffset, classNam
|
|
|
3953
4071
|
export declare function TooltipTrigger({ children, ...props }: TooltipTriggerProps): import("react").JSX.Element;
|
|
3954
4072
|
//#endregion
|
|
3955
4073
|
//#region src/components/tooltip/index.d.ts
|
|
3956
|
-
declare const Tooltip: typeof Tooltip$
|
|
4074
|
+
declare const Tooltip: typeof Tooltip$3 & {
|
|
3957
4075
|
Content: typeof TooltipContent;
|
|
3958
4076
|
Trigger: typeof TooltipTrigger;
|
|
3959
4077
|
};
|
|
@@ -3992,4 +4110,5 @@ declare function useTheme(): ThemeProviderState;
|
|
|
3992
4110
|
//#region src/utils/cn.d.ts
|
|
3993
4111
|
export declare function cn(...inputs: ClassValue[]): string;
|
|
3994
4112
|
//#endregion
|
|
3995
|
-
export { Accordion, type AccordionHeaderProps, type AccordionIconProps, type AccordionItemProps, type AccordionPanelProps, type AccordionProps, type AccordionSubtitleProps, type AccordionTitleProps, Alert, type AlertActionProps, type AlertDescriptionProps, AlertDialog, type AlertDialogCloseProps, type AlertDialogConfirmProps, type AlertDialogDescriptionProps, type AlertDialogFooterProps, type AlertDialogHeaderProps, type AlertDialogIconProps, type AlertDialogPopupProps, type AlertDialogProps, type AlertDialogTitleProps, type AlertDialogTriggerProps, type AlertIconProps, type AlertProps, type AlertTitleProps, type AnchoredToastData, type AnchoredToastItemProps, type AnchoredToastProps, Autocomplete, type AutocompleteCollectionProps, type AutocompleteContentProps, type AutocompleteGridContentProps, type AutocompleteGridItemProps, type AutocompleteGroupLabelProps, type AutocompleteGroupProps, type AutocompleteInputGroupAddonProps, type AutocompleteInputGroupInputProps, type AutocompleteInputGroupProps, type AutocompleteItemProps, type AutocompleteProps, type AutocompleteRowProps, type AutocompleteStatusProps, type AutocompleteTriggerProps, Avatar, type AvatarBadgeProps, type AvatarFallbackProps, type AvatarImageProps, type AvatarProps, type BadgeProps, BentoBox, type BentoBoxActionProps, type BentoBoxContentProps, type BentoBoxDescriptionProps, type BentoBoxFooterProps, type BentoBoxHeaderProps, type BentoBoxProps, type BentoBoxTitleProps, Breadcrumb, type BreadcrumbEllipsisProps, type BreadcrumbItemProps, type BreadcrumbLinkProps, type BreadcrumbProps, type BreadcrumbSeparatorProps, type ButtonProps as ButtonExtendedProps, type ButtonGroupProps, Checkbox, type CheckboxGroupProps, type CheckboxIndicatorProps, type CheckboxRootProps, CodeBlock, type CodeBlockActionsProps, type CodeBlockCopyProps, type CodeBlockDownloadProps, type CodeBlockHeaderGroupProps, type CodeBlockNameProps, type CodeBlockProps, type CodeBlockProviderState, type CodeBlockSelectProps, type CodeBlockTabsProps, type CodeBlockValue, type CodeBlockWindowProps, Collapsible, type CollapsiblePanelProps, type CollapsibleProps, type CollapsibleTriggerProps, type ColorChannelSliderProps, ColorPicker, type ColorPickerAction, type ColorPickerAreaProps, type ColorPickerContextType, type ColorPickerGroupProps, type ColorPickerHueSliderProps, type ColorPickerInputProps, type ColorPickerLabelProps, type ColorPickerLightnessSliderProps, type ColorPickerPaletteAddProps, type ColorPickerPaletteLimitProps, type ColorPickerPaletteListProps, type ColorPickerPaletteSwatchProps, type ColorPickerProps, type ColorPickerRowProps, type ColorPickerState, type ColorPickerTransparencySliderProps, type ColorPickerValueTypeProps, Combobox, type ComboboxChipProps, type ComboboxChipsProps, type ComboboxCollectionProps, type ComboboxEmptyProps, type ComboboxGroupLabelProps, type ComboboxGroupProps, type ComboboxInputProps, type ComboboxItemProps, type ComboboxListProps, type ComboboxPopupProps, type ComboboxProps, type ComboboxStatusProps, type ComboboxTriggerProps, type ComboboxValueProps, type ComboboxVirtualizedListProps, ContextMenu, type ContextMenuCheckboxItemProps, type ContextMenuGroupLabelProps, type ContextMenuGroupProps, type ContextMenuItemProps, type ContextMenuPopupProps, type ContextMenuProps, type ContextMenuRadioGroupProps, type ContextMenuRadioItemProps, type ContextMenuSeparatorProps, type ContextMenuShortcutProps, type ContextMenuSubmenuProps, type ContextMenuSubmenuTriggerProps, type ContextMenuTriggerProps, DEFAULT_THEME, type DateFilterValue, Dialog, type DialogCloseProps, type DialogDescriptionProps, type DialogFooterProps, type DialogHeaderProps, DialogHelper, type DialogIconProps, type DialogPopupProps, type DialogProps, type DialogTitleProps, type DialogTriggerProps, Drawer, type DrawerCloseProps, type DrawerContentProps, type DrawerDescriptionProps, type DrawerHeaderProps, type DrawerPopupProps, type DrawerProps, type DrawerProviderProps, type DrawerTitleProps, type DrawerTriggerProps, Dropzone, type DropzoneActionsProps, type DropzoneClearProps, type DropzoneConfirmProps, type DropzoneContainerProps, type DropzoneErrorProps, type DropzoneFileLimitProps, DropzoneFilesList as DropzoneFileList, type DropzoneFileSizeLimitProps, type DropzoneFilesHeaderProps, type DropzoneFilesListProps, type DropzoneFilesProps, type DropzoneFilesTitleProps, type DropzoneFormatsProps, type DropzoneHeadingProps, type DropzoneIconProps, type DropzoneInfoProps, type DropzoneProps, type DropzoneSubtitleProps, type DropzoneTriggerProps, Field, type FieldCheckboxProps, type FieldDescriptionProps, type FieldErrorProps, type FieldInputGroupInputProps, type FieldInputGroupProps, type FieldInputProps, type FieldLabelProps, type FieldProps, type FieldRadioGroupProps, type FieldRadioProps, type FieldRowProps, type FieldSelectProps, type FieldSetProps, type FieldSliderProps, type FieldSwitchProps, type FieldTextAreaProps, type FieldToggleProps, Form, type FormErrorsProps, type FormProps, type FormResetProps, type FormSubmitProps, InputGroup, type InputGroupAddonProps, type InputGroupInputProps, type InputGroupProps, type InputGroupSeparatorProps, InputOTP, type InputOTPProps, type InputOTPSlotProps, type InputOtpSeparatorProps, type InputProps, Kbd, type KbdGroupProps, type KbdProps, type LabelProps, type LayerTreeBodyProps, type LayerTreeColumnMeta, type LayerTreeExpandAllProps, type LayerTreeFooterProps, type LayerTreeIconCellProps, type LayerTreeLockedAllProps, type LayerTreeLockedCellProps, type LayerTreeNodeBase, type LayerTreeNodeIconProps, type LayerTreeProps, type LayerTreeRowProps, type LayerTreeSearchProps, type LayerTreeSortProps, type LayerTreeTableMeta, type LayerTreeTextCellProps, type LayerTreeTriggerCellProps, type LayerTreeVisibilityAllProps, type LayerTreeVisibilityCellProps, Menu, type MenuCheckboxItemProps, type MenuGroupLabelProps, type MenuGroupProps, type MenuItemProps, type MenuPopupProps, type MenuProps, type MenuRadioGroupProps, type MenuRadioItemProps, type MenuSeparatorProps, type MenuShortcutProps, type MenuSubmenuProps, type MenuSubmenuTriggerProps, type MenuTriggerProps, Meter, type MeterFooterProps, type MeterHeaderProps, type MeterIndicatorProps, type MeterLabelProps, type MeterProps, type MeterSubtitleProps, type MeterTrackProps, type MeterValueProps, NavBar, type NavBarItemIconProps, type NavBarItemLabelProps, type NavBarItemProps, type NavBarProps, NavigationMenu, type NavigationMenuContentProps, type NavigationMenuIconProps, type NavigationMenuItemProps, type NavigationMenuLinkProps, type NavigationMenuListProps, type NavigationMenuPopupProps, type NavigationMenuProps, type NavigationMenuTriggerProps, NumberField, type NumberFieldTypesProps, type NumberFilterValue, Popover, type PopoverButtonProps, type PopoverContentProps, type PopoverDescriptionProps, type PopoverHeaderProps, type PopoverPanelProps, type PopoverProps, type PopoverTitleProps, type PopoverTriggerProps, PreviewCard, type PreviewCardPopupProps, type PreviewCardProps, type PreviewCardTriggerProps, Profile, type ProfileActionProps, type ProfileContentProps, type ProfileNameProps, type ProfileProps, type ProfileSubnameProps, Progress, type ProgressBarProps, type ProgressDescriptionProps, type ProgressIndicatorProps, type ProgressLabelProps, type ProgressProps, type ProgressTitleProps, type RadarPingProps, RadioGroup, type RadioGroupProps, type RadioProps, type ResizeableHandleProps, type ResizeablePanelGroupProps, type ResizeablePanelProps, type RowLockedState, type RowVisibilityState, type ScrollAreaProps, Select, type SelectDescriptionProps, type SelectGroupLabelProps, type SelectGroupProps, type SelectIconProps, type SelectItemProps, type SelectListProps, type SelectPopupProps, type SelectProps, type SelectTitleProps, type SelectTriggerProps, type SelectValueProps, type SeparatorProps, Sidebar, type SidebarContentProps, type SidebarFooterProps, type SidebarGroupContentProps, type SidebarGroupLabelProps, type SidebarGroupProps, type SidebarHeaderProps, type SidebarMenuBadgeProps, type SidebarMenuButtonProps, type SidebarMenuCollapsiblePanelProps, type SidebarMenuCollapsibleProps, type SidebarMenuCollapsibleTriggerProps, type SidebarMenuItemProps, type SidebarMenuProps, type SidebarProps, SidebarProvider, type SidebarToggleProps, type SkeletonProps, Slider, type SliderDescriptionProps, SliderGroup, type SliderGroupProps, type SliderGroupSliderProps, type SliderIconProps, type SliderInputProps, type SliderLabelProps, type SliderProps, type SliderThumbProps, type SliderValueProps, type StackToastData, type StackToastItemProps, type StackToastProps, type StringFilterValue, type SwitchProps, THEME_STORAGE_KEY, type TableBadgeCellProps, type TableBodyProps, type TableChangeViewProps, type TableColumnToggleProps, type TableContainerProps, type TableContentProps, type TableDateCellProps, type TableDateFilterChipProps, type TableDateFilterFormProps, type TableFilterListProps, type TableFilterMenuProps, type TableFirstPageProps, type TableFooterProps, type TableHeaderProps, type TableImageCellProps, type TableLastPageProps, type TableNavProps, type TableNextPageProps, type TableNumberCellProps, type TableNumberFilterChipProps, type TableNumberFilterFormProps, type TablePaginationProps, type TablePagingProps, type TablePreviousPageProps, type TableRefreshProps, type TableResultsProps, type TableRowProps, type TableSearchProps, TableCheckboxCell as TableSelectCell, type TableCheckboxCellProps as TableSelectCellProps, type TableSelectFilterChipProps, type TableSelectFilterFormProps, type TableSelectFilterOption, type TableSelectFilterValue, type TableSelectHeaderProps, type TableSortChipProps, type TableSortListProps, type TableSortMenuProps as TableSortProps, type TableStringFilterChipProps, type TableStringFilterFormProps, type TableTextCellProps, type TableToolbarProps, type TableViewportProps, Tabs, type TabsIndicatorProps, type TabsListProps, type TabsPanelProps, type TabsProps, type TabsTabProps, type TabsTabValue, type TextAreaProps, type Theme, ThemeProvider, type ThemeProviderProps, type ThemeProviderState, type ThemeValue, Toast, type ToastProviderProps, type ToastVariant, type ToggleGroupProps, type ToggleProps, Tooltip, type TooltipContentProps, type TooltipProps, type TooltipTriggerProps, anchoredToastManager, createAppColumnHelper, createAppColumnHelper$1 as createLayerTreeColumnHelper, dateFilterFn, defaultFilterOperatorLabels, features, findLayerTreeNode, getThemeByValue, insertLayerTreeNode, features$1 as layerTreeFeatures, moveLayerTreeNode, moveLayerTreeNodeToRoot, numberFilterFn, popoverHandle, removeLayerTreeNode, rowLockedFeature, rowVisibilityFeature, selectFilterFn, stackToastManager, stringFilterFn, useAppTable, useCellContext, useFilter, useFilteredItems, useHeaderContext, useLayerTree, useCellContext$1 as useLayerTreeCellContext, useTableContext as useLayerTreeContext, useHeaderContext$1 as useLayerTreeHeaderContext, useAppTable$1 as useLayerTreeTable, useSidebar, useSliderGroupContext, useTableContext$1 as useTableContext, useTheme, useToastManager };
|
|
4113
|
+
export { Accordion, type AccordionHeaderProps, type AccordionIconProps, type AccordionItemProps, type AccordionPanelProps, type AccordionProps, type AccordionSubtitleProps, type AccordionTitleProps, Alert, type AlertActionProps, type AlertDescriptionProps, AlertDialog, type AlertDialogCloseProps, type AlertDialogConfirmProps, type AlertDialogDescriptionProps, type AlertDialogFooterProps, type AlertDialogHeaderProps, type AlertDialogIconProps, type AlertDialogPopupProps, type AlertDialogProps, type AlertDialogTitleProps, type AlertDialogTriggerProps, type AlertIconProps, type AlertProps, type AlertTitleProps, type AnchoredToastData, type AnchoredToastItemProps, type AnchoredToastProps, Autocomplete, type AutocompleteCollectionProps, type AutocompleteContentProps, type AutocompleteGridContentProps, type AutocompleteGridItemProps, type AutocompleteGroupLabelProps, type AutocompleteGroupProps, type AutocompleteInputGroupAddonProps, type AutocompleteInputGroupInputProps, type AutocompleteInputGroupProps, type AutocompleteItemProps, type AutocompleteProps, type AutocompleteRowProps, type AutocompleteStatusProps, type AutocompleteTriggerProps, Avatar, type AvatarBadgeProps, type AvatarFallbackProps, type AvatarImageProps, type AvatarProps, type BadgeProps, BentoBox, type BentoBoxActionProps, type BentoBoxContentProps, type BentoBoxDescriptionProps, type BentoBoxFooterProps, type BentoBoxHeaderProps, type BentoBoxProps, type BentoBoxTitleProps, Breadcrumb, type BreadcrumbEllipsisProps, type BreadcrumbItemProps, type BreadcrumbLinkProps, type BreadcrumbProps, type BreadcrumbSeparatorProps, type ButtonProps as ButtonExtendedProps, type ButtonGroupProps, type ChartConfig, ChartContainerContext, type ChartContainerContextProps, type ChartContainerProps, type ChartLegendContentProps, type ChartLegendIconProps, type ChartLegendIndicatorProps, type ChartLegendLabelProps, type ChartLegendPayloadProps, type ChartLegendProps, type ChartLinearGradientProps, ChartTooltipContent, type ChartTooltipContentProps, type ChartTooltipIconProps, type ChartTooltipIndicatorProps, type ChartTooltipLabelProps, type ChartTooltipNameProps, ChartTooltipPayload, type ChartTooltipPayloadProps, type ChartTooltipProps, type ChartTooltipValueProps, Checkbox, type CheckboxGroupProps, type CheckboxIndicatorProps, type CheckboxRootProps, CodeBlock, type CodeBlockActionsProps, type CodeBlockCopyProps, type CodeBlockDownloadProps, type CodeBlockHeaderGroupProps, type CodeBlockNameProps, type CodeBlockProps, type CodeBlockProviderState, type CodeBlockSelectProps, type CodeBlockTabsProps, type CodeBlockValue, type CodeBlockWindowProps, Collapsible, type CollapsiblePanelProps, type CollapsibleProps, type CollapsibleTriggerProps, type ColorChannelSliderProps, ColorPicker, type ColorPickerAction, type ColorPickerAreaProps, type ColorPickerContextType, type ColorPickerGroupProps, type ColorPickerHueSliderProps, type ColorPickerInputProps, type ColorPickerLabelProps, type ColorPickerLightnessSliderProps, type ColorPickerPaletteAddProps, type ColorPickerPaletteLimitProps, type ColorPickerPaletteListProps, type ColorPickerPaletteSwatchProps, type ColorPickerProps, type ColorPickerRowProps, type ColorPickerState, type ColorPickerTransparencySliderProps, type ColorPickerValueTypeProps, Combobox, type ComboboxChipProps, type ComboboxChipsProps, type ComboboxCollectionProps, type ComboboxEmptyProps, type ComboboxGroupLabelProps, type ComboboxGroupProps, type ComboboxInputProps, type ComboboxItemProps, type ComboboxListProps, type ComboboxPopupProps, type ComboboxProps, type ComboboxStatusProps, type ComboboxTriggerProps, type ComboboxValueProps, type ComboboxVirtualizedListProps, ContextMenu, type ContextMenuCheckboxItemProps, type ContextMenuGroupLabelProps, type ContextMenuGroupProps, type ContextMenuItemProps, type ContextMenuPopupProps, type ContextMenuProps, type ContextMenuRadioGroupProps, type ContextMenuRadioItemProps, type ContextMenuSeparatorProps, type ContextMenuShortcutProps, type ContextMenuSubmenuProps, type ContextMenuSubmenuTriggerProps, type ContextMenuTriggerProps, DEFAULT_THEME, type DateFilterValue, Dialog, type DialogCloseProps, type DialogDescriptionProps, type DialogFooterProps, type DialogHeaderProps, DialogHelper, type DialogIconProps, type DialogPopupProps, type DialogProps, type DialogTitleProps, type DialogTriggerProps, Drawer, type DrawerCloseProps, type DrawerContentProps, type DrawerDescriptionProps, type DrawerHeaderProps, type DrawerPopupProps, type DrawerProps, type DrawerProviderProps, type DrawerTitleProps, type DrawerTriggerProps, Dropzone, type DropzoneActionsProps, type DropzoneClearProps, type DropzoneConfirmProps, type DropzoneContainerProps, type DropzoneErrorProps, type DropzoneFileLimitProps, DropzoneFilesList as DropzoneFileList, type DropzoneFileSizeLimitProps, type DropzoneFilesHeaderProps, type DropzoneFilesListProps, type DropzoneFilesProps, type DropzoneFilesTitleProps, type DropzoneFormatsProps, type DropzoneHeadingProps, type DropzoneIconProps, type DropzoneInfoProps, type DropzoneProps, type DropzoneSubtitleProps, type DropzoneTriggerProps, Field, type FieldCheckboxProps, type FieldDescriptionProps, type FieldErrorProps, type FieldInputGroupInputProps, type FieldInputGroupProps, type FieldInputProps, type FieldLabelProps, type FieldProps, type FieldRadioGroupProps, type FieldRadioProps, type FieldRowProps, type FieldSelectProps, type FieldSetProps, type FieldSliderProps, type FieldSwitchProps, type FieldTextAreaProps, type FieldToggleProps, Form, type FormErrorsProps, type FormProps, type FormResetProps, type FormSubmitProps, InputGroup, type InputGroupAddonProps, type InputGroupInputProps, type InputGroupProps, type InputGroupSeparatorProps, InputOTP, type InputOTPProps, type InputOTPSlotProps, type InputOtpSeparatorProps, type InputProps, Kbd, type KbdGroupProps, type KbdProps, type LabelProps, type LayerTreeBodyProps, type LayerTreeColumnMeta, type LayerTreeExpandAllProps, type LayerTreeFooterProps, type LayerTreeIconCellProps, type LayerTreeLockedAllProps, type LayerTreeLockedCellProps, type LayerTreeNodeBase, type LayerTreeNodeIconProps, type LayerTreeProps, type LayerTreeRowProps, type LayerTreeSearchProps, type LayerTreeSortProps, type LayerTreeTableMeta, type LayerTreeTextCellProps, type LayerTreeTriggerCellProps, type LayerTreeVisibilityAllProps, type LayerTreeVisibilityCellProps, Menu, type MenuCheckboxItemProps, type MenuGroupLabelProps, type MenuGroupProps, type MenuItemProps, type MenuPopupProps, type MenuProps, type MenuRadioGroupProps, type MenuRadioItemProps, type MenuSeparatorProps, type MenuShortcutProps, type MenuSubmenuProps, type MenuSubmenuTriggerProps, type MenuTriggerProps, Meter, type MeterFooterProps, type MeterHeaderProps, type MeterIndicatorProps, type MeterLabelProps, type MeterProps, type MeterSubtitleProps, type MeterTrackProps, type MeterValueProps, NavBar, type NavBarItemIconProps, type NavBarItemLabelProps, type NavBarItemProps, type NavBarProps, NavigationMenu, type NavigationMenuContentProps, type NavigationMenuIconProps, type NavigationMenuItemProps, type NavigationMenuLinkProps, type NavigationMenuListProps, type NavigationMenuPopupProps, type NavigationMenuProps, type NavigationMenuTriggerProps, NumberField, type NumberFieldTypesProps, type NumberFilterValue, Popover, type PopoverButtonProps, type PopoverContentProps, type PopoverDescriptionProps, type PopoverHeaderProps, type PopoverPanelProps, type PopoverProps, type PopoverTitleProps, type PopoverTriggerProps, PreviewCard, type PreviewCardPopupProps, type PreviewCardProps, type PreviewCardTriggerProps, Profile, type ProfileActionProps, type ProfileContentProps, type ProfileNameProps, type ProfileProps, type ProfileSubnameProps, Progress, type ProgressBarProps, type ProgressDescriptionProps, type ProgressIndicatorProps, type ProgressLabelProps, type ProgressProps, type ProgressTitleProps, type RadarPingProps, RadioGroup, type RadioGroupProps, type RadioProps, type ResizeableHandleProps, type ResizeablePanelGroupProps, type ResizeablePanelProps, type RowLockedState, type RowVisibilityState, type ScrollAreaProps, Select, type SelectDescriptionProps, type SelectGroupLabelProps, type SelectGroupProps, type SelectIconProps, type SelectItemProps, type SelectListProps, type SelectPopupProps, type SelectProps, type SelectTitleProps, type SelectTriggerProps, type SelectValueProps, type SeparatorProps, Sidebar, type SidebarContentProps, type SidebarFooterProps, type SidebarGroupContentProps, type SidebarGroupLabelProps, type SidebarGroupProps, type SidebarHeaderProps, type SidebarMenuBadgeProps, type SidebarMenuButtonProps, type SidebarMenuCollapsiblePanelProps, type SidebarMenuCollapsibleProps, type SidebarMenuCollapsibleTriggerProps, type SidebarMenuItemProps, type SidebarMenuProps, type SidebarProps, SidebarProvider, type SidebarToggleProps, type SkeletonProps, Slider, type SliderDescriptionProps, SliderGroup, type SliderGroupProps, type SliderGroupSliderProps, type SliderIconProps, type SliderInputProps, type SliderLabelProps, type SliderProps, type SliderThumbProps, type SliderValueProps, type StackToastData, type StackToastItemProps, type StackToastProps, type StringFilterValue, type SwitchProps, THEME_STORAGE_KEY, type TableBadgeCellProps, type TableBodyProps, type TableChangeViewProps, type TableColumnToggleProps, type TableContainerProps, type TableContentProps, type TableDateCellProps, type TableDateFilterChipProps, type TableDateFilterFormProps, type TableFilterListProps, type TableFilterMenuProps, type TableFirstPageProps, type TableFooterProps, type TableHeaderProps, type TableImageCellProps, type TableLastPageProps, type TableNavProps, type TableNextPageProps, type TableNumberCellProps, type TableNumberFilterChipProps, type TableNumberFilterFormProps, type TablePaginationProps, type TablePagingProps, type TablePreviousPageProps, type TableRefreshProps, type TableResultsProps, type TableRowProps, type TableSearchProps, TableCheckboxCell as TableSelectCell, type TableCheckboxCellProps as TableSelectCellProps, type TableSelectFilterChipProps, type TableSelectFilterFormProps, type TableSelectFilterOption, type TableSelectFilterValue, type TableSelectHeaderProps, type TableSortChipProps, type TableSortListProps, type TableSortMenuProps as TableSortProps, type TableStringFilterChipProps, type TableStringFilterFormProps, type TableTextCellProps, type TableToolbarProps, type TableViewportProps, Tabs, type TabsIndicatorProps, type TabsListProps, type TabsPanelProps, type TabsProps, type TabsTabProps, type TabsTabValue, type TextAreaProps, type Theme, ThemeProvider, type ThemeProviderProps, type ThemeProviderState, type ThemeValue, Toast, type ToastProviderProps, type ToastVariant, type ToggleGroupProps, type ToggleProps, Tooltip, type TooltipContentProps, type TooltipProps, type TooltipTriggerProps, anchoredToastManager, createAppColumnHelper, createAppColumnHelper$1 as createLayerTreeColumnHelper, dateFilterFn, defaultFilterOperatorLabels, features, findLayerTreeNode, getPayloadConfigFromPayload, getThemeByValue, insertLayerTreeNode, features$1 as layerTreeFeatures, moveLayerTreeNode, moveLayerTreeNodeToRoot, numberFilterFn, popoverHandle, removeLayerTreeNode, rowLockedFeature, rowVisibilityFeature, selectFilterFn, stackToastManager, stringFilterFn, useAppTable, useCellContext, useChart, useChartTooltipContent, useChartTooltipPayload, useFilter, useFilteredItems, useHeaderContext, useLayerTree, useCellContext$1 as useLayerTreeCellContext, useTableContext as useLayerTreeContext, useHeaderContext$1 as useLayerTreeHeaderContext, useAppTable$1 as useLayerTreeTable, useSidebar, useSliderGroupContext, useTableContext$1 as useTableContext, useTheme, useToastManager };
|
|
4114
|
+
//# sourceMappingURL=index.d.mts.map
|
package/dist/index.mjs
CHANGED
|
@@ -8,6 +8,7 @@ import { AlertDialog as AlertDialog$1, Button as Button$1, Checkbox as Checkbox$
|
|
|
8
8
|
import React, { Children, createContext, createElement, isValidElement, useContext, useEffect, useId, useRef, useState } from "react";
|
|
9
9
|
import { Autocomplete as Autocomplete$1 } from "@base-ui/react/autocomplete";
|
|
10
10
|
import { Avatar as Avatar$1 } from "@base-ui/react/avatar";
|
|
11
|
+
import { Legend, Tooltip as Tooltip$1 } from "recharts";
|
|
11
12
|
import { Checkbox as Checkbox$2 } from "@base-ui/react/checkbox";
|
|
12
13
|
import { Select as Select$1 } from "@base-ui/react/select";
|
|
13
14
|
import { Tabs as Tabs$1 } from "@base-ui/react/tabs";
|
|
@@ -21,7 +22,7 @@ import { useVirtualizer } from "@tanstack/react-virtual";
|
|
|
21
22
|
import { ContextMenu as ContextMenu$1 } from "@base-ui/react/context-menu";
|
|
22
23
|
import { Dialog as Dialog$1 } from "@base-ui/react/dialog";
|
|
23
24
|
import { createFormHook, createFormHookContexts } from "@tanstack/react-form";
|
|
24
|
-
import { Tooltip as Tooltip$
|
|
25
|
+
import { Tooltip as Tooltip$2 } from "@base-ui/react/tooltip";
|
|
25
26
|
import { Switch as Switch$1 } from "@base-ui/react/switch";
|
|
26
27
|
import { Toggle as Toggle$2 } from "@base-ui/react/toggle";
|
|
27
28
|
import { assignPrototypeAPIs, assignTableAPIs, columnFacetingFeature, columnFilteringFeature, columnSizingFeature, columnVisibilityFeature, constructFilterFn, createExpandedRowModel, createFacetedRowModel, createFacetedUniqueValues, createFilteredRowModel, createPaginatedRowModel, createSortedRowModel, createTableHook, createTableHookContexts, filterFn_arrHas, filterFn_arrIncludes, filterFn_arrIncludesAll, filterFn_arrIncludesSome, filterFn_between, filterFn_betweenInclusive, filterFn_empty, filterFn_endsWith, filterFn_equals, filterFn_equalsString, filterFn_equalsStringSensitive, filterFn_inDateRange, filterFn_inNumberRange, filterFn_includesString, filterFn_includesStringSensitive, filterFn_notEmpty, filterFn_startsWith, filterFn_weakEquals, functionalUpdate, globalFilteringFeature, makeStateUpdater, metaHelper, rowExpandingFeature, rowPaginationFeature, rowSelectionFeature, rowSortingFeature, sortFn_alphanumeric, sortFn_basic, sortFn_datetime, sortFn_text, tableFeatures } from "@tanstack/react-table";
|
|
@@ -1496,6 +1497,275 @@ function ButtonGroup({ size, variant, tone, orientation, className, ref, ...prop
|
|
|
1496
1497
|
});
|
|
1497
1498
|
}
|
|
1498
1499
|
//#endregion
|
|
1500
|
+
//#region src/components/chart/chart.types.ts
|
|
1501
|
+
const ChartContainerContext = React.createContext(void 0);
|
|
1502
|
+
const ChartLegendPayloadContext = React.createContext(void 0);
|
|
1503
|
+
//#endregion
|
|
1504
|
+
//#region src/components/chart/chart-container.tsx
|
|
1505
|
+
function ChartContainer({ id, config, className, children, ref, ...props }) {
|
|
1506
|
+
const uniqueId = React.useId(), chartId = `chart-${id ?? uniqueId.replace(/:/g, "")}`;
|
|
1507
|
+
return /* @__PURE__ */ jsx(ChartContainerContext.Provider, {
|
|
1508
|
+
value: { config },
|
|
1509
|
+
children: /* @__PURE__ */ jsx("div", {
|
|
1510
|
+
"data-slot": "chart",
|
|
1511
|
+
"data-chart": chartId,
|
|
1512
|
+
className: cn("flex aspect-video justify-center style-text-default--1 [&_.recharts-cartesian-axis-tick_text]:fill-on-surface-muted [&_.recharts-cartesian-grid_line[stroke='#ccc']]:stroke-border/50 [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border [&_.recharts-dot[stroke='#fff']]:stroke-transparent [&_.recharts-layer]:outline-hidden [&_.recharts-polar-grid_[stroke='#ccc']]:stroke-border [&_.recharts-radial-bar-background-sector]:fill-neutral-container-high [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-neutral-container-high [&_.recharts-reference-line_[stroke='#ccc']]:stroke-border [&_.recharts-sector]:outline-hidden [&_.recharts-sector[stroke='#fff']]:stroke-transparent [&_.recharts-surface]:outline-hidden", className),
|
|
1513
|
+
ref,
|
|
1514
|
+
...props,
|
|
1515
|
+
children
|
|
1516
|
+
})
|
|
1517
|
+
});
|
|
1518
|
+
}
|
|
1519
|
+
//#endregion
|
|
1520
|
+
//#region src/components/chart/chart-tooltip.tsx
|
|
1521
|
+
function ChartTooltip({ content, ...props }) {
|
|
1522
|
+
return /* @__PURE__ */ jsx(Tooltip$1, {
|
|
1523
|
+
content,
|
|
1524
|
+
...props
|
|
1525
|
+
});
|
|
1526
|
+
}
|
|
1527
|
+
//#endregion
|
|
1528
|
+
//#region src/components/chart/chart-tooltip-content.tsx
|
|
1529
|
+
const ChartTooltipContentContext = React.createContext(void 0);
|
|
1530
|
+
function ChartTooltipContent({ className, children, ref, ...props }) {
|
|
1531
|
+
return /* @__PURE__ */ jsx(ChartTooltipContentContext.Provider, {
|
|
1532
|
+
value: props,
|
|
1533
|
+
children: /* @__PURE__ */ jsx("div", {
|
|
1534
|
+
className: cn("min-w-[125px] space-y-2xs rounded-lg bg-surface-2 px-xs py-2xs", className),
|
|
1535
|
+
ref,
|
|
1536
|
+
...props,
|
|
1537
|
+
children
|
|
1538
|
+
})
|
|
1539
|
+
});
|
|
1540
|
+
}
|
|
1541
|
+
function useChartTooltipContent() {
|
|
1542
|
+
const context = React.useContext(ChartTooltipContentContext);
|
|
1543
|
+
if (!context) throw new Error("useChartTooltipContent must be used within a ChartTooltipContentProvider");
|
|
1544
|
+
return context;
|
|
1545
|
+
}
|
|
1546
|
+
//#endregion
|
|
1547
|
+
//#region src/components/chart/chart-tooltip-label.tsx
|
|
1548
|
+
function ChartTooltipLabel({ className, children, ref, ...props }) {
|
|
1549
|
+
const { label } = useChartTooltipContent();
|
|
1550
|
+
return /* @__PURE__ */ jsxs("p", {
|
|
1551
|
+
className: cn("style-text-default-0", className),
|
|
1552
|
+
ref,
|
|
1553
|
+
...props,
|
|
1554
|
+
children: [children, label]
|
|
1555
|
+
});
|
|
1556
|
+
}
|
|
1557
|
+
//#endregion
|
|
1558
|
+
//#region src/components/chart/chart-tooltip-payload.tsx
|
|
1559
|
+
const ChartTooltipPayloadContext = React.createContext(void 0);
|
|
1560
|
+
function ChartTooltipPayload({ className, children, ref, ...props }) {
|
|
1561
|
+
const { payload } = useChartTooltipContent();
|
|
1562
|
+
return /* @__PURE__ */ jsx("div", {
|
|
1563
|
+
className: cn("flex flex-col gap-3xs", className),
|
|
1564
|
+
ref,
|
|
1565
|
+
...props,
|
|
1566
|
+
children: payload?.map((entry) => /* @__PURE__ */ jsx(ChartTooltipPayloadContext.Provider, {
|
|
1567
|
+
value: entry,
|
|
1568
|
+
children: /* @__PURE__ */ jsx("div", {
|
|
1569
|
+
className: "flex items-center justify-between gap-2xs",
|
|
1570
|
+
children
|
|
1571
|
+
})
|
|
1572
|
+
}, String(entry.dataKey ?? entry.name)))
|
|
1573
|
+
});
|
|
1574
|
+
}
|
|
1575
|
+
function useChartTooltipPayload() {
|
|
1576
|
+
const context = React.useContext(ChartTooltipPayloadContext);
|
|
1577
|
+
if (!context) throw new Error("useChartTooltipPayload must be used within a ChartTooltipPayloadProvider");
|
|
1578
|
+
return context;
|
|
1579
|
+
}
|
|
1580
|
+
//#endregion
|
|
1581
|
+
//#region src/components/chart/chart-legend.tsx
|
|
1582
|
+
function ChartLegend({ children, ...props }) {
|
|
1583
|
+
return /* @__PURE__ */ jsx(Legend, {
|
|
1584
|
+
...props,
|
|
1585
|
+
children
|
|
1586
|
+
});
|
|
1587
|
+
}
|
|
1588
|
+
//#endregion
|
|
1589
|
+
//#region src/components/chart/chart.utils.ts
|
|
1590
|
+
const getPayloadConfigFromPayload = (config, payload, key) => {
|
|
1591
|
+
if (typeof payload !== "object" || payload === null) return;
|
|
1592
|
+
if (key in config) return config[key];
|
|
1593
|
+
if ("name" in payload && typeof payload.name === "string" && payload.name in config) return config[payload.name];
|
|
1594
|
+
};
|
|
1595
|
+
const useChart = () => {
|
|
1596
|
+
const context = React.useContext(ChartContainerContext);
|
|
1597
|
+
if (!context) throw new Error("useChart must be used within a ChartContainerProvider");
|
|
1598
|
+
return context;
|
|
1599
|
+
};
|
|
1600
|
+
const useChartLegendPayload = () => {
|
|
1601
|
+
const context = React.useContext(ChartLegendPayloadContext);
|
|
1602
|
+
if (!context) throw new Error("useChartLegendPayload must be used within a ChartLegendPayloadProvider");
|
|
1603
|
+
return context;
|
|
1604
|
+
};
|
|
1605
|
+
//#endregion
|
|
1606
|
+
//#region src/components/chart/chart-legend-icon.tsx
|
|
1607
|
+
function ChartLegendIcon({ className, children, ref, ...props }) {
|
|
1608
|
+
const { icon: Icon, color } = useChartLegendPayload();
|
|
1609
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
1610
|
+
style: { color },
|
|
1611
|
+
className: cn("shrink-0 [&>svg]:size-xs", className),
|
|
1612
|
+
ref,
|
|
1613
|
+
...props,
|
|
1614
|
+
children: [children, Icon && /* @__PURE__ */ jsx(Icon, {})]
|
|
1615
|
+
});
|
|
1616
|
+
}
|
|
1617
|
+
//#endregion
|
|
1618
|
+
//#region src/components/chart/chart-legend-indicator.tsx
|
|
1619
|
+
function ChartLegendIndicator({ shape = "circle", className, children, ref, ...props }) {
|
|
1620
|
+
const { color } = useChartLegendPayload();
|
|
1621
|
+
return /* @__PURE__ */ jsx("div", {
|
|
1622
|
+
style: {
|
|
1623
|
+
backgroundColor: color,
|
|
1624
|
+
...shape === "circle" && { borderRadius: "50%" },
|
|
1625
|
+
...shape === "diamond" && { transform: "rotate(45deg)" },
|
|
1626
|
+
...shape === "triangle" && { clipPath: "polygon(50% 0%, 0% 100%, 100% 100%)" },
|
|
1627
|
+
...shape === "wye" && { clipPath: "polygon(50% 0%, 61.8% 35.4%, 98.5% 35.4%, 69.1% 57.1%, 80.9% 92.5%, 50% 70.7%, 19.1% 92.5%, 30.9% 57.1%, 1.5% 35.4%, 38.2% 35.4%)" },
|
|
1628
|
+
...shape === "line" && {
|
|
1629
|
+
borderRadius: "1.5px",
|
|
1630
|
+
maxHeight: "100%",
|
|
1631
|
+
width: "3px"
|
|
1632
|
+
}
|
|
1633
|
+
},
|
|
1634
|
+
className: cn("size-xs", className),
|
|
1635
|
+
ref,
|
|
1636
|
+
...props,
|
|
1637
|
+
children
|
|
1638
|
+
});
|
|
1639
|
+
}
|
|
1640
|
+
//#endregion
|
|
1641
|
+
//#region src/components/chart/chart-legend-label.tsx
|
|
1642
|
+
function ChartLegendLabel({ className, children, ref, ...props }) {
|
|
1643
|
+
const { label } = useChartLegendPayload();
|
|
1644
|
+
return /* @__PURE__ */ jsxs("p", {
|
|
1645
|
+
className: cn("style-text-default--1 capitalize", className),
|
|
1646
|
+
ref,
|
|
1647
|
+
...props,
|
|
1648
|
+
children: [children, label]
|
|
1649
|
+
});
|
|
1650
|
+
}
|
|
1651
|
+
//#endregion
|
|
1652
|
+
//#region src/components/chart/chart-legend-content.tsx
|
|
1653
|
+
function ChartLegendContent({ payload, verticalAlign = "bottom", className, children, ref, ...props }) {
|
|
1654
|
+
const { config } = useChart();
|
|
1655
|
+
return /* @__PURE__ */ jsx("div", {
|
|
1656
|
+
className: cn("flex items-center justify-center gap-lg", verticalAlign === "top" && "mb-md", verticalAlign === "bottom" && "mt-md", className),
|
|
1657
|
+
ref,
|
|
1658
|
+
...props,
|
|
1659
|
+
children: payload?.map((entry) => {
|
|
1660
|
+
let payloadKey = "value";
|
|
1661
|
+
if (typeof entry.dataKey === "string") payloadKey = entry.dataKey;
|
|
1662
|
+
const payloadConfig = getPayloadConfigFromPayload(config, entry, payloadKey);
|
|
1663
|
+
return /* @__PURE__ */ jsx(ChartLegendPayloadContext.Provider, {
|
|
1664
|
+
value: {
|
|
1665
|
+
color: payloadConfig?.color,
|
|
1666
|
+
icon: payloadConfig?.icon,
|
|
1667
|
+
label: payloadConfig?.label
|
|
1668
|
+
},
|
|
1669
|
+
children: /* @__PURE__ */ jsxs("div", {
|
|
1670
|
+
className: "flex items-center gap-2xs",
|
|
1671
|
+
children: [
|
|
1672
|
+
payloadConfig?.icon && /* @__PURE__ */ jsx(ChartLegendIcon, {}),
|
|
1673
|
+
!payloadConfig?.icon && /* @__PURE__ */ jsx(ChartLegendIndicator, {}),
|
|
1674
|
+
/* @__PURE__ */ jsx(ChartLegendLabel, {}),
|
|
1675
|
+
children
|
|
1676
|
+
]
|
|
1677
|
+
})
|
|
1678
|
+
}, String(entry.dataKey ?? entry.value));
|
|
1679
|
+
})
|
|
1680
|
+
});
|
|
1681
|
+
}
|
|
1682
|
+
//#endregion
|
|
1683
|
+
//#region src/components/chart/chart-linear-gradient.tsx
|
|
1684
|
+
function ChartLinearGradient({ gradients, className, children, ref, ...props }) {
|
|
1685
|
+
return /* @__PURE__ */ jsxs("defs", {
|
|
1686
|
+
className: cn("", className),
|
|
1687
|
+
ref,
|
|
1688
|
+
...props,
|
|
1689
|
+
children: [gradients.map((gradient) => /* @__PURE__ */ jsxs("linearGradient", {
|
|
1690
|
+
id: gradient.id,
|
|
1691
|
+
x1: "0",
|
|
1692
|
+
y1: "0",
|
|
1693
|
+
x2: "0",
|
|
1694
|
+
y2: "1",
|
|
1695
|
+
children: [/* @__PURE__ */ jsx("stop", {
|
|
1696
|
+
offset: "5%",
|
|
1697
|
+
stopColor: gradient.stopColor,
|
|
1698
|
+
stopOpacity: .8
|
|
1699
|
+
}), /* @__PURE__ */ jsx("stop", {
|
|
1700
|
+
offset: "95%",
|
|
1701
|
+
stopColor: gradient.stopColor,
|
|
1702
|
+
stopOpacity: .1
|
|
1703
|
+
})]
|
|
1704
|
+
}, gradient.id)), children]
|
|
1705
|
+
});
|
|
1706
|
+
}
|
|
1707
|
+
//#endregion
|
|
1708
|
+
//#region src/components/chart/chart-tooltip-indicator.tsx
|
|
1709
|
+
function ChartTooltipIndicator({ shape = "circle", className, children, ref, ...props }) {
|
|
1710
|
+
const { color } = useChartTooltipPayload();
|
|
1711
|
+
return /* @__PURE__ */ jsx("div", {
|
|
1712
|
+
style: {
|
|
1713
|
+
backgroundColor: color,
|
|
1714
|
+
...shape === "circle" && { borderRadius: "50%" },
|
|
1715
|
+
...shape === "diamond" && { transform: "rotate(45deg)" },
|
|
1716
|
+
...shape === "triangle" && { clipPath: "polygon(50% 0%, 0% 100%, 100% 100%)" },
|
|
1717
|
+
...shape === "wye" && { clipPath: "polygon(50% 0%, 61.8% 35.4%, 98.5% 35.4%, 69.1% 57.1%, 80.9% 92.5%, 50% 70.7%, 19.1% 92.5%, 30.9% 57.1%, 1.5% 35.4%, 38.2% 35.4%)" },
|
|
1718
|
+
...shape === "line" && {
|
|
1719
|
+
borderRadius: "1.5px",
|
|
1720
|
+
maxHeight: "100%",
|
|
1721
|
+
width: "3px"
|
|
1722
|
+
}
|
|
1723
|
+
},
|
|
1724
|
+
className: cn("size-xs", className),
|
|
1725
|
+
ref,
|
|
1726
|
+
...props,
|
|
1727
|
+
children
|
|
1728
|
+
});
|
|
1729
|
+
}
|
|
1730
|
+
//#endregion
|
|
1731
|
+
//#region src/components/chart/chart-tooltip-name.tsx
|
|
1732
|
+
function ChartTooltipName({ className, children, ref, ...props }) {
|
|
1733
|
+
const { name } = useChartTooltipPayload();
|
|
1734
|
+
return /* @__PURE__ */ jsxs("p", {
|
|
1735
|
+
className: cn("grow text-left style-text-default--1 text-on-surface-variant capitalize", className),
|
|
1736
|
+
ref,
|
|
1737
|
+
...props,
|
|
1738
|
+
children: [children, name]
|
|
1739
|
+
});
|
|
1740
|
+
}
|
|
1741
|
+
//#endregion
|
|
1742
|
+
//#region src/components/chart/chart-tooltip-icon.tsx
|
|
1743
|
+
function resolveConfigKey(dataKey) {
|
|
1744
|
+
if (typeof dataKey === "string") return dataKey;
|
|
1745
|
+
return "value";
|
|
1746
|
+
}
|
|
1747
|
+
function ChartTooltipIcon({ className, children, ref, ...props }) {
|
|
1748
|
+
const { config } = useChart(), payload = useChartTooltipPayload(), Icon = getPayloadConfigFromPayload(config, payload, resolveConfigKey(payload.dataKey))?.icon;
|
|
1749
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
1750
|
+
style: { color: payload.color },
|
|
1751
|
+
className: cn("shrink-0 [&>svg]:size-xs", className),
|
|
1752
|
+
ref,
|
|
1753
|
+
...props,
|
|
1754
|
+
children: [children, Icon && /* @__PURE__ */ jsx(Icon, {})]
|
|
1755
|
+
});
|
|
1756
|
+
}
|
|
1757
|
+
//#endregion
|
|
1758
|
+
//#region src/components/chart/chart-tooltip-value.tsx
|
|
1759
|
+
function ChartTooltipValue({ className, children, ref, ...props }) {
|
|
1760
|
+
const { value } = useChartTooltipPayload();
|
|
1761
|
+
return /* @__PURE__ */ jsxs("p", {
|
|
1762
|
+
className: cn("mx-auto style-text-default--1", className),
|
|
1763
|
+
ref,
|
|
1764
|
+
...props,
|
|
1765
|
+
children: [children, value]
|
|
1766
|
+
});
|
|
1767
|
+
}
|
|
1768
|
+
//#endregion
|
|
1499
1769
|
//#region src/components/label/label.types.ts
|
|
1500
1770
|
const labelVariants = cva("flex items-center gap-2xs select-none hover:cursor-pointer", {
|
|
1501
1771
|
defaultVariants: { size: "medium" },
|
|
@@ -4942,19 +5212,19 @@ function FieldSet({ className, ref, ...props }) {
|
|
|
4942
5212
|
}
|
|
4943
5213
|
//#endregion
|
|
4944
5214
|
//#region src/components/tooltip/tooltip.tsx
|
|
4945
|
-
function Tooltip$
|
|
4946
|
-
return /* @__PURE__ */ jsx(Tooltip$
|
|
5215
|
+
function Tooltip$3({ ...props }) {
|
|
5216
|
+
return /* @__PURE__ */ jsx(Tooltip$2.Provider, { children: /* @__PURE__ */ jsx(Tooltip$2.Root, { ...props }) });
|
|
4947
5217
|
}
|
|
4948
5218
|
//#endregion
|
|
4949
5219
|
//#region src/components/tooltip/tooltip-context.tsx
|
|
4950
5220
|
const DEFAULT_ALIGN_OFFSET = 0;
|
|
4951
5221
|
const DEFAULT_SIDE_OFFSET = 5;
|
|
4952
5222
|
function TooltipContent({ side = "top", alignOffset = DEFAULT_ALIGN_OFFSET, sideOffset = DEFAULT_SIDE_OFFSET, className, children, ...props }) {
|
|
4953
|
-
return /* @__PURE__ */ jsx(Tooltip$
|
|
5223
|
+
return /* @__PURE__ */ jsx(Tooltip$2.Portal, { children: /* @__PURE__ */ jsx(Tooltip$2.Positioner, {
|
|
4954
5224
|
side,
|
|
4955
5225
|
alignOffset,
|
|
4956
5226
|
sideOffset,
|
|
4957
|
-
children: /* @__PURE__ */ jsx(Tooltip$
|
|
5227
|
+
children: /* @__PURE__ */ jsx(Tooltip$2.Popup, {
|
|
4958
5228
|
className: cn("z-50 w-fit origin-(--transform-origin) animate-in rounded-md bg-surface-2 px-xs py-3xs text-sm text-balance shadow-md fade-in-0 zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95", className),
|
|
4959
5229
|
...props,
|
|
4960
5230
|
children
|
|
@@ -4966,14 +5236,14 @@ function TooltipContent({ side = "top", alignOffset = DEFAULT_ALIGN_OFFSET, side
|
|
|
4966
5236
|
function TooltipTrigger({ children, ...props }) {
|
|
4967
5237
|
let render = void 0;
|
|
4968
5238
|
if (isValidElement(children)) render = children;
|
|
4969
|
-
return /* @__PURE__ */ jsx(Tooltip$
|
|
5239
|
+
return /* @__PURE__ */ jsx(Tooltip$2.Trigger, {
|
|
4970
5240
|
render,
|
|
4971
5241
|
...props
|
|
4972
5242
|
});
|
|
4973
5243
|
}
|
|
4974
5244
|
//#endregion
|
|
4975
5245
|
//#region src/components/tooltip/index.ts
|
|
4976
|
-
const Tooltip = Object.assign(Tooltip$
|
|
5246
|
+
const Tooltip = Object.assign(Tooltip$3, {
|
|
4977
5247
|
Content: TooltipContent,
|
|
4978
5248
|
Trigger: TooltipTrigger
|
|
4979
5249
|
});
|
|
@@ -7201,7 +7471,7 @@ function SidebarProvider({ id, defaultOpen = true, side = "left", collapsible =
|
|
|
7201
7471
|
trigger
|
|
7202
7472
|
},
|
|
7203
7473
|
children: /* @__PURE__ */ jsx("div", {
|
|
7204
|
-
className: cn("relative size-full", side === "left" && "flex flex-row", side === "right" && "flex flex-row-reverse", className),
|
|
7474
|
+
className: cn("relative size-full min-h-0", side === "left" && "flex flex-row", side === "right" && "flex flex-row-reverse", className),
|
|
7205
7475
|
ref,
|
|
7206
7476
|
...props
|
|
7207
7477
|
})
|
|
@@ -7257,7 +7527,7 @@ function Sidebar$1({ tone = "primary", width = DEFAULT_SIDEBAR_WIDTH, className,
|
|
|
7257
7527
|
isMobile
|
|
7258
7528
|
]);
|
|
7259
7529
|
return /* @__PURE__ */ jsx("div", {
|
|
7260
|
-
className: cn("sticky left-[0px] flex h-full shrink-0 flex-col
|
|
7530
|
+
className: cn("sticky left-[0px] flex h-full max-h-dvh min-h-0 shrink-0 flex-col overflow-hidden border-border bg-surface transition-[width,transform] duration-300 ease-in-out", className, tone === "primary" && "bg-surface-background", tone === "secondary" && "bg-surface", tone === "ghost" && "bg-transparent", getGapClasses(layout), getPositionClasses(layout), collapsible === "offcanvas" && !open && "border-none", open && "p-md", collapsible === "icon" && !open && "py-md", isMobile && "border-none", side === "left" && "border-r", side === "right" && "border-l"),
|
|
7261
7531
|
ref: sidebarRef,
|
|
7262
7532
|
style: getWidthStyle(layout),
|
|
7263
7533
|
...props
|
|
@@ -7268,7 +7538,7 @@ function Sidebar$1({ tone = "primary", width = DEFAULT_SIDEBAR_WIDTH, className,
|
|
|
7268
7538
|
function SidebarContent({ className, children, ref, ...props }) {
|
|
7269
7539
|
const { open } = useSidebar();
|
|
7270
7540
|
return /* @__PURE__ */ jsx(ScrollArea$1.Root, {
|
|
7271
|
-
className: cn("
|
|
7541
|
+
className: cn("min-h-0 flex-1 overflow-hidden rounded-xl transition-all duration-300 ease-in-out", !open && "w-fit self-center", className),
|
|
7272
7542
|
ref,
|
|
7273
7543
|
...props,
|
|
7274
7544
|
children: /* @__PURE__ */ jsx(ScrollArea$1.Viewport, {
|
|
@@ -9193,4 +9463,6 @@ function ToggleGroup({ size = "medium", variant, className, ref, ...props }) {
|
|
|
9193
9463
|
});
|
|
9194
9464
|
}
|
|
9195
9465
|
//#endregion
|
|
9196
|
-
export { Accordion, AccordionHeader, AccordionIcon, AccordionItem, AccordionPanel, AccordionSubtitle, AccordionTitle, Alert, AlertAction, AlertDescription, AlertDialog, AlertDialogClose, AlertDialogConfirm, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogIcon, AlertDialogPopup, AlertDialogTitle, AlertDialogTrigger, AlertIcon, AlertTitle, AnchoredToastItem, AnchoredToasts, Autocomplete, AutocompleteCollection, AutocompleteContent, AutocompleteGridContent, AutocompleteGridItem, AutocompleteGroup, AutocompleteGroupLabel, AutocompleteInputGroup, AutocompleteInputGroupAddon, AutocompleteInputGroupInput, AutocompleteItem, AutocompleteRow, AutocompleteStatus, AutocompleteTrigger, Avatar, AvatarBadge, AvatarFallback, AvatarImage, Badge, BentoBox, BentoBoxAction, BentoBoxContent, BentoBoxDescription, BentoBoxFooter, BentoBoxHeader, BentoBoxTitle, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbSeparator, Button, ButtonGroup, Checkbox, CheckboxGroup, CheckboxIndicator, CodeBlock, CodeBlockActions, CodeBlockCopy, CodeBlockDownload, CodeBlockHeader, CodeBlockName, CodeBlockSelect, CodeBlockTabs, CodeBlockWindow, Collapsible, CollapsiblePanel, CollapsibleTrigger, ColorChannelSlider, ColorPicker, ColorPickerArea, ColorPickerGroup, ColorPickerHueSlider, ColorPickerInput, ColorPickerLabel, ColorPickerLightnessSlider, ColorPickerPaletteLimit, ColorPickerPaletteList, ColorPickerPaletteSwatch, ColorPickerRow, ColorPickerTransparencySlider, ColorPickerValueType, Combobox, ComboboxChip, ComboboxChips, ComboboxCollection, ComboboxEmpty, ComboboxGroup, ComboboxGroupLabel, ComboboxInput, ComboboxItem, ComboboxList, ComboboxPopup, ComboboxStatus, ComboboxTrigger, ComboboxValue, ComboboxVirtualizedList, ContextMenu, ContextMenuCheckboxItem, ContextMenuGroup, ContextMenuGroupLabel, ContextMenuItem, ContextMenuPopup, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSubmenu, ContextMenuSubmenuTrigger, ContextMenuTrigger, DEFAULT_THEME, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogHelper, DialogIcon, DialogPopup, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerHeader, DrawerPopup, DrawerProvider, DrawerTitle, DrawerTrigger, Dropzone, DropzoneActions, DropzoneClear, DropzoneConfirm, DropzoneContainer, DropzoneError, DropzoneFilesList as DropzoneFileList, DropzoneFileSizeLimit, DropzoneFiles, DropzoneFilesHeader, DropzoneFilesTitle, DropzoneFormats, DropzoneHeading, DropzoneIcon, DropzoneInfo, DropzoneSubtitle, DropzoneTrigger, Field, FieldCheckbox, FieldDescription, FieldErrors, FieldInput, FieldInputGroup, FieldInputGroupInput, FieldLabel, FieldRadio, FieldRadioGroup, FieldRow, FieldSelect, FieldSet, FieldSlider, FieldSwitch, FieldTextArea, FieldToggle, Form, FormErrors, FormFooter, FormReset, FormSet, FormSetContent, FormSetHeading, FormSubmit, Input, InputGroup, InputGroupAddon, InputGroupInput, InputGroupSeparator, InputOTP, InputOTPSlot, InputOtpSeparator, Kbd, KbdGroup, Label, LayerTree, LayerTreeBody, LayerTreeExpandAll, LayerTreeFooter, LayerTreeIconCell, LayerTreeLockedAll, LayerTreeLockedCell, LayerTreeNodeIcon, LayerTreeRow, LayerTreeSearch, LayerTreeSort, LayerTreeTextCell, LayerTreeTriggerCell, LayerTreeVisibilityAll, LayerTreeVisibilityCell, Menu, MenuCheckboxItem, MenuGroup, MenuGroupLabel, MenuItem, MenuPopup, MenuRadioGroup, MenuRadioItem, MenuSeparator, MenuShortcut, MenuSubmenu, MenuSubmenuTrigger, MenuTrigger, Meter, MeterFooter, MeterHeader, MeterIndicator, MeterLabel, MeterSubtitle, MeterTrack, MeterValue, NavBar, NavBarItem, NavBarItemIcon, NavBarItemLabel, NavigationMenu, NavigationMenuContent, NavigationMenuIcon, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuPopup, NavigationMenuTrigger, NumberField, Popover, PopoverButton, PopoverContent, PopoverDescription, PopoverHeader, PopoverPanel, PopoverTitle, PopoverTrigger, PreviewCard, PreviewCardPopup, PreviewCardTrigger, Profile, ProfileAction, ProfileContent, ProfileName, ProfileSubname, Progress, ProgressBar, ProgressDescription, ProgressIndicator, ProgressLabel, ProgressTitle, RadarPing, Radio, RadioGroup, ResizeableHandle, ResizeablePanel, ResizeablePanelGroup, ScrollArea, Select, SelectDescription, SelectGroup, SelectGroupLabel, SelectIcon, SelectItem, SelectList, SelectPopup, SelectTitle, SelectTrigger, SelectValue, Separator, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarMenu, SidebarMenuBadge, SidebarMenuButton, SidebarMenuCollapsible, SidebarMenuCollapsiblePanel, SidebarMenuCollapsibleTrigger, SidebarMenuItem, SidebarProvider, SidebarToggle, Skeleton, Slider, SliderDescription, SliderGroup, SliderGroupSlider, SliderIcon, SliderInput, SliderLabel, SliderThumb, SliderValue, StackToastItem, StackToasts, Switch, THEME_STORAGE_KEY, TableBadgeCell, TableBody, TableColumnToggle, TableContainer, TableDateFilterChip, TableDateFilterForm, TableFilterList, TableFilterMenu, TableFirstPage, TableFooter, TableHeader, TableImageCell, TableLastPage, TableNav, TableNextPage, TableNumberCell, TableNumberFilterChip, TableNumberFilterForm, TablePagination, TablePaging, TablePreviousPage, TableResults, TableSearch, TableCheckboxCell as TableSelectCell, TableSelectFilterChip, TableSelectFilterForm, TableSelectHeader, TableSortChip, TableSortList, TableSortMenu, TableStringFilterChip, TableStringFilterForm, TableTextCell, TableToolbar, TableViewport, Tabs, TabsIndicator, TabsList, TabsPanel, TabsTab, TextArea, ThemeProvider, Toast, ToastProvider, Toggle, ToggleGroup, Tooltip, TooltipContent, TooltipTrigger, anchoredToastManager, cn, createAppColumnHelper, createAppColumnHelper$1 as createLayerTreeColumnHelper, dateFilterFn, defaultFilterOperatorLabels, features, fieldContext, findLayerTreeNode, formContext, getStoredSidebarOpen, getThemeByValue, insertLayerTreeNode, features$1 as layerTreeFeatures, moveLayerTreeNode, moveLayerTreeNodeToRoot, numberFilterFn, popoverHandle, removeLayerTreeNode, rowLockedFeature, rowVisibilityFeature, selectFilterFn, stackToastManager, stringFilterFn, useAppForm, useAppTable, useCellContext, useFieldContext, useFilter, useFilteredItems, useFormContext, useHeaderContext, useLayerTree, useCellContext$1 as useLayerTreeCellContext, useTableContext as useLayerTreeContext, useHeaderContext$1 as useLayerTreeHeaderContext, useAppTable$1 as useLayerTreeTable, useMediaQuery, useSidebar, useSliderGroupContext, useTableContext$1 as useTableContext, useTheme, useToastManager, useTypedAppFormContext, withFieldGroup, withForm };
|
|
9466
|
+
export { Accordion, AccordionHeader, AccordionIcon, AccordionItem, AccordionPanel, AccordionSubtitle, AccordionTitle, Alert, AlertAction, AlertDescription, AlertDialog, AlertDialogClose, AlertDialogConfirm, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogIcon, AlertDialogPopup, AlertDialogTitle, AlertDialogTrigger, AlertIcon, AlertTitle, AnchoredToastItem, AnchoredToasts, Autocomplete, AutocompleteCollection, AutocompleteContent, AutocompleteGridContent, AutocompleteGridItem, AutocompleteGroup, AutocompleteGroupLabel, AutocompleteInputGroup, AutocompleteInputGroupAddon, AutocompleteInputGroupInput, AutocompleteItem, AutocompleteRow, AutocompleteStatus, AutocompleteTrigger, Avatar, AvatarBadge, AvatarFallback, AvatarImage, Badge, BentoBox, BentoBoxAction, BentoBoxContent, BentoBoxDescription, BentoBoxFooter, BentoBoxHeader, BentoBoxTitle, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbSeparator, Button, ButtonGroup, ChartContainer, ChartContainerContext, ChartLegend, ChartLegendContent, ChartLegendIcon, ChartLegendIndicator, ChartLegendLabel, ChartLinearGradient, ChartTooltip, ChartTooltipContent, ChartTooltipIcon, ChartTooltipIndicator, ChartTooltipLabel, ChartTooltipName, ChartTooltipPayload, ChartTooltipValue, Checkbox, CheckboxGroup, CheckboxIndicator, CodeBlock, CodeBlockActions, CodeBlockCopy, CodeBlockDownload, CodeBlockHeader, CodeBlockName, CodeBlockSelect, CodeBlockTabs, CodeBlockWindow, Collapsible, CollapsiblePanel, CollapsibleTrigger, ColorChannelSlider, ColorPicker, ColorPickerArea, ColorPickerGroup, ColorPickerHueSlider, ColorPickerInput, ColorPickerLabel, ColorPickerLightnessSlider, ColorPickerPaletteLimit, ColorPickerPaletteList, ColorPickerPaletteSwatch, ColorPickerRow, ColorPickerTransparencySlider, ColorPickerValueType, Combobox, ComboboxChip, ComboboxChips, ComboboxCollection, ComboboxEmpty, ComboboxGroup, ComboboxGroupLabel, ComboboxInput, ComboboxItem, ComboboxList, ComboboxPopup, ComboboxStatus, ComboboxTrigger, ComboboxValue, ComboboxVirtualizedList, ContextMenu, ContextMenuCheckboxItem, ContextMenuGroup, ContextMenuGroupLabel, ContextMenuItem, ContextMenuPopup, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSubmenu, ContextMenuSubmenuTrigger, ContextMenuTrigger, DEFAULT_THEME, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogHelper, DialogIcon, DialogPopup, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerHeader, DrawerPopup, DrawerProvider, DrawerTitle, DrawerTrigger, Dropzone, DropzoneActions, DropzoneClear, DropzoneConfirm, DropzoneContainer, DropzoneError, DropzoneFilesList as DropzoneFileList, DropzoneFileSizeLimit, DropzoneFiles, DropzoneFilesHeader, DropzoneFilesTitle, DropzoneFormats, DropzoneHeading, DropzoneIcon, DropzoneInfo, DropzoneSubtitle, DropzoneTrigger, Field, FieldCheckbox, FieldDescription, FieldErrors, FieldInput, FieldInputGroup, FieldInputGroupInput, FieldLabel, FieldRadio, FieldRadioGroup, FieldRow, FieldSelect, FieldSet, FieldSlider, FieldSwitch, FieldTextArea, FieldToggle, Form, FormErrors, FormFooter, FormReset, FormSet, FormSetContent, FormSetHeading, FormSubmit, Input, InputGroup, InputGroupAddon, InputGroupInput, InputGroupSeparator, InputOTP, InputOTPSlot, InputOtpSeparator, Kbd, KbdGroup, Label, LayerTree, LayerTreeBody, LayerTreeExpandAll, LayerTreeFooter, LayerTreeIconCell, LayerTreeLockedAll, LayerTreeLockedCell, LayerTreeNodeIcon, LayerTreeRow, LayerTreeSearch, LayerTreeSort, LayerTreeTextCell, LayerTreeTriggerCell, LayerTreeVisibilityAll, LayerTreeVisibilityCell, Menu, MenuCheckboxItem, MenuGroup, MenuGroupLabel, MenuItem, MenuPopup, MenuRadioGroup, MenuRadioItem, MenuSeparator, MenuShortcut, MenuSubmenu, MenuSubmenuTrigger, MenuTrigger, Meter, MeterFooter, MeterHeader, MeterIndicator, MeterLabel, MeterSubtitle, MeterTrack, MeterValue, NavBar, NavBarItem, NavBarItemIcon, NavBarItemLabel, NavigationMenu, NavigationMenuContent, NavigationMenuIcon, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuPopup, NavigationMenuTrigger, NumberField, Popover, PopoverButton, PopoverContent, PopoverDescription, PopoverHeader, PopoverPanel, PopoverTitle, PopoverTrigger, PreviewCard, PreviewCardPopup, PreviewCardTrigger, Profile, ProfileAction, ProfileContent, ProfileName, ProfileSubname, Progress, ProgressBar, ProgressDescription, ProgressIndicator, ProgressLabel, ProgressTitle, RadarPing, Radio, RadioGroup, ResizeableHandle, ResizeablePanel, ResizeablePanelGroup, ScrollArea, Select, SelectDescription, SelectGroup, SelectGroupLabel, SelectIcon, SelectItem, SelectList, SelectPopup, SelectTitle, SelectTrigger, SelectValue, Separator, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarMenu, SidebarMenuBadge, SidebarMenuButton, SidebarMenuCollapsible, SidebarMenuCollapsiblePanel, SidebarMenuCollapsibleTrigger, SidebarMenuItem, SidebarProvider, SidebarToggle, Skeleton, Slider, SliderDescription, SliderGroup, SliderGroupSlider, SliderIcon, SliderInput, SliderLabel, SliderThumb, SliderValue, StackToastItem, StackToasts, Switch, THEME_STORAGE_KEY, TableBadgeCell, TableBody, TableColumnToggle, TableContainer, TableDateFilterChip, TableDateFilterForm, TableFilterList, TableFilterMenu, TableFirstPage, TableFooter, TableHeader, TableImageCell, TableLastPage, TableNav, TableNextPage, TableNumberCell, TableNumberFilterChip, TableNumberFilterForm, TablePagination, TablePaging, TablePreviousPage, TableResults, TableSearch, TableCheckboxCell as TableSelectCell, TableSelectFilterChip, TableSelectFilterForm, TableSelectHeader, TableSortChip, TableSortList, TableSortMenu, TableStringFilterChip, TableStringFilterForm, TableTextCell, TableToolbar, TableViewport, Tabs, TabsIndicator, TabsList, TabsPanel, TabsTab, TextArea, ThemeProvider, Toast, ToastProvider, Toggle, ToggleGroup, Tooltip, TooltipContent, TooltipTrigger, anchoredToastManager, cn, createAppColumnHelper, createAppColumnHelper$1 as createLayerTreeColumnHelper, dateFilterFn, defaultFilterOperatorLabels, features, fieldContext, findLayerTreeNode, formContext, getPayloadConfigFromPayload, getStoredSidebarOpen, getThemeByValue, insertLayerTreeNode, features$1 as layerTreeFeatures, moveLayerTreeNode, moveLayerTreeNodeToRoot, numberFilterFn, popoverHandle, removeLayerTreeNode, rowLockedFeature, rowVisibilityFeature, selectFilterFn, stackToastManager, stringFilterFn, useAppForm, useAppTable, useCellContext, useChart, useChartTooltipContent, useChartTooltipPayload, useFieldContext, useFilter, useFilteredItems, useFormContext, useHeaderContext, useLayerTree, useCellContext$1 as useLayerTreeCellContext, useTableContext as useLayerTreeContext, useHeaderContext$1 as useLayerTreeHeaderContext, useAppTable$1 as useLayerTreeTable, useMediaQuery, useSidebar, useSliderGroupContext, useTableContext$1 as useTableContext, useTheme, useToastManager, useTypedAppFormContext, withFieldGroup, withForm };
|
|
9467
|
+
|
|
9468
|
+
//# sourceMappingURL=index.mjs.map
|