indicator-ui 0.0.311 → 0.0.313
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 +4 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -41974,9 +41974,9 @@ function useSmartPosition() {
|
|
|
41974
41974
|
if (parentRef !== null && parentRef !== void 0 && parentRef.current) observer.observe(parentRef.current);
|
|
41975
41975
|
if (windowRef !== null && windowRef !== void 0 && windowRef.current) observer.observe(windowRef.current);
|
|
41976
41976
|
};
|
|
41977
|
-
setUpListeners();
|
|
41978
|
-
resizeListener();
|
|
41979
41977
|
configurateObj();
|
|
41978
|
+
resizeListener();
|
|
41979
|
+
setUpListeners();
|
|
41980
41980
|
return clearListeners;
|
|
41981
41981
|
}, []);
|
|
41982
41982
|
}
|
|
@@ -52870,7 +52870,6 @@ var ModalWindowWrapper = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_1__.forw
|
|
|
52870
52870
|
className = props.className,
|
|
52871
52871
|
style = props.style;
|
|
52872
52872
|
var modalWindowRef = (0,react__WEBPACK_IMPORTED_MODULE_1__.useRef)(null);
|
|
52873
|
-
var combinedRef = mergeRefs(ref, modalWindowRef);
|
|
52874
52873
|
(0,react__WEBPACK_IMPORTED_MODULE_1__.useImperativeHandle)(ref, function () {
|
|
52875
52874
|
return modalWindowRef.current;
|
|
52876
52875
|
}, []);
|
|
@@ -52906,9 +52905,9 @@ var ModalWindowWrapper = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_1__.forw
|
|
|
52906
52905
|
};
|
|
52907
52906
|
}, [additionElements, closeOnScroll]);
|
|
52908
52907
|
return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", {
|
|
52909
|
-
ref:
|
|
52908
|
+
ref: modalWindowRef,
|
|
52910
52909
|
style: _objectSpread(_objectSpread({}, style), {}, {
|
|
52911
|
-
display: isShow ? "none"
|
|
52910
|
+
display: isShow ? undefined : "none"
|
|
52912
52911
|
}),
|
|
52913
52912
|
className: className,
|
|
52914
52913
|
children: children
|