@mesh.ai/rabbit 1.0.0 → 1.0.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.
@@ -3812,7 +3812,7 @@ const rx = Up, ox = tt(
3812
3812
  asChild: a = !1,
3813
3813
  children: s,
3814
3814
  ...c
3815
- }, l) => /* @__PURE__ */ $("div", { className: "rabbit-ds", children: /* @__PURE__ */ re(a ? mn : "button", { className: $e(ox({ variant: t, className: e, size: i, status: o })), ref: l, ...c, children: [
3815
+ }, l) => /* @__PURE__ */ $("div", { className: "rabbit-ds", children: /* @__PURE__ */ re(a ? mn : "button", { "data-deer-btn": !0, className: $e(ox({ variant: t, className: e, size: i, status: o })), ref: l, ...c, children: [
3816
3816
  n ? /* @__PURE__ */ $("div", { className: $e(Nd({ size: i })), children: n }) : null,
3817
3817
  s,
3818
3818
  r ? /* @__PURE__ */ $("div", { className: $e(Nd({ size: i })), children: r }) : null
@@ -8416,19 +8416,29 @@ const ZS = tt(
8416
8416
  variant: "default"
8417
8417
  }
8418
8418
  }), JS = X(
8419
- ({ className: e, variant: t, badgeText: n, icon: r, iconSize: o, asChild: i = !1, isActive: a = !1, children: s, ...c }, l) => /* @__PURE__ */ $("div", { className: "rabbit-ds", children: /* @__PURE__ */ re(i ? mn : "button", { className: $e(ZS({ variant: t, className: e })), ref: l, "data-active": a, ...c, children: [
8420
- /* @__PURE__ */ re("div", { className: "flex flex-col items-center", children: [
8421
- /* @__PURE__ */ re("div", { className: "relative flex items-center justify-center", children: [
8422
- /* @__PURE__ */ $(oo, { IconSVG: r }),
8423
- t === "withNotification" && /* @__PURE__ */ re("div", { className: "bg-functional-warn flex items-center justify-center h-5 w-6 text-xs rounded-xl absolute left-3 text-white px-2", children: [
8424
- /* @__PURE__ */ $("span", { className: "sr-only", children: "Notification" }),
8425
- n
8426
- ] })
8427
- ] }),
8428
- /* @__PURE__ */ $("div", { className: $e(QS({ variant: t === "gradient" ? t : "default" })), children: s })
8429
- ] }),
8430
- t === "withMenu" && /* @__PURE__ */ $("div", { className: "flex items-center justify-center absolute right-0 w-3 h-14", children: /* @__PURE__ */ $(Iy, { height: "14px", width: "14px" }) })
8431
- ] }) })
8419
+ ({ className: e, variant: t, badgeText: n, icon: r, iconSize: o, asChild: i = !1, isActive: a = !1, children: s, ...c }, l) => /* @__PURE__ */ $("div", { className: "rabbit-ds", children: /* @__PURE__ */ re(
8420
+ i ? mn : "button",
8421
+ {
8422
+ "data-deer-btn": !0,
8423
+ className: $e(ZS({ variant: t, className: e })),
8424
+ ref: l,
8425
+ "data-active": a,
8426
+ ...c,
8427
+ children: [
8428
+ /* @__PURE__ */ re("div", { className: "flex flex-col items-center", children: [
8429
+ /* @__PURE__ */ re("div", { className: "relative flex items-center justify-center", children: [
8430
+ /* @__PURE__ */ $(oo, { IconSVG: r }),
8431
+ t === "withNotification" && /* @__PURE__ */ re("div", { className: "bg-functional-warn flex items-center justify-center h-5 w-6 text-xs rounded-xl absolute left-3 text-white px-2", children: [
8432
+ /* @__PURE__ */ $("span", { className: "sr-only", children: "Notification" }),
8433
+ n
8434
+ ] })
8435
+ ] }),
8436
+ /* @__PURE__ */ $("div", { className: $e(QS({ variant: t === "gradient" ? t : "default" })), children: s })
8437
+ ] }),
8438
+ t === "withMenu" && /* @__PURE__ */ $("div", { className: "flex items-center justify-center absolute right-0 w-3 h-14", children: /* @__PURE__ */ $(Iy, { height: "14px", width: "14px" }) })
8439
+ ]
8440
+ }
8441
+ ) })
8432
8442
  );
8433
8443
  JS.displayName = "NavButton";
8434
8444
  const w0 = en({}), e3 = () => qe(w0);
@@ -8437,6 +8447,7 @@ function t3({ isActive: e, isDisabled: t, className: n, children: r, ...o }) {
8437
8447
  return /* @__PURE__ */ $(w0.Provider, { value: i, children: /* @__PURE__ */ $("div", { className: "rabbit-ds", children: /* @__PURE__ */ $(
8438
8448
  "button",
8439
8449
  {
8450
+ "data-deer-btn": !0,
8440
8451
  className: $e(
8441
8452
  "flex items-center px-3 py-1 gap-2 text-dark-medium w-full cursor-pointer rounded-lg",
8442
8453
  "hover:text-card-text-hover",
@@ -19949,6 +19960,7 @@ function W_({
19949
19960
  return /* @__PURE__ */ $(Dk, { asChild: !0, value: e, ...a, children: /* @__PURE__ */ $(
19950
19961
  "button",
19951
19962
  {
19963
+ "data-deer-btn": !0,
19952
19964
  type: "button",
19953
19965
  className: $e(
19954
19966
  "rabbit-ds h-7 flex-col w-auto p-0 border border-solid rounded-full justify-center items-center inline-flex hover:cursor-pointer focus:outline-1 focus:outline-offset-2",
@@ -20249,6 +20261,7 @@ function Xk({ className: e, isCollapsed: t, ...n }) {
20249
20261
  return /* @__PURE__ */ $(
20250
20262
  "button",
20251
20263
  {
20264
+ "data-deer-btn": !0,
20252
20265
  type: "button",
20253
20266
  className: $e(
20254
20267
  Kk({ variant: t ? "collapsed" : "default" }),