intelicoreact 1.2.31 → 1.2.33

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.
@@ -178,7 +178,7 @@ var Modal = function Modal(_ref2) {
178
178
  'modal__footer--sticky': !MODALS_LOGIC.IS_FOOTER_HIDDEN && MODALS_LOGIC.IS_FOOTER_STICKY,
179
179
  'modal__footer_with-left-content': leftContentOfFooter
180
180
  })
181
- }, customFooter || /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, leftContentOfFooter, !noCloseBtn && !noConfirmBtn && /*#__PURE__*/_react.default.createElement("div", {
181
+ }, customFooter || /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, leftContentOfFooter, (!noCloseBtn || !noConfirmBtn) && /*#__PURE__*/_react.default.createElement("div", {
182
182
  className: "modal__buttons-block"
183
183
  }, !noCloseBtn && /*#__PURE__*/_react.default.createElement(_Button.default, {
184
184
  testId: "modal",
@@ -9,6 +9,8 @@ Object.defineProperty(exports, "__esModule", {
9
9
  });
10
10
  exports.default = useMobileModal;
11
11
 
12
+ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
13
+
12
14
  var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
13
15
 
14
16
  var _react = _interopRequireWildcard(require("react"));
@@ -17,58 +19,82 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
17
19
 
18
20
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
19
21
 
22
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
23
+
24
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
25
+
20
26
  var SCROLL_DIRECTION = {
21
27
  UP: 'up',
22
28
  DOWN: 'down'
23
29
  };
24
30
 
25
31
  function useMobileModal(_ref) {
26
- var _modalMobileContainer, _modalMobileContainer2, _modalMobileHeaderRef, _modalMobileHeaderRef2, _modalMobileFooterRef, _modalMobileFooterRef2, _modalMobileFooterRef3, _modalMobileFooterRef4, _modalMobileBodyRef$c, _modalMobileBodyRef$c2, _modalRef$current2, _modalRef$current2$ge;
32
+ var _modalMobileContainer7, _modalMobileContainer8, _modalMobileHeaderRef3, _modalMobileHeaderRef4, _modalMobileBodyRef$c3, _modalMobileBodyRef$c4, _modalMobileFooterRef3, _modalMobileFooterRef4, _modalMobileFooterRef7, _modalMobileFooterRef8;
27
33
 
28
34
  var _ref$modalRef = _ref.modalRef,
29
35
  modalRef = _ref$modalRef === void 0 ? null : _ref$modalRef,
30
36
  _ref$noMobileModalLog = _ref.noMobileModalLogic,
31
37
  noMobileModalLogic = _ref$noMobileModalLog === void 0 ? false : _ref$noMobileModalLog,
32
38
  isOpen = _ref.isOpen;
39
+ var modalMobileContainerRef = (0, _react.useRef)(null);
40
+ var modalMobileHeaderRef = (0, _react.useRef)(null);
41
+ var modalMobileFooterRef = (0, _react.useRef)(null);
42
+ var modalMobileBodyRef = (0, _react.useRef)(null);
33
43
 
34
44
  var _useState = (0, _react.useState)(false),
35
45
  _useState2 = (0, _slicedToArray2.default)(_useState, 2),
36
46
  isMobile = _useState2[0],
37
47
  setIsMobile = _useState2[1];
38
48
 
39
- var modalMobileContainerRef = (0, _react.useRef)(null);
40
- var modalMobileHeaderRef = (0, _react.useRef)(null);
41
- var modalMobileFooterRef = (0, _react.useRef)(null);
42
- var modalMobileBodyRef = (0, _react.useRef)(null);
43
-
44
49
  var _useState3 = (0, _react.useState)(0),
45
50
  _useState4 = (0, _slicedToArray2.default)(_useState3, 2),
46
- scrollTop = _useState4[0],
47
- setScrollTop = _useState4[1];
48
-
49
- var _useState5 = (0, _react.useState)(0),
51
+ modalHeight = _useState4[0],
52
+ setModalHeight = _useState4[1];
53
+
54
+ var _useState5 = (0, _react.useState)({
55
+ IS_HEADER_HIDDEN: false,
56
+ IS_HEADER_STICKY: false,
57
+ IS_FOOTER_HIDDEN: false,
58
+ IS_FOOTER_STICKY: false
59
+ }),
50
60
  _useState6 = (0, _slicedToArray2.default)(_useState5, 2),
51
- scrollTopPrev = _useState6[0],
52
- setScrollTopPrev = _useState6[1];
53
-
54
- var _useState7 = (0, _react.useState)(SCROLL_DIRECTION.UP),
61
+ modalsLogic = _useState6[0],
62
+ setModalsLogic = _useState6[1];
63
+
64
+ var _useState7 = (0, _react.useState)({
65
+ modalMobileContainerHeight: 0,
66
+ headerTop: 0,
67
+ bodyTop: 0,
68
+ footerBottom: 0,
69
+ footerHeight: 0
70
+ }),
55
71
  _useState8 = (0, _slicedToArray2.default)(_useState7, 2),
56
- scrollDirection = _useState8[0],
57
- setScrollDirection = _useState8[1];
58
-
59
- var modalMobileContainerHeight = modalMobileContainerRef === null || modalMobileContainerRef === void 0 ? void 0 : (_modalMobileContainer = modalMobileContainerRef.current) === null || _modalMobileContainer === void 0 ? void 0 : (_modalMobileContainer2 = _modalMobileContainer.getBoundingClientRect()) === null || _modalMobileContainer2 === void 0 ? void 0 : _modalMobileContainer2.height;
60
- var headerTop = modalMobileHeaderRef === null || modalMobileHeaderRef === void 0 ? void 0 : (_modalMobileHeaderRef = modalMobileHeaderRef.current) === null || _modalMobileHeaderRef === void 0 ? void 0 : (_modalMobileHeaderRef2 = _modalMobileHeaderRef.getBoundingClientRect()) === null || _modalMobileHeaderRef2 === void 0 ? void 0 : _modalMobileHeaderRef2.top;
61
- var footerBottom = modalMobileContainerHeight - (modalMobileFooterRef === null || modalMobileFooterRef === void 0 ? void 0 : (_modalMobileFooterRef = modalMobileFooterRef.current) === null || _modalMobileFooterRef === void 0 ? void 0 : (_modalMobileFooterRef2 = _modalMobileFooterRef.getBoundingClientRect()) === null || _modalMobileFooterRef2 === void 0 ? void 0 : _modalMobileFooterRef2.bottom);
62
- var footerHeight = modalMobileFooterRef === null || modalMobileFooterRef === void 0 ? void 0 : (_modalMobileFooterRef3 = modalMobileFooterRef.current) === null || _modalMobileFooterRef3 === void 0 ? void 0 : (_modalMobileFooterRef4 = _modalMobileFooterRef3.getBoundingClientRect()) === null || _modalMobileFooterRef4 === void 0 ? void 0 : _modalMobileFooterRef4.height;
63
- var bodyTop = modalMobileBodyRef === null || modalMobileBodyRef === void 0 ? void 0 : (_modalMobileBodyRef$c = modalMobileBodyRef.current) === null || _modalMobileBodyRef$c === void 0 ? void 0 : (_modalMobileBodyRef$c2 = _modalMobileBodyRef$c.getBoundingClientRect()) === null || _modalMobileBodyRef$c2 === void 0 ? void 0 : _modalMobileBodyRef$c2.top;
72
+ modalsLogicProps = _useState8[0],
73
+ setModalsLogicProps = _useState8[1];
74
+
75
+ var _useState9 = (0, _react.useState)(SCROLL_DIRECTION.UP),
76
+ _useState10 = (0, _slicedToArray2.default)(_useState9, 2),
77
+ scrollDirection = _useState10[0],
78
+ setScrollDirection = _useState10[1];
79
+
80
+ var _useState11 = (0, _react.useState)(0),
81
+ _useState12 = (0, _slicedToArray2.default)(_useState11, 2),
82
+ scrollTopPrev = _useState12[0],
83
+ setScrollTopPrev = _useState12[1];
84
+
85
+ var _useState13 = (0, _react.useState)(0),
86
+ _useState14 = (0, _slicedToArray2.default)(_useState13, 2),
87
+ scrollTop = _useState14[0],
88
+ setScrollTop = _useState14[1];
64
89
  /* MODALS LOGIC | BEGIN */
65
90
  // Detect Mobile
66
91
 
67
- (0, _react.useEffect)(function () {
92
+
93
+ (0, _react.useLayoutEffect)(function () {
68
94
  if (/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)) setIsMobile(true);
69
95
  }, [navigator.userAgent]); // Count ScrollTop
70
96
 
71
- (0, _react.useEffect)(function () {
97
+ (0, _react.useLayoutEffect)(function () {
72
98
  var el = modalMobileContainerRef === null || modalMobileContainerRef === void 0 ? void 0 : modalMobileContainerRef.current;
73
99
 
74
100
  if (el) {
@@ -81,37 +107,106 @@ function useMobileModal(_ref) {
81
107
  }
82
108
  }, [modalMobileContainerRef === null || modalMobileContainerRef === void 0 ? void 0 : modalMobileContainerRef.current]); // Count ScrollDirection
83
109
 
84
- (0, _react.useEffect)(function () {
110
+ (0, _react.useLayoutEffect)(function () {
85
111
  setScrollDirection(scrollTop < scrollTopPrev ? SCROLL_DIRECTION.UP : SCROLL_DIRECTION.DOWN);
86
112
  }, [scrollTop, scrollTopPrev]); // Dynamic Modal Positioning
87
113
 
88
- (0, _react.useEffect)(function () {
114
+ (0, _react.useLayoutEffect)(function () {
89
115
  if (isOpen) {
90
- var _modalRef$current, _modalRef$current$get;
91
-
92
116
  var modalStyle = modalRef !== null && modalRef !== void 0 && modalRef.current ? (modalRef === null || modalRef === void 0 ? void 0 : modalRef.current.currentStyle) || window.getComputedStyle(modalRef === null || modalRef === void 0 ? void 0 : modalRef.current) : {};
93
- var modalHeight = modalRef !== null && modalRef !== void 0 && modalRef.current ? (modalRef === null || modalRef === void 0 ? void 0 : (_modalRef$current = modalRef.current) === null || _modalRef$current === void 0 ? void 0 : (_modalRef$current$get = _modalRef$current.getBoundingClientRect()) === null || _modalRef$current$get === void 0 ? void 0 : _modalRef$current$get.height) + parseFloat((modalStyle === null || modalStyle === void 0 ? void 0 : modalStyle.marginTop) || 0) : 0;
117
+ var computedModalHeight = modalRef !== null && modalRef !== void 0 && modalRef.current ? modalHeight + parseFloat((modalStyle === null || modalStyle === void 0 ? void 0 : modalStyle.marginTop) || 0) : 0;
94
118
  var windowHeight = document.documentElement.clientHeight || window.screen.availHeight || window.screen.height;
119
+ console.log({
120
+ modalMobileContainerRef: modalMobileContainerRef,
121
+ computedModalHeight: computedModalHeight,
122
+ windowHeight: windowHeight
123
+ });
95
124
 
96
- if (modalHeight && modalMobileContainerRef !== null && modalMobileContainerRef !== void 0 && modalMobileContainerRef.current) {
97
- if (modalHeight <= windowHeight) {
125
+ if (modalMobileContainerRef !== null && modalMobileContainerRef !== void 0 && modalMobileContainerRef.current) {
126
+ if (computedModalHeight <= windowHeight) {
98
127
  modalMobileContainerRef.current.style.display = 'flex';
99
128
  modalMobileContainerRef.current.style.alignItems = 'flex-end';
100
129
  } else {
101
- var _modalMobileContainer3, _modalMobileContainer4, _modalMobileContainer5, _modalMobileContainer6;
130
+ var _modalMobileContainer, _modalMobileContainer2, _modalMobileContainer3, _modalMobileContainer4;
102
131
 
103
- (_modalMobileContainer3 = modalMobileContainerRef.current) === null || _modalMobileContainer3 === void 0 ? void 0 : (_modalMobileContainer4 = _modalMobileContainer3.style) === null || _modalMobileContainer4 === void 0 ? void 0 : _modalMobileContainer4.removeProperty('display');
104
- (_modalMobileContainer5 = modalMobileContainerRef.current) === null || _modalMobileContainer5 === void 0 ? void 0 : (_modalMobileContainer6 = _modalMobileContainer5.style) === null || _modalMobileContainer6 === void 0 ? void 0 : _modalMobileContainer6.removeProperty('align-items');
132
+ (_modalMobileContainer = modalMobileContainerRef.current) === null || _modalMobileContainer === void 0 ? void 0 : (_modalMobileContainer2 = _modalMobileContainer.style) === null || _modalMobileContainer2 === void 0 ? void 0 : _modalMobileContainer2.removeProperty('display');
133
+ (_modalMobileContainer3 = modalMobileContainerRef.current) === null || _modalMobileContainer3 === void 0 ? void 0 : (_modalMobileContainer4 = _modalMobileContainer3.style) === null || _modalMobileContainer4 === void 0 ? void 0 : _modalMobileContainer4.removeProperty('align-items');
105
134
  }
106
135
  }
107
136
  }
108
- }, [modalRef, modalRef === null || modalRef === void 0 ? void 0 : (_modalRef$current2 = modalRef.current) === null || _modalRef$current2 === void 0 ? void 0 : (_modalRef$current2$ge = _modalRef$current2.getBoundingClientRect()) === null || _modalRef$current2$ge === void 0 ? void 0 : _modalRef$current2$ge.height, modalMobileContainerRef, isOpen]);
109
- var MODALS_LOGIC = {
110
- IS_HEADER_HIDDEN: !isMobile || noMobileModalLogic ? false : footerBottom * -1 <= footerHeight || scrollDirection === SCROLL_DIRECTION.DOWN,
111
- IS_HEADER_STICKY: !isMobile || noMobileModalLogic ? false : headerTop <= 0,
112
- IS_FOOTER_HIDDEN: !isMobile || noMobileModalLogic ? false : bodyTop > 0 || scrollDirection === SCROLL_DIRECTION.UP,
113
- IS_FOOTER_STICKY: !isMobile || noMobileModalLogic ? false : footerBottom <= 0
114
- };
137
+ }, [modalsLogicProps, isOpen, isMobile, modalHeight]); // Calculating
138
+
139
+ (0, _react.useLayoutEffect)(function () {
140
+ if (isMobile && isOpen) {
141
+ var _modalRef$current, _modalRef$current$get;
142
+
143
+ var newModalHeight = modalRef === null || modalRef === void 0 ? void 0 : (_modalRef$current = modalRef.current) === null || _modalRef$current === void 0 ? void 0 : (_modalRef$current$get = _modalRef$current.getBoundingClientRect()) === null || _modalRef$current$get === void 0 ? void 0 : _modalRef$current$get.height;
144
+
145
+ if (modalHeight !== newModalHeight) {
146
+ setModalHeight(newModalHeight);
147
+ console.log({
148
+ modalHeight: modalHeight
149
+ });
150
+ }
151
+ }
152
+ });
153
+ (0, _react.useLayoutEffect)(function () {
154
+ var footerBottom = modalsLogicProps.footerBottom,
155
+ footerHeight = modalsLogicProps.footerHeight,
156
+ headerTop = modalsLogicProps.headerTop,
157
+ bodyTop = modalsLogicProps.bodyTop;
158
+ setModalsLogic({
159
+ IS_HEADER_HIDDEN: !isMobile || noMobileModalLogic ? false : footerBottom * -1 <= footerHeight || scrollDirection === SCROLL_DIRECTION.DOWN,
160
+ IS_HEADER_STICKY: !isMobile || noMobileModalLogic ? false : headerTop <= 0,
161
+ IS_FOOTER_HIDDEN: !isMobile || noMobileModalLogic ? false : bodyTop > 0 || scrollDirection === SCROLL_DIRECTION.UP,
162
+ IS_FOOTER_STICKY: !isMobile || noMobileModalLogic ? false : footerBottom <= 0
163
+ });
164
+ }, [isMobile, noMobileModalLogic, scrollDirection, modalsLogicProps, modalHeight]);
165
+ (0, _react.useLayoutEffect)(function () {
166
+ setModalsLogicProps(function (state) {
167
+ var _modalMobileContainer5, _modalMobileContainer6;
168
+
169
+ return _objectSpread(_objectSpread({}, state), {}, {
170
+ modalMobileContainerHeight: modalMobileContainerRef === null || modalMobileContainerRef === void 0 ? void 0 : (_modalMobileContainer5 = modalMobileContainerRef.current) === null || _modalMobileContainer5 === void 0 ? void 0 : (_modalMobileContainer6 = _modalMobileContainer5.getBoundingClientRect()) === null || _modalMobileContainer6 === void 0 ? void 0 : _modalMobileContainer6.height
171
+ });
172
+ });
173
+ }, [modalMobileContainerRef === null || modalMobileContainerRef === void 0 ? void 0 : (_modalMobileContainer7 = modalMobileContainerRef.current) === null || _modalMobileContainer7 === void 0 ? void 0 : (_modalMobileContainer8 = _modalMobileContainer7.getBoundingClientRect()) === null || _modalMobileContainer8 === void 0 ? void 0 : _modalMobileContainer8.height]);
174
+ (0, _react.useLayoutEffect)(function () {
175
+ setModalsLogicProps(function (state) {
176
+ var _modalMobileHeaderRef, _modalMobileHeaderRef2;
177
+
178
+ return _objectSpread(_objectSpread({}, state), {}, {
179
+ headerTop: modalMobileHeaderRef === null || modalMobileHeaderRef === void 0 ? void 0 : (_modalMobileHeaderRef = modalMobileHeaderRef.current) === null || _modalMobileHeaderRef === void 0 ? void 0 : (_modalMobileHeaderRef2 = _modalMobileHeaderRef.getBoundingClientRect()) === null || _modalMobileHeaderRef2 === void 0 ? void 0 : _modalMobileHeaderRef2.top
180
+ });
181
+ });
182
+ }, [modalMobileHeaderRef === null || modalMobileHeaderRef === void 0 ? void 0 : (_modalMobileHeaderRef3 = modalMobileHeaderRef.current) === null || _modalMobileHeaderRef3 === void 0 ? void 0 : (_modalMobileHeaderRef4 = _modalMobileHeaderRef3.getBoundingClientRect()) === null || _modalMobileHeaderRef4 === void 0 ? void 0 : _modalMobileHeaderRef4.top]);
183
+ (0, _react.useLayoutEffect)(function () {
184
+ setModalsLogicProps(function (state) {
185
+ var _modalMobileBodyRef$c, _modalMobileBodyRef$c2;
186
+
187
+ return _objectSpread(_objectSpread({}, state), {}, {
188
+ bodyTop: modalMobileBodyRef === null || modalMobileBodyRef === void 0 ? void 0 : (_modalMobileBodyRef$c = modalMobileBodyRef.current) === null || _modalMobileBodyRef$c === void 0 ? void 0 : (_modalMobileBodyRef$c2 = _modalMobileBodyRef$c.getBoundingClientRect()) === null || _modalMobileBodyRef$c2 === void 0 ? void 0 : _modalMobileBodyRef$c2.top
189
+ });
190
+ });
191
+ }, [modalMobileBodyRef === null || modalMobileBodyRef === void 0 ? void 0 : (_modalMobileBodyRef$c3 = modalMobileBodyRef.current) === null || _modalMobileBodyRef$c3 === void 0 ? void 0 : (_modalMobileBodyRef$c4 = _modalMobileBodyRef$c3.getBoundingClientRect()) === null || _modalMobileBodyRef$c4 === void 0 ? void 0 : _modalMobileBodyRef$c4.top]);
192
+ (0, _react.useLayoutEffect)(function () {
193
+ setModalsLogicProps(function (state) {
194
+ var _modalMobileFooterRef, _modalMobileFooterRef2;
195
+
196
+ return _objectSpread(_objectSpread({}, state), {}, {
197
+ footerBottom: modalsLogicProps.modalMobileContainerHeight - (modalMobileFooterRef === null || modalMobileFooterRef === void 0 ? void 0 : (_modalMobileFooterRef = modalMobileFooterRef.current) === null || _modalMobileFooterRef === void 0 ? void 0 : (_modalMobileFooterRef2 = _modalMobileFooterRef.getBoundingClientRect()) === null || _modalMobileFooterRef2 === void 0 ? void 0 : _modalMobileFooterRef2.bottom)
198
+ });
199
+ });
200
+ }, [modalsLogicProps.modalMobileContainerHeight, modalMobileFooterRef === null || modalMobileFooterRef === void 0 ? void 0 : (_modalMobileFooterRef3 = modalMobileFooterRef.current) === null || _modalMobileFooterRef3 === void 0 ? void 0 : (_modalMobileFooterRef4 = _modalMobileFooterRef3.getBoundingClientRect()) === null || _modalMobileFooterRef4 === void 0 ? void 0 : _modalMobileFooterRef4.bottom]);
201
+ (0, _react.useLayoutEffect)(function () {
202
+ setModalsLogicProps(function (state) {
203
+ var _modalMobileFooterRef5, _modalMobileFooterRef6;
204
+
205
+ return _objectSpread(_objectSpread({}, state), {}, {
206
+ footerHeight: modalMobileFooterRef === null || modalMobileFooterRef === void 0 ? void 0 : (_modalMobileFooterRef5 = modalMobileFooterRef.current) === null || _modalMobileFooterRef5 === void 0 ? void 0 : (_modalMobileFooterRef6 = _modalMobileFooterRef5.getBoundingClientRect()) === null || _modalMobileFooterRef6 === void 0 ? void 0 : _modalMobileFooterRef6.height
207
+ });
208
+ });
209
+ }, [modalMobileFooterRef === null || modalMobileFooterRef === void 0 ? void 0 : (_modalMobileFooterRef7 = modalMobileFooterRef.current) === null || _modalMobileFooterRef7 === void 0 ? void 0 : (_modalMobileFooterRef8 = _modalMobileFooterRef7.getBoundingClientRect()) === null || _modalMobileFooterRef8 === void 0 ? void 0 : _modalMobileFooterRef8.height]);
115
210
  /* MODALS LOGIC | END */
116
211
 
117
212
  var renderMobileModal = function renderMobileModal(modal) {
@@ -130,7 +225,7 @@ function useMobileModal(_ref) {
130
225
  modalMobileHeaderRef: modalMobileHeaderRef,
131
226
  modalMobileBodyRef: modalMobileBodyRef,
132
227
  modalMobileFooterRef: modalMobileFooterRef,
133
- MODALS_LOGIC: MODALS_LOGIC,
228
+ MODALS_LOGIC: modalsLogic,
134
229
  SCROLL_DIRECTION: SCROLL_DIRECTION,
135
230
  renderModal: renderModal,
136
231
  isMobile: isMobile
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "intelicoreact",
3
- "version": "1.2.31",
3
+ "version": "1.2.33",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "files": [