@umami/react-zen 0.226.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 +22 -3
- package/dist/index.d.ts +22 -3
- 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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DisclosureGroupProps, DisclosureProps, DialogProps as DialogProps$1, BreadcrumbProps, BreadcrumbsProps, ButtonProps as ButtonProps$1, CalendarProps as CalendarProps$1, CheckboxProps as CheckboxProps$1, ListBoxProps, ListBoxItemProps, SeparatorProps, ListBoxSectionProps, 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, RadioGroupProps as RadioGroupProps$1, RadioProps, 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';
|
|
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, SeparatorProps, ListBoxSectionProps, 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, RadioGroupProps as RadioGroupProps$1, RadioProps, 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
2
|
export { BreadcrumbProps, BreadcrumbsProps, DialogTrigger, FileTrigger, Focusable, MenuTrigger, Pressable, RadioProps, RouterProvider, Selection, SubmenuTrigger, TabListProps, TabPanelProps, TabProps, TableBodyProps, TabsProps, TooltipTrigger } from 'react-aria-components';
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
4
|
import * as react from 'react';
|
|
@@ -32,6 +32,7 @@ interface AlertBannerProps {
|
|
|
32
32
|
declare function AlertBanner({ title, description, icon, variant, align, allowClose, onClose, children, className, ...props }: AlertBannerProps): react_jsx_runtime.JSX.Element;
|
|
33
33
|
|
|
34
34
|
interface DialogProps extends DialogProps$1 {
|
|
35
|
+
children?: ReactNode | ((props: DialogRenderProps) => ReactNode);
|
|
35
36
|
title?: ReactNode;
|
|
36
37
|
variant?: 'sheet';
|
|
37
38
|
}
|
|
@@ -310,6 +311,7 @@ interface CalendarProps extends Omit<CalendarProps$1<any>, 'value' | 'minValue'
|
|
|
310
311
|
declare function Calendar({ className, value, minValue, maxValue, defaultValue, onChange, ...props }: CalendarProps): react_jsx_runtime.JSX.Element;
|
|
311
312
|
|
|
312
313
|
interface CheckboxProps extends CheckboxProps$1 {
|
|
314
|
+
children?: ReactNode;
|
|
313
315
|
label?: string;
|
|
314
316
|
}
|
|
315
317
|
declare function Checkbox({ label, className, children, ...props }: CheckboxProps): react_jsx_runtime.JSX.Element;
|
|
@@ -340,6 +342,7 @@ interface ColumnProps extends FlexboxProps {
|
|
|
340
342
|
declare function Column({ reverse, children, ...props }: ColumnProps): react_jsx_runtime.JSX.Element;
|
|
341
343
|
|
|
342
344
|
interface ListProps extends ListBoxProps<any> {
|
|
345
|
+
children?: ReactNode;
|
|
343
346
|
items?: any[];
|
|
344
347
|
idProperty?: string;
|
|
345
348
|
labelProperty?: string;
|
|
@@ -353,16 +356,19 @@ interface ListProps extends ListBoxProps<any> {
|
|
|
353
356
|
}
|
|
354
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;
|
|
355
358
|
interface ListItemProps extends ListBoxItemProps<any> {
|
|
359
|
+
children?: ReactNode;
|
|
356
360
|
showCheckmark?: boolean;
|
|
357
361
|
}
|
|
358
362
|
declare function ListItem({ id, children, className, showCheckmark, ...props }: ListItemProps): react_jsx_runtime.JSX.Element;
|
|
359
363
|
declare function ListSeparator({ className, ...props }: SeparatorProps): react_jsx_runtime.JSX.Element;
|
|
360
364
|
interface ListSectionProps extends ListBoxSectionProps<any> {
|
|
365
|
+
children?: ReactNode;
|
|
361
366
|
title?: string;
|
|
362
367
|
}
|
|
363
368
|
declare function ListSection({ title, className, children, ...props }: ListSectionProps): react_jsx_runtime.JSX.Element;
|
|
364
369
|
|
|
365
370
|
interface ComboBoxProps extends ComboBoxProps$1<any> {
|
|
371
|
+
children?: ReactNode;
|
|
366
372
|
items?: any[];
|
|
367
373
|
renderEmptyState?: (props: ListBoxRenderProps) => ReactNode;
|
|
368
374
|
listProps?: ListProps;
|
|
@@ -377,6 +383,7 @@ interface ConfirmationDialogProps extends AlertDialogProps {
|
|
|
377
383
|
declare function ConfirmationDialog({ value, confirmMessage, className, children, ...props }: ConfirmationDialogProps): react_jsx_runtime.JSX.Element;
|
|
378
384
|
|
|
379
385
|
interface ContainerProps extends BoxProps {
|
|
386
|
+
children?: ReactNode;
|
|
380
387
|
isFluid?: boolean;
|
|
381
388
|
isCentered?: boolean;
|
|
382
389
|
}
|
|
@@ -442,6 +449,7 @@ interface TooltipProps extends TooltipProps$1 {
|
|
|
442
449
|
}
|
|
443
450
|
declare function Tooltip({ children, className, showArrow, ...props }: TooltipProps): react_jsx_runtime.JSX.Element;
|
|
444
451
|
interface TooltipBubbleProps extends HTMLAttributes<HTMLDivElement> {
|
|
452
|
+
children?: ReactNode;
|
|
445
453
|
showArrow?: boolean;
|
|
446
454
|
}
|
|
447
455
|
declare function TooltipBubble({ children, className, color: _color, ...props }: TooltipBubbleProps): react_jsx_runtime.JSX.Element;
|
|
@@ -466,6 +474,7 @@ interface RowProps extends FlexboxProps {
|
|
|
466
474
|
declare function Row({ reverse, children, ...props }: RowProps): react_jsx_runtime.JSX.Element;
|
|
467
475
|
|
|
468
476
|
interface FormButtonsProps extends RowProps {
|
|
477
|
+
children?: ReactNode;
|
|
469
478
|
fill?: boolean;
|
|
470
479
|
}
|
|
471
480
|
declare function FormButtons({ fill, children, ...props }: FormButtonsProps): react_jsx_runtime.JSX.Element;
|
|
@@ -498,6 +507,7 @@ interface FormFieldArrayProps extends Omit<HTMLAttributes<HTMLDivElement>, 'chil
|
|
|
498
507
|
declare function FormFieldArray({ id, name, description, label, rules, className, children, color: _color, ...props }: FormFieldArrayProps): react_jsx_runtime.JSX.Element;
|
|
499
508
|
|
|
500
509
|
interface FormResetButtonProps extends ButtonProps {
|
|
510
|
+
children?: ReactNode;
|
|
501
511
|
values?: FieldValues | {
|
|
502
512
|
[p: string]: any;
|
|
503
513
|
};
|
|
@@ -505,6 +515,7 @@ interface FormResetButtonProps extends ButtonProps {
|
|
|
505
515
|
declare function FormResetButton({ values, children, onPress, ...props }: FormResetButtonProps): react_jsx_runtime.JSX.Element;
|
|
506
516
|
|
|
507
517
|
interface LoadingButtonProps extends ButtonProps {
|
|
518
|
+
children?: ReactNode;
|
|
508
519
|
isDisabled?: boolean;
|
|
509
520
|
isLoading?: boolean;
|
|
510
521
|
showText?: boolean;
|
|
@@ -585,6 +596,7 @@ interface IconProps extends Omit<HTMLAttributes<HTMLElement>, 'color' | 'size'>
|
|
|
585
596
|
declare function Icon({ color, size, variant, rotate, strokeWidth, strokeColor, fillColor, style, className, children, ...props }: IconProps): react_jsx_runtime.JSX.Element;
|
|
586
597
|
|
|
587
598
|
interface IconLabelProps extends RowProps {
|
|
599
|
+
children?: ReactNode;
|
|
588
600
|
icon: ReactNode;
|
|
589
601
|
label?: ReactNode;
|
|
590
602
|
iconProps?: IconProps;
|
|
@@ -622,6 +634,7 @@ interface MenuProps extends MenuProps$1<any> {
|
|
|
622
634
|
}
|
|
623
635
|
declare function Menu({ className, children, ...props }: MenuProps): react_jsx_runtime.JSX.Element;
|
|
624
636
|
interface MenuItemProps extends MenuItemProps$1 {
|
|
637
|
+
children?: ReactNode;
|
|
625
638
|
icon?: ReactNode;
|
|
626
639
|
label?: string;
|
|
627
640
|
showChecked?: boolean;
|
|
@@ -630,6 +643,7 @@ interface MenuItemProps extends MenuItemProps$1 {
|
|
|
630
643
|
declare function MenuItem({ icon, label, showChecked, showSubMenuIcon, children, className, ...props }: MenuItemProps): react_jsx_runtime.JSX.Element;
|
|
631
644
|
declare function MenuSeparator({ className, ...props }: SeparatorProps): react_jsx_runtime.JSX.Element;
|
|
632
645
|
interface MenuSectionProps extends MenuSectionProps$1<any> {
|
|
646
|
+
children?: ReactNode;
|
|
633
647
|
title?: string;
|
|
634
648
|
maxHeight?: number;
|
|
635
649
|
}
|
|
@@ -639,11 +653,12 @@ interface SubmenuTriggerProps extends SubmenuTriggerProps$1 {
|
|
|
639
653
|
declare function SubMenuTrigger({ children, ...props }: SubmenuTriggerProps): react_jsx_runtime.JSX.Element;
|
|
640
654
|
|
|
641
655
|
interface ModalProps extends ModalOverlayProps {
|
|
642
|
-
placement?: 'center' | 'top' | 'bottom' | 'left' | 'right' | 'fullscreen';
|
|
643
|
-
offset?: string;
|
|
644
656
|
children?: ReactNode | ((values: ModalRenderProps & {
|
|
645
657
|
defaultChildren: ReactNode;
|
|
646
658
|
}) => ReactNode);
|
|
659
|
+
isOpen?: boolean;
|
|
660
|
+
placement?: 'center' | 'top' | 'bottom' | 'left' | 'right' | 'fullscreen';
|
|
661
|
+
offset?: string;
|
|
647
662
|
}
|
|
648
663
|
declare function Modal({ placement, offset, children, className, style, ...props }: ModalProps): react_jsx_runtime.JSX.Element;
|
|
649
664
|
|
|
@@ -685,6 +700,7 @@ interface PasswordFieldProps extends TextFieldProps$1 {
|
|
|
685
700
|
declare function PasswordField({ label, className, ...props }: PasswordFieldProps): react_jsx_runtime.JSX.Element;
|
|
686
701
|
|
|
687
702
|
interface PopoverProps extends PopoverProps$1 {
|
|
703
|
+
children?: ReactNode;
|
|
688
704
|
isFullscreen?: boolean;
|
|
689
705
|
}
|
|
690
706
|
declare function Popover({ children, isFullscreen, className, ...props }: PopoverProps): react_jsx_runtime.JSX.Element;
|
|
@@ -700,6 +716,7 @@ interface ProgressCircleProps extends ProgressBarProps$1 {
|
|
|
700
716
|
declare function ProgressCircle({ className, showPercentage, ...props }: ProgressCircleProps): react_jsx_runtime.JSX.Element;
|
|
701
717
|
|
|
702
718
|
interface RadioGroupProps extends RadioGroupProps$1 {
|
|
719
|
+
children?: ReactNode;
|
|
703
720
|
label?: string;
|
|
704
721
|
}
|
|
705
722
|
declare function RadioGroup({ label, children, className, ...props }: RadioGroupProps): react_jsx_runtime.JSX.Element;
|
|
@@ -784,6 +801,7 @@ interface StatusLightProps {
|
|
|
784
801
|
declare function StatusLight(props: StatusLightProps): react_jsx_runtime.JSX.Element;
|
|
785
802
|
|
|
786
803
|
interface SwitchProps extends SwitchProps$1 {
|
|
804
|
+
children?: ReactNode;
|
|
787
805
|
label?: string;
|
|
788
806
|
}
|
|
789
807
|
declare function Switch({ label, children, className, ...props }: SwitchProps): react_jsx_runtime.JSX.Element;
|
|
@@ -844,6 +862,7 @@ interface ToggleGroupItemProps extends TagProps {
|
|
|
844
862
|
declare function ToggleGroupItem({ className, children, ...props }: ToggleGroupItemProps): react_jsx_runtime.JSX.Element;
|
|
845
863
|
|
|
846
864
|
interface ToastProps extends HTMLAttributes<HTMLDivElement> {
|
|
865
|
+
children?: ReactNode;
|
|
847
866
|
id: string;
|
|
848
867
|
message: string;
|
|
849
868
|
title?: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DisclosureGroupProps, DisclosureProps, DialogProps as DialogProps$1, BreadcrumbProps, BreadcrumbsProps, ButtonProps as ButtonProps$1, CalendarProps as CalendarProps$1, CheckboxProps as CheckboxProps$1, ListBoxProps, ListBoxItemProps, SeparatorProps, ListBoxSectionProps, 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, RadioGroupProps as RadioGroupProps$1, RadioProps, 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';
|
|
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, SeparatorProps, ListBoxSectionProps, 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, RadioGroupProps as RadioGroupProps$1, RadioProps, 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
2
|
export { BreadcrumbProps, BreadcrumbsProps, DialogTrigger, FileTrigger, Focusable, MenuTrigger, Pressable, RadioProps, RouterProvider, Selection, SubmenuTrigger, TabListProps, TabPanelProps, TabProps, TableBodyProps, TabsProps, TooltipTrigger } from 'react-aria-components';
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
4
|
import * as react from 'react';
|
|
@@ -32,6 +32,7 @@ interface AlertBannerProps {
|
|
|
32
32
|
declare function AlertBanner({ title, description, icon, variant, align, allowClose, onClose, children, className, ...props }: AlertBannerProps): react_jsx_runtime.JSX.Element;
|
|
33
33
|
|
|
34
34
|
interface DialogProps extends DialogProps$1 {
|
|
35
|
+
children?: ReactNode | ((props: DialogRenderProps) => ReactNode);
|
|
35
36
|
title?: ReactNode;
|
|
36
37
|
variant?: 'sheet';
|
|
37
38
|
}
|
|
@@ -310,6 +311,7 @@ interface CalendarProps extends Omit<CalendarProps$1<any>, 'value' | 'minValue'
|
|
|
310
311
|
declare function Calendar({ className, value, minValue, maxValue, defaultValue, onChange, ...props }: CalendarProps): react_jsx_runtime.JSX.Element;
|
|
311
312
|
|
|
312
313
|
interface CheckboxProps extends CheckboxProps$1 {
|
|
314
|
+
children?: ReactNode;
|
|
313
315
|
label?: string;
|
|
314
316
|
}
|
|
315
317
|
declare function Checkbox({ label, className, children, ...props }: CheckboxProps): react_jsx_runtime.JSX.Element;
|
|
@@ -340,6 +342,7 @@ interface ColumnProps extends FlexboxProps {
|
|
|
340
342
|
declare function Column({ reverse, children, ...props }: ColumnProps): react_jsx_runtime.JSX.Element;
|
|
341
343
|
|
|
342
344
|
interface ListProps extends ListBoxProps<any> {
|
|
345
|
+
children?: ReactNode;
|
|
343
346
|
items?: any[];
|
|
344
347
|
idProperty?: string;
|
|
345
348
|
labelProperty?: string;
|
|
@@ -353,16 +356,19 @@ interface ListProps extends ListBoxProps<any> {
|
|
|
353
356
|
}
|
|
354
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;
|
|
355
358
|
interface ListItemProps extends ListBoxItemProps<any> {
|
|
359
|
+
children?: ReactNode;
|
|
356
360
|
showCheckmark?: boolean;
|
|
357
361
|
}
|
|
358
362
|
declare function ListItem({ id, children, className, showCheckmark, ...props }: ListItemProps): react_jsx_runtime.JSX.Element;
|
|
359
363
|
declare function ListSeparator({ className, ...props }: SeparatorProps): react_jsx_runtime.JSX.Element;
|
|
360
364
|
interface ListSectionProps extends ListBoxSectionProps<any> {
|
|
365
|
+
children?: ReactNode;
|
|
361
366
|
title?: string;
|
|
362
367
|
}
|
|
363
368
|
declare function ListSection({ title, className, children, ...props }: ListSectionProps): react_jsx_runtime.JSX.Element;
|
|
364
369
|
|
|
365
370
|
interface ComboBoxProps extends ComboBoxProps$1<any> {
|
|
371
|
+
children?: ReactNode;
|
|
366
372
|
items?: any[];
|
|
367
373
|
renderEmptyState?: (props: ListBoxRenderProps) => ReactNode;
|
|
368
374
|
listProps?: ListProps;
|
|
@@ -377,6 +383,7 @@ interface ConfirmationDialogProps extends AlertDialogProps {
|
|
|
377
383
|
declare function ConfirmationDialog({ value, confirmMessage, className, children, ...props }: ConfirmationDialogProps): react_jsx_runtime.JSX.Element;
|
|
378
384
|
|
|
379
385
|
interface ContainerProps extends BoxProps {
|
|
386
|
+
children?: ReactNode;
|
|
380
387
|
isFluid?: boolean;
|
|
381
388
|
isCentered?: boolean;
|
|
382
389
|
}
|
|
@@ -442,6 +449,7 @@ interface TooltipProps extends TooltipProps$1 {
|
|
|
442
449
|
}
|
|
443
450
|
declare function Tooltip({ children, className, showArrow, ...props }: TooltipProps): react_jsx_runtime.JSX.Element;
|
|
444
451
|
interface TooltipBubbleProps extends HTMLAttributes<HTMLDivElement> {
|
|
452
|
+
children?: ReactNode;
|
|
445
453
|
showArrow?: boolean;
|
|
446
454
|
}
|
|
447
455
|
declare function TooltipBubble({ children, className, color: _color, ...props }: TooltipBubbleProps): react_jsx_runtime.JSX.Element;
|
|
@@ -466,6 +474,7 @@ interface RowProps extends FlexboxProps {
|
|
|
466
474
|
declare function Row({ reverse, children, ...props }: RowProps): react_jsx_runtime.JSX.Element;
|
|
467
475
|
|
|
468
476
|
interface FormButtonsProps extends RowProps {
|
|
477
|
+
children?: ReactNode;
|
|
469
478
|
fill?: boolean;
|
|
470
479
|
}
|
|
471
480
|
declare function FormButtons({ fill, children, ...props }: FormButtonsProps): react_jsx_runtime.JSX.Element;
|
|
@@ -498,6 +507,7 @@ interface FormFieldArrayProps extends Omit<HTMLAttributes<HTMLDivElement>, 'chil
|
|
|
498
507
|
declare function FormFieldArray({ id, name, description, label, rules, className, children, color: _color, ...props }: FormFieldArrayProps): react_jsx_runtime.JSX.Element;
|
|
499
508
|
|
|
500
509
|
interface FormResetButtonProps extends ButtonProps {
|
|
510
|
+
children?: ReactNode;
|
|
501
511
|
values?: FieldValues | {
|
|
502
512
|
[p: string]: any;
|
|
503
513
|
};
|
|
@@ -505,6 +515,7 @@ interface FormResetButtonProps extends ButtonProps {
|
|
|
505
515
|
declare function FormResetButton({ values, children, onPress, ...props }: FormResetButtonProps): react_jsx_runtime.JSX.Element;
|
|
506
516
|
|
|
507
517
|
interface LoadingButtonProps extends ButtonProps {
|
|
518
|
+
children?: ReactNode;
|
|
508
519
|
isDisabled?: boolean;
|
|
509
520
|
isLoading?: boolean;
|
|
510
521
|
showText?: boolean;
|
|
@@ -585,6 +596,7 @@ interface IconProps extends Omit<HTMLAttributes<HTMLElement>, 'color' | 'size'>
|
|
|
585
596
|
declare function Icon({ color, size, variant, rotate, strokeWidth, strokeColor, fillColor, style, className, children, ...props }: IconProps): react_jsx_runtime.JSX.Element;
|
|
586
597
|
|
|
587
598
|
interface IconLabelProps extends RowProps {
|
|
599
|
+
children?: ReactNode;
|
|
588
600
|
icon: ReactNode;
|
|
589
601
|
label?: ReactNode;
|
|
590
602
|
iconProps?: IconProps;
|
|
@@ -622,6 +634,7 @@ interface MenuProps extends MenuProps$1<any> {
|
|
|
622
634
|
}
|
|
623
635
|
declare function Menu({ className, children, ...props }: MenuProps): react_jsx_runtime.JSX.Element;
|
|
624
636
|
interface MenuItemProps extends MenuItemProps$1 {
|
|
637
|
+
children?: ReactNode;
|
|
625
638
|
icon?: ReactNode;
|
|
626
639
|
label?: string;
|
|
627
640
|
showChecked?: boolean;
|
|
@@ -630,6 +643,7 @@ interface MenuItemProps extends MenuItemProps$1 {
|
|
|
630
643
|
declare function MenuItem({ icon, label, showChecked, showSubMenuIcon, children, className, ...props }: MenuItemProps): react_jsx_runtime.JSX.Element;
|
|
631
644
|
declare function MenuSeparator({ className, ...props }: SeparatorProps): react_jsx_runtime.JSX.Element;
|
|
632
645
|
interface MenuSectionProps extends MenuSectionProps$1<any> {
|
|
646
|
+
children?: ReactNode;
|
|
633
647
|
title?: string;
|
|
634
648
|
maxHeight?: number;
|
|
635
649
|
}
|
|
@@ -639,11 +653,12 @@ interface SubmenuTriggerProps extends SubmenuTriggerProps$1 {
|
|
|
639
653
|
declare function SubMenuTrigger({ children, ...props }: SubmenuTriggerProps): react_jsx_runtime.JSX.Element;
|
|
640
654
|
|
|
641
655
|
interface ModalProps extends ModalOverlayProps {
|
|
642
|
-
placement?: 'center' | 'top' | 'bottom' | 'left' | 'right' | 'fullscreen';
|
|
643
|
-
offset?: string;
|
|
644
656
|
children?: ReactNode | ((values: ModalRenderProps & {
|
|
645
657
|
defaultChildren: ReactNode;
|
|
646
658
|
}) => ReactNode);
|
|
659
|
+
isOpen?: boolean;
|
|
660
|
+
placement?: 'center' | 'top' | 'bottom' | 'left' | 'right' | 'fullscreen';
|
|
661
|
+
offset?: string;
|
|
647
662
|
}
|
|
648
663
|
declare function Modal({ placement, offset, children, className, style, ...props }: ModalProps): react_jsx_runtime.JSX.Element;
|
|
649
664
|
|
|
@@ -685,6 +700,7 @@ interface PasswordFieldProps extends TextFieldProps$1 {
|
|
|
685
700
|
declare function PasswordField({ label, className, ...props }: PasswordFieldProps): react_jsx_runtime.JSX.Element;
|
|
686
701
|
|
|
687
702
|
interface PopoverProps extends PopoverProps$1 {
|
|
703
|
+
children?: ReactNode;
|
|
688
704
|
isFullscreen?: boolean;
|
|
689
705
|
}
|
|
690
706
|
declare function Popover({ children, isFullscreen, className, ...props }: PopoverProps): react_jsx_runtime.JSX.Element;
|
|
@@ -700,6 +716,7 @@ interface ProgressCircleProps extends ProgressBarProps$1 {
|
|
|
700
716
|
declare function ProgressCircle({ className, showPercentage, ...props }: ProgressCircleProps): react_jsx_runtime.JSX.Element;
|
|
701
717
|
|
|
702
718
|
interface RadioGroupProps extends RadioGroupProps$1 {
|
|
719
|
+
children?: ReactNode;
|
|
703
720
|
label?: string;
|
|
704
721
|
}
|
|
705
722
|
declare function RadioGroup({ label, children, className, ...props }: RadioGroupProps): react_jsx_runtime.JSX.Element;
|
|
@@ -784,6 +801,7 @@ interface StatusLightProps {
|
|
|
784
801
|
declare function StatusLight(props: StatusLightProps): react_jsx_runtime.JSX.Element;
|
|
785
802
|
|
|
786
803
|
interface SwitchProps extends SwitchProps$1 {
|
|
804
|
+
children?: ReactNode;
|
|
787
805
|
label?: string;
|
|
788
806
|
}
|
|
789
807
|
declare function Switch({ label, children, className, ...props }: SwitchProps): react_jsx_runtime.JSX.Element;
|
|
@@ -844,6 +862,7 @@ interface ToggleGroupItemProps extends TagProps {
|
|
|
844
862
|
declare function ToggleGroupItem({ className, children, ...props }: ToggleGroupItemProps): react_jsx_runtime.JSX.Element;
|
|
845
863
|
|
|
846
864
|
interface ToastProps extends HTMLAttributes<HTMLDivElement> {
|
|
865
|
+
children?: ReactNode;
|
|
847
866
|
id: string;
|
|
848
867
|
message: string;
|
|
849
868
|
title?: string;
|