@umami/react-zen 0.254.0 → 1.0.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.ts CHANGED
@@ -1,583 +1,77 @@
1
+ import * as React$1 from 'react';
2
+ import { ReactNode, ReactElement, HTMLAttributes, CSSProperties, ComponentProps, InputHTMLAttributes, TextareaHTMLAttributes, ChangeEvent, RefObject } from 'react';
3
+ import { Autocomplete as Autocomplete$1 } from '@base-ui/react/autocomplete';
1
4
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { Accordion as Accordion$1 } from '@base-ui/react/accordion';
3
- import * as react from 'react';
4
- import { ReactNode, HTMLAttributes, ReactElement, CSSProperties, LiHTMLAttributes, ComponentProps, MouseEvent, Key, TableHTMLAttributes, TdHTMLAttributes, ThHTMLAttributes, ButtonHTMLAttributes, FieldsetHTMLAttributes, InputHTMLAttributes, TextareaHTMLAttributes, LabelHTMLAttributes, RefObject } from 'react';
5
- import * as tailwind_variants from 'tailwind-variants';
6
- import { VariantProps } from 'tailwind-variants';
5
+ import { CheckboxGroup as CheckboxGroup$1 } from '@base-ui/react/checkbox-group';
7
6
  import { AlertDialog as AlertDialog$1 } from '@base-ui/react/alert-dialog';
8
- import { Autocomplete as Autocomplete$1 } from '@base-ui/react/autocomplete';
7
+ import { VariantProps } from 'class-variance-authority';
8
+ import * as class_variance_authority_types from 'class-variance-authority/types';
9
+ import { Button as Button$1 } from '@base-ui/react/button';
10
+ import { DayPicker, DayButton, Locale } from 'react-day-picker';
11
+ import { UseFormProps, SubmitHandler, UseFormReturn, ControllerProps, ControllerRenderProps, FieldValues, ControllerFieldState, UseFormStateReturn, RegisterOptions, UseFieldArrayReturn } from 'react-hook-form';
12
+ import * as zustand from 'zustand';
13
+ import { Meter as Meter$1 } from '@base-ui/react/meter';
14
+ import { NavigationMenu } from '@base-ui/react/navigation-menu';
15
+ import { NumberField as NumberField$1 } from '@base-ui/react/number-field';
16
+ import { ProgressRoot, Progress as Progress$1 } from '@base-ui/react/progress';
17
+ import { useRender } from '@base-ui/react/use-render';
18
+ export { useRender } from '@base-ui/react/use-render';
19
+ import { Toolbar as Toolbar$1 } from '@base-ui/react/toolbar';
20
+ import { Accordion as Accordion$1 } from '@base-ui/react/accordion';
9
21
  import { Avatar as Avatar$1 } from '@base-ui/react/avatar';
10
- import { ButtonProps as ButtonProps$1 } from '@base-ui/react/button';
11
22
  import { Separator as Separator$1 } from '@base-ui/react/separator';
12
- import { DayPicker, DateRange, DayButton } from 'react-day-picker';
13
- import useEmblaCarousel from 'embla-carousel-react';
14
- import { CheckboxRoot } from '@base-ui/react/checkbox';
15
- import { CheckboxGroup as CheckboxGroup$1 } from '@base-ui/react/checkbox-group';
23
+ import useEmblaCarousel, { UseEmblaCarouselType } from 'embla-carousel-react';
24
+ import { Checkbox as Checkbox$1 } from '@base-ui/react/checkbox';
16
25
  import { Collapsible as Collapsible$1 } from '@base-ui/react/collapsible';
17
- import { Combobox } from '@base-ui/react/combobox';
18
- import { Select as Select$1 } from '@base-ui/react/select';
26
+ import { Combobox as Combobox$1 } from '@base-ui/react';
19
27
  import { Command as Command$1 } from 'cmdk';
28
+ import { Dialog as Dialog$1 } from '@base-ui/react/dialog';
20
29
  import { ContextMenu as ContextMenu$1 } from '@base-ui/react/context-menu';
21
- import { Menu as Menu$1 } from '@base-ui/react/menu';
22
30
  import { Drawer as Drawer$1 } from '@base-ui/react/drawer';
23
- import { Field as Field$1 } from '@base-ui/react/field';
24
- import { Tooltip as Tooltip$1 } from '@base-ui/react/tooltip';
25
- import { UseFormProps, SubmitHandler, UseFormReturn, ControllerProps, ControllerRenderProps, FieldValues, ControllerFieldState, UseFormStateReturn, RegisterOptions } from 'react-hook-form';
26
- import * as zustand from 'zustand';
31
+ import { Menu } from '@base-ui/react/menu';
32
+ import { PreviewCard } from '@base-ui/react/preview-card';
33
+ import { OTPInput } from 'input-otp';
27
34
  import { Menubar as Menubar$1 } from '@base-ui/react/menubar';
28
- import { Meter as Meter$1 } from '@base-ui/react/meter';
29
- import { Dialog as Dialog$1 } from '@base-ui/react/dialog';
30
- import { NavigationMenu } from '@base-ui/react/navigation-menu';
31
- import { NumberField as NumberField$1 } from '@base-ui/react/number-field';
32
- import { OTPField as OTPField$1 } from '@base-ui/react/otp-field';
33
35
  import { Popover as Popover$1 } from '@base-ui/react/popover';
34
- import { PreviewCard as PreviewCard$1 } from '@base-ui/react/preview-card';
35
- import { ProgressRoot, Progress } from '@base-ui/react/progress';
36
- import { RadioRoot } from '@base-ui/react/radio';
37
- import { RadioGroupProps as RadioGroupProps$1 } from '@base-ui/react/radio-group';
38
- import { SeparatorProps as SeparatorProps$1, PanelProps, GroupProps } from 'react-resizable-panels';
36
+ import { Radio } from '@base-ui/react/radio';
37
+ import { RadioGroup as RadioGroup$1 } from '@base-ui/react/radio-group';
38
+ import * as ResizablePrimitive from 'react-resizable-panels';
39
39
  import { ScrollArea as ScrollArea$1 } from '@base-ui/react/scroll-area';
40
+ import { Select as Select$1 } from '@base-ui/react/select';
41
+ import { Tooltip as Tooltip$1 } from '@base-ui/react/tooltip';
40
42
  import { Slider as Slider$1 } from '@base-ui/react/slider';
41
43
  import { Switch as Switch$1 } from '@base-ui/react/switch';
42
44
  import { Tabs as Tabs$1 } from '@base-ui/react/tabs';
43
- import { ToggleProps as ToggleProps$1 } from '@base-ui/react/toggle';
44
- import { ToggleGroupProps as ToggleGroupProps$1 } from '@base-ui/react/toggle-group';
45
- import { Toolbar as Toolbar$1 } from '@base-ui/react/toolbar';
45
+ import { Toggle as Toggle$1 } from '@base-ui/react/toggle';
46
+ import { ToggleGroup as ToggleGroup$1 } from '@base-ui/react/toggle-group';
46
47
  export { cn } from 'cn';
47
48
  export { mergeProps } from '@base-ui/react/merge-props';
48
- export { useRender } from '@base-ui/react/use-render';
49
-
50
- interface AccordionProps extends Omit<Accordion$1.Root.Props<string>, 'value' | 'defaultValue' | 'multiple' | 'onValueChange'> {
51
- type?: 'single' | 'multiple';
52
- className?: string;
53
- children?: ReactNode;
54
- allowsMultipleExpanded?: boolean;
55
- expandedKeys?: Iterable<string>;
56
- defaultExpandedKeys?: Iterable<string>;
57
- onExpandedChange?: (keys: Set<string>) => void;
58
- }
59
- interface AccordionItemProps extends Omit<Accordion$1.Item.Props, 'value' | 'disabled'> {
60
- id?: string;
61
- value?: string;
62
- isDisabled?: boolean;
63
- }
64
- declare function Accordion({ className, children, type, allowsMultipleExpanded, expandedKeys, defaultExpandedKeys, onExpandedChange, ...props }: AccordionProps): react_jsx_runtime.JSX.Element;
65
- interface AccordionTriggerProps extends Accordion$1.Trigger.Props {
66
- children?: ReactNode;
67
- }
68
- /** Renders an accordion header + trigger with a chevron affordance. */
69
- declare function AccordionTrigger({ className, children, ...props }: AccordionTriggerProps): react_jsx_runtime.JSX.Element;
70
- interface AccordionPanelProps extends Accordion$1.Panel.Props {
71
- children?: ReactNode;
72
- }
73
- declare function AccordionPanel({ className, children, ...props }: AccordionPanelProps): react_jsx_runtime.JSX.Element;
74
- /** Alias of `AccordionPanel` matching the shadcn naming. */
75
- declare const AccordionContent: typeof AccordionPanel;
76
- declare function AccordionItem({ id, value, isDisabled, className, children, ...props }: AccordionItemProps): react_jsx_runtime.JSX.Element;
77
-
78
- declare const button: tailwind_variants.TVReturnType<{
79
- variant: {
80
- default: string[];
81
- primary: string[];
82
- outline: string[];
83
- quiet: string[];
84
- danger: string[];
85
- link: string[];
86
- zero: string[];
87
- };
88
- size: {
89
- xs: string;
90
- sm: string;
91
- md: string;
92
- lg: string;
93
- xl: string;
94
- icon: string;
95
- 'icon-xs': string;
96
- 'icon-sm': string;
97
- 'icon-lg': string;
98
- };
99
- }, undefined, string[], {
100
- variant: {
101
- default: string[];
102
- primary: string[];
103
- outline: string[];
104
- quiet: string[];
105
- danger: string[];
106
- link: string[];
107
- zero: string[];
108
- };
109
- size: {
110
- xs: string;
111
- sm: string;
112
- md: string;
113
- lg: string;
114
- xl: string;
115
- icon: string;
116
- 'icon-xs': string;
117
- 'icon-sm': string;
118
- 'icon-lg': string;
119
- };
120
- }, undefined, tailwind_variants.TVReturnType<{
121
- variant: {
122
- default: string[];
123
- primary: string[];
124
- outline: string[];
125
- quiet: string[];
126
- danger: string[];
127
- link: string[];
128
- zero: string[];
129
- };
130
- size: {
131
- xs: string;
132
- sm: string;
133
- md: string;
134
- lg: string;
135
- xl: string;
136
- icon: string;
137
- 'icon-xs': string;
138
- 'icon-sm': string;
139
- 'icon-lg': string;
140
- };
141
- }, undefined, string[], unknown, unknown, undefined>>;
142
- type ButtonVariants = VariantProps<typeof button>;
143
- declare const inputField: tailwind_variants.TVReturnType<{
144
- variant: {
145
- default: string;
146
- quiet: string;
147
- };
148
- }, undefined, string[], {
149
- variant: {
150
- default: string;
151
- quiet: string;
152
- };
153
- }, undefined, tailwind_variants.TVReturnType<{
154
- variant: {
155
- default: string;
156
- quiet: string;
157
- };
158
- }, undefined, string[], unknown, unknown, undefined>>;
159
- type InputFieldVariants = VariantProps<typeof inputField>;
160
- declare const alert: tailwind_variants.TVReturnType<{
161
- variant: {
162
- default: string;
163
- danger: string[];
164
- };
165
- }, undefined, string[], {
166
- variant: {
167
- default: string;
168
- danger: string[];
169
- };
170
- }, undefined, tailwind_variants.TVReturnType<{
171
- variant: {
172
- default: string;
173
- danger: string[];
174
- };
175
- }, undefined, string[], unknown, unknown, undefined>>;
176
- type AlertVariants = VariantProps<typeof alert>;
177
- declare const emptyMedia: tailwind_variants.TVReturnType<{
178
- variant: {
179
- default: string;
180
- icon: string;
181
- };
182
- }, undefined, "flex shrink-0 items-center justify-center mb-2 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-6", {
183
- variant: {
184
- default: string;
185
- icon: string;
186
- };
187
- }, undefined, tailwind_variants.TVReturnType<{
188
- variant: {
189
- default: string;
190
- icon: string;
191
- };
192
- }, undefined, "flex shrink-0 items-center justify-center mb-2 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-6", unknown, unknown, undefined>>;
193
- type EmptyMediaVariants = VariantProps<typeof emptyMedia>;
194
- declare const badge: tailwind_variants.TVReturnType<{
195
- variant: {
196
- default: string;
197
- primary: string;
198
- outline: string;
199
- success: string;
200
- warning: string;
201
- error: string;
202
- info: string;
203
- slate: string;
204
- gray: string;
205
- zinc: string;
206
- neutral: string;
207
- stone: string;
208
- red: string;
209
- orange: string;
210
- amber: string;
211
- yellow: string;
212
- lime: string;
213
- green: string;
214
- emerald: string;
215
- teal: string;
216
- cyan: string;
217
- sky: string;
218
- blue: string;
219
- indigo: string;
220
- violet: string;
221
- purple: string;
222
- fuchsia: string;
223
- pink: string;
224
- rose: string;
225
- };
226
- size: {
227
- sm: string;
228
- md: string;
229
- };
230
- }, undefined, string[], {
231
- variant: {
232
- default: string;
233
- primary: string;
234
- outline: string;
235
- success: string;
236
- warning: string;
237
- error: string;
238
- info: string;
239
- slate: string;
240
- gray: string;
241
- zinc: string;
242
- neutral: string;
243
- stone: string;
244
- red: string;
245
- orange: string;
246
- amber: string;
247
- yellow: string;
248
- lime: string;
249
- green: string;
250
- emerald: string;
251
- teal: string;
252
- cyan: string;
253
- sky: string;
254
- blue: string;
255
- indigo: string;
256
- violet: string;
257
- purple: string;
258
- fuchsia: string;
259
- pink: string;
260
- rose: string;
261
- };
262
- size: {
263
- sm: string;
264
- md: string;
265
- };
266
- }, undefined, tailwind_variants.TVReturnType<{
267
- variant: {
268
- default: string;
269
- primary: string;
270
- outline: string;
271
- success: string;
272
- warning: string;
273
- error: string;
274
- info: string;
275
- slate: string;
276
- gray: string;
277
- zinc: string;
278
- neutral: string;
279
- stone: string;
280
- red: string;
281
- orange: string;
282
- amber: string;
283
- yellow: string;
284
- lime: string;
285
- green: string;
286
- emerald: string;
287
- teal: string;
288
- cyan: string;
289
- sky: string;
290
- blue: string;
291
- indigo: string;
292
- violet: string;
293
- purple: string;
294
- fuchsia: string;
295
- pink: string;
296
- rose: string;
297
- };
298
- size: {
299
- sm: string;
300
- md: string;
301
- };
302
- }, undefined, string[], unknown, unknown, undefined>>;
303
- type BadgeVariants = VariantProps<typeof badge>;
304
- declare const avatar: tailwind_variants.TVReturnType<{
305
- size: {
306
- xs: {
307
- root: string;
308
- fallback: string;
309
- };
310
- sm: {
311
- root: string;
312
- fallback: string;
313
- };
314
- md: {
315
- root: string;
316
- fallback: string;
317
- };
318
- lg: {
319
- root: string;
320
- fallback: string;
321
- };
322
- xl: {
323
- root: string;
324
- fallback: string;
325
- };
326
- };
327
- }, {
328
- root: string[];
329
- image: string;
330
- fallback: string[];
331
- }, undefined, {
332
- size: {
333
- xs: {
334
- root: string;
335
- fallback: string;
336
- };
337
- sm: {
338
- root: string;
339
- fallback: string;
340
- };
341
- md: {
342
- root: string;
343
- fallback: string;
344
- };
345
- lg: {
346
- root: string;
347
- fallback: string;
348
- };
349
- xl: {
350
- root: string;
351
- fallback: string;
352
- };
353
- };
354
- }, {
355
- root: string[];
356
- image: string;
357
- fallback: string[];
358
- }, tailwind_variants.TVReturnType<{
359
- size: {
360
- xs: {
361
- root: string;
362
- fallback: string;
363
- };
364
- sm: {
365
- root: string;
366
- fallback: string;
367
- };
368
- md: {
369
- root: string;
370
- fallback: string;
371
- };
372
- lg: {
373
- root: string;
374
- fallback: string;
375
- };
376
- xl: {
377
- root: string;
378
- fallback: string;
379
- };
380
- };
381
- }, {
382
- root: string[];
383
- image: string;
384
- fallback: string[];
385
- }, undefined, unknown, unknown, undefined>>;
386
- type AvatarVariants = VariantProps<typeof avatar>;
387
- declare const tag: tailwind_variants.TVReturnType<{
388
- variant: {
389
- default: {
390
- base: string;
391
- };
392
- outline: {
393
- base: string;
394
- };
395
- primary: {
396
- base: string;
397
- };
398
- };
399
- }, {
400
- base: string[];
401
- removeButton: string[];
402
- }, undefined, {
403
- variant: {
404
- default: {
405
- base: string;
406
- };
407
- outline: {
408
- base: string;
409
- };
410
- primary: {
411
- base: string;
412
- };
413
- };
414
- }, {
415
- base: string[];
416
- removeButton: string[];
417
- }, tailwind_variants.TVReturnType<{
418
- variant: {
419
- default: {
420
- base: string;
421
- };
422
- outline: {
423
- base: string;
424
- };
425
- primary: {
426
- base: string;
427
- };
428
- };
429
- }, {
430
- base: string[];
431
- removeButton: string[];
432
- }, undefined, unknown, unknown, undefined>>;
433
- type TagVariants = VariantProps<typeof tag>;
434
-
435
- interface AlertProps extends HTMLAttributes<HTMLDivElement>, AlertVariants {
436
- }
437
- declare const Alert: react.ForwardRefExoticComponent<AlertProps & react.RefAttributes<HTMLDivElement>>;
438
- declare const AlertTitle: react.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & react.RefAttributes<HTMLDivElement>>;
439
- declare const AlertDescription: react.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & react.RefAttributes<HTMLDivElement>>;
440
-
441
- interface DialogRenderProps {
442
- close: () => void;
443
- }
444
- interface DialogProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title' | 'children'> {
445
- children?: ReactNode | ((props: DialogRenderProps) => ReactNode);
446
- title?: ReactNode;
447
- description?: ReactNode;
448
- }
449
- declare function Dialog({ title, description, children, className, ...props }: DialogProps): react_jsx_runtime.JSX.Element;
450
-
451
- interface AlertDialogProps extends DialogProps {
452
- title?: ReactNode;
453
- description?: ReactNode;
454
- isDanger?: boolean;
455
- isConfirmDisabled?: boolean;
456
- confirmLabel?: ReactNode;
457
- cancelLabel?: ReactNode;
458
- /** Called on confirm. When it returns a promise the dialog stays open until it resolves. */
459
- onConfirm?: () => unknown;
460
- onCancel?: () => void;
461
- }
462
- declare function AlertDialog({ title, description, isDanger, isConfirmDisabled, confirmLabel, cancelLabel, onConfirm, onCancel, className, children, ...props }: AlertDialogProps): react_jsx_runtime.JSX.Element;
463
- /** Explicit, shadcn-style parts. */
464
- interface AlertDialogTitleProps extends AlertDialog$1.Title.Props {
465
- }
466
- declare function AlertDialogTitle({ className, ...props }: AlertDialogTitleProps): react_jsx_runtime.JSX.Element;
467
- interface AlertDialogDescriptionProps extends AlertDialog$1.Description.Props {
468
- }
469
- declare function AlertDialogDescription({ className, ...props }: AlertDialogDescriptionProps): react_jsx_runtime.JSX.Element;
470
- interface AlertDialogCancelProps extends AlertDialog$1.Close.Props {
471
- }
472
- declare function AlertDialogCancel({ render, ...props }: AlertDialogCancelProps): react_jsx_runtime.JSX.Element;
473
- interface AlertDialogActionProps extends AlertDialog$1.Close.Props {
474
- }
475
- declare function AlertDialogAction({ render, ...props }: AlertDialogActionProps): react_jsx_runtime.JSX.Element;
476
-
477
- interface AspectRatioProps extends HTMLAttributes<HTMLDivElement> {
478
- ratio?: number;
479
- }
480
- declare function AspectRatio({ ratio, className, style, children, ...props }: AspectRatioProps): react_jsx_runtime.JSX.Element;
481
-
482
- interface AutocompleteProps extends Omit<Autocomplete$1.Root.Props<string>, 'children' | 'items' | 'inline'> {
483
- items: readonly string[];
484
- label?: ReactNode;
485
- placeholder?: string;
486
- /** Compat alias for the Base UI `disabled` prop. */
487
- isDisabled?: boolean;
488
- /**
489
- * Called with the new input value after Base UI's own `onValueChange` handler runs,
490
- * and only when the change was not canceled. Use `onValueChange` instead when you
491
- * need the raw Base UI event details (including canceled changes).
492
- */
493
- onChange?: (value: string) => void;
494
- /** Shows a clear button (`Autocomplete.Clear`) while the input has a value. */
495
- showClear?: boolean;
496
- className?: string;
497
- inputProps?: Autocomplete$1.Input.Props;
498
- positionerProps?: Autocomplete$1.Positioner.Props;
499
- renderItem?: (item: string) => ReactNode;
500
- emptyMessage?: ReactNode;
501
- }
502
- declare const Autocomplete: react.ForwardRefExoticComponent<AutocompleteProps & react.RefAttributes<HTMLInputElement>>;
503
-
504
- interface AvatarProps extends Avatar$1.Root.Props {
505
- src?: string;
506
- alt?: string;
507
- fallback?: ReactNode;
508
- size?: AvatarVariants['size'];
509
- }
510
- declare function Avatar({ src, alt, fallback, size, className, children, ...props }: AvatarProps): react_jsx_runtime.JSX.Element;
511
- interface AvatarImageProps extends Avatar$1.Image.Props {
512
- }
513
- declare function AvatarImage({ className, ...props }: AvatarImageProps): react_jsx_runtime.JSX.Element;
514
- interface AvatarFallbackProps extends Avatar$1.Fallback.Props {
515
- }
516
- declare function AvatarFallback({ className, ...props }: AvatarFallbackProps): react_jsx_runtime.JSX.Element;
517
- interface AvatarGroupProps extends HTMLAttributes<HTMLDivElement> {
518
- }
519
- /** Overlapping stack of `Avatar`s. */
520
- declare function AvatarGroup({ className, ...props }: AvatarGroupProps): react_jsx_runtime.JSX.Element;
521
-
522
- /**
523
- * A Base UI compatible `render` prop.
524
- *
525
- * Either a React element that the component composes with, or a function that
526
- * receives the resolved props and the component state and returns an element.
527
- */
528
- type RenderProp<P = Record<string, unknown>, S = Record<string, unknown>> = ReactElement | ((props: P, state: S) => ReactElement);
529
- /**
530
- * Resolves a render prop to a React element.
531
- *
532
- * Prop merging is delegated to Base UI's `mergeProps` so that event handlers are
533
- * chained, `style` objects are merged and `className` strings are joined instead
534
- * of the render element blindly overwriting the component's own props.
535
- *
536
- * @param render - Either a React element or a function that returns one
537
- * @param props - Props to merge/pass to the render prop
538
- * @param defaultElement - Fallback element if render is not provided
539
- * @returns The resolved React element
540
- *
541
- * @example
542
- * // Element form - props are merged onto the element
543
- * <Button render={<a href="/foo" />}>Click</Button>
544
- *
545
- * // Function form - you control prop spreading
546
- * <Button render={(props) => <a {...props} href="/foo">Click</a>} />
547
- */
548
- declare function resolveRender<P extends Record<string, unknown>, S = Record<string, unknown>>(render: RenderProp<P, S> | undefined, props: P, defaultElement: ReactElement, state?: S): ReactElement;
549
-
550
- interface BadgeRenderProps {
551
- className: string;
552
- children?: ReactNode;
553
- [key: string]: unknown;
554
- }
555
- interface BadgeProps extends HTMLAttributes<HTMLSpanElement> {
556
- variant?: BadgeVariants['variant'];
557
- size?: BadgeVariants['size'];
558
- /** Replace the rendered element, e.g. `render={<a href="/x" />}`. */
559
- render?: RenderProp<BadgeRenderProps>;
560
- }
561
- declare function Badge({ variant, size, render, className, children, ...props }: BadgeProps): react.ReactElement<unknown, string | react.JSXElementConstructor<any>>;
562
49
 
50
+ type Primitive = string | number | boolean | bigint | symbol | null | undefined;
563
51
  declare const Breakpoints: readonly ["base", "sm", "md", "lg", "xl", "2xl"];
564
52
  type Breakpoint$1 = (typeof Breakpoints)[number];
565
53
  type Responsive$1<T> = T | Partial<Record<Breakpoint$1, T>>;
566
54
  type ColorName = 'gray' | 'slate' | 'zinc' | 'neutral' | 'stone' | 'red' | 'orange' | 'amber' | 'yellow' | 'lime' | 'green' | 'emerald' | 'teal' | 'cyan' | 'sky' | 'blue' | 'indigo' | 'violet' | 'purple' | 'fuchsia' | 'pink' | 'rose';
