shru-design-system 0.5.3 → 0.6.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/dist/index.d.mts CHANGED
@@ -1,1007 +1,2449 @@
1
1
  import * as class_variance_authority_types from 'class-variance-authority/types';
2
- import * as React$1 from 'react';
3
- import { ComponentProps } from 'react';
2
+ import * as React from 'react';
4
3
  import { VariantProps } from 'class-variance-authority';
5
- import * as LabelPrimitive from '@radix-ui/react-label';
6
- import * as SeparatorPrimitive from '@radix-ui/react-separator';
7
- import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
8
4
  import * as react_jsx_runtime from 'react/jsx-runtime';
9
- import * as AvatarPrimitive from '@radix-ui/react-avatar';
10
- import * as ProgressPrimitive from '@radix-ui/react-progress';
11
- import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
12
5
  import * as SliderPrimitive from '@radix-ui/react-slider';
13
- import * as SwitchPrimitive from '@radix-ui/react-switch';
14
- import * as TogglePrimitive from '@radix-ui/react-toggle';
15
6
  import { OTPInput } from 'input-otp';
16
- import * as DialogPrimitive from '@radix-ui/react-dialog';
17
- import * as SelectPrimitive from '@radix-ui/react-select';
18
- import * as TooltipPrimitive from '@radix-ui/react-tooltip';
19
- import * as AccordionPrimitive from '@radix-ui/react-accordion';
20
- import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
21
- import * as CollapsiblePrimitive from '@radix-ui/react-collapsible';
22
- import * as PopoverPrimitive from '@radix-ui/react-popover';
23
- import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
24
- import * as TabsPrimitive from '@radix-ui/react-tabs';
25
- import { Drawer as Drawer$1 } from 'vaul';
26
- import * as HoverCardPrimitive from '@radix-ui/react-hover-card';
27
- import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
28
- import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
29
- import { Command as Command$1 } from 'cmdk';
30
- import { DayPicker, DayButton } from 'react-day-picker';
31
- import * as MenubarPrimitive from '@radix-ui/react-menubar';
32
- import * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu';
33
- import useEmblaCarousel, { UseEmblaCarouselType } from 'embla-carousel-react';
34
- import * as react_hook_form from 'react-hook-form';
35
- import { FieldValues, FieldPath, ControllerProps } from 'react-hook-form';
36
- import { Slot } from '@radix-ui/react-slot';
37
- import * as RechartsPrimitive from 'recharts';
38
- import { ToasterProps } from 'sonner';
39
- import * as AspectRatioPrimitive from '@radix-ui/react-aspect-ratio';
40
- import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
41
- import * as ResizablePrimitive from 'react-resizable-panels';
7
+ import { PanelGroupProps, ImperativePanelGroupHandle, PanelProps, ImperativePanelHandle, PanelResizeHandleProps } from 'react-resizable-panels';
42
8
 
43
9
  declare const buttonVariants: (props?: ({
44
- readonly variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link" | null | undefined;
45
- readonly size?: "default" | "sm" | "lg" | "icon" | "icon-sm" | "icon-lg" | null | undefined;
10
+ variant?: "outline" | "ghost" | "primary" | "secondary" | "destructive" | null | undefined;
11
+ size?: "sm" | "md" | "lg" | null | undefined;
12
+ iconOnly?: boolean | null | undefined;
46
13
  } & class_variance_authority_types.ClassProp) | undefined) => string;
