@min98/ui 1.3.52 → 1.3.54
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/lib/index.cjs +81 -3
- package/lib/index.d.cts +461 -144
- package/lib/index.d.ts +461 -144
- package/lib/index.js +81 -3
- package/package.json +167 -162
package/lib/index.d.cts
CHANGED
|
@@ -22,10 +22,10 @@ import { DialogProps as DialogProps$2 } from '@radix-ui/react-dialog';
|
|
|
22
22
|
import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
|
|
23
23
|
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
24
24
|
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
25
|
-
import * as _radix_ui_react_slot from '@radix-ui/react-slot';
|
|
26
25
|
import * as react_hook_form from 'react-hook-form';
|
|
27
26
|
import { FieldValues, FieldPath, ControllerProps } from 'react-hook-form';
|
|
28
27
|
import * as HoverCardPrimitive from '@radix-ui/react-hover-card';
|
|
28
|
+
import { IconProps, Icon } from '@iconify/react';
|
|
29
29
|
import * as input_otp from 'input-otp';
|
|
30
30
|
import * as MenubarPrimitive from '@radix-ui/react-menubar';
|
|
31
31
|
import * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu';
|
|
@@ -36,42 +36,20 @@ import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
|
|
|
36
36
|
import * as SelectPrimitive from '@radix-ui/react-select';
|
|
37
37
|
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
38
38
|
import * as SliderPrimitive from '@radix-ui/react-slider';
|
|
39
|
-
import { Icon } from '@iconify/react';
|
|
40
39
|
import * as SwitchPrimitives from '@radix-ui/react-switch';
|
|
41
40
|
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
42
41
|
import * as ToastPrimitives from '@radix-ui/react-toast';
|
|
43
42
|
import { Toaster as Toaster$2 } from 'sonner';
|
|
44
43
|
import * as TogglePrimitive from '@radix-ui/react-toggle';
|
|
45
44
|
import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
|
|
46
|
-
import { ColumnDef, Column, Table as Table$1
|
|
45
|
+
import { ColumnDef, PaginationState, OnChangeFn, SortingState, RowSelectionState, Column, Table as Table$1 } from '@tanstack/react-table';
|
|
47
46
|
import * as ResizablePrimitive from 'react-resizable-panels';
|
|
48
47
|
|
|
49
|
-
declare const Accordion: React$1.ForwardRefExoticComponent<(AccordionPrimitive.AccordionSingleProps | AccordionPrimitive.AccordionMultipleProps) & React$1.RefAttributes<HTMLDivElement>>;
|
|
48
|
+
declare const Accordion: React$1.ForwardRefExoticComponent<(Omit<AccordionPrimitive.AccordionSingleProps & React$1.RefAttributes<HTMLDivElement>, "ref"> | Omit<AccordionPrimitive.AccordionMultipleProps & React$1.RefAttributes<HTMLDivElement>, "ref">) & React$1.RefAttributes<HTMLDivElement>>;
|
|
50
49
|
declare const AccordionItem: React$1.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
51
50
|
declare const AccordionTrigger: React$1.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
52
51
|
declare const AccordionContent: React$1.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
53
52
|
|
|
54
|
-
declare const AlertDialog: React$1.FC<AlertDialogPrimitive.AlertDialogProps>;
|
|
55
|
-
declare const AlertDialogTrigger: React$1.ForwardRefExoticComponent<AlertDialogPrimitive.AlertDialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
56
|
-
declare const AlertDialogPortal: {
|
|
57
|
-
({ ...props }: AlertDialogPrimitive.AlertDialogPortalProps): react_jsx_runtime.JSX.Element;
|
|
58
|
-
displayName: string | undefined;
|
|
59
|
-
};
|
|
60
|
-
declare const AlertDialogOverlay: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
61
|
-
declare const AlertDialogContent: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
62
|
-
declare const AlertDialogHeader: {
|
|
63
|
-
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
64
|
-
displayName: string;
|
|
65
|
-
};
|
|
66
|
-
declare const AlertDialogFooter: {
|
|
67
|
-
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
68
|
-
displayName: string;
|
|
69
|
-
};
|
|
70
|
-
declare const AlertDialogTitle: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
71
|
-
declare const AlertDialogDescription: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
72
|
-
declare const AlertDialogAction: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogActionProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
73
|
-
declare const AlertDialogCancel: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogCancelProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
74
|
-
|
|
75
53
|
type ClassValue = CLSX.ClassValue;
|
|
76
54
|
type ClassProp = {
|
|
77
55
|
class: ClassValue;
|
|
@@ -102,55 +80,129 @@ type Config<T> = T extends ConfigSchema ? {
|
|
|
102
80
|
type Props<T> = T extends ConfigSchema ? ConfigVariants<T> & ClassProp : ClassProp;
|
|
103
81
|
declare const cva: <T>(base?: ClassValue, config?: Config<T>) => (props?: Props<T>) => string;
|
|
104
82
|
|
|
83
|
+
type Color = "default" | "dark" | "light" | "primary" | "secondary" | "success" | "info" | "warning" | "danger" | "primary-light" | "secondary-light" | "success-light" | "info-light" | "warning-light" | "danger-light" | undefined;
|
|
84
|
+
|
|
85
|
+
declare const buttonVariants: (props?: ({
|
|
86
|
+
variant?: "link" | "fill" | "default" | "icon" | "secondary" | "success" | "info" | "warning" | "outline" | "glass" | "ghost" | "destructive" | null | undefined;
|
|
87
|
+
color?: "default" | "dark" | "light" | "primary" | "secondary" | "success" | "info" | "warning" | "danger" | "primary-light" | "secondary-light" | "success-light" | "info-light" | "warning-light" | "danger-light" | null | undefined;
|
|
88
|
+
size?: "default" | "icon" | "xs" | "sm" | "lg" | "icon-xs" | "icon-sm" | "icon-lg" | null | undefined;
|
|
89
|
+
} & ClassProp) | undefined) => string;
|
|
90
|
+
interface ButtonProps extends Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, "color">, VariantProps<typeof buttonVariants> {
|
|
91
|
+
asChild?: boolean;
|
|
92
|
+
color?: Color;
|
|
93
|
+
tooltip?: React$1.ReactNode;
|
|
94
|
+
children?: React$1.ReactNode;
|
|
95
|
+
}
|
|
96
|
+
declare const Button: React$1.ForwardRefExoticComponent<ButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
97
|
+
|
|
98
|
+
declare const AlertDialog: React$1.FC<AlertDialogPrimitive.AlertDialogProps>;
|
|
99
|
+
declare const AlertDialogTrigger: React$1.ForwardRefExoticComponent<AlertDialogPrimitive.AlertDialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
100
|
+
declare const AlertDialogPortal: {
|
|
101
|
+
({ ...props }: AlertDialogPrimitive.AlertDialogPortalProps): react_jsx_runtime.JSX.Element;
|
|
102
|
+
displayName: string | undefined;
|
|
103
|
+
};
|
|
104
|
+
declare const AlertDialogOverlay: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
105
|
+
declare const AlertDialogContent: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
106
|
+
size?: "default" | "sm" | undefined;
|
|
107
|
+
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
108
|
+
declare const AlertDialogHeader: {
|
|
109
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
110
|
+
displayName: string;
|
|
111
|
+
};
|
|
112
|
+
declare const AlertDialogFooter: {
|
|
113
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
114
|
+
displayName: string;
|
|
115
|
+
};
|
|
116
|
+
declare const AlertDialogMedia: {
|
|
117
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
118
|
+
displayName: string;
|
|
119
|
+
};
|
|
120
|
+
declare const AlertDialogTitle: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
121
|
+
declare const AlertDialogDescription: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
122
|
+
declare const AlertDialogAction: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogActionProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & Pick<ButtonProps, "color" | "size" | "variant"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
123
|
+
declare const AlertDialogCancel: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogCancelProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & Pick<ButtonProps, "color" | "size" | "variant"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
124
|
+
|
|
105
125
|
declare const alertVariants: (props?: ({
|
|
106
|
-
variant?: "default" | "primary" | "secondary" | "success" | "warning" | "danger" | "primary-light" | "secondary-light" | "success-light" | "warning-light" | "danger-light" | null | undefined;
|
|
126
|
+
variant?: "default" | "primary" | "secondary" | "success" | "info" | "warning" | "danger" | "primary-light" | "secondary-light" | "success-light" | "warning-light" | "danger-light" | "destructive" | null | undefined;
|
|
107
127
|
} & ClassProp) | undefined) => string;
|
|
108
128
|
declare const Alert: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & VariantProps<(props?: ({
|
|
109
|
-
variant?: "default" | "primary" | "secondary" | "success" | "warning" | "danger" | "primary-light" | "secondary-light" | "success-light" | "warning-light" | "danger-light" | null | undefined;
|
|
129
|
+
variant?: "default" | "primary" | "secondary" | "success" | "info" | "warning" | "danger" | "primary-light" | "secondary-light" | "success-light" | "warning-light" | "danger-light" | "destructive" | null | undefined;
|
|
110
130
|
} & ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLDivElement>>;
|
|
111
|
-
declare const AlertTitle: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<
|
|
112
|
-
declare const AlertDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<
|
|
131
|
+
declare const AlertTitle: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
132
|
+
declare const AlertDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
133
|
+
declare const AlertAction: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
113
134
|
|
|
114
135
|
declare const AspectRatio: React$1.ForwardRefExoticComponent<AspectRatioPrimitive.AspectRatioProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
115
136
|
|
|
116
|
-
declare
|
|
137
|
+
declare function AttachmentGroup({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
138
|
+
declare const attachmentVariants: (props?: ({
|
|
139
|
+
variant?: "default" | "secondary" | "outline" | "ghost" | null | undefined;
|
|
140
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
141
|
+
} & ClassProp) | undefined) => string;
|
|
142
|
+
declare function Attachment({ className, variant, size, asChild, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof attachmentVariants> & {
|
|
143
|
+
asChild?: boolean;
|
|
144
|
+
}): react_jsx_runtime.JSX.Element;
|
|
145
|
+
declare const attachmentMediaVariants: (props?: ({
|
|
146
|
+
variant?: "default" | "icon" | "lg" | "preview" | null | undefined;
|
|
147
|
+
} & ClassProp) | undefined) => string;
|
|
148
|
+
declare function AttachmentMedia({ className, variant, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof attachmentMediaVariants>): react_jsx_runtime.JSX.Element;
|
|
149
|
+
declare function AttachmentContent({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
150
|
+
declare function AttachmentTitle({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
151
|
+
declare function AttachmentDescription({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
152
|
+
declare function AttachmentActions({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
153
|
+
declare function AttachmentAction({ className, asChild, ...props }: React$1.ComponentProps<"button"> & {
|
|
154
|
+
asChild?: boolean;
|
|
155
|
+
}): react_jsx_runtime.JSX.Element;
|
|
156
|
+
declare function AttachmentTrigger({ className, asChild, ...props }: React$1.ComponentProps<"button"> & {
|
|
157
|
+
asChild?: boolean;
|
|
158
|
+
}): react_jsx_runtime.JSX.Element;
|
|
159
|
+
|
|
160
|
+
declare const Avatar: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarProps & React$1.RefAttributes<HTMLSpanElement>, "ref"> & {
|
|
161
|
+
size?: "default" | "sm" | "lg" | undefined;
|
|
162
|
+
} & React$1.RefAttributes<HTMLSpanElement>>;
|
|
117
163
|
declare const AvatarImage: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarImageProps & React$1.RefAttributes<HTMLImageElement>, "ref"> & React$1.RefAttributes<HTMLImageElement>>;
|
|
118
164
|
declare const AvatarFallback: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarFallbackProps & React$1.RefAttributes<HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
|
|
119
|
-
|
|
120
|
-
|
|
165
|
+
declare function AvatarBadge({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
166
|
+
declare function AvatarGroup({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
167
|
+
declare function AvatarGroupCount({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
121
168
|
|
|
122
169
|
declare const badgeVariants: (props?: ({
|
|
123
|
-
variant?: "fill" | "default" | null | undefined;
|
|
170
|
+
variant?: "link" | "fill" | "default" | "secondary" | "success" | "info" | "warning" | "outline" | "ghost" | "destructive" | null | undefined;
|
|
124
171
|
color?: "default" | "dark" | "light" | "primary" | "secondary" | "success" | "info" | "warning" | "danger" | "primary-light" | "secondary-light" | "success-light" | "info-light" | "warning-light" | "danger-light" | null | undefined;
|
|
125
172
|
} & ClassProp) | undefined) => string;
|
|
126
|
-
interface BadgeCustom extends React$1.HTMLAttributes<
|
|
173
|
+
interface BadgeCustom extends React$1.HTMLAttributes<HTMLSpanElement> {
|
|
127
174
|
}
|
|
128
175
|
interface BadgeProps extends Omit<BadgeCustom, "color">, VariantProps<typeof badgeVariants> {
|
|
129
176
|
color?: Color;
|
|
177
|
+
asChild?: boolean;
|
|
130
178
|
}
|
|
131
|
-
declare const Badge:
|
|
132
|
-
({ className, variant, color, ...props }: BadgeProps): react_jsx_runtime.JSX.Element;
|
|
133
|
-
displayName: string;
|
|
134
|
-
};
|
|
179
|
+
declare const Badge: React$1.ForwardRefExoticComponent<BadgeProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
135
180
|
|
|
136
|
-
declare
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
181
|
+
declare function BubbleGroup({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
182
|
+
declare const bubbleVariants: (props?: ({
|
|
183
|
+
align?: "end" | "start" | null | undefined;
|
|
184
|
+
} & ClassProp) | undefined) => string;
|
|
185
|
+
declare function Bubble({ className, align, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof bubbleVariants>): react_jsx_runtime.JSX.Element;
|
|
186
|
+
declare const bubbleContentVariants: (props?: ({
|
|
187
|
+
variant?: "default" | "primary" | "outline" | "ghost" | null | undefined;
|
|
188
|
+
shape?: "end" | "start" | "default" | "middle" | null | undefined;
|
|
140
189
|
} & ClassProp) | undefined) => string;
|
|
141
|
-
|
|
190
|
+
declare function BubbleContent({ className, variant, shape, asChild, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof bubbleContentVariants> & {
|
|
142
191
|
asChild?: boolean;
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
}
|
|
147
|
-
declare
|
|
192
|
+
}): react_jsx_runtime.JSX.Element;
|
|
193
|
+
declare const bubbleReactionsVariants: (props?: ({
|
|
194
|
+
align?: "end" | "start" | null | undefined;
|
|
195
|
+
} & ClassProp) | undefined) => string;
|
|
196
|
+
declare function BubbleReactions({ className, align, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof bubbleReactionsVariants>): react_jsx_runtime.JSX.Element;
|
|
148
197
|
|
|
149
|
-
|
|
198
|
+
interface BulkActionsBarProps {
|
|
199
|
+
selectedCount: number;
|
|
200
|
+
onClear: () => void;
|
|
201
|
+
children: React$1.ReactNode;
|
|
202
|
+
selectedLabel?: (count: number) => string;
|
|
150
203
|
className?: string;
|
|
151
|
-
|
|
152
|
-
};
|
|
153
|
-
declare const ButtonGroup$1: React__default.ForwardRefExoticComponent<ButtonGroupProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
204
|
+
}
|
|
205
|
+
declare function BulkActionsBar({ selectedCount, onClear, children, selectedLabel, className, }: BulkActionsBarProps): react_jsx_runtime.JSX.Element | null;
|
|
154
206
|
|
|
155
207
|
declare const generateArray: (start: number, end: number, step: number) => number[];
|
|
156
208
|
|
|
@@ -177,7 +229,8 @@ declare const Separator: React$1.ForwardRefExoticComponent<Omit<SeparatorPrimiti
|
|
|
177
229
|
declare const buttonGroupVariants: (props?: ({
|
|
178
230
|
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
179
231
|
} & ClassProp) | undefined) => string;
|
|
180
|
-
|
|
232
|
+
type ButtonGroupProps = React$1.ComponentProps<"div"> & VariantProps<typeof buttonGroupVariants>;
|
|
233
|
+
declare const ButtonGroup: React$1.ForwardRefExoticComponent<Omit<ButtonGroupProps, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
181
234
|
declare function ButtonGroupText({ className, asChild, ...props }: React$1.ComponentProps<"div"> & {
|
|
182
235
|
asChild?: boolean;
|
|
183
236
|
}): react_jsx_runtime.JSX.Element;
|
|
@@ -250,14 +303,14 @@ declare const ChartTooltipContent: React$1.ForwardRefExoticComponent<Omit<Rechar
|
|
|
250
303
|
position?: Partial<recharts_types_util_types.Coordinate> | undefined;
|
|
251
304
|
reverseDirection?: recharts_types_util_types.AllowInDimension | undefined;
|
|
252
305
|
shared?: boolean | undefined;
|
|
253
|
-
trigger?: "
|
|
306
|
+
trigger?: "click" | "hover" | undefined;
|
|
254
307
|
useTranslate3d?: boolean | undefined;
|
|
255
308
|
viewBox?: recharts_types_util_types.CartesianViewBox | undefined;
|
|
256
309
|
wrapperStyle?: React$1.CSSProperties | undefined;
|
|
257
310
|
} & React$1.ClassAttributes<HTMLDivElement> & React$1.HTMLAttributes<HTMLDivElement> & {
|
|
258
311
|
hideLabel?: boolean | undefined;
|
|
259
312
|
hideIndicator?: boolean | undefined;
|
|
260
|
-
indicator?: "line" | "
|
|
313
|
+
indicator?: "line" | "dashed" | "dot" | undefined;
|
|
261
314
|
nameKey?: string | undefined;
|
|
262
315
|
labelKey?: string | undefined;
|
|
263
316
|
}, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
@@ -267,10 +320,13 @@ declare const ChartLegendContent: React$1.ForwardRefExoticComponent<Omit<React$1
|
|
|
267
320
|
nameKey?: string | undefined;
|
|
268
321
|
}, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
269
322
|
|
|
270
|
-
declare const Card: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> &
|
|
323
|
+
declare const Card: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & {
|
|
324
|
+
size?: "default" | "sm" | undefined;
|
|
325
|
+
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
271
326
|
declare const CardHeader: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
272
|
-
declare const CardTitle: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLHeadingElement> & React$1.RefAttributes<
|
|
273
|
-
declare const CardDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<
|
|
327
|
+
declare const CardTitle: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLHeadingElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
328
|
+
declare const CardDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
329
|
+
declare const CardAction: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
274
330
|
declare const CardContent: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
275
331
|
declare const CardFooter: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
276
332
|
|
|
@@ -347,12 +403,16 @@ declare const Command: React$1.ForwardRefExoticComponent<Omit<{
|
|
|
347
403
|
vimBindings?: boolean | undefined;
|
|
348
404
|
} & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
349
405
|
interface CommandDialogProps extends DialogProps$2 {
|
|
406
|
+
title?: string;
|
|
407
|
+
description?: string;
|
|
408
|
+
className?: string;
|
|
409
|
+
showCloseButton?: boolean;
|
|
350
410
|
}
|
|
351
411
|
declare const CommandDialog: {
|
|
352
|
-
({ children, ...props }: CommandDialogProps): react_jsx_runtime.JSX.Element;
|
|
412
|
+
({ title, description, children, className, showCloseButton, ...props }: CommandDialogProps): react_jsx_runtime.JSX.Element;
|
|
353
413
|
displayName: string;
|
|
354
414
|
};
|
|
355
|
-
declare const CommandInput: React$1.ForwardRefExoticComponent<Omit<Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "onChange" | "
|
|
415
|
+
declare const CommandInput: React$1.ForwardRefExoticComponent<Omit<Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "onChange" | "type" | "value"> & {
|
|
356
416
|
value?: string | undefined;
|
|
357
417
|
onValueChange?: ((search: string) => void) | undefined;
|
|
358
418
|
} & React$1.RefAttributes<HTMLInputElement>, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
|
|
@@ -374,7 +434,7 @@ declare const CommandSeparator: React$1.ForwardRefExoticComponent<Omit<React$1.H
|
|
|
374
434
|
} & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
375
435
|
declare const CommandItem: React$1.ForwardRefExoticComponent<Omit<{
|
|
376
436
|
children?: React$1.ReactNode;
|
|
377
|
-
} & Omit<React$1.HTMLAttributes<HTMLDivElement>, "onSelect" | "
|
|
437
|
+
} & Omit<React$1.HTMLAttributes<HTMLDivElement>, "onSelect" | "value" | "disabled"> & {
|
|
378
438
|
disabled?: boolean | undefined;
|
|
379
439
|
onSelect?: ((value: string) => void) | undefined;
|
|
380
440
|
value?: string | undefined;
|
|
@@ -398,9 +458,14 @@ declare const ContextMenuSubContent: React$1.ForwardRefExoticComponent<Omit<Cont
|
|
|
398
458
|
declare const ContextMenuContent: React$1.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
399
459
|
declare const ContextMenuItem: React$1.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
400
460
|
inset?: boolean | undefined;
|
|
461
|
+
variant?: "default" | "destructive" | undefined;
|
|
462
|
+
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
463
|
+
declare const ContextMenuCheckboxItem: React$1.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuCheckboxItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
464
|
+
inset?: boolean | undefined;
|
|
465
|
+
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
466
|
+
declare const ContextMenuRadioItem: React$1.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuRadioItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
467
|
+
inset?: boolean | undefined;
|
|
401
468
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
402
|
-
declare const ContextMenuCheckboxItem: React$1.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuCheckboxItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
403
|
-
declare const ContextMenuRadioItem: React$1.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuRadioItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
404
469
|
declare const ContextMenuLabel: React$1.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuLabelProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
405
470
|
inset?: boolean | undefined;
|
|
406
471
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
@@ -411,22 +476,27 @@ declare const ContextMenuShortcut: {
|
|
|
411
476
|
};
|
|
412
477
|
|
|
413
478
|
type ContextMenuTypeProps = {
|
|
414
|
-
label?:
|
|
479
|
+
label?: React__default.ReactNode;
|
|
480
|
+
title?: React__default.ReactNode;
|
|
481
|
+
icon?: React__default.ReactNode;
|
|
415
482
|
shortcut?: React__default.ReactNode;
|
|
416
483
|
disabled?: boolean;
|
|
484
|
+
variant?: "default" | "destructive";
|
|
485
|
+
separator?: boolean;
|
|
417
486
|
onClick?: () => void;
|
|
487
|
+
action?: () => void;
|
|
418
488
|
child?: ContextMenuTypeProps[];
|
|
489
|
+
sub?: ContextMenuTypeProps[];
|
|
419
490
|
};
|
|
420
491
|
type ContextMenuCustomProps = {
|
|
421
492
|
className?: string;
|
|
493
|
+
contentClassName?: string;
|
|
422
494
|
asChild?: boolean;
|
|
423
495
|
title?: React__default.ReactNode;
|
|
496
|
+
children?: React__default.ReactNode;
|
|
424
497
|
list?: ContextMenuTypeProps[];
|
|
425
498
|
};
|
|
426
|
-
declare const RenderContextMenuItem:
|
|
427
|
-
(list: ContextMenuTypeProps[]): react_jsx_runtime.JSX.Element;
|
|
428
|
-
displayName: string;
|
|
429
|
-
};
|
|
499
|
+
declare const RenderContextMenuItem: (list: ContextMenuTypeProps[]) => react_jsx_runtime.JSX.Element;
|
|
430
500
|
declare const ContextMenuCustom: React__default.ForwardRefExoticComponent<ContextMenuCustomProps & React__default.RefAttributes<HTMLButtonElement>>;
|
|
431
501
|
|
|
432
502
|
interface CircularSliderProps {
|
|
@@ -434,7 +504,7 @@ interface CircularSliderProps {
|
|
|
434
504
|
width?: number;
|
|
435
505
|
height?: number;
|
|
436
506
|
value: number;
|
|
437
|
-
maxValue
|
|
507
|
+
maxValue?: number;
|
|
438
508
|
meterColor?: string | {
|
|
439
509
|
colors: string[];
|
|
440
510
|
stops?: number[];
|
|
@@ -448,6 +518,14 @@ interface CircularSliderProps {
|
|
|
448
518
|
}
|
|
449
519
|
declare const CircularSlider: React__default.FC<CircularSliderProps>;
|
|
450
520
|
|
|
521
|
+
type Direction = "ltr" | "rtl";
|
|
522
|
+
declare function DirectionProvider({ dir, direction, children, }: {
|
|
523
|
+
dir?: Direction;
|
|
524
|
+
direction?: Direction;
|
|
525
|
+
children: React$1.ReactNode;
|
|
526
|
+
}): react_jsx_runtime.JSX.Element;
|
|
527
|
+
declare function useDirection(localDir?: Direction): Direction;
|
|
528
|
+
|
|
451
529
|
interface WithFadeFromProps {
|
|
452
530
|
snapPoints: (number | string)[];
|
|
453
531
|
fadeFromIndex: number;
|
|
@@ -522,7 +600,7 @@ declare const DrawerDescription: React$1.ForwardRefExoticComponent<Omit<DialogPr
|
|
|
522
600
|
|
|
523
601
|
type Number = "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
|
|
524
602
|
|
|
525
|
-
type Size = "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl";
|
|
603
|
+
type Size = "default" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "full";
|
|
526
604
|
|
|
527
605
|
type Side = "top" | "bottom" | "left" | "right";
|
|
528
606
|
|
|
@@ -533,14 +611,18 @@ declare const DialogPortal: {
|
|
|
533
611
|
({ ...props }: DialogPrimitive.DialogPortalProps): react_jsx_runtime.JSX.Element;
|
|
534
612
|
displayName: string | undefined;
|
|
535
613
|
};
|
|
536
|
-
declare const DialogOverlay: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> &
|
|
537
|
-
|
|
538
|
-
|
|
614
|
+
declare const DialogOverlay: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
615
|
+
variant?: "default" | "glass" | "destructive" | null | undefined;
|
|
616
|
+
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
617
|
+
declare const dialogContentVariants: (props?: ({
|
|
618
|
+
size?: "default" | "xs" | "sm" | "lg" | "md" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "full" | null | undefined;
|
|
619
|
+
variant?: "default" | "glass" | "destructive" | null | undefined;
|
|
539
620
|
} & ClassProp) | undefined) => string;
|
|
540
621
|
interface DialogCustom extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
541
622
|
}
|
|
542
|
-
interface DialogProps extends DialogCustom, React$1.ComponentPropsWithoutRef<typeof DialogPrimitive.Content>, VariantProps<typeof
|
|
623
|
+
interface DialogProps extends DialogCustom, React$1.ComponentPropsWithoutRef<typeof DialogPrimitive.Content>, VariantProps<typeof dialogContentVariants> {
|
|
543
624
|
size?: Size;
|
|
625
|
+
showCloseButton?: boolean;
|
|
544
626
|
}
|
|
545
627
|
declare const DialogContent: React$1.ForwardRefExoticComponent<DialogProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
546
628
|
declare const DialogHeader: {
|
|
@@ -548,7 +630,9 @@ declare const DialogHeader: {
|
|
|
548
630
|
displayName: string;
|
|
549
631
|
};
|
|
550
632
|
declare const DialogFooter: {
|
|
551
|
-
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>
|
|
633
|
+
({ className, showCloseButton, children, ...props }: React$1.HTMLAttributes<HTMLDivElement> & {
|
|
634
|
+
showCloseButton?: boolean | undefined;
|
|
635
|
+
}): react_jsx_runtime.JSX.Element;
|
|
552
636
|
displayName: string;
|
|
553
637
|
};
|
|
554
638
|
declare const DialogTitle: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
@@ -567,9 +651,14 @@ declare const DropdownMenuSubContent: React$1.ForwardRefExoticComponent<Omit<Dro
|
|
|
567
651
|
declare const DropdownMenuContent: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
568
652
|
declare const DropdownMenuItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
569
653
|
inset?: boolean | undefined;
|
|
654
|
+
variant?: "default" | "destructive" | undefined;
|
|
655
|
+
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
656
|
+
declare const DropdownMenuCheckboxItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuCheckboxItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
657
|
+
inset?: boolean | undefined;
|
|
658
|
+
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
659
|
+
declare const DropdownMenuRadioItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuRadioItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
660
|
+
inset?: boolean | undefined;
|
|
570
661
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
571
|
-
declare const DropdownMenuCheckboxItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuCheckboxItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
572
|
-
declare const DropdownMenuRadioItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuRadioItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
573
662
|
declare const DropdownMenuLabel: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuLabelProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
574
663
|
inset?: boolean | undefined;
|
|
575
664
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
@@ -589,6 +678,7 @@ declare function EmptyTitle({ className, ...props }: React$1.ComponentProps<"div
|
|
|
589
678
|
declare function EmptyDescription({ className, ...props }: React$1.ComponentProps<"p">): react_jsx_runtime.JSX.Element;
|
|
590
679
|
declare function EmptyContent({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
591
680
|
|
|
681
|
+
declare const labelVariants: (props?: ClassProp | undefined) => string;
|
|
592
682
|
declare const Label: React$1.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React$1.RefAttributes<HTMLLabelElement>, "ref"> & VariantProps<(props?: ClassProp | undefined) => string> & React$1.RefAttributes<HTMLLabelElement>>;
|
|
593
683
|
|
|
594
684
|
declare function FieldSet({ className, ...props }: React$1.ComponentProps<"fieldset">): react_jsx_runtime.JSX.Element;
|
|
@@ -628,7 +718,9 @@ declare const useFormField: () => {
|
|
|
628
718
|
};
|
|
629
719
|
declare const FormItem: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
630
720
|
declare const FormLabel: React$1.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React$1.RefAttributes<HTMLLabelElement>, "ref"> & React$1.RefAttributes<HTMLLabelElement>>;
|
|
631
|
-
declare const FormControl: React$1.ForwardRefExoticComponent<Omit<
|
|
721
|
+
declare const FormControl: React$1.ForwardRefExoticComponent<Omit<React$1.HTMLAttributes<HTMLElement> & {
|
|
722
|
+
children?: React$1.ReactNode;
|
|
723
|
+
} & React$1.RefAttributes<HTMLElement>, "ref"> & React$1.RefAttributes<HTMLElement>>;
|
|
632
724
|
declare const FormDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
633
725
|
declare const FormMessage: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
634
726
|
|
|
@@ -636,6 +728,15 @@ declare const HoverCard: React$1.FC<HoverCardPrimitive.HoverCardProps>;
|
|
|
636
728
|
declare const HoverCardTrigger: React$1.ForwardRefExoticComponent<HoverCardPrimitive.HoverCardTriggerProps & React$1.RefAttributes<HTMLAnchorElement>>;
|
|
637
729
|
declare const HoverCardContent: React$1.ForwardRefExoticComponent<Omit<HoverCardPrimitive.HoverCardContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
638
730
|
|
|
731
|
+
interface AppIconProps extends Omit<IconProps, "icon"> {
|
|
732
|
+
icon: string;
|
|
733
|
+
size?: number | string;
|
|
734
|
+
}
|
|
735
|
+
declare function AppIcon({ icon, size, className, ...props }: AppIconProps): react_jsx_runtime.JSX.Element;
|
|
736
|
+
declare namespace AppIcon {
|
|
737
|
+
var displayName: string;
|
|
738
|
+
}
|
|
739
|
+
|
|
639
740
|
interface InputProps extends React$1.InputHTMLAttributes<HTMLInputElement> {
|
|
640
741
|
}
|
|
641
742
|
declare const Input: React$1.ForwardRefExoticComponent<InputProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
@@ -646,7 +747,7 @@ declare const inputGroupAddonVariants: (props?: ({
|
|
|
646
747
|
} & ClassProp) | undefined) => string;
|
|
647
748
|
declare function InputGroupAddon({ className, align, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof inputGroupAddonVariants>): react_jsx_runtime.JSX.Element;
|
|
648
749
|
declare const inputGroupButtonVariants: (props?: ({
|
|
649
|
-
size?: "
|
|
750
|
+
size?: "xs" | "sm" | "icon-xs" | "icon-sm" | null | undefined;
|
|
650
751
|
} & ClassProp) | undefined) => string;
|
|
651
752
|
declare function InputGroupButton({ className, type, variant, size, ...props }: Omit<React$1.ComponentProps<typeof Button>, "size"> & VariantProps<typeof inputGroupButtonVariants>): react_jsx_runtime.JSX.Element;
|
|
652
753
|
declare function InputGroupText({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
@@ -707,6 +808,15 @@ declare function ItemFooter({ className, ...props }: React$1.ComponentProps<"div
|
|
|
707
808
|
declare function Kbd({ className, ...props }: React$1.ComponentProps<"kbd">): react_jsx_runtime.JSX.Element;
|
|
708
809
|
declare function KbdGroup({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
709
810
|
|
|
811
|
+
declare const markerVariants: (props?: ({
|
|
812
|
+
variant?: "line" | "default" | "badge" | null | undefined;
|
|
813
|
+
} & ClassProp) | undefined) => string;
|
|
814
|
+
declare function Marker({ className, variant, asChild, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof markerVariants> & {
|
|
815
|
+
asChild?: boolean;
|
|
816
|
+
}): react_jsx_runtime.JSX.Element;
|
|
817
|
+
declare function MarkerIcon({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
818
|
+
declare function MarkerContent({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
819
|
+
|
|
710
820
|
declare function MenubarMenu({ ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Menu>): react_jsx_runtime.JSX.Element;
|
|
711
821
|
declare function MenubarGroup({ ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Group>): react_jsx_runtime.JSX.Element;
|
|
712
822
|
declare function MenubarPortal({ ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Portal>): react_jsx_runtime.JSX.Element;
|
|
@@ -721,16 +831,21 @@ declare const MenubarSubContent: React$1.ForwardRefExoticComponent<Omit<MenubarP
|
|
|
721
831
|
declare const MenubarContent: React$1.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
722
832
|
declare const MenubarItem: React$1.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
723
833
|
inset?: boolean | undefined;
|
|
834
|
+
variant?: "default" | "destructive" | undefined;
|
|
835
|
+
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
836
|
+
declare const MenubarCheckboxItem: React$1.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarCheckboxItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
837
|
+
inset?: boolean | undefined;
|
|
838
|
+
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
839
|
+
declare const MenubarRadioItem: React$1.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarRadioItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
840
|
+
inset?: boolean | undefined;
|
|
724
841
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
725
|
-
declare const MenubarCheckboxItem: React$1.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarCheckboxItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
726
|
-
declare const MenubarRadioItem: React$1.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarRadioItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
727
842
|
declare const MenubarLabel: React$1.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarLabelProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
728
843
|
inset?: boolean | undefined;
|
|
729
844
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
730
845
|
declare const MenubarSeparator: React$1.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
731
846
|
declare const MenubarShortcut: {
|
|
732
847
|
({ className, ...props }: React$1.HTMLAttributes<HTMLSpanElement>): react_jsx_runtime.JSX.Element;
|
|
733
|
-
|
|
848
|
+
displayName: string;
|
|
734
849
|
};
|
|
735
850
|
|
|
736
851
|
type MenuProps = {
|
|
@@ -780,18 +895,54 @@ type SidebarProps = {
|
|
|
780
895
|
onToggle?: (arg: boolean) => void;
|
|
781
896
|
brandName?: string;
|
|
782
897
|
logo?: React__default.ReactNode;
|
|
898
|
+
homePath?: string;
|
|
783
899
|
breakPoint?: "xs" | "sm" | "md" | "lg" | "xl" | "xxl" | "all";
|
|
784
900
|
children?: React__default.ReactNode;
|
|
785
901
|
};
|
|
786
902
|
declare const Sidebar$1: React__default.ForwardRefExoticComponent<SidebarProps & React__default.RefAttributes<HTMLElement>>;
|
|
787
903
|
|
|
788
|
-
declare
|
|
904
|
+
declare function MessageGroup({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
905
|
+
declare function Message({ className, align, ...props }: React$1.ComponentProps<"div"> & {
|
|
906
|
+
align?: "start" | "end";
|
|
907
|
+
}): react_jsx_runtime.JSX.Element;
|
|
908
|
+
declare function MessageAvatar({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
909
|
+
declare function MessageContent({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
910
|
+
declare function MessageHeader({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
911
|
+
declare function MessageFooter({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
912
|
+
|
|
913
|
+
interface MultiSelectOption {
|
|
914
|
+
value: string;
|
|
915
|
+
label: string;
|
|
916
|
+
description?: string;
|
|
917
|
+
}
|
|
918
|
+
interface MultiSelectProps {
|
|
919
|
+
options: MultiSelectOption[];
|
|
920
|
+
selected: string[];
|
|
921
|
+
onChange: (selected: string[]) => void;
|
|
922
|
+
placeholder?: string;
|
|
923
|
+
searchPlaceholder?: string;
|
|
924
|
+
emptyText?: string;
|
|
925
|
+
disabled?: boolean;
|
|
926
|
+
className?: string;
|
|
927
|
+
}
|
|
928
|
+
declare function MultiSelect({ options, selected, onChange, placeholder, searchPlaceholder, emptyText, disabled, className, }: MultiSelectProps): react_jsx_runtime.JSX.Element;
|
|
929
|
+
|
|
930
|
+
type NativeSelectProps = Omit<React$1.ComponentProps<"select">, "size"> & {
|
|
931
|
+
size?: "sm" | "default";
|
|
932
|
+
};
|
|
933
|
+
declare function NativeSelect({ className, size, ...props }: NativeSelectProps): react_jsx_runtime.JSX.Element;
|
|
934
|
+
declare function NativeSelectOption({ ...props }: React$1.ComponentProps<"option">): react_jsx_runtime.JSX.Element;
|
|
935
|
+
declare function NativeSelectOptGroup({ className, ...props }: React$1.ComponentProps<"optgroup">): react_jsx_runtime.JSX.Element;
|
|
936
|
+
|
|
937
|
+
declare const NavigationMenu: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuProps & React$1.RefAttributes<HTMLElement>, "ref"> & {
|
|
938
|
+
viewport?: boolean | undefined;
|
|
939
|
+
} & React$1.RefAttributes<HTMLElement>>;
|
|
789
940
|
declare const NavigationMenuList: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuListProps & React$1.RefAttributes<HTMLUListElement>, "ref"> & React$1.RefAttributes<HTMLUListElement>>;
|
|
790
|
-
declare const NavigationMenuItem: React$1.ForwardRefExoticComponent<NavigationMenuPrimitive.NavigationMenuItemProps & React$1.RefAttributes<HTMLLIElement>>;
|
|
941
|
+
declare const NavigationMenuItem: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuItemProps & React$1.RefAttributes<HTMLLIElement>, "ref"> & React$1.RefAttributes<HTMLLIElement>>;
|
|
791
942
|
declare const navigationMenuTriggerStyle: (props?: ClassProp | undefined) => string;
|
|
792
943
|
declare const NavigationMenuTrigger: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
793
944
|
declare const NavigationMenuContent: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
794
|
-
declare const NavigationMenuLink: React$1.ForwardRefExoticComponent<NavigationMenuPrimitive.NavigationMenuLinkProps & React$1.RefAttributes<HTMLAnchorElement>>;
|
|
945
|
+
declare const NavigationMenuLink: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuLinkProps & React$1.RefAttributes<HTMLAnchorElement>, "ref"> & React$1.RefAttributes<HTMLAnchorElement>>;
|
|
795
946
|
declare const NavigationMenuViewport: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuViewportProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
796
947
|
declare const NavigationMenuIndicator: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuIndicatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
797
948
|
|
|
@@ -825,6 +976,9 @@ declare const Popover: React$1.FC<PopoverPrimitive.PopoverProps>;
|
|
|
825
976
|
declare const PopoverTrigger: React$1.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
826
977
|
declare const PopoverAnchor: React$1.ForwardRefExoticComponent<PopoverPrimitive.PopoverAnchorProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
827
978
|
declare const PopoverContent: React$1.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
979
|
+
declare function PopoverHeader({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
980
|
+
declare function PopoverTitle({ className, ...props }: React$1.ComponentProps<"h2">): react_jsx_runtime.JSX.Element;
|
|
981
|
+
declare function PopoverDescription({ className, ...props }: React$1.ComponentProps<"p">): react_jsx_runtime.JSX.Element;
|
|
828
982
|
|
|
829
983
|
interface ProgressProps extends React$1.ComponentPropsWithoutRef<typeof ProgressPrimitive.Root>, VariantProps<typeof colorVariants> {
|
|
830
984
|
color?: Color;
|
|
@@ -837,10 +991,31 @@ declare const RadioGroupItem: React$1.ForwardRefExoticComponent<Omit<RadioGroupP
|
|
|
837
991
|
declare const ScrollArea: React$1.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
838
992
|
declare const ScrollBar: React$1.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaScrollbarProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
839
993
|
|
|
994
|
+
interface ComboboxOption {
|
|
995
|
+
value: string;
|
|
996
|
+
label: string;
|
|
997
|
+
sublabel?: string;
|
|
998
|
+
}
|
|
999
|
+
interface SearchableComboboxProps {
|
|
1000
|
+
options: ComboboxOption[];
|
|
1001
|
+
value: string;
|
|
1002
|
+
onValueChange: (value: string) => void;
|
|
1003
|
+
placeholder?: string;
|
|
1004
|
+
searchPlaceholder?: string;
|
|
1005
|
+
emptyText?: string;
|
|
1006
|
+
allowClear?: boolean;
|
|
1007
|
+
clearLabel?: string;
|
|
1008
|
+
disabled?: boolean;
|
|
1009
|
+
className?: string;
|
|
1010
|
+
}
|
|
1011
|
+
declare function SearchableCombobox({ options, value, onValueChange, placeholder, searchPlaceholder, emptyText, allowClear, clearLabel, disabled, className, }: SearchableComboboxProps): react_jsx_runtime.JSX.Element;
|
|
1012
|
+
|
|
840
1013
|
declare const Select: React$1.FC<SelectPrimitive.SelectProps>;
|
|
841
1014
|
declare const SelectGroup: React$1.ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
842
1015
|
declare const SelectValue: React$1.ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
843
|
-
declare const SelectTrigger: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> &
|
|
1016
|
+
declare const SelectTrigger: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & {
|
|
1017
|
+
size?: "default" | "sm" | undefined;
|
|
1018
|
+
} & React$1.RefAttributes<HTMLButtonElement>>;
|
|
844
1019
|
declare const SelectScrollUpButton: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollUpButtonProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
845
1020
|
declare const SelectScrollDownButton: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollDownButtonProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
846
1021
|
declare const SelectContent: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
@@ -857,10 +1032,11 @@ declare const SheetPortal: {
|
|
|
857
1032
|
};
|
|
858
1033
|
declare const SheetOverlay: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
859
1034
|
declare const sheetVariants: (props?: ({
|
|
860
|
-
side?: "
|
|
861
|
-
size?: "default" | "
|
|
1035
|
+
side?: "left" | "right" | "bottom" | "top" | null | undefined;
|
|
1036
|
+
size?: "default" | "xs" | "sm" | "lg" | "md" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "full" | null | undefined;
|
|
862
1037
|
} & ClassProp) | undefined) => string;
|
|
863
1038
|
interface SheetContentProps extends React$1.ComponentPropsWithoutRef<typeof DialogPrimitive.Content>, VariantProps<typeof sheetVariants> {
|
|
1039
|
+
showCloseButton?: boolean;
|
|
864
1040
|
}
|
|
865
1041
|
declare const SheetContent: React$1.ForwardRefExoticComponent<SheetContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
866
1042
|
declare const SheetHeader: {
|
|
@@ -952,10 +1128,10 @@ declare const SidebarMenuSubButton: React$1.ForwardRefExoticComponent<Omit<React
|
|
|
952
1128
|
isActive?: boolean | undefined;
|
|
953
1129
|
}, "ref"> & React$1.RefAttributes<HTMLAnchorElement>>;
|
|
954
1130
|
|
|
955
|
-
declare
|
|
956
|
-
|
|
957
|
-
displayName: string;
|
|
958
|
-
}
|
|
1131
|
+
declare function Skeleton({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
1132
|
+
declare namespace Skeleton {
|
|
1133
|
+
var displayName: string;
|
|
1134
|
+
}
|
|
959
1135
|
|
|
960
1136
|
declare const Slider: React$1.ForwardRefExoticComponent<Omit<SliderPrimitive.SliderProps & React$1.RefAttributes<HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
|
|
961
1137
|
|
|
@@ -966,7 +1142,9 @@ interface DualSliderProps extends React$1.ComponentPropsWithoutRef<typeof Slider
|
|
|
966
1142
|
}
|
|
967
1143
|
declare const DualSlider: React$1.ForwardRefExoticComponent<DualSliderProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
968
1144
|
|
|
969
|
-
declare const Switch: React$1.ForwardRefExoticComponent<Omit<SwitchPrimitives.SwitchProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> &
|
|
1145
|
+
declare const Switch: React$1.ForwardRefExoticComponent<Omit<SwitchPrimitives.SwitchProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & {
|
|
1146
|
+
size?: "default" | "sm" | undefined;
|
|
1147
|
+
} & React$1.RefAttributes<HTMLButtonElement>>;
|
|
970
1148
|
|
|
971
1149
|
declare const Table: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableElement> & React$1.RefAttributes<HTMLTableElement>>;
|
|
972
1150
|
declare const TableHeader: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableSectionElement> & React$1.RefAttributes<HTMLTableSectionElement>>;
|
|
@@ -977,8 +1155,13 @@ declare const TableHead: React$1.ForwardRefExoticComponent<React$1.ThHTMLAttribu
|
|
|
977
1155
|
declare const TableCell: React$1.ForwardRefExoticComponent<React$1.TdHTMLAttributes<HTMLTableCellElement> & React$1.RefAttributes<HTMLTableCellElement>>;
|
|
978
1156
|
declare const TableCaption: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableCaptionElement> & React$1.RefAttributes<HTMLTableCaptionElement>>;
|
|
979
1157
|
|
|
980
|
-
declare const Tabs: React$1.ForwardRefExoticComponent<TabsPrimitive.TabsProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
981
|
-
declare const
|
|
1158
|
+
declare const Tabs: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1159
|
+
declare const tabsListVariants: (props?: ({
|
|
1160
|
+
variant?: "line" | "default" | null | undefined;
|
|
1161
|
+
} & ClassProp) | undefined) => string;
|
|
1162
|
+
declare const TabsList: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsListProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & VariantProps<(props?: ({
|
|
1163
|
+
variant?: "line" | "default" | null | undefined;
|
|
1164
|
+
} & ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLDivElement>>;
|
|
982
1165
|
declare const TabsTrigger: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
983
1166
|
declare const TabsContent: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
984
1167
|
|
|
@@ -988,8 +1171,18 @@ declare const Textarea: React$1.ForwardRefExoticComponent<TextareaProps & React$
|
|
|
988
1171
|
|
|
989
1172
|
declare const ToastProvider: React$1.FC<ToastPrimitives.ToastProviderProps>;
|
|
990
1173
|
declare const ToastViewport: React$1.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastViewportProps & React$1.RefAttributes<HTMLOListElement>, "ref"> & React$1.RefAttributes<HTMLOListElement>>;
|
|
1174
|
+
declare const toastVariants: (props?: ({
|
|
1175
|
+
variant?: "default" | "outline" | "destructive" | null | undefined;
|
|
1176
|
+
color?: "default" | "primary" | "secondary" | "success" | "info" | "warning" | "danger" | "primary-light" | "secondary-light" | "success-light" | "info-light" | "warning-light" | "danger-light" | null | undefined;
|
|
1177
|
+
} & ClassProp) | undefined) => string;
|
|
1178
|
+
interface ToartInterface {
|
|
1179
|
+
}
|
|
1180
|
+
interface ToastCustomProps extends Omit<ToartInterface, "color">, VariantProps<typeof toastVariants> {
|
|
1181
|
+
variant?: "default" | "outline" | "destructive";
|
|
1182
|
+
color?: "default" | "primary" | "secondary" | "success" | "info" | "warning" | "danger" | "primary-light" | "secondary-light" | "success-light" | "info-light" | "warning-light" | "danger-light";
|
|
1183
|
+
}
|
|
991
1184
|
declare const Toast$1: React$1.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastProps & React$1.RefAttributes<HTMLLIElement>, "ref"> & VariantProps<(props?: ({
|
|
992
|
-
variant?: "default" | "outline" | null | undefined;
|
|
1185
|
+
variant?: "default" | "outline" | "destructive" | null | undefined;
|
|
993
1186
|
color?: "default" | "primary" | "secondary" | "success" | "info" | "warning" | "danger" | "primary-light" | "secondary-light" | "success-light" | "info-light" | "warning-light" | "danger-light" | null | undefined;
|
|
994
1187
|
} & ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLLIElement>>;
|
|
995
1188
|
declare const ToastAction: React$1.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastActionProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
@@ -1004,7 +1197,7 @@ declare const Toaster$1: {
|
|
|
1004
1197
|
displayName: string;
|
|
1005
1198
|
};
|
|
1006
1199
|
|
|
1007
|
-
type ToasterProps = React.ComponentProps<typeof Toaster$2>;
|
|
1200
|
+
type ToasterProps = React$1.ComponentProps<typeof Toaster$2>;
|
|
1008
1201
|
declare const Toaster: ({ ...props }: ToasterProps) => react_jsx_runtime.JSX.Element;
|
|
1009
1202
|
|
|
1010
1203
|
declare const toggleVariants: (props?: ({
|
|
@@ -1025,7 +1218,10 @@ declare const ToggleGroupItem: React$1.ForwardRefExoticComponent<Omit<ToggleGrou
|
|
|
1025
1218
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
1026
1219
|
} & ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1027
1220
|
|
|
1028
|
-
declare const TooltipProvider:
|
|
1221
|
+
declare const TooltipProvider: {
|
|
1222
|
+
({ delayDuration, ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Provider>): react_jsx_runtime.JSX.Element;
|
|
1223
|
+
displayName: string | undefined;
|
|
1224
|
+
};
|
|
1029
1225
|
declare const Tooltip: React$1.FC<TooltipPrimitive.TooltipProps>;
|
|
1030
1226
|
declare const TooltipTrigger: React$1.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1031
1227
|
declare const TooltipArrow: React$1.ForwardRefExoticComponent<TooltipPrimitive.TooltipArrowProps & React$1.RefAttributes<SVGSVGElement>>;
|
|
@@ -1052,29 +1248,82 @@ declare function useToast(): {
|
|
|
1052
1248
|
};
|
|
1053
1249
|
|
|
1054
1250
|
type DropdownItem = {
|
|
1055
|
-
label
|
|
1251
|
+
label?: string | ReactNode;
|
|
1056
1252
|
icon?: ReactNode;
|
|
1253
|
+
shortcut?: ReactNode;
|
|
1057
1254
|
path?: string;
|
|
1058
1255
|
child?: DropdownItem[];
|
|
1059
1256
|
action?: () => void;
|
|
1257
|
+
disabled?: boolean;
|
|
1258
|
+
variant?: "default" | "destructive";
|
|
1259
|
+
separator?: boolean;
|
|
1060
1260
|
};
|
|
1061
1261
|
interface DropdownMenuProps {
|
|
1062
1262
|
icon?: ReactNode;
|
|
1063
1263
|
label?: string | ReactNode;
|
|
1264
|
+
title?: string | ReactNode;
|
|
1064
1265
|
list: DropdownItem[];
|
|
1065
1266
|
variant?: VariantProps<typeof buttonVariants>["variant"];
|
|
1267
|
+
size?: VariantProps<typeof buttonVariants>["size"];
|
|
1268
|
+
align?: "start" | "center" | "end";
|
|
1269
|
+
className?: string;
|
|
1270
|
+
contentClassName?: string;
|
|
1066
1271
|
}
|
|
1067
1272
|
declare const Dropdown: React__default.FC<DropdownMenuProps>;
|
|
1068
1273
|
|
|
1274
|
+
interface ModalProps {
|
|
1275
|
+
open: boolean;
|
|
1276
|
+
onOpenChange?: (open: boolean) => void;
|
|
1277
|
+
title?: React$1.ReactNode;
|
|
1278
|
+
description?: React$1.ReactNode;
|
|
1279
|
+
message?: React$1.ReactNode;
|
|
1280
|
+
children?: React$1.ReactNode;
|
|
1281
|
+
footer?: React$1.ReactNode;
|
|
1282
|
+
size?: Size;
|
|
1283
|
+
variant?: "default" | "glass" | "destructive";
|
|
1284
|
+
showCloseButton?: boolean;
|
|
1285
|
+
className?: string;
|
|
1286
|
+
action?: () => void;
|
|
1287
|
+
cancel?: () => void;
|
|
1288
|
+
confirmText?: string;
|
|
1289
|
+
cancelText?: string;
|
|
1290
|
+
}
|
|
1291
|
+
declare function Modal({ open, onOpenChange, title, description, message, children, footer, size, variant, showCloseButton, className, action, cancel, confirmText, cancelText, }: ModalProps): react_jsx_runtime.JSX.Element;
|
|
1292
|
+
interface ConfirmModalProps {
|
|
1293
|
+
open: boolean;
|
|
1294
|
+
onOpenChange: (open: boolean) => void;
|
|
1295
|
+
title: React$1.ReactNode;
|
|
1296
|
+
description?: React$1.ReactNode;
|
|
1297
|
+
onConfirm: () => void;
|
|
1298
|
+
onCancel?: () => void;
|
|
1299
|
+
confirmText?: string;
|
|
1300
|
+
cancelText?: string;
|
|
1301
|
+
variant?: "default" | "destructive" | "warning" | "info";
|
|
1302
|
+
loading?: boolean;
|
|
1303
|
+
isLoading?: boolean;
|
|
1304
|
+
icon?: string;
|
|
1305
|
+
}
|
|
1306
|
+
declare function ConfirmModal({ open, onOpenChange, title, description, onConfirm, onCancel, confirmText, cancelText, variant, loading, isLoading, icon, }: ConfirmModalProps): react_jsx_runtime.JSX.Element;
|
|
1307
|
+
declare const ConfirmDialog: typeof ConfirmModal;
|
|
1308
|
+
type ConfirmDialogProps = ConfirmModalProps;
|
|
1309
|
+
|
|
1069
1310
|
interface AlertDialogProps {
|
|
1070
1311
|
open: boolean;
|
|
1071
|
-
|
|
1072
|
-
|
|
1312
|
+
onOpenChange?: (open: boolean) => void;
|
|
1313
|
+
title?: ReactNode;
|
|
1314
|
+
description?: ReactNode;
|
|
1315
|
+
message?: ReactNode;
|
|
1073
1316
|
children?: ReactNode;
|
|
1317
|
+
footer?: ReactNode;
|
|
1318
|
+
size?: Size;
|
|
1319
|
+
variant?: "default" | "glass" | "destructive";
|
|
1320
|
+
showCloseButton?: boolean;
|
|
1321
|
+
className?: string;
|
|
1074
1322
|
action?: () => void;
|
|
1075
|
-
cancel
|
|
1323
|
+
cancel?: () => void;
|
|
1324
|
+
confirmText?: string;
|
|
1325
|
+
cancelText?: string;
|
|
1076
1326
|
}
|
|
1077
|
-
declare const Modal: React__default.FC<AlertDialogProps>;
|
|
1078
1327
|
|
|
1079
1328
|
interface DialogModalProps extends React__default.ComponentPropsWithoutRef<"div"> {
|
|
1080
1329
|
className?: string;
|
|
@@ -1082,50 +1331,72 @@ interface DialogModalProps extends React__default.ComponentPropsWithoutRef<"div"
|
|
|
1082
1331
|
title?: string;
|
|
1083
1332
|
desc?: string;
|
|
1084
1333
|
size?: Size;
|
|
1334
|
+
variant?: "default" | "glass" | "destructive";
|
|
1085
1335
|
children?: React__default.ReactNode;
|
|
1086
1336
|
action?: (data?: any) => void;
|
|
1087
1337
|
cancel: () => void;
|
|
1338
|
+
confirmText?: string;
|
|
1339
|
+
cancelText?: string;
|
|
1088
1340
|
draggable?: boolean;
|
|
1341
|
+
resizable?: boolean;
|
|
1089
1342
|
scrollable?: boolean;
|
|
1090
1343
|
response?: boolean;
|
|
1091
1344
|
props?: any;
|
|
1092
1345
|
}
|
|
1093
1346
|
declare const DialogModal: React__default.ForwardRefExoticComponent<DialogModalProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
1094
1347
|
|
|
1348
|
+
type LoaderProps = {
|
|
1349
|
+
img?: string;
|
|
1350
|
+
className?: string;
|
|
1351
|
+
size?: number;
|
|
1352
|
+
};
|
|
1353
|
+
declare const Loader: {
|
|
1354
|
+
({ img, className, size }: LoaderProps): react_jsx_runtime.JSX.Element;
|
|
1355
|
+
displayName: string;
|
|
1356
|
+
};
|
|
1357
|
+
|
|
1358
|
+
type GridElement = React$1.ElementRef<"div">;
|
|
1095
1359
|
interface GridProps extends React$1.ComponentPropsWithoutRef<"div"> {
|
|
1096
1360
|
className?: string;
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1361
|
+
asChild?: boolean;
|
|
1362
|
+
display?: "grid" | "inline-grid" | "hidden" | string;
|
|
1363
|
+
col?: Number | number | "none" | "subgrid";
|
|
1364
|
+
cols?: Number | number | "none" | "subgrid";
|
|
1365
|
+
rows?: Number | number | "none" | "subgrid" | string;
|
|
1366
|
+
flow?: "row" | "col" | "dense" | "row-dense" | "col-dense";
|
|
1101
1367
|
align?: "stretch" | "start" | "center" | "end" | "baseline";
|
|
1102
|
-
justify?: "start" | "center" | "end" | "between" | "around";
|
|
1103
|
-
gap?: string;
|
|
1104
|
-
gapX?: string;
|
|
1105
|
-
gapY?: string;
|
|
1368
|
+
justify?: "start" | "center" | "end" | "between" | "around" | "evenly" | "stretch";
|
|
1369
|
+
gap?: Number | number | string;
|
|
1370
|
+
gapX?: Number | number | string;
|
|
1371
|
+
gapY?: Number | number | string;
|
|
1106
1372
|
props?: any;
|
|
1107
1373
|
}
|
|
1108
1374
|
declare const Grid: React$1.ForwardRefExoticComponent<GridProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1109
1375
|
|
|
1376
|
+
type ColElement = React$1.ElementRef<"div">;
|
|
1110
1377
|
interface ColProps extends React$1.ComponentPropsWithoutRef<"div"> {
|
|
1111
1378
|
className?: string;
|
|
1112
|
-
|
|
1379
|
+
asChild?: boolean;
|
|
1380
|
+
col?: Number | number | "auto" | "full";
|
|
1381
|
+
span?: Number | number | "auto" | "full";
|
|
1113
1382
|
spaceX?: Number | number;
|
|
1114
1383
|
spaceY?: Number | number;
|
|
1115
|
-
start?: Number | number;
|
|
1116
|
-
end?: Number | number;
|
|
1384
|
+
start?: Number | number | "auto";
|
|
1385
|
+
end?: Number | number | "auto";
|
|
1117
1386
|
props?: any;
|
|
1118
1387
|
}
|
|
1119
1388
|
declare const Col: React$1.ForwardRefExoticComponent<ColProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1120
1389
|
|
|
1390
|
+
type FlexElement = React$1.ElementRef<"div">;
|
|
1121
1391
|
interface FlexProps extends React$1.ComponentPropsWithoutRef<"div"> {
|
|
1122
1392
|
className?: string;
|
|
1393
|
+
asChild?: boolean;
|
|
1123
1394
|
display?: "flex" | "inline-flex" | "hidden" | "absolute" | "static" | "fixed" | "relative" | "sticky";
|
|
1124
1395
|
direction?: "row" | "row-reverse" | "col" | "col-reverse";
|
|
1125
1396
|
align?: "stretch" | "start" | "center" | "end" | "baseline";
|
|
1126
|
-
justify?: "start" | "center" | "end" | "between" | "around";
|
|
1397
|
+
justify?: "start" | "center" | "end" | "between" | "around" | "evenly" | "stretch";
|
|
1127
1398
|
wrap?: "nowrap" | "wrap" | "wrap-reverse";
|
|
1128
|
-
gap?: string;
|
|
1399
|
+
gap?: Number | number | string;
|
|
1129
1400
|
props?: any;
|
|
1130
1401
|
}
|
|
1131
1402
|
declare const Flex: React$1.ForwardRefExoticComponent<FlexProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
@@ -1133,6 +1404,7 @@ declare const Flex: React$1.ForwardRefExoticComponent<FlexProps & React$1.RefAtt
|
|
|
1133
1404
|
type OptionSelect = {
|
|
1134
1405
|
disabled?: boolean;
|
|
1135
1406
|
label?: string;
|
|
1407
|
+
sublabel?: string;
|
|
1136
1408
|
value?: string | number | boolean;
|
|
1137
1409
|
};
|
|
1138
1410
|
interface ComboBoxProps extends Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, "value" | "onChange" | "title"> {
|
|
@@ -1142,6 +1414,7 @@ interface ComboBoxProps extends Omit<React$1.ButtonHTMLAttributes<HTMLButtonElem
|
|
|
1142
1414
|
filter?: ((value: string, search: string) => number) | undefined;
|
|
1143
1415
|
onChange?: (value: any) => void;
|
|
1144
1416
|
response?: boolean;
|
|
1417
|
+
allowDeselect?: boolean;
|
|
1145
1418
|
}
|
|
1146
1419
|
declare const ComboBox: React$1.ForwardRefExoticComponent<ComboBoxProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1147
1420
|
|
|
@@ -1163,12 +1436,13 @@ declare const MultipleSelect: React__default.ForwardRefExoticComponent<MultipleS
|
|
|
1163
1436
|
|
|
1164
1437
|
interface InputFormProps extends React__default.InputHTMLAttributes<HTMLInputElement | HTMLTextAreaElement> {
|
|
1165
1438
|
className?: string;
|
|
1439
|
+
itemClassName?: string;
|
|
1166
1440
|
control?: any;
|
|
1167
|
-
label?:
|
|
1441
|
+
label?: ReactNode;
|
|
1168
1442
|
name?: any;
|
|
1169
1443
|
iconStart?: ReactNode;
|
|
1170
1444
|
iconEnd?: ReactNode;
|
|
1171
|
-
description?:
|
|
1445
|
+
description?: ReactNode;
|
|
1172
1446
|
placeholder?: string;
|
|
1173
1447
|
type?: string;
|
|
1174
1448
|
props?: any;
|
|
@@ -1180,13 +1454,15 @@ declare const InputForm: React__default.ForwardRefExoticComponent<InputFormProps
|
|
|
1180
1454
|
interface DateTimePickerProps {
|
|
1181
1455
|
value?: Date;
|
|
1182
1456
|
onChange: (date: Date) => void;
|
|
1457
|
+
className?: string;
|
|
1183
1458
|
}
|
|
1184
1459
|
declare const DateTimePicker: {
|
|
1185
|
-
({ value, onChange }: DateTimePickerProps): react_jsx_runtime.JSX.Element;
|
|
1460
|
+
({ value, onChange, className, }: DateTimePickerProps): react_jsx_runtime.JSX.Element;
|
|
1186
1461
|
displayName: string;
|
|
1187
1462
|
};
|
|
1188
1463
|
|
|
1189
1464
|
interface DatePickerRangeProps {
|
|
1465
|
+
className?: string;
|
|
1190
1466
|
onChange: (date: DateRange) => void;
|
|
1191
1467
|
}
|
|
1192
1468
|
declare const DatePickerRange: React__default.FC<DatePickerRangeProps>;
|
|
@@ -1194,9 +1470,11 @@ declare const DatePickerRange: React__default.FC<DatePickerRangeProps>;
|
|
|
1194
1470
|
interface DatePickerProps {
|
|
1195
1471
|
value?: Date;
|
|
1196
1472
|
onChange: (date?: Date) => void;
|
|
1473
|
+
placeholder?: string;
|
|
1474
|
+
className?: string;
|
|
1197
1475
|
}
|
|
1198
1476
|
declare const DatePicker: {
|
|
1199
|
-
({ value, onChange }: DatePickerProps): react_jsx_runtime.JSX.Element;
|
|
1477
|
+
({ value, onChange, placeholder, className, }: DatePickerProps): react_jsx_runtime.JSX.Element;
|
|
1200
1478
|
displayName: string;
|
|
1201
1479
|
};
|
|
1202
1480
|
|
|
@@ -1295,51 +1573,90 @@ type SettingPaginate = {
|
|
|
1295
1573
|
end: number;
|
|
1296
1574
|
step: number;
|
|
1297
1575
|
};
|
|
1298
|
-
interface
|
|
1576
|
+
interface DataTableLabels {
|
|
1577
|
+
searchPlaceholder?: string;
|
|
1578
|
+
noResults?: string;
|
|
1579
|
+
rowsSelected?: (selected: number, total: number) => string;
|
|
1580
|
+
rowsPerPage?: string;
|
|
1581
|
+
pageInfo?: (page: number, totalPages: number) => string;
|
|
1582
|
+
columns?: string;
|
|
1583
|
+
toggleColumns?: string;
|
|
1584
|
+
stickyLastColumn?: string;
|
|
1585
|
+
resizeMode?: string;
|
|
1586
|
+
}
|
|
1587
|
+
interface DataTableProps<TData = any, TValue = any> {
|
|
1588
|
+
columns: ColumnDef<TData, TValue>[];
|
|
1589
|
+
data: TData[];
|
|
1590
|
+
totalRows?: number;
|
|
1591
|
+
pagination?: PaginationState;
|
|
1592
|
+
onPaginationChange?: OnChangeFn<PaginationState>;
|
|
1593
|
+
sorting?: SortingState;
|
|
1594
|
+
onSortingChange?: OnChangeFn<SortingState>;
|
|
1595
|
+
searchValue?: string;
|
|
1596
|
+
onSearchChange?: (value: string) => void;
|
|
1597
|
+
searchColumn?: string;
|
|
1598
|
+
enableRowSelection?: boolean;
|
|
1599
|
+
rowSelection?: RowSelectionState;
|
|
1600
|
+
onRowSelectionChange?: OnChangeFn<RowSelectionState>;
|
|
1601
|
+
getRowId?: (row: TData) => string;
|
|
1602
|
+
enableColumnVisibility?: boolean;
|
|
1603
|
+
enableColumnResizing?: boolean;
|
|
1604
|
+
stickyLastColumn?: boolean;
|
|
1605
|
+
enableStickyToggle?: boolean;
|
|
1606
|
+
toolbarActions?: React$1.ReactNode;
|
|
1607
|
+
filterSlot?: React$1.ReactNode;
|
|
1608
|
+
bulkActions?: (selectedRows: TData[]) => React$1.ReactNode;
|
|
1609
|
+
loading?: boolean;
|
|
1610
|
+
isLoading?: boolean;
|
|
1611
|
+
pageSizeOptions?: number[];
|
|
1612
|
+
labels?: DataTableLabels;
|
|
1613
|
+
emptyIcon?: React$1.ReactNode;
|
|
1614
|
+
onRowClick?: (row: TData) => void;
|
|
1299
1615
|
className?: string;
|
|
1300
|
-
headerClass?: string;
|
|
1301
|
-
bodyClass?: string;
|
|
1302
|
-
data: any[];
|
|
1303
|
-
columns: ColumnDef<any>[];
|
|
1304
1616
|
search?: string;
|
|
1305
1617
|
hidden?: string[];
|
|
1306
1618
|
pageCount?: number;
|
|
1307
1619
|
manualPagination?: boolean;
|
|
1308
|
-
onPagination?: (arg:
|
|
1620
|
+
onPagination?: (arg: PaginationState) => void;
|
|
1309
1621
|
paginationSetting?: SettingPaginate;
|
|
1310
|
-
onSelectRow?: (
|
|
1622
|
+
onSelectRow?: (selectedRows: TData[]) => void;
|
|
1311
1623
|
actions?: Action[];
|
|
1312
1624
|
scrollable?: boolean;
|
|
1625
|
+
headerClass?: string;
|
|
1626
|
+
bodyClass?: string;
|
|
1313
1627
|
}
|
|
1314
|
-
|
|
1628
|
+
type DataTablePropsBase = DataTableProps<any, any>;
|
|
1629
|
+
type DataTableWithPagination = DataTableProps<any, any> & {
|
|
1315
1630
|
manualPagination: true;
|
|
1316
1631
|
pageCount?: number;
|
|
1317
|
-
onPagination: (arg:
|
|
1318
|
-
}
|
|
1319
|
-
|
|
1632
|
+
onPagination: (arg: PaginationState) => void;
|
|
1633
|
+
};
|
|
1634
|
+
type DataTableWithoutPagination = DataTableProps<any, any> & {
|
|
1320
1635
|
manualPagination?: false;
|
|
1321
|
-
}
|
|
1636
|
+
};
|
|
1322
1637
|
declare const usePagination: () => {
|
|
1323
1638
|
limit: number;
|
|
1324
1639
|
onPaginateChange: React$1.Dispatch<React$1.SetStateAction<PaginationState>>;
|
|
1325
1640
|
pagination: PaginationState;
|
|
1326
1641
|
skip: number;
|
|
1327
1642
|
};
|
|
1328
|
-
/**
|
|
1329
|
-
* skip pagination
|
|
1330
|
-
* @returns
|
|
1331
|
-
*/
|
|
1332
1643
|
declare const useSkipper: () => readonly [boolean, () => void];
|
|
1333
|
-
/**
|
|
1334
|
-
* filter
|
|
1335
|
-
* @param param0
|
|
1336
|
-
* @returns
|
|
1337
|
-
*/
|
|
1338
1644
|
declare const Filter: ({ column, table, }: {
|
|
1339
1645
|
column: Column<any, any>;
|
|
1340
1646
|
table: Table$1<any>;
|
|
1341
1647
|
}) => react_jsx_runtime.JSX.Element;
|
|
1342
|
-
declare
|
|
1648
|
+
declare function createSelectionColumn<TData>(): ColumnDef<TData, unknown>;
|
|
1649
|
+
declare function DataTableColumnHeader({ title, column, className, }: {
|
|
1650
|
+
title: string;
|
|
1651
|
+
column: {
|
|
1652
|
+
getCanSort: () => boolean;
|
|
1653
|
+
getIsSorted: () => false | "asc" | "desc";
|
|
1654
|
+
toggleSorting: (desc?: boolean) => void;
|
|
1655
|
+
};
|
|
1656
|
+
className?: string;
|
|
1657
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1658
|
+
declare function DataTable<TData = any, TValue = any>({ columns, data, totalRows, pagination: controlledPagination, onPaginationChange, sorting: controlledSorting, onSortingChange, searchValue, onSearchChange, searchColumn, enableRowSelection, rowSelection: controlledRowSelection, onRowSelectionChange, getRowId, enableColumnVisibility, enableColumnResizing, stickyLastColumn, enableStickyToggle, toolbarActions, filterSlot, bulkActions, loading, isLoading, pageSizeOptions, labels: userLabels, emptyIcon, onRowClick, className, search, hidden, pageCount: legacyPageCount, manualPagination, onPagination, paginationSetting, onSelectRow, actions, scrollable, headerClass, bodyClass, }: DataTableProps<TData, TValue>): react_jsx_runtime.JSX.Element;
|
|
1659
|
+
declare const ModernDataTable: typeof DataTable;
|
|
1343
1660
|
|
|
1344
1661
|
declare const ResizablePanelGroup: ({ className, ...props }: React.ComponentProps<typeof ResizablePrimitive.PanelGroup>) => react_jsx_runtime.JSX.Element;
|
|
1345
1662
|
declare const ResizablePanel: React$1.ForwardRefExoticComponent<Omit<React$1.HTMLAttributes<HTMLDivElement | HTMLElement | HTMLObjectElement | HTMLAnchorElement | HTMLButtonElement | HTMLFormElement | HTMLHeadingElement | HTMLImageElement | HTMLInputElement | HTMLLabelElement | HTMLLIElement | HTMLOListElement | HTMLParagraphElement | HTMLSpanElement | HTMLUListElement | HTMLAreaElement | HTMLAudioElement | HTMLBaseElement | HTMLQuoteElement | HTMLBodyElement | HTMLBRElement | HTMLCanvasElement | HTMLTableColElement | HTMLDataElement | HTMLDataListElement | HTMLModElement | HTMLDetailsElement | HTMLDialogElement | HTMLDListElement | HTMLEmbedElement | HTMLFieldSetElement | HTMLHeadElement | HTMLHRElement | HTMLHtmlElement | HTMLIFrameElement | HTMLLegendElement | HTMLLinkElement | HTMLMapElement | HTMLMetaElement | HTMLMeterElement | HTMLOptGroupElement | HTMLOptionElement | HTMLOutputElement | HTMLPreElement | HTMLProgressElement | HTMLSlotElement | HTMLScriptElement | HTMLSelectElement | HTMLSourceElement | HTMLStyleElement | HTMLTableElement | HTMLTemplateElement | HTMLTableSectionElement | HTMLTableCellElement | HTMLTextAreaElement | HTMLTimeElement | HTMLTitleElement | HTMLTableRowElement | HTMLTrackElement | HTMLVideoElement | HTMLTableCaptionElement | HTMLMenuElement | HTMLPictureElement>, "id" | "onResize"> & {
|
|
@@ -1411,7 +1728,7 @@ interface StepTriggerProps {
|
|
|
1411
1728
|
declare const StepTrigger: React__default.ForwardRefExoticComponent<StepTriggerProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
1412
1729
|
type StepProgressProps = {
|
|
1413
1730
|
className?: string;
|
|
1414
|
-
color
|
|
1731
|
+
color?: Color;
|
|
1415
1732
|
};
|
|
1416
1733
|
declare const StepProgress: React__default.FC<StepProgressProps>;
|
|
1417
1734
|
type StepperChildProps = {
|
|
@@ -1442,4 +1759,4 @@ type StepNavButtonProps = {
|
|
|
1442
1759
|
declare const StepPrevious: React__default.ForwardRefExoticComponent<StepNavButtonProps & React__default.RefAttributes<HTMLButtonElement>>;
|
|
1443
1760
|
declare const StepNext: React__default.ForwardRefExoticComponent<StepNavButtonProps & React__default.RefAttributes<HTMLButtonElement>>;
|
|
1444
1761
|
|
|
1445
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, type Action, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, type AlertDialogProps, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AspectRatio, Avatar, AvatarFallback, AvatarImage, Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator,
|
|
1762
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, type Action, Alert, AlertAction, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogOverlay, AlertDialogPortal, type AlertDialogProps, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AppIcon, type AppIconProps, AspectRatio, Attachment, AttachmentAction, AttachmentActions, AttachmentContent, AttachmentDescription, AttachmentGroup, AttachmentMedia, AttachmentTitle, AttachmentTrigger, Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage, Badge, type BadgeCustom, type BadgeProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Bubble, BubbleContent, BubbleGroup, BubbleReactions, BulkActionsBar, type BulkActionsBarProps, Button, ButtonGroup, type ButtonGroupProps, ButtonGroupSeparator, ButtonGroupText, type ButtonProps, Calendar, type CalendarProps, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselButton, type CarouselButtonProps, CarouselContent, CarouselControl, type CarouselControlProps, CarouselDots, type CarouselDotsProps, CarouselItem, CarouselNext, type CarouselNextProps, CarouselPrevious, CarouselSelect, type CarouselSelectProps, type ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, CircularSlider, type CircularSliderProps, Col, type ColElement, type ColProps, Collapsible, CollapsibleContent, CollapsibleTrigger, type Color, ComboBox, type ComboBoxProps, type ComboboxOption, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ConfirmDialog, type ConfirmDialogProps, ConfirmModal, type ConfirmModalProps, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuCustom, type ContextMenuCustomProps, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, type ContextMenuTypeProps, DataTable, DataTableColumnHeader, type DataTableLabels, type DataTableProps, type DataTablePropsBase, type DataTableWithPagination, type DataTableWithoutPagination, DatePicker, type DatePickerProps, DatePickerRange, type DatePickerRangeProps, DateTimePicker, type DateTimePickerProps, Dialog, DialogClose, DialogContent, type DialogCustom, DialogDescription, DialogFooter, DialogHeader, DialogModal, type DialogModalProps, DialogOverlay, DialogPortal, type DialogProps, DialogTitle, DialogTrigger, type Direction, DirectionProvider, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, Dropdown, type DropdownItem, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, type DropdownMenuProps, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, DualSlider, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, Filter, Flex, type FlexElement, type FlexProps, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, Grid, type GridElement, type GridProps, type Hour, HourFormat, type HourFormatProps, HourWheel, type HourWheelProps, type Hours, HoverCard, HoverCardContent, HoverCardTrigger, Input, InputForm, type InputFormProps, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, type InputProps, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, Kbd, KbdGroup, Label, Loader, type LoaderProps, Marker, MarkerContent, MarkerIcon, Menu, MenuButton, type MenuButtonProps, MenuItem, type MenuItemProps, type MenuProps, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, Message, MessageAvatar, MessageContent, MessageFooter, MessageGroup, MessageHeader, type Minute, MinuteWheel, type MinuteWheelProps, Modal, type ModalProps, ModernDataTable, MultiSelect, type MultiSelectOption, type MultiSelectProps, MultipleSelect, type MultipleSelectProps, NativeSelect, NativeSelectOptGroup, NativeSelectOption, type NativeSelectProps, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, type Number, type OptionMultiSelect, type OptionSelect, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Popover, PopoverAnchor, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, Progress, type ProgressProps, RadioGroup, RadioGroupItem, RenderContextMenuItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, ScrollArea, ScrollBar, SearchableCombobox, type SearchableComboboxProps, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, type SettingPaginate, ButtonGroup as ShadcnButtonGroup, Sidebar as ShadcnSidebar, Sheet, SheetClose, SheetContent, SheetCustom, type SheetCustomProps, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, type Side, Sidebar$1 as Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, type SidebarProps, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, type Size, Skeleton, Slider, Spinner, StepContainer, type StepContainerProps, type StepContainerRef, type StepContextType, StepList, type StepListProps, StepNav, type StepNavButtonProps, type StepNavProps, StepNext, StepPrevious, StepProgress, type StepProgressProps, StepTrigger, type StepTriggerProps, Stepper, type StepperChildProps, StepperContext, StepsContent, type StepsContentProps, SubMenu, type SubMenuProps, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, type TextareaProps, TimePicker, type TimePickerProps, TimePickerSelection, type TimePickerSelectionProps, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, type ToastCustomProps, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster$1 as Toaster, Toaster as ToasterSonner, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipArrow, TooltipContent, TooltipPortal, TooltipProvider, TooltipTrigger, type VariantProps, alertVariants, attachmentMediaVariants, attachmentVariants, badgeVariants, bubbleContentVariants, bubbleReactionsVariants, bubbleVariants, buttonGroupVariants, buttonVariants, cn, colorVariants, createSelectionColumn, cva, dialogContentVariants, emptyMediaVariants, fieldVariants, generateArray, inputGroupAddonVariants, inputGroupButtonVariants, itemMediaVariants, itemVariants, labelVariants, markerVariants, navigationMenuTriggerStyle, sheetVariants, sidebarMenuButtonVariants, tabsListVariants, toast, toastVariants, toggleVariants, useCarousel, useDebounce, useDelay, useDirection, useFormField, useForwardedRef, useIsMobile, useMediaQuery, usePagination, useRepeat, useSidebar, useSkipper, useToast };
|