my-you-eye 0.1.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.
@@ -0,0 +1,519 @@
1
+ import { ClassValue } from 'clsx';
2
+ import * as react from 'react';
3
+ import { HTMLAttributes, ButtonHTMLAttributes, InputHTMLAttributes, ComponentPropsWithoutRef, ReactNode, TextareaHTMLAttributes } from 'react';
4
+ import * as class_variance_authority_types from 'class-variance-authority/types';
5
+ import { VariantProps } from 'class-variance-authority';
6
+ import { Root } from '@radix-ui/react-label';
7
+ import { Root as Root$1 } from '@radix-ui/react-checkbox';
8
+ import * as _radix_ui_react_radio_group from '@radix-ui/react-radio-group';
9
+ import { Item } from '@radix-ui/react-radio-group';
10
+ import { Root as Root$2 } from '@radix-ui/react-switch';
11
+ import * as _radix_ui_react_select from '@radix-ui/react-select';
12
+ import { Item as Item$1, Trigger } from '@radix-ui/react-select';
13
+ export { Root as Select, Value as SelectValue } from '@radix-ui/react-select';
14
+ import * as _radix_ui_react_dialog from '@radix-ui/react-dialog';
15
+ import { Content } from '@radix-ui/react-dialog';
16
+ export { Root as Dialog, Close as DialogClose, Trigger as DialogTrigger, Root as Drawer, Close as DrawerClose, Trigger as DrawerTrigger } from '@radix-ui/react-dialog';
17
+ import * as _radix_ui_react_tooltip from '@radix-ui/react-tooltip';
18
+ import * as _radix_ui_react_dropdown_menu from '@radix-ui/react-dropdown-menu';
19
+ export { Root as DropdownMenu, Trigger as DropdownMenuTrigger } from '@radix-ui/react-dropdown-menu';
20
+ import * as _radix_ui_react_popover from '@radix-ui/react-popover';
21
+ export { Root as Popover, Close as PopoverClose, Trigger as PopoverTrigger } from '@radix-ui/react-popover';
22
+ import * as _radix_ui_react_tabs from '@radix-ui/react-tabs';
23
+ import { List, Trigger as Trigger$1 } from '@radix-ui/react-tabs';
24
+ import { Root as Root$3 } from '@radix-ui/react-avatar';
25
+
26
+ declare function cn(...inputs: ClassValue[]): string;
27
+
28
+ declare const spinnerVariants: (props?: ({
29
+ size?: "sm" | "md" | "lg" | null | undefined;
30
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
31
+ interface SpinnerProps extends HTMLAttributes<HTMLDivElement>, VariantProps<typeof spinnerVariants> {
32
+ }
33
+ declare const Spinner: react.ForwardRefExoticComponent<SpinnerProps & react.RefAttributes<HTMLDivElement>>;
34
+
35
+ declare const buttonVariants: (props?: ({
36
+ variant?: "primary" | "secondary" | "ghost" | "danger" | null | undefined;
37
+ size?: "sm" | "md" | "lg" | null | undefined;
38
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
39
+ interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
40
+ loading?: boolean;
41
+ }
42
+ declare const Button: react.ForwardRefExoticComponent<ButtonProps & react.RefAttributes<HTMLButtonElement>>;
43
+
44
+ declare const inputVariants: (props?: ({
45
+ variant?: "default" | "filled" | null | undefined;
46
+ size?: "sm" | "md" | null | undefined;
47
+ invalid?: boolean | null | undefined;
48
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
49
+ interface InputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "size">, VariantProps<typeof inputVariants> {
50
+ }
51
+ declare const Input: react.ForwardRefExoticComponent<InputProps & react.RefAttributes<HTMLInputElement>>;
52
+
53
+ declare const labelVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
54
+ interface LabelProps extends ComponentPropsWithoutRef<typeof Root>, VariantProps<typeof labelVariants> {
55
+ }
56
+ declare const Label: react.ForwardRefExoticComponent<LabelProps & react.RefAttributes<HTMLLabelElement>>;
57
+
58
+ declare const cardVariants: (props?: ({
59
+ variant?: "default" | "outlined" | "elevated" | null | undefined;
60
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
61
+ interface CardProps extends HTMLAttributes<HTMLDivElement>, VariantProps<typeof cardVariants> {
62
+ }
63
+ declare const Card: react.ForwardRefExoticComponent<CardProps & react.RefAttributes<HTMLDivElement>>;
64
+
65
+ declare const CardHeader: react.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & react.RefAttributes<HTMLDivElement>>;
66
+
67
+ declare const CardTitle: react.ForwardRefExoticComponent<HTMLAttributes<HTMLHeadingElement> & react.RefAttributes<HTMLHeadingElement>>;
68
+
69
+ declare const CardContent: react.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & react.RefAttributes<HTMLDivElement>>;
70
+
71
+ declare const CardFooter: react.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & react.RefAttributes<HTMLDivElement>>;
72
+
73
+ declare const badgeVariants: (props?: ({
74
+ variant?: "primary" | "danger" | "neutral" | "success" | "warning" | null | undefined;
75
+ style?: "solid" | "soft" | null | undefined;
76
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
77
+ interface BadgeProps extends Omit<HTMLAttributes<HTMLSpanElement>, "style">, VariantProps<typeof badgeVariants> {
78
+ }
79
+ declare const Badge: react.ForwardRefExoticComponent<BadgeProps & react.RefAttributes<HTMLSpanElement>>;
80
+
81
+ declare const alertVariants: (props?: ({
82
+ variant?: "danger" | "success" | "warning" | "info" | null | undefined;
83
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
84
+ interface AlertProps extends HTMLAttributes<HTMLDivElement>, VariantProps<typeof alertVariants> {
85
+ title?: string;
86
+ icon?: ReactNode;
87
+ }
88
+ declare const Alert: react.ForwardRefExoticComponent<AlertProps & react.RefAttributes<HTMLDivElement>>;
89
+
90
+ declare const checkboxVariants: (props?: ({
91
+ size?: "sm" | "md" | null | undefined;
92
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
93
+ interface CheckboxProps extends React.ComponentPropsWithoutRef<typeof Root$1>, VariantProps<typeof checkboxVariants> {
94
+ }
95
+ declare const Checkbox: react.ForwardRefExoticComponent<CheckboxProps & react.RefAttributes<HTMLButtonElement>>;
96
+
97
+ declare const radioVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
98
+ declare const RadioGroup: react.ForwardRefExoticComponent<Omit<_radix_ui_react_radio_group.RadioGroupProps & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
99
+ interface RadioGroupItemProps extends React.ComponentPropsWithoutRef<typeof Item>, VariantProps<typeof radioVariants> {
100
+ }
101
+ declare const RadioGroupItem: react.ForwardRefExoticComponent<RadioGroupItemProps & react.RefAttributes<HTMLButtonElement>>;
102
+
103
+ declare const switchVariants: (props?: ({
104
+ size?: "sm" | "md" | null | undefined;
105
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
106
+ interface SwitchProps extends React.ComponentPropsWithoutRef<typeof Root$2>, VariantProps<typeof switchVariants> {
107
+ }
108
+ declare const Switch: react.ForwardRefExoticComponent<SwitchProps & react.RefAttributes<HTMLButtonElement>>;
109
+
110
+ declare const textareaVariants: (props?: ({
111
+ variant?: "default" | "filled" | null | undefined;
112
+ invalid?: boolean | null | undefined;
113
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
114
+ interface TextareaProps extends Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, "size">, VariantProps<typeof textareaVariants> {
115
+ autoResize?: boolean;
116
+ }
117
+ declare const Textarea: react.ForwardRefExoticComponent<TextareaProps & react.RefAttributes<HTMLTextAreaElement>>;
118
+
119
+ declare const triggerVariants: (props?: ({
120
+ size?: "sm" | "md" | null | undefined;
121
+ invalid?: boolean | null | undefined;
122
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
123
+ interface SelectTriggerProps extends React.ComponentPropsWithoutRef<typeof Trigger>, VariantProps<typeof triggerVariants> {
124
+ }
125
+ declare const SelectTrigger: react.ForwardRefExoticComponent<SelectTriggerProps & react.RefAttributes<HTMLButtonElement>>;
126
+ declare const SelectContent: react.ForwardRefExoticComponent<Omit<_radix_ui_react_select.SelectContentProps & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
127
+ interface SelectItemProps extends React.ComponentPropsWithoutRef<typeof Item$1> {
128
+ showIndicator?: boolean;
129
+ }
130
+ declare const SelectItem: react.ForwardRefExoticComponent<SelectItemProps & react.RefAttributes<HTMLDivElement>>;
131
+
132
+ interface FormFieldProps {
133
+ label: string;
134
+ error?: string;
135
+ hint?: string;
136
+ required?: boolean;
137
+ className?: string;
138
+ children: ReactNode;
139
+ }
140
+ declare const FormField: react.ForwardRefExoticComponent<FormFieldProps & react.RefAttributes<HTMLDivElement>>;
141
+
142
+ declare const dialogContentVariants: (props?: ({
143
+ size?: "sm" | "md" | "lg" | null | undefined;
144
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
145
+ interface DialogContentProps extends React.ComponentPropsWithoutRef<typeof Content>, VariantProps<typeof dialogContentVariants> {
146
+ }
147
+ declare const DialogContent: react.ForwardRefExoticComponent<DialogContentProps & react.RefAttributes<HTMLDivElement>>;
148
+ declare const DialogHeader: react.ForwardRefExoticComponent<react.HTMLAttributes<HTMLDivElement> & react.RefAttributes<HTMLDivElement>>;
149
+ declare const DialogTitle: react.ForwardRefExoticComponent<Omit<_radix_ui_react_dialog.DialogTitleProps & react.RefAttributes<HTMLHeadingElement>, "ref"> & react.RefAttributes<HTMLHeadingElement>>;
150
+ declare const DialogDescription: react.ForwardRefExoticComponent<Omit<_radix_ui_react_dialog.DialogDescriptionProps & react.RefAttributes<HTMLParagraphElement>, "ref"> & react.RefAttributes<HTMLParagraphElement>>;
151
+ declare const DialogFooter: react.ForwardRefExoticComponent<react.HTMLAttributes<HTMLDivElement> & react.RefAttributes<HTMLDivElement>>;
152
+
153
+ declare const TooltipProvider: react.FC<_radix_ui_react_tooltip.TooltipProviderProps>;
154
+ interface TooltipProps {
155
+ content: string;
156
+ side?: "top" | "right" | "bottom" | "left";
157
+ children: React.ReactNode;
158
+ }
159
+ declare const Tooltip: ({ content, side, children }: TooltipProps) => react.JSX.Element;
160
+ declare const TooltipContent: react.ForwardRefExoticComponent<Omit<_radix_ui_react_tooltip.TooltipContentProps & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
161
+
162
+ declare const DropdownMenuContent: react.ForwardRefExoticComponent<Omit<_radix_ui_react_dropdown_menu.DropdownMenuContentProps & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
163
+ declare const DropdownMenuItem: react.ForwardRefExoticComponent<Omit<_radix_ui_react_dropdown_menu.DropdownMenuItemProps & react.RefAttributes<HTMLDivElement>, "ref"> & {
164
+ destructive?: boolean;
165
+ } & react.RefAttributes<HTMLDivElement>>;
166
+ declare const DropdownMenuSeparator: react.ForwardRefExoticComponent<Omit<_radix_ui_react_dropdown_menu.DropdownMenuSeparatorProps & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
167
+ declare const DropdownMenuLabel: react.ForwardRefExoticComponent<Omit<_radix_ui_react_dropdown_menu.DropdownMenuLabelProps & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
168
+
169
+ declare const PopoverContent: react.ForwardRefExoticComponent<Omit<_radix_ui_react_popover.PopoverContentProps & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
170
+
171
+ interface ToastData {
172
+ id: string;
173
+ title: string;
174
+ description?: string;
175
+ variant?: "default" | "success" | "danger";
176
+ }
177
+ interface ToastContextValue {
178
+ toast: (data: Omit<ToastData, "id">) => void;
179
+ }
180
+ declare function useToast(): ToastContextValue;
181
+ declare function Toaster({ children }: {
182
+ children?: ReactNode;
183
+ }): react.JSX.Element;
184
+
185
+ interface ConfirmDialogProps {
186
+ title: string;
187
+ description?: string;
188
+ confirmLabel?: string;
189
+ destructive?: boolean;
190
+ onConfirm: () => void;
191
+ trigger?: ReactNode;
192
+ open?: boolean;
193
+ onOpenChange?: (open: boolean) => void;
194
+ }
195
+ declare function ConfirmDialog({ title, description, confirmLabel, destructive, onConfirm, trigger, open, onOpenChange, }: ConfirmDialogProps): react.JSX.Element;
196
+
197
+ declare const tabsListVariants: (props?: ({
198
+ variant?: "underline" | "pills" | null | undefined;
199
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
200
+ declare const tabsTriggerVariants: (props?: ({
201
+ variant?: "underline" | "pills" | null | undefined;
202
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
203
+ interface TabsListProps extends React.ComponentPropsWithoutRef<typeof List>, VariantProps<typeof tabsListVariants> {
204
+ }
205
+ interface TabsTriggerProps extends React.ComponentPropsWithoutRef<typeof Trigger$1>, VariantProps<typeof tabsTriggerVariants> {
206
+ }
207
+ declare const Tabs: react.ForwardRefExoticComponent<_radix_ui_react_tabs.TabsProps & react.RefAttributes<HTMLDivElement>>;
208
+ declare const TabsList: react.ForwardRefExoticComponent<TabsListProps & react.RefAttributes<HTMLDivElement>>;
209
+ declare const TabsTrigger: react.ForwardRefExoticComponent<TabsTriggerProps & react.RefAttributes<HTMLButtonElement>>;
210
+ declare const TabsContent: react.ForwardRefExoticComponent<Omit<_radix_ui_react_tabs.TabsContentProps & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
211
+
212
+ interface BreadcrumbItem {
213
+ label: string;
214
+ href?: string;
215
+ }
216
+ interface BreadcrumbsProps extends HTMLAttributes<HTMLElement> {
217
+ items: BreadcrumbItem[];
218
+ separator?: ReactNode;
219
+ }
220
+ declare const Breadcrumbs: react.ForwardRefExoticComponent<BreadcrumbsProps & react.RefAttributes<HTMLElement>>;
221
+
222
+ interface PaginationProps extends HTMLAttributes<HTMLElement> {
223
+ currentPage: number;
224
+ totalPages: number;
225
+ onPageChange: (page: number) => void;
226
+ }
227
+ declare const Pagination: react.ForwardRefExoticComponent<PaginationProps & react.RefAttributes<HTMLElement>>;
228
+
229
+ declare const avatarVariants: (props?: ({
230
+ size?: "sm" | "md" | "lg" | null | undefined;
231
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
232
+ interface AvatarProps extends React.ComponentPropsWithoutRef<typeof Root$3>, VariantProps<typeof avatarVariants> {
233
+ src?: string;
234
+ alt?: string;
235
+ fallback: string;
236
+ }
237
+ declare const Avatar: react.ForwardRefExoticComponent<AvatarProps & react.RefAttributes<HTMLSpanElement>>;
238
+
239
+ declare const skeletonVariants: (props?: ({
240
+ shape?: "text" | "circle" | "rect" | null | undefined;
241
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
242
+ interface SkeletonProps extends HTMLAttributes<HTMLDivElement>, VariantProps<typeof skeletonVariants> {
243
+ width?: string;
244
+ height?: string;
245
+ }
246
+ declare const Skeleton: react.ForwardRefExoticComponent<SkeletonProps & react.RefAttributes<HTMLDivElement>>;
247
+
248
+ interface EmptyStateProps extends HTMLAttributes<HTMLDivElement> {
249
+ icon?: ReactNode;
250
+ title: string;
251
+ description?: string;
252
+ action?: ReactNode;
253
+ }
254
+ declare const EmptyState: react.ForwardRefExoticComponent<EmptyStateProps & react.RefAttributes<HTMLDivElement>>;
255
+
256
+ declare const tableVariants: (props?: ({
257
+ variant?: "default" | "striped" | null | undefined;
258
+ density?: "normal" | "compact" | null | undefined;
259
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
260
+ interface TableProps extends HTMLAttributes<HTMLTableElement>, VariantProps<typeof tableVariants> {
261
+ }
262
+ declare const Table: react.ForwardRefExoticComponent<TableProps & react.RefAttributes<HTMLTableElement>>;
263
+
264
+ declare const TableHeader: react.ForwardRefExoticComponent<HTMLAttributes<HTMLTableSectionElement> & react.RefAttributes<HTMLTableSectionElement>>;
265
+
266
+ declare const TableBody: react.ForwardRefExoticComponent<HTMLAttributes<HTMLTableSectionElement> & react.RefAttributes<HTMLTableSectionElement>>;
267
+
268
+ declare const rowVariants: (props?: ({
269
+ density?: "normal" | "compact" | null | undefined;
270
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
271
+ interface TableRowProps extends HTMLAttributes<HTMLTableRowElement>, VariantProps<typeof rowVariants> {
272
+ }
273
+ declare const TableRow: react.ForwardRefExoticComponent<TableRowProps & react.RefAttributes<HTMLTableRowElement>>;
274
+
275
+ declare const headVariants: (props?: ({
276
+ density?: "normal" | "compact" | null | undefined;
277
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
278
+ interface TableHeadProps extends HTMLAttributes<HTMLTableCellElement>, VariantProps<typeof headVariants> {
279
+ }
280
+ declare const TableHead: react.ForwardRefExoticComponent<TableHeadProps & react.RefAttributes<HTMLTableCellElement>>;
281
+
282
+ declare const cellVariants: (props?: ({
283
+ density?: "normal" | "compact" | null | undefined;
284
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
285
+ interface TableCellProps extends HTMLAttributes<HTMLTableCellElement>, VariantProps<typeof cellVariants> {
286
+ }
287
+ declare const TableCell: react.ForwardRefExoticComponent<TableCellProps & react.RefAttributes<HTMLTableCellElement>>;
288
+
289
+ interface PageShellProps extends HTMLAttributes<HTMLDivElement> {
290
+ title: string;
291
+ description?: string;
292
+ actions?: ReactNode;
293
+ }
294
+ declare const PageShell: react.ForwardRefExoticComponent<PageShellProps & react.RefAttributes<HTMLDivElement>>;
295
+
296
+ interface ToolbarProps extends HTMLAttributes<HTMLDivElement> {
297
+ search?: ReactNode;
298
+ filters?: ReactNode;
299
+ actions?: ReactNode;
300
+ }
301
+ declare const Toolbar: react.ForwardRefExoticComponent<ToolbarProps & react.RefAttributes<HTMLDivElement>>;
302
+
303
+ interface StatCardProps extends HTMLAttributes<HTMLDivElement> {
304
+ label: string;
305
+ value: string;
306
+ delta?: {
307
+ value: string;
308
+ direction: "up" | "down";
309
+ label?: string;
310
+ };
311
+ icon?: ReactNode;
312
+ }
313
+ declare const StatCard: react.ForwardRefExoticComponent<StatCardProps & react.RefAttributes<HTMLDivElement>>;
314
+
315
+ declare const separatorVariants: (props?: ({
316
+ orientation?: "horizontal" | "vertical" | null | undefined;
317
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
318
+ interface SeparatorProps extends HTMLAttributes<HTMLDivElement>, VariantProps<typeof separatorVariants> {
319
+ }
320
+ declare const Separator: react.ForwardRefExoticComponent<SeparatorProps & react.RefAttributes<HTMLDivElement>>;
321
+
322
+ declare const barVariants: (props?: ({
323
+ variant?: "danger" | "default" | "success" | "warning" | null | undefined;
324
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
325
+ interface ProgressProps extends HTMLAttributes<HTMLDivElement>, VariantProps<typeof barVariants> {
326
+ value: number;
327
+ label?: string;
328
+ }
329
+ declare const Progress: react.ForwardRefExoticComponent<ProgressProps & react.RefAttributes<HTMLDivElement>>;
330
+
331
+ declare const statusDotVariants: (props?: ({
332
+ variant?: "danger" | "neutral" | "success" | "warning" | "info" | null | undefined;
333
+ size?: "sm" | "md" | null | undefined;
334
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
335
+ interface StatusDotProps extends HTMLAttributes<HTMLSpanElement>, VariantProps<typeof statusDotVariants> {
336
+ pulse?: boolean;
337
+ }
338
+ declare const StatusDot: react.ForwardRefExoticComponent<StatusDotProps & react.RefAttributes<HTMLSpanElement>>;
339
+
340
+ type KbdProps = HTMLAttributes<HTMLElement>;
341
+ declare const Kbd: react.ForwardRefExoticComponent<KbdProps & react.RefAttributes<HTMLElement>>;
342
+
343
+ type CellValueType = "text" | "boolean" | "email" | "url" | "json" | "null" | "badge" | "status";
344
+ type UrlReplacement = {
345
+ pattern: string | RegExp;
346
+ label: string;
347
+ };
348
+ interface CellValueProps {
349
+ type?: CellValueType;
350
+ value: unknown;
351
+ badgeVariant?: BadgeProps["variant"];
352
+ badgeStyle?: BadgeProps["style"];
353
+ statusVariant?: StatusDotProps["variant"];
354
+ statusPulse?: boolean;
355
+ replacements?: UrlReplacement[];
356
+ }
357
+ declare function CellValue({ type, value, badgeVariant, badgeStyle, statusVariant, statusPulse, replacements, }: CellValueProps): react.JSX.Element;
358
+
359
+ interface CanvasProps extends HTMLAttributes<HTMLDivElement> {
360
+ gridSize?: number;
361
+ initialZoom?: number;
362
+ minZoom?: number;
363
+ maxZoom?: number;
364
+ zoomStep?: number;
365
+ }
366
+ declare const Canvas: react.ForwardRefExoticComponent<CanvasProps & react.RefAttributes<HTMLDivElement>>;
367
+
368
+ declare const graphNodeVariants: (props?: ({
369
+ variant?: "default" | "selected" | "muted" | null | undefined;
370
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
371
+ interface PortDef {
372
+ side: "left" | "right";
373
+ label?: string;
374
+ state?: "default" | "connected" | "highlighted";
375
+ }
376
+ interface GraphNodeRow {
377
+ label: string;
378
+ value: ReactNode;
379
+ }
380
+ interface GraphNodeProps extends HTMLAttributes<HTMLDivElement>, VariantProps<typeof graphNodeVariants> {
381
+ x: number;
382
+ y: number;
383
+ header?: ReactNode;
384
+ accent?: boolean;
385
+ ports?: PortDef[];
386
+ footer?: ReactNode;
387
+ rows?: GraphNodeRow[];
388
+ }
389
+ declare const GraphNode: react.ForwardRefExoticComponent<GraphNodeProps & react.RefAttributes<HTMLDivElement>>;
390
+
391
+ declare const portVariants: (props?: ({
392
+ side?: "in" | "out" | null | undefined;
393
+ state?: "default" | "connected" | "highlighted" | null | undefined;
394
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
395
+ interface PortProps extends HTMLAttributes<HTMLDivElement>, VariantProps<typeof portVariants> {
396
+ label?: string;
397
+ }
398
+ declare const Port: react.ForwardRefExoticComponent<PortProps & react.RefAttributes<HTMLDivElement>>;
399
+
400
+ type TypographyProps = HTMLAttributes<HTMLDivElement>;
401
+ declare const Typography: react.ForwardRefExoticComponent<TypographyProps & react.RefAttributes<HTMLDivElement>>;
402
+
403
+ interface TreeNodeValue {
404
+ type: CellValueType;
405
+ value: unknown;
406
+ badgeVariant?: "neutral" | "primary" | "success" | "warning" | "danger";
407
+ badgeStyle?: "solid" | "soft";
408
+ statusVariant?: "neutral" | "success" | "warning" | "danger" | "info";
409
+ statusPulse?: boolean;
410
+ }
411
+ interface TreeNode {
412
+ id: string;
413
+ label: string;
414
+ value?: TreeNodeValue;
415
+ children?: TreeNode[];
416
+ icon?: ReactNode;
417
+ defaultCollapsed?: boolean;
418
+ }
419
+ interface TreeViewProps extends VariantProps<typeof treeVariants> {
420
+ data: TreeNode[];
421
+ indent?: number;
422
+ replacements?: UrlReplacement[];
423
+ }
424
+ declare const treeVariants: (props?: ({
425
+ variant?: "default" | "condensed" | null | undefined;
426
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
427
+ declare function TreeView({ data, variant, indent, replacements }: TreeViewProps): react.JSX.Element;
428
+
429
+ declare const codeBlockVariants: (props?: ({
430
+ variant?: "default" | "elevated" | null | undefined;
431
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
432
+ interface CodeBlockProps extends HTMLAttributes<HTMLPreElement>, VariantProps<typeof codeBlockVariants> {
433
+ code: string;
434
+ language?: string;
435
+ header?: string;
436
+ wrap?: boolean;
437
+ }
438
+ declare const CodeBlock: react.ForwardRefExoticComponent<CodeBlockProps & react.RefAttributes<HTMLPreElement>>;
439
+
440
+ interface ComboboxOption {
441
+ value: string;
442
+ label: string;
443
+ }
444
+ interface ComboboxProps {
445
+ options: ComboboxOption[];
446
+ value?: string;
447
+ onChange?: (value: string) => void;
448
+ placeholder?: string;
449
+ emptyText?: string;
450
+ className?: string;
451
+ disabled?: boolean;
452
+ }
453
+ declare function Combobox({ options, value, onChange, placeholder, emptyText, className, disabled, }: ComboboxProps): react.JSX.Element;
454
+
455
+ interface CommandAction {
456
+ id: string;
457
+ label: string;
458
+ keywords?: string[];
459
+ icon?: React.ReactNode;
460
+ shortcut?: string;
461
+ }
462
+ interface CommandPaletteProps {
463
+ open: boolean;
464
+ onOpenChange: (open: boolean) => void;
465
+ actions: CommandAction[];
466
+ onSelect: (action: CommandAction) => void;
467
+ placeholder?: string;
468
+ emptyText?: string;
469
+ groups?: {
470
+ label: string;
471
+ actionIds: string[];
472
+ }[];
473
+ }
474
+ declare function CommandPalette({ open, onOpenChange, actions, onSelect, placeholder, emptyText, groups, }: CommandPaletteProps): react.JSX.Element;
475
+
476
+ declare const drawerContentVariants: (props?: ({
477
+ side?: "right" | "left" | null | undefined;
478
+ size?: "sm" | "md" | "lg" | null | undefined;
479
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
480
+ interface DrawerContentProps extends React.ComponentPropsWithoutRef<typeof Content>, VariantProps<typeof drawerContentVariants> {
481
+ }
482
+ declare const DrawerContent: react.ForwardRefExoticComponent<DrawerContentProps & react.RefAttributes<HTMLDivElement>>;
483
+ declare const DrawerHeader: react.ForwardRefExoticComponent<react.HTMLAttributes<HTMLDivElement> & react.RefAttributes<HTMLDivElement>>;
484
+ declare const DrawerTitle: react.ForwardRefExoticComponent<Omit<_radix_ui_react_dialog.DialogTitleProps & react.RefAttributes<HTMLHeadingElement>, "ref"> & react.RefAttributes<HTMLHeadingElement>>;
485
+ declare const DrawerDescription: react.ForwardRefExoticComponent<Omit<_radix_ui_react_dialog.DialogDescriptionProps & react.RefAttributes<HTMLParagraphElement>, "ref"> & react.RefAttributes<HTMLParagraphElement>>;
486
+ declare const DrawerBody: react.ForwardRefExoticComponent<react.HTMLAttributes<HTMLDivElement> & react.RefAttributes<HTMLDivElement>>;
487
+ declare const DrawerFooter: react.ForwardRefExoticComponent<react.HTMLAttributes<HTMLDivElement> & react.RefAttributes<HTMLDivElement>>;
488
+
489
+ interface DataListItem {
490
+ label: string;
491
+ value?: string | number | boolean | null;
492
+ type?: CellValueType;
493
+ badgeVariant?: "neutral" | "primary" | "success" | "warning" | "danger";
494
+ badgeStyle?: "solid" | "soft";
495
+ statusVariant?: "neutral" | "success" | "warning" | "danger" | "info";
496
+ statusPulse?: boolean;
497
+ icon?: ReactNode;
498
+ }
499
+ declare const dataListVariants: (props?: ({
500
+ variant?: "default" | "compact" | null | undefined;
501
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
502
+ interface DataListProps extends HTMLAttributes<HTMLDListElement>, VariantProps<typeof dataListVariants> {
503
+ items: DataListItem[];
504
+ replacements?: UrlReplacement[];
505
+ }
506
+ declare const DataList: react.ForwardRefExoticComponent<DataListProps & react.RefAttributes<HTMLDListElement>>;
507
+
508
+ interface SliderProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "type"> {
509
+ label?: string;
510
+ showValue?: boolean;
511
+ }
512
+ declare const Slider: react.ForwardRefExoticComponent<SliderProps & react.RefAttributes<HTMLInputElement>>;
513
+
514
+ interface MarkdownProps extends HTMLAttributes<HTMLDivElement> {
515
+ content: string;
516
+ }
517
+ declare function Markdown({ content, className, ...props }: MarkdownProps): react.JSX.Element;
518
+
519
+ export { Alert, Avatar, Badge, Breadcrumbs, Button, Canvas, Card, CardContent, CardFooter, CardHeader, CardTitle, CellValue, Checkbox, CodeBlock, Combobox, CommandPalette, ConfirmDialog, DataList, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DrawerBody, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerTitle, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuSeparator, EmptyState, FormField, GraphNode, Input, Kbd, Label, Markdown, PageShell, Pagination, PopoverContent, Port, Progress, RadioGroup, RadioGroupItem, SelectContent, SelectItem, SelectTrigger, Separator, Skeleton, Slider, Spinner, StatCard, StatusDot, Switch, Table, TableBody, TableCell, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, Toaster, Toolbar, Tooltip, TooltipContent, TooltipProvider, TreeView, Typography, cn, useToast };