@mesh.ai/rabbit 1.52.0 → 1.54.1
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 +18 -15
- package/dist/@mesh.ai/rabbit.umd.js +3 -3
- package/dist/index.d.ts +6 -3
- package/package.json +1 -1
|
@@ -5639,6 +5639,7 @@ const d_ = (e) => e.charAt(0).toUpperCase() + e.slice(1), h_ = (e) => typeof e =
|
|
|
5639
5639
|
"x-small": 12,
|
|
5640
5640
|
small: 16,
|
|
5641
5641
|
default: 20,
|
|
5642
|
+
medium: 24,
|
|
5642
5643
|
large: 28,
|
|
5643
5644
|
"x-large": 48
|
|
5644
5645
|
}
|
|
@@ -7376,23 +7377,24 @@ function A8(e) {
|
|
|
7376
7377
|
}
|
|
7377
7378
|
var M8 = h8, S8 = v8, uO = b8, _8 = w8, P8 = C8;
|
|
7378
7379
|
const cO = ue(({ children: e, ...t }, n) => /* @__PURE__ */ f(M8, { ref: n, ...t, className: J("rabbit-ds", t.className), children: e })), fO = ue(({ children: e, ...t }, n) => /* @__PURE__ */ f(S8, { ref: n, ...t, className: J("rabbit-ds", t.className), children: e })), dO = ue(
|
|
7379
|
-
({ children: e, icon: t = b_,
|
|
7380
|
+
({ children: e, icon: t = b_, iconSize: n = "default", iconClassName: r, asChild: o, ...a }, i) => /* @__PURE__ */ f(uO, { className: "flex", children: /* @__PURE__ */ f(
|
|
7380
7381
|
_8,
|
|
7381
7382
|
{
|
|
7382
|
-
ref:
|
|
7383
|
-
asChild:
|
|
7384
|
-
...
|
|
7385
|
-
className:
|
|
7386
|
-
children:
|
|
7383
|
+
ref: i,
|
|
7384
|
+
asChild: o,
|
|
7385
|
+
...a,
|
|
7386
|
+
className: o ? a.className : J("rabbit-ds accordion-trigger group flex items-center bg-transparent", a.className),
|
|
7387
|
+
children: o ? e : /* @__PURE__ */ B(Ft, { children: [
|
|
7387
7388
|
t ? /* @__PURE__ */ f(
|
|
7388
7389
|
Ae,
|
|
7389
7390
|
{
|
|
7390
7391
|
"aria-hidden": !0,
|
|
7391
7392
|
className: J(
|
|
7392
|
-
"accordion-chevron
|
|
7393
|
-
|
|
7393
|
+
"accordion-chevron mr-2 group-data-[state=open]:rotate-90",
|
|
7394
|
+
r === "" ? void 0 : r ?? "text-button-tertiary-active"
|
|
7394
7395
|
),
|
|
7395
|
-
IconSVG: t
|
|
7396
|
+
IconSVG: t,
|
|
7397
|
+
size: n
|
|
7396
7398
|
}
|
|
7397
7399
|
) : null,
|
|
7398
7400
|
e
|
|
@@ -7405,8 +7407,8 @@ const cO = ue(({ children: e, ...t }, n) => /* @__PURE__ */ f(M8, { ref: n, ...t
|
|
|
7405
7407
|
ref: n,
|
|
7406
7408
|
...t,
|
|
7407
7409
|
"data-rabbit-accordion-content": !0,
|
|
7408
|
-
className: J("rabbit-ds", t.className),
|
|
7409
|
-
children:
|
|
7410
|
+
className: J("rabbit-ds", "pl-8", t.className),
|
|
7411
|
+
children: e
|
|
7410
7412
|
}
|
|
7411
7413
|
));
|
|
7412
7414
|
cO.displayName = M8.displayName;
|
|
@@ -13644,15 +13646,16 @@ function mD(e, t) {
|
|
|
13644
13646
|
return e.map((n, r) => e[(t + r) % e.length]);
|
|
13645
13647
|
}
|
|
13646
13648
|
var gD = yw, Vw = ww, vD = Cw, yD = Aw, bD = Mw, Yw = Sw, wD = Tw, xD = Nw, Gw = kw, $w = Fw, CD = Iw, AD = Bw, Xw = qw;
|
|
13647
|
-
const wZ = gD, xZ = xD, CZ = vD, MD = ue(({ className: e, children: t,
|
|
13649
|
+
const wZ = gD, xZ = xD, CZ = vD, MD = ue(({ className: e, children: t, isError: n = !1, ...r }, o) => /* @__PURE__ */ f("div", { className: "rabbit-ds", children: /* @__PURE__ */ B(
|
|
13648
13650
|
Vw,
|
|
13649
13651
|
{
|
|
13650
|
-
ref:
|
|
13652
|
+
ref: o,
|
|
13651
13653
|
className: J(
|
|
13652
|
-
"rabbit-ds group inline-flex h-10 items-center justify-between gap-2 rounded-t border-b
|
|
13654
|
+
"rabbit-ds group inline-flex h-10 items-center justify-between gap-2 rounded-t border-b bg-transparent py-2.5 text-sm focus:outline-none disabled:cursor-not-allowed disabled:opacity-50",
|
|
13655
|
+
n ? "border-solid border-[#C62C02]" : "border-dashed border-field-default hover:border-solid hover:border-field-hover focus:border-solid focus:border-primary-focus data-[state=open]:border-solid data-[state=open]:border-primary-focus",
|
|
13653
13656
|
e
|
|
13654
13657
|
),
|
|
13655
|
-
...
|
|
13658
|
+
...r,
|
|
13656
13659
|
children: [
|
|
13657
13660
|
t,
|
|
13658
13661
|
/* @__PURE__ */ f(yD, { asChild: !0, children: /* @__PURE__ */ f(
|