47
- declare const Button: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLButtonElement> & React$1.ButtonHTMLAttributes<HTMLButtonElement> & VariantProps<(props?: ({
48
- readonly variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link" | null | undefined;
49
- readonly size?: "default" | "sm" | "lg" | "icon" | "icon-sm" | "icon-lg" | null | undefined;
50
- } & class_variance_authority_types.ClassProp) | undefined) => string> & {
51
- asChild?: boolean;
52
- stopPropagation?: boolean;
53
- }, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
54
-
55
- declare const badgeVariants: (props?: ({
56
- readonly variant?: "default" | "destructive" | "outline" | "secondary" | "disabled" | null | undefined;
14
+ type ButtonBaseProps = Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "children" | "type">;
15
+ type ButtonProps = ButtonBaseProps & {
16
+ variant?: VariantProps<typeof buttonVariants>["variant"];
17
+ size?: VariantProps<typeof buttonVariants>["size"];
18
+ left?: React.ReactNode;
19
+ right?: React.ReactNode;
20
+ iconOnly?: boolean;
21
+ ariaLabel?: string;
22
+ loading?: boolean;
23
+ className?: string;
24
+ children?: React.ReactNode;
25
+ href?: string;
26
+ label?: string;
27
+ type?: "button" | "submit" | "reset";
28
+ };
29
+ declare const Button: React.ForwardRefExoticComponent<ButtonBaseProps & {
30
+ variant?: VariantProps<typeof buttonVariants>["variant"];
31
+ size?: VariantProps<typeof buttonVariants>["size"];
32
+ left?: React.ReactNode;
33
+ right?: React.ReactNode;
34
+ iconOnly?: boolean;
35
+ ariaLabel?: string;
36
+ loading?: boolean;
37
+ className?: string;
38
+ children?: React.ReactNode;
39
+ href?: string;
40
+ label?: string;
41
+ type?: "button" | "submit" | "reset";
42
+ } & React.RefAttributes<HTMLButtonElement | HTMLAnchorElement>>;
43
+
44
+ declare const fabVariants: (props?: ({
45
+ variant?: "primary" | "secondary" | null | undefined;
46
+ size?: "sm" | "md" | "lg" | null | undefined;
47
+ position?: "bottom-right" | "bottom-left" | "bottom-center" | null | undefined;
57
48
  } & class_variance_authority_types.ClassProp) | undefined) => string;
58
- declare const Badge: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLSpanElement> & React$1.HTMLAttributes<HTMLSpanElement> & VariantProps<(props?: ({
59
- readonly variant?: "default" | "destructive" | "outline" | "secondary" | "disabled" | null | undefined;
60
- } & class_variance_authority_types.ClassProp) | undefined) => string> & {
61
- asChild?: boolean;
62
- onClick?: (e: React$1.MouseEvent<HTMLSpanElement>) => void;
63
- }, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
49
+ interface FABProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "children">, VariantProps<typeof fabVariants> {
50
+ left: React.ReactNode;
51
+ ariaLabel: string;
52
+ }
53
+ declare const FAB: React.ForwardRefExoticComponent<FABProps & React.RefAttributes<HTMLButtonElement>>;
64
54
 
65
- declare const textInputTypes: readonly ["text", "email", "password", "number", "tel", "url", "search"];
66
- interface TextInputProps extends React$1.ComponentProps<"input"> {
67
- type?: typeof textInputTypes[number];
55
+ interface CopyButtonProps extends Omit<ButtonProps, "onClick" | "children" | "onCopy" | "label"> {
56
+ /** Text or value copied to the clipboard. */
57
+ value: string;
58
+ /** Fired after a successful clipboard write. */
59
+ onValueCopy?: (value: string) => void;
60
+ onCopyError?: (error: unknown) => void;
61
+ /** Shown on the button before copy / when reset. */
62
+ copyLabel?: React.ReactNode;
63
+ /** Shown on the button briefly after a successful copy. */
64
+ copiedLabel?: React.ReactNode;
65
+ /** How long to show `copiedLabel` on the button (ms). */
66
+ timeout?: number;
67
+ /** Wraps the button in a `Tooltip` when true. */
68
+ tooltip?: boolean;
69
+ /** Tooltip body when idle; defaults to `copyLabel`. */
70
+ tooltipLabel?: React.ReactNode;
71
+ /** Tooltip body after copy; defaults to `copiedLabel`. */
72
+ tooltipCopiedLabel?: React.ReactNode;
73
+ /** @deprecated Use `tooltipLabel`. */
74
+ tooltipContent?: React.ReactNode;
75
+ children?: React.ReactNode;
68
76
  }
69
- declare const TextInput: React$1.ForwardRefExoticComponent<Omit<TextInputProps, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
77
+ declare const CopyButton: React.ForwardRefExoticComponent<CopyButtonProps & React.RefAttributes<HTMLButtonElement>>;
70
78
 
71
- interface LabelProps extends React$1.ComponentProps<typeof LabelPrimitive.Root> {
79
+ interface DropdownItem {
80
+ label: React.ReactNode;
81
+ value?: string;
82
+ onClick?: () => void;
83
+ left?: React.ReactNode;
84
+ disabled?: boolean;
85
+ separator?: boolean;
86
+ children?: DropdownItem[];
87
+ }
88
+ interface DropdownProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "children"> {
89
+ items: DropdownItem[];
90
+ triggerProps?: {
91
+ label?: React.ReactNode;
92
+ left?: React.ReactNode;
93
+ variant?: ButtonProps["variant"];
94
+ size?: ButtonProps["size"];
95
+ className?: string;
96
+ };
97
+ /** Optional custom trigger (replaces `triggerProps` button). */
98
+ trigger?: React.ReactNode;
99
+ contentClassName?: string;
100
+ align?: "start" | "center" | "end";
101
+ sideOffset?: number;
102
+ open?: boolean;
103
+ defaultOpen?: boolean;
104
+ onOpenChange?: (open: boolean) => void;
105
+ }
106
+ declare function Dropdown({ items, triggerProps, trigger, contentClassName, align, sideOffset, open: openProp, defaultOpen, onOpenChange, className, ...rest }: DropdownProps): react_jsx_runtime.JSX.Element;
107
+ declare namespace Dropdown {
108
+ var displayName: string;
72
109
  }
73
- declare const Label: React$1.ForwardRefExoticComponent<Omit<LabelProps, "ref"> & React$1.RefAttributes<HTMLLabelElement>>;
74
110
 
75
- interface TextareaProps extends React$1.ComponentProps<"textarea"> {
111
+ type SplitButtonMenuItem = {
112
+ label: React.ReactNode;
113
+ onClick?: () => void;
114
+ left?: React.ReactNode;
115
+ disabled?: boolean;
116
+ separator?: boolean;
117
+ };
118
+ interface SplitButtonProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "children"> {
119
+ onClick?: () => void;
120
+ menuItems: SplitButtonMenuItem[];
121
+ disabled?: boolean;
122
+ loading?: boolean;
123
+ children?: React.ReactNode;
124
+ variant?: Exclude<ButtonProps["variant"], "destructive">;
125
+ size?: ButtonProps["size"];
126
+ buttonProps?: Partial<Omit<ButtonProps, "variant" | "size" | "children" | "iconOnly">>;
127
+ dropdownProps?: Partial<Omit<DropdownProps, "items" | "trigger">>;
128
+ }
129
+ declare function SplitButton({ onClick, menuItems, disabled, loading, children, variant, size, buttonProps, dropdownProps, className, ...rest }: SplitButtonProps): react_jsx_runtime.JSX.Element;
130
+ declare namespace SplitButton {
131
+ var displayName: string;
76
132
  }
77
- declare const Textarea: React$1.ForwardRefExoticComponent<Omit<TextareaProps, "ref"> & React$1.RefAttributes<HTMLTextAreaElement>>;
78
133
 
79
- declare const separatorOrientations: readonly ["horizontal", "vertical"];
80
- interface SeparatorProps extends React$1.ComponentProps<typeof SeparatorPrimitive.Root> {
81
- orientation?: typeof separatorOrientations[number];
134
+ declare const iconVariants: (props?: ({
135
+ size?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
136
+ variant?: "default" | "muted" | null | undefined;
137
+ shape?: "default" | "circle" | "square" | null | undefined;
138
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
139
+ type Status$1 = "online" | "offline" | "away" | "busy";
140
+ type StatusPosition = "top-right" | "bottom-right";
141
+ interface IconProps extends Omit<React.HTMLAttributes<HTMLSpanElement>, "children">, VariantProps<typeof iconVariants> {
142
+ node?: React.ReactNode;
143
+ alt?: string;
144
+ status?: Status$1;
145
+ statusPosition?: StatusPosition;
146
+ fallback?: React.ReactNode;
82
147
  }
83
- declare const Separator: React$1.ForwardRefExoticComponent<Omit<SeparatorProps, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
148
+ declare const Icon: React.ForwardRefExoticComponent<IconProps & React.RefAttributes<HTMLSpanElement>>;
84
149
 
85
- interface CheckboxProps extends React$1.ComponentProps<typeof CheckboxPrimitive.Root> {
150
+ declare const labelVariants: (props?: ({
151
+ size?: "sm" | "md" | "lg" | null | undefined;
152
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
153
+ interface LabelProps extends React.LabelHTMLAttributes<HTMLLabelElement>, VariantProps<typeof labelVariants> {
154
+ required?: boolean;
155
+ left?: React.ReactNode;
86
156
  }
87
- declare const Checkbox: React$1.ForwardRefExoticComponent<Omit<CheckboxProps, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
157
+ declare const Label: React.ForwardRefExoticComponent<LabelProps & React.RefAttributes<HTMLLabelElement>>;
158
+
159
+ declare const focusRing = "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring";
160
+ declare const focusRingOffset = "focus-visible:ring-offset-2";
161
+ declare const focusRingDestructive = "focus-visible:ring-destructive";
162
+ declare const peerFocusRing = "peer-focus-visible:outline-none peer-focus-visible:ring-2 peer-focus-visible:ring-ring";
163
+ /** Unified disabled: no pointer, dimmed, not-allowed cursor (fields, buttons, thumbs). */
164
+ declare const disabledControl = "disabled:cursor-not-allowed disabled:opacity-60 disabled:pointer-events-none";
165
+ declare const ringOffsetBackground = "ring-offset-background";
166
+ type StringFieldValidateOpts = {
167
+ validate?: boolean | ((value: string) => string | undefined);
168
+ required?: boolean;
169
+ minLength?: number;
170
+ maxLength?: number;
171
+ errorMessage?: string;
172
+ };
173
+ declare function getStringFieldValidationError(value: string, opts: StringFieldValidateOpts): string | undefined;
174
+ declare const fieldSurfaceVariants: (props?: ({
175
+ control?: "input" | "textarea" | null | undefined;
176
+ size?: "sm" | "md" | "lg" | null | undefined;
177
+ variant?: "outline" | "filled" | "ghost" | "underline" | null | undefined;
178
+ invalid?: boolean | null | undefined;
179
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
180
+ type FieldSurfaceProps = VariantProps<typeof fieldSurfaceVariants>;
181
+ interface FieldLayoutProps {
182
+ className?: string;
183
+ label?: React.ReactNode;
184
+ htmlFor?: string;
185
+ required?: boolean;
186
+ size?: LabelProps["size"];
187
+ errorMessage?: string;
188
+ children: React.ReactNode;
189
+ }
190
+ declare function FieldLayout({ className, label, htmlFor, required, size, errorMessage, children, }: FieldLayoutProps): react_jsx_runtime.JSX.Element;
191
+
192
+ interface TextInputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "size">, Omit<VariantProps<typeof fieldSurfaceVariants>, "control" | "invalid"> {
193
+ label?: React.ReactNode;
194
+ errorMessage?: string;
195
+ left?: React.ReactNode;
196
+ right?: React.ReactNode;
197
+ rightInteractive?: boolean;
198
+ validate?: boolean | ((value: string) => string | undefined);
199
+ onValidate?: (isValid: boolean, error?: string) => void;
200
+ }
201
+ declare const TextInput: React.ForwardRefExoticComponent<TextInputProps & React.RefAttributes<HTMLInputElement>>;
202
+
203
+ interface TextareaProps extends Omit<React.TextareaHTMLAttributes<HTMLTextAreaElement>, "size">, Omit<VariantProps<typeof fieldSurfaceVariants>, "control" | "invalid"> {
204
+ label?: React.ReactNode;
205
+ errorMessage?: string;
206
+ validate?: boolean | ((value: string) => string | undefined);
207
+ onValidate?: (isValid: boolean, error?: string) => void;
208
+ resize?: "none" | "vertical" | "horizontal" | "both";
209
+ }
210
+ declare const Textarea: React.ForwardRefExoticComponent<TextareaProps & React.RefAttributes<HTMLTextAreaElement>>;
88
211
 
89
- declare const alertVariants: (props?: ({
90
- readonly variant?: "default" | "destructive" | "error" | null | undefined;
212
+ declare const checkboxVariants: (props?: ({
213
+ size?: "sm" | "md" | "lg" | null | undefined;
91
214
  } & class_variance_authority_types.ClassProp) | undefined) => string;
92
- declare function Alert({ className, variant, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof alertVariants>): react_jsx_runtime.JSX.Element;
93
- declare function AlertTitle({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
94
- declare function AlertDescription({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
215
+ interface CheckboxProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "type" | "onChange" | "defaultChecked">, VariantProps<typeof checkboxVariants> {
216
+ default?: boolean;
217
+ indeterminate?: boolean;
218
+ label?: React.ReactNode;
219
+ description?: React.ReactNode;
220
+ errorMessage?: string;
221
+ onChange?: (checked: boolean) => void;
222
+ }
223
+ declare const Checkbox: React.ForwardRefExoticComponent<CheckboxProps & React.RefAttributes<HTMLInputElement>>;
95
224
 
96
- declare function Avatar({ className, ...props }: React$1.ComponentProps<typeof AvatarPrimitive.Root>): react_jsx_runtime.JSX.Element;
97
- declare function AvatarImage({ className, ...props }: React$1.ComponentProps<typeof AvatarPrimitive.Image>): react_jsx_runtime.JSX.Element;
98
- declare function AvatarFallback({ className, ...props }: React$1.ComponentProps<typeof AvatarPrimitive.Fallback>): react_jsx_runtime.JSX.Element;
225
+ declare const radioVariants: (props?: ({
226
+ size?: "sm" | "md" | "lg" | null | undefined;
227
+ selected?: boolean | null | undefined;
228
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
229
+ interface RadioProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "type" | "onChange">, VariantProps<typeof radioVariants> {
230
+ default?: boolean;
231
+ label?: React.ReactNode;
232
+ description?: React.ReactNode;
233
+ errorMessage?: string;
234
+ onChange?: (checked: boolean) => void;
235
+ }
236
+ declare const Radio: React.ForwardRefExoticComponent<RadioProps & React.RefAttributes<HTMLInputElement>>;
99
237
 
100
- declare function Progress({ className, value, ...props }: React$1.ComponentProps<typeof ProgressPrimitive.Root>): react_jsx_runtime.JSX.Element;
238
+ declare const toggleVariants: (props?: ({
239
+ size?: "sm" | "md" | "lg" | null | undefined;
240
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
241
+ declare const toggleThumbVariants: (props?: ({
242
+ size?: "sm" | "md" | "lg" | null | undefined;
243
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
244
+ interface ToggleProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "role" | "size">, VariantProps<typeof toggleVariants> {
245
+ default?: boolean;
246
+ label?: React.ReactNode;
247
+ description?: React.ReactNode;
248
+ errorMessage?: string;
249
+ onChange?: (checked: boolean) => void;
250
+ checked?: boolean;
251
+ defaultChecked?: boolean;
252
+ }
253
+ declare const Toggle: React.ForwardRefExoticComponent<ToggleProps & React.RefAttributes<HTMLButtonElement>>;
101
254
 
102
- declare function Radio({ className, ...props }: React$1.ComponentProps<typeof RadioGroupPrimitive.Root>): react_jsx_runtime.JSX.Element;
103
- declare function RadioItem({ className, ...props }: React$1.ComponentProps<typeof RadioGroupPrimitive.Item>): react_jsx_runtime.JSX.Element;
255
+ declare const sliderVariants: (props?: ({
256
+ size?: "sm" | "md" | "lg" | null | undefined;
257
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
258
+ interface SliderProps extends Omit<React.ComponentPropsWithoutRef<typeof SliderPrimitive.Root>, "value" | "defaultValue" | "onValueChange" | "onChange">, VariantProps<typeof sliderVariants> {
259
+ value?: number | [number, number];
260
+ defaultValue?: number | [number, number];
261
+ onChange?: (value: number | [number, number]) => void;
262
+ range?: boolean;
263
+ showValue?: boolean;
264
+ valueFormatter?: (value: number | [number, number]) => React.ReactNode;
265
+ marks?: Array<{
266
+ value: number;
267
+ label?: React.ReactNode;
268
+ }>;
269
+ label?: React.ReactNode;
270
+ errorMessage?: string;
271
+ }
272
+ declare const Slider: React.ForwardRefExoticComponent<SliderProps & React.RefAttributes<HTMLSpanElement>>;
104
273
 
105
- declare function Skeleton({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
274
+ declare const ratingVariants: (props?: ({
275
+ size?: "sm" | "md" | "lg" | null | undefined;
276
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
277
+ type RatingPrecision = 1 | 0.5 | 0.25;
278
+ interface RatingProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue">, VariantProps<typeof ratingVariants> {
279
+ value?: number;
280
+ defaultValue?: number;
281
+ onChange?: (value: number) => void;
282
+ max?: number;
283
+ /** Coerced from string when set from selects (e.g. test harness). */
284
+ precision?: RatingPrecision | number | string;
285
+ readOnly?: boolean;
286
+ disabled?: boolean;
287
+ left?: React.ReactNode;
288
+ showValue?: boolean;
289
+ label?: React.ReactNode;
290
+ errorMessage?: string;
291
+ }
292
+ declare const Rating: React.ForwardRefExoticComponent<RatingProps & React.RefAttributes<HTMLDivElement>>;
106
293
 
107
- interface SkeletonGridProps {
108
- count?: number;
109
- cols?: {
110
- default?: number;
111
- md?: number;
112
- lg?: number;
113
- };
294
+ interface InputOTPProps extends Omit<React.ComponentPropsWithoutRef<typeof OTPInput>, "maxLength" | "render" | "children" | "value" | "onChange" | "defaultValue" | "size">, Omit<VariantProps<typeof fieldSurfaceVariants>, "control" | "invalid"> {
295
+ value?: string;
296
+ defaultValue?: string;
297
+ onChange?: (value: string) => void;
298
+ onComplete?: (value: string) => void;
299
+ length?: number;
300
+ mask?: boolean;
301
+ label?: React.ReactNode;
302
+ errorMessage?: string;
303
+ validate?: boolean | ((value: string) => string | undefined);
304
+ onValidate?: (isValid: boolean, error?: string) => void;
305
+ }
306
+ declare const InputOTP: React.ForwardRefExoticComponent<InputOTPProps & React.RefAttributes<HTMLInputElement>>;
307
+
308
+ interface SearchInputProps extends Omit<TextInputProps, "onChange" | "left" | "right" | "type"> {
309
+ /** Immediate value updates (string). */
310
+ onChange?: (value: string) => void;
311
+ /** Debounced callback (see `debounceMs`). */
312
+ onSearch?: (value: string) => void;
313
+ onClear?: () => void;
314
+ debounceMs?: number;
315
+ clearable?: boolean;
316
+ loading?: boolean;
317
+ }
318
+ declare const SearchInput: React.ForwardRefExoticComponent<SearchInputProps & React.RefAttributes<HTMLInputElement>>;
319
+
320
+ type PhoneCountry = {
321
+ code: string;
322
+ label: string;
323
+ dial: string;
324
+ };
325
+ /** Phone field value — `dialCode` is derived via {@link getPhoneDialCode}, not stored on the value. */
326
+ type PhoneValue = {
327
+ countryCode: string;
328
+ number: string;
329
+ };
330
+ declare function getPhoneDialCode(countryCode: string, allowed?: PhoneCountry[]): string;
331
+
332
+ interface PhoneInputProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue"> {
333
+ value?: PhoneValue;
334
+ defaultValue?: PhoneValue;
335
+ onChange?: (value: PhoneValue) => void;
336
+ defaultCountry?: string;
337
+ allowedCountries?: string[];
338
+ placeholder?: string;
339
+ disabled?: boolean;
340
+ required?: boolean;
341
+ label?: React.ReactNode;
342
+ errorMessage?: string;
343
+ validate?: boolean | ((value: PhoneValue) => string | undefined);
344
+ onValidate?: (isValid: boolean, error?: string) => void;
345
+ size?: VariantProps<typeof fieldSurfaceVariants>["size"];
346
+ variant?: VariantProps<typeof fieldSurfaceVariants>["variant"];
347
+ inputProps?: Partial<TextInputProps>;
348
+ dropdownProps?: Partial<DropdownProps>;
114
349
  className?: string;
115
- renderSkeleton?: () => React$1.ReactNode;
116
350
  }
117
- declare function SkeletonGrid({ count, cols, className, renderSkeleton, }: SkeletonGridProps): react_jsx_runtime.JSX.Element;
351
+ declare function PhoneInput({ value, defaultValue, onChange, defaultCountry, allowedCountries, placeholder, disabled, required, label, errorMessage, validate, onValidate, size, variant, inputProps, dropdownProps, className, ...rest }: PhoneInputProps): react_jsx_runtime.JSX.Element;
352
+ declare namespace PhoneInput {
353
+ var displayName: string;
354
+ }
118
355
 
119
- interface SkeletonTextProps {
120
- lines?: number;
356
+ type CommandItem = {
357
+ label: React.ReactNode;
358
+ value: string;
359
+ left?: React.ReactNode;
360
+ group?: string;
361
+ disabled?: boolean;
362
+ keywords?: string[];
363
+ };
364
+ interface CommandProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "onSelect"> {
365
+ items?: CommandItem[];
366
+ value?: string;
367
+ defaultValue?: string;
368
+ onValueChange?: (value: string) => void;
369
+ inputValue?: string;
370
+ defaultInputValue?: string;
371
+ onInputValueChange?: (value: string) => void;
372
+ onSelect?: (item: CommandItem) => void;
373
+ placeholder?: string;
374
+ emptyState?: React.ReactNode;
375
+ loading?: boolean;
376
+ disabled?: boolean;
377
+ loop?: boolean;
378
+ debounceMs?: number;
379
+ filterFn?: (item: CommandItem, query: string) => boolean;
380
+ maxHeight?: string | number;
381
+ searchInputProps?: Partial<SearchInputProps>;
121
382
  className?: string;
122
- lineHeight?: "sm" | "md" | "lg";
123
- lastLineWidth?: "full" | "3/4" | "1/2";
383
+ children?: React.ReactNode;
384
+ }
385
+ declare function Command({ items, value, defaultValue, onValueChange, inputValue, defaultInputValue, onInputValueChange, onSelect, placeholder, emptyState, loading, disabled, loop, debounceMs, filterFn, maxHeight, searchInputProps, className, children, ...rest }: CommandProps): react_jsx_runtime.JSX.Element;
386
+ declare namespace Command {
387
+ var displayName: string;
124
388
  }
125
- declare function SkeletonText({ lines, className, lineHeight, lastLineWidth, }: SkeletonTextProps): react_jsx_runtime.JSX.Element;
126
389
 
127
- declare const sliderOrientations: readonly ["horizontal", "vertical"];
128
- declare function Slider({ className, defaultValue, value, min, max, orientation, ...props }: React$1.ComponentProps<typeof SliderPrimitive.Root> & {
129
- orientation?: typeof sliderOrientations[number];
130
- }): react_jsx_runtime.JSX.Element;
390
+ type DateRangeValue = {
391
+ from: Date | null;
392
+ to: Date | null;
393
+ };
131
394
 
132
- declare function Spinner({ className, size, ...props }: React$1.ComponentProps<"svg"> & {
133
- size?: "sm" | "default" | "lg";
134
- }): react_jsx_runtime.JSX.Element;
395
+ type CalendarSelectionMode = "single" | "multiple" | "range";
396
+ interface CalendarProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue"> {
397
+ value?: Date | Date[] | DateRangeValue | null;
398
+ defaultValue?: Date | Date[] | DateRangeValue | null;
399
+ onChange?: (value: Date | Date[] | DateRangeValue | null) => void;
400
+ minDate?: Date;
401
+ maxDate?: Date;
402
+ /** Minimum inclusive span when `selectionMode="range"` (both endpoints count). */
403
+ minRangeDays?: number;
404
+ /** Maximum inclusive span when `selectionMode="range"`. */
405
+ maxRangeDays?: number;
406
+ disabled?: boolean;
407
+ selectionMode?: CalendarSelectionMode;
408
+ showOutsideDays?: boolean;
409
+ weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6;
410
+ disabledDates?: Date[] | ((date: Date) => boolean);
411
+ highlightedDates?: Date[];
412
+ locale?: string;
413
+ className?: string;
414
+ }
415
+ declare function Calendar({ value, defaultValue, onChange, minDate, maxDate, minRangeDays, maxRangeDays, disabled, selectionMode, showOutsideDays, weekStartsOn, disabledDates, highlightedDates, locale, className, ...rest }: CalendarProps): react_jsx_runtime.JSX.Element;
416
+ declare namespace Calendar {
417
+ var displayName: string;
418
+ }
135
419
 
136
- declare function Switch({ className, ...props }: React$1.ComponentProps<typeof SwitchPrimitive.Root>): react_jsx_runtime.JSX.Element;
420
+ interface DatePickerProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue"> {
421
+ value?: Date | null;
422
+ defaultValue?: Date | null;
423
+ onChange?: (value: Date | null) => void;
424
+ minDate?: Date;
425
+ maxDate?: Date;
426
+ disabled?: boolean;
427
+ required?: boolean;
428
+ placeholder?: string;
429
+ label?: React.ReactNode;
430
+ errorMessage?: string;
431
+ format?: string;
432
+ locale?: string;
433
+ closeOnSelect?: boolean;
434
+ clearable?: boolean;
435
+ size?: VariantProps<typeof fieldSurfaceVariants>["size"];
436
+ variant?: VariantProps<typeof fieldSurfaceVariants>["variant"];
437
+ inputProps?: Partial<TextInputProps>;
438
+ calendarProps?: Partial<CalendarProps>;
439
+ className?: string;
440
+ }
441
+ declare function DatePicker({ value, defaultValue, onChange, minDate, maxDate, disabled, required, placeholder, label, errorMessage, format, locale, closeOnSelect, clearable, size, variant, inputProps, calendarProps, className, ...rest }: DatePickerProps): react_jsx_runtime.JSX.Element;
442
+ declare namespace DatePicker {
443
+ var displayName: string;
444
+ }
137
445
 
138
- declare const toggleVariants: (props?: ({
139
- readonly variant?: "default" | "outline" | null | undefined;
140
- readonly size?: "default" | "sm" | "lg" | null | undefined;
141
- } & class_variance_authority_types.ClassProp) | undefined) => string;
142
- declare function Toggle({ className, variant, size, ...props }: React$1.ComponentProps<typeof TogglePrimitive.Root> & VariantProps<typeof toggleVariants>): react_jsx_runtime.JSX.Element;
446
+ interface TimePickerProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue"> {
447
+ value?: Date | null;
448
+ defaultValue?: Date | null;
449
+ onChange?: (value: Date | null) => void;
450
+ minTime?: Date;
451
+ maxTime?: Date;
452
+ disabled?: boolean;
453
+ required?: boolean;
454
+ placeholder?: string;
455
+ label?: React.ReactNode;
456
+ errorMessage?: string;
457
+ format?: "12h" | "24h";
458
+ step?: number;
459
+ closeOnSelect?: boolean;
460
+ clearable?: boolean;
461
+ size?: VariantProps<typeof fieldSurfaceVariants>["size"];
462
+ variant?: VariantProps<typeof fieldSurfaceVariants>["variant"];
463
+ inputProps?: Partial<TextInputProps>;
464
+ className?: string;
465
+ }
466
+ declare function TimePicker({ value, defaultValue, onChange, disabled, required, placeholder, label, errorMessage, format, step, closeOnSelect, clearable, size, variant, inputProps, className, ...rest }: TimePickerProps): react_jsx_runtime.JSX.Element;
467
+ declare namespace TimePicker {
468
+ var displayName: string;
469
+ }
143
470
 
144
- declare function Empty({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
145
- declare function EmptyHeader({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
146
- declare const emptyMediaVariants: (props?: ({
147
- readonly variant?: "default" | "icon" | null | undefined;
148
- } & class_variance_authority_types.ClassProp) | undefined) => string;
149
- declare function EmptyMedia({ className, variant, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof emptyMediaVariants>): react_jsx_runtime.JSX.Element;
150
- declare function EmptyTitle({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
151
- declare function EmptyDescription({ className, ...props }: React$1.ComponentProps<"p">): react_jsx_runtime.JSX.Element;
152
- declare function EmptyContent({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
153
-
154
- declare const textVariants: readonly ["default", "muted", "small", "large"];
155
- declare const textAsElements: readonly ["p", "span", "div", "code"];
156
- interface TextProps extends React$1.HTMLAttributes<HTMLParagraphElement> {
157
- variant?: typeof textVariants[number];
158
- as?: typeof textAsElements[number];
159
- leftIcon?: React$1.ReactNode;
160
- rightIcon?: React$1.ReactNode;
161
- }
162
- declare function Text({ className, variant, as: Component, leftIcon, rightIcon, children, ...props }: TextProps): react_jsx_runtime.JSX.Element;
163
-
164
- declare function InputOTP({ className, containerClassName, ...props }: React$1.ComponentProps<typeof OTPInput> & {
165
- containerClassName?: string;
166
- }): react_jsx_runtime.JSX.Element;
167
- declare function InputOTPGroup({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
168
- declare function InputOTPSlot({ index, className, ...props }: React$1.ComponentProps<"div"> & {
169
- index: number;
170
- }): react_jsx_runtime.JSX.Element;
171
- declare function InputOTPSeparator({ ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
471
+ type DatePreset = {
472
+ label: React.ReactNode;
473
+ value: DateRangeValue;
474
+ };
475
+ interface DateRangePickerProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue"> {
476
+ value?: DateRangeValue | null;
477
+ defaultValue?: DateRangeValue | null;
478
+ onChange?: (value: DateRangeValue | null) => void;
479
+ /** Earliest selectable calendar day. */
480
+ minDate?: Date;
481
+ /** Latest selectable calendar day. */
482
+ maxDate?: Date;
483
+ /** Minimum inclusive span (both endpoints count). */
484
+ minRangeDays?: number;
485
+ /** Maximum inclusive span (both endpoints count). */
486
+ maxRangeDays?: number;
487
+ disabled?: boolean;
488
+ required?: boolean;
489
+ placeholder?: string;
490
+ label?: React.ReactNode;
491
+ errorMessage?: string;
492
+ format?: string;
493
+ locale?: string;
494
+ /** Require Apply to commit; shows Apply / Cancel footer. When false, closes on a valid complete range. */
495
+ showApplyButton?: boolean;
496
+ applyLabel?: string;
497
+ cancelLabel?: string;
498
+ clearable?: boolean;
499
+ presets?: DatePreset[];
500
+ size?: VariantProps<typeof fieldSurfaceVariants>["size"];
501
+ variant?: VariantProps<typeof fieldSurfaceVariants>["variant"];
502
+ inputProps?: Partial<TextInputProps>;
503
+ calendarProps?: Partial<CalendarProps>;
504
+ className?: string;
505
+ }
506
+ declare function DateRangePicker({ value, defaultValue, onChange, minDate, maxDate, minRangeDays, maxRangeDays, disabled, required, placeholder, label, errorMessage, format, locale, showApplyButton, applyLabel, cancelLabel, clearable, presets, size, variant, inputProps, calendarProps, className, ...rest }: DateRangePickerProps): react_jsx_runtime.JSX.Element;
507
+ declare namespace DateRangePicker {
508
+ var displayName: string;
509
+ }
172
510
 
173
- declare function Kbd({ className, ...props }: React$1.ComponentProps<"kbd">): react_jsx_runtime.JSX.Element;
174
- declare function KbdGroup({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
511
+ interface UploadProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue"> {
512
+ onUpload: (files: File[]) => void | Promise<void>;
513
+ onRemove?: (file: File, index: number) => void;
514
+ value?: File[];
515
+ defaultValue?: File[];
516
+ onChange?: (files: File[]) => void;
517
+ multiple?: boolean;
518
+ maxFiles?: number;
519
+ accept?: string;
520
+ maxSize?: number;
521
+ disabled?: boolean;
522
+ loading?: boolean;
523
+ dragAndDrop?: boolean;
524
+ preview?: boolean;
525
+ label?: React.ReactNode;
526
+ errorMessage?: string;
527
+ showFileList?: boolean;
528
+ size?: VariantProps<typeof fieldSurfaceVariants>["size"];
529
+ variant?: VariantProps<typeof fieldSurfaceVariants>["variant"];
530
+ className?: string;
531
+ children?: React.ReactNode;
532
+ }
533
+ declare function Upload({ onUpload, onRemove, value, defaultValue, onChange, multiple, maxFiles, accept, maxSize, disabled, loading, dragAndDrop, preview, label, errorMessage, showFileList, size, variant, className, children, ...rest }: UploadProps): react_jsx_runtime.JSX.Element;
534
+ declare namespace Upload {
535
+ var displayName: string;
536
+ }
175
537
 
176
- interface ImageProps extends React$1.ImgHTMLAttributes<HTMLImageElement> {
177
- fallback?: React$1.ReactNode;
178
- src?: string;
179
- alt?: string;
180
- width?: number | string;
181
- height?: number | string;
182
- loading?: "lazy" | "eager";
538
+ interface InlineEditProps extends Omit<React.HTMLAttributes<HTMLSpanElement>, "onChange" | "defaultValue"> {
539
+ value?: string;
540
+ defaultValue?: string;
541
+ onSave?: (value: string) => void;
542
+ onCancel?: () => void;
543
+ placeholder?: string;
544
+ disabled?: boolean;
545
+ required?: boolean;
546
+ validate?: boolean | ((value: string) => string | undefined);
547
+ editTrigger?: "click" | "doubleClick";
548
+ saveOnBlur?: boolean;
549
+ saveOnEnter?: boolean;
550
+ className?: string;
551
+ }
552
+ declare function InlineEdit({ value, defaultValue, onSave, onCancel, placeholder, disabled, required, validate, editTrigger, saveOnBlur, saveOnEnter, className, ...rest }: InlineEditProps): react_jsx_runtime.JSX.Element;
553
+ declare namespace InlineEdit {
554
+ var displayName: string;
183
555
  }
184
- /**
185
- * Image component - uses standard HTML img tag for library compatibility.
186
- *
187
- * For Next.js optimization, use next/image directly in your Next.js app.
188
- * This component is library-compatible and works in any React environment.
189
- */
190
- declare function Image({ className, fallback, alt, src, width, height, loading, ...props }: ImageProps): react_jsx_runtime.JSX.Element | null;
191
556
 
192
- interface UploadProps extends React$1.InputHTMLAttributes<HTMLInputElement> {
193
- onUpload?: (files: FileList | null) => void;
557
+ interface SelectOption {
558
+ label: React.ReactNode;
559
+ value: string;
560
+ disabled?: boolean;
561
+ group?: string;
562
+ /** When this option is selected, replaces the field-level `left` adornment (if set). */
563
+ left?: React.ReactNode;
564
+ }
565
+ interface SelectProps extends Omit<React.ComponentPropsWithoutRef<"select">, "size"> {
566
+ items: SelectOption[];
567
+ /** Leading adornment (same behavior as TextInput `left` — keyword strings resolve via Icon). */
568
+ left?: React.ReactNode;
569
+ placeholder?: string;
570
+ label?: React.ReactNode;
571
+ errorMessage?: string;
572
+ required?: boolean;
573
+ size?: VariantProps<typeof fieldSurfaceVariants>["size"];
574
+ variant?: VariantProps<typeof fieldSurfaceVariants>["variant"];
575
+ className?: string;
576
+ /** @deprecated Native select has no separate popover; kept for API compatibility (no-op). */
577
+ contentClassName?: string;
578
+ value?: string;
579
+ defaultValue?: string;
580
+ onValueChange?: (value: string) => void;
194
581
  }
195
- declare function Upload({ className, onUpload, onChange, ...props }: UploadProps): react_jsx_runtime.JSX.Element;
582
+ declare const Select: React.ForwardRefExoticComponent<SelectProps & React.RefAttributes<HTMLSelectElement>>;
196
583
 
197
- interface ErrorBoundaryProps {
198
- children: React$1.ReactNode;
199
- fallback?: React$1.ReactNode;
584
+ interface HelperTextProps extends React.HTMLAttributes<HTMLParagraphElement> {
585
+ tone?: "default" | "muted" | "error";
586
+ }
587
+ declare const HelperText: React.ForwardRefExoticComponent<HelperTextProps & React.RefAttributes<HTMLParagraphElement>>;
588
+
589
+ interface RadioGroupItem {
590
+ label: React.ReactNode;
591
+ value: string;
592
+ description?: React.ReactNode;
593
+ disabled?: boolean;
594
+ }
595
+ declare const groupVariants$1: (props?: ({
596
+ orientation?: "horizontal" | "vertical" | null | undefined;
597
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
598
+ interface RadioGroupProps extends Omit<React.ComponentPropsWithoutRef<"fieldset">, "onChange"> {
599
+ items: RadioGroupItem[];
600
+ value?: string;
601
+ defaultValue?: string;
602
+ onChange?: (value: string) => void;
603
+ name?: string;
604
+ required?: boolean;
605
+ disabled?: boolean;
606
+ orientation?: VariantProps<typeof groupVariants$1>["orientation"];
607
+ size?: RadioProps["size"];
608
+ errorMessage?: string;
609
+ /** Group caption; rendered as `<legend>` for fieldset accessibility. */
610
+ heading?: React.ReactNode;
200
611
  className?: string;
201
612
  }
202
- interface ErrorBoundaryState {
203
- hasError: boolean;
204
- error: Error | null;
613
+ declare const RadioGroup: React.ForwardRefExoticComponent<RadioGroupProps & React.RefAttributes<HTMLFieldSetElement>>;
614
+
615
+ type FormValues = Record<string, unknown>;
616
+ type FormValidateOn$1 = "submit" | "change" | "blur";
617
+ type FormFieldRenderProps = {
618
+ id: string;
619
+ name: string;
620
+ value: string;
621
+ onChange: (value: string) => void;
622
+ onBlur: () => void;
623
+ errorMessage?: string;
624
+ disabled?: boolean;
625
+ required?: boolean;
626
+ placeholder?: string;
627
+ };
628
+ type FormContextValue = {
629
+ values: FormValues;
630
+ errors: Record<string, string | undefined>;
631
+ touched: Record<string, boolean>;
632
+ submitted: boolean;
633
+ setValue: (name: string, value: unknown) => void;
634
+ setError: (name: string, error?: string) => void;
635
+ setTouched: (name: string, touched: boolean) => void;
636
+ validateOn: FormValidateOn$1;
637
+ disabled?: boolean;
638
+ loading?: boolean;
639
+ };
640
+ declare function useFormContext(): FormContextValue | null;
641
+
642
+ type FormValidateFn = (values: FormValues) => Record<string, string | undefined> | void;
643
+ type FormValidateOn = "submit" | "change" | "blur";
644
+ type FormLayout = "vertical" | "horizontal" | "grid";
645
+ interface FormProps extends Omit<React.FormHTMLAttributes<HTMLFormElement>, "onSubmit" | "onChange"> {
646
+ onSubmit: (values: FormValues) => void | Promise<void>;
647
+ onCancel?: () => void;
648
+ initialValues?: FormValues;
649
+ values?: FormValues;
650
+ onValuesChange?: (values: FormValues) => void;
651
+ validate?: FormValidateFn;
652
+ errors?: Record<string, string | undefined>;
653
+ validateOn?: FormValidateOn;
654
+ /** Controlled submitted flag — errors show after submit when validateOn is "submit". */
655
+ submitted?: boolean;
656
+ onSubmittedChange?: (submitted: boolean) => void;
657
+ /** Auto-clear submitted state after N ms (e.g. reset error display). */
658
+ resetSubmittedAfterMs?: number;
659
+ layout?: FormLayout;
660
+ columns?: 1 | 2 | 3 | 4;
661
+ submitLabel?: string;
662
+ cancelLabel?: string;
663
+ footer?: React.ReactNode;
664
+ disabled?: boolean;
665
+ loading?: boolean;
666
+ submitButtonProps?: Partial<ButtonProps>;
667
+ cancelButtonProps?: Partial<ButtonProps>;
668
+ children?: React.ReactNode;
669
+ className?: string;
205
670
  }
206
- declare class ErrorBoundary extends React$1.Component<ErrorBoundaryProps, ErrorBoundaryState> {
207
- constructor(props: ErrorBoundaryProps);
208
- static getDerivedStateFromError(error: Error): ErrorBoundaryState;
209
- componentDidCatch(error: Error, errorInfo: React$1.ErrorInfo): void;
210
- render(): string | number | boolean | react_jsx_runtime.JSX.Element | Iterable<React$1.ReactNode> | null | undefined;
671
+ declare function Form({ onSubmit, onCancel, initialValues, values: valuesProp, onValuesChange, validate, errors: errorsProp, validateOn, submitted: submittedProp, onSubmittedChange, resetSubmittedAfterMs, layout, columns, submitLabel, cancelLabel, footer, disabled, loading, submitButtonProps, cancelButtonProps, children, className, ...props }: FormProps): react_jsx_runtime.JSX.Element;
672
+ declare namespace Form {
673
+ var displayName: string;
211
674
  }
212
675
 
676
+ type FormFieldType = "text" | "email" | "password" | "number" | "url" | "search" | "textarea";
677
+ interface FormFieldProps {
678
+ name: string;
679
+ type?: FormFieldType;
680
+ label?: React.ReactNode;
681
+ placeholder?: string;
682
+ required?: boolean;
683
+ disabled?: boolean;
684
+ value?: string;
685
+ defaultValue?: string;
686
+ onChange?: (value: string) => void;
687
+ validate?: boolean | ((value: string) => string | undefined);
688
+ errorMessage?: string;
689
+ touched?: boolean;
690
+ showError?: boolean;
691
+ render?: (props: FormFieldRenderProps) => React.ReactNode;
692
+ children?: React.ReactNode;
693
+ className?: string;
694
+ inputProps?: Partial<TextInputProps>;
695
+ labelProps?: Record<string, unknown>;
696
+ helperTextProps?: Record<string, unknown>;
697
+ }
698
+ declare function FormField({ name, type, label, placeholder, required, disabled, value: valueProp, defaultValue, onChange: onChangeProp, validate, errorMessage, touched: touchedProp, showError, render, children, className, inputProps, }: FormFieldProps): react_jsx_runtime.JSX.Element;
699
+ declare namespace FormField {
700
+ var displayName: string;
701
+ }
702
+
703
+ interface InputGroupProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "children"> {
704
+ children: React.ReactNode;
705
+ disabled?: boolean;
706
+ loading?: boolean;
707
+ invalid?: boolean;
708
+ orientation?: "horizontal" | "vertical";
709
+ /** Merge outer border and radii across direct controls (horizontal only). */
710
+ attached?: boolean;
711
+ size?: VariantProps<typeof fieldSurfaceVariants>["size"];
712
+ variant?: VariantProps<typeof fieldSurfaceVariants>["variant"];
713
+ /** Leading icon/slot rendered inside `InputGroupInput` (pill shell when set, attached horizontal). */
714
+ left?: React.ReactNode;
715
+ /** Default `placeholder` for nested `InputGroupInput` when the input omits one. */
716
+ placeholder?: string;
717
+ className?: string;
718
+ }
719
+ declare function InputGroup({ children, disabled, loading, invalid, orientation, attached, size, variant, left, placeholder, className, ...props }: InputGroupProps): react_jsx_runtime.JSX.Element;
720
+ declare namespace InputGroup {
721
+ var displayName: string;
722
+ }
723
+ interface InputGroupInputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "size">, VariantProps<typeof fieldSurfaceVariants> {
724
+ }
725
+ declare const InputGroupInput: React.ForwardRefExoticComponent<InputGroupInputProps & React.RefAttributes<HTMLInputElement>>;
726
+ interface InputGroupAddonProps extends React.HTMLAttributes<HTMLSpanElement> {
727
+ children: React.ReactNode;
728
+ }
729
+ declare function InputGroupAddon({ className, children, ...props }: InputGroupAddonProps): react_jsx_runtime.JSX.Element;
730
+ declare namespace InputGroupAddon {
731
+ var displayName: string;
732
+ }
733
+ type InputGroupButtonProps = ButtonProps;
734
+ /** Outline-style trigger sized for horizontal attached groups. */
735
+ declare const InputGroupButton: React.ForwardRefExoticComponent<{
736
+ defaultChecked?: boolean | undefined | undefined;
737
+ defaultValue?: string | number | readonly string[] | undefined;
738
+ suppressContentEditableWarning?: boolean | undefined | undefined;
739
+ suppressHydrationWarning?: boolean | undefined | undefined;
740
+ accessKey?: string | undefined | undefined;
741
+ autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}) | undefined;
742
+ autoFocus?: boolean | undefined | undefined;
743
+ className?: string | undefined | undefined;
744
+ contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
745
+ contextMenu?: string | undefined | undefined;
746
+ dir?: string | undefined | undefined;
747
+ draggable?: (boolean | "true" | "false") | undefined;
748
+ enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | undefined;
749
+ hidden?: boolean | undefined | undefined;
750
+ id?: string | undefined | undefined;
751
+ lang?: string | undefined | undefined;
752
+ nonce?: string | undefined | undefined;
753
+ slot?: string | undefined | undefined;
754
+ spellCheck?: (boolean | "true" | "false") | undefined;
755
+ style?: React.CSSProperties | undefined;
756
+ tabIndex?: number | undefined | undefined;
757
+ title?: string | undefined | undefined;
758
+ translate?: "yes" | "no" | undefined | undefined;
759
+ radioGroup?: string | undefined | undefined;
760
+ role?: React.AriaRole | undefined;
761
+ about?: string | undefined | undefined;
762
+ content?: string | undefined | undefined;
763
+ datatype?: string | undefined | undefined;
764
+ inlist?: any;
765
+ prefix?: string | undefined | undefined;
766
+ property?: string | undefined | undefined;
767
+ rel?: string | undefined | undefined;
768
+ resource?: string | undefined | undefined;
769
+ rev?: string | undefined | undefined;
770
+ typeof?: string | undefined | undefined;
771
+ vocab?: string | undefined | undefined;
772
+ autoCorrect?: string | undefined | undefined;
773
+ autoSave?: string | undefined | undefined;
774
+ color?: string | undefined | undefined;
775
+ itemProp?: string | undefined | undefined;
776
+ itemScope?: boolean | undefined | undefined;
777
+ itemType?: string | undefined | undefined;
778
+ itemID?: string | undefined | undefined;
779
+ itemRef?: string | undefined | undefined;
780
+ results?: number | undefined | undefined;
781
+ security?: string | undefined | undefined;
782
+ unselectable?: "on" | "off" | undefined | undefined;
783
+ inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined | undefined;
784
+ is?: string | undefined | undefined;
785
+ exportparts?: string | undefined | undefined;
786
+ part?: string | undefined | undefined;
787
+ "aria-activedescendant"?: string | undefined | undefined;
788
+ "aria-atomic"?: (boolean | "true" | "false") | undefined;
789
+ "aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined | undefined;
790
+ "aria-braillelabel"?: string | undefined | undefined;
791
+ "aria-brailleroledescription"?: string | undefined | undefined;
792
+ "aria-busy"?: (boolean | "true" | "false") | undefined;
793
+ "aria-checked"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
794
+ "aria-colcount"?: number | undefined | undefined;
795
+ "aria-colindex"?: number | undefined | undefined;
796
+ "aria-colindextext"?: string | undefined | undefined;
797
+ "aria-colspan"?: number | undefined | undefined;
798
+ "aria-controls"?: string | undefined | undefined;
799
+ "aria-current"?: boolean | "false" | "true" | "page" | "step" | "location" | "date" | "time" | undefined | undefined;
800
+ "aria-describedby"?: string | undefined | undefined;
801
+ "aria-description"?: string | undefined | undefined;
802
+ "aria-details"?: string | undefined | undefined;
803
+ "aria-disabled"?: (boolean | "true" | "false") | undefined;
804
+ "aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined | undefined;
805
+ "aria-errormessage"?: string | undefined | undefined;
806
+ "aria-expanded"?: (boolean | "true" | "false") | undefined;
807
+ "aria-flowto"?: string | undefined | undefined;
808
+ "aria-grabbed"?: (boolean | "true" | "false") | undefined;
809
+ "aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined | undefined;
810
+ "aria-hidden"?: (boolean | "true" | "false") | undefined;
811
+ "aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined | undefined;
812
+ "aria-keyshortcuts"?: string | undefined | undefined;
813
+ "aria-label"?: string | undefined | undefined;
814
+ "aria-labelledby"?: string | undefined | undefined;
815
+ "aria-level"?: number | undefined | undefined;
816
+ "aria-live"?: "off" | "assertive" | "polite" | undefined | undefined;
817
+ "aria-modal"?: (boolean | "true" | "false") | undefined;
818
+ "aria-multiline"?: (boolean | "true" | "false") | undefined;
819
+ "aria-multiselectable"?: (boolean | "true" | "false") | undefined;
820
+ "aria-orientation"?: "horizontal" | "vertical" | undefined | undefined;
821
+ "aria-owns"?: string | undefined | undefined;
822
+ "aria-placeholder"?: string | undefined | undefined;
823
+ "aria-posinset"?: number | undefined | undefined;
824
+ "aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
825
+ "aria-readonly"?: (boolean | "true" | "false") | undefined;
826
+ "aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined | undefined;
827
+ "aria-required"?: (boolean | "true" | "false") | undefined;
828
+ "aria-roledescription"?: string | undefined | undefined;
829
+ "aria-rowcount"?: number | undefined | undefined;
830
+ "aria-rowindex"?: number | undefined | undefined;
831
+ "aria-rowindextext"?: string | undefined | undefined;
832
+ "aria-rowspan"?: number | undefined | undefined;
833
+ "aria-selected"?: (boolean | "true" | "false") | undefined;
834
+ "aria-setsize"?: number | undefined | undefined;
835
+ "aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined | undefined;
836
+ "aria-valuemax"?: number | undefined | undefined;
837
+ "aria-valuemin"?: number | undefined | undefined;
838
+ "aria-valuenow"?: number | undefined | undefined;
839
+ "aria-valuetext"?: string | undefined | undefined;
840
+ dangerouslySetInnerHTML?: {
841
+ __html: string | TrustedHTML;
842
+ } | undefined | undefined;
843
+ onCopy?: React.ClipboardEventHandler<HTMLButtonElement> | undefined;
844
+ onCopyCapture?: React.ClipboardEventHandler<HTMLButtonElement> | undefined;
845
+ onCut?: React.ClipboardEventHandler<HTMLButtonElement> | undefined;
846
+ onCutCapture?: React.ClipboardEventHandler<HTMLButtonElement> | undefined;
847
+ onPaste?: React.ClipboardEventHandler<HTMLButtonElement> | undefined;
848
+ onPasteCapture?: React.ClipboardEventHandler<HTMLButtonElement> | undefined;
849
+ onCompositionEnd?: React.CompositionEventHandler<HTMLButtonElement> | undefined;
850
+ onCompositionEndCapture?: React.CompositionEventHandler<HTMLButtonElement> | undefined;
851
+ onCompositionStart?: React.CompositionEventHandler<HTMLButtonElement> | undefined;
852
+ onCompositionStartCapture?: React.CompositionEventHandler<HTMLButtonElement> | undefined;
853
+ onCompositionUpdate?: React.CompositionEventHandler<HTMLButtonElement> | undefined;
854
+ onCompositionUpdateCapture?: React.CompositionEventHandler<HTMLButtonElement> | undefined;
855
+ onFocus?: React.FocusEventHandler<HTMLButtonElement> | undefined;
856
+ onFocusCapture?: React.FocusEventHandler<HTMLButtonElement> | undefined;
857
+ onBlur?: React.FocusEventHandler<HTMLButtonElement> | undefined;
858
+ onBlurCapture?: React.FocusEventHandler<HTMLButtonElement> | undefined;
859
+ onChange?: React.FormEventHandler<HTMLButtonElement> | undefined;
860
+ onChangeCapture?: React.FormEventHandler<HTMLButtonElement> | undefined;
861
+ onBeforeInput?: React.InputEventHandler<HTMLButtonElement> | undefined;
862
+ onBeforeInputCapture?: React.FormEventHandler<HTMLButtonElement> | undefined;
863
+ onInput?: React.FormEventHandler<HTMLButtonElement> | undefined;
864
+ onInputCapture?: React.FormEventHandler<HTMLButtonElement> | undefined;
865
+ onReset?: React.FormEventHandler<HTMLButtonElement> | undefined;
866
+ onResetCapture?: React.FormEventHandler<HTMLButtonElement> | undefined;
867
+ onSubmit?: React.FormEventHandler<HTMLButtonElement> | undefined;
868
+ onSubmitCapture?: React.FormEventHandler<HTMLButtonElement> | undefined;
869
+ onInvalid?: React.FormEventHandler<HTMLButtonElement> | undefined;
870
+ onInvalidCapture?: React.FormEventHandler<HTMLButtonElement> | undefined;
871
+ onLoad?: React.ReactEventHandler<HTMLButtonElement> | undefined;
872
+ onLoadCapture?: React.ReactEventHandler<HTMLButtonElement> | undefined;
873
+ onError?: React.ReactEventHandler<HTMLButtonElement> | undefined;
874
+ onErrorCapture?: React.ReactEventHandler<HTMLButtonElement> | undefined;
875
+ onKeyDown?: React.KeyboardEventHandler<HTMLButtonElement> | undefined;
876
+ onKeyDownCapture?: React.KeyboardEventHandler<HTMLButtonElement> | undefined;
877
+ onKeyPress?: React.KeyboardEventHandler<HTMLButtonElement> | undefined;
878
+ onKeyPressCapture?: React.KeyboardEventHandler<HTMLButtonElement> | undefined;
879
+ onKeyUp?: React.KeyboardEventHandler<HTMLButtonElement> | undefined;
880
+ onKeyUpCapture?: React.KeyboardEventHandler<HTMLButtonElement> | undefined;
881
+ onAbort?: React.ReactEventHandler<HTMLButtonElement> | undefined;
882
+ onAbortCapture?: React.ReactEventHandler<HTMLButtonElement> | undefined;
883
+ onCanPlay?: React.ReactEventHandler<HTMLButtonElement> | undefined;
884
+ onCanPlayCapture?: React.ReactEventHandler<HTMLButtonElement> | undefined;
885
+ onCanPlayThrough?: React.ReactEventHandler<HTMLButtonElement> | undefined;
886
+ onCanPlayThroughCapture?: React.ReactEventHandler<HTMLButtonElement> | undefined;
887
+ onDurationChange?: React.ReactEventHandler<HTMLButtonElement> | undefined;
888
+ onDurationChangeCapture?: React.ReactEventHandler<HTMLButtonElement> | undefined;
889
+ onEmptied?: React.ReactEventHandler<HTMLButtonElement> | undefined;
890
+ onEmptiedCapture?: React.ReactEventHandler<HTMLButtonElement> | undefined;
891
+ onEncrypted?: React.ReactEventHandler<HTMLButtonElement> | undefined;
892
+ onEncryptedCapture?: React.ReactEventHandler<HTMLButtonElement> | undefined;
893
+ onEnded?: React.ReactEventHandler<HTMLButtonElement> | undefined;
894
+ onEndedCapture?: React.ReactEventHandler<HTMLButtonElement> | undefined;
895
+ onLoadedData?: React.ReactEventHandler<HTMLButtonElement> | undefined;
896
+ onLoadedDataCapture?: React.ReactEventHandler<HTMLButtonElement> | undefined;
897
+ onLoadedMetadata?: React.ReactEventHandler<HTMLButtonElement> | undefined;
898
+ onLoadedMetadataCapture?: React.ReactEventHandler<HTMLButtonElement> | undefined;
899
+ onLoadStart?: React.ReactEventHandler<HTMLButtonElement> | undefined;
900
+ onLoadStartCapture?: React.ReactEventHandler<HTMLButtonElement> | undefined;
901
+ onPause?: React.ReactEventHandler<HTMLButtonElement> | undefined;
902
+ onPauseCapture?: React.ReactEventHandler<HTMLButtonElement> | undefined;
903
+ onPlay?: React.ReactEventHandler<HTMLButtonElement> | undefined;
904
+ onPlayCapture?: React.ReactEventHandler<HTMLButtonElement> | undefined;
905
+ onPlaying?: React.ReactEventHandler<HTMLButtonElement> | undefined;
906
+ onPlayingCapture?: React.ReactEventHandler<HTMLButtonElement> | undefined;
907
+ onProgress?: React.ReactEventHandler<HTMLButtonElement> | undefined;
908
+ onProgressCapture?: React.ReactEventHandler<HTMLButtonElement> | undefined;
909
+ onRateChange?: React.ReactEventHandler<HTMLButtonElement> | undefined;
910
+ onRateChangeCapture?: React.ReactEventHandler<HTMLButtonElement> | undefined;
911
+ onSeeked?: React.ReactEventHandler<HTMLButtonElement> | undefined;
912
+ onSeekedCapture?: React.ReactEventHandler<HTMLButtonElement> | undefined;
913
+ onSeeking?: React.ReactEventHandler<HTMLButtonElement> | undefined;
914
+ onSeekingCapture?: React.ReactEventHandler<HTMLButtonElement> | undefined;
915
+ onStalled?: React.ReactEventHandler<HTMLButtonElement> | undefined;
916
+ onStalledCapture?: React.ReactEventHandler<HTMLButtonElement> | undefined;
917
+ onSuspend?: React.ReactEventHandler<HTMLButtonElement> | undefined;
918
+ onSuspendCapture?: React.ReactEventHandler<HTMLButtonElement> | undefined;
919
+ onTimeUpdate?: React.ReactEventHandler<HTMLButtonElement> | undefined;
920
+ onTimeUpdateCapture?: React.ReactEventHandler<HTMLButtonElement> | undefined;
921
+ onVolumeChange?: React.ReactEventHandler<HTMLButtonElement> | undefined;
922
+ onVolumeChangeCapture?: React.ReactEventHandler<HTMLButtonElement> | undefined;
923
+ onWaiting?: React.ReactEventHandler<HTMLButtonElement> | undefined;
924
+ onWaitingCapture?: React.ReactEventHandler<HTMLButtonElement> | undefined;
925
+ onAuxClick?: React.MouseEventHandler<HTMLButtonElement> | undefined;
926
+ onAuxClickCapture?: React.MouseEventHandler<HTMLButtonElement> | undefined;
927
+ onClick?: React.MouseEventHandler<HTMLButtonElement> | undefined;
928
+ onClickCapture?: React.MouseEventHandler<HTMLButtonElement> | undefined;
929
+ onContextMenu?: React.MouseEventHandler<HTMLButtonElement> | undefined;
930
+ onContextMenuCapture?: React.MouseEventHandler<HTMLButtonElement> | undefined;
931
+ onDoubleClick?: React.MouseEventHandler<HTMLButtonElement> | undefined;
932
+ onDoubleClickCapture?: React.MouseEventHandler<HTMLButtonElement> | undefined;
933
+ onDrag?: React.DragEventHandler<HTMLButtonElement> | undefined;
934
+ onDragCapture?: React.DragEventHandler<HTMLButtonElement> | undefined;
935
+ onDragEnd?: React.DragEventHandler<HTMLButtonElement> | undefined;
936
+ onDragEndCapture?: React.DragEventHandler<HTMLButtonElement> | undefined;
937
+ onDragEnter?: React.DragEventHandler<HTMLButtonElement> | undefined;
938
+ onDragEnterCapture?: React.DragEventHandler<HTMLButtonElement> | undefined;
939
+ onDragExit?: React.DragEventHandler<HTMLButtonElement> | undefined;
940
+ onDragExitCapture?: React.DragEventHandler<HTMLButtonElement> | undefined;
941
+ onDragLeave?: React.DragEventHandler<HTMLButtonElement> | undefined;
942
+ onDragLeaveCapture?: React.DragEventHandler<HTMLButtonElement> | undefined;
943
+ onDragOver?: React.DragEventHandler<HTMLButtonElement> | undefined;
944
+ onDragOverCapture?: React.DragEventHandler<HTMLButtonElement> | undefined;
945
+ onDragStart?: React.DragEventHandler<HTMLButtonElement> | undefined;
946
+ onDragStartCapture?: React.DragEventHandler<HTMLButtonElement> | undefined;
947
+ onDrop?: React.DragEventHandler<HTMLButtonElement> | undefined;
948
+ onDropCapture?: React.DragEventHandler<HTMLButtonElement> | undefined;
949
+ onMouseDown?: React.MouseEventHandler<HTMLButtonElement> | undefined;
950
+ onMouseDownCapture?: React.MouseEventHandler<HTMLButtonElement> | undefined;
951
+ onMouseEnter?: React.MouseEventHandler<HTMLButtonElement> | undefined;
952
+ onMouseLeave?: React.MouseEventHandler<HTMLButtonElement> | undefined;
953
+ onMouseMove?: React.MouseEventHandler<HTMLButtonElement> | undefined;
954
+ onMouseMoveCapture?: React.MouseEventHandler<HTMLButtonElement> | undefined;
955
+ onMouseOut?: React.MouseEventHandler<HTMLButtonElement> | undefined;
956
+ onMouseOutCapture?: React.MouseEventHandler<HTMLButtonElement> | undefined;
957
+ onMouseOver?: React.MouseEventHandler<HTMLButtonElement> | undefined;
958
+ onMouseOverCapture?: React.MouseEventHandler<HTMLButtonElement> | undefined;
959
+ onMouseUp?: React.MouseEventHandler<HTMLButtonElement> | undefined;
960
+ onMouseUpCapture?: React.MouseEventHandler<HTMLButtonElement> | undefined;
961
+ onSelect?: React.ReactEventHandler<HTMLButtonElement> | undefined;
962
+ onSelectCapture?: React.ReactEventHandler<HTMLButtonElement> | undefined;
963
+ onTouchCancel?: React.TouchEventHandler<HTMLButtonElement> | undefined;
964
+ onTouchCancelCapture?: React.TouchEventHandler<HTMLButtonElement> | undefined;
965
+ onTouchEnd?: React.TouchEventHandler<HTMLButtonElement> | undefined;
966
+ onTouchEndCapture?: React.TouchEventHandler<HTMLButtonElement> | undefined;
967
+ onTouchMove?: React.TouchEventHandler<HTMLButtonElement> | undefined;
968
+ onTouchMoveCapture?: React.TouchEventHandler<HTMLButtonElement> | undefined;
969
+ onTouchStart?: React.TouchEventHandler<HTMLButtonElement> | undefined;
970
+ onTouchStartCapture?: React.TouchEventHandler<HTMLButtonElement> | undefined;
971
+ onPointerDown?: React.PointerEventHandler<HTMLButtonElement> | undefined;
972
+ onPointerDownCapture?: React.PointerEventHandler<HTMLButtonElement> | undefined;
973
+ onPointerMove?: React.PointerEventHandler<HTMLButtonElement> | undefined;
974
+ onPointerMoveCapture?: React.PointerEventHandler<HTMLButtonElement> | undefined;
975
+ onPointerUp?: React.PointerEventHandler<HTMLButtonElement> | undefined;
976
+ onPointerUpCapture?: React.PointerEventHandler<HTMLButtonElement> | undefined;
977
+ onPointerCancel?: React.PointerEventHandler<HTMLButtonElement> | undefined;
978
+ onPointerCancelCapture?: React.PointerEventHandler<HTMLButtonElement> | undefined;
979
+ onPointerEnter?: React.PointerEventHandler<HTMLButtonElement> | undefined;
980
+ onPointerLeave?: React.PointerEventHandler<HTMLButtonElement> | undefined;
981
+ onPointerOver?: React.PointerEventHandler<HTMLButtonElement> | undefined;
982
+ onPointerOverCapture?: React.PointerEventHandler<HTMLButtonElement> | undefined;
983
+ onPointerOut?: React.PointerEventHandler<HTMLButtonElement> | undefined;
984
+ onPointerOutCapture?: React.PointerEventHandler<HTMLButtonElement> | undefined;
985
+ onGotPointerCapture?: React.PointerEventHandler<HTMLButtonElement> | undefined;
986
+ onGotPointerCaptureCapture?: React.PointerEventHandler<HTMLButtonElement> | undefined;
987
+ onLostPointerCapture?: React.PointerEventHandler<HTMLButtonElement> | undefined;
988
+ onLostPointerCaptureCapture?: React.PointerEventHandler<HTMLButtonElement> | undefined;
989
+ onScroll?: React.UIEventHandler<HTMLButtonElement> | undefined;
990
+ onScrollCapture?: React.UIEventHandler<HTMLButtonElement> | undefined;
991
+ onWheel?: React.WheelEventHandler<HTMLButtonElement> | undefined;
992
+ onWheelCapture?: React.WheelEventHandler<HTMLButtonElement> | undefined;
993
+ onAnimationStart?: React.AnimationEventHandler<HTMLButtonElement> | undefined;
994
+ onAnimationStartCapture?: React.AnimationEventHandler<HTMLButtonElement> | undefined;
995
+ onAnimationEnd?: React.AnimationEventHandler<HTMLButtonElement> | undefined;
996
+ onAnimationEndCapture?: React.AnimationEventHandler<HTMLButtonElement> | undefined;
997
+ onAnimationIteration?: React.AnimationEventHandler<HTMLButtonElement> | undefined;
998
+ onAnimationIterationCapture?: React.AnimationEventHandler<HTMLButtonElement> | undefined;
999
+ onTransitionEnd?: React.TransitionEventHandler<HTMLButtonElement> | undefined;
1000
+ onTransitionEndCapture?: React.TransitionEventHandler<HTMLButtonElement> | undefined;
1001
+ form?: string | undefined | undefined;
1002
+ disabled?: boolean | undefined | undefined;
1003
+ formAction?: string | undefined;
1004
+ formEncType?: string | undefined | undefined;
1005
+ formMethod?: string | undefined | undefined;
1006
+ formNoValidate?: boolean | undefined | undefined;
1007
+ formTarget?: string | undefined | undefined;
1008
+ name?: string | undefined | undefined;
1009
+ value?: string | number | readonly string[] | undefined;
1010
+ } & {
1011
+ variant?: VariantProps<(props?: ({
1012
+ variant?: "outline" | "ghost" | "primary" | "secondary" | "destructive" | null | undefined;
1013
+ size?: "sm" | "md" | "lg" | null | undefined;
1014
+ iconOnly?: boolean | null | undefined;
1015
+ } & class_variance_authority_types.ClassProp) | undefined) => string>["variant"];
1016
+ size?: VariantProps<(props?: ({
1017
+ variant?: "outline" | "ghost" | "primary" | "secondary" | "destructive" | null | undefined;
1018
+ size?: "sm" | "md" | "lg" | null | undefined;
1019
+ iconOnly?: boolean | null | undefined;
1020
+ } & class_variance_authority_types.ClassProp) | undefined) => string>["size"];
1021
+ left?: React.ReactNode;
1022
+ right?: React.ReactNode;
1023
+ iconOnly?: boolean;
1024
+ ariaLabel?: string;
1025
+ loading?: boolean;
1026
+ className?: string;
1027
+ children?: React.ReactNode;
1028
+ href?: string;
1029
+ label?: string;
1030
+ type?: "button" | "submit" | "reset";
1031
+ } & React.RefAttributes<HTMLButtonElement>>;
1032
+
213
1033
  declare const cardVariants: (props?: ({
214
- variant?: "minimal" | "filled" | "subtle" | "outlined" | null | undefined;
215
- size?: "sm" | "lg" | "md" | "xs" | null | undefined;
1034
+ variant?: "transparent" | "surface-1" | "surface-2" | "outlined" | null | undefined;
1035
+ size?: "sm" | "md" | "lg" | null | undefined;
216
1036
  } & class_variance_authority_types.ClassProp) | undefined) => string;
217
- interface CardProps extends React$1.ComponentProps<"div">, VariantProps<typeof cardVariants> {
218
- header?: React$1.ReactNode;
219
- footer?: React$1.ReactNode;
1037
+ type CardVariant = VariantProps<typeof cardVariants>["variant"];
1038
+ type CardColor = never;
1039
+ interface CardProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "children">, VariantProps<typeof cardVariants> {
1040
+ header?: React.ReactNode;
1041
+ footer?: React.ReactNode;
1042
+ minHeight?: string | number;
220
1043
  maxHeight?: string | number;
221
- maxWidth?: string | number;
222
- contentHeight?: string | number;
223
- interactive?: boolean;
224
- }
225
- declare function Card({ className, variant, size, header, footer, children, maxHeight, maxWidth, contentHeight, interactive, onClick, ...props }: CardProps): react_jsx_runtime.JSX.Element;
226
- declare function CardHeader({ className, size, left, right, children, ...props }: React$1.ComponentProps<"div"> & {
227
- size?: "xs" | "sm" | "md" | "lg" | null;
228
- left?: React$1.ReactNode;
229
- right?: React$1.ReactNode;
230
- }): react_jsx_runtime.JSX.Element;
231
- declare function CardTitle({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
232
- declare function CardDescription({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
233
- declare function CardAction({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
234
- declare function CardContent({ className, size, ...props }: React$1.ComponentProps<"div"> & {
235
- size?: "xs" | "sm" | "md" | "lg" | null;
236
- }): react_jsx_runtime.JSX.Element;
237
- declare function CardFooter({ className, size, left, right, children, ...props }: React$1.ComponentProps<"div"> & {
238
- size?: "xs" | "sm" | "md" | "lg" | null;
239
- left?: React$1.ReactNode;
240
- right?: React$1.ReactNode;
241
- }): react_jsx_runtime.JSX.Element;
1044
+ children?: React.ReactNode;
1045
+ }
1046
+ declare const Card: React.ForwardRefExoticComponent<CardProps & React.RefAttributes<HTMLDivElement>>;
242
1047
 
243
- declare function Modal({ ...props }: React$1.ComponentProps<typeof DialogPrimitive.Root>): react_jsx_runtime.JSX.Element;
244
- declare function ModalTrigger({ ...props }: React$1.ComponentProps<typeof DialogPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
245
- declare function ModalPortal({ ...props }: React$1.ComponentProps<typeof DialogPrimitive.Portal>): react_jsx_runtime.JSX.Element;
246
- declare function ModalClose({ ...props }: React$1.ComponentProps<typeof DialogPrimitive.Close>): react_jsx_runtime.JSX.Element;
247
- declare function ModalOverlay({ className, ...props }: React$1.ComponentProps<typeof DialogPrimitive.Overlay>): react_jsx_runtime.JSX.Element;
248
- declare function ModalContent({ className, children, showCloseButton, onClick, variant, size, header, footer, ...props }: React$1.ComponentProps<typeof DialogPrimitive.Content> & {
249
- showCloseButton?: boolean;
250
- variant?: CardProps["variant"];
251
- size?: CardProps["size"];
252
- header?: React$1.ReactNode;
253
- footer?: React$1.ReactNode;
254
- }): react_jsx_runtime.JSX.Element;
255
- declare function ModalTitle({ className, ...props }: React$1.ComponentProps<typeof DialogPrimitive.Title>): react_jsx_runtime.JSX.Element;
256
- declare function ModalDescription({ className, ...props }: React$1.ComponentProps<typeof DialogPrimitive.Description>): react_jsx_runtime.JSX.Element;
257
- declare const ModalHeader: typeof CardHeader;
258
- declare const ModalFooter: typeof CardFooter;
259
-
260
- declare function Select({ ...props }: React$1.ComponentProps<typeof SelectPrimitive.Root>): react_jsx_runtime.JSX.Element;
261
- declare function SelectGroup({ ...props }: React$1.ComponentProps<typeof SelectPrimitive.Group>): react_jsx_runtime.JSX.Element;
262
- declare function SelectValue({ ...props }: React$1.ComponentProps<typeof SelectPrimitive.Value>): react_jsx_runtime.JSX.Element;
263
- declare const selectTriggerSizes: readonly ["sm", "default"];
264
- declare function SelectTrigger({ className, size, children, ...props }: React$1.ComponentProps<typeof SelectPrimitive.Trigger> & {
265
- size?: typeof selectTriggerSizes[number];
266
- }): react_jsx_runtime.JSX.Element;
267
- declare function SelectContent({ className, children, position, align, ...props }: React$1.ComponentProps<typeof SelectPrimitive.Content>): react_jsx_runtime.JSX.Element;
268
- declare function SelectLabel({ className, ...props }: React$1.ComponentProps<typeof SelectPrimitive.Label>): react_jsx_runtime.JSX.Element;
269
- declare function SelectItem({ className, children, ...props }: React$1.ComponentProps<typeof SelectPrimitive.Item>): react_jsx_runtime.JSX.Element;
270
- declare function SelectSeparator({ className, ...props }: React$1.ComponentProps<typeof SelectPrimitive.Separator>): react_jsx_runtime.JSX.Element;
271
- declare function SelectScrollUpButton({ className, ...props }: React$1.ComponentProps<typeof SelectPrimitive.ScrollUpButton>): react_jsx_runtime.JSX.Element;
272
- declare function SelectScrollDownButton({ className, ...props }: React$1.ComponentProps<typeof SelectPrimitive.ScrollDownButton>): react_jsx_runtime.JSX.Element;
273
-
274
- declare function TooltipProvider({ delayDuration, ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Provider>): react_jsx_runtime.JSX.Element;
275
- declare function Tooltip({ ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Root>): react_jsx_runtime.JSX.Element;
276
- declare function TooltipTrigger({ ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
277
- declare const tooltipSides: readonly ["top", "right", "bottom", "left"];
278
- declare function TooltipContent({ className, sideOffset, children, side, ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Content> & {
279
- side?: typeof tooltipSides[number];
280
- }): react_jsx_runtime.JSX.Element;
1048
+ declare const separatorVariants: (props?: ({
1049
+ variant?: "dashed" | "dotted" | "solid" | null | undefined;
1050
+ orientation?: "horizontal" | "vertical" | null | undefined;
1051
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
1052
+ interface SeparatorProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "children">, VariantProps<typeof separatorVariants> {
1053
+ decorative?: boolean;
1054
+ }
1055
+ declare const Separator: React.ForwardRefExoticComponent<SeparatorProps & React.RefAttributes<HTMLDivElement>>;
1056
+
1057
+ declare const stackVariants: (props?: ({
1058
+ direction?: "row" | "column" | null | undefined;
1059
+ gap?: "sm" | "md" | "lg" | "none" | null | undefined;
1060
+ align?: "center" | "end" | "baseline" | "start" | "stretch" | null | undefined;
1061
+ justify?: "center" | "end" | "start" | "between" | "around" | "evenly" | null | undefined;
1062
+ wrap?: boolean | null | undefined;
1063
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
1064
+ type StackRootTag = "div" | "ul" | "ol";
1065
+ interface StackProps<T = unknown> extends Omit<React.HTMLAttributes<HTMLElement>, "children">, VariantProps<typeof stackVariants> {
1066
+ /** Semantic wrapper (`ul` / `ol` for lists). Default `div`. */
1067
+ as?: StackRootTag;
1068
+ className?: string;
1069
+ items: readonly T[];
1070
+ renderItem: (item: T, index: number) => React.ReactNode;
1071
+ getItemKey?: (item: T, index: number) => React.Key;
1072
+ }
1073
+ declare const Stack: (<T>(props: StackProps<T> & React.RefAttributes<HTMLElement>) => React.ReactElement | null) & {
1074
+ displayName: string;
1075
+ };
281
1076
 
282
- declare function Accordion({ ...props }: React$1.ComponentProps<typeof AccordionPrimitive.Root>): react_jsx_runtime.JSX.Element;
283
- declare function AccordionItem({ className, ...props }: React$1.ComponentProps<typeof AccordionPrimitive.Item>): react_jsx_runtime.JSX.Element;
284
- declare function AccordionTrigger({ className, children, ...props }: React$1.ComponentProps<typeof AccordionPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
285
- declare function AccordionContent({ className, children, ...props }: React$1.ComponentProps<typeof AccordionPrimitive.Content>): react_jsx_runtime.JSX.Element;
286
-
287
- declare function AlertDialog({ ...props }: React$1.ComponentProps<typeof AlertDialogPrimitive.Root>): react_jsx_runtime.JSX.Element;
288
- declare function AlertDialogTrigger({ ...props }: React$1.ComponentProps<typeof AlertDialogPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
289
- declare function AlertDialogPortal({ ...props }: React$1.ComponentProps<typeof AlertDialogPrimitive.Portal>): react_jsx_runtime.JSX.Element;
290
- declare function AlertDialogOverlay({ className, ...props }: React$1.ComponentProps<typeof AlertDialogPrimitive.Overlay>): react_jsx_runtime.JSX.Element;
291
- declare function AlertDialogContent({ className, ...props }: React$1.ComponentProps<typeof AlertDialogPrimitive.Content>): react_jsx_runtime.JSX.Element;
292
- declare function AlertDialogHeader({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
293
- declare function AlertDialogFooter({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
294
- declare function AlertDialogTitle({ className, ...props }: React$1.ComponentProps<typeof AlertDialogPrimitive.Title>): react_jsx_runtime.JSX.Element;
295
- declare function AlertDialogDescription({ className, ...props }: React$1.ComponentProps<typeof AlertDialogPrimitive.Description>): react_jsx_runtime.JSX.Element;
296
- declare function AlertDialogAction({ className, ...props }: React$1.ComponentProps<typeof AlertDialogPrimitive.Action>): react_jsx_runtime.JSX.Element;
297
- declare function AlertDialogCancel({ className, ...props }: React$1.ComponentProps<typeof AlertDialogPrimitive.Cancel>): react_jsx_runtime.JSX.Element;
298
-
299
- declare function Breadcrumb({ ...props }: React$1.ComponentProps<"nav">): react_jsx_runtime.JSX.Element;
300
- declare function BreadcrumbList({ className, ...props }: React$1.ComponentProps<"ol">): react_jsx_runtime.JSX.Element;
301
- declare function BreadcrumbItem({ className, ...props }: React$1.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
302
- declare function BreadcrumbLink({ asChild, className, ...props }: React$1.ComponentProps<"a"> & {
303
- asChild?: boolean;
304
- }): react_jsx_runtime.JSX.Element;
305
- declare function BreadcrumbPage({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
306
- declare function BreadcrumbSeparator({ children, className, ...props }: React$1.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
307
- declare function BreadcrumbEllipsis({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
308
-
309
- declare function Collapsible({ ...props }: React$1.ComponentProps<typeof CollapsiblePrimitive.Root>): react_jsx_runtime.JSX.Element;
310
- declare function CollapsibleTrigger({ ...props }: React$1.ComponentProps<typeof CollapsiblePrimitive.CollapsibleTrigger>): react_jsx_runtime.JSX.Element;
311
- declare function CollapsibleContent({ ...props }: React$1.ComponentProps<typeof CollapsiblePrimitive.CollapsibleContent>): react_jsx_runtime.JSX.Element;
312
-
313
- declare function Popover({ ...props }: React$1.ComponentProps<typeof PopoverPrimitive.Root>): react_jsx_runtime.JSX.Element;
314
- declare function PopoverTrigger({ ...props }: React$1.ComponentProps<typeof PopoverPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
315
- declare const popoverSides: readonly ["top", "right", "bottom", "left"];
316
- declare const popoverAligns: readonly ["start", "center", "end"];
317
- declare function PopoverContent({ className, align, sideOffset, side, ...props }: React$1.ComponentProps<typeof PopoverPrimitive.Content> & {
318
- side?: typeof popoverSides[number];
319
- align?: typeof popoverAligns[number];
320
- }): react_jsx_runtime.JSX.Element;
321
- declare function PopoverAnchor({ ...props }: React$1.ComponentProps<typeof PopoverPrimitive.Anchor>): react_jsx_runtime.JSX.Element;
322
-
323
- declare function DropdownMenu({ ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Root>): react_jsx_runtime.JSX.Element;
324
- declare function DropdownMenuPortal({ ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Portal>): react_jsx_runtime.JSX.Element;
325
- declare function DropdownMenuTrigger({ ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
326
- declare function DropdownMenuContent({ className, sideOffset, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Content>): react_jsx_runtime.JSX.Element;
327
- declare function DropdownMenuGroup({ ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Group>): react_jsx_runtime.JSX.Element;
328
- declare function DropdownMenuItem({ className, inset, variant, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Item> & {
329
- inset?: boolean;
330
- variant?: "default" | "destructive";
331
- }): react_jsx_runtime.JSX.Element;
332
- declare function DropdownMenuCheckboxItem({ className, children, checked, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.CheckboxItem>): react_jsx_runtime.JSX.Element;
333
- declare function DropdownMenuRadioGroup({ ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.RadioGroup>): react_jsx_runtime.JSX.Element;
334
- declare function DropdownMenuRadioItem({ className, children, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.RadioItem>): react_jsx_runtime.JSX.Element;
335
- declare function DropdownMenuLabel({ className, inset, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Label> & {
336
- inset?: boolean;
337
- }): react_jsx_runtime.JSX.Element;
338
- declare function DropdownMenuSeparator({ className, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Separator>): react_jsx_runtime.JSX.Element;
339
- declare function DropdownMenuShortcut({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
340
- declare function DropdownMenuSub({ ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Sub>): react_jsx_runtime.JSX.Element;
341
- declare function DropdownMenuSubTrigger({ className, inset, children, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.SubTrigger> & {
342
- inset?: boolean;
343
- }): react_jsx_runtime.JSX.Element;
344
- declare function DropdownMenuSubContent({ className, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.SubContent>): react_jsx_runtime.JSX.Element;
345
-
346
- declare function Tabs({ className, ...props }: React$1.ComponentProps<typeof TabsPrimitive.Root>): react_jsx_runtime.JSX.Element;
347
- declare function TabsList({ className, ...props }: React$1.ComponentProps<typeof TabsPrimitive.List>): react_jsx_runtime.JSX.Element;
348
- declare function TabsTrigger({ className, ...props }: React$1.ComponentProps<typeof TabsPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
349
- declare function TabsContent({ className, ...props }: React$1.ComponentProps<typeof TabsPrimitive.Content>): react_jsx_runtime.JSX.Element;
350
-
351
- declare function Sheet({ ...props }: React$1.ComponentProps<typeof DialogPrimitive.Root>): react_jsx_runtime.JSX.Element;
352
- declare function SheetTrigger({ ...props }: React$1.ComponentProps<typeof DialogPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
353
- declare function SheetClose({ ...props }: React$1.ComponentProps<typeof DialogPrimitive.Close>): react_jsx_runtime.JSX.Element;
354
- declare const sheetSides: readonly ["top", "right", "bottom", "left"];
355
- declare function SheetContent({ className, children, side, ...props }: React$1.ComponentProps<typeof DialogPrimitive.Content> & {
356
- side?: typeof sheetSides[number];
357
- }): react_jsx_runtime.JSX.Element;
358
- declare function SheetHeader({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
359
- declare function SheetFooter({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
360
- declare function SheetTitle({ className, ...props }: React$1.ComponentProps<typeof DialogPrimitive.Title>): react_jsx_runtime.JSX.Element;
361
- declare function SheetDescription({ className, ...props }: React$1.ComponentProps<typeof DialogPrimitive.Description>): react_jsx_runtime.JSX.Element;
362
-
363
- declare function Drawer({ ...props }: React$1.ComponentProps<typeof Drawer$1.Root>): react_jsx_runtime.JSX.Element;
364
- declare function DrawerTrigger({ ...props }: React$1.ComponentProps<typeof Drawer$1.Trigger>): react_jsx_runtime.JSX.Element;
365
- declare function DrawerPortal({ ...props }: React$1.ComponentProps<typeof Drawer$1.Portal>): react_jsx_runtime.JSX.Element;
366
- declare function DrawerClose({ ...props }: React$1.ComponentProps<typeof Drawer$1.Close>): react_jsx_runtime.JSX.Element;
367
- declare function DrawerOverlay({ className, ...props }: React$1.ComponentProps<typeof Drawer$1.Overlay>): react_jsx_runtime.JSX.Element;
368
- declare function DrawerContent({ className, children, ...props }: React$1.ComponentProps<typeof Drawer$1.Content>): react_jsx_runtime.JSX.Element;
369
- declare function DrawerHeader({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
370
- declare function DrawerFooter({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
371
- declare function DrawerTitle({ className, ...props }: React$1.ComponentProps<typeof Drawer$1.Title>): react_jsx_runtime.JSX.Element;
372
- declare function DrawerDescription({ className, ...props }: React$1.ComponentProps<typeof Drawer$1.Description>): react_jsx_runtime.JSX.Element;
373
-
374
- declare function HoverCard({ ...props }: React$1.ComponentProps<typeof HoverCardPrimitive.Root>): react_jsx_runtime.JSX.Element;
375
- declare function HoverCardTrigger({ ...props }: React$1.ComponentProps<typeof HoverCardPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
376
- declare function HoverCardContent({ className, align, sideOffset, ...props }: React$1.ComponentProps<typeof HoverCardPrimitive.Content>): react_jsx_runtime.JSX.Element;
377
-
378
- declare function Pagination({ className, ...props }: React$1.ComponentProps<"nav">): react_jsx_runtime.JSX.Element;
379
- declare function PaginationContent({ className, ...props }: React$1.ComponentProps<"ul">): react_jsx_runtime.JSX.Element;
380
- declare function PaginationItem({ ...props }: React$1.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
381
- type PaginationLinkProps = {
382
- isActive?: boolean;
383
- size?: "default" | "sm" | "lg" | "icon" | "icon-sm" | "icon-lg";
384
- } & Omit<React$1.ComponentProps<"a">, "size">;
385
- declare function PaginationLink({ className, isActive, size, ...props }: PaginationLinkProps): react_jsx_runtime.JSX.Element;
386
- declare function PaginationPrevious({ className, ...props }: React$1.ComponentProps<typeof PaginationLink>): react_jsx_runtime.JSX.Element;
387
- declare function PaginationNext({ className, ...props }: React$1.ComponentProps<typeof PaginationLink>): react_jsx_runtime.JSX.Element;
388
- declare function PaginationEllipsis({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
389
-
390
- declare function ToggleGroup({ className, variant, size, spacing, children, ...props }: React$1.ComponentProps<typeof ToggleGroupPrimitive.Root> & VariantProps<typeof toggleVariants> & {
391
- spacing?: number;
392
- }): react_jsx_runtime.JSX.Element;
393
- declare function ToggleGroupItem({ className, children, variant, size, ...props }: React$1.ComponentProps<typeof ToggleGroupPrimitive.Item> & VariantProps<typeof toggleVariants>): react_jsx_runtime.JSX.Element;
394
-
395
- declare function ContextMenu({ ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.Root>): react_jsx_runtime.JSX.Element;
396
- declare function ContextMenuTrigger({ ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
397
- declare function ContextMenuGroup({ ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.Group>): react_jsx_runtime.JSX.Element;
398
- declare function ContextMenuPortal({ ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.Portal>): react_jsx_runtime.JSX.Element;
399
- declare function ContextMenuSub({ ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.Sub>): react_jsx_runtime.JSX.Element;
400
- declare function ContextMenuRadioGroup({ ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.RadioGroup>): react_jsx_runtime.JSX.Element;
401
- declare function ContextMenuSubTrigger({ className, inset, children, ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.SubTrigger> & {
402
- inset?: boolean;
403
- }): react_jsx_runtime.JSX.Element;
404
- declare function ContextMenuSubContent({ className, ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.SubContent>): react_jsx_runtime.JSX.Element;
405
- declare function ContextMenuContent({ className, ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.Content>): react_jsx_runtime.JSX.Element;
406
- declare function ContextMenuItem({ className, inset, variant, ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.Item> & {
407
- inset?: boolean;
408
- variant?: "default" | "destructive";
409
- }): react_jsx_runtime.JSX.Element;
410
- declare function ContextMenuCheckboxItem({ className, children, checked, ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.CheckboxItem>): react_jsx_runtime.JSX.Element;
411
- declare function ContextMenuRadioItem({ className, children, ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.RadioItem>): react_jsx_runtime.JSX.Element;
412
- declare function ContextMenuLabel({ className, inset, ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.Label> & {
413
- inset?: boolean;
414
- }): react_jsx_runtime.JSX.Element;
415
- declare function ContextMenuSeparator({ className, ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.Separator>): react_jsx_runtime.JSX.Element;
416
- declare function ContextMenuShortcut({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
1077
+ type GridColumnCount$1 = 1 | 2 | 3 | 4 | 6 | 12;
1078
+ type GridRowCount$1 = 1 | 2 | 3 | 4 | 5 | 6;
1079
+ declare const gridSpacingVariants: (props?: ({
1080
+ gap?: "sm" | "md" | "lg" | "none" | null | undefined;
1081
+ columnGap?: "sm" | "md" | "lg" | "none" | null | undefined;
1082
+ rowGap?: "sm" | "md" | "lg" | "none" | null | undefined;
1083
+ autoFlow?: "default" | "row" | "column" | "dense" | "rowDense" | "colDense" | null | undefined;
1084
+ alignItems?: "center" | "end" | "start" | "stretch" | null | undefined;
1085
+ justifyItems?: "center" | "end" | "start" | "stretch" | null | undefined;
1086
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
1087
+ /**
1088
+ * **autoFlow** → CSS `grid-auto-flow`: `default` (no class, browser row); `row` (explicit);
1089
+ * `column` (fill columns first); `dense` | `rowDense` | `colDense` (backfill holes).
1090
+ */
1091
+ type GridRootTag = "div" | "ul" | "ol";
1092
+ interface GridProps<T = unknown> extends Omit<React.HTMLAttributes<HTMLElement>, "children">, VariantProps<typeof gridSpacingVariants> {
1093
+ /** Semantic wrapper (`ul` / `ol` for lists). Default `div`. */
1094
+ as?: GridRootTag;
1095
+ /** Fixed column count; ignored when `minChildWidth` is set. */
1096
+ columns?: GridColumnCount$1;
1097
+ /** Fixed row count (implicit tracks). */
1098
+ rows?: GridRowCount$1;
1099
+ /** When set, uses auto-fill columns with this min track width (e.g. `12rem`, `200px`). */
1100
+ minChildWidth?: string;
1101
+ className?: string;
1102
+ items: readonly T[];
1103
+ renderItem: (item: T, index: number) => React.ReactNode;
1104
+ getItemKey?: (item: T, index: number) => React.Key;
1105
+ }
1106
+ declare const Grid: (<T>(props: GridProps<T> & React.RefAttributes<HTMLElement>) => React.ReactElement | null) & {
1107
+ displayName: string;
1108
+ };
417
1109
 
418
- declare function Command({ className, ...props }: React$1.ComponentProps<typeof Command$1>): react_jsx_runtime.JSX.Element;
419
- declare function CommandDialog({ title, description, children, className, showCloseButton, ...props }: React$1.ComponentProps<typeof Modal> & {
420
- title?: string;
421
- description?: string;
1110
+ /** Display string for a width/height ratio (e.g. 16/9 → `16:9`), same idea as PillGroup `{count}`. */
1111
+ declare function formatAspectRatioLabel(ratio: number): string;
1112
+ interface AspectRatioProps extends React.HTMLAttributes<HTMLDivElement> {
422
1113
  className?: string;
423
- showCloseButton?: boolean;
424
- }): react_jsx_runtime.JSX.Element;
425
- declare function CommandInput({ className, ...props }: React$1.ComponentProps<typeof Command$1.Input>): react_jsx_runtime.JSX.Element;
426
- declare function CommandList({ className, ...props }: React$1.ComponentProps<typeof Command$1.List>): react_jsx_runtime.JSX.Element;
427
- declare function CommandEmpty({ ...props }: React$1.ComponentProps<typeof Command$1.Empty>): react_jsx_runtime.JSX.Element;
428
- declare function CommandGroup({ className, ...props }: React$1.ComponentProps<typeof Command$1.Group>): react_jsx_runtime.JSX.Element;
429
- declare function CommandSeparator({ className, ...props }: React$1.ComponentProps<typeof Command$1.Separator>): react_jsx_runtime.JSX.Element;
430
- declare function CommandItem({ className, ...props }: React$1.ComponentProps<typeof Command$1.Item>): react_jsx_runtime.JSX.Element;
431
- declare function CommandShortcut({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
432
-
433
- declare function Calendar({ className, classNames, showOutsideDays, captionLayout, buttonVariant, formatters, components, ...props }: React$1.ComponentProps<typeof DayPicker> & {
434
- buttonVariant?: React$1.ComponentProps<typeof Button>["variant"];
435
- }): react_jsx_runtime.JSX.Element;
436
- declare function CalendarDayButton({ className, day, modifiers, ...props }: React$1.ComponentProps<typeof DayButton>): react_jsx_runtime.JSX.Element;
437
-
438
- declare function Menubar({ className, ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Root>): react_jsx_runtime.JSX.Element;
439
- declare function MenubarMenu({ ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Menu>): react_jsx_runtime.JSX.Element;
440
- declare function MenubarGroup({ ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Group>): react_jsx_runtime.JSX.Element;
441
- declare function MenubarPortal({ ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Portal>): react_jsx_runtime.JSX.Element;
442
- declare function MenubarRadioGroup({ ...props }: React$1.ComponentProps<typeof MenubarPrimitive.RadioGroup>): react_jsx_runtime.JSX.Element;
443
- declare function MenubarTrigger({ className, ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
444
- declare function MenubarContent({ className, align, alignOffset, sideOffset, ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Content>): react_jsx_runtime.JSX.Element;
445
- declare function MenubarItem({ className, inset, variant, ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Item> & {
446
- inset?: boolean;
447
- variant?: "default" | "destructive";
448
- }): react_jsx_runtime.JSX.Element;
449
- declare function MenubarCheckboxItem({ className, children, checked, ...props }: React$1.ComponentProps<typeof MenubarPrimitive.CheckboxItem>): react_jsx_runtime.JSX.Element;
450
- declare function MenubarRadioItem({ className, children, ...props }: React$1.ComponentProps<typeof MenubarPrimitive.RadioItem>): react_jsx_runtime.JSX.Element;
451
- declare function MenubarLabel({ className, inset, ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Label> & {
452
- inset?: boolean;
453
- }): react_jsx_runtime.JSX.Element;
454
- declare function MenubarSeparator({ className, ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Separator>): react_jsx_runtime.JSX.Element;
455
- declare function MenubarShortcut({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
456
- declare function MenubarSub({ ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Sub>): react_jsx_runtime.JSX.Element;
457
- declare function MenubarSubTrigger({ className, inset, children, ...props }: React$1.ComponentProps<typeof MenubarPrimitive.SubTrigger> & {
458
- inset?: boolean;
459
- }): react_jsx_runtime.JSX.Element;
460
- declare function MenubarSubContent({ className, ...props }: React$1.ComponentProps<typeof MenubarPrimitive.SubContent>): react_jsx_runtime.JSX.Element;
1114
+ /** Width ÷ height. Coerced if passed as string from forms. */
1115
+ ratio?: number | string;
1116
+ minWidth?: number | string;
1117
+ maxWidth?: number | string;
1118
+ }
1119
+ declare const AspectRatio: React.ForwardRefExoticComponent<AspectRatioProps & React.RefAttributes<HTMLDivElement>>;
461
1120
 
462
- declare function NavigationMenu({ className, children, viewport, ...props }: React$1.ComponentProps<typeof NavigationMenuPrimitive.Root> & {
463
- viewport?: boolean;
464
- }): react_jsx_runtime.JSX.Element;
465
- declare function NavigationMenuList({ className, ...props }: React$1.ComponentProps<typeof NavigationMenuPrimitive.List>): react_jsx_runtime.JSX.Element;
466
- declare function NavigationMenuItem({ className, ...props }: React$1.ComponentProps<typeof NavigationMenuPrimitive.Item>): react_jsx_runtime.JSX.Element;
467
- declare const navigationMenuTriggerStyle: (props?: class_variance_authority_types.ClassProp | undefined) => string;
468
- declare function NavigationMenuTrigger({ className, children, ...props }: React$1.ComponentProps<typeof NavigationMenuPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
469
- declare function NavigationMenuContent({ className, ...props }: React$1.ComponentProps<typeof NavigationMenuPrimitive.Content>): react_jsx_runtime.JSX.Element;
470
- declare function NavigationMenuViewport({ className, ...props }: React$1.ComponentProps<typeof NavigationMenuPrimitive.Viewport>): react_jsx_runtime.JSX.Element;
471
- declare function NavigationMenuLink({ className, ...props }: React$1.ComponentProps<typeof NavigationMenuPrimitive.Link>): react_jsx_runtime.JSX.Element;
472
- declare function NavigationMenuIndicator({ className, ...props }: React$1.ComponentProps<typeof NavigationMenuPrimitive.Indicator>): react_jsx_runtime.JSX.Element;
473
-
474
- type CarouselApi = UseEmblaCarouselType[1];
475
- type UseCarouselParameters = Parameters<typeof useEmblaCarousel>;
476
- type CarouselOptions = UseCarouselParameters[0];
477
- type CarouselPlugin = UseCarouselParameters[1];
478
- type CarouselProps = {
479
- opts?: CarouselOptions;
480
- plugins?: CarouselPlugin;
1121
+ declare const ResizablePanelGroup: React.ForwardRefExoticComponent<React.PropsWithoutRef<PanelGroupProps> & React.RefAttributes<ImperativePanelGroupHandle>>;
1122
+ declare const ResizablePanel: React.ForwardRefExoticComponent<React.PropsWithoutRef<PanelProps> & React.RefAttributes<ImperativePanelHandle>>;
1123
+ interface ResizableHandleProps extends PanelResizeHandleProps {
1124
+ /** Visual grip in the handle track. */
1125
+ withHandle?: boolean;
1126
+ }
1127
+ declare function ResizableHandle({ className, withHandle, children, ...props }: ResizableHandleProps): react_jsx_runtime.JSX.Element;
1128
+ declare namespace ResizableHandle {
1129
+ var displayName: string;
1130
+ }
1131
+
1132
+ interface CollapsibleProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "children"> {
1133
+ open?: boolean;
1134
+ defaultOpen?: boolean;
1135
+ onOpenChange?: (open: boolean) => void;
1136
+ /** Primary control label or node. */
1137
+ trigger: React.ReactNode;
1138
+ children: React.ReactNode;
1139
+ disabled?: boolean;
1140
+ /** Optional footer below the collapsible region. */
1141
+ footer?: React.ReactNode;
1142
+ /** Top border above revealed content. */
1143
+ showContentDivider?: boolean;
1144
+ className?: string;
1145
+ }
1146
+ declare function Collapsible({ open: controlledOpen, defaultOpen, onOpenChange, trigger, children, disabled, footer, showContentDivider, className, ...props }: CollapsibleProps): react_jsx_runtime.JSX.Element;
1147
+ declare namespace Collapsible {
1148
+ var displayName: string;
1149
+ }
1150
+
1151
+ interface AccordionItem {
1152
+ value: string;
1153
+ label: React.ReactNode;
1154
+ content: React.ReactNode;
1155
+ left?: React.ReactNode;
1156
+ disabled?: boolean;
1157
+ loading?: boolean;
1158
+ }
1159
+ interface AccordionProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "children" | "onChange"> {
1160
+ items: AccordionItem[];
1161
+ type?: "single" | "multiple";
1162
+ /** Selected panel value(s). */
1163
+ value?: string | string[];
1164
+ defaultValue?: string | string[];
1165
+ onChange?: (next: string | string[]) => void;
1166
+ className?: string;
1167
+ }
1168
+ declare function Accordion({ items, type, value, defaultValue, onChange, className, ...props }: AccordionProps): react_jsx_runtime.JSX.Element;
1169
+ declare namespace Accordion {
1170
+ var displayName: string;
1171
+ }
1172
+
1173
+ interface ResizeContainerProps extends React.HTMLAttributes<HTMLDivElement> {
1174
+ direction?: "horizontal" | "vertical" | "both";
1175
+ minScale?: number;
1176
+ maxScale?: number;
1177
+ defaultScale?: number;
1178
+ scale?: number;
1179
+ onScaleChange?: (scale: number) => void;
1180
+ fit?: "contain" | "cover" | "fill";
1181
+ showControls?: boolean;
1182
+ disabled?: boolean;
1183
+ maxWidth?: string | number;
1184
+ maxHeight?: string | number;
1185
+ containerProps?: React.HTMLAttributes<HTMLDivElement>;
1186
+ contentProps?: React.HTMLAttributes<HTMLDivElement>;
1187
+ children?: React.ReactNode;
1188
+ className?: string;
1189
+ }
1190
+ declare function ResizeContainer({ direction: _direction, minScale, maxScale, defaultScale, scale: scaleProp, onScaleChange, fit, showControls, disabled, maxWidth, maxHeight, containerProps, contentProps, children, className, ...rest }: ResizeContainerProps): react_jsx_runtime.JSX.Element;
1191
+ declare namespace ResizeContainer {
1192
+ var displayName: string;
1193
+ }
1194
+
1195
+ interface BreadcrumbItem {
1196
+ label: React.ReactNode;
1197
+ href?: string;
1198
+ /** Marks the current page (renders as Text, not a link). */
1199
+ current?: boolean;
1200
+ }
1201
+ interface BreadcrumbProps extends Omit<React.ComponentPropsWithoutRef<"nav">, "children"> {
1202
+ items: BreadcrumbItem[];
1203
+ /** Shown between items; default chevron. */
1204
+ separator?: React.ReactNode;
1205
+ /** Collapse middle segments when items.length exceeds this (keeps first + last). */
1206
+ maxItems?: number;
1207
+ className?: string;
1208
+ }
1209
+ declare const Breadcrumb: React.ForwardRefExoticComponent<BreadcrumbProps & React.RefAttributes<HTMLElement>>;
1210
+
1211
+ declare const sidebarVariants: (props?: ({
1212
+ variant?: "default" | "inset" | "floating" | null | undefined;
1213
+ side?: "left" | "right" | null | undefined;
1214
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
1215
+ type SidebarItem = {
1216
+ label: React.ReactNode;
1217
+ value?: string;
1218
+ href?: string;
1219
+ left?: React.ReactNode;
1220
+ badge?: React.ReactNode;
1221
+ disabled?: boolean;
1222
+ children?: SidebarItem[];
1223
+ };
1224
+ interface SidebarProps extends Omit<React.HTMLAttributes<HTMLElement>, "children" | "onChange">, VariantProps<typeof sidebarVariants> {
1225
+ items: SidebarItem[];
1226
+ value?: string;
1227
+ defaultValue?: string;
1228
+ onChange?: (value: string) => void;
1229
+ collapsible?: boolean;
1230
+ defaultCollapsed?: boolean;
1231
+ collapsed?: boolean;
1232
+ onCollapsedChange?: (collapsed: boolean) => void;
1233
+ container?: "screen" | "parent";
1234
+ heightMode?: "viewport" | "parent" | "content";
1235
+ header?: React.ReactNode;
1236
+ footer?: React.ReactNode;
1237
+ children?: React.ReactNode;
1238
+ width?: string | number;
1239
+ collapsedWidth?: string | number;
1240
+ toggleButtonProps?: Partial<ButtonProps>;
1241
+ itemProps?: React.ButtonHTMLAttributes<HTMLButtonElement>;
1242
+ className?: string;
1243
+ }
1244
+ declare function Sidebar({ items, value, defaultValue, onChange, side, variant, collapsible, defaultCollapsed, collapsed: collapsedProp, onCollapsedChange, container, heightMode, header, footer, children, width, collapsedWidth, toggleButtonProps, itemProps, className, ...rest }: SidebarProps): react_jsx_runtime.JSX.Element;
1245
+ declare namespace Sidebar {
1246
+ var displayName: string;
1247
+ }
1248
+
1249
+ type NavMenuItem = {
1250
+ label: React.ReactNode;
1251
+ value?: string;
1252
+ href?: string;
1253
+ left?: React.ReactNode;
1254
+ description?: React.ReactNode;
1255
+ disabled?: boolean;
1256
+ children?: NavMenuItem[];
1257
+ };
1258
+ interface NavigationMenuProps extends Omit<React.HTMLAttributes<HTMLElement>, "children" | "onChange"> {
1259
+ items: NavMenuItem[];
1260
+ value?: string;
1261
+ defaultValue?: string;
1262
+ onChange?: (value: string) => void;
481
1263
  orientation?: "horizontal" | "vertical";
482
- setApi?: (api: CarouselApi) => void;
1264
+ children?: React.ReactNode;
1265
+ className?: string;
1266
+ }
1267
+ declare function NavigationMenu({ items, value, defaultValue, onChange, orientation, children, className, ...rest }: NavigationMenuProps): react_jsx_runtime.JSX.Element;
1268
+ declare namespace NavigationMenu {
1269
+ var displayName: string;
1270
+ }
1271
+
1272
+ type MenubarMenu = {
1273
+ label: React.ReactNode;
1274
+ value?: string;
1275
+ items: DropdownItem[];
483
1276
  };
484
- declare function Carousel({ orientation, opts, setApi, plugins, className, children, ...props }: React$1.ComponentProps<"div"> & CarouselProps): react_jsx_runtime.JSX.Element;
485
- declare function CarouselContent({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
486
- declare function CarouselItem({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
487
- declare function CarouselPrevious({ className, variant, size, ...props }: React$1.ComponentProps<typeof Button>): react_jsx_runtime.JSX.Element;
488
- declare function CarouselNext({ className, variant, size, ...props }: React$1.ComponentProps<typeof Button>): react_jsx_runtime.JSX.Element;
489
-
490
- declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>(props: react_hook_form.FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React$1.JSX.Element;
491
- declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ ...props }: ControllerProps<TFieldValues, TName>) => react_jsx_runtime.JSX.Element;
492
- declare const useFormField: () => {
493
- invalid: boolean;
494
- isDirty: boolean;
495
- isTouched: boolean;
496
- isValidating: boolean;
497
- error?: react_hook_form.FieldError;
498
- id: string;
499
- name: string;
500
- formItemId: string;
501
- formDescriptionId: string;
502
- formMessageId: string;
1277
+ interface MenubarProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "onChange"> {
1278
+ menus: MenubarMenu[];
1279
+ value?: string;
1280
+ defaultValue?: string;
1281
+ onChange?: (value: string) => void;
1282
+ className?: string;
1283
+ }
1284
+ declare function Menubar({ menus, value, defaultValue, onChange, className, ...rest }: MenubarProps): react_jsx_runtime.JSX.Element;
1285
+ declare namespace Menubar {
1286
+ var displayName: string;
1287
+ }
1288
+
1289
+ interface ContextMenuProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "children"> {
1290
+ items: DropdownItem[];
1291
+ open?: boolean;
1292
+ defaultOpen?: boolean;
1293
+ onOpenChange?: (open: boolean) => void;
1294
+ children: React.ReactNode;
1295
+ className?: string;
1296
+ contentClassName?: string;
1297
+ }
1298
+ declare function ContextMenu({ items, open: openProp, defaultOpen, onOpenChange, children, className, contentClassName, ...rest }: ContextMenuProps): react_jsx_runtime.JSX.Element;
1299
+ declare namespace ContextMenu {
1300
+ var displayName: string;
1301
+ }
1302
+
1303
+ declare const linkVariants: (props?: ({
1304
+ variant?: "default" | "muted" | "underline" | null | undefined;
1305
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
1306
+ interface LinkProps extends Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, "children">, VariantProps<typeof linkVariants> {
1307
+ href: string;
1308
+ className?: string;
1309
+ children?: React.ReactNode;
1310
+ }
1311
+ declare const Link: React.ForwardRefExoticComponent<LinkProps & React.RefAttributes<HTMLAnchorElement>>;
1312
+
1313
+ declare const navbarVariants: (props?: ({
1314
+ variant?: "default" | "floating" | "bordered" | null | undefined;
1315
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
1316
+ type NavItem = {
1317
+ label: React.ReactNode;
1318
+ href?: string;
1319
+ left?: React.ReactNode;
1320
+ active?: boolean;
1321
+ disabled?: boolean;
1322
+ children?: NavItem[];
503
1323
  };
504
- declare function FormItem({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
505
- declare function FormLabel({ className, ...props }: React$1.ComponentProps<typeof LabelPrimitive.Root>): react_jsx_runtime.JSX.Element;
506
- declare function FormControl({ ...props }: React$1.ComponentProps<typeof Slot>): react_jsx_runtime.JSX.Element;
507
- declare function FormDescription({ className, ...props }: React$1.ComponentProps<"p">): react_jsx_runtime.JSX.Element;
508
- declare function FormMessage({ className, ...props }: React$1.ComponentProps<"p">): react_jsx_runtime.JSX.Element | null;
509
-
510
- declare function FieldSet({ className, ...props }: React$1.ComponentProps<"fieldset">): react_jsx_runtime.JSX.Element;
511
- declare function FieldLegend({ className, variant, ...props }: React$1.ComponentProps<"legend"> & {
512
- variant?: "legend" | "label";
513
- }): react_jsx_runtime.JSX.Element;
514
- declare function FieldGroup({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
515
- declare const fieldVariants: (props?: ({
516
- orientation?: "horizontal" | "vertical" | "responsive" | null | undefined;
1324
+ interface NavbarProps extends Omit<React.HTMLAttributes<HTMLElement>, "children">, VariantProps<typeof navbarVariants> {
1325
+ logo?: React.ReactNode;
1326
+ items?: NavItem[];
1327
+ left?: React.ReactNode;
1328
+ right?: React.ReactNode;
1329
+ sticky?: boolean;
1330
+ separator?: boolean;
1331
+ children?: React.ReactNode;
1332
+ /** Passed to top-level nav links (not submenus). */
1333
+ linkVariant?: React.ComponentProps<typeof Link>["variant"];
1334
+ }
1335
+ declare function Navbar({ logo, items, left, right, sticky, separator, variant, className, children, linkVariant, ...rest }: NavbarProps): react_jsx_runtime.JSX.Element;
1336
+ declare namespace Navbar {
1337
+ var displayName: string;
1338
+ }
1339
+
1340
+ interface PaginationProps extends Omit<React.ComponentPropsWithoutRef<"nav">, "children" | "onChange"> {
1341
+ /** Total number of records (not pages). */
1342
+ total: number;
1343
+ pageSize?: number;
1344
+ /** 1-based current page. */
1345
+ value?: number;
1346
+ defaultValue?: number;
1347
+ onChange?: (page: number) => void;
1348
+ /** Precomputed page count; if omitted, derived from total / pageSize. */
1349
+ pageCount?: number;
1350
+ siblingCount?: number;
1351
+ showFirstLast?: boolean;
1352
+ disabled?: boolean;
1353
+ className?: string;
1354
+ }
1355
+ declare const Pagination: React.ForwardRefExoticComponent<PaginationProps & React.RefAttributes<HTMLElement>>;
1356
+
1357
+ type StepStatus = "complete" | "current" | "upcoming" | "error";
1358
+ interface StepItem {
1359
+ label: React.ReactNode;
1360
+ description?: React.ReactNode;
1361
+ optional?: boolean;
1362
+ status?: StepStatus;
1363
+ }
1364
+ interface StepperProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "onChange"> {
1365
+ steps: StepItem[];
1366
+ value?: number;
1367
+ defaultValue?: number;
1368
+ onChange?: (step: number) => void;
1369
+ orientation?: "horizontal" | "vertical";
1370
+ allowBack?: boolean;
1371
+ /**
1372
+ * Horizontal layout only: space between equal-width step columns.
1373
+ * - `none` — no gutter; columns still share width equally (`flex-1`).
1374
+ * - `md` — even gap between columns (`gap-4`).
1375
+ */
1376
+ horizontalGap?: "none" | "md";
1377
+ }
1378
+ declare const Stepper: React.ForwardRefExoticComponent<StepperProps & React.RefAttributes<HTMLDivElement>>;
1379
+
1380
+ declare const tabsListVariants: (props?: ({
1381
+ variant?: "default" | "underline" | "pill" | null | undefined;
517
1382
  } & class_variance_authority_types.ClassProp) | undefined) => string;
518
- declare function Field({ className, orientation, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof fieldVariants>): react_jsx_runtime.JSX.Element;
519
- declare function FieldContent({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
520
- declare function FieldLabel({ className, ...props }: React$1.ComponentProps<typeof Label>): react_jsx_runtime.JSX.Element;
521
- declare function FieldTitle({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
522
- declare function FieldDescription({ className, ...props }: React$1.ComponentProps<"p">): react_jsx_runtime.JSX.Element;
523
- declare function FieldSeparator({ children, className, ...props }: React$1.ComponentProps<"div"> & {
524
- children?: React$1.ReactNode;
525
- }): react_jsx_runtime.JSX.Element;
526
- declare function FieldError({ className, children, errors, ...props }: React$1.ComponentProps<"div"> & {
527
- errors?: Array<{
528
- message?: string;
529
- } | undefined>;
530
- }): react_jsx_runtime.JSX.Element | null;
531
-
532
- declare const THEMES: {
533
- readonly light: "";
534
- readonly dark: ".dark";
1383
+ interface TabItem {
1384
+ label: React.ReactNode;
1385
+ value: string;
1386
+ left?: React.ReactNode;
1387
+ badge?: React.ReactNode;
1388
+ disabled?: boolean;
1389
+ /** Panel body (`ReactNode` only — compose `Icon` or other nodes yourself). */
1390
+ content?: React.ReactNode;
1391
+ }
1392
+ interface TabsProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "children" | "onChange"> {
1393
+ items: TabItem[];
1394
+ value?: string;
1395
+ defaultValue?: string;
1396
+ onValueChange?: (value: string) => void;
1397
+ orientation?: "horizontal" | "vertical";
1398
+ variant?: VariantProps<typeof tabsListVariants>["variant"];
1399
+ className?: string;
1400
+ listClassName?: string;
1401
+ }
1402
+ declare const Tabs: React.ForwardRefExoticComponent<TabsProps & React.RefAttributes<HTMLDivElement>>;
1403
+
1404
+ declare const feedbackVariantOptions: {
1405
+ readonly tone: {
1406
+ readonly neutral: "";
1407
+ readonly info: "";
1408
+ readonly success: "";
1409
+ readonly warning: "";
1410
+ readonly danger: "";
1411
+ };
1412
+ readonly variant: {
1413
+ readonly solid: "";
1414
+ readonly subtle: "bg-muted/40";
1415
+ readonly outline: "bg-background";
1416
+ };
535
1417
  };
536
- type ChartConfig = {
537
- [k in string]: {
538
- label?: React$1.ReactNode;
539
- icon?: React$1.ComponentType;
540
- } & ({
541
- color?: string;
542
- theme?: never;
543
- } | {
544
- color?: never;
545
- theme: Record<keyof typeof THEMES, string>;
546
- });
1418
+ type FeedbackTone = keyof typeof feedbackVariantOptions.tone;
1419
+ type FeedbackVariant = keyof typeof feedbackVariantOptions.variant;
1420
+ type FeedbackSurfaceVariantProps = {
1421
+ tone?: FeedbackTone;
1422
+ variant?: FeedbackVariant;
547
1423
  };
548
- type ChartContextProps = {
549
- config: ChartConfig;
1424
+
1425
+ declare const alertVariants: (props?: ({
1426
+ readonly tone?: "danger" | "info" | "neutral" | "success" | "warning" | null | undefined;
1427
+ readonly variant?: "subtle" | "outline" | "solid" | null | undefined;
1428
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
1429
+ interface AlertProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "title">, FeedbackSurfaceVariantProps {
1430
+ title?: React.ReactNode;
1431
+ description?: React.ReactNode;
1432
+ left?: React.ReactNode;
1433
+ action?: React.ReactNode;
1434
+ dismissible?: boolean;
1435
+ /** Called after the alert is dismissed (including via the close control). */
1436
+ onClose?: () => void;
1437
+ className?: string;
1438
+ children?: React.ReactNode;
1439
+ }
1440
+ declare const Alert: React.ForwardRefExoticComponent<AlertProps & React.RefAttributes<HTMLDivElement>>;
1441
+
1442
+ declare const toastVariants: (props?: ({
1443
+ readonly tone?: "danger" | "info" | "neutral" | "success" | "warning" | null | undefined;
1444
+ readonly variant?: "subtle" | "outline" | "solid" | null | undefined;
1445
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
1446
+ type ToastTone = NonNullable<FeedbackSurfaceVariantProps["tone"]>;
1447
+ type ToastVariant = NonNullable<FeedbackSurfaceVariantProps["variant"]>;
1448
+ type ToastAction = {
1449
+ label: string;
1450
+ onClick?: () => void;
550
1451
  };
551
- declare function useChart(): ChartContextProps;
552
- declare function ChartContainer({ id, className, children, config, ...props }: React$1.ComponentProps<"div"> & {
553
- config: ChartConfig;
554
- children: React$1.ComponentProps<typeof RechartsPrimitive.ResponsiveContainer>["children"];
1452
+ interface ToastProps extends FeedbackSurfaceVariantProps {
1453
+ id?: string;
1454
+ title?: React.ReactNode;
1455
+ description?: React.ReactNode;
1456
+ duration?: number;
1457
+ action?: ToastAction;
1458
+ left?: React.ReactNode;
1459
+ dismissible?: boolean;
1460
+ onClose?: () => void;
1461
+ className?: string;
1462
+ }
1463
+ declare function Toast({ tone, variant, title, description, action, left, dismissible, onClose, className, }: ToastProps): react_jsx_runtime.JSX.Element;
1464
+ declare namespace Toast {
1465
+ var displayName: string;
1466
+ }
1467
+
1468
+ declare function dismissToast(id: string): void;
1469
+ declare function toast(input: Omit<ToastProps, "id">): string;
1470
+ declare function clearToasts(): void;
1471
+
1472
+ type ToasterPosition = "top-left" | "top-center" | "top-right" | "bottom-left" | "bottom-center" | "bottom-right";
1473
+ interface ToasterProps {
1474
+ position?: ToasterPosition;
1475
+ maxVisible?: number;
1476
+ className?: string;
1477
+ }
1478
+ declare function Toaster({ position, maxVisible, className }: ToasterProps): React.ReactPortal | null;
1479
+ declare namespace Toaster {
1480
+ var displayName: string;
1481
+ }
1482
+
1483
+ type SpinnerSize = "xs" | "sm" | "md" | "lg";
1484
+ interface SpinnerProps extends Omit<React.SVGProps<SVGSVGElement>, "children"> {
1485
+ size?: SpinnerSize;
1486
+ className?: string;
1487
+ label?: string;
1488
+ }
1489
+ declare const Spinner: React.ForwardRefExoticComponent<Omit<SpinnerProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
1490
+
1491
+ declare const overlayVariants: (props?: ({
1492
+ blur?: boolean | null | undefined;
1493
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
1494
+ /** Portal mount target for `Overlay`: viewport body, scoped parent from `OverlayPortalScope`, a DOM node, or a ref to one. */
1495
+ type OverlayPortalContainer = "body" | "parent" | HTMLElement | React.RefObject<HTMLElement | null>;
1496
+ interface OverlayProps extends VariantProps<typeof overlayVariants> {
1497
+ open?: boolean;
1498
+ onClose?: () => void;
1499
+ /**
1500
+ * Portal target. Positioning is `fixed` when the resolved node is `document.body`, otherwise `absolute`.
1501
+ */
1502
+ container?: OverlayPortalContainer | null;
1503
+ /** Renders a corner close control (calls `onClose`). */
1504
+ showCloseButton?: boolean;
1505
+ /** When false, backdrop clicks do not call `onClose` (close button still works if shown). */
1506
+ closeOnBackdropClick?: boolean;
1507
+ className?: string;
1508
+ children?: React.ReactNode;
1509
+ }
1510
+ /**
1511
+ * Wrap a region where `Overlay` with `container="parent"` should mount (creates a positioned, isolated stacking context).
1512
+ */
1513
+ declare function OverlayPortalScope({ children, className, }: {
1514
+ children: React.ReactNode;
1515
+ className?: string;
555
1516
  }): react_jsx_runtime.JSX.Element;
556
- declare const ChartStyle: ({ id, config }: {
557
- id: string;
558
- config: ChartConfig;
559
- }) => react_jsx_runtime.JSX.Element | null;
560
- declare const ChartTooltip: typeof RechartsPrimitive.Tooltip;
561
- declare function ChartTooltipContent({ active, payload, className, indicator, hideLabel, hideIndicator, label, labelFormatter, labelClassName, formatter, color, nameKey, labelKey, }: React$1.ComponentProps<typeof RechartsPrimitive.Tooltip> & React$1.ComponentProps<"div"> & {
562
- hideLabel?: boolean;
563
- hideIndicator?: boolean;
564
- indicator?: "line" | "dot" | "dashed";
565
- nameKey?: string;
566
- labelKey?: string;
567
- }): react_jsx_runtime.JSX.Element | null;
568
- declare const ChartLegend: typeof RechartsPrimitive.Legend;
569
- declare function ChartLegendContent({ className, hideIcon, payload, verticalAlign, nameKey, }: React$1.ComponentProps<"div"> & Pick<RechartsPrimitive.LegendProps, "payload" | "verticalAlign"> & {
570
- hideIcon?: boolean;
571
- nameKey?: string;
572
- }): react_jsx_runtime.JSX.Element | null;
573
-
574
- interface ToastProps {
575
- title?: string;
576
- description?: string;
577
- variant?: "default" | "success" | "error" | "warning";
1517
+ declare function Overlay({ open, onClose, container, blur, showCloseButton, closeOnBackdropClick, className, children, }: OverlayProps): React.ReactPortal | null;
1518
+ declare namespace Overlay {
1519
+ var displayName: string;
1520
+ }
1521
+
1522
+ interface LoadingOverlayProps {
1523
+ open: boolean;
1524
+ message?: React.ReactNode;
1525
+ blur?: boolean;
1526
+ className?: string;
1527
+ container?: OverlayProps["container"];
1528
+ /** Spinner size; defaults scale with typical overlay use. */
1529
+ spinnerSize?: React.ComponentProps<typeof Spinner>["size"];
1530
+ }
1531
+ declare function LoadingOverlay({ open, message, blur, className, container, spinnerSize, }: LoadingOverlayProps): react_jsx_runtime.JSX.Element;
1532
+ declare namespace LoadingOverlay {
1533
+ var displayName: string;
1534
+ }
1535
+
1536
+ declare const emptyStateVariants: (props?: ({
1537
+ variant?: "default" | "error" | "minimal" | "spacious" | null | undefined;
1538
+ size?: "sm" | "md" | "lg" | null | undefined;
1539
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
1540
+ interface EmptyStateAction {
1541
+ label: string;
1542
+ onClick?: () => void;
1543
+ loading?: boolean;
1544
+ disabled?: boolean;
1545
+ variant?: React.ComponentProps<typeof Button>["variant"];
1546
+ }
1547
+ interface EmptyStateProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "title">, VariantProps<typeof emptyStateVariants> {
1548
+ title?: React.ReactNode;
1549
+ description?: React.ReactNode;
1550
+ icon?: React.ReactNode;
1551
+ action?: EmptyStateAction;
1552
+ className?: string;
1553
+ }
1554
+ declare const EmptyState: React.ForwardRefExoticComponent<EmptyStateProps & React.RefAttributes<HTMLDivElement>>;
1555
+
1556
+ declare const pageHeaderVariants: (props?: ({
1557
+ variant?: "default" | "bordered" | "minimal" | null | undefined;
1558
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
1559
+ interface PageHeaderProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "title">, VariantProps<typeof pageHeaderVariants> {
1560
+ heading?: React.ReactNode;
1561
+ subheading?: React.ReactNode;
1562
+ description?: React.ReactNode;
1563
+ badge?: React.ReactNode;
1564
+ actions?: React.ReactNode;
1565
+ left?: React.ReactNode;
1566
+ right?: React.ReactNode;
1567
+ sticky?: boolean;
1568
+ separator?: boolean;
1569
+ className?: string;
1570
+ children?: React.ReactNode;
1571
+ }
1572
+ declare function PageHeader({ heading, subheading, description, badge, actions, left, right, sticky, separator, variant, className, children, ...props }: PageHeaderProps): react_jsx_runtime.JSX.Element;
1573
+ declare namespace PageHeader {
1574
+ var displayName: string;
1575
+ }
1576
+
1577
+ declare const pageFooterVariants: (props?: ({
1578
+ variant?: "default" | "minimal" | null | undefined;
1579
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
1580
+ interface PageFooterProps extends React.HTMLAttributes<HTMLElement>, VariantProps<typeof pageFooterVariants> {
1581
+ left?: React.ReactNode;
1582
+ right?: React.ReactNode;
1583
+ sticky?: boolean;
1584
+ separator?: boolean;
1585
+ children?: React.ReactNode;
1586
+ className?: string;
1587
+ }
1588
+ declare function PageFooter({ left, right, sticky, separator, variant, className, children, ...props }: PageFooterProps): react_jsx_runtime.JSX.Element;
1589
+ declare namespace PageFooter {
1590
+ var displayName: string;
1591
+ }
1592
+
1593
+ declare const heroVariants: (props?: ({
1594
+ variant?: "default" | "split" | "centered" | null | undefined;
1595
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
1596
+ type HeroActions = {
1597
+ primary?: ButtonProps;
1598
+ secondary?: ButtonProps;
1599
+ };
1600
+ interface HeroProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "title">, VariantProps<typeof heroVariants> {
1601
+ title?: React.ReactNode;
1602
+ description?: React.ReactNode;
1603
+ image?: string;
1604
+ badge?: React.ReactNode;
1605
+ actions?: HeroActions;
1606
+ children?: React.ReactNode;
578
1607
  className?: string;
579
1608
  }
580
- declare function Toast({ title, description, variant, className, }: ToastProps): react_jsx_runtime.JSX.Element;
1609
+ declare function Hero({ title, description, image, badge, actions, variant, className, children, ...props }: HeroProps): react_jsx_runtime.JSX.Element;
1610
+ declare namespace Hero {
1611
+ var displayName: string;
1612
+ }
581
1613
 
582
- declare const Toaster: ({ ...props }: ToasterProps) => react_jsx_runtime.JSX.Element;
1614
+ interface AuthLayoutProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "title"> {
1615
+ title?: React.ReactNode;
1616
+ subtitle?: React.ReactNode;
1617
+ logo?: React.ReactNode;
1618
+ footer?: React.ReactNode;
1619
+ children?: React.ReactNode;
1620
+ className?: string;
1621
+ }
1622
+ declare function AuthLayout({ title, subtitle, logo, footer, children, className, ...props }: AuthLayoutProps): react_jsx_runtime.JSX.Element;
1623
+ declare namespace AuthLayout {
1624
+ var displayName: string;
1625
+ }
583
1626
 
584
- interface SnackbarProps {
585
- message: string;
586
- action?: React$1.ReactNode;
587
- variant?: "default" | "success" | "error";
1627
+ interface AppShellProps extends React.HTMLAttributes<HTMLDivElement> {
1628
+ sidebar?: React.ReactNode;
1629
+ header?: React.ReactNode;
1630
+ footer?: React.ReactNode;
1631
+ children?: React.ReactNode;
588
1632
  className?: string;
589
1633
  }
590
- declare function Snackbar({ message, action, variant, className, }: SnackbarProps): react_jsx_runtime.JSX.Element;
1634
+ declare function AppShell({ sidebar, header, footer, children, className, ...props }: AppShellProps): react_jsx_runtime.JSX.Element;
1635
+ declare namespace AppShell {
1636
+ var displayName: string;
1637
+ }
591
1638
 
592
- interface StatusTextProps {
593
- text?: string;
594
- status?: "success" | "error" | "warning" | "info";
595
- count?: number;
596
- label?: string;
597
- variant?: "caption" | "body" | "heading" | "badge";
598
- formatText?: (text: string, count?: number, label?: string) => string;
1639
+ interface HistoryControlButtonsProps extends React.HTMLAttributes<HTMLDivElement> {
1640
+ canUndo?: boolean;
1641
+ canRedo?: boolean;
1642
+ canReset?: boolean;
1643
+ onUndo?: () => void;
1644
+ onRedo?: () => void;
1645
+ onReset?: () => void;
1646
+ /** When false, hides the undo control (e.g. reset-only toolbar). Default true. */
1647
+ showUndo?: boolean;
1648
+ /** When false, hides the redo control. Default true. */
1649
+ showRedo?: boolean;
1650
+ showLabels?: boolean;
1651
+ undoButtonProps?: Partial<ButtonProps>;
1652
+ redoButtonProps?: Partial<ButtonProps>;
1653
+ resetButtonProps?: Partial<ButtonProps>;
599
1654
  className?: string;
600
- as?: "div" | "span" | "p";
601
1655
  }
602
- declare function StatusText({ text, status, count, label, variant, formatText, className, as, }: StatusTextProps): react_jsx_runtime.JSX.Element;
1656
+ declare function HistoryControlButtons({ canUndo, canRedo, canReset, onUndo, onRedo, onReset, showUndo, showRedo, showLabels, undoButtonProps, redoButtonProps, resetButtonProps, className, ...rest }: HistoryControlButtonsProps): react_jsx_runtime.JSX.Element;
1657
+ declare namespace HistoryControlButtons {
1658
+ var displayName: string;
1659
+ }
603
1660
 
604
- interface StepperProps {
605
- steps: Array<{
606
- label: string;
607
- completed?: boolean;
608
- active?: boolean;
609
- }>;
1661
+ declare const positionVariants: (props?: ({
1662
+ position?: "top-right" | "bottom-right" | "bottom-left" | "top-left" | "left-center" | "right-center" | null | undefined;
1663
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
1664
+ declare const slideVariants: (props?: ({
1665
+ slideFrom?: "left" | "right" | "top" | "bottom" | null | undefined;
1666
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
1667
+ type FixedScreenWidgetPosition = NonNullable<VariantProps<typeof positionVariants>["position"]>;
1668
+ type FixedScreenWidgetSlideFrom = NonNullable<VariantProps<typeof slideVariants>["slideFrom"]>;
1669
+ interface FixedScreenWidgetProps extends React.HTMLAttributes<HTMLDivElement> {
1670
+ open?: boolean;
1671
+ defaultOpen?: boolean;
1672
+ onOpenChange?: (open: boolean) => void;
1673
+ position?: FixedScreenWidgetPosition;
1674
+ slideFrom?: FixedScreenWidgetSlideFrom;
1675
+ trigger?: React.ReactNode;
1676
+ triggerProps?: Partial<ButtonProps>;
1677
+ panelProps?: Partial<CardProps>;
1678
+ offsetX?: number;
1679
+ offsetY?: number;
1680
+ pointerEvents?: "none" | "auto";
1681
+ closeOnOutsideClick?: boolean;
1682
+ closeOnEscape?: boolean;
1683
+ children?: React.ReactNode;
610
1684
  className?: string;
611
1685
  }
612
- declare function Stepper({ steps, className }: StepperProps): react_jsx_runtime.JSX.Element;
1686
+ declare function FixedScreenWidget({ open: openProp, defaultOpen, onOpenChange, position, slideFrom, trigger, triggerProps, panelProps, offsetX, offsetY, pointerEvents, closeOnOutsideClick, closeOnEscape, children, className, ...rest }: FixedScreenWidgetProps): react_jsx_runtime.JSX.Element;
1687
+ declare namespace FixedScreenWidget {
1688
+ var displayName: string;
1689
+ }
613
1690
 
614
- interface InfoBannerProps {
615
- message: string;
616
- variant?: "info" | "warning" | "success";
1691
+ declare const modalSurfaceVariants: (props?: ({
1692
+ size?: "sm" | "md" | "lg" | "xl" | "full" | null | undefined;
1693
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
1694
+ type ModalSize = NonNullable<VariantProps<typeof modalSurfaceVariants>["size"]>;
1695
+ type ModalTriggerProps = {
1696
+ label?: string;
1697
+ left?: React.ReactNode;
1698
+ variant?: ButtonProps["variant"];
1699
+ size?: ButtonProps["size"];
617
1700
  className?: string;
618
- tooltip?: boolean;
619
- children?: React$1.ReactNode;
1701
+ };
1702
+ interface ModalProps extends VariantProps<typeof modalSurfaceVariants> {
1703
+ open?: boolean;
1704
+ defaultOpen?: boolean;
1705
+ onOpenChange?: (open: boolean) => void;
1706
+ onClose?: () => void;
1707
+ triggerProps?: ModalTriggerProps;
1708
+ header?: React.ReactNode;
1709
+ footer?: React.ReactNode;
1710
+ showClose?: boolean;
1711
+ loading?: boolean;
1712
+ minHeight?: string | number;
1713
+ maxHeight?: string | number;
1714
+ className?: string;
1715
+ cardProps?: Omit<CardProps, "header" | "footer" | "children" | "minHeight" | "maxHeight">;
1716
+ /** Portal target for the backdrop — use `parent` inside `OverlayPortalScope` for scoped previews. */
1717
+ container?: OverlayPortalContainer;
1718
+ children?: React.ReactNode;
620
1719
  }
621
- declare function InfoBanner({ message, variant, className, tooltip, children, }: InfoBannerProps): react_jsx_runtime.JSX.Element;
1720
+ declare const Modal: React.ForwardRefExoticComponent<ModalProps & React.RefAttributes<HTMLDivElement>>;
622
1721
 
623
- interface InlineEditProps {
624
- value: string;
625
- onSave: (value: string) => void;
1722
+ type TriggerModalProps = ModalProps & {
1723
+ triggerProps?: ModalTriggerProps;
1724
+ };
1725
+ /** Modal with an optional trigger button — base for ConfirmModal and FormModal. */
1726
+ declare function TriggerModal({ triggerProps, showClose, ...modalProps }: TriggerModalProps): react_jsx_runtime.JSX.Element;
1727
+ declare namespace TriggerModal {
1728
+ var displayName: string;
1729
+ }
1730
+
1731
+ type ConfirmModalIntent = "default" | "destructive" | "delete" | "save" | "warning";
1732
+ type ConfirmModalConfirmProps = {
1733
+ label: string;
1734
+ onClick?: () => void;
1735
+ loading?: boolean;
1736
+ };
1737
+ type ConfirmModalCancelProps = {
1738
+ label: string;
1739
+ onClick?: () => void;
1740
+ };
1741
+ interface ConfirmModalProps extends Omit<TriggerModalProps, "header" | "footer" | "children" | "triggerProps"> {
1742
+ triggerProps?: ModalTriggerProps;
1743
+ heading: React.ReactNode;
1744
+ description?: React.ReactNode;
1745
+ left?: React.ReactNode;
1746
+ intent?: ConfirmModalIntent;
1747
+ confirmProps: ConfirmModalConfirmProps;
1748
+ cancelProps?: ConfirmModalCancelProps;
1749
+ loading?: boolean;
1750
+ container?: OverlayPortalContainer;
1751
+ triggerModalProps?: Partial<TriggerModalProps>;
626
1752
  className?: string;
627
- placeholder?: string;
628
1753
  }
629
- declare function InlineEdit({ value: initialValue, onSave, className, placeholder, }: InlineEditProps): react_jsx_runtime.JSX.Element;
1754
+ declare function ConfirmModal({ open: openProp, defaultOpen, onOpenChange, triggerProps, heading, description, left, intent, confirmProps, cancelProps, loading, container, triggerModalProps, className, size, ...rest }: ConfirmModalProps): react_jsx_runtime.JSX.Element;
1755
+ declare namespace ConfirmModal {
1756
+ var displayName: string;
1757
+ }
630
1758
 
631
- declare function InputGroup({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
632
- declare const inputGroupAddonVariants: (props?: ({
633
- align?: "inline-start" | "inline-end" | "block-start" | "block-end" | null | undefined;
634
- } & class_variance_authority_types.ClassProp) | undefined) => string;
635
- declare function InputGroupAddon({ className, align, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof inputGroupAddonVariants>): react_jsx_runtime.JSX.Element;
636
- declare const inputGroupButtonVariants: (props?: ({
637
- size?: "sm" | "icon-sm" | "xs" | "icon-xs" | null | undefined;
638
- } & class_variance_authority_types.ClassProp) | undefined) => string;
639
- declare function InputGroupButton({ className, type, variant, size, ...props }: Omit<React$1.ComponentProps<typeof Button>, "size"> & VariantProps<typeof inputGroupButtonVariants>): react_jsx_runtime.JSX.Element;
640
- declare function InputGroupText({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
641
- declare function InputGroupInput({ className, ...props }: TextInputProps): react_jsx_runtime.JSX.Element;
642
- declare function InputGroupTextarea({ className, ...props }: React$1.ComponentProps<"textarea">): react_jsx_runtime.JSX.Element;
643
-
644
- type FormInputType = "text" | "email" | "url" | "number" | "textarea" | "select" | "checkbox";
645
- interface FormInputProps {
646
- type?: FormInputType;
1759
+ type FormModalMode = "create" | "edit";
1760
+ type FormFieldSchema = {
1761
+ name: string;
1762
+ type?: FormFieldType;
647
1763
  label?: string;
648
- error?: string;
649
- description?: string;
650
- variant?: "default" | "minimal";
651
1764
  placeholder?: string;
652
- value?: string | number;
653
- onChange?: (e: React$1.ChangeEvent<HTMLInputElement | HTMLTextAreaElement>) => void;
654
- options?: Array<{
655
- label: string;
656
- value: string;
657
- }>;
658
- onValueChange?: (value: string) => void;
659
- checked?: boolean;
660
- onCheckedChange?: (checked: boolean) => void;
661
- id?: string;
662
- className?: string;
663
1765
  required?: boolean;
664
1766
  disabled?: boolean;
665
- [key: string]: any;
1767
+ validate?: boolean | ((value: string) => string | undefined);
1768
+ errorMessage?: string;
1769
+ };
1770
+ interface FormModalProps extends Omit<TriggerModalProps, "header" | "footer" | "children" | "triggerProps"> {
1771
+ triggerProps?: ModalTriggerProps;
1772
+ heading: React.ReactNode;
1773
+ subheading?: React.ReactNode;
1774
+ left?: React.ReactNode;
1775
+ mode?: FormModalMode;
1776
+ fields?: FormFieldSchema[];
1777
+ formProps?: Omit<FormProps, "children" | "onSubmit" | "onCancel" | "footer">;
1778
+ onSubmit: (values: Record<string, unknown>) => void | Promise<void>;
1779
+ onSubmitSuccess?: (values: Record<string, unknown>) => void;
1780
+ onSubmitError?: (error: unknown) => void;
1781
+ submitLabel?: string;
1782
+ submittingLabel?: string;
1783
+ cancelLabel?: string;
1784
+ loading?: boolean;
1785
+ submitDisabled?: boolean;
1786
+ onCancel?: () => void;
1787
+ validateOnSubmit?: boolean;
1788
+ container?: OverlayPortalContainer;
1789
+ submitButtonProps?: Partial<ButtonProps>;
1790
+ cancelButtonProps?: Partial<ButtonProps>;
1791
+ triggerModalProps?: Partial<TriggerModalProps>;
1792
+ className?: string;
1793
+ children?: React.ReactNode;
1794
+ }
1795
+ declare function FormModal({ open: openProp, defaultOpen, onOpenChange, triggerProps, heading, subheading, left, mode, fields, formProps, onSubmit, onSubmitSuccess, onSubmitError, submitLabel, submittingLabel, cancelLabel, loading, submitDisabled, onCancel, validateOnSubmit, container, submitButtonProps, cancelButtonProps, triggerModalProps, className, children, size, ...rest }: FormModalProps): react_jsx_runtime.JSX.Element;
1796
+ declare namespace FormModal {
1797
+ var displayName: string;
666
1798
  }
667
- declare function FormInput({ className, type, label, error, description, variant, id, options, onValueChange, checked, onCheckedChange, ...props }: FormInputProps): react_jsx_runtime.JSX.Element;
668
1799
 
669
- interface SearchInputProps {
670
- placeholder?: string;
671
- value?: string;
672
- onChange?: (value: string) => void;
673
- onSearch?: (value: string) => void;
674
- debounceMs?: number;
675
- clearable?: boolean;
676
- icon?: React$1.ReactNode;
677
- variant?: "default" | "minimal" | "filled";
1800
+ declare const textVariants: (props?: ({
1801
+ size?: "xs" | "sm" | "md" | "lg" | "xl" | "base" | "2xs" | "2xl" | null | undefined;
1802
+ variant?: "default" | "muted" | "code" | "subtle" | "danger" | "outline" | null | undefined;
1803
+ weight?: "bold" | "normal" | "medium" | "semibold" | "extrabold" | null | undefined;
1804
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
1805
+ interface TextProps extends Omit<React.HTMLAttributes<HTMLElement>, "children">, Pick<React.ButtonHTMLAttributes<HTMLButtonElement>, "disabled" | "type">, VariantProps<typeof textVariants> {
1806
+ as?: "span" | "div" | "p" | "label" | "button";
1807
+ left?: React.ReactNode;
1808
+ right?: React.ReactNode;
1809
+ truncate?: boolean;
1810
+ lineClamp?: number;
1811
+ className?: string;
1812
+ children?: React.ReactNode;
1813
+ }
1814
+ declare const Text: React.ForwardRefExoticComponent<TextProps & React.RefAttributes<HTMLElement>>;
1815
+
1816
+ declare const skeletonVariants: (props?: ({
1817
+ variant?: "button" | "checkbox" | "radio" | "input" | "text" | "avatar" | "badge" | "card" | "tableCell" | "tableRow" | null | undefined;
1818
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
1819
+ interface SkeletonProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof skeletonVariants> {
1820
+ width?: string | number;
1821
+ height?: string | number;
1822
+ count?: number;
1823
+ className?: string;
1824
+ children?: React.ReactNode;
1825
+ }
1826
+ declare const Skeleton: React.ForwardRefExoticComponent<SkeletonProps & React.RefAttributes<HTMLDivElement>>;
1827
+ interface TableSkeletonProps {
1828
+ columns: number;
1829
+ rows?: number;
1830
+ selectable?: boolean;
678
1831
  size?: "sm" | "md" | "lg";
1832
+ /** Optional per-column widths (px, rem, %, etc.). */
1833
+ columnWidths?: Array<string | number | undefined>;
679
1834
  className?: string;
680
1835
  }
681
- declare function SearchInput({ placeholder, value: valueProp, onChange, onSearch, debounceMs, clearable, icon, variant, size, className, }: SearchInputProps): react_jsx_runtime.JSX.Element;
1836
+ /** Column-aware table placeholder matches Table cell rhythm. */
1837
+ declare function TableSkeleton({ columns, rows, selectable, size, columnWidths, className, }: TableSkeletonProps): react_jsx_runtime.JSX.Element;
1838
+ declare namespace TableSkeleton {
1839
+ var displayName: string;
1840
+ }
682
1841
 
683
- interface ConfirmModalProps {
684
- open?: boolean;
685
- onOpenChange?: (open: boolean) => void;
686
- triggerLabel?: string;
687
- triggerProps?: React$1.ComponentProps<typeof Button>;
688
- stopPropagation?: boolean;
689
- icon?: React$1.ReactNode;
690
- text?: string;
691
- title: string;
692
- description?: string;
693
- onConfirm: () => void | Promise<void>;
694
- confirmLabel?: string;
695
- cancelLabel?: string;
696
- variant?: "default" | "destructive" | "delete" | "save" | "warning";
1842
+ declare const pillSurfaceVariants: (props?: ({
1843
+ appearance?: "subtle" | "outline" | "ghost" | "solid" | null | undefined;
1844
+ size?: "sm" | "md" | null | undefined;
1845
+ tone?: "danger" | "info" | "neutral" | "success" | "warning" | null | undefined;
1846
+ shape?: "rounded" | "pill" | null | undefined;
1847
+ selected?: boolean | null | undefined;
1848
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
1849
+ /** Button-like chip surfaces (same palette as the old action Toggle). */
1850
+ declare const toggleSurfaceVariants: (props?: ({
1851
+ toggleSurface?: "outline" | "ghost" | "primary" | "secondary" | null | undefined;
1852
+ size?: "sm" | "md" | null | undefined;
1853
+ shape?: "rounded" | "pill" | null | undefined;
1854
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
1855
+ interface PillProps extends Omit<React.HTMLAttributes<HTMLElement>, "children">, VariantProps<typeof pillSurfaceVariants> {
1856
+ as?: "span" | "button";
1857
+ /**
1858
+ * Typography (`Text` `variant`). Separate from `appearance`: shell uses solid/subtle/outline/ghost;
1859
+ * text uses default/muted/subtle/code/danger/outline.
1860
+ */
1861
+ variant?: VariantProps<typeof textVariants>["variant"];
1862
+ left?: React.ReactNode;
1863
+ right?: React.ReactNode;
1864
+ /** Renders a dismiss control (e.g. filter chips). */
1865
+ onRemove?: () => void;
1866
+ dot?: boolean;
1867
+ selected?: boolean;
1868
+ disabled?: boolean;
1869
+ /** Button-style surface (`primary` / `secondary` / `outline` / `ghost`); when set, overrides `appearance` + `tone` coloring. `""` ignored (e.g. props panel). */
1870
+ toggleSurface?: VariantProps<typeof toggleSurfaceVariants>["toggleSurface"] | "";
1871
+ /** Shows a spinner and disables interaction. */
697
1872
  loading?: boolean;
698
- error?: string;
699
- showModal?: boolean;
1873
+ children?: React.ReactNode;
1874
+ }
1875
+ declare const Pill: React.ForwardRefExoticComponent<PillProps & React.RefAttributes<HTMLElement>>;
1876
+ /** @deprecated Use `Pill`; kept for compatibility. */
1877
+ declare const Badge: React.ForwardRefExoticComponent<PillProps & React.RefAttributes<HTMLElement>>;
1878
+ type TagSurfaceVariant = "solid" | "subtle" | "outline";
1879
+ interface TagProps extends Omit<PillProps, "children" | "appearance" | "as" | "right" | "variant"> {
1880
+ label: React.ReactNode;
1881
+ /** Maps to Pill `appearance` (solid / subtle / outline). */
1882
+ variant?: TagSurfaceVariant;
700
1883
  }
701
- declare function ConfirmModal({ open: openProp, onOpenChange, triggerLabel, triggerProps, stopPropagation, icon, text, title, description, onConfirm, confirmLabel, cancelLabel, variant, loading, error, showModal, ...props }: ConfirmModalProps): react_jsx_runtime.JSX.Element;
1884
+ /** @deprecated Prefer `<Pill onRemove={…}>` or plain `Pill` with `children`. */
1885
+ declare const Tag: React.ForwardRefExoticComponent<TagProps & React.RefAttributes<HTMLElement>>;
702
1886
 
703
- interface CopyButtonProps extends React$1.ComponentProps<typeof Button> {
704
- text?: string;
705
- getText?: () => string;
706
- onCopy?: () => void;
707
- stopPropagation?: boolean;
1887
+ type BadgeProps = PillProps;
1888
+
1889
+ declare const avatarVariants: (props?: ({
1890
+ size?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
1891
+ shape?: "circle" | "square" | null | undefined;
1892
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
1893
+ type Status = "online" | "offline" | "away" | "busy";
1894
+ interface AvatarProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof avatarVariants> {
1895
+ src?: string;
1896
+ alt?: string;
1897
+ name?: string;
1898
+ /** Fallback background — semantic token name or any CSS color. */
1899
+ color?: string;
1900
+ fallback?: React.ReactNode;
1901
+ status?: Status;
708
1902
  }
709
- declare function CopyButton({ text, getText, onCopy, stopPropagation, ...props }: CopyButtonProps): react_jsx_runtime.JSX.Element;
1903
+ declare const Avatar: React.ForwardRefExoticComponent<AvatarProps & React.RefAttributes<HTMLDivElement>>;
710
1904
 
711
- type FormFieldType = "text" | "textarea" | "select" | "checkbox" | "upload" | "number" | "email" | "url";
712
- interface FormFieldConfig {
713
- name: string;
714
- type: FormFieldType;
715
- label?: string;
716
- placeholder?: string | ((formData: Record<string, any>) => string);
717
- description?: string;
718
- helpText?: string | ((formData: Record<string, any>) => string);
719
- required?: boolean | ((formData: Record<string, any>) => boolean);
720
- active?: boolean | ((values: Record<string, any>) => boolean);
721
- validation?: (value: any) => string | undefined;
722
- options?: Array<{
723
- label: string;
724
- value: string;
725
- }> | ((formData: Record<string, any>) => Array<{
726
- label: string;
727
- value: string;
728
- }>) | (() => Array<{
729
- label: string;
730
- value: string;
731
- }>);
732
- accept?: string;
733
- multiple?: boolean;
734
- min?: number;
1905
+ interface AvatarGroupProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "children"> {
1906
+ items: Omit<AvatarProps, "size">[];
735
1907
  max?: number;
736
- step?: number;
737
- rows?: number;
738
- variant?: "default" | "dashed" | "outlined";
739
- size?: "sm" | "md" | "lg";
740
- defaultValue?: any;
741
- onChange?: (value: any, params: {
742
- formData: Record<string, any>;
743
- setFormData: (data: Record<string, any> | ((prev: Record<string, any>) => Record<string, any>)) => void;
744
- fieldName: string;
745
- }) => void;
746
- onFileSelect?: (file: File, params: {
747
- formData: Record<string, any>;
748
- setFormData: (data: Record<string, any> | ((prev: Record<string, any>) => Record<string, any>)) => void;
749
- }) => void;
1908
+ size?: AvatarProps["size"];
750
1909
  }
751
- interface FormModalProps {
752
- open?: boolean;
753
- onOpenChange?: (open: boolean) => void;
754
- triggerLabel?: string;
755
- triggerProps?: React$1.ComponentProps<typeof Button>;
756
- icon?: React$1.ReactNode;
757
- title: string;
758
- description?: string;
759
- variant?: "create" | "edit";
760
- itemType?: string;
761
- onSubmit: (data: Record<string, any>) => void | Promise<void>;
762
- submitLabel?: string;
763
- submittingLabel?: string;
764
- cancelLabel?: string;
765
- loading?: boolean;
766
- isSubmitDisabled?: boolean | ((formData: Record<string, any>) => boolean);
767
- onCreated?: (data: Record<string, any>) => void;
768
- fields?: FormFieldConfig[];
769
- children?: React$1.ReactNode;
770
- beforeFields?: React$1.ReactNode;
771
- afterFields?: React$1.ReactNode;
772
- }
773
- declare function FormModal({ open: openProp, onOpenChange, triggerLabel, triggerProps, icon, title, description, variant, itemType, onSubmit, submitLabel, submittingLabel, cancelLabel, loading: loadingProp, isSubmitDisabled, onCreated, fields, children, beforeFields, afterFields, ...props }: FormModalProps): react_jsx_runtime.JSX.Element;
774
-
775
- interface TriggerModalProps extends Omit<React$1.ComponentProps<typeof Modal>, "children"> {
776
- triggerLabel?: string;
777
- trigger?: React$1.ReactNode;
778
- triggerProps?: React$1.ComponentProps<typeof Button>;
779
- stopPropagation?: boolean;
780
- icon?: React$1.ReactNode;
781
- title: string;
782
- description?: string;
783
- children: React$1.ReactNode;
784
- footer?: React$1.ReactNode;
785
- showCloseButton?: boolean;
786
- className?: string;
1910
+ declare function AvatarGroup({ items, max, size, className, ...rest }: AvatarGroupProps): react_jsx_runtime.JSX.Element;
1911
+ declare namespace AvatarGroup {
1912
+ var displayName: string;
787
1913
  }
788
- declare function TriggerModal({ open, onOpenChange, triggerLabel, trigger, triggerProps, stopPropagation, icon, title, description, children, footer, showCloseButton, className, ...props }: TriggerModalProps): react_jsx_runtime.JSX.Element;
789
1914
 
790
- interface HistoryControlButtonsProps {
791
- canUndo?: boolean;
792
- canRedo?: boolean;
793
- isDirty?: boolean;
794
- onUndo?: () => void;
795
- onRedo?: () => void;
796
- onReset?: () => void;
797
- className?: string;
798
- showLabels?: boolean;
1915
+ declare const progressVariants: (props?: ({
1916
+ size?: "sm" | "md" | "lg" | null | undefined;
1917
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
1918
+ interface ProgressProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof progressVariants> {
1919
+ /** Omit or pass `null` for unknown progress (same as `loading`). */
1920
+ value?: number | null;
1921
+ max?: number;
1922
+ showLabel?: boolean;
1923
+ /** Unknown completion (e.g. waiting on server). Same as `value={null}`. */
1924
+ loading?: boolean;
799
1925
  }
800
- /**
801
- * History Control Buttons - Undo/Redo/Reset controls
802
- *
803
- * Provides undo, redo, and reset functionality for application state.
804
- * State management should be handled by the parent component.
805
- */
806
- declare function HistoryControlButtons({ canUndo, canRedo, isDirty, onUndo, onRedo, onReset, className, showLabels, }: HistoryControlButtonsProps): react_jsx_runtime.JSX.Element;
1926
+ declare const Progress: React.ForwardRefExoticComponent<ProgressProps & React.RefAttributes<HTMLDivElement>>;
807
1927
 
808
- interface BoxProps extends React$1.HTMLAttributes<HTMLDivElement> {
809
- as?: React$1.ElementType;
1928
+ declare const kbdVariants: (props?: ({
1929
+ size?: "sm" | "md" | null | undefined;
1930
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
1931
+ interface KbdProps extends React.HTMLAttributes<HTMLElement>, VariantProps<typeof kbdVariants> {
1932
+ }
1933
+ declare const Kbd: React.ForwardRefExoticComponent<KbdProps & React.RefAttributes<HTMLElement>>;
1934
+ interface KbdGroupProps extends React.HTMLAttributes<HTMLDivElement> {
810
1935
  }
811
- declare function Box({ className, as: Component, ...props }: BoxProps): react_jsx_runtime.JSX.Element;
1936
+ declare const KbdGroup: React.ForwardRefExoticComponent<KbdGroupProps & React.RefAttributes<HTMLDivElement>>;
812
1937
 
813
- interface StackProps extends React$1.HTMLAttributes<HTMLDivElement> {
814
- direction?: "row" | "column";
815
- spacing?: "none" | "sm" | "md" | "lg";
816
- align?: "start" | "center" | "end" | "stretch";
817
- justify?: "start" | "center" | "end" | "between" | "around";
1938
+ declare const imageVariants: (props?: ({
1939
+ variant?: "default" | "circle" | "square" | "rounded" | null | undefined;
1940
+ fit?: "fill" | "none" | "contain" | "cover" | "scale-down" | null | undefined;
1941
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
1942
+ interface ImageProps extends Omit<React.ImgHTMLAttributes<HTMLImageElement>, "placeholder">, VariantProps<typeof imageVariants> {
1943
+ fallback?: React.ReactNode;
1944
+ placeholder?: "blur" | "skeleton" | "none";
1945
+ loadingStrategy?: "lazy" | "eager";
1946
+ position?: string;
1947
+ /**
1948
+ * When true, shows a control to enter/exit native fullscreen on the image (wrapper element).
1949
+ */
1950
+ allowFullscreen?: boolean;
818
1951
  }
819
- declare function Stack({ className, direction, spacing, align, justify, ...props }: StackProps): react_jsx_runtime.JSX.Element;
1952
+ declare const Image: React.ForwardRefExoticComponent<ImageProps & React.RefAttributes<HTMLImageElement>>;
820
1953
 
821
- interface GridProps extends React$1.HTMLAttributes<HTMLDivElement> {
822
- cols?: 1 | 2 | 3 | 4 | 6 | 12;
823
- gap?: "none" | "sm" | "md" | "lg";
1954
+ type PillTone = "neutral" | "info" | "success" | "warning" | "danger";
1955
+ interface PillItem {
1956
+ label: React.ReactNode;
1957
+ value: string;
1958
+ tone?: PillTone;
1959
+ disabled?: boolean;
1960
+ left?: React.ReactNode;
1961
+ selected?: boolean;
1962
+ dot?: boolean;
1963
+ loading?: boolean;
1964
+ }
1965
+ declare const groupVariants: (props?: ({
1966
+ gap?: "sm" | "md" | "lg" | null | undefined;
1967
+ wrap?: boolean | null | undefined;
1968
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
1969
+ interface PillGroupProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "onChange" | "onSelect">, VariantProps<typeof groupVariants> {
1970
+ items: PillItem[];
1971
+ value?: string[];
1972
+ defaultValue?: string[];
1973
+ onChange?: (next: string[]) => void;
1974
+ selectable?: boolean;
1975
+ onSelect?: (item: PillItem, selected: boolean) => void;
1976
+ multiple?: boolean;
1977
+ removable?: boolean;
1978
+ onRemove?: (value: string) => void;
1979
+ maxVisible?: number;
1980
+ overflowLabel?: string;
1981
+ children?: React.ReactNode;
1982
+ size?: PillProps["size"];
1983
+ /** Maps to Pill `appearance` (solid / subtle / outline / ghost). Ignored when `toggleSurface` is set. */
1984
+ variant?: PillProps["appearance"];
1985
+ /** Button-style surface for every pill (`primary` / `secondary` / `outline` / `ghost`). */
1986
+ toggleSurface?: PillProps["toggleSurface"];
1987
+ /** Disables all pills and shows a trailing spinner. */
1988
+ loading?: boolean;
1989
+ }
1990
+ declare function PillGroup({ items, value, defaultValue, onChange, selectable, onSelect, multiple, removable, onRemove, maxVisible, overflowLabel, children, size, variant, toggleSurface, loading: groupLoading, gap, wrap, className, ...props }: PillGroupProps): react_jsx_runtime.JSX.Element;
1991
+ declare namespace PillGroup {
1992
+ var displayName: string;
824
1993
  }
825
- declare function Grid({ className, cols, gap, ...props }: GridProps): react_jsx_runtime.JSX.Element;
826
1994
 
827
- declare function AspectRatio({ ...props }: React.ComponentProps<typeof AspectRatioPrimitive.Root>): react_jsx_runtime.JSX.Element;
1995
+ interface DescriptionItem {
1996
+ label: React.ReactNode;
1997
+ value: React.ReactNode;
1998
+ }
1999
+ declare const descriptionListVariants: (props?: ({
2000
+ layout?: "horizontal" | "vertical" | null | undefined;
2001
+ size?: "sm" | "md" | null | undefined;
2002
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
2003
+ interface DescriptionListProps extends Omit<React.HTMLAttributes<HTMLDListElement>, "children">, VariantProps<typeof descriptionListVariants> {
2004
+ items: readonly DescriptionItem[];
2005
+ }
2006
+ declare const DescriptionList: React.ForwardRefExoticComponent<DescriptionListProps & React.RefAttributes<HTMLDListElement>>;
828
2007
 
829
- declare function ScrollArea({ className, children, ...props }: React$1.ComponentProps<typeof ScrollAreaPrimitive.Root>): react_jsx_runtime.JSX.Element;
830
- declare function ScrollBar({ className, orientation, ...props }: React$1.ComponentProps<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>): react_jsx_runtime.JSX.Element;
2008
+ interface ListItem {
2009
+ label: React.ReactNode;
2010
+ value?: string;
2011
+ left?: React.ReactNode;
2012
+ description?: React.ReactNode;
2013
+ action?: React.ReactNode;
2014
+ disabled?: boolean;
2015
+ selected?: boolean;
2016
+ }
2017
+ type ListLayout = "list" | "grid";
2018
+ /** Default filter: case-insensitive match on `label`, `description`, and `value`. */
2019
+ declare function defaultListItemFilter(items: readonly ListItem[], query: string): ListItem[];
2020
+ type ListSearchConfig = Omit<Partial<SearchInputProps>, "value" | "defaultValue" | "onChange" | "onSearch" | "onClear"> & {
2021
+ /** Replace built-in label/description/value matching. */
2022
+ filter?: (items: readonly ListItem[], query: string) => readonly ListItem[];
2023
+ defaultQuery?: string;
2024
+ /** Controlled query (pairs with `onChange`). */
2025
+ value?: string;
2026
+ onChange?: (value: string) => void;
2027
+ /** Fired when debounced query updates (after `onSearch`). */
2028
+ onDebouncedChange?: (query: string) => void;
2029
+ /** When false, search UI does not filter list items (e.g. filters external data). Default true. */
2030
+ filterItems?: boolean;
2031
+ };
2032
+ type StackGap = NonNullable<VariantProps<typeof stackVariants>["gap"]>;
2033
+ type GridGap = NonNullable<VariantProps<typeof gridSpacingVariants>["gap"]>;
2034
+ type GridColumnCount = 1 | 2 | 3 | 4 | 6 | 12;
2035
+ type GridRowCount = 1 | 2 | 3 | 4 | 5 | 6;
2036
+ interface ListProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "children" | "onSelect"> {
2037
+ items: readonly ListItem[];
2038
+ listType?: "unordered" | "ordered" | "none";
2039
+ layout?: ListLayout;
2040
+ divider?: boolean;
2041
+ selectable?: boolean;
2042
+ selectedValue?: string;
2043
+ defaultSelectedValue?: string;
2044
+ onSelect?: (value: string, item: ListItem) => void;
2045
+ /** Shown when `items` is empty (ignores search). */
2046
+ emptyState?: React.ReactNode;
2047
+ /** Shown when search is active and nothing matches. */
2048
+ noResultsState?: React.ReactNode;
2049
+ loading?: boolean;
2050
+ children?: React.ReactNode;
2051
+ /** Prepended above search (if any) and the list body. */
2052
+ header?: React.ReactNode;
2053
+ /** `true`: default search field + built-in filter. Object: pass `filter` and/or SearchInput props. */
2054
+ search?: boolean | ListSearchConfig;
2055
+ direction?: VariantProps<typeof stackVariants>["direction"];
2056
+ gap?: StackGap;
2057
+ align?: VariantProps<typeof stackVariants>["align"];
2058
+ justify?: VariantProps<typeof stackVariants>["justify"];
2059
+ wrap?: VariantProps<typeof stackVariants>["wrap"];
2060
+ columns?: GridColumnCount;
2061
+ rows?: GridRowCount;
2062
+ minChildWidth?: string;
2063
+ columnGap?: VariantProps<typeof gridSpacingVariants>["columnGap"];
2064
+ rowGap?: VariantProps<typeof gridSpacingVariants>["rowGap"];
2065
+ autoFlow?: VariantProps<typeof gridSpacingVariants>["autoFlow"];
2066
+ alignItems?: VariantProps<typeof gridSpacingVariants>["alignItems"];
2067
+ justifyItems?: VariantProps<typeof gridSpacingVariants>["justifyItems"];
2068
+ /** Grid gap (and fallback when you only set `gap` in grid mode). */
2069
+ gridGap?: GridGap;
2070
+ }
2071
+ declare const List: React.ForwardRefExoticComponent<ListProps & React.RefAttributes<HTMLDivElement>>;
831
2072
 
832
- declare function Table({ className, ...props }: React$1.ComponentProps<"table">): react_jsx_runtime.JSX.Element;
833
- declare function TableHeader({ className, ...props }: React$1.ComponentProps<"thead">): react_jsx_runtime.JSX.Element;
834
- declare function TableBody({ className, ...props }: React$1.ComponentProps<"tbody">): react_jsx_runtime.JSX.Element;
835
- declare function TableFooter({ className, ...props }: React$1.ComponentProps<"tfoot">): react_jsx_runtime.JSX.Element;
836
- declare function TableRow({ className, ...props }: React$1.ComponentProps<"tr">): react_jsx_runtime.JSX.Element;
837
- declare function TableHead({ className, ...props }: React$1.ComponentProps<"th">): react_jsx_runtime.JSX.Element;
838
- declare function TableCell({ className, ...props }: React$1.ComponentProps<"td">): react_jsx_runtime.JSX.Element;
839
- declare function TableCaption({ className, ...props }: React$1.ComponentProps<"caption">): react_jsx_runtime.JSX.Element;
2073
+ declare const tableVariants: (props?: ({
2074
+ variant?: "default" | "bordered" | "striped" | null | undefined;
2075
+ size?: "sm" | "md" | "lg" | null | undefined;
2076
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
2077
+ type TableColumnAlign = "left" | "center" | "right";
2078
+ interface TableColumn<T> {
2079
+ key: string;
2080
+ /** Header cell content (any `ReactNode`; not passed through `Icon`). */
2081
+ header: React.ReactNode;
2082
+ /** Cell content; default renders `row[key]` as a `ReactNode`. */
2083
+ render?: (row: T, rowIndex: number) => React.ReactNode;
2084
+ sortable?: boolean;
2085
+ width?: string | number;
2086
+ align?: TableColumnAlign;
2087
+ /** Pin column while scrolling horizontally. Set `width` on columns used in offset math; unknown widths are omitted (no default). */
2088
+ sticky?: "left" | "right";
2089
+ }
2090
+ type SortDirection = "asc" | "desc";
2091
+ interface TableProps<T> extends Omit<React.HTMLAttributes<HTMLDivElement>, "children">, VariantProps<typeof tableVariants> {
2092
+ data: T[];
2093
+ columns: TableColumn<T>[];
2094
+ /** When true, column headers with `sortable` toggle sort. */
2095
+ sortable?: boolean;
2096
+ /** Uncontrolled default sort column key. */
2097
+ defaultSortKey?: string;
2098
+ defaultSortDirection?: SortDirection;
2099
+ sortKey?: string;
2100
+ sortDirection?: SortDirection;
2101
+ onSortChange?: (key: string, direction: SortDirection) => void;
2102
+ selectable?: boolean;
2103
+ selectedRows?: Array<string | number>;
2104
+ defaultSelectedRows?: Array<string | number>;
2105
+ onSelectionChange?: (selected: Array<string | number>) => void;
2106
+ getRowId?: (row: T, index: number) => string | number;
2107
+ stickyHeader?: boolean;
2108
+ onRowClick?: (row: T, index: number) => void;
2109
+ loading?: boolean;
2110
+ /** Skeleton row count when `loading` (defaults to data length or 5). */
2111
+ loadingRows?: number;
2112
+ emptyState?: React.ReactNode;
2113
+ pagination?: PaginationProps;
2114
+ /** Scroll container max height (number → px, or any CSS length). */
2115
+ maxHeight?: string | number;
2116
+ }
2117
+ declare function Table<T>({ data, columns, sortable: tableSortable, defaultSortKey, defaultSortDirection, sortKey: sortKeyProp, sortDirection: sortDirectionProp, onSortChange, selectable, selectedRows: selectedRowsProp, defaultSelectedRows, onSelectionChange, getRowId, stickyHeader, onRowClick, loading, loadingRows, emptyState, pagination, maxHeight, variant, size, className, ...props }: TableProps<T>): react_jsx_runtime.JSX.Element;
2118
+ declare namespace Table {
2119
+ var displayName: string;
2120
+ }
840
2121
 
841
- interface ContainerProps extends React$1.HTMLAttributes<HTMLDivElement> {
842
- maxWidth?: "sm" | "md" | "lg" | "xl" | "2xl" | "full";
2122
+ interface VideoProps extends React.VideoHTMLAttributes<HTMLVideoElement> {
2123
+ src: string;
843
2124
  }
844
- declare function Container({ className, maxWidth, ...props }: ContainerProps): react_jsx_runtime.JSX.Element;
2125
+ declare const Video: React.ForwardRefExoticComponent<VideoProps & React.RefAttributes<HTMLVideoElement>>;
845
2126
 
846
- interface ListProps {
847
- items: Array<any>;
848
- renderItem: (item: any, index: number) => React$1.ReactNode;
849
- searchable?: boolean;
850
- searchPlaceholder?: string;
851
- emptyTitle?: string;
852
- emptyDescription?: string;
853
- emptyAction?: React$1.ReactNode;
2127
+ type TreeMovePosition$1 = "before" | "after" | "inside";
2128
+ declare function deleteTreeNode(items: TreeItem[], id: string): TreeItem[];
2129
+ declare function addTreeNodeSibling(items: TreeItem[], targetId: string, node: TreeItem): TreeItem[];
2130
+ declare function addTreeNodeChild(items: TreeItem[], targetId: string, node: TreeItem): TreeItem[];
2131
+ declare function moveTreeNode(items: TreeItem[], draggedId: string, targetId: string, position: TreeMovePosition$1): TreeItem[];
2132
+
2133
+ type TreeItemKind = "folder" | "file";
2134
+ type TreeItem = {
2135
+ id: string;
2136
+ label: React.ReactNode;
2137
+ left?: React.ReactNode;
2138
+ kind?: TreeItemKind;
2139
+ children?: TreeItem[];
2140
+ };
2141
+ type TreeAddRelation = "sibling" | "child";
2142
+ type TreeMovePosition = "before" | "after" | "inside";
2143
+ interface TreeViewProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "onSelect"> {
2144
+ items: TreeItem[];
2145
+ selectedId?: string;
2146
+ defaultSelectedId?: string;
2147
+ onSelect?: (id: string) => void;
2148
+ expandedIds?: string[];
2149
+ defaultExpandedIds?: string[];
2150
+ onExpandedChange?: (ids: string[]) => void;
2151
+ showIndentGuides?: boolean;
854
2152
  loading?: boolean;
855
- skeletonCount?: number;
856
- renderSkeleton?: () => React$1.ReactNode;
857
- type?: "grid" | "list";
858
- gridCols?: {
859
- default?: number;
860
- md?: number;
861
- lg?: number;
862
- };
2153
+ emptyState?: React.ReactNode;
2154
+ indent?: number;
2155
+ draggable?: boolean;
2156
+ onMove?: (payload: {
2157
+ draggedId: string;
2158
+ targetId: string;
2159
+ position: TreeMovePosition;
2160
+ }) => void;
2161
+ allowAddSibling?: boolean;
2162
+ allowAddChild?: boolean;
2163
+ allowDelete?: boolean;
2164
+ onAdd?: (payload: {
2165
+ targetId: string;
2166
+ relation: TreeAddRelation;
2167
+ }) => void;
2168
+ onDelete?: (id: string) => void;
863
2169
  className?: string;
864
- searchValue?: string;
865
- onSearchChange?: (value: string) => void;
866
- filterItems?: (items: Array<any>, searchValue: string) => Array<any>;
867
- error?: string | React$1.ReactNode;
868
- header?: React$1.ReactNode;
869
- footer?: React$1.ReactNode;
870
2170
  }
871
- declare function List({ items, renderItem, searchable, searchPlaceholder, emptyTitle, emptyDescription, emptyAction, loading, skeletonCount, renderSkeleton, type, gridCols, className, searchValue: searchValueProp, onSearchChange: onSearchChangeProp, filterItems, error, header, footer, }: ListProps): react_jsx_runtime.JSX.Element;
2171
+ declare function TreeView({ items, selectedId, defaultSelectedId, onSelect, expandedIds, defaultExpandedIds, onExpandedChange, showIndentGuides, loading, emptyState, indent, draggable, onMove, allowAddSibling, allowAddChild, allowDelete, onAdd, onDelete, className, ...rest }: TreeViewProps): react_jsx_runtime.JSX.Element;
2172
+ declare namespace TreeView {
2173
+ var displayName: string;
2174
+ }
872
2175
 
873
- declare const headerVariants: (props?: ({
874
- variant?: "default" | "bordered" | null | undefined;
875
- } & class_variance_authority_types.ClassProp) | undefined) => string;
876
- interface HeaderProps extends React$1.HTMLAttributes<HTMLElement>, VariantProps<typeof headerVariants> {
877
- sticky?: boolean;
878
- heading?: string;
879
- caption?: string;
880
- description?: string;
881
- badge?: React$1.ReactNode;
882
- actions?: React$1.ReactNode[];
883
- left?: React$1.ReactNode;
884
- right?: React$1.ReactNode;
2176
+ type CarouselItem = {
2177
+ image: string;
2178
+ imageAlt?: string;
2179
+ content?: React.ReactNode;
2180
+ };
2181
+ interface CarouselProps extends React.HTMLAttributes<HTMLDivElement> {
2182
+ items: CarouselItem[];
2183
+ autoPlay?: boolean;
2184
+ loop?: boolean;
2185
+ interval?: number;
2186
+ showIndicators?: boolean;
2187
+ showArrows?: boolean;
2188
+ orientation?: "horizontal" | "vertical";
2189
+ className?: string;
2190
+ }
2191
+ declare function Carousel({ items, autoPlay, loop, interval, showIndicators, showArrows, orientation, className, ...rest }: CarouselProps): react_jsx_runtime.JSX.Element | null;
2192
+ declare namespace Carousel {
2193
+ var displayName: string;
885
2194
  }
886
- declare function Header({ className, sticky, variant, heading, caption, description, badge, actions, left, right, children, ...props }: HeaderProps): react_jsx_runtime.JSX.Element;
887
2195
 
888
- interface FooterProps extends React$1.HTMLAttributes<HTMLElement> {
2196
+ interface CodeBlockProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "children"> {
2197
+ code: string;
2198
+ language?: string;
2199
+ showLineNumbers?: boolean;
2200
+ showCopy?: boolean;
2201
+ filename?: string;
2202
+ }
2203
+ declare function CodeBlock({ code, language, showLineNumbers, showCopy, filename, className, ...rest }: CodeBlockProps): react_jsx_runtime.JSX.Element;
2204
+ declare namespace CodeBlock {
2205
+ var displayName: string;
889
2206
  }
890
- declare function Footer({ className, ...props }: FooterProps): react_jsx_runtime.JSX.Element;
891
2207
 
892
- declare const emptyScreenVariants: (props?: ({
893
- variant?: "default" | "error" | "minimal" | "spacious" | null | undefined;
894
- size?: "sm" | "lg" | "md" | null | undefined;
2208
+ declare const alertDialogVariants: (props?: ({
2209
+ variant?: "default" | "destructive" | "warning" | null | undefined;
895
2210
  } & class_variance_authority_types.ClassProp) | undefined) => string;
896
- interface EmptyScreenProps extends VariantProps<typeof emptyScreenVariants> {
897
- title?: string;
2211
+ type AlertDialogConfirmProps = {
2212
+ label: string;
2213
+ onClick?: () => void;
2214
+ loading?: boolean;
2215
+ };
2216
+ type AlertDialogCancelProps = {
2217
+ label: string;
2218
+ onClick?: () => void;
2219
+ };
2220
+ interface AlertDialogProps extends VariantProps<typeof alertDialogVariants> {
2221
+ open?: boolean;
2222
+ defaultOpen?: boolean;
2223
+ onOpenChange?: (open: boolean) => void;
2224
+ title: string;
898
2225
  description?: string;
899
- icon?: React$1.ReactNode;
900
- action?: React$1.ReactNode;
2226
+ confirmProps: AlertDialogConfirmProps;
2227
+ cancelProps?: AlertDialogCancelProps;
2228
+ loading?: boolean;
901
2229
  className?: string;
2230
+ container?: OverlayPortalContainer;
2231
+ }
2232
+ declare function AlertDialog({ open: openProp, defaultOpen, onOpenChange, title, description, variant, confirmProps, cancelProps, loading, className, container, }: AlertDialogProps): react_jsx_runtime.JSX.Element;
2233
+ declare namespace AlertDialog {
2234
+ var displayName: string;
902
2235
  }
903
- declare function EmptyScreen({ title, description, icon, action, variant, size, className, }: EmptyScreenProps): react_jsx_runtime.JSX.Element;
904
2236
 
905
- interface CollapsiblePanelProps {
906
- children: React$1.ReactNode;
907
- direction?: "horizontal" | "vertical";
908
- position?: "left" | "right" | "top" | "bottom";
2237
+ declare const drawerVariants: (props?: ({
2238
+ placement?: "left" | "right" | "top" | "bottom" | null | undefined;
2239
+ size?: "sm" | "md" | "lg" | "xl" | "full" | null | undefined;
2240
+ variant?: "default" | "sheet" | null | undefined;
2241
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
2242
+ type DrawerPlacement = NonNullable<VariantProps<typeof drawerVariants>["placement"]>;
2243
+ type DrawerSize = NonNullable<VariantProps<typeof drawerVariants>["size"]>;
2244
+ type DrawerVariant = NonNullable<VariantProps<typeof drawerVariants>["variant"]>;
2245
+ interface DrawerProps extends VariantProps<typeof drawerVariants> {
2246
+ open?: boolean;
909
2247
  defaultOpen?: boolean;
910
- minWidth?: string;
911
- minHeight?: string;
912
- keyword?: string;
2248
+ onOpenChange?: (open: boolean) => void;
2249
+ showClose?: boolean;
2250
+ header?: React.ReactNode;
2251
+ footer?: React.ReactNode;
2252
+ className?: string;
2253
+ cardProps?: Omit<CardProps, "header" | "footer" | "children">;
2254
+ container?: OverlayPortalContainer;
2255
+ children?: React.ReactNode;
2256
+ }
2257
+ declare const Drawer: React.ForwardRefExoticComponent<DrawerProps & React.RefAttributes<HTMLDivElement>>;
2258
+
2259
+ type PopoverPlacement = "top" | "bottom" | "left" | "right";
2260
+ type PopoverTriggerProps = {
2261
+ label?: React.ReactNode;
2262
+ left?: React.ReactNode;
2263
+ variant?: ButtonProps["variant"];
2264
+ size?: ButtonProps["size"];
913
2265
  className?: string;
914
- triggerClassName?: string;
915
- onToggle?: (isOpen: boolean) => void;
2266
+ };
2267
+ interface PopoverProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "children"> {
916
2268
  open?: boolean;
2269
+ defaultOpen?: boolean;
917
2270
  onOpenChange?: (open: boolean) => void;
2271
+ triggerProps?: PopoverTriggerProps;
2272
+ trigger?: React.ReactNode;
2273
+ /** When false, trigger click does not toggle (e.g. HoverCard). */
2274
+ openOnClick?: boolean;
2275
+ closeOnOutsideClick?: boolean;
2276
+ placement?: PopoverPlacement;
2277
+ offset?: number;
2278
+ className?: string;
2279
+ cardProps?: Omit<CardProps, "children">;
2280
+ children?: React.ReactNode;
2281
+ }
2282
+ declare function Popover({ open: openProp, defaultOpen, onOpenChange, triggerProps, trigger, openOnClick, closeOnOutsideClick, placement, offset, className, cardProps, children, ...rest }: PopoverProps): react_jsx_runtime.JSX.Element;
2283
+ declare namespace Popover {
2284
+ var displayName: string;
918
2285
  }
919
- declare function CollapsiblePanel({ children, direction, position, defaultOpen, minWidth, minHeight, keyword, className, triggerClassName, onToggle, open: openProp, onOpenChange, }: CollapsiblePanelProps): react_jsx_runtime.JSX.Element;
920
-
921
- declare function ResizablePanelGroup({ className, ...props }: React$1.ComponentProps<typeof ResizablePrimitive.PanelGroup>): react_jsx_runtime.JSX.Element;
922
- declare function ResizablePanel({ ...props }: React$1.ComponentProps<typeof ResizablePrimitive.Panel>): react_jsx_runtime.JSX.Element;
923
- declare function ResizableHandle({ withHandle, className, ...props }: React$1.ComponentProps<typeof ResizablePrimitive.PanelResizeHandle> & {
924
- withHandle?: boolean;
925
- }): react_jsx_runtime.JSX.Element;
926
2286
 
927
- interface ResizeContainerProps {
928
- children: React$1.ReactNode;
929
- direction?: "horizontal" | "vertical";
2287
+ type HoverCardTriggerProps = {
2288
+ label?: React.ReactNode;
2289
+ left?: React.ReactNode;
2290
+ variant?: ButtonProps["variant"];
2291
+ size?: ButtonProps["size"];
930
2292
  className?: string;
931
- maxWidth?: string | number;
932
- maxHeight?: string | number;
933
- containerClassName?: string;
934
- contentClassName?: string;
935
- padding?: number;
936
- minScale?: number;
937
- maxScale?: number;
938
- fit?: "contain" | "cover" | "fill";
939
- showControls?: boolean;
2293
+ };
2294
+ interface HoverCardProps extends Omit<PopoverProps, "triggerProps" | "trigger" | "closeOnOutsideClick"> {
2295
+ triggerProps?: HoverCardTriggerProps;
2296
+ trigger?: React.ReactNode;
2297
+ openDelay?: number;
2298
+ closeDelay?: number;
2299
+ placement?: PopoverPlacement;
2300
+ }
2301
+ declare function HoverCard({ open: openProp, defaultOpen, onOpenChange, triggerProps, trigger, openDelay, closeDelay, placement, offset, className, cardProps, children, ...rest }: HoverCardProps): react_jsx_runtime.JSX.Element;
2302
+ declare namespace HoverCard {
2303
+ var displayName: string;
940
2304
  }
941
- declare function ResizeContainer({ children, direction, className, maxWidth, maxHeight, containerClassName, contentClassName, padding, minScale, maxScale, fit, showControls, }: ResizeContainerProps): react_jsx_runtime.JSX.Element;
942
2305
 
943
- type SidebarContextProps = {
944
- state: "expanded" | "collapsed";
945
- open: boolean;
946
- setOpen: (open: boolean) => void;
947
- openMobile: boolean;
948
- setOpenMobile: (open: boolean) => void;
949
- isMobile: boolean;
950
- toggleSidebar: () => void;
951
- };
952
- declare function useSidebar(): SidebarContextProps;
953
- declare function SidebarProvider({ defaultOpen, open: openProp, onOpenChange: setOpenProp, className, style, children, ...props }: ComponentProps<"div"> & {
954
- defaultOpen?: boolean;
955
- open?: boolean;
956
- onOpenChange?: (open: boolean) => void;
957
- }): react_jsx_runtime.JSX.Element;
958
- declare function Sidebar({ side, variant, collapsible, className, children, ...props }: ComponentProps<"div"> & {
959
- side?: "left" | "right";
960
- variant?: "sidebar" | "floating" | "inset";
961
- collapsible?: "offcanvas" | "icon" | "none";
962
- }): react_jsx_runtime.JSX.Element;
963
- declare function SidebarTrigger({ className, onClick, ...props }: ComponentProps<typeof Button>): react_jsx_runtime.JSX.Element;
964
- declare function SidebarRail({ className, ...props }: ComponentProps<"button">): react_jsx_runtime.JSX.Element;
965
- declare function SidebarInset({ className, ...props }: ComponentProps<"main">): react_jsx_runtime.JSX.Element;
966
- declare function SidebarInput({ className, ...props }: ComponentProps<typeof TextInput>): react_jsx_runtime.JSX.Element;
967
- declare function SidebarHeader({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
968
- declare function SidebarFooter({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
969
- declare function SidebarSeparator({ className, ...props }: ComponentProps<typeof Separator>): react_jsx_runtime.JSX.Element;
970
- declare function SidebarContent({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
971
- declare function SidebarGroup({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
972
- declare function SidebarGroupLabel({ className, asChild, ...props }: ComponentProps<"div"> & {
973
- asChild?: boolean;
974
- }): react_jsx_runtime.JSX.Element;
975
- declare function SidebarGroupAction({ className, asChild, ...props }: ComponentProps<"button"> & {
976
- asChild?: boolean;
977
- }): react_jsx_runtime.JSX.Element;
978
- declare function SidebarGroupContent({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
979
- declare function SidebarMenu({ className, ...props }: ComponentProps<"ul">): react_jsx_runtime.JSX.Element;
980
- declare function SidebarMenuItem({ className, ...props }: ComponentProps<"li">): react_jsx_runtime.JSX.Element;
981
- declare const sidebarMenuButtonVariants: (props?: ({
982
- variant?: "default" | "outline" | null | undefined;
983
- size?: "default" | "sm" | "lg" | null | undefined;
2306
+ declare const tooltipContentVariants: (props?: ({
2307
+ variant?: "default" | "inverted" | "info" | null | undefined;
984
2308
  } & class_variance_authority_types.ClassProp) | undefined) => string;
985
- declare function SidebarMenuButton({ asChild, isActive, variant, size, tooltip, className, ...props }: ComponentProps<"button"> & {
986
- asChild?: boolean;
987
- isActive?: boolean;
988
- tooltip?: string | ComponentProps<typeof TooltipContent>;
989
- } & VariantProps<typeof sidebarMenuButtonVariants>): react_jsx_runtime.JSX.Element;
990
- declare function SidebarMenuAction({ className, asChild, showOnHover, ...props }: ComponentProps<"button"> & {
991
- asChild?: boolean;
992
- showOnHover?: boolean;
993
- }): react_jsx_runtime.JSX.Element;
994
- declare function SidebarMenuBadge({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
995
- declare function SidebarMenuSkeleton({ className, showIcon, ...props }: ComponentProps<"div"> & {
996
- showIcon?: boolean;
997
- }): react_jsx_runtime.JSX.Element;
998
- declare function SidebarMenuSub({ className, ...props }: ComponentProps<"ul">): react_jsx_runtime.JSX.Element;
999
- declare function SidebarMenuSubItem({ className, ...props }: ComponentProps<"li">): react_jsx_runtime.JSX.Element;
1000
- declare function SidebarMenuSubButton({ asChild, size, isActive, className, ...props }: ComponentProps<"a"> & {
1001
- asChild?: boolean;
1002
- size?: "sm" | "md";
1003
- isActive?: boolean;
2309
+ declare const tooltipArrowVariants: (props?: ({
2310
+ variant?: "default" | "inverted" | null | undefined;
2311
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
2312
+ type TooltipPlacement = "top" | "bottom" | "left" | "right";
2313
+ interface TooltipProps {
2314
+ content: React.ReactNode;
2315
+ disabled?: boolean;
2316
+ children: React.ReactNode;
2317
+ placement?: TooltipPlacement;
2318
+ /** Opacity fade-in length (ms). */
2319
+ transitionDuration?: number;
2320
+ className?: string;
2321
+ variant?: VariantProps<typeof tooltipContentVariants>["variant"];
2322
+ /**
2323
+ * When true, you can move onto the tooltip; close is deferred briefly so the pointer can cross the gap.
2324
+ * When false, leaving the trigger closes immediately (`pointer-events-none` on the tooltip).
2325
+ */
2326
+ keepOpenOnContentHover?: boolean;
2327
+ /**
2328
+ * When true, try alternate sides so the tooltip stays inside the viewport (window edges).
2329
+ */
2330
+ autoPlacement?: boolean;
2331
+ /** Extra horizontal offset (px) after placement. */
2332
+ xOffset?: number;
2333
+ /** Extra vertical offset (px) after placement. */
2334
+ yOffset?: number;
2335
+ /** Max width (`number` = px, or CSS length string). Omit for default (~20rem). */
2336
+ maxWidth?: number | string;
2337
+ /** When false, hides the placement arrow. */
2338
+ showArrow?: boolean;
2339
+ }
2340
+ declare function Tooltip({ content, disabled, children, placement, transitionDuration, className, variant, keepOpenOnContentHover, autoPlacement, xOffset, yOffset, maxWidth, showArrow, }: TooltipProps): react_jsx_runtime.JSX.Element;
2341
+ declare namespace Tooltip {
2342
+ var displayName: string;
2343
+ }
2344
+ declare function TooltipProvider({ children }: {
2345
+ children?: React.ReactNode;
1004
2346
  }): react_jsx_runtime.JSX.Element;
2347
+ declare namespace TooltipProvider {
2348
+ var displayName: string;
2349
+ }
2350
+ type TooltipProviderProps = {
2351
+ children?: React.ReactNode;
2352
+ };
2353
+
2354
+ interface VisuallyHiddenProps extends React.HTMLAttributes<HTMLSpanElement> {
2355
+ }
2356
+ declare const VisuallyHidden: React.ForwardRefExoticComponent<VisuallyHiddenProps & React.RefAttributes<HTMLSpanElement>>;
2357
+
2358
+ interface ErrorBoundaryProps {
2359
+ children: React.ReactNode;
2360
+ fallback?: React.ReactNode;
2361
+ onError?: (error: Error, errorInfo: React.ErrorInfo) => void;
2362
+ className?: string;
2363
+ }
2364
+ interface ErrorBoundaryState {
2365
+ hasError: boolean;
2366
+ }
2367
+ declare class ErrorBoundary extends React.Component<ErrorBoundaryProps, ErrorBoundaryState> {
2368
+ static displayName: string;
2369
+ state: ErrorBoundaryState;
2370
+ static getDerivedStateFromError(): {
2371
+ hasError: boolean;
2372
+ };
2373
+ componentDidCatch(error: Error, errorInfo: React.ErrorInfo): void;
2374
+ render(): string | number | boolean | Iterable<React.ReactNode> | react_jsx_runtime.JSX.Element | null | undefined;
2375
+ }
2376
+
2377
+ type ChartDatum = Record<string, unknown>;
2378
+
2379
+ type ChartType = "bar" | "line" | "area" | "pie" | "donut" | "scatter";
2380
+ interface ChartProps extends React.SVGAttributes<SVGSVGElement> {
2381
+ type: ChartType;
2382
+ data: ChartDatum[];
2383
+ xKey?: string;
2384
+ yKey?: string;
2385
+ valueKey?: string;
2386
+ labelKey?: string;
2387
+ responsive?: boolean;
2388
+ legend?: boolean;
2389
+ tooltip?: boolean;
2390
+ grid?: boolean;
2391
+ config?: Record<string, {
2392
+ label?: string;
2393
+ color?: string;
2394
+ }>;
2395
+ height?: number | string;
2396
+ width?: number | string;
2397
+ innerRadius?: number;
2398
+ horizontal?: boolean;
2399
+ stacked?: boolean;
2400
+ area?: boolean;
2401
+ showPoints?: boolean;
2402
+ className?: string;
2403
+ }
2404
+ declare function Chart({ type, data, xKey, yKey, valueKey, labelKey, responsive, legend, grid, height, width, innerRadius, horizontal, area, showPoints, className, ...props }: ChartProps): react_jsx_runtime.JSX.Element;
2405
+ declare namespace Chart {
2406
+ var displayName: string;
2407
+ }
2408
+
2409
+ interface BarChartProps extends Omit<ChartProps, "type" | "data"> {
2410
+ data: ChartDatum[];
2411
+ xKey: string;
2412
+ yKey: string;
2413
+ stacked?: boolean;
2414
+ horizontal?: boolean;
2415
+ }
2416
+ declare function BarChart({ data, xKey, yKey, stacked, horizontal, ...props }: BarChartProps): react_jsx_runtime.JSX.Element;
2417
+ declare namespace BarChart {
2418
+ var displayName: string;
2419
+ }
2420
+
2421
+ interface LineChartProps extends Omit<ChartProps, "type" | "data"> {
2422
+ data: ChartDatum[];
2423
+ xKey: string;
2424
+ yKey: string;
2425
+ curve?: "linear" | "monotone" | "step";
2426
+ showPoints?: boolean;
2427
+ area?: boolean;
2428
+ }
2429
+ declare function LineChart({ data, xKey, yKey, curve: _curve, showPoints, area, ...props }: LineChartProps): react_jsx_runtime.JSX.Element;
2430
+ declare namespace LineChart {
2431
+ var displayName: string;
2432
+ }
2433
+
2434
+ interface PieChartProps extends Omit<ChartProps, "type" | "data"> {
2435
+ data: ChartDatum[];
2436
+ valueKey: string;
2437
+ labelKey?: string;
2438
+ innerRadius?: number;
2439
+ padAngle?: number;
2440
+ startAngle?: number;
2441
+ endAngle?: number;
2442
+ }
2443
+ declare function PieChart({ data, valueKey, labelKey, innerRadius, ...props }: PieChartProps): react_jsx_runtime.JSX.Element;
2444
+ declare namespace PieChart {
2445
+ var displayName: string;
2446
+ }
1005
2447
 
1006
2448
  interface ThemeToggleProps {
1007
2449
  className?: string;
@@ -1030,30 +2472,67 @@ declare function useTheme(): {
1030
2472
  selectedThemes: ThemeSelection;
1031
2473
  updateTheme: (category: keyof ThemeSelection, themeId: string | undefined) => Promise<void>;
1032
2474
  resetToDefaults: () => Promise<void>;
2475
+ applyPreset: (preset: Partial<ThemeSelection>) => Promise<void>;
1033
2476
  isLoading: boolean;
1034
2477
  error: string | null;
1035
2478
  getAvailableThemes: (category: string) => Promise<Record<string, ThemeMetadata$1>>;
1036
2479
  };
1037
2480
 
1038
- declare function useThemeToggle(): {
2481
+ interface ThemePanelProps {
2482
+ categories: Array<[string, {
2483
+ name: string;
2484
+ themes: Record<string, ThemeMetadata$1>;
2485
+ order?: number;
2486
+ }]>;
2487
+ selectedThemes: ThemeSelection;
2488
+ activeCategory: string;
2489
+ onCategoryChange: (category: string) => void;
2490
+ categoryThemes: Record<string, ThemeMetadata$1>;
2491
+ themesLoading: boolean;
2492
+ isApplying: boolean;
2493
+ onThemeSelect: (category: keyof ThemeSelection, themeId: string) => void;
2494
+ onResetAll: () => void;
2495
+ onClose?: () => void;
2496
+ /** When false, hides the header close control (inline / settings sections). Default true. */
2497
+ showClose?: boolean;
2498
+ className?: string;
2499
+ }
2500
+ declare function ThemePanel({ categories, selectedThemes, activeCategory, onCategoryChange, categoryThemes, themesLoading, isApplying, onThemeSelect, onResetAll, onClose, showClose, className, }: ThemePanelProps): react_jsx_runtime.JSX.Element;
2501
+
2502
+ declare function useThemeToggle(options?: {
2503
+ embedded?: boolean;
2504
+ }): {
1039
2505
  selectedThemes: ThemeSelection;
1040
2506
  isLoading: boolean;
1041
- getAvailableThemes: (category: string) => Promise<Record<string, ThemeMetadata$1>>;
1042
2507
  isOpen: boolean;
1043
- selectedCategory: string | null;
1044
- themeCategories: any;
2508
+ activeCategory: string;
2509
+ categoryThemes: Record<string, ThemeMetadata$1>;
2510
+ themesLoading: boolean;
1045
2511
  categories: [string, {
1046
2512
  name: string;
1047
2513
  themes: Record<string, any>;
1048
2514
  order?: number;
1049
2515
  }][];
1050
- menuRef: React$1.RefObject<HTMLDivElement>;
1051
- handleCategoryClick: (categoryKey: string) => void;
2516
+ menuRef: React.RefObject<HTMLDivElement>;
2517
+ triggerRef: React.RefObject<HTMLButtonElement>;
2518
+ setActiveCategory: React.Dispatch<React.SetStateAction<string>>;
1052
2519
  handleThemeSelect: (category: keyof ThemeSelection, themeId: string) => Promise<void>;
1053
- handleBack: () => void;
2520
+ handleResetAll: () => Promise<void>;
1054
2521
  toggleMenu: () => void;
2522
+ closeMenu: () => void;
1055
2523
  };
1056
2524
 
2525
+ type ThemePreset = Partial<ThemeSelection>;
2526
+ /**
2527
+ * Merge a partial theme selection with defaults (or a base) and apply CSS variables.
2528
+ * Persists to localStorage when `persist` is true (default).
2529
+ */
2530
+ declare function applyPreset(preset: ThemePreset, options?: {
2531
+ base?: ThemeSelection;
2532
+ persist?: boolean;
2533
+ storageKey?: string;
2534
+ }): Promise<ThemeSelection>;
2535
+
1057
2536
  /**
1058
2537
  * Theme Configuration
1059
2538
  * Registry of all available themes organized by category
@@ -1160,4 +2639,4 @@ declare function getCurrentCSSVariables(): Record<string, string>;
1160
2639
  */
1161
2640
  declare function applyThemeSync(): void;
1162
2641
 
1163
- export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AspectRatio, Avatar, AvatarFallback, AvatarImage, Badge, Box, type BoxProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, Calendar, CalendarDayButton, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, type CardProps, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, type ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, Collapsible, CollapsibleContent, CollapsiblePanel, type CollapsiblePanelProps, CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ConfirmModal, type ConfirmModalProps, Container, type ContainerProps, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, CopyButton, type CopyButtonProps, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyScreen, type EmptyScreenProps, EmptyTitle, ErrorBoundary, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, Footer, type FooterProps, Form, FormControl, FormDescription, FormField, type FormFieldConfig, type FormFieldType, FormInput, type FormInputProps, type FormInputType, FormItem, FormLabel, FormMessage, FormModal, type FormModalProps, Grid, type GridProps, Header, type HeaderProps, HistoryControlButtons, type HistoryControlButtonsProps, HoverCard, HoverCardContent, HoverCardTrigger, Image, type ImageProps, InfoBanner, type InfoBannerProps, InlineEdit, type InlineEditProps, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Kbd, KbdGroup, Label, List, type ListProps, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, Modal, ModalClose, ModalContent, ModalDescription, ModalFooter, ModalHeader, ModalOverlay, ModalPortal, ModalTitle, ModalTrigger, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, Progress, Radio, RadioItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, ResizeContainer, type ResizeContainerProps, ScrollArea, ScrollBar, SearchInput, type SearchInputProps, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, SkeletonGrid, type SkeletonGridProps, SkeletonText, type SkeletonTextProps, Slider, Snackbar, type SnackbarProps, Spinner, Stack, type StackProps, StatusText, type StatusTextProps, Stepper, type StepperProps, Switch, THEME_CATEGORY_ORDER, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Text, TextInput, type TextProps, Textarea, type ThemeMetadata$1 as ThemeMetadata, type ThemeSelection, ThemeToggle, type ThemeToggleProps, Toast, type ToastProps, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TriggerModal, type TriggerModalProps, Upload, type UploadProps, alertVariants, applyThemeSync, badgeVariants, buttonVariants, emptyMediaVariants, enableDebugMode, fieldVariants, getCurrentCSSVariables, getTheme, getThemeCategories, getThemeFilePath, getThemesForCategory, navigationMenuTriggerStyle, registerTheme, registerThemeFromFile, toggleVariants, useChart, useFormField, useSidebar, useTheme, useThemeToggle };
2642
+ export { Accordion, type AccordionItem, type AccordionProps, Alert, AlertDialog, type AlertDialogCancelProps, type AlertDialogConfirmProps, type AlertDialogProps, type AlertProps, AppShell, type AppShellProps, AspectRatio, type AspectRatioProps, AuthLayout, type AuthLayoutProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, Badge, type BadgeProps, BarChart, type BarChartProps, Breadcrumb, type BreadcrumbItem, type BreadcrumbProps, Button, type ButtonProps, Calendar, type CalendarProps, type CalendarSelectionMode, Card, type CardColor, type CardProps, type CardVariant, Carousel, type CarouselItem, type CarouselProps, Chart, type ChartProps, type ChartType, Checkbox, type CheckboxProps, CodeBlock, type CodeBlockProps, Collapsible, type CollapsibleProps, Command, type CommandItem, type CommandProps, ConfirmModal, type ConfirmModalCancelProps, type ConfirmModalConfirmProps, type ConfirmModalIntent, type ConfirmModalProps, ContextMenu, type ContextMenuProps, CopyButton, type CopyButtonProps, DatePicker, type DatePickerProps, type DatePreset, DateRangePicker, type DateRangePickerProps, type DescriptionItem, DescriptionList, type DescriptionListProps, Drawer, type DrawerPlacement, type DrawerProps, type DrawerSize, type DrawerVariant, Dropdown, type DropdownItem, type DropdownProps, EmptyState, type EmptyStateAction, type EmptyStateProps, ErrorBoundary, type ErrorBoundaryProps, FAB, type FABProps, FieldLayout, type FieldLayoutProps, type FieldSurfaceProps, FixedScreenWidget, type FixedScreenWidgetPosition, type FixedScreenWidgetProps, type FixedScreenWidgetSlideFrom, Form, FormField, type FormFieldProps, type FormFieldRenderProps, type FormFieldSchema, type FormFieldType, FormModal, type FormModalMode, type FormModalProps, type FormProps, type FormValues, Grid, type GridProps, type GridRootTag, HelperText, type HelperTextProps, Hero, type HeroActions, type HeroProps, HistoryControlButtons, type HistoryControlButtonsProps, HoverCard, type HoverCardProps, type HoverCardTriggerProps, Icon, type IconProps, Image, type ImageProps, InlineEdit, type InlineEditProps, InputGroup, InputGroupAddon, type InputGroupAddonProps, InputGroupButton, type InputGroupButtonProps, InputGroupInput, type InputGroupInputProps, type InputGroupProps, InputOTP, type InputOTPProps, Kbd, KbdGroup, type KbdGroupProps, type KbdProps, Label, type LabelProps, LineChart, type LineChartProps, Link, type LinkProps, List, type ListItem, type ListLayout, type ListProps, type ListSearchConfig, LoadingOverlay, type LoadingOverlayProps, Menubar, type MenubarMenu, type MenubarProps, Modal, type ModalProps, type ModalSize, type ModalTriggerProps, type NavItem, type NavMenuItem, Navbar, type NavbarProps, NavigationMenu, type NavigationMenuProps, Overlay, type OverlayPortalContainer, OverlayPortalScope, type OverlayProps, PageFooter, type PageFooterProps, PageHeader, type PageHeaderProps, Pagination, type PaginationProps, PhoneInput, type PhoneInputProps, type PhoneValue, PieChart, type PieChartProps, Pill, PillGroup, type PillGroupProps, type PillItem, type PillProps, Popover, type PopoverPlacement, type PopoverProps, type PopoverTriggerProps, Progress, type ProgressProps, Radio, RadioGroup, type RadioGroupItem, type RadioGroupProps, type RadioProps, Rating, type RatingPrecision, type RatingProps, ResizableHandle, type ResizableHandleProps, ResizablePanel, ResizablePanelGroup, ResizeContainer, type ResizeContainerProps, SearchInput, type SearchInputProps, Select, type SelectOption, type SelectProps, Separator, type SeparatorProps, Sidebar, type SidebarItem, type SidebarProps, Skeleton, type SkeletonProps, Slider, type SliderProps, type SortDirection, Spinner, type SpinnerProps, type SpinnerSize, SplitButton, type SplitButtonMenuItem, type SplitButtonProps, Stack, type StackProps, type StackRootTag, type StepItem, type StepStatus, Stepper, type StepperProps, type StringFieldValidateOpts, THEME_CATEGORY_ORDER, type TabItem, Table, type TableColumn, type TableColumnAlign, type TableProps, TableSkeleton, type TableSkeletonProps, Tabs, type TabsProps, Tag, type TagProps, type TagSurfaceVariant, Text, TextInput, type TextInputProps, type TextProps, Textarea, type TextareaProps, type ThemeMetadata$1 as ThemeMetadata, ThemePanel, type ThemePanelProps, type ThemePreset, type ThemeSelection, ThemeToggle, type ThemeToggleProps, TimePicker, type TimePickerProps, Toast, type ToastAction, type ToastProps, type ToastTone, type ToastVariant, Toaster, type ToasterPosition, type ToasterProps, Toggle, type ToggleProps, Tooltip, type TooltipPlacement, type TooltipProps, TooltipProvider, type TooltipProviderProps, type TreeAddRelation, type TreeItem, type TreeItemKind, type TreeMovePosition, TreeView, type TreeViewProps, TriggerModal, type TriggerModalProps, Upload, type UploadProps, Video, type VideoProps, VisuallyHidden, type VisuallyHiddenProps, addTreeNodeChild, addTreeNodeSibling, alertDialogVariants, alertVariants, applyPreset, applyThemeSync, pillSurfaceVariants as badgeVariants, buttonVariants, cardVariants, clearToasts, defaultListItemFilter, deleteTreeNode, descriptionListVariants, disabledControl, dismissToast, drawerVariants, emptyStateVariants, enableDebugMode, fieldSurfaceVariants, focusRing, focusRingDestructive, focusRingOffset, formatAspectRatioLabel, getCurrentCSSVariables, getPhoneDialCode, getStringFieldValidationError, getTheme, getThemeCategories, getThemeFilePath, getThemesForCategory, gridSpacingVariants as gridVariants, heroVariants, iconVariants, linkVariants, modalSurfaceVariants, moveTreeNode, navbarVariants, overlayVariants, pageFooterVariants, pageHeaderVariants, peerFocusRing, pillSurfaceVariants as pillVariants, ratingVariants, registerTheme, registerThemeFromFile, ringOffsetBackground, sidebarVariants, stackVariants, textVariants, toast, toastVariants, toggleThumbVariants, toggleVariants, tooltipArrowVariants, tooltipContentVariants, useFormContext, useTheme, useThemeToggle };