@danxbot/ui 15.32.1 → 15.32.3

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/index.js CHANGED
@@ -48279,7 +48279,7 @@ function uX({ onOpenUseCaseLedger: e, showSimControls: t = !0 } = {}) {
48279
48279
  ]
48280
48280
  }
48281
48281
  ),
48282
- children: /* @__PURE__ */ M("div", { className: "flex w-72 flex-col gap-4", children: [
48282
+ children: /* @__PURE__ */ M("div", { "data-dev-tools-panel": "", className: "flex w-full min-w-0 flex-col gap-4", children: [
48283
48283
  /* @__PURE__ */ M("div", { className: "flex flex-col gap-2", children: [
48284
48284
  /* @__PURE__ */ d("span", { className: "text-2xs font-semibold tracking-widest text-tertiary uppercase", children: "View as" }),
48285
48285
  /* @__PURE__ */ d(
@@ -54482,7 +54482,21 @@ function P0(e) {
54482
54482
  };
54483
54483
  }
54484
54484
  function RW({ node: e, context: t }) {
54485
- const { role: n, compact: r, active: o, selected: s, labelPlacement: i } = t, a = n === "center", c = n === "parent", l = a || o || s, u = a || s;
54485
+ const { role: n, compact: r, active: o, selected: s, labelPlacement: i } = t, a = n === "center", c = n === "parent", l = a || o || s, u = a || s, p = /* @__PURE__ */ d(
54486
+ "span",
54487
+ {
54488
+ className: B(
54489
+ "font-semibold",
54490
+ c ? "whitespace-nowrap text-secondary group-hover:text-primary" : "text-center text-balance",
54491
+ r ? "text-2xs" : "text-xs",
54492
+ u && "rounded-full border border-(--fw-pill-edge) bg-(--fw-pill) px-2.5 py-0.5 text-(--fw-pill-text) shadow-sm",
54493
+ a && (r ? "max-w-32" : "max-w-72"),
54494
+ n === "ring" && (r ? "max-w-20" : "max-w-32"),
54495
+ n === "ring" && !u && (o ? "text-primary" : "text-secondary")
54496
+ ),
54497
+ children: e.label
54498
+ }
54499
+ );
54486
54500
  return /* @__PURE__ */ M(
54487
54501
  "span",
54488
54502
  {
@@ -54524,22 +54538,10 @@ function RW({ node: e, context: t }) {
54524
54538
  ]
54525
54539
  }
54526
54540
  ),
54527
- /* @__PURE__ */ d(
54528
- "span",
54529
- {
54530
- className: B(
54531
- "font-semibold",
54532
- c ? "whitespace-nowrap text-secondary group-hover:text-primary" : "text-center text-balance",
54533
- r ? "text-2xs" : "text-xs",
54534
- u && "rounded-full border border-(--fw-pill-edge) bg-(--fw-pill) px-2.5 py-0.5 text-(--fw-pill-text) shadow-sm",
54535
- a && (r ? "max-w-32" : "max-w-72"),
54536
- n === "ring" && (r ? "max-w-20" : "max-w-32"),
54537
- n === "ring" && !u && (o ? "text-primary" : "text-secondary")
54538
- ),
54539
- children: e.label
54540
- }
54541
- ),
54542
- e.badge && c && /* @__PURE__ */ d("span", { "data-slot": "focus-web-badge", className: "flex items-center gap-0.5", children: e.badge }),
54541
+ e.badge && c ? /* @__PURE__ */ M("span", { className: "flex flex-col items-start gap-0.5", children: [
54542
+ p,
54543
+ /* @__PURE__ */ d("span", { "data-slot": "focus-web-badge", className: "flex items-center gap-0.5", children: e.badge })
54544
+ ] }) : p,
54543
54545
  e.badge && e.badgeLabel && /* @__PURE__ */ d("span", { className: "sr-only", children: e.badgeLabel })
54544
54546
  ]
54545
54547
  }