@umami/react-zen 0.244.0 → 0.246.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;
362
670
 
363
- interface CalendarProps extends Omit<CalendarProps$1<any>, 'value' | 'minValue' | 'maxValue' | 'defaultValue' | 'onChange'> {
364
- value: Date;
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;
694
+
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,78 @@ 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
+ onChange?: (value: string | null) => void;
834
+ renderEmptyState?: (props: object) => ReactNode;
429
835
  listProps?: ListProps;
430
- popoverProps?: PopoverProps$1;
836
+ popoverProps?: Combobox.Positioner.Props;
837
+ className?: string;
431
838
  }
432
- declare function ComboBox({ className, renderEmptyState, listProps, popoverProps, children, ...props }: ComboBoxProps): react_jsx_runtime.JSX.Element;
839
+ declare function ComboBox({ className, label, placeholder, isDisabled, onChange, renderEmptyState, listProps, popoverProps, children, items, itemToStringLabel, ...props }: ComboBoxProps): react_jsx_runtime.JSX.Element;
840
+
841
+ interface CommandProps extends ComponentProps<typeof Command$1> {
842
+ }
843
+ declare function Command({ className, children, ...props }: CommandProps): react_jsx_runtime.JSX.Element;
844
+ interface CommandInputProps extends ComponentProps<typeof Command$1.Input> {
845
+ }
846
+ declare function CommandInput({ className, ...props }: CommandInputProps): react_jsx_runtime.JSX.Element;
847
+ interface CommandListProps extends ComponentProps<typeof Command$1.List> {
848
+ }
849
+ declare function CommandList({ className, ...props }: CommandListProps): react_jsx_runtime.JSX.Element;
850
+ interface CommandEmptyProps extends ComponentProps<typeof Command$1.Empty> {
851
+ }
852
+ declare function CommandEmpty({ className, ...props }: CommandEmptyProps): react_jsx_runtime.JSX.Element;
853
+ interface CommandGroupProps extends ComponentProps<typeof Command$1.Group> {
854
+ }
855
+ declare function CommandGroup({ className, ...props }: CommandGroupProps): react_jsx_runtime.JSX.Element;
856
+ interface CommandItemProps extends Omit<ComponentProps<typeof Command$1.Item>, 'disabled'> {
857
+ icon?: ReactNode;
858
+ isDisabled?: boolean;
859
+ }
860
+ declare function CommandItem({ icon, isDisabled, className, children, ...props }: CommandItemProps): react_jsx_runtime.JSX.Element;
861
+ interface CommandSeparatorProps extends ComponentProps<typeof Command$1.Separator> {
862
+ }
863
+ declare function CommandSeparator({ className, ...props }: CommandSeparatorProps): react_jsx_runtime.JSX.Element;
864
+ interface CommandDialogProps extends Omit<CommandProps, 'title'> {
865
+ isOpen?: boolean;
866
+ onOpenChange?: (open: boolean) => void;
867
+ title?: ReactNode;
868
+ description?: ReactNode;
869
+ }
870
+ declare function CommandDialog({ isOpen, onOpenChange, title, description, children, ...props }: CommandDialogProps): react_jsx_runtime.JSX.Element;
433
871
 