567
55
  type ColorShade = '50' | '100' | '200' | '300' | '400' | '500' | '600' | '700' | '800' | '900' | '950';
568
56
  type TailwindColor = `${ColorName}-${ColorShade}`;
569
- type SemanticColor = 'primary' | 'secondary' | 'muted' | 'strong' | 'inverted' | 'disabled' | 'transparent';
570
- type SurfaceColor = 'surface' | 'surface-raised' | 'surface-sunken' | 'surface-overlay' | 'surface-inverted' | 'surface-disabled';
571
- type InteractiveColor = 'interactive' | 'interactive-hover' | 'interactive-pressed';
572
- type FontColor = SemanticColor | ColorName | TailwindColor | true;
573
- type BackgroundColor = SemanticColor | SurfaceColor | InteractiveColor | ColorName | TailwindColor | true;
574
- type BorderColor = SemanticColor | ColorName | TailwindColor | true;
57
+ type StatusColorToken = 'destructive' | 'success' | 'warning' | 'info';
58
+ type TextColorToken = 'foreground' | 'muted-foreground' | 'primary' | 'primary-foreground' | 'secondary-foreground' | 'accent-foreground' | 'background' | 'card-foreground' | 'popover-foreground' | StatusColorToken;
59
+ type BackgroundColorToken = 'background' | 'card' | 'popover' | 'primary' | 'secondary' | 'muted' | 'accent' | 'foreground' | 'sidebar' | StatusColorToken;
60
+ type BorderColorToken = 'border' | 'input' | 'ring' | 'primary' | StatusColorToken;
61
+ type PaletteColor = ColorName | TailwindColor | 'transparent';
62
+ type FontColor = TextColorToken | PaletteColor | true;
63
+ type BackgroundColor = BackgroundColorToken | PaletteColor | true;
64
+ type BorderColor = BorderColorToken | PaletteColor | true;
575
65
  type StrokeColor = FontColor;
576
66
  type FillColor = FontColor;
577
67
  type Spacing = '0' | 'px' | '0.5' | '1' | '1.5' | '2' | '2.5' | '3' | '3.5' | '4' | '5' | '6' | '7' | '8' | '9' | '10' | '11' | '12' | '14' | '16' | '20' | '24' | '28' | '32' | '36' | '40' | '44' | '48' | '52' | '56' | '60' | '64' | '72' | '80' | '96';
578
68
  type NegativeSpacing = '-px' | '-0.5' | '-1' | '-1.5' | '-2' | '-2.5' | '-3' | '-3.5' | '-4' | '-5' | '-6' | '-7' | '-8' | '-9' | '-10' | '-11' | '-12' | '-14' | '-16' | '-20' | '-24';
579
69
  type Padding = Spacing | true;
580
70
  type Margin = Spacing | NegativeSpacing | 'auto';
71
+ type Top = Spacing | NegativeSpacing | string;
72
+ type Right = Spacing | NegativeSpacing | string;
73
+ type Bottom = Spacing | NegativeSpacing | string;
74
+ type Left = Spacing | NegativeSpacing | string;
581
75
  type Gap = Spacing | true;
582
76
  type Position = 'static' | 'relative' | 'absolute' | 'fixed' | 'sticky';
583
77
  type Overflow = 'visible' | 'hidden' | 'clip' | 'scroll' | 'auto';
@@ -609,6 +103,8 @@ type GridDisplay = 'none' | 'grid' | 'inline-grid';
609
103
  type GridAutoFlow = 'row' | 'column' | 'dense' | 'row-dense' | 'column-dense';
610
104
  type GridColumns = '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | '10' | '11' | '12' | 'none' | 'subgrid';
611
105
  type GridRows = '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | '10' | '11' | '12' | 'none' | 'subgrid';
106
+ type GridTemplateRows = string;
107
+ type GridTemplateColumns = string;
612
108
  type GridTemplateAreas = string;
613
109
  type JustifyContent = 'center' | 'start' | 'end' | 'flex-start' | 'flex-end' | 'left' | 'right' | 'space-between' | 'space-around' | 'space-evenly' | 'stretch';
614
110
  type JustifyItems = 'stretch' | 'center' | 'start' | 'end' | 'flex-start' | 'flex-end' | 'self-start' | 'self-end' | 'left' | 'right' | 'baseline';
@@ -637,6 +133,48 @@ interface StateStyles {
637
133
  opacity?: Opacity;
638
134
  }
639
135
 
