@umami/react-zen 0.245.0 → 0.247.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1,43 +1,417 @@
1
- import { DisclosureGroupProps, DisclosureProps, DialogProps as DialogProps$1, DialogRenderProps, BreadcrumbProps, BreadcrumbsProps, ButtonProps as ButtonProps$1, CalendarProps as CalendarProps$1, CheckboxProps as CheckboxProps$1, ListBoxProps, ListBoxItemProps, ListBoxSectionProps, SeparatorProps, ComboBoxProps as ComboBoxProps$1, ListBoxRenderProps, PopoverProps as PopoverProps$1, TableProps, TooltipProps as TooltipProps$1, MenuProps as MenuProps$1, MenuItemProps as MenuItemProps$1, MenuSectionProps as MenuSectionProps$1, SubmenuTriggerProps as SubmenuTriggerProps$1, ModalOverlayProps, ModalRenderProps, TextFieldProps as TextFieldProps$1, ProgressBarProps as ProgressBarProps$1, RadioProps, RadioGroupProps as RadioGroupProps$1, SearchFieldProps as SearchFieldProps$1, SelectProps as SelectProps$1, SelectValueRenderProps, SliderProps as SliderProps$1, SwitchProps as SwitchProps$1, TableBodyProps, CellProps, ColumnProps as ColumnProps$1, TableHeaderProps, RowProps as RowProps$1, TabProps, TabListProps, TabPanelProps, TabsProps, TagProps as TagProps$1, TagGroupProps as TagGroupProps$1, ToggleButtonProps } from 'react-aria-components';
2
- export { DialogTrigger, FileTrigger, Focusable, MenuTrigger, Pressable, RadioProps, RouterProvider, Selection, SubmenuTrigger, TooltipTrigger } from 'react-aria-components';
3
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import { Accordion as Accordion$1 } from '@base-ui/react/accordion';
4
3
  import * as react from 'react';
5
- import { ReactNode, ReactElement, HTMLAttributes, CSSProperties, Dispatch, SetStateAction, RefObject } from 'react';
4
+ import { ReactNode, HTMLAttributes, ReactElement, CSSProperties, LiHTMLAttributes, MouseEvent, ComponentProps, Key, TableHTMLAttributes, TdHTMLAttributes, ThHTMLAttributes, InputHTMLAttributes, TextareaHTMLAttributes, RefObject } from 'react';
6
5
  import * as tailwind_variants from 'tailwind-variants';
7
6
  import { VariantProps } from 'tailwind-variants';
7
+ import { Avatar as Avatar$1 } from '@base-ui/react/avatar';
8
+ import { ButtonProps as ButtonProps$1 } from '@base-ui/react/button';
9
+ import { Separator as Separator$1 } from '@base-ui/react/separator';
10
+ import { DayPicker } from 'react-day-picker';
11
+ import useEmblaCarousel from 'embla-carousel-react';
12
+ import { CheckboxRoot } from '@base-ui/react/checkbox';
13
+ import { CheckboxGroup as CheckboxGroup$1 } from '@base-ui/react/checkbox-group';
14
+ import { Collapsible as Collapsible$1 } from '@base-ui/react/collapsible';
15
+ import { Combobox } from '@base-ui/react/combobox';
16
+ import { Select as Select$1 } from '@base-ui/react/select';
17
+ import { Command as Command$1 } from 'cmdk';
18
+ import { Tooltip as Tooltip$1 } from '@base-ui/react/tooltip';
8
19
  import { UseFormProps, SubmitHandler, UseFormReturn, ControllerProps, ControllerRenderProps, FieldValues, ControllerFieldState, UseFormStateReturn, RegisterOptions } from 'react-hook-form';
9
20
  import * as zustand from 'zustand';
10
21
  import { ClassValue } from 'clsx';
