@livechat/design-system-react-components 2.25.0 → 2.26.0
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
CHANGED
|
@@ -9498,7 +9498,7 @@ const ft = {
|
|
|
9498
9498
|
cursorTiming: o = "fast2",
|
|
9499
9499
|
parentElementName: _,
|
|
9500
9500
|
isVisible: l = !1,
|
|
9501
|
-
|
|
9501
|
+
elementClassName: i,
|
|
9502
9502
|
zIndex: n,
|
|
9503
9503
|
isFirstStep: s,
|
|
9504
9504
|
isLastStep: u
|
|
@@ -9531,12 +9531,12 @@ const ft = {
|
|
|
9531
9531
|
if (c && g.current) {
|
|
9532
9532
|
g.current.innerHTML = "";
|
|
9533
9533
|
const x = c.cloneNode(!0);
|
|
9534
|
-
|
|
9534
|
+
i && (x.className += ` ${i}`), g.current.appendChild(x);
|
|
9535
9535
|
}
|
|
9536
9536
|
return () => {
|
|
9537
9537
|
g.current && (g.current.innerHTML = "");
|
|
9538
9538
|
};
|
|
9539
|
-
}, [c, g.current]), V(() => (l ? document.body.classList.add("user-guide-visible") : document.body.classList.remove("user-guide-visible"), () => {
|
|
9539
|
+
}, [c, g.current, i]), V(() => (l ? document.body.classList.add("user-guide-visible") : document.body.classList.remove("user-guide-visible"), () => {
|
|
9540
9540
|
document.body.classList.remove("user-guide-visible");
|
|
9541
9541
|
}), [l]);
|
|
9542
9542
|
const I = () => m ? /* @__PURE__ */ t(
|
|
@@ -9740,15 +9740,16 @@ const ft = {
|
|
|
9740
9740
|
stepMax: l,
|
|
9741
9741
|
typingAnimation: i = !1,
|
|
9742
9742
|
handleCloseAction: n,
|
|
9743
|
-
handleClickPrimary: s
|
|
9743
|
+
handleClickPrimary: s,
|
|
9744
|
+
className: u
|
|
9744
9745
|
}) => {
|
|
9745
|
-
const [
|
|
9746
|
+
const [c, p] = ce(!1);
|
|
9746
9747
|
return V(() => {
|
|
9747
9748
|
if (n)
|
|
9748
9749
|
return document.addEventListener("keydown", n), () => {
|
|
9749
9750
|
document.removeEventListener("keydown", n);
|
|
9750
9751
|
};
|
|
9751
|
-
}, [n]), /* @__PURE__ */ h("div", { className: d("lc-light-theme", ot[`${_t}`]), children: [
|
|
9752
|
+
}, [n]), /* @__PURE__ */ h("div", { className: d("lc-light-theme", ot[`${_t}`], u), children: [
|
|
9752
9753
|
/* @__PURE__ */ h("span", { className: ot[`${_t}__heading`], children: [
|
|
9753
9754
|
/* @__PURE__ */ t(M, { size: "large", source: y_ }),
|
|
9754
9755
|
/* @__PURE__ */ t(O, { size: "lg", bold: !0, as: "span", children: e })
|
|
@@ -9785,12 +9786,12 @@ const ft = {
|
|
|
9785
9786
|
{
|
|
9786
9787
|
text: a,
|
|
9787
9788
|
typingAnimation: i,
|
|
9788
|
-
onTypingEnd: () =>
|
|
9789
|
+
onTypingEnd: () => p(!0)
|
|
9789
9790
|
}
|
|
9790
9791
|
)
|
|
9791
9792
|
}
|
|
9792
9793
|
),
|
|
9793
|
-
|
|
9794
|
+
c && /* @__PURE__ */ h("div", { className: ot[`${_t}__footer`], children: [
|
|
9794
9795
|
/* @__PURE__ */ t(
|
|
9795
9796
|
z,
|
|
9796
9797
|
{
|