@min98/ui 1.3.56 → 1.3.58
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/README.md +30 -19
- package/lib/cli.mjs +503 -0
- package/lib/index.cjs +7 -4
- package/lib/index.d.cts +437 -273
- package/lib/index.d.ts +437 -273
- package/lib/index.js +7 -4
- package/lib/min98-ui-catalog.json +5723 -0
- package/lib/min98-ui-mcp.mjs +481 -0
- package/lib/styles.css +39 -0
- package/lib/tokens.css +61 -0
- package/package.json +172 -167
package/lib/index.d.ts
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>>;
|
|
@@ -392,15 +391,20 @@ declare const CollapsibleContent: React$1.ForwardRefExoticComponent<CollapsibleP
|
|
|
392
391
|
|
|
393
392
|
declare const Command: React$1.ForwardRefExoticComponent<Omit<{
|
|
394
393
|
children?: React$1.ReactNode;
|
|
395
|
-
} & React$1.HTMLAttributes<HTMLDivElement
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
394
|
+
} & Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
|
|
395
|
+
ref?: React$1.Ref<HTMLDivElement>;
|
|
396
|
+
} & {
|
|
397
|
+
asChild?: boolean;
|
|
398
|
+
}, "key" | keyof React$1.HTMLAttributes<HTMLDivElement> | "asChild"> & {
|
|
399
|
+
label?: string;
|
|
400
|
+
shouldFilter?: boolean;
|
|
401
|
+
filter?: (value: string, search: string, keywords?: string[]) => number;
|
|
402
|
+
defaultValue?: string;
|
|
403
|
+
value?: string;
|
|
404
|
+
onValueChange?: (value: string) => void;
|
|
405
|
+
loop?: boolean;
|
|
406
|
+
disablePointerSelection?: boolean;
|
|
407
|
+
vimBindings?: boolean;
|
|
404
408
|
} & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
405
409
|
interface CommandDialogProps extends DialogProps$2 {
|
|
406
410
|
title?: string;
|
|
@@ -409,39 +413,66 @@ interface CommandDialogProps extends DialogProps$2 {
|
|
|
409
413
|
showCloseButton?: boolean;
|
|
410
414
|
}
|
|
411
415
|
declare const CommandDialog: {
|
|
412
|
-
({ title, description, children, className, showCloseButton, ...props }: CommandDialogProps):
|
|
416
|
+
({ title, description, children, className, showCloseButton, ...props }: CommandDialogProps): React$1.JSX.Element;
|
|
413
417
|
displayName: string;
|
|
414
418
|
};
|
|
415
|
-
declare const CommandInput: React$1.ForwardRefExoticComponent<Omit<Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "
|
|
416
|
-
|
|
417
|
-
|
|
419
|
+
declare const CommandInput: React$1.ForwardRefExoticComponent<Omit<Omit<Pick<Pick<React$1.DetailedHTMLProps<React$1.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "key" | keyof React$1.InputHTMLAttributes<HTMLInputElement>> & {
|
|
420
|
+
ref?: React$1.Ref<HTMLInputElement>;
|
|
421
|
+
} & {
|
|
422
|
+
asChild?: boolean;
|
|
423
|
+
}, "key" | "asChild" | keyof React$1.InputHTMLAttributes<HTMLInputElement>>, "onChange" | "type" | "value"> & {
|
|
424
|
+
value?: string;
|
|
425
|
+
onValueChange?: (search: string) => void;
|
|
418
426
|
} & React$1.RefAttributes<HTMLInputElement>, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
|
|
419
427
|
declare const CommandList: React$1.ForwardRefExoticComponent<Omit<{
|
|
420
428
|
children?: React$1.ReactNode;
|
|
421
|
-
} & React$1.
|
|
429
|
+
} & Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
|
|
430
|
+
ref?: React$1.Ref<HTMLDivElement>;
|
|
431
|
+
} & {
|
|
432
|
+
asChild?: boolean;
|
|
433
|
+
}, "key" | keyof React$1.HTMLAttributes<HTMLDivElement> | "asChild"> & {
|
|
434
|
+
label?: string;
|
|
435
|
+
} & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
422
436
|
declare const CommandEmpty: React$1.ForwardRefExoticComponent<Omit<{
|
|
423
437
|
children?: React$1.ReactNode;
|
|
424
|
-
} & React$1.
|
|
438
|
+
} & Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
|
|
439
|
+
ref?: React$1.Ref<HTMLDivElement>;
|
|
440
|
+
} & {
|
|
441
|
+
asChild?: boolean;
|
|
442
|
+
}, "key" | keyof React$1.HTMLAttributes<HTMLDivElement> | "asChild"> & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
425
443
|
declare const CommandGroup: React$1.ForwardRefExoticComponent<Omit<{
|
|
426
444
|
children?: React$1.ReactNode;
|
|
427
|
-
} & Omit<React$1.HTMLAttributes<HTMLDivElement>, "
|
|
445
|
+
} & Omit<Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
|
|
446
|
+
ref?: React$1.Ref<HTMLDivElement>;
|
|
447
|
+
} & {
|
|
448
|
+
asChild?: boolean;
|
|
449
|
+
}, "key" | keyof React$1.HTMLAttributes<HTMLDivElement> | "asChild">, "value" | "heading"> & {
|
|
428
450
|
heading?: React$1.ReactNode;
|
|
429
|
-
value?: string
|
|
430
|
-
forceMount?: boolean
|
|
451
|
+
value?: string;
|
|
452
|
+
forceMount?: boolean;
|
|
431
453
|
} & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
432
|
-
declare const CommandSeparator: React$1.ForwardRefExoticComponent<Omit<React$1.HTMLAttributes<HTMLDivElement
|
|
433
|
-
|
|
454
|
+
declare const CommandSeparator: React$1.ForwardRefExoticComponent<Omit<Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
|
|
455
|
+
ref?: React$1.Ref<HTMLDivElement>;
|
|
456
|
+
} & {
|
|
457
|
+
asChild?: boolean;
|
|
458
|
+
}, "key" | keyof React$1.HTMLAttributes<HTMLDivElement> | "asChild"> & {
|
|
459
|
+
alwaysRender?: boolean;
|
|
434
460
|
} & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
435
461
|
declare const CommandItem: React$1.ForwardRefExoticComponent<Omit<{
|
|
436
462
|
children?: React$1.ReactNode;
|
|
437
|
-
} & Omit<React$1.HTMLAttributes<HTMLDivElement>, "
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
463
|
+
} & Omit<Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
|
|
464
|
+
ref?: React$1.Ref<HTMLDivElement>;
|
|
465
|
+
} & {
|
|
466
|
+
asChild?: boolean;
|
|
467
|
+
}, "key" | keyof React$1.HTMLAttributes<HTMLDivElement> | "asChild">, "onSelect" | "value" | "disabled"> & {
|
|
468
|
+
disabled?: boolean;
|
|
469
|
+
onSelect?: (value: string) => void;
|
|
470
|
+
value?: string;
|
|
471
|
+
keywords?: string[];
|
|
472
|
+
forceMount?: boolean;
|
|
442
473
|
} & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
443
474
|
declare const CommandShortcut: {
|
|
444
|
-
({ className, ...props }: React$1.HTMLAttributes<HTMLSpanElement>):
|
|
475
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLSpanElement>): React$1.JSX.Element;
|
|
445
476
|
displayName: string;
|
|
446
477
|
};
|
|
447
478
|
|
|
@@ -452,26 +483,26 @@ declare const ContextMenuPortal: React$1.FC<ContextMenuPrimitive.ContextMenuPort
|
|
|
452
483
|
declare const ContextMenuSub: React$1.FC<ContextMenuPrimitive.ContextMenuSubProps>;
|
|
453
484
|
declare const ContextMenuRadioGroup: React$1.ForwardRefExoticComponent<ContextMenuPrimitive.ContextMenuRadioGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
454
485
|
declare const ContextMenuSubTrigger: React$1.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuSubTriggerProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
455
|
-
inset?: boolean
|
|
486
|
+
inset?: boolean;
|
|
456
487
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
457
488
|
declare const ContextMenuSubContent: React$1.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuSubContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
458
489
|
declare const ContextMenuContent: React$1.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
459
490
|
declare const ContextMenuItem: React$1.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
460
|
-
inset?: boolean
|
|
461
|
-
variant?: "default" | "destructive"
|
|
491
|
+
inset?: boolean;
|
|
492
|
+
variant?: "default" | "destructive";
|
|
462
493
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
463
494
|
declare const ContextMenuCheckboxItem: React$1.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuCheckboxItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
464
|
-
inset?: boolean
|
|
495
|
+
inset?: boolean;
|
|
465
496
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
466
497
|
declare const ContextMenuRadioItem: React$1.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuRadioItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
467
|
-
inset?: boolean
|
|
498
|
+
inset?: boolean;
|
|
468
499
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
469
500
|
declare const ContextMenuLabel: React$1.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuLabelProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
470
|
-
inset?: boolean
|
|
501
|
+
inset?: boolean;
|
|
471
502
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
472
503
|
declare const ContextMenuSeparator: React$1.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
473
504
|
declare const ContextMenuShortcut: {
|
|
474
|
-
({ className, ...props }: React$1.HTMLAttributes<HTMLSpanElement>):
|
|
505
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLSpanElement>): React$1.JSX.Element;
|
|
475
506
|
displayName: string;
|
|
476
507
|
};
|
|
477
508
|
|
|
@@ -496,7 +527,7 @@ type ContextMenuCustomProps = {
|
|
|
496
527
|
children?: React__default.ReactNode;
|
|
497
528
|
list?: ContextMenuTypeProps[];
|
|
498
529
|
};
|
|
499
|
-
declare const RenderContextMenuItem: (list: ContextMenuTypeProps[]) =>
|
|
530
|
+
declare const RenderContextMenuItem: (list: ContextMenuTypeProps[]) => React__default.JSX.Element;
|
|
500
531
|
declare const ContextMenuCustom: React__default.ForwardRefExoticComponent<ContextMenuCustomProps & React__default.RefAttributes<HTMLButtonElement>>;
|
|
501
532
|
|
|
502
533
|
interface CircularSliderProps {
|
|
@@ -523,7 +554,7 @@ declare function DirectionProvider({ dir, direction, children, }: {
|
|
|
523
554
|
dir?: Direction;
|
|
524
555
|
direction?: Direction;
|
|
525
556
|
children: React$1.ReactNode;
|
|
526
|
-
}):
|
|
557
|
+
}): React$1.JSX.Element;
|
|
527
558
|
declare function useDirection(localDir?: Direction): Direction;
|
|
528
559
|
|
|
529
560
|
interface WithFadeFromProps {
|
|
@@ -557,16 +588,16 @@ type DialogProps$1 = {
|
|
|
557
588
|
preventScrollRestoration?: boolean;
|
|
558
589
|
disablePreventScroll?: boolean;
|
|
559
590
|
} & (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):
|
|
591
|
+
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;
|
|
592
|
+
declare function NestedRoot({ onDrag, onOpenChange, ...rest }: DialogProps$1): React__default.JSX.Element;
|
|
562
593
|
declare const Drawer$1: {
|
|
563
594
|
Root: typeof Root;
|
|
564
595
|
NestedRoot: typeof NestedRoot;
|
|
565
596
|
Content: React__default.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & React__default.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
566
|
-
onAnimationEnd?: (
|
|
597
|
+
onAnimationEnd?: (open: boolean) => void;
|
|
567
598
|
} & React__default.RefAttributes<HTMLDivElement>>;
|
|
568
599
|
Handle: React__default.ForwardRefExoticComponent<Omit<React__default.DetailedHTMLProps<React__default.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
569
|
-
preventCycle?: boolean
|
|
600
|
+
preventCycle?: boolean;
|
|
570
601
|
} & React__default.RefAttributes<HTMLDivElement>>;
|
|
571
602
|
Overlay: React__default.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React__default.RefAttributes<HTMLDivElement>, "ref"> & React__default.RefAttributes<HTMLDivElement>>;
|
|
572
603
|
Trigger: React__default.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React__default.RefAttributes<HTMLButtonElement>>;
|
|
@@ -577,7 +608,7 @@ declare const Drawer$1: {
|
|
|
577
608
|
};
|
|
578
609
|
|
|
579
610
|
declare const Drawer: {
|
|
580
|
-
({ shouldScaleBackground, ...props }: React$1.ComponentProps<typeof Drawer$1.Root>):
|
|
611
|
+
({ shouldScaleBackground, ...props }: React$1.ComponentProps<typeof Drawer$1.Root>): React$1.JSX.Element;
|
|
581
612
|
displayName: string;
|
|
582
613
|
};
|
|
583
614
|
declare const DrawerTrigger: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
@@ -585,14 +616,14 @@ declare const DrawerPortal: React$1.FC<DialogPrimitive.DialogPortalProps>;
|
|
|
585
616
|
declare const DrawerClose: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
586
617
|
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
618
|
declare const DrawerContent: React$1.ForwardRefExoticComponent<Omit<Omit<DialogPrimitive.DialogContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
588
|
-
onAnimationEnd?: (
|
|
619
|
+
onAnimationEnd?: (open: boolean) => void;
|
|
589
620
|
} & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
590
621
|
declare const DrawerHeader: {
|
|
591
|
-
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>):
|
|
622
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): React$1.JSX.Element;
|
|
592
623
|
displayName: string;
|
|
593
624
|
};
|
|
594
625
|
declare const DrawerFooter: {
|
|
595
|
-
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>):
|
|
626
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): React$1.JSX.Element;
|
|
596
627
|
displayName: string;
|
|
597
628
|
};
|
|
598
629
|
declare const DrawerTitle: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
@@ -608,11 +639,11 @@ declare const Dialog: React$1.FC<DialogPrimitive.DialogProps>;
|
|
|
608
639
|
declare const DialogTrigger: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
609
640
|
declare const DialogClose: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
610
641
|
declare const DialogPortal: {
|
|
611
|
-
({ ...props }: DialogPrimitive.DialogPortalProps):
|
|
642
|
+
({ ...props }: DialogPrimitive.DialogPortalProps): React$1.JSX.Element;
|
|
612
643
|
displayName: string | undefined;
|
|
613
644
|
};
|
|
614
645
|
declare const DialogOverlay: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
615
|
-
variant?: "default" | "glass" | "destructive" | null
|
|
646
|
+
variant?: "default" | "glass" | "destructive" | null;
|
|
616
647
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
617
648
|
declare const dialogContentVariants: (props?: ({
|
|
618
649
|
size?: "default" | "xs" | "sm" | "lg" | "md" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "full" | null | undefined;
|
|
@@ -626,13 +657,13 @@ interface DialogProps extends DialogCustom, React$1.ComponentPropsWithoutRef<typ
|
|
|
626
657
|
}
|
|
627
658
|
declare const DialogContent: React$1.ForwardRefExoticComponent<DialogProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
628
659
|
declare const DialogHeader: {
|
|
629
|
-
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>):
|
|
660
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): React$1.JSX.Element;
|
|
630
661
|
displayName: string;
|
|
631
662
|
};
|
|
632
663
|
declare const DialogFooter: {
|
|
633
664
|
({ className, showCloseButton, children, ...props }: React$1.HTMLAttributes<HTMLDivElement> & {
|
|
634
|
-
showCloseButton?: boolean
|
|
635
|
-
}):
|
|
665
|
+
showCloseButton?: boolean;
|
|
666
|
+
}): React$1.JSX.Element;
|
|
636
667
|
displayName: string;
|
|
637
668
|
};
|
|
638
669
|
declare const DialogTitle: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
@@ -645,70 +676,71 @@ declare const DropdownMenuPortal: React$1.FC<DropdownMenuPrimitive.DropdownMenuP
|
|
|
645
676
|
declare const DropdownMenuSub: React$1.FC<DropdownMenuPrimitive.DropdownMenuSubProps>;
|
|
646
677
|
declare const DropdownMenuRadioGroup: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuRadioGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
647
678
|
declare const DropdownMenuSubTrigger: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubTriggerProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
648
|
-
inset?: boolean
|
|
679
|
+
inset?: boolean;
|
|
649
680
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
650
681
|
declare const DropdownMenuSubContent: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
651
682
|
declare const DropdownMenuContent: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
652
683
|
declare const DropdownMenuItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
653
|
-
inset?: boolean
|
|
654
|
-
variant?: "default" | "destructive"
|
|
684
|
+
inset?: boolean;
|
|
685
|
+
variant?: "default" | "destructive";
|
|
655
686
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
656
687
|
declare const DropdownMenuCheckboxItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuCheckboxItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
657
|
-
inset?: boolean
|
|
688
|
+
inset?: boolean;
|
|
658
689
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
659
690
|
declare const DropdownMenuRadioItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuRadioItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
660
|
-
inset?: boolean
|
|
691
|
+
inset?: boolean;
|
|
661
692
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
662
693
|
declare const DropdownMenuLabel: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuLabelProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
663
|
-
inset?: boolean
|
|
694
|
+
inset?: boolean;
|
|
664
695
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
665
696
|
declare const DropdownMenuSeparator: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
666
697
|
declare const DropdownMenuShortcut: {
|
|
667
|
-
({ className, ...props }: React$1.HTMLAttributes<HTMLSpanElement>):
|
|
698
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLSpanElement>): React$1.JSX.Element;
|
|
668
699
|
displayName: string;
|
|
669
700
|
};
|
|
670
701
|
|
|
671
|
-
declare function Empty({ className, ...props }: React$1.ComponentProps<"div">):
|
|
672
|
-
declare function EmptyHeader({ className, ...props }: React$1.ComponentProps<"div">):
|
|
702
|
+
declare function Empty({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
703
|
+
declare function EmptyHeader({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
673
704
|
declare const emptyMediaVariants: (props?: ({
|
|
674
705
|
variant?: "default" | "icon" | null | undefined;
|
|
675
706
|
} & 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">):
|
|
707
|
+
declare function EmptyMedia({ className, variant, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof emptyMediaVariants>): React$1.JSX.Element;
|
|
708
|
+
declare function EmptyTitle({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
709
|
+
declare function EmptyDescription({ className, ...props }: React$1.ComponentProps<"p">): React$1.JSX.Element;
|
|
710
|
+
declare function EmptyContent({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
680
711
|
|
|
681
712
|
declare const labelVariants: (props?: ClassProp | undefined) => string;
|
|
682
713
|
declare const Label: React$1.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React$1.RefAttributes<HTMLLabelElement>, "ref"> & VariantProps<(props?: ClassProp | undefined) => string> & React$1.RefAttributes<HTMLLabelElement>>;
|
|
683
714
|
|
|
684
|
-
declare function FieldSet({ className, ...props }: React$1.ComponentProps<"fieldset">):
|
|
715
|
+
declare function FieldSet({ className, ...props }: React$1.ComponentProps<"fieldset">): React$1.JSX.Element;
|
|
685
716
|
declare function FieldLegend({ className, variant, ...props }: React$1.ComponentProps<"legend"> & {
|
|
686
717
|
variant?: "legend" | "label";
|
|
687
|
-
}):
|
|
688
|
-
declare function FieldGroup({ className, ...props }: React$1.ComponentProps<"div">):
|
|
718
|
+
}): React$1.JSX.Element;
|
|
719
|
+
declare function FieldGroup({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
689
720
|
declare const fieldVariants: (props?: ({
|
|
690
|
-
orientation?: "
|
|
721
|
+
orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
|
|
691
722
|
} & 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">):
|
|
723
|
+
declare function Field({ className, orientation, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof fieldVariants>): React$1.JSX.Element;
|
|
724
|
+
declare function FieldContent({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
725
|
+
declare function FieldLabel({ className, ...props }: React$1.ComponentProps<typeof Label>): React$1.JSX.Element;
|
|
726
|
+
declare function FieldTitle({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
727
|
+
declare function FieldDescription({ className, ...props }: React$1.ComponentProps<"p">): React$1.JSX.Element;
|
|
697
728
|
declare function FieldSeparator({ children, className, ...props }: React$1.ComponentProps<"div"> & {
|
|
698
729
|
children?: React$1.ReactNode;
|
|
699
|
-
}):
|
|
730
|
+
}): React$1.JSX.Element;
|
|
700
731
|
declare function FieldError({ className, children, errors, ...props }: React$1.ComponentProps<"div"> & {
|
|
701
732
|
errors?: Array<{
|
|
702
733
|
message?: string;
|
|
703
734
|
} | undefined>;
|
|
704
|
-
}):
|
|
735
|
+
}): React$1.JSX.Element | null;
|
|
705
736
|
|
|
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>) =>
|
|
737
|
+
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;
|
|
738
|
+
declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ ...props }: ControllerProps<TFieldValues, TName>) => React$1.JSX.Element;
|
|
708
739
|
declare const useFormField: () => {
|
|
709
740
|
invalid: boolean;
|
|
710
741
|
isDirty: boolean;
|
|
711
742
|
isTouched: boolean;
|
|
743
|
+
isValidating: boolean;
|
|
712
744
|
error?: react_hook_form.FieldError | undefined;
|
|
713
745
|
id: string;
|
|
714
746
|
name: string;
|
|
@@ -719,7 +751,7 @@ declare const useFormField: () => {
|
|
|
719
751
|
declare const FormItem: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
720
752
|
declare const FormLabel: React$1.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React$1.RefAttributes<HTMLLabelElement>, "ref"> & React$1.RefAttributes<HTMLLabelElement>>;
|
|
721
753
|
declare const FormControl: React$1.ForwardRefExoticComponent<Omit<React$1.HTMLAttributes<HTMLElement> & {
|
|
722
|
-
children?: React$1.ReactNode;
|
|
754
|
+
children?: React$1.ReactNode | undefined;
|
|
723
755
|
} & React$1.RefAttributes<HTMLElement>, "ref"> & React$1.RefAttributes<HTMLElement>>;
|
|
724
756
|
declare const FormDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
725
757
|
declare const FormMessage: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
@@ -732,7 +764,7 @@ interface AppIconProps extends Omit<IconProps, "icon"> {
|
|
|
732
764
|
icon: string;
|
|
733
765
|
size?: number | string;
|
|
734
766
|
}
|
|
735
|
-
declare function AppIcon({ icon, size, className, ...props }: AppIconProps):
|
|
767
|
+
declare function AppIcon({ icon, size, className, ...props }: AppIconProps): React$1.JSX.Element;
|
|
736
768
|
declare namespace AppIcon {
|
|
737
769
|
var displayName: string;
|
|
738
770
|
}
|
|
@@ -741,42 +773,46 @@ interface InputProps extends React$1.InputHTMLAttributes<HTMLInputElement> {
|
|
|
741
773
|
}
|
|
742
774
|
declare const Input: React$1.ForwardRefExoticComponent<InputProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
743
775
|
|
|
744
|
-
declare function InputGroup({ className, ...props }: React$1.ComponentProps<"div">):
|
|
776
|
+
declare function InputGroup({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
745
777
|
declare const inputGroupAddonVariants: (props?: ({
|
|
746
|
-
align?: "
|
|
778
|
+
align?: "inline-end" | "inline-start" | "block-end" | "block-start" | null | undefined;
|
|
747
779
|
} & ClassProp) | undefined) => string;
|
|
748
|
-
declare function InputGroupAddon({ className, align, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof inputGroupAddonVariants>):
|
|
780
|
+
declare function InputGroupAddon({ className, align, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof inputGroupAddonVariants>): React$1.JSX.Element;
|
|
749
781
|
declare const inputGroupButtonVariants: (props?: ({
|
|
750
782
|
size?: "xs" | "sm" | "icon-xs" | "icon-sm" | null | undefined;
|
|
751
783
|
} & 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?: (
|
|
784
|
+
declare function InputGroupButton({ className, type, variant, size, ...props }: Omit<React$1.ComponentProps<typeof Button>, "size"> & VariantProps<typeof inputGroupButtonVariants>): React$1.JSX.Element;
|
|
785
|
+
declare function InputGroupText({ className, ...props }: React$1.ComponentProps<"span">): React$1.JSX.Element;
|
|
786
|
+
declare function InputGroupInput({ className, ...props }: React$1.ComponentProps<"input">): React$1.JSX.Element;
|
|
787
|
+
declare function InputGroupTextarea({ className, ...props }: React$1.ComponentProps<"textarea">): React$1.JSX.Element;
|
|
788
|
+
|
|
789
|
+
declare const InputOTP: React$1.ForwardRefExoticComponent<(Omit<Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "nonce" | "onChange" | "value" | "maxLength" | "textAlign" | "onComplete" | "pushPasswordManagerStrategy" | "pasteTransformer" | "containerClassName" | "noScriptCSSFallback"> & {
|
|
790
|
+
value?: string;
|
|
791
|
+
onChange?: (newValue: string) => unknown;
|
|
760
792
|
maxLength: number;
|
|
761
|
-
textAlign?: "
|
|
762
|
-
onComplete?: (
|
|
763
|
-
pushPasswordManagerStrategy?: "
|
|
764
|
-
|
|
765
|
-
|
|
793
|
+
textAlign?: "left" | "center" | "right";
|
|
794
|
+
onComplete?: (...args: any[]) => unknown;
|
|
795
|
+
pushPasswordManagerStrategy?: "increase-width" | "none";
|
|
796
|
+
pasteTransformer?: (pasted: string) => string;
|
|
797
|
+
containerClassName?: string;
|
|
798
|
+
noScriptCSSFallback?: string | null;
|
|
799
|
+
nonce?: string;
|
|
766
800
|
} & {
|
|
767
801
|
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?: (
|
|
802
|
+
children?: never;
|
|
803
|
+
} & React$1.RefAttributes<HTMLInputElement>, "ref"> | Omit<Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "nonce" | "onChange" | "value" | "maxLength" | "textAlign" | "onComplete" | "pushPasswordManagerStrategy" | "pasteTransformer" | "containerClassName" | "noScriptCSSFallback"> & {
|
|
804
|
+
value?: string;
|
|
805
|
+
onChange?: (newValue: string) => unknown;
|
|
772
806
|
maxLength: number;
|
|
773
|
-
textAlign?: "
|
|
774
|
-
onComplete?: (
|
|
775
|
-
pushPasswordManagerStrategy?: "
|
|
776
|
-
|
|
777
|
-
|
|
807
|
+
textAlign?: "left" | "center" | "right";
|
|
808
|
+
onComplete?: (...args: any[]) => unknown;
|
|
809
|
+
pushPasswordManagerStrategy?: "increase-width" | "none";
|
|
810
|
+
pasteTransformer?: (pasted: string) => string;
|
|
811
|
+
containerClassName?: string;
|
|
812
|
+
noScriptCSSFallback?: string | null;
|
|
813
|
+
nonce?: string;
|
|
778
814
|
} & {
|
|
779
|
-
render?:
|
|
815
|
+
render?: never;
|
|
780
816
|
children: React$1.ReactNode;
|
|
781
817
|
} & React$1.RefAttributes<HTMLInputElement>, "ref">) & React$1.RefAttributes<HTMLInputElement>>;
|
|
782
818
|
declare const InputOTPGroup: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
@@ -785,66 +821,66 @@ declare const InputOTPSlot: React$1.ForwardRefExoticComponent<Omit<React$1.Detai
|
|
|
785
821
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
786
822
|
declare const InputOTPSeparator: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
787
823
|
|
|
788
|
-
declare function ItemGroup({ className, ...props }: React$1.ComponentProps<"div">):
|
|
789
|
-
declare function ItemSeparator({ className, ...props }: React$1.ComponentProps<typeof Separator>):
|
|
824
|
+
declare function ItemGroup({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
825
|
+
declare function ItemSeparator({ className, ...props }: React$1.ComponentProps<typeof Separator>): React$1.JSX.Element;
|
|
790
826
|
declare const itemVariants: (props?: ({
|
|
791
827
|
variant?: "muted" | "default" | "outline" | null | undefined;
|
|
792
828
|
size?: "default" | "sm" | null | undefined;
|
|
793
829
|
} & ClassProp) | undefined) => string;
|
|
794
830
|
declare function Item({ className, variant, size, asChild, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof itemVariants> & {
|
|
795
831
|
asChild?: boolean;
|
|
796
|
-
}):
|
|
832
|
+
}): React$1.JSX.Element;
|
|
797
833
|
declare const itemMediaVariants: (props?: ({
|
|
798
834
|
variant?: "image" | "default" | "icon" | null | undefined;
|
|
799
835
|
} & 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">):
|
|
836
|
+
declare function ItemMedia({ className, variant, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof itemMediaVariants>): React$1.JSX.Element;
|
|
837
|
+
declare function ItemContent({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
838
|
+
declare function ItemTitle({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
839
|
+
declare function ItemDescription({ className, ...props }: React$1.ComponentProps<"p">): React$1.JSX.Element;
|
|
840
|
+
declare function ItemActions({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
841
|
+
declare function ItemHeader({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
842
|
+
declare function ItemFooter({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
807
843
|
|
|
808
|
-
declare function Kbd({ className, ...props }: React$1.ComponentProps<"kbd">):
|
|
809
|
-
declare function KbdGroup({ className, ...props }: React$1.ComponentProps<"div">):
|
|
844
|
+
declare function Kbd({ className, ...props }: React$1.ComponentProps<"kbd">): React$1.JSX.Element;
|
|
845
|
+
declare function KbdGroup({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
810
846
|
|
|
811
847
|
declare const markerVariants: (props?: ({
|
|
812
848
|
variant?: "line" | "default" | "badge" | null | undefined;
|
|
813
849
|
} & ClassProp) | undefined) => string;
|
|
814
850
|
declare function Marker({ className, variant, asChild, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof markerVariants> & {
|
|
815
851
|
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>):
|
|
852
|
+
}): React$1.JSX.Element;
|
|
853
|
+
declare function MarkerIcon({ className, ...props }: React$1.ComponentProps<"span">): React$1.JSX.Element;
|
|
854
|
+
declare function MarkerContent({ className, ...props }: React$1.ComponentProps<"span">): React$1.JSX.Element;
|
|
855
|
+
|
|
856
|
+
declare function MenubarMenu({ ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Menu>): React$1.JSX.Element;
|
|
857
|
+
declare function MenubarGroup({ ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Group>): React$1.JSX.Element;
|
|
858
|
+
declare function MenubarPortal({ ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Portal>): React$1.JSX.Element;
|
|
859
|
+
declare function MenubarRadioGroup({ ...props }: React$1.ComponentProps<typeof MenubarPrimitive.RadioGroup>): React$1.JSX.Element;
|
|
860
|
+
declare function MenubarSub({ ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Sub>): React$1.JSX.Element;
|
|
825
861
|
declare const Menubar: React$1.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
826
862
|
declare const MenubarTrigger: React$1.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
827
863
|
declare const MenubarSubTrigger: React$1.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarSubTriggerProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
828
|
-
inset?: boolean
|
|
864
|
+
inset?: boolean;
|
|
829
865
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
830
866
|
declare const MenubarSubContent: React$1.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarSubContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
831
867
|
declare const MenubarContent: React$1.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
832
868
|
declare const MenubarItem: React$1.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
833
|
-
inset?: boolean
|
|
834
|
-
variant?: "default" | "destructive"
|
|
869
|
+
inset?: boolean;
|
|
870
|
+
variant?: "default" | "destructive";
|
|
835
871
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
836
872
|
declare const MenubarCheckboxItem: React$1.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarCheckboxItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
837
|
-
inset?: boolean
|
|
873
|
+
inset?: boolean;
|
|
838
874
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
839
875
|
declare const MenubarRadioItem: React$1.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarRadioItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
840
|
-
inset?: boolean
|
|
876
|
+
inset?: boolean;
|
|
841
877
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
842
878
|
declare const MenubarLabel: React$1.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarLabelProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
843
|
-
inset?: boolean
|
|
879
|
+
inset?: boolean;
|
|
844
880
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
845
881
|
declare const MenubarSeparator: React$1.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
846
882
|
declare const MenubarShortcut: {
|
|
847
|
-
({ className, ...props }: React$1.HTMLAttributes<HTMLSpanElement>):
|
|
883
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLSpanElement>): React$1.JSX.Element;
|
|
848
884
|
displayName: string;
|
|
849
885
|
};
|
|
850
886
|
|
|
@@ -901,14 +937,14 @@ type SidebarProps = {
|
|
|
901
937
|
};
|
|
902
938
|
declare const Sidebar$1: React__default.ForwardRefExoticComponent<SidebarProps & React__default.RefAttributes<HTMLElement>>;
|
|
903
939
|
|
|
904
|
-
declare function MessageGroup({ className, ...props }: React$1.ComponentProps<"div">):
|
|
940
|
+
declare function MessageGroup({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
905
941
|
declare function Message({ className, align, ...props }: React$1.ComponentProps<"div"> & {
|
|
906
942
|
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">):
|
|
943
|
+
}): React$1.JSX.Element;
|
|
944
|
+
declare function MessageAvatar({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
945
|
+
declare function MessageContent({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
946
|
+
declare function MessageHeader({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
947
|
+
declare function MessageFooter({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
912
948
|
|
|
913
949
|
interface MultiSelectOption {
|
|
914
950
|
value: string;
|
|
@@ -925,17 +961,17 @@ interface MultiSelectProps {
|
|
|
925
961
|
disabled?: boolean;
|
|
926
962
|
className?: string;
|
|
927
963
|
}
|
|
928
|
-
declare function MultiSelect({ options, selected, onChange, placeholder, searchPlaceholder, emptyText, disabled, className, }: MultiSelectProps):
|
|
964
|
+
declare function MultiSelect({ options, selected, onChange, placeholder, searchPlaceholder, emptyText, disabled, className, }: MultiSelectProps): React$1.JSX.Element;
|
|
929
965
|
|
|
930
966
|
type NativeSelectProps = Omit<React$1.ComponentProps<"select">, "size"> & {
|
|
931
967
|
size?: "sm" | "default";
|
|
932
968
|
};
|
|
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">):
|
|
969
|
+
declare function NativeSelect({ className, size, ...props }: NativeSelectProps): React$1.JSX.Element;
|
|
970
|
+
declare function NativeSelectOption({ ...props }: React$1.ComponentProps<"option">): React$1.JSX.Element;
|
|
971
|
+
declare function NativeSelectOptGroup({ className, ...props }: React$1.ComponentProps<"optgroup">): React$1.JSX.Element;
|
|
936
972
|
|
|
937
973
|
declare const NavigationMenu: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuProps & React$1.RefAttributes<HTMLElement>, "ref"> & {
|
|
938
|
-
viewport?: boolean
|
|
974
|
+
viewport?: boolean;
|
|
939
975
|
} & React$1.RefAttributes<HTMLElement>>;
|
|
940
976
|
declare const NavigationMenuList: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuListProps & React$1.RefAttributes<HTMLUListElement>, "ref"> & React$1.RefAttributes<HTMLUListElement>>;
|
|
941
977
|
declare const NavigationMenuItem: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuItemProps & React$1.RefAttributes<HTMLLIElement>, "ref"> & React$1.RefAttributes<HTMLLIElement>>;
|
|
@@ -947,7 +983,7 @@ declare const NavigationMenuViewport: React$1.ForwardRefExoticComponent<Omit<Nav
|
|
|
947
983
|
declare const NavigationMenuIndicator: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuIndicatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
948
984
|
|
|
949
985
|
declare const Pagination: {
|
|
950
|
-
({ className, ...props }: React$1.ComponentProps<"nav">):
|
|
986
|
+
({ className, ...props }: React$1.ComponentProps<"nav">): React$1.JSX.Element;
|
|
951
987
|
displayName: string;
|
|
952
988
|
};
|
|
953
989
|
declare const PaginationContent: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & React$1.RefAttributes<HTMLUListElement>>;
|
|
@@ -956,19 +992,19 @@ type PaginationLinkProps = {
|
|
|
956
992
|
isActive?: boolean;
|
|
957
993
|
} & Pick<ButtonProps, "size"> & React$1.ComponentProps<"a">;
|
|
958
994
|
declare const PaginationLink: {
|
|
959
|
-
({ className, isActive, size, ...props }: PaginationLinkProps):
|
|
995
|
+
({ className, isActive, size, ...props }: PaginationLinkProps): React$1.JSX.Element;
|
|
960
996
|
displayName: string;
|
|
961
997
|
};
|
|
962
998
|
declare const PaginationPrevious: {
|
|
963
|
-
({ className, ...props }: React$1.ComponentProps<typeof PaginationLink>):
|
|
999
|
+
({ className, ...props }: React$1.ComponentProps<typeof PaginationLink>): React$1.JSX.Element;
|
|
964
1000
|
displayName: string;
|
|
965
1001
|
};
|
|
966
1002
|
declare const PaginationNext: {
|
|
967
|
-
({ className, ...props }: React$1.ComponentProps<typeof PaginationLink>):
|
|
1003
|
+
({ className, ...props }: React$1.ComponentProps<typeof PaginationLink>): React$1.JSX.Element;
|
|
968
1004
|
displayName: string;
|
|
969
1005
|
};
|
|
970
1006
|
declare const PaginationEllipsis: {
|
|
971
|
-
({ className, ...props }: React$1.ComponentProps<"span">):
|
|
1007
|
+
({ className, ...props }: React$1.ComponentProps<"span">): React$1.JSX.Element;
|
|
972
1008
|
displayName: string;
|
|
973
1009
|
};
|
|
974
1010
|
|
|
@@ -976,9 +1012,9 @@ declare const Popover: React$1.FC<PopoverPrimitive.PopoverProps>;
|
|
|
976
1012
|
declare const PopoverTrigger: React$1.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
977
1013
|
declare const PopoverAnchor: React$1.ForwardRefExoticComponent<PopoverPrimitive.PopoverAnchorProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
978
1014
|
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">):
|
|
1015
|
+
declare function PopoverHeader({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
1016
|
+
declare function PopoverTitle({ className, ...props }: React$1.ComponentProps<"h2">): React$1.JSX.Element;
|
|
1017
|
+
declare function PopoverDescription({ className, ...props }: React$1.ComponentProps<"p">): React$1.JSX.Element;
|
|
982
1018
|
|
|
983
1019
|
interface ProgressProps extends React$1.ComponentPropsWithoutRef<typeof ProgressPrimitive.Root>, VariantProps<typeof colorVariants> {
|
|
984
1020
|
color?: Color;
|
|
@@ -1008,13 +1044,13 @@ interface SearchableComboboxProps {
|
|
|
1008
1044
|
disabled?: boolean;
|
|
1009
1045
|
className?: string;
|
|
1010
1046
|
}
|
|
1011
|
-
declare function SearchableCombobox({ options, value, onValueChange, placeholder, searchPlaceholder, emptyText, allowClear, clearLabel, disabled, className, }: SearchableComboboxProps):
|
|
1047
|
+
declare function SearchableCombobox({ options, value, onValueChange, placeholder, searchPlaceholder, emptyText, allowClear, clearLabel, disabled, className, }: SearchableComboboxProps): React$1.JSX.Element;
|
|
1012
1048
|
|
|
1013
1049
|
declare const Select: React$1.FC<SelectPrimitive.SelectProps>;
|
|
1014
1050
|
declare const SelectGroup: React$1.ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1015
1051
|
declare const SelectValue: React$1.ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
1016
1052
|
declare const SelectTrigger: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & {
|
|
1017
|
-
size?: "
|
|
1053
|
+
size?: "sm" | "default";
|
|
1018
1054
|
} & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1019
1055
|
declare const SelectScrollUpButton: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollUpButtonProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1020
1056
|
declare const SelectScrollDownButton: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollDownButtonProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
@@ -1027,7 +1063,7 @@ declare const Sheet: React$1.FC<DialogPrimitive.DialogProps>;
|
|
|
1027
1063
|
declare const SheetTrigger: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1028
1064
|
declare const SheetClose: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1029
1065
|
declare const SheetPortal: {
|
|
1030
|
-
({ ...props }: DialogPrimitive.DialogPortalProps):
|
|
1066
|
+
({ ...props }: DialogPrimitive.DialogPortalProps): React$1.JSX.Element;
|
|
1031
1067
|
displayName: string | undefined;
|
|
1032
1068
|
};
|
|
1033
1069
|
declare const SheetOverlay: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
@@ -1040,11 +1076,11 @@ interface SheetContentProps extends React$1.ComponentPropsWithoutRef<typeof Dial
|
|
|
1040
1076
|
}
|
|
1041
1077
|
declare const SheetContent: React$1.ForwardRefExoticComponent<SheetContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1042
1078
|
declare const SheetHeader: {
|
|
1043
|
-
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>):
|
|
1079
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): React$1.JSX.Element;
|
|
1044
1080
|
displayName: string;
|
|
1045
1081
|
};
|
|
1046
1082
|
declare const SheetFooter: {
|
|
1047
|
-
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>):
|
|
1083
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): React$1.JSX.Element;
|
|
1048
1084
|
displayName: string;
|
|
1049
1085
|
};
|
|
1050
1086
|
declare const SheetTitle: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
@@ -1062,6 +1098,16 @@ interface SheetCustomProps {
|
|
|
1062
1098
|
}
|
|
1063
1099
|
declare const SheetCustom: React__default.FC<SheetCustomProps>;
|
|
1064
1100
|
|
|
1101
|
+
declare const TooltipProvider: {
|
|
1102
|
+
({ delayDuration, ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Provider>): React$1.JSX.Element;
|
|
1103
|
+
displayName: string | undefined;
|
|
1104
|
+
};
|
|
1105
|
+
declare const Tooltip: React$1.FC<TooltipPrimitive.TooltipProps>;
|
|
1106
|
+
declare const TooltipTrigger: React$1.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1107
|
+
declare const TooltipArrow: React$1.ForwardRefExoticComponent<TooltipPrimitive.TooltipArrowProps & React$1.RefAttributes<SVGSVGElement>>;
|
|
1108
|
+
declare const TooltipPortal: React$1.FC<TooltipPrimitive.TooltipPortalProps>;
|
|
1109
|
+
declare const TooltipContent: React$1.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1110
|
+
|
|
1065
1111
|
type SidebarContextProps = {
|
|
1066
1112
|
state: "expanded" | "collapsed";
|
|
1067
1113
|
open: boolean;
|
|
@@ -1073,14 +1119,14 @@ type SidebarContextProps = {
|
|
|
1073
1119
|
};
|
|
1074
1120
|
declare function useSidebar(): SidebarContextProps;
|
|
1075
1121
|
declare const SidebarProvider: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLDivElement> & React$1.HTMLAttributes<HTMLDivElement> & {
|
|
1076
|
-
defaultOpen?: boolean
|
|
1077
|
-
open?: boolean
|
|
1078
|
-
onOpenChange?: (
|
|
1122
|
+
defaultOpen?: boolean;
|
|
1123
|
+
open?: boolean;
|
|
1124
|
+
onOpenChange?: (open: boolean) => void;
|
|
1079
1125
|
}, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1080
1126
|
declare const Sidebar: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLDivElement> & React$1.HTMLAttributes<HTMLDivElement> & {
|
|
1081
|
-
side?: "left" | "right"
|
|
1082
|
-
variant?: "
|
|
1083
|
-
collapsible?: "
|
|
1127
|
+
side?: "left" | "right";
|
|
1128
|
+
variant?: "sidebar" | "floating" | "inset";
|
|
1129
|
+
collapsible?: "offcanvas" | "icon" | "none";
|
|
1084
1130
|
}, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1085
1131
|
declare const SidebarTrigger: React$1.ForwardRefExoticComponent<Omit<ButtonProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1086
1132
|
declare const SidebarRail: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
@@ -1092,10 +1138,10 @@ declare const SidebarSeparator: React$1.ForwardRefExoticComponent<Omit<Omit<Sepa
|
|
|
1092
1138
|
declare const SidebarContent: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1093
1139
|
declare const SidebarGroup: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1094
1140
|
declare const SidebarGroupLabel: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLDivElement> & React$1.HTMLAttributes<HTMLDivElement> & {
|
|
1095
|
-
asChild?: boolean
|
|
1141
|
+
asChild?: boolean;
|
|
1096
1142
|
}, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1097
1143
|
declare const SidebarGroupAction: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLButtonElement> & React$1.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
1098
|
-
asChild?: boolean
|
|
1144
|
+
asChild?: boolean;
|
|
1099
1145
|
}, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1100
1146
|
declare const SidebarGroupContent: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1101
1147
|
declare const SidebarMenu: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & React$1.RefAttributes<HTMLUListElement>>;
|
|
@@ -1105,37 +1151,37 @@ declare const sidebarMenuButtonVariants: (props?: ({
|
|
|
1105
1151
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
1106
1152
|
} & ClassProp) | undefined) => string;
|
|
1107
1153
|
declare const SidebarMenuButton: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLButtonElement> & React$1.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
1108
|
-
asChild?: boolean
|
|
1109
|
-
isActive?: boolean
|
|
1110
|
-
tooltip?: string |
|
|
1154
|
+
asChild?: boolean;
|
|
1155
|
+
isActive?: boolean;
|
|
1156
|
+
tooltip?: string | React$1.ComponentProps<typeof TooltipContent>;
|
|
1111
1157
|
} & VariantProps<(props?: ({
|
|
1112
1158
|
variant?: "default" | "outline" | null | undefined;
|
|
1113
1159
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
1114
1160
|
} & ClassProp) | undefined) => string>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1115
1161
|
declare const SidebarMenuAction: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLButtonElement> & React$1.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
1116
|
-
asChild?: boolean
|
|
1117
|
-
showOnHover?: boolean
|
|
1162
|
+
asChild?: boolean;
|
|
1163
|
+
showOnHover?: boolean;
|
|
1118
1164
|
}, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1119
1165
|
declare const SidebarMenuBadge: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1120
1166
|
declare const SidebarMenuSkeleton: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLDivElement> & React$1.HTMLAttributes<HTMLDivElement> & {
|
|
1121
|
-
showIcon?: boolean
|
|
1167
|
+
showIcon?: boolean;
|
|
1122
1168
|
}, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1123
1169
|
declare const SidebarMenuSub: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & React$1.RefAttributes<HTMLUListElement>>;
|
|
1124
1170
|
declare const SidebarMenuSubItem: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React$1.RefAttributes<HTMLLIElement>>;
|
|
1125
1171
|
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
|
|
1172
|
+
asChild?: boolean;
|
|
1173
|
+
size?: "sm" | "md";
|
|
1174
|
+
isActive?: boolean;
|
|
1129
1175
|
}, "ref"> & React$1.RefAttributes<HTMLAnchorElement>>;
|
|
1130
1176
|
|
|
1131
|
-
declare function Skeleton({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>):
|
|
1177
|
+
declare function Skeleton({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): React$1.JSX.Element;
|
|
1132
1178
|
declare namespace Skeleton {
|
|
1133
1179
|
var displayName: string;
|
|
1134
1180
|
}
|
|
1135
1181
|
|
|
1136
1182
|
declare const Slider: React$1.ForwardRefExoticComponent<Omit<SliderPrimitive.SliderProps & React$1.RefAttributes<HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
|
|
1137
1183
|
|
|
1138
|
-
declare function Spinner({ className, ...props }: Omit<React$1.ComponentProps<typeof Icon>, "icon">):
|
|
1184
|
+
declare function Spinner({ className, ...props }: Omit<React$1.ComponentProps<typeof Icon>, "icon">): React$1.JSX.Element;
|
|
1139
1185
|
|
|
1140
1186
|
interface DualSliderProps extends React$1.ComponentPropsWithoutRef<typeof SliderPrimitive.Root>, VariantProps<typeof colorVariants> {
|
|
1141
1187
|
color?: Color;
|
|
@@ -1143,11 +1189,11 @@ interface DualSliderProps extends React$1.ComponentPropsWithoutRef<typeof Slider
|
|
|
1143
1189
|
declare const DualSlider: React$1.ForwardRefExoticComponent<DualSliderProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
1144
1190
|
|
|
1145
1191
|
declare const Switch: React$1.ForwardRefExoticComponent<Omit<SwitchPrimitives.SwitchProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & {
|
|
1146
|
-
size?: "
|
|
1192
|
+
size?: "sm" | "default";
|
|
1147
1193
|
} & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1148
1194
|
|
|
1149
1195
|
declare const Table: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableElement> & {
|
|
1150
|
-
containerClassName?: string
|
|
1196
|
+
containerClassName?: string;
|
|
1151
1197
|
} & React$1.RefAttributes<HTMLTableElement>>;
|
|
1152
1198
|
declare const TableHeader: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableSectionElement> & React$1.RefAttributes<HTMLTableSectionElement>>;
|
|
1153
1199
|
declare const TableBody: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableSectionElement> & React$1.RefAttributes<HTMLTableSectionElement>>;
|
|
@@ -1195,12 +1241,12 @@ type ToastProps = React$1.ComponentPropsWithoutRef<typeof Toast$1>;
|
|
|
1195
1241
|
type ToastActionElement = React$1.ReactElement<typeof ToastAction>;
|
|
1196
1242
|
|
|
1197
1243
|
declare const Toaster$1: {
|
|
1198
|
-
():
|
|
1244
|
+
(): React$1.JSX.Element;
|
|
1199
1245
|
displayName: string;
|
|
1200
1246
|
};
|
|
1201
1247
|
|
|
1202
1248
|
type ToasterProps = React$1.ComponentProps<typeof Toaster$2>;
|
|
1203
|
-
declare const Toaster: ({ ...props }: ToasterProps) =>
|
|
1249
|
+
declare const Toaster: ({ ...props }: ToasterProps) => React$1.JSX.Element;
|
|
1204
1250
|
|
|
1205
1251
|
declare const toggleVariants: (props?: ({
|
|
1206
1252
|
variant?: "default" | "outline" | null | undefined;
|
|
@@ -1220,16 +1266,6 @@ declare const ToggleGroupItem: React$1.ForwardRefExoticComponent<Omit<ToggleGrou
|
|
|
1220
1266
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
1221
1267
|
} & ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1222
1268
|
|
|
1223
|
-
declare const TooltipProvider: {
|
|
1224
|
-
({ delayDuration, ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Provider>): react_jsx_runtime.JSX.Element;
|
|
1225
|
-
displayName: string | undefined;
|
|
1226
|
-
};
|
|
1227
|
-
declare const Tooltip: React$1.FC<TooltipPrimitive.TooltipProps>;
|
|
1228
|
-
declare const TooltipTrigger: React$1.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1229
|
-
declare const TooltipArrow: React$1.ForwardRefExoticComponent<TooltipPrimitive.TooltipArrowProps & React$1.RefAttributes<SVGSVGElement>>;
|
|
1230
|
-
declare const TooltipPortal: React$1.FC<TooltipPrimitive.TooltipPortalProps>;
|
|
1231
|
-
declare const TooltipContent: React$1.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1232
|
-
|
|
1233
1269
|
type ToasterToast = ToastProps & {
|
|
1234
1270
|
id: string;
|
|
1235
1271
|
title?: React$1.ReactNode;
|
|
@@ -1290,7 +1326,7 @@ interface ModalProps {
|
|
|
1290
1326
|
confirmText?: string;
|
|
1291
1327
|
cancelText?: string;
|
|
1292
1328
|
}
|
|
1293
|
-
declare function Modal({ open, onOpenChange, title, description, message, children, footer, size, variant, showCloseButton, className, action, cancel, confirmText, cancelText, }: ModalProps):
|
|
1329
|
+
declare function Modal({ open, onOpenChange, title, description, message, children, footer, size, variant, showCloseButton, className, action, cancel, confirmText, cancelText, }: ModalProps): React$1.JSX.Element;
|
|
1294
1330
|
interface ConfirmModalProps {
|
|
1295
1331
|
open: boolean;
|
|
1296
1332
|
onOpenChange: (open: boolean) => void;
|
|
@@ -1305,7 +1341,7 @@ interface ConfirmModalProps {
|
|
|
1305
1341
|
isLoading?: boolean;
|
|
1306
1342
|
icon?: string;
|
|
1307
1343
|
}
|
|
1308
|
-
declare function ConfirmModal({ open, onOpenChange, title, description, onConfirm, onCancel, confirmText, cancelText, variant, loading, isLoading, icon, }: ConfirmModalProps):
|
|
1344
|
+
declare function ConfirmModal({ open, onOpenChange, title, description, onConfirm, onCancel, confirmText, cancelText, variant, loading, isLoading, icon, }: ConfirmModalProps): React$1.JSX.Element;
|
|
1309
1345
|
declare const ConfirmDialog: typeof ConfirmModal;
|
|
1310
1346
|
type ConfirmDialogProps = ConfirmModalProps;
|
|
1311
1347
|
|
|
@@ -1353,7 +1389,7 @@ type LoaderProps = {
|
|
|
1353
1389
|
size?: number;
|
|
1354
1390
|
};
|
|
1355
1391
|
declare const Loader: {
|
|
1356
|
-
({ img, className, size }: LoaderProps):
|
|
1392
|
+
({ img, className, size }: LoaderProps): React$1.JSX.Element;
|
|
1357
1393
|
displayName: string;
|
|
1358
1394
|
};
|
|
1359
1395
|
|
|
@@ -1459,7 +1495,7 @@ interface DateTimePickerProps {
|
|
|
1459
1495
|
className?: string;
|
|
1460
1496
|
}
|
|
1461
1497
|
declare const DateTimePicker: {
|
|
1462
|
-
({ value, onChange, className, }: DateTimePickerProps):
|
|
1498
|
+
({ value, onChange, className, }: DateTimePickerProps): React$1.JSX.Element;
|
|
1463
1499
|
displayName: string;
|
|
1464
1500
|
};
|
|
1465
1501
|
|
|
@@ -1476,7 +1512,7 @@ interface DatePickerProps {
|
|
|
1476
1512
|
className?: string;
|
|
1477
1513
|
}
|
|
1478
1514
|
declare const DatePicker: {
|
|
1479
|
-
({ value, onChange, placeholder, className, }: DatePickerProps):
|
|
1515
|
+
({ value, onChange, placeholder, className, }: DatePickerProps): React$1.JSX.Element;
|
|
1480
1516
|
displayName: string;
|
|
1481
1517
|
};
|
|
1482
1518
|
|
|
@@ -1646,7 +1682,7 @@ declare const useSkipper: () => readonly [boolean, () => void];
|
|
|
1646
1682
|
declare const Filter: ({ column, table, }: {
|
|
1647
1683
|
column: Column<any, any>;
|
|
1648
1684
|
table: Table$1<any>;
|
|
1649
|
-
}) =>
|
|
1685
|
+
}) => React$1.JSX.Element;
|
|
1650
1686
|
declare function createSelectionColumn<TData>(): ColumnDef<TData, unknown>;
|
|
1651
1687
|
declare function DataTableColumnHeader({ title, column, className, }: {
|
|
1652
1688
|
title: string;
|
|
@@ -1656,12 +1692,12 @@ declare function DataTableColumnHeader({ title, column, className, }: {
|
|
|
1656
1692
|
toggleSorting: (desc?: boolean) => void;
|
|
1657
1693
|
};
|
|
1658
1694
|
className?: string;
|
|
1659
|
-
}):
|
|
1660
|
-
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>):
|
|
1695
|
+
}): React$1.JSX.Element;
|
|
1696
|
+
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;
|
|
1661
1697
|
declare const ModernDataTable: typeof DataTable;
|
|
1662
1698
|
|
|
1663
|
-
declare const ResizablePanelGroup: ({ className, ...props }: React.ComponentProps<typeof ResizablePrimitive.PanelGroup>) =>
|
|
1664
|
-
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 |
|
|
1699
|
+
declare const ResizablePanelGroup: ({ className, ...props }: React.ComponentProps<typeof ResizablePrimitive.PanelGroup>) => React$1.JSX.Element;
|
|
1700
|
+
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"> & {
|
|
1665
1701
|
className?: string | undefined;
|
|
1666
1702
|
collapsedSize?: number | undefined;
|
|
1667
1703
|
collapsible?: boolean | undefined;
|
|
@@ -1678,22 +1714,9 @@ declare const ResizablePanel: React$1.ForwardRefExoticComponent<Omit<React$1.HTM
|
|
|
1678
1714
|
} & {
|
|
1679
1715
|
children?: React$1.ReactNode;
|
|
1680
1716
|
} & React$1.RefAttributes<ResizablePrimitive.ImperativePanelHandle>>;
|
|
1681
|
-
declare const ResizableHandle: ({ withHandle, className, ...props }:
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
hitAreaMargins?: ResizablePrimitive.PointerHitAreaMargins | undefined;
|
|
1685
|
-
id?: string | null | undefined;
|
|
1686
|
-
onBlur?: (() => void) | undefined;
|
|
1687
|
-
onDragging?: ResizablePrimitive.PanelResizeHandleOnDragging | undefined;
|
|
1688
|
-
onFocus?: (() => void) | undefined;
|
|
1689
|
-
style?: React$1.CSSProperties | undefined;
|
|
1690
|
-
tabIndex?: number | undefined;
|
|
1691
|
-
tagName?: keyof HTMLElementTagNameMap | undefined;
|
|
1692
|
-
} & {
|
|
1693
|
-
children?: React$1.ReactNode;
|
|
1694
|
-
} & {
|
|
1695
|
-
withHandle?: boolean | undefined;
|
|
1696
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
1717
|
+
declare const ResizableHandle: ({ withHandle, className, ...props }: React.ComponentProps<typeof ResizablePrimitive.PanelResizeHandle> & {
|
|
1718
|
+
withHandle?: boolean;
|
|
1719
|
+
}) => React$1.JSX.Element;
|
|
1697
1720
|
|
|
1698
1721
|
interface StepContextType {
|
|
1699
1722
|
currentStepIndex: number;
|
|
@@ -1761,4 +1784,145 @@ type StepNavButtonProps = {
|
|
|
1761
1784
|
declare const StepPrevious: React__default.ForwardRefExoticComponent<StepNavButtonProps & React__default.RefAttributes<HTMLButtonElement>>;
|
|
1762
1785
|
declare const StepNext: React__default.ForwardRefExoticComponent<StepNavButtonProps & React__default.RefAttributes<HTMLButtonElement>>;
|
|
1763
1786
|
|
|
1764
|
-
|
|
1787
|
+
declare const codeBlockVariants: (props?: ({
|
|
1788
|
+
variant?: "default" | "destructive" | null | undefined;
|
|
1789
|
+
} & ClassProp) | undefined) => string;
|
|
1790
|
+
declare function CodeBlock({ className, variant, size, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof codeBlockVariants> & {
|
|
1791
|
+
size?: "default" | "sm";
|
|
1792
|
+
}): React$1.JSX.Element;
|
|
1793
|
+
declare function CodeBlockHeader({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
1794
|
+
declare function CodeBlockTitle({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
1795
|
+
declare function CodeBlockActions({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
1796
|
+
declare function CodeBlockCopyButton({ value, variant, size, className, onClick, ...props }: React$1.ComponentProps<typeof Button> & {
|
|
1797
|
+
value: string;
|
|
1798
|
+
}): React$1.JSX.Element;
|
|
1799
|
+
declare function useHighlightedCode(value: string, language?: string): React$1.ReactNode[];
|
|
1800
|
+
declare function CodeBlockContent({ className, children, style, wrap, lineNumbers, startLine, language, highlight, ...props }: React$1.ComponentProps<"pre"> & {
|
|
1801
|
+
wrap?: boolean;
|
|
1802
|
+
lineNumbers?: boolean;
|
|
1803
|
+
startLine?: number;
|
|
1804
|
+
language?: string;
|
|
1805
|
+
highlight?: boolean;
|
|
1806
|
+
}): React$1.JSX.Element;
|
|
1807
|
+
declare const codeBlockLineVariants: (props?: ({
|
|
1808
|
+
variant?: "default" | "added" | "removed" | "highlighted" | null | undefined;
|
|
1809
|
+
} & ClassProp) | undefined) => string;
|
|
1810
|
+
declare function CodeBlockLine({ className, variant, children, ...props }: React$1.ComponentProps<"span"> & VariantProps<typeof codeBlockLineVariants>): React$1.JSX.Element;
|
|
1811
|
+
declare function CodeBlockFooter({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
1812
|
+
|
|
1813
|
+
declare function Trace({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
1814
|
+
declare function TraceLine({ className, status, ...props }: React$1.ComponentProps<"span"> & {
|
|
1815
|
+
status?: "running" | "error" | "pending" | "completed";
|
|
1816
|
+
}): React$1.JSX.Element;
|
|
1817
|
+
declare function TraceIcon({ className, ...props }: React$1.ComponentProps<"span">): React$1.JSX.Element;
|
|
1818
|
+
declare function TraceTitle({ className, ...props }: React$1.ComponentProps<"span">): React$1.JSX.Element;
|
|
1819
|
+
declare function TraceDescription({ className, ...props }: React$1.ComponentProps<"span">): React$1.JSX.Element;
|
|
1820
|
+
declare function TraceCollapsible({ className, ...props }: React$1.ComponentProps<typeof Collapsible>): React$1.JSX.Element;
|
|
1821
|
+
declare function TraceCollapsibleTrigger({ className, children, ...props }: React$1.ComponentProps<typeof CollapsibleTrigger>): React$1.JSX.Element;
|
|
1822
|
+
declare function TraceCollapsibleContent({ className, children, ...props }: React$1.ComponentProps<typeof CollapsibleContent>): React$1.JSX.Element;
|
|
1823
|
+
|
|
1824
|
+
interface MessageScrollerContextValue {
|
|
1825
|
+
viewportRef: React$1.RefObject<HTMLDivElement>;
|
|
1826
|
+
isAtEnd: boolean;
|
|
1827
|
+
isAtStart: boolean;
|
|
1828
|
+
isScrollable: boolean;
|
|
1829
|
+
setScrollMetrics: (metrics: {
|
|
1830
|
+
isAtEnd: boolean;
|
|
1831
|
+
isAtStart: boolean;
|
|
1832
|
+
isScrollable: boolean;
|
|
1833
|
+
}) => void;
|
|
1834
|
+
scrollToEnd: (behavior?: ScrollBehavior) => void;
|
|
1835
|
+
scrollToStart: (behavior?: ScrollBehavior) => void;
|
|
1836
|
+
scrollToMessage: (messageId: string, behavior?: ScrollBehavior) => void;
|
|
1837
|
+
}
|
|
1838
|
+
declare function useMessageScroller(): MessageScrollerContextValue;
|
|
1839
|
+
declare function useMessageScrollerScrollable(): boolean;
|
|
1840
|
+
declare function useMessageScrollerVisibility(direction?: "end" | "start"): boolean;
|
|
1841
|
+
declare function MessageScrollerProvider({ children, }: {
|
|
1842
|
+
children: React$1.ReactNode;
|
|
1843
|
+
}): React$1.JSX.Element;
|
|
1844
|
+
declare function MessageScroller({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
1845
|
+
declare function MessageScrollerViewport({ className, children, onScroll, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
1846
|
+
declare function MessageScrollerContent({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
1847
|
+
declare function MessageScrollerItem({ className, messageId, scrollAnchor, ...props }: React$1.ComponentProps<"div"> & {
|
|
1848
|
+
messageId?: string;
|
|
1849
|
+
scrollAnchor?: boolean;
|
|
1850
|
+
}): React$1.JSX.Element;
|
|
1851
|
+
declare function MessageScrollerButton({ direction, className, children, variant, size, onClick, ...props }: Omit<ButtonProps, "children"> & {
|
|
1852
|
+
direction?: "end" | "start";
|
|
1853
|
+
children?: React$1.ReactNode;
|
|
1854
|
+
}): React$1.JSX.Element;
|
|
1855
|
+
|
|
1856
|
+
interface QuestionnaireChoiceOption {
|
|
1857
|
+
value: string;
|
|
1858
|
+
label: React$1.ReactNode;
|
|
1859
|
+
description?: React$1.ReactNode;
|
|
1860
|
+
disabled?: boolean;
|
|
1861
|
+
shortcut?: string;
|
|
1862
|
+
}
|
|
1863
|
+
interface QuestionnaireQuestionItem {
|
|
1864
|
+
name: string;
|
|
1865
|
+
prompt: React$1.ReactNode;
|
|
1866
|
+
description?: React$1.ReactNode;
|
|
1867
|
+
required?: boolean;
|
|
1868
|
+
multiple?: boolean;
|
|
1869
|
+
choices?: readonly QuestionnaireChoiceOption[];
|
|
1870
|
+
input?: {
|
|
1871
|
+
label?: string;
|
|
1872
|
+
placeholder?: string;
|
|
1873
|
+
};
|
|
1874
|
+
}
|
|
1875
|
+
interface StepMeta {
|
|
1876
|
+
name: string;
|
|
1877
|
+
required: boolean;
|
|
1878
|
+
multiple: boolean;
|
|
1879
|
+
}
|
|
1880
|
+
interface QuestionnaireContextValue {
|
|
1881
|
+
currentStep: number;
|
|
1882
|
+
totalSteps: number;
|
|
1883
|
+
steps: StepMeta[];
|
|
1884
|
+
values: Record<string, string | string[]>;
|
|
1885
|
+
customInputs: Record<string, string>;
|
|
1886
|
+
errors: Record<string, string>;
|
|
1887
|
+
setChoice: (name: string, value: string, multiple: boolean) => void;
|
|
1888
|
+
setCustomInput: (name: string, text: string) => void;
|
|
1889
|
+
nextStep: () => void;
|
|
1890
|
+
prevStep: () => void;
|
|
1891
|
+
skipStep: () => void;
|
|
1892
|
+
validateStep: (stepIndex: number) => boolean;
|
|
1893
|
+
}
|
|
1894
|
+
declare function useQuestionnaire(): QuestionnaireContextValue;
|
|
1895
|
+
declare function Questionnaire({ items, defaultStep, step: controlledStep, onStepChange, onValuesSubmit, onSubmit, className, children, ...props }: React$1.ComponentProps<"form"> & {
|
|
1896
|
+
items?: readonly QuestionnaireQuestionItem[];
|
|
1897
|
+
defaultStep?: number;
|
|
1898
|
+
step?: number;
|
|
1899
|
+
onStepChange?: (step: number) => void;
|
|
1900
|
+
onValuesSubmit?: (values: Record<string, string | string[]>) => void;
|
|
1901
|
+
}): React$1.JSX.Element;
|
|
1902
|
+
declare function QuestionnaireProgress({ className, children, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
1903
|
+
declare function QuestionnaireItem({ name, required, multiple, className, children, ...props }: React$1.ComponentProps<"fieldset"> & {
|
|
1904
|
+
name: string;
|
|
1905
|
+
required?: boolean;
|
|
1906
|
+
multiple?: boolean;
|
|
1907
|
+
}): React$1.JSX.Element;
|
|
1908
|
+
declare namespace QuestionnaireItem {
|
|
1909
|
+
var displayName: string;
|
|
1910
|
+
}
|
|
1911
|
+
declare function QuestionnaireTitle({ className, ...props }: React$1.ComponentProps<"legend">): React$1.JSX.Element;
|
|
1912
|
+
declare function QuestionnaireDescription({ className, ...props }: React$1.ComponentProps<"p">): React$1.JSX.Element;
|
|
1913
|
+
declare function QuestionnaireChoices({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
1914
|
+
declare function QuestionnaireChoice({ value, disabled, shortcut, children, className, ...props }: React$1.ComponentProps<"label"> & {
|
|
1915
|
+
value: string;
|
|
1916
|
+
disabled?: boolean;
|
|
1917
|
+
shortcut?: string;
|
|
1918
|
+
}): React$1.JSX.Element;
|
|
1919
|
+
declare function QuestionnaireChoiceDescription({ className, ...props }: React$1.ComponentProps<"span">): React$1.JSX.Element;
|
|
1920
|
+
declare function QuestionnaireInput({ className, onChange, value, ...props }: React$1.ComponentProps<"input">): React$1.JSX.Element;
|
|
1921
|
+
declare function QuestionnaireError({ className, children, ...props }: React$1.ComponentProps<"p">): React$1.JSX.Element | null;
|
|
1922
|
+
declare function QuestionnaireActions({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
1923
|
+
declare function QuestionnairePrevious({ children, className, size, variant, disabled, onClick, ...props }: React$1.ComponentProps<"button"> & Pick<ButtonProps, "size" | "variant">): React$1.JSX.Element;
|
|
1924
|
+
declare function QuestionnaireSkip({ children, className, size, variant, onClick, ...props }: React$1.ComponentProps<"button"> & Pick<ButtonProps, "size" | "variant">): React$1.JSX.Element | null;
|
|
1925
|
+
declare function QuestionnaireNext({ children, className, size, variant, onClick, ...props }: React$1.ComponentProps<"button"> & Pick<ButtonProps, "size" | "variant">): React$1.JSX.Element | null;
|
|
1926
|
+
declare function QuestionnaireSubmit({ children, className, size, variant, ...props }: React$1.ComponentProps<"button"> & Pick<ButtonProps, "size" | "variant">): React$1.JSX.Element | null;
|
|
1927
|
+
|
|
1928
|
+
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, CodeBlock, CodeBlockActions, CodeBlockContent, CodeBlockCopyButton, CodeBlockFooter, CodeBlockHeader, CodeBlockLine, CodeBlockTitle, 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, MessageScroller, MessageScrollerButton, MessageScrollerContent, MessageScrollerItem, MessageScrollerProvider, MessageScrollerViewport, 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, Questionnaire, QuestionnaireActions, QuestionnaireChoice, QuestionnaireChoiceDescription, type QuestionnaireChoiceOption, QuestionnaireChoices, QuestionnaireDescription, QuestionnaireError, QuestionnaireInput, QuestionnaireItem, QuestionnaireNext, QuestionnairePrevious, QuestionnaireProgress, type QuestionnaireQuestionItem, QuestionnaireSkip, QuestionnaireSubmit, QuestionnaireTitle, 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, Trace, TraceCollapsible, TraceCollapsibleContent, TraceCollapsibleTrigger, TraceDescription, TraceIcon, TraceLine, TraceTitle, type VariantProps, alertVariants, attachmentMediaVariants, attachmentVariants, badgeVariants, bubbleContentVariants, bubbleReactionsVariants, bubbleVariants, buttonGroupVariants, buttonVariants, cn, codeBlockLineVariants, codeBlockVariants, 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, useHighlightedCode, useIsMobile, useMediaQuery, useMessageScroller, useMessageScrollerScrollable, useMessageScrollerVisibility, usePagination, useQuestionnaire, useRepeat, useSidebar, useSkipper, useToast };
|