@livechat/design-system-react-components 2.5.4 → 2.5.5
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.cjs +1 -1
- package/dist/index.js +8 -3
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -542,9 +542,14 @@ const os = (e) => e === "dark" ? Dt.Dark : Dt.Light, M_ = uo(void 0), ns = () =>
|
|
|
542
542
|
const [r, _] = g.useState(e), [o, n] = g.useState(e), [i, c] = g.useState(e), s = () => _(!1);
|
|
543
543
|
return g.useEffect(() => {
|
|
544
544
|
const l = a.current;
|
|
545
|
-
if (!i && l
|
|
546
|
-
|
|
547
|
-
|
|
545
|
+
if (!i && l)
|
|
546
|
+
return l.addEventListener("transitionend", s), n(!1), () => {
|
|
547
|
+
l.removeEventListener(
|
|
548
|
+
"transitionend",
|
|
549
|
+
s
|
|
550
|
+
);
|
|
551
|
+
};
|
|
552
|
+
if (i) {
|
|
548
553
|
_(!0), requestAnimationFrame(() => n(!0));
|
|
549
554
|
return;
|
|
550
555
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@livechat/design-system-react-components",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.5",
|
|
4
4
|
"description": "",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -86,5 +86,5 @@
|
|
|
86
86
|
"react-transition-group": "^4.4.2",
|
|
87
87
|
"react-virtuoso": "^4.7.11"
|
|
88
88
|
},
|
|
89
|
-
"gitHead": "
|
|
89
|
+
"gitHead": "82f40359e5aac80547c96f657471496fc2acaba9"
|
|
90
90
|
}
|