@danxbot/ui 3.4.1 → 3.4.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
@@ -26962,7 +26962,18 @@ const Dm = Rt({
26962
26962
  "[--radius-outer:var(--radius-xl)]",
26963
26963
  "transition-[var(--tx-colors),box-shadow,translate] duration-(--dur-fast) ease-hover"
26964
26964
  ],
26965
- header: "flex items-start gap-4",
26965
+ /* WRAPPING IS NOT COSMETIC HERE — IT IS WHAT STOPS THE TITLE VANISHING.
26966
+
26967
+ This row pairs a text column that can shrink with an `action` the
26968
+ consumer supplies and this component cannot size. Without `flex-wrap`
26969
+ the column is the only item that gives, so a wide action does not push
26970
+ the title along, it erases it: reported at 0px against a 65px
26971
+ min-content in a 247px row, present in the DOM and invisible on screen.
26972
+
26973
+ Not an overflow — the opposite — so no `scrollWidth` gate in this package
26974
+ could ever have seen it. `probe-card-header.mjs` now measures it, and
26975
+ sweeps every element on three routes for the same shape. */
26976
+ header: "flex flex-wrap items-start gap-4",
26966
26977
  title: "font-display font-semibold text-primary text-balance",
26967
26978
  description: "text-sm text-secondary text-pretty",
26968
26979
  body: "min-w-0 flex-1",
@@ -27055,7 +27066,7 @@ function rC({
27055
27066
  const i = Dm();
27056
27067
  return /* @__PURE__ */ M("div", { className: K(i.header(), s), children: [
27057
27068
  r,
27058
- /* @__PURE__ */ M("div", { className: "flex min-w-0 flex-1 flex-col gap-1", children: [
27069
+ /* @__PURE__ */ M("div", { className: K("flex flex-1 flex-col gap-1", n ? void 0 : "min-w-0"), children: [
27059
27070
  e && /* @__PURE__ */ p(o, { className: K(i.title(), "text-md"), children: e }),
27060
27071
  t && /* @__PURE__ */ p("p", { className: i.description(), children: t })
27061
27072
  ] }),
@@ -27073,7 +27084,7 @@ const rD = Rt({
27073
27084
  "[--radius-outer:var(--radius-lg)]",
27074
27085
  "transition-[var(--tx-colors),box-shadow,translate] duration-(--dur-fast) ease-hover"
27075
27086
  ],
27076
- top: "flex min-w-0 items-start gap-2",
27087
+ top: "flex min-w-0 flex-wrap items-start gap-2",
27077
27088
  identifier: "font-mono text-2xs text-tertiary",
27078
27089
  title: "text-sm font-medium text-primary text-pretty",
27079
27090
  subtitle: "text-2xs text-tertiary text-pretty",
@@ -27154,7 +27165,7 @@ function H3({
27154
27165
  children: /* @__PURE__ */ M(dt, { children: [
27155
27166
  /* @__PURE__ */ M("div", { className: x.top(), children: [
27156
27167
  s,
27157
- /* @__PURE__ */ M("div", { className: "flex min-w-0 flex-1 flex-col gap-0.5", children: [
27168
+ /* @__PURE__ */ M("div", { className: K("flex flex-1 flex-col gap-0.5", i ? void 0 : "min-w-0"), children: [
27158
27169
  e != null && /* @__PURE__ */ p("span", { className: x.identifier(), children: e }),
27159
27170
  /* @__PURE__ */ p("span", { className: x.title(), children: t }),
27160
27171
  n != null && /* @__PURE__ */ p("span", { className: x.subtitle(), children: n })