@zuzjs/ui 1.0.15 → 1.0.17
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/bin.cjs +4 -4
- package/dist/bin.js +1 -1
- package/dist/index.cjs +7 -7
- package/dist/index.d.cts +3 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +6 -6
- package/package.json +1 -1
- /package/dist/{chunk-UHTI4JCT.cjs → chunk-NLV7O7D5.cjs} +0 -0
- /package/dist/{chunk-FKLSYD6G.js → chunk-RL5YJMY7.js} +0 -0
package/dist/index.d.cts
CHANGED
|
@@ -746,6 +746,7 @@ type DialogProps = ZuzProps & {
|
|
|
746
746
|
action?: DialogActionHandler[];
|
|
747
747
|
actionPosition?: ValueOf<typeof DIALOG_ACTION_POSITION>;
|
|
748
748
|
variant?: ValueOf<typeof Variant>;
|
|
749
|
+
inBackground?: boolean;
|
|
749
750
|
onShow?: () => void;
|
|
750
751
|
onHide?: () => void;
|
|
751
752
|
};
|
|
@@ -784,6 +785,7 @@ type DrawerProps = BoxProps & {
|
|
|
784
785
|
prerender?: boolean;
|
|
785
786
|
margin?: number;
|
|
786
787
|
animation?: ValueOf<typeof TRANSITION_CURVES>;
|
|
788
|
+
inBackground?: boolean;
|
|
787
789
|
onClose?: (id: number) => void;
|
|
788
790
|
};
|
|
789
791
|
interface DrawerHandler {
|
|
@@ -1032,6 +1034,7 @@ interface ToastProps {
|
|
|
1032
1034
|
title?: string | ReactNode;
|
|
1033
1035
|
message?: string | ReactNode;
|
|
1034
1036
|
duration?: number;
|
|
1037
|
+
inBackground?: boolean;
|
|
1035
1038
|
onClose?: (id: number) => void;
|
|
1036
1039
|
onClick?: () => void;
|
|
1037
1040
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -746,6 +746,7 @@ type DialogProps = ZuzProps & {
|
|
|
746
746
|
action?: DialogActionHandler[];
|
|
747
747
|
actionPosition?: ValueOf<typeof DIALOG_ACTION_POSITION>;
|
|
748
748
|
variant?: ValueOf<typeof Variant>;
|
|
749
|
+
inBackground?: boolean;
|
|
749
750
|
onShow?: () => void;
|
|
750
751
|
onHide?: () => void;
|
|
751
752
|
};
|
|
@@ -784,6 +785,7 @@ type DrawerProps = BoxProps & {
|
|
|
784
785
|
prerender?: boolean;
|
|
785
786
|
margin?: number;
|
|
786
787
|
animation?: ValueOf<typeof TRANSITION_CURVES>;
|
|
788
|
+
inBackground?: boolean;
|
|
787
789
|
onClose?: (id: number) => void;
|
|
788
790
|
};
|
|
789
791
|
interface DrawerHandler {
|
|
@@ -1032,6 +1034,7 @@ interface ToastProps {
|
|
|
1032
1034
|
title?: string | ReactNode;
|
|
1033
1035
|
message?: string | ReactNode;
|
|
1034
1036
|
duration?: number;
|
|
1037
|
+
inBackground?: boolean;
|
|
1035
1038
|
onClose?: (id: number) => void;
|
|
1036
1039
|
onClick?: () => void;
|
|
1037
1040
|
}
|