indicator-ui 0.0.361 → 0.0.362
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.js
CHANGED
|
@@ -48161,7 +48161,7 @@ function useBackgroundModalAnim() {
|
|
|
48161
48161
|
var backdropRef = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null);
|
|
48162
48162
|
(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function () {
|
|
48163
48163
|
init();
|
|
48164
|
-
}, []);
|
|
48164
|
+
}, [ref.current, targetRef.current, backdropClassName]);
|
|
48165
48165
|
var init = function init() {
|
|
48166
48166
|
initObjStates();
|
|
48167
48167
|
initBackdropObj();
|
|
@@ -48397,7 +48397,7 @@ function useModalAnim() {
|
|
|
48397
48397
|
}, smartPlacementOptions));
|
|
48398
48398
|
(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function () {
|
|
48399
48399
|
init();
|
|
48400
|
-
}, []);
|
|
48400
|
+
}, [ref.current, targetRef.current, backdropClassName]);
|
|
48401
48401
|
var init = function init() {
|
|
48402
48402
|
initObjStates();
|
|
48403
48403
|
initBackdropObj();
|
|
@@ -48747,7 +48747,8 @@ function useBackdropModal() {
|
|
|
48747
48747
|
isShow: isShow,
|
|
48748
48748
|
open: open,
|
|
48749
48749
|
close: close,
|
|
48750
|
-
switching: switching
|
|
48750
|
+
switching: switching,
|
|
48751
|
+
reinit: reinit
|
|
48751
48752
|
};
|
|
48752
48753
|
}
|
|
48753
48754
|
|
|
@@ -48863,7 +48864,8 @@ function useModal() {
|
|
|
48863
48864
|
isShow: isShow,
|
|
48864
48865
|
open: open,
|
|
48865
48866
|
close: close,
|
|
48866
|
-
switching: switching
|
|
48867
|
+
switching: switching,
|
|
48868
|
+
reinit: reinit
|
|
48867
48869
|
};
|
|
48868
48870
|
}
|
|
48869
48871
|
|