ab-ui-library 1.48.2 → 1.48.3
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.
|
@@ -91,21 +91,31 @@ var SideSheet = function SideSheet(props) {
|
|
|
91
91
|
'side-sheet--positioned': isPositioned || isMobile(),
|
|
92
92
|
'side-sheet--with-overlay': withOverlay || isMobile()
|
|
93
93
|
}),
|
|
94
|
-
initial: {
|
|
94
|
+
initial: _objectSpread({
|
|
95
95
|
opacity: 0
|
|
96
|
-
},
|
|
97
|
-
|
|
96
|
+
}, !isPositioned && !isMobile() && {
|
|
97
|
+
width: 'auto'
|
|
98
|
+
}),
|
|
99
|
+
animate: _objectSpread({
|
|
98
100
|
opacity: 1
|
|
99
|
-
},
|
|
100
|
-
|
|
101
|
-
|
|
101
|
+
}, !isPositioned && !isMobile() && {
|
|
102
|
+
width: 'auto'
|
|
103
|
+
}),
|
|
104
|
+
exit: _objectSpread(_objectSpread({
|
|
105
|
+
opacity: 0
|
|
106
|
+
}, !isPositioned && !isMobile() && {
|
|
107
|
+
width: 0
|
|
108
|
+
}), {}, {
|
|
102
109
|
transition: {
|
|
103
|
-
duration: 0.
|
|
104
|
-
|
|
110
|
+
duration: 0.5,
|
|
111
|
+
ease: "easeInOut"
|
|
105
112
|
}
|
|
106
|
-
},
|
|
113
|
+
}),
|
|
107
114
|
transition: {
|
|
108
115
|
duration: 0.2
|
|
116
|
+
},
|
|
117
|
+
style: {
|
|
118
|
+
pointerEvents: 'auto'
|
|
109
119
|
}
|
|
110
120
|
}, /*#__PURE__*/React.createElement(motion.div, {
|
|
111
121
|
initial: isFromLeft ? {
|