@mediaradar/design-components 0.41.0 → 0.42.0

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.
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.41.0",
2
+ "version": "0.42.0",
3
3
  "components": [
4
4
  "AISpark",
5
5
  "AdvertiserNoResults",
package/dist/index.cjs CHANGED
@@ -4540,7 +4540,7 @@ function SectionHeading({ title, description, actions, as: Tag2 = "h2", id, clas
4540
4540
  // src/PageHeader.tsx
4541
4541
  var import_lucide_react25 = require("lucide-react");
4542
4542
  var import_jsx_runtime45 = require("react/jsx-runtime");
4543
- function PageHeader({ title, description, actions, back, className }) {
4543
+ function PageHeader({ title, description, actions, meta, back, className }) {
4544
4544
  return /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("header", { className: cn("flex flex-wrap items-center justify-between gap-x-6 gap-y-3", className), children: [
4545
4545
  /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("div", { className: "min-w-0", children: [
4546
4546
  back && /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(
@@ -4555,7 +4555,10 @@ function PageHeader({ title, description, actions, back, className }) {
4555
4555
  ]
4556
4556
  }
4557
4557
  ),
4558
- /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("h1", { className: "text-xl font-semibold tracking-tight text-text-primary", children: title }),
4558
+ meta ? /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("div", { className: "flex flex-wrap items-center gap-x-2.5 gap-y-1", children: [
4559
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("h1", { className: "text-xl font-semibold tracking-tight text-text-primary", children: title }),
4560
+ meta
4561
+ ] }) : /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("h1", { className: "text-xl font-semibold tracking-tight text-text-primary", children: title }),
4559
4562
  description && /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("p", { className: "mt-0.5 max-w-2xl text-sm text-text-secondary", children: description })
4560
4563
  ] }),
4561
4564
  actions && /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", { className: "flex shrink-0 items-center gap-2", children: actions })