@clidey/ux 0.38.0 → 0.40.0
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 +296 -212
- package/dist/app.d.ts +3 -0
- package/dist/app.d.ts.map +1 -0
- package/dist/components/theme/provider.d.ts +14 -0
- package/dist/components/theme/provider.d.ts.map +1 -0
- package/dist/components/theme/toggle.d.ts +2 -0
- package/dist/components/theme/toggle.d.ts.map +1 -0
- package/dist/components/ui/accordion.d.ts +8 -0
- package/dist/components/ui/accordion.d.ts.map +1 -0
- package/dist/components/ui/alert-dialog.d.ts +15 -0
- package/dist/components/ui/alert-dialog.d.ts.map +1 -0
- package/dist/components/ui/alert.d.ts +10 -0
- package/dist/components/ui/alert.d.ts.map +1 -0
- package/dist/components/ui/badge.d.ts +10 -0
- package/dist/components/ui/badge.d.ts.map +1 -0
- package/dist/components/ui/breadcrumb.d.ts +12 -0
- package/dist/components/ui/breadcrumb.d.ts.map +1 -0
- package/dist/components/ui/button-group.d.ts +12 -0
- package/dist/components/ui/button-group.d.ts.map +1 -0
- package/dist/components/ui/button.d.ts +10 -0
- package/dist/components/ui/button.d.ts.map +1 -0
- package/dist/components/ui/card.d.ts +10 -0
- package/dist/components/ui/card.d.ts.map +1 -0
- package/dist/components/ui/chart.d.ts +57 -0
- package/dist/components/ui/chart.d.ts.map +1 -0
- package/dist/components/ui/checkbox.d.ts +5 -0
- package/dist/components/ui/checkbox.d.ts.map +1 -0
- package/dist/components/ui/command.d.ts +19 -0
- package/dist/components/ui/command.d.ts.map +1 -0
- package/dist/components/ui/context-menu.d.ts +26 -0
- package/dist/components/ui/context-menu.d.ts.map +1 -0
- package/dist/components/ui/dialog.d.ts +16 -0
- package/dist/components/ui/dialog.d.ts.map +1 -0
- package/dist/components/ui/drawer.d.ts +14 -0
- package/dist/components/ui/drawer.d.ts.map +1 -0
- package/dist/components/ui/dropdown-menu.d.ts +26 -0
- package/dist/components/ui/dropdown-menu.d.ts.map +1 -0
- package/dist/components/ui/empty-state.d.ts +8 -0
- package/dist/components/ui/empty-state.d.ts.map +1 -0
- package/dist/components/ui/icon.d.ts +14 -0
- package/dist/components/ui/icon.d.ts.map +1 -0
- package/dist/components/ui/input.d.ts +9 -0
- package/dist/components/ui/input.d.ts.map +1 -0
- package/dist/components/ui/label.d.ts +5 -0
- package/dist/components/ui/label.d.ts.map +1 -0
- package/dist/components/ui/pagination.d.ts +14 -0
- package/dist/components/ui/pagination.d.ts.map +1 -0
- package/dist/components/ui/popover.d.ts +8 -0
- package/dist/components/ui/popover.d.ts.map +1 -0
- package/dist/components/ui/progress.d.ts +5 -0
- package/dist/components/ui/progress.d.ts.map +1 -0
- package/dist/components/ui/resizable.d.ts +9 -0
- package/dist/components/ui/resizable.d.ts.map +1 -0
- package/dist/components/ui/scroll-area.d.ts +6 -0
- package/dist/components/ui/scroll-area.d.ts.map +1 -0
- package/dist/components/ui/select.d.ts +46 -0
- package/dist/components/ui/select.d.ts.map +1 -0
- package/dist/components/ui/separator.d.ts +5 -0
- package/dist/components/ui/separator.d.ts.map +1 -0
- package/dist/components/ui/sheet.d.ts +15 -0
- package/dist/components/ui/sheet.d.ts.map +1 -0
- package/dist/components/ui/sidebar.d.ts +72 -0
- package/dist/components/ui/sidebar.d.ts.map +1 -0
- package/dist/components/ui/skeleton.d.ts +3 -0
- package/dist/components/ui/skeleton.d.ts.map +1 -0
- package/dist/components/ui/sonner.d.ts +4 -0
- package/dist/components/ui/sonner.d.ts.map +1 -0
- package/dist/components/ui/spinner.d.ts +13 -0
- package/dist/components/ui/spinner.d.ts.map +1 -0
- package/dist/components/ui/stack-list.d.ts +17 -0
- package/dist/components/ui/stack-list.d.ts.map +1 -0
- package/dist/components/ui/switch.d.ts +5 -0
- package/dist/components/ui/switch.d.ts.map +1 -0
- package/dist/components/ui/table.d.ts +42 -0
- package/dist/components/ui/table.d.ts.map +1 -0
- package/dist/components/ui/tabs.d.ts +8 -0
- package/dist/components/ui/tabs.d.ts.map +1 -0
- package/dist/components/ui/tooltip.d.ts +8 -0
- package/dist/components/ui/tooltip.d.ts.map +1 -0
- package/dist/components/ui/tree.d.ts +17 -0
- package/dist/components/ui/tree.d.ts.map +1 -0
- package/dist/hooks/use-mobile.d.ts +2 -0
- package/dist/hooks/use-mobile.d.ts.map +1 -0
- package/dist/index.d.ts +41 -654
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +1892 -1842
- package/dist/lib/use-resize-observer.d.ts +6 -0
- package/dist/lib/use-resize-observer.d.ts.map +1 -0
- package/dist/lib/utils.d.ts +5 -0
- package/dist/lib/utils.d.ts.map +1 -0
- package/dist/showcases/buttons-showcase.d.ts +2 -0
- package/dist/showcases/buttons-showcase.d.ts.map +1 -0
- package/dist/showcases/charts-showcase.d.ts +2 -0
- package/dist/showcases/charts-showcase.d.ts.map +1 -0
- package/dist/showcases/data-showcase.d.ts +2 -0
- package/dist/showcases/data-showcase.d.ts.map +1 -0
- package/dist/showcases/feedback-showcase.d.ts +2 -0
- package/dist/showcases/feedback-showcase.d.ts.map +1 -0
- package/dist/showcases/forms-showcase.d.ts +2 -0
- package/dist/showcases/forms-showcase.d.ts.map +1 -0
- package/dist/showcases/layout-showcase.d.ts +2 -0
- package/dist/showcases/layout-showcase.d.ts.map +1 -0
- package/dist/showcases/navigation-showcase.d.ts +2 -0
- package/dist/showcases/navigation-showcase.d.ts.map +1 -0
- package/dist/showcases/overlays-showcase.d.ts +2 -0
- package/dist/showcases/overlays-showcase.d.ts.map +1 -0
- package/dist/styles.css +1 -1
- package/package.json +3 -4
- package/dist/styles.css.d.ts +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,654 +1,41 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
export
|
|
31
|
-
|
|
32
|
-
export
|
|
33
|
-
|
|
34
|
-
export
|
|
35
|
-
|
|
36
|
-
export
|
|
37
|
-
|
|
38
|
-
export
|
|
39
|
-
|
|
40
|
-
export
|
|
41
|
-
|
|
42
|
-
export declare function AlertDialog({ ...props }: React_2.ComponentProps<typeof AlertDialogPrimitive.Root>): JSX.Element;
|
|
43
|
-
|
|
44
|
-
export declare function AlertDialogAction({ className, ...props }: React_2.ComponentProps<typeof AlertDialogPrimitive.Action>): JSX.Element;
|
|
45
|
-
|
|
46
|
-
export declare function AlertDialogCancel({ className, ...props }: React_2.ComponentProps<typeof AlertDialogPrimitive.Cancel>): JSX.Element;
|
|
47
|
-
|
|
48
|
-
export declare function AlertDialogContent({ className, ...props }: React_2.ComponentProps<typeof AlertDialogPrimitive.Content>): JSX.Element;
|
|
49
|
-
|
|
50
|
-
export declare function AlertDialogDescription({ className, ...props }: React_2.ComponentProps<typeof AlertDialogPrimitive.Description>): JSX.Element;
|
|
51
|
-
|
|
52
|
-
export declare function AlertDialogFooter({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
53
|
-
|
|
54
|
-
export declare function AlertDialogHeader({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
55
|
-
|
|
56
|
-
export declare function AlertDialogTitle({ className, ...props }: React_2.ComponentProps<typeof AlertDialogPrimitive.Title>): JSX.Element;
|
|
57
|
-
|
|
58
|
-
export declare function AlertDialogTrigger({ ...props }: React_2.ComponentProps<typeof AlertDialogPrimitive.Trigger>): JSX.Element;
|
|
59
|
-
|
|
60
|
-
export declare function AlertTitle({ className, ...props }: React_2.ComponentProps<"p">): JSX.Element;
|
|
61
|
-
|
|
62
|
-
declare const alertVariants: (props?: ({
|
|
63
|
-
variant?: "default" | "destructive" | null | undefined;
|
|
64
|
-
} & ClassProp) | undefined) => string;
|
|
65
|
-
|
|
66
|
-
export declare function Badge({ className, variant, asChild, ...props }: React_2.ComponentProps<"span"> & VariantProps<typeof badgeVariants> & {
|
|
67
|
-
asChild?: boolean;
|
|
68
|
-
}): JSX.Element;
|
|
69
|
-
|
|
70
|
-
declare const badgeVariants: (props?: ({
|
|
71
|
-
variant?: "default" | "secondary" | "destructive" | "outline" | null | undefined;
|
|
72
|
-
} & ClassProp) | undefined) => string;
|
|
73
|
-
|
|
74
|
-
export declare function Breadcrumb({ ...props }: React_2.ComponentProps<"nav">): JSX.Element;
|
|
75
|
-
|
|
76
|
-
export declare function BreadcrumbItem({ className, ...props }: React_2.ComponentProps<"li">): JSX.Element;
|
|
77
|
-
|
|
78
|
-
export declare function BreadcrumbLink({ asChild, className, ...props }: React_2.ComponentProps<"a"> & {
|
|
79
|
-
asChild?: boolean;
|
|
80
|
-
}): JSX.Element;
|
|
81
|
-
|
|
82
|
-
export declare function BreadcrumbList({ className, ...props }: React_2.ComponentProps<"ol">): JSX.Element;
|
|
83
|
-
|
|
84
|
-
export declare function BreadcrumbPage({ className, ...props }: React_2.ComponentProps<"span">): JSX.Element;
|
|
85
|
-
|
|
86
|
-
export declare function BreadcrumbSeparator({ children, className, ...props }: React_2.ComponentProps<"li">): JSX.Element;
|
|
87
|
-
|
|
88
|
-
export declare function Button({ className, variant, size, asChild, ...props }: React_2.ComponentProps<"button"> & VariantProps<typeof buttonVariants> & {
|
|
89
|
-
asChild?: boolean;
|
|
90
|
-
}): JSX.Element;
|
|
91
|
-
|
|
92
|
-
export declare function ButtonGroup({ className, orientation, ...props }: React.ComponentProps<"div"> & VariantProps<typeof buttonGroupVariants>): JSX.Element;
|
|
93
|
-
|
|
94
|
-
export declare function ButtonGroupSeparator({ className, orientation, ...props }: React.ComponentProps<typeof Separator>): JSX.Element;
|
|
95
|
-
|
|
96
|
-
export declare function ButtonGroupText({ className, asChild, ...props }: React.ComponentProps<"div"> & {
|
|
97
|
-
asChild?: boolean;
|
|
98
|
-
}): JSX.Element;
|
|
99
|
-
|
|
100
|
-
declare const buttonGroupVariants: (props?: ({
|
|
101
|
-
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
102
|
-
} & ClassProp) | undefined) => string;
|
|
103
|
-
|
|
104
|
-
declare const buttonVariants: (props?: ({
|
|
105
|
-
variant?: "default" | "secondary" | "destructive" | "outline" | "link" | "ghost" | null | undefined;
|
|
106
|
-
size?: "default" | "sm" | "lg" | "icon" | null | undefined;
|
|
107
|
-
} & ClassProp) | undefined) => string;
|
|
108
|
-
|
|
109
|
-
export declare function Card({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
110
|
-
|
|
111
|
-
export declare function CardContent({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
112
|
-
|
|
113
|
-
export declare function CardDescription({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
114
|
-
|
|
115
|
-
export declare function CardFooter({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
116
|
-
|
|
117
|
-
export declare function CardHeader({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
118
|
-
|
|
119
|
-
export declare function CardTitle({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
120
|
-
|
|
121
|
-
declare type ChartConfig = {
|
|
122
|
-
[k in string]: {
|
|
123
|
-
label?: React_2.ReactNode;
|
|
124
|
-
icon?: React_2.ComponentType;
|
|
125
|
-
} & ({
|
|
126
|
-
color?: string;
|
|
127
|
-
theme?: never;
|
|
128
|
-
} | {
|
|
129
|
-
color?: never;
|
|
130
|
-
theme: Record<keyof typeof THEMES, string>;
|
|
131
|
-
});
|
|
132
|
-
};
|
|
133
|
-
|
|
134
|
-
export declare function ChartContainer({ id, className, children, config, ...props }: React_2.ComponentProps<"div"> & {
|
|
135
|
-
config: ChartConfig;
|
|
136
|
-
children: React_2.ComponentProps<typeof RechartsPrimitive.ResponsiveContainer>["children"];
|
|
137
|
-
}): JSX.Element;
|
|
138
|
-
|
|
139
|
-
export declare const ChartLegend: typeof RechartsPrimitive.Legend;
|
|
140
|
-
|
|
141
|
-
export declare function ChartLegendContent({ className, hideIcon, payload, verticalAlign, nameKey, }: React_2.ComponentProps<"div"> & {
|
|
142
|
-
hideIcon?: boolean;
|
|
143
|
-
nameKey?: string;
|
|
144
|
-
payload?: PayloadItem[];
|
|
145
|
-
verticalAlign?: "top" | "bottom";
|
|
146
|
-
}): JSX.Element | null;
|
|
147
|
-
|
|
148
|
-
export declare const ChartStyle: ({ id, config }: {
|
|
149
|
-
id: string;
|
|
150
|
-
config: ChartConfig;
|
|
151
|
-
}) => JSX.Element | null;
|
|
152
|
-
|
|
153
|
-
export declare const ChartTooltip: typeof RechartsPrimitive.Tooltip;
|
|
154
|
-
|
|
155
|
-
export declare function ChartTooltipContent({ active, payload, className, indicator, hideLabel, hideIndicator, label, labelFormatter, labelClassName, formatter, color, nameKey, labelKey, }: React_2.ComponentProps<typeof RechartsPrimitive.Tooltip> & React_2.ComponentProps<"div"> & {
|
|
156
|
-
hideLabel?: boolean;
|
|
157
|
-
hideIndicator?: boolean;
|
|
158
|
-
indicator?: "line" | "dot" | "dashed";
|
|
159
|
-
nameKey?: string;
|
|
160
|
-
labelKey?: string;
|
|
161
|
-
payload?: PayloadItem[];
|
|
162
|
-
label?: string;
|
|
163
|
-
}): JSX.Element | null;
|
|
164
|
-
|
|
165
|
-
export declare function Checkbox({ className, ...props }: React_2.ComponentProps<typeof CheckboxPrimitive.Root>): JSX.Element;
|
|
166
|
-
|
|
167
|
-
export declare function cn(...inputs: ClassValue[]): string;
|
|
168
|
-
|
|
169
|
-
export declare function Command({ className, ...props }: React_2.ComponentProps<typeof Command_2>): JSX.Element;
|
|
170
|
-
|
|
171
|
-
export declare function CommandEmpty({ ...props }: React_2.ComponentProps<typeof Command_2.Empty>): JSX.Element;
|
|
172
|
-
|
|
173
|
-
export declare function CommandGroup({ className, ...props }: React_2.ComponentProps<typeof Command_2.Group>): JSX.Element;
|
|
174
|
-
|
|
175
|
-
export declare function CommandInput({ className, ...props }: React_2.ComponentProps<typeof Command_2.Input>): JSX.Element;
|
|
176
|
-
|
|
177
|
-
export declare function CommandItem({ className, ...props }: React_2.ComponentProps<typeof Command_2.Item>): JSX.Element;
|
|
178
|
-
|
|
179
|
-
export declare function CommandList({ className, ...props }: React_2.ComponentProps<typeof Command_2.List>): JSX.Element;
|
|
180
|
-
|
|
181
|
-
export declare function ContextMenu({ ...props }: React_2.ComponentProps<typeof ContextMenuPrimitive.Root>): JSX.Element;
|
|
182
|
-
|
|
183
|
-
export declare function ContextMenuCheckboxItem({ className, children, checked, ...props }: React_2.ComponentProps<typeof ContextMenuPrimitive.CheckboxItem>): JSX.Element;
|
|
184
|
-
|
|
185
|
-
export declare function ContextMenuContent({ className, ...props }: React_2.ComponentProps<typeof ContextMenuPrimitive.Content>): JSX.Element;
|
|
186
|
-
|
|
187
|
-
export declare function ContextMenuItem({ className, inset, variant, disabled, onClick, ...props }: React_2.ComponentProps<typeof ContextMenuPrimitive.Item> & {
|
|
188
|
-
inset?: boolean;
|
|
189
|
-
variant?: "default" | "destructive";
|
|
190
|
-
}): JSX.Element;
|
|
191
|
-
|
|
192
|
-
export declare function ContextMenuLabel({ className, inset, ...props }: React_2.ComponentProps<typeof ContextMenuPrimitive.Label> & {
|
|
193
|
-
inset?: boolean;
|
|
194
|
-
}): JSX.Element;
|
|
195
|
-
|
|
196
|
-
export declare function ContextMenuRadioGroup({ ...props }: React_2.ComponentProps<typeof ContextMenuPrimitive.RadioGroup>): JSX.Element;
|
|
197
|
-
|
|
198
|
-
export declare function ContextMenuRadioItem({ className, children, ...props }: React_2.ComponentProps<typeof ContextMenuPrimitive.RadioItem>): JSX.Element;
|
|
199
|
-
|
|
200
|
-
export declare function ContextMenuSeparator({ className, ...props }: React_2.ComponentProps<typeof ContextMenuPrimitive.Separator>): JSX.Element;
|
|
201
|
-
|
|
202
|
-
export declare function ContextMenuShortcut({ className, ...props }: React_2.ComponentProps<"span">): JSX.Element;
|
|
203
|
-
|
|
204
|
-
export declare function ContextMenuSub({ ...props }: React_2.ComponentProps<typeof ContextMenuPrimitive.Sub>): JSX.Element;
|
|
205
|
-
|
|
206
|
-
export declare function ContextMenuSubContent({ className, ...props }: React_2.ComponentProps<typeof ContextMenuPrimitive.SubContent>): JSX.Element;
|
|
207
|
-
|
|
208
|
-
export declare function ContextMenuSubTrigger({ className, inset, children, ...props }: React_2.ComponentProps<typeof ContextMenuPrimitive.SubTrigger> & {
|
|
209
|
-
inset?: boolean;
|
|
210
|
-
}): JSX.Element;
|
|
211
|
-
|
|
212
|
-
export declare function ContextMenuTrigger({ ...props }: React_2.ComponentProps<typeof ContextMenuPrimitive.Trigger>): JSX.Element;
|
|
213
|
-
|
|
214
|
-
export declare function Dialog({ ...props }: React_2.ComponentProps<typeof SheetPrimitive.Root>): JSX.Element;
|
|
215
|
-
|
|
216
|
-
export declare function DialogContent({ className, children, showCloseButton, ...props }: React_2.ComponentProps<typeof SheetPrimitive.Content> & {
|
|
217
|
-
showCloseButton?: boolean;
|
|
218
|
-
}): JSX.Element;
|
|
219
|
-
|
|
220
|
-
export declare function DialogDescription({ className, ...props }: React_2.ComponentProps<typeof SheetPrimitive.Description>): JSX.Element;
|
|
221
|
-
|
|
222
|
-
export declare function DialogFooter({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
223
|
-
|
|
224
|
-
export declare function DialogHeader({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
225
|
-
|
|
226
|
-
export declare function DialogTitle({ className, ...props }: React_2.ComponentProps<typeof SheetPrimitive.Title>): JSX.Element;
|
|
227
|
-
|
|
228
|
-
export declare function DialogTrigger({ ...props }: React_2.ComponentProps<typeof SheetPrimitive.Trigger>): JSX.Element;
|
|
229
|
-
|
|
230
|
-
export declare function Drawer({ ...props }: React_2.ComponentProps<typeof Drawer_2.Root>): JSX.Element;
|
|
231
|
-
|
|
232
|
-
export declare function DrawerClose({ ...props }: React_2.ComponentProps<typeof Drawer_2.Close>): JSX.Element;
|
|
233
|
-
|
|
234
|
-
export declare function DrawerContent({ className, children, ...props }: React_2.ComponentProps<typeof Drawer_2.Content>): JSX.Element;
|
|
235
|
-
|
|
236
|
-
export declare function DrawerDescription({ className, ...props }: React_2.ComponentProps<typeof Drawer_2.Description>): JSX.Element;
|
|
237
|
-
|
|
238
|
-
export declare function DrawerFooter({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
239
|
-
|
|
240
|
-
export declare function DrawerHeader({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
241
|
-
|
|
242
|
-
export declare function DrawerTitle({ className, ...props }: React_2.ComponentProps<typeof Drawer_2.Title>): JSX.Element;
|
|
243
|
-
|
|
244
|
-
export declare function DrawerTrigger({ ...props }: React_2.ComponentProps<typeof Drawer_2.Trigger>): JSX.Element;
|
|
245
|
-
|
|
246
|
-
export declare function DropdownMenu({ ...props }: React_2.ComponentProps<typeof DropdownMenuPrimitive.Root>): JSX.Element;
|
|
247
|
-
|
|
248
|
-
export declare function DropdownMenuCheckboxItem({ className, children, checked, ...props }: React_2.ComponentProps<typeof DropdownMenuPrimitive.CheckboxItem>): JSX.Element;
|
|
249
|
-
|
|
250
|
-
export declare function DropdownMenuContent({ className, sideOffset, ...props }: React_2.ComponentProps<typeof DropdownMenuPrimitive.Content>): JSX.Element;
|
|
251
|
-
|
|
252
|
-
export declare function DropdownMenuItem({ className, inset, variant, ...props }: React_2.ComponentProps<typeof DropdownMenuPrimitive.Item> & {
|
|
253
|
-
inset?: boolean;
|
|
254
|
-
variant?: "default" | "destructive";
|
|
255
|
-
}): JSX.Element;
|
|
256
|
-
|
|
257
|
-
export declare function DropdownMenuLabel({ className, inset, ...props }: React_2.ComponentProps<typeof DropdownMenuPrimitive.Label> & {
|
|
258
|
-
inset?: boolean;
|
|
259
|
-
}): JSX.Element;
|
|
260
|
-
|
|
261
|
-
export declare function DropdownMenuRadioGroup({ ...props }: React_2.ComponentProps<typeof DropdownMenuPrimitive.RadioGroup>): JSX.Element;
|
|
262
|
-
|
|
263
|
-
export declare function DropdownMenuRadioItem({ className, children, ...props }: React_2.ComponentProps<typeof DropdownMenuPrimitive.RadioItem>): JSX.Element;
|
|
264
|
-
|
|
265
|
-
export declare function DropdownMenuSeparator({ className, ...props }: React_2.ComponentProps<typeof DropdownMenuPrimitive.Separator>): JSX.Element;
|
|
266
|
-
|
|
267
|
-
export declare function DropdownMenuShortcut({ className, ...props }: React_2.ComponentProps<"span">): JSX.Element;
|
|
268
|
-
|
|
269
|
-
export declare function DropdownMenuSub({ ...props }: React_2.ComponentProps<typeof DropdownMenuPrimitive.Sub>): JSX.Element;
|
|
270
|
-
|
|
271
|
-
export declare function DropdownMenuSubContent({ className, ...props }: React_2.ComponentProps<typeof DropdownMenuPrimitive.SubContent>): JSX.Element;
|
|
272
|
-
|
|
273
|
-
export declare function DropdownMenuSubTrigger({ className, inset, children, ...props }: React_2.ComponentProps<typeof DropdownMenuPrimitive.SubTrigger> & {
|
|
274
|
-
inset?: boolean;
|
|
275
|
-
}): JSX.Element;
|
|
276
|
-
|
|
277
|
-
export declare function DropdownMenuTrigger({ ...props }: React_2.ComponentProps<typeof DropdownMenuPrimitive.Trigger>): JSX.Element;
|
|
278
|
-
|
|
279
|
-
export declare const EmptyState: ({ className, title, description, icon, children, }: {
|
|
280
|
-
className?: string;
|
|
281
|
-
title: string;
|
|
282
|
-
description: string;
|
|
283
|
-
icon: React.ReactNode;
|
|
284
|
-
children?: React.ReactNode;
|
|
285
|
-
}) => JSX.Element;
|
|
286
|
-
|
|
287
|
-
export declare function formatDate(date: Date): string;
|
|
288
|
-
|
|
289
|
-
export declare function Icon({ icon, size, className, ...props }: IconProps): JSX.Element;
|
|
290
|
-
|
|
291
|
-
declare interface IconProps extends React_2.HTMLAttributes<HTMLSpanElement> {
|
|
292
|
-
/**
|
|
293
|
-
* The icon SVG element to render.
|
|
294
|
-
*/
|
|
295
|
-
icon: React_2.ReactElement<React_2.SVGProps<SVGSVGElement>>;
|
|
296
|
-
/**
|
|
297
|
-
* Optional size (applies w/h to the icon SVG).
|
|
298
|
-
* @default 24
|
|
299
|
-
*/
|
|
300
|
-
size?: number;
|
|
301
|
-
}
|
|
302
|
-
|
|
303
|
-
export declare function Input({ className, type, ...props }: React_2.ComponentProps<"input">): JSX.Element;
|
|
304
|
-
|
|
305
|
-
export declare function Label({ className, ...props }: React_2.ComponentProps<typeof LabelPrimitive.Root>): JSX.Element;
|
|
306
|
-
|
|
307
|
-
export declare function ModeToggle(): JSX.Element;
|
|
308
|
-
|
|
309
|
-
export declare function Pagination({ className, ...props }: React_2.ComponentProps<"nav">): JSX.Element;
|
|
310
|
-
|
|
311
|
-
export declare function PaginationContent({ className, ...props }: React_2.ComponentProps<"ul">): JSX.Element;
|
|
312
|
-
|
|
313
|
-
export declare function PaginationEllipsis({ className, ...props }: React_2.ComponentProps<"span">): JSX.Element;
|
|
314
|
-
|
|
315
|
-
export declare function PaginationItem({ ...props }: React_2.ComponentProps<"li">): JSX.Element;
|
|
316
|
-
|
|
317
|
-
export declare function PaginationLink({ className, isActive, size, ...props }: PaginationLinkProps): JSX.Element;
|
|
318
|
-
|
|
319
|
-
declare type PaginationLinkProps = {
|
|
320
|
-
isActive?: boolean;
|
|
321
|
-
} & Pick<React_2.ComponentProps<typeof Button>, "size"> & React_2.ComponentProps<"a">;
|
|
322
|
-
|
|
323
|
-
export declare function PaginationNext({ className, ...props }: React_2.ComponentProps<typeof PaginationLink>): JSX.Element;
|
|
324
|
-
|
|
325
|
-
export declare function PaginationPrevious({ className, ...props }: React_2.ComponentProps<typeof PaginationLink>): JSX.Element;
|
|
326
|
-
|
|
327
|
-
declare type PayloadItem = {
|
|
328
|
-
type?: "none";
|
|
329
|
-
name?: string;
|
|
330
|
-
dataKey?: string;
|
|
331
|
-
value?: number;
|
|
332
|
-
color?: string;
|
|
333
|
-
payload?: {
|
|
334
|
-
fill?: string;
|
|
335
|
-
[key: string]: unknown;
|
|
336
|
-
};
|
|
337
|
-
[key: string]: unknown;
|
|
338
|
-
};
|
|
339
|
-
|
|
340
|
-
export declare function Popover({ ...props }: React_2.ComponentProps<typeof PopoverPrimitive.Root>): JSX.Element;
|
|
341
|
-
|
|
342
|
-
export declare function PopoverContent({ className, align, sideOffset, ...props }: React_2.ComponentProps<typeof PopoverPrimitive.Content>): JSX.Element;
|
|
343
|
-
|
|
344
|
-
export declare function PopoverTrigger({ ...props }: React_2.ComponentProps<typeof PopoverPrimitive.Trigger>): JSX.Element;
|
|
345
|
-
|
|
346
|
-
export declare function Progress({ className, value, ...props }: React_2.ComponentProps<typeof ProgressPrimitive.Root>): JSX.Element;
|
|
347
|
-
|
|
348
|
-
export declare function ResizableHandle({ withHandle, className, ...props }: React_2.ComponentProps<typeof ResizablePrimitive.PanelResizeHandle> & {
|
|
349
|
-
withHandle?: boolean;
|
|
350
|
-
}): JSX.Element;
|
|
351
|
-
|
|
352
|
-
export declare function ResizablePanel({ className, ...props }: React_2.ComponentProps<typeof ResizablePrimitive.Panel>): JSX.Element;
|
|
353
|
-
|
|
354
|
-
export declare function ResizablePanelGroup({ className, direction, ...props }: React_2.ComponentProps<typeof ResizablePrimitive.PanelGroup>): JSX.Element;
|
|
355
|
-
|
|
356
|
-
export declare function ScrollArea({ className, children, ...props }: React_2.ComponentProps<typeof ScrollAreaPrimitive.Root>): JSX.Element;
|
|
357
|
-
|
|
358
|
-
export declare function ScrollBar({ className, orientation, ...props }: React_2.ComponentProps<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>): JSX.Element;
|
|
359
|
-
|
|
360
|
-
export declare function SearchInput({ className, ...props }: React_2.ComponentProps<"input">): JSX.Element;
|
|
361
|
-
|
|
362
|
-
export declare function SearchSelect({ options, placeholder, searchPlaceholder, value, defaultValue, onChange, onValueChange, notFoundMessage, buttonClassName, contentClassName, disabled, extraOptions, side, align, onlyIcon, label, inputProps, buttonProps, rightIcon, }: SearchSelectProps): JSX.Element;
|
|
363
|
-
|
|
364
|
-
declare type SearchSelectOption = {
|
|
365
|
-
value: string;
|
|
366
|
-
label: string;
|
|
367
|
-
icon?: React_2.ReactNode;
|
|
368
|
-
rightIcon?: React_2.ReactNode;
|
|
369
|
-
};
|
|
370
|
-
|
|
371
|
-
declare type SearchSelectProps = {
|
|
372
|
-
options: SearchSelectOption[];
|
|
373
|
-
placeholder?: string;
|
|
374
|
-
searchPlaceholder?: string;
|
|
375
|
-
value?: string;
|
|
376
|
-
defaultValue?: string;
|
|
377
|
-
onChange?: (value: string) => void;
|
|
378
|
-
onValueChange?: (value: string) => void;
|
|
379
|
-
notFoundMessage?: string;
|
|
380
|
-
buttonClassName?: string;
|
|
381
|
-
contentClassName?: string;
|
|
382
|
-
disabled?: boolean;
|
|
383
|
-
extraOptions?: React_2.ReactNode;
|
|
384
|
-
side?: "top" | "bottom" | "left" | "right";
|
|
385
|
-
align?: "start" | "center" | "end";
|
|
386
|
-
onlyIcon?: boolean;
|
|
387
|
-
label?: string;
|
|
388
|
-
inputProps?: React_2.ComponentProps<typeof CommandInput>;
|
|
389
|
-
buttonProps?: React_2.ComponentProps<typeof Button>;
|
|
390
|
-
rightIcon?: React_2.ReactNode;
|
|
391
|
-
};
|
|
392
|
-
|
|
393
|
-
export declare function Select({ ...props }: React_2.ComponentProps<typeof SelectPrimitive.Root>): JSX.Element;
|
|
394
|
-
|
|
395
|
-
export declare function SelectContent({ className, children, position, ...props }: React_2.ComponentProps<typeof SelectPrimitive.Content>): JSX.Element;
|
|
396
|
-
|
|
397
|
-
export declare function SelectGroup({ ...props }: React_2.ComponentProps<typeof SelectPrimitive.Group>): JSX.Element;
|
|
398
|
-
|
|
399
|
-
export declare function SelectItem({ className, children, ...props }: React_2.ComponentProps<typeof SelectPrimitive.Item>): JSX.Element;
|
|
400
|
-
|
|
401
|
-
export declare function SelectLabel({ className, ...props }: React_2.ComponentProps<typeof SelectPrimitive.Label>): JSX.Element;
|
|
402
|
-
|
|
403
|
-
export declare function SelectSeparator({ className, ...props }: React_2.ComponentProps<typeof SelectPrimitive.Separator>): JSX.Element;
|
|
404
|
-
|
|
405
|
-
export declare function SelectTrigger({ className, size, children, ...props }: React_2.ComponentProps<typeof SelectPrimitive.Trigger> & {
|
|
406
|
-
size?: "sm" | "default";
|
|
407
|
-
}): JSX.Element;
|
|
408
|
-
|
|
409
|
-
export declare function SelectValue({ ...props }: React_2.ComponentProps<typeof SelectPrimitive.Value>): JSX.Element;
|
|
410
|
-
|
|
411
|
-
export declare function Separator({ className, orientation, decorative, ...props }: React_2.ComponentProps<typeof SeparatorPrimitive.Root>): JSX.Element;
|
|
412
|
-
|
|
413
|
-
export declare function Sheet({ ...props }: React_2.ComponentProps<typeof SheetPrimitive.Root>): JSX.Element;
|
|
414
|
-
|
|
415
|
-
export declare function SheetContent({ className, children, side, ...props }: React_2.ComponentProps<typeof SheetPrimitive.Content> & {
|
|
416
|
-
side?: "top" | "right" | "bottom" | "left";
|
|
417
|
-
onClose?: () => void;
|
|
418
|
-
}): JSX.Element;
|
|
419
|
-
|
|
420
|
-
export declare function SheetDescription({ className, ...props }: React_2.ComponentProps<typeof SheetPrimitive.Description>): JSX.Element;
|
|
421
|
-
|
|
422
|
-
export declare function SheetFooter({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
423
|
-
|
|
424
|
-
export declare function SheetHeader({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
425
|
-
|
|
426
|
-
export declare function SheetTitle({ className, ...props }: React_2.ComponentProps<typeof SheetPrimitive.Title>): JSX.Element;
|
|
427
|
-
|
|
428
|
-
export declare function SheetTrigger({ ...props }: React_2.ComponentProps<typeof SheetPrimitive.Trigger>): JSX.Element;
|
|
429
|
-
|
|
430
|
-
export declare function Sidebar({ side, variant, collapsible, className, children, ...props }: React_2.ComponentProps<"div"> & {
|
|
431
|
-
side?: "left" | "right";
|
|
432
|
-
variant?: "sidebar" | "floating" | "inset" | "embed";
|
|
433
|
-
collapsible?: "offcanvas" | "icon" | "none";
|
|
434
|
-
}): JSX.Element;
|
|
435
|
-
|
|
436
|
-
export declare function SidebarContent({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
437
|
-
|
|
438
|
-
declare type SidebarContextProps = {
|
|
439
|
-
state: "expanded" | "collapsed";
|
|
440
|
-
open: boolean;
|
|
441
|
-
setOpen: (open: boolean) => void;
|
|
442
|
-
openMobile: boolean;
|
|
443
|
-
setOpenMobile: (open: boolean) => void;
|
|
444
|
-
isMobile: boolean;
|
|
445
|
-
toggleSidebar: () => void;
|
|
446
|
-
};
|
|
447
|
-
|
|
448
|
-
export declare function SidebarFooter({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
449
|
-
|
|
450
|
-
export declare function SidebarGroup({ className, collapsible, ...props }: React_2.ComponentProps<"div"> & {
|
|
451
|
-
collapsible?: boolean;
|
|
452
|
-
}): JSX.Element;
|
|
453
|
-
|
|
454
|
-
export declare function SidebarGroupAction({ className, asChild, ...props }: React_2.ComponentProps<"button"> & {
|
|
455
|
-
asChild?: boolean;
|
|
456
|
-
}): JSX.Element;
|
|
457
|
-
|
|
458
|
-
export declare function SidebarGroupContent({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
459
|
-
|
|
460
|
-
export declare function SidebarGroupLabel({ className, asChild, ...props }: React_2.ComponentProps<"div"> & {
|
|
461
|
-
asChild?: boolean;
|
|
462
|
-
}): JSX.Element;
|
|
463
|
-
|
|
464
|
-
export declare function SidebarHeader({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
465
|
-
|
|
466
|
-
export declare function SidebarInput({ className, ...props }: React_2.ComponentProps<typeof Input>): JSX.Element;
|
|
467
|
-
|
|
468
|
-
export declare function SidebarInset({ className, ...props }: React_2.ComponentProps<"main">): JSX.Element;
|
|
469
|
-
|
|
470
|
-
export declare function SidebarMenu({ className, ...props }: React_2.ComponentProps<"ul">): JSX.Element;
|
|
471
|
-
|
|
472
|
-
export declare function SidebarMenuAction({ className, asChild, showOnHover, ...props }: React_2.ComponentProps<"button"> & {
|
|
473
|
-
asChild?: boolean;
|
|
474
|
-
showOnHover?: boolean;
|
|
475
|
-
}): JSX.Element;
|
|
476
|
-
|
|
477
|
-
export declare function SidebarMenuBadge({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
478
|
-
|
|
479
|
-
export declare function SidebarMenuButton({ asChild, isActive, variant, size, tooltip, className, ...props }: React_2.ComponentProps<"button"> & {
|
|
480
|
-
asChild?: boolean;
|
|
481
|
-
isActive?: boolean;
|
|
482
|
-
tooltip?: string | React_2.ComponentProps<typeof TooltipContent>;
|
|
483
|
-
} & VariantProps<typeof sidebarMenuButtonVariants>): JSX.Element;
|
|
484
|
-
|
|
485
|
-
declare const sidebarMenuButtonVariants: (props?: ({
|
|
486
|
-
variant?: "default" | "outline" | null | undefined;
|
|
487
|
-
size?: "default" | "sm" | "lg" | null | undefined;
|
|
488
|
-
} & ClassProp) | undefined) => string;
|
|
489
|
-
|
|
490
|
-
export declare function SidebarMenuItem({ className, ...props }: React_2.ComponentProps<"li">): JSX.Element;
|
|
491
|
-
|
|
492
|
-
export declare function SidebarMenuSkeleton({ className, showIcon, ...props }: React_2.ComponentProps<"div"> & {
|
|
493
|
-
showIcon?: boolean;
|
|
494
|
-
}): JSX.Element;
|
|
495
|
-
|
|
496
|
-
export declare function SidebarMenuSub({ className, ...props }: React_2.ComponentProps<"ul">): JSX.Element;
|
|
497
|
-
|
|
498
|
-
export declare function SidebarMenuSubButton({ asChild, size, isActive, className, ...props }: React_2.ComponentProps<"a"> & {
|
|
499
|
-
asChild?: boolean;
|
|
500
|
-
size?: "sm" | "md";
|
|
501
|
-
isActive?: boolean;
|
|
502
|
-
}): JSX.Element;
|
|
503
|
-
|
|
504
|
-
export declare function SidebarMenuSubItem({ className, ...props }: React_2.ComponentProps<"li">): JSX.Element;
|
|
505
|
-
|
|
506
|
-
export declare function SidebarProvider({ defaultOpen, open: openProp, onOpenChange: setOpenProp, className, style, children, ...props }: React_2.ComponentProps<"div"> & {
|
|
507
|
-
defaultOpen?: boolean;
|
|
508
|
-
open?: boolean;
|
|
509
|
-
onOpenChange?: (open: boolean) => void;
|
|
510
|
-
}): JSX.Element;
|
|
511
|
-
|
|
512
|
-
export declare function SidebarRail({ className, ...props }: React_2.ComponentProps<"button">): JSX.Element;
|
|
513
|
-
|
|
514
|
-
export declare function SidebarSeparator({ className, ...props }: React_2.ComponentProps<typeof Separator>): JSX.Element;
|
|
515
|
-
|
|
516
|
-
export declare function SidebarTrigger({ className, onClick, ...props }: React_2.ComponentProps<typeof Button>): JSX.Element;
|
|
517
|
-
|
|
518
|
-
export declare function Skeleton({ className, ...props }: React.ComponentProps<"div">): JSX.Element;
|
|
519
|
-
|
|
520
|
-
export declare const Spinner: ({ className, variant, size }: SpinnerProps) => JSX.Element;
|
|
521
|
-
|
|
522
|
-
declare interface SpinnerProps extends React_2.HTMLAttributes<HTMLDivElement>, Omit<VariantProps<typeof spinnerVariants>, 'size'> {
|
|
523
|
-
className?: string;
|
|
524
|
-
size?: VariantProps<typeof spinnerVariants>['size'] | number;
|
|
525
|
-
}
|
|
526
|
-
|
|
527
|
-
declare const spinnerVariants: (props?: ({
|
|
528
|
-
variant?: "default" | "secondary" | "destructive" | "primary" | "muted" | null | undefined;
|
|
529
|
-
size?: "default" | "sm" | "lg" | null | undefined;
|
|
530
|
-
} & ClassProp) | undefined) => string;
|
|
531
|
-
|
|
532
|
-
export declare function StackList({ children, separatorClassName, }: StackListProps): JSX.Element;
|
|
533
|
-
|
|
534
|
-
export declare function StackListItem({ item, children, keyClassName, valueClassName, rowClassName, itemClassName, }: StackListItemProps): JSX.Element;
|
|
535
|
-
|
|
536
|
-
declare type StackListItemProps = {
|
|
537
|
-
item: default_2.ReactNode;
|
|
538
|
-
children: default_2.ReactNode;
|
|
539
|
-
keyClassName?: string;
|
|
540
|
-
valueClassName?: string;
|
|
541
|
-
rowClassName?: string;
|
|
542
|
-
itemClassName?: string;
|
|
543
|
-
};
|
|
544
|
-
|
|
545
|
-
declare type StackListProps = {
|
|
546
|
-
children: default_2.ReactNode;
|
|
547
|
-
separatorClassName?: string;
|
|
548
|
-
};
|
|
549
|
-
|
|
550
|
-
export declare function Switch({ className, ...props }: React_2.ComponentProps<typeof SwitchPrimitive.Root>): JSX.Element;
|
|
551
|
-
|
|
552
|
-
export declare function Table({ className, style, ...props }: React_2.ComponentProps<"table">): JSX.Element;
|
|
553
|
-
|
|
554
|
-
export declare const TableBody: React_2.ForwardRefExoticComponent<Omit<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>, "ref"> & React_2.RefAttributes<HTMLTableSectionElement>>;
|
|
555
|
-
|
|
556
|
-
export declare function TableCaption({ className, ...props }: React_2.ComponentProps<"caption">): JSX.Element;
|
|
557
|
-
|
|
558
|
-
export declare function TableCell({ className, children, ...props }: React_2.ComponentProps<"td">): JSX.Element;
|
|
559
|
-
|
|
560
|
-
export declare function TableHead({ className, icon, children, ...props }: React_2.ComponentProps<"th"> & {
|
|
561
|
-
icon?: React_2.ReactNode;
|
|
562
|
-
}): JSX.Element;
|
|
563
|
-
|
|
564
|
-
export declare function TableHeader({ className, ...props }: React_2.ComponentProps<"thead">): JSX.Element;
|
|
565
|
-
|
|
566
|
-
export declare function TableHeadRow({ className, style, ...props }: React_2.ComponentProps<"tr">): JSX.Element;
|
|
567
|
-
|
|
568
|
-
export declare function TableRow({ className, style, ...props }: React_2.ComponentProps<"tr">): JSX.Element;
|
|
569
|
-
|
|
570
|
-
export declare function Tabs({ className, ...props }: React_2.ComponentProps<typeof TabsPrimitive.Root>): JSX.Element;
|
|
571
|
-
|
|
572
|
-
export declare function TabsContent({ className, ...props }: React_2.ComponentProps<typeof TabsPrimitive.Content>): JSX.Element;
|
|
573
|
-
|
|
574
|
-
export declare function TabsList({ className, ...props }: React_2.ComponentProps<typeof TabsPrimitive.List>): JSX.Element;
|
|
575
|
-
|
|
576
|
-
export declare function TabsTrigger({ className, ...props }: React_2.ComponentProps<typeof TabsPrimitive.Trigger>): JSX.Element;
|
|
577
|
-
|
|
578
|
-
export declare function TextArea({ className, ...props }: React_2.ComponentProps<"textarea">): JSX.Element;
|
|
579
|
-
|
|
580
|
-
declare type Theme = "dark" | "light" | "system";
|
|
581
|
-
|
|
582
|
-
export declare function ThemeProvider({ children, defaultTheme, storageKey, ...props }: ThemeProviderProps): JSX.Element;
|
|
583
|
-
|
|
584
|
-
declare type ThemeProviderProps = {
|
|
585
|
-
children: React.ReactNode;
|
|
586
|
-
defaultTheme?: Theme;
|
|
587
|
-
storageKey?: string;
|
|
588
|
-
};
|
|
589
|
-
|
|
590
|
-
declare type ThemeProviderState = {
|
|
591
|
-
theme: Theme;
|
|
592
|
-
setTheme: (theme: Theme) => void;
|
|
593
|
-
};
|
|
594
|
-
|
|
595
|
-
declare const THEMES: {
|
|
596
|
-
readonly light: "";
|
|
597
|
-
readonly dark: ".dark";
|
|
598
|
-
};
|
|
599
|
-
|
|
600
|
-
export { toast }
|
|
601
|
-
|
|
602
|
-
export declare const Toaster: ({ className, ...props }: ToasterProps) => JSX.Element;
|
|
603
|
-
|
|
604
|
-
export declare function Tooltip({ ...props }: React_2.ComponentProps<typeof TooltipPrimitive.Root>): JSX.Element;
|
|
605
|
-
|
|
606
|
-
export declare function TooltipContent({ className, sideOffset, children, ...props }: React_2.ComponentProps<typeof TooltipPrimitive.Content>): JSX.Element;
|
|
607
|
-
|
|
608
|
-
export declare function TooltipProvider({ delayDuration, ...props }: React_2.ComponentProps<typeof TooltipPrimitive.Provider>): JSX.Element;
|
|
609
|
-
|
|
610
|
-
export declare function TooltipTrigger({ ...props }: React_2.ComponentProps<typeof TooltipPrimitive.Trigger>): JSX.Element;
|
|
611
|
-
|
|
612
|
-
export declare function toTitleCase(str: string): string;
|
|
613
|
-
|
|
614
|
-
export declare const Tree: default_2.ForwardRefExoticComponent<default_2.HTMLAttributes<HTMLDivElement> & {
|
|
615
|
-
data: TreeDataItem[] | TreeDataItem;
|
|
616
|
-
initialSelectedItemId?: string;
|
|
617
|
-
onSelectChange?: (item: TreeDataItem | undefined) => void;
|
|
618
|
-
expandAll?: boolean;
|
|
619
|
-
folderIcon?: LucideIcon;
|
|
620
|
-
itemIcon?: LucideIcon;
|
|
621
|
-
} & default_2.RefAttributes<HTMLDivElement>>;
|
|
622
|
-
|
|
623
|
-
export declare interface TreeDataItem {
|
|
624
|
-
id: string;
|
|
625
|
-
name: string;
|
|
626
|
-
icon?: LucideIcon;
|
|
627
|
-
children?: TreeDataItem[];
|
|
628
|
-
}
|
|
629
|
-
|
|
630
|
-
export declare function useSidebar(): SidebarContextProps;
|
|
631
|
-
|
|
632
|
-
export declare const useTheme: () => ThemeProviderState;
|
|
633
|
-
|
|
634
|
-
/**
|
|
635
|
-
* Highly optimized VirtualizedTableBody
|
|
636
|
-
* - O(1) lookup for constant row height
|
|
637
|
-
* - O(log n) lookup for variable row height (via binary search on prefix sum cache)
|
|
638
|
-
* - requestAnimationFrame batching for scroll updates
|
|
639
|
-
*/
|
|
640
|
-
export declare function VirtualizedTableBody({ rowCount, rowHeight, height, className, style, overscan, children, }: VirtualizedTableBodyProps): JSX.Element;
|
|
641
|
-
|
|
642
|
-
declare type VirtualizedTableBodyProps = {
|
|
643
|
-
rowCount: number;
|
|
644
|
-
rowHeight?: number | ((args: {
|
|
645
|
-
index: number;
|
|
646
|
-
}) => number);
|
|
647
|
-
height?: number;
|
|
648
|
-
className?: string;
|
|
649
|
-
style?: React_2.CSSProperties;
|
|
650
|
-
overscan?: number;
|
|
651
|
-
children: (index: number, style: React_2.CSSProperties) => React_2.ReactNode;
|
|
652
|
-
};
|
|
653
|
-
|
|
654
|
-
export { }
|
|
1
|
+
export { Badge } from './components/ui/badge';
|
|
2
|
+
export { Button } from './components/ui/button';
|
|
3
|
+
export { ButtonGroup, ButtonGroupText, ButtonGroupSeparator } from './components/ui/button-group';
|
|
4
|
+
export { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from './components/ui/card';
|
|
5
|
+
export { ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuItem, ContextMenuLabel, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger } from './components/ui/context-menu';
|
|
6
|
+
export { Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerTitle, DrawerTrigger } from './components/ui/drawer';
|
|
7
|
+
export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger } from './components/ui/dropdown-menu';
|
|
8
|
+
export { Input, SearchInput, TextArea } from './components/ui/input';
|
|
9
|
+
export { Label } from './components/ui/label';
|
|
10
|
+
export { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious } from './components/ui/pagination';
|
|
11
|
+
export { Popover, PopoverContent, PopoverTrigger } from './components/ui/popover';
|
|
12
|
+
export { Skeleton } from './components/ui/skeleton';
|
|
13
|
+
export { Toaster, toast } from './components/ui/sonner';
|
|
14
|
+
export { Table, TableBody, TableCaption, TableCell, TableHead, TableHeader, TableHeadRow, TableRow, VirtualizedTableBody } from './components/ui/table';
|
|
15
|
+
export { Tabs, TabsContent, TabsList, TabsTrigger } from './components/ui/tabs';
|
|
16
|
+
export { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from './components/ui/tooltip';
|
|
17
|
+
export { Breadcrumb, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator } from './components/ui/breadcrumb';
|
|
18
|
+
export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, SelectValue, SearchSelect } from './components/ui/select';
|
|
19
|
+
export { Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, useSidebar } from './components/ui/sidebar';
|
|
20
|
+
export { Separator } from './components/ui/separator';
|
|
21
|
+
export { Sheet, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger } from './components/ui/sheet';
|
|
22
|
+
export { ScrollArea, ScrollBar } from './components/ui/scroll-area';
|
|
23
|
+
export { StackList, StackListItem } from './components/ui/stack-list';
|
|
24
|
+
export { Command, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList } from './components/ui/command';
|
|
25
|
+
export { Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger } from './components/ui/dialog';
|
|
26
|
+
export { Checkbox } from './components/ui/checkbox';
|
|
27
|
+
export { EmptyState } from './components/ui/empty-state';
|
|
28
|
+
export { Tree, type TreeDataItem } from './components/ui/tree';
|
|
29
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger } from './components/ui/accordion';
|
|
30
|
+
export { ResizablePanel, ResizablePanelGroup, ResizableHandle } from './components/ui/resizable';
|
|
31
|
+
export { Alert, AlertTitle, AlertDescription } from './components/ui/alert';
|
|
32
|
+
export { Icon } from './components/ui/icon';
|
|
33
|
+
export { Switch } from './components/ui/switch';
|
|
34
|
+
export { AlertDialog, AlertDialogTrigger, AlertDialogContent, AlertDialogHeader, AlertDialogFooter, AlertDialogTitle, AlertDialogDescription, AlertDialogCancel, AlertDialogAction } from './components/ui/alert-dialog';
|
|
35
|
+
export { Spinner } from './components/ui/spinner';
|
|
36
|
+
export { ChartContainer, ChartTooltip, ChartTooltipContent, ChartLegend, ChartLegendContent, ChartStyle, } from './components/ui/chart';
|
|
37
|
+
export { Progress } from './components/ui/progress';
|
|
38
|
+
export { ThemeProvider, useTheme } from './components/theme/provider';
|
|
39
|
+
export { ModeToggle } from './components/theme/toggle';
|
|
40
|
+
export * from './lib/utils';
|
|
41
|
+
//# sourceMappingURL=index.d.ts.map
|