@hilum/ui 1.0.1 → 2.0.1
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 +2 -2
- package/dist/{chunk-ELL3JM3Z.js → chunk-H6JZQWX3.js} +59 -15
- package/dist/chunk-H6JZQWX3.js.map +1 -0
- package/dist/index.d.ts +350 -290
- package/dist/index.js +490 -436
- package/dist/index.js.map +1 -1
- package/dist/tokens.css +42 -16
- package/dist/tokens.d.ts +33 -8
- package/dist/tokens.js +1 -1
- package/llms.txt +9 -9
- package/package.json +1 -1
- package/src/components/accordion.tsx +5 -5
- package/src/components/action-panel.tsx +8 -6
- package/src/components/activity-feed.tsx +7 -5
- package/src/components/alert-dialog.tsx +5 -5
- package/src/components/alert.tsx +5 -5
- package/src/components/avatar-stack.tsx +3 -3
- package/src/components/avatar.tsx +4 -4
- package/src/components/badge.tsx +7 -7
- package/src/components/breadcrumb.tsx +5 -6
- package/src/components/button-group.tsx +7 -4
- package/src/components/button.tsx +7 -7
- package/src/components/calendar.tsx +10 -10
- package/src/components/card-heading.tsx +3 -3
- package/src/components/card.tsx +4 -4
- package/src/components/chart.tsx +10 -10
- package/src/components/checkbox.tsx +2 -2
- package/src/components/color-input.tsx +7 -5
- package/src/components/color-picker.tsx +8 -6
- package/src/components/combobox.tsx +66 -31
- package/src/components/command-palette.tsx +13 -11
- package/src/components/command.tsx +14 -12
- package/src/components/context-menu.tsx +16 -16
- package/src/components/data-table.tsx +18 -7
- package/src/components/date-picker.tsx +2 -2
- package/src/components/description-list.tsx +10 -8
- package/src/components/dialog.tsx +4 -4
- package/src/components/drawer.tsx +5 -5
- package/src/components/dropdown-menu.tsx +16 -16
- package/src/components/empty-state.tsx +5 -3
- package/src/components/field.tsx +4 -4
- package/src/components/grid-list.tsx +17 -13
- package/src/components/hover-card.tsx +1 -1
- package/src/components/input-group.tsx +10 -10
- package/src/components/input-number.tsx +7 -7
- package/src/components/input-otp.tsx +3 -3
- package/src/components/input.tsx +4 -4
- package/src/components/kbd.tsx +1 -1
- package/src/components/label.tsx +1 -1
- package/src/components/media-object.tsx +2 -0
- package/src/components/menubar.tsx +21 -21
- package/src/components/native-select.tsx +5 -5
- package/src/components/navigation-menu.tsx +10 -10
- package/src/components/notification.tsx +13 -11
- package/src/components/page-heading.tsx +8 -8
- package/src/components/pagination.tsx +1 -1
- package/src/components/popover.tsx +1 -1
- package/src/components/progress.tsx +1 -1
- package/src/components/property-row.tsx +3 -1
- package/src/components/radio-card.tsx +10 -8
- package/src/components/radio-group.tsx +4 -4
- package/src/components/resizable.tsx +3 -3
- package/src/components/scroll-area.tsx +1 -1
- package/src/components/section-heading.tsx +3 -3
- package/src/components/select.tsx +13 -13
- package/src/components/separator.tsx +1 -1
- package/src/components/sheet.tsx +4 -4
- package/src/components/sidebar.tsx +20 -20
- package/src/components/skeleton.tsx +1 -1
- package/src/components/slider.tsx +2 -2
- package/src/components/sonner.tsx +9 -8
- package/src/components/stacked-list.tsx +5 -5
- package/src/components/stat-card.tsx +9 -7
- package/src/components/steps.tsx +16 -14
- package/src/components/switch.tsx +2 -2
- package/src/components/table.tsx +9 -9
- package/src/components/tabs.tsx +2 -2
- package/src/components/textarea.tsx +4 -4
- package/src/components/toggle.tsx +9 -9
- package/src/components/tooltip.tsx +1 -1
- package/src/tokens/tokens.ts +36 -9
- package/dist/chunk-ELL3JM3Z.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ClassValue } from 'clsx';
|
|
2
|
-
import * as React
|
|
2
|
+
import * as React from 'react';
|
|
3
3
|
import { Accordion, AlertDialog, AspectRatio, Avatar as Avatar$1, Checkbox, Collapsible, ContextMenu, Dialog, DropdownMenu, HoverCard, Label as Label$1, Menubar, NavigationMenu, Popover, Progress, RadioGroup, ScrollArea, Select, Separator as Separator$1, Slider, Switch, Tabs, ToggleGroup, Toggle, Tooltip } from 'radix-ui';
|
|
4
4
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
5
5
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
@@ -19,10 +19,10 @@ import { Toaster as Toaster$1 } from 'sonner';
|
|
|
19
19
|
|
|
20
20
|
declare function cn(...inputs: ClassValue[]): string;
|
|
21
21
|
|
|
22
|
-
declare const AccordionRoot: React
|
|
23
|
-
declare const AccordionItem: React
|
|
24
|
-
declare const AccordionTrigger: React
|
|
25
|
-
declare const AccordionContent: React
|
|
22
|
+
declare const AccordionRoot: React.ForwardRefExoticComponent<(Omit<Accordion.AccordionSingleProps & React.RefAttributes<HTMLDivElement>, "ref"> | Omit<Accordion.AccordionMultipleProps & React.RefAttributes<HTMLDivElement>, "ref">) & React.RefAttributes<HTMLDivElement>>;
|
|
23
|
+
declare const AccordionItem: React.ForwardRefExoticComponent<Omit<Accordion.AccordionItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
24
|
+
declare const AccordionTrigger: React.ForwardRefExoticComponent<Omit<Accordion.AccordionTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
25
|
+
declare const AccordionContent: React.ForwardRefExoticComponent<Omit<Accordion.AccordionContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
26
26
|
|
|
27
27
|
interface ActionPanelAction {
|
|
28
28
|
label: string;
|
|
@@ -43,17 +43,20 @@ interface ActionPanelProps {
|
|
|
43
43
|
link?: ActionPanelLink;
|
|
44
44
|
variant?: "default" | "muted";
|
|
45
45
|
layout?: "stacked" | "inline";
|
|
46
|
-
children?: React
|
|
46
|
+
children?: React.ReactNode;
|
|
47
47
|
className?: string;
|
|
48
48
|
}
|
|
49
49
|
declare function ActionPanel({ title, description, action, actions, link, variant, layout, children, className, }: ActionPanelProps): react_jsx_runtime.JSX.Element;
|
|
50
|
+
declare namespace ActionPanel {
|
|
51
|
+
var displayName: string;
|
|
52
|
+
}
|
|
50
53
|
|
|
51
54
|
interface FeedEvent {
|
|
52
55
|
id?: string | number;
|
|
53
|
-
content: React
|
|
56
|
+
content: React.ReactNode;
|
|
54
57
|
date?: string;
|
|
55
58
|
datetime?: string;
|
|
56
|
-
icon?: React
|
|
59
|
+
icon?: React.ReactNode;
|
|
57
60
|
iconBgClass?: string;
|
|
58
61
|
}
|
|
59
62
|
interface ActivityFeedProps {
|
|
@@ -61,35 +64,38 @@ interface ActivityFeedProps {
|
|
|
61
64
|
className?: string;
|
|
62
65
|
}
|
|
63
66
|
declare function ActivityFeed({ events, className }: ActivityFeedProps): react_jsx_runtime.JSX.Element;
|
|
67
|
+
declare namespace ActivityFeed {
|
|
68
|
+
var displayName: string;
|
|
69
|
+
}
|
|
64
70
|
|
|
65
|
-
declare const AlertDialogRoot: React
|
|
66
|
-
declare const AlertDialogTrigger: React
|
|
67
|
-
declare const AlertDialogPortal: React
|
|
68
|
-
declare const AlertDialogOverlay: React
|
|
69
|
-
declare const AlertDialogContent: React
|
|
70
|
-
declare function AlertDialogHeader({ className, ...props }: React
|
|
71
|
+
declare const AlertDialogRoot: React.FC<AlertDialog.AlertDialogProps>;
|
|
72
|
+
declare const AlertDialogTrigger: React.ForwardRefExoticComponent<AlertDialog.AlertDialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
73
|
+
declare const AlertDialogPortal: React.FC<AlertDialog.AlertDialogPortalProps>;
|
|
74
|
+
declare const AlertDialogOverlay: React.ForwardRefExoticComponent<Omit<AlertDialog.AlertDialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
75
|
+
declare const AlertDialogContent: React.ForwardRefExoticComponent<Omit<AlertDialog.AlertDialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
76
|
+
declare function AlertDialogHeader({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
71
77
|
declare namespace AlertDialogHeader {
|
|
72
78
|
var displayName: string;
|
|
73
79
|
}
|
|
74
|
-
declare function AlertDialogFooter({ className, ...props }: React
|
|
80
|
+
declare function AlertDialogFooter({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
75
81
|
declare namespace AlertDialogFooter {
|
|
76
82
|
var displayName: string;
|
|
77
83
|
}
|
|
78
|
-
declare const AlertDialogTitle: React
|
|
79
|
-
declare const AlertDialogDescription: React
|
|
80
|
-
declare const AlertDialogAction: React
|
|
81
|
-
declare const AlertDialogCancel: React
|
|
84
|
+
declare const AlertDialogTitle: React.ForwardRefExoticComponent<Omit<AlertDialog.AlertDialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
85
|
+
declare const AlertDialogDescription: React.ForwardRefExoticComponent<Omit<AlertDialog.AlertDialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
|
|
86
|
+
declare const AlertDialogAction: React.ForwardRefExoticComponent<Omit<AlertDialog.AlertDialogActionProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
87
|
+
declare const AlertDialogCancel: React.ForwardRefExoticComponent<Omit<AlertDialog.AlertDialogCancelProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
82
88
|
|
|
83
89
|
declare const alertVariants: (props?: ({
|
|
84
90
|
variant?: "default" | "destructive" | "info" | "success" | "warning" | null | undefined;
|
|
85
91
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
86
|
-
interface AlertProps extends React
|
|
92
|
+
interface AlertProps extends React.ComponentProps<"div">, VariantProps<typeof alertVariants> {
|
|
87
93
|
}
|
|
88
|
-
declare const Alert: React
|
|
89
|
-
declare const AlertTitle: React
|
|
90
|
-
declare const AlertDescription: React
|
|
94
|
+
declare const Alert: React.ForwardRefExoticComponent<Omit<AlertProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
95
|
+
declare const AlertTitle: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
|
|
96
|
+
declare const AlertDescription: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
|
|
91
97
|
|
|
92
|
-
declare const AspectRatioRoot: React
|
|
98
|
+
declare const AspectRatioRoot: React.ForwardRefExoticComponent<Omit<AspectRatio.AspectRatioProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
93
99
|
|
|
94
100
|
interface AvatarStackItem {
|
|
95
101
|
src?: string;
|
|
@@ -113,12 +119,12 @@ declare const sizeMap: {
|
|
|
113
119
|
readonly xl: "size-12 subheading";
|
|
114
120
|
};
|
|
115
121
|
type AvatarSize = keyof typeof sizeMap;
|
|
116
|
-
interface AvatarProps extends React
|
|
122
|
+
interface AvatarProps extends React.ComponentPropsWithoutRef<typeof Avatar$1.Root> {
|
|
117
123
|
size?: AvatarSize;
|
|
118
124
|
}
|
|
119
|
-
declare const Avatar: React
|
|
120
|
-
declare const AvatarImage: React
|
|
121
|
-
declare const AvatarFallback: React
|
|
125
|
+
declare const Avatar: React.ForwardRefExoticComponent<AvatarProps & React.RefAttributes<HTMLSpanElement>>;
|
|
126
|
+
declare const AvatarImage: React.ForwardRefExoticComponent<Omit<Avatar$1.AvatarImageProps & React.RefAttributes<HTMLImageElement>, "ref"> & React.RefAttributes<HTMLImageElement>>;
|
|
127
|
+
declare const AvatarFallback: React.ForwardRefExoticComponent<Omit<Avatar$1.AvatarFallbackProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
122
128
|
declare const statusColorMap: {
|
|
123
129
|
online: string;
|
|
124
130
|
offline: string;
|
|
@@ -128,51 +134,57 @@ declare const statusColorMap: {
|
|
|
128
134
|
interface AvatarWithStatusProps extends AvatarProps {
|
|
129
135
|
status?: keyof typeof statusColorMap;
|
|
130
136
|
}
|
|
131
|
-
declare const AvatarWithStatus: React
|
|
132
|
-
children?: React
|
|
133
|
-
} & React
|
|
137
|
+
declare const AvatarWithStatus: React.ForwardRefExoticComponent<AvatarWithStatusProps & {
|
|
138
|
+
children?: React.ReactNode;
|
|
139
|
+
} & React.RefAttributes<HTMLSpanElement>>;
|
|
134
140
|
|
|
135
141
|
declare const badgeVariants: (props?: ({
|
|
136
142
|
variant?: "default" | "destructive" | "outline" | "secondary" | "brand" | "success" | "warning" | null | undefined;
|
|
137
143
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
138
|
-
interface BadgeProps extends React
|
|
144
|
+
interface BadgeProps extends React.ComponentProps<"span">, VariantProps<typeof badgeVariants> {
|
|
139
145
|
}
|
|
140
146
|
declare function Badge({ className, variant, ...props }: BadgeProps): react_jsx_runtime.JSX.Element;
|
|
141
147
|
declare namespace Badge {
|
|
142
148
|
var displayName: string;
|
|
143
149
|
}
|
|
144
150
|
|
|
145
|
-
declare const Breadcrumb: React
|
|
146
|
-
separator?: React
|
|
147
|
-
}, "ref"> & React
|
|
148
|
-
declare const BreadcrumbList: React
|
|
149
|
-
declare const BreadcrumbItem$1: React
|
|
150
|
-
declare const BreadcrumbLink: React
|
|
151
|
-
declare const BreadcrumbPage: React
|
|
151
|
+
declare const Breadcrumb: React.ForwardRefExoticComponent<Omit<React.ClassAttributes<HTMLElement> & React.HTMLAttributes<HTMLElement> & {
|
|
152
|
+
separator?: React.ReactNode;
|
|
153
|
+
}, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
154
|
+
declare const BreadcrumbList: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.OlHTMLAttributes<HTMLOListElement>, HTMLOListElement>, "ref"> & React.RefAttributes<HTMLOListElement>>;
|
|
155
|
+
declare const BreadcrumbItem$1: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React.RefAttributes<HTMLLIElement>>;
|
|
156
|
+
declare const BreadcrumbLink: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & React.RefAttributes<HTMLAnchorElement>>;
|
|
157
|
+
declare const BreadcrumbPage: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
152
158
|
declare const BreadcrumbSeparator: {
|
|
153
|
-
({ children, className, ...props }: React
|
|
159
|
+
({ children, className, ...props }: React.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
|
|
154
160
|
displayName: string;
|
|
155
161
|
};
|
|
156
162
|
declare const BreadcrumbEllipsis: {
|
|
157
|
-
({ className, ...props }: React
|
|
163
|
+
({ className, ...props }: React.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
158
164
|
displayName: string;
|
|
159
165
|
};
|
|
160
166
|
|
|
161
167
|
interface ButtonGroupProps {
|
|
162
|
-
children: React
|
|
168
|
+
children: React.ReactNode;
|
|
163
169
|
className?: string;
|
|
164
170
|
}
|
|
165
171
|
declare function ButtonGroup({ children, className }: ButtonGroupProps): react_jsx_runtime.JSX.Element;
|
|
166
|
-
|
|
172
|
+
declare namespace ButtonGroup {
|
|
173
|
+
var displayName: string;
|
|
174
|
+
}
|
|
175
|
+
interface ButtonGroupItemProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
167
176
|
active?: boolean;
|
|
168
177
|
}
|
|
169
178
|
declare function ButtonGroupItem({ active, className, children, ...props }: ButtonGroupItemProps): react_jsx_runtime.JSX.Element;
|
|
179
|
+
declare namespace ButtonGroupItem {
|
|
180
|
+
var displayName: string;
|
|
181
|
+
}
|
|
170
182
|
|
|
171
183
|
declare const buttonVariants: (props?: ({
|
|
172
184
|
variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "brand" | "ghost" | null | undefined;
|
|
173
185
|
size?: "default" | "xs" | "sm" | "lg" | "icon" | "icon-xs" | "icon-sm" | "icon-lg" | null | undefined;
|
|
174
186
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
175
|
-
interface ButtonProps extends React
|
|
187
|
+
interface ButtonProps extends React.ComponentProps<"button">, VariantProps<typeof buttonVariants> {
|
|
176
188
|
asChild?: boolean;
|
|
177
189
|
}
|
|
178
190
|
declare function Button({ className, variant, size, asChild, ...props }: ButtonProps): react_jsx_runtime.JSX.Element;
|
|
@@ -180,7 +192,7 @@ declare namespace Button {
|
|
|
180
192
|
var displayName: string;
|
|
181
193
|
}
|
|
182
194
|
|
|
183
|
-
type CalendarProps = React
|
|
195
|
+
type CalendarProps = React.ComponentProps<typeof DayPicker>;
|
|
184
196
|
declare function Calendar({ className, classNames, showOutsideDays, ...props }: CalendarProps): react_jsx_runtime.JSX.Element;
|
|
185
197
|
declare namespace Calendar {
|
|
186
198
|
var displayName: string;
|
|
@@ -196,7 +208,7 @@ interface CardHeadingProps {
|
|
|
196
208
|
title: string;
|
|
197
209
|
description?: string;
|
|
198
210
|
actions?: CardHeadingAction[];
|
|
199
|
-
children?: React
|
|
211
|
+
children?: React.ReactNode;
|
|
200
212
|
className?: string;
|
|
201
213
|
}
|
|
202
214
|
declare function CardHeading({ title, description, actions, children, className }: CardHeadingProps): react_jsx_runtime.JSX.Element;
|
|
@@ -204,15 +216,15 @@ declare function CardHeading({ title, description, actions, children, className
|
|
|
204
216
|
declare const cardVariants: (props?: ({
|
|
205
217
|
variant?: "default" | "ghost" | "muted" | null | undefined;
|
|
206
218
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
207
|
-
interface CardProps extends React
|
|
219
|
+
interface CardProps extends React.ComponentProps<"div">, VariantProps<typeof cardVariants> {
|
|
208
220
|
}
|
|
209
|
-
declare const Card: React
|
|
210
|
-
declare const CardHeader: React
|
|
211
|
-
declare const CardTitle: React
|
|
212
|
-
declare const CardDescription: React
|
|
213
|
-
declare const CardContent: React
|
|
214
|
-
declare const CardFooter: React
|
|
215
|
-
declare const CardMedia: React
|
|
221
|
+
declare const Card: React.ForwardRefExoticComponent<Omit<CardProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
222
|
+
declare const CardHeader: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
223
|
+
declare const CardTitle: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
224
|
+
declare const CardDescription: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
|
|
225
|
+
declare const CardContent: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
226
|
+
declare const CardFooter: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
227
|
+
declare const CardMedia: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
216
228
|
|
|
217
229
|
type CarouselApi = UseEmblaCarouselType[1];
|
|
218
230
|
type UseCarouselParameters = Parameters<typeof useEmblaCarousel>;
|
|
@@ -224,22 +236,22 @@ interface CarouselProps {
|
|
|
224
236
|
orientation?: "horizontal" | "vertical";
|
|
225
237
|
setApi?: (api: CarouselApi) => void;
|
|
226
238
|
}
|
|
227
|
-
declare function Carousel({ opts, plugins, orientation, setApi, className, children, ...props }: CarouselProps & React
|
|
228
|
-
declare function CarouselContent({ className, ...props }: React
|
|
229
|
-
declare function CarouselItem({ className, ...props }: React
|
|
230
|
-
declare function CarouselPrevious({ className, variant, size, ...props }: React
|
|
231
|
-
declare function CarouselNext({ className, variant, size, ...props }: React
|
|
239
|
+
declare function Carousel({ opts, plugins, orientation, setApi, className, children, ...props }: CarouselProps & React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
240
|
+
declare function CarouselContent({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
241
|
+
declare function CarouselItem({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
242
|
+
declare function CarouselPrevious({ className, variant, size, ...props }: React.ComponentProps<typeof Button>): react_jsx_runtime.JSX.Element;
|
|
243
|
+
declare function CarouselNext({ className, variant, size, ...props }: React.ComponentProps<typeof Button>): react_jsx_runtime.JSX.Element;
|
|
232
244
|
|
|
233
245
|
declare const CHART_COLORS: {
|
|
234
|
-
primary: "#
|
|
246
|
+
primary: "#c100f1";
|
|
235
247
|
secondary: "#CDEA19";
|
|
236
|
-
tertiary: "#
|
|
237
|
-
muted: "#
|
|
238
|
-
subtle: "#
|
|
248
|
+
tertiary: "#fff5bf";
|
|
249
|
+
muted: "#737373";
|
|
250
|
+
subtle: "#f5f5f5";
|
|
239
251
|
dark: "#171717";
|
|
240
252
|
};
|
|
241
253
|
interface ChartContainerProps {
|
|
242
|
-
children: React
|
|
254
|
+
children: React.ReactNode;
|
|
243
255
|
className?: string;
|
|
244
256
|
height?: number;
|
|
245
257
|
}
|
|
@@ -255,11 +267,11 @@ declare namespace ChartTooltip {
|
|
|
255
267
|
var displayName: string;
|
|
256
268
|
}
|
|
257
269
|
|
|
258
|
-
declare const CheckboxRoot: React
|
|
270
|
+
declare const CheckboxRoot: React.ForwardRefExoticComponent<Omit<Checkbox.CheckboxProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
259
271
|
|
|
260
|
-
declare const CollapsibleRoot: React
|
|
261
|
-
declare const CollapsibleTrigger: React
|
|
262
|
-
declare const CollapsibleContent: React
|
|
272
|
+
declare const CollapsibleRoot: React.ForwardRefExoticComponent<Collapsible.CollapsibleProps & React.RefAttributes<HTMLDivElement>>;
|
|
273
|
+
declare const CollapsibleTrigger: React.ForwardRefExoticComponent<Collapsible.CollapsibleTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
274
|
+
declare const CollapsibleContent: React.ForwardRefExoticComponent<Collapsible.CollapsibleContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
263
275
|
|
|
264
276
|
interface ColorInputProps {
|
|
265
277
|
value: string;
|
|
@@ -276,6 +288,9 @@ interface ColorInputProps {
|
|
|
276
288
|
* Combines a swatch trigger (ColorPicker), a hex input, and an optional opacity field.
|
|
277
289
|
*/
|
|
278
290
|
declare function ColorInput({ value, onChange, opacity, onOpacityChange, className, disabled, presets, }: ColorInputProps): react_jsx_runtime.JSX.Element;
|
|
291
|
+
declare namespace ColorInput {
|
|
292
|
+
var displayName: string;
|
|
293
|
+
}
|
|
279
294
|
|
|
280
295
|
interface ColorPickerProps {
|
|
281
296
|
value: string;
|
|
@@ -288,6 +303,9 @@ interface ColorPickerProps {
|
|
|
288
303
|
ariaLabel?: string;
|
|
289
304
|
}
|
|
290
305
|
declare function ColorPicker({ value, onChange, className, disabled, presets, ariaLabel, }: ColorPickerProps): react_jsx_runtime.JSX.Element;
|
|
306
|
+
declare namespace ColorPicker {
|
|
307
|
+
var displayName: string;
|
|
308
|
+
}
|
|
291
309
|
|
|
292
310
|
interface ComboboxOption {
|
|
293
311
|
value: string;
|
|
@@ -306,12 +324,15 @@ interface ComboboxProps {
|
|
|
306
324
|
className?: string;
|
|
307
325
|
}
|
|
308
326
|
declare function Combobox({ options, value, onValueChange, placeholder, searchPlaceholder, emptyText, className, }: ComboboxProps): react_jsx_runtime.JSX.Element;
|
|
327
|
+
declare namespace Combobox {
|
|
328
|
+
var displayName: string;
|
|
329
|
+
}
|
|
309
330
|
|
|
310
331
|
interface CommandPaletteItem {
|
|
311
332
|
id?: string | number;
|
|
312
333
|
label: string;
|
|
313
334
|
description?: string;
|
|
314
|
-
icon?: React
|
|
335
|
+
icon?: React.ReactNode;
|
|
315
336
|
category?: string;
|
|
316
337
|
href?: string;
|
|
317
338
|
onSelect?: () => void;
|
|
@@ -324,53 +345,59 @@ interface CommandPaletteProps {
|
|
|
324
345
|
emptyText?: string;
|
|
325
346
|
}
|
|
326
347
|
declare function CommandPalette({ open, onClose, items, placeholder, emptyText, }: CommandPaletteProps): react_jsx_runtime.JSX.Element;
|
|
348
|
+
declare namespace CommandPalette {
|
|
349
|
+
var displayName: string;
|
|
350
|
+
}
|
|
327
351
|
|
|
328
|
-
interface CommandProps extends Omit<React
|
|
352
|
+
interface CommandProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "onSelect"> {
|
|
329
353
|
onSelect?: (value: string) => void;
|
|
330
354
|
}
|
|
331
355
|
declare function Command({ className, children, onSelect, ...props }: CommandProps): react_jsx_runtime.JSX.Element;
|
|
332
|
-
declare
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
356
|
+
declare namespace Command {
|
|
357
|
+
var displayName: string;
|
|
358
|
+
}
|
|
359
|
+
declare const CommandInput: React.ForwardRefExoticComponent<Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>>;
|
|
360
|
+
declare const CommandList: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
361
|
+
declare const CommandEmpty: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
362
|
+
interface CommandGroupProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
336
363
|
heading?: string;
|
|
337
364
|
}
|
|
338
|
-
declare const CommandGroup: React
|
|
339
|
-
interface CommandItemProps extends Omit<React
|
|
365
|
+
declare const CommandGroup: React.ForwardRefExoticComponent<CommandGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
366
|
+
interface CommandItemProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "onSelect"> {
|
|
340
367
|
value?: string;
|
|
341
368
|
keywords?: string[];
|
|
342
369
|
disabled?: boolean;
|
|
343
370
|
onSelect?: (value: string) => void;
|
|
344
371
|
}
|
|
345
|
-
declare const CommandItem: React
|
|
346
|
-
declare const CommandSeparator: React
|
|
347
|
-
declare function CommandShortcut({ className, ...props }: React
|
|
372
|
+
declare const CommandItem: React.ForwardRefExoticComponent<CommandItemProps & React.RefAttributes<HTMLDivElement>>;
|
|
373
|
+
declare const CommandSeparator: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
374
|
+
declare function CommandShortcut({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>): react_jsx_runtime.JSX.Element;
|
|
348
375
|
declare namespace CommandShortcut {
|
|
349
376
|
var displayName: string;
|
|
350
377
|
}
|
|
351
378
|
|
|
352
|
-
declare const ContextMenuRoot: React
|
|
353
|
-
declare const ContextMenuTrigger: React
|
|
354
|
-
declare const ContextMenuGroup: React
|
|
355
|
-
declare const ContextMenuPortal: React
|
|
356
|
-
declare const ContextMenuSub: React
|
|
357
|
-
declare const ContextMenuRadioGroup: React
|
|
358
|
-
declare const ContextMenuContent: React
|
|
359
|
-
declare const ContextMenuItem: React
|
|
379
|
+
declare const ContextMenuRoot: React.FC<ContextMenu.ContextMenuProps>;
|
|
380
|
+
declare const ContextMenuTrigger: React.ForwardRefExoticComponent<ContextMenu.ContextMenuTriggerProps & React.RefAttributes<HTMLSpanElement>>;
|
|
381
|
+
declare const ContextMenuGroup: React.ForwardRefExoticComponent<ContextMenu.ContextMenuGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
382
|
+
declare const ContextMenuPortal: React.FC<ContextMenu.ContextMenuPortalProps>;
|
|
383
|
+
declare const ContextMenuSub: React.FC<ContextMenu.ContextMenuSubProps>;
|
|
384
|
+
declare const ContextMenuRadioGroup: React.ForwardRefExoticComponent<ContextMenu.ContextMenuRadioGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
385
|
+
declare const ContextMenuContent: React.ForwardRefExoticComponent<Omit<ContextMenu.ContextMenuContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
386
|
+
declare const ContextMenuItem: React.ForwardRefExoticComponent<Omit<ContextMenu.ContextMenuItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
360
387
|
inset?: boolean;
|
|
361
388
|
destructive?: boolean;
|
|
362
|
-
} & React
|
|
363
|
-
declare const ContextMenuCheckboxItem: React
|
|
364
|
-
declare const ContextMenuRadioItem: React
|
|
365
|
-
declare const ContextMenuLabel: React
|
|
389
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
390
|
+
declare const ContextMenuCheckboxItem: React.ForwardRefExoticComponent<Omit<ContextMenu.ContextMenuCheckboxItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
391
|
+
declare const ContextMenuRadioItem: React.ForwardRefExoticComponent<Omit<ContextMenu.ContextMenuRadioItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
392
|
+
declare const ContextMenuLabel: React.ForwardRefExoticComponent<Omit<ContextMenu.ContextMenuLabelProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
366
393
|
inset?: boolean;
|
|
367
|
-
} & React
|
|
368
|
-
declare const ContextMenuSeparator: React
|
|
369
|
-
declare const ContextMenuSubTrigger: React
|
|
394
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
395
|
+
declare const ContextMenuSeparator: React.ForwardRefExoticComponent<Omit<ContextMenu.ContextMenuSeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
396
|
+
declare const ContextMenuSubTrigger: React.ForwardRefExoticComponent<Omit<ContextMenu.ContextMenuSubTriggerProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
370
397
|
inset?: boolean;
|
|
371
|
-
} & React
|
|
372
|
-
declare const ContextMenuSubContent: React
|
|
373
|
-
declare function ContextMenuShortcut({ className, ...props }: React
|
|
398
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
399
|
+
declare const ContextMenuSubContent: React.ForwardRefExoticComponent<Omit<ContextMenu.ContextMenuSubContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
400
|
+
declare function ContextMenuShortcut({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>): react_jsx_runtime.JSX.Element;
|
|
374
401
|
declare namespace ContextMenuShortcut {
|
|
375
402
|
var displayName: string;
|
|
376
403
|
}
|
|
@@ -400,8 +427,8 @@ declare namespace DatePicker {
|
|
|
400
427
|
|
|
401
428
|
interface DescriptionItem {
|
|
402
429
|
term: string;
|
|
403
|
-
details: React
|
|
404
|
-
action?: React
|
|
430
|
+
details: React.ReactNode;
|
|
431
|
+
action?: React.ReactNode;
|
|
405
432
|
}
|
|
406
433
|
interface DescriptionListProps {
|
|
407
434
|
title?: string;
|
|
@@ -412,68 +439,71 @@ interface DescriptionListProps {
|
|
|
412
439
|
className?: string;
|
|
413
440
|
}
|
|
414
441
|
declare function DescriptionList({ title, description, items, columns, striped, className, }: DescriptionListProps): react_jsx_runtime.JSX.Element;
|
|
442
|
+
declare namespace DescriptionList {
|
|
443
|
+
var displayName: string;
|
|
444
|
+
}
|
|
415
445
|
|
|
416
|
-
declare const DialogRoot: React
|
|
417
|
-
declare const DialogTrigger: React
|
|
418
|
-
declare const DialogClose: React
|
|
419
|
-
declare const DialogOverlay: React
|
|
420
|
-
declare const DialogContent: React
|
|
421
|
-
declare function DialogHeader({ className, ...props }: React
|
|
446
|
+
declare const DialogRoot: React.FC<Dialog.DialogProps>;
|
|
447
|
+
declare const DialogTrigger: React.ForwardRefExoticComponent<Dialog.DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
448
|
+
declare const DialogClose: React.ForwardRefExoticComponent<Dialog.DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
|
|
449
|
+
declare const DialogOverlay: React.ForwardRefExoticComponent<Omit<Dialog.DialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
450
|
+
declare const DialogContent: React.ForwardRefExoticComponent<Omit<Dialog.DialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
451
|
+
declare function DialogHeader({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
422
452
|
declare namespace DialogHeader {
|
|
423
453
|
var displayName: string;
|
|
424
454
|
}
|
|
425
|
-
declare function DialogFooter({ className, ...props }: React
|
|
455
|
+
declare function DialogFooter({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
426
456
|
declare namespace DialogFooter {
|
|
427
457
|
var displayName: string;
|
|
428
458
|
}
|
|
429
|
-
declare const DialogTitle: React
|
|
430
|
-
declare const DialogDescription: React
|
|
459
|
+
declare const DialogTitle: React.ForwardRefExoticComponent<Omit<Dialog.DialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
460
|
+
declare const DialogDescription: React.ForwardRefExoticComponent<Omit<Dialog.DialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
|
|
431
461
|
|
|
432
462
|
declare const DrawerRoot: typeof vaul.Root;
|
|
433
|
-
declare const DrawerTrigger: React
|
|
463
|
+
declare const DrawerTrigger: React.ForwardRefExoticComponent<_radix_ui_react_dialog.DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
434
464
|
declare const DrawerPortal: typeof vaul.Portal;
|
|
435
|
-
declare const DrawerClose: React
|
|
436
|
-
declare const DrawerOverlay: React
|
|
437
|
-
declare const DrawerContent: React
|
|
465
|
+
declare const DrawerClose: React.ForwardRefExoticComponent<_radix_ui_react_dialog.DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
|
|
466
|
+
declare const DrawerOverlay: React.ForwardRefExoticComponent<Omit<Omit<_radix_ui_react_dialog.DialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
467
|
+
declare const DrawerContent: React.ForwardRefExoticComponent<Omit<Omit<_radix_ui_react_dialog.DialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
438
468
|
declare const DrawerHeader: {
|
|
439
|
-
({ className, ...props }: React
|
|
469
|
+
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
440
470
|
displayName: string;
|
|
441
471
|
};
|
|
442
472
|
declare const DrawerFooter: {
|
|
443
|
-
({ className, ...props }: React
|
|
473
|
+
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
444
474
|
displayName: string;
|
|
445
475
|
};
|
|
446
|
-
declare const DrawerTitle: React
|
|
447
|
-
declare const DrawerDescription: React
|
|
448
|
-
|
|
449
|
-
declare const DropdownMenuRoot: React
|
|
450
|
-
declare const DropdownMenuTrigger: React
|
|
451
|
-
declare const DropdownMenuGroup: React
|
|
452
|
-
declare const DropdownMenuPortal: React
|
|
453
|
-
declare const DropdownMenuSub: React
|
|
454
|
-
declare const DropdownMenuRadioGroup: React
|
|
455
|
-
declare const DropdownMenuContent: React
|
|
456
|
-
declare const DropdownMenuItem: React
|
|
476
|
+
declare const DrawerTitle: React.ForwardRefExoticComponent<Omit<_radix_ui_react_dialog.DialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
477
|
+
declare const DrawerDescription: React.ForwardRefExoticComponent<Omit<_radix_ui_react_dialog.DialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
|
|
478
|
+
|
|
479
|
+
declare const DropdownMenuRoot: React.FC<DropdownMenu.DropdownMenuProps>;
|
|
480
|
+
declare const DropdownMenuTrigger: React.ForwardRefExoticComponent<DropdownMenu.DropdownMenuTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
481
|
+
declare const DropdownMenuGroup: React.ForwardRefExoticComponent<DropdownMenu.DropdownMenuGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
482
|
+
declare const DropdownMenuPortal: React.FC<DropdownMenu.DropdownMenuPortalProps>;
|
|
483
|
+
declare const DropdownMenuSub: React.FC<DropdownMenu.DropdownMenuSubProps>;
|
|
484
|
+
declare const DropdownMenuRadioGroup: React.ForwardRefExoticComponent<DropdownMenu.DropdownMenuRadioGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
485
|
+
declare const DropdownMenuContent: React.ForwardRefExoticComponent<Omit<DropdownMenu.DropdownMenuContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
486
|
+
declare const DropdownMenuItem: React.ForwardRefExoticComponent<Omit<DropdownMenu.DropdownMenuItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
457
487
|
inset?: boolean;
|
|
458
488
|
destructive?: boolean;
|
|
459
|
-
} & React
|
|
460
|
-
declare const DropdownMenuCheckboxItem: React
|
|
461
|
-
declare const DropdownMenuRadioItem: React
|
|
462
|
-
declare const DropdownMenuLabel: React
|
|
489
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
490
|
+
declare const DropdownMenuCheckboxItem: React.ForwardRefExoticComponent<Omit<DropdownMenu.DropdownMenuCheckboxItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
491
|
+
declare const DropdownMenuRadioItem: React.ForwardRefExoticComponent<Omit<DropdownMenu.DropdownMenuRadioItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
492
|
+
declare const DropdownMenuLabel: React.ForwardRefExoticComponent<Omit<DropdownMenu.DropdownMenuLabelProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
463
493
|
inset?: boolean;
|
|
464
|
-
} & React
|
|
465
|
-
declare const DropdownMenuSeparator: React
|
|
466
|
-
declare const DropdownMenuSubTrigger: React
|
|
494
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
495
|
+
declare const DropdownMenuSeparator: React.ForwardRefExoticComponent<Omit<DropdownMenu.DropdownMenuSeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
496
|
+
declare const DropdownMenuSubTrigger: React.ForwardRefExoticComponent<Omit<DropdownMenu.DropdownMenuSubTriggerProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
467
497
|
inset?: boolean;
|
|
468
|
-
} & React
|
|
469
|
-
declare const DropdownMenuSubContent: React
|
|
470
|
-
declare function DropdownMenuShortcut({ className, ...props }: React
|
|
498
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
499
|
+
declare const DropdownMenuSubContent: React.ForwardRefExoticComponent<Omit<DropdownMenu.DropdownMenuSubContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
500
|
+
declare function DropdownMenuShortcut({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>): react_jsx_runtime.JSX.Element;
|
|
471
501
|
declare namespace DropdownMenuShortcut {
|
|
472
502
|
var displayName: string;
|
|
473
503
|
}
|
|
474
504
|
|
|
475
505
|
interface EmptyStateProps {
|
|
476
|
-
icon?: React
|
|
506
|
+
icon?: React.ReactNode;
|
|
477
507
|
title: string;
|
|
478
508
|
description?: string;
|
|
479
509
|
action?: {
|
|
@@ -484,6 +514,9 @@ interface EmptyStateProps {
|
|
|
484
514
|
className?: string;
|
|
485
515
|
}
|
|
486
516
|
declare function EmptyState({ icon, title, description, action, className }: EmptyStateProps): react_jsx_runtime.JSX.Element;
|
|
517
|
+
declare namespace EmptyState {
|
|
518
|
+
var displayName: string;
|
|
519
|
+
}
|
|
487
520
|
|
|
488
521
|
interface FieldProps {
|
|
489
522
|
label: string;
|
|
@@ -493,8 +526,8 @@ interface FieldProps {
|
|
|
493
526
|
required?: boolean;
|
|
494
527
|
cornerHint?: string;
|
|
495
528
|
className?: string;
|
|
496
|
-
children: React
|
|
497
|
-
ref?: React
|
|
529
|
+
children: React.ReactNode;
|
|
530
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
498
531
|
}
|
|
499
532
|
declare function Field({ label, htmlFor, hint, error, required, cornerHint, className, children, ref, }: FieldProps): react_jsx_runtime.JSX.Element;
|
|
500
533
|
declare namespace Field {
|
|
@@ -502,50 +535,59 @@ declare namespace Field {
|
|
|
502
535
|
}
|
|
503
536
|
|
|
504
537
|
interface GridListProps {
|
|
505
|
-
children: React
|
|
538
|
+
children: React.ReactNode;
|
|
506
539
|
columns?: 2 | 3 | 4;
|
|
507
540
|
gap?: "sm" | "md" | "lg";
|
|
508
541
|
className?: string;
|
|
509
542
|
}
|
|
510
543
|
declare function GridList({ children, columns, gap, className }: GridListProps): react_jsx_runtime.JSX.Element;
|
|
544
|
+
declare namespace GridList {
|
|
545
|
+
var displayName: string;
|
|
546
|
+
}
|
|
511
547
|
interface GridListCardProps {
|
|
512
548
|
title: string;
|
|
513
549
|
description?: string;
|
|
514
550
|
meta?: string;
|
|
515
551
|
href?: string;
|
|
516
|
-
accent?: React
|
|
517
|
-
trailing?: React
|
|
552
|
+
accent?: React.ReactNode;
|
|
553
|
+
trailing?: React.ReactNode;
|
|
518
554
|
className?: string;
|
|
519
555
|
}
|
|
520
556
|
declare function GridListCard({ title, description, meta, href, accent, trailing, className, }: GridListCardProps): react_jsx_runtime.JSX.Element;
|
|
557
|
+
declare namespace GridListCard {
|
|
558
|
+
var displayName: string;
|
|
559
|
+
}
|
|
521
560
|
interface GridListAccentCardProps {
|
|
522
561
|
title: string;
|
|
523
562
|
meta?: string;
|
|
524
563
|
href?: string;
|
|
525
564
|
accentClass?: string;
|
|
526
565
|
initials?: string;
|
|
527
|
-
trailing?: React
|
|
566
|
+
trailing?: React.ReactNode;
|
|
528
567
|
className?: string;
|
|
529
568
|
}
|
|
530
569
|
declare function GridListAccentCard({ title, meta, href, accentClass, initials, trailing, className, }: GridListAccentCardProps): react_jsx_runtime.JSX.Element;
|
|
570
|
+
declare namespace GridListAccentCard {
|
|
571
|
+
var displayName: string;
|
|
572
|
+
}
|
|
531
573
|
|
|
532
|
-
declare const HoverCardRoot: React
|
|
533
|
-
declare const HoverCardTrigger: React
|
|
534
|
-
declare const HoverCardContent: React
|
|
574
|
+
declare const HoverCardRoot: React.FC<HoverCard.HoverCardProps>;
|
|
575
|
+
declare const HoverCardTrigger: React.ForwardRefExoticComponent<HoverCard.HoverCardTriggerProps & React.RefAttributes<HTMLAnchorElement>>;
|
|
576
|
+
declare const HoverCardContent: React.ForwardRefExoticComponent<Omit<HoverCard.HoverCardContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
535
577
|
|
|
536
|
-
interface InputGroupProps extends React
|
|
537
|
-
leadingAddon?: React
|
|
538
|
-
trailingAddon?: React
|
|
539
|
-
leadingIcon?: React
|
|
540
|
-
trailingIcon?: React
|
|
541
|
-
trailingButton?: React
|
|
578
|
+
interface InputGroupProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
|
579
|
+
leadingAddon?: React.ReactNode;
|
|
580
|
+
trailingAddon?: React.ReactNode;
|
|
581
|
+
leadingIcon?: React.ReactNode;
|
|
582
|
+
trailingIcon?: React.ReactNode;
|
|
583
|
+
trailingButton?: React.ReactNode;
|
|
542
584
|
error?: boolean;
|
|
543
585
|
pill?: boolean;
|
|
544
586
|
wrapperClassName?: string;
|
|
545
587
|
}
|
|
546
|
-
declare const InputGroup: React
|
|
588
|
+
declare const InputGroup: React.ForwardRefExoticComponent<InputGroupProps & React.RefAttributes<HTMLInputElement>>;
|
|
547
589
|
|
|
548
|
-
interface InputNumberProps extends Omit<React
|
|
590
|
+
interface InputNumberProps extends Omit<React.ComponentProps<"input">, "type" | "value" | "onChange"> {
|
|
549
591
|
value: number;
|
|
550
592
|
onChange: (next: number) => void;
|
|
551
593
|
min?: number;
|
|
@@ -562,9 +604,9 @@ interface InputNumberProps extends Omit<React$1.ComponentProps<"input">, "type"
|
|
|
562
604
|
* Numeric input with up/down steppers, unit suffix, and arrow-key step (Shift = 10×).
|
|
563
605
|
* Designed for designer property panels — see PHASE_0_AUDIT.md §P0.2.
|
|
564
606
|
*/
|
|
565
|
-
declare const InputNumber: React
|
|
607
|
+
declare const InputNumber: React.ForwardRefExoticComponent<Omit<InputNumberProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
566
608
|
|
|
567
|
-
declare const InputOTP: React
|
|
609
|
+
declare const InputOTP: React.ForwardRefExoticComponent<(Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "maxLength" | "containerClassName" | "textAlign" | "onComplete" | "pushPasswordManagerStrategy" | "pasteTransformer" | "noScriptCSSFallback"> & {
|
|
568
610
|
value?: string;
|
|
569
611
|
onChange?: (newValue: string) => unknown;
|
|
570
612
|
maxLength: number;
|
|
@@ -575,9 +617,9 @@ declare const InputOTP: React$1.ForwardRefExoticComponent<(Omit<Omit<React$1.Inp
|
|
|
575
617
|
containerClassName?: string;
|
|
576
618
|
noScriptCSSFallback?: string | null;
|
|
577
619
|
} & {
|
|
578
|
-
render: (props: input_otp.RenderProps) => React
|
|
620
|
+
render: (props: input_otp.RenderProps) => React.ReactNode;
|
|
579
621
|
children?: never;
|
|
580
|
-
} & React
|
|
622
|
+
} & React.RefAttributes<HTMLInputElement>, "ref"> | Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "maxLength" | "containerClassName" | "textAlign" | "onComplete" | "pushPasswordManagerStrategy" | "pasteTransformer" | "noScriptCSSFallback"> & {
|
|
581
623
|
value?: string;
|
|
582
624
|
onChange?: (newValue: string) => unknown;
|
|
583
625
|
maxLength: number;
|
|
@@ -589,75 +631,78 @@ declare const InputOTP: React$1.ForwardRefExoticComponent<(Omit<Omit<React$1.Inp
|
|
|
589
631
|
noScriptCSSFallback?: string | null;
|
|
590
632
|
} & {
|
|
591
633
|
render?: never;
|
|
592
|
-
children: React
|
|
593
|
-
} & React
|
|
594
|
-
declare const InputOTPGroup: React
|
|
595
|
-
declare const InputOTPSlot: React
|
|
634
|
+
children: React.ReactNode;
|
|
635
|
+
} & React.RefAttributes<HTMLInputElement>, "ref">) & React.RefAttributes<HTMLInputElement>>;
|
|
636
|
+
declare const InputOTPGroup: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
637
|
+
declare const InputOTPSlot: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
|
|
596
638
|
index: number;
|
|
597
|
-
} & React
|
|
598
|
-
declare const InputOTPSeparator: React
|
|
639
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
640
|
+
declare const InputOTPSeparator: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
599
641
|
|
|
600
|
-
declare function Input({ className, type, ...props }: React
|
|
642
|
+
declare function Input({ className, type, ...props }: React.ComponentProps<"input">): react_jsx_runtime.JSX.Element;
|
|
601
643
|
declare namespace Input {
|
|
602
644
|
var displayName: string;
|
|
603
645
|
}
|
|
604
646
|
|
|
605
|
-
declare const Kbd: React
|
|
647
|
+
declare const Kbd: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
606
648
|
|
|
607
|
-
declare const Label: React
|
|
649
|
+
declare const Label: React.ForwardRefExoticComponent<Omit<Label$1.LabelProps & React.RefAttributes<HTMLLabelElement>, "ref"> & React.RefAttributes<HTMLLabelElement>>;
|
|
608
650
|
|
|
609
651
|
interface MediaObjectProps {
|
|
610
|
-
media: React
|
|
611
|
-
children: React
|
|
652
|
+
media: React.ReactNode;
|
|
653
|
+
children: React.ReactNode;
|
|
612
654
|
mediaPosition?: "left" | "right";
|
|
613
655
|
align?: "top" | "center" | "bottom";
|
|
614
656
|
gap?: "sm" | "md" | "lg";
|
|
615
657
|
className?: string;
|
|
616
658
|
}
|
|
617
659
|
declare function MediaObject({ media, children, mediaPosition, align, gap, className, }: MediaObjectProps): react_jsx_runtime.JSX.Element;
|
|
660
|
+
declare namespace MediaObject {
|
|
661
|
+
var displayName: string;
|
|
662
|
+
}
|
|
618
663
|
|
|
619
|
-
declare const MenubarRoot: React
|
|
664
|
+
declare const MenubarRoot: React.ForwardRefExoticComponent<Omit<Menubar.MenubarProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
620
665
|
declare const MenubarMenu: {
|
|
621
666
|
(props: Menubar.MenubarMenuProps & {
|
|
622
667
|
__scopeMenubar?: _radix_ui_react_context.Scope;
|
|
623
668
|
}): react_jsx_runtime.JSX.Element;
|
|
624
669
|
displayName: string;
|
|
625
670
|
};
|
|
626
|
-
declare const MenubarGroup: React
|
|
627
|
-
declare const MenubarSub: React
|
|
628
|
-
declare const MenubarRadioGroup: React
|
|
629
|
-
declare const MenubarTrigger: React
|
|
630
|
-
declare const MenubarContent: React
|
|
631
|
-
declare const MenubarItem: React
|
|
671
|
+
declare const MenubarGroup: React.ForwardRefExoticComponent<Menubar.MenubarGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
672
|
+
declare const MenubarSub: React.FC<Menubar.MenubarSubProps>;
|
|
673
|
+
declare const MenubarRadioGroup: React.ForwardRefExoticComponent<Menubar.MenubarRadioGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
674
|
+
declare const MenubarTrigger: React.ForwardRefExoticComponent<Omit<Menubar.MenubarTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
675
|
+
declare const MenubarContent: React.ForwardRefExoticComponent<Omit<Menubar.MenubarContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
676
|
+
declare const MenubarItem: React.ForwardRefExoticComponent<Omit<Menubar.MenubarItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
632
677
|
inset?: boolean;
|
|
633
|
-
} & React
|
|
634
|
-
declare const MenubarCheckboxItem: React
|
|
635
|
-
declare const MenubarRadioItem: React
|
|
636
|
-
declare const MenubarLabel: React
|
|
678
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
679
|
+
declare const MenubarCheckboxItem: React.ForwardRefExoticComponent<Omit<Menubar.MenubarCheckboxItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
680
|
+
declare const MenubarRadioItem: React.ForwardRefExoticComponent<Omit<Menubar.MenubarRadioItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
681
|
+
declare const MenubarLabel: React.ForwardRefExoticComponent<Omit<Menubar.MenubarLabelProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
637
682
|
inset?: boolean;
|
|
638
|
-
} & React
|
|
639
|
-
declare const MenubarSeparator: React
|
|
640
|
-
declare const MenubarSubTrigger: React
|
|
683
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
684
|
+
declare const MenubarSeparator: React.ForwardRefExoticComponent<Omit<Menubar.MenubarSeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
685
|
+
declare const MenubarSubTrigger: React.ForwardRefExoticComponent<Omit<Menubar.MenubarSubTriggerProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
641
686
|
inset?: boolean;
|
|
642
|
-
} & React
|
|
643
|
-
declare const MenubarSubContent: React
|
|
644
|
-
declare function MenubarShortcut({ className, ...props }: React
|
|
687
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
688
|
+
declare const MenubarSubContent: React.ForwardRefExoticComponent<Omit<Menubar.MenubarSubContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
689
|
+
declare function MenubarShortcut({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>): react_jsx_runtime.JSX.Element;
|
|
645
690
|
declare namespace MenubarShortcut {
|
|
646
691
|
var displayName: string;
|
|
647
692
|
}
|
|
648
693
|
|
|
649
|
-
declare const NativeSelect: React
|
|
650
|
-
declare const NativeSelectOption: React
|
|
651
|
-
declare const NativeSelectOptGroup: React
|
|
694
|
+
declare const NativeSelect: React.ForwardRefExoticComponent<React.SelectHTMLAttributes<HTMLSelectElement> & React.RefAttributes<HTMLSelectElement>>;
|
|
695
|
+
declare const NativeSelectOption: React.ForwardRefExoticComponent<React.OptionHTMLAttributes<HTMLOptionElement> & React.RefAttributes<HTMLOptionElement>>;
|
|
696
|
+
declare const NativeSelectOptGroup: React.ForwardRefExoticComponent<React.OptgroupHTMLAttributes<HTMLOptGroupElement> & React.RefAttributes<HTMLOptGroupElement>>;
|
|
652
697
|
|
|
653
|
-
declare const NavigationMenuRoot: React
|
|
654
|
-
declare const NavigationMenuList: React
|
|
655
|
-
declare const NavigationMenuItem: React
|
|
656
|
-
declare const NavigationMenuTrigger: React
|
|
657
|
-
declare const NavigationMenuContent: React
|
|
658
|
-
declare const NavigationMenuLink: React
|
|
659
|
-
declare const NavigationMenuViewport: React
|
|
660
|
-
declare const NavigationMenuIndicator: React
|
|
698
|
+
declare const NavigationMenuRoot: React.ForwardRefExoticComponent<Omit<NavigationMenu.NavigationMenuProps & React.RefAttributes<HTMLElement>, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
699
|
+
declare const NavigationMenuList: React.ForwardRefExoticComponent<Omit<NavigationMenu.NavigationMenuListProps & React.RefAttributes<HTMLUListElement>, "ref"> & React.RefAttributes<HTMLUListElement>>;
|
|
700
|
+
declare const NavigationMenuItem: React.ForwardRefExoticComponent<NavigationMenu.NavigationMenuItemProps & React.RefAttributes<HTMLLIElement>>;
|
|
701
|
+
declare const NavigationMenuTrigger: React.ForwardRefExoticComponent<Omit<NavigationMenu.NavigationMenuTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
702
|
+
declare const NavigationMenuContent: React.ForwardRefExoticComponent<Omit<NavigationMenu.NavigationMenuContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
703
|
+
declare const NavigationMenuLink: React.ForwardRefExoticComponent<Omit<NavigationMenu.NavigationMenuLinkProps & React.RefAttributes<HTMLAnchorElement>, "ref"> & React.RefAttributes<HTMLAnchorElement>>;
|
|
704
|
+
declare const NavigationMenuViewport: React.ForwardRefExoticComponent<Omit<NavigationMenu.NavigationMenuViewportProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
705
|
+
declare const NavigationMenuIndicator: React.ForwardRefExoticComponent<Omit<NavigationMenu.NavigationMenuIndicatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
661
706
|
declare function navigationMenuTriggerStyle(): string;
|
|
662
707
|
|
|
663
708
|
interface NotificationAction {
|
|
@@ -668,13 +713,16 @@ interface NotificationAction {
|
|
|
668
713
|
interface NotificationProps {
|
|
669
714
|
title: string;
|
|
670
715
|
description?: string;
|
|
671
|
-
icon?: React
|
|
716
|
+
icon?: React.ReactNode;
|
|
672
717
|
variant?: "default" | "success" | "error" | "warning" | "info";
|
|
673
718
|
actions?: NotificationAction[];
|
|
674
719
|
onClose?: () => void;
|
|
675
720
|
className?: string;
|
|
676
721
|
}
|
|
677
722
|
declare function Notification({ title, description, icon, variant, actions, onClose, className, }: NotificationProps): react_jsx_runtime.JSX.Element;
|
|
723
|
+
declare namespace Notification {
|
|
724
|
+
var displayName: string;
|
|
725
|
+
}
|
|
678
726
|
|
|
679
727
|
interface BreadcrumbItem {
|
|
680
728
|
label: string;
|
|
@@ -688,7 +736,7 @@ interface PageHeadingAction {
|
|
|
688
736
|
primary?: boolean;
|
|
689
737
|
}
|
|
690
738
|
interface PageHeadingMeta {
|
|
691
|
-
icon?: React
|
|
739
|
+
icon?: React.ReactNode;
|
|
692
740
|
text: string;
|
|
693
741
|
}
|
|
694
742
|
interface PageHeadingProps {
|
|
@@ -706,12 +754,12 @@ interface PageHeadingProps {
|
|
|
706
754
|
declare function PageHeading({ title, description, breadcrumbs, actions, meta, badge, className, }: PageHeadingProps): react_jsx_runtime.JSX.Element;
|
|
707
755
|
|
|
708
756
|
declare const Pagination: {
|
|
709
|
-
({ className, ...props }: React
|
|
757
|
+
({ className, ...props }: React.ComponentProps<"nav">): react_jsx_runtime.JSX.Element;
|
|
710
758
|
displayName: string;
|
|
711
759
|
};
|
|
712
|
-
declare const PaginationContent: React
|
|
713
|
-
declare const PaginationItem: React
|
|
714
|
-
type PaginationLinkProps = React
|
|
760
|
+
declare const PaginationContent: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & React.RefAttributes<HTMLUListElement>>;
|
|
761
|
+
declare const PaginationItem: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React.RefAttributes<HTMLLIElement>>;
|
|
762
|
+
type PaginationLinkProps = React.ComponentProps<"a"> & {
|
|
715
763
|
isActive?: boolean;
|
|
716
764
|
};
|
|
717
765
|
declare const PaginationLink: {
|
|
@@ -719,28 +767,28 @@ declare const PaginationLink: {
|
|
|
719
767
|
displayName: string;
|
|
720
768
|
};
|
|
721
769
|
declare const PaginationPrevious: {
|
|
722
|
-
({ className, ...props }: React
|
|
770
|
+
({ className, ...props }: React.ComponentProps<typeof PaginationLink>): react_jsx_runtime.JSX.Element;
|
|
723
771
|
displayName: string;
|
|
724
772
|
};
|
|
725
773
|
declare const PaginationNext: {
|
|
726
|
-
({ className, ...props }: React
|
|
774
|
+
({ className, ...props }: React.ComponentProps<typeof PaginationLink>): react_jsx_runtime.JSX.Element;
|
|
727
775
|
displayName: string;
|
|
728
776
|
};
|
|
729
777
|
declare const PaginationEllipsis: {
|
|
730
|
-
({ className, ...props }: React
|
|
778
|
+
({ className, ...props }: React.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
731
779
|
displayName: string;
|
|
732
780
|
};
|
|
733
781
|
|
|
734
|
-
declare const PopoverRoot: React
|
|
735
|
-
declare const PopoverTrigger: React
|
|
736
|
-
declare const PopoverClose: React
|
|
737
|
-
declare const PopoverContent: React
|
|
782
|
+
declare const PopoverRoot: React.FC<Popover.PopoverProps>;
|
|
783
|
+
declare const PopoverTrigger: React.ForwardRefExoticComponent<Popover.PopoverTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
784
|
+
declare const PopoverClose: React.ForwardRefExoticComponent<Popover.PopoverCloseProps & React.RefAttributes<HTMLButtonElement>>;
|
|
785
|
+
declare const PopoverContent: React.ForwardRefExoticComponent<Omit<Popover.PopoverContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
738
786
|
|
|
739
|
-
declare const ProgressRoot: React
|
|
787
|
+
declare const ProgressRoot: React.ForwardRefExoticComponent<Omit<Progress.ProgressProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
740
788
|
|
|
741
|
-
interface PropertyRowProps extends React
|
|
789
|
+
interface PropertyRowProps extends React.ComponentProps<"div"> {
|
|
742
790
|
/** Optional label rendered on the left. Pass a string or any React node (icon + label, etc.). */
|
|
743
|
-
label?: React
|
|
791
|
+
label?: React.ReactNode;
|
|
744
792
|
/** Width of the label column. Default: 96px. */
|
|
745
793
|
labelWidth?: number | string;
|
|
746
794
|
/** Aligns label vertically with controls. Default: "center". */
|
|
@@ -757,13 +805,16 @@ interface PropertyRowProps extends React$1.ComponentProps<"div"> {
|
|
|
757
805
|
* </PropertyRow>
|
|
758
806
|
*/
|
|
759
807
|
declare function PropertyRow({ label, labelWidth, labelAlign, className, children, ...rest }: PropertyRowProps): react_jsx_runtime.JSX.Element;
|
|
808
|
+
declare namespace PropertyRow {
|
|
809
|
+
var displayName: string;
|
|
810
|
+
}
|
|
760
811
|
|
|
761
812
|
interface RadioCardOption {
|
|
762
813
|
value: string;
|
|
763
814
|
label: string;
|
|
764
815
|
description?: string;
|
|
765
816
|
meta?: string;
|
|
766
|
-
icon?: React
|
|
817
|
+
icon?: React.ReactNode;
|
|
767
818
|
disabled?: boolean;
|
|
768
819
|
}
|
|
769
820
|
interface RadioCardsProps {
|
|
@@ -774,9 +825,12 @@ interface RadioCardsProps {
|
|
|
774
825
|
className?: string;
|
|
775
826
|
}
|
|
776
827
|
declare function RadioCards({ options, value, onValueChange, columns, className }: RadioCardsProps): react_jsx_runtime.JSX.Element;
|
|
828
|
+
declare namespace RadioCards {
|
|
829
|
+
var displayName: string;
|
|
830
|
+
}
|
|
777
831
|
|
|
778
|
-
declare const RadioGroupRoot: React
|
|
779
|
-
declare const RadioGroupItem: React
|
|
832
|
+
declare const RadioGroupRoot: React.ForwardRefExoticComponent<Omit<RadioGroup.RadioGroupProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
833
|
+
declare const RadioGroupItem: React.ForwardRefExoticComponent<Omit<RadioGroup.RadioGroupItemProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
780
834
|
|
|
781
835
|
type ResizablePanelGroupProps = Omit<GroupProps, "orientation"> & {
|
|
782
836
|
/** Alias for `orientation` — matches the common shadcn/ui API. */
|
|
@@ -796,7 +850,7 @@ declare namespace ResizableHandle {
|
|
|
796
850
|
var displayName: string;
|
|
797
851
|
}
|
|
798
852
|
|
|
799
|
-
declare const ScrollAreaRoot: React
|
|
853
|
+
declare const ScrollAreaRoot: React.ForwardRefExoticComponent<Omit<ScrollArea.ScrollAreaProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
800
854
|
|
|
801
855
|
interface SectionHeadingAction {
|
|
802
856
|
label: string;
|
|
@@ -813,36 +867,36 @@ interface SectionHeadingProps {
|
|
|
813
867
|
}
|
|
814
868
|
declare function SectionHeading({ title, description, actions, border, className, }: SectionHeadingProps): react_jsx_runtime.JSX.Element;
|
|
815
869
|
|
|
816
|
-
declare const SelectRoot: React
|
|
817
|
-
declare const SelectGroup: React
|
|
818
|
-
declare const SelectValue: React
|
|
819
|
-
declare const SelectTrigger: React
|
|
820
|
-
declare const SelectContent: React
|
|
821
|
-
declare const SelectItem: React
|
|
822
|
-
declare const SelectLabel: React
|
|
823
|
-
declare const SelectSeparator: React
|
|
870
|
+
declare const SelectRoot: React.FC<Select.SelectProps>;
|
|
871
|
+
declare const SelectGroup: React.ForwardRefExoticComponent<Select.SelectGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
872
|
+
declare const SelectValue: React.ForwardRefExoticComponent<Select.SelectValueProps & React.RefAttributes<HTMLSpanElement>>;
|
|
873
|
+
declare const SelectTrigger: React.ForwardRefExoticComponent<Omit<Select.SelectTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
874
|
+
declare const SelectContent: React.ForwardRefExoticComponent<Omit<Select.SelectContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
875
|
+
declare const SelectItem: React.ForwardRefExoticComponent<Omit<Select.SelectItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
876
|
+
declare const SelectLabel: React.ForwardRefExoticComponent<Omit<Select.SelectLabelProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
877
|
+
declare const SelectSeparator: React.ForwardRefExoticComponent<Omit<Select.SelectSeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
824
878
|
|
|
825
|
-
declare const Separator: React
|
|
879
|
+
declare const Separator: React.ForwardRefExoticComponent<Omit<Separator$1.SeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
826
880
|
|
|
827
|
-
declare const SheetRoot: React
|
|
828
|
-
declare const SheetTrigger: React
|
|
829
|
-
declare const SheetClose: React
|
|
881
|
+
declare const SheetRoot: React.FC<Dialog.DialogProps>;
|
|
882
|
+
declare const SheetTrigger: React.ForwardRefExoticComponent<Dialog.DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
883
|
+
declare const SheetClose: React.ForwardRefExoticComponent<Dialog.DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
|
|
830
884
|
declare const sheetContentVariants: (props?: ({
|
|
831
885
|
side?: "left" | "right" | "top" | "bottom" | null | undefined;
|
|
832
886
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
833
|
-
interface SheetContentProps extends React
|
|
887
|
+
interface SheetContentProps extends React.ComponentPropsWithoutRef<typeof Dialog.Content>, VariantProps<typeof sheetContentVariants> {
|
|
834
888
|
}
|
|
835
|
-
declare const SheetContent: React
|
|
836
|
-
declare function SheetHeader({ className, ...props }: React
|
|
889
|
+
declare const SheetContent: React.ForwardRefExoticComponent<SheetContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
890
|
+
declare function SheetHeader({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
837
891
|
declare namespace SheetHeader {
|
|
838
892
|
var displayName: string;
|
|
839
893
|
}
|
|
840
|
-
declare function SheetFooter({ className, ...props }: React
|
|
894
|
+
declare function SheetFooter({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
841
895
|
declare namespace SheetFooter {
|
|
842
896
|
var displayName: string;
|
|
843
897
|
}
|
|
844
|
-
declare const SheetTitle: React
|
|
845
|
-
declare const SheetDescription: React
|
|
898
|
+
declare const SheetTitle: React.ForwardRefExoticComponent<Omit<Dialog.DialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
899
|
+
declare const SheetDescription: React.ForwardRefExoticComponent<Omit<Dialog.DialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
|
|
846
900
|
|
|
847
901
|
interface SidebarContextValue {
|
|
848
902
|
state: "expanded" | "collapsed";
|
|
@@ -851,62 +905,62 @@ interface SidebarContextValue {
|
|
|
851
905
|
toggleSidebar: () => void;
|
|
852
906
|
}
|
|
853
907
|
declare function useSidebar(): SidebarContextValue;
|
|
854
|
-
interface SidebarProviderProps extends React
|
|
908
|
+
interface SidebarProviderProps extends React.ComponentProps<"div"> {
|
|
855
909
|
defaultOpen?: boolean;
|
|
856
910
|
open?: boolean;
|
|
857
911
|
onOpenChange?: (open: boolean) => void;
|
|
858
912
|
}
|
|
859
913
|
declare function SidebarProvider({ defaultOpen, open: openProp, onOpenChange, className, style, children, ...props }: SidebarProviderProps): react_jsx_runtime.JSX.Element;
|
|
860
|
-
interface SidebarProps extends React
|
|
914
|
+
interface SidebarProps extends React.ComponentProps<"aside"> {
|
|
861
915
|
side?: "left" | "right";
|
|
862
916
|
variant?: "sidebar" | "floating" | "inset";
|
|
863
917
|
collapsible?: "offcanvas" | "icon" | "none";
|
|
864
918
|
}
|
|
865
919
|
declare function Sidebar({ side, variant, collapsible, className, children, ...props }: SidebarProps): react_jsx_runtime.JSX.Element;
|
|
866
|
-
declare function SidebarTrigger({ className, onClick, ...props }: React
|
|
867
|
-
declare function SidebarRail({ className, ...props }: React
|
|
868
|
-
declare function SidebarInset({ className, ...props }: React
|
|
869
|
-
declare function SidebarHeader({ className, ...props }: React
|
|
870
|
-
declare function SidebarContent({ className, ...props }: React
|
|
871
|
-
declare function SidebarFooter({ className, ...props }: React
|
|
872
|
-
declare function SidebarSeparator({ className, ...props }: React
|
|
873
|
-
declare function SidebarGroup({ className, ...props }: React
|
|
874
|
-
declare function SidebarGroupLabel({ className, asChild, ...props }: React
|
|
920
|
+
declare function SidebarTrigger({ className, onClick, ...props }: React.ComponentProps<typeof Button>): react_jsx_runtime.JSX.Element;
|
|
921
|
+
declare function SidebarRail({ className, ...props }: React.ComponentProps<"button">): react_jsx_runtime.JSX.Element;
|
|
922
|
+
declare function SidebarInset({ className, ...props }: React.ComponentProps<"main">): react_jsx_runtime.JSX.Element;
|
|
923
|
+
declare function SidebarHeader({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
924
|
+
declare function SidebarContent({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
925
|
+
declare function SidebarFooter({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
926
|
+
declare function SidebarSeparator({ className, ...props }: React.ComponentProps<typeof Separator>): react_jsx_runtime.JSX.Element;
|
|
927
|
+
declare function SidebarGroup({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
928
|
+
declare function SidebarGroupLabel({ className, asChild, ...props }: React.ComponentProps<"div"> & {
|
|
875
929
|
asChild?: boolean;
|
|
876
930
|
}): react_jsx_runtime.JSX.Element;
|
|
877
|
-
declare function SidebarGroupContent({ className, ...props }: React
|
|
878
|
-
declare function SidebarGroupAction({ className, asChild, ...props }: React
|
|
931
|
+
declare function SidebarGroupContent({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
932
|
+
declare function SidebarGroupAction({ className, asChild, ...props }: React.ComponentProps<"button"> & {
|
|
879
933
|
asChild?: boolean;
|
|
880
934
|
}): react_jsx_runtime.JSX.Element;
|
|
881
|
-
declare function SidebarMenu({ className, ...props }: React
|
|
882
|
-
declare function SidebarMenuItem({ className, ...props }: React
|
|
883
|
-
interface SidebarMenuButtonProps extends React
|
|
935
|
+
declare function SidebarMenu({ className, ...props }: React.ComponentProps<"ul">): react_jsx_runtime.JSX.Element;
|
|
936
|
+
declare function SidebarMenuItem({ className, ...props }: React.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
|
|
937
|
+
interface SidebarMenuButtonProps extends React.ComponentProps<"button"> {
|
|
884
938
|
asChild?: boolean;
|
|
885
939
|
isActive?: boolean;
|
|
886
940
|
tooltip?: string;
|
|
887
941
|
size?: "default" | "sm" | "lg";
|
|
888
942
|
}
|
|
889
943
|
declare function SidebarMenuButton({ asChild, isActive, tooltip, size, className, children, ...props }: SidebarMenuButtonProps): react_jsx_runtime.JSX.Element;
|
|
890
|
-
interface SidebarMenuActionProps extends React
|
|
944
|
+
interface SidebarMenuActionProps extends React.ComponentProps<"button"> {
|
|
891
945
|
asChild?: boolean;
|
|
892
946
|
showOnHover?: boolean;
|
|
893
947
|
}
|
|
894
948
|
declare function SidebarMenuAction({ className, asChild, showOnHover, ...props }: SidebarMenuActionProps): react_jsx_runtime.JSX.Element;
|
|
895
|
-
declare function SidebarMenuBadge({ className, ...props }: React
|
|
896
|
-
declare function SidebarMenuSkeleton({ className, showIcon, ...props }: React
|
|
949
|
+
declare function SidebarMenuBadge({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
950
|
+
declare function SidebarMenuSkeleton({ className, showIcon, ...props }: React.ComponentProps<"div"> & {
|
|
897
951
|
showIcon?: boolean;
|
|
898
952
|
}): react_jsx_runtime.JSX.Element;
|
|
899
|
-
declare function SidebarMenuSub({ className, ...props }: React
|
|
900
|
-
declare function SidebarMenuSubItem({ className, ...props }: React
|
|
901
|
-
interface SidebarMenuSubButtonProps extends React
|
|
953
|
+
declare function SidebarMenuSub({ className, ...props }: React.ComponentProps<"ul">): react_jsx_runtime.JSX.Element;
|
|
954
|
+
declare function SidebarMenuSubItem({ className, ...props }: React.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
|
|
955
|
+
interface SidebarMenuSubButtonProps extends React.ComponentProps<"a"> {
|
|
902
956
|
asChild?: boolean;
|
|
903
957
|
isActive?: boolean;
|
|
904
958
|
}
|
|
905
959
|
declare function SidebarMenuSubButton({ asChild, isActive, className, ...props }: SidebarMenuSubButtonProps): react_jsx_runtime.JSX.Element;
|
|
906
960
|
|
|
907
|
-
declare function Skeleton({ className, ...props }: React
|
|
961
|
+
declare function Skeleton({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
908
962
|
|
|
909
|
-
declare const SliderRoot: React
|
|
963
|
+
declare const SliderRoot: React.ForwardRefExoticComponent<Omit<Slider.SliderProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
910
964
|
|
|
911
965
|
type ToasterProps = React.ComponentProps<typeof Toaster$1>;
|
|
912
966
|
declare function Toaster({ ...props }: ToasterProps): react_jsx_runtime.JSX.Element;
|
|
@@ -914,19 +968,19 @@ declare function Toaster({ ...props }: ToasterProps): react_jsx_runtime.JSX.Elem
|
|
|
914
968
|
declare const spinnerVariants: (props?: ({
|
|
915
969
|
size?: "default" | "xs" | "sm" | "lg" | "xl" | null | undefined;
|
|
916
970
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
917
|
-
interface SpinnerProps extends React
|
|
971
|
+
interface SpinnerProps extends React.HTMLAttributes<HTMLSpanElement>, VariantProps<typeof spinnerVariants> {
|
|
918
972
|
}
|
|
919
973
|
declare function Spinner({ className, size, ...props }: SpinnerProps): react_jsx_runtime.JSX.Element;
|
|
920
974
|
|
|
921
975
|
interface StackedListProps {
|
|
922
|
-
children: React
|
|
976
|
+
children: React.ReactNode;
|
|
923
977
|
divided?: boolean;
|
|
924
978
|
bordered?: boolean;
|
|
925
979
|
className?: string;
|
|
926
980
|
}
|
|
927
981
|
declare function StackedList({ children, divided, bordered, className }: StackedListProps): react_jsx_runtime.JSX.Element;
|
|
928
982
|
interface StackedListItemProps {
|
|
929
|
-
children: React
|
|
983
|
+
children: React.ReactNode;
|
|
930
984
|
href?: string;
|
|
931
985
|
onClick?: () => void;
|
|
932
986
|
className?: string;
|
|
@@ -940,10 +994,13 @@ interface StatCardProps {
|
|
|
940
994
|
value: string;
|
|
941
995
|
direction: "up" | "down" | "neutral";
|
|
942
996
|
};
|
|
943
|
-
icon?: React
|
|
997
|
+
icon?: React.ReactNode;
|
|
944
998
|
className?: string;
|
|
945
999
|
}
|
|
946
1000
|
declare function StatCard({ label, value, trend, icon, className }: StatCardProps): react_jsx_runtime.JSX.Element;
|
|
1001
|
+
declare namespace StatCard {
|
|
1002
|
+
var displayName: string;
|
|
1003
|
+
}
|
|
947
1004
|
|
|
948
1005
|
type StepStatus = "complete" | "current" | "upcoming";
|
|
949
1006
|
interface Step {
|
|
@@ -959,47 +1016,50 @@ interface StepsProps {
|
|
|
959
1016
|
className?: string;
|
|
960
1017
|
}
|
|
961
1018
|
declare function Steps({ steps, variant, className }: StepsProps): react_jsx_runtime.JSX.Element;
|
|
1019
|
+
declare namespace Steps {
|
|
1020
|
+
var displayName: string;
|
|
1021
|
+
}
|
|
962
1022
|
|
|
963
|
-
declare const SwitchRoot: React
|
|
1023
|
+
declare const SwitchRoot: React.ForwardRefExoticComponent<Omit<Switch.SwitchProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
964
1024
|
|
|
965
|
-
declare const Table: React
|
|
1025
|
+
declare const Table: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableElement> & {
|
|
966
1026
|
containerClassName?: string;
|
|
967
|
-
} & React
|
|
968
|
-
declare const TableHeader: React
|
|
969
|
-
declare const TableBody: React
|
|
970
|
-
declare const TableFooter: React
|
|
971
|
-
declare const TableRow: React
|
|
972
|
-
declare const TableHead: React
|
|
973
|
-
declare const TableCell: React
|
|
974
|
-
declare const TableCaption: React
|
|
975
|
-
|
|
976
|
-
declare const TabsRoot: React
|
|
977
|
-
declare const TabsList: React
|
|
978
|
-
declare const TabsTrigger: React
|
|
979
|
-
declare const TabsContent: React
|
|
980
|
-
|
|
981
|
-
declare function Textarea({ className, ...props }: React
|
|
982
|
-
|
|
983
|
-
declare const ToggleGroupRoot: React
|
|
1027
|
+
} & React.RefAttributes<HTMLTableElement>>;
|
|
1028
|
+
declare const TableHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & React.RefAttributes<HTMLTableSectionElement>>;
|
|
1029
|
+
declare const TableBody: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & React.RefAttributes<HTMLTableSectionElement>>;
|
|
1030
|
+
declare const TableFooter: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & React.RefAttributes<HTMLTableSectionElement>>;
|
|
1031
|
+
declare const TableRow: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableRowElement> & React.RefAttributes<HTMLTableRowElement>>;
|
|
1032
|
+
declare const TableHead: React.ForwardRefExoticComponent<React.ThHTMLAttributes<HTMLTableCellElement> & React.RefAttributes<HTMLTableCellElement>>;
|
|
1033
|
+
declare const TableCell: React.ForwardRefExoticComponent<React.TdHTMLAttributes<HTMLTableCellElement> & React.RefAttributes<HTMLTableCellElement>>;
|
|
1034
|
+
declare const TableCaption: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableCaptionElement> & React.RefAttributes<HTMLTableCaptionElement>>;
|
|
1035
|
+
|
|
1036
|
+
declare const TabsRoot: React.ForwardRefExoticComponent<Omit<Tabs.TabsProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1037
|
+
declare const TabsList: React.ForwardRefExoticComponent<Omit<Tabs.TabsListProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1038
|
+
declare const TabsTrigger: React.ForwardRefExoticComponent<Omit<Tabs.TabsTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
1039
|
+
declare const TabsContent: React.ForwardRefExoticComponent<Omit<Tabs.TabsContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1040
|
+
|
|
1041
|
+
declare function Textarea({ className, ...props }: React.ComponentProps<"textarea">): react_jsx_runtime.JSX.Element;
|
|
1042
|
+
|
|
1043
|
+
declare const ToggleGroupRoot: React.ForwardRefExoticComponent<((Omit<ToggleGroup.ToggleGroupSingleProps & React.RefAttributes<HTMLDivElement>, "ref"> | Omit<ToggleGroup.ToggleGroupMultipleProps & React.RefAttributes<HTMLDivElement>, "ref">) & VariantProps<(props?: ({
|
|
984
1044
|
variant?: "default" | "outline" | "brand" | null | undefined;
|
|
985
1045
|
size?: "default" | "sm" | "lg" | "icon" | "icon-sm" | "icon-lg" | null | undefined;
|
|
986
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string>) & React
|
|
987
|
-
declare const ToggleGroupItem: React
|
|
1046
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string>) & React.RefAttributes<HTMLDivElement>>;
|
|
1047
|
+
declare const ToggleGroupItem: React.ForwardRefExoticComponent<Omit<ToggleGroup.ToggleGroupItemProps & React.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
|
|
988
1048
|
variant?: "default" | "outline" | "brand" | null | undefined;
|
|
989
1049
|
size?: "default" | "sm" | "lg" | "icon" | "icon-sm" | "icon-lg" | null | undefined;
|
|
990
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string> & React
|
|
1050
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string> & React.RefAttributes<HTMLButtonElement>>;
|
|
991
1051
|
|
|
992
1052
|
declare const toggleVariants: (props?: ({
|
|
993
1053
|
variant?: "default" | "outline" | "brand" | null | undefined;
|
|
994
1054
|
size?: "default" | "sm" | "lg" | "icon" | "icon-sm" | "icon-lg" | null | undefined;
|
|
995
1055
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
996
|
-
interface ToggleProps extends React
|
|
1056
|
+
interface ToggleProps extends React.ComponentPropsWithoutRef<typeof Toggle.Root>, VariantProps<typeof toggleVariants> {
|
|
997
1057
|
}
|
|
998
|
-
declare const ToggleRoot: React
|
|
1058
|
+
declare const ToggleRoot: React.ForwardRefExoticComponent<ToggleProps & React.RefAttributes<HTMLButtonElement>>;
|
|
999
1059
|
|
|
1000
|
-
declare function TooltipProvider({ children, ...props }: React
|
|
1001
|
-
declare const TooltipRoot: React
|
|
1002
|
-
declare const TooltipTrigger: React
|
|
1003
|
-
declare const TooltipContent: React
|
|
1060
|
+
declare function TooltipProvider({ children, ...props }: React.ComponentPropsWithoutRef<typeof Tooltip.Provider>): react_jsx_runtime.JSX.Element;
|
|
1061
|
+
declare const TooltipRoot: React.FC<Tooltip.TooltipProps>;
|
|
1062
|
+
declare const TooltipTrigger: React.ForwardRefExoticComponent<Tooltip.TooltipTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
1063
|
+
declare const TooltipContent: React.ForwardRefExoticComponent<Omit<Tooltip.TooltipContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1004
1064
|
|
|
1005
1065
|
export { AccordionRoot as Accordion, AccordionContent, AccordionItem, AccordionTrigger, ActionPanel, ActivityFeed, Alert, AlertDescription, AlertDialogRoot as AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AspectRatioRoot as AspectRatio, Avatar, AvatarFallback, AvatarImage, AvatarStack, type AvatarStackItem, AvatarWithStatus, Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem$1 as BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, ButtonGroupItem, CHART_COLORS, Calendar, type CalendarProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardHeading, CardMedia, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, ChartContainer, ChartTooltip, CheckboxRoot as Checkbox, CollapsibleRoot as Collapsible, CollapsibleContent, CollapsibleTrigger, ColorInput, type ColorInputProps, ColorPicker, type ColorPickerProps, Combobox, type ComboboxOption, Command, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandPalette, type CommandPaletteItem, CommandSeparator, CommandShortcut, ContextMenuRoot as ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, DataTable, DatePicker, type DescriptionItem, DescriptionList, DialogRoot as Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogTitle, DialogTrigger, DrawerRoot as Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenuRoot as DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmptyState, type FeedEvent, Field, GridList, GridListAccentCard, GridListCard, HoverCardRoot as HoverCard, HoverCardContent, HoverCardTrigger, Input, InputGroup, InputNumber, type InputNumberProps, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Kbd, Label, MediaObject, MenubarRoot as Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, NativeSelect, NativeSelectOptGroup, NativeSelectOption, NavigationMenuRoot as NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, Notification, PageHeading, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PopoverRoot as Popover, PopoverClose, PopoverContent, PopoverTrigger, ProgressRoot as Progress, PropertyRow, type PropertyRowProps, type RadioCardOption, RadioCards, RadioGroupRoot as RadioGroup, RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, ScrollAreaRoot as ScrollArea, SectionHeading, SelectRoot as Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, SelectValue, Separator, SheetRoot as Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, SliderRoot as Slider, Spinner, StackedList, StackedListItem, StatCard, type Step, type StepStatus, Steps, SwitchRoot as Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, TabsRoot as Tabs, TabsContent, TabsList, TabsTrigger, Textarea, Toaster, ToggleRoot as Toggle, ToggleGroupRoot as ToggleGroup, ToggleGroupItem, TooltipRoot as Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, badgeVariants, buttonVariants, cardVariants, cn, formatDate, navigationMenuTriggerStyle, spinnerVariants, toggleVariants, useSidebar };
|