@mesh.ai/rabbit 1.12.0 → 1.12.2
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 +21 -23
- package/dist/@mesh.ai/rabbit.umd.js +4 -4
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -3658,21 +3658,21 @@ function lz({ icon: e, count: t, label: n, selected: r = !1, onSelectedChange: o
|
|
|
3658
3658
|
}
|
|
3659
3659
|
) });
|
|
3660
3660
|
}
|
|
3661
|
-
const Ku = H(({ className: e, type: t, ...n }, r) => /* @__PURE__ */ X("div", { className: "rabbit-ds relative font-sans", children: [
|
|
3662
|
-
t === "search" ? /* @__PURE__ */ g("div", { className: "pointer-events-none absolute inset-y-0 left-0 mx-2 my-auto flex h-5 w-5 items-center justify-center p-0.5 text-neutral-400", children: /* @__PURE__ */ g(Ke, { IconSVG: u3 }) }) : null,
|
|
3661
|
+
const Ku = H(({ className: e, type: t, ...n }, r) => /* @__PURE__ */ X("div", { className: "rabbit-ds group relative font-sans", children: [
|
|
3663
3662
|
/* @__PURE__ */ g(
|
|
3664
3663
|
"input",
|
|
3665
3664
|
{
|
|
3666
3665
|
type: t,
|
|
3667
3666
|
className: ge(
|
|
3668
|
-
"text-sm min-w-[224px] w-full h-
|
|
3667
|
+
"peer text-sm min-w-[224px] w-full h-9 px-3 py-2.5 bg-white rounded border border-[#999999] gap-2.5 focus:outline-none hover:outline-none focus:border-primary-focus hover:border-font-primary hover:placeholder:text-font-primary disabled:pointer-events-none disabled:bg-neutral-50 disabled:border-neutral-100 disable:text-neutral-400",
|
|
3669
3668
|
e,
|
|
3670
3669
|
t === "search" ? "pl-8" : ""
|
|
3671
3670
|
),
|
|
3672
3671
|
ref: r,
|
|
3673
3672
|
...n
|
|
3674
3673
|
}
|
|
3675
|
-
)
|
|
3674
|
+
),
|
|
3675
|
+
t === "search" ? /* @__PURE__ */ g("div", { className: "pointer-events-none absolute inset-y-0 left-0 mx-2 my-auto flex h-5 w-5 items-center justify-center p-0.5 text-neutral-400 group-hover:text-[#333333] peer-focus:text-[#333333]", children: /* @__PURE__ */ g(Ke, { IconSVG: u3 }) }) : null
|
|
3676
3676
|
] }));
|
|
3677
3677
|
Ku.displayName = "Input";
|
|
3678
3678
|
Ku.defaultProps = {
|
|
@@ -4778,7 +4778,7 @@ const gg = dg, vg = $A, kA = EA, bg = PA, yg = OA, NA = H(({ children: e, ...t }
|
|
|
4778
4778
|
...n,
|
|
4779
4779
|
className: ge("rabbit-ds flex group items-center bg-transparent", n.className),
|
|
4780
4780
|
children: [
|
|
4781
|
-
t ? /* @__PURE__ */ g(Ke, { "aria-hidden": !0, className: "
|
|
4781
|
+
t ? /* @__PURE__ */ g(Ke, { "aria-hidden": !0, className: "mx-1 group-data-[state=open]:rotate-90", IconSVG: t }) : null,
|
|
4782
4782
|
e
|
|
4783
4783
|
]
|
|
4784
4784
|
}
|
|
@@ -10999,12 +10999,12 @@ const B9 = Qe("", {
|
|
|
10999
10999
|
variants: {
|
|
11000
11000
|
variant: {
|
|
11001
11001
|
primary: ge(
|
|
11002
|
-
"text-font-secondary bg-transparent px-4 py-
|
|
11002
|
+
"text-font-secondary bg-transparent px-4 py-2 text-sm font-semibold",
|
|
11003
11003
|
"data-[state=inactive]:text-font-secondary data-[state=inactive]:border-b-2 data-[state=inactive]:border-transparent",
|
|
11004
11004
|
"data-[state=active]:text-primary-focus data-[state=active]:border-primary-focus data-[state=active]:border-b-2"
|
|
11005
11005
|
),
|
|
11006
11006
|
secondary: ge(
|
|
11007
|
-
"text-font-primary flex bg-[#EBEFF3] px-4 py-
|
|
11007
|
+
"text-font-primary flex bg-[#EBEFF3] px-4 py-2 text-sm font-semibold",
|
|
11008
11008
|
"data-[state=active]:text-primary-focus data-[state=active]:rounded-t-lg data-[state=active]:bg-white data-[state=active]:shadow-[0px_-1px_2px_0px_rgba(0,0,0,0.08)]",
|
|
11009
11009
|
"hover:rounded-t-lg hover:bg-white"
|
|
11010
11010
|
)
|
|
@@ -26381,7 +26381,7 @@ const yB = H((e, t) => /* @__PURE__ */ g(
|
|
|
26381
26381
|
yB.displayName = "LeftNavHome";
|
|
26382
26382
|
const xB = Qe(
|
|
26383
26383
|
[
|
|
26384
|
-
"rabbit-ds relative flex h-14 w-14 items-center justify-center rounded-lg font-sans text-
|
|
26384
|
+
"rabbit-ds relative flex h-14 w-14 items-center justify-center rounded-lg font-sans text-[10px] text-font-secondary transition-colors disabled:pointer-events-none",
|
|
26385
26385
|
"hover:bg-card-bg-hover hover:font-medium hover:text-primary-hover",
|
|
26386
26386
|
"focus:bg-card-bg-focus focus:font-medium focus:text-primary-focus focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2",
|
|
26387
26387
|
"active:bg-card-bg-focus active:font-medium active:text-primary-focus",
|
|
@@ -26436,29 +26436,27 @@ const xB = Qe(
|
|
|
26436
26436
|
) })
|
|
26437
26437
|
);
|
|
26438
26438
|
AB.displayName = "LeftNavButton";
|
|
26439
|
-
const CB = Qe(
|
|
26440
|
-
|
|
26441
|
-
|
|
26442
|
-
|
|
26443
|
-
|
|
26439
|
+
const CB = Qe(
|
|
26440
|
+
"cursor-pointer border border-solid border-[#CFD7DF] bg-[#F5F7F9] px-1 py-[2px] text-primary transition-all hover:border-primary-hover hover:bg-primary-hover hover:text-white",
|
|
26441
|
+
{
|
|
26442
|
+
variants: {
|
|
26443
|
+
variant: {
|
|
26444
|
+
default: "rounded-l-full border-r-0",
|
|
26445
|
+
collapsed: "rounded-r-full border-l-0"
|
|
26446
|
+
}
|
|
26447
|
+
},
|
|
26448
|
+
defaultVariants: {
|
|
26449
|
+
variant: "default"
|
|
26444
26450
|
}
|
|
26445
|
-
},
|
|
26446
|
-
defaultVariants: {
|
|
26447
|
-
variant: "default"
|
|
26448
26451
|
}
|
|
26449
|
-
|
|
26452
|
+
);
|
|
26450
26453
|
function SB({ className: e, isCollapsed: t, ...n }) {
|
|
26451
26454
|
return /* @__PURE__ */ g(
|
|
26452
26455
|
"button",
|
|
26453
26456
|
{
|
|
26454
26457
|
"data-deer-btn": !0,
|
|
26455
26458
|
type: "button",
|
|
26456
|
-
className: ge(
|
|
26457
|
-
CB({ variant: t ? "collapsed" : "default" }),
|
|
26458
|
-
"bg-accent cursor-pointer text-primary border border-solid border-[#CFD7DF] px-2 transition-all",
|
|
26459
|
-
"hover:text-white hover:bg-primary-hover hover:border-primary-hover",
|
|
26460
|
-
e
|
|
26461
|
-
),
|
|
26459
|
+
className: ge(CB({ variant: t ? "collapsed" : "default" }), e),
|
|
26462
26460
|
...n,
|
|
26463
26461
|
children: /* @__PURE__ */ g(Ke, { IconSVG: a3, className: t ? "rotate-180" : "" })
|
|
26464
26462
|
}
|