indicator-ui 0.0.360 → 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();
|
|
@@ -48277,6 +48277,7 @@ function useBackgroundModalAnim() {
|
|
|
48277
48277
|
var obj = ref.current;
|
|
48278
48278
|
if (obj) {
|
|
48279
48279
|
obj.style.position = 'fixed';
|
|
48280
|
+
obj.style.visibility = 'hidden';
|
|
48280
48281
|
}
|
|
48281
48282
|
}
|
|
48282
48283
|
function initBackdropObj() {
|
|
@@ -48396,7 +48397,7 @@ function useModalAnim() {
|
|
|
48396
48397
|
}, smartPlacementOptions));
|
|
48397
48398
|
(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function () {
|
|
48398
48399
|
init();
|
|
48399
|
-
}, []);
|
|
48400
|
+
}, [ref.current, targetRef.current, backdropClassName]);
|
|
48400
48401
|
var init = function init() {
|
|
48401
48402
|
initObjStates();
|
|
48402
48403
|
initBackdropObj();
|
|
@@ -48507,6 +48508,7 @@ function useModalAnim() {
|
|
|
48507
48508
|
var obj = ref.current;
|
|
48508
48509
|
if (obj) {
|
|
48509
48510
|
obj.style.position = 'fixed';
|
|
48511
|
+
obj.style.visibility = 'hidden';
|
|
48510
48512
|
}
|
|
48511
48513
|
}
|
|
48512
48514
|
function initBackdropObj() {
|
|
@@ -48745,7 +48747,8 @@ function useBackdropModal() {
|
|
|
48745
48747
|
isShow: isShow,
|
|
48746
48748
|
open: open,
|
|
48747
48749
|
close: close,
|
|
48748
|
-
switching: switching
|
|
48750
|
+
switching: switching,
|
|
48751
|
+
reinit: reinit
|
|
48749
48752
|
};
|
|
48750
48753
|
}
|
|
48751
48754
|
|
|
@@ -48861,7 +48864,8 @@ function useModal() {
|
|
|
48861
48864
|
isShow: isShow,
|
|
48862
48865
|
open: open,
|
|
48863
48866
|
close: close,
|
|
48864
|
-
switching: switching
|
|
48867
|
+
switching: switching,
|
|
48868
|
+
reinit: reinit
|
|
48865
48869
|
};
|
|
48866
48870
|
}
|
|
48867
48871
|
|