@umami/react-zen 0.227.0 → 0.229.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 +13 -0
- package/dist/index.d.ts +13 -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,20 @@ 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;
|
|
360
|
+
id?: string | number;
|
|
358
361
|
showCheckmark?: boolean;
|
|
359
362
|
}
|
|
360
363
|
declare function ListItem({ id, children, className, showCheckmark, ...props }: ListItemProps): react_jsx_runtime.JSX.Element;
|
|
361
364
|
declare function ListSeparator({ className, ...props }: SeparatorProps): react_jsx_runtime.JSX.Element;
|
|
362
365
|
interface ListSectionProps extends ListBoxSectionProps<any> {
|
|
366
|
+
children?: ReactNode;
|
|
363
367
|
title?: string;
|
|
364
368
|
}
|
|
365
369
|
declare function ListSection({ title, className, children, ...props }: ListSectionProps): react_jsx_runtime.JSX.Element;
|
|
366
370
|
|
|
367
371
|
interface ComboBoxProps extends ComboBoxProps$1<any> {
|
|
372
|
+
children?: ReactNode;
|
|
368
373
|
items?: any[];
|
|
369
374
|
renderEmptyState?: (props: ListBoxRenderProps) => ReactNode;
|
|
370
375
|
listProps?: ListProps;
|
|
@@ -379,6 +384,7 @@ interface ConfirmationDialogProps extends AlertDialogProps {
|
|
|
379
384
|
declare function ConfirmationDialog({ value, confirmMessage, className, children, ...props }: ConfirmationDialogProps): react_jsx_runtime.JSX.Element;
|
|
380
385
|
|
|
381
386
|
interface ContainerProps extends BoxProps {
|
|
387
|
+
children?: ReactNode;
|
|
382
388
|
isFluid?: boolean;
|
|
383
389
|
isCentered?: boolean;
|
|
384
390
|
}
|
|
@@ -444,6 +450,7 @@ interface TooltipProps extends TooltipProps$1 {
|
|
|
444
450
|
}
|
|
445
451
|
declare function Tooltip({ children, className, showArrow, ...props }: TooltipProps): react_jsx_runtime.JSX.Element;
|
|
446
452
|
interface TooltipBubbleProps extends HTMLAttributes<HTMLDivElement> {
|
|
453
|
+
children?: ReactNode;
|
|
447
454
|
showArrow?: boolean;
|
|
448
455
|
}
|
|
449
456
|
declare function TooltipBubble({ children, className, color: _color, ...props }: TooltipBubbleProps): react_jsx_runtime.JSX.Element;
|
|
@@ -468,6 +475,7 @@ interface RowProps extends FlexboxProps {
|
|
|
468
475
|
declare function Row({ reverse, children, ...props }: RowProps): react_jsx_runtime.JSX.Element;
|
|
469
476
|
|
|
470
477
|
interface FormButtonsProps extends RowProps {
|
|
478
|
+
children?: ReactNode;
|
|
471
479
|
fill?: boolean;
|
|
472
480
|
}
|
|
473
481
|
declare function FormButtons({ fill, children, ...props }: FormButtonsProps): react_jsx_runtime.JSX.Element;
|
|
@@ -500,6 +508,7 @@ interface FormFieldArrayProps extends Omit<HTMLAttributes<HTMLDivElement>, 'chil
|
|
|
500
508
|
declare function FormFieldArray({ id, name, description, label, rules, className, children, color: _color, ...props }: FormFieldArrayProps): react_jsx_runtime.JSX.Element;
|
|
501
509
|
|
|
502
510
|
interface FormResetButtonProps extends ButtonProps {
|
|
511
|
+
children?: ReactNode;
|
|
503
512
|
values?: FieldValues | {
|
|
504
513
|
[p: string]: any;
|
|
505
514
|
};
|
|
@@ -507,6 +516,7 @@ interface FormResetButtonProps extends ButtonProps {
|
|
|
507
516
|
declare function FormResetButton({ values, children, onPress, ...props }: FormResetButtonProps): react_jsx_runtime.JSX.Element;
|
|
508
517
|
|
|
509
518
|
interface LoadingButtonProps extends ButtonProps {
|
|
519
|
+
children?: ReactNode;
|
|
510
520
|
isDisabled?: boolean;
|
|
511
521
|
isLoading?: boolean;
|
|
512
522
|
showText?: boolean;
|
|
@@ -587,6 +597,7 @@ interface IconProps extends Omit<HTMLAttributes<HTMLElement>, 'color' | 'size'>
|
|
|
587
597
|
declare function Icon({ color, size, variant, rotate, strokeWidth, strokeColor, fillColor, style, className, children, ...props }: IconProps): react_jsx_runtime.JSX.Element;
|
|
588
598
|
|
|
589
599
|
interface IconLabelProps extends RowProps {
|
|
600
|
+
children?: ReactNode;
|
|
590
601
|
icon: ReactNode;
|
|
591
602
|
label?: ReactNode;
|
|
592
603
|
iconProps?: IconProps;
|
|
@@ -730,6 +741,7 @@ interface SelectProps extends SelectProps$1<HTMLSelectElement> {
|
|
|
730
741
|
value?: string | number;
|
|
731
742
|
defaultValue?: string | number;
|
|
732
743
|
label?: string;
|
|
744
|
+
placeholder?: string;
|
|
733
745
|
isLoading?: boolean;
|
|
734
746
|
allowSearch?: boolean;
|
|
735
747
|
searchValue?: string;
|
|
@@ -852,6 +864,7 @@ interface ToggleGroupItemProps extends TagProps {
|
|
|
852
864
|
declare function ToggleGroupItem({ className, children, ...props }: ToggleGroupItemProps): react_jsx_runtime.JSX.Element;
|
|
853
865
|
|
|
854
866
|
interface ToastProps extends HTMLAttributes<HTMLDivElement> {
|
|
867
|
+
children?: ReactNode;
|
|
855
868
|
id: string;
|
|
856
869
|
message: string;
|
|
857
870
|
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,20 @@ 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;
|
|
360
|
+
id?: string | number;
|
|
358
361
|
showCheckmark?: boolean;
|
|
359
362
|
}
|
|
360
363
|
declare function ListItem({ id, children, className, showCheckmark, ...props }: ListItemProps): react_jsx_runtime.JSX.Element;
|
|
361
364
|
declare function ListSeparator({ className, ...props }: SeparatorProps): react_jsx_runtime.JSX.Element;
|
|
362
365
|
interface ListSectionProps extends ListBoxSectionProps<any> {
|
|
366
|
+
children?: ReactNode;
|
|
363
367
|
title?: string;
|
|
364
368
|
}
|
|
365
369
|
declare function ListSection({ title, className, children, ...props }: ListSectionProps): react_jsx_runtime.JSX.Element;
|
|
366
370
|
|
|
367
371
|
interface ComboBoxProps extends ComboBoxProps$1<any> {
|
|
372
|
+
children?: ReactNode;
|
|
368
373
|
items?: any[];
|
|
369
374
|
renderEmptyState?: (props: ListBoxRenderProps) => ReactNode;
|
|
370
375
|
listProps?: ListProps;
|
|
@@ -379,6 +384,7 @@ interface ConfirmationDialogProps extends AlertDialogProps {
|
|
|
379
384
|
declare function ConfirmationDialog({ value, confirmMessage, className, children, ...props }: ConfirmationDialogProps): react_jsx_runtime.JSX.Element;
|
|
380
385
|
|
|
381
386
|
interface ContainerProps extends BoxProps {
|
|
387
|
+
children?: ReactNode;
|
|
382
388
|
isFluid?: boolean;
|
|
383
389
|
isCentered?: boolean;
|
|
384
390
|
}
|
|
@@ -444,6 +450,7 @@ interface TooltipProps extends TooltipProps$1 {
|
|
|
444
450
|
}
|
|
445
451
|
declare function Tooltip({ children, className, showArrow, ...props }: TooltipProps): react_jsx_runtime.JSX.Element;
|
|
446
452
|
interface TooltipBubbleProps extends HTMLAttributes<HTMLDivElement> {
|
|
453
|
+
children?: ReactNode;
|
|
447
454
|
showArrow?: boolean;
|
|
448
455
|
}
|
|
449
456
|
declare function TooltipBubble({ children, className, color: _color, ...props }: TooltipBubbleProps): react_jsx_runtime.JSX.Element;
|
|
@@ -468,6 +475,7 @@ interface RowProps extends FlexboxProps {
|
|
|
468
475
|
declare function Row({ reverse, children, ...props }: RowProps): react_jsx_runtime.JSX.Element;
|
|
469
476
|
|
|
470
477
|
interface FormButtonsProps extends RowProps {
|
|
478
|
+
children?: ReactNode;
|
|
471
479
|
fill?: boolean;
|
|
472
480
|
}
|
|
473
481
|
declare function FormButtons({ fill, children, ...props }: FormButtonsProps): react_jsx_runtime.JSX.Element;
|
|
@@ -500,6 +508,7 @@ interface FormFieldArrayProps extends Omit<HTMLAttributes<HTMLDivElement>, 'chil
|
|
|
500
508
|
declare function FormFieldArray({ id, name, description, label, rules, className, children, color: _color, ...props }: FormFieldArrayProps): react_jsx_runtime.JSX.Element;
|
|
501
509
|
|
|
502
510
|
interface FormResetButtonProps extends ButtonProps {
|
|
511
|
+
children?: ReactNode;
|
|
503
512
|
values?: FieldValues | {
|
|
504
513
|
[p: string]: any;
|
|
505
514
|
};
|
|
@@ -507,6 +516,7 @@ interface FormResetButtonProps extends ButtonProps {
|
|
|
507
516
|
declare function FormResetButton({ values, children, onPress, ...props }: FormResetButtonProps): react_jsx_runtime.JSX.Element;
|
|
508
517
|
|
|
509
518
|
interface LoadingButtonProps extends ButtonProps {
|
|
519
|
+
children?: ReactNode;
|
|
510
520
|
isDisabled?: boolean;
|
|
511
521
|
isLoading?: boolean;
|
|
512
522
|
showText?: boolean;
|
|
@@ -587,6 +597,7 @@ interface IconProps extends Omit<HTMLAttributes<HTMLElement>, 'color' | 'size'>
|
|
|
587
597
|
declare function Icon({ color, size, variant, rotate, strokeWidth, strokeColor, fillColor, style, className, children, ...props }: IconProps): react_jsx_runtime.JSX.Element;
|
|
588
598
|
|
|
589
599
|
interface IconLabelProps extends RowProps {
|
|
600
|
+
children?: ReactNode;
|
|
590
601
|
icon: ReactNode;
|
|
591
602
|
label?: ReactNode;
|
|
592
603
|
iconProps?: IconProps;
|
|
@@ -730,6 +741,7 @@ interface SelectProps extends SelectProps$1<HTMLSelectElement> {
|
|
|
730
741
|
value?: string | number;
|
|
731
742
|
defaultValue?: string | number;
|
|
732
743
|
label?: string;
|
|
744
|
+
placeholder?: string;
|
|
733
745
|
isLoading?: boolean;
|
|
734
746
|
allowSearch?: boolean;
|
|
735
747
|
searchValue?: string;
|
|
@@ -852,6 +864,7 @@ interface ToggleGroupItemProps extends TagProps {
|
|
|
852
864
|
declare function ToggleGroupItem({ className, children, ...props }: ToggleGroupItemProps): react_jsx_runtime.JSX.Element;
|
|
853
865
|
|
|
854
866
|
interface ToastProps extends HTMLAttributes<HTMLDivElement> {
|
|
867
|
+
children?: ReactNode;
|
|
855
868
|
id: string;
|
|
856
869
|
message: string;
|
|
857
870
|
title?: string;
|