@zuzjs/ui 1.0.17 → 1.0.19
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/css/styles.css +1 -1
- package/dist/index.cjs +8 -8
- package/dist/index.d.cts +5 -1
- package/dist/index.d.ts +5 -1
- package/dist/index.js +7 -7
- package/package.json +1 -1
- /package/dist/{chunk-NLV7O7D5.cjs → chunk-3AU4SHYC.cjs} +0 -0
- /package/dist/{chunk-RL5YJMY7.js → chunk-HHH2I7ZP.js} +0 -0
package/dist/index.d.cts
CHANGED
|
@@ -747,6 +747,8 @@ type DialogProps = ZuzProps & {
|
|
|
747
747
|
actionPosition?: ValueOf<typeof DIALOG_ACTION_POSITION>;
|
|
748
748
|
variant?: ValueOf<typeof Variant>;
|
|
749
749
|
inBackground?: boolean;
|
|
750
|
+
/** Delay after close */
|
|
751
|
+
closeDelay?: number;
|
|
750
752
|
onShow?: () => void;
|
|
751
753
|
onHide?: () => void;
|
|
752
754
|
};
|
|
@@ -1847,7 +1849,9 @@ declare const useDrawer: () => {
|
|
|
1847
1849
|
close: (id: number) => void;
|
|
1848
1850
|
};
|
|
1849
1851
|
|
|
1850
|
-
declare const useFx: (fx?: animationProps
|
|
1852
|
+
declare const useFx: (fx?: animationProps & {
|
|
1853
|
+
watch?: string[];
|
|
1854
|
+
}, ref?: RefObject<HTMLElement>) => {
|
|
1851
1855
|
style: any;
|
|
1852
1856
|
};
|
|
1853
1857
|
|
package/dist/index.d.ts
CHANGED
|
@@ -747,6 +747,8 @@ type DialogProps = ZuzProps & {
|
|
|
747
747
|
actionPosition?: ValueOf<typeof DIALOG_ACTION_POSITION>;
|
|
748
748
|
variant?: ValueOf<typeof Variant>;
|
|
749
749
|
inBackground?: boolean;
|
|
750
|
+
/** Delay after close */
|
|
751
|
+
closeDelay?: number;
|
|
750
752
|
onShow?: () => void;
|
|
751
753
|
onHide?: () => void;
|
|
752
754
|
};
|
|
@@ -1847,7 +1849,9 @@ declare const useDrawer: () => {
|
|
|
1847
1849
|
close: (id: number) => void;
|
|
1848
1850
|
};
|
|
1849
1851
|
|
|
1850
|
-
declare const useFx: (fx?: animationProps
|
|
1852
|
+
declare const useFx: (fx?: animationProps & {
|
|
1853
|
+
watch?: string[];
|
|
1854
|
+
}, ref?: RefObject<HTMLElement>) => {
|
|
1851
1855
|
style: any;
|
|
1852
1856
|
};
|
|
1853
1857
|
|