@umami/react-zen 0.251.0 → 0.253.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -1,13 +1,15 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import { Accordion as Accordion$1 } from '@base-ui/react/accordion';
3
3
  import * as react from 'react';
4
- import { ReactNode, HTMLAttributes, ReactElement, CSSProperties, LiHTMLAttributes, MouseEvent, ComponentProps, Key, TableHTMLAttributes, TdHTMLAttributes, ThHTMLAttributes, InputHTMLAttributes, TextareaHTMLAttributes, RefObject } from 'react';
4
+ import { ReactNode, HTMLAttributes, ReactElement, CSSProperties, LiHTMLAttributes, ComponentProps, MouseEvent, Key, TableHTMLAttributes, TdHTMLAttributes, ThHTMLAttributes, ButtonHTMLAttributes, FieldsetHTMLAttributes, InputHTMLAttributes, TextareaHTMLAttributes, LabelHTMLAttributes, RefObject } from 'react';
5
5
  import * as tailwind_variants from 'tailwind-variants';
6
6
  import { VariantProps } from 'tailwind-variants';
7
+ import { AlertDialog as AlertDialog$1 } from '@base-ui/react/alert-dialog';
8
+ import { Autocomplete as Autocomplete$1 } from '@base-ui/react/autocomplete';
7
9
  import { Avatar as Avatar$1 } from '@base-ui/react/avatar';
8
10
  import { ButtonProps as ButtonProps$1 } from '@base-ui/react/button';
9
11
  import { Separator as Separator$1 } from '@base-ui/react/separator';
10
- import { DayPicker } from 'react-day-picker';
12
+ import { DayPicker, DateRange, DayButton } from 'react-day-picker';
11
13
  import useEmblaCarousel from 'embla-carousel-react';
12
14
  import { CheckboxRoot } from '@base-ui/react/checkbox';
13
15
  import { CheckboxGroup as CheckboxGroup$1 } from '@base-ui/react/checkbox-group';
@@ -15,11 +17,13 @@ import { Collapsible as Collapsible$1 } from '@base-ui/react/collapsible';
15
17
  import { Combobox } from '@base-ui/react/combobox';
16
18
  import { Select as Select$1 } from '@base-ui/react/select';
17
19
  import { Command as Command$1 } from 'cmdk';
20
+ import { ContextMenu as ContextMenu$1 } from '@base-ui/react/context-menu';
21
+ import { Menu as Menu$1 } from '@base-ui/react/menu';
22
+ import { Drawer as Drawer$1 } from '@base-ui/react/drawer';
23
+ import { Field as Field$1 } from '@base-ui/react/field';
18
24
  import { Tooltip as Tooltip$1 } from '@base-ui/react/tooltip';
19
25
  import { UseFormProps, SubmitHandler, UseFormReturn, ControllerProps, ControllerRenderProps, FieldValues, ControllerFieldState, UseFormStateReturn, RegisterOptions } from 'react-hook-form';
20
26
  import * as zustand from 'zustand';
21
- import { ClassValue } from 'clsx';
22
- import { Menu as Menu$1 } from '@base-ui/react/menu';
23
27
  import { Menubar as Menubar$1 } from '@base-ui/react/menubar';
24
28
  import { Meter as Meter$1 } from '@base-ui/react/meter';
25
29
  import { Dialog as Dialog$1 } from '@base-ui/react/dialog';
@@ -27,7 +31,8 @@ import { NavigationMenu } from '@base-ui/react/navigation-menu';
27
31
  import { NumberField as NumberField$1 } from '@base-ui/react/number-field';
28
32
  import { OTPField as OTPField$1 } from '@base-ui/react/otp-field';
29
33
  import { Popover as Popover$1 } from '@base-ui/react/popover';
30
- import { ProgressRoot } from '@base-ui/react/progress';
34
+ import { PreviewCard as PreviewCard$1 } from '@base-ui/react/preview-card';
35
+ import { ProgressRoot, Progress } from '@base-ui/react/progress';
31
36
  import { RadioRoot } from '@base-ui/react/radio';
32
37
  import { RadioGroupProps as RadioGroupProps$1 } from '@base-ui/react/radio-group';
33
38
  import { SeparatorProps as SeparatorProps$1, PanelProps, GroupProps } from 'react-resizable-panels';
@@ -38,6 +43,9 @@ import { Tabs as Tabs$1 } from '@base-ui/react/tabs';
38
43
  import { ToggleProps as ToggleProps$1 } from '@base-ui/react/toggle';
39
44
  import { ToggleGroupProps as ToggleGroupProps$1 } from '@base-ui/react/toggle-group';
40
45
  import { Toolbar as Toolbar$1 } from '@base-ui/react/toolbar';
46
+ export { cn } from 'cn';
47
+ export { mergeProps } from '@base-ui/react/merge-props';
48
+ export { useRender } from '@base-ui/react/use-render';
41
49
 
42
50
  interface AccordionProps extends Omit<Accordion$1.Root.Props<string>, 'value' | 'defaultValue' | 'multiple' | 'onValueChange'> {
43
51
  type?: 'single' | 'multiple';
@@ -54,6 +62,17 @@ interface AccordionItemProps extends Omit<Accordion$1.Item.Props, 'value' | 'dis
54
62
  isDisabled?: boolean;
55
63
  }
56
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;
57
76
  declare function AccordionItem({ id, value, isDisabled, className, children, ...props }: AccordionItemProps): react_jsx_runtime.JSX.Element;
58
77
 
