@zuzjs/ui 1.0.16 → 1.0.18

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.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, ref?: RefObject<HTMLElement>) => {
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, ref?: RefObject<HTMLElement>) => {
1852
+ declare const useFx: (fx?: animationProps & {
1853
+ watch?: string[];
1854
+ }, ref?: RefObject<HTMLElement>) => {
1851
1855
  style: any;
1852
1856
  };
1853
1857