@min98/ui 1.3.54 → 1.3.55
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 +3 -3
- package/lib/index.d.cts +255 -264
- package/lib/index.d.ts +255 -264
- package/lib/index.js +2 -2
- package/package.json +167 -167
package/lib/index.d.cts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import * as React$1 from 'react';
|
|
2
2
|
import React__default, { ReactNode } from 'react';
|
|
3
3
|
import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
|
4
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
5
4
|
import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
|
6
5
|
import * as CLSX from 'clsx';
|
|
7
6
|
import { ClassValue as ClassValue$1 } from 'clsx';
|
|
@@ -98,23 +97,23 @@ declare const Button: React$1.ForwardRefExoticComponent<ButtonProps & React$1.Re
|
|
|
98
97
|
declare const AlertDialog: React$1.FC<AlertDialogPrimitive.AlertDialogProps>;
|
|
99
98
|
declare const AlertDialogTrigger: React$1.ForwardRefExoticComponent<AlertDialogPrimitive.AlertDialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
100
99
|
declare const AlertDialogPortal: {
|
|
101
|
-
({ ...props }: AlertDialogPrimitive.AlertDialogPortalProps):
|
|
100
|
+
({ ...props }: AlertDialogPrimitive.AlertDialogPortalProps): React$1.JSX.Element;
|
|
102
101
|
displayName: string | undefined;
|
|
103
102
|
};
|
|
104
103
|
declare const AlertDialogOverlay: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
105
104
|
declare const AlertDialogContent: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
106
|
-
size?: "default" | "sm"
|
|
105
|
+
size?: "default" | "sm";
|
|
107
106
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
108
107
|
declare const AlertDialogHeader: {
|
|
109
|
-
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>):
|
|
108
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): React$1.JSX.Element;
|
|
110
109
|
displayName: string;
|
|
111
110
|
};
|
|
112
111
|
declare const AlertDialogFooter: {
|
|
113
|
-
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>):
|
|
112
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): React$1.JSX.Element;
|
|
114
113
|
displayName: string;
|
|
115
114
|
};
|
|
116
115
|
declare const AlertDialogMedia: {
|
|
117
|
-
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>):
|
|
116
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): React$1.JSX.Element;
|
|
118
117
|
displayName: string;
|
|
119
118
|
};
|
|
120
119
|
declare const AlertDialogTitle: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
@@ -134,37 +133,37 @@ declare const AlertAction: React$1.ForwardRefExoticComponent<React$1.HTMLAttribu
|
|
|
134
133
|
|
|
135
134
|
declare const AspectRatio: React$1.ForwardRefExoticComponent<AspectRatioPrimitive.AspectRatioProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
136
135
|
|
|
137
|
-
declare function AttachmentGroup({ className, ...props }: React$1.ComponentProps<"div">):
|
|
136
|
+
declare function AttachmentGroup({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
138
137
|
declare const attachmentVariants: (props?: ({
|
|
139
138
|
variant?: "default" | "secondary" | "outline" | "ghost" | null | undefined;
|
|
140
139
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
141
140
|
} & ClassProp) | undefined) => string;
|
|
142
141
|
declare function Attachment({ className, variant, size, asChild, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof attachmentVariants> & {
|
|
143
142
|
asChild?: boolean;
|
|
144
|
-
}):
|
|
143
|
+
}): React$1.JSX.Element;
|
|
145
144
|
declare const attachmentMediaVariants: (props?: ({
|
|
146
145
|
variant?: "default" | "icon" | "lg" | "preview" | null | undefined;
|
|
147
146
|
} & ClassProp) | undefined) => string;
|
|
148
|
-
declare function AttachmentMedia({ className, variant, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof attachmentMediaVariants>):
|
|
149
|
-
declare function AttachmentContent({ className, ...props }: React$1.ComponentProps<"div">):
|
|
150
|
-
declare function AttachmentTitle({ className, ...props }: React$1.ComponentProps<"div">):
|
|
151
|
-
declare function AttachmentDescription({ className, ...props }: React$1.ComponentProps<"div">):
|
|
152
|
-
declare function AttachmentActions({ className, ...props }: React$1.ComponentProps<"div">):
|
|
147
|
+
declare function AttachmentMedia({ className, variant, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof attachmentMediaVariants>): React$1.JSX.Element;
|
|
148
|
+
declare function AttachmentContent({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
149
|
+
declare function AttachmentTitle({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
150
|
+
declare function AttachmentDescription({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
151
|
+
declare function AttachmentActions({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
153
152
|
declare function AttachmentAction({ className, asChild, ...props }: React$1.ComponentProps<"button"> & {
|
|
154
153
|
asChild?: boolean;
|
|
155
|
-
}):
|
|
154
|
+
}): React$1.JSX.Element;
|
|
156
155
|
declare function AttachmentTrigger({ className, asChild, ...props }: React$1.ComponentProps<"button"> & {
|
|
157
156
|
asChild?: boolean;
|
|
158
|
-
}):
|
|
157
|
+
}): React$1.JSX.Element;
|
|
159
158
|
|
|
160
159
|
declare const Avatar: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarProps & React$1.RefAttributes<HTMLSpanElement>, "ref"> & {
|
|
161
|
-
size?: "default" | "sm" | "lg"
|
|
160
|
+
size?: "default" | "sm" | "lg";
|
|
162
161
|
} & React$1.RefAttributes<HTMLSpanElement>>;
|
|
163
162
|
declare const AvatarImage: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarImageProps & React$1.RefAttributes<HTMLImageElement>, "ref"> & React$1.RefAttributes<HTMLImageElement>>;
|
|
164
163
|
declare const AvatarFallback: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarFallbackProps & React$1.RefAttributes<HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
|
|
165
|
-
declare function AvatarBadge({ className, ...props }: React$1.ComponentProps<"span">):
|
|
166
|
-
declare function AvatarGroup({ className, ...props }: React$1.ComponentProps<"div">):
|
|
167
|
-
declare function AvatarGroupCount({ className, ...props }: React$1.ComponentProps<"div">):
|
|
164
|
+
declare function AvatarBadge({ className, ...props }: React$1.ComponentProps<"span">): React$1.JSX.Element;
|
|
165
|
+
declare function AvatarGroup({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
166
|
+
declare function AvatarGroupCount({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
168
167
|
|
|
169
168
|
declare const badgeVariants: (props?: ({
|
|
170
169
|
variant?: "link" | "fill" | "default" | "secondary" | "success" | "info" | "warning" | "outline" | "ghost" | "destructive" | null | undefined;
|
|
@@ -178,22 +177,22 @@ interface BadgeProps extends Omit<BadgeCustom, "color">, VariantProps<typeof bad
|
|
|
178
177
|
}
|
|
179
178
|
declare const Badge: React$1.ForwardRefExoticComponent<BadgeProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
180
179
|
|
|
181
|
-
declare function BubbleGroup({ className, ...props }: React$1.ComponentProps<"div">):
|
|
180
|
+
declare function BubbleGroup({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
182
181
|
declare const bubbleVariants: (props?: ({
|
|
183
182
|
align?: "end" | "start" | null | undefined;
|
|
184
183
|
} & ClassProp) | undefined) => string;
|
|
185
|
-
declare function Bubble({ className, align, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof bubbleVariants>):
|
|
184
|
+
declare function Bubble({ className, align, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof bubbleVariants>): React$1.JSX.Element;
|
|
186
185
|
declare const bubbleContentVariants: (props?: ({
|
|
187
186
|
variant?: "default" | "primary" | "outline" | "ghost" | null | undefined;
|
|
188
187
|
shape?: "end" | "start" | "default" | "middle" | null | undefined;
|
|
189
188
|
} & ClassProp) | undefined) => string;
|
|
190
189
|
declare function BubbleContent({ className, variant, shape, asChild, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof bubbleContentVariants> & {
|
|
191
190
|
asChild?: boolean;
|
|
192
|
-
}):
|
|
191
|
+
}): React$1.JSX.Element;
|
|
193
192
|
declare const bubbleReactionsVariants: (props?: ({
|
|
194
193
|
align?: "end" | "start" | null | undefined;
|
|
195
194
|
} & ClassProp) | undefined) => string;
|
|
196
|
-
declare function BubbleReactions({ className, align, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof bubbleReactionsVariants>):
|
|
195
|
+
declare function BubbleReactions({ className, align, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof bubbleReactionsVariants>): React$1.JSX.Element;
|
|
197
196
|
|
|
198
197
|
interface BulkActionsBarProps {
|
|
199
198
|
selectedCount: number;
|
|
@@ -202,7 +201,7 @@ interface BulkActionsBarProps {
|
|
|
202
201
|
selectedLabel?: (count: number) => string;
|
|
203
202
|
className?: string;
|
|
204
203
|
}
|
|
205
|
-
declare function BulkActionsBar({ selectedCount, onClear, children, selectedLabel, className, }: BulkActionsBarProps):
|
|
204
|
+
declare function BulkActionsBar({ selectedCount, onClear, children, selectedLabel, className, }: BulkActionsBarProps): React$1.JSX.Element | null;
|
|
206
205
|
|
|
207
206
|
declare const generateArray: (start: number, end: number, step: number) => number[];
|
|
208
207
|
|
|
@@ -227,14 +226,14 @@ declare function useIsMobile(): boolean;
|
|
|
227
226
|
declare const Separator: React$1.ForwardRefExoticComponent<Omit<SeparatorPrimitive.SeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
228
227
|
|
|
229
228
|
declare const buttonGroupVariants: (props?: ({
|
|
230
|
-
orientation?: "
|
|
229
|
+
orientation?: "vertical" | "horizontal" | null | undefined;
|
|
231
230
|
} & ClassProp) | undefined) => string;
|
|
232
231
|
type ButtonGroupProps = React$1.ComponentProps<"div"> & VariantProps<typeof buttonGroupVariants>;
|
|
233
232
|
declare const ButtonGroup: React$1.ForwardRefExoticComponent<Omit<ButtonGroupProps, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
234
233
|
declare function ButtonGroupText({ className, asChild, ...props }: React$1.ComponentProps<"div"> & {
|
|
235
234
|
asChild?: boolean;
|
|
236
|
-
}):
|
|
237
|
-
declare function ButtonGroupSeparator({ className, orientation, ...props }: React$1.ComponentProps<typeof Separator>):
|
|
235
|
+
}): React$1.JSX.Element;
|
|
236
|
+
declare function ButtonGroupSeparator({ className, orientation, ...props }: React$1.ComponentProps<typeof Separator>): React$1.JSX.Element;
|
|
238
237
|
|
|
239
238
|
declare const Breadcrumb: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
|
|
240
239
|
separator?: React$1.ReactNode;
|
|
@@ -242,21 +241,21 @@ declare const Breadcrumb: React$1.ForwardRefExoticComponent<Omit<React$1.Detaile
|
|
|
242
241
|
declare const BreadcrumbList: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.OlHTMLAttributes<HTMLOListElement>, HTMLOListElement>, "ref"> & React$1.RefAttributes<HTMLOListElement>>;
|
|
243
242
|
declare const BreadcrumbItem: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React$1.RefAttributes<HTMLLIElement>>;
|
|
244
243
|
declare const BreadcrumbLink: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & {
|
|
245
|
-
asChild?: boolean
|
|
244
|
+
asChild?: boolean;
|
|
246
245
|
} & React$1.RefAttributes<HTMLAnchorElement>>;
|
|
247
246
|
declare const BreadcrumbPage: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
|
|
248
247
|
declare const BreadcrumbSeparator: {
|
|
249
|
-
({ children, className, ...props }: React$1.ComponentProps<"li">):
|
|
248
|
+
({ children, className, ...props }: React$1.ComponentProps<"li">): React$1.JSX.Element;
|
|
250
249
|
displayName: string;
|
|
251
250
|
};
|
|
252
251
|
declare const BreadcrumbEllipsis: {
|
|
253
|
-
({ className, ...props }: React$1.ComponentProps<"span">):
|
|
252
|
+
({ className, ...props }: React$1.ComponentProps<"span">): React$1.JSX.Element;
|
|
254
253
|
displayName: string;
|
|
255
254
|
};
|
|
256
255
|
|
|
257
256
|
type CalendarProps = React$1.ComponentProps<typeof DayPicker>;
|
|
258
257
|
declare const Calendar: {
|
|
259
|
-
({ className, classNames, showOutsideDays, ...props }: CalendarProps):
|
|
258
|
+
({ className, classNames, showOutsideDays, ...props }: CalendarProps): React$1.JSX.Element;
|
|
260
259
|
displayName: string;
|
|
261
260
|
};
|
|
262
261
|
|
|
@@ -283,45 +282,45 @@ declare const ChartContainer: React$1.ForwardRefExoticComponent<Omit<React$1.Cla
|
|
|
283
282
|
declare const ChartStyle: ({ id, config }: {
|
|
284
283
|
id: string;
|
|
285
284
|
config: ChartConfig;
|
|
286
|
-
}) =>
|
|
285
|
+
}) => React$1.JSX.Element | null;
|
|
287
286
|
declare const ChartTooltip: typeof RechartsPrimitive.Tooltip;
|
|
288
287
|
declare const ChartTooltipContent: React$1.ForwardRefExoticComponent<Omit<RechartsPrimitive.DefaultTooltipContentProps<recharts_types_component_DefaultTooltipContent.ValueType, recharts_types_component_DefaultTooltipContent.NameType> & {
|
|
289
|
-
accessibilityLayer?: boolean
|
|
288
|
+
accessibilityLayer?: boolean;
|
|
290
289
|
active?: boolean | undefined;
|
|
291
290
|
includeHidden?: boolean | undefined;
|
|
292
|
-
allowEscapeViewBox?: recharts_types_util_types.AllowInDimension
|
|
293
|
-
animationDuration?:
|
|
294
|
-
animationEasing?: recharts_types_util_types.AnimationTiming
|
|
291
|
+
allowEscapeViewBox?: recharts_types_util_types.AllowInDimension;
|
|
292
|
+
animationDuration?: recharts_types_util_types.AnimationDuration;
|
|
293
|
+
animationEasing?: recharts_types_util_types.AnimationTiming;
|
|
295
294
|
content?: recharts_types_component_Tooltip.ContentType<recharts_types_component_DefaultTooltipContent.ValueType, recharts_types_component_DefaultTooltipContent.NameType> | undefined;
|
|
296
|
-
coordinate?: Partial<recharts_types_util_types.Coordinate
|
|
297
|
-
cursor?: boolean | React$1.
|
|
298
|
-
filterNull?: boolean
|
|
299
|
-
defaultIndex?: number
|
|
300
|
-
isAnimationActive?: boolean
|
|
301
|
-
offset?: number
|
|
295
|
+
coordinate?: Partial<recharts_types_util_types.Coordinate>;
|
|
296
|
+
cursor?: boolean | React$1.ReactElement | React$1.SVGProps<SVGElement>;
|
|
297
|
+
filterNull?: boolean;
|
|
298
|
+
defaultIndex?: number;
|
|
299
|
+
isAnimationActive?: boolean;
|
|
300
|
+
offset?: number;
|
|
302
301
|
payloadUniqBy?: recharts_types_util_payload_getUniqPayload.UniqueOption<recharts_types_component_DefaultTooltipContent.Payload<recharts_types_component_DefaultTooltipContent.ValueType, recharts_types_component_DefaultTooltipContent.NameType>> | undefined;
|
|
303
|
-
position?: Partial<recharts_types_util_types.Coordinate
|
|
304
|
-
reverseDirection?: recharts_types_util_types.AllowInDimension
|
|
305
|
-
shared?: boolean
|
|
306
|
-
trigger?: "
|
|
307
|
-
useTranslate3d?: boolean
|
|
308
|
-
viewBox?: recharts_types_util_types.CartesianViewBox
|
|
309
|
-
wrapperStyle?: React$1.CSSProperties
|
|
302
|
+
position?: Partial<recharts_types_util_types.Coordinate>;
|
|
303
|
+
reverseDirection?: recharts_types_util_types.AllowInDimension;
|
|
304
|
+
shared?: boolean;
|
|
305
|
+
trigger?: "hover" | "click";
|
|
306
|
+
useTranslate3d?: boolean;
|
|
307
|
+
viewBox?: recharts_types_util_types.CartesianViewBox;
|
|
308
|
+
wrapperStyle?: React$1.CSSProperties;
|
|
310
309
|
} & React$1.ClassAttributes<HTMLDivElement> & React$1.HTMLAttributes<HTMLDivElement> & {
|
|
311
|
-
hideLabel?: boolean
|
|
312
|
-
hideIndicator?: boolean
|
|
313
|
-
indicator?: "line" | "
|
|
314
|
-
nameKey?: string
|
|
315
|
-
labelKey?: string
|
|
310
|
+
hideLabel?: boolean;
|
|
311
|
+
hideIndicator?: boolean;
|
|
312
|
+
indicator?: "line" | "dot" | "dashed";
|
|
313
|
+
nameKey?: string;
|
|
314
|
+
labelKey?: string;
|
|
316
315
|
}, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
317
316
|
declare const ChartLegend: typeof RechartsPrimitive.Legend;
|
|
318
317
|
declare const ChartLegendContent: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLDivElement> & React$1.HTMLAttributes<HTMLDivElement> & Pick<RechartsPrimitive.LegendProps, "payload" | "verticalAlign"> & {
|
|
319
|
-
hideIcon?: boolean
|
|
320
|
-
nameKey?: string
|
|
318
|
+
hideIcon?: boolean;
|
|
319
|
+
nameKey?: string;
|
|
321
320
|
}, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
322
321
|
|
|
323
322
|
declare const Card: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & {
|
|
324
|
-
size?: "default" | "sm"
|
|
323
|
+
size?: "default" | "sm";
|
|
325
324
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
326
325
|
declare const CardHeader: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
327
326
|
declare const CardTitle: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLHeadingElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
@@ -380,8 +379,8 @@ type CarouselDotsProps = React$1.HTMLAttributes<HTMLDivElement> & {
|
|
|
380
379
|
classNameDot?: string;
|
|
381
380
|
};
|
|
382
381
|
declare const CarouselDots: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & {
|
|
383
|
-
className?: string
|
|
384
|
-
classNameDot?: string
|
|
382
|
+
className?: string;
|
|
383
|
+
classNameDot?: string;
|
|
385
384
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
386
385
|
|
|
387
386
|
declare const Checkbox: React$1.ForwardRefExoticComponent<Omit<CheckboxPrimitive.CheckboxProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
@@ -393,14 +392,14 @@ declare const CollapsibleContent: React$1.ForwardRefExoticComponent<CollapsibleP
|
|
|
393
392
|
declare const Command: React$1.ForwardRefExoticComponent<Omit<{
|
|
394
393
|
children?: React$1.ReactNode;
|
|
395
394
|
} & React$1.HTMLAttributes<HTMLDivElement> & {
|
|
396
|
-
label?: string
|
|
397
|
-
shouldFilter?: boolean
|
|
398
|
-
filter?: (
|
|
399
|
-
defaultValue?: string
|
|
400
|
-
value?: string
|
|
401
|
-
onValueChange?: (
|
|
402
|
-
loop?: boolean
|
|
403
|
-
vimBindings?: boolean
|
|
395
|
+
label?: string;
|
|
396
|
+
shouldFilter?: boolean;
|
|
397
|
+
filter?: (value: string, search: string) => number;
|
|
398
|
+
defaultValue?: string;
|
|
399
|
+
value?: string;
|
|
400
|
+
onValueChange?: (value: string) => void;
|
|
401
|
+
loop?: boolean;
|
|
402
|
+
vimBindings?: boolean;
|
|
404
403
|
} & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
405
404
|
interface CommandDialogProps extends DialogProps$2 {
|
|
406
405
|
title?: string;
|
|
@@ -409,12 +408,12 @@ interface CommandDialogProps extends DialogProps$2 {
|
|
|
409
408
|
showCloseButton?: boolean;
|
|
410
409
|
}
|
|
411
410
|
declare const CommandDialog: {
|
|
412
|
-
({ title, description, children, className, showCloseButton, ...props }: CommandDialogProps):
|
|
411
|
+
({ title, description, children, className, showCloseButton, ...props }: CommandDialogProps): React$1.JSX.Element;
|
|
413
412
|
displayName: string;
|
|
414
413
|
};
|
|
415
414
|
declare const CommandInput: React$1.ForwardRefExoticComponent<Omit<Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "onChange" | "type" | "value"> & {
|
|
416
|
-
value?: string
|
|
417
|
-
onValueChange?: (
|
|
415
|
+
value?: string;
|
|
416
|
+
onValueChange?: (search: string) => void;
|
|
418
417
|
} & React$1.RefAttributes<HTMLInputElement>, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
|
|
419
418
|
declare const CommandList: React$1.ForwardRefExoticComponent<Omit<{
|
|
420
419
|
children?: React$1.ReactNode;
|
|
@@ -426,22 +425,22 @@ declare const CommandGroup: React$1.ForwardRefExoticComponent<Omit<{
|
|
|
426
425
|
children?: React$1.ReactNode;
|
|
427
426
|
} & Omit<React$1.HTMLAttributes<HTMLDivElement>, "value" | "heading"> & {
|
|
428
427
|
heading?: React$1.ReactNode;
|
|
429
|
-
value?: string
|
|
430
|
-
forceMount?: boolean
|
|
428
|
+
value?: string;
|
|
429
|
+
forceMount?: boolean;
|
|
431
430
|
} & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
432
431
|
declare const CommandSeparator: React$1.ForwardRefExoticComponent<Omit<React$1.HTMLAttributes<HTMLDivElement> & {
|
|
433
|
-
alwaysRender?: boolean
|
|
432
|
+
alwaysRender?: boolean;
|
|
434
433
|
} & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
435
434
|
declare const CommandItem: React$1.ForwardRefExoticComponent<Omit<{
|
|
436
435
|
children?: React$1.ReactNode;
|
|
437
436
|
} & Omit<React$1.HTMLAttributes<HTMLDivElement>, "onSelect" | "value" | "disabled"> & {
|
|
438
|
-
disabled?: boolean
|
|
439
|
-
onSelect?: (
|
|
440
|
-
value?: string
|
|
441
|
-
forceMount?: boolean
|
|
437
|
+
disabled?: boolean;
|
|
438
|
+
onSelect?: (value: string) => void;
|
|
439
|
+
value?: string;
|
|
440
|
+
forceMount?: boolean;
|
|
442
441
|
} & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
443
442
|
declare const CommandShortcut: {
|
|
444
|
-
({ className, ...props }: React$1.HTMLAttributes<HTMLSpanElement>):
|
|
443
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLSpanElement>): React$1.JSX.Element;
|
|
445
444
|
displayName: string;
|
|
446
445
|
};
|
|
447
446
|
|
|
@@ -452,26 +451,26 @@ declare const ContextMenuPortal: React$1.FC<ContextMenuPrimitive.ContextMenuPort
|
|
|
452
451
|
declare const ContextMenuSub: React$1.FC<ContextMenuPrimitive.ContextMenuSubProps>;
|
|
453
452
|
declare const ContextMenuRadioGroup: React$1.ForwardRefExoticComponent<ContextMenuPrimitive.ContextMenuRadioGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
454
453
|
declare const ContextMenuSubTrigger: React$1.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuSubTriggerProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
455
|
-
inset?: boolean
|
|
454
|
+
inset?: boolean;
|
|
456
455
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
457
456
|
declare const ContextMenuSubContent: React$1.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuSubContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
458
457
|
declare const ContextMenuContent: React$1.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
459
458
|
declare const ContextMenuItem: React$1.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
460
|
-
inset?: boolean
|
|
461
|
-
variant?: "default" | "destructive"
|
|
459
|
+
inset?: boolean;
|
|
460
|
+
variant?: "default" | "destructive";
|
|
462
461
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
463
462
|
declare const ContextMenuCheckboxItem: React$1.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuCheckboxItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
464
|
-
inset?: boolean
|
|
463
|
+
inset?: boolean;
|
|
465
464
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
466
465
|
declare const ContextMenuRadioItem: React$1.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuRadioItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
467
|
-
inset?: boolean
|
|
466
|
+
inset?: boolean;
|
|
468
467
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
469
468
|
declare const ContextMenuLabel: React$1.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuLabelProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
470
|
-
inset?: boolean
|
|
469
|
+
inset?: boolean;
|
|
471
470
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
472
471
|
declare const ContextMenuSeparator: React$1.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
473
472
|
declare const ContextMenuShortcut: {
|
|
474
|
-
({ className, ...props }: React$1.HTMLAttributes<HTMLSpanElement>):
|
|
473
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLSpanElement>): React$1.JSX.Element;
|
|
475
474
|
displayName: string;
|
|
476
475
|
};
|
|
477
476
|
|
|
@@ -496,7 +495,7 @@ type ContextMenuCustomProps = {
|
|
|
496
495
|
children?: React__default.ReactNode;
|
|
497
496
|
list?: ContextMenuTypeProps[];
|
|
498
497
|
};
|
|
499
|
-
declare const RenderContextMenuItem: (list: ContextMenuTypeProps[]) =>
|
|
498
|
+
declare const RenderContextMenuItem: (list: ContextMenuTypeProps[]) => React__default.JSX.Element;
|
|
500
499
|
declare const ContextMenuCustom: React__default.ForwardRefExoticComponent<ContextMenuCustomProps & React__default.RefAttributes<HTMLButtonElement>>;
|
|
501
500
|
|
|
502
501
|
interface CircularSliderProps {
|
|
@@ -523,7 +522,7 @@ declare function DirectionProvider({ dir, direction, children, }: {
|
|
|
523
522
|
dir?: Direction;
|
|
524
523
|
direction?: Direction;
|
|
525
524
|
children: React$1.ReactNode;
|
|
526
|
-
}):
|
|
525
|
+
}): React$1.JSX.Element;
|
|
527
526
|
declare function useDirection(localDir?: Direction): Direction;
|
|
528
527
|
|
|
529
528
|
interface WithFadeFromProps {
|
|
@@ -557,16 +556,16 @@ type DialogProps$1 = {
|
|
|
557
556
|
preventScrollRestoration?: boolean;
|
|
558
557
|
disablePreventScroll?: boolean;
|
|
559
558
|
} & (WithFadeFromProps | WithoutFadeFromProps);
|
|
560
|
-
declare function Root({ open: openProp, onOpenChange, children, shouldScaleBackground, onDrag: onDragProp, onRelease: onReleaseProp, snapPoints, nested, setBackgroundColorOnScale, closeThreshold, scrollLockTimeout, dismissible, handleOnly, fadeFromIndex, activeSnapPoint: activeSnapPointProp, setActiveSnapPoint: setActiveSnapPointProp, fixed, modal, onClose, noBodyStyles, direction, preventScrollRestoration, disablePreventScroll, }: DialogProps$1):
|
|
561
|
-
declare function NestedRoot({ onDrag, onOpenChange, ...rest }: DialogProps$1):
|
|
559
|
+
declare function Root({ open: openProp, onOpenChange, children, shouldScaleBackground, onDrag: onDragProp, onRelease: onReleaseProp, snapPoints, nested, setBackgroundColorOnScale, closeThreshold, scrollLockTimeout, dismissible, handleOnly, fadeFromIndex, activeSnapPoint: activeSnapPointProp, setActiveSnapPoint: setActiveSnapPointProp, fixed, modal, onClose, noBodyStyles, direction, preventScrollRestoration, disablePreventScroll, }: DialogProps$1): React__default.JSX.Element;
|
|
560
|
+
declare function NestedRoot({ onDrag, onOpenChange, ...rest }: DialogProps$1): React__default.JSX.Element;
|
|
562
561
|
declare const Drawer$1: {
|
|
563
562
|
Root: typeof Root;
|
|
564
563
|
NestedRoot: typeof NestedRoot;
|
|
565
564
|
Content: React__default.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & React__default.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
566
|
-
onAnimationEnd?: (
|
|
565
|
+
onAnimationEnd?: (open: boolean) => void;
|
|
567
566
|
} & React__default.RefAttributes<HTMLDivElement>>;
|
|
568
567
|
Handle: React__default.ForwardRefExoticComponent<Omit<React__default.DetailedHTMLProps<React__default.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
569
|
-
preventCycle?: boolean
|
|
568
|
+
preventCycle?: boolean;
|
|
570
569
|
} & React__default.RefAttributes<HTMLDivElement>>;
|
|
571
570
|
Overlay: React__default.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React__default.RefAttributes<HTMLDivElement>, "ref"> & React__default.RefAttributes<HTMLDivElement>>;
|
|
572
571
|
Trigger: React__default.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React__default.RefAttributes<HTMLButtonElement>>;
|
|
@@ -577,7 +576,7 @@ declare const Drawer$1: {
|
|
|
577
576
|
};
|
|
578
577
|
|
|
579
578
|
declare const Drawer: {
|
|
580
|
-
({ shouldScaleBackground, ...props }: React$1.ComponentProps<typeof Drawer$1.Root>):
|
|
579
|
+
({ shouldScaleBackground, ...props }: React$1.ComponentProps<typeof Drawer$1.Root>): React$1.JSX.Element;
|
|
581
580
|
displayName: string;
|
|
582
581
|
};
|
|
583
582
|
declare const DrawerTrigger: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
@@ -585,14 +584,14 @@ declare const DrawerPortal: React$1.FC<DialogPrimitive.DialogPortalProps>;
|
|
|
585
584
|
declare const DrawerClose: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
586
585
|
declare const DrawerOverlay: React$1.ForwardRefExoticComponent<Omit<Omit<DialogPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
587
586
|
declare const DrawerContent: React$1.ForwardRefExoticComponent<Omit<Omit<DialogPrimitive.DialogContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
588
|
-
onAnimationEnd?: (
|
|
587
|
+
onAnimationEnd?: (open: boolean) => void;
|
|
589
588
|
} & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
590
589
|
declare const DrawerHeader: {
|
|
591
|
-
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>):
|
|
590
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): React$1.JSX.Element;
|
|
592
591
|
displayName: string;
|
|
593
592
|
};
|
|
594
593
|
declare const DrawerFooter: {
|
|
595
|
-
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>):
|
|
594
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): React$1.JSX.Element;
|
|
596
595
|
displayName: string;
|
|
597
596
|
};
|
|
598
597
|
declare const DrawerTitle: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
@@ -608,11 +607,11 @@ declare const Dialog: React$1.FC<DialogPrimitive.DialogProps>;
|
|
|
608
607
|
declare const DialogTrigger: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
609
608
|
declare const DialogClose: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
610
609
|
declare const DialogPortal: {
|
|
611
|
-
({ ...props }: DialogPrimitive.DialogPortalProps):
|
|
610
|
+
({ ...props }: DialogPrimitive.DialogPortalProps): React$1.JSX.Element;
|
|
612
611
|
displayName: string | undefined;
|
|
613
612
|
};
|
|
614
613
|
declare const DialogOverlay: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
615
|
-
variant?: "default" | "glass" | "destructive" | null
|
|
614
|
+
variant?: "default" | "glass" | "destructive" | null;
|
|
616
615
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
617
616
|
declare const dialogContentVariants: (props?: ({
|
|
618
617
|
size?: "default" | "xs" | "sm" | "lg" | "md" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "full" | null | undefined;
|
|
@@ -626,13 +625,13 @@ interface DialogProps extends DialogCustom, React$1.ComponentPropsWithoutRef<typ
|
|
|
626
625
|
}
|
|
627
626
|
declare const DialogContent: React$1.ForwardRefExoticComponent<DialogProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
628
627
|
declare const DialogHeader: {
|
|
629
|
-
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>):
|
|
628
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): React$1.JSX.Element;
|
|
630
629
|
displayName: string;
|
|
631
630
|
};
|
|
632
631
|
declare const DialogFooter: {
|
|
633
632
|
({ className, showCloseButton, children, ...props }: React$1.HTMLAttributes<HTMLDivElement> & {
|
|
634
|
-
showCloseButton?: boolean
|
|
635
|
-
}):
|
|
633
|
+
showCloseButton?: boolean;
|
|
634
|
+
}): React$1.JSX.Element;
|
|
636
635
|
displayName: string;
|
|
637
636
|
};
|
|
638
637
|
declare const DialogTitle: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
@@ -645,70 +644,71 @@ declare const DropdownMenuPortal: React$1.FC<DropdownMenuPrimitive.DropdownMenuP
|
|
|
645
644
|
declare const DropdownMenuSub: React$1.FC<DropdownMenuPrimitive.DropdownMenuSubProps>;
|
|
646
645
|
declare const DropdownMenuRadioGroup: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuRadioGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
647
646
|
declare const DropdownMenuSubTrigger: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubTriggerProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
648
|
-
inset?: boolean
|
|
647
|
+
inset?: boolean;
|
|
649
648
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
650
649
|
declare const DropdownMenuSubContent: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
651
650
|
declare const DropdownMenuContent: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
652
651
|
declare const DropdownMenuItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
653
|
-
inset?: boolean
|
|
654
|
-
variant?: "default" | "destructive"
|
|
652
|
+
inset?: boolean;
|
|
653
|
+
variant?: "default" | "destructive";
|
|
655
654
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
656
655
|
declare const DropdownMenuCheckboxItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuCheckboxItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
657
|
-
inset?: boolean
|
|
656
|
+
inset?: boolean;
|
|
658
657
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
659
658
|
declare const DropdownMenuRadioItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuRadioItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
660
|
-
inset?: boolean
|
|
659
|
+
inset?: boolean;
|
|
661
660
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
662
661
|
declare const DropdownMenuLabel: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuLabelProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
663
|
-
inset?: boolean
|
|
662
|
+
inset?: boolean;
|
|
664
663
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
665
664
|
declare const DropdownMenuSeparator: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
666
665
|
declare const DropdownMenuShortcut: {
|
|
667
|
-
({ className, ...props }: React$1.HTMLAttributes<HTMLSpanElement>):
|
|
666
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLSpanElement>): React$1.JSX.Element;
|
|
668
667
|
displayName: string;
|
|
669
668
|
};
|
|
670
669
|
|
|
671
|
-
declare function Empty({ className, ...props }: React$1.ComponentProps<"div">):
|
|
672
|
-
declare function EmptyHeader({ className, ...props }: React$1.ComponentProps<"div">):
|
|
670
|
+
declare function Empty({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
671
|
+
declare function EmptyHeader({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
673
672
|
declare const emptyMediaVariants: (props?: ({
|
|
674
673
|
variant?: "default" | "icon" | null | undefined;
|
|
675
674
|
} & ClassProp) | undefined) => string;
|
|
676
|
-
declare function EmptyMedia({ className, variant, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof emptyMediaVariants>):
|
|
677
|
-
declare function EmptyTitle({ className, ...props }: React$1.ComponentProps<"div">):
|
|
678
|
-
declare function EmptyDescription({ className, ...props }: React$1.ComponentProps<"p">):
|
|
679
|
-
declare function EmptyContent({ className, ...props }: React$1.ComponentProps<"div">):
|
|
675
|
+
declare function EmptyMedia({ className, variant, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof emptyMediaVariants>): React$1.JSX.Element;
|
|
676
|
+
declare function EmptyTitle({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
677
|
+
declare function EmptyDescription({ className, ...props }: React$1.ComponentProps<"p">): React$1.JSX.Element;
|
|
678
|
+
declare function EmptyContent({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
680
679
|
|
|
681
680
|
declare const labelVariants: (props?: ClassProp | undefined) => string;
|
|
682
681
|
declare const Label: React$1.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React$1.RefAttributes<HTMLLabelElement>, "ref"> & VariantProps<(props?: ClassProp | undefined) => string> & React$1.RefAttributes<HTMLLabelElement>>;
|
|
683
682
|
|
|
684
|
-
declare function FieldSet({ className, ...props }: React$1.ComponentProps<"fieldset">):
|
|
683
|
+
declare function FieldSet({ className, ...props }: React$1.ComponentProps<"fieldset">): React$1.JSX.Element;
|
|
685
684
|
declare function FieldLegend({ className, variant, ...props }: React$1.ComponentProps<"legend"> & {
|
|
686
685
|
variant?: "legend" | "label";
|
|
687
|
-
}):
|
|
688
|
-
declare function FieldGroup({ className, ...props }: React$1.ComponentProps<"div">):
|
|
686
|
+
}): React$1.JSX.Element;
|
|
687
|
+
declare function FieldGroup({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
689
688
|
declare const fieldVariants: (props?: ({
|
|
690
|
-
orientation?: "
|
|
689
|
+
orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
|
|
691
690
|
} & ClassProp) | undefined) => string;
|
|
692
|
-
declare function Field({ className, orientation, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof fieldVariants>):
|
|
693
|
-
declare function FieldContent({ className, ...props }: React$1.ComponentProps<"div">):
|
|
694
|
-
declare function FieldLabel({ className, ...props }: React$1.ComponentProps<typeof Label>):
|
|
695
|
-
declare function FieldTitle({ className, ...props }: React$1.ComponentProps<"div">):
|
|
696
|
-
declare function FieldDescription({ className, ...props }: React$1.ComponentProps<"p">):
|
|
691
|
+
declare function Field({ className, orientation, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof fieldVariants>): React$1.JSX.Element;
|
|
692
|
+
declare function FieldContent({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
693
|
+
declare function FieldLabel({ className, ...props }: React$1.ComponentProps<typeof Label>): React$1.JSX.Element;
|
|
694
|
+
declare function FieldTitle({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
695
|
+
declare function FieldDescription({ className, ...props }: React$1.ComponentProps<"p">): React$1.JSX.Element;
|
|
697
696
|
declare function FieldSeparator({ children, className, ...props }: React$1.ComponentProps<"div"> & {
|
|
698
697
|
children?: React$1.ReactNode;
|
|
699
|
-
}):
|
|
698
|
+
}): React$1.JSX.Element;
|
|
700
699
|
declare function FieldError({ className, children, errors, ...props }: React$1.ComponentProps<"div"> & {
|
|
701
700
|
errors?: Array<{
|
|
702
701
|
message?: string;
|
|
703
702
|
} | undefined>;
|
|
704
|
-
}):
|
|
703
|
+
}): React$1.JSX.Element | null;
|
|
705
704
|
|
|
706
|
-
declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues
|
|
707
|
-
declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ ...props }: ControllerProps<TFieldValues, TName>) =>
|
|
705
|
+
declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>({ children, watch, getValues, getErrors, getFieldState, setError, clearErrors, setValue, setValues, trigger, formState, resetField, reset, resetDefaultValues, handleSubmit, unregister, control, register, setFocus, subscribe, }: react_hook_form.FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React$1.JSX.Element;
|
|
706
|
+
declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ ...props }: ControllerProps<TFieldValues, TName>) => React$1.JSX.Element;
|
|
708
707
|
declare const useFormField: () => {
|
|
709
708
|
invalid: boolean;
|
|
710
709
|
isDirty: boolean;
|
|
711
710
|
isTouched: boolean;
|
|
711
|
+
isValidating: boolean;
|
|
712
712
|
error?: react_hook_form.FieldError | undefined;
|
|
713
713
|
id: string;
|
|
714
714
|
name: string;
|
|
@@ -719,7 +719,7 @@ declare const useFormField: () => {
|
|
|
719
719
|
declare const FormItem: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
720
720
|
declare const FormLabel: React$1.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React$1.RefAttributes<HTMLLabelElement>, "ref"> & React$1.RefAttributes<HTMLLabelElement>>;
|
|
721
721
|
declare const FormControl: React$1.ForwardRefExoticComponent<Omit<React$1.HTMLAttributes<HTMLElement> & {
|
|
722
|
-
children?: React$1.ReactNode;
|
|
722
|
+
children?: React$1.ReactNode | undefined;
|
|
723
723
|
} & React$1.RefAttributes<HTMLElement>, "ref"> & React$1.RefAttributes<HTMLElement>>;
|
|
724
724
|
declare const FormDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
725
725
|
declare const FormMessage: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
@@ -732,7 +732,7 @@ interface AppIconProps extends Omit<IconProps, "icon"> {
|
|
|
732
732
|
icon: string;
|
|
733
733
|
size?: number | string;
|
|
734
734
|
}
|
|
735
|
-
declare function AppIcon({ icon, size, className, ...props }: AppIconProps):
|
|
735
|
+
declare function AppIcon({ icon, size, className, ...props }: AppIconProps): React$1.JSX.Element;
|
|
736
736
|
declare namespace AppIcon {
|
|
737
737
|
var displayName: string;
|
|
738
738
|
}
|
|
@@ -741,42 +741,46 @@ interface InputProps extends React$1.InputHTMLAttributes<HTMLInputElement> {
|
|
|
741
741
|
}
|
|
742
742
|
declare const Input: React$1.ForwardRefExoticComponent<InputProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
743
743
|
|
|
744
|
-
declare function InputGroup({ className, ...props }: React$1.ComponentProps<"div">):
|
|
744
|
+
declare function InputGroup({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
745
745
|
declare const inputGroupAddonVariants: (props?: ({
|
|
746
|
-
align?: "
|
|
746
|
+
align?: "inline-end" | "inline-start" | "block-end" | "block-start" | null | undefined;
|
|
747
747
|
} & ClassProp) | undefined) => string;
|
|
748
|
-
declare function InputGroupAddon({ className, align, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof inputGroupAddonVariants>):
|
|
748
|
+
declare function InputGroupAddon({ className, align, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof inputGroupAddonVariants>): React$1.JSX.Element;
|
|
749
749
|
declare const inputGroupButtonVariants: (props?: ({
|
|
750
750
|
size?: "xs" | "sm" | "icon-xs" | "icon-sm" | null | undefined;
|
|
751
751
|
} & ClassProp) | undefined) => string;
|
|
752
|
-
declare function InputGroupButton({ className, type, variant, size, ...props }: Omit<React$1.ComponentProps<typeof Button>, "size"> & VariantProps<typeof inputGroupButtonVariants>):
|
|
753
|
-
declare function InputGroupText({ className, ...props }: React$1.ComponentProps<"span">):
|
|
754
|
-
declare function InputGroupInput({ className, ...props }: React$1.ComponentProps<"input">):
|
|
755
|
-
declare function InputGroupTextarea({ className, ...props }: React$1.ComponentProps<"textarea">):
|
|
756
|
-
|
|
757
|
-
declare const InputOTP: React$1.ForwardRefExoticComponent<(Omit<Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "maxLength" | "textAlign" | "onComplete" | "pushPasswordManagerStrategy" | "containerClassName" | "noScriptCSSFallback"> & {
|
|
758
|
-
value?: string
|
|
759
|
-
onChange?: (
|
|
752
|
+
declare function InputGroupButton({ className, type, variant, size, ...props }: Omit<React$1.ComponentProps<typeof Button>, "size"> & VariantProps<typeof inputGroupButtonVariants>): React$1.JSX.Element;
|
|
753
|
+
declare function InputGroupText({ className, ...props }: React$1.ComponentProps<"span">): React$1.JSX.Element;
|
|
754
|
+
declare function InputGroupInput({ className, ...props }: React$1.ComponentProps<"input">): React$1.JSX.Element;
|
|
755
|
+
declare function InputGroupTextarea({ className, ...props }: React$1.ComponentProps<"textarea">): React$1.JSX.Element;
|
|
756
|
+
|
|
757
|
+
declare const InputOTP: React$1.ForwardRefExoticComponent<(Omit<Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "nonce" | "onChange" | "value" | "maxLength" | "textAlign" | "onComplete" | "pushPasswordManagerStrategy" | "pasteTransformer" | "containerClassName" | "noScriptCSSFallback"> & {
|
|
758
|
+
value?: string;
|
|
759
|
+
onChange?: (newValue: string) => unknown;
|
|
760
760
|
maxLength: number;
|
|
761
|
-
textAlign?: "
|
|
762
|
-
onComplete?: (
|
|
763
|
-
pushPasswordManagerStrategy?: "
|
|
764
|
-
|
|
765
|
-
|
|
761
|
+
textAlign?: "left" | "center" | "right";
|
|
762
|
+
onComplete?: (...args: any[]) => unknown;
|
|
763
|
+
pushPasswordManagerStrategy?: "increase-width" | "none";
|
|
764
|
+
pasteTransformer?: (pasted: string) => string;
|
|
765
|
+
containerClassName?: string;
|
|
766
|
+
noScriptCSSFallback?: string | null;
|
|
767
|
+
nonce?: string;
|
|
766
768
|
} & {
|
|
767
769
|
render: (props: input_otp.RenderProps) => React$1.ReactNode;
|
|
768
|
-
children?:
|
|
769
|
-
} & React$1.RefAttributes<HTMLInputElement>, "ref"> | Omit<Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "maxLength" | "textAlign" | "onComplete" | "pushPasswordManagerStrategy" | "containerClassName" | "noScriptCSSFallback"> & {
|
|
770
|
-
value?: string
|
|
771
|
-
onChange?: (
|
|
770
|
+
children?: never;
|
|
771
|
+
} & React$1.RefAttributes<HTMLInputElement>, "ref"> | Omit<Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "nonce" | "onChange" | "value" | "maxLength" | "textAlign" | "onComplete" | "pushPasswordManagerStrategy" | "pasteTransformer" | "containerClassName" | "noScriptCSSFallback"> & {
|
|
772
|
+
value?: string;
|
|
773
|
+
onChange?: (newValue: string) => unknown;
|
|
772
774
|
maxLength: number;
|
|
773
|
-
textAlign?: "
|
|
774
|
-
onComplete?: (
|
|
775
|
-
pushPasswordManagerStrategy?: "
|
|
776
|
-
|
|
777
|
-
|
|
775
|
+
textAlign?: "left" | "center" | "right";
|
|
776
|
+
onComplete?: (...args: any[]) => unknown;
|
|
777
|
+
pushPasswordManagerStrategy?: "increase-width" | "none";
|
|
778
|
+
pasteTransformer?: (pasted: string) => string;
|
|
779
|
+
containerClassName?: string;
|
|
780
|
+
noScriptCSSFallback?: string | null;
|
|
781
|
+
nonce?: string;
|
|
778
782
|
} & {
|
|
779
|
-
render?:
|
|
783
|
+
render?: never;
|
|
780
784
|
children: React$1.ReactNode;
|
|
781
785
|
} & React$1.RefAttributes<HTMLInputElement>, "ref">) & React$1.RefAttributes<HTMLInputElement>>;
|
|
782
786
|
declare const InputOTPGroup: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
@@ -785,66 +789,66 @@ declare const InputOTPSlot: React$1.ForwardRefExoticComponent<Omit<React$1.Detai
|
|
|
785
789
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
786
790
|
declare const InputOTPSeparator: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
787
791
|
|
|
788
|
-
declare function ItemGroup({ className, ...props }: React$1.ComponentProps<"div">):
|
|
789
|
-
declare function ItemSeparator({ className, ...props }: React$1.ComponentProps<typeof Separator>):
|
|
792
|
+
declare function ItemGroup({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
793
|
+
declare function ItemSeparator({ className, ...props }: React$1.ComponentProps<typeof Separator>): React$1.JSX.Element;
|
|
790
794
|
declare const itemVariants: (props?: ({
|
|
791
795
|
variant?: "muted" | "default" | "outline" | null | undefined;
|
|
792
796
|
size?: "default" | "sm" | null | undefined;
|
|
793
797
|
} & ClassProp) | undefined) => string;
|
|
794
798
|
declare function Item({ className, variant, size, asChild, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof itemVariants> & {
|
|
795
799
|
asChild?: boolean;
|
|
796
|
-
}):
|
|
800
|
+
}): React$1.JSX.Element;
|
|
797
801
|
declare const itemMediaVariants: (props?: ({
|
|
798
802
|
variant?: "image" | "default" | "icon" | null | undefined;
|
|
799
803
|
} & ClassProp) | undefined) => string;
|
|
800
|
-
declare function ItemMedia({ className, variant, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof itemMediaVariants>):
|
|
801
|
-
declare function ItemContent({ className, ...props }: React$1.ComponentProps<"div">):
|
|
802
|
-
declare function ItemTitle({ className, ...props }: React$1.ComponentProps<"div">):
|
|
803
|
-
declare function ItemDescription({ className, ...props }: React$1.ComponentProps<"p">):
|
|
804
|
-
declare function ItemActions({ className, ...props }: React$1.ComponentProps<"div">):
|
|
805
|
-
declare function ItemHeader({ className, ...props }: React$1.ComponentProps<"div">):
|
|
806
|
-
declare function ItemFooter({ className, ...props }: React$1.ComponentProps<"div">):
|
|
804
|
+
declare function ItemMedia({ className, variant, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof itemMediaVariants>): React$1.JSX.Element;
|
|
805
|
+
declare function ItemContent({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
806
|
+
declare function ItemTitle({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
807
|
+
declare function ItemDescription({ className, ...props }: React$1.ComponentProps<"p">): React$1.JSX.Element;
|
|
808
|
+
declare function ItemActions({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
809
|
+
declare function ItemHeader({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
810
|
+
declare function ItemFooter({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
807
811
|
|
|
808
|
-
declare function Kbd({ className, ...props }: React$1.ComponentProps<"kbd">):
|
|
809
|
-
declare function KbdGroup({ className, ...props }: React$1.ComponentProps<"div">):
|
|
812
|
+
declare function Kbd({ className, ...props }: React$1.ComponentProps<"kbd">): React$1.JSX.Element;
|
|
813
|
+
declare function KbdGroup({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
810
814
|
|
|
811
815
|
declare const markerVariants: (props?: ({
|
|
812
816
|
variant?: "line" | "default" | "badge" | null | undefined;
|
|
813
817
|
} & ClassProp) | undefined) => string;
|
|
814
818
|
declare function Marker({ className, variant, asChild, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof markerVariants> & {
|
|
815
819
|
asChild?: boolean;
|
|
816
|
-
}):
|
|
817
|
-
declare function MarkerIcon({ className, ...props }: React$1.ComponentProps<"span">):
|
|
818
|
-
declare function MarkerContent({ className, ...props }: React$1.ComponentProps<"span">):
|
|
819
|
-
|
|
820
|
-
declare function MenubarMenu({ ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Menu>):
|
|
821
|
-
declare function MenubarGroup({ ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Group>):
|
|
822
|
-
declare function MenubarPortal({ ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Portal>):
|
|
823
|
-
declare function MenubarRadioGroup({ ...props }: React$1.ComponentProps<typeof MenubarPrimitive.RadioGroup>):
|
|
824
|
-
declare function MenubarSub({ ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Sub>):
|
|
820
|
+
}): React$1.JSX.Element;
|
|
821
|
+
declare function MarkerIcon({ className, ...props }: React$1.ComponentProps<"span">): React$1.JSX.Element;
|
|
822
|
+
declare function MarkerContent({ className, ...props }: React$1.ComponentProps<"span">): React$1.JSX.Element;
|
|
823
|
+
|
|
824
|
+
declare function MenubarMenu({ ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Menu>): React$1.JSX.Element;
|
|
825
|
+
declare function MenubarGroup({ ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Group>): React$1.JSX.Element;
|
|
826
|
+
declare function MenubarPortal({ ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Portal>): React$1.JSX.Element;
|
|
827
|
+
declare function MenubarRadioGroup({ ...props }: React$1.ComponentProps<typeof MenubarPrimitive.RadioGroup>): React$1.JSX.Element;
|
|
828
|
+
declare function MenubarSub({ ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Sub>): React$1.JSX.Element;
|
|
825
829
|
declare const Menubar: React$1.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
826
830
|
declare const MenubarTrigger: React$1.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
827
831
|
declare const MenubarSubTrigger: React$1.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarSubTriggerProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
828
|
-
inset?: boolean
|
|
832
|
+
inset?: boolean;
|
|
829
833
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
830
834
|
declare const MenubarSubContent: React$1.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarSubContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
831
835
|
declare const MenubarContent: React$1.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
832
836
|
declare const MenubarItem: React$1.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
833
|
-
inset?: boolean
|
|
834
|
-
variant?: "default" | "destructive"
|
|
837
|
+
inset?: boolean;
|
|
838
|
+
variant?: "default" | "destructive";
|
|
835
839
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
836
840
|
declare const MenubarCheckboxItem: React$1.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarCheckboxItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
837
|
-
inset?: boolean
|
|
841
|
+
inset?: boolean;
|
|
838
842
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
839
843
|
declare const MenubarRadioItem: React$1.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarRadioItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
840
|
-
inset?: boolean
|
|
844
|
+
inset?: boolean;
|
|
841
845
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
842
846
|
declare const MenubarLabel: React$1.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarLabelProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
843
|
-
inset?: boolean
|
|
847
|
+
inset?: boolean;
|
|
844
848
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
845
849
|
declare const MenubarSeparator: React$1.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
846
850
|
declare const MenubarShortcut: {
|
|
847
|
-
({ className, ...props }: React$1.HTMLAttributes<HTMLSpanElement>):
|
|
851
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLSpanElement>): React$1.JSX.Element;
|
|
848
852
|
displayName: string;
|
|
849
853
|
};
|
|
850
854
|
|
|
@@ -901,14 +905,14 @@ type SidebarProps = {
|
|
|
901
905
|
};
|
|
902
906
|
declare const Sidebar$1: React__default.ForwardRefExoticComponent<SidebarProps & React__default.RefAttributes<HTMLElement>>;
|
|
903
907
|
|
|
904
|
-
declare function MessageGroup({ className, ...props }: React$1.ComponentProps<"div">):
|
|
908
|
+
declare function MessageGroup({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
905
909
|
declare function Message({ className, align, ...props }: React$1.ComponentProps<"div"> & {
|
|
906
910
|
align?: "start" | "end";
|
|
907
|
-
}):
|
|
908
|
-
declare function MessageAvatar({ className, ...props }: React$1.ComponentProps<"div">):
|
|
909
|
-
declare function MessageContent({ className, ...props }: React$1.ComponentProps<"div">):
|
|
910
|
-
declare function MessageHeader({ className, ...props }: React$1.ComponentProps<"div">):
|
|
911
|
-
declare function MessageFooter({ className, ...props }: React$1.ComponentProps<"div">):
|
|
911
|
+
}): React$1.JSX.Element;
|
|
912
|
+
declare function MessageAvatar({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
913
|
+
declare function MessageContent({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
914
|
+
declare function MessageHeader({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
915
|
+
declare function MessageFooter({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
912
916
|
|
|
913
917
|
interface MultiSelectOption {
|
|
914
918
|
value: string;
|
|
@@ -925,17 +929,17 @@ interface MultiSelectProps {
|
|
|
925
929
|
disabled?: boolean;
|
|
926
930
|
className?: string;
|
|
927
931
|
}
|
|
928
|
-
declare function MultiSelect({ options, selected, onChange, placeholder, searchPlaceholder, emptyText, disabled, className, }: MultiSelectProps):
|
|
932
|
+
declare function MultiSelect({ options, selected, onChange, placeholder, searchPlaceholder, emptyText, disabled, className, }: MultiSelectProps): React$1.JSX.Element;
|
|
929
933
|
|
|
930
934
|
type NativeSelectProps = Omit<React$1.ComponentProps<"select">, "size"> & {
|
|
931
935
|
size?: "sm" | "default";
|
|
932
936
|
};
|
|
933
|
-
declare function NativeSelect({ className, size, ...props }: NativeSelectProps):
|
|
934
|
-
declare function NativeSelectOption({ ...props }: React$1.ComponentProps<"option">):
|
|
935
|
-
declare function NativeSelectOptGroup({ className, ...props }: React$1.ComponentProps<"optgroup">):
|
|
937
|
+
declare function NativeSelect({ className, size, ...props }: NativeSelectProps): React$1.JSX.Element;
|
|
938
|
+
declare function NativeSelectOption({ ...props }: React$1.ComponentProps<"option">): React$1.JSX.Element;
|
|
939
|
+
declare function NativeSelectOptGroup({ className, ...props }: React$1.ComponentProps<"optgroup">): React$1.JSX.Element;
|
|
936
940
|
|
|
937
941
|
declare const NavigationMenu: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuProps & React$1.RefAttributes<HTMLElement>, "ref"> & {
|
|
938
|
-
viewport?: boolean
|
|
942
|
+
viewport?: boolean;
|
|
939
943
|
} & React$1.RefAttributes<HTMLElement>>;
|
|
940
944
|
declare const NavigationMenuList: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuListProps & React$1.RefAttributes<HTMLUListElement>, "ref"> & React$1.RefAttributes<HTMLUListElement>>;
|
|
941
945
|
declare const NavigationMenuItem: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuItemProps & React$1.RefAttributes<HTMLLIElement>, "ref"> & React$1.RefAttributes<HTMLLIElement>>;
|
|
@@ -947,7 +951,7 @@ declare const NavigationMenuViewport: React$1.ForwardRefExoticComponent<Omit<Nav
|
|
|
947
951
|
declare const NavigationMenuIndicator: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuIndicatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
948
952
|
|
|
949
953
|
declare const Pagination: {
|
|
950
|
-
({ className, ...props }: React$1.ComponentProps<"nav">):
|
|
954
|
+
({ className, ...props }: React$1.ComponentProps<"nav">): React$1.JSX.Element;
|
|
951
955
|
displayName: string;
|
|
952
956
|
};
|
|
953
957
|
declare const PaginationContent: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & React$1.RefAttributes<HTMLUListElement>>;
|
|
@@ -956,19 +960,19 @@ type PaginationLinkProps = {
|
|
|
956
960
|
isActive?: boolean;
|
|
957
961
|
} & Pick<ButtonProps, "size"> & React$1.ComponentProps<"a">;
|
|
958
962
|
declare const PaginationLink: {
|
|
959
|
-
({ className, isActive, size, ...props }: PaginationLinkProps):
|
|
963
|
+
({ className, isActive, size, ...props }: PaginationLinkProps): React$1.JSX.Element;
|
|
960
964
|
displayName: string;
|
|
961
965
|
};
|
|
962
966
|
declare const PaginationPrevious: {
|
|
963
|
-
({ className, ...props }: React$1.ComponentProps<typeof PaginationLink>):
|
|
967
|
+
({ className, ...props }: React$1.ComponentProps<typeof PaginationLink>): React$1.JSX.Element;
|
|
964
968
|
displayName: string;
|
|
965
969
|
};
|
|
966
970
|
declare const PaginationNext: {
|
|
967
|
-
({ className, ...props }: React$1.ComponentProps<typeof PaginationLink>):
|
|
971
|
+
({ className, ...props }: React$1.ComponentProps<typeof PaginationLink>): React$1.JSX.Element;
|
|
968
972
|
displayName: string;
|
|
969
973
|
};
|
|
970
974
|
declare const PaginationEllipsis: {
|
|
971
|
-
({ className, ...props }: React$1.ComponentProps<"span">):
|
|
975
|
+
({ className, ...props }: React$1.ComponentProps<"span">): React$1.JSX.Element;
|
|
972
976
|
displayName: string;
|
|
973
977
|
};
|
|
974
978
|
|
|
@@ -976,9 +980,9 @@ declare const Popover: React$1.FC<PopoverPrimitive.PopoverProps>;
|
|
|
976
980
|
declare const PopoverTrigger: React$1.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
977
981
|
declare const PopoverAnchor: React$1.ForwardRefExoticComponent<PopoverPrimitive.PopoverAnchorProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
978
982
|
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">):
|
|
980
|
-
declare function PopoverTitle({ className, ...props }: React$1.ComponentProps<"h2">):
|
|
981
|
-
declare function PopoverDescription({ className, ...props }: React$1.ComponentProps<"p">):
|
|
983
|
+
declare function PopoverHeader({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
984
|
+
declare function PopoverTitle({ className, ...props }: React$1.ComponentProps<"h2">): React$1.JSX.Element;
|
|
985
|
+
declare function PopoverDescription({ className, ...props }: React$1.ComponentProps<"p">): React$1.JSX.Element;
|
|
982
986
|
|
|
983
987
|
interface ProgressProps extends React$1.ComponentPropsWithoutRef<typeof ProgressPrimitive.Root>, VariantProps<typeof colorVariants> {
|
|
984
988
|
color?: Color;
|
|
@@ -1008,13 +1012,13 @@ interface SearchableComboboxProps {
|
|
|
1008
1012
|
disabled?: boolean;
|
|
1009
1013
|
className?: string;
|
|
1010
1014
|
}
|
|
1011
|
-
declare function SearchableCombobox({ options, value, onValueChange, placeholder, searchPlaceholder, emptyText, allowClear, clearLabel, disabled, className, }: SearchableComboboxProps):
|
|
1015
|
+
declare function SearchableCombobox({ options, value, onValueChange, placeholder, searchPlaceholder, emptyText, allowClear, clearLabel, disabled, className, }: SearchableComboboxProps): React$1.JSX.Element;
|
|
1012
1016
|
|
|
1013
1017
|
declare const Select: React$1.FC<SelectPrimitive.SelectProps>;
|
|
1014
1018
|
declare const SelectGroup: React$1.ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1015
1019
|
declare const SelectValue: React$1.ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
1016
1020
|
declare const SelectTrigger: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & {
|
|
1017
|
-
size?: "
|
|
1021
|
+
size?: "sm" | "default";
|
|
1018
1022
|
} & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1019
1023
|
declare const SelectScrollUpButton: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollUpButtonProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1020
1024
|
declare const SelectScrollDownButton: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollDownButtonProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
@@ -1027,7 +1031,7 @@ declare const Sheet: React$1.FC<DialogPrimitive.DialogProps>;
|
|
|
1027
1031
|
declare const SheetTrigger: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1028
1032
|
declare const SheetClose: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1029
1033
|
declare const SheetPortal: {
|
|
1030
|
-
({ ...props }: DialogPrimitive.DialogPortalProps):
|
|
1034
|
+
({ ...props }: DialogPrimitive.DialogPortalProps): React$1.JSX.Element;
|
|
1031
1035
|
displayName: string | undefined;
|
|
1032
1036
|
};
|
|
1033
1037
|
declare const SheetOverlay: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
@@ -1040,11 +1044,11 @@ interface SheetContentProps extends React$1.ComponentPropsWithoutRef<typeof Dial
|
|
|
1040
1044
|
}
|
|
1041
1045
|
declare const SheetContent: React$1.ForwardRefExoticComponent<SheetContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1042
1046
|
declare const SheetHeader: {
|
|
1043
|
-
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>):
|
|
1047
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): React$1.JSX.Element;
|
|
1044
1048
|
displayName: string;
|
|
1045
1049
|
};
|
|
1046
1050
|
declare const SheetFooter: {
|
|
1047
|
-
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>):
|
|
1051
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): React$1.JSX.Element;
|
|
1048
1052
|
displayName: string;
|
|
1049
1053
|
};
|
|
1050
1054
|
declare const SheetTitle: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
@@ -1062,6 +1066,16 @@ interface SheetCustomProps {
|
|
|
1062
1066
|
}
|
|
1063
1067
|
declare const SheetCustom: React__default.FC<SheetCustomProps>;
|
|
1064
1068
|
|
|
1069
|
+
declare const TooltipProvider: {
|
|
1070
|
+
({ delayDuration, ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Provider>): React$1.JSX.Element;
|
|
1071
|
+
displayName: string | undefined;
|
|
1072
|
+
};
|
|
1073
|
+
declare const Tooltip: React$1.FC<TooltipPrimitive.TooltipProps>;
|
|
1074
|
+
declare const TooltipTrigger: React$1.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1075
|
+
declare const TooltipArrow: React$1.ForwardRefExoticComponent<TooltipPrimitive.TooltipArrowProps & React$1.RefAttributes<SVGSVGElement>>;
|
|
1076
|
+
declare const TooltipPortal: React$1.FC<TooltipPrimitive.TooltipPortalProps>;
|
|
1077
|
+
declare const TooltipContent: React$1.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1078
|
+
|
|
1065
1079
|
type SidebarContextProps = {
|
|
1066
1080
|
state: "expanded" | "collapsed";
|
|
1067
1081
|
open: boolean;
|
|
@@ -1073,14 +1087,14 @@ type SidebarContextProps = {
|
|
|
1073
1087
|
};
|
|
1074
1088
|
declare function useSidebar(): SidebarContextProps;
|
|
1075
1089
|
declare const SidebarProvider: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLDivElement> & React$1.HTMLAttributes<HTMLDivElement> & {
|
|
1076
|
-
defaultOpen?: boolean
|
|
1077
|
-
open?: boolean
|
|
1078
|
-
onOpenChange?: (
|
|
1090
|
+
defaultOpen?: boolean;
|
|
1091
|
+
open?: boolean;
|
|
1092
|
+
onOpenChange?: (open: boolean) => void;
|
|
1079
1093
|
}, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1080
1094
|
declare const Sidebar: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLDivElement> & React$1.HTMLAttributes<HTMLDivElement> & {
|
|
1081
|
-
side?: "left" | "right"
|
|
1082
|
-
variant?: "
|
|
1083
|
-
collapsible?: "
|
|
1095
|
+
side?: "left" | "right";
|
|
1096
|
+
variant?: "sidebar" | "floating" | "inset";
|
|
1097
|
+
collapsible?: "offcanvas" | "icon" | "none";
|
|
1084
1098
|
}, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1085
1099
|
declare const SidebarTrigger: React$1.ForwardRefExoticComponent<Omit<ButtonProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1086
1100
|
declare const SidebarRail: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
@@ -1092,10 +1106,10 @@ declare const SidebarSeparator: React$1.ForwardRefExoticComponent<Omit<Omit<Sepa
|
|
|
1092
1106
|
declare const SidebarContent: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1093
1107
|
declare const SidebarGroup: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1094
1108
|
declare const SidebarGroupLabel: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLDivElement> & React$1.HTMLAttributes<HTMLDivElement> & {
|
|
1095
|
-
asChild?: boolean
|
|
1109
|
+
asChild?: boolean;
|
|
1096
1110
|
}, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1097
1111
|
declare const SidebarGroupAction: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLButtonElement> & React$1.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
1098
|
-
asChild?: boolean
|
|
1112
|
+
asChild?: boolean;
|
|
1099
1113
|
}, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1100
1114
|
declare const SidebarGroupContent: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1101
1115
|
declare const SidebarMenu: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & React$1.RefAttributes<HTMLUListElement>>;
|
|
@@ -1105,37 +1119,37 @@ declare const sidebarMenuButtonVariants: (props?: ({
|
|
|
1105
1119
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
1106
1120
|
} & ClassProp) | undefined) => string;
|
|
1107
1121
|
declare const SidebarMenuButton: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLButtonElement> & React$1.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
1108
|
-
asChild?: boolean
|
|
1109
|
-
isActive?: boolean
|
|
1110
|
-
tooltip?: string |
|
|
1122
|
+
asChild?: boolean;
|
|
1123
|
+
isActive?: boolean;
|
|
1124
|
+
tooltip?: string | React$1.ComponentProps<typeof TooltipContent>;
|
|
1111
1125
|
} & VariantProps<(props?: ({
|
|
1112
1126
|
variant?: "default" | "outline" | null | undefined;
|
|
1113
1127
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
1114
1128
|
} & ClassProp) | undefined) => string>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1115
1129
|
declare const SidebarMenuAction: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLButtonElement> & React$1.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
1116
|
-
asChild?: boolean
|
|
1117
|
-
showOnHover?: boolean
|
|
1130
|
+
asChild?: boolean;
|
|
1131
|
+
showOnHover?: boolean;
|
|
1118
1132
|
}, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1119
1133
|
declare const SidebarMenuBadge: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1120
1134
|
declare const SidebarMenuSkeleton: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLDivElement> & React$1.HTMLAttributes<HTMLDivElement> & {
|
|
1121
|
-
showIcon?: boolean
|
|
1135
|
+
showIcon?: boolean;
|
|
1122
1136
|
}, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1123
1137
|
declare const SidebarMenuSub: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & React$1.RefAttributes<HTMLUListElement>>;
|
|
1124
1138
|
declare const SidebarMenuSubItem: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React$1.RefAttributes<HTMLLIElement>>;
|
|
1125
1139
|
declare const SidebarMenuSubButton: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLAnchorElement> & React$1.AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
1126
|
-
asChild?: boolean
|
|
1127
|
-
size?: "sm" | "md"
|
|
1128
|
-
isActive?: boolean
|
|
1140
|
+
asChild?: boolean;
|
|
1141
|
+
size?: "sm" | "md";
|
|
1142
|
+
isActive?: boolean;
|
|
1129
1143
|
}, "ref"> & React$1.RefAttributes<HTMLAnchorElement>>;
|
|
1130
1144
|
|
|
1131
|
-
declare function Skeleton({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>):
|
|
1145
|
+
declare function Skeleton({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): React$1.JSX.Element;
|
|
1132
1146
|
declare namespace Skeleton {
|
|
1133
1147
|
var displayName: string;
|
|
1134
1148
|
}
|
|
1135
1149
|
|
|
1136
1150
|
declare const Slider: React$1.ForwardRefExoticComponent<Omit<SliderPrimitive.SliderProps & React$1.RefAttributes<HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
|
|
1137
1151
|
|
|
1138
|
-
declare function Spinner({ className, ...props }: Omit<React$1.ComponentProps<typeof Icon>, "icon">):
|
|
1152
|
+
declare function Spinner({ className, ...props }: Omit<React$1.ComponentProps<typeof Icon>, "icon">): React$1.JSX.Element;
|
|
1139
1153
|
|
|
1140
1154
|
interface DualSliderProps extends React$1.ComponentPropsWithoutRef<typeof SliderPrimitive.Root>, VariantProps<typeof colorVariants> {
|
|
1141
1155
|
color?: Color;
|
|
@@ -1143,7 +1157,7 @@ interface DualSliderProps extends React$1.ComponentPropsWithoutRef<typeof Slider
|
|
|
1143
1157
|
declare const DualSlider: React$1.ForwardRefExoticComponent<DualSliderProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
1144
1158
|
|
|
1145
1159
|
declare const Switch: React$1.ForwardRefExoticComponent<Omit<SwitchPrimitives.SwitchProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & {
|
|
1146
|
-
size?: "
|
|
1160
|
+
size?: "sm" | "default";
|
|
1147
1161
|
} & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1148
1162
|
|
|
1149
1163
|
declare const Table: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableElement> & React$1.RefAttributes<HTMLTableElement>>;
|
|
@@ -1193,12 +1207,12 @@ type ToastProps = React$1.ComponentPropsWithoutRef<typeof Toast$1>;
|
|
|
1193
1207
|
type ToastActionElement = React$1.ReactElement<typeof ToastAction>;
|
|
1194
1208
|
|
|
1195
1209
|
declare const Toaster$1: {
|
|
1196
|
-
():
|
|
1210
|
+
(): React$1.JSX.Element;
|
|
1197
1211
|
displayName: string;
|
|
1198
1212
|
};
|
|
1199
1213
|
|
|
1200
1214
|
type ToasterProps = React$1.ComponentProps<typeof Toaster$2>;
|
|
1201
|
-
declare const Toaster: ({ ...props }: ToasterProps) =>
|
|
1215
|
+
declare const Toaster: ({ ...props }: ToasterProps) => React$1.JSX.Element;
|
|
1202
1216
|
|
|
1203
1217
|
declare const toggleVariants: (props?: ({
|
|
1204
1218
|
variant?: "default" | "outline" | null | undefined;
|
|
@@ -1218,16 +1232,6 @@ declare const ToggleGroupItem: React$1.ForwardRefExoticComponent<Omit<ToggleGrou
|
|
|
1218
1232
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
1219
1233
|
} & ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1220
1234
|
|
|
1221
|
-
declare const TooltipProvider: {
|
|
1222
|
-
({ delayDuration, ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Provider>): react_jsx_runtime.JSX.Element;
|
|
1223
|
-
displayName: string | undefined;
|
|
1224
|
-
};
|
|
1225
|
-
declare const Tooltip: React$1.FC<TooltipPrimitive.TooltipProps>;
|
|
1226
|
-
declare const TooltipTrigger: React$1.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1227
|
-
declare const TooltipArrow: React$1.ForwardRefExoticComponent<TooltipPrimitive.TooltipArrowProps & React$1.RefAttributes<SVGSVGElement>>;
|
|
1228
|
-
declare const TooltipPortal: React$1.FC<TooltipPrimitive.TooltipPortalProps>;
|
|
1229
|
-
declare const TooltipContent: React$1.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1230
|
-
|
|
1231
1235
|
type ToasterToast = ToastProps & {
|
|
1232
1236
|
id: string;
|
|
1233
1237
|
title?: React$1.ReactNode;
|
|
@@ -1288,7 +1292,7 @@ interface ModalProps {
|
|
|
1288
1292
|
confirmText?: string;
|
|
1289
1293
|
cancelText?: string;
|
|
1290
1294
|
}
|
|
1291
|
-
declare function Modal({ open, onOpenChange, title, description, message, children, footer, size, variant, showCloseButton, className, action, cancel, confirmText, cancelText, }: ModalProps):
|
|
1295
|
+
declare function Modal({ open, onOpenChange, title, description, message, children, footer, size, variant, showCloseButton, className, action, cancel, confirmText, cancelText, }: ModalProps): React$1.JSX.Element;
|
|
1292
1296
|
interface ConfirmModalProps {
|
|
1293
1297
|
open: boolean;
|
|
1294
1298
|
onOpenChange: (open: boolean) => void;
|
|
@@ -1303,7 +1307,7 @@ interface ConfirmModalProps {
|
|
|
1303
1307
|
isLoading?: boolean;
|
|
1304
1308
|
icon?: string;
|
|
1305
1309
|
}
|
|
1306
|
-
declare function ConfirmModal({ open, onOpenChange, title, description, onConfirm, onCancel, confirmText, cancelText, variant, loading, isLoading, icon, }: ConfirmModalProps):
|
|
1310
|
+
declare function ConfirmModal({ open, onOpenChange, title, description, onConfirm, onCancel, confirmText, cancelText, variant, loading, isLoading, icon, }: ConfirmModalProps): React$1.JSX.Element;
|
|
1307
1311
|
declare const ConfirmDialog: typeof ConfirmModal;
|
|
1308
1312
|
type ConfirmDialogProps = ConfirmModalProps;
|
|
1309
1313
|
|
|
@@ -1351,7 +1355,7 @@ type LoaderProps = {
|
|
|
1351
1355
|
size?: number;
|
|
1352
1356
|
};
|
|
1353
1357
|
declare const Loader: {
|
|
1354
|
-
({ img, className, size }: LoaderProps):
|
|
1358
|
+
({ img, className, size }: LoaderProps): React$1.JSX.Element;
|
|
1355
1359
|
displayName: string;
|
|
1356
1360
|
};
|
|
1357
1361
|
|
|
@@ -1457,7 +1461,7 @@ interface DateTimePickerProps {
|
|
|
1457
1461
|
className?: string;
|
|
1458
1462
|
}
|
|
1459
1463
|
declare const DateTimePicker: {
|
|
1460
|
-
({ value, onChange, className, }: DateTimePickerProps):
|
|
1464
|
+
({ value, onChange, className, }: DateTimePickerProps): React$1.JSX.Element;
|
|
1461
1465
|
displayName: string;
|
|
1462
1466
|
};
|
|
1463
1467
|
|
|
@@ -1474,7 +1478,7 @@ interface DatePickerProps {
|
|
|
1474
1478
|
className?: string;
|
|
1475
1479
|
}
|
|
1476
1480
|
declare const DatePicker: {
|
|
1477
|
-
({ value, onChange, placeholder, className, }: DatePickerProps):
|
|
1481
|
+
({ value, onChange, placeholder, className, }: DatePickerProps): React$1.JSX.Element;
|
|
1478
1482
|
displayName: string;
|
|
1479
1483
|
};
|
|
1480
1484
|
|
|
@@ -1644,7 +1648,7 @@ declare const useSkipper: () => readonly [boolean, () => void];
|
|
|
1644
1648
|
declare const Filter: ({ column, table, }: {
|
|
1645
1649
|
column: Column<any, any>;
|
|
1646
1650
|
table: Table$1<any>;
|
|
1647
|
-
}) =>
|
|
1651
|
+
}) => React$1.JSX.Element;
|
|
1648
1652
|
declare function createSelectionColumn<TData>(): ColumnDef<TData, unknown>;
|
|
1649
1653
|
declare function DataTableColumnHeader({ title, column, className, }: {
|
|
1650
1654
|
title: string;
|
|
@@ -1654,12 +1658,12 @@ declare function DataTableColumnHeader({ title, column, className, }: {
|
|
|
1654
1658
|
toggleSorting: (desc?: boolean) => void;
|
|
1655
1659
|
};
|
|
1656
1660
|
className?: string;
|
|
1657
|
-
}):
|
|
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>):
|
|
1661
|
+
}): React$1.JSX.Element;
|
|
1662
|
+
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$1.JSX.Element;
|
|
1659
1663
|
declare const ModernDataTable: typeof DataTable;
|
|
1660
1664
|
|
|
1661
|
-
declare const ResizablePanelGroup: ({ className, ...props }: React.ComponentProps<typeof ResizablePrimitive.PanelGroup>) =>
|
|
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 |
|
|
1665
|
+
declare const ResizablePanelGroup: ({ className, ...props }: React.ComponentProps<typeof ResizablePrimitive.PanelGroup>) => React$1.JSX.Element;
|
|
1666
|
+
declare const ResizablePanel: React$1.ForwardRefExoticComponent<Omit<React$1.HTMLAttributes<HTMLDivElement | HTMLElement | HTMLObjectElement | HTMLAnchorElement | HTMLButtonElement | HTMLFormElement | HTMLHeadingElement | HTMLImageElement | HTMLInputElement | HTMLLabelElement | HTMLLIElement | HTMLOListElement | HTMLParagraphElement | HTMLSelectElement | 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 | HTMLSourceElement | HTMLStyleElement | HTMLTableElement | HTMLTemplateElement | HTMLTableSectionElement | HTMLTableCellElement | HTMLTextAreaElement | HTMLTimeElement | HTMLTitleElement | HTMLTableRowElement | HTMLTrackElement | HTMLVideoElement | HTMLTableCaptionElement | HTMLMenuElement | HTMLPictureElement>, "id" | "onResize"> & {
|
|
1663
1667
|
className?: string | undefined;
|
|
1664
1668
|
collapsedSize?: number | undefined;
|
|
1665
1669
|
collapsible?: boolean | undefined;
|
|
@@ -1676,22 +1680,9 @@ declare const ResizablePanel: React$1.ForwardRefExoticComponent<Omit<React$1.HTM
|
|
|
1676
1680
|
} & {
|
|
1677
1681
|
children?: React$1.ReactNode;
|
|
1678
1682
|
} & React$1.RefAttributes<ResizablePrimitive.ImperativePanelHandle>>;
|
|
1679
|
-
declare const ResizableHandle: ({ withHandle, className, ...props }:
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
hitAreaMargins?: ResizablePrimitive.PointerHitAreaMargins | undefined;
|
|
1683
|
-
id?: string | null | undefined;
|
|
1684
|
-
onBlur?: (() => void) | undefined;
|
|
1685
|
-
onDragging?: ResizablePrimitive.PanelResizeHandleOnDragging | undefined;
|
|
1686
|
-
onFocus?: (() => void) | undefined;
|
|
1687
|
-
style?: React$1.CSSProperties | undefined;
|
|
1688
|
-
tabIndex?: number | undefined;
|
|
1689
|
-
tagName?: keyof HTMLElementTagNameMap | undefined;
|
|
1690
|
-
} & {
|
|
1691
|
-
children?: React$1.ReactNode;
|
|
1692
|
-
} & {
|
|
1693
|
-
withHandle?: boolean | undefined;
|
|
1694
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
1683
|
+
declare const ResizableHandle: ({ withHandle, className, ...props }: React.ComponentProps<typeof ResizablePrimitive.PanelResizeHandle> & {
|
|
1684
|
+
withHandle?: boolean;
|
|
1685
|
+
}) => React$1.JSX.Element;
|
|
1695
1686
|
|
|
1696
1687
|
interface StepContextType {
|
|
1697
1688
|
currentStepIndex: number;
|