@skalar-saas/design-system 0.2.10 → 0.2.11

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.
@@ -671,7 +671,7 @@ function XH(e) {
671
671
  return {
672
672
  ...y,
673
673
  [C]: y[C].map(
674
- (R) => R.id === m ? { ...R, open: !1 } : R
674
+ (R) => R.id === m ? { ...R, exiting: !0, inCloseZone: !1 } : R
675
675
  )
676
676
  };
677
677
  const b = C === "left" ? "right" : "left", S = a.get(m), O = typeof window < "u" ? window.innerWidth : 1920, _ = S ? mh(S.defaultWidth, O) : 20, k = y[b].filter((R) => R.open).reduce((R, q) => R + q.width, 0), j = y[C].filter((R) => R.open && R.id !== m), T = j.reduce((R, q) => R + q.width, 0), I = 100 - k - Fe.minCentralPercent;
@@ -781,12 +781,12 @@ function XH(e) {
781
781
  }, [a]), h = we((m) => {
782
782
  o((y) => {
783
783
  const x = hr(y, m);
784
- if (!x || !x.panel.open) return y;
784
+ if (!x || !x.panel.open || x.panel.exiting) return y;
785
785
  const { side: C } = x;
786
786
  return {
787
787
  ...y,
788
788
  [C]: y[C].map(
789
- (N) => N.id === m ? { ...N, open: !1, exiting: !1, inCloseZone: !1 } : N
789
+ (N) => N.id === m ? { ...N, exiting: !0, inCloseZone: !1 } : N
790
790
  )
791
791
  };
792
792
  });
@@ -4930,7 +4930,7 @@ const h4 = {
4930
4930
  )
4931
4931
  ] }) })
4932
4932
  }
4933
- ), w4 = A.lazy(() => import("./index-dQP6U3pe.js")), tg = ({ children: e }) => /* @__PURE__ */ s(i6, { fallback: /* @__PURE__ */ s("span", { children: e }), children: /* @__PURE__ */ s(w4, { children: e }) }), C4 = A.memo(({
4933
+ ), w4 = A.lazy(() => import("./index-DEgh61KW.js")), tg = ({ children: e }) => /* @__PURE__ */ s(i6, { fallback: /* @__PURE__ */ s("span", { children: e }), children: /* @__PURE__ */ s(w4, { children: e }) }), C4 = A.memo(({
4934
4934
  messages: e,
4935
4935
  showTypingIndicator: t = !1,
4936
4936
  children: r,
@@ -39199,4 +39199,4 @@ export {
39199
39199
  uO as y,
39200
39200
  jr as z
39201
39201
  };
39202
- //# sourceMappingURL=index-BJMowV1_.js.map
39202
+ //# sourceMappingURL=index-BOcvtLo7.js.map