@burdenoff/microfe-atheletebridge 2026.1128.1 → 2026.1128.2

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.
@@ -7,11 +7,11 @@ var a = ({ title: a, description: o, actions: s, children: c, className: l, hero
7
7
  return /* @__PURE__ */ n("div", {
8
8
  className: e("flex flex-col h-full", l),
9
9
  children: [/* @__PURE__ */ n("div", {
10
- className: e("relative overflow-hidden flex items-center justify-between gap-4 px-6 py-4", "border-b border-border-seam bg-bg-surface"),
10
+ className: e("relative overflow-hidden flex flex-col items-start gap-4 px-6 py-4", "sm:flex-row sm:items-center sm:justify-between", "border-b border-border-seam bg-bg-surface"),
11
11
  children: [
12
12
  u && /* @__PURE__ */ t(r, { intensity: "subtle" }),
13
13
  /* @__PURE__ */ n("div", {
14
- className: "min-w-0",
14
+ className: "min-w-0 max-w-full",
15
15
  children: [/* @__PURE__ */ t("h1", {
16
16
  className: "text-2xl font-semibold tracking-tight text-text-primary truncate",
17
17
  children: f
@@ -21,7 +21,7 @@ var a = ({ title: a, description: o, actions: s, children: c, className: l, hero
21
21
  })]
22
22
  }),
23
23
  s && /* @__PURE__ */ t("div", {
24
- className: "flex items-center gap-2 shrink-0",
24
+ className: "flex flex-wrap items-center gap-2 sm:shrink-0",
25
25
  children: s
26
26
  })
27
27
  ]
@@ -1 +1 @@
1
- {"version":3,"file":"PageLayout.js","names":["PageLayout","renderedTitle","gradientTitle","title","GradientText","cn","className","hero","AuroraBackground","description","actions"],"sources":["../../../src/atheletebridge/components/PageLayout.tsx"],"sourcesContent":["/**\n * Page Layout Component\n * @module atheletebridge/components\n *\n * Boff UI 2.0: glassmorphic seam-bordered page header with an optional\n * living aurora backdrop (one per MFE — opt in via `hero`) and a gradient\n * hero title (`gradientTitle`). The backdrop is decorative, sits behind\n * content (-z-10) and never moves layout. Reduced-motion safe.\n */\n\nimport type { FC, ReactNode } from 'react';\nimport { AuroraBackground, GradientText } from '@burdenoff/fe-libs/ui';\nimport { cn } from '../utils/cn';\n\ninterface PageLayoutProps {\n title: ReactNode;\n description?: string;\n actions?: ReactNode;\n children: ReactNode;\n className?: string;\n /**\n * Render the living aurora backdrop behind the header. Use on exactly ONE\n * primary page per MFE (the root dashboard).\n */\n hero?: boolean;\n /**\n * When `title` is a string, wrap it in a subtle brand gradient (the ONE\n * hero heading per page). Ignored when `title` is a node.\n */\n gradientTitle?: boolean;\n}\n\nexport const PageLayout: FC<PageLayoutProps> = ({\n title,\n description,\n actions,\n children,\n className,\n hero = false,\n gradientTitle = false,\n}) => {\n const renderedTitle =\n gradientTitle && typeof title === 'string' ? <GradientText>{title}</GradientText> : title;\n\n return (\n <div className={cn('flex flex-col h-full', className)}>\n {/* Page Header */}\n <div\n className={cn(\n 'relative overflow-hidden flex items-center justify-between gap-4 px-6 py-4',\n 'border-b border-border-seam bg-bg-surface'\n )}\n >\n {hero && <AuroraBackground intensity=\"subtle\" />}\n <div className=\"min-w-0\">\n <h1 className=\"text-2xl font-semibold tracking-tight text-text-primary truncate\">\n {renderedTitle}\n </h1>\n {description && <p className=\"mt-1 text-sm text-text-secondary\">{description}</p>}\n </div>\n {actions && <div className=\"flex items-center gap-2 shrink-0\">{actions}</div>}\n </div>\n\n {/* Page Content */}\n <div className=\"flex-1 overflow-auto p-6\">{children}</div>\n </div>\n );\n};\n"],"mappings":";;;;AAgCA,IAAaA,KAAmC,EAC9C,UACA,gBACA,YACA,aACA,cACA,UAAO,IACP,mBAAgB,SACZ;CACJ,IAAMC,IACJC,KAAiB,OAAOC,KAAU,WAAW,kBAACC,GAAD,EAAA,UAAeD,EAAoB,CAAA,IAAIA;CAEtF,OACE,kBAAC,OAAD;EAAK,WAAWE,EAAG,wBAAwBC,CAAS;EAApD,UAAA,CAEE,kBAAC,OAAD;GACE,WAAWD,EACT,8EACA,2CACF;GAJF,UAAA;IAMGE,KAAQ,kBAACC,GAAD,EAAkB,WAAU,SAAU,CAAA;IAC/C,kBAAC,OAAD;KAAK,WAAU;KAAf,UAAA,CACE,kBAAC,MAAD;MAAI,WAAU;MACX,UAAAP;KACC,CAAA,GACHQ,KAAe,kBAAC,KAAD;MAAG,WAAU;MAAoC,UAAAA;KAAe,CAAA,CAC7E;;IACJC,KAAW,kBAAC,OAAD;KAAK,WAAU;KAAoC,UAAAA;IAAa,CAAA;GACzE;EAGL,CAAA,GAAA,kBAAC,OAAD;GAAK,WAAU;GAA4B;EAAc,CAAA,CACtD;;AAET"}
1
+ {"version":3,"file":"PageLayout.js","names":["PageLayout","renderedTitle","gradientTitle","title","GradientText","cn","className","hero","AuroraBackground","description","actions"],"sources":["../../../src/atheletebridge/components/PageLayout.tsx"],"sourcesContent":["/**\n * Page Layout Component\n * @module atheletebridge/components\n *\n * Boff UI 2.0: glassmorphic seam-bordered page header with an optional\n * living aurora backdrop (one per MFE — opt in via `hero`) and a gradient\n * hero title (`gradientTitle`). The backdrop is decorative, sits behind\n * content (-z-10) and never moves layout. Reduced-motion safe.\n */\n\nimport type { FC, ReactNode } from 'react';\nimport { AuroraBackground, GradientText } from '@burdenoff/fe-libs/ui';\nimport { cn } from '../utils/cn';\n\ninterface PageLayoutProps {\n title: ReactNode;\n description?: string;\n actions?: ReactNode;\n children: ReactNode;\n className?: string;\n /**\n * Render the living aurora backdrop behind the header. Use on exactly ONE\n * primary page per MFE (the root dashboard).\n */\n hero?: boolean;\n /**\n * When `title` is a string, wrap it in a subtle brand gradient (the ONE\n * hero heading per page). Ignored when `title` is a node.\n */\n gradientTitle?: boolean;\n}\n\nexport const PageLayout: FC<PageLayoutProps> = ({\n title,\n description,\n actions,\n children,\n className,\n hero = false,\n gradientTitle = false,\n}) => {\n const renderedTitle =\n gradientTitle && typeof title === 'string' ? <GradientText>{title}</GradientText> : title;\n\n return (\n <div className={cn('flex flex-col h-full', className)}>\n {/* Page Header */}\n <div\n className={cn(\n // A phone stacks the actions under the title (BOFF-17180): in one row\n // the actions kept their width and squeezed the title and its\n // description into a column one word wide, under the buttons.\n 'relative overflow-hidden flex flex-col items-start gap-4 px-6 py-4',\n 'sm:flex-row sm:items-center sm:justify-between',\n 'border-b border-border-seam bg-bg-surface'\n )}\n >\n {hero && <AuroraBackground intensity=\"subtle\" />}\n <div className=\"min-w-0 max-w-full\">\n <h1 className=\"text-2xl font-semibold tracking-tight text-text-primary truncate\">\n {renderedTitle}\n </h1>\n {description && <p className=\"mt-1 text-sm text-text-secondary\">{description}</p>}\n </div>\n {actions && <div className=\"flex flex-wrap items-center gap-2 sm:shrink-0\">{actions}</div>}\n </div>\n\n {/* Page Content */}\n <div className=\"flex-1 overflow-auto p-6\">{children}</div>\n </div>\n );\n};\n"],"mappings":";;;;AAgCA,IAAaA,KAAmC,EAC9C,UACA,gBACA,YACA,aACA,cACA,UAAO,IACP,mBAAgB,SACZ;CACJ,IAAMC,IACJC,KAAiB,OAAOC,KAAU,WAAW,kBAACC,GAAD,EAAA,UAAeD,EAAoB,CAAA,IAAIA;CAEtF,OACE,kBAAC,OAAD;EAAK,WAAWE,EAAG,wBAAwBC,CAAS;EAApD,UAAA,CAEE,kBAAC,OAAD;GACE,WAAWD,EAIT,sEACA,kDACA,2CACF;GARF,UAAA;IAUGE,KAAQ,kBAACC,GAAD,EAAkB,WAAU,SAAU,CAAA;IAC/C,kBAAC,OAAD;KAAK,WAAU;KAAf,UAAA,CACE,kBAAC,MAAD;MAAI,WAAU;MACX,UAAAP;KACC,CAAA,GACHQ,KAAe,kBAAC,KAAD;MAAG,WAAU;MAAoC,UAAAA;KAAe,CAAA,CAC7E;;IACJC,KAAW,kBAAC,OAAD;KAAK,WAAU;KAAiD,UAAAA;IAAa,CAAA;GACtF;EAGL,CAAA,GAAA,kBAAC,OAAD;GAAK,WAAU;GAA4B;EAAc,CAAA,CACtD;;AAET"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@burdenoff/microfe-atheletebridge",
3
- "version": "2026.1128.1",
3
+ "version": "2026.1128.2",
4
4
  "description": "Burdenoff AthleteBridge Microfrontend - Sports, coaching & training platform for teams, fixtures, programs, sessions and athlete performance",
5
5
  "type": "module",
6
6
  "files": [