@umami/react-zen 0.226.0 → 0.227.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 -3
- package/dist/index.d.ts +11 -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;
|
|
@@ -622,6 +624,7 @@ interface MenuProps extends MenuProps$1<any> {
|
|
|
622
624
|
}
|
|
623
625
|
declare function Menu({ className, children, ...props }: MenuProps): react_jsx_runtime.JSX.Element;
|
|
624
626
|
interface MenuItemProps extends MenuItemProps$1 {
|
|
627
|
+
children?: ReactNode;
|
|
625
628
|
icon?: ReactNode;
|
|
626
629
|
label?: string;
|
|
627
630
|
showChecked?: boolean;
|
|
@@ -630,6 +633,7 @@ interface MenuItemProps extends MenuItemProps$1 {
|
|
|
630
633
|
declare function MenuItem({ icon, label, showChecked, showSubMenuIcon, children, className, ...props }: MenuItemProps): react_jsx_runtime.JSX.Element;
|
|
631
634
|
declare function MenuSeparator({ className, ...props }: SeparatorProps): react_jsx_runtime.JSX.Element;
|
|
632
635
|
interface MenuSectionProps extends MenuSectionProps$1<any> {
|
|
636
|
+
children?: ReactNode;
|
|
633
637
|
title?: string;
|
|
634
638
|
maxHeight?: number;
|
|
635
639
|
}
|
|
@@ -639,11 +643,12 @@ interface SubmenuTriggerProps extends SubmenuTriggerProps$1 {
|
|
|
639
643
|
declare function SubMenuTrigger({ children, ...props }: SubmenuTriggerProps): react_jsx_runtime.JSX.Element;
|
|
640
644
|
|
|
641
645
|
interface ModalProps extends ModalOverlayProps {
|
|
642
|
-
placement?: 'center' | 'top' | 'bottom' | 'left' | 'right' | 'fullscreen';
|
|
643
|
-
offset?: string;
|
|
644
646
|
children?: ReactNode | ((values: ModalRenderProps & {
|
|
645
647
|
defaultChildren: ReactNode;
|
|
646
648
|
}) => ReactNode);
|
|
649
|
+
isOpen?: boolean;
|
|
650
|
+
placement?: 'center' | 'top' | 'bottom' | 'left' | 'right' | 'fullscreen';
|
|
651
|
+
offset?: string;
|
|
647
652
|
}
|
|
648
653
|
declare function Modal({ placement, offset, children, className, style, ...props }: ModalProps): react_jsx_runtime.JSX.Element;
|
|
649
654
|
|
|
@@ -685,6 +690,7 @@ interface PasswordFieldProps extends TextFieldProps$1 {
|
|
|
685
690
|
declare function PasswordField({ label, className, ...props }: PasswordFieldProps): react_jsx_runtime.JSX.Element;
|
|
686
691
|
|
|
687
692
|
interface PopoverProps extends PopoverProps$1 {
|
|
693
|
+
children?: ReactNode;
|
|
688
694
|
isFullscreen?: boolean;
|
|
689
695
|
}
|
|
690
696
|
declare function Popover({ children, isFullscreen, className, ...props }: PopoverProps): react_jsx_runtime.JSX.Element;
|
|
@@ -700,6 +706,7 @@ interface ProgressCircleProps extends ProgressBarProps$1 {
|
|
|
700
706
|
declare function ProgressCircle({ className, showPercentage, ...props }: ProgressCircleProps): react_jsx_runtime.JSX.Element;
|
|
701
707
|
|
|
702
708
|
interface RadioGroupProps extends RadioGroupProps$1 {
|
|
709
|
+
children?: ReactNode;
|
|
703
710
|
label?: string;
|
|
704
711
|
}
|
|
705
712
|
declare function RadioGroup({ label, children, className, ...props }: RadioGroupProps): react_jsx_runtime.JSX.Element;
|
|
@@ -784,6 +791,7 @@ interface StatusLightProps {
|
|
|
784
791
|
declare function StatusLight(props: StatusLightProps): react_jsx_runtime.JSX.Element;
|
|
785
792
|
|
|
786
793
|
interface SwitchProps extends SwitchProps$1 {
|
|
794
|
+
children?: ReactNode;
|
|
787
795
|
label?: string;
|
|
788
796
|
}
|
|
789
797
|
declare function Switch({ label, children, className, ...props }: SwitchProps): react_jsx_runtime.JSX.Element;
|
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;
|
|
@@ -622,6 +624,7 @@ interface MenuProps extends MenuProps$1<any> {
|
|
|
622
624
|
}
|
|
623
625
|
declare function Menu({ className, children, ...props }: MenuProps): react_jsx_runtime.JSX.Element;
|
|
624
626
|
interface MenuItemProps extends MenuItemProps$1 {
|
|
627
|
+
children?: ReactNode;
|
|
625
628
|
icon?: ReactNode;
|
|
626
629
|
label?: string;
|
|
627
630
|
showChecked?: boolean;
|
|
@@ -630,6 +633,7 @@ interface MenuItemProps extends MenuItemProps$1 {
|
|
|
630
633
|
declare function MenuItem({ icon, label, showChecked, showSubMenuIcon, children, className, ...props }: MenuItemProps): react_jsx_runtime.JSX.Element;
|
|
631
634
|
declare function MenuSeparator({ className, ...props }: SeparatorProps): react_jsx_runtime.JSX.Element;
|
|
632
635
|
interface MenuSectionProps extends MenuSectionProps$1<any> {
|
|
636
|
+
children?: ReactNode;
|
|
633
637
|
title?: string;
|
|
634
638
|
maxHeight?: number;
|
|
635
639
|
}
|
|
@@ -639,11 +643,12 @@ interface SubmenuTriggerProps extends SubmenuTriggerProps$1 {
|
|
|
639
643
|
declare function SubMenuTrigger({ children, ...props }: SubmenuTriggerProps): react_jsx_runtime.JSX.Element;
|
|
640
644
|
|
|
641
645
|
interface ModalProps extends ModalOverlayProps {
|
|
642
|
-
placement?: 'center' | 'top' | 'bottom' | 'left' | 'right' | 'fullscreen';
|
|
643
|
-
offset?: string;
|
|
644
646
|
children?: ReactNode | ((values: ModalRenderProps & {
|
|
645
647
|
defaultChildren: ReactNode;
|
|
646
648
|
}) => ReactNode);
|
|
649
|
+
isOpen?: boolean;
|
|
650
|
+
placement?: 'center' | 'top' | 'bottom' | 'left' | 'right' | 'fullscreen';
|
|
651
|
+
offset?: string;
|
|
647
652
|
}
|
|
648
653
|
declare function Modal({ placement, offset, children, className, style, ...props }: ModalProps): react_jsx_runtime.JSX.Element;
|
|
649
654
|
|
|
@@ -685,6 +690,7 @@ interface PasswordFieldProps extends TextFieldProps$1 {
|
|
|
685
690
|
declare function PasswordField({ label, className, ...props }: PasswordFieldProps): react_jsx_runtime.JSX.Element;
|
|
686
691
|
|
|
687
692
|
interface PopoverProps extends PopoverProps$1 {
|
|
693
|
+
children?: ReactNode;
|
|
688
694
|
isFullscreen?: boolean;
|
|
689
695
|
}
|
|
690
696
|
declare function Popover({ children, isFullscreen, className, ...props }: PopoverProps): react_jsx_runtime.JSX.Element;
|
|
@@ -700,6 +706,7 @@ interface ProgressCircleProps extends ProgressBarProps$1 {
|
|
|
700
706
|
declare function ProgressCircle({ className, showPercentage, ...props }: ProgressCircleProps): react_jsx_runtime.JSX.Element;
|
|
701
707
|
|
|
702
708
|
interface RadioGroupProps extends RadioGroupProps$1 {
|
|
709
|
+
children?: ReactNode;
|
|
703
710
|
label?: string;
|
|
704
711
|
}
|
|
705
712
|
declare function RadioGroup({ label, children, className, ...props }: RadioGroupProps): react_jsx_runtime.JSX.Element;
|
|
@@ -784,6 +791,7 @@ interface StatusLightProps {
|
|
|
784
791
|
declare function StatusLight(props: StatusLightProps): react_jsx_runtime.JSX.Element;
|
|
785
792
|
|
|
786
793
|
interface SwitchProps extends SwitchProps$1 {
|
|
794
|
+
children?: ReactNode;
|
|
787
795
|
label?: string;
|
|
788
796
|
}
|
|
789
797
|
declare function Switch({ label, children, className, ...props }: SwitchProps): react_jsx_runtime.JSX.Element;
|