136
+ interface AutocompleteProps extends Omit<Autocomplete$1.Root.Props<string>, 'children' | 'items' | 'inline'> {
137
+ items: readonly string[];
138
+ label?: ReactNode;
139
+ placeholder?: string;
140
+ /** Shows a clear button while the input has a value. */
141
+ showClear?: boolean;
142
+ className?: string;
143
+ inputProps?: Autocomplete$1.Input.Props;
144
+ positionerProps?: Autocomplete$1.Positioner.Props;
145
+ renderItem?: (item: string) => ReactNode;
146
+ emptyMessage?: ReactNode;
147
+ }
148
+ declare const Autocomplete: React$1.ForwardRefExoticComponent<AutocompleteProps & React$1.RefAttributes<HTMLInputElement>>;
149
+
150
+ /**
151
+ * A Base UI compatible `render` prop.
152
+ *
153
+ * Either a React element that the component composes with, or a function that
154
+ * receives the resolved props and the component state and returns an element.
155
+ */
156
+ type RenderProp<P = Record<string, unknown>, S = Record<string, unknown>> = ReactElement | ((props: P, state: S) => ReactElement);
157
+ /**
158
+ * Resolves a render prop to a React element.
159
+ *
160
+ * Prop merging is delegated to Base UI's `mergeProps` so that event handlers are
161
+ * chained, `style` objects are merged and `className` strings are joined instead
162
+ * of the render element blindly overwriting the component's own props.
163
+ *
164
+ * @param render - Either a React element or a function that returns one
165
+ * @param props - Props to merge/pass to the render prop
166
+ * @param defaultElement - Fallback element if render is not provided
167
+ * @returns The resolved React element
168
+ *
169
+ * @example
170
+ * // Element form - props are merged onto the element
171
+ * <Button render={<a href="/foo" />}>Click</Button>
172
+ *
173
+ * // Function form - you control prop spreading
174
+ * <Button render={(props) => <a {...props} href="/foo">Click</a>} />
175
+ */
176
+ declare function resolveRender<P extends Record<string, unknown>, S = Record<string, unknown>>(render: RenderProp<P, S> | undefined, props: P, defaultElement: ReactElement, state?: S): ReactElement;
177
+
640
178
  interface TextProps extends Omit<HTMLAttributes<HTMLElement>, 'color'> {
641
179
  color?: FontColor;
642
180
  size?: Responsive$1<FontSize>;
@@ -664,7 +202,7 @@ interface TextRenderProps {
664
202
  children?: ReactNode;
665
203
  [key: string]: unknown;
666
204
  }
667
- declare function Text({ color, size, weight, align, spacing, lineHeight, wrap, whitespace, wordBreak, transform, indent, verticalAlign, truncate, italic, underline, strikethrough, decorationStyle, decorationColor, as, render, className, children, ...props }: TextProps): react.ReactElement<unknown, string | react.JSXElementConstructor<any>>;
205
+ declare function Text({ color, size, weight, align, spacing, lineHeight, wrap, whitespace, wordBreak, transform, indent, verticalAlign, truncate, italic, underline, strikethrough, decorationStyle, decorationColor, as, render, className, children, ...props }: TextProps): React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>>;
668
206
 
669
207
  interface BlockquoteProps extends Omit<TextProps, 'as'> {
670
208
  children?: ReactNode;
@@ -729,7 +267,8 @@ interface BoxProps extends Omit<HTMLAttributes<HTMLElement>, 'color'> {
729
267
  gridColumn?: string;
730
268
  order?: number;
731
269
  zIndex?: number;
732
- theme?: string;
270
+ /** Scopes dark-mode tokens to this subtree (adds the `dark` class). */
271
+ theme?: 'dark';
733
272
  hover?: StateStyles;
734
273
  focus?: StateStyles;
735
274
  active?: StateStyles;
@@ -742,226 +281,21 @@ interface BoxRenderProps {
742
281
  children?: ReactNode;
743
282
  [key: string]: unknown;
744
283
  }
745
- declare const Box: react.ForwardRefExoticComponent<BoxProps & react.RefAttributes<HTMLElement>>;
746
-
747
- interface BreadcrumbListProps extends HTMLAttributes<HTMLOListElement> {
748
- }
749
- declare function BreadcrumbList({ className, ...props }: BreadcrumbListProps): react_jsx_runtime.JSX.Element;
750
- interface BreadcrumbItemProps extends LiHTMLAttributes<HTMLLIElement> {
751
- }
752
- declare function BreadcrumbItem({ className, ...props }: BreadcrumbItemProps): react_jsx_runtime.JSX.Element;
753
- interface BreadcrumbLinkRenderProps {
754
- className: string;
755
- children?: ReactNode;
756
- [key: string]: unknown;
757
- }
758
- interface BreadcrumbLinkProps extends ComponentProps<'a'> {
759
- render?: RenderProp<BreadcrumbLinkRenderProps>;
760
- }
761
- declare function BreadcrumbLink({ className, render, children, ...props }: BreadcrumbLinkProps): react.ReactElement<unknown, string | react.JSXElementConstructor<any>>;
762
- interface BreadcrumbPageProps extends HTMLAttributes<HTMLSpanElement> {
763
- }
764
- declare function BreadcrumbPage({ className, ...props }: BreadcrumbPageProps): react_jsx_runtime.JSX.Element;
765
- interface BreadcrumbSeparatorProps extends LiHTMLAttributes<HTMLLIElement> {
766
- }
767
- declare function BreadcrumbSeparator({ children, className, ...props }: BreadcrumbSeparatorProps): react_jsx_runtime.JSX.Element;
768
- interface BreadcrumbEllipsisProps extends HTMLAttributes<HTMLSpanElement> {
769
- }
770
- declare function BreadcrumbEllipsis({ className, ...props }: BreadcrumbEllipsisProps): react_jsx_runtime.JSX.Element;
771
- interface BreadcrumbsProps extends Omit<HTMLAttributes<HTMLElement>, 'children'> {
772
- isDisabled?: boolean;
773
- children?: ReactNode;
774
- /** Content rendered between items. Defaults to a chevron. */
775
- separator?: ReactNode;
776
- }
777
- interface BreadcrumbProps extends LiHTMLAttributes<HTMLLIElement> {
778
- isDisabled?: boolean;
779
- }
780
- /**
781
- * Convenience wrapper that renders a `<nav>` + `BreadcrumbList` and inserts a
782
- * `BreadcrumbSeparator` between each child instead of inside of them.
783
- */
784
- declare function Breadcrumbs({ children, className, isDisabled, separator, ...props }: BreadcrumbsProps): react_jsx_runtime.JSX.Element;
785
- declare function Breadcrumb({ children, className, isDisabled, ...props }: BreadcrumbProps): react_jsx_runtime.JSX.Element;
786
-
787
- interface ButtonProps extends Omit<ButtonProps$1, 'className' | 'render'>, ButtonVariants {
788
- /**
789
- * Replace the rendered element. Accepts a React element to compose with, or a
790
- * function `(props, state) => ReactElement` following the Base UI contract.
791
- */
792
- render?: RenderProp<ButtonRenderProps, ButtonRenderState>;
793
- /** Render as a link. Ignored when a custom `render` is supplied. */
794
- href?: string;
795
- target?: string;
796
- rel?: string;
797
- children?: ReactNode;
798
- className?: string;
799
- isDisabled?: boolean;
800
- onPress?: (event: MouseEvent<HTMLElement>) => void;
801
- /**
802
- * When `true`, the button does not receive focus when pressed with a pointer
803
- * (the `mousedown` default is prevented).
804
- *
805
- * Defaults to `false` to match native/shadcn behavior — buttons are focused on
806
- * press. Opt in when the button opens an overlay that manages focus itself.
807
- *
808
- * @default false
809
- */
810
- preventFocusOnPress?: boolean;
811
- }
812
- interface ButtonRenderProps {
813
- className: string;
814
- children: ReactNode;
815
- [key: string]: unknown;
816
- }
817
- interface ButtonRenderState {
818
- disabled: boolean;
819
- [key: string]: unknown;
820
- }
821
- declare function Button({ variant, size, render: renderProp, href, target, rel, preventFocusOnPress, nativeButton, isDisabled, disabled, onPress, onClick, onMouseDown, className, children, ...props }: ButtonProps): react_jsx_runtime.JSX.Element;
822
-
823
- interface SeparatorProps extends Separator$1.Props {
824
- orientation?: 'horizontal' | 'vertical';
825
- }
826
- declare function Separator({ orientation, className, ...props }: SeparatorProps): react_jsx_runtime.JSX.Element;
827
-
828
- type ButtonGroupOrientation = 'horizontal' | 'vertical';
829
- interface ButtonGroupProps extends HTMLAttributes<HTMLDivElement> {
830
- orientation?: ButtonGroupOrientation;
831
- }
832
- declare function ButtonGroup({ className, orientation, ...props }: ButtonGroupProps): react_jsx_runtime.JSX.Element;
833
- interface ButtonGroupTextProps extends HTMLAttributes<HTMLDivElement> {
834
- render?: RenderProp<ButtonGroupTextRenderProps>;
835
- }
836
- interface ButtonGroupTextRenderProps {
837
- className: string;
838
- children?: ReactNode;
839
- 'data-slot': 'button-group-text';
840
- [key: string]: unknown;
841
- }
842
- declare function ButtonGroupText({ className, render, children, ...props }: ButtonGroupTextProps): react.ReactElement<unknown, string | react.JSXElementConstructor<any>>;
843
- interface ButtonGroupSeparatorProps extends SeparatorProps {
844
- }
845
- declare function ButtonGroupSeparator({ className, orientation, ...props }: ButtonGroupSeparatorProps): react_jsx_runtime.JSX.Element;
846
-
847
- type CalendarSelection = Date | Date[] | DateRange | undefined;
848
- type CalendarProps = Omit<ComponentProps<typeof DayPicker>, 'mode' | 'selected' | 'defaultMonth' | 'onSelect' | 'disabled'> & {
849
- /** Selection mode. Defaults to `single`. */
850
- mode?: 'single' | 'multiple' | 'range';
851
- /** Base UI/react-day-picker style selection. Use with `mode`. */
852
- selected?: CalendarSelection;
853
- onSelect?: (selected: CalendarSelection) => void;
854
- /** Compat prop for `mode="single"`. */
855
- value?: Date;
856
- minValue?: Date;
857
- maxValue?: Date;
858
- defaultValue?: Date;
859
- /** Compat prop for `mode="single"`. Receives `undefined` when the date is deselected. */
860
- onChange?: (date: Date | undefined) => void;
861
- isDisabled?: boolean;
862
- isReadOnly?: boolean;
863
- captionLayout?: ComponentProps<typeof DayPicker>['captionLayout'];
864
- showOutsideDays?: boolean;
865
- buttonVariant?: ButtonVariants['variant'];
866
- };
867
- declare function Calendar({ className, classNames, value, minValue, maxValue, defaultValue, mode, selected, onSelect, onChange, isDisabled, isReadOnly, showOutsideDays, captionLayout, buttonVariant, components, ...props }: CalendarProps): react_jsx_runtime.JSX.Element;
868
- declare function CalendarDayButton({ className, day, modifiers, buttonVariant, ...props }: ComponentProps<typeof DayButton> & {
869
- buttonVariant?: ButtonVariants['variant'];
870
- }): react_jsx_runtime.JSX.Element;
871
-
872
- type EmblaOptions = NonNullable<Parameters<typeof useEmblaCarousel>[0]>;
873
- type CarouselApi = ReturnType<typeof useEmblaCarousel>[1];
874
- type CarouselOrientation = 'horizontal' | 'vertical';
875
- interface CarouselContextValue {
876
- carouselRef: ReturnType<typeof useEmblaCarousel>[0];
877
- api: CarouselApi;
878
- orientation: CarouselOrientation;
879
- scrollPrev: () => void;
880
- scrollNext: () => void;
881
- scrollTo: (index: number) => void;
882
- canScrollPrev: boolean;
883
- canScrollNext: boolean;
884
- selectedIndex: number;
885
- slideCount: number;
886
- }
887
- declare function useCarousel(): CarouselContextValue;
888
- interface CarouselProps extends HTMLAttributes<HTMLDivElement> {
889
- orientation?: CarouselOrientation;
890
- loop?: boolean;
891
- /** Render the built-in previous/next controls. */
892
- showArrows?: boolean;
893
- /** Render the built-in pagination dots. */
894
- showDots?: boolean;
895
- opts?: EmblaOptions;
896
- setApi?: (api: CarouselApi) => void;
897
- onIndexChange?: (index: number) => void;
898
- }
899
- declare function Carousel({ orientation, loop, showArrows, showDots, opts, setApi, onIndexChange, className, children, ...props }: CarouselProps): react_jsx_runtime.JSX.Element;
900
- interface CarouselContentProps extends HTMLAttributes<HTMLDivElement> {
901
- }
902
- declare function CarouselContent({ className, children, ...props }: CarouselContentProps): react_jsx_runtime.JSX.Element;
903
- interface CarouselItemProps extends HTMLAttributes<HTMLDivElement> {
904
- }
905
- declare function CarouselItem({ className, children, ...props }: CarouselItemProps): react_jsx_runtime.JSX.Element;
906
- interface CarouselArrowProps extends Omit<ButtonProps, 'size'> {
907
- }
908
- declare function CarouselPrevious({ className, variant, children, ...props }: CarouselArrowProps): react_jsx_runtime.JSX.Element;
909
- declare function CarouselNext({ className, variant, children, ...props }: CarouselArrowProps): react_jsx_runtime.JSX.Element;
910
- interface CarouselDotsProps extends HTMLAttributes<HTMLDivElement> {
911
- }
912
- declare function CarouselDots({ className, ...props }: CarouselDotsProps): react_jsx_runtime.JSX.Element | null;
913
-
914
- interface CheckboxProps extends Omit<CheckboxRoot.Props, 'checked' | 'defaultChecked' | 'disabled' | 'indeterminate' | 'onCheckedChange' | 'value'> {
915
- children?: ReactNode;
916
- label?: string;
917
- /** Hide the visible label and expose it as `aria-label` instead. */
918
- hideLabel?: boolean;
919
- value?: string | boolean;
920
- isSelected?: boolean;
921
- checked?: boolean;
922
- defaultSelected?: boolean;
923
- defaultChecked?: boolean;
924
- isDisabled?: boolean;
925
- disabled?: boolean;
926
- isIndeterminate?: boolean;
927
- indeterminate?: boolean;
928
- onChange?: (selected: boolean) => void;
929
- onCheckedChange?: (checked: boolean) => void;
930
- }
931
- declare function Checkbox({ id, label, hideLabel, className, children, isSelected, checked: checkedProp, defaultSelected, defaultChecked, isDisabled, disabled, isIndeterminate, indeterminate, onChange, onCheckedChange, value, ...props }: CheckboxProps): react_jsx_runtime.JSX.Element;
284
+ declare const Box: React$1.ForwardRefExoticComponent<BoxProps & React$1.RefAttributes<HTMLElement>>;
932
285
 
933
- interface CheckboxGroupProps extends Omit<CheckboxGroup$1.Props, 'disabled' | 'onValueChange' | 'onChange'> {
286
+ interface CheckboxGroupProps extends Omit<CheckboxGroup$1.Props, 'className'> {
934
287
  className?: string;
935
- label?: string;
936
- isDisabled?: boolean;
288
+ label?: ReactNode;
289
+ description?: ReactNode;
937
290
  orientation?: 'vertical' | 'horizontal';
938
- onChange?: (value: string[]) => void;
939
- children?: ReactNode;
940
291
  }
941
- declare function CheckboxGroup({ id, label, isDisabled, orientation, onChange, className, children, ...props }: CheckboxGroupProps): react_jsx_runtime.JSX.Element;
292
+ declare function CheckboxGroup({ label, description, disabled, orientation, className, children, ...props }: CheckboxGroupProps): react_jsx_runtime.JSX.Element;
942
293
 
943
294
  interface CodeProps extends Omit<TextProps, 'as'> {
944
295
  children?: ReactNode;
945
296
  }
946
297
  declare function Code({ className, children, size, ...props }: CodeProps): react_jsx_runtime.JSX.Element;
947
298
 
948
- interface CollapsibleProps extends Omit<Collapsible$1.Root.Props, 'open' | 'defaultOpen' | 'onOpenChange' | 'disabled'> {
949
- isExpanded?: boolean;
950
- defaultExpanded?: boolean;
951
- isDisabled?: boolean;
952
- onExpandedChange?: (expanded: boolean) => void;
953
- children?: ReactNode;
954
- }
955
- declare function Collapsible({ isExpanded, defaultExpanded, isDisabled, onExpandedChange, className, children, ...props }: CollapsibleProps): react_jsx_runtime.JSX.Element;
956
- interface CollapsibleTriggerProps extends Collapsible$1.Trigger.Props {
957
- children?: ReactNode;
958
- }
959
- declare function CollapsibleTrigger({ className, children, ...props }: CollapsibleTriggerProps): react_jsx_runtime.JSX.Element;
960
- interface CollapsiblePanelProps extends Collapsible$1.Panel.Props {
961
- children?: ReactNode;
962
- }
963
- declare function CollapsiblePanel({ className, children, ...props }: CollapsiblePanelProps): react_jsx_runtime.JSX.Element;
964
-
965
299
  interface FlexboxProps extends Omit<BoxProps, 'display' | 'gap'> {
966
300
  display?: Responsive$1<FlexDisplay>;
967
301
  direction?: Responsive$1<FlexDirection>;
@@ -982,210 +316,48 @@ interface ColumnProps extends FlexboxProps {
982
316
  }
983
317
  declare function Column({ reverse, children, ...props }: ColumnProps): react_jsx_runtime.JSX.Element;
984
318
 
985
- type Selection = Set<Key> | 'all';
986
- type PressEvent = MouseEvent<HTMLElement>;
987
- declare function toSelection(value?: Iterable<Key> | 'all'): Selection;
988
- declare function selectionToStrings(value: Selection): string[];
319
+ declare const buttonVariants: (props?: ({
320
+ variant?: "destructive" | "secondary" | "default" | "link" | "outline" | "ghost" | null | undefined;
321
+ size?: "sm" | "lg" | "default" | "xs" | "icon" | "icon-xs" | "icon-sm" | "icon-lg" | null | undefined;
322
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
323
+ declare function Button({ className, variant, size, ...props }: Button$1.Props & VariantProps<typeof buttonVariants>): react_jsx_runtime.JSX.Element;
989
324
 
990
- type ListKind = 'native' | 'select' | 'combobox';
991
- declare function ListPrimitiveProvider({ kind, children, }: {
992
- kind: Exclude<ListKind, 'native'>;
993
- children: ReactNode;
994
- }): react_jsx_runtime.JSX.Element;
995
- interface ListProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onChange'> {
996
- children?: ReactNode;
997
- highlightColor?: string;
998
- showCheckmark?: boolean;
999
- isFullscreen?: boolean;
1000
- label?: string;
1001
- value?: string[];
1002
- onChange?: (value: string[]) => void;
1003
- selectionMode?: 'none' | 'single' | 'multiple';
1004
- selectedKeys?: Iterable<Key>;
1005
- defaultSelectedKeys?: Iterable<Key>;
1006
- onSelectionChange?: (value: Selection) => void;
1007
- renderEmptyState?: (props: object) => ReactNode;
1008
- }
1009
- declare function List({ id, highlightColor, isFullscreen, label, value, onChange, className, selectedKeys, defaultSelectedKeys, onSelectionChange, selectionMode, style, children, renderEmptyState, ...props }: ListProps): react_jsx_runtime.JSX.Element;
1010
- interface ListItemProps extends Omit<HTMLAttributes<HTMLDivElement>, 'id'> {
1011
- children?: ReactNode;
1012
- id?: string | number;
1013
- value?: string | number;
1014
- showCheckmark?: boolean;
1015
- isDisabled?: boolean;
1016
- textValue?: string;
1017
- }
1018
- declare function ListItem({ id, value, children, className, showCheckmark, isDisabled, onClick, ...props }: ListItemProps): react_jsx_runtime.JSX.Element;
1019
- interface ListSeparatorProps extends Select$1.Separator.Props {
1020
- }
1021
- declare function ListSeparator({ className, ...props }: ListSeparatorProps): react_jsx_runtime.JSX.Element;
1022
- interface ListSectionProps extends HTMLAttributes<HTMLDivElement> {
1023
- children?: ReactNode;
1024
- title?: string;
1025
- }
1026
- declare function ListSection({ title, className, children, ...props }: ListSectionProps): react_jsx_runtime.JSX.Element;
1027
-
1028
- interface ComboBoxItem {
1029
- label: ReactNode;
325
+ interface ConfirmationDialogProps extends Omit<AlertDialog$1.Root.Props, 'children' | 'actionsRef'> {
326
+ /** Text the user must type before the confirm button is enabled. */
1030
327
  value: string;
1031
- element?: ReactElement<ListItemProps>;
1032
- }
1033
- /** Base UI receives the item objects directly, so values may be an item or its string value. */
1034
- type ComboBoxValue = string | ComboBoxItem;
1035
- interface ComboBoxProps extends Omit<Combobox.Root.Props<string>, 'children' | 'items' | 'disabled' | 'onValueChange' | 'itemToStringLabel' | 'itemToStringValue' | 'isItemEqualToValue' | 'filter' | 'onItemHighlighted'> {
1036
- children?: ReactNode;
1037
- items?: ReadonlyArray<string | {
1038
- label: ReactNode;
1039
- value: string;
1040
- }>;
1041
- label?: string;
1042
- placeholder?: string;
1043
- /** Compat alias for the Base UI `disabled` prop. */
1044
- isDisabled?: boolean;
1045
- disabled?: boolean;
1046
- /** Shows a clear button (`Combobox.Clear`) while the input has a value. */
1047
- showClear?: boolean;
1048
- showIcon?: boolean;
1049
- maxHeight?: string | number;
1050
- 'aria-invalid'?: boolean | 'true' | 'false';
1051
- onChange?: (value: string | null) => void;
1052
- onValueChange?: Combobox.Root.Props<string>['onValueChange'];
1053
- itemToStringLabel?: (item: ComboBoxValue) => string;
1054
- itemToStringValue?: (item: ComboBoxValue) => string;
1055
- /** Items are passed to Base UI as `{ label, value }` objects, so the filter receives them. */
1056
- filter?: ((item: ComboBoxValue, query: string, itemToString?: (item: ComboBoxValue) => string) => boolean) | null;
1057
- onItemHighlighted?: (highlightedValue: ComboBoxValue | undefined, eventDetails: Parameters<NonNullable<Combobox.Root.Props<ComboBoxValue>['onItemHighlighted']>>[1]) => void;
1058
- /** Content shown when no items match the current filter. */
1059
- emptyState?: ReactNode;
1060
- /** @deprecated Use `emptyState` instead. */
1061
- renderEmptyState?: (props: object) => ReactNode;
1062
- inputProps?: Combobox.Input.Props;
1063
- listProps?: ListProps;
1064
- popoverProps?: Combobox.Positioner.Props;
1065
- className?: string;
1066
- }
1067
- declare function ComboBox({ id, className, label, placeholder, isDisabled, disabled, showClear, showIcon, maxHeight, onChange, onValueChange, emptyState, renderEmptyState, inputProps, listProps, popoverProps, children, items, itemToStringLabel, itemToStringValue, 'aria-invalid': ariaInvalid, ...props }: ComboBoxProps): react_jsx_runtime.JSX.Element;
1068
-
1069
- interface CommandProps extends ComponentProps<typeof Command$1> {
1070
- }
1071
- declare function Command({ className, children, ...props }: CommandProps): react_jsx_runtime.JSX.Element;
1072
- interface CommandInputProps extends ComponentProps<typeof Command$1.Input> {
1073
- }
1074
- declare function CommandInput({ className, ...props }: CommandInputProps): react_jsx_runtime.JSX.Element;
1075
- interface CommandListProps extends ComponentProps<typeof Command$1.List> {
1076
- /** When set, the list is wrapped in a `ScrollArea` capped at this height. */
1077
- maxHeight?: string | number;
1078
- }
1079
- declare function CommandList({ maxHeight, className, ...props }: CommandListProps): react_jsx_runtime.JSX.Element;
1080
- interface CommandEmptyProps extends ComponentProps<typeof Command$1.Empty> {
1081
- }
1082
- declare function CommandEmpty({ className, ...props }: CommandEmptyProps): react_jsx_runtime.JSX.Element;
1083
- interface CommandGroupProps extends ComponentProps<typeof Command$1.Group> {
1084
- }
1085
- declare function CommandGroup({ className, ...props }: CommandGroupProps): react_jsx_runtime.JSX.Element;
1086
- interface CommandItemProps extends ComponentProps<typeof Command$1.Item> {
1087
- icon?: ReactNode;
1088
- /** Compat alias for the native `disabled` prop. */
1089
- isDisabled?: boolean;
1090
- }
1091
- declare function CommandItem({ icon, isDisabled, disabled, className, children, ...props }: CommandItemProps): react_jsx_runtime.JSX.Element;
1092
- interface CommandSeparatorProps extends ComponentProps<typeof Command$1.Separator> {
1093
- }
1094
- declare function CommandSeparator({ className, ...props }: CommandSeparatorProps): react_jsx_runtime.JSX.Element;
1095
- interface CommandShortcutProps extends HTMLAttributes<HTMLSpanElement> {
1096
- }
1097
- declare function CommandShortcut({ className, ...props }: CommandShortcutProps): react_jsx_runtime.JSX.Element;
1098
- interface CommandDialogProps extends Omit<CommandProps, 'title'> {
1099
- /** Compat alias for `open`. */
1100
- isOpen?: boolean;
1101
- open?: boolean;
1102
- onOpenChange?: (open: boolean) => void;
328
+ /** Element that opens the dialog, e.g. `<Button variant="destructive">Delete</Button>`. */
329
+ trigger?: ReactElement;
1103
330
  title?: ReactNode;
1104
331
  description?: ReactNode;
1105
- }
1106
- declare function CommandDialog({ isOpen, open, onOpenChange, title, description, children, ...props }: CommandDialogProps): react_jsx_runtime.JSX.Element;
1107
-
1108
- interface ConfirmationDialogProps extends AlertDialogProps {
1109
- value: string;
332
+ /** Prompt shown above the confirmation input. */
1110
333
  confirmMessage?: ReactNode;
1111
- }
1112
- declare function ConfirmationDialog({ value, confirmMessage, className, children, ...props }: ConfirmationDialogProps): react_jsx_runtime.JSX.Element;
1113
-
1114
- interface ContainerProps extends BoxProps {
334
+ confirmLabel?: ReactNode;
335
+ cancelLabel?: ReactNode;
336
+ /** Button variant of the confirm button. Defaults to `destructive`. */
337
+ variant?: VariantProps<typeof buttonVariants>['variant'];
338
+ /** Called on confirm. When it returns a promise the dialog stays open until it resolves. */
339
+ onConfirm?: () => unknown;
340
+ onCancel?: () => void;
341
+ /** Extra content rendered between the description and the confirmation input. */
1115
342
  children?: ReactNode;
1116
- isFluid?: boolean;
1117
- isCentered?: boolean;
343
+ className?: string;
1118
344
  }
1119
- declare function Container({ isCentered, isFluid, className, children, ...props }: ContainerProps): react_jsx_runtime.JSX.Element;
345
+ declare function ConfirmationDialog({ value, trigger, title, description, confirmMessage, confirmLabel, cancelLabel, variant, onConfirm, onCancel, onOpenChange, className, children, ...props }: ConfirmationDialogProps): react_jsx_runtime.JSX.Element;
1120
346
 
1121
- type MenuSelectionMode = 'none' | 'single' | 'multiple';
1122
- type MenuVariant = 'default' | 'plain';
1123
- /**
1124
- * Lets a container (such as `Navbar`) opt nested menus out of the standalone popup surface
1125
- * instead of un-styling them with descendant selectors.
1126
- */
1127
- declare const MenuVariantContext: react.Context<MenuVariant | null>;
1128
- interface MenuProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onChange'> {
1129
- selectionMode?: MenuSelectionMode;
1130
- selectedKeys?: Iterable<Key>;
1131
- defaultSelectedKeys?: Iterable<Key>;
1132
- onSelectionChange?: (keys: Selection) => void;
1133
- /** `plain` drops the popup surface (border, shadow, background) for embedding in another popup. */
1134
- variant?: MenuVariant;
1135
- }
1136
- declare function Menu({ className, children, selectionMode, selectedKeys, defaultSelectedKeys, onSelectionChange, variant, ...props }: MenuProps): react_jsx_runtime.JSX.Element;
1137
- interface MenuItemProps extends Omit<HTMLAttributes<HTMLDivElement>, 'id'> {
1138
- id?: string | number;
1139
- value?: string;
1140
- icon?: ReactNode;
1141
- label?: string;
1142
- /** Shows the selected indicator. Defaults to `true` when the menu has a selection mode. */
1143
- showChecked?: boolean;
1144
- showSubMenuIcon?: boolean;
1145
- isDisabled?: boolean;
1146
- /** Whether picking the item closes the menu. Defaults to `false` for multiple selection. */
1147
- closeOnSelect?: boolean;
1148
- onAction?: (key: Key) => void;
1149
- }
1150
- declare function MenuItem({ id, value, icon, label, showChecked, showSubMenuIcon, isDisabled, closeOnSelect, onAction, children, className, onClick, ...props }: MenuItemProps): react_jsx_runtime.JSX.Element;
1151
- interface MenuSeparatorProps extends Menu$1.Separator.Props {
1152
- }
1153
- declare function MenuSeparator({ className, ...props }: MenuSeparatorProps): react_jsx_runtime.JSX.Element;
1154
- interface MenuShortcutProps extends HTMLAttributes<HTMLSpanElement> {
1155
- }
1156
- declare function MenuShortcut({ className, ...props }: MenuShortcutProps): react_jsx_runtime.JSX.Element;
1157
- interface MenuSectionProps extends HTMLAttributes<HTMLDivElement> {
1158
- title?: string;
1159
- maxHeight?: number;
1160
- }
1161
- declare function MenuSection({ title, maxHeight, className, style, children, ...props }: MenuSectionProps): react_jsx_runtime.JSX.Element;
1162
- interface SubmenuTriggerProps {
347
+ interface ContainerProps extends BoxProps {
1163
348
  children?: ReactNode;
349
+ fluid?: boolean;
350
+ centered?: boolean;
1164
351
  }
1165
- declare function SubMenuTrigger({ children }: SubmenuTriggerProps): react_jsx_runtime.JSX.Element;
352
+ declare function Container({ centered, fluid, className, children, ...props }: ContainerProps): react_jsx_runtime.JSX.Element;
1166
353
 
1167
- interface ContextMenuProps extends Omit<ContextMenu$1.Root.Props, 'children' | 'onOpenChange'> {
1168
- children: ReactNode;
1169
- isOpen?: boolean;
1170
- onOpenChange?: (open: boolean) => void;
1171
- }
1172
- declare function ContextMenu({ children, isOpen, open, onOpenChange, ...props }: ContextMenuProps): react_jsx_runtime.JSX.Element;
1173
- /** Explicit, shadcn-style parts. */
1174
- interface ContextMenuTriggerProps extends ContextMenu$1.Trigger.Props {
1175
- }
1176
- declare function ContextMenuTrigger({ className, ...props }: ContextMenuTriggerProps): react_jsx_runtime.JSX.Element;
1177
- declare const ContextMenuRoot: typeof ContextMenu$1.Root;
1178
- type ContextMenuRootProps = ContextMenu$1.Root.Props;
1179
- interface ContextMenuContentProps extends MenuProps {
1180
- }
1181
- /** The context menu popup. Selects the context-menu primitives regardless of how it is composed. */
1182
- declare function ContextMenuContent(props: ContextMenuContentProps): react_jsx_runtime.JSX.Element;
1183
-
1184
- interface CopyButtonProps extends Omit<ButtonProps, 'children' | 'onClick' | 'onPress' | 'size' | 'type' | 'value' | 'variant'> {
354
+ interface CopyButtonProps extends Omit<ComponentProps<typeof Button>, 'children' | 'value' | 'type'> {
355
+ /** Text to copy, or a function that returns it at click time. */
1185
356
  value?: string | (() => string);
357
+ /** How long the copied state is shown, in milliseconds. */
1186
358
  timeout?: number;
1187
359
  }
1188
- declare function CopyButton({ value, timeout, className, ...props }: CopyButtonProps): react_jsx_runtime.JSX.Element;
360
+ declare function CopyButton({ value, timeout, variant, size, className, onClick, ...props }: CopyButtonProps): react_jsx_runtime.JSX.Element;
1189
361
 
1190
362
  interface GridProps extends Omit<BoxProps, 'display'> {
1191
363
  display?: Responsive$1<GridDisplay>;
@@ -1212,188 +384,84 @@ interface DataCardProps extends GridProps {
1212
384
  }
1213
385
  declare function DataCard({ data, labelWidth, ...props }: DataCardProps): react_jsx_runtime.JSX.Element;
1214
386
 
1215
- type TableSelectionMode = 'none' | 'single' | 'multiple';
1216
-
1217
- interface TableProps extends TableHTMLAttributes<HTMLTableElement> {
1218
- selectionMode?: TableSelectionMode;
1219
- selectedKeys?: Iterable<string>;
1220
- defaultSelectedKeys?: Iterable<string>;
1221
- onSelectionChange?: (keys: Set<string>) => void;
1222
- }
1223
- interface TableColumnProps extends Omit<ThHTMLAttributes<HTMLTableCellElement>, 'align'> {
1224
- align?: 'start' | 'center' | 'end';
1225
- isRowHeader?: boolean;
1226
- }
1227
- interface TableCellProps extends Omit<TdHTMLAttributes<HTMLTableCellElement>, 'align'> {
1228
- align?: 'start' | 'center' | 'end';
1229
- }
1230
- interface TableRowProps extends HTMLAttributes<HTMLTableRowElement> {
1231
- id?: string;
1232
- }
1233
- interface TableContainerProps extends HTMLAttributes<HTMLDivElement> {
1234
- }
1235
- /** Scroll container for a `Table`. */
1236
- declare function TableContainer({ className, ...props }: TableContainerProps): react_jsx_runtime.JSX.Element;
1237
- declare function Table({ children, className, selectionMode, selectedKeys: controlledSelectedKeys, defaultSelectedKeys, onSelectionChange, ...props }: TableProps): react_jsx_runtime.JSX.Element;
1238
- interface TableHeaderComponentProps extends HTMLAttributes<HTMLTableSectionElement> {
1239
- style?: CSSProperties;
1240
- }
1241
- declare function TableHeader({ children, className, style, ...props }: TableHeaderComponentProps): react_jsx_runtime.JSX.Element;
1242
- declare function TableBody({ children, className, ...props }: HTMLAttributes<HTMLTableSectionElement>): react_jsx_runtime.JSX.Element;
1243
- interface TableFooterProps extends HTMLAttributes<HTMLTableSectionElement> {
1244
- style?: CSSProperties;
1245
- }
1246
- declare function TableFooter({ children, className, style, ...props }: TableFooterProps): react_jsx_runtime.JSX.Element;
1247
- interface TableCaptionProps extends HTMLAttributes<HTMLTableCaptionElement> {
1248
- }
1249
- declare function TableCaption({ className, ...props }: TableCaptionProps): react_jsx_runtime.JSX.Element;
1250
- declare function TableRow({ children, className, style, id, ...props }: TableRowProps): react_jsx_runtime.JSX.Element;
1251
- declare function TableColumn({ children, className, align, isRowHeader: _isRowHeader, ...props }: TableColumnProps): react_jsx_runtime.JSX.Element;
1252
- /** Alias of `TableColumn` matching the shadcn naming. */
1253
- declare const TableHead: typeof TableColumn;
1254
- declare function TableCell({ children, className, align, ...props }: TableCellProps): react_jsx_runtime.JSX.Element;
1255
- interface TableSelectionCheckboxProps extends Omit<CheckboxProps, 'isSelected' | 'isIndeterminate' | 'defaultSelected'> {
1256
- children?: ReactNode;
1257
- }
1258
- /**
1259
- * A `Checkbox` wired up to the enclosing `Table` selection state. Renders the
1260
- * "select all" checkbox inside a `TableHeader` and a row checkbox inside a
1261
- * `TableRow`.
1262
- */
1263
- declare function TableSelectionCheckbox({ isDisabled, onChange, ...props }: TableSelectionCheckboxProps): react_jsx_runtime.JSX.Element | null;
1264
-
1265
- interface DataTableProps extends TableProps {
387
+ declare function Table({ className, ...props }: React$1.ComponentProps<"table">): react_jsx_runtime.JSX.Element;
388
+ declare function TableHeader({ className, ...props }: React$1.ComponentProps<"thead">): react_jsx_runtime.JSX.Element;
389
+ declare function TableBody({ className, ...props }: React$1.ComponentProps<"tbody">): react_jsx_runtime.JSX.Element;
390
+ declare function TableFooter({ className, ...props }: React$1.ComponentProps<"tfoot">): react_jsx_runtime.JSX.Element;
391
+ declare function TableRow({ className, ...props }: React$1.ComponentProps<"tr">): react_jsx_runtime.JSX.Element;
392
+ declare function TableHead({ className, ...props }: React$1.ComponentProps<"th">): react_jsx_runtime.JSX.Element;
393
+ declare function TableCell({ className, ...props }: React$1.ComponentProps<"td">): react_jsx_runtime.JSX.Element;
394
+ declare function TableCaption({ className, ...props }: React$1.ComponentProps<"caption">): react_jsx_runtime.JSX.Element;
395
+
396
+ type DataTableSelectionMode = 'none' | 'single' | 'multiple';
397
+ interface DataTableProps extends ComponentProps<typeof Table> {
1266
398
  data?: any[];
1267
399
  displayMode?: 'table' | 'cards';
1268
- }
1269
- declare function DataTable({ data, displayMode, className, children, ...props }: DataTableProps): react_jsx_runtime.JSX.Element;
1270
- interface DataColumnProps extends Omit<HTMLAttributes<any>, 'children'> {
400
+ /** Adds a checkbox column for selecting rows. Rows are keyed by their `id`. */
401
+ selectionMode?: DataTableSelectionMode;
402
+ /** Selected row ids (controlled). */
403
+ selectedRows?: string[];
404
+ /** Initially selected row ids (uncontrolled). */
405
+ defaultSelectedRows?: string[];
406
+ /** Called with the new list of selected row ids. */
407
+ onSelectedRowsChange?: (selectedRows: string[]) => void;
408
+ }
409
+ declare function DataTable({ data, displayMode, selectionMode, selectedRows: selectedRowsProp, defaultSelectedRows, onSelectedRowsChange, className, children, ...props }: DataTableProps): react_jsx_runtime.JSX.Element;
410
+ interface DataColumnProps extends Omit<HTMLAttributes<HTMLTableCellElement>, 'children'> {
1271
411
  id: string;
1272
412
  label?: ReactNode;
1273
413
  align?: 'start' | 'center' | 'end';
1274
414
  width?: string;
1275
415
  as?: string;
1276
416
  hidden?: boolean;
1277
- children?: ReactNode | ((row: any, index: number) => void);
417
+ children?: ReactNode | ((row: any, index: number) => ReactNode);
1278
418
  }
1279
419
  declare function DataColumn(_props: DataColumnProps): null;
1280
420
 
421
+ declare function Calendar({ className, classNames, showOutsideDays, captionLayout, buttonVariant, locale, formatters, components, ...props }: React$1.ComponentProps<typeof DayPicker> & {
422
+ buttonVariant?: React$1.ComponentProps<typeof Button>["variant"];
423
+ }): react_jsx_runtime.JSX.Element;
424
+ declare function CalendarDayButton({ className, day, modifiers, locale, ...props }: React$1.ComponentProps<typeof DayButton> & {
425
+ locale?: Partial<Locale>;
426
+ }): react_jsx_runtime.JSX.Element;
427
+
428
+ type CalendarProps = ComponentProps<typeof Calendar>;
1281
429
  interface DatePickerProps {
1282
430
  id?: string;
1283
431
  value?: Date;
1284
432
  defaultValue?: Date;
1285
- minValue?: Date;
1286
- maxValue?: Date;
1287
- label?: string;
1288
- placeholder?: string;
433
+ /** Earliest selectable date. */
434
+ min?: Date;
435
+ /** Latest selectable date. */
436
+ max?: Date;
437
+ label?: ReactNode;
438
+ placeholder?: ReactNode;
439
+ /** BCP 47 locale used to format the selected date. */
1289
440
  locale?: string;
1290
- isDisabled?: boolean;
1291
- isReadOnly?: boolean;
1292
- isOpen?: boolean;
441
+ disabled?: boolean;
442
+ readOnly?: boolean;
443
+ open?: boolean;
1293
444
  defaultOpen?: boolean;
1294
445
  onOpenChange?: (open: boolean) => void;
1295
446
  formatOptions?: Intl.DateTimeFormatOptions;
1296
447
  /** Receives `undefined` when the selected date is cleared. */
1297
- onChange?: (date: Date | undefined) => void;
1298
- triggerProps?: ButtonHTMLAttributes<HTMLButtonElement>;
1299
- /** @deprecated Use `triggerProps` instead. */
1300
- buttonProps?: ButtonHTMLAttributes<HTMLButtonElement>;
1301
- calendarProps?: Partial<CalendarProps>;
448
+ onValueChange?: (date: Date | undefined) => void;
449
+ triggerProps?: Omit<ComponentProps<typeof Button>, 'children'>;
450
+ calendarProps?: Omit<CalendarProps, 'mode' | 'selected' | 'onSelect' | 'required'>;
1302
451
  className?: string;
1303
452
  }
1304
- declare function DatePicker({ id, value, defaultValue, minValue, maxValue, label, placeholder, locale, isDisabled, isReadOnly, isOpen, defaultOpen, onOpenChange, formatOptions, onChange, triggerProps, buttonProps, calendarProps, className, }: DatePickerProps): react_jsx_runtime.JSX.Element;
453
+ declare function DatePicker({ id, value, defaultValue, min, max, label, placeholder, locale, disabled, readOnly, open: openProp, defaultOpen, onOpenChange, formatOptions, onValueChange, triggerProps, calendarProps, className, }: DatePickerProps): react_jsx_runtime.JSX.Element;
1305
454
 
1306
455
  interface DotsProps extends HTMLAttributes<HTMLDivElement> {
1307
456
  size?: 'sm' | 'md' | 'lg';
1308
457
  }
1309
458
  declare function Dots({ size, className, color: _color, ...props }: DotsProps): react_jsx_runtime.JSX.Element;
1310
459
 
1311
- type DrawerProps = Drawer$1.Root.Props;
1312
- declare function Drawer({ modal, ...props }: DrawerProps): react_jsx_runtime.JSX.Element;
1313
- declare const DrawerTrigger: Drawer$1.Trigger;
1314
- type DrawerTriggerProps = Drawer$1.Trigger.Props;
1315
- declare const DrawerClose: Drawer$1.Close;
1316
- type DrawerCloseProps = Drawer$1.Close.Props;
1317
- interface DrawerTitleProps extends Drawer$1.Title.Props {
1318
- }
1319
- declare function DrawerTitle({ className, ...props }: DrawerTitleProps): react_jsx_runtime.JSX.Element;
1320
- interface DrawerDescriptionProps extends Drawer$1.Description.Props {
1321
- }
1322
- declare function DrawerDescription({ className, ...props }: DrawerDescriptionProps): react_jsx_runtime.JSX.Element;
1323
- interface DrawerHeaderProps extends HTMLAttributes<HTMLDivElement> {
1324
- }
1325
- declare function DrawerHeader({ className, ...props }: DrawerHeaderProps): react_jsx_runtime.JSX.Element;
1326
- interface DrawerFooterProps extends HTMLAttributes<HTMLDivElement> {
1327
- }
1328
- declare function DrawerFooter({ className, ...props }: DrawerFooterProps): react_jsx_runtime.JSX.Element;
1329
- interface DrawerContentProps extends Drawer$1.Popup.Props {
1330
- portalProps?: Drawer$1.Portal.Props;
1331
- }
1332
- declare const DrawerContent: react.ForwardRefExoticComponent<Omit<DrawerContentProps, "ref"> & react.RefAttributes<HTMLDivElement>>;
1333
-
1334
- declare const Empty: react.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & react.RefAttributes<HTMLDivElement>>;
1335
- declare const EmptyHeader: react.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & react.RefAttributes<HTMLDivElement>>;
1336
- interface EmptyMediaProps extends HTMLAttributes<HTMLDivElement>, EmptyMediaVariants {
1337
- }
1338
- declare const EmptyMedia: react.ForwardRefExoticComponent<EmptyMediaProps & react.RefAttributes<HTMLDivElement>>;
1339
- declare const EmptyTitle: react.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & react.RefAttributes<HTMLDivElement>>;
1340
- declare const EmptyDescription: react.ForwardRefExoticComponent<HTMLAttributes<HTMLParagraphElement> & react.RefAttributes<HTMLParagraphElement>>;
1341
- declare const EmptyContent: react.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & react.RefAttributes<HTMLDivElement>>;
1342
-
1343
- type FieldOrientation = 'vertical' | 'horizontal' | 'responsive';
1344
- interface FieldProps extends Field$1.Root.Props {
1345
- orientation?: FieldOrientation;
1346
- }
1347
- declare const Field: react.ForwardRefExoticComponent<Omit<FieldProps, "ref"> & react.RefAttributes<HTMLDivElement>>;
1348
- interface FieldLabelProps extends Field$1.Label.Props {
1349
- }
1350
- declare const FieldLabel: react.ForwardRefExoticComponent<Omit<FieldLabelProps, "ref"> & react.RefAttributes<HTMLLabelElement>>;
1351
- interface FieldControlProps extends Field$1.Control.Props {
1352
- }
1353
- declare const FieldControl: react.ForwardRefExoticComponent<Omit<FieldControlProps, "ref"> & react.RefAttributes<HTMLInputElement>>;
1354
- interface FieldDescriptionProps extends Field$1.Description.Props {
1355
- }
1356
- declare const FieldDescription: react.ForwardRefExoticComponent<Omit<FieldDescriptionProps, "ref"> & react.RefAttributes<HTMLParagraphElement>>;
1357
- interface FieldErrorProps extends Field$1.Error.Props {
1358
- }
1359
- declare const FieldError: react.ForwardRefExoticComponent<Omit<FieldErrorProps, "ref"> & react.RefAttributes<HTMLDivElement>>;
1360
- declare const FieldContent: react.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & react.RefAttributes<HTMLDivElement>>;
1361
- declare const FieldTitle: react.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & react.RefAttributes<HTMLDivElement>>;
1362
- declare const FieldGroup: react.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & react.RefAttributes<HTMLDivElement>>;
1363
- declare const FieldSet: react.ForwardRefExoticComponent<FieldsetHTMLAttributes<HTMLFieldSetElement> & react.RefAttributes<HTMLFieldSetElement>>;
1364
- interface FieldLegendProps extends HTMLAttributes<HTMLLegendElement> {
1365
- variant?: 'legend' | 'label';
1366
- }
1367
- declare const FieldLegend: react.ForwardRefExoticComponent<FieldLegendProps & react.RefAttributes<HTMLLegendElement>>;
1368
- interface FieldSeparatorProps extends HTMLAttributes<HTMLDivElement> {
1369
- children?: ReactNode;
1370
- }
1371
- declare const FieldSeparator: react.ForwardRefExoticComponent<FieldSeparatorProps & react.RefAttributes<HTMLDivElement>>;
1372
-
1373
- interface TooltipProps extends Omit<Tooltip$1.Positioner.Props, 'children' | 'className'> {
1374
- children?: ReactNode;
1375
- showArrow?: boolean;
1376
- className?: string;
1377
- /** Positioner class name. Merged with the internal layer/isolation classes. */
1378
- positionerClassName?: string;
1379
- placement?: Tooltip$1.Positioner.Props['side'];
1380
- }
1381
- declare function Tooltip({ children, className, positionerClassName, placement, side, sideOffset, showArrow, ...props }: TooltipProps): react_jsx_runtime.JSX.Element;
1382
- /** Explicit, shadcn-style alias for the positioned tooltip surface. */
1383
- declare const TooltipContent: typeof Tooltip;
1384
- type TooltipContentProps = TooltipProps;
1385
- interface TooltipBubbleProps extends HTMLAttributes<HTMLDivElement> {
1386
- children?: ReactNode;
1387
- showArrow?: boolean;
1388
- }
1389
- /** An unpositioned tooltip surface, used by `FloatingTooltip` and for custom positioning. */
1390
- declare const TooltipBubble: react.ForwardRefExoticComponent<TooltipBubbleProps & react.RefAttributes<HTMLDivElement>>;
1391
-
1392
- interface FloatingTooltipProps extends TooltipBubbleProps {
1393
- /** Set to `false` to detach the pointer listener without unmounting. Defaults to `true`. */
1394
- isOpen?: boolean;
460
+ interface FloatingTooltipProps extends HTMLAttributes<HTMLDivElement> {
461
+ /** Set to `false` to hide the tooltip and detach the pointer listener without unmounting. Defaults to `true`. */
462
+ open?: boolean;
1395
463
  }
1396
- declare function FloatingTooltip({ className, style, children, isOpen, ...props }: FloatingTooltipProps): react_jsx_runtime.JSX.Element;
464
+ declare function FloatingTooltip({ className, style, children, open, ...props }: FloatingTooltipProps): react_jsx_runtime.JSX.Element;
1397
465
 
1398
466
  interface FormProps extends UseFormProps, Omit<HTMLAttributes<HTMLFormElement>, 'children'> {
1399
467
  autoComplete?: string;
@@ -1404,17 +472,9 @@ interface FormProps extends UseFormProps, Omit<HTMLAttributes<HTMLFormElement>,
1404
472
  }
1405
473
  declare function Form({ autoComplete, onSubmit, error, preventSubmit, mode, disabled, reValidateMode, defaultValues, values, errors, resetOptions, resolver, context, shouldFocusError, shouldUnregister, shouldUseNativeValidation, progressive, criteriaMode, delayError, className, children, ...props }: FormProps): react_jsx_runtime.JSX.Element;
1406
474
 
1407
- interface RowProps extends FlexboxProps {
1408
- children?: ReactNode;
1409
- reverse?: boolean;
1410
- }
1411
- declare function Row({ reverse, children, ...props }: RowProps): react_jsx_runtime.JSX.Element;
1412
-
1413
- interface FormButtonsProps extends RowProps {
1414
- children?: ReactNode;
1415
- fill?: boolean;
475
+ interface FormButtonsProps extends ComponentProps<'div'> {
1416
476
  }
1417
- declare function FormButtons({ fill, children, ...props }: FormButtonsProps): react_jsx_runtime.JSX.Element;
477
+ declare function FormButtons({ className, ...props }: FormButtonsProps): react_jsx_runtime.JSX.Element;
1418
478
 
1419
479
  interface FormControllerProps extends Omit<ControllerProps, 'render'> {
1420
480
  children: ({ field, fieldState, formState, }: {
@@ -1425,41 +485,72 @@ interface FormControllerProps extends Omit<ControllerProps, 'render'> {
1425
485
  }
1426
486
  declare function FormController({ children, ...props }: FormControllerProps): react_jsx_runtime.JSX.Element;
1427
487
 
1428
- interface FormFieldProps extends HTMLAttributes<HTMLDivElement>, Partial<UseFormReturn> {
488
+ declare function Label({ className, ...props }: React$1.ComponentProps<"label">): react_jsx_runtime.JSX.Element;
489
+
490
+ declare function FieldSet({ className, ...props }: React.ComponentProps<"fieldset">): react_jsx_runtime.JSX.Element;
491
+ declare function FieldLegend({ className, variant, ...props }: React.ComponentProps<"legend"> & {
492
+ variant?: "legend" | "label";
493
+ }): react_jsx_runtime.JSX.Element;
494
+ declare function FieldGroup({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
495
+ declare const fieldVariants: (props?: ({
496
+ orientation?: "horizontal" | "vertical" | "responsive" | null | undefined;
497
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
498
+ declare function Field({ className, orientation, ...props }: React.ComponentProps<"div"> & VariantProps<typeof fieldVariants>): react_jsx_runtime.JSX.Element;
499
+ declare function FieldContent({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
500
+ declare function FieldLabel({ className, ...props }: React.ComponentProps<typeof Label>): react_jsx_runtime.JSX.Element;
501
+ declare function FieldTitle({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
502
+ declare function FieldDescription({ className, ...props }: React.ComponentProps<"p">): react_jsx_runtime.JSX.Element;
503
+ declare function FieldSeparator({ children, className, ...props }: React.ComponentProps<"div"> & {
504
+ children?: React.ReactNode;
505
+ }): react_jsx_runtime.JSX.Element;
506
+ declare function FieldError({ className, children, errors, ...props }: React.ComponentProps<"div"> & {
507
+ errors?: Array<{
508
+ message?: string;
509
+ } | undefined>;
510
+ }): react_jsx_runtime.JSX.Element | null;
511
+
512
+ interface FormFieldRenderProps {
513
+ field: ControllerRenderProps<FieldValues, string>;
514
+ fieldState: ControllerFieldState;
515
+ context: UseFormReturn;
516
+ /** Props that connect the control to the label, description and error. */
517
+ controlProps: {
518
+ id: string;
519
+ 'aria-invalid': true | undefined;
520
+ 'aria-describedby': string | undefined;
521
+ };
522
+ }
523
+ interface FormFieldProps extends Omit<ComponentProps<typeof Field>, 'children'> {
1429
524
  name: string;
1430
- description?: string;
1431
- label?: string;
525
+ label?: ReactNode;
526
+ description?: ReactNode;
1432
527
  rules?: RegisterOptions<FieldValues, string>;
1433
- children: any;
528
+ /**
529
+ * A single control element, which is bound to the field automatically, or a render
530
+ * function for full control over the binding.
531
+ */
532
+ children: ReactElement | ((props: FormFieldRenderProps) => ReactNode);
1434
533
  }
1435
- declare function FormField({ id, name, description, label, rules, className, children, color: _color, ...props }: FormFieldProps): react_jsx_runtime.JSX.Element;
534
+ declare function FormField({ id, name, label, description, rules, orientation, children, ...props }: FormFieldProps): react_jsx_runtime.JSX.Element;
1436
535
 
1437
- interface FormFieldArrayProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'> {
536
+ interface FormFieldArrayProps extends Omit<ComponentProps<typeof Field>, 'children'> {
1438
537
  name: string;
1439
- description?: string;
1440
- label?: string;
538
+ label?: ReactNode;
539
+ description?: ReactNode;
1441
540
  rules?: RegisterOptions<FieldValues, string>;
1442
- children: (props: any) => ReactNode;
541
+ children: (props: UseFormReturn & UseFieldArrayReturn) => ReactNode;
1443
542
  }
1444
- declare function FormFieldArray({ id, name, description, label, rules, className, children, color: _color, ...props }: FormFieldArrayProps): react_jsx_runtime.JSX.Element;
543
+ declare function FormFieldArray({ name, label, description, rules, children, ...props }: FormFieldArrayProps): react_jsx_runtime.JSX.Element;
1445
544
 
1446
- interface FormResetButtonProps extends ButtonProps {
1447
- children?: ReactNode;
1448
- values?: FieldValues | {
1449
- [p: string]: any;
1450
- };
545
+ interface FormResetButtonProps extends Omit<ComponentProps<typeof Button>, 'type'> {
546
+ /** Values to reset the form to. Defaults to the form's `defaultValues`. */
547
+ values?: FieldValues;
1451
548
  }
1452
- declare function FormResetButton({ values, children, onPress, onClick, ...props }: FormResetButtonProps): react_jsx_runtime.JSX.Element;
549
+ declare function FormResetButton({ values, variant, onClick, ...props }: FormResetButtonProps): react_jsx_runtime.JSX.Element;
1453
550
 
1454
- interface LoadingButtonProps extends ButtonProps {
1455
- children?: ReactNode;
1456
- isDisabled?: boolean;
1457
- isLoading?: boolean;
1458
- showText?: boolean;
1459
- }
1460
- declare function LoadingButton({ isLoading, isDisabled, showText, children, ...props }: LoadingButtonProps): react_jsx_runtime.JSX.Element;
1461
-
1462
- interface FormSubmitButtonProps extends LoadingButtonProps {
551
+ interface FormSubmitButtonProps extends Omit<ComponentProps<typeof Button>, 'type'> {
552
+ /** Overrides the automatic loading state (on while the form is submitting). */
553
+ loading?: boolean;
1463
554
  /**
1464
555
  * Also disable the button while the form is pristine or invalid. Only useful with
1465
556
  * `mode="onChange"` / `mode="all"`, since RHF's default `onSubmit` mode reports
@@ -1467,7 +558,7 @@ interface FormSubmitButtonProps extends LoadingButtonProps {
1467
558
  */
1468
559
  requireValid?: boolean;
1469
560
  }
1470
- declare function FormSubmitButton({ variant, isDisabled, isLoading, requireValid, children, ...props }: FormSubmitButtonProps): react_jsx_runtime.JSX.Element;
561
+ declare function FormSubmitButton({ disabled, loading, requireValid, children, ...props }: FormSubmitButtonProps): react_jsx_runtime.JSX.Element;
1471
562
 
1472
563
  type HeadingElement = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
1473
564
  interface HeadingProps extends Omit<TextProps, 'as' | 'size'> {
@@ -1477,23 +568,7 @@ interface HeadingProps extends Omit<TextProps, 'as' | 'size'> {
1477
568
  }
1478
569
  declare function Heading({ size, spacing, weight, as, className, children, ...props }: HeadingProps): react_jsx_runtime.JSX.Element;
1479
570
 
1480
- interface HoverTriggerProps {
1481
- /** Controlled open state. */
1482
- isOpen?: boolean;
1483
- defaultOpen?: boolean;
1484
- onOpenChange?: (open: boolean) => void;
1485
- onHoverStart?: () => void;
1486
- onHoverEnd?: () => void;
1487
- /** Delay before opening on hover, in milliseconds. */
1488
- delay?: number;
1489
- /** Delay before closing once the pointer leaves, in milliseconds. */
1490
- closeDelay?: number;
1491
- className?: string;
1492
- children: ReactNode;
1493
- }
1494
- /** @deprecated Use `HoverTriggerProps`. */
1495
- type HoverButtonProps = HoverTriggerProps;
1496
- declare function HoverTrigger({ isOpen, defaultOpen, onOpenChange, onHoverStart, onHoverEnd, delay, closeDelay, className, children, }: HoverTriggerProps): react_jsx_runtime.JSX.Element;
571
+ declare function useIsMobile(): boolean;
1497
572
 
1498
573
  declare const breakpoints: {
1499
574
  sm: number;
@@ -1505,10 +580,10 @@ declare const breakpoints: {
1505
580
  type BreakpointKey = 'base' | keyof typeof breakpoints;
1506
581
  declare function useBreakpoint(): BreakpointKey | null;
1507
582
 
1508
- declare function useDebounce(value: string, delay: number): string;
583
+ declare function useDebounce<T>(value: T, delay: number): T;
1509
584
 
1510
585
  type Theme = 'light' | 'dark';
1511
- type Palette = 'neutral' | 'slate' | 'gray' | 'zinc' | 'stone';
586
+ type Palette = 'neutral' | 'stone' | 'zinc' | 'mauve' | 'olive' | 'mist' | 'taupe';
1512
587
  declare const PALETTES: Palette[];
1513
588
  interface ThemeState {
1514
589
  theme: Theme;
@@ -1522,7 +597,7 @@ interface ThemeState {
1522
597
  declare const useTheme: zustand.UseBoundStore<zustand.StoreApi<ThemeState>>;
1523
598
  declare function useInitTheme(preferred?: Theme, colorScheme?: 'light' | 'dark' | 'system', preferredPalette?: Palette): void;
1524
599
 
1525
- type ToastVariant = 'success' | 'error';
600
+ type ToastVariant = 'default' | 'success' | 'destructive';
1526
601
  interface ToastOptions {
1527
602
  duration?: number;
1528
603
  title?: string;
@@ -1545,68 +620,52 @@ declare function useToast(): {
1545
620
  type StrokeWidth = '0.5' | '1' | '1.5' | '2' | '3' | '4';
1546
621
  interface IconProps extends Omit<HTMLAttributes<HTMLElement>, 'color' | 'size'> {
1547
622
  color?: FontColor;
623
+ /** Omit to use the theme's default icon size (`--icon-size`). */
1548
624
  size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
1549
- variant?: 'input';
1550
625
  rotate?: number;
1551
626
  strokeWidth?: StrokeWidth;
1552
627
  strokeColor?: StrokeColor;
1553
628
  fillColor?: FillColor;
1554
629
  }
1555
- declare function Icon({ color, size, variant, rotate, strokeWidth, strokeColor, fillColor, style, className, children, ...props }: IconProps): react_jsx_runtime.JSX.Element;
630
+ declare function Icon({ color, size, rotate, strokeWidth, strokeColor, fillColor, style, className, children, ...props }: IconProps): react_jsx_runtime.JSX.Element;
1556
631
 
1557
632
  interface ImageProps extends HTMLAttributes<HTMLImageElement> {
1558
633
  src: string;
1559
634
  alt?: string;
1560
635
  objectFit?: ObjectFit;
1561
- isCentered?: boolean;
636
+ centered?: boolean;
1562
637
  borderRadius?: Responsive$1<BorderRadius>;
1563
638
  shadow?: Responsive$1<BoxShadow>;
1564
639
  }
1565
- declare function Image({ src, alt, objectFit, isCentered, borderRadius, shadow, className, ...props }: ImageProps): react_jsx_runtime.JSX.Element;
1566
-
1567
- interface InputProps extends InputHTMLAttributes<HTMLInputElement>, InputFieldVariants {
1568
- }
1569
- /**
1570
- * Classes used to flatten a standalone `Input` / `Textarea` when it is rendered
1571
- * inside an `InputGroup`. The group owns the border, background and focus ring.
1572
- */
1573
- declare const inputGroupControlClasses: string[];
1574
- declare const Input: react.ForwardRefExoticComponent<InputProps & react.RefAttributes<HTMLInputElement>>;
1575
-
1576
- interface TextareaProps extends TextareaHTMLAttributes<HTMLTextAreaElement>, InputFieldVariants {
1577
- }
1578
- declare const Textarea: react.ForwardRefExoticComponent<TextareaProps & react.RefAttributes<HTMLTextAreaElement>>;
640
+ declare function Image({ src, alt, objectFit, centered, borderRadius, shadow, className, ...props }: ImageProps): react_jsx_runtime.JSX.Element;
1579
641
 
1580
- interface InputGroupProps extends HTMLAttributes<HTMLDivElement>, InputFieldVariants {
642
+ type SelectionMode = 'none' | 'single' | 'multiple';
643
+ interface ListProps extends Omit<ComponentProps<'div'>, 'onChange' | 'defaultValue' | 'value'> {
644
+ label?: ReactNode;
645
+ selectionMode?: SelectionMode;
646
+ /** Controlled selected item values. Always an array, also in single selection mode. */
647
+ value?: string[];
648
+ /** Initially selected item values (uncontrolled). */
649
+ defaultValue?: string[];
650
+ /** Called with the selected item values whenever the selection changes. */
651
+ onValueChange?: (value: string[]) => void;
652
+ /** Shows a check mark on selected items. */
653
+ showCheckmark?: boolean;
1581
654
  }
1582
- declare const InputGroup: react.ForwardRefExoticComponent<InputGroupProps & react.RefAttributes<HTMLDivElement>>;
1583
- type InputGroupAddonAlign = 'inline-start' | 'inline-end' | 'block-start' | 'block-end';
1584
- interface InputGroupAddonProps extends HTMLAttributes<HTMLDivElement> {
1585
- align?: InputGroupAddonAlign;
655
+ declare function List({ id, label, selectionMode, value, defaultValue, onValueChange, showCheckmark, className, children, onKeyDown, ...props }: ListProps): react_jsx_runtime.JSX.Element;
656
+ interface ListItemProps extends Omit<ComponentProps<'div'>, 'value'> {
657
+ /** Identifies the item in the list's `value`. Defaults to the text content when it is a string. */
658
+ value?: string;
659
+ disabled?: boolean;
1586
660
  }
1587
- declare const InputGroupAddon: react.ForwardRefExoticComponent<InputGroupAddonProps & react.RefAttributes<HTMLDivElement>>;
1588
- type InputGroupButtonSize = 'xs' | 'sm' | 'icon-xs' | 'icon-sm';
1589
- interface InputGroupButtonProps extends Omit<ButtonProps, 'size'> {
1590
- size?: InputGroupButtonSize;
661
+ declare function ListItem({ value, children, className, disabled, onClick, onKeyDown, ...props }: ListItemProps): react_jsx_runtime.JSX.Element;
662
+ interface ListSeparatorProps extends ComponentProps<'div'> {
1591
663
  }
1592
- declare const InputGroupButton: react.ForwardRefExoticComponent<Omit<InputGroupButtonProps, "ref"> & react.RefAttributes<HTMLButtonElement>>;
1593
- declare const InputGroupText: react.ForwardRefExoticComponent<HTMLAttributes<HTMLSpanElement> & react.RefAttributes<HTMLSpanElement>>;
1594
- declare const InputGroupInput: react.ForwardRefExoticComponent<InputProps & react.RefAttributes<HTMLInputElement>>;
1595
- declare const InputGroupTextarea: react.ForwardRefExoticComponent<TextareaProps & react.RefAttributes<HTMLTextAreaElement>>;
1596
-
1597
- type KbdProps = HTMLAttributes<HTMLElement>;
1598
- declare function Kbd({ className, children, ...props }: KbdProps): react_jsx_runtime.JSX.Element;
1599
- type KbdGroupProps = HTMLAttributes<HTMLElement>;
1600
- declare function KbdGroup({ className, children, ...props }: KbdGroupProps): react_jsx_runtime.JSX.Element;
1601
-
1602
- declare const labelClasses: string[];
1603
- interface LabelProps extends LabelHTMLAttributes<HTMLLabelElement> {
1604
- /** @deprecated Use `className` instead. Kept for backwards compatibility. */
1605
- size?: Responsive$1<FontSize>;
1606
- /** @deprecated Use `className` instead. Kept for backwards compatibility. */
1607
- weight?: Responsive$1<FontWeight>;
664
+ declare function ListSeparator({ className, ...props }: ListSeparatorProps): react_jsx_runtime.JSX.Element;
665
+ interface ListSectionProps extends Omit<ComponentProps<'div'>, 'title'> {
666
+ title?: ReactNode;
1608
667
  }
1609
- declare const Label: react.ForwardRefExoticComponent<LabelProps & react.RefAttributes<HTMLLabelElement>>;
668
+ declare function ListSection({ title, className, children, ...props }: ListSectionProps): react_jsx_runtime.JSX.Element;
1610
669
 
1611
670
  interface LoadingProps extends BoxProps {
1612
671
  size?: 'sm' | 'md' | 'lg';
@@ -1616,6 +675,12 @@ interface LoadingProps extends BoxProps {
1616
675
  }
1617
676
  declare function Loading({ size, placement, icon, className, ...props }: LoadingProps): react_jsx_runtime.JSX.Element;
1618
677
 
678
+ interface LoadingButtonProps extends ComponentProps<typeof Button> {
679
+ /** Disables the button and shows a spinner before its content. */
680
+ loading?: boolean;
681
+ }
682
+ declare function LoadingButton({ loading, disabled, children, ...props }: LoadingButtonProps): react_jsx_runtime.JSX.Element;
683
+
1619
684
  type Breakpoint = 'base' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
1620
685
  type Responsive<T> = T | Partial<Record<Breakpoint, T>>;
1621
686
  declare function mapDisplay(value: Responsive<string> | undefined): string;
@@ -1632,6 +697,7 @@ declare function mapFontSize(value: Responsive<string> | undefined): string;
1632
697
  declare function mapHeadingSize(value: Responsive<string> | undefined): string;
1633
698
  declare function mapFontWeight(value: Responsive<string> | undefined): string;
1634
699
  declare function mapTextColor(value: string | undefined): string;
700
+ declare function mapDecorationColor(value: string | undefined): string;
1635
701
  declare function mapBackgroundColor(value: string | undefined): string;
1636
702
  declare function mapBorderRadius(value: Responsive<string> | undefined): string;
1637
703
  declare function mapBorderWidth(value: Responsive<string> | undefined): string;
@@ -1680,55 +746,11 @@ interface StateStylesInput {
1680
746
  }
1681
747
  declare function mapStateStyles(prefix: StatePrefix, styles: StateStylesInput | undefined): string;
1682
748
 
1683
- interface MenubarProps extends Omit<Menubar$1.Props, 'disabled'> {
1684
- isDisabled?: boolean;
1685
- children?: ReactNode;
1686
- }
1687
- declare function Menubar({ isDisabled, className, children, ...props }: MenubarProps): react_jsx_runtime.JSX.Element;
1688
- interface MenubarMenuProps extends Omit<Menu$1.Root.Props, 'children' | 'disabled'> {
1689
- label: ReactNode;
1690
- isDisabled?: boolean;
1691
- children?: ReactNode;
1692
- }
1693
- declare function MenubarMenu({ label, isDisabled, children, ...props }: MenubarMenuProps): react_jsx_runtime.JSX.Element;
1694
-
1695
- interface MeterProps extends Omit<Meter$1.Root.Props, 'min' | 'max' | 'format'> {
1696
- value: number;
1697
- minValue?: number;
1698
- maxValue?: number;
1699
- label?: string;
749
+ interface MeterProps extends Meter$1.Root.Props {
750
+ label?: ReactNode;
1700
751
  showValue?: boolean;
1701
- formatOptions?: Intl.NumberFormatOptions;
1702
- }
1703
- declare function Meter({ value, minValue, maxValue, label, showValue, formatOptions, className, ...props }: MeterProps): react_jsx_runtime.JSX.Element;
1704
-
1705
- interface ModalProps extends Dialog$1.Portal.Props {
1706
- children?: ReactNode;
1707
- /** Controlled open state. Only used when the modal is not wrapped in a `DialogTrigger`. */
1708
- isOpen?: boolean;
1709
- /** Initial open state. Only used when the modal is not wrapped in a `DialogTrigger`. */
1710
- defaultOpen?: boolean;
1711
- onOpenChange?: (open: boolean) => void;
1712
- placement?: 'center' | 'fullscreen';
1713
- /** Renders a quiet close button in the top-right corner. */
1714
- showCloseButton?: boolean;
1715
- className?: string;
1716
- style?: CSSProperties;
1717
- }
1718
- declare function Modal({ placement, children, className, style, isOpen, defaultOpen, onOpenChange, showCloseButton, ...props }: ModalProps): react_jsx_runtime.JSX.Element;
1719
- /** Explicit, shadcn-style parts for composing a modal without the two-child `DialogTrigger`. */
1720
- interface ModalTriggerProps extends Dialog$1.Trigger.Props {
1721
- }
1722
- declare function ModalTrigger(props: ModalTriggerProps): react_jsx_runtime.JSX.Element;
1723
- interface ModalCloseProps extends Dialog$1.Close.Props {
1724
- }
1725
- declare function ModalClose(props: ModalCloseProps): react_jsx_runtime.JSX.Element;
1726
- interface ModalTitleProps extends Dialog$1.Title.Props {
1727
- }
1728
- declare function ModalTitle({ className, ...props }: ModalTitleProps): react_jsx_runtime.JSX.Element;
1729
- interface ModalDescriptionProps extends Dialog$1.Description.Props {
1730
752
  }
1731
- declare function ModalDescription({ className, ...props }: ModalDescriptionProps): react_jsx_runtime.JSX.Element;
753
+ declare function Meter({ label, showValue, className, ...props }: MeterProps): react_jsx_runtime.JSX.Element;
1732
754
 
1733
755
  interface NavbarProps extends HTMLAttributes<HTMLElement> {
1734
756
  /** Shows the dropdown arrow on items that have a label. Defaults to `true`. */
@@ -1736,88 +758,36 @@ interface NavbarProps extends HTMLAttributes<HTMLElement> {
1736
758
  }
1737
759
  declare function Navbar({ showArrow, className, children, color: _color, ...props }: NavbarProps): react_jsx_runtime.JSX.Element;
1738
760
  interface NavbarItemProps extends HTMLAttributes<HTMLElement> {
1739
- /** Item label. When provided, the item becomes a trigger with a dropdown built from `children`. */
1740
- label?: string;
761
+ /**
762
+ * Item label. When provided, the item becomes a trigger with a dropdown built from
763
+ * `children` (typically `NavbarLink`s).
764
+ */
765
+ label?: ReactNode;
1741
766
  children?: ReactNode;
1742
767
  }
1743
768
  declare function NavbarItem({ label, children, className, color: _color, ...props }: NavbarItemProps): react_jsx_runtime.JSX.Element;
1744
769
  interface NavbarLinkProps extends NavigationMenu.Link.Props {
1745
770
  }
1746
- /** A semantic navigation link. Renders an `<a>` element and integrates with keyboard navigation. */
771
+ /**
772
+ * A semantic navigation link. Renders an `<a>` element and integrates with keyboard
773
+ * navigation. Inside a `NavbarItem` dropdown it renders as a menu row.
774
+ */
1747
775
  declare function NavbarLink({ className, ...props }: NavbarLinkProps): react_jsx_runtime.JSX.Element;
1748
776
 
1749
- interface NumberFieldProps extends Omit<NumberField$1.Root.Props, 'onValueChange'> {
1750
- label?: string;
777
+ interface NumberFieldProps extends NumberField$1.Root.Props {
778
+ label?: ReactNode;
1751
779
  placeholder?: string;
1752
- minValue?: number;
1753
- maxValue?: number;
1754
- isDisabled?: boolean;
1755
- isReadOnly?: boolean;
1756
- isRequired?: boolean;
1757
- formatOptions?: Intl.NumberFormatOptions;
1758
- onChange?: (value: number | null) => void;
1759
780
  /** Labels announced for the stepper buttons. */
1760
781
  decrementLabel?: string;
1761
782
  incrementLabel?: string;
1762
783
  }
1763
- declare const NumberField: react.ForwardRefExoticComponent<Omit<NumberFieldProps, "ref"> & react.RefAttributes<HTMLDivElement>>;
784
+ declare const NumberField: React$1.ForwardRefExoticComponent<Omit<NumberFieldProps, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
1764
785
 
1765
- interface OTPFieldProps extends Omit<OTPField$1.Root.Props, 'length' | 'onValueChange' | 'onValueComplete'> {
1766
- length?: number;
1767
- label?: string;
1768
- isDisabled?: boolean;
1769
- isReadOnly?: boolean;
1770
- isRequired?: boolean;
1771
- onChange?: (value: string) => void;
1772
- onComplete?: (value: string) => void;
1773
- }
1774
- declare const OTPFieldSeparator: react.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & react.RefAttributes<HTMLDivElement>>;
1775
- declare const OTPField: react.ForwardRefExoticComponent<Omit<OTPFieldProps, "ref"> & react.RefAttributes<HTMLDivElement>>;
1776
-
1777
- interface DialogTriggerProps {
1778
- children: ReactNode;
1779
- overlayType?: 'alert-dialog' | 'dialog' | 'popover';
1780
- isOpen?: boolean;
1781
- defaultOpen?: boolean;
1782
- onOpenChange?: (open: boolean) => void;
1783
- }
1784
- declare function DialogTrigger({ children, overlayType, isOpen, defaultOpen, onOpenChange, }: DialogTriggerProps): react_jsx_runtime.JSX.Element;
1785
- interface TooltipTriggerProps {
1786
- children: ReactNode;
1787
- delay?: number;
1788
- closeDelay?: number;
1789
- isOpen?: boolean;
1790
- defaultOpen?: boolean;
1791
- onOpenChange?: (open: boolean) => void;
1792
- isDisabled?: boolean;
1793
- }
1794
- declare function TooltipTrigger({ children, delay, closeDelay, isOpen, defaultOpen, onOpenChange, isDisabled, }: TooltipTriggerProps): react_jsx_runtime.JSX.Element;
1795
- interface MenuTriggerProps {
1796
- children: ReactNode;
1797
- isOpen?: boolean;
1798
- defaultOpen?: boolean;
1799
- onOpenChange?: (open: boolean) => void;
1800
- }
1801
- declare function MenuTrigger({ children, isOpen, defaultOpen, onOpenChange }: MenuTriggerProps): react_jsx_runtime.JSX.Element;
1802
- interface FileTriggerProps {
1803
- children: ReactElement;
1804
- acceptedFileTypes?: string[];
1805
- allowsMultiple?: boolean;
1806
- onSelect?: (files: FileList | null) => void;
1807
- }
1808
- declare function FileTrigger({ children, acceptedFileTypes, allowsMultiple, onSelect, }: FileTriggerProps): react_jsx_runtime.JSX.Element;
1809
- declare function Focusable({ children }: {
1810
- children: ReactElement;
1811
- }): ReactElement<any, string | react.JSXElementConstructor<any>>;
1812
- declare function Pressable({ children, onPress, }: {
1813
- children: ReactElement;
1814
- onPress?: (event: MouseEvent<HTMLElement>) => void;
1815
- }): ReactElement<{
1816
- onClick?: (event: MouseEvent<HTMLElement>) => void;
1817
- }, string | react.JSXElementConstructor<any>>;
1818
- declare function RouterProvider({ children }: {
786
+ interface RowProps extends FlexboxProps {
1819
787
  children?: ReactNode;
1820
- }): ReactNode;
788
+ reverse?: boolean;
789
+ }
790
+ declare function Row({ reverse, children, ...props }: RowProps): react_jsx_runtime.JSX.Element;
1821
791
 
1822
792
  interface PageHeaderProps extends RowProps {
1823
793
  children?: ReactNode;
@@ -1834,427 +804,86 @@ interface PageHeaderActionsProps extends RowProps {
1834
804
  }
1835
805
  declare function PageHeaderActions({ children, ...props }: PageHeaderActionsProps): react_jsx_runtime.JSX.Element;
1836
806
 
1837
- interface PaginationContentProps extends HTMLAttributes<HTMLUListElement> {
1838
- }
1839
- declare function PaginationContent({ className, ...props }: PaginationContentProps): react_jsx_runtime.JSX.Element;
1840
- interface PaginationItemProps extends HTMLAttributes<HTMLLIElement> {
1841
- }
1842
- declare function PaginationItem({ className, ...props }: PaginationItemProps): react_jsx_runtime.JSX.Element;
1843
- interface PaginationLinkProps extends Omit<ComponentProps<'a'>, 'color'> {
1844
- isActive?: boolean;
1845
- isDisabled?: boolean;
1846
- size?: ButtonProps['size'];
1847
- children?: ReactNode;
1848
- }
1849
- /** A pagination control rendered as an anchor but styled as a Button. */
1850
- declare function PaginationLink({ className, isActive, isDisabled, size, children, ...props }: PaginationLinkProps): react_jsx_runtime.JSX.Element;
1851
- interface PaginationNavProps extends PaginationLinkProps {
1852
- /** Visible label, hidden on small screens. */
1853
- text?: string;
1854
- }
1855
- declare function PaginationPrevious({ className, text, size, ...props }: PaginationNavProps): react_jsx_runtime.JSX.Element;
1856
- declare function PaginationNext({ className, text, size, ...props }: PaginationNavProps): react_jsx_runtime.JSX.Element;
1857
- interface PaginationEllipsisProps extends HTMLAttributes<HTMLSpanElement> {
1858
- }
1859
- declare function PaginationEllipsis({ className, ...props }: PaginationEllipsisProps): react_jsx_runtime.JSX.Element;
1860
- interface PaginationRenderLinkProps {
1861
- children?: ReactNode;
1862
- 'aria-current'?: 'page' | undefined;
1863
- 'aria-label'?: string;
1864
- onClick?: (event: MouseEvent) => void;
1865
- [key: string]: unknown;
1866
- }
1867
- interface PaginationProps extends Omit<HTMLAttributes<HTMLElement>, 'onChange'> {
1868
- pageCount?: number;
1869
- totalItems?: number;
1870
- pageSize?: number;
1871
- page?: number;
1872
- defaultPage?: number;
1873
- siblingCount?: number;
1874
- isDisabled?: boolean;
1875
- onChange?: (page: number) => void;
1876
- /**
1877
- * Render each page control with a router aware link. Receives the target page
1878
- * number and the props that must be spread onto the rendered element.
1879
- */
1880
- renderLink?: (page: number, props: PaginationRenderLinkProps) => ReactElement;
1881
- }
1882
- declare function Pagination({ pageCount, totalItems, pageSize, page, defaultPage, siblingCount, isDisabled, onChange, renderLink, className, ...props }: PaginationProps): react_jsx_runtime.JSX.Element;
1883
-
1884
- interface PasswordFieldProps extends InputHTMLAttributes<HTMLInputElement> {
1885
- label?: string;
1886
- isDisabled?: boolean;
1887
- isReadOnly?: boolean;
807
+ interface PasswordFieldProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'type' | 'children'> {
808
+ label?: ReactNode;
1888
809
  /** Controls whether the value is visible. Leave undefined for uncontrolled behavior. */
1889
- isRevealed?: boolean;
810
+ revealed?: boolean;
1890
811
  defaultRevealed?: boolean;
1891
- onRevealChange?: (revealed: boolean) => void;
1892
- }
1893
- declare const PasswordField: react.ForwardRefExoticComponent<PasswordFieldProps & react.RefAttributes<HTMLInputElement>>;
1894
-
1895
- interface PopoverProps extends Omit<Popover$1.Positioner.Props, 'children' | 'className'> {
1896
- children?: ReactNode;
1897
- isFullscreen?: boolean;
1898
- /** Controlled open state. Only used when the popover is not wrapped in a `DialogTrigger`. */
1899
- isOpen?: boolean;
1900
- /** Initial open state. Only used when the popover is not wrapped in a `DialogTrigger`. */
1901
- defaultOpen?: boolean;
1902
- isNonModal?: boolean;
1903
- triggerRef?: React.RefObject<Element | null>;
1904
- className?: string;
1905
- onOpenChange?: (open: boolean) => void;
1906
- }
1907
- declare function Popover({ children, isFullscreen, className, isOpen, defaultOpen, isNonModal, triggerRef: _triggerRef, onOpenChange, sideOffset, ...props }: PopoverProps): react_jsx_runtime.JSX.Element;
1908
- /** Explicit, shadcn-style parts. */
1909
- interface PopoverTriggerProps extends Popover$1.Trigger.Props {
1910
- }
1911
- declare function PopoverTrigger(props: PopoverTriggerProps): react_jsx_runtime.JSX.Element;
1912
- interface PopoverCloseProps extends Popover$1.Close.Props {
1913
- }
1914
- declare function PopoverClose(props: PopoverCloseProps): react_jsx_runtime.JSX.Element;
1915
- interface PopoverTitleProps extends Popover$1.Title.Props {
1916
- }
1917
- declare function PopoverTitle({ className, ...props }: PopoverTitleProps): react_jsx_runtime.JSX.Element;
1918
- interface PopoverDescriptionProps extends Popover$1.Description.Props {
1919
- }
1920
- declare function PopoverDescription({ className, ...props }: PopoverDescriptionProps): react_jsx_runtime.JSX.Element;
1921
-
1922
- declare const PreviewCard: <Payload>(props: PreviewCard$1.Root.Props<Payload>) => React.JSX.Element;
1923
- type PreviewCardProps = PreviewCard$1.Root.Props;
1924
- declare const PreviewCardTrigger: PreviewCard$1.Trigger;
1925
- type PreviewCardTriggerProps = PreviewCard$1.Trigger.Props;
1926
- interface PreviewCardContentProps extends PreviewCard$1.Popup.Props {
1927
- positionerProps?: PreviewCard$1.Positioner.Props;
1928
- portalProps?: PreviewCard$1.Portal.Props;
812
+ onRevealedChange?: (revealed: boolean) => void;
813
+ /** Called with the new string value. `onChange` is the native input event. */
814
+ onValueChange?: (value: string) => void;
1929
815
  }
1930
- declare const PreviewCardContent: react.ForwardRefExoticComponent<Omit<PreviewCardContentProps, "ref"> & react.RefAttributes<HTMLDivElement>>;
1931
-
1932
- interface ProgressTrackProps extends Progress.Track.Props {
1933
- }
1934
- declare function ProgressTrack({ className, ...props }: ProgressTrackProps): react_jsx_runtime.JSX.Element;
1935
- interface ProgressIndicatorProps extends Progress.Indicator.Props {
1936
- }
1937
- declare function ProgressIndicator({ className, ...props }: ProgressIndicatorProps): react_jsx_runtime.JSX.Element;
1938
- interface ProgressLabelProps extends Progress.Label.Props {
1939
- }
1940
- declare function ProgressLabel({ className, ...props }: ProgressLabelProps): react_jsx_runtime.JSX.Element;
1941
- interface ProgressValueProps extends Progress.Value.Props {
1942
- }
1943
- declare function ProgressValue({ className, ...props }: ProgressValueProps): react_jsx_runtime.JSX.Element;
1944
- interface ProgressBarProps extends ProgressRoot.Props {
1945
- showPercentage?: boolean;
1946
- label?: string;
1947
- }
1948
- declare function ProgressBar({ className, showPercentage, label, children, ...props }: ProgressBarProps): react_jsx_runtime.JSX.Element;
816
+ declare const PasswordField: React$1.ForwardRefExoticComponent<PasswordFieldProps & React$1.RefAttributes<HTMLInputElement>>;
1949
817
 
1950
818
  interface ProgressCircleProps extends ProgressRoot.Props {
1951
819
  showPercentage?: boolean;
1952
820
  }
1953
821
  declare function ProgressCircle({ className, showPercentage, value, min, max, ...props }: ProgressCircleProps): react_jsx_runtime.JSX.Element;
1954
822
 
1955
- interface RadioGroupProps extends Omit<RadioGroupProps$1, 'disabled' | 'readOnly' | 'onChange' | 'onValueChange'> {
1956
- children?: ReactNode;
1957
- label?: string;
1958
- isDisabled?: boolean;
1959
- isReadOnly?: boolean;
1960
- onChange?: (value: string) => void;
1961
- }
1962
- declare function RadioGroup({ label, children, className, isDisabled, isReadOnly, onChange, ...props }: RadioGroupProps): react_jsx_runtime.JSX.Element;
1963
- interface RadioProps extends Omit<RadioRoot.Props, 'disabled'> {
1964
- isDisabled?: boolean;
1965
- }
1966
- declare function Radio({ children, className, isDisabled, id, ...props }: RadioProps): react_jsx_runtime.JSX.Element;
1967
-
1968
- interface ResizablePanelGroupProps extends Omit<GroupProps, 'orientation'> {
1969
- direction?: 'horizontal' | 'vertical';
1970
- }
1971
- declare function ResizablePanelGroup({ direction, className, ...props }: ResizablePanelGroupProps): react_jsx_runtime.JSX.Element;
1972
- interface ResizablePanelProps extends PanelProps {
1973
- }
1974
- declare function ResizablePanel({ className, ...props }: ResizablePanelProps): react_jsx_runtime.JSX.Element;
1975
- interface ResizableHandleProps extends SeparatorProps$1 {
1976
- withHandle?: boolean;
1977
- }
1978
- declare function ResizableHandle({ withHandle, className, ...props }: ResizableHandleProps): react_jsx_runtime.JSX.Element;
1979
-
1980
- interface ScrollAreaProps extends ScrollArea$1.Root.Props {
1981
- maxHeight?: string | number;
1982
- orientation?: 'vertical' | 'horizontal' | 'both';
1983
- children?: ReactNode;
1984
- className?: string;
1985
- style?: CSSProperties;
1986
- }
1987
- declare function ScrollArea({ maxHeight, orientation, className, style, children, ...props }: ScrollAreaProps): react_jsx_runtime.JSX.Element;
1988
-
1989
- interface SearchFieldProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'onChange' | 'onSearch'> {
1990
- label?: string;
823
+ interface SearchFieldProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'type' | 'onSearch' | 'children'> {
824
+ label?: ReactNode;
825
+ /** Debounce delay in milliseconds for `onSearch`. */
1991
826
  delay?: number;
1992
- onChange?: (value: string) => void;
827
+ /** Called with the new string value on every change (and on clear). */
828
+ onValueChange?: (value: string) => void;
829
+ /** Called with the search term, debounced by `delay`. Fires immediately on Enter and clear. */
1993
830
  onSearch?: (value: string) => void;
1994
831
  }
1995
- declare const SearchField: react.ForwardRefExoticComponent<SearchFieldProps & react.RefAttributes<HTMLInputElement>>;
832
+ declare const SearchField: React$1.ForwardRefExoticComponent<SearchFieldProps & React$1.RefAttributes<HTMLInputElement>>;
1996
833
 
1997
- interface SelectValueRenderProps {
1998
- defaultChildren: ReactNode;
1999
- isPlaceholder: boolean;
2000
- }
2001
- interface SelectItemOption {
2002
- label: ReactNode;
2003
- value: string | number;
2004
- }
2005
- interface SelectProps extends Omit<Select$1.Root.Props<string | number>, 'children' | 'value' | 'defaultValue' | 'items' | 'disabled' | 'onValueChange'> {
2006
- children?: ReactNode;
2007
- items?: ReadonlyArray<string | number | SelectItemOption>;
2008
- value?: string | number;
2009
- defaultValue?: string | number;
2010
- label?: string;
2011
- placeholder?: string;
2012
- isLoading?: boolean;
2013
- /** Compat alias for the Base UI `disabled` prop. */
2014
- isDisabled?: boolean;
2015
- disabled?: boolean;
2016
- /** Size of the trigger. Emits `data-size` on the trigger element. */
2017
- size?: 'sm' | 'md';
2018
- allowSearch?: boolean;
2019
- searchValue?: string;
2020
- searchDelay?: number;
2021
- isFullscreen?: boolean;
2022
- /** When set, the list is wrapped in a `ScrollArea` capped at this height. */
2023
- maxHeight?: string | number;
2024
- showIcon?: boolean;
2025
- alignItemWithTrigger?: boolean;
2026
- onSearch?: (value: string) => void;
2027
- onChange?: (value: string | number | null) => void;
2028
- onValueChange?: Select$1.Root.Props<string | number>['onValueChange'];
2029
- triggerProps?: Select$1.Trigger.Props;
2030
- /** @deprecated Use `triggerProps` instead. */
2031
- buttonProps?: Select$1.Trigger.Props;
2032
- listProps?: ListProps;
2033
- popoverProps?: Select$1.Positioner.Props;
2034
- renderValue?: ReactNode | ((values: SelectValueRenderProps) => ReactNode);
2035
- className?: string;
2036
- }
2037
- declare function Select({ value, defaultValue, label, placeholder, isLoading, isDisabled, disabled, size, allowSearch, searchValue, searchDelay, isFullscreen, maxHeight, showIcon, alignItemWithTrigger, onSearch, onChange, onValueChange, triggerProps, buttonProps, listProps, popoverProps, renderValue, className, children, items, onOpenChange, id, ...props }: SelectProps): react_jsx_runtime.JSX.Element;
2038
-
2039
- interface SheetProps extends Dialog$1.Portal.Props {
2040
- children?: ReactNode;
2041
- side?: 'left' | 'right' | 'top' | 'bottom';
2042
- size?: string | number;
2043
- /** Controlled open state. Only used when the sheet is not wrapped in a `DialogTrigger`. */
2044
- isOpen?: boolean;
2045
- /** Initial open state. Only used when the sheet is not wrapped in a `DialogTrigger`. */
2046
- defaultOpen?: boolean;
2047
- onOpenChange?: (open: boolean) => void;
2048
- /**
2049
- * Renders a close button in the top-right corner. Defaults to `true` unless a `SheetHeader`
2050
- * (which renders its own close button) is present, so there is never more than one.
2051
- */
2052
- showCloseButton?: boolean;
2053
- className?: string;
2054
- style?: CSSProperties;
2055
- }
2056
- declare function Sheet({ side, size, children, className, style, isOpen, defaultOpen, onOpenChange, showCloseButton, ...props }: SheetProps): react_jsx_runtime.JSX.Element;
2057
- interface SheetHeaderProps {
2058
- title?: ReactNode;
2059
- showClose?: boolean;
2060
- className?: string;
2061
- children?: ReactNode;
2062
- }
2063
- declare function SheetHeader({ title, showClose, className, children }: SheetHeaderProps): react_jsx_runtime.JSX.Element;
2064
- /** Explicit, shadcn-style parts. */
2065
- interface SheetTriggerProps extends Dialog$1.Trigger.Props {
2066
- }
2067
- declare function SheetTrigger(props: SheetTriggerProps): react_jsx_runtime.JSX.Element;
2068
- interface SheetCloseProps extends Dialog$1.Close.Props {
2069
- }
2070
- declare function SheetClose(props: SheetCloseProps): react_jsx_runtime.JSX.Element;
2071
- interface SheetTitleProps extends Dialog$1.Title.Props {
2072
- }
2073
- declare function SheetTitle({ className, ...props }: SheetTitleProps): react_jsx_runtime.JSX.Element;
2074
- interface SheetDescriptionProps extends Dialog$1.Description.Props {
2075
- }
2076
- declare function SheetDescription({ className, ...props }: SheetDescriptionProps): react_jsx_runtime.JSX.Element;
2077
-
2078
- interface SkeletonProps extends BoxProps {
2079
- }
2080
- /**
2081
- * Placeholder block shown while content loads.
2082
- *
2083
- * Sizing can come either from the `width`/`height`/`borderRadius` props or from
2084
- * utility classes passed via `className` (e.g. `className="size-10 rounded-full"`).
2085
- */
2086
- declare function Skeleton({ borderRadius, className, ...props }: SkeletonProps): react_jsx_runtime.JSX.Element;
2087
- interface SkeletonTextProps extends ColumnProps {
2088
- lines?: number;
2089
- lastLineWidth?: BoxProps['width'];
2090
- lineHeight?: BoxProps['height'];
2091
- }
2092
- declare function SkeletonText({ lines, lastLineWidth, lineHeight, ...props }: SkeletonTextProps): react_jsx_runtime.JSX.Element;
2093
- interface SkeletonAvatarProps extends Omit<SkeletonProps, 'width' | 'height' | 'borderRadius'> {
2094
- size?: 'sm' | 'md' | 'lg';
2095
- }
2096
- declare function SkeletonAvatar({ size, ...props }: SkeletonAvatarProps): react_jsx_runtime.JSX.Element;
2097
-
2098
- type SliderValue = number | number[];
2099
- interface SliderProps extends Omit<Slider$1.Root.Props<SliderValue>, 'disabled' | 'onChange' | 'onValueChange' | 'onValueCommitted'> {
2100
- className?: string;
2101
- label?: ReactNode;
2102
- showValue?: boolean;
2103
- isDisabled?: boolean;
2104
- onChange?: (value: SliderValue) => void;
2105
- onChangeEnd?: (value: SliderValue) => void;
2106
- }
2107
- declare function Slider({ className, showValue, label, isDisabled, onChange, onChangeEnd, value, defaultValue, min, max, orientation, ...props }: SliderProps): react_jsx_runtime.JSX.Element;
2108
-
2109
- interface SpinnerProps extends HTMLAttributes<HTMLDivElement> {
2110
- size?: 'sm' | 'md' | 'lg';
2111
- quiet?: boolean;
2112
- isDisabled?: boolean;
2113
- }
2114
- declare function Spinner(props: SpinnerProps): react_jsx_runtime.JSX.Element;
2115
-
2116
- interface StatusLightProps {
834
+ type StatusLightVariant = 'success' | 'warning' | 'destructive' | 'info' | 'muted';
835
+ interface StatusLightProps extends HTMLAttributes<HTMLSpanElement> {
836
+ /** Status color of the dot. Defaults to `muted`. */
837
+ variant?: StatusLightVariant;
838
+ /** Any CSS color for the dot. Overrides `variant`. */
2117
839
  color?: string;
2118
- variant?: 'info' | 'success' | 'warning' | 'error' | 'active' | 'inactive' | 'none';
2119
- className?: string;
2120
- children?: ReactNode;
2121
840
  }
2122
- declare function StatusLight(props: StatusLightProps): react_jsx_runtime.JSX.Element;
2123
-
2124
- declare const switchVariants: tailwind_variants.TVReturnType<{
2125
- size: {
2126
- sm: {
2127
- root: string;
2128
- thumb: string;
2129
- };
2130
- md: {
2131
- root: string;
2132
- thumb: string;
2133
- };
2134
- };
2135
- }, {
2136
- root: string[];
2137
- thumb: string[];
2138
- }, undefined, {
2139
- size: {
2140
- sm: {
2141
- root: string;
2142
- thumb: string;
2143
- };
2144
- md: {
2145
- root: string;
2146
- thumb: string;
2147
- };
2148
- };
2149
- }, {
2150
- root: string[];
2151
- thumb: string[];
2152
- }, tailwind_variants.TVReturnType<{
2153
- size: {
2154
- sm: {
2155
- root: string;
2156
- thumb: string;
2157
- };
2158
- md: {
2159
- root: string;
2160
- thumb: string;
2161
- };
2162
- };
2163
- }, {
2164
- root: string[];
2165
- thumb: string[];
2166
- }, undefined, unknown, unknown, undefined>>;
2167
- type SwitchVariants = VariantProps<typeof switchVariants>;
2168
- interface SwitchProps extends Omit<Switch$1.Root.Props, 'checked' | 'defaultChecked' | 'disabled' | 'onCheckedChange' | 'value'>, SwitchVariants {
2169
- className?: string;
2170
- children?: ReactNode;
2171
- label?: string;
2172
- /**
2173
- * When a `boolean`, acts as a deprecated alias for `isSelected`. When a `string`, it is
2174
- * forwarded to the underlying input as the form value. Prefer `isSelected` for checked state.
2175
- */
2176
- value?: string | boolean;
2177
- isSelected?: boolean;
2178
- defaultSelected?: boolean;
2179
- isDisabled?: boolean;
2180
- onChange?: (selected: boolean) => void;
2181
- }
2182
- declare function Switch({ label, children, className, size, isSelected, defaultSelected, isDisabled, onChange, value, id, ...props }: SwitchProps): react_jsx_runtime.JSX.Element;
841
+ declare function StatusLight({ variant, color, className, children, ...props }: StatusLightProps): react_jsx_runtime.JSX.Element;
2183
842
 
2184
- type TabListVariant = 'line' | 'default';
2185
- interface TabsProps extends Omit<Tabs$1.Root.Props, 'value' | 'defaultValue' | 'onValueChange'> {
2186
- children?: ReactNode;
2187
- /** Controlled value. Alias of `value`. */
2188
- selectedKey?: string;
2189
- value?: string;
2190
- /** Uncontrolled value. Alias of `defaultValue`. */
2191
- defaultSelectedKey?: string;
2192
- defaultValue?: string;
2193
- onSelectionChange?: (key: string) => void;
2194
- onValueChange?: Tabs$1.Root.Props['onValueChange'];
2195
- }
2196
- interface TabListProps extends Tabs$1.List.Props {
2197
- children?: ReactNode;
2198
- /**
2199
- * `line` renders an underlined tab list with an animated indicator.
2200
- * `default` renders a pill-style segmented control.
2201
- *
2202
- * @default 'line'
2203
- */
2204
- variant?: TabListVariant;
2205
- }
2206
- interface TabProps extends Omit<Tabs$1.Tab.Props, 'value' | 'disabled'> {
2207
- id?: string;
2208
- value?: string;
2209
- isDisabled?: boolean;
2210
- href?: string;
2211
- }
2212
- interface TabPanelProps extends Omit<Tabs$1.Panel.Props, 'value'> {
2213
- id?: string;
2214
- value?: string;
2215
- }
2216
- declare function Tabs({ children, className, selectedKey, value, defaultSelectedKey, defaultValue, orientation, onSelectionChange, onValueChange, ...props }: TabsProps): react_jsx_runtime.JSX.Element;
2217
- declare function TabList({ children, className, variant, ...props }: TabListProps): react_jsx_runtime.JSX.Element;
2218
- interface TabIndicatorProps extends Tabs$1.Indicator.Props {
2219
- }
2220
- declare function TabIndicator({ className, ...props }: TabIndicatorProps): react_jsx_runtime.JSX.Element;
2221
- declare function Tab({ id, value, isDisabled, href, children, className, ...props }: TabProps): react_jsx_runtime.JSX.Element;
2222
- declare function TabPanel({ id, value, children, className, ...props }: TabPanelProps): react_jsx_runtime.JSX.Element;
843
+ declare const badgeVariants: (props?: ({
844
+ variant?: "destructive" | "secondary" | "default" | "link" | "outline" | "ghost" | null | undefined;
845
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
846
+ declare function Badge({ className, variant, render, ...props }: useRender.ComponentProps<"span"> & VariantProps<typeof badgeVariants>): React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>>;
2223
847
 
2224
- interface TagGroupProps extends HTMLAttributes<HTMLDivElement> {
2225
- label?: string;
2226
- children?: ReactNode;
2227
- onRemove?: (keys: Set<Key>) => void;
848
+ interface TagGroupProps extends ComponentProps<'div'> {
849
+ label?: ReactNode;
850
+ /** Makes tags removable. Called with the removed tag's `value`. */
851
+ onRemove?: (value: string) => void;
2228
852
  }
2229
853
  declare function TagGroup({ label, children, className, onRemove, ...props }: TagGroupProps): react_jsx_runtime.JSX.Element;
2230
- interface TagProps extends Omit<LiHTMLAttributes<HTMLLIElement>, 'id'>, TagVariants {
2231
- id?: string | number;
2232
- children?: ReactNode;
2233
- isDisabled?: boolean;
854
+ interface TagProps extends Omit<ComponentProps<'li'>, 'value'> {
855
+ /** Identifies the tag in `onRemove`. Defaults to the text content when it is a string. */
856
+ value?: string;
857
+ variant?: ComponentProps<typeof Badge>['variant'];
858
+ disabled?: boolean;
2234
859
  }
2235
- declare function Tag({ id, variant, children, className, isDisabled, ...props }: TagProps): react_jsx_runtime.JSX.Element;
860
+ declare function Tag({ value, variant, children, className, disabled, onKeyDown, ...props }: TagProps): react_jsx_runtime.JSX.Element;
2236
861
 
2237
- type NativeFieldProps = Omit<InputHTMLAttributes<HTMLInputElement> & TextareaHTMLAttributes<HTMLTextAreaElement>, 'onChange'>;
862
+ type FieldElement = HTMLInputElement | HTMLTextAreaElement;
863
+ type NativeFieldProps = Omit<InputHTMLAttributes<HTMLInputElement> & TextareaHTMLAttributes<HTMLTextAreaElement>, 'onChange' | 'children'>;
2238
864
  interface TextFieldProps extends NativeFieldProps {
2239
- label?: string;
865
+ label?: ReactNode;
2240
866
  description?: ReactNode;
2241
867
  error?: ReactNode;
2242
- placeholder?: string;
2243
868
  allowCopy?: boolean;
2244
869
  asTextArea?: boolean;
2245
870
  resize?: 'vertical' | 'horizontal' | 'both' | 'none';
2246
- variant?: 'quiet' | 'none';
2247
- isReadOnly?: boolean;
2248
- isDisabled?: boolean;
2249
- onChange?: (value: any) => void;
871
+ variant?: 'default' | 'quiet';
872
+ /** Native change event from the underlying `<input>` / `<textarea>`. */
873
+ onChange?: (event: ChangeEvent<FieldElement>) => void;
874
+ /** Called with the new string value. */
875
+ onValueChange?: (value: string) => void;
2250
876
  }
2251
- type FieldElement = HTMLInputElement | HTMLTextAreaElement;
2252
- declare const TextField: react.ForwardRefExoticComponent<TextFieldProps & react.RefAttributes<FieldElement>>;
877
+ declare const TextField: React$1.ForwardRefExoticComponent<TextFieldProps & React$1.RefAttributes<FieldElement>>;
2253
878
 
2254
- interface ThemeButtonProps extends Omit<ButtonProps, 'target'> {
879
+ interface ThemeButtonProps extends Omit<ComponentProps<typeof Button>, 'children'> {
880
+ /**
881
+ * Scope the theme to this element instead of the document. The button toggles the
882
+ * `dark` class on the target only.
883
+ */
2255
884
  target?: RefObject<HTMLElement | null> | HTMLElement;
2256
885
  }
2257
- declare function ThemeButton({ className, variant, target, onPress, ...props }: ThemeButtonProps): react_jsx_runtime.JSX.Element;
886
+ declare function ThemeButton({ className, variant, size, target, onClick, ...props }: ThemeButtonProps): react_jsx_runtime.JSX.Element;
2258
887
 
2259
888
  type ThemeMode = 'light' | 'dark' | 'system';
2260
889
  interface ThemeSwitcherProps {
@@ -2262,86 +891,15 @@ interface ThemeSwitcherProps {
2262
891
  }
2263
892
  declare function ThemeSwitcher({ className }: ThemeSwitcherProps): react_jsx_runtime.JSX.Element;
2264
893
 
2265
- declare const toggleVariants: tailwind_variants.TVReturnType<{
2266
- variant: {
2267
- default: string;
2268
- outline: string;
2269
- /** @deprecated Kept for backward compatibility with `<ToggleGroup variant="primary" />`. */
2270
- primary: string[];
2271
- };
2272
- size: {
2273
- sm: string;
2274
- md: string;
2275
- lg: string;
2276
- };
2277
- }, undefined, string[], {
2278
- variant: {
2279
- default: string;
2280
- outline: string;
2281
- /** @deprecated Kept for backward compatibility with `<ToggleGroup variant="primary" />`. */
2282
- primary: string[];
2283
- };
2284
- size: {
2285
- sm: string;
2286
- md: string;
2287
- lg: string;
2288
- };
2289
- }, undefined, tailwind_variants.TVReturnType<{
2290
- variant: {
2291
- default: string;
2292
- outline: string;
2293
- /** @deprecated Kept for backward compatibility with `<ToggleGroup variant="primary" />`. */
2294
- primary: string[];
2295
- };
2296
- size: {
2297
- sm: string;
2298
- md: string;
2299
- lg: string;
2300
- };
2301
- }, undefined, string[], unknown, unknown, undefined>>;
2302
- type ToggleVariants = VariantProps<typeof toggleVariants>;
2303
- interface ToggleProps extends Omit<ToggleProps$1<string>, 'defaultValue' | 'onChange'>, ToggleVariants {
2304
- className?: string;
2305
- label?: string;
2306
- value?: string;
2307
- isSelected?: boolean;
2308
- defaultSelected?: boolean;
2309
- isDisabled?: boolean;
2310
- onChange?: (selected: boolean) => void;
2311
- }
2312
- declare function Toggle({ label, children, className, variant, size, pressed, defaultPressed, disabled, isSelected, defaultSelected, isDisabled, onChange, onPressedChange, ...props }: ToggleProps): react_jsx_runtime.JSX.Element;
2313
-
2314
- interface ToggleGroupProps extends Omit<ToggleGroupProps$1<string>, 'value' | 'defaultValue' | 'onChange' | 'onValueChange'>, ToggleVariants {
2315
- label?: string;
2316
- value?: string[];
2317
- defaultValue?: string[];
2318
- /** Gap between items, in Tailwind spacing units. `0` renders a joined group. */
2319
- spacing?: number;
2320
- orientation?: 'horizontal' | 'vertical';
2321
- onChange?: (value: string[]) => void;
2322
- selectionMode?: 'single' | 'multiple';
2323
- selectedKeys?: Iterable<string>;
2324
- defaultSelectedKeys?: Iterable<string>;
2325
- onSelectionChange?: (value: Selection) => void;
2326
- }
2327
- declare function ToggleGroup({ label, value, defaultValue, variant, size, spacing, orientation, onChange, className, children, selectionMode, selectedKeys, defaultSelectedKeys, onSelectionChange, ...props }: ToggleGroupProps): react_jsx_runtime.JSX.Element;
2328
- interface ToggleGroupItemProps extends Omit<ToggleProps$1<string>, 'disabled'>, ToggleVariants {
2329
- id?: string;
2330
- isDisabled?: boolean;
2331
- }
2332
- declare function ToggleGroupItem({ id, className, children, variant, size, isDisabled, ...props }: ToggleGroupItemProps): react_jsx_runtime.JSX.Element;
2333
-
2334
- interface ToolbarProps extends Omit<Toolbar$1.Root.Props, 'disabled'> {
2335
- isDisabled?: boolean;
894
+ interface ToolbarProps extends Toolbar$1.Root.Props {
2336
895
  children?: ReactNode;
2337
896
  }
2338
- declare function Toolbar({ isDisabled, orientation, className, children, ...props }: ToolbarProps): react_jsx_runtime.JSX.Element;
897
+ declare function Toolbar({ className, children, ...props }: ToolbarProps): react_jsx_runtime.JSX.Element;
2339
898
  interface ToolbarGroupProps extends Toolbar$1.Group.Props {
2340
899
  children?: ReactNode;
2341
900
  }
2342
901
  declare function ToolbarGroup({ className, children, ...props }: ToolbarGroupProps): react_jsx_runtime.JSX.Element;
2343
- interface ToolbarButtonProps extends Omit<Toolbar$1.Button.Props, 'className'>, ButtonVariants {
2344
- isDisabled?: boolean;
902
+ interface ToolbarButtonProps extends Omit<Toolbar$1.Button.Props, 'className'>, VariantProps<typeof buttonVariants> {
2345
903
  className?: string;
2346
904
  children?: ReactNode;
2347
905
  }
@@ -2349,7 +907,7 @@ interface ToolbarButtonProps extends Omit<Toolbar$1.Button.Props, 'className'>,
2349
907
  * A toolbar item styled like a `Button`. The button styles are applied directly
2350
908
  * to the Base UI toolbar button so no nested interactive element is rendered.
2351
909
  */
2352
- declare function ToolbarButton({ isDisabled, disabled, variant, size, className, children, ...props }: ToolbarButtonProps): react_jsx_runtime.JSX.Element;
910
+ declare function ToolbarButton({ variant, size, className, children, ...props }: ToolbarButtonProps): react_jsx_runtime.JSX.Element;
2353
911
  interface ToolbarLinkProps extends Toolbar$1.Link.Props {
2354
912
  children?: ReactNode;
2355
913
  }
@@ -2370,10 +928,10 @@ interface ToastProps extends HTMLAttributes<HTMLDivElement> {
2370
928
  title?: string;
2371
929
  actions?: string[];
2372
930
  allowClose?: boolean;
2373
- variant?: 'success' | 'error';
931
+ variant?: ToastVariant;
2374
932
  onClose?: (action?: string) => void;
2375
933
  }
2376
- declare function Toast({ id, message, title, actions, allowClose, variant, className, children, onClose, color: _color, ...props }: ToastProps): react_jsx_runtime.JSX.Element;
934
+ declare function Toast({ id, message, title, actions, allowClose, variant, className, children, onClose, ...props }: ToastProps): react_jsx_runtime.JSX.Element;
2377
935
 
2378
936
  type ToastPosition = 'top-left' | 'top' | 'top-right' | 'bottom-left' | 'bottom' | 'bottom-right' | 'left' | 'right';
2379
937
  interface ToasterProps {
@@ -2385,26 +943,464 @@ declare function Toaster({ duration, position }: ToasterProps): react_jsx_runtim
2385
943
  interface ToastProviderProps extends ToasterProps {
2386
944
  children: ReactNode;
2387
945
  }
2388
- declare const ToastContext: react.Context<{}>;
946
+ declare const ToastContext: React$1.Context<{}>;
2389
947
  declare function ToastProvider({ children, ...props }: ToastProviderProps): react_jsx_runtime.JSX.Element;
2390
948
 
2391
- interface ZenTooltipConfig {
2392
- /** How long to wait before opening a tooltip on hover, in milliseconds. */
2393
- delay?: number;
2394
- /** How long to wait before closing a tooltip, in milliseconds. */
2395
- closeDelay?: number;
2396
- /** Window in which an adjacent tooltip opens instantly, in milliseconds. */
2397
- timeout?: number;
2398
- }
949
+ declare function Accordion({ className, ...props }: Accordion$1.Root.Props): react_jsx_runtime.JSX.Element;
950
+ declare function AccordionItem({ className, ...props }: Accordion$1.Item.Props): react_jsx_runtime.JSX.Element;
951
+ declare function AccordionTrigger({ className, children, ...props }: Accordion$1.Trigger.Props): react_jsx_runtime.JSX.Element;
952
+ declare function AccordionContent({ className, children, ...props }: Accordion$1.Panel.Props): react_jsx_runtime.JSX.Element;
953
+
954
+ declare const alertVariants: (props?: ({
955
+ variant?: "destructive" | "default" | null | undefined;
956
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
957
+ declare function Alert({ className, variant, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof alertVariants>): react_jsx_runtime.JSX.Element;
958
+ declare function AlertTitle({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
959
+ declare function AlertDescription({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
960
+ declare function AlertAction({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
961
+
962
+ declare function AlertDialog({ ...props }: AlertDialog$1.Root.Props): react_jsx_runtime.JSX.Element;
963
+ declare function AlertDialogTrigger({ ...props }: AlertDialog$1.Trigger.Props): react_jsx_runtime.JSX.Element;
964
+ declare function AlertDialogPortal({ ...props }: AlertDialog$1.Portal.Props): react_jsx_runtime.JSX.Element;
965
+ declare function AlertDialogOverlay({ className, ...props }: AlertDialog$1.Backdrop.Props): react_jsx_runtime.JSX.Element;
966
+ declare function AlertDialogContent({ className, size, ...props }: AlertDialog$1.Popup.Props & {
967
+ size?: "default" | "sm";
968
+ }): react_jsx_runtime.JSX.Element;
969
+ declare function AlertDialogHeader({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
970
+ declare function AlertDialogFooter({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
971
+ declare function AlertDialogMedia({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
972
+ declare function AlertDialogTitle({ className, ...props }: React$1.ComponentProps<typeof AlertDialog$1.Title>): react_jsx_runtime.JSX.Element;
973
+ declare function AlertDialogDescription({ className, ...props }: React$1.ComponentProps<typeof AlertDialog$1.Description>): react_jsx_runtime.JSX.Element;
974
+ declare function AlertDialogAction({ className, ...props }: React$1.ComponentProps<typeof Button>): react_jsx_runtime.JSX.Element;
975
+ declare function AlertDialogCancel({ className, variant, size, ...props }: AlertDialog$1.Close.Props & Pick<React$1.ComponentProps<typeof Button>, "variant" | "size">): react_jsx_runtime.JSX.Element;
976
+
977
+ declare function AspectRatio({ ratio, className, ...props }: React.ComponentProps<"div"> & {
978
+ ratio: number;
979
+ }): react_jsx_runtime.JSX.Element;
980
+
981
+ declare function Avatar({ className, size, ...props }: Avatar$1.Root.Props & {
982
+ size?: "default" | "sm" | "lg";
983
+ }): react_jsx_runtime.JSX.Element;
984
+ declare function AvatarImage({ className, ...props }: Avatar$1.Image.Props): react_jsx_runtime.JSX.Element;
985
+ declare function AvatarFallback({ className, ...props }: Avatar$1.Fallback.Props): react_jsx_runtime.JSX.Element;
986
+ declare function AvatarBadge({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
987
+ declare function AvatarGroup({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
988
+ declare function AvatarGroupCount({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
989
+
990
+ declare function Breadcrumb({ className, ...props }: React$1.ComponentProps<"nav">): react_jsx_runtime.JSX.Element;
991
+ declare function BreadcrumbList({ className, ...props }: React$1.ComponentProps<"ol">): react_jsx_runtime.JSX.Element;
992
+ declare function BreadcrumbItem({ className, ...props }: React$1.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
993
+ declare function BreadcrumbLink({ className, render, ...props }: useRender.ComponentProps<"a">): React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>>;
994
+ declare function BreadcrumbPage({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
995
+ declare function BreadcrumbSeparator({ children, className, ...props }: React$1.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
996
+ declare function BreadcrumbEllipsis({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
997
+
998
+ declare function Separator({ className, orientation, ...props }: Separator$1.Props): react_jsx_runtime.JSX.Element;
999
+
1000
+ declare const buttonGroupVariants: (props?: ({
1001
+ orientation?: "horizontal" | "vertical" | null | undefined;
1002
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
1003
+ declare function ButtonGroup({ className, orientation, ...props }: React.ComponentProps<"div"> & VariantProps<typeof buttonGroupVariants>): react_jsx_runtime.JSX.Element;
1004
+ declare function ButtonGroupText({ className, render, ...props }: useRender.ComponentProps<"div">): React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>>;
1005
+ declare function ButtonGroupSeparator({ className, orientation, ...props }: React.ComponentProps<typeof Separator>): react_jsx_runtime.JSX.Element;
1006
+
1007
+ declare function Card({ className, size, ...props }: React$1.ComponentProps<"div"> & {
1008
+ size?: "default" | "sm";
1009
+ }): react_jsx_runtime.JSX.Element;
1010
+ declare function CardHeader({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
1011
+ declare function CardTitle({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
1012
+ declare function CardDescription({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
1013
+ declare function CardAction({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
1014
+ declare function CardContent({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
1015
+ declare function CardFooter({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
1016
+
1017
+ type CarouselApi = UseEmblaCarouselType[1];
1018
+ type UseCarouselParameters = Parameters<typeof useEmblaCarousel>;
1019
+ type CarouselOptions = UseCarouselParameters[0];
1020
+ type CarouselPlugin = UseCarouselParameters[1];
1021
+ type CarouselProps = {
1022
+ opts?: CarouselOptions;
1023
+ plugins?: CarouselPlugin;
1024
+ orientation?: "horizontal" | "vertical";
1025
+ setApi?: (api: CarouselApi) => void;
1026
+ };
1027
+ type CarouselContextProps = {
1028
+ carouselRef: ReturnType<typeof useEmblaCarousel>[0];
1029
+ api: ReturnType<typeof useEmblaCarousel>[1];
1030
+ scrollPrev: () => void;
1031
+ scrollNext: () => void;
1032
+ canScrollPrev: boolean;
1033
+ canScrollNext: boolean;
1034
+ } & CarouselProps;
1035
+ declare function useCarousel(): CarouselContextProps;
1036
+ declare function Carousel({ orientation, opts, setApi, plugins, className, children, ...props }: React$1.ComponentProps<"div"> & CarouselProps): react_jsx_runtime.JSX.Element;
1037
+ declare function CarouselContent({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
1038
+ declare function CarouselItem({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
1039
+ declare function CarouselPrevious({ className, variant, size, ...props }: React$1.ComponentProps<typeof Button>): react_jsx_runtime.JSX.Element;
1040
+ declare function CarouselNext({ className, variant, size, ...props }: React$1.ComponentProps<typeof Button>): react_jsx_runtime.JSX.Element;
1041
+
1042
+ declare function Checkbox({ className, ...props }: Checkbox$1.Root.Props): react_jsx_runtime.JSX.Element;
1043
+
1044
+ declare function Collapsible({ ...props }: Collapsible$1.Root.Props): react_jsx_runtime.JSX.Element;
1045
+ declare function CollapsibleTrigger({ ...props }: Collapsible$1.Trigger.Props): react_jsx_runtime.JSX.Element;
1046
+ declare function CollapsibleContent({ ...props }: Collapsible$1.Panel.Props): react_jsx_runtime.JSX.Element;
1047
+
1048
+ declare const Combobox: typeof Combobox$1.Root;
1049
+ declare function ComboboxValue({ ...props }: Combobox$1.Value.Props): react_jsx_runtime.JSX.Element;
1050
+ declare function ComboboxTrigger({ className, children, ...props }: Combobox$1.Trigger.Props): react_jsx_runtime.JSX.Element;
1051
+ declare function ComboboxInput({ className, children, disabled, showTrigger, showClear, ...props }: Combobox$1.Input.Props & {
1052
+ showTrigger?: boolean;
1053
+ showClear?: boolean;
1054
+ }): react_jsx_runtime.JSX.Element;
1055
+ declare function ComboboxContent({ className, side, sideOffset, align, alignOffset, anchor, ...props }: Combobox$1.Popup.Props & Pick<Combobox$1.Positioner.Props, "side" | "align" | "sideOffset" | "alignOffset" | "anchor">): react_jsx_runtime.JSX.Element;
1056
+ declare function ComboboxList({ className, ...props }: Combobox$1.List.Props): react_jsx_runtime.JSX.Element;
1057
+ declare function ComboboxItem({ className, children, ...props }: Combobox$1.Item.Props): react_jsx_runtime.JSX.Element;
1058
+ declare function ComboboxGroup({ className, ...props }: Combobox$1.Group.Props): react_jsx_runtime.JSX.Element;
1059
+ declare function ComboboxLabel({ className, ...props }: Combobox$1.GroupLabel.Props): react_jsx_runtime.JSX.Element;
1060
+ declare function ComboboxCollection({ ...props }: Combobox$1.Collection.Props): react_jsx_runtime.JSX.Element;
1061
+ declare function ComboboxEmpty({ className, ...props }: Combobox$1.Empty.Props): react_jsx_runtime.JSX.Element;
1062
+ declare function ComboboxSeparator({ className, ...props }: Combobox$1.Separator.Props): react_jsx_runtime.JSX.Element;
1063
+ declare function ComboboxChips({ className, ...props }: React$1.ComponentPropsWithRef<typeof Combobox$1.Chips> & Combobox$1.Chips.Props): react_jsx_runtime.JSX.Element;
1064
+ declare function ComboboxChip({ className, children, showRemove, ...props }: Combobox$1.Chip.Props & {
1065
+ showRemove?: boolean;
1066
+ }): react_jsx_runtime.JSX.Element;
1067
+ declare function ComboboxChipsInput({ className, ...props }: Combobox$1.Input.Props): react_jsx_runtime.JSX.Element;
1068
+ declare function useComboboxAnchor(): React$1.RefObject<HTMLDivElement | null>;
1069
+
1070
+ declare function Dialog({ ...props }: Dialog$1.Root.Props): react_jsx_runtime.JSX.Element;
1071
+ declare function DialogTrigger({ ...props }: Dialog$1.Trigger.Props): react_jsx_runtime.JSX.Element;
1072
+ declare function DialogPortal({ ...props }: Dialog$1.Portal.Props): react_jsx_runtime.JSX.Element;
1073
+ declare function DialogClose({ ...props }: Dialog$1.Close.Props): react_jsx_runtime.JSX.Element;
1074
+ declare function DialogOverlay({ className, ...props }: Dialog$1.Backdrop.Props): react_jsx_runtime.JSX.Element;
1075
+ declare function DialogContent({ className, children, showCloseButton, ...props }: Dialog$1.Popup.Props & {
1076
+ showCloseButton?: boolean;
1077
+ }): react_jsx_runtime.JSX.Element;
1078
+ declare function DialogHeader({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
1079
+ declare function DialogFooter({ className, showCloseButton, children, ...props }: React$1.ComponentProps<"div"> & {
1080
+ showCloseButton?: boolean;
1081
+ }): react_jsx_runtime.JSX.Element;
1082
+ declare function DialogTitle({ className, ...props }: Dialog$1.Title.Props): react_jsx_runtime.JSX.Element;
1083
+ declare function DialogDescription({ className, ...props }: Dialog$1.Description.Props): react_jsx_runtime.JSX.Element;
1084
+
1085
+ declare function Command({ className, ...props }: React$1.ComponentProps<typeof Command$1>): react_jsx_runtime.JSX.Element;
1086
+ declare function CommandDialog({ title, description, children, className, showCloseButton, ...props }: Omit<React$1.ComponentProps<typeof Dialog>, "children"> & {
1087
+ title?: string;
1088
+ description?: string;
1089
+ className?: string;
1090
+ showCloseButton?: boolean;
1091
+ children: React$1.ReactNode;
1092
+ }): react_jsx_runtime.JSX.Element;
1093
+ declare function CommandInput({ className, ...props }: React$1.ComponentProps<typeof Command$1.Input>): react_jsx_runtime.JSX.Element;
1094
+ declare function CommandList({ className, ...props }: React$1.ComponentProps<typeof Command$1.List>): react_jsx_runtime.JSX.Element;
1095
+ declare function CommandEmpty({ className, ...props }: React$1.ComponentProps<typeof Command$1.Empty>): react_jsx_runtime.JSX.Element;
1096
+ declare function CommandGroup({ className, ...props }: React$1.ComponentProps<typeof Command$1.Group>): react_jsx_runtime.JSX.Element;
1097
+ declare function CommandSeparator({ className, ...props }: React$1.ComponentProps<typeof Command$1.Separator>): react_jsx_runtime.JSX.Element;
1098
+ declare function CommandItem({ className, children, ...props }: React$1.ComponentProps<typeof Command$1.Item>): react_jsx_runtime.JSX.Element;
1099
+ declare function CommandShortcut({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
1100
+
1101
+ declare function ContextMenu({ ...props }: ContextMenu$1.Root.Props): react_jsx_runtime.JSX.Element;
1102
+ declare function ContextMenuPortal({ ...props }: ContextMenu$1.Portal.Props): react_jsx_runtime.JSX.Element;
1103
+ declare function ContextMenuTrigger({ className, ...props }: ContextMenu$1.Trigger.Props): react_jsx_runtime.JSX.Element;
1104
+ declare function ContextMenuContent({ className, align, alignOffset, side, sideOffset, ...props }: ContextMenu$1.Popup.Props & Pick<ContextMenu$1.Positioner.Props, "align" | "alignOffset" | "side" | "sideOffset">): react_jsx_runtime.JSX.Element;
1105
+ declare function ContextMenuGroup({ ...props }: ContextMenu$1.Group.Props): react_jsx_runtime.JSX.Element;
1106
+ declare function ContextMenuLabel({ className, inset, ...props }: ContextMenu$1.GroupLabel.Props & {
1107
+ inset?: boolean;
1108
+ }): react_jsx_runtime.JSX.Element;
1109
+ declare function ContextMenuItem({ className, inset, variant, ...props }: ContextMenu$1.Item.Props & {
1110
+ inset?: boolean;
1111
+ variant?: "default" | "destructive";
1112
+ }): react_jsx_runtime.JSX.Element;
1113
+ declare function ContextMenuSub({ ...props }: ContextMenu$1.SubmenuRoot.Props): react_jsx_runtime.JSX.Element;
1114
+ declare function ContextMenuSubTrigger({ className, inset, children, ...props }: ContextMenu$1.SubmenuTrigger.Props & {
1115
+ inset?: boolean;
1116
+ }): react_jsx_runtime.JSX.Element;
1117
+ declare function ContextMenuSubContent({ ...props }: React$1.ComponentProps<typeof ContextMenuContent>): react_jsx_runtime.JSX.Element;
1118
+ declare function ContextMenuCheckboxItem({ className, children, checked, inset, ...props }: ContextMenu$1.CheckboxItem.Props & {
1119
+ inset?: boolean;
1120
+ }): react_jsx_runtime.JSX.Element;
1121
+ declare function ContextMenuRadioGroup({ ...props }: ContextMenu$1.RadioGroup.Props): react_jsx_runtime.JSX.Element;
1122
+ declare function ContextMenuRadioItem({ className, children, inset, ...props }: ContextMenu$1.RadioItem.Props & {
1123
+ inset?: boolean;
1124
+ }): react_jsx_runtime.JSX.Element;
1125
+ declare function ContextMenuSeparator({ className, ...props }: ContextMenu$1.Separator.Props): react_jsx_runtime.JSX.Element;
1126
+ declare function ContextMenuShortcut({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
1127
+
1128
+ declare function Drawer({ modal, showSwipeHandle, snapPoints, swipeDirection, ...props }: Drawer$1.Root.Props & {
1129
+ showSwipeHandle?: boolean;
1130
+ }): react_jsx_runtime.JSX.Element;
1131
+ declare function DrawerTrigger({ ...props }: Drawer$1.Trigger.Props): react_jsx_runtime.JSX.Element;
1132
+ declare function DrawerPortal({ ...props }: Drawer$1.Portal.Props): react_jsx_runtime.JSX.Element;
1133
+ declare function DrawerClose({ ...props }: Drawer$1.Close.Props): react_jsx_runtime.JSX.Element;
1134
+ declare function DrawerOverlay({ className, ...props }: Drawer$1.Backdrop.Props): react_jsx_runtime.JSX.Element;
1135
+ declare function DrawerSwipeHandle({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
1136
+ declare function DrawerContent({ className, children, ...props }: Drawer$1.Popup.Props): react_jsx_runtime.JSX.Element;
1137
+ declare function DrawerHeader({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
1138
+ declare function DrawerFooter({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
1139
+ declare function DrawerTitle({ className, ...props }: Drawer$1.Title.Props): react_jsx_runtime.JSX.Element;
1140
+ declare function DrawerDescription({ className, ...props }: Drawer$1.Description.Props): react_jsx_runtime.JSX.Element;
1141
+
1142
+ declare function DropdownMenu({ ...props }: Menu.Root.Props): react_jsx_runtime.JSX.Element;
1143
+ declare function DropdownMenuPortal({ ...props }: Menu.Portal.Props): react_jsx_runtime.JSX.Element;
1144
+ declare function DropdownMenuTrigger({ ...props }: Menu.Trigger.Props): react_jsx_runtime.JSX.Element;
1145
+ declare function DropdownMenuContent({ align, alignOffset, side, sideOffset, className, ...props }: Menu.Popup.Props & Pick<Menu.Positioner.Props, "align" | "alignOffset" | "side" | "sideOffset">): react_jsx_runtime.JSX.Element;
1146
+ declare function DropdownMenuGroup({ ...props }: Menu.Group.Props): react_jsx_runtime.JSX.Element;
1147
+ declare function DropdownMenuLabel({ className, inset, ...props }: Menu.GroupLabel.Props & {
1148
+ inset?: boolean;
1149
+ }): react_jsx_runtime.JSX.Element;
1150
+ declare function DropdownMenuItem({ className, inset, variant, ...props }: Menu.Item.Props & {
1151
+ inset?: boolean;
1152
+ variant?: "default" | "destructive";
1153
+ }): react_jsx_runtime.JSX.Element;
1154
+ declare function DropdownMenuSub({ ...props }: Menu.SubmenuRoot.Props): react_jsx_runtime.JSX.Element;
1155
+ declare function DropdownMenuSubTrigger({ className, inset, children, ...props }: Menu.SubmenuTrigger.Props & {
1156
+ inset?: boolean;
1157
+ }): react_jsx_runtime.JSX.Element;
1158
+ declare function DropdownMenuSubContent({ align, alignOffset, side, sideOffset, className, ...props }: React$1.ComponentProps<typeof DropdownMenuContent>): react_jsx_runtime.JSX.Element;
1159
+ declare function DropdownMenuCheckboxItem({ className, children, checked, inset, ...props }: Menu.CheckboxItem.Props & {
1160
+ inset?: boolean;
1161
+ }): react_jsx_runtime.JSX.Element;
1162
+ declare function DropdownMenuRadioGroup({ ...props }: Menu.RadioGroup.Props): react_jsx_runtime.JSX.Element;
1163
+ declare function DropdownMenuRadioItem({ className, children, inset, ...props }: Menu.RadioItem.Props & {
1164
+ inset?: boolean;
1165
+ }): react_jsx_runtime.JSX.Element;
1166
+ declare function DropdownMenuSeparator({ className, ...props }: Menu.Separator.Props): react_jsx_runtime.JSX.Element;
1167
+ declare function DropdownMenuShortcut({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
1168
+
1169
+ declare function Empty({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
1170
+ declare function EmptyHeader({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
1171
+ declare const emptyMediaVariants: (props?: ({
1172
+ variant?: "default" | "icon" | null | undefined;
1173
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
1174
+ declare function EmptyMedia({ className, variant, ...props }: React.ComponentProps<"div"> & VariantProps<typeof emptyMediaVariants>): react_jsx_runtime.JSX.Element;
1175
+ declare function EmptyTitle({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
1176
+ declare function EmptyDescription({ className, ...props }: React.ComponentProps<"p">): react_jsx_runtime.JSX.Element;
1177
+ declare function EmptyContent({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
1178
+
1179
+ declare function HoverCard({ ...props }: PreviewCard.Root.Props): react_jsx_runtime.JSX.Element;
1180
+ declare function HoverCardTrigger({ ...props }: PreviewCard.Trigger.Props): react_jsx_runtime.JSX.Element;
1181
+ declare function HoverCardContent({ className, side, sideOffset, align, alignOffset, ...props }: PreviewCard.Popup.Props & Pick<PreviewCard.Positioner.Props, "align" | "alignOffset" | "side" | "sideOffset">): react_jsx_runtime.JSX.Element;
1182
+
1183
+ declare function Input({ className, type, ...props }: React$1.ComponentProps<"input">): react_jsx_runtime.JSX.Element;
1184
+
1185
+ declare function InputGroup({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
1186
+ declare const inputGroupAddonVariants: (props?: ({
1187
+ align?: "inline-start" | "inline-end" | "block-start" | "block-end" | null | undefined;
1188
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
1189
+ declare function InputGroupAddon({ className, align, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof inputGroupAddonVariants>): react_jsx_runtime.JSX.Element;
1190
+ declare const inputGroupButtonVariants: (props?: ({
1191
+ size?: "sm" | "xs" | "icon-xs" | "icon-sm" | null | undefined;
1192
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
1193
+ declare function InputGroupButton({ className, type, variant, size, ...props }: Omit<React$1.ComponentProps<typeof Button>, "size" | "type"> & VariantProps<typeof inputGroupButtonVariants> & {
1194
+ type?: "button" | "submit" | "reset";
1195
+ }): react_jsx_runtime.JSX.Element;
1196
+ declare function InputGroupText({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
1197
+ declare function InputGroupInput({ className, ...props }: React$1.ComponentProps<"input">): react_jsx_runtime.JSX.Element;
1198
+ declare function InputGroupTextarea({ className, ...props }: React$1.ComponentProps<"textarea">): react_jsx_runtime.JSX.Element;
1199
+
1200
+ declare function InputOTP({ className, containerClassName, ...props }: React$1.ComponentProps<typeof OTPInput> & {
1201
+ containerClassName?: string;
1202
+ }): react_jsx_runtime.JSX.Element;
1203
+ declare function InputOTPGroup({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
1204
+ declare function InputOTPSlot({ index, className, ...props }: React$1.ComponentProps<"div"> & {
1205
+ index: number;
1206
+ }): react_jsx_runtime.JSX.Element;
1207
+ declare function InputOTPSeparator({ ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
1208
+
1209
+ declare function Kbd({ className, ...props }: React.ComponentProps<"kbd">): react_jsx_runtime.JSX.Element;
1210
+ declare function KbdGroup({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
1211
+
1212
+ declare function Menubar({ className, ...props }: Menubar$1.Props): react_jsx_runtime.JSX.Element;
1213
+ declare function MenubarMenu({ ...props }: React$1.ComponentProps<typeof DropdownMenu>): react_jsx_runtime.JSX.Element;
1214
+ declare function MenubarGroup({ ...props }: React$1.ComponentProps<typeof DropdownMenuGroup>): react_jsx_runtime.JSX.Element;
1215
+ declare function MenubarPortal({ ...props }: React$1.ComponentProps<typeof DropdownMenuPortal>): react_jsx_runtime.JSX.Element;
1216
+ declare function MenubarTrigger({ className, ...props }: React$1.ComponentProps<typeof DropdownMenuTrigger>): react_jsx_runtime.JSX.Element;
1217
+ declare function MenubarContent({ className, align, alignOffset, sideOffset, ...props }: React$1.ComponentProps<typeof DropdownMenuContent>): react_jsx_runtime.JSX.Element;
1218
+ declare function MenubarItem({ className, inset, variant, ...props }: React$1.ComponentProps<typeof DropdownMenuItem>): react_jsx_runtime.JSX.Element;
1219
+ declare function MenubarCheckboxItem({ className, children, checked, inset, ...props }: Menu.CheckboxItem.Props & {
1220
+ inset?: boolean;
1221
+ }): react_jsx_runtime.JSX.Element;
1222
+ declare function MenubarRadioGroup({ ...props }: React$1.ComponentProps<typeof DropdownMenuRadioGroup>): react_jsx_runtime.JSX.Element;
1223
+ declare function MenubarRadioItem({ className, children, inset, ...props }: Menu.RadioItem.Props & {
1224
+ inset?: boolean;
1225
+ }): react_jsx_runtime.JSX.Element;
1226
+ declare function MenubarLabel({ className, inset, ...props }: React$1.ComponentProps<typeof DropdownMenuLabel> & {
1227
+ inset?: boolean;
1228
+ }): react_jsx_runtime.JSX.Element;
1229
+ declare function MenubarSeparator({ className, ...props }: React$1.ComponentProps<typeof DropdownMenuSeparator>): react_jsx_runtime.JSX.Element;
1230
+ declare function MenubarShortcut({ className, ...props }: React$1.ComponentProps<typeof DropdownMenuShortcut>): react_jsx_runtime.JSX.Element;
1231
+ declare function MenubarSub({ ...props }: React$1.ComponentProps<typeof DropdownMenuSub>): react_jsx_runtime.JSX.Element;
1232
+ declare function MenubarSubTrigger({ className, inset, ...props }: React$1.ComponentProps<typeof DropdownMenuSubTrigger> & {
1233
+ inset?: boolean;
1234
+ }): react_jsx_runtime.JSX.Element;
1235
+ declare function MenubarSubContent({ className, ...props }: React$1.ComponentProps<typeof DropdownMenuSubContent>): react_jsx_runtime.JSX.Element;
1236
+
1237
+ declare function Pagination({ className, ...props }: React$1.ComponentProps<"nav">): react_jsx_runtime.JSX.Element;
1238
+ declare function PaginationContent({ className, ...props }: React$1.ComponentProps<"ul">): react_jsx_runtime.JSX.Element;
1239
+ declare function PaginationItem({ ...props }: React$1.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
1240
+ type PaginationLinkProps = {
1241
+ isActive?: boolean;
1242
+ } & Pick<React$1.ComponentProps<typeof Button>, "size"> & React$1.ComponentProps<"a">;
1243
+ declare function PaginationLink({ className, isActive, size, ...props }: PaginationLinkProps): react_jsx_runtime.JSX.Element;
1244
+ declare function PaginationPrevious({ className, text, ...props }: React$1.ComponentProps<typeof PaginationLink> & {
1245
+ text?: string;
1246
+ }): react_jsx_runtime.JSX.Element;
1247
+ declare function PaginationNext({ className, text, ...props }: React$1.ComponentProps<typeof PaginationLink> & {
1248
+ text?: string;
1249
+ }): react_jsx_runtime.JSX.Element;
1250
+ declare function PaginationEllipsis({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
1251
+
1252
+ declare function Popover({ ...props }: Popover$1.Root.Props): react_jsx_runtime.JSX.Element;
1253
+ declare function PopoverTrigger({ ...props }: Popover$1.Trigger.Props): react_jsx_runtime.JSX.Element;
1254
+ declare function PopoverContent({ className, align, alignOffset, side, sideOffset, ...props }: Popover$1.Popup.Props & Pick<Popover$1.Positioner.Props, "align" | "alignOffset" | "side" | "sideOffset">): react_jsx_runtime.JSX.Element;
1255
+ declare function PopoverHeader({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
1256
+ declare function PopoverTitle({ className, ...props }: Popover$1.Title.Props): react_jsx_runtime.JSX.Element;
1257
+ declare function PopoverDescription({ className, ...props }: Popover$1.Description.Props): react_jsx_runtime.JSX.Element;
1258
+
1259
+ declare function Progress({ className, children, value, ...props }: Progress$1.Root.Props): react_jsx_runtime.JSX.Element;
1260
+ declare function ProgressTrack({ className, ...props }: Progress$1.Track.Props): react_jsx_runtime.JSX.Element;
1261
+ declare function ProgressIndicator({ className, ...props }: Progress$1.Indicator.Props): react_jsx_runtime.JSX.Element;
1262
+ declare function ProgressLabel({ className, ...props }: Progress$1.Label.Props): react_jsx_runtime.JSX.Element;
1263
+ declare function ProgressValue({ className, ...props }: Progress$1.Value.Props): react_jsx_runtime.JSX.Element;
1264
+
1265
+ declare function RadioGroup({ className, ...props }: RadioGroup$1.Props): react_jsx_runtime.JSX.Element;
1266
+ declare function RadioGroupItem({ className, ...props }: Radio.Root.Props): react_jsx_runtime.JSX.Element;
1267
+
1268
+ declare function ResizablePanelGroup({ className, ...props }: ResizablePrimitive.GroupProps): react_jsx_runtime.JSX.Element;
1269
+ declare function ResizablePanel({ ...props }: ResizablePrimitive.PanelProps): react_jsx_runtime.JSX.Element;
1270
+ declare function ResizableHandle({ withHandle, className, ...props }: ResizablePrimitive.SeparatorProps & {
1271
+ withHandle?: boolean;
1272
+ }): react_jsx_runtime.JSX.Element;
1273
+
1274
+ declare function ScrollArea({ className, children, ...props }: ScrollArea$1.Root.Props): react_jsx_runtime.JSX.Element;
1275
+ declare function ScrollBar({ className, orientation, ...props }: ScrollArea$1.Scrollbar.Props): react_jsx_runtime.JSX.Element;
1276
+
1277
+ declare const Select: typeof Select$1.Root;
1278
+ declare function SelectGroup({ className, ...props }: Select$1.Group.Props): react_jsx_runtime.JSX.Element;
1279
+ declare function SelectValue({ className, ...props }: Select$1.Value.Props): react_jsx_runtime.JSX.Element;
1280
+ declare function SelectTrigger({ className, size, children, ...props }: Select$1.Trigger.Props & {
1281
+ size?: "sm" | "default";
1282
+ }): react_jsx_runtime.JSX.Element;
1283
+ declare function SelectContent({ className, children, side, sideOffset, align, alignOffset, alignItemWithTrigger, ...props }: Select$1.Popup.Props & Pick<Select$1.Positioner.Props, "align" | "alignOffset" | "side" | "sideOffset" | "alignItemWithTrigger">): react_jsx_runtime.JSX.Element;
1284
+ declare function SelectLabel({ className, ...props }: Select$1.GroupLabel.Props): react_jsx_runtime.JSX.Element;
1285
+ declare function SelectItem({ className, children, ...props }: Select$1.Item.Props): react_jsx_runtime.JSX.Element;
1286
+ declare function SelectSeparator({ className, ...props }: Select$1.Separator.Props): react_jsx_runtime.JSX.Element;
1287
+ declare function SelectScrollUpButton({ className, ...props }: React$1.ComponentProps<typeof Select$1.ScrollUpArrow>): react_jsx_runtime.JSX.Element;
1288
+ declare function SelectScrollDownButton({ className, ...props }: React$1.ComponentProps<typeof Select$1.ScrollDownArrow>): react_jsx_runtime.JSX.Element;
1289
+
1290
+ declare function Sheet({ ...props }: Dialog$1.Root.Props): react_jsx_runtime.JSX.Element;
1291
+ declare function SheetTrigger({ ...props }: Dialog$1.Trigger.Props): react_jsx_runtime.JSX.Element;
1292
+ declare function SheetClose({ ...props }: Dialog$1.Close.Props): react_jsx_runtime.JSX.Element;
1293
+ declare function SheetContent({ className, children, side, showCloseButton, ...props }: Dialog$1.Popup.Props & {
1294
+ side?: "top" | "right" | "bottom" | "left";
1295
+ showCloseButton?: boolean;
1296
+ }): react_jsx_runtime.JSX.Element;
1297
+ declare function SheetHeader({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
1298
+ declare function SheetFooter({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
1299
+ declare function SheetTitle({ className, ...props }: Dialog$1.Title.Props): react_jsx_runtime.JSX.Element;
1300
+ declare function SheetDescription({ className, ...props }: Dialog$1.Description.Props): react_jsx_runtime.JSX.Element;
1301
+
1302
+ declare function TooltipProvider({ delay, ...props }: Tooltip$1.Provider.Props): react_jsx_runtime.JSX.Element;
1303
+ declare function Tooltip({ ...props }: Tooltip$1.Root.Props): react_jsx_runtime.JSX.Element;
1304
+ declare function TooltipTrigger({ ...props }: Tooltip$1.Trigger.Props): react_jsx_runtime.JSX.Element;
1305
+ declare function TooltipContent({ className, side, sideOffset, align, alignOffset, children, ...props }: Tooltip$1.Popup.Props & Pick<Tooltip$1.Positioner.Props, "align" | "alignOffset" | "side" | "sideOffset">): react_jsx_runtime.JSX.Element;
1306
+
1307
+ type SidebarContextProps = {
1308
+ state: "expanded" | "collapsed";
1309
+ open: boolean;
1310
+ setOpen: (open: boolean) => void;
1311
+ openMobile: boolean;
1312
+ setOpenMobile: (open: boolean) => void;
1313
+ isMobile: boolean;
1314
+ toggleSidebar: () => void;
1315
+ };
1316
+ declare function useSidebar(): SidebarContextProps;
1317
+ declare function SidebarProvider({ defaultOpen, open: openProp, onOpenChange: setOpenProp, className, style, children, ...props }: React$1.ComponentProps<"div"> & {
1318
+ defaultOpen?: boolean;
1319
+ open?: boolean;
1320
+ onOpenChange?: (open: boolean) => void;
1321
+ }): react_jsx_runtime.JSX.Element;
1322
+ declare function Sidebar({ side, variant, collapsible, className, children, dir, ...props }: React$1.ComponentProps<"div"> & {
1323
+ side?: "left" | "right";
1324
+ variant?: "sidebar" | "floating" | "inset";
1325
+ collapsible?: "offcanvas" | "icon" | "none";
1326
+ }): react_jsx_runtime.JSX.Element;
1327
+ declare function SidebarTrigger({ className, onClick, ...props }: React$1.ComponentProps<typeof Button>): react_jsx_runtime.JSX.Element;
1328
+ declare function SidebarRail({ className, ...props }: React$1.ComponentProps<"button">): react_jsx_runtime.JSX.Element;
1329
+ declare function SidebarInset({ className, ...props }: React$1.ComponentProps<"main">): react_jsx_runtime.JSX.Element;
1330
+ declare function SidebarInput({ className, ...props }: React$1.ComponentProps<typeof Input>): react_jsx_runtime.JSX.Element;
1331
+ declare function SidebarHeader({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
1332
+ declare function SidebarFooter({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
1333
+ declare function SidebarSeparator({ className, ...props }: React$1.ComponentProps<typeof Separator>): react_jsx_runtime.JSX.Element;
1334
+ declare function SidebarContent({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
1335
+ declare function SidebarGroup({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
1336
+ declare function SidebarGroupLabel({ className, render, ...props }: useRender.ComponentProps<"div"> & React$1.ComponentProps<"div">): React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>>;
1337
+ declare function SidebarGroupAction({ className, render, ...props }: useRender.ComponentProps<"button"> & React$1.ComponentProps<"button">): React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>>;
1338
+ declare function SidebarGroupContent({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
1339
+ declare function SidebarMenu({ className, ...props }: React$1.ComponentProps<"ul">): react_jsx_runtime.JSX.Element;
1340
+ declare function SidebarMenuItem({ className, ...props }: React$1.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
1341
+ declare const sidebarMenuButtonVariants: (props?: ({
1342
+ variant?: "default" | "outline" | null | undefined;
1343
+ size?: "sm" | "lg" | "default" | null | undefined;
1344
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
1345
+ declare function SidebarMenuButton({ render, isActive, variant, size, tooltip, className, ...props }: useRender.ComponentProps<"button"> & React$1.ComponentProps<"button"> & {
1346
+ isActive?: boolean;
1347
+ tooltip?: string | React$1.ComponentProps<typeof TooltipContent>;
1348
+ } & VariantProps<typeof sidebarMenuButtonVariants>): react_jsx_runtime.JSX.Element;
1349
+ declare function SidebarMenuAction({ className, render, showOnHover, ...props }: useRender.ComponentProps<"button"> & React$1.ComponentProps<"button"> & {
1350
+ showOnHover?: boolean;
1351
+ }): React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>>;
1352
+ declare function SidebarMenuBadge({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
1353
+ declare function SidebarMenuSkeleton({ className, showIcon, ...props }: React$1.ComponentProps<"div"> & {
1354
+ showIcon?: boolean;
1355
+ }): react_jsx_runtime.JSX.Element;
1356
+ declare function SidebarMenuSub({ className, ...props }: React$1.ComponentProps<"ul">): react_jsx_runtime.JSX.Element;
1357
+ declare function SidebarMenuSubItem({ className, ...props }: React$1.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
1358
+ declare function SidebarMenuSubButton({ render, size, isActive, className, ...props }: useRender.ComponentProps<"a"> & React$1.ComponentProps<"a"> & {
1359
+ size?: "sm" | "md";
1360
+ isActive?: boolean;
1361
+ }): React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>>;
1362
+
1363
+ declare function Skeleton({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
1364
+
1365
+ declare function Slider({ className, defaultValue, value, min, max, ...props }: Slider$1.Root.Props): react_jsx_runtime.JSX.Element;
1366
+
1367
+ declare function Spinner({ className, ...props }: React.ComponentProps<"svg">): react_jsx_runtime.JSX.Element;
1368
+
1369
+ declare function Switch({ className, size, ...props }: Switch$1.Root.Props & {
1370
+ size?: "sm" | "default";
1371
+ }): react_jsx_runtime.JSX.Element;
1372
+
1373
+ declare function Tabs({ className, orientation, ...props }: Tabs$1.Root.Props): react_jsx_runtime.JSX.Element;
1374
+ declare const tabsListVariants: (props?: ({
1375
+ variant?: "default" | "line" | null | undefined;
1376
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
1377
+ declare function TabsList({ className, variant, ...props }: Tabs$1.List.Props & VariantProps<typeof tabsListVariants>): react_jsx_runtime.JSX.Element;
1378
+ declare function TabsTrigger({ className, ...props }: Tabs$1.Tab.Props): react_jsx_runtime.JSX.Element;
1379
+ declare function TabsContent({ className, ...props }: Tabs$1.Panel.Props): react_jsx_runtime.JSX.Element;
1380
+
1381
+ declare function Textarea({ className, ...props }: React$1.ComponentProps<"textarea">): react_jsx_runtime.JSX.Element;
1382
+
1383
+ declare const toggleVariants: (props?: ({
1384
+ variant?: "default" | "outline" | null | undefined;
1385
+ size?: "sm" | "lg" | "default" | null | undefined;
1386
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
1387
+ declare function Toggle({ className, variant, size, ...props }: Toggle$1.Props & VariantProps<typeof toggleVariants>): react_jsx_runtime.JSX.Element;
1388
+
1389
+ declare function ToggleGroup({ className, variant, size, spacing, orientation, children, ...props }: ToggleGroup$1.Props & VariantProps<typeof toggleVariants> & {
1390
+ spacing?: number;
1391
+ orientation?: "horizontal" | "vertical";
1392
+ }): react_jsx_runtime.JSX.Element;
1393
+ declare function ToggleGroupItem({ className, children, variant, size, ...props }: Toggle$1.Props & VariantProps<typeof toggleVariants>): react_jsx_runtime.JSX.Element;
1394
+
2399
1395
  interface ZenProviderProps {
2400
1396
  theme?: Theme;
2401
1397
  colorScheme?: 'light' | 'dark' | 'system';
2402
1398
  palette?: Palette;
2403
1399
  toast?: ToasterProps;
2404
- /** Shared tooltip grouping/delay config. Defaults to Base UI's own defaults. */
2405
- tooltip?: ZenTooltipConfig;
1400
+ /** Props for the shared `TooltipProvider` (`delay`, `closeDelay`, `timeout`). */
1401
+ tooltip?: Omit<ComponentProps<typeof TooltipProvider>, 'children'>;
2406
1402
  children: ReactNode;
2407
1403
  }
2408
1404
  declare function ZenProvider({ children, theme, colorScheme, palette, toast, tooltip, }: ZenProviderProps): react_jsx_runtime.JSX.Element;
2409
1405
 
2410
- export { Accordion, AccordionContent, AccordionItem, type AccordionItemProps, AccordionPanel, type AccordionPanelProps, type AccordionProps, AccordionTrigger, type AccordionTriggerProps, Alert, AlertDescription, AlertDialog, AlertDialogAction, type AlertDialogActionProps, AlertDialogCancel, type AlertDialogCancelProps, AlertDialogDescription, type AlertDialogDescriptionProps, type AlertDialogProps, AlertDialogTitle, type AlertDialogTitleProps, type AlertProps, AlertTitle, AspectRatio, type AspectRatioProps, Autocomplete, type AutocompleteProps, Avatar, AvatarFallback, type AvatarFallbackProps, AvatarGroup, type AvatarGroupProps, AvatarImage, type AvatarImageProps, type AvatarProps, Badge, type BadgeProps, type BadgeRenderProps, Blockquote, type BlockquoteProps, Box, type BoxProps, type BoxRenderProps, Breadcrumb, BreadcrumbEllipsis, type BreadcrumbEllipsisProps, BreadcrumbItem, type BreadcrumbItemProps, BreadcrumbLink, type BreadcrumbLinkProps, type BreadcrumbLinkRenderProps, BreadcrumbList, type BreadcrumbListProps, BreadcrumbPage, type BreadcrumbPageProps, type BreadcrumbProps, BreadcrumbSeparator, type BreadcrumbSeparatorProps, Breadcrumbs, type BreadcrumbsProps, type BreakpointKey, Button, ButtonGroup, type ButtonGroupOrientation, type ButtonGroupProps, ButtonGroupSeparator, type ButtonGroupSeparatorProps, ButtonGroupText, type ButtonGroupTextProps, type ButtonGroupTextRenderProps, type ButtonProps, type ButtonRenderProps, type ButtonRenderState, Calendar, CalendarDayButton, type CalendarProps, type CalendarSelection, Carousel, type CarouselApi, type CarouselArrowProps, CarouselContent, type CarouselContentProps, type CarouselContextValue, CarouselDots, type CarouselDotsProps, CarouselItem, type CarouselItemProps, CarouselNext, type CarouselOrientation, CarouselPrevious, type CarouselProps, Checkbox, CheckboxGroup, type CheckboxGroupProps, type CheckboxProps, Code, type CodeProps, Collapsible, CollapsiblePanel, type CollapsiblePanelProps, type CollapsibleProps, CollapsibleTrigger, type CollapsibleTriggerProps, Column, type ColumnProps, ComboBox, type ComboBoxItem, type ComboBoxProps, type ComboBoxValue, Command, CommandDialog, type CommandDialogProps, CommandEmpty, type CommandEmptyProps, CommandGroup, type CommandGroupProps, CommandInput, type CommandInputProps, CommandItem, type CommandItemProps, CommandList, type CommandListProps, type CommandProps, CommandSeparator, type CommandSeparatorProps, CommandShortcut, type CommandShortcutProps, ConfirmationDialog, type ConfirmationDialogProps, Container, type ContainerProps, ContextMenu, ContextMenuContent, type ContextMenuContentProps, type ContextMenuProps, ContextMenuRoot, type ContextMenuRootProps, ContextMenuTrigger, type ContextMenuTriggerProps, CopyButton, type CopyButtonProps, DataCard, type DataCardProps, DataColumn, type DataColumnProps, DataTable, type DataTableProps, DatePicker, type DatePickerProps, Dialog, type DialogProps, type DialogRenderProps, DialogTrigger, Dots, type DotsProps, Drawer, DrawerClose, type DrawerCloseProps, DrawerContent, type DrawerContentProps, DrawerDescription, type DrawerDescriptionProps, DrawerFooter, type DrawerFooterProps, DrawerHeader, type DrawerHeaderProps, type DrawerProps, DrawerTitle, type DrawerTitleProps, DrawerTrigger, type DrawerTriggerProps, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, type EmptyMediaProps, EmptyTitle, Field, FieldContent, FieldControl, type FieldControlProps, FieldDescription, type FieldDescriptionProps, FieldError, type FieldErrorProps, FieldGroup, FieldLabel, type FieldLabelProps, FieldLegend, type FieldLegendProps, type FieldOrientation, type FieldProps, FieldSeparator, type FieldSeparatorProps, FieldSet, FieldTitle, FileTrigger, Flexbox, type FlexboxProps, FloatingTooltip, type FloatingTooltipProps, Focusable, Form, FormButtons, type FormButtonsProps, FormController, type FormControllerProps, FormField, FormFieldArray, type FormFieldArrayProps, type FormFieldProps, type FormProps, FormResetButton, type FormResetButtonProps, FormSubmitButton, type FormSubmitButtonProps, Grid, type GridProps, Heading, type HeadingProps, type HoverButtonProps, HoverTrigger, type HoverTriggerProps, Icon, type IconProps, Image, type ImageProps, Input, InputGroup, InputGroupAddon, type InputGroupAddonAlign, type InputGroupAddonProps, InputGroupButton, type InputGroupButtonProps, type InputGroupButtonSize, InputGroupInput, type InputGroupProps, InputGroupText, InputGroupTextarea, type InputProps, Kbd, KbdGroup, type KbdGroupProps, type KbdProps, Label, type LabelProps, List, ListItem, type ListItemProps, ListPrimitiveProvider, type ListProps, ListSection, type ListSectionProps, ListSeparator, type ListSeparatorProps, Loading, LoadingButton, type LoadingButtonProps, type LoadingProps, Menu, MenuItem, type MenuItemProps, type MenuProps, MenuSection, type MenuSectionProps, type MenuSelectionMode, MenuSeparator, type MenuSeparatorProps, MenuShortcut, type MenuShortcutProps, MenuTrigger, type MenuVariant, MenuVariantContext, Menubar, MenubarMenu, type MenubarMenuProps, type MenubarProps, Meter, type MeterProps, Modal, ModalClose, type ModalCloseProps, ModalDescription, type ModalDescriptionProps, type ModalProps, ModalTitle, type ModalTitleProps, ModalTrigger, type ModalTriggerProps, Navbar, NavbarItem, type NavbarItemProps, NavbarLink, type NavbarLinkProps, type NavbarProps, NumberField, type NumberFieldProps, OTPField, type OTPFieldProps, OTPFieldSeparator, PALETTES, PageHeader, PageHeaderActions, type PageHeaderActionsProps, type PageHeaderProps, PageHeaderTitle, type PageHeaderTitleProps, Pagination, PaginationContent, type PaginationContentProps, PaginationEllipsis, type PaginationEllipsisProps, PaginationItem, type PaginationItemProps, PaginationLink, type PaginationLinkProps, type PaginationNavProps, PaginationNext, PaginationPrevious, type PaginationProps, type PaginationRenderLinkProps, type Palette, PasswordField, type PasswordFieldProps, Popover, PopoverClose, type PopoverCloseProps, PopoverDescription, type PopoverDescriptionProps, type PopoverProps, PopoverTitle, type PopoverTitleProps, PopoverTrigger, type PopoverTriggerProps, type PressEvent, Pressable, PreviewCard, PreviewCardContent, type PreviewCardContentProps, type PreviewCardProps, PreviewCardTrigger, type PreviewCardTriggerProps, ProgressBar, type ProgressBarProps, ProgressCircle, type ProgressCircleProps, ProgressIndicator, type ProgressIndicatorProps, ProgressLabel, type ProgressLabelProps, ProgressTrack, type ProgressTrackProps, ProgressValue, type ProgressValueProps, Radio, RadioGroup, type RadioGroupProps, type RadioProps, type RenderProp, ResizableHandle, type ResizableHandleProps, ResizablePanel, ResizablePanelGroup, type ResizablePanelGroupProps, type ResizablePanelProps, RouterProvider, Row, type RowProps, ScrollArea, type ScrollAreaProps, SearchField, type SearchFieldProps, Select, type SelectItemOption, type SelectProps, type SelectValueRenderProps, type Selection, Separator, type SeparatorProps, Sheet, SheetClose, type SheetCloseProps, SheetDescription, type SheetDescriptionProps, SheetHeader, type SheetHeaderProps, type SheetProps, SheetTitle, type SheetTitleProps, SheetTrigger, type SheetTriggerProps, Skeleton, SkeletonAvatar, type SkeletonAvatarProps, type SkeletonProps, SkeletonText, type SkeletonTextProps, Slider, type SliderProps, Spinner, type SpinnerProps, StatusLight, type StatusLightProps, type StrokeWidth, SubMenuTrigger, SubMenuTrigger as SubmenuTrigger, type SubmenuTriggerProps, Switch, type SwitchProps, type SwitchVariants, Tab, TabIndicator, type TabIndicatorProps, TabList, type TabListProps, type TabListVariant, TabPanel, type TabPanelProps, type TabProps, Table, TableBody, TableCaption, type TableCaptionProps, TableCell, type TableCellProps, TableColumn, type TableColumnProps, TableContainer, type TableContainerProps, TableFooter, type TableFooterProps, TableHead, TableHeader, type TableProps, TableRow, type TableRowProps, TableSelectionCheckbox, type TableSelectionCheckboxProps, Tabs, type TabsProps, Tag, TagGroup, type TagGroupProps, type TagProps, Text, TextField, type TextFieldProps, type TextProps, type TextRenderProps, Textarea, type TextareaProps, type Theme, ThemeButton, type ThemeButtonProps, type ThemeMode, ThemeSwitcher, type ThemeSwitcherProps, Toast, ToastContext, type ToastOptions, type ToastPosition, type ToastProps, ToastProvider, type ToastProviderProps, type ToastState, type ToastVariant, Toaster, type ToasterProps, Toggle, ToggleGroup, ToggleGroupItem, type ToggleGroupItemProps, type ToggleGroupProps, type ToggleProps, type ToggleVariants, Toolbar, ToolbarButton, type ToolbarButtonProps, ToolbarGroup, type ToolbarGroupProps, ToolbarLink, type ToolbarLinkProps, type ToolbarProps, ToolbarSeparator, type ToolbarSeparatorProps, Tooltip, TooltipBubble, type TooltipBubbleProps, TooltipContent, type TooltipContentProps, type TooltipProps, TooltipTrigger, ZenProvider, type ZenProviderProps, type ZenTooltipConfig, getCssColorValue, inputGroupControlClasses, isHeightPreset, isMaxHeightPreset, isMaxWidthPreset, isMinHeightPreset, isMinWidthPreset, isWidthPreset, labelClasses, mapAlignContent, mapAlignItems, mapAlignSelf, mapBackgroundColor, mapBorder, mapBorderColor, mapBorderRadius, mapBorderWidth, mapCursor, mapDisplay, mapFlexDirection, mapFlexWrap, mapFontSize, mapFontWeight, mapGap, mapGridAutoFlow, mapGridColumns, mapGridRows, mapHeadingSize, mapHeight, mapJustifyContent, mapJustifyItems, mapLetterSpacing, mapLineHeight, mapMargin, mapMaxHeight, mapMaxWidth, mapMinHeight, mapMinWidth, mapOpacity, mapOverflow, mapPadding, mapPointerEvents, mapPosition, mapShadow, mapSpace, mapStateStyles, mapTextAlign, mapTextColor, mapTextDecorationStyle, mapTextIndent, mapTextTransform, mapTextWrap, mapVerticalAlign, mapWhitespace, mapWidth, mapWordBreak, removeToast, resolveRender, selectionToStrings, switchVariants, toSelection, toggleVariants, useBreakpoint, useCarousel, useDebounce, useInitTheme, useTheme, useToast };
1406
+ export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertAction, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, type AlignContent, type AlignItems, type AlignSelf, AspectRatio, Autocomplete, type AutocompleteProps, Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage, type BackgroundColor, type BackgroundColorToken, Badge, Blockquote, type BlockquoteProps, type Border, type BorderColor, type BorderColorToken, type BorderRadius, type BorderWidth, type Bottom, Box, type BoxProps, type BoxRenderProps, type BoxShadow, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, type Breakpoint$1 as Breakpoint, type BreakpointKey, Breakpoints, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, Calendar, CalendarDayButton, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, Checkbox, CheckboxGroup, type CheckboxGroupProps, Code, type CodeProps, Collapsible, CollapsibleContent, CollapsibleTrigger, type ColorName, type ColorShade, Column, type ColumnProps, Combobox, ComboboxChip, ComboboxChips, ComboboxChipsInput, ComboboxCollection, ComboboxContent, ComboboxEmpty, ComboboxGroup, ComboboxInput, ComboboxItem, ComboboxLabel, ComboboxList, ComboboxSeparator, ComboboxTrigger, ComboboxValue, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ConfirmationDialog, type ConfirmationDialogProps, Container, type ContainerProps, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, CopyButton, type CopyButtonProps, type Cursor, DataCard, type DataCardProps, DataColumn, type DataColumnProps, DataTable, type DataTableProps, type DataTableSelectionMode, DatePicker, type DatePickerProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, type Display, Dots, type DotsProps, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerSwipeHandle, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, type FillColor, type FlexDirection, type FlexDisplay, type FlexGrow, type FlexShrink, type FlexWrap, Flexbox, type FlexboxProps, FloatingTooltip, type FloatingTooltipProps, type FontColor, type FontSize, type FontWeight, Form, FormButtons, type FormButtonsProps, FormController, type FormControllerProps, FormField, FormFieldArray, type FormFieldArrayProps, type FormFieldProps, type FormFieldRenderProps, type FormProps, FormResetButton, type FormResetButtonProps, FormSubmitButton, type FormSubmitButtonProps, type Fraction, type Gap, Grid, type GridAutoFlow, type GridColumns, type GridDisplay, type GridProps, type GridRows, type GridTemplateAreas, type GridTemplateColumns, type GridTemplateRows, Heading, type HeadingProps, type HeadingSize, type Height, type HeightViewport, HoverCard, HoverCardContent, HoverCardTrigger, Icon, type IconProps, Image, type ImageProps, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, type JustifyContent, type JustifyItems, type JustifySelf, Kbd, KbdGroup, Label, type Left, type LetterSpacing, type LineHeight, List, ListItem, type ListItemProps, type ListProps, ListSection, type ListSectionProps, ListSeparator, type ListSeparatorProps, Loading, LoadingButton, type LoadingButtonProps, type LoadingProps, type Margin, type MaxHeight, type MaxWidth, type MaxWidthSpecial, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, Meter, type MeterProps, type MinHeight, type MinWidth, Navbar, NavbarItem, type NavbarItemProps, NavbarLink, type NavbarLinkProps, type NavbarProps, type NegativeSpacing, NumberField, type NumberFieldProps, type ObjectFit, type Opacity, type Overflow, PALETTES, type Padding, PageHeader, PageHeaderActions, type PageHeaderActionsProps, type PageHeaderProps, PageHeaderTitle, type PageHeaderTitleProps, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, type Palette, type PaletteColor, PasswordField, type PasswordFieldProps, type PointerEvents, Popover, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, type Position, type Primitive, Progress, ProgressCircle, type ProgressCircleProps, ProgressIndicator, ProgressLabel, ProgressTrack, ProgressValue, RadioGroup, RadioGroupItem, type RenderProp, ResizableHandle, ResizablePanel, ResizablePanelGroup, type Responsive$1 as Responsive, type Right, Row, type RowProps, ScrollArea, ScrollBar, SearchField, type SearchFieldProps, 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, type SizingSpecial, Skeleton, Slider, type Spacing, Spinner, type StateStyles, type StatusColorToken, StatusLight, type StatusLightProps, type StatusLightVariant, type StrokeColor, type StrokeWidth, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Tag, TagGroup, type TagGroupProps, type TagProps, type TailwindColor, Text, type TextAlign, type TextColorToken, type TextDecorationStyle, TextField, type TextFieldProps, type TextIndent, type TextProps, type TextRenderProps, type TextTransform, type TextWrap, Textarea, type Theme, ThemeButton, type ThemeButtonProps, type ThemeMode, ThemeSwitcher, type ThemeSwitcherProps, Toast, ToastContext, type ToastOptions, type ToastPosition, type ToastProps, ToastProvider, type ToastProviderProps, type ToastState, type ToastVariant, Toaster, type ToasterProps, Toggle, ToggleGroup, ToggleGroupItem, Toolbar, ToolbarButton, type ToolbarButtonProps, ToolbarGroup, type ToolbarGroupProps, ToolbarLink, type ToolbarLinkProps, type ToolbarProps, ToolbarSeparator, type ToolbarSeparatorProps, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, type Top, type VerticalAlign, type Whitespace, type Width, type WidthViewport, type WordBreak, ZenProvider, type ZenProviderProps, badgeVariants, buttonGroupVariants, buttonVariants, getCssColorValue, isHeightPreset, isMaxHeightPreset, isMaxWidthPreset, isMinHeightPreset, isMinWidthPreset, isWidthPreset, mapAlignContent, mapAlignItems, mapAlignSelf, mapBackgroundColor, mapBorder, mapBorderColor, mapBorderRadius, mapBorderWidth, mapCursor, mapDecorationColor, mapDisplay, mapFlexDirection, mapFlexWrap, mapFontSize, mapFontWeight, mapGap, mapGridAutoFlow, mapGridColumns, mapGridRows, mapHeadingSize, mapHeight, mapJustifyContent, mapJustifyItems, mapLetterSpacing, mapLineHeight, mapMargin, mapMaxHeight, mapMaxWidth, mapMinHeight, mapMinWidth, mapOpacity, mapOverflow, mapPadding, mapPointerEvents, mapPosition, mapShadow, mapSpace, mapStateStyles, mapTextAlign, mapTextColor, mapTextDecorationStyle, mapTextIndent, mapTextTransform, mapTextWrap, mapVerticalAlign, mapWhitespace, mapWidth, mapWordBreak, removeToast, resolveRender, tabsListVariants, toggleVariants, useBreakpoint, useCarousel, useComboboxAnchor, useDebounce, useInitTheme, useIsMobile, useSidebar, useTheme, useToast };