@umami/react-zen 0.117.0 → 0.118.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -1,6 +1,5 @@
1
- import { ButtonProps as ButtonProps$1, DisclosureGroupProps, DisclosureProps, DialogProps as DialogProps$1, BreadcrumbsProps, BreadcrumbProps, CalendarProps as CalendarProps$1, CheckboxProps as CheckboxProps$1, TableProps, TooltipProps as TooltipProps$1, LabelProps as LabelProps$1, ListBoxProps, ListBoxItemProps, SeparatorProps, ListBoxSectionProps, MenuProps as MenuProps$1, MenuItemProps, MenuSectionProps, ModalOverlayProps, ModalRenderProps, TextFieldProps as TextFieldProps$1, PopoverProps, 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, TableHeaderProps, TableBodyProps, RowProps as RowProps$1, ColumnProps as ColumnProps$1, CellProps, TabsProps, TabListProps, TabProps, TabPanelProps, ToggleButtonProps, TagGroupProps, TagProps } from 'react-aria-components';
2
- export { BreadcrumbProps, BreadcrumbsProps, DialogTrigger, FileTrigger, Focusable, MenuTrigger, PopoverProps, Pressable, RadioProps, RouterProvider, Selection, SubmenuTrigger, TabListProps, TabPanelProps, TabProps, TableBodyProps, TabsProps, ToggleButtonProps as ToggleProps, TooltipTrigger } from 'react-aria-components';
3
- import * as react_jsx_runtime from 'react/jsx-runtime';
1
+ import { ButtonProps as ButtonProps$1, DisclosureGroupProps, DisclosureProps, DialogProps as DialogProps$1, BreadcrumbsProps, BreadcrumbProps, CalendarProps as CalendarProps$1, CheckboxProps as CheckboxProps$1, TableProps, TooltipProps as TooltipProps$1, LabelProps as LabelProps$1, ListBoxProps, ListBoxItemProps, SeparatorProps, ListBoxSectionProps, MenuProps as MenuProps$1, MenuItemProps as MenuItemProps$1, MenuSectionProps as MenuSectionProps$1, ModalOverlayProps, ModalRenderProps, TextFieldProps as TextFieldProps$1, PopoverProps, 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, TableHeaderProps, TableBodyProps, RowProps as RowProps$1, ColumnProps as ColumnProps$1, CellProps, TabsProps, TabListProps, TabProps, TabPanelProps, ToggleButtonProps, TagGroupProps, TagProps } from 'react-aria-components';
2
+ export { BreadcrumbProps, BreadcrumbsProps, DialogTrigger, FileTrigger, Focusable, MenuTrigger, PopoverProps, Pressable, RadioProps, RouterProvider, Selection, SubmenuTrigger, TabListProps, TabPanelProps, TabProps, TableBodyProps, TabsProps, TooltipTrigger } from 'react-aria-components';
4
3
  import * as react from 'react';
5
4
  import { HTMLAttributes, ReactNode, ReactElement, Dispatch, SetStateAction } from 'react';
6
5
  import { UseFormProps, SubmitHandler, UseFormReturn, RegisterOptions, FieldValues } from 'react-hook-form';
@@ -60,7 +59,7 @@ interface FormProps extends UseFormProps, Omit<HTMLAttributes<HTMLFormElement>,
60
59
  preventSubmit?: boolean;
61
60
  children?: ReactNode | ((e: UseFormReturn) => ReactNode);
62
61
  }
63
- declare function Form({ gap, autoComplete, onSubmit, error, preventSubmit, mode, disabled, reValidateMode, defaultValues, values, errors, resetOptions, resolver, context, shouldFocusError, shouldUnregister, shouldUseNativeValidation, progressive, criteriaMode, delayError, className, children, ...props }: FormProps): react_jsx_runtime.JSX.Element;
62
+ declare function Form({ gap, autoComplete, onSubmit, error, preventSubmit, mode, disabled, reValidateMode, defaultValues, values, errors, resetOptions, resolver, context, shouldFocusError, shouldUnregister, shouldUseNativeValidation, progressive, criteriaMode, delayError, className, children, ...props }: FormProps): react.JSX.Element;
64
63
 