434
872
  interface ConfirmationDialogProps extends AlertDialogProps {
435
873
  value: string;
@@ -444,13 +882,17 @@ interface ContainerProps extends BoxProps {
444
882
  }
445
883
  declare function Container({ isCentered, isFluid, className, children, ...props }: ContainerProps): react_jsx_runtime.JSX.Element;
446
884
 
447
- interface CopyButtonProps {
885
+ interface ContextMenuProps {
886
+ children: ReactNode;
887
+ onOpenChange?: (open: boolean) => void;
888
+ }
889
+ declare function ContextMenu({ children, onOpenChange }: ContextMenuProps): react_jsx_runtime.JSX.Element;
890
+
891
+ interface CopyButtonProps extends Omit<ButtonProps, 'children' | 'onClick' | 'onPress' | 'size' | 'type' | 'value' | 'variant'> {
448
892
  value?: string | (() => string);
449
893
  timeout?: number;
450
- className?: string;
451
- children?: ReactNode;
452
894
  }
453
- declare function CopyButton({ value, timeout, className, children, ...props }: CopyButtonProps): react_jsx_runtime.JSX.Element;
895
+ declare function CopyButton({ value, timeout, className, ...props }: CopyButtonProps): react_jsx_runtime.JSX.Element;
454
896
 
455
897
  interface GridProps extends Omit<BoxProps, 'display'> {
456
898
  display?: Responsive$1<GridDisplay>;
@@ -477,6 +919,34 @@ interface DataCardProps extends GridProps {
477
919
  }
478
920
  declare function DataCard({ data, labelWidth, ...props }: DataCardProps): react_jsx_runtime.JSX.Element;
479
921
 
922
+ type TableSelectionMode = 'none' | 'single' | 'multiple';
923
+
924
+ interface TableProps extends TableHTMLAttributes<HTMLTableElement> {
925
+ selectionMode?: TableSelectionMode;
926
+ selectedKeys?: Iterable<string>;
927
+ defaultSelectedKeys?: Iterable<string>;
928
+ onSelectionChange?: (keys: Set<string>) => void;
929
+ }
930
+ interface TableColumnProps extends Omit<ThHTMLAttributes<HTMLTableCellElement>, 'align'> {
931
+ align?: 'start' | 'center' | 'end';
932
+ isRowHeader?: boolean;
933
+ }
934
+ interface TableCellProps extends Omit<TdHTMLAttributes<HTMLTableCellElement>, 'align'> {
935
+ align?: 'start' | 'center' | 'end';
936
+ }
937
+ interface TableRowProps extends HTMLAttributes<HTMLTableRowElement> {
938
+ id?: string;
939
+ }
940
+ declare function Table({ children, className, selectionMode, selectedKeys: controlledSelectedKeys, defaultSelectedKeys, onSelectionChange, ...props }: TableProps): react_jsx_runtime.JSX.Element;
941
+ interface TableHeaderComponentProps extends HTMLAttributes<HTMLTableSectionElement> {
942
+ style?: CSSProperties;
943
+ }
944
+ declare function TableHeader({ children, className, style, ...props }: TableHeaderComponentProps): react_jsx_runtime.JSX.Element;
945
+ declare function TableBody({ children, className, ...props }: HTMLAttributes<HTMLTableSectionElement>): react_jsx_runtime.JSX.Element;
946
+ declare function TableRow({ children, className, style, id, ...props }: TableRowProps): react_jsx_runtime.JSX.Element;
947
+ declare function TableColumn({ children, className, align, isRowHeader: _isRowHeader, ...props }: TableColumnProps): react_jsx_runtime.JSX.Element;
948
+ declare function TableCell({ children, className, align, ...props }: TableCellProps): react_jsx_runtime.JSX.Element;
949
+
480
950
  interface DataTableProps extends TableProps {
481
951
  data?: any[];
482
952
  displayMode?: 'table' | 'cards';
@@ -493,16 +963,46 @@ interface DataColumnProps extends Omit<HTMLAttributes<any>, 'children'> {
493
963
  }
494
964
  declare function DataColumn(_props: DataColumnProps): null;
495
965
 
966
+ interface DatePickerProps {
967
+ id?: string;
968
+ value?: Date;
969
+ defaultValue?: Date;
970
+ minValue?: Date;
971
+ maxValue?: Date;
972
+ label?: string;
973
+ placeholder?: string;
974
+ locale?: string;
975
+ isDisabled?: boolean;
976
+ isReadOnly?: boolean;
977
+ formatOptions?: Intl.DateTimeFormatOptions;
978
+ onChange?: (date: Date) => void;
979
+ buttonProps?: ButtonProps;
980
+ calendarProps?: Partial<CalendarProps>;
981
+ className?: string;
982
+ }
983
+ declare function DatePicker({ id, value, defaultValue, minValue, maxValue, label, placeholder, locale, isDisabled, isReadOnly, formatOptions, onChange, buttonProps, calendarProps, className, }: DatePickerProps): react_jsx_runtime.JSX.Element;
984
+
496
985
  interface DotsProps extends HTMLAttributes<HTMLDivElement> {
497
986
  size?: 'sm' | 'md' | 'lg';
498
987
  }
499
988
  declare function Dots({ size, className, color: _color, ...props }: DotsProps): react_jsx_runtime.JSX.Element;
500
989
 
501
- interface TooltipProps extends TooltipProps$1 {
990
+ declare const Empty: react.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & react.RefAttributes<HTMLDivElement>>;
991
+ declare const EmptyHeader: react.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & react.RefAttributes<HTMLDivElement>>;
992
+ interface EmptyMediaProps extends HTMLAttributes<HTMLDivElement>, EmptyMediaVariants {
993
+ }
994
+ declare const EmptyMedia: react.ForwardRefExoticComponent<EmptyMediaProps & react.RefAttributes<HTMLDivElement>>;
995
+ declare const EmptyTitle: react.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & react.RefAttributes<HTMLDivElement>>;
996
+ declare const EmptyDescription: react.ForwardRefExoticComponent<HTMLAttributes<HTMLParagraphElement> & react.RefAttributes<HTMLParagraphElement>>;
997
+ declare const EmptyContent: react.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & react.RefAttributes<HTMLDivElement>>;
998
+
999
+ interface TooltipProps extends Omit<Tooltip$1.Positioner.Props, 'children' | 'className'> {
502
1000
  children?: ReactNode;
503
1001
  showArrow?: boolean;
1002
+ className?: string;
1003
+ placement?: Tooltip$1.Positioner.Props['side'];
504
1004
  }
505
- declare function Tooltip({ children, className, showArrow, ...props }: TooltipProps): react_jsx_runtime.JSX.Element;
1005
+ declare function Tooltip({ children, className, placement, side, sideOffset, showArrow, ...props }: TooltipProps): react_jsx_runtime.JSX.Element;
506
1006
  interface TooltipBubbleProps extends HTMLAttributes<HTMLDivElement> {
507
1007
  children?: ReactNode;
508
1008
  showArrow?: boolean;
@@ -665,6 +1165,26 @@ interface ImageProps extends HTMLAttributes<HTMLImageElement> {
665
1165
  }
666
1166
  declare function Image({ src, alt, objectFit, isCentered, borderRadius, shadow, className, ...props }: ImageProps): react_jsx_runtime.JSX.Element;
667
1167
 
1168
+ interface InputGroupProps extends HTMLAttributes<HTMLDivElement>, InputFieldVariants {
1169
+ }
1170
+ declare const InputGroup: react.ForwardRefExoticComponent<InputGroupProps & react.RefAttributes<HTMLDivElement>>;
1171
+ type InputGroupAddonAlign = 'inline-start' | 'inline-end' | 'block-start' | 'block-end';
1172
+ interface InputGroupAddonProps extends HTMLAttributes<HTMLDivElement> {
1173
+ align?: InputGroupAddonAlign;
1174
+ }
1175
+ declare const InputGroupAddon: react.ForwardRefExoticComponent<InputGroupAddonProps & react.RefAttributes<HTMLDivElement>>;
1176
+ type InputGroupButtonSize = 'xs' | 'sm' | 'icon-xs' | 'icon-sm';
1177
+ interface InputGroupButtonProps extends Omit<ButtonProps, 'size'> {
1178
+ size?: InputGroupButtonSize;
1179
+ }
1180
+ declare const InputGroupButton: react.ForwardRefExoticComponent<Omit<InputGroupButtonProps, "ref"> & react.RefAttributes<HTMLButtonElement>>;
1181
+ declare const InputGroupText: react.ForwardRefExoticComponent<HTMLAttributes<HTMLSpanElement> & react.RefAttributes<HTMLSpanElement>>;
1182
+ declare const InputGroupInput: react.ForwardRefExoticComponent<InputHTMLAttributes<HTMLInputElement> & react.RefAttributes<HTMLInputElement>>;
1183
+ declare const InputGroupTextarea: react.ForwardRefExoticComponent<TextareaHTMLAttributes<HTMLTextAreaElement> & react.RefAttributes<HTMLTextAreaElement>>;
1184
+
1185
+ type KbdProps = HTMLAttributes<HTMLElement>;
1186
+ declare function Kbd({ className, children, ...props }: KbdProps): react_jsx_runtime.JSX.Element;
1187
+
668
1188
  interface LabelProps extends Omit<TextProps, 'as' | 'render'> {
669
1189
  htmlFor?: string;
670
1190
  }
@@ -743,130 +1263,320 @@ interface StateStylesInput {
743
1263
  }
744
1264
  declare function mapStateStyles(prefix: StatePrefix, styles: StateStylesInput | undefined): string;
745
1265
 
746
- interface MenuProps extends MenuProps$1<any> {
747
- className?: string;
748
- children?: ReactNode;
1266
+ interface MenuProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onChange'> {
1267
+ selectionMode?: 'none' | 'single' | 'multiple';
1268
+ selectedKeys?: Iterable<Key>;
1269
+ defaultSelectedKeys?: Iterable<Key>;
1270
+ onSelectionChange?: (keys: Selection) => void;
749
1271
  }
750
- declare function Menu({ className, children, ...props }: MenuProps): react_jsx_runtime.JSX.Element;
751
- interface MenuItemProps extends MenuItemProps$1 {
752
- children?: ReactNode;
1272
+ declare function Menu({ className, children, selectionMode, selectedKeys, defaultSelectedKeys, onSelectionChange, ...props }: MenuProps): react_jsx_runtime.JSX.Element;
1273
+ interface MenuItemProps extends Omit<HTMLAttributes<HTMLDivElement>, 'id'> {
1274
+ id?: string | number;
1275
+ value?: string;
753
1276
  icon?: ReactNode;
754
1277
  label?: string;
755
1278
  showChecked?: boolean;
756
1279
  showSubMenuIcon?: boolean;
1280
+ isDisabled?: boolean;
1281
+ onAction?: (key: Key) => void;
757
1282
  }
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;
1283
+ declare function MenuItem({ id, value, icon, label, showChecked, showSubMenuIcon, isDisabled, onAction, children, className, onClick, ...props }: MenuItemProps): react_jsx_runtime.JSX.Element;
1284
+ interface MenuSeparatorProps extends Menu$1.Separator.Props {
1285
+ }
1286
+ declare function MenuSeparator({ className, ...props }: MenuSeparatorProps): react_jsx_runtime.JSX.Element;
1287
+ interface MenuSectionProps extends HTMLAttributes<HTMLDivElement> {
762
1288
  title?: string;
763
1289
  maxHeight?: number;
764
1290
  }
765
1291
  declare function MenuSection({ title, maxHeight, className, style, children, ...props }: MenuSectionProps): react_jsx_runtime.JSX.Element;
766
- interface SubmenuTriggerProps extends SubmenuTriggerProps$1 {
1292
+ interface SubmenuTriggerProps {
1293
+ children?: ReactNode;
767
1294
  }
768
- declare function SubMenuTrigger({ children, ...props }: SubmenuTriggerProps): react_jsx_runtime.JSX.Element;
1295
+ declare function SubMenuTrigger({ children }: SubmenuTriggerProps): react_jsx_runtime.JSX.Element;
769
1296
 
770
- interface ModalProps extends ModalOverlayProps {
771
- children?: ReactNode | ((values: ModalRenderProps & {
772
- defaultChildren: ReactNode;
773
- }) => ReactNode);
1297
+ interface MenubarProps extends Omit<Menubar$1.Props, 'disabled'> {
1298
+ isDisabled?: boolean;
1299
+ children?: ReactNode;
1300
+ }
1301
+ declare function Menubar({ isDisabled, className, children, ...props }: MenubarProps): react_jsx_runtime.JSX.Element;
1302
+ interface MenubarMenuProps extends Omit<Menu$1.Root.Props, 'children' | 'disabled'> {
1303
+ label: ReactNode;
1304
+ isDisabled?: boolean;
1305
+ children?: ReactNode;
1306
+ }
1307
+ declare function MenubarMenu({ label, isDisabled, children, ...props }: MenubarMenuProps): react_jsx_runtime.JSX.Element;
1308
+
1309
+ interface MeterProps extends Omit<Meter$1.Root.Props, 'min' | 'max' | 'format'> {
1310
+ value: number;
1311
+ minValue?: number;
1312
+ maxValue?: number;
1313
+ label?: string;
1314
+ showValue?: boolean;
1315
+ formatOptions?: Intl.NumberFormatOptions;
1316
+ }
1317
+ declare function Meter({ value, minValue, maxValue, label, showValue, formatOptions, className, ...props }: MeterProps): react_jsx_runtime.JSX.Element;
1318
+
1319
+ interface ModalProps extends Dialog$1.Portal.Props {
1320
+ children?: ReactNode;
774
1321
  isOpen?: boolean;
775
- placement?: 'center' | 'top' | 'bottom' | 'left' | 'right' | 'fullscreen';
776
- offset?: string;
1322
+ onOpenChange?: (open: boolean) => void;
1323
+ placement?: 'center' | 'fullscreen';
1324
+ className?: string;
1325
+ style?: CSSProperties;
777
1326
  }
778
- declare function Modal({ placement, offset, children, className, style, ...props }: ModalProps): react_jsx_runtime.JSX.Element;
1327
+ declare function Modal({ placement, children, className, style, isOpen: _isOpen, onOpenChange: _onOpenChange, ...props }: ModalProps): react_jsx_runtime.JSX.Element;
779
1328
 
780
- type NavigationContext = {
781
- activeMenu: string;
782
- setActiveMenu: Dispatch<SetStateAction<string>>;
783
- };
784
- declare const NavbarContext: react.Context<NavigationContext | undefined>;
785
1329
  interface NavbarProps extends HTMLAttributes<HTMLElement> {
1330
+ /** Shows the dropdown arrow on items that have a label. Defaults to `true`. */
786
1331
  showArrow?: boolean;
787
1332
  }
788
- declare const useNavigationContext: () => NavigationContext;
789
1333
  declare function Navbar({ showArrow, className, children, color: _color, ...props }: NavbarProps): react_jsx_runtime.JSX.Element;
790
1334
  interface NavbarItemProps extends HTMLAttributes<HTMLElement> {
1335
+ /** Item label. When provided, the item becomes a trigger with a dropdown built from `children`. */
791
1336
  label?: string;
792
1337
  children?: ReactNode;
793
1338
  }
794
1339
  declare function NavbarItem({ label, children, className, color: _color, ...props }: NavbarItemProps): react_jsx_runtime.JSX.Element;
1340
+ interface NavbarLinkProps extends NavigationMenu.Link.Props {
1341
+ }
1342
+ /** A semantic navigation link. Renders an `<a>` element and integrates with keyboard navigation. */
1343
+ declare function NavbarLink({ className, ...props }: NavbarLinkProps): react_jsx_runtime.JSX.Element;
795
1344
 
796
- interface PaletteSwitcherProps {
797
- className?: string;
1345
+ interface NumberFieldProps extends Omit<NumberField$1.Root.Props, 'min' | 'max' | 'disabled' | 'readOnly' | 'required' | 'format' | 'onValueChange'> {
1346
+ label?: string;
1347
+ placeholder?: string;
1348
+ minValue?: number;
1349
+ maxValue?: number;
1350
+ isDisabled?: boolean;
1351
+ isReadOnly?: boolean;
1352
+ isRequired?: boolean;
1353
+ formatOptions?: Intl.NumberFormatOptions;
1354
+ onChange?: (value: number | null) => void;
798
1355
  }
799
- declare function PaletteSwitcher({ className }: PaletteSwitcherProps): react_jsx_runtime.JSX.Element;
1356
+ declare function NumberField({ label, placeholder, minValue, maxValue, isDisabled, isReadOnly, isRequired, formatOptions, onChange, className, id, ...props }: NumberFieldProps): react_jsx_runtime.JSX.Element;
800
1357
 
801
- interface PasswordFieldProps extends TextFieldProps$1 {
1358
+ interface OTPFieldProps extends Omit<OTPField$1.Root.Props, 'length' | 'disabled' | 'readOnly' | 'required' | 'onValueChange' | 'onValueComplete'> {
1359
+ length?: number;
802
1360
  label?: string;
1361
+ isDisabled?: boolean;
1362
+ isReadOnly?: boolean;
1363
+ isRequired?: boolean;
1364
+ onChange?: (value: string) => void;
1365
+ onComplete?: (value: string) => void;
1366
+ }
1367
+ declare function OTPField({ length, label, isDisabled, isReadOnly, isRequired, onChange, onComplete, className, id, ...props }: OTPFieldProps): react_jsx_runtime.JSX.Element;
1368
+
1369
+ interface DialogTriggerProps {
1370
+ children: ReactNode;
1371
+ overlayType?: 'alert-dialog' | 'dialog' | 'popover';
1372
+ isOpen?: boolean;
1373
+ defaultOpen?: boolean;
1374
+ onOpenChange?: (open: boolean) => void;
1375
+ }
1376
+ declare function DialogTrigger({ children, overlayType, isOpen, defaultOpen, onOpenChange, }: DialogTriggerProps): react_jsx_runtime.JSX.Element;
1377
+ interface TooltipTriggerProps {
1378
+ children: ReactNode;
1379
+ delay?: number;
1380
+ closeDelay?: number;
1381
+ }
1382
+ declare function TooltipTrigger({ children, delay, closeDelay }: TooltipTriggerProps): react_jsx_runtime.JSX.Element;
1383
+ interface MenuTriggerProps {
1384
+ children: ReactNode;
1385
+ isOpen?: boolean;
1386
+ defaultOpen?: boolean;
1387
+ onOpenChange?: (open: boolean) => void;
1388
+ }
1389
+ declare function MenuTrigger({ children, isOpen, defaultOpen, onOpenChange }: MenuTriggerProps): react_jsx_runtime.JSX.Element;
1390
+ interface FileTriggerProps {
1391
+ children: ReactElement;
1392
+ acceptedFileTypes?: string[];
1393
+ allowsMultiple?: boolean;
1394
+ onSelect?: (files: FileList | null) => void;
1395
+ }
1396
+ declare function FileTrigger({ children, acceptedFileTypes, allowsMultiple, onSelect, }: FileTriggerProps): react_jsx_runtime.JSX.Element;
1397
+ declare function Focusable({ children }: {
1398
+ children: ReactElement;
1399
+ }): ReactElement<any, string | react.JSXElementConstructor<any>>;
1400
+ declare function Pressable({ children, onPress, }: {
1401
+ children: ReactElement;
1402
+ onPress?: (event: MouseEvent<HTMLElement>) => void;
1403
+ }): ReactElement<{
1404
+ onClick?: (event: MouseEvent<HTMLElement>) => void;
1405
+ }, string | react.JSXElementConstructor<any>>;
1406
+ declare function RouterProvider({ children }: {
1407
+ children?: ReactNode;
1408
+ }): ReactNode;
1409
+
1410
+ interface PageHeaderProps extends RowProps {
1411
+ children?: ReactNode;
1412
+ }
1413
+ declare function PageHeader({ children, ...props }: PageHeaderProps): react_jsx_runtime.JSX.Element;
1414
+ interface PageHeaderTitleProps extends Omit<ColumnProps, 'title'> {
1415
+ title: ReactNode;
1416
+ description?: ReactNode;
1417
+ breadcrumb?: ReactNode;
1418
+ }
1419
+ declare function PageHeaderTitle({ title, description, breadcrumb, children, ...props }: PageHeaderTitleProps): react_jsx_runtime.JSX.Element;
1420
+ interface PageHeaderActionsProps extends RowProps {
1421
+ children?: ReactNode;
1422
+ }
1423
+ declare function PageHeaderActions({ children, ...props }: PageHeaderActionsProps): react_jsx_runtime.JSX.Element;
1424
+
1425
+ interface PaginationProps extends Omit<HTMLAttributes<HTMLElement>, 'onChange'> {
1426
+ pageCount?: number;
1427
+ totalItems?: number;
1428
+ pageSize?: number;
1429
+ page?: number;
1430
+ defaultPage?: number;
1431
+ siblingCount?: number;
1432
+ isDisabled?: boolean;
1433
+ onChange?: (page: number) => void;
1434
+ }
1435
+ declare function Pagination({ pageCount, totalItems, pageSize, page, defaultPage, siblingCount, isDisabled, onChange, className, ...props }: PaginationProps): react_jsx_runtime.JSX.Element;
1436
+
1437
+ interface PasswordFieldProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'disabled' | 'readOnly'> {
1438
+ label?: string;
1439
+ isDisabled?: boolean;
1440
+ isReadOnly?: boolean;
803
1441
  }
804
- declare function PasswordField({ label, className, ...props }: PasswordFieldProps): react_jsx_runtime.JSX.Element;
1442
+ declare function PasswordField({ label, className, isDisabled, isReadOnly, ...props }: PasswordFieldProps): react_jsx_runtime.JSX.Element;
805
1443
 
806
- interface PopoverProps extends PopoverProps$1 {
1444
+ interface PopoverProps extends Omit<Popover$1.Positioner.Props, 'children' | 'className'> {
807
1445
  children?: ReactNode;
808
1446
  isFullscreen?: boolean;
1447
+ isOpen?: boolean;
1448
+ isNonModal?: boolean;
1449
+ triggerRef?: React.RefObject<Element | null>;
1450
+ className?: string;
1451
+ onOpenChange?: (open: boolean) => void;
809
1452
  }
810
- declare function Popover({ children, isFullscreen, className, ...props }: PopoverProps): react_jsx_runtime.JSX.Element;
1453
+ declare function Popover({ children, isFullscreen, className, isOpen: _isOpen, isNonModal: _isNonModal, triggerRef: _triggerRef, onOpenChange: _onOpenChange, ...props }: PopoverProps): react_jsx_runtime.JSX.Element;
811
1454
 
812
- interface ProgressBarProps extends ProgressBarProps$1 {
1455
+ interface ProgressBarProps extends ProgressRoot.Props {
813
1456
  showPercentage?: boolean;
814
1457
  }
815
1458
  declare function ProgressBar({ className, showPercentage, ...props }: ProgressBarProps): react_jsx_runtime.JSX.Element;
816
1459
 
817
- interface ProgressCircleProps extends ProgressBarProps$1 {
1460
+ interface ProgressCircleProps extends ProgressRoot.Props {
818
1461
  showPercentage?: boolean;
819
1462
  }
820
- declare function ProgressCircle({ className, showPercentage, ...props }: ProgressCircleProps): react_jsx_runtime.JSX.Element;
1463
+ declare function ProgressCircle({ className, showPercentage, value, min, max, ...props }: ProgressCircleProps): react_jsx_runtime.JSX.Element;
821
1464
 
822
- interface RadioGroupProps extends RadioGroupProps$1 {
1465
+ interface RadioGroupProps extends Omit<RadioGroupProps$1, 'disabled' | 'readOnly' | 'onChange' | 'onValueChange'> {
823
1466
  children?: ReactNode;
824
1467
  label?: string;
1468
+ isDisabled?: boolean;
1469
+ isReadOnly?: boolean;
1470
+ onChange?: (value: string) => void;
1471
+ }
1472
+ declare function RadioGroup({ label, children, className, isDisabled, isReadOnly, onChange, ...props }: RadioGroupProps): react_jsx_runtime.JSX.Element;
1473
+ interface RadioProps extends Omit<RadioRoot.Props, 'disabled'> {
1474
+ isDisabled?: boolean;
1475
+ }
1476
+ declare function Radio({ children, className, isDisabled, ...props }: RadioProps): react_jsx_runtime.JSX.Element;
1477
+
1478
+ interface ResizablePanelGroupProps extends Omit<GroupProps, 'orientation'> {
1479
+ direction?: 'horizontal' | 'vertical';
825
1480
  }
826
- declare function RadioGroup({ label, children, className, ...props }: RadioGroupProps): react_jsx_runtime.JSX.Element;
1481
+ declare function ResizablePanelGroup({ direction, className, ...props }: ResizablePanelGroupProps): react_jsx_runtime.JSX.Element;
1482
+ interface ResizablePanelProps extends PanelProps {
1483
+ }
1484
+ declare function ResizablePanel({ className, ...props }: ResizablePanelProps): react_jsx_runtime.JSX.Element;
1485
+ interface ResizableHandleProps extends SeparatorProps$1 {
1486
+ withHandle?: boolean;
1487
+ }
1488
+ declare function ResizableHandle({ withHandle, className, ...props }: ResizableHandleProps): react_jsx_runtime.JSX.Element;
827
1489
 
828
- declare function Radio({ children, className, ...props }: RadioProps): react_jsx_runtime.JSX.Element;
1490
+ interface ScrollAreaProps extends ScrollArea$1.Root.Props {
1491
+ maxHeight?: string | number;
1492
+ orientation?: 'vertical' | 'horizontal' | 'both';
1493
+ children?: ReactNode;
1494
+ className?: string;
1495
+ style?: CSSProperties;
1496
+ }
1497
+ declare function ScrollArea({ maxHeight, orientation, className, style, children, ...props }: ScrollAreaProps): react_jsx_runtime.JSX.Element;
829
1498
 
830
- interface SearchFieldProps extends SearchFieldProps$1 {
1499
+ interface SearchFieldProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'onChange' | 'onSearch'> {
831
1500
  label?: string;
832
- placeholder?: string;
833
- value?: string;
834
- defaultValue?: string;
835
1501
  delay?: number;
836
1502
  onChange?: (value: string) => void;
837
1503
  onSearch?: (value: string) => void;
838
1504
  }
839
1505
  declare function SearchField({ label, placeholder, value, defaultValue, delay, onChange, onSearch, className, ...props }: SearchFieldProps): react_jsx_runtime.JSX.Element;
840
1506
 
841
- interface SelectProps extends SelectProps$1<HTMLSelectElement> {
1507
+ interface SelectValueRenderProps {
1508
+ defaultChildren: ReactNode;
1509
+ isPlaceholder: boolean;
1510
+ }
1511
+ interface SelectProps extends Omit<Select$1.Root.Props<string | number>, 'children' | 'value' | 'defaultValue' | 'items' | 'disabled' | 'onValueChange'> {
842
1512
  children?: ReactNode;
1513
+ items?: ReadonlyArray<string | number | {
1514
+ label: ReactNode;
1515
+ value: string | number;
1516
+ }>;
843
1517
  value?: string | number;
844
1518
  defaultValue?: string | number;
845
1519
  label?: string;
846
1520
  placeholder?: string;
847
1521
  isLoading?: boolean;
1522
+ isDisabled?: boolean;
848
1523
  allowSearch?: boolean;
849
1524
  searchValue?: string;
850
1525
  searchDelay?: number;
851
1526
  isFullscreen?: boolean;
852
1527
  maxHeight?: string | number;
853
1528
  showIcon?: boolean;
1529
+ alignItemWithTrigger?: boolean;
854
1530
  onSearch?: (value: string) => void;
855
- onChange?: (e: any) => void;
1531
+ onChange?: (value: string | number | null) => void;
856
1532
  buttonProps?: ButtonProps;
857
1533
  listProps?: ListProps;
858
- popoverProps?: PopoverProps$1;
859
- renderValue?: ReactNode | ((values: SelectValueRenderProps<object> & {
860
- defaultChildren: ReactNode;
861
- }) => ReactNode);
1534
+ popoverProps?: Select$1.Positioner.Props;
1535
+ renderValue?: ReactNode | ((values: SelectValueRenderProps) => ReactNode);
1536
+ className?: string;
1537
+ }
1538
+ 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;
1539
+
1540
+ interface SheetProps extends Dialog$1.Portal.Props {
1541
+ children?: ReactNode;
1542
+ side?: 'left' | 'right' | 'top' | 'bottom';
1543
+ size?: string | number;
1544
+ isOpen?: boolean;
1545
+ onOpenChange?: (open: boolean) => void;
1546
+ className?: string;
1547
+ style?: CSSProperties;
1548
+ }
1549
+ declare function Sheet({ side, size, children, className, style, isOpen: _isOpen, onOpenChange: _onOpenChange, ...props }: SheetProps): react_jsx_runtime.JSX.Element;
1550
+ interface SheetHeaderProps {
1551
+ title?: ReactNode;
1552
+ showClose?: boolean;
1553
+ className?: string;
1554
+ children?: ReactNode;
862
1555
  }
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;
1556
+ declare function SheetHeader({ title, showClose, className, children }: SheetHeaderProps): react_jsx_runtime.JSX.Element;
864
1557
 
865
- interface SliderProps extends SliderProps$1 {
1558
+ interface SkeletonProps extends BoxProps {
1559
+ }
1560
+ declare function Skeleton({ width, height, borderRadius, className, ...props }: SkeletonProps): react_jsx_runtime.JSX.Element;
1561
+ interface SkeletonTextProps extends ColumnProps {
1562
+ lines?: number;
1563
+ lastLineWidth?: BoxProps['width'];
1564
+ lineHeight?: BoxProps['height'];
1565
+ }
1566
+ declare function SkeletonText({ lines, lastLineWidth, lineHeight, ...props }: SkeletonTextProps): react_jsx_runtime.JSX.Element;
1567
+ interface SkeletonAvatarProps extends Omit<SkeletonProps, 'width' | 'height' | 'borderRadius'> {
1568
+ size?: 'sm' | 'md' | 'lg';
1569
+ }
1570
+ declare function SkeletonAvatar({ size, ...props }: SkeletonAvatarProps): react_jsx_runtime.JSX.Element;
1571
+
1572
+ interface SliderProps extends Omit<Slider$1.Root.Props<number>, 'disabled' | 'onChange' | 'onValueChange' | 'onValueCommitted'> {
866
1573
  label?: ReactNode;
867
1574
  showValue?: boolean;
1575
+ isDisabled?: boolean;
1576
+ onChange?: (value: number) => void;
1577
+ onChangeEnd?: (value: number) => void;
868
1578
  }
869
- declare function Slider({ className, showValue, label, ...props }: SliderProps): react_jsx_runtime.JSX.Element;
1579
+ declare function Slider({ className, showValue, label, isDisabled, onChange, onChangeEnd, ...props }: SliderProps): react_jsx_runtime.JSX.Element;
870
1580
 
871
1581
  interface SpinnerProps extends HTMLAttributes<HTMLDivElement> {
872
1582
  size?: 'sm' | 'md' | 'lg';
@@ -883,53 +1593,67 @@ interface StatusLightProps {
883
1593
  }
884
1594
  declare function StatusLight(props: StatusLightProps): react_jsx_runtime.JSX.Element;
885
1595
 
886
- interface SwitchProps extends SwitchProps$1 {
1596
+ interface SwitchProps extends Omit<Switch$1.Root.Props, 'checked' | 'defaultChecked' | 'disabled' | 'onCheckedChange' | 'value'> {
887
1597
  children?: ReactNode;
888
1598
  label?: string;
1599
+ value?: string | boolean;
1600
+ isSelected?: boolean;
1601
+ defaultSelected?: boolean;
1602
+ isDisabled?: boolean;
1603
+ onChange?: (selected: boolean) => void;
889
1604
  }
890
- declare function Switch({ label, children, className, ...props }: SwitchProps): react_jsx_runtime.JSX.Element;
1605
+ declare function Switch({ label, children, className, isSelected, defaultSelected, isDisabled, onChange, value, id, ...props }: SwitchProps): react_jsx_runtime.JSX.Element;
891
1606
 
892
- interface TableColumnProps extends ColumnProps$1 {
893
- align?: 'start' | 'center' | 'end';
1607
+ interface TabsProps extends Omit<Tabs$1.Root.Props, 'value' | 'defaultValue' | 'onValueChange'> {
1608
+ children?: ReactNode;
1609
+ selectedKey?: string;
1610
+ defaultSelectedKey?: string;
1611
+ onSelectionChange?: (key: string) => void;
894
1612
  }
895
- interface TableCellProps extends CellProps {
896
- align?: 'start' | 'center' | 'end';
1613
+ interface TabListProps extends Tabs$1.List.Props {
1614
+ children?: ReactNode;
897
1615
  }
898
- declare function Table({ children, className, ...props }: TableProps): react_jsx_runtime.JSX.Element;
899
- interface TableHeaderComponentProps extends Omit<TableHeaderProps<any>, 'style'> {
900
- style?: CSSProperties;
1616
+ interface TabProps extends Omit<Tabs$1.Tab.Props, 'value' | 'disabled'> {
1617
+ id?: string;
1618
+ value?: string;
1619
+ isDisabled?: boolean;
1620
+ href?: string;
901
1621
  }
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;
1622
+ interface TabPanelProps extends Omit<Tabs$1.Panel.Props, 'value'> {
1623
+ id?: string;
1624
+ value?: string;
1625
+ }
1626
+ declare function Tabs({ children, className, selectedKey, defaultSelectedKey, onSelectionChange, ...props }: TabsProps): react_jsx_runtime.JSX.Element;
1627
+ declare function TabList({ children, className, ...props }: TabListProps): react_jsx_runtime.JSX.Element;
1628
+ declare function Tab({ id, value, isDisabled, href, children, className, ...props }: TabProps): react_jsx_runtime.JSX.Element;
1629
+ declare function TabPanel({ id, value, children, className, ...props }: TabPanelProps): react_jsx_runtime.JSX.Element;
912
1630
 
913
- interface TagGroupProps extends Omit<TagGroupProps$1, 'children'> {
1631
+ interface TagGroupProps extends HTMLAttributes<HTMLDivElement> {
914
1632
  label?: string;
915
1633
  children?: ReactNode;
1634
+ onRemove?: (keys: Set<Key>) => void;
916
1635
  }
917
- declare function TagGroup({ label, children, className, ...props }: TagGroupProps): react_jsx_runtime.JSX.Element;
918
- interface TagProps extends TagProps$1, TagVariants {
1636
+ declare function TagGroup({ label, children, className, onRemove, ...props }: TagGroupProps): react_jsx_runtime.JSX.Element;
1637
+ interface TagProps extends Omit<HTMLAttributes<HTMLDivElement>, 'id'>, TagVariants {
1638
+ id?: string | number;
919
1639
  children?: ReactNode;
1640
+ isDisabled?: boolean;
920
1641
  }
921
- declare function Tag({ variant, children, className, ...props }: TagProps): react_jsx_runtime.JSX.Element;
1642
+ declare function Tag({ id, variant, children, className, isDisabled, ...props }: TagProps): react_jsx_runtime.JSX.Element;
922
1643
 
923
- interface TextFieldProps extends TextFieldProps$1 {
1644
+ type NativeFieldProps = Omit<InputHTMLAttributes<HTMLInputElement> & TextareaHTMLAttributes<HTMLTextAreaElement>, 'onChange' | 'readOnly' | 'disabled'>;
1645
+ interface TextFieldProps extends NativeFieldProps {
924
1646
  label?: string;
925
1647
  placeholder?: string;
926
1648
  allowCopy?: boolean;
927
1649
  asTextArea?: boolean;
928
1650
  resize?: 'vertical' | 'horizontal' | 'both' | 'none';
929
1651
  variant?: 'quiet' | 'none';
930
- onChange?: (e: any) => void;
1652
+ isReadOnly?: boolean;
1653
+ isDisabled?: boolean;
1654
+ onChange?: (value: any) => void;
931
1655
  }
932
- declare function TextField({ value, defaultValue, label, placeholder, allowCopy, asTextArea, resize, variant, onChange, isReadOnly, isDisabled, className, children, ...props }: TextFieldProps): react_jsx_runtime.JSX.Element;
1656
+ 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
1657
 
934
1658
  interface ThemeButtonProps extends ButtonProps {
935
1659
  target?: RefObject<HTMLElement | null> | HTMLElement;
@@ -942,23 +1666,48 @@ interface ThemeSwitcherProps {
942
1666
  }
943
1667
  declare function ThemeSwitcher({ className }: ThemeSwitcherProps): react_jsx_runtime.JSX.Element;
944
1668
 
945
- interface ToggleProps extends ToggleButtonProps {
1669
+ interface ToggleProps extends Omit<ToggleProps$1<string>, 'pressed' | 'defaultPressed' | 'disabled' | 'onChange' | 'onPressedChange'> {
946
1670
  label?: string;
947
1671
  value?: string;
1672
+ isSelected?: boolean;
1673
+ defaultSelected?: boolean;
1674
+ isDisabled?: boolean;
1675
+ onChange?: (selected: boolean) => void;
948
1676
  }
949
- declare function Toggle({ label, children, className, ...props }: ToggleProps): react_jsx_runtime.JSX.Element;
1677
+ declare function Toggle({ label, children, className, isSelected, defaultSelected, isDisabled, onChange, ...props }: ToggleProps): react_jsx_runtime.JSX.Element;
950
1678
 
951
- interface ToggleGroupProps extends TagGroupProps$1 {
1679
+ interface ToggleGroupProps extends Omit<ToggleGroupProps$1<string>, 'value' | 'defaultValue' | 'onChange' | 'onValueChange'> {
952
1680
  label?: string;
953
1681
  value?: string[];
954
1682
  defaultValue?: string[];
955
1683
  variant?: 'primary';
956
1684
  onChange?: (value: string[]) => void;
1685
+ selectionMode?: 'single' | 'multiple';
1686
+ selectedKeys?: Iterable<string>;
1687
+ defaultSelectedKeys?: Iterable<string>;
1688
+ onSelectionChange?: (value: Selection) => void;
957
1689
  }
958
1690
  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 {
1691
+ interface ToggleGroupItemProps extends Omit<ToggleProps$1<string>, 'disabled'> {
1692
+ id?: string;
1693
+ isDisabled?: boolean;
1694
+ }
1695
+ declare function ToggleGroupItem({ id, className, children, isDisabled, ...props }: ToggleGroupItemProps): react_jsx_runtime.JSX.Element;
1696
+
1697
+ interface ToolbarProps extends Omit<Toolbar$1.Root.Props, 'disabled'> {
1698
+ isDisabled?: boolean;
1699
+ children?: ReactNode;
1700
+ }
1701
+ declare function Toolbar({ isDisabled, orientation, className, children, ...props }: ToolbarProps): react_jsx_runtime.JSX.Element;
1702
+ interface ToolbarGroupProps extends Toolbar$1.Group.Props {
1703
+ children?: ReactNode;
1704
+ }
1705
+ declare function ToolbarGroup({ className, children, ...props }: ToolbarGroupProps): react_jsx_runtime.JSX.Element;
1706
+ interface ToolbarButtonProps extends ButtonProps {
1707
+ isDisabled?: boolean;
960
1708
  }
961
- declare function ToggleGroupItem({ className, children, ...props }: ToggleGroupItemProps): react_jsx_runtime.JSX.Element;
1709
+ declare function ToolbarButton({ isDisabled, variant, ...props }: ToolbarButtonProps): react_jsx_runtime.JSX.Element;
1710
+ declare function ToolbarSeparator({ className, ...props }: Toolbar$1.Separator.Props): react_jsx_runtime.JSX.Element;
962
1711
 
963
1712
  interface ToastProps extends HTMLAttributes<HTMLDivElement> {
964
1713
  children?: ReactNode;
@@ -992,6 +1741,6 @@ interface ZenProviderProps {
992
1741
  toast?: ToasterProps;
993
1742
  children: ReactNode;
994
1743
  }
995
- declare function ZenProvider({ children, theme, colorScheme, palette, toast, }: ZenProviderProps): react_jsx_runtime.JSX.Element;
1744
+ declare function ZenProvider({ children, theme, colorScheme, palette, toast }: ZenProviderProps): react_jsx_runtime.JSX.Element;
996
1745
 
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 };
1746
+ 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 };