@umami/react-zen 0.227.0 → 0.228.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 +11 -0
- package/dist/index.d.ts +11 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -342,6 +342,7 @@ interface ColumnProps extends FlexboxProps {
|
|
|
342
342
|
declare function Column({ reverse, children, ...props }: ColumnProps): react_jsx_runtime.JSX.Element;
|
|
343
343
|
|
|
344
344
|
interface ListProps extends ListBoxProps<any> {
|
|
345
|
+
children?: ReactNode;
|
|
345
346
|
items?: any[];
|
|
346
347
|
idProperty?: string;
|
|
347
348
|
labelProperty?: string;
|
|
@@ -355,16 +356,19 @@ interface ListProps extends ListBoxProps<any> {
|
|
|
355
356
|
}
|
|
356
357
|
declare function List({ id, items, idProperty, labelProperty, separatorProperty, highlightColor, showCheckmark, isFullscreen, label, value, onChange, className, selectedKeys, defaultSelectedKeys, onSelectionChange, style, children, ...props }: ListProps): react_jsx_runtime.JSX.Element;
|
|
357
358
|
interface ListItemProps extends ListBoxItemProps<any> {
|
|
359
|
+
children?: ReactNode;
|
|
358
360
|
showCheckmark?: boolean;
|
|
359
361
|
}
|
|
360
362
|
declare function ListItem({ id, children, className, showCheckmark, ...props }: ListItemProps): react_jsx_runtime.JSX.Element;
|
|
361
363
|
declare function ListSeparator({ className, ...props }: SeparatorProps): react_jsx_runtime.JSX.Element;
|
|
362
364
|
interface ListSectionProps extends ListBoxSectionProps<any> {
|
|
365
|
+
children?: ReactNode;
|
|
363
366
|
title?: string;
|
|
364
367
|
}
|
|
365
368
|
declare function ListSection({ title, className, children, ...props }: ListSectionProps): react_jsx_runtime.JSX.Element;
|
|
366
369
|
|
|
367
370
|
interface ComboBoxProps extends ComboBoxProps$1<any> {
|
|
371
|
+
children?: ReactNode;
|
|
368
372
|
items?: any[];
|
|
369
373
|
renderEmptyState?: (props: ListBoxRenderProps) => ReactNode;
|
|
370
374
|
listProps?: ListProps;
|
|
@@ -379,6 +383,7 @@ interface ConfirmationDialogProps extends AlertDialogProps {
|
|
|
379
383
|
declare function ConfirmationDialog({ value, confirmMessage, className, children, ...props }: ConfirmationDialogProps): react_jsx_runtime.JSX.Element;
|
|
380
384
|
|
|
381
385
|
interface ContainerProps extends BoxProps {
|
|
386
|
+
children?: ReactNode;
|
|
382
387
|
isFluid?: boolean;
|
|
383
388
|
isCentered?: boolean;
|
|
384
389
|
}
|
|
@@ -444,6 +449,7 @@ interface TooltipProps extends TooltipProps$1 {
|
|
|
444
449
|
}
|
|
445
450
|
declare function Tooltip({ children, className, showArrow, ...props }: TooltipProps): react_jsx_runtime.JSX.Element;
|
|
446
451
|
interface TooltipBubbleProps extends HTMLAttributes<HTMLDivElement> {
|
|
452
|
+
children?: ReactNode;
|
|
447
453
|
showArrow?: boolean;
|
|
448
454
|
}
|
|
449
455
|
declare function TooltipBubble({ children, className, color: _color, ...props }: TooltipBubbleProps): react_jsx_runtime.JSX.Element;
|
|
@@ -468,6 +474,7 @@ interface RowProps extends FlexboxProps {
|
|
|
468
474
|
declare function Row({ reverse, children, ...props }: RowProps): react_jsx_runtime.JSX.Element;
|
|
469
475
|
|
|
470
476
|
interface FormButtonsProps extends RowProps {
|
|
477
|
+
children?: ReactNode;
|
|
471
478
|
fill?: boolean;
|
|
472
479
|
}
|
|
473
480
|
declare function FormButtons({ fill, children, ...props }: FormButtonsProps): react_jsx_runtime.JSX.Element;
|
|
@@ -500,6 +507,7 @@ interface FormFieldArrayProps extends Omit<HTMLAttributes<HTMLDivElement>, 'chil
|
|
|
500
507
|
declare function FormFieldArray({ id, name, description, label, rules, className, children, color: _color, ...props }: FormFieldArrayProps): react_jsx_runtime.JSX.Element;
|
|
501
508
|
|
|
502
509
|
interface FormResetButtonProps extends ButtonProps {
|
|
510
|
+
children?: ReactNode;
|
|
503
511
|
values?: FieldValues | {
|
|
504
512
|
[p: string]: any;
|
|
505
513
|
};
|
|
@@ -507,6 +515,7 @@ interface FormResetButtonProps extends ButtonProps {
|
|
|
507
515
|
declare function FormResetButton({ values, children, onPress, ...props }: FormResetButtonProps): react_jsx_runtime.JSX.Element;
|
|
508
516
|
|
|
509
517
|
interface LoadingButtonProps extends ButtonProps {
|
|
518
|
+
children?: ReactNode;
|
|
510
519
|
isDisabled?: boolean;
|
|
511
520
|
isLoading?: boolean;
|
|
512
521
|
showText?: boolean;
|
|
@@ -587,6 +596,7 @@ interface IconProps extends Omit<HTMLAttributes<HTMLElement>, 'color' | 'size'>
|
|
|
587
596
|
declare function Icon({ color, size, variant, rotate, strokeWidth, strokeColor, fillColor, style, className, children, ...props }: IconProps): react_jsx_runtime.JSX.Element;
|
|
588
597
|
|
|
589
598
|
interface IconLabelProps extends RowProps {
|
|
599
|
+
children?: ReactNode;
|
|
590
600
|
icon: ReactNode;
|
|
591
601
|
label?: ReactNode;
|
|
592
602
|
iconProps?: IconProps;
|
|
@@ -852,6 +862,7 @@ interface ToggleGroupItemProps extends TagProps {
|
|
|
852
862
|
declare function ToggleGroupItem({ className, children, ...props }: ToggleGroupItemProps): react_jsx_runtime.JSX.Element;
|
|
853
863
|
|
|
854
864
|
interface ToastProps extends HTMLAttributes<HTMLDivElement> {
|
|
865
|
+
children?: ReactNode;
|
|
855
866
|
id: string;
|
|
856
867
|
message: string;
|
|
857
868
|
title?: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -342,6 +342,7 @@ interface ColumnProps extends FlexboxProps {
|
|
|
342
342
|
declare function Column({ reverse, children, ...props }: ColumnProps): react_jsx_runtime.JSX.Element;
|
|
343
343
|
|
|
344
344
|
interface ListProps extends ListBoxProps<any> {
|
|
345
|
+
children?: ReactNode;
|
|
345
346
|
items?: any[];
|
|
346
347
|
idProperty?: string;
|
|
347
348
|
labelProperty?: string;
|
|
@@ -355,16 +356,19 @@ interface ListProps extends ListBoxProps<any> {
|
|
|
355
356
|
}
|
|
356
357
|
declare function List({ id, items, idProperty, labelProperty, separatorProperty, highlightColor, showCheckmark, isFullscreen, label, value, onChange, className, selectedKeys, defaultSelectedKeys, onSelectionChange, style, children, ...props }: ListProps): react_jsx_runtime.JSX.Element;
|
|
357
358
|
interface ListItemProps extends ListBoxItemProps<any> {
|
|
359
|
+
children?: ReactNode;
|
|
358
360
|
showCheckmark?: boolean;
|
|
359
361
|
}
|
|
360
362
|
declare function ListItem({ id, children, className, showCheckmark, ...props }: ListItemProps): react_jsx_runtime.JSX.Element;
|
|
361
363
|
declare function ListSeparator({ className, ...props }: SeparatorProps): react_jsx_runtime.JSX.Element;
|
|
362
364
|
interface ListSectionProps extends ListBoxSectionProps<any> {
|
|
365
|
+
children?: ReactNode;
|
|
363
366
|
title?: string;
|
|
364
367
|
}
|
|
365
368
|
declare function ListSection({ title, className, children, ...props }: ListSectionProps): react_jsx_runtime.JSX.Element;
|
|
366
369
|
|
|
367
370
|
interface ComboBoxProps extends ComboBoxProps$1<any> {
|
|
371
|
+
children?: ReactNode;
|
|
368
372
|
items?: any[];
|
|
369
373
|
renderEmptyState?: (props: ListBoxRenderProps) => ReactNode;
|
|
370
374
|
listProps?: ListProps;
|
|
@@ -379,6 +383,7 @@ interface ConfirmationDialogProps extends AlertDialogProps {
|
|
|
379
383
|
declare function ConfirmationDialog({ value, confirmMessage, className, children, ...props }: ConfirmationDialogProps): react_jsx_runtime.JSX.Element;
|
|
380
384
|
|
|
381
385
|
interface ContainerProps extends BoxProps {
|
|
386
|
+
children?: ReactNode;
|
|
382
387
|
isFluid?: boolean;
|
|
383
388
|
isCentered?: boolean;
|
|
384
389
|
}
|
|
@@ -444,6 +449,7 @@ interface TooltipProps extends TooltipProps$1 {
|
|
|
444
449
|
}
|
|
445
450
|
declare function Tooltip({ children, className, showArrow, ...props }: TooltipProps): react_jsx_runtime.JSX.Element;
|
|
446
451
|
interface TooltipBubbleProps extends HTMLAttributes<HTMLDivElement> {
|
|
452
|
+
children?: ReactNode;
|
|
447
453
|
showArrow?: boolean;
|
|
448
454
|
}
|
|
449
455
|
declare function TooltipBubble({ children, className, color: _color, ...props }: TooltipBubbleProps): react_jsx_runtime.JSX.Element;
|
|
@@ -468,6 +474,7 @@ interface RowProps extends FlexboxProps {
|
|
|
468
474
|
declare function Row({ reverse, children, ...props }: RowProps): react_jsx_runtime.JSX.Element;
|
|
469
475
|
|
|
470
476
|
interface FormButtonsProps extends RowProps {
|
|
477
|
+
children?: ReactNode;
|
|
471
478
|
fill?: boolean;
|
|
472
479
|
}
|
|
473
480
|
declare function FormButtons({ fill, children, ...props }: FormButtonsProps): react_jsx_runtime.JSX.Element;
|
|
@@ -500,6 +507,7 @@ interface FormFieldArrayProps extends Omit<HTMLAttributes<HTMLDivElement>, 'chil
|
|
|
500
507
|
declare function FormFieldArray({ id, name, description, label, rules, className, children, color: _color, ...props }: FormFieldArrayProps): react_jsx_runtime.JSX.Element;
|
|
501
508
|
|
|
502
509
|
interface FormResetButtonProps extends ButtonProps {
|
|
510
|
+
children?: ReactNode;
|
|
503
511
|
values?: FieldValues | {
|
|
504
512
|
[p: string]: any;
|
|
505
513
|
};
|
|
@@ -507,6 +515,7 @@ interface FormResetButtonProps extends ButtonProps {
|
|
|
507
515
|
declare function FormResetButton({ values, children, onPress, ...props }: FormResetButtonProps): react_jsx_runtime.JSX.Element;
|
|
508
516
|
|
|
509
517
|
interface LoadingButtonProps extends ButtonProps {
|
|
518
|
+
children?: ReactNode;
|
|
510
519
|
isDisabled?: boolean;
|
|
511
520
|
isLoading?: boolean;
|
|
512
521
|
showText?: boolean;
|
|
@@ -587,6 +596,7 @@ interface IconProps extends Omit<HTMLAttributes<HTMLElement>, 'color' | 'size'>
|
|
|
587
596
|
declare function Icon({ color, size, variant, rotate, strokeWidth, strokeColor, fillColor, style, className, children, ...props }: IconProps): react_jsx_runtime.JSX.Element;
|
|
588
597
|
|
|
589
598
|
interface IconLabelProps extends RowProps {
|
|
599
|
+
children?: ReactNode;
|
|
590
600
|
icon: ReactNode;
|
|
591
601
|
label?: ReactNode;
|
|
592
602
|
iconProps?: IconProps;
|
|
@@ -852,6 +862,7 @@ interface ToggleGroupItemProps extends TagProps {
|
|
|
852
862
|
declare function ToggleGroupItem({ className, children, ...props }: ToggleGroupItemProps): react_jsx_runtime.JSX.Element;
|
|
853
863
|
|
|
854
864
|
interface ToastProps extends HTMLAttributes<HTMLDivElement> {
|
|
865
|
+
children?: ReactNode;
|
|
855
866
|
id: string;
|
|
856
867
|
message: string;
|
|
857
868
|
title?: string;
|