65
64
  interface BoxProps extends Omit<HTMLAttributes<HTMLElement>, 'color'> {
66
65
  display?: Responsive<Display>;
@@ -117,7 +116,7 @@ interface BoxProps extends Omit<HTMLAttributes<HTMLElement>, 'color'> {
117
116
  as?: string;
118
117
  asChild?: boolean;
119
118
  }
120
- declare function Box({ display, color, backgroundColor, hoverColor, hoverBackgroundColor, hoverBorderColor, fontSize, fontWeight, border, borderColor, borderRadius, shadow, padding, paddingX, paddingY, paddingTop, paddingRight, paddingBottom, paddingLeft, margin, marginX, marginY, marginTop, marginRight, marginBottom, marginLeft, width, minWidth, maxWidth, height, minHeight, maxHeight, position, textAlign, top, right, bottom, left, overflow, overflowX, overflowY, alignSelf, justifySelf, flexBasis, flexGrow, flexShrink, gridArea, gridRow, gridColumn, order, theme, as, asChild, className, style, children, ...props }: BoxProps): react_jsx_runtime.JSX.Element;
119
+ declare function Box({ display, color, backgroundColor, hoverColor, hoverBackgroundColor, hoverBorderColor, fontSize, fontWeight, border, borderColor, borderRadius, shadow, padding, paddingX, paddingY, paddingTop, paddingRight, paddingBottom, paddingLeft, margin, marginX, marginY, marginTop, marginRight, marginBottom, marginLeft, width, minWidth, maxWidth, height, minHeight, maxHeight, position, textAlign, top, right, bottom, left, overflow, overflowX, overflowY, alignSelf, justifySelf, flexBasis, flexGrow, flexShrink, gridArea, gridRow, gridColumn, order, theme, as, asChild, className, style, children, ...props }: BoxProps): react.JSX.Element;
121
120
 
122
121
  interface FlexboxProps extends Omit<BoxProps, 'display'> {
123
122
  display?: Responsive<FlexDisplay>;
@@ -131,17 +130,17 @@ interface FlexboxProps extends Omit<BoxProps, 'display'> {
131
130
  gapX?: Responsive<Spacing | true>;
132
131
  gapY?: Responsive<Spacing | true>;
133
132
  }
134
- declare function Flexbox({ display, direction, wrap, justifyContent, justifyItems, alignContent, alignItems, gap, gapX, gapY, className, style, children, ...props }: FlexboxProps): react_jsx_runtime.JSX.Element;
133
+ declare function Flexbox({ display, direction, wrap, justifyContent, justifyItems, alignContent, alignItems, gap, gapX, gapY, className, style, children, ...props }: FlexboxProps): react.JSX.Element;
135
134
 
136
135
  interface RowProps extends FlexboxProps {
137
136
  reverse?: boolean;
138
137
  }
139
- declare function Row({ reverse, children, ...props }: RowProps): react_jsx_runtime.JSX.Element;
138
+ declare function Row({ reverse, children, ...props }: RowProps): react.JSX.Element;
140
139
 
141
140
  interface FormButtonsProps extends RowProps {
142
141
  fill?: boolean;
143
142
  }
144
- declare function FormButtons({ fill, children, ...props }: FormButtonsProps): react_jsx_runtime.JSX.Element;
143
+ declare function FormButtons({ fill, children, ...props }: FormButtonsProps): react.JSX.Element;
145
144
 
146
145
  interface FormFieldProps extends HTMLAttributes<HTMLDivElement>, Partial<UseFormReturn> {
147
146
  name: string;
@@ -150,7 +149,7 @@ interface FormFieldProps extends HTMLAttributes<HTMLDivElement>, Partial<UseForm
150
149
  rules?: RegisterOptions<FieldValues, string>;
151
150
  children: any;
152
151
  }
153
- declare const FormField: react.ForwardRefExoticComponent<FormFieldProps & react.RefAttributes<any>>;
152
+ declare function FormField({ name, description, label, rules, className, children, ...props }: FormFieldProps): react.JSX.Element;
154
153
 
155
154
  interface ButtonProps extends ButtonProps$1 {
156
155
  variant?: 'primary' | 'secondary' | 'outline' | 'quiet' | 'danger' | 'zero';
@@ -159,23 +158,23 @@ interface ButtonProps extends ButtonProps$1 {
159
158
  slot?: string;
160
159
  children?: ReactNode;
161
160
  }
162
- declare const Button: react.ForwardRefExoticComponent<ButtonProps & react.RefAttributes<any>>;
161
+ declare function Button({ variant, size, asChild, preventFocusOnPress, className, children, ...props }: ButtonProps): react.JSX.Element;
163
162
 
164
163
  interface FormResetButtonProps extends ButtonProps {
165
164
  values?: FieldValues | {
166
165
  [p: string]: any;
167
166
  };
168
167
  }
169
- declare function FormResetButton({ values, children, onPress, ...props }: FormResetButtonProps): react_jsx_runtime.JSX.Element;
168
+ declare function FormResetButton({ values, children, onPress, ...props }: FormResetButtonProps): react.JSX.Element;
170
169
 
171
170
  interface LoadingButtonProps extends ButtonProps {
172
171
  isDisabled?: boolean;
173
172
  isLoading?: boolean;
174
173
  showText?: boolean;
175
174
  }
176
- declare function LoadingButton({ isLoading, isDisabled, showText, children, ...props }: LoadingButtonProps): react_jsx_runtime.JSX.Element;
175
+ declare function LoadingButton({ isLoading, isDisabled, showText, children, ...props }: LoadingButtonProps): react.JSX.Element;
177
176
 
178
- declare function FormSubmitButton({ variant, isDisabled, isLoading, children, ...props }: LoadingButtonProps): react_jsx_runtime.JSX.Element;
177
+ declare function FormSubmitButton({ variant, isDisabled, isLoading, children, ...props }: LoadingButtonProps): react.JSX.Element;
179
178
 
180
179
  interface ToastProps extends HTMLAttributes<HTMLDivElement> {
181
180
  id: string;
@@ -186,19 +185,19 @@ interface ToastProps extends HTMLAttributes<HTMLDivElement> {
186
185
  variant?: 'info' | 'error';
187
186
  onClose?: (action?: string) => void;
188
187
  }
189
- declare function Toast({ id, message, title, actions, allowClose, variant, className, children, onClose, ...props }: ToastProps): react_jsx_runtime.JSX.Element;
188
+ declare function Toast({ id, message, title, actions, allowClose, variant, className, children, onClose, ...props }: ToastProps): react.JSX.Element;
190
189
 
191
190
  type ToastPosition = 'top-left' | 'top' | 'top-right' | 'bottom-left' | 'bottom' | 'bottom-right' | 'left' | 'right';
192
191
  interface ToasterProps {
193
192
  duration?: number;
194
193
  position?: ToastPosition;
195
194
  }
196
- declare function Toaster({ duration, position }: ToasterProps): react_jsx_runtime.JSX.Element;
195
+ declare function Toaster({ duration, position }: ToasterProps): react.JSX.Element;
197
196
 
198
197
  interface ToastProviderProps extends ToasterProps {
199
198
  children: ReactNode;
200
199
  }
201
- declare function ToastProvider({ children, ...props }: ToastProviderProps): react_jsx_runtime.JSX.Element;
200
+ declare function ToastProvider({ children, ...props }: ToastProviderProps): react.JSX.Element;
202
201
 
203
202
  declare function useDebounce(value: string, delay: number): string;
204
203
 
@@ -233,8 +232,8 @@ interface AccordionProps extends DisclosureGroupProps {
233
232
  }
234
233
  interface AccordionItemProps extends DisclosureProps {
235
234
  }
236
- declare function Accordion({ className, children, ...props }: AccordionProps): react_jsx_runtime.JSX.Element;
237
- declare function AccordionItem({ defaultExpanded, className, children, ...props }: AccordionItemProps): react_jsx_runtime.JSX.Element;
235
+ declare function Accordion({ className, children, ...props }: AccordionProps): react.JSX.Element;
236
+ declare function AccordionItem({ defaultExpanded, className, children, ...props }: AccordionItemProps): react.JSX.Element;
238
237
 
239
238
  interface AlertBannerProps {
240
239
  title?: ReactNode;
@@ -247,13 +246,13 @@ interface AlertBannerProps {
247
246
  className?: string;
248
247
  children?: ReactNode;
249
248
  }
250
- declare function AlertBanner({ title, description, icon, variant, align, allowClose, onClose, children, className, ...props }: AlertBannerProps): react_jsx_runtime.JSX.Element;
249
+ declare function AlertBanner({ title, description, icon, variant, align, allowClose, onClose, children, className, ...props }: AlertBannerProps): react.JSX.Element;
251
250
 
252
251
  interface DialogProps extends DialogProps$1 {
253
252
  title?: ReactNode;
254
253
  variant?: 'modal' | 'menu' | 'sheet' | 'none';
255
254
  }
256
- declare function Dialog({ title, variant, children, className, ...props }: DialogProps): react_jsx_runtime.JSX.Element;
255
+ declare function Dialog({ title, variant, children, className, ...props }: DialogProps): react.JSX.Element;
257
256
 
258
257
  interface AlertDialogProps extends DialogProps {
259
258
  title?: ReactNode;
@@ -265,17 +264,17 @@ interface AlertDialogProps extends DialogProps {
265
264
  onConfirm?: () => void;
266
265
  onCancel?: () => void;
267
266
  }
268
- declare function AlertDialog({ title, description, isDanger, isConfirmDisabled, confirmLabel, cancelLabel, onConfirm, onCancel, className, children, ...props }: AlertDialogProps): react_jsx_runtime.JSX.Element;
267
+ declare function AlertDialog({ title, description, isDanger, isConfirmDisabled, confirmLabel, cancelLabel, onConfirm, onCancel, className, children, ...props }: AlertDialogProps): react.JSX.Element;
269
268
 
270
269
  interface BlockquoteProps extends HTMLAttributes<HTMLElement> {
271
270
  asChild?: boolean;
272
271
  weight?: Responsive<FontWeight>;
273
272
  wrap?: Responsive<TextWrap>;
274
273
  }
275
- declare function Blockquote({ asChild, children }: BlockquoteProps): react_jsx_runtime.JSX.Element;
274
+ declare function Blockquote({ asChild, children }: BlockquoteProps): react.JSX.Element;
276
275
 
277
- declare function Breadcrumbs({ children, className, ...props }: BreadcrumbsProps<any>): react_jsx_runtime.JSX.Element;
278
- declare function Breadcrumb({ children, className, ...props }: BreadcrumbProps): react_jsx_runtime.JSX.Element;
276
+ declare function Breadcrumbs({ children, className, ...props }: BreadcrumbsProps<any>): react.JSX.Element;
277
+ declare function Breadcrumb({ children, className, ...props }: BreadcrumbProps): react.JSX.Element;
279
278
 
280
279
  interface CalendarProps extends Omit<CalendarProps$1<any>, 'value' | 'minValue' | 'maxValue' | 'defaultValue' | 'onChange'> {
281
280
  value: Date;
@@ -284,41 +283,41 @@ interface CalendarProps extends Omit<CalendarProps$1<any>, 'value' | 'minValue'
284
283
  defaultValue?: Date;
285
284
  onChange?: (date: Date) => void;
286
285
  }
287
- declare function Calendar({ className, value, minValue, maxValue, defaultValue, onChange, ...props }: CalendarProps): react_jsx_runtime.JSX.Element;
286
+ declare function Calendar({ className, value, minValue, maxValue, defaultValue, onChange, ...props }: CalendarProps): react.JSX.Element;
288
287
 
289
288
  interface CheckboxProps extends CheckboxProps$1 {
290
289
  label?: string;
291
290
  }
292
- declare const Checkbox: react.ForwardRefExoticComponent<CheckboxProps & react.RefAttributes<any>>;
291
+ declare function Checkbox({ label, className, children, ...props }: CheckboxProps): react.JSX.Element;
293
292
 
294
293
  interface CodeProps extends HTMLAttributes<HTMLElement> {
295
294
  asChild?: boolean;
296
295
  weight?: Responsive<FontWeight>;
297
296
  wrap?: Responsive<TextWrap>;
298
297
  }
299
- declare function Code({ asChild, children }: CodeProps): react_jsx_runtime.JSX.Element;
298
+ declare function Code({ asChild, children }: CodeProps): react.JSX.Element;
300
299
 
301
300
  interface ColumnProps extends FlexboxProps {
302
301
  reverse?: boolean;
303
302
  }
304
- declare function Column({ reverse, children, ...props }: ColumnProps): react_jsx_runtime.JSX.Element;
303
+ declare function Column({ reverse, children, ...props }: ColumnProps): react.JSX.Element;
305
304
 
306
305
  interface ContainerProps extends BoxProps {
307
306
  isFluid?: boolean;
308
307
  isCentered?: boolean;
309
308
  }
310
- declare function Container({ isCentered, isFluid, className, children, ...props }: ContainerProps): react_jsx_runtime.JSX.Element;
309
+ declare function Container({ isCentered, isFluid, className, children, ...props }: ContainerProps): react.JSX.Element;
311
310
 
312
311
  interface ConfirmationDialogProps extends AlertDialogProps {
313
312
  value?: string;
314
313
  confirmMessage?: ReactNode;
315
314
  }
316
- declare function ConfirmationDialog({ value, confirmMessage, className, children, ...props }: ConfirmationDialogProps): react_jsx_runtime.JSX.Element;
315
+ declare function ConfirmationDialog({ value, confirmMessage, className, children, ...props }: ConfirmationDialogProps): react.JSX.Element;
317
316
 
318
317
  interface DataTableProps extends TableProps {
319
318
  data?: any[];
320
319
  }
321
- declare function DataTable({ data, className, children, ...props }: DataTableProps): react_jsx_runtime.JSX.Element;
320
+ declare function DataTable({ data, className, children, ...props }: DataTableProps): react.JSX.Element;
322
321
  interface DataColumnProps extends Omit<HTMLAttributes<any>, 'children'> {
323
322
  id: string;
324
323
  label?: ReactNode;
@@ -333,20 +332,20 @@ declare function DataColumn(props: DataColumnProps): null;
333
332
  interface DotsProps {
334
333
  className?: string;
335
334
  }
336
- declare function Dots({ className, ...props }: DotsProps): react_jsx_runtime.JSX.Element;
335
+ declare function Dots({ className, ...props }: DotsProps): react.JSX.Element;
337
336
 
338
337
  interface TooltipProps extends TooltipProps$1 {
339
338
  showArrow?: boolean;
340
339
  }
341
- declare function Tooltip({ children, className, showArrow, ...props }: TooltipProps): react_jsx_runtime.JSX.Element;
340
+ declare function Tooltip({ children, className, showArrow, ...props }: TooltipProps): react.JSX.Element;
342
341
  interface TooltipBubbleProps extends HTMLAttributes<HTMLDivElement> {
343
342
  showArrow?: boolean;
344
343
  }
345
- declare function TooltipBubble({ showArrow, children, ...props }: TooltipBubbleProps): react_jsx_runtime.JSX.Element;
344
+ declare function TooltipBubble({ showArrow, children, ...props }: TooltipBubbleProps): react.JSX.Element;
346
345
 
347
346
  interface FloatingTooltipProps extends TooltipBubbleProps {
348
347
  }
349
- declare function FloatingTooltip({ className, style, children, ...props }: FloatingTooltipProps): react_jsx_runtime.JSX.Element;
348
+ declare function FloatingTooltip({ className, style, children, ...props }: FloatingTooltipProps): react.JSX.Element;
350
349
 
351
350
  interface GridProps extends Omit<BoxProps, 'display'> {
352
351
  display?: Responsive<GridDisplay>;
@@ -362,7 +361,7 @@ interface GridProps extends Omit<BoxProps, 'display'> {
362
361
  columns?: Responsive<GridTemplateColumns>;
363
362
  areas?: Responsive<GridTemplateAreas>;
364
363
  }
365
- declare function Grid({ display, justifyContent, justifyItems, alignContent, alignItems, gap, gapX, gapY, autoFlow, rows, columns, areas, className, style, children, ...props }: GridProps): react_jsx_runtime.JSX.Element;
364
+ declare function Grid({ display, justifyContent, justifyItems, alignContent, alignItems, gap, gapX, gapY, autoFlow, rows, columns, areas, className, style, children, ...props }: GridProps): react.JSX.Element;
366
365
 
367
366
  interface HeadingProps extends BoxProps {
368
367
  size?: Responsive<FontSize>;
@@ -370,7 +369,7 @@ interface HeadingProps extends BoxProps {
370
369
  spacing?: Responsive<LetterSpacing>;
371
370
  align?: Responsive<TextAlign>;
372
371
  }
373
- declare function Heading({ size, weight, align, spacing, className, style, children, ...props }: HeadingProps): react_jsx_runtime.JSX.Element;
372
+ declare function Heading({ size, weight, align, spacing, className, style, children, ...props }: HeadingProps): react.JSX.Element;
374
373
 
375
374
  interface HoverButtonProps {
376
375
  isOpen?: boolean;
@@ -379,7 +378,7 @@ interface HoverButtonProps {
379
378
  closeDelay?: number;
380
379
  children: ReactElement[];
381
380
  }
382
- declare function HoverTrigger({ isOpen, onHoverStart, onHoverEnd, closeDelay, children, }: HoverButtonProps): react_jsx_runtime.JSX.Element;
381
+ declare function HoverTrigger({ isOpen, onHoverStart, onHoverEnd, closeDelay, children, }: HoverButtonProps): react.JSX.Element;
383
382
 
384
383
  interface IconProps extends Omit<HTMLAttributes<HTMLElement>, 'color'> {
385
384
  color?: FontColor;
@@ -390,7 +389,7 @@ interface IconProps extends Omit<HTMLAttributes<HTMLElement>, 'color'> {
390
389
  strokeColor?: FontColor;
391
390
  fillColor?: FontColor;
392
391
  }
393
- declare function Icon({ color, size, variant, rotate, strokeWidth, strokeColor, fillColor, style, className, children, ...props }: IconProps & HTMLAttributes<HTMLElement>): react_jsx_runtime.JSX.Element;
392
+ declare function Icon({ color, size, variant, rotate, strokeWidth, strokeColor, fillColor, style, className, children, ...props }: IconProps & HTMLAttributes<HTMLElement>): react.JSX.Element;
394
393
 
395
394
  declare const Icons: {
396
395
  Moon: react_icons_lib.IconType;
@@ -425,7 +424,7 @@ interface ImageProps extends HTMLAttributes<HTMLImageElement> {
425
424
  borderRadius?: Responsive<BorderRadius>;
426
425
  shadow?: Responsive<BoxShadow>;
427
426
  }
428
- declare function Image({ src, alt, objectFit, isCentered, borderRadius, shadow, className, style, ...props }: ImageProps): react_jsx_runtime.JSX.Element;
427
+ declare function Image({ src, alt, objectFit, isCentered, borderRadius, shadow, className, style, ...props }: ImageProps): react.JSX.Element;
429
428
 
430
429
  interface InlineEditFieldProps extends HTMLAttributes<HTMLDivElement> {
431
430
  name?: string;
@@ -435,12 +434,12 @@ interface InlineEditFieldProps extends HTMLAttributes<HTMLDivElement> {
435
434
  onCommit?: (value: any) => void;
436
435
  onCancel?: () => void;
437
436
  }
438
- declare function InlineEditField({ name, value: defaultValue, defaultEdit, className, children, onChange, onCommit, onCancel, ...props }: InlineEditFieldProps): react_jsx_runtime.JSX.Element;
437
+ declare function InlineEditField({ name, value: defaultValue, defaultEdit, className, children, onChange, onCommit, onCancel, ...props }: InlineEditFieldProps): react.JSX.Element;
439
438
 
440
439
  interface LabelProps extends LabelProps$1 {
441
440
  className?: string;
442
441
  }
443
- declare function Label({ className, ...props }: LabelProps): react_jsx_runtime.JSX.Element;
442
+ declare function Label({ className, ...props }: LabelProps): react.JSX.Element;
444
443
 
445
444
  interface ListProps extends ListBoxProps<any> {
446
445
  items?: any[];
@@ -450,16 +449,16 @@ interface ListProps extends ListBoxProps<any> {
450
449
  highlightColor?: string;
451
450
  showCheckmark?: boolean;
452
451
  }
453
- declare function List({ items, idProperty, labelProperty, separatorProperty, highlightColor, showCheckmark, className, style, children, ...props }: ListProps): react_jsx_runtime.JSX.Element;
452
+ declare function List({ items, idProperty, labelProperty, separatorProperty, highlightColor, showCheckmark, className, style, children, ...props }: ListProps): react.JSX.Element;
454
453
  interface ListItemProps extends ListBoxItemProps<any> {
455
454
  showCheckmark?: boolean;
456
455
  }
457
- declare function ListItem({ id, children, className, showCheckmark, ...props }: ListItemProps): react_jsx_runtime.JSX.Element;
458
- declare function ListSeparator({ className, ...props }: SeparatorProps): react_jsx_runtime.JSX.Element;
456
+ declare function ListItem({ id, children, className, showCheckmark, ...props }: ListItemProps): react.JSX.Element;
457
+ declare function ListSeparator({ className, ...props }: SeparatorProps): react.JSX.Element;
459
458
  interface ListSectionProps extends ListBoxSectionProps<any> {
460
459
  title?: string;
461
460
  }
462
- declare function ListSection({ title, className, children, ...props }: ListSectionProps): react_jsx_runtime.JSX.Element;
461
+ declare function ListSection({ title, className, children, ...props }: ListSectionProps): react.JSX.Element;
463
462
 
464
463
  interface LoadingProps {
465
464
  size?: 'sm' | 'md' | 'lg' | 'xl';
@@ -467,18 +466,22 @@ interface LoadingProps {
467
466
  position?: 'page' | 'center' | 'inline';
468
467
  className?: string;
469
468
  }
470
- declare function Loading(props: LoadingProps): react_jsx_runtime.JSX.Element;
469
+ declare function Loading(props: LoadingProps): react.JSX.Element;
471
470
 
472
471
  interface MenuProps extends MenuProps$1<any> {
473
472
  className?: string;
474
473
  children?: ReactNode;
475
474
  }
476
- declare function Menu({ className, children, ...props }: MenuProps): react_jsx_runtime.JSX.Element;
477
- declare function MenuItem({ children, className, ...props }: MenuItemProps<any>): react_jsx_runtime.JSX.Element;
478
- declare function MenuSeparator({ className, ...props }: SeparatorProps): react_jsx_runtime.JSX.Element;
479
- declare function MenuSection({ title, className, children, ...props }: MenuSectionProps<any> & {
475
+ declare function Menu({ className, children, ...props }: MenuProps): react.JSX.Element;
476
+ interface MenuItemProps extends MenuItemProps$1 {
477
+ showChecked?: boolean;
478
+ }
479
+ declare function MenuItem({ showChecked, children, className, ...props }: MenuItemProps): react.JSX.Element;
480
+ declare function MenuSeparator({ className, ...props }: SeparatorProps): react.JSX.Element;
481
+ interface MenuSectionProps extends MenuSectionProps$1<any> {
480
482
  title?: string;
481
- }): react_jsx_runtime.JSX.Element;
483
+ }
484
+ declare function MenuSection({ title, className, children, ...props }: MenuSectionProps): react.JSX.Element;
482
485
 
483
486
  interface ModalProps extends ModalOverlayProps {
484
487
  position?: 'center' | 'top' | 'bottom' | 'left' | 'right' | 'fullscreen';
@@ -487,7 +490,7 @@ interface ModalProps extends ModalOverlayProps {
487
490
  defaultChildren: ReactNode;
488
491
  }) => ReactNode);
489
492
  }
490
- declare function Modal({ position, offset, children, className, style, ...props }: ModalProps): react_jsx_runtime.JSX.Element;
493
+ declare function Modal({ position, offset, children, className, style, ...props }: ModalProps): react.JSX.Element;
491
494
 
492
495
  type NavigationContext = {
493
496
  activeMenu: string;
@@ -498,44 +501,45 @@ interface NavbarProps extends HTMLAttributes<HTMLElement> {
498
501
  showArrow?: boolean;
499
502
  }
500
503
  declare const useNavigationContext: () => NavigationContext;
501
- declare function Navbar({ showArrow, className, children, ...props }: NavbarProps): react_jsx_runtime.JSX.Element;
504
+ declare function Navbar({ showArrow, className, children, ...props }: NavbarProps): react.JSX.Element;
502
505
  interface NavbarItemProps extends HTMLAttributes<HTMLElement> {
503
506
  label?: string;
504
507
  children?: ReactNode;
505
508
  }
506
- declare function NavbarItem({ label, children, className, ...props }: NavbarItemProps): react_jsx_runtime.JSX.Element;
509
+ declare function NavbarItem({ label, children, className, ...props }: NavbarItemProps): react.JSX.Element;
507
510
 
508
511
  interface NavMenuProps extends ColumnProps {
509
512
  highlightColor?: string;
510
513
  }
511
- declare function NavMenu({ highlightColor, className, style, children, ...props }: NavMenuProps): react_jsx_runtime.JSX.Element;
514
+ declare function NavMenu({ highlightColor, className, style, children, ...props }: NavMenuProps): react.JSX.Element;
512
515
  interface NavMenuItemProps extends RowProps {
513
516
  isSelected?: boolean;
514
517
  }
515
- declare function NavMenuItem({ isSelected, className, children, ...props }: NavMenuItemProps): react_jsx_runtime.JSX.Element;
518
+ declare function NavMenuItem({ isSelected, className, children, ...props }: NavMenuItemProps): react.JSX.Element;
516
519
 
517
520
  interface PasswordFieldProps extends TextFieldProps$1 {
518
521
  label?: string;
519
522
  }
520
- declare const PasswordField: react.ForwardRefExoticComponent<PasswordFieldProps & react.RefAttributes<any>>;
523
+ declare function PasswordField({ label, className, ...props }: PasswordFieldProps): react.JSX.Element;
521
524
 
522
- declare function Popover({ children, className, ...props }: PopoverProps): react_jsx_runtime.JSX.Element;
525
+ declare function Popover({ children, className, ...props }: PopoverProps): react.JSX.Element;
523
526
 
524
527
  interface ProgressBarProps extends ProgressBarProps$1 {
525
528
  showValue?: boolean;
526
529
  }
527
- declare function ProgressBar({ className, showValue, ...props }: ProgressBarProps): react_jsx_runtime.JSX.Element;
530
+ declare function ProgressBar({ className, showValue, ...props }: ProgressBarProps): react.JSX.Element;
528
531
 
529
532
  interface ProgressCircleProps extends ProgressBarProps$1 {
530
533
  showValue?: boolean;
531
534
  }
532
- declare function ProgressCircle({ className, showValue, ...props }: ProgressCircleProps): react_jsx_runtime.JSX.Element;
535
+ declare function ProgressCircle({ className, showValue, ...props }: ProgressCircleProps): react.JSX.Element;
533
536
 
534
537
  interface RadioGroupProps extends RadioGroupProps$1 {
535
538
  label?: string;
536
539
  }
537
- declare const RadioGroup: react.ForwardRefExoticComponent<RadioGroupProps & react.RefAttributes<any>>;
538
- declare function Radio({ children, className, ...props }: RadioProps): react_jsx_runtime.JSX.Element;
540
+ declare function RadioGroup({ label, children, className, ...props }: RadioGroupProps): react.JSX.Element;
541
+
542
+ declare function Radio({ children, className, ...props }: RadioProps): react.JSX.Element;
539
543
 
540
544
  interface SearchFieldProps extends SearchFieldProps$1 {
541
545
  label?: string;
@@ -544,7 +548,7 @@ interface SearchFieldProps extends SearchFieldProps$1 {
544
548
  delay?: number;
545
549
  onSearch?: (value: string) => void;
546
550
  }
547
- declare const SearchField: react.ForwardRefExoticComponent<SearchFieldProps & react.RefAttributes<any>>;
551
+ declare function SearchField({ label, placeholder, value, delay, onSearch, className, ...props }: SearchFieldProps): react.JSX.Element;
548
552
 
549
553
  interface SelectProps extends SelectProps$1<HTMLSelectElement> {
550
554
  items?: any[];
@@ -564,7 +568,7 @@ interface SelectProps extends SelectProps$1<HTMLSelectElement> {
564
568
  defaultChildren: ReactNode;
565
569
  }) => ReactNode);
566
570
  }
567
- declare const Select: react.ForwardRefExoticComponent<SelectProps & react.RefAttributes<any>>;
571
+ declare function Select({ items, value, defaultValue, label, isLoading, allowSearch, searchValue, searchDelay, onSearch, onSelectionChange, onChange, buttonProps, listProps, popoverProps, renderValue, className, children, ...props }: SelectProps): react.JSX.Element;
568
572
 
569
573
  interface SidebarProps extends ColumnProps {
570
574
  variant?: '1' | '2' | '3' | 'quiet';
@@ -573,29 +577,29 @@ interface SidebarProps extends ColumnProps {
573
577
  showBorder?: boolean;
574
578
  children?: ReactNode;
575
579
  }
576
- declare function Sidebar({ variant, isCollapsed, muteItems, showBorder, className, children, ...props }: SidebarProps): react_jsx_runtime.JSX.Element;
580
+ declare function Sidebar({ variant, isCollapsed, muteItems, showBorder, className, children, ...props }: SidebarProps): react.JSX.Element;
577
581
  declare function SidebarSection({ title, children, }: {
578
582
  title?: string;
579
583
  children: ReactNode;
580
- } & ColumnProps): react_jsx_runtime.JSX.Element;
584
+ } & ColumnProps): react.JSX.Element;
581
585
  declare function SidebarHeader({ label, icon, className, children, ...props }: {
582
586
  label: string;
583
587
  icon?: ReactNode;
584
588
  children?: ReactNode;
585
- } & RowProps): react_jsx_runtime.JSX.Element;
589
+ } & RowProps): react.JSX.Element;
586
590
  interface SidebarItemProps extends RowProps {
587
591
  isSelected?: boolean;
588
592
  }
589
593
  declare function SidebarItem({ label, icon, isSelected, className, children, ...props }: {
590
594
  label?: string;
591
595
  icon?: ReactNode;
592
- } & SidebarItemProps): react_jsx_runtime.JSX.Element;
596
+ } & SidebarItemProps): react.JSX.Element;
593
597
 
594
598
  interface SliderProps extends SliderProps$1 {
595
599
  label?: ReactNode;
596
600
  showValue?: boolean;
597
601
  }
598
- declare const Slider: react.ForwardRefExoticComponent<SliderProps & react.RefAttributes<any>>;
602
+ declare function Slider({ className, showValue, label, ...props }: SliderProps): react.JSX.Element;
599
603
 
600
604
  declare function Slot({ children, ...props }: {
601
605
  children: ReactElement | ReactNode;
@@ -608,7 +612,7 @@ interface SpinnerProps {
608
612
  className?: string;
609
613
  isDisabled?: boolean;
610
614
  }
611
- declare function Spinner(props: SpinnerProps): react_jsx_runtime.JSX.Element;
615
+ declare function Spinner(props: SpinnerProps): react.JSX.Element;
612
616
 
613
617
  interface StatusLightProps {
614
618
  color?: string;
@@ -616,12 +620,12 @@ interface StatusLightProps {
616
620
  className?: string;
617
621
  children?: ReactNode;
618
622
  }
619
- declare function StatusLight(props: StatusLightProps): react_jsx_runtime.JSX.Element;
623
+ declare function StatusLight(props: StatusLightProps): react.JSX.Element;
620
624
 
621
625
  interface SwitchProps extends SwitchProps$1 {
622
626
  label?: string;
623
627
  }
624
- declare const Switch: react.ForwardRefExoticComponent<SwitchProps & react.RefAttributes<any>>;
628
+ declare function Switch({ label, children, className, ...props }: SwitchProps): react.JSX.Element;
625
629
 
626
630
  interface TableColumnProps extends ColumnProps$1 {
627
631
  align?: 'start' | 'center' | 'end';
@@ -629,17 +633,17 @@ interface TableColumnProps extends ColumnProps$1 {
629
633
  interface TableCellProps extends CellProps {
630
634
  align?: 'start' | 'center' | 'end';
631
635
  }
632
- declare function Table({ children, className, ...props }: TableProps): react_jsx_runtime.JSX.Element;
633
- declare function TableHeader({ children, className, style, ...props }: TableHeaderProps<any>): react_jsx_runtime.JSX.Element;
634
- declare function TableBody({ children, className, ...props }: TableBodyProps<any>): react_jsx_runtime.JSX.Element;
635
- declare function TableRow({ children, className, style, ...props }: RowProps$1<any>): react_jsx_runtime.JSX.Element;
636
- declare function TableColumn({ children, className, align, ...props }: TableColumnProps): react_jsx_runtime.JSX.Element;
637
- declare function TableCell({ children, className, align, ...props }: TableCellProps): react_jsx_runtime.JSX.Element;
636
+ declare function Table({ children, className, ...props }: TableProps): react.JSX.Element;
637
+ declare function TableHeader({ children, className, style, ...props }: TableHeaderProps<any>): react.JSX.Element;
638
+ declare function TableBody({ children, className, ...props }: TableBodyProps<any>): react.JSX.Element;
639
+ declare function TableRow({ children, className, style, ...props }: RowProps$1<any>): react.JSX.Element;
640
+ declare function TableColumn({ children, className, align, ...props }: TableColumnProps): react.JSX.Element;
641
+ declare function TableCell({ children, className, align, ...props }: TableCellProps): react.JSX.Element;
638
642
 
639
- declare function Tabs({ children, ...props }: TabsProps): react_jsx_runtime.JSX.Element;
640
- declare function TabList({ children, ...props }: TabListProps<any>): react_jsx_runtime.JSX.Element;
641
- declare function Tab({ children, ...props }: TabProps): react_jsx_runtime.JSX.Element;
642
- declare function TabPanel({ children, ...props }: TabPanelProps): react_jsx_runtime.JSX.Element;
643
+ declare function Tabs({ children, ...props }: TabsProps): react.JSX.Element;
644
+ declare function TabList({ children, ...props }: TabListProps<any>): react.JSX.Element;
645
+ declare function Tab({ children, ...props }: TabProps): react.JSX.Element;
646
+ declare function TabPanel({ children, ...props }: TabPanelProps): react.JSX.Element;
643
647
 
644
648
  interface TextProps extends Omit<HTMLAttributes<HTMLElement>, 'color'> {
645
649
  color?: FontColor;
@@ -656,7 +660,7 @@ interface TextProps extends Omit<HTMLAttributes<HTMLElement>, 'color'> {
656
660
  as?: 'span' | 'div' | 'label' | 'p';
657
661
  asChild?: boolean;
658
662
  }
659
- declare function Text({ color, size, spacing, weight, align, wrap, transform, truncate, italic, underline, strikethrough, as, asChild, className, style, children, ...props }: TextProps): react_jsx_runtime.JSX.Element;
663
+ declare function Text({ color, size, spacing, weight, align, wrap, transform, truncate, italic, underline, strikethrough, as, asChild, className, style, children, ...props }: TextProps): react.JSX.Element;
660
664
 
661
665
  interface TextFieldProps extends TextFieldProps$1 {
662
666
  label?: string;
@@ -665,7 +669,7 @@ interface TextFieldProps extends TextFieldProps$1 {
665
669
  asChild?: boolean;
666
670
  onChange?: (e: any) => void;
667
671
  }
668
- declare const TextField: react.ForwardRefExoticComponent<TextFieldProps & react.RefAttributes<HTMLInputElement>>;
672
+ declare function TextField({ value, defaultValue, label, placeholder, allowCopy, asChild, className, onChange, children, ...props }: TextFieldProps): react.JSX.Element;
669
673
 
670
674
  interface TextAreaProps extends TextFieldProps {
671
675
  rows?: number;
@@ -673,18 +677,18 @@ interface TextAreaProps extends TextFieldProps {
673
677
  resize?: 'none' | 'vertical' | 'horizontal';
674
678
  children?: React.ReactNode;
675
679
  }
676
- declare const TextArea: react.ForwardRefExoticComponent<TextAreaProps & react.RefAttributes<any>>;
680
+ declare function TextArea({ rows, cols, resize, className, style, children, ...props }: TextAreaProps): react.JSX.Element;
677
681
 
678
682
  interface ThemeButtonProps extends ButtonProps {
679
683
  defaultTheme?: string;
680
684
  }
681
- declare function ThemeButton({ className, variant, defaultTheme, onPress, ...props }: ThemeButtonProps): react_jsx_runtime.JSX.Element;
685
+ declare function ThemeButton({ className, variant, defaultTheme, onPress, ...props }: ThemeButtonProps): react.JSX.Element;
682
686
 
683
687
  interface ToggleProps extends ToggleButtonProps {
684
688
  label?: string;
685
689
  value?: string;
686
690
  }
687
- declare const Toggle: react.ForwardRefExoticComponent<ToggleProps & react.RefAttributes<any>>;
691
+ declare function Toggle({ label, children, className, ...props }: ToggleProps): react.JSX.Element;
688
692
 
689
693
  interface ToggleGroupProps extends TagGroupProps {
690
694
  label?: string;
@@ -692,10 +696,10 @@ interface ToggleGroupProps extends TagGroupProps {
692
696
  defaultValue?: string[];
693
697
  onChange?: (value: string[]) => void;
694
698
  }
695
- declare function ToggleGroup({ label, value, defaultValue, onChange, className, children, selectionMode, selectedKeys, defaultSelectedKeys, onSelectionChange, ...props }: ToggleGroupProps): react_jsx_runtime.JSX.Element;
699
+ declare function ToggleGroup({ label, value, defaultValue, onChange, className, children, selectionMode, selectedKeys, defaultSelectedKeys, onSelectionChange, ...props }: ToggleGroupProps): react.JSX.Element;
696
700
  interface ToggleGroupItemProps extends TagProps {
697
701
  }
698
- declare function ToggleGroupItem({ className, children, ...props }: ToggleGroupItemProps): react_jsx_runtime.JSX.Element;
702
+ declare function ToggleGroupItem({ className, children, ...props }: ToggleGroupItemProps): react.JSX.Element;
699
703
 
700
704
  interface ZenProviderProps {
701
705
  theme?: string;
@@ -703,6 +707,6 @@ interface ZenProviderProps {
703
707
  toast?: ToasterProps;
704
708
  children: ReactNode;
705
709
  }
706
- declare function ZenProvider({ children, ...props }: ZenProviderProps): react_jsx_runtime.JSX.Element;
710
+ declare function ZenProvider({ children, ...props }: ZenProviderProps): react.JSX.Element;
707
711
 
708
- export { Accordion, AccordionItem, type AccordionItemProps, type AccordionProps, AlertBanner, type AlertBannerProps, AlertDialog, type AlertDialogProps, Blockquote, type BlockquoteProps, Box, type BoxProps, Breadcrumb, Breadcrumbs, Button, type ButtonProps, Calendar, type CalendarProps, Checkbox, type CheckboxProps, Code, type CodeProps, Column, type ColumnProps, ConfirmationDialog, type ConfirmationDialogProps, Container, type ContainerProps, DataColumn, type DataColumnProps, DataTable, type DataTableProps, Dialog, type DialogProps, Dots, type DotsProps, Flexbox, type FlexboxProps, FloatingTooltip, type FloatingTooltipProps, Form, FormButtons, type FormButtonsProps, FormField, type FormFieldProps, type FormProps, FormResetButton, type FormResetButtonProps, FormSubmitButton, Grid, type GridProps, Heading, type HeadingProps, type HoverButtonProps, HoverTrigger, Icon, type IconProps, Icons, Image, type ImageProps, InlineEditField, type InlineEditFieldProps, Label, type LabelProps, List, ListItem, type ListItemProps, type ListProps, ListSection, type ListSectionProps, ListSeparator, Loading, LoadingButton, type LoadingButtonProps, type LoadingProps, Menu, MenuItem, type MenuProps, MenuSection, MenuSeparator, Modal, type ModalProps, NavMenu, NavMenuItem, type NavMenuItemProps, type NavMenuProps, Navbar, NavbarContext, NavbarItem, type NavbarItemProps, type NavbarProps, type NavigationContext, PasswordField, Popover, ProgressBar, ProgressCircle, Radio, RadioGroup, type RadioGroupProps, Row, type RowProps, SearchField, type SearchFieldProps, Select, type SelectProps, Sidebar, SidebarHeader, SidebarItem, type SidebarItemProps, type SidebarProps, SidebarSection, Slider, type SliderProps, Slot, Spinner, type SpinnerProps, StatusLight, type StatusLightProps, Switch, type SwitchProps, Tab, TabList, TabPanel, Table, TableBody, TableCell, type TableCellProps, TableColumn, type TableColumnProps, TableHeader, TableRow, Tabs, Text, TextArea, type TextAreaProps, TextField, type TextFieldProps, type TextProps, ThemeButton, type ThemeButtonProps, Toast, type ToastProps, ToastProvider, type ToastProviderProps, Toaster, type ToasterProps, Toggle, ToggleGroup, ToggleGroupItem, type ToggleGroupItemProps, type ToggleGroupProps, Tooltip, TooltipBubble, type TooltipBubbleProps, type TooltipProps, ZenProvider, type ZenProviderProps, useDebounce, useNavigationContext, useTheme, useToast };
712
+ export { Accordion, AccordionItem, type AccordionItemProps, type AccordionProps, AlertBanner, type AlertBannerProps, AlertDialog, type AlertDialogProps, Blockquote, type BlockquoteProps, Box, type BoxProps, Breadcrumb, Breadcrumbs, Button, type ButtonProps, Calendar, type CalendarProps, Checkbox, type CheckboxProps, Code, type CodeProps, Column, type ColumnProps, ConfirmationDialog, type ConfirmationDialogProps, Container, type ContainerProps, DataColumn, type DataColumnProps, DataTable, type DataTableProps, Dialog, type DialogProps, Dots, type DotsProps, Flexbox, type FlexboxProps, FloatingTooltip, type FloatingTooltipProps, Form, FormButtons, type FormButtonsProps, FormField, type FormFieldProps, type FormProps, FormResetButton, type FormResetButtonProps, FormSubmitButton, Grid, type GridProps, Heading, type HeadingProps, type HoverButtonProps, HoverTrigger, Icon, type IconProps, Icons, Image, type ImageProps, InlineEditField, type InlineEditFieldProps, 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, NavMenu, NavMenuItem, type NavMenuItemProps, type NavMenuProps, Navbar, NavbarContext, NavbarItem, type NavbarItemProps, type NavbarProps, type NavigationContext, PasswordField, type PasswordFieldProps, Popover, ProgressBar, type ProgressBarProps, ProgressCircle, type ProgressCircleProps, Radio, RadioGroup, type RadioGroupProps, Row, type RowProps, SearchField, type SearchFieldProps, Select, type SelectProps, Sidebar, SidebarHeader, SidebarItem, type SidebarItemProps, type SidebarProps, SidebarSection, Slider, type SliderProps, Slot, Spinner, type SpinnerProps, StatusLight, type StatusLightProps, Switch, type SwitchProps, Tab, TabList, TabPanel, Table, TableBody, TableCell, type TableCellProps, TableColumn, type TableColumnProps, TableHeader, TableRow, Tabs, Text, TextArea, type TextAreaProps, TextField, type TextFieldProps, type TextProps, ThemeButton, type ThemeButtonProps, Toast, type ToastProps, ToastProvider, type ToastProviderProps, Toaster, type ToasterProps, Toggle, ToggleGroup, ToggleGroupItem, type ToggleGroupItemProps, type ToggleGroupProps, type ToggleProps, Tooltip, TooltipBubble, type TooltipBubbleProps, type TooltipProps, ZenProvider, type ZenProviderProps, useDebounce, useNavigationContext, useTheme, useToast };