59
78
  declare const button: tailwind_variants.TVReturnType<{
@@ -63,6 +82,7 @@ declare const button: tailwind_variants.TVReturnType<{
63
82
  outline: string[];
64
83
  quiet: string[];
65
84
  danger: string[];
85
+ link: string[];
66
86
  zero: string[];
67
87
  };
68
88
  size: {
@@ -71,6 +91,10 @@ declare const button: tailwind_variants.TVReturnType<{
71
91
  md: string;
72
92
  lg: string;
73
93
  xl: string;
94
+ icon: string;
95
+ 'icon-xs': string;
96
+ 'icon-sm': string;
97
+ 'icon-lg': string;
74
98
  };
75
99
  }, undefined, string[], {
76
100
  variant: {
@@ -79,6 +103,7 @@ declare const button: tailwind_variants.TVReturnType<{
79
103
  outline: string[];
80
104
  quiet: string[];
81
105
  danger: string[];
106
+ link: string[];
82
107
  zero: string[];
83
108
  };
84
109
  size: {
@@ -87,6 +112,10 @@ declare const button: tailwind_variants.TVReturnType<{
87
112
  md: string;
88
113
  lg: string;
89
114
  xl: string;
115
+ icon: string;
116
+ 'icon-xs': string;
117
+ 'icon-sm': string;
118
+ 'icon-lg': string;
90
119
  };
91
120
  }, undefined, tailwind_variants.TVReturnType<{
92
121
  variant: {
@@ -95,6 +124,7 @@ declare const button: tailwind_variants.TVReturnType<{
95
124
  outline: string[];
96
125
  quiet: string[];
97
126
  danger: string[];
127
+ link: string[];
98
128
  zero: string[];
99
129
  };
100
130
  size: {
@@ -103,6 +133,10 @@ declare const button: tailwind_variants.TVReturnType<{
103
133
  md: string;
104
134
  lg: string;
105
135
  xl: string;
136
+ icon: string;
137
+ 'icon-xs': string;
138
+ 'icon-sm': string;
139
+ 'icon-lg': string;
106
140
  };
107
141
  }, undefined, string[], unknown, unknown, undefined>>;
108
142
  type ButtonVariants = VariantProps<typeof button>;
@@ -410,8 +444,9 @@ interface DialogRenderProps {
410
444
  interface DialogProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title' | 'children'> {
411
445
  children?: ReactNode | ((props: DialogRenderProps) => ReactNode);
412
446
  title?: ReactNode;
447
+ description?: ReactNode;
413
448
  }
414
- declare function Dialog({ title, children, className, ...props }: DialogProps): react_jsx_runtime.JSX.Element;
449
+ declare function Dialog({ title, description, children, className, ...props }: DialogProps): react_jsx_runtime.JSX.Element;
415
450
 
416
451
  interface AlertDialogProps extends DialogProps {
417
452
  title?: ReactNode;
@@ -420,16 +455,52 @@ interface AlertDialogProps extends DialogProps {
420
455
  isConfirmDisabled?: boolean;
421
456
  confirmLabel?: ReactNode;
422
457
  cancelLabel?: ReactNode;
423
- onConfirm?: () => void;
458
+ /** Called on confirm. When it returns a promise the dialog stays open until it resolves. */
459
+ onConfirm?: () => unknown;
424
460
  onCancel?: () => void;
425
461
  }
426
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;
427
476
 
428
477
  interface AspectRatioProps extends HTMLAttributes<HTMLDivElement> {
429
478
  ratio?: number;
430
479
  }
431
480
  declare function AspectRatio({ ratio, className, style, children, ...props }: AspectRatioProps): react_jsx_runtime.JSX.Element;
432
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
+
433
504
  interface AvatarProps extends Avatar$1.Root.Props {
434
505
  src?: string;
435
506
  alt?: string;
@@ -437,12 +508,57 @@ interface AvatarProps extends Avatar$1.Root.Props {
437
508
  size?: AvatarVariants['size'];
438
509
  }
439
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;
440
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
+ }
441
555
  interface BadgeProps extends HTMLAttributes<HTMLSpanElement> {
442
556
  variant?: BadgeVariants['variant'];
443
557
  size?: BadgeVariants['size'];
558
+ /** Replace the rendered element, e.g. `render={<a href="/x" />}`. */
559
+ render?: RenderProp<BadgeRenderProps>;
444
560
  }
445
- declare function Badge({ variant, size, className, children, ...props }: BadgeProps): react_jsx_runtime.JSX.Element;
561
+ declare function Badge({ variant, size, render, className, children, ...props }: BadgeProps): react.ReactElement<unknown, string | react.JSXElementConstructor<any>>;
446
562
 
447
563
  declare const Breakpoints: readonly ["base", "sm", "md", "lg", "xl", "2xl"];
448
564
  type Breakpoint$1 = (typeof Breakpoints)[number];
@@ -451,7 +567,7 @@ type ColorName = 'gray' | 'slate' | 'zinc' | 'neutral' | 'stone' | 'red' | 'oran
451
567
  type ColorShade = '50' | '100' | '200' | '300' | '400' | '500' | '600' | '700' | '800' | '900' | '950';
452
568
  type TailwindColor = `${ColorName}-${ColorShade}`;
453
569
  type SemanticColor = 'primary' | 'secondary' | 'muted' | 'strong' | 'inverted' | 'disabled' | 'transparent';
454
- type SurfaceColor = 'surface-base' | 'surface-raised' | 'surface-sunken' | 'surface-overlay' | 'surface-inverted' | 'surface-disabled';
570
+ type SurfaceColor = 'surface' | 'surface-raised' | 'surface-sunken' | 'surface-overlay' | 'surface-inverted' | 'surface-disabled';
455
571
  type InteractiveColor = 'interactive' | 'interactive-hover' | 'interactive-pressed';
456
572
  type FontColor = SemanticColor | ColorName | TailwindColor | true;
457
573
  type BackgroundColor = SemanticColor | SurfaceColor | InteractiveColor | ColorName | TailwindColor | true;
@@ -521,24 +637,6 @@ interface StateStyles {
521
637
  opacity?: Opacity;
522
638
  }
523
639
 
524
- type RenderProp<P = Record<string, unknown>> = ReactElement | ((props: P) => ReactElement);
525
- /**
526
- * Resolves a render prop to a React element.
527
- *
528
- * @param render - Either a React element or a function that returns one
529
- * @param props - Props to merge/pass to the render prop
530
- * @param defaultElement - Fallback element if render is not provided
531
- * @returns The resolved React element
532
- *
533
- * @example
534
- * // Element form - props are merged onto the element
535
- * <Button render={<a href="/foo" />}>Click</Button>
536
- *
537
- * // Function form - you control prop spreading
538
- * <Button render={(props) => <a {...props} href="/foo">Click</a>} />
539
- */
540
- declare function resolveRender<P extends Record<string, unknown>>(render: RenderProp<P> | undefined, props: P, defaultElement: ReactElement): ReactElement;
541
-
542
640
  interface TextProps extends Omit<HTMLAttributes<HTMLElement>, 'color'> {
543
641
  color?: FontColor;
544
642
  size?: Responsive$1<FontSize>;
@@ -646,17 +744,52 @@ interface BoxRenderProps {
646
744
  }
647
745
  declare const Box: react.ForwardRefExoticComponent<BoxProps & react.RefAttributes<HTMLElement>>;
648
746
 
649
- interface BreadcrumbsProps extends HTMLAttributes<HTMLOListElement> {
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'> {
650
772
  isDisabled?: boolean;
773
+ children?: ReactNode;
774
+ /** Content rendered between items. Defaults to a chevron. */
775
+ separator?: ReactNode;
651
776
  }
652
777
  interface BreadcrumbProps extends LiHTMLAttributes<HTMLLIElement> {
653
778
  isDisabled?: boolean;
654
779
  }
655
- declare function Breadcrumbs({ children, className, isDisabled, ...props }: BreadcrumbsProps): react_jsx_runtime.JSX.Element;
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;
656
785
  declare function Breadcrumb({ children, className, isDisabled, ...props }: BreadcrumbProps): react_jsx_runtime.JSX.Element;
657
786
 
658
787
  interface ButtonProps extends Omit<ButtonProps$1, 'className' | 'render'>, ButtonVariants {
659
- render?: RenderProp<ButtonRenderProps>;
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>;
660
793
  /** Render as a link. Ignored when a custom `render` is supplied. */
661
794
  href?: string;
662
795
  target?: string;
@@ -665,6 +798,15 @@ interface ButtonProps extends Omit<ButtonProps$1, 'className' | 'render'>, Butto
665
798
  className?: string;
666
799
  isDisabled?: boolean;
667
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
+ */
668
810
  preventFocusOnPress?: boolean;
669
811
  }
670
812
  interface ButtonRenderProps {
@@ -672,7 +814,11 @@ interface ButtonRenderProps {
672
814
  children: ReactNode;
673
815
  [key: string]: unknown;
674
816
  }
675
- declare function Button({ variant, size, render: renderProp, href, target, rel, preventFocusOnPress: _preventFocusOnPress, nativeButton, isDisabled, disabled, onPress, onClick, className, children, ...props }: ButtonProps): react_jsx_runtime.JSX.Element;
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;
676
822
 
677
823
  interface SeparatorProps extends Separator$1.Props {
678
824
  orientation?: 'horizontal' | 'vertical';
@@ -698,54 +844,106 @@ interface ButtonGroupSeparatorProps extends SeparatorProps {
698
844
  }
699
845
  declare function ButtonGroupSeparator({ className, orientation, ...props }: ButtonGroupSeparatorProps): react_jsx_runtime.JSX.Element;
700
846
 
847
+ type CalendarSelection = Date | Date[] | DateRange | undefined;
701
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"`. */
702
855
  value?: Date;
703
856
  minValue?: Date;
704
857
  maxValue?: Date;
705
858
  defaultValue?: Date;
706
- onChange?: (date: Date) => void;
859
+ /** Compat prop for `mode="single"`. Receives `undefined` when the date is deselected. */
860
+ onChange?: (date: Date | undefined) => void;
707
861
  isDisabled?: boolean;
708
862
  isReadOnly?: boolean;
863
+ captionLayout?: ComponentProps<typeof DayPicker>['captionLayout'];
864
+ showOutsideDays?: boolean;
865
+ buttonVariant?: ButtonVariants['variant'];
709
866
  };
710
- declare function Calendar({ className, value, minValue, maxValue, defaultValue, onChange, isDisabled, isReadOnly, ...props }: CalendarProps): react_jsx_runtime.JSX.Element;
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;
711
871
 
712
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;
713
888
  interface CarouselProps extends HTMLAttributes<HTMLDivElement> {
714
- orientation?: 'horizontal' | 'vertical';
889
+ orientation?: CarouselOrientation;
715
890
  loop?: boolean;
891
+ /** Render the built-in previous/next controls. */
716
892
  showArrows?: boolean;
893
+ /** Render the built-in pagination dots. */
717
894
  showDots?: boolean;
718
895
  opts?: EmblaOptions;
896
+ setApi?: (api: CarouselApi) => void;
719
897
  onIndexChange?: (index: number) => void;
720
898
  }
721
- declare function Carousel({ orientation, loop, showArrows, showDots, opts, onIndexChange, className, children, ...props }: CarouselProps): react_jsx_runtime.JSX.Element;
722
- declare function CarouselItem({ className, children, ...props }: HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
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;
723
913
 
724
914
  interface CheckboxProps extends Omit<CheckboxRoot.Props, 'checked' | 'defaultChecked' | 'disabled' | 'indeterminate' | 'onCheckedChange' | 'value'> {
725
915
  children?: ReactNode;
726
916
  label?: string;
917
+ /** Hide the visible label and expose it as `aria-label` instead. */
918
+ hideLabel?: boolean;
727
919
  value?: string | boolean;
728
920
  isSelected?: boolean;
921
+ checked?: boolean;
729
922
  defaultSelected?: boolean;
923
+ defaultChecked?: boolean;
730
924
  isDisabled?: boolean;
925
+ disabled?: boolean;
731
926
  isIndeterminate?: boolean;
927
+ indeterminate?: boolean;
732
928
  onChange?: (selected: boolean) => void;
929
+ onCheckedChange?: (checked: boolean) => void;
733
930
  }
734
- declare function Checkbox({ label, className, children, isSelected, defaultSelected, isDisabled, isIndeterminate, onChange, value, slot, ...props }: CheckboxProps): react_jsx_runtime.JSX.Element;
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;
735
932
 
736
933
  interface CheckboxGroupProps extends Omit<CheckboxGroup$1.Props, 'disabled' | 'onValueChange' | 'onChange'> {
934
+ className?: string;
737
935
  label?: string;
738
936
  isDisabled?: boolean;
739
937
  orientation?: 'vertical' | 'horizontal';
740
938
  onChange?: (value: string[]) => void;
741
939
  children?: ReactNode;
742
940
  }
743
- declare function CheckboxGroup({ label, isDisabled, orientation, onChange, className, children, ...props }: CheckboxGroupProps): react_jsx_runtime.JSX.Element;
941
+ declare function CheckboxGroup({ id, label, isDisabled, orientation, onChange, className, children, ...props }: CheckboxGroupProps): react_jsx_runtime.JSX.Element;
744
942
 
745
943
  interface CodeProps extends Omit<TextProps, 'as'> {
746
944
  children?: ReactNode;
747
945
  }
748
- declare function Code({ className, children, ...props }: CodeProps): react_jsx_runtime.JSX.Element;
946
+ declare function Code({ className, children, size, ...props }: CodeProps): react_jsx_runtime.JSX.Element;
749
947
 
750
948
  interface CollapsibleProps extends Omit<Collapsible$1.Root.Props, 'open' | 'defaultOpen' | 'onOpenChange' | 'disabled'> {
751
949
  isExpanded?: boolean;
@@ -827,7 +1025,14 @@ interface ListSectionProps extends HTMLAttributes<HTMLDivElement> {
827
1025
  }
828
1026
  declare function ListSection({ title, className, children, ...props }: ListSectionProps): react_jsx_runtime.JSX.Element;
829
1027
 
830
- interface ComboBoxProps extends Omit<Combobox.Root.Props<string>, 'children' | 'items' | 'disabled' | 'onValueChange'> {
1028
+ interface ComboBoxItem {
1029
+ label: ReactNode;
1030
+ 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'> {
831
1036
  children?: ReactNode;
832
1037
  items?: ReadonlyArray<string | {
833
1038
  label: ReactNode;
@@ -835,15 +1040,31 @@ interface ComboBoxProps extends Omit<Combobox.Root.Props<string>, 'children' | '
835
1040
  }>;
836
1041
  label?: string;
837
1042
  placeholder?: string;
1043
+ /** Compat alias for the Base UI `disabled` prop. */
838
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;
839
1049
  maxHeight?: string | number;
1050
+ 'aria-invalid'?: boolean | 'true' | 'false';
840
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. */
841
1061
  renderEmptyState?: (props: object) => ReactNode;
1062
+ inputProps?: Combobox.Input.Props;
842
1063
  listProps?: ListProps;
843
1064
  popoverProps?: Combobox.Positioner.Props;
844
1065
  className?: string;
845
1066
  }
846
- declare function ComboBox({ className, label, placeholder, isDisabled, maxHeight, onChange, renderEmptyState, listProps, popoverProps, children, items, itemToStringLabel, ...props }: ComboBoxProps): react_jsx_runtime.JSX.Element;
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;
847
1068
 
848
1069
  interface CommandProps extends ComponentProps<typeof Command$1> {
849
1070
  }
@@ -852,6 +1073,7 @@ interface CommandInputProps extends ComponentProps<typeof Command$1.Input> {
852
1073
  }
853
1074
  declare function CommandInput({ className, ...props }: CommandInputProps): react_jsx_runtime.JSX.Element;
854
1075
  interface CommandListProps extends ComponentProps<typeof Command$1.List> {
1076
+ /** When set, the list is wrapped in a `ScrollArea` capped at this height. */
855
1077
  maxHeight?: string | number;
856
1078
  }
857
1079
  declare function CommandList({ maxHeight, className, ...props }: CommandListProps): react_jsx_runtime.JSX.Element;
@@ -861,21 +1083,27 @@ declare function CommandEmpty({ className, ...props }: CommandEmptyProps): react
861
1083
  interface CommandGroupProps extends ComponentProps<typeof Command$1.Group> {
862
1084
  }
863
1085
  declare function CommandGroup({ className, ...props }: CommandGroupProps): react_jsx_runtime.JSX.Element;
864
- interface CommandItemProps extends Omit<ComponentProps<typeof Command$1.Item>, 'disabled'> {
1086
+ interface CommandItemProps extends ComponentProps<typeof Command$1.Item> {
865
1087
  icon?: ReactNode;
1088
+ /** Compat alias for the native `disabled` prop. */
866
1089
  isDisabled?: boolean;
867
1090
  }
868
- declare function CommandItem({ icon, isDisabled, className, children, ...props }: CommandItemProps): react_jsx_runtime.JSX.Element;
1091
+ declare function CommandItem({ icon, isDisabled, disabled, className, children, ...props }: CommandItemProps): react_jsx_runtime.JSX.Element;
869
1092
  interface CommandSeparatorProps extends ComponentProps<typeof Command$1.Separator> {
870
1093
  }
871
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;
872
1098
  interface CommandDialogProps extends Omit<CommandProps, 'title'> {
1099
+ /** Compat alias for `open`. */
873
1100
  isOpen?: boolean;
1101
+ open?: boolean;
874
1102
  onOpenChange?: (open: boolean) => void;
875
1103
  title?: ReactNode;
876
1104
  description?: ReactNode;
877
1105
  }
878
- declare function CommandDialog({ isOpen, onOpenChange, title, description, children, ...props }: CommandDialogProps): react_jsx_runtime.JSX.Element;
1106
+ declare function CommandDialog({ isOpen, open, onOpenChange, title, description, children, ...props }: CommandDialogProps): react_jsx_runtime.JSX.Element;
879
1107
 
880
1108
  interface ConfirmationDialogProps extends AlertDialogProps {
881
1109
  value: string;
@@ -890,11 +1118,68 @@ interface ContainerProps extends BoxProps {
890
1118
  }
891
1119
  declare function Container({ isCentered, isFluid, className, children, ...props }: ContainerProps): react_jsx_runtime.JSX.Element;
892
1120
 
893
- interface ContextMenuProps {
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 {
1163
+ children?: ReactNode;
1164
+ }
1165
+ declare function SubMenuTrigger({ children }: SubmenuTriggerProps): react_jsx_runtime.JSX.Element;
1166
+
1167
+ interface ContextMenuProps extends Omit<ContextMenu$1.Root.Props, 'children' | 'onOpenChange'> {
894
1168
  children: ReactNode;
1169
+ isOpen?: boolean;
895
1170
  onOpenChange?: (open: boolean) => void;
896
1171
  }
897
- declare function ContextMenu({ children, onOpenChange }: ContextMenuProps): react_jsx_runtime.JSX.Element;
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;
898
1183
 
899
1184
  interface CopyButtonProps extends Omit<ButtonProps, 'children' | 'onClick' | 'onPress' | 'size' | 'type' | 'value' | 'variant'> {
900
1185
  value?: string | (() => string);
@@ -945,15 +1230,37 @@ interface TableCellProps extends Omit<TdHTMLAttributes<HTMLTableCellElement>, 'a
945
1230
  interface TableRowProps extends HTMLAttributes<HTMLTableRowElement> {
946
1231
  id?: string;
947
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;
948
1237
  declare function Table({ children, className, selectionMode, selectedKeys: controlledSelectedKeys, defaultSelectedKeys, onSelectionChange, ...props }: TableProps): react_jsx_runtime.JSX.Element;
949
1238
  interface TableHeaderComponentProps extends HTMLAttributes<HTMLTableSectionElement> {
950
1239
  style?: CSSProperties;
951
1240
  }
952
1241
  declare function TableHeader({ children, className, style, ...props }: TableHeaderComponentProps): react_jsx_runtime.JSX.Element;
953
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;
954
1250
  declare function TableRow({ children, className, style, id, ...props }: TableRowProps): react_jsx_runtime.JSX.Element;
955
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;
956
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;
957
1264
 
958
1265
  interface DataTableProps extends TableProps {
959
1266
  data?: any[];
@@ -982,19 +1289,48 @@ interface DatePickerProps {
982
1289
  locale?: string;
983
1290
  isDisabled?: boolean;
984
1291
  isReadOnly?: boolean;
1292
+ isOpen?: boolean;
1293
+ defaultOpen?: boolean;
1294
+ onOpenChange?: (open: boolean) => void;
985
1295
  formatOptions?: Intl.DateTimeFormatOptions;
986
- onChange?: (date: Date) => void;
987
- buttonProps?: ButtonProps;
1296
+ /** 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>;
988
1301
  calendarProps?: Partial<CalendarProps>;
989
1302
  className?: string;
990
1303
  }
991
- declare function DatePicker({ id, value, defaultValue, minValue, maxValue, label, placeholder, locale, isDisabled, isReadOnly, formatOptions, onChange, buttonProps, calendarProps, className, }: DatePickerProps): react_jsx_runtime.JSX.Element;
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;
992
1305
 
993
1306
  interface DotsProps extends HTMLAttributes<HTMLDivElement> {
994
1307
  size?: 'sm' | 'md' | 'lg';
995
1308
  }
996
1309
  declare function Dots({ size, className, color: _color, ...props }: DotsProps): react_jsx_runtime.JSX.Element;
997
1310
 
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
+
998
1334
  declare const Empty: react.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & react.RefAttributes<HTMLDivElement>>;
999
1335
  declare const EmptyHeader: react.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & react.RefAttributes<HTMLDivElement>>;
1000
1336
  interface EmptyMediaProps extends HTMLAttributes<HTMLDivElement>, EmptyMediaVariants {
@@ -1004,22 +1340,60 @@ declare const EmptyTitle: react.ForwardRefExoticComponent<HTMLAttributes<HTMLDiv
1004
1340
  declare const EmptyDescription: react.ForwardRefExoticComponent<HTMLAttributes<HTMLParagraphElement> & react.RefAttributes<HTMLParagraphElement>>;
1005
1341
  declare const EmptyContent: react.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & react.RefAttributes<HTMLDivElement>>;
1006
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
+
1007
1373
  interface TooltipProps extends Omit<Tooltip$1.Positioner.Props, 'children' | 'className'> {
1008
1374
  children?: ReactNode;
1009
1375
  showArrow?: boolean;
1010
1376
  className?: string;
1377
+ /** Positioner class name. Merged with the internal layer/isolation classes. */
1378
+ positionerClassName?: string;
1011
1379
  placement?: Tooltip$1.Positioner.Props['side'];
1012
1380
  }
1013
- declare function Tooltip({ children, className, placement, side, sideOffset, showArrow, ...props }: TooltipProps): react_jsx_runtime.JSX.Element;
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;
1014
1385
  interface TooltipBubbleProps extends HTMLAttributes<HTMLDivElement> {
1015
1386
  children?: ReactNode;
1016
1387
  showArrow?: boolean;
1017
1388
  }
1018
- declare function TooltipBubble({ children, className, color: _color, ...props }: TooltipBubbleProps): react_jsx_runtime.JSX.Element;
1389
+ /** An unpositioned tooltip surface, used by `FloatingTooltip` and for custom positioning. */
1390
+ declare const TooltipBubble: react.ForwardRefExoticComponent<TooltipBubbleProps & react.RefAttributes<HTMLDivElement>>;
1019
1391
 
1020
1392
  interface FloatingTooltipProps extends TooltipBubbleProps {
1393
+ /** Set to `false` to detach the pointer listener without unmounting. Defaults to `true`. */
1394
+ isOpen?: boolean;
1021
1395
  }
1022
- declare function FloatingTooltip({ className, style, children, ...props }: FloatingTooltipProps): react_jsx_runtime.JSX.Element;
1396
+ declare function FloatingTooltip({ className, style, children, isOpen, ...props }: FloatingTooltipProps): react_jsx_runtime.JSX.Element;
1023
1397
 
1024
1398
  interface FormProps extends UseFormProps, Omit<HTMLAttributes<HTMLFormElement>, 'children'> {
1025
1399
  autoComplete?: string;
@@ -1075,7 +1449,7 @@ interface FormResetButtonProps extends ButtonProps {
1075
1449
  [p: string]: any;
1076
1450
  };
1077
1451
  }
1078
- declare function FormResetButton({ values, children, onPress, ...props }: FormResetButtonProps): react_jsx_runtime.JSX.Element;
1452
+ declare function FormResetButton({ values, children, onPress, onClick, ...props }: FormResetButtonProps): react_jsx_runtime.JSX.Element;
1079
1453
 
1080
1454
  interface LoadingButtonProps extends ButtonProps {
1081
1455
  children?: ReactNode;
@@ -1085,7 +1459,15 @@ interface LoadingButtonProps extends ButtonProps {
1085
1459
  }
1086
1460
  declare function LoadingButton({ isLoading, isDisabled, showText, children, ...props }: LoadingButtonProps): react_jsx_runtime.JSX.Element;
1087
1461
 
1088
- declare function FormSubmitButton({ variant, isDisabled, isLoading, children, ...props }: LoadingButtonProps): react_jsx_runtime.JSX.Element;
1462
+ interface FormSubmitButtonProps extends LoadingButtonProps {
1463
+ /**
1464
+ * Also disable the button while the form is pristine or invalid. Only useful with
1465
+ * `mode="onChange"` / `mode="all"`, since RHF's default `onSubmit` mode reports
1466
+ * `isValid: false` until the first submit attempt.
1467
+ */
1468
+ requireValid?: boolean;
1469
+ }
1470
+ declare function FormSubmitButton({ variant, isDisabled, isLoading, requireValid, children, ...props }: FormSubmitButtonProps): react_jsx_runtime.JSX.Element;
1089
1471
 
1090
1472
  type HeadingElement = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
1091
1473
  interface HeadingProps extends Omit<TextProps, 'as' | 'size'> {
@@ -1093,16 +1475,25 @@ interface HeadingProps extends Omit<TextProps, 'as' | 'size'> {
1093
1475
  size?: Responsive$1<HeadingSize>;
1094
1476
  as?: HeadingElement;
1095
1477
  }
1096
- declare function Heading({ size, spacing, as, className, children, ...props }: HeadingProps): react_jsx_runtime.JSX.Element;
1478
+ declare function Heading({ size, spacing, weight, as, className, children, ...props }: HeadingProps): react_jsx_runtime.JSX.Element;
1097
1479
 
1098
- interface HoverButtonProps {
1480
+ interface HoverTriggerProps {
1481
+ /** Controlled open state. */
1099
1482
  isOpen?: boolean;
1483
+ defaultOpen?: boolean;
1484
+ onOpenChange?: (open: boolean) => void;
1100
1485
  onHoverStart?: () => void;
1101
1486
  onHoverEnd?: () => void;
1487
+ /** Delay before opening on hover, in milliseconds. */
1488
+ delay?: number;
1489
+ /** Delay before closing once the pointer leaves, in milliseconds. */
1102
1490
  closeDelay?: number;
1103
- children: ReactElement[];
1491
+ className?: string;
1492
+ children: ReactNode;
1104
1493
  }
1105
- declare function HoverTrigger({ isOpen, onHoverStart, onHoverEnd, closeDelay, children, }: HoverButtonProps): react_jsx_runtime.JSX.Element;
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;
1106
1497
 
1107
1498
  declare const breakpoints: {
1108
1499
  sm: number;
@@ -1173,6 +1564,19 @@ interface ImageProps extends HTMLAttributes<HTMLImageElement> {
1173
1564
  }
1174
1565
  declare function Image({ src, alt, objectFit, isCentered, borderRadius, shadow, className, ...props }: ImageProps): react_jsx_runtime.JSX.Element;
1175
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>>;
1579
+
1176
1580
  interface InputGroupProps extends HTMLAttributes<HTMLDivElement>, InputFieldVariants {
1177
1581
  }
1178
1582
  declare const InputGroup: react.ForwardRefExoticComponent<InputGroupProps & react.RefAttributes<HTMLDivElement>>;
@@ -1187,16 +1591,22 @@ interface InputGroupButtonProps extends Omit<ButtonProps, 'size'> {
1187
1591
  }
1188
1592
  declare const InputGroupButton: react.ForwardRefExoticComponent<Omit<InputGroupButtonProps, "ref"> & react.RefAttributes<HTMLButtonElement>>;
1189
1593
  declare const InputGroupText: react.ForwardRefExoticComponent<HTMLAttributes<HTMLSpanElement> & react.RefAttributes<HTMLSpanElement>>;
1190
- declare const InputGroupInput: react.ForwardRefExoticComponent<InputHTMLAttributes<HTMLInputElement> & react.RefAttributes<HTMLInputElement>>;
1191
- declare const InputGroupTextarea: react.ForwardRefExoticComponent<TextareaHTMLAttributes<HTMLTextAreaElement> & react.RefAttributes<HTMLTextAreaElement>>;
1594
+ declare const InputGroupInput: react.ForwardRefExoticComponent<InputProps & react.RefAttributes<HTMLInputElement>>;
1595
+ declare const InputGroupTextarea: react.ForwardRefExoticComponent<TextareaProps & react.RefAttributes<HTMLTextAreaElement>>;
1192
1596
 
1193
1597
  type KbdProps = HTMLAttributes<HTMLElement>;
1194
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;
1195
1601
 
1196
- interface LabelProps extends Omit<TextProps, 'as' | 'render'> {
1197
- htmlFor?: string;
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>;
1198
1608
  }
1199
- declare function Label({ size, weight, lineHeight, ...props }: LabelProps): react_jsx_runtime.JSX.Element;
1609
+ declare const Label: react.ForwardRefExoticComponent<LabelProps & react.RefAttributes<HTMLLabelElement>>;
1200
1610
 
1201
1611
  interface LoadingProps extends BoxProps {
1202
1612
  size?: 'sm' | 'md' | 'lg';
@@ -1206,7 +1616,6 @@ interface LoadingProps extends BoxProps {
1206
1616
  }
1207
1617
  declare function Loading({ size, placement, icon, className, ...props }: LoadingProps): react_jsx_runtime.JSX.Element;
1208
1618
 
1209
- declare function cn(...inputs: ClassValue[]): string;
1210
1619
  type Breakpoint = 'base' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
1211
1620
  type Responsive<T> = T | Partial<Record<Breakpoint, T>>;
1212
1621
  declare function mapDisplay(value: Responsive<string> | undefined): string;
@@ -1271,37 +1680,6 @@ interface StateStylesInput {
1271
1680
  }
1272
1681
  declare function mapStateStyles(prefix: StatePrefix, styles: StateStylesInput | undefined): string;
1273
1682
 
1274
- interface MenuProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onChange'> {
1275
- selectionMode?: 'none' | 'single' | 'multiple';
1276
- selectedKeys?: Iterable<Key>;
1277
- defaultSelectedKeys?: Iterable<Key>;
1278
- onSelectionChange?: (keys: Selection) => void;
1279
- }
1280
- declare function Menu({ className, children, selectionMode, selectedKeys, defaultSelectedKeys, onSelectionChange, ...props }: MenuProps): react_jsx_runtime.JSX.Element;
1281
- interface MenuItemProps extends Omit<HTMLAttributes<HTMLDivElement>, 'id'> {
1282
- id?: string | number;
1283
- value?: string;
1284
- icon?: ReactNode;
1285
- label?: string;
1286
- showChecked?: boolean;
1287
- showSubMenuIcon?: boolean;
1288
- isDisabled?: boolean;
1289
- onAction?: (key: Key) => void;
1290
- }
1291
- declare function MenuItem({ id, value, icon, label, showChecked, showSubMenuIcon, isDisabled, onAction, children, className, onClick, ...props }: MenuItemProps): react_jsx_runtime.JSX.Element;
1292
- interface MenuSeparatorProps extends Menu$1.Separator.Props {
1293
- }
1294
- declare function MenuSeparator({ className, ...props }: MenuSeparatorProps): react_jsx_runtime.JSX.Element;
1295
- interface MenuSectionProps extends HTMLAttributes<HTMLDivElement> {
1296
- title?: string;
1297
- maxHeight?: number;
1298
- }
1299
- declare function MenuSection({ title, maxHeight, className, style, children, ...props }: MenuSectionProps): react_jsx_runtime.JSX.Element;
1300
- interface SubmenuTriggerProps {
1301
- children?: ReactNode;
1302
- }
1303
- declare function SubMenuTrigger({ children }: SubmenuTriggerProps): react_jsx_runtime.JSX.Element;
1304
-
1305
1683
  interface MenubarProps extends Omit<Menubar$1.Props, 'disabled'> {
1306
1684
  isDisabled?: boolean;
1307
1685
  children?: ReactNode;
@@ -1326,13 +1704,31 @@ declare function Meter({ value, minValue, maxValue, label, showValue, formatOpti
1326
1704
 
1327
1705
  interface ModalProps extends Dialog$1.Portal.Props {
1328
1706
  children?: ReactNode;
1707
+ /** Controlled open state. Only used when the modal is not wrapped in a `DialogTrigger`. */
1329
1708
  isOpen?: boolean;
1709
+ /** Initial open state. Only used when the modal is not wrapped in a `DialogTrigger`. */
1710
+ defaultOpen?: boolean;
1330
1711
  onOpenChange?: (open: boolean) => void;
1331
1712
  placement?: 'center' | 'fullscreen';
1713
+ /** Renders a quiet close button in the top-right corner. */
1714
+ showCloseButton?: boolean;
1332
1715
  className?: string;
1333
1716
  style?: CSSProperties;
1334
1717
  }
1335
- declare function Modal({ placement, children, className, style, isOpen: _isOpen, onOpenChange: _onOpenChange, ...props }: ModalProps): react_jsx_runtime.JSX.Element;
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
+ }
1731
+ declare function ModalDescription({ className, ...props }: ModalDescriptionProps): react_jsx_runtime.JSX.Element;
1336
1732
 
1337
1733
  interface NavbarProps extends HTMLAttributes<HTMLElement> {
1338
1734
  /** Shows the dropdown arrow on items that have a label. Defaults to `true`. */
@@ -1350,7 +1746,7 @@ interface NavbarLinkProps extends NavigationMenu.Link.Props {
1350
1746
  /** A semantic navigation link. Renders an `<a>` element and integrates with keyboard navigation. */
1351
1747
  declare function NavbarLink({ className, ...props }: NavbarLinkProps): react_jsx_runtime.JSX.Element;
1352
1748
 
1353
- interface NumberFieldProps extends Omit<NumberField$1.Root.Props, 'min' | 'max' | 'disabled' | 'readOnly' | 'required' | 'format' | 'onValueChange'> {
1749
+ interface NumberFieldProps extends Omit<NumberField$1.Root.Props, 'onValueChange'> {
1354
1750
  label?: string;
1355
1751
  placeholder?: string;
1356
1752
  minValue?: number;
@@ -1360,10 +1756,13 @@ interface NumberFieldProps extends Omit<NumberField$1.Root.Props, 'min' | 'max'
1360
1756
  isRequired?: boolean;
1361
1757
  formatOptions?: Intl.NumberFormatOptions;
1362
1758
  onChange?: (value: number | null) => void;
1759
+ /** Labels announced for the stepper buttons. */
1760
+ decrementLabel?: string;
1761
+ incrementLabel?: string;
1363
1762
  }
1364
- declare function NumberField({ label, placeholder, minValue, maxValue, isDisabled, isReadOnly, isRequired, formatOptions, onChange, className, id, ...props }: NumberFieldProps): react_jsx_runtime.JSX.Element;
1763
+ declare const NumberField: react.ForwardRefExoticComponent<Omit<NumberFieldProps, "ref"> & react.RefAttributes<HTMLDivElement>>;
1365
1764
 
1366
- interface OTPFieldProps extends Omit<OTPField$1.Root.Props, 'length' | 'disabled' | 'readOnly' | 'required' | 'onValueChange' | 'onValueComplete'> {
1765
+ interface OTPFieldProps extends Omit<OTPField$1.Root.Props, 'length' | 'onValueChange' | 'onValueComplete'> {
1367
1766
  length?: number;
1368
1767
  label?: string;
1369
1768
  isDisabled?: boolean;
@@ -1372,7 +1771,8 @@ interface OTPFieldProps extends Omit<OTPField$1.Root.Props, 'length' | 'disabled
1372
1771
  onChange?: (value: string) => void;
1373
1772
  onComplete?: (value: string) => void;
1374
1773
  }
1375
- declare function OTPField({ length, label, isDisabled, isReadOnly, isRequired, onChange, onComplete, className, id, ...props }: OTPFieldProps): react_jsx_runtime.JSX.Element;
1774
+ declare const OTPFieldSeparator: react.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & react.RefAttributes<HTMLDivElement>>;
1775
+ declare const OTPField: react.ForwardRefExoticComponent<Omit<OTPFieldProps, "ref"> & react.RefAttributes<HTMLDivElement>>;
1376
1776
 
1377
1777
  interface DialogTriggerProps {
1378
1778
  children: ReactNode;
@@ -1386,8 +1786,12 @@ interface TooltipTriggerProps {
1386
1786
  children: ReactNode;
1387
1787
  delay?: number;
1388
1788
  closeDelay?: number;
1789
+ isOpen?: boolean;
1790
+ defaultOpen?: boolean;
1791
+ onOpenChange?: (open: boolean) => void;
1792
+ isDisabled?: boolean;
1389
1793
  }
1390
- declare function TooltipTrigger({ children, delay, closeDelay }: TooltipTriggerProps): react_jsx_runtime.JSX.Element;
1794
+ declare function TooltipTrigger({ children, delay, closeDelay, isOpen, defaultOpen, onOpenChange, isDisabled, }: TooltipTriggerProps): react_jsx_runtime.JSX.Element;
1391
1795
  interface MenuTriggerProps {
1392
1796
  children: ReactNode;
1393
1797
  isOpen?: boolean;
@@ -1430,6 +1834,36 @@ interface PageHeaderActionsProps extends RowProps {
1430
1834
  }
1431
1835
  declare function PageHeaderActions({ children, ...props }: PageHeaderActionsProps): react_jsx_runtime.JSX.Element;
1432
1836
 
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
+ }
1433
1867
  interface PaginationProps extends Omit<HTMLAttributes<HTMLElement>, 'onChange'> {
1434
1868
  pageCount?: number;
1435
1869
  totalItems?: number;
@@ -1439,31 +1873,79 @@ interface PaginationProps extends Omit<HTMLAttributes<HTMLElement>, 'onChange'>
1439
1873
  siblingCount?: number;
1440
1874
  isDisabled?: boolean;
1441
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;
1442
1881
  }
1443
- declare function Pagination({ pageCount, totalItems, pageSize, page, defaultPage, siblingCount, isDisabled, onChange, className, ...props }: PaginationProps): react_jsx_runtime.JSX.Element;
1882
+ declare function Pagination({ pageCount, totalItems, pageSize, page, defaultPage, siblingCount, isDisabled, onChange, renderLink, className, ...props }: PaginationProps): react_jsx_runtime.JSX.Element;
1444
1883
 
1445
- interface PasswordFieldProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'disabled' | 'readOnly'> {
1884
+ interface PasswordFieldProps extends InputHTMLAttributes<HTMLInputElement> {
1446
1885
  label?: string;
1447
1886
  isDisabled?: boolean;
1448
1887
  isReadOnly?: boolean;
1888
+ /** Controls whether the value is visible. Leave undefined for uncontrolled behavior. */
1889
+ isRevealed?: boolean;
1890
+ defaultRevealed?: boolean;
1891
+ onRevealChange?: (revealed: boolean) => void;
1449
1892
  }
1450
- declare function PasswordField({ label, className, isDisabled, isReadOnly, ...props }: PasswordFieldProps): react_jsx_runtime.JSX.Element;
1893
+ declare const PasswordField: react.ForwardRefExoticComponent<PasswordFieldProps & react.RefAttributes<HTMLInputElement>>;
1451
1894
 
1452
1895
  interface PopoverProps extends Omit<Popover$1.Positioner.Props, 'children' | 'className'> {
1453
1896
  children?: ReactNode;
1454
1897
  isFullscreen?: boolean;
1898
+ /** Controlled open state. Only used when the popover is not wrapped in a `DialogTrigger`. */
1455
1899
  isOpen?: boolean;
1900
+ /** Initial open state. Only used when the popover is not wrapped in a `DialogTrigger`. */
1901
+ defaultOpen?: boolean;
1456
1902
  isNonModal?: boolean;
1457
1903
  triggerRef?: React.RefObject<Element | null>;
1458
1904
  className?: string;
1459
1905
  onOpenChange?: (open: boolean) => void;
1460
1906
  }
1461
- declare function Popover({ children, isFullscreen, className, isOpen: _isOpen, isNonModal: _isNonModal, triggerRef: _triggerRef, onOpenChange: _onOpenChange, ...props }: PopoverProps): react_jsx_runtime.JSX.Element;
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;
1929
+ }
1930
+ declare const PreviewCardContent: react.ForwardRefExoticComponent<Omit<PreviewCardContentProps, "ref"> & react.RefAttributes<HTMLDivElement>>;
1462
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;
1463
1944
  interface ProgressBarProps extends ProgressRoot.Props {
1464
1945
  showPercentage?: boolean;
1946
+ label?: string;
1465
1947
  }
1466
- declare function ProgressBar({ className, showPercentage, ...props }: ProgressBarProps): react_jsx_runtime.JSX.Element;
1948
+ declare function ProgressBar({ className, showPercentage, label, children, ...props }: ProgressBarProps): react_jsx_runtime.JSX.Element;
1467
1949
 
1468
1950
  interface ProgressCircleProps extends ProgressRoot.Props {
1469
1951
  showPercentage?: boolean;
@@ -1481,7 +1963,7 @@ declare function RadioGroup({ label, children, className, isDisabled, isReadOnly
1481
1963
  interface RadioProps extends Omit<RadioRoot.Props, 'disabled'> {
1482
1964
  isDisabled?: boolean;
1483
1965
  }
1484
- declare function Radio({ children, className, isDisabled, ...props }: RadioProps): react_jsx_runtime.JSX.Element;
1966
+ declare function Radio({ children, className, isDisabled, id, ...props }: RadioProps): react_jsx_runtime.JSX.Element;
1485
1967
 
1486
1968
  interface ResizablePanelGroupProps extends Omit<GroupProps, 'orientation'> {
1487
1969
  direction?: 'horizontal' | 'vertical';
@@ -1510,51 +1992,68 @@ interface SearchFieldProps extends Omit<InputHTMLAttributes<HTMLInputElement>, '
1510
1992
  onChange?: (value: string) => void;
1511
1993
  onSearch?: (value: string) => void;
1512
1994
  }
1513
- declare function SearchField({ label, placeholder, value, defaultValue, delay, onChange, onSearch, className, ...props }: SearchFieldProps): react_jsx_runtime.JSX.Element;
1995
+ declare const SearchField: react.ForwardRefExoticComponent<SearchFieldProps & react.RefAttributes<HTMLInputElement>>;
1514
1996
 
1515
1997
  interface SelectValueRenderProps {
1516
1998
  defaultChildren: ReactNode;
1517
1999
  isPlaceholder: boolean;
1518
2000
  }
2001
+ interface SelectItemOption {
2002
+ label: ReactNode;
2003
+ value: string | number;
2004
+ }
1519
2005
  interface SelectProps extends Omit<Select$1.Root.Props<string | number>, 'children' | 'value' | 'defaultValue' | 'items' | 'disabled' | 'onValueChange'> {
1520
2006
  children?: ReactNode;
1521
- items?: ReadonlyArray<string | number | {
1522
- label: ReactNode;
1523
- value: string | number;
1524
- }>;
2007
+ items?: ReadonlyArray<string | number | SelectItemOption>;
1525
2008
  value?: string | number;
1526
2009
  defaultValue?: string | number;
1527
2010
  label?: string;
1528
2011
  placeholder?: string;
1529
2012
  isLoading?: boolean;
2013
+ /** Compat alias for the Base UI `disabled` prop. */
1530
2014
  isDisabled?: boolean;
2015
+ disabled?: boolean;
2016
+ /** Size of the trigger. Emits `data-size` on the trigger element. */
2017
+ size?: 'sm' | 'md';
1531
2018
  allowSearch?: boolean;
1532
2019
  searchValue?: string;
1533
2020
  searchDelay?: number;
1534
2021
  isFullscreen?: boolean;
2022
+ /** When set, the list is wrapped in a `ScrollArea` capped at this height. */
1535
2023
  maxHeight?: string | number;
1536
2024
  showIcon?: boolean;
1537
2025
  alignItemWithTrigger?: boolean;
1538
2026
  onSearch?: (value: string) => void;
1539
2027
  onChange?: (value: string | number | null) => void;
1540
- buttonProps?: ButtonProps;
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;
1541
2032
  listProps?: ListProps;
1542
2033
  popoverProps?: Select$1.Positioner.Props;
1543
2034
  renderValue?: ReactNode | ((values: SelectValueRenderProps) => ReactNode);
1544
2035
  className?: string;
1545
2036
  }
1546
- declare function Select({ value, defaultValue, label, placeholder, isLoading, isDisabled, allowSearch, searchValue, searchDelay, isFullscreen, maxHeight, showIcon, alignItemWithTrigger, onSearch, onChange, buttonProps, listProps, popoverProps, renderValue, className, children, items, onOpenChange, id, ...props }: SelectProps): react_jsx_runtime.JSX.Element;
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;
1547
2038
 
1548
2039
  interface SheetProps extends Dialog$1.Portal.Props {
1549
2040
  children?: ReactNode;
1550
2041
  side?: 'left' | 'right' | 'top' | 'bottom';
1551
2042
  size?: string | number;
2043
+ /** Controlled open state. Only used when the sheet is not wrapped in a `DialogTrigger`. */
1552
2044
  isOpen?: boolean;
2045
+ /** Initial open state. Only used when the sheet is not wrapped in a `DialogTrigger`. */
2046
+ defaultOpen?: boolean;
1553
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;
1554
2053
  className?: string;
1555
2054
  style?: CSSProperties;
1556
2055
  }
1557
- declare function Sheet({ side, size, children, className, style, isOpen: _isOpen, onOpenChange: _onOpenChange, ...props }: SheetProps): react_jsx_runtime.JSX.Element;
2056
+ declare function Sheet({ side, size, children, className, style, isOpen, defaultOpen, onOpenChange, showCloseButton, ...props }: SheetProps): react_jsx_runtime.JSX.Element;
1558
2057
  interface SheetHeaderProps {
1559
2058
  title?: ReactNode;
1560
2059
  showClose?: boolean;
@@ -1562,10 +2061,29 @@ interface SheetHeaderProps {
1562
2061
  children?: ReactNode;
1563
2062
  }
1564
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;
1565
2077
 
1566
2078
  interface SkeletonProps extends BoxProps {
1567
2079
  }
1568
- declare function Skeleton({ width, height, borderRadius, className, ...props }: SkeletonProps): react_jsx_runtime.JSX.Element;
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;
1569
2087
  interface SkeletonTextProps extends ColumnProps {
1570
2088
  lines?: number;
1571
2089
  lastLineWidth?: BoxProps['width'];
@@ -1577,14 +2095,16 @@ interface SkeletonAvatarProps extends Omit<SkeletonProps, 'width' | 'height' | '
1577
2095
  }
1578
2096
  declare function SkeletonAvatar({ size, ...props }: SkeletonAvatarProps): react_jsx_runtime.JSX.Element;
1579
2097
 
1580
- interface SliderProps extends Omit<Slider$1.Root.Props<number>, 'disabled' | 'onChange' | 'onValueChange' | 'onValueCommitted'> {
2098
+ type SliderValue = number | number[];
2099
+ interface SliderProps extends Omit<Slider$1.Root.Props<SliderValue>, 'disabled' | 'onChange' | 'onValueChange' | 'onValueCommitted'> {
2100
+ className?: string;
1581
2101
  label?: ReactNode;
1582
2102
  showValue?: boolean;
1583
2103
  isDisabled?: boolean;
1584
- onChange?: (value: number) => void;
1585
- onChangeEnd?: (value: number) => void;
2104
+ onChange?: (value: SliderValue) => void;
2105
+ onChangeEnd?: (value: SliderValue) => void;
1586
2106
  }
1587
- declare function Slider({ className, showValue, label, isDisabled, onChange, onChangeEnd, ...props }: SliderProps): react_jsx_runtime.JSX.Element;
2107
+ declare function Slider({ className, showValue, label, isDisabled, onChange, onChangeEnd, value, defaultValue, min, max, orientation, ...props }: SliderProps): react_jsx_runtime.JSX.Element;
1588
2108
 
1589
2109
  interface SpinnerProps extends HTMLAttributes<HTMLDivElement> {
1590
2110
  size?: 'sm' | 'md' | 'lg';
@@ -1601,25 +2121,87 @@ interface StatusLightProps {
1601
2121
  }
1602
2122
  declare function StatusLight(props: StatusLightProps): react_jsx_runtime.JSX.Element;
1603
2123
 
1604
- interface SwitchProps extends Omit<Switch$1.Root.Props, 'checked' | 'defaultChecked' | 'disabled' | 'onCheckedChange' | 'value'> {
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;
1605
2170
  children?: ReactNode;
1606
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
+ */
1607
2176
  value?: string | boolean;
1608
2177
  isSelected?: boolean;
1609
2178
  defaultSelected?: boolean;
1610
2179
  isDisabled?: boolean;
1611
2180
  onChange?: (selected: boolean) => void;
1612
2181
  }
1613
- declare function Switch({ label, children, className, isSelected, defaultSelected, isDisabled, onChange, value, id, ...props }: SwitchProps): react_jsx_runtime.JSX.Element;
2182
+ declare function Switch({ label, children, className, size, isSelected, defaultSelected, isDisabled, onChange, value, id, ...props }: SwitchProps): react_jsx_runtime.JSX.Element;
1614
2183
 
2184
+ type TabListVariant = 'line' | 'default';
1615
2185
  interface TabsProps extends Omit<Tabs$1.Root.Props, 'value' | 'defaultValue' | 'onValueChange'> {
1616
2186
  children?: ReactNode;
2187
+ /** Controlled value. Alias of `value`. */
1617
2188
  selectedKey?: string;
2189
+ value?: string;
2190
+ /** Uncontrolled value. Alias of `defaultValue`. */
1618
2191
  defaultSelectedKey?: string;
2192
+ defaultValue?: string;
1619
2193
  onSelectionChange?: (key: string) => void;
2194
+ onValueChange?: Tabs$1.Root.Props['onValueChange'];
1620
2195
  }
1621
2196
  interface TabListProps extends Tabs$1.List.Props {
1622
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;
1623
2205
  }
1624
2206
  interface TabProps extends Omit<Tabs$1.Tab.Props, 'value' | 'disabled'> {
1625
2207
  id?: string;
@@ -1631,8 +2213,11 @@ interface TabPanelProps extends Omit<Tabs$1.Panel.Props, 'value'> {
1631
2213
  id?: string;
1632
2214
  value?: string;
1633
2215
  }
1634
- declare function Tabs({ children, className, selectedKey, defaultSelectedKey, onSelectionChange, ...props }: TabsProps): react_jsx_runtime.JSX.Element;
1635
- declare function TabList({ children, className, ...props }: TabListProps): react_jsx_runtime.JSX.Element;
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;
1636
2221
  declare function Tab({ id, value, isDisabled, href, children, className, ...props }: TabProps): react_jsx_runtime.JSX.Element;
1637
2222
  declare function TabPanel({ id, value, children, className, ...props }: TabPanelProps): react_jsx_runtime.JSX.Element;
1638
2223
 
@@ -1642,16 +2227,18 @@ interface TagGroupProps extends HTMLAttributes<HTMLDivElement> {
1642
2227
  onRemove?: (keys: Set<Key>) => void;
1643
2228
  }
1644
2229
  declare function TagGroup({ label, children, className, onRemove, ...props }: TagGroupProps): react_jsx_runtime.JSX.Element;
1645
- interface TagProps extends Omit<HTMLAttributes<HTMLDivElement>, 'id'>, TagVariants {
2230
+ interface TagProps extends Omit<LiHTMLAttributes<HTMLLIElement>, 'id'>, TagVariants {
1646
2231
  id?: string | number;
1647
2232
  children?: ReactNode;
1648
2233
  isDisabled?: boolean;
1649
2234
  }
1650
2235
  declare function Tag({ id, variant, children, className, isDisabled, ...props }: TagProps): react_jsx_runtime.JSX.Element;
1651
2236
 
1652
- type NativeFieldProps = Omit<InputHTMLAttributes<HTMLInputElement> & TextareaHTMLAttributes<HTMLTextAreaElement>, 'onChange' | 'readOnly' | 'disabled'>;
2237
+ type NativeFieldProps = Omit<InputHTMLAttributes<HTMLInputElement> & TextareaHTMLAttributes<HTMLTextAreaElement>, 'onChange'>;
1653
2238
  interface TextFieldProps extends NativeFieldProps {
1654
2239
  label?: string;
2240
+ description?: ReactNode;
2241
+ error?: ReactNode;
1655
2242
  placeholder?: string;
1656
2243
  allowCopy?: boolean;
1657
2244
  asTextArea?: boolean;
@@ -1661,7 +2248,8 @@ interface TextFieldProps extends NativeFieldProps {
1661
2248
  isDisabled?: boolean;
1662
2249
  onChange?: (value: any) => void;
1663
2250
  }
1664
- declare function TextField({ value, defaultValue, label, placeholder, allowCopy, asTextArea, resize, variant, onChange, isReadOnly, isDisabled, className, children: _children, ...props }: TextFieldProps): react_jsx_runtime.JSX.Element;
2251
+ type FieldElement = HTMLInputElement | HTMLTextAreaElement;
2252
+ declare const TextField: react.ForwardRefExoticComponent<TextFieldProps & react.RefAttributes<FieldElement>>;
1665
2253
 
1666
2254
  interface ThemeButtonProps extends Omit<ButtonProps, 'target'> {
1667
2255
  target?: RefObject<HTMLElement | null> | HTMLElement;
@@ -1674,7 +2262,46 @@ interface ThemeSwitcherProps {
1674
2262
  }
1675
2263
  declare function ThemeSwitcher({ className }: ThemeSwitcherProps): react_jsx_runtime.JSX.Element;
1676
2264
 
1677
- interface ToggleProps extends Omit<ToggleProps$1<string>, 'pressed' | 'defaultPressed' | 'disabled' | 'onChange' | 'onPressedChange'> {
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;
1678
2305
  label?: string;
1679
2306
  value?: string;
1680
2307
  isSelected?: boolean;
@@ -1682,25 +2309,27 @@ interface ToggleProps extends Omit<ToggleProps$1<string>, 'pressed' | 'defaultPr
1682
2309
  isDisabled?: boolean;
1683
2310
  onChange?: (selected: boolean) => void;
1684
2311
  }
1685
- declare function Toggle({ label, children, className, isSelected, defaultSelected, isDisabled, onChange, ...props }: ToggleProps): react_jsx_runtime.JSX.Element;
2312
+ declare function Toggle({ label, children, className, variant, size, pressed, defaultPressed, disabled, isSelected, defaultSelected, isDisabled, onChange, onPressedChange, ...props }: ToggleProps): react_jsx_runtime.JSX.Element;
1686
2313
 
1687
- interface ToggleGroupProps extends Omit<ToggleGroupProps$1<string>, 'value' | 'defaultValue' | 'onChange' | 'onValueChange'> {
2314
+ interface ToggleGroupProps extends Omit<ToggleGroupProps$1<string>, 'value' | 'defaultValue' | 'onChange' | 'onValueChange'>, ToggleVariants {
1688
2315
  label?: string;
1689
2316
  value?: string[];
1690
2317
  defaultValue?: string[];
1691
- variant?: 'primary';
2318
+ /** Gap between items, in Tailwind spacing units. `0` renders a joined group. */
2319
+ spacing?: number;
2320
+ orientation?: 'horizontal' | 'vertical';
1692
2321
  onChange?: (value: string[]) => void;
1693
2322
  selectionMode?: 'single' | 'multiple';
1694
2323
  selectedKeys?: Iterable<string>;
1695
2324
  defaultSelectedKeys?: Iterable<string>;
1696
2325
  onSelectionChange?: (value: Selection) => void;
1697
2326
  }
1698
- declare function ToggleGroup({ label, value, defaultValue, variant, onChange, className, children, selectionMode, selectedKeys, defaultSelectedKeys, onSelectionChange, ...props }: ToggleGroupProps): react_jsx_runtime.JSX.Element;
1699
- interface ToggleGroupItemProps extends Omit<ToggleProps$1<string>, 'disabled'> {
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 {
1700
2329
  id?: string;
1701
2330
  isDisabled?: boolean;
1702
2331
  }
1703
- declare function ToggleGroupItem({ id, className, children, isDisabled, ...props }: ToggleGroupItemProps): react_jsx_runtime.JSX.Element;
2332
+ declare function ToggleGroupItem({ id, className, children, variant, size, isDisabled, ...props }: ToggleGroupItemProps): react_jsx_runtime.JSX.Element;
1704
2333
 
1705
2334
  interface ToolbarProps extends Omit<Toolbar$1.Root.Props, 'disabled'> {
1706
2335
  isDisabled?: boolean;
@@ -1711,11 +2340,28 @@ interface ToolbarGroupProps extends Toolbar$1.Group.Props {
1711
2340
  children?: ReactNode;
1712
2341
  }
1713
2342
  declare function ToolbarGroup({ className, children, ...props }: ToolbarGroupProps): react_jsx_runtime.JSX.Element;
1714
- interface ToolbarButtonProps extends ButtonProps {
2343
+ interface ToolbarButtonProps extends Omit<Toolbar$1.Button.Props, 'className'>, ButtonVariants {
1715
2344
  isDisabled?: boolean;
2345
+ className?: string;
2346
+ children?: ReactNode;
2347
+ }
2348
+ /**
2349
+ * A toolbar item styled like a `Button`. The button styles are applied directly
2350
+ * to the Base UI toolbar button so no nested interactive element is rendered.
2351
+ */
2352
+ declare function ToolbarButton({ isDisabled, disabled, variant, size, className, children, ...props }: ToolbarButtonProps): react_jsx_runtime.JSX.Element;
2353
+ interface ToolbarLinkProps extends Toolbar$1.Link.Props {
2354
+ children?: ReactNode;
1716
2355
  }
1717
- declare function ToolbarButton({ isDisabled, variant, ...props }: ToolbarButtonProps): react_jsx_runtime.JSX.Element;
1718
- declare function ToolbarSeparator({ className, ...props }: Toolbar$1.Separator.Props): react_jsx_runtime.JSX.Element;
2356
+ declare function ToolbarLink({ className, children, ...props }: ToolbarLinkProps): react_jsx_runtime.JSX.Element;
2357
+ interface ToolbarSeparatorProps extends Toolbar$1.Separator.Props {
2358
+ }
2359
+ /**
2360
+ * Separator for a `Toolbar`. The orientation is derived from the toolbar via the
2361
+ * `data-orientation` attribute set by Base UI, so it flips automatically inside a
2362
+ * vertical toolbar.
2363
+ */
2364
+ declare function ToolbarSeparator({ className, ...props }: ToolbarSeparatorProps): react_jsx_runtime.JSX.Element;
1719
2365
 
1720
2366
  interface ToastProps extends HTMLAttributes<HTMLDivElement> {
1721
2367
  children?: ReactNode;
@@ -1742,13 +2388,23 @@ interface ToastProviderProps extends ToasterProps {
1742
2388
  declare const ToastContext: react.Context<{}>;
1743
2389
  declare function ToastProvider({ children, ...props }: ToastProviderProps): react_jsx_runtime.JSX.Element;
1744
2390
 
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
+ }
1745
2399
  interface ZenProviderProps {
1746
2400
  theme?: Theme;
1747
2401
  colorScheme?: 'light' | 'dark' | 'system';
1748
2402
  palette?: Palette;
1749
2403
  toast?: ToasterProps;
2404
+ /** Shared tooltip grouping/delay config. Defaults to Base UI's own defaults. */
2405
+ tooltip?: ZenTooltipConfig;
1750
2406
  children: ReactNode;
1751
2407
  }
1752
- declare function ZenProvider({ children, theme, colorScheme, palette, toast }: ZenProviderProps): react_jsx_runtime.JSX.Element;
2408
+ declare function ZenProvider({ children, theme, colorScheme, palette, toast, tooltip, }: ZenProviderProps): react_jsx_runtime.JSX.Element;
1753
2409
 
1754
- export { Accordion, AccordionItem, type AccordionItemProps, type AccordionProps, Alert, AlertDescription, AlertDialog, type AlertDialogProps, type AlertProps, AlertTitle, AspectRatio, type AspectRatioProps, Avatar, type AvatarProps, Badge, type BadgeProps, Blockquote, type BlockquoteProps, Box, type BoxProps, type BoxRenderProps, Breadcrumb, type BreadcrumbProps, Breadcrumbs, type BreadcrumbsProps, type BreakpointKey, Button, ButtonGroup, type ButtonGroupOrientation, type ButtonGroupProps, ButtonGroupSeparator, type ButtonGroupSeparatorProps, ButtonGroupText, type ButtonGroupTextProps, type ButtonGroupTextRenderProps, type ButtonProps, type ButtonRenderProps, Calendar, type CalendarProps, Carousel, CarouselItem, 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 ComboBoxProps, Command, CommandDialog, type CommandDialogProps, CommandEmpty, type CommandEmptyProps, CommandGroup, type CommandGroupProps, CommandInput, type CommandInputProps, CommandItem, type CommandItemProps, CommandList, type CommandListProps, type CommandProps, CommandSeparator, type CommandSeparatorProps, ConfirmationDialog, type ConfirmationDialogProps, Container, type ContainerProps, ContextMenu, type ContextMenuProps, CopyButton, type CopyButtonProps, DataCard, type DataCardProps, DataColumn, type DataColumnProps, DataTable, type DataTableProps, DatePicker, type DatePickerProps, Dialog, type DialogProps, type DialogRenderProps, DialogTrigger, Dots, type DotsProps, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, type EmptyMediaProps, EmptyTitle, 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, Grid, type GridProps, Heading, type HeadingProps, type HoverButtonProps, HoverTrigger, Icon, type IconProps, Image, type ImageProps, InputGroup, InputGroupAddon, type InputGroupAddonAlign, type InputGroupAddonProps, InputGroupButton, type InputGroupButtonProps, type InputGroupButtonSize, InputGroupInput, type InputGroupProps, InputGroupText, InputGroupTextarea, Kbd, 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, MenuSeparator, type MenuSeparatorProps, MenuTrigger, Menubar, MenubarMenu, type MenubarMenuProps, type MenubarProps, Meter, type MeterProps, Modal, type ModalProps, Navbar, NavbarItem, type NavbarItemProps, NavbarLink, type NavbarLinkProps, type NavbarProps, NumberField, type NumberFieldProps, OTPField, type OTPFieldProps, PALETTES, PageHeader, PageHeaderActions, type PageHeaderActionsProps, type PageHeaderProps, PageHeaderTitle, type PageHeaderTitleProps, Pagination, type PaginationProps, type Palette, PasswordField, type PasswordFieldProps, Popover, type PopoverProps, type PressEvent, Pressable, ProgressBar, type ProgressBarProps, ProgressCircle, type ProgressCircleProps, 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 SelectProps, type SelectValueRenderProps, type Selection, Separator, type SeparatorProps, Sheet, SheetHeader, type SheetHeaderProps, type SheetProps, 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, Tab, TabList, type TabListProps, TabPanel, type TabPanelProps, type TabProps, Table, TableBody, TableCell, type TableCellProps, TableColumn, type TableColumnProps, TableHeader, type TableProps, TableRow, type TableRowProps, Tabs, type TabsProps, Tag, TagGroup, type TagGroupProps, type TagProps, Text, TextField, type TextFieldProps, type TextProps, type TextRenderProps, 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, Toolbar, ToolbarButton, type ToolbarButtonProps, ToolbarGroup, type ToolbarGroupProps, type ToolbarProps, ToolbarSeparator, Tooltip, TooltipBubble, type TooltipBubbleProps, type TooltipProps, TooltipTrigger, ZenProvider, type ZenProviderProps, cn, getCssColorValue, isHeightPreset, isMaxHeightPreset, isMaxWidthPreset, isMinHeightPreset, isMinWidthPreset, isWidthPreset, 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, toSelection, useBreakpoint, useDebounce, useInitTheme, useTheme, useToast };
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 };