@mesh.ai/rabbit 1.43.2 → 1.44.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/@mesh.ai/rabbit.es.js +12 -11
- package/dist/@mesh.ai/rabbit.umd.js +2 -2
- package/dist/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -13447,7 +13447,7 @@ const oD = ue(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ B(
|
|
|
13447
13447
|
),
|
|
13448
13448
|
...n,
|
|
13449
13449
|
children: [
|
|
13450
|
-
/* @__PURE__ */ f("span", { className: "absolute right-2 flex size-4 items-center justify-center", children: /* @__PURE__ */ f(eD, { children: /* @__PURE__ */ f(Ce, { IconSVG: Ic, className: "text-focus" }) }) }),
|
|
13450
|
+
/* @__PURE__ */ f("span", { className: "absolute right-2 flex size-4 items-center justify-center", children: /* @__PURE__ */ f(eD, { children: /* @__PURE__ */ f(Ce, { IconSVG: Ic, className: "text-focus", size: "small" }) }) }),
|
|
13451
13451
|
/* @__PURE__ */ f(Jk, { children: t })
|
|
13452
13452
|
]
|
|
13453
13453
|
}
|
|
@@ -36751,26 +36751,27 @@ function dK({ ...e }) {
|
|
|
36751
36751
|
);
|
|
36752
36752
|
}
|
|
36753
36753
|
function kZ(e) {
|
|
36754
|
-
const { children: t, defaultOpen: n = !1, showCollapseButton: r = !0 } = e,
|
|
36755
|
-
|
|
36756
|
-
}, []),
|
|
36757
|
-
() => ({ isOpen:
|
|
36758
|
-
[
|
|
36754
|
+
const { children: t, defaultOpen: n = !1, showCollapseButton: r = !0, isNetchexStyle: o = !1 } = e, a = e.open !== void 0, [i, s] = Ye(n), l = ye(() => {
|
|
36755
|
+
s((h) => !h);
|
|
36756
|
+
}, []), u = a ? e.open : i, c = a ? e.onToggle : l, d = fe(
|
|
36757
|
+
() => ({ isOpen: u, toggleOpen: c }),
|
|
36758
|
+
[u, c]
|
|
36759
36759
|
);
|
|
36760
|
-
return /* @__PURE__ */ f(qM.Provider, { value:
|
|
36760
|
+
return /* @__PURE__ */ f(qM.Provider, { value: d, children: /* @__PURE__ */ B(
|
|
36761
36761
|
"div",
|
|
36762
36762
|
{
|
|
36763
36763
|
className: J(
|
|
36764
36764
|
"rabbit-ds relative h-screen transition-all",
|
|
36765
|
-
|
|
36766
|
-
"shadow-[-8px_-2px_8px_0px_rgba(0,0,0,0.08)_inset]"
|
|
36765
|
+
u ? "w-full" : "w-0",
|
|
36766
|
+
o ? "" : "shadow-[-8px_-2px_8px_0px_rgba(0,0,0,0.08)_inset]"
|
|
36767
36767
|
),
|
|
36768
36768
|
style: {
|
|
36769
|
-
background: "linear-gradient(273deg, #E7EFF1 0%, #EEF5F8 11%, #EFFAFE 100%)"
|
|
36769
|
+
background: o ? "#f9fafb" : "linear-gradient(273deg, #E7EFF1 0%, #EEF5F8 11%, #EFFAFE 100%)",
|
|
36770
|
+
borderRight: o && u ? "1px solid #e5e7eb" : "none"
|
|
36770
36771
|
},
|
|
36771
36772
|
children: [
|
|
36772
36773
|
r && /* @__PURE__ */ f(dK, {}),
|
|
36773
|
-
/* @__PURE__ */ f("div", { className:
|
|
36774
|
+
/* @__PURE__ */ f("div", { className: u ? "h-full p-5" : "invisible size-0 scale-0 overflow-hidden opacity-0", children: t })
|
|
36774
36775
|
]
|
|
36775
36776
|
}
|
|
36776
36777
|
) });
|