@danxbot/ui 15.6.0 → 15.6.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/index.js CHANGED
@@ -37100,9 +37100,24 @@ const uN = [
37100
37100
  placement: {
37101
37101
  corner: { media: "size-9" },
37102
37102
  cover: { media: "aspect-video w-full" }
37103
+ },
37104
+ /**
37105
+ * DX-3621 — `RecordCardTitle`'s own text size, independent of `as` (the
37106
+ * heading LEVEL). Before this variant the title carried no explicit
37107
+ * `text-*` class at all, so its rendered size was whatever the browser's
37108
+ * UA default for the chosen heading level happened to be — a kanban board
37109
+ * lane of `h4` titles rendering at UA default size, not a deliberate one.
37110
+ * `md` (default) pins that same visual size explicitly rather than
37111
+ * changing it out from under existing consumers; `sm` is for a dense
37112
+ * listing (a kanban lane, a compact picker row) where several of these
37113
+ * stack in view together.
37114
+ */
37115
+ size: {
37116
+ sm: { title: "text-sm" },
37117
+ md: { title: "text-base" }
37103
37118
  }
37104
37119
  },
37105
- defaultVariants: { placement: "corner" }
37120
+ defaultVariants: { placement: "corner", size: "md" }
37106
37121
  });
37107
37122
  function CK({
37108
37123
  identifier: e,
@@ -37164,9 +37179,9 @@ function SK({ className: e, children: t, ref: n }) {
37164
37179
  const r = wi();
37165
37180
  return /* @__PURE__ */ d("span", { ref: n, className: U(r.eyebrow(), e), children: t });
37166
37181
  }
37167
- function kK({ as: e = "h3", className: t, children: n, ref: r }) {
37168
- const o = wi();
37169
- return /* @__PURE__ */ d(e, { ref: r, className: U(o.title(), t), children: n });
37182
+ function kK({ as: e = "h3", size: t = "md", className: n, children: r, ref: o }) {
37183
+ const s = wi({ size: t });
37184
+ return /* @__PURE__ */ d(e, { ref: o, className: U(s.title(), n), children: r });
37170
37185
  }
37171
37186
  function RK({ className: e, children: t, ref: n }) {
37172
37187
  const r = wi();