indicator-ui 0.0.361 → 0.0.363
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 +8 -4
- package/dist/index.js.map +1 -1
- package/dist/types/src/hooks/modalWindows/useBackdropModal.d.ts +1 -0
- package/dist/types/src/hooks/modalWindows/useModal.d.ts +1 -0
- package/dist/types/src/test/pages/ModalsPage.d.ts +1 -0
- package/dist/types/src/test/pages/index.d.ts +1 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -47920,6 +47920,7 @@ var POPOVER_ANIMATION = function POPOVER_ANIMATION(_ref) {
|
|
|
47920
47920
|
left: predictPos[0],
|
|
47921
47921
|
top: predictPos[1],
|
|
47922
47922
|
opacity: 0,
|
|
47923
|
+
transform: 'none',
|
|
47923
47924
|
zIndex: Z_INDEX_MODAL_DEFAULT
|
|
47924
47925
|
}).to(modal, {
|
|
47925
47926
|
opacity: 0.95
|
|
@@ -47957,6 +47958,7 @@ var DROPDOWN_ANIMATION = function DROPDOWN_ANIMATION(_ref2) {
|
|
|
47957
47958
|
left: predictPos[0],
|
|
47958
47959
|
top: predictPos[1] - 10,
|
|
47959
47960
|
opacity: 0,
|
|
47961
|
+
transform: 'none',
|
|
47960
47962
|
zIndex: Z_INDEX_MODAL_DEFAULT
|
|
47961
47963
|
}).to(modal, {
|
|
47962
47964
|
opacity: 1,
|
|
@@ -48161,7 +48163,7 @@ function useBackgroundModalAnim() {
|
|
|
48161
48163
|
var backdropRef = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null);
|
|
48162
48164
|
(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function () {
|
|
48163
48165
|
init();
|
|
48164
|
-
}, []);
|
|
48166
|
+
}, [ref.current, targetRef.current, backdropClassName]);
|
|
48165
48167
|
var init = function init() {
|
|
48166
48168
|
initObjStates();
|
|
48167
48169
|
initBackdropObj();
|
|
@@ -48397,7 +48399,7 @@ function useModalAnim() {
|
|
|
48397
48399
|
}, smartPlacementOptions));
|
|
48398
48400
|
(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function () {
|
|
48399
48401
|
init();
|
|
48400
|
-
}, []);
|
|
48402
|
+
}, [ref.current, targetRef.current, backdropClassName]);
|
|
48401
48403
|
var init = function init() {
|
|
48402
48404
|
initObjStates();
|
|
48403
48405
|
initBackdropObj();
|
|
@@ -48747,7 +48749,8 @@ function useBackdropModal() {
|
|
|
48747
48749
|
isShow: isShow,
|
|
48748
48750
|
open: open,
|
|
48749
48751
|
close: close,
|
|
48750
|
-
switching: switching
|
|
48752
|
+
switching: switching,
|
|
48753
|
+
reinit: reinit
|
|
48751
48754
|
};
|
|
48752
48755
|
}
|
|
48753
48756
|
|
|
@@ -48863,7 +48866,8 @@ function useModal() {
|
|
|
48863
48866
|
isShow: isShow,
|
|
48864
48867
|
open: open,
|
|
48865
48868
|
close: close,
|
|
48866
|
-
switching: switching
|
|
48869
|
+
switching: switching,
|
|
48870
|
+
reinit: reinit
|
|
48867
48871
|
};
|
|
48868
48872
|
}
|
|
48869
48873
|
|