11
-
12
- interface AccordionProps extends DisclosureGroupProps {
22
+ import { Menu as Menu$1 } from '@base-ui/react/menu';
23
+ import { Menubar as Menubar$1 } from '@base-ui/react/menubar';
24
+ import { Meter as Meter$1 } from '@base-ui/react/meter';
25
+ import { Dialog as Dialog$1 } from '@base-ui/react/dialog';
26
+ import { NavigationMenu } from '@base-ui/react/navigation-menu';
27
+ import { NumberField as NumberField$1 } from '@base-ui/react/number-field';
28
+ import { OTPField as OTPField$1 } from '@base-ui/react/otp-field';
29
+ import { Popover as Popover$1 } from '@base-ui/react/popover';
30
+ import { ProgressRoot } from '@base-ui/react/progress';
31
+ import { RadioRoot } from '@base-ui/react/radio';
32
+ import { RadioGroupProps as RadioGroupProps$1 } from '@base-ui/react/radio-group';
33
+ import { SeparatorProps as SeparatorProps$1, PanelProps, GroupProps } from 'react-resizable-panels';
34
+ import { ScrollArea as ScrollArea$1 } from '@base-ui/react/scroll-area';
35
+ import { Slider as Slider$1 } from '@base-ui/react/slider';
36
+ import { Switch as Switch$1 } from '@base-ui/react/switch';
37
+ import { Tabs as Tabs$1 } from '@base-ui/react/tabs';
38
+ import { ToggleProps as ToggleProps$1 } from '@base-ui/react/toggle';
39
+ import { ToggleGroupProps as ToggleGroupProps$1 } from '@base-ui/react/toggle-group';
40
+ import { Toolbar as Toolbar$1 } from '@base-ui/react/toolbar';
41
+
42
+ interface AccordionProps extends Omit<Accordion$1.Root.Props<string>, 'value' | 'defaultValue' | 'multiple' | 'onValueChange'> {
13
43
  type?: 'single' | 'multiple';
14
44
  className?: string;
15
45
  children?: ReactNode;
46
+ allowsMultipleExpanded?: boolean;
47
+ expandedKeys?: Iterable<string>;
48
+ defaultExpandedKeys?: Iterable<string>;
49
+ onExpandedChange?: (keys: Set<string>) => void;
16
50
  }
17
- interface AccordionItemProps extends DisclosureProps {
51
+ interface AccordionItemProps extends Omit<Accordion$1.Item.Props, 'value' | 'disabled'> {
52
+ id?: string;
53
+ value?: string;
54
+ isDisabled?: boolean;
18
55
  }
19
- declare function Accordion({ className, children, ...props }: AccordionProps): react_jsx_runtime.JSX.Element;
20
- declare function AccordionItem({ className, children, ...props }: AccordionItemProps): react_jsx_runtime.JSX.Element;
56
+ declare function Accordion({ className, children, type, allowsMultipleExpanded, expandedKeys, defaultExpandedKeys, onExpandedChange, ...props }: AccordionProps): react_jsx_runtime.JSX.Element;
57
+ declare function AccordionItem({ id, value, isDisabled, className, children, ...props }: AccordionItemProps): react_jsx_runtime.JSX.Element;
21
58
 
22
- interface AlertBannerProps {
23
- title?: ReactNode;
24
- description?: ReactNode;
25
- icon?: ReactNode;
26
- variant?: 'info' | 'success' | 'warning' | 'error';
27
- align?: 'start' | 'center' | 'end';
28
- allowClose?: boolean;
29
- onClose?: () => void;
30
- className?: string;
31
- children?: ReactNode;
59
+ declare const button: tailwind_variants.TVReturnType<{
60
+ variant: {
61
+ default: string[];
62
+ primary: string[];
63
+ outline: string[];
64
+ quiet: string[];
65
+ danger: string[];
66
+ zero: string[];
67
+ };
68
+ size: {
69
+ xs: string;
70
+ sm: string;
71
+ md: string;
72
+ lg: string;
73
+ xl: string;
74
+ };
75
+ }, undefined, string[], {
76
+ variant: {
77
+ default: string[];
78
+ primary: string[];
79
+ outline: string[];
80
+ quiet: string[];
81
+ danger: string[];
82
+ zero: string[];
83
+ };
84
+ size: {
85
+ xs: string;
86
+ sm: string;
87
+ md: string;
88
+ lg: string;
89
+ xl: string;
90
+ };
91
+ }, undefined, tailwind_variants.TVReturnType<{
92
+ variant: {
93
+ default: string[];
94
+ primary: string[];
95
+ outline: string[];
96
+ quiet: string[];
97
+ danger: string[];
98
+ zero: string[];
99
+ };
100
+ size: {
101
+ xs: string;
102
+ sm: string;
103
+ md: string;
104
+ lg: string;
105
+ xl: string;
106
+ };
107
+ }, undefined, string[], unknown, unknown, undefined>>;
108
+ type ButtonVariants = VariantProps<typeof button>;
109
+ declare const inputField: tailwind_variants.TVReturnType<{
110
+ variant: {
111
+ default: string;
112
+ quiet: string;
113
+ };
114
+ }, undefined, string[], {
115
+ variant: {
116
+ default: string;
117
+ quiet: string;
118
+ };
119
+ }, undefined, tailwind_variants.TVReturnType<{
120
+ variant: {
121
+ default: string;
122
+ quiet: string;
123
+ };
124
+ }, undefined, string[], unknown, unknown, undefined>>;
125
+ type InputFieldVariants = VariantProps<typeof inputField>;
126
+ declare const alert: tailwind_variants.TVReturnType<{
127
+ variant: {
128
+ default: string;
129
+ danger: string[];
130
+ };
131
+ }, undefined, string[], {
132
+ variant: {
133
+ default: string;
134
+ danger: string[];
135
+ };
136
+ }, undefined, tailwind_variants.TVReturnType<{
137
+ variant: {
138
+ default: string;
139
+ danger: string[];
140
+ };
141
+ }, undefined, string[], unknown, unknown, undefined>>;
142
+ type AlertVariants = VariantProps<typeof alert>;
143
+ declare const emptyMedia: tailwind_variants.TVReturnType<{
144
+ variant: {
145
+ default: string;
146
+ icon: string;
147
+ };
148
+ }, undefined, "flex shrink-0 items-center justify-center mb-2 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-6", {
149
+ variant: {
150
+ default: string;
151
+ icon: string;
152
+ };
153
+ }, undefined, tailwind_variants.TVReturnType<{
154
+ variant: {
155
+ default: string;
156
+ icon: string;
157
+ };
158
+ }, undefined, "flex shrink-0 items-center justify-center mb-2 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-6", unknown, unknown, undefined>>;
159
+ type EmptyMediaVariants = VariantProps<typeof emptyMedia>;
160
+ declare const badge: tailwind_variants.TVReturnType<{
161
+ variant: {
162
+ default: string;
163
+ primary: string;
164
+ outline: string;
165
+ success: string;
166
+ warning: string;
167
+ error: string;
168
+ info: string;
169
+ slate: string;
170
+ gray: string;
171
+ zinc: string;
172
+ neutral: string;
173
+ stone: string;
174
+ red: string;
175
+ orange: string;
176
+ amber: string;
177
+ yellow: string;
178
+ lime: string;
179
+ green: string;
180
+ emerald: string;
181
+ teal: string;
182
+ cyan: string;
183
+ sky: string;
184
+ blue: string;
185
+ indigo: string;
186
+ violet: string;
187
+ purple: string;
188
+ fuchsia: string;
189
+ pink: string;
190
+ rose: string;
191
+ };
192
+ size: {
193
+ sm: string;
194
+ md: string;
195
+ };
196
+ }, undefined, string[], {
197
+ variant: {
198
+ default: string;
199
+ primary: string;
200
+ outline: string;
201
+ success: string;
202
+ warning: string;
203
+ error: string;
204
+ info: string;
205
+ slate: string;
206
+ gray: string;
207
+ zinc: string;
208
+ neutral: string;
209
+ stone: string;
210
+ red: string;
211
+ orange: string;
212
+ amber: string;
213
+ yellow: string;
214
+ lime: string;
215
+ green: string;
216
+ emerald: string;
217
+ teal: string;
218
+ cyan: string;
219
+ sky: string;
220
+ blue: string;
221
+ indigo: string;
222
+ violet: string;
223
+ purple: string;
224
+ fuchsia: string;
225
+ pink: string;
226
+ rose: string;
227
+ };
228
+ size: {
229
+ sm: string;
230
+ md: string;
231
+ };
232
+ }, undefined, tailwind_variants.TVReturnType<{
233
+ variant: {
234
+ default: string;
235
+ primary: string;
236
+ outline: string;
237
+ success: string;
238
+ warning: string;
239
+ error: string;
240
+ info: string;
241
+ slate: string;
242
+ gray: string;
243
+ zinc: string;
244
+ neutral: string;
245
+ stone: string;
246
+ red: string;
247
+ orange: string;
248
+ amber: string;
249
+ yellow: string;
250
+ lime: string;
251
+ green: string;
252
+ emerald: string;
253
+ teal: string;
254
+ cyan: string;
255
+ sky: string;
256
+ blue: string;
257
+ indigo: string;
258
+ violet: string;
259
+ purple: string;
260
+ fuchsia: string;
261
+ pink: string;
262
+ rose: string;
263
+ };
264
+ size: {
265
+ sm: string;
266
+ md: string;
267
+ };
268
+ }, undefined, string[], unknown, unknown, undefined>>;
269
+ type BadgeVariants = VariantProps<typeof badge>;
270
+ declare const avatar: tailwind_variants.TVReturnType<{
271
+ size: {
272
+ xs: {
273
+ root: string;
274
+ fallback: string;
275
+ };
276
+ sm: {
277
+ root: string;
278
+ fallback: string;
279
+ };
280
+ md: {
281
+ root: string;
282
+ fallback: string;
283
+ };
284
+ lg: {
285
+ root: string;
286
+ fallback: string;
287
+ };
288
+ xl: {
289
+ root: string;
290
+ fallback: string;
291
+ };
292
+ };
293
+ }, {
294
+ root: string[];
295
+ image: string;
296
+ fallback: string[];
297
+ }, undefined, {
298
+ size: {
299
+ xs: {
300
+ root: string;
301
+ fallback: string;
302
+ };
303
+ sm: {
304
+ root: string;
305
+ fallback: string;
306
+ };
307
+ md: {
308
+ root: string;
309
+ fallback: string;
310
+ };
311
+ lg: {
312
+ root: string;
313
+ fallback: string;
314
+ };
315
+ xl: {
316
+ root: string;
317
+ fallback: string;
318
+ };
319
+ };
320
+ }, {
321
+ root: string[];
322
+ image: string;
323
+ fallback: string[];
324
+ }, tailwind_variants.TVReturnType<{
325
+ size: {
326
+ xs: {
327
+ root: string;
328
+ fallback: string;
329
+ };
330
+ sm: {
331
+ root: string;
332
+ fallback: string;
333
+ };
334
+ md: {
335
+ root: string;
336
+ fallback: string;
337
+ };
338
+ lg: {
339
+ root: string;
340
+ fallback: string;
341
+ };
342
+ xl: {
343
+ root: string;
344
+ fallback: string;
345
+ };
346
+ };
347
+ }, {
348
+ root: string[];
349
+ image: string;
350
+ fallback: string[];
351
+ }, undefined, unknown, unknown, undefined>>;
352
+ type AvatarVariants = VariantProps<typeof avatar>;
353
+ declare const tag: tailwind_variants.TVReturnType<{
354
+ variant: {
355
+ default: {
356
+ base: string;
357
+ };
358
+ outline: {
359
+ base: string;
360
+ };
361
+ primary: {
362
+ base: string;
363
+ };
364
+ };
365
+ }, {
366
+ base: string[];
367
+ removeButton: string[];
368
+ }, undefined, {
369
+ variant: {
370
+ default: {
371
+ base: string;
372
+ };
373
+ outline: {
374
+ base: string;
375
+ };
376
+ primary: {
377
+ base: string;
378
+ };
379
+ };
380
+ }, {
381
+ base: string[];
382
+ removeButton: string[];
383
+ }, tailwind_variants.TVReturnType<{
384
+ variant: {
385
+ default: {
386
+ base: string;
387
+ };
388
+ outline: {
389
+ base: string;
390
+ };
391
+ primary: {
392
+ base: string;
393
+ };
394
+ };
395
+ }, {
396
+ base: string[];
397
+ removeButton: string[];
398
+ }, undefined, unknown, unknown, undefined>>;
399
+ type TagVariants = VariantProps<typeof tag>;
400
+
401
+ interface AlertProps extends HTMLAttributes<HTMLDivElement>, AlertVariants {
32
402
  }
33
- declare function AlertBanner({ title, description, icon, variant, align, allowClose, onClose, children, className, ...props }: AlertBannerProps): react_jsx_runtime.JSX.Element;
403
+ declare const Alert: react.ForwardRefExoticComponent<AlertProps & react.RefAttributes<HTMLDivElement>>;
404
+ declare const AlertTitle: react.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & react.RefAttributes<HTMLDivElement>>;
405
+ declare const AlertDescription: react.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & react.RefAttributes<HTMLDivElement>>;
34
406
 
35
- interface DialogProps extends DialogProps$1 {
407
+ interface DialogRenderProps {
408
+ close: () => void;
409
+ }
410
+ interface DialogProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title' | 'children'> {
36
411
  children?: ReactNode | ((props: DialogRenderProps) => ReactNode);
37
412
  title?: ReactNode;
38
- variant?: 'sheet';
39
413
  }
40
- declare function Dialog({ title, variant, children, className, ...props }: DialogProps): react_jsx_runtime.JSX.Element;
414
+ declare function Dialog({ title, children, className, ...props }: DialogProps): react_jsx_runtime.JSX.Element;
41
415
 
42
416
  interface AlertDialogProps extends DialogProps {
43
417
  title?: ReactNode;
@@ -51,6 +425,25 @@ interface AlertDialogProps extends DialogProps {
51
425
  }
52
426
  declare function AlertDialog({ title, description, isDanger, isConfirmDisabled, confirmLabel, cancelLabel, onConfirm, onCancel, className, children, ...props }: AlertDialogProps): react_jsx_runtime.JSX.Element;
53
427
 
428
+ interface AspectRatioProps extends HTMLAttributes<HTMLDivElement> {
429
+ ratio?: number;
430
+ }
431
+ declare function AspectRatio({ ratio, className, style, children, ...props }: AspectRatioProps): react_jsx_runtime.JSX.Element;
432
+
433
+ interface AvatarProps extends Avatar$1.Root.Props {
434
+ src?: string;
435
+ alt?: string;
436
+ fallback?: ReactNode;
437
+ size?: AvatarVariants['size'];
438
+ }
439
+ declare function Avatar({ src, alt, fallback, size, className, children, ...props }: AvatarProps): react_jsx_runtime.JSX.Element;
440
+
441
+ interface BadgeProps extends HTMLAttributes<HTMLSpanElement> {
442
+ variant?: BadgeVariants['variant'];
443
+ size?: BadgeVariants['size'];
444
+ }
445
+ declare function Badge({ variant, size, className, children, ...props }: BadgeProps): react_jsx_runtime.JSX.Element;
446
+
54
447
  declare const Breakpoints: readonly ["base", "sm", "md", "lg", "xl", "2xl"];
55
448
  type Breakpoint$1 = (typeof Breakpoints)[number];
56
449
  type Responsive$1<T> = T | Partial<Record<Breakpoint$1, T>>;
@@ -221,7 +614,11 @@ interface BoxProps extends Omit<HTMLAttributes<HTMLElement>, 'color'> {
221
614
  cursor?: Responsive$1<Cursor>;
222
615
  opacity?: Responsive$1<Opacity>;
223
616
  pointerEvents?: Responsive$1<PointerEvents>;
617
+ alignContent?: Responsive$1<AlignContent>;
618
+ alignItems?: Responsive$1<AlignItems>;
224
619
  alignSelf?: Responsive$1<AlignSelf>;
620
+ justifyContent?: Responsive$1<JustifyContent>;
621
+ justifyItems?: Responsive$1<JustifyItems>;
225
622
  justifySelf?: Responsive$1<JustifySelf>;
226
623
  flexBasis?: string;
227
624
  flexGrow?: FlexGrow;
@@ -247,139 +644,120 @@ interface BoxRenderProps {
247
644
  }
248
645
  declare const Box: react.ForwardRefExoticComponent<BoxProps & react.RefAttributes<HTMLElement>>;
249
646
 
250
- declare function Breadcrumbs({ children, className, ...props }: BreadcrumbsProps<any>): react_jsx_runtime.JSX.Element;
251
- declare function Breadcrumb({ children, className, ...props }: BreadcrumbProps): react_jsx_runtime.JSX.Element;
252
-
253
- declare const button: tailwind_variants.TVReturnType<{
254
- variant: {
255
- default: string[];
256
- primary: string[];
257
- outline: string[];
258
- quiet: string[];
259
- danger: string[];
260
- zero: string[];
261
- };
262
- size: {
263
- xs: string;
264
- sm: string;
265
- md: string;
266
- lg: string;
267
- xl: string;
268
- };
269
- }, undefined, string[], {
270
- variant: {
271
- default: string[];
272
- primary: string[];
273
- outline: string[];
274
- quiet: string[];
275
- danger: string[];
276
- zero: string[];
277
- };
278
- size: {
279
- xs: string;
280
- sm: string;
281
- md: string;
282
- lg: string;
283
- xl: string;
284
- };
285
- }, undefined, tailwind_variants.TVReturnType<{
286
- variant: {
287
- default: string[];
288
- primary: string[];
289
- outline: string[];
290
- quiet: string[];
291
- danger: string[];
292
- zero: string[];
293
- };
294
- size: {
295
- xs: string;
296
- sm: string;
297
- md: string;
298
- lg: string;
299
- xl: string;
300
- };
301
- }, undefined, string[], unknown, unknown, undefined>>;
302
- type ButtonVariants = VariantProps<typeof button>;
303
- declare const tag: tailwind_variants.TVReturnType<{
304
- variant: {
305
- default: {
306
- base: string;
307
- };
308
- outline: {
309
- base: string;
310
- };
311
- primary: {
312
- base: string;
313
- };
314
- };
315
- }, {
316
- base: string[];
317
- removeButton: string[];
318
- }, undefined, {
319
- variant: {
320
- default: {
321
- base: string;
322
- };
323
- outline: {
324
- base: string;
325
- };
326
- primary: {
327
- base: string;
328
- };
329
- };
330
- }, {
331
- base: string[];
332
- removeButton: string[];
333
- }, tailwind_variants.TVReturnType<{
334
- variant: {
335
- default: {
336
- base: string;
337
- };
338
- outline: {
339
- base: string;
340
- };
341
- primary: {
342
- base: string;
343
- };
344
- };
345
- }, {
346
- base: string[];
347
- removeButton: string[];
348
- }, undefined, unknown, unknown, undefined>>;
349
- type TagVariants = VariantProps<typeof tag>;
647
+ interface BreadcrumbsProps extends HTMLAttributes<HTMLOListElement> {
648
+ isDisabled?: boolean;
649
+ }
650
+ interface BreadcrumbProps extends LiHTMLAttributes<HTMLLIElement> {
651
+ isDisabled?: boolean;
652
+ }
653
+ declare function Breadcrumbs({ children, className, isDisabled, ...props }: BreadcrumbsProps): react_jsx_runtime.JSX.Element;
654
+ declare function Breadcrumb({ children, className, isDisabled, ...props }: BreadcrumbProps): react_jsx_runtime.JSX.Element;
350
655
 
351
656
  interface ButtonProps extends Omit<ButtonProps$1, 'className' | 'render'>, ButtonVariants {
352
657
  render?: RenderProp<ButtonRenderProps>;
353
658
  children?: ReactNode;
354
659
  className?: string;
660
+ isDisabled?: boolean;
661
+ onPress?: (event: MouseEvent<HTMLElement>) => void;
662
+ preventFocusOnPress?: boolean;
355
663
  }
356
664
  interface ButtonRenderProps {
357
665
  className: string;
358
666
  children: ReactNode;
359
667
  [key: string]: unknown;
360
668
  }
361
- declare function Button({ variant, size, render, preventFocusOnPress, className, children, ...props }: ButtonProps): react.ReactElement<unknown, string | react.JSXElementConstructor<any>>;
669
+ declare function Button({ variant, size, render, preventFocusOnPress: _preventFocusOnPress, isDisabled, disabled, onPress, onClick, className, children, ...props }: ButtonProps): react_jsx_runtime.JSX.Element;
670
+
671
+ interface SeparatorProps extends Separator$1.Props {
672
+ orientation?: 'horizontal' | 'vertical';
673
+ }
674
+ declare function Separator({ orientation, className, ...props }: SeparatorProps): react_jsx_runtime.JSX.Element;
675
+
676
+ type ButtonGroupOrientation = 'horizontal' | 'vertical';
677
+ interface ButtonGroupProps extends HTMLAttributes<HTMLDivElement> {
678
+ orientation?: ButtonGroupOrientation;
679
+ }
680
+ declare function ButtonGroup({ className, orientation, ...props }: ButtonGroupProps): react_jsx_runtime.JSX.Element;
681
+ interface ButtonGroupTextProps extends HTMLAttributes<HTMLDivElement> {
682
+ render?: RenderProp<ButtonGroupTextRenderProps>;
683
+ }
684
+ interface ButtonGroupTextRenderProps {
685
+ className: string;
686
+ children?: ReactNode;
687
+ 'data-slot': 'button-group-text';
688
+ [key: string]: unknown;
689
+ }
690
+ declare function ButtonGroupText({ className, render, children, ...props }: ButtonGroupTextProps): react.ReactElement<unknown, string | react.JSXElementConstructor<any>>;
691
+ interface ButtonGroupSeparatorProps extends SeparatorProps {
692
+ }
693
+ declare function ButtonGroupSeparator({ className, orientation, ...props }: ButtonGroupSeparatorProps): react_jsx_runtime.JSX.Element;
362
694
 
363
- interface CalendarProps extends Omit<CalendarProps$1<any>, 'value' | 'minValue' | 'maxValue' | 'defaultValue' | 'onChange'> {
364
- value: Date;
695
+ type CalendarProps = Omit<ComponentProps<typeof DayPicker>, 'mode' | 'selected' | 'defaultMonth' | 'onSelect' | 'disabled'> & {
696
+ value?: Date;
365
697
  minValue?: Date;
366
698
  maxValue?: Date;
367
699
  defaultValue?: Date;
368
700
  onChange?: (date: Date) => void;
701
+ isDisabled?: boolean;
702
+ isReadOnly?: boolean;
703
+ };
704
+ declare function Calendar({ className, value, minValue, maxValue, defaultValue, onChange, isDisabled, isReadOnly, ...props }: CalendarProps): react_jsx_runtime.JSX.Element;
705
+
706
+ type EmblaOptions = NonNullable<Parameters<typeof useEmblaCarousel>[0]>;
707
+ interface CarouselProps extends HTMLAttributes<HTMLDivElement> {
708
+ orientation?: 'horizontal' | 'vertical';
709
+ loop?: boolean;
710
+ showArrows?: boolean;
711
+ showDots?: boolean;
712
+ opts?: EmblaOptions;
713
+ onIndexChange?: (index: number) => void;
369
714
  }
370
- declare function Calendar({ className, value, minValue, maxValue, defaultValue, onChange, ...props }: CalendarProps): react_jsx_runtime.JSX.Element;
715
+ declare function Carousel({ orientation, loop, showArrows, showDots, opts, onIndexChange, className, children, ...props }: CarouselProps): react_jsx_runtime.JSX.Element;
716
+ declare function CarouselItem({ className, children, ...props }: HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
371
717
 
372
- interface CheckboxProps extends CheckboxProps$1 {
718
+ interface CheckboxProps extends Omit<CheckboxRoot.Props, 'checked' | 'defaultChecked' | 'disabled' | 'indeterminate' | 'onCheckedChange' | 'value'> {
373
719
  children?: ReactNode;
374
720
  label?: string;
721
+ value?: string | boolean;
722
+ isSelected?: boolean;
723
+ defaultSelected?: boolean;
724
+ isDisabled?: boolean;
725
+ isIndeterminate?: boolean;
726
+ onChange?: (selected: boolean) => void;
727
+ }
728
+ declare function Checkbox({ label, className, children, isSelected, defaultSelected, isDisabled, isIndeterminate, onChange, value, slot, ...props }: CheckboxProps): react_jsx_runtime.JSX.Element;
729
+
730
+ interface CheckboxGroupProps extends Omit<CheckboxGroup$1.Props, 'disabled' | 'onValueChange' | 'onChange'> {
731
+ label?: string;
732
+ isDisabled?: boolean;
733
+ orientation?: 'vertical' | 'horizontal';
734
+ onChange?: (value: string[]) => void;
735
+ children?: ReactNode;
375
736
  }
376
- declare function Checkbox({ label, className, children, ...props }: CheckboxProps): react_jsx_runtime.JSX.Element;
737
+ declare function CheckboxGroup({ label, isDisabled, orientation, onChange, className, children, ...props }: CheckboxGroupProps): react_jsx_runtime.JSX.Element;
377
738
 
378
739
  interface CodeProps extends Omit<TextProps, 'as'> {
379
740
  children?: ReactNode;
380
741
  }
381
742
  declare function Code({ className, children, ...props }: CodeProps): react_jsx_runtime.JSX.Element;
382
743
 
744
+ interface CollapsibleProps extends Omit<Collapsible$1.Root.Props, 'open' | 'defaultOpen' | 'onOpenChange' | 'disabled'> {
745
+ isExpanded?: boolean;
746
+ defaultExpanded?: boolean;
747
+ isDisabled?: boolean;
748
+ onExpandedChange?: (expanded: boolean) => void;
749
+ children?: ReactNode;
750
+ }
751
+ declare function Collapsible({ isExpanded, defaultExpanded, isDisabled, onExpandedChange, className, children, ...props }: CollapsibleProps): react_jsx_runtime.JSX.Element;
752
+ interface CollapsibleTriggerProps extends Collapsible$1.Trigger.Props {
753
+ children?: ReactNode;
754
+ }
755
+ declare function CollapsibleTrigger({ className, children, ...props }: CollapsibleTriggerProps): react_jsx_runtime.JSX.Element;
756
+ interface CollapsiblePanelProps extends Collapsible$1.Panel.Props {
757
+ children?: ReactNode;
758
+ }
759
+ declare function CollapsiblePanel({ className, children, ...props }: CollapsiblePanelProps): react_jsx_runtime.JSX.Element;
760
+
383
761
  interface FlexboxProps extends Omit<BoxProps, 'display' | 'gap'> {
384
762
  display?: Responsive$1<FlexDisplay>;
385
763
  direction?: Responsive$1<FlexDirection>;
@@ -400,7 +778,17 @@ interface ColumnProps extends FlexboxProps {
400
778
  }
401
779
  declare function Column({ reverse, children, ...props }: ColumnProps): react_jsx_runtime.JSX.Element;
402
780
 
403
- interface ListProps extends ListBoxProps<any> {
781
+ type Selection = Set<Key> | 'all';
782
+ type PressEvent = MouseEvent<HTMLElement>;
783
+ declare function toSelection(value?: Iterable<Key> | 'all'): Selection;
784
+ declare function selectionToStrings(value: Selection): string[];
785
+
786
+ type ListKind = 'native' | 'select' | 'combobox';
787
+ declare function ListPrimitiveProvider({ kind, children, }: {
788
+ kind: Exclude<ListKind, 'native'>;
789
+ children: ReactNode;
790
+ }): react_jsx_runtime.JSX.Element;
791
+ interface ListProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onChange'> {
404
792
  children?: ReactNode;
405
793
  highlightColor?: string;
406
794
  showCheckmark?: boolean;
@@ -408,28 +796,80 @@ interface ListProps extends ListBoxProps<any> {
408
796
  label?: string;
409
797
  value?: string[];
410
798
  onChange?: (value: string[]) => void;
411
- }
412
- declare function List({ id, highlightColor, showCheckmark, isFullscreen, label, value, onChange, className, selectedKeys, defaultSelectedKeys, onSelectionChange, style, children, ...props }: ListProps): react_jsx_runtime.JSX.Element;
413
- interface ListItemProps extends ListBoxItemProps<any> {
799
+ selectionMode?: 'none' | 'single' | 'multiple';
800
+ selectedKeys?: Iterable<Key>;
801
+ defaultSelectedKeys?: Iterable<Key>;
802
+ onSelectionChange?: (value: Selection) => void;
803
+ renderEmptyState?: (props: object) => ReactNode;
804
+ }
805
+ declare function List({ id, highlightColor, isFullscreen, label, value, onChange, className, selectedKeys, defaultSelectedKeys, onSelectionChange, selectionMode, style, children, renderEmptyState, ...props }: ListProps): react_jsx_runtime.JSX.Element;
806
+ interface ListItemProps extends Omit<HTMLAttributes<HTMLDivElement>, 'id'> {
414
807
  children?: ReactNode;
415
808
  id?: string | number;
809
+ value?: string | number;
416
810
  showCheckmark?: boolean;
811
+ isDisabled?: boolean;
812
+ textValue?: string;
417
813
  }
418
- declare function ListItem({ id, children, className, showCheckmark, ...props }: ListItemProps): react_jsx_runtime.JSX.Element;
419
- declare function ListSeparator({ className, ...props }: SeparatorProps): react_jsx_runtime.JSX.Element;
420
- interface ListSectionProps extends ListBoxSectionProps<any> {
814
+ declare function ListItem({ id, value, children, className, showCheckmark, isDisabled, onClick, ...props }: ListItemProps): react_jsx_runtime.JSX.Element;
815
+ interface ListSeparatorProps extends Select$1.Separator.Props {
816
+ }
817
+ declare function ListSeparator({ className, ...props }: ListSeparatorProps): react_jsx_runtime.JSX.Element;
818
+ interface ListSectionProps extends HTMLAttributes<HTMLDivElement> {
421
819
  children?: ReactNode;
422
820
  title?: string;
423
821
  }
424
822
  declare function ListSection({ title, className, children, ...props }: ListSectionProps): react_jsx_runtime.JSX.Element;
425
823
 
426
- interface ComboBoxProps extends ComboBoxProps$1<any> {
824
+ interface ComboBoxProps extends Omit<Combobox.Root.Props<string>, 'children' | 'items' | 'disabled' | 'onValueChange'> {
427
825
  children?: ReactNode;
428
- renderEmptyState?: (props: ListBoxRenderProps) => ReactNode;
826
+ items?: ReadonlyArray<string | {
827
+ label: ReactNode;
828
+ value: string;
829
+ }>;
830
+ label?: string;
831
+ placeholder?: string;
832
+ isDisabled?: boolean;
833
+ maxHeight?: string | number;
834
+ onChange?: (value: string | null) => void;
835
+ renderEmptyState?: (props: object) => ReactNode;
429
836
  listProps?: ListProps;
430
- popoverProps?: PopoverProps$1;
837
+ popoverProps?: Combobox.Positioner.Props;
838
+ className?: string;
431
839
  }
432
- declare function ComboBox({ className, renderEmptyState, listProps, popoverProps, children, ...props }: ComboBoxProps): react_jsx_runtime.JSX.Element;
840
+ declare function ComboBox({ className, label, placeholder, isDisabled, maxHeight, onChange, renderEmptyState, listProps, popoverProps, children, items, itemToStringLabel, ...props }: ComboBoxProps): react_jsx_runtime.JSX.Element;
841
+
842
+ interface CommandProps extends ComponentProps<typeof Command$1> {
843
+ }
844
+ declare function Command({ className, children, ...props }: CommandProps): react_jsx_runtime.JSX.Element;
845
+ interface CommandInputProps extends ComponentProps<typeof Command$1.Input> {
846
+ }
847
+ declare function CommandInput({ className, ...props }: CommandInputProps): react_jsx_runtime.JSX.Element;
848
+ interface CommandListProps extends ComponentProps<typeof Command$1.List> {
849
+ maxHeight?: string | number;
850
+ }
851
+ declare function CommandList({ maxHeight, className, ...props }: CommandListProps): react_jsx_runtime.JSX.Element;
852
+ interface CommandEmptyProps extends ComponentProps<typeof Command$1.Empty> {
853
+ }
854
+ declare function CommandEmpty({ className, ...props }: CommandEmptyProps): react_jsx_runtime.JSX.Element;
855
+ interface CommandGroupProps extends ComponentProps<typeof Command$1.Group> {
856
+ }
857
+ declare function CommandGroup({ className, ...props }: CommandGroupProps): react_jsx_runtime.JSX.Element;
858
+ interface CommandItemProps extends Omit<ComponentProps<typeof Command$1.Item>, 'disabled'> {
859
+ icon?: ReactNode;
860
+ isDisabled?: boolean;
861
+ }
862
+ declare function CommandItem({ icon, isDisabled, className, children, ...props }: CommandItemProps): react_jsx_runtime.JSX.Element;
863
+ interface CommandSeparatorProps extends ComponentProps<typeof Command$1.Separator> {
864
+ }
865
+ declare function CommandSeparator({ className, ...props }: CommandSeparatorProps): react_jsx_runtime.JSX.Element;
866
+ interface CommandDialogProps extends Omit<CommandProps, 'title'> {
867
+ isOpen?: boolean;
868
+ onOpenChange?: (open: boolean) => void;
869
+ title?: ReactNode;
870
+ description?: ReactNode;
871
+ }
872
+ declare function CommandDialog({ isOpen, onOpenChange, title, description, children, ...props }: CommandDialogProps): react_jsx_runtime.JSX.Element;
433
873
 
434
874
  interface ConfirmationDialogProps extends AlertDialogProps {
435
875
  value: string;
@@ -444,13 +884,17 @@ interface ContainerProps extends BoxProps {
444
884
  }
445
885
  declare function Container({ isCentered, isFluid, className, children, ...props }: ContainerProps): react_jsx_runtime.JSX.Element;
446
886
 
447
- interface CopyButtonProps {
887
+ interface ContextMenuProps {
888
+ children: ReactNode;
889
+ onOpenChange?: (open: boolean) => void;
890
+ }
891
+ declare function ContextMenu({ children, onOpenChange }: ContextMenuProps): react_jsx_runtime.JSX.Element;
892
+
893
+ interface CopyButtonProps extends Omit<ButtonProps, 'children' | 'onClick' | 'onPress' | 'size' | 'type' | 'value' | 'variant'> {
448
894
  value?: string | (() => string);
449
895
  timeout?: number;
450
- className?: string;
451
- children?: ReactNode;
452
896
  }
453
- declare function CopyButton({ value, timeout, className, children, ...props }: CopyButtonProps): react_jsx_runtime.JSX.Element;
897
+ declare function CopyButton({ value, timeout, className, ...props }: CopyButtonProps): react_jsx_runtime.JSX.Element;
454
898
 
455
899
  interface GridProps extends Omit<BoxProps, 'display'> {
456
900
  display?: Responsive$1<GridDisplay>;
@@ -477,6 +921,34 @@ interface DataCardProps extends GridProps {
477
921
  }
478
922
  declare function DataCard({ data, labelWidth, ...props }: DataCardProps): react_jsx_runtime.JSX.Element;
479
923
 
924
+ type TableSelectionMode = 'none' | 'single' | 'multiple';
925
+
926
+ interface TableProps extends TableHTMLAttributes<HTMLTableElement> {
927
+ selectionMode?: TableSelectionMode;
928
+ selectedKeys?: Iterable<string>;
929
+ defaultSelectedKeys?: Iterable<string>;
930
+ onSelectionChange?: (keys: Set<string>) => void;
931
+ }
932
+ interface TableColumnProps extends Omit<ThHTMLAttributes<HTMLTableCellElement>, 'align'> {
933
+ align?: 'start' | 'center' | 'end';
934
+ isRowHeader?: boolean;
935
+ }
936
+ interface TableCellProps extends Omit<TdHTMLAttributes<HTMLTableCellElement>, 'align'> {
937
+ align?: 'start' | 'center' | 'end';
938
+ }
939
+ interface TableRowProps extends HTMLAttributes<HTMLTableRowElement> {
940
+ id?: string;
941
+ }
942
+ declare function Table({ children, className, selectionMode, selectedKeys: controlledSelectedKeys, defaultSelectedKeys, onSelectionChange, ...props }: TableProps): react_jsx_runtime.JSX.Element;
943
+ interface TableHeaderComponentProps extends HTMLAttributes<HTMLTableSectionElement> {
944
+ style?: CSSProperties;
945
+ }
946
+ declare function TableHeader({ children, className, style, ...props }: TableHeaderComponentProps): react_jsx_runtime.JSX.Element;
947
+ declare function TableBody({ children, className, ...props }: HTMLAttributes<HTMLTableSectionElement>): react_jsx_runtime.JSX.Element;
948
+ declare function TableRow({ children, className, style, id, ...props }: TableRowProps): react_jsx_runtime.JSX.Element;
949
+ declare function TableColumn({ children, className, align, isRowHeader: _isRowHeader, ...props }: TableColumnProps): react_jsx_runtime.JSX.Element;
950
+ declare function TableCell({ children, className, align, ...props }: TableCellProps): react_jsx_runtime.JSX.Element;
951
+
480
952
  interface DataTableProps extends TableProps {
481
953
  data?: any[];
482
954
  displayMode?: 'table' | 'cards';
@@ -493,16 +965,46 @@ interface DataColumnProps extends Omit<HTMLAttributes<any>, 'children'> {
493
965
  }
494
966
  declare function DataColumn(_props: DataColumnProps): null;
495
967
 
968
+ interface DatePickerProps {
969
+ id?: string;
970
+ value?: Date;
971
+ defaultValue?: Date;
972
+ minValue?: Date;
973
+ maxValue?: Date;
974
+ label?: string;
975
+ placeholder?: string;
976
+ locale?: string;
977
+ isDisabled?: boolean;
978
+ isReadOnly?: boolean;
979
+ formatOptions?: Intl.DateTimeFormatOptions;
980
+ onChange?: (date: Date) => void;
981
+ buttonProps?: ButtonProps;
982
+ calendarProps?: Partial<CalendarProps>;
983
+ className?: string;
984
+ }
985
+ declare function DatePicker({ id, value, defaultValue, minValue, maxValue, label, placeholder, locale, isDisabled, isReadOnly, formatOptions, onChange, buttonProps, calendarProps, className, }: DatePickerProps): react_jsx_runtime.JSX.Element;
986
+
496
987
  interface DotsProps extends HTMLAttributes<HTMLDivElement> {
497
988
  size?: 'sm' | 'md' | 'lg';
498
989
  }
499
990
  declare function Dots({ size, className, color: _color, ...props }: DotsProps): react_jsx_runtime.JSX.Element;
500
991
 
501
- interface TooltipProps extends TooltipProps$1 {
992
+ declare const Empty: react.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & react.RefAttributes<HTMLDivElement>>;
993
+ declare const EmptyHeader: react.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & react.RefAttributes<HTMLDivElement>>;
994
+ interface EmptyMediaProps extends HTMLAttributes<HTMLDivElement>, EmptyMediaVariants {
995
+ }
996
+ declare const EmptyMedia: react.ForwardRefExoticComponent<EmptyMediaProps & react.RefAttributes<HTMLDivElement>>;
997
+ declare const EmptyTitle: react.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & react.RefAttributes<HTMLDivElement>>;
998
+ declare const EmptyDescription: react.ForwardRefExoticComponent<HTMLAttributes<HTMLParagraphElement> & react.RefAttributes<HTMLParagraphElement>>;
999
+ declare const EmptyContent: react.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & react.RefAttributes<HTMLDivElement>>;
1000
+
1001
+ interface TooltipProps extends Omit<Tooltip$1.Positioner.Props, 'children' | 'className'> {
502
1002
  children?: ReactNode;
503
1003
  showArrow?: boolean;
1004
+ className?: string;
1005
+ placement?: Tooltip$1.Positioner.Props['side'];
504
1006
  }
505
- declare function Tooltip({ children, className, offset, showArrow, ...props }: TooltipProps): react_jsx_runtime.JSX.Element;
1007
+ declare function Tooltip({ children, className, placement, side, sideOffset, showArrow, ...props }: TooltipProps): react_jsx_runtime.JSX.Element;
506
1008
  interface TooltipBubbleProps extends HTMLAttributes<HTMLDivElement> {
507
1009
  children?: ReactNode;
508
1010
  showArrow?: boolean;
@@ -665,6 +1167,26 @@ interface ImageProps extends HTMLAttributes<HTMLImageElement> {
665
1167
  }
666
1168
  declare function Image({ src, alt, objectFit, isCentered, borderRadius, shadow, className, ...props }: ImageProps): react_jsx_runtime.JSX.Element;
667
1169
 
1170
+ interface InputGroupProps extends HTMLAttributes<HTMLDivElement>, InputFieldVariants {
1171
+ }
1172
+ declare const InputGroup: react.ForwardRefExoticComponent<InputGroupProps & react.RefAttributes<HTMLDivElement>>;
1173
+ type InputGroupAddonAlign = 'inline-start' | 'inline-end' | 'block-start' | 'block-end';
1174
+ interface InputGroupAddonProps extends HTMLAttributes<HTMLDivElement> {
1175
+ align?: InputGroupAddonAlign;
1176
+ }
1177
+ declare const InputGroupAddon: react.ForwardRefExoticComponent<InputGroupAddonProps & react.RefAttributes<HTMLDivElement>>;
1178
+ type InputGroupButtonSize = 'xs' | 'sm' | 'icon-xs' | 'icon-sm';
1179
+ interface InputGroupButtonProps extends Omit<ButtonProps, 'size'> {
1180
+ size?: InputGroupButtonSize;
1181
+ }
1182
+ declare const InputGroupButton: react.ForwardRefExoticComponent<Omit<InputGroupButtonProps, "ref"> & react.RefAttributes<HTMLButtonElement>>;
1183
+ declare const InputGroupText: react.ForwardRefExoticComponent<HTMLAttributes<HTMLSpanElement> & react.RefAttributes<HTMLSpanElement>>;
1184
+ declare const InputGroupInput: react.ForwardRefExoticComponent<InputHTMLAttributes<HTMLInputElement> & react.RefAttributes<HTMLInputElement>>;
1185
+ declare const InputGroupTextarea: react.ForwardRefExoticComponent<TextareaHTMLAttributes<HTMLTextAreaElement> & react.RefAttributes<HTMLTextAreaElement>>;
1186
+
1187
+ type KbdProps = HTMLAttributes<HTMLElement>;
1188
+ declare function Kbd({ className, children, ...props }: KbdProps): react_jsx_runtime.JSX.Element;
1189
+
668
1190
  interface LabelProps extends Omit<TextProps, 'as' | 'render'> {
669
1191
  htmlFor?: string;
670
1192
  }
@@ -743,130 +1265,320 @@ interface StateStylesInput {
743
1265
  }
744
1266
  declare function mapStateStyles(prefix: StatePrefix, styles: StateStylesInput | undefined): string;
745
1267
 
746
- interface MenuProps extends MenuProps$1<any> {
747
- className?: string;
748
- children?: ReactNode;
1268
+ interface MenuProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onChange'> {
1269
+ selectionMode?: 'none' | 'single' | 'multiple';
1270
+ selectedKeys?: Iterable<Key>;
1271
+ defaultSelectedKeys?: Iterable<Key>;
1272
+ onSelectionChange?: (keys: Selection) => void;
749
1273
  }
750
- declare function Menu({ className, children, ...props }: MenuProps): react_jsx_runtime.JSX.Element;
751
- interface MenuItemProps extends MenuItemProps$1 {
752
- children?: ReactNode;
1274
+ declare function Menu({ className, children, selectionMode, selectedKeys, defaultSelectedKeys, onSelectionChange, ...props }: MenuProps): react_jsx_runtime.JSX.Element;
1275
+ interface MenuItemProps extends Omit<HTMLAttributes<HTMLDivElement>, 'id'> {
1276
+ id?: string | number;
1277
+ value?: string;
753
1278
  icon?: ReactNode;
754
1279
  label?: string;
755
1280
  showChecked?: boolean;
756
1281
  showSubMenuIcon?: boolean;
1282
+ isDisabled?: boolean;
1283
+ onAction?: (key: Key) => void;
757
1284
  }
758
- declare function MenuItem({ icon, label, showChecked, showSubMenuIcon, children, className, ...props }: MenuItemProps): react_jsx_runtime.JSX.Element;
759
- declare function MenuSeparator({ className, ...props }: SeparatorProps): react_jsx_runtime.JSX.Element;
760
- interface MenuSectionProps extends MenuSectionProps$1<any> {
761
- children?: ReactNode;
1285
+ declare function MenuItem({ id, value, icon, label, showChecked, showSubMenuIcon, isDisabled, onAction, children, className, onClick, ...props }: MenuItemProps): react_jsx_runtime.JSX.Element;
1286
+ interface MenuSeparatorProps extends Menu$1.Separator.Props {
1287
+ }
1288
+ declare function MenuSeparator({ className, ...props }: MenuSeparatorProps): react_jsx_runtime.JSX.Element;
1289
+ interface MenuSectionProps extends HTMLAttributes<HTMLDivElement> {
762
1290
  title?: string;
763
1291
  maxHeight?: number;
764
1292
  }
765
1293
  declare function MenuSection({ title, maxHeight, className, style, children, ...props }: MenuSectionProps): react_jsx_runtime.JSX.Element;
766
- interface SubmenuTriggerProps extends SubmenuTriggerProps$1 {
1294
+ interface SubmenuTriggerProps {
1295
+ children?: ReactNode;
767
1296
  }
768
- declare function SubMenuTrigger({ children, ...props }: SubmenuTriggerProps): react_jsx_runtime.JSX.Element;
1297
+ declare function SubMenuTrigger({ children }: SubmenuTriggerProps): react_jsx_runtime.JSX.Element;
769
1298
 
770
- interface ModalProps extends ModalOverlayProps {
771
- children?: ReactNode | ((values: ModalRenderProps & {
772
- defaultChildren: ReactNode;
773
- }) => ReactNode);
1299
+ interface MenubarProps extends Omit<Menubar$1.Props, 'disabled'> {
1300
+ isDisabled?: boolean;
1301
+ children?: ReactNode;
1302
+ }
1303
+ declare function Menubar({ isDisabled, className, children, ...props }: MenubarProps): react_jsx_runtime.JSX.Element;
1304
+ interface MenubarMenuProps extends Omit<Menu$1.Root.Props, 'children' | 'disabled'> {
1305
+ label: ReactNode;
1306
+ isDisabled?: boolean;
1307
+ children?: ReactNode;
1308
+ }
1309
+ declare function MenubarMenu({ label, isDisabled, children, ...props }: MenubarMenuProps): react_jsx_runtime.JSX.Element;
1310
+
1311
+ interface MeterProps extends Omit<Meter$1.Root.Props, 'min' | 'max' | 'format'> {
1312
+ value: number;
1313
+ minValue?: number;
1314
+ maxValue?: number;
1315
+ label?: string;
1316
+ showValue?: boolean;
1317
+ formatOptions?: Intl.NumberFormatOptions;
1318
+ }
1319
+ declare function Meter({ value, minValue, maxValue, label, showValue, formatOptions, className, ...props }: MeterProps): react_jsx_runtime.JSX.Element;
1320
+
1321
+ interface ModalProps extends Dialog$1.Portal.Props {
1322
+ children?: ReactNode;
774
1323
  isOpen?: boolean;
775
- placement?: 'center' | 'top' | 'bottom' | 'left' | 'right' | 'fullscreen';
776
- offset?: string;
1324
+ onOpenChange?: (open: boolean) => void;
1325
+ placement?: 'center' | 'fullscreen';
1326
+ className?: string;
1327
+ style?: CSSProperties;
777
1328
  }
778
- declare function Modal({ placement, offset, children, className, style, ...props }: ModalProps): react_jsx_runtime.JSX.Element;
1329
+ declare function Modal({ placement, children, className, style, isOpen: _isOpen, onOpenChange: _onOpenChange, ...props }: ModalProps): react_jsx_runtime.JSX.Element;
779
1330
 
780
- type NavigationContext = {
781
- activeMenu: string;
782
- setActiveMenu: Dispatch<SetStateAction<string>>;
783
- };
784
- declare const NavbarContext: react.Context<NavigationContext | undefined>;
785
1331
  interface NavbarProps extends HTMLAttributes<HTMLElement> {
1332
+ /** Shows the dropdown arrow on items that have a label. Defaults to `true`. */
786
1333
  showArrow?: boolean;
787
1334
  }
788
- declare const useNavigationContext: () => NavigationContext;
789
1335
  declare function Navbar({ showArrow, className, children, color: _color, ...props }: NavbarProps): react_jsx_runtime.JSX.Element;
790
1336
  interface NavbarItemProps extends HTMLAttributes<HTMLElement> {
1337
+ /** Item label. When provided, the item becomes a trigger with a dropdown built from `children`. */
791
1338
  label?: string;
792
1339
  children?: ReactNode;
793
1340
  }
794
1341
  declare function NavbarItem({ label, children, className, color: _color, ...props }: NavbarItemProps): react_jsx_runtime.JSX.Element;
1342
+ interface NavbarLinkProps extends NavigationMenu.Link.Props {
1343
+ }
1344
+ /** A semantic navigation link. Renders an `<a>` element and integrates with keyboard navigation. */
1345
+ declare function NavbarLink({ className, ...props }: NavbarLinkProps): react_jsx_runtime.JSX.Element;
795
1346
 
796
- interface PaletteSwitcherProps {
797
- className?: string;
1347
+ interface NumberFieldProps extends Omit<NumberField$1.Root.Props, 'min' | 'max' | 'disabled' | 'readOnly' | 'required' | 'format' | 'onValueChange'> {
1348
+ label?: string;
1349
+ placeholder?: string;
1350
+ minValue?: number;
1351
+ maxValue?: number;
1352
+ isDisabled?: boolean;
1353
+ isReadOnly?: boolean;
1354
+ isRequired?: boolean;
1355
+ formatOptions?: Intl.NumberFormatOptions;
1356
+ onChange?: (value: number | null) => void;
798
1357
  }
799
- declare function PaletteSwitcher({ className }: PaletteSwitcherProps): react_jsx_runtime.JSX.Element;
1358
+ declare function NumberField({ label, placeholder, minValue, maxValue, isDisabled, isReadOnly, isRequired, formatOptions, onChange, className, id, ...props }: NumberFieldProps): react_jsx_runtime.JSX.Element;
800
1359
 
801
- interface PasswordFieldProps extends TextFieldProps$1 {
1360
+ interface OTPFieldProps extends Omit<OTPField$1.Root.Props, 'length' | 'disabled' | 'readOnly' | 'required' | 'onValueChange' | 'onValueComplete'> {
1361
+ length?: number;
802
1362
  label?: string;
1363
+ isDisabled?: boolean;
1364
+ isReadOnly?: boolean;
1365
+ isRequired?: boolean;
1366
+ onChange?: (value: string) => void;
1367
+ onComplete?: (value: string) => void;
1368
+ }
1369
+ declare function OTPField({ length, label, isDisabled, isReadOnly, isRequired, onChange, onComplete, className, id, ...props }: OTPFieldProps): react_jsx_runtime.JSX.Element;
1370
+
1371
+ interface DialogTriggerProps {
1372
+ children: ReactNode;
1373
+ overlayType?: 'alert-dialog' | 'dialog' | 'popover';
1374
+ isOpen?: boolean;
1375
+ defaultOpen?: boolean;
1376
+ onOpenChange?: (open: boolean) => void;
1377
+ }
1378
+ declare function DialogTrigger({ children, overlayType, isOpen, defaultOpen, onOpenChange, }: DialogTriggerProps): react_jsx_runtime.JSX.Element;
1379
+ interface TooltipTriggerProps {
1380
+ children: ReactNode;
1381
+ delay?: number;
1382
+ closeDelay?: number;
1383
+ }
1384
+ declare function TooltipTrigger({ children, delay, closeDelay }: TooltipTriggerProps): react_jsx_runtime.JSX.Element;
1385
+ interface MenuTriggerProps {
1386
+ children: ReactNode;
1387
+ isOpen?: boolean;
1388
+ defaultOpen?: boolean;
1389
+ onOpenChange?: (open: boolean) => void;
1390
+ }
1391
+ declare function MenuTrigger({ children, isOpen, defaultOpen, onOpenChange }: MenuTriggerProps): react_jsx_runtime.JSX.Element;
1392
+ interface FileTriggerProps {
1393
+ children: ReactElement;
1394
+ acceptedFileTypes?: string[];
1395
+ allowsMultiple?: boolean;
1396
+ onSelect?: (files: FileList | null) => void;
1397
+ }
1398
+ declare function FileTrigger({ children, acceptedFileTypes, allowsMultiple, onSelect, }: FileTriggerProps): react_jsx_runtime.JSX.Element;
1399
+ declare function Focusable({ children }: {
1400
+ children: ReactElement;
1401
+ }): ReactElement<any, string | react.JSXElementConstructor<any>>;
1402
+ declare function Pressable({ children, onPress, }: {
1403
+ children: ReactElement;
1404
+ onPress?: (event: MouseEvent<HTMLElement>) => void;
1405
+ }): ReactElement<{
1406
+ onClick?: (event: MouseEvent<HTMLElement>) => void;
1407
+ }, string | react.JSXElementConstructor<any>>;
1408
+ declare function RouterProvider({ children }: {
1409
+ children?: ReactNode;
1410
+ }): ReactNode;
1411
+
1412
+ interface PageHeaderProps extends RowProps {
1413
+ children?: ReactNode;
1414
+ }
1415
+ declare function PageHeader({ children, ...props }: PageHeaderProps): react_jsx_runtime.JSX.Element;
1416
+ interface PageHeaderTitleProps extends Omit<ColumnProps, 'title'> {
1417
+ title: ReactNode;
1418
+ description?: ReactNode;
1419
+ breadcrumb?: ReactNode;
1420
+ }
1421
+ declare function PageHeaderTitle({ title, description, breadcrumb, children, ...props }: PageHeaderTitleProps): react_jsx_runtime.JSX.Element;
1422
+ interface PageHeaderActionsProps extends RowProps {
1423
+ children?: ReactNode;
1424
+ }
1425
+ declare function PageHeaderActions({ children, ...props }: PageHeaderActionsProps): react_jsx_runtime.JSX.Element;
1426
+
1427
+ interface PaginationProps extends Omit<HTMLAttributes<HTMLElement>, 'onChange'> {
1428
+ pageCount?: number;
1429
+ totalItems?: number;
1430
+ pageSize?: number;
1431
+ page?: number;
1432
+ defaultPage?: number;
1433
+ siblingCount?: number;
1434
+ isDisabled?: boolean;
1435
+ onChange?: (page: number) => void;
1436
+ }
1437
+ declare function Pagination({ pageCount, totalItems, pageSize, page, defaultPage, siblingCount, isDisabled, onChange, className, ...props }: PaginationProps): react_jsx_runtime.JSX.Element;
1438
+
1439
+ interface PasswordFieldProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'disabled' | 'readOnly'> {
1440
+ label?: string;
1441
+ isDisabled?: boolean;
1442
+ isReadOnly?: boolean;
803
1443
  }
804
- declare function PasswordField({ label, className, ...props }: PasswordFieldProps): react_jsx_runtime.JSX.Element;
1444
+ declare function PasswordField({ label, className, isDisabled, isReadOnly, ...props }: PasswordFieldProps): react_jsx_runtime.JSX.Element;
805
1445
 
806
- interface PopoverProps extends PopoverProps$1 {
1446
+ interface PopoverProps extends Omit<Popover$1.Positioner.Props, 'children' | 'className'> {
807
1447
  children?: ReactNode;
808
1448
  isFullscreen?: boolean;
1449
+ isOpen?: boolean;
1450
+ isNonModal?: boolean;
1451
+ triggerRef?: React.RefObject<Element | null>;
1452
+ className?: string;
1453
+ onOpenChange?: (open: boolean) => void;
809
1454
  }
810
- declare function Popover({ children, isFullscreen, className, ...props }: PopoverProps): react_jsx_runtime.JSX.Element;
1455
+ declare function Popover({ children, isFullscreen, className, isOpen: _isOpen, isNonModal: _isNonModal, triggerRef: _triggerRef, onOpenChange: _onOpenChange, ...props }: PopoverProps): react_jsx_runtime.JSX.Element;
811
1456
 
812
- interface ProgressBarProps extends ProgressBarProps$1 {
1457
+ interface ProgressBarProps extends ProgressRoot.Props {
813
1458
  showPercentage?: boolean;
814
1459
  }
815
1460
  declare function ProgressBar({ className, showPercentage, ...props }: ProgressBarProps): react_jsx_runtime.JSX.Element;
816
1461
 
817
- interface ProgressCircleProps extends ProgressBarProps$1 {
1462
+ interface ProgressCircleProps extends ProgressRoot.Props {
818
1463
  showPercentage?: boolean;
819
1464
  }
820
- declare function ProgressCircle({ className, showPercentage, ...props }: ProgressCircleProps): react_jsx_runtime.JSX.Element;
1465
+ declare function ProgressCircle({ className, showPercentage, value, min, max, ...props }: ProgressCircleProps): react_jsx_runtime.JSX.Element;
821
1466
 
822
- interface RadioGroupProps extends RadioGroupProps$1 {
1467
+ interface RadioGroupProps extends Omit<RadioGroupProps$1, 'disabled' | 'readOnly' | 'onChange' | 'onValueChange'> {
823
1468
  children?: ReactNode;
824
1469
  label?: string;
1470
+ isDisabled?: boolean;
1471
+ isReadOnly?: boolean;
1472
+ onChange?: (value: string) => void;
1473
+ }
1474
+ declare function RadioGroup({ label, children, className, isDisabled, isReadOnly, onChange, ...props }: RadioGroupProps): react_jsx_runtime.JSX.Element;
1475
+ interface RadioProps extends Omit<RadioRoot.Props, 'disabled'> {
1476
+ isDisabled?: boolean;
1477
+ }
1478
+ declare function Radio({ children, className, isDisabled, ...props }: RadioProps): react_jsx_runtime.JSX.Element;
1479
+
1480
+ interface ResizablePanelGroupProps extends Omit<GroupProps, 'orientation'> {
1481
+ direction?: 'horizontal' | 'vertical';
825
1482
  }
826
- declare function RadioGroup({ label, children, className, ...props }: RadioGroupProps): react_jsx_runtime.JSX.Element;
1483
+ declare function ResizablePanelGroup({ direction, className, ...props }: ResizablePanelGroupProps): react_jsx_runtime.JSX.Element;
1484
+ interface ResizablePanelProps extends PanelProps {
1485
+ }
1486
+ declare function ResizablePanel({ className, ...props }: ResizablePanelProps): react_jsx_runtime.JSX.Element;
1487
+ interface ResizableHandleProps extends SeparatorProps$1 {
1488
+ withHandle?: boolean;
1489
+ }
1490
+ declare function ResizableHandle({ withHandle, className, ...props }: ResizableHandleProps): react_jsx_runtime.JSX.Element;
827
1491
 
828
- declare function Radio({ children, className, ...props }: RadioProps): react_jsx_runtime.JSX.Element;
1492
+ interface ScrollAreaProps extends ScrollArea$1.Root.Props {
1493
+ maxHeight?: string | number;
1494
+ orientation?: 'vertical' | 'horizontal' | 'both';
1495
+ children?: ReactNode;
1496
+ className?: string;
1497
+ style?: CSSProperties;
1498
+ }
1499
+ declare function ScrollArea({ maxHeight, orientation, className, style, children, ...props }: ScrollAreaProps): react_jsx_runtime.JSX.Element;
829
1500
 
830
- interface SearchFieldProps extends SearchFieldProps$1 {
1501
+ interface SearchFieldProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'onChange' | 'onSearch'> {
831
1502
  label?: string;
832
- placeholder?: string;
833
- value?: string;
834
- defaultValue?: string;
835
1503
  delay?: number;
836
1504
  onChange?: (value: string) => void;
837
1505
  onSearch?: (value: string) => void;
838
1506
  }
839
1507
  declare function SearchField({ label, placeholder, value, defaultValue, delay, onChange, onSearch, className, ...props }: SearchFieldProps): react_jsx_runtime.JSX.Element;
840
1508
 
841
- interface SelectProps extends SelectProps$1<HTMLSelectElement> {
1509
+ interface SelectValueRenderProps {
1510
+ defaultChildren: ReactNode;
1511
+ isPlaceholder: boolean;
1512
+ }
1513
+ interface SelectProps extends Omit<Select$1.Root.Props<string | number>, 'children' | 'value' | 'defaultValue' | 'items' | 'disabled' | 'onValueChange'> {
842
1514
  children?: ReactNode;
1515
+ items?: ReadonlyArray<string | number | {
1516
+ label: ReactNode;
1517
+ value: string | number;
1518
+ }>;
843
1519
  value?: string | number;
844
1520
  defaultValue?: string | number;
845
1521
  label?: string;
846
1522
  placeholder?: string;
847
1523
  isLoading?: boolean;
1524
+ isDisabled?: boolean;
848
1525
  allowSearch?: boolean;
849
1526
  searchValue?: string;
850
1527
  searchDelay?: number;
851
1528
  isFullscreen?: boolean;
852
1529
  maxHeight?: string | number;
853
1530
  showIcon?: boolean;
1531
+ alignItemWithTrigger?: boolean;
854
1532
  onSearch?: (value: string) => void;
855
- onChange?: (e: any) => void;
1533
+ onChange?: (value: string | number | null) => void;
856
1534
  buttonProps?: ButtonProps;
857
1535
  listProps?: ListProps;
858
- popoverProps?: PopoverProps$1;
859
- renderValue?: ReactNode | ((values: SelectValueRenderProps<object> & {
860
- defaultChildren: ReactNode;
861
- }) => ReactNode);
1536
+ popoverProps?: Select$1.Positioner.Props;
1537
+ renderValue?: ReactNode | ((values: SelectValueRenderProps) => ReactNode);
1538
+ className?: string;
1539
+ }
1540
+ 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;
1541
+
1542
+ interface SheetProps extends Dialog$1.Portal.Props {
1543
+ children?: ReactNode;
1544
+ side?: 'left' | 'right' | 'top' | 'bottom';
1545
+ size?: string | number;
1546
+ isOpen?: boolean;
1547
+ onOpenChange?: (open: boolean) => void;
1548
+ className?: string;
1549
+ style?: CSSProperties;
1550
+ }
1551
+ declare function Sheet({ side, size, children, className, style, isOpen: _isOpen, onOpenChange: _onOpenChange, ...props }: SheetProps): react_jsx_runtime.JSX.Element;
1552
+ interface SheetHeaderProps {
1553
+ title?: ReactNode;
1554
+ showClose?: boolean;
1555
+ className?: string;
1556
+ children?: ReactNode;
862
1557
  }
863
- declare function Select({ value, defaultValue, label, isLoading, allowSearch, searchValue, searchDelay, isFullscreen, maxHeight, showIcon, onSearch, onChange, buttonProps, listProps, popoverProps, renderValue, className, children, ...props }: SelectProps): react_jsx_runtime.JSX.Element;
1558
+ declare function SheetHeader({ title, showClose, className, children }: SheetHeaderProps): react_jsx_runtime.JSX.Element;
864
1559
 
865
- interface SliderProps extends SliderProps$1 {
1560
+ interface SkeletonProps extends BoxProps {
1561
+ }
1562
+ declare function Skeleton({ width, height, borderRadius, className, ...props }: SkeletonProps): react_jsx_runtime.JSX.Element;
1563
+ interface SkeletonTextProps extends ColumnProps {
1564
+ lines?: number;
1565
+ lastLineWidth?: BoxProps['width'];
1566
+ lineHeight?: BoxProps['height'];
1567
+ }
1568
+ declare function SkeletonText({ lines, lastLineWidth, lineHeight, ...props }: SkeletonTextProps): react_jsx_runtime.JSX.Element;
1569
+ interface SkeletonAvatarProps extends Omit<SkeletonProps, 'width' | 'height' | 'borderRadius'> {
1570
+ size?: 'sm' | 'md' | 'lg';
1571
+ }
1572
+ declare function SkeletonAvatar({ size, ...props }: SkeletonAvatarProps): react_jsx_runtime.JSX.Element;
1573
+
1574
+ interface SliderProps extends Omit<Slider$1.Root.Props<number>, 'disabled' | 'onChange' | 'onValueChange' | 'onValueCommitted'> {
866
1575
  label?: ReactNode;
867
1576
  showValue?: boolean;
1577
+ isDisabled?: boolean;
1578
+ onChange?: (value: number) => void;
1579
+ onChangeEnd?: (value: number) => void;
868
1580
  }
869
- declare function Slider({ className, showValue, label, ...props }: SliderProps): react_jsx_runtime.JSX.Element;
1581
+ declare function Slider({ className, showValue, label, isDisabled, onChange, onChangeEnd, ...props }: SliderProps): react_jsx_runtime.JSX.Element;
870
1582
 
871
1583
  interface SpinnerProps extends HTMLAttributes<HTMLDivElement> {
872
1584
  size?: 'sm' | 'md' | 'lg';
@@ -883,53 +1595,67 @@ interface StatusLightProps {
883
1595
  }
884
1596
  declare function StatusLight(props: StatusLightProps): react_jsx_runtime.JSX.Element;
885
1597
 
886
- interface SwitchProps extends SwitchProps$1 {
1598
+ interface SwitchProps extends Omit<Switch$1.Root.Props, 'checked' | 'defaultChecked' | 'disabled' | 'onCheckedChange' | 'value'> {
887
1599
  children?: ReactNode;
888
1600
  label?: string;
1601
+ value?: string | boolean;
1602
+ isSelected?: boolean;
1603
+ defaultSelected?: boolean;
1604
+ isDisabled?: boolean;
1605
+ onChange?: (selected: boolean) => void;
889
1606
  }
890
- declare function Switch({ label, children, className, ...props }: SwitchProps): react_jsx_runtime.JSX.Element;
1607
+ declare function Switch({ label, children, className, isSelected, defaultSelected, isDisabled, onChange, value, id, ...props }: SwitchProps): react_jsx_runtime.JSX.Element;
891
1608
 
892
- interface TableColumnProps extends ColumnProps$1 {
893
- align?: 'start' | 'center' | 'end';
1609
+ interface TabsProps extends Omit<Tabs$1.Root.Props, 'value' | 'defaultValue' | 'onValueChange'> {
1610
+ children?: ReactNode;
1611
+ selectedKey?: string;
1612
+ defaultSelectedKey?: string;
1613
+ onSelectionChange?: (key: string) => void;
894
1614
  }
895
- interface TableCellProps extends CellProps {
896
- align?: 'start' | 'center' | 'end';
1615
+ interface TabListProps extends Tabs$1.List.Props {
1616
+ children?: ReactNode;
897
1617
  }
898
- declare function Table({ children, className, ...props }: TableProps): react_jsx_runtime.JSX.Element;
899
- interface TableHeaderComponentProps extends Omit<TableHeaderProps<any>, 'style'> {
900
- style?: CSSProperties;
1618
+ interface TabProps extends Omit<Tabs$1.Tab.Props, 'value' | 'disabled'> {
1619
+ id?: string;
1620
+ value?: string;
1621
+ isDisabled?: boolean;
1622
+ href?: string;
901
1623
  }
902
- declare function TableHeader({ children, className, style, ...props }: TableHeaderComponentProps): react_jsx_runtime.JSX.Element;
903
- declare function TableBody({ children, className, ...props }: TableBodyProps<any>): react_jsx_runtime.JSX.Element;
904
- declare function TableRow({ children, className, style, ...props }: RowProps$1<any>): react_jsx_runtime.JSX.Element;
905
- declare function TableColumn({ children, className, align, ...props }: TableColumnProps): react_jsx_runtime.JSX.Element;
906
- declare function TableCell({ children, className, align, ...props }: TableCellProps): react_jsx_runtime.JSX.Element;
907
-
908
- declare function Tabs({ children, className, ...props }: TabsProps): react_jsx_runtime.JSX.Element;
909
- declare function TabList({ children, className, ...props }: TabListProps<any>): react_jsx_runtime.JSX.Element;
910
- declare function Tab({ children, className, ...props }: TabProps): react_jsx_runtime.JSX.Element;
911
- declare function TabPanel({ children, className, ...props }: TabPanelProps): react_jsx_runtime.JSX.Element;
1624
+ interface TabPanelProps extends Omit<Tabs$1.Panel.Props, 'value'> {
1625
+ id?: string;
1626
+ value?: string;
1627
+ }
1628
+ declare function Tabs({ children, className, selectedKey, defaultSelectedKey, onSelectionChange, ...props }: TabsProps): react_jsx_runtime.JSX.Element;
1629
+ declare function TabList({ children, className, ...props }: TabListProps): react_jsx_runtime.JSX.Element;
1630
+ declare function Tab({ id, value, isDisabled, href, children, className, ...props }: TabProps): react_jsx_runtime.JSX.Element;
1631
+ declare function TabPanel({ id, value, children, className, ...props }: TabPanelProps): react_jsx_runtime.JSX.Element;
912
1632
 
913
- interface TagGroupProps extends Omit<TagGroupProps$1, 'children'> {
1633
+ interface TagGroupProps extends HTMLAttributes<HTMLDivElement> {
914
1634
  label?: string;
915
1635
  children?: ReactNode;
1636
+ onRemove?: (keys: Set<Key>) => void;
916
1637
  }
917
- declare function TagGroup({ label, children, className, ...props }: TagGroupProps): react_jsx_runtime.JSX.Element;
918
- interface TagProps extends TagProps$1, TagVariants {
1638
+ declare function TagGroup({ label, children, className, onRemove, ...props }: TagGroupProps): react_jsx_runtime.JSX.Element;
1639
+ interface TagProps extends Omit<HTMLAttributes<HTMLDivElement>, 'id'>, TagVariants {
1640
+ id?: string | number;
919
1641
  children?: ReactNode;
1642
+ isDisabled?: boolean;
920
1643
  }
921
- declare function Tag({ variant, children, className, ...props }: TagProps): react_jsx_runtime.JSX.Element;
1644
+ declare function Tag({ id, variant, children, className, isDisabled, ...props }: TagProps): react_jsx_runtime.JSX.Element;
922
1645
 
923
- interface TextFieldProps extends TextFieldProps$1 {
1646
+ type NativeFieldProps = Omit<InputHTMLAttributes<HTMLInputElement> & TextareaHTMLAttributes<HTMLTextAreaElement>, 'onChange' | 'readOnly' | 'disabled'>;
1647
+ interface TextFieldProps extends NativeFieldProps {
924
1648
  label?: string;
925
1649
  placeholder?: string;
926
1650
  allowCopy?: boolean;
927
1651
  asTextArea?: boolean;
928
1652
  resize?: 'vertical' | 'horizontal' | 'both' | 'none';
929
1653
  variant?: 'quiet' | 'none';
930
- onChange?: (e: any) => void;
1654
+ isReadOnly?: boolean;
1655
+ isDisabled?: boolean;
1656
+ onChange?: (value: any) => void;
931
1657
  }
932
- declare function TextField({ value, defaultValue, label, placeholder, allowCopy, asTextArea, resize, variant, onChange, isReadOnly, isDisabled, className, children, ...props }: TextFieldProps): react_jsx_runtime.JSX.Element;
1658
+ declare function TextField({ value, defaultValue, label, placeholder, allowCopy, asTextArea, resize, variant, onChange, isReadOnly, isDisabled, className, children: _children, ...props }: TextFieldProps): react_jsx_runtime.JSX.Element;
933
1659
 
934
1660
  interface ThemeButtonProps extends ButtonProps {
935
1661
  target?: RefObject<HTMLElement | null> | HTMLElement;
@@ -942,23 +1668,48 @@ interface ThemeSwitcherProps {
942
1668
  }
943
1669
  declare function ThemeSwitcher({ className }: ThemeSwitcherProps): react_jsx_runtime.JSX.Element;
944
1670
 
945
- interface ToggleProps extends ToggleButtonProps {
1671
+ interface ToggleProps extends Omit<ToggleProps$1<string>, 'pressed' | 'defaultPressed' | 'disabled' | 'onChange' | 'onPressedChange'> {
946
1672
  label?: string;
947
1673
  value?: string;
1674
+ isSelected?: boolean;
1675
+ defaultSelected?: boolean;
1676
+ isDisabled?: boolean;
1677
+ onChange?: (selected: boolean) => void;
948
1678
  }
949
- declare function Toggle({ label, children, className, ...props }: ToggleProps): react_jsx_runtime.JSX.Element;
1679
+ declare function Toggle({ label, children, className, isSelected, defaultSelected, isDisabled, onChange, ...props }: ToggleProps): react_jsx_runtime.JSX.Element;
950
1680
 
951
- interface ToggleGroupProps extends TagGroupProps$1 {
1681
+ interface ToggleGroupProps extends Omit<ToggleGroupProps$1<string>, 'value' | 'defaultValue' | 'onChange' | 'onValueChange'> {
952
1682
  label?: string;
953
1683
  value?: string[];
954
1684
  defaultValue?: string[];
955
1685
  variant?: 'primary';
956
1686
  onChange?: (value: string[]) => void;
1687
+ selectionMode?: 'single' | 'multiple';
1688
+ selectedKeys?: Iterable<string>;
1689
+ defaultSelectedKeys?: Iterable<string>;
1690
+ onSelectionChange?: (value: Selection) => void;
957
1691
  }
958
1692
  declare function ToggleGroup({ label, value, defaultValue, variant, onChange, className, children, selectionMode, selectedKeys, defaultSelectedKeys, onSelectionChange, ...props }: ToggleGroupProps): react_jsx_runtime.JSX.Element;
959
- interface ToggleGroupItemProps extends TagProps$1 {
1693
+ interface ToggleGroupItemProps extends Omit<ToggleProps$1<string>, 'disabled'> {
1694
+ id?: string;
1695
+ isDisabled?: boolean;
1696
+ }
1697
+ declare function ToggleGroupItem({ id, className, children, isDisabled, ...props }: ToggleGroupItemProps): react_jsx_runtime.JSX.Element;
1698
+
1699
+ interface ToolbarProps extends Omit<Toolbar$1.Root.Props, 'disabled'> {
1700
+ isDisabled?: boolean;
1701
+ children?: ReactNode;
1702
+ }
1703
+ declare function Toolbar({ isDisabled, orientation, className, children, ...props }: ToolbarProps): react_jsx_runtime.JSX.Element;
1704
+ interface ToolbarGroupProps extends Toolbar$1.Group.Props {
1705
+ children?: ReactNode;
1706
+ }
1707
+ declare function ToolbarGroup({ className, children, ...props }: ToolbarGroupProps): react_jsx_runtime.JSX.Element;
1708
+ interface ToolbarButtonProps extends ButtonProps {
1709
+ isDisabled?: boolean;
960
1710
  }
961
- declare function ToggleGroupItem({ className, children, ...props }: ToggleGroupItemProps): react_jsx_runtime.JSX.Element;
1711
+ declare function ToolbarButton({ isDisabled, variant, ...props }: ToolbarButtonProps): react_jsx_runtime.JSX.Element;
1712
+ declare function ToolbarSeparator({ className, ...props }: Toolbar$1.Separator.Props): react_jsx_runtime.JSX.Element;
962
1713
 
963
1714
  interface ToastProps extends HTMLAttributes<HTMLDivElement> {
964
1715
  children?: ReactNode;
@@ -992,6 +1743,6 @@ interface ZenProviderProps {
992
1743
  toast?: ToasterProps;
993
1744
  children: ReactNode;
994
1745
  }
995
- declare function ZenProvider({ children, theme, colorScheme, palette, toast, }: ZenProviderProps): react_jsx_runtime.JSX.Element;
1746
+ declare function ZenProvider({ children, theme, colorScheme, palette, toast }: ZenProviderProps): react_jsx_runtime.JSX.Element;
996
1747
 
997
- export { Accordion, AccordionItem, type AccordionItemProps, type AccordionProps, AlertBanner, type AlertBannerProps, AlertDialog, type AlertDialogProps, Blockquote, type BlockquoteProps, Box, type BoxProps, type BoxRenderProps, Breadcrumb, Breadcrumbs, type BreakpointKey, Button, type ButtonProps, type ButtonRenderProps, Calendar, type CalendarProps, Checkbox, type CheckboxProps, Code, type CodeProps, Column, type ColumnProps, ComboBox, type ComboBoxProps, ConfirmationDialog, type ConfirmationDialogProps, Container, type ContainerProps, CopyButton, type CopyButtonProps, DataCard, type DataCardProps, DataColumn, type DataColumnProps, DataTable, type DataTableProps, Dialog, type DialogProps, Dots, type DotsProps, Flexbox, type FlexboxProps, FloatingTooltip, type FloatingTooltipProps, 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, Label, type LabelProps, List, ListItem, type ListItemProps, type ListProps, ListSection, type ListSectionProps, ListSeparator, Loading, LoadingButton, type LoadingButtonProps, type LoadingProps, Menu, MenuItem, type MenuItemProps, type MenuProps, MenuSection, type MenuSectionProps, MenuSeparator, Modal, type ModalProps, Navbar, NavbarContext, NavbarItem, type NavbarItemProps, type NavbarProps, type NavigationContext, PALETTES, type Palette, PaletteSwitcher, type PaletteSwitcherProps, PasswordField, type PasswordFieldProps, Popover, type PopoverProps, ProgressBar, type ProgressBarProps, ProgressCircle, type ProgressCircleProps, Radio, RadioGroup, type RadioGroupProps, type RenderProp, Row, type RowProps, SearchField, type SearchFieldProps, Select, type SelectProps, Slider, type SliderProps, Spinner, type SpinnerProps, StatusLight, type StatusLightProps, type StrokeWidth, SubMenuTrigger, type SubmenuTriggerProps, Switch, type SwitchProps, Tab, TabList, TabPanel, Table, TableBody, TableCell, type TableCellProps, TableColumn, type TableColumnProps, TableHeader, TableRow, Tabs, 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, Tooltip, TooltipBubble, type TooltipBubbleProps, type TooltipProps, 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, useBreakpoint, useDebounce, useInitTheme, useNavigationContext, useTheme, useToast };
1748
+ 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 };