@megafon/ui-core 8.16.0 → 8.16.1
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.
|
@@ -61,6 +61,7 @@ var ModalContent = function ModalContent(_ref) {
|
|
|
61
61
|
footerRef = _ref$refs.footerRef,
|
|
62
62
|
containerInnerRef = _ref$refs.containerInnerRef,
|
|
63
63
|
containerBodyRef = _ref$refs.containerBodyRef,
|
|
64
|
+
containerWrapRef = _ref$refs.containerWrapRef,
|
|
64
65
|
isEnabledNativeScroll = _ref.isEnabledNativeScroll,
|
|
65
66
|
isDisabledBackgroundClick = _ref.isDisabledBackgroundClick,
|
|
66
67
|
isMobile = _ref.isMobile,
|
|
@@ -173,6 +174,7 @@ var ModalContent = function ModalContent(_ref) {
|
|
|
173
174
|
className: cn('background', classes === null || classes === void 0 ? void 0 : classes.background),
|
|
174
175
|
onClick: isDisabledBackgroundClick ? undefined : onPopupClose
|
|
175
176
|
})), /*#__PURE__*/React.createElement(CSSTransition, {
|
|
177
|
+
nodeRef: containerWrapRef,
|
|
176
178
|
"in": isBottomTransitionIn,
|
|
177
179
|
timeout: 190,
|
|
178
180
|
onExited: onTransitionExited
|
|
@@ -70,6 +70,7 @@ var ModalContent = function ModalContent(_ref) {
|
|
|
70
70
|
footerRef = _ref$refs.footerRef,
|
|
71
71
|
containerInnerRef = _ref$refs.containerInnerRef,
|
|
72
72
|
containerBodyRef = _ref$refs.containerBodyRef,
|
|
73
|
+
containerWrapRef = _ref$refs.containerWrapRef,
|
|
73
74
|
isEnabledNativeScroll = _ref.isEnabledNativeScroll,
|
|
74
75
|
isDisabledBackgroundClick = _ref.isDisabledBackgroundClick,
|
|
75
76
|
isMobile = _ref.isMobile,
|
|
@@ -182,6 +183,7 @@ var ModalContent = function ModalContent(_ref) {
|
|
|
182
183
|
className: cn('background', classes === null || classes === void 0 ? void 0 : classes.background),
|
|
183
184
|
onClick: isDisabledBackgroundClick ? undefined : onPopupClose
|
|
184
185
|
})), /*#__PURE__*/React.createElement(_reactTransitionGroup.CSSTransition, {
|
|
186
|
+
nodeRef: containerWrapRef,
|
|
185
187
|
"in": isBottomTransitionIn,
|
|
186
188
|
timeout: 190,
|
|
187
189
|
onExited: onTransitionExited
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@megafon/ui-core",
|
|
3
|
-
"version": "8.16.
|
|
3
|
+
"version": "8.16.1",
|
|
4
4
|
"files": [
|
|
5
5
|
"dist",
|
|
6
6
|
"styles"
|
|
@@ -104,5 +104,5 @@
|
|
|
104
104
|
"simplebar-react": "^3.2.5",
|
|
105
105
|
"swiper": "^11.1.1"
|
|
106
106
|
},
|
|
107
|
-
"gitHead": "
|
|
107
|
+
"gitHead": "c3fa882b11bf3f456e960ed6c0e55a21116f1620"
|
|
108
108
|
}
|