@molecule/app-legal-pages-react 4.0.0 → 4.0.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.
@@ -1 +1 @@
1
- {"version":3,"file":"ContentPageShell.d.ts","sourceRoot":"","sources":["../src/ContentPageShell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAiB,GAAG,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAI1D;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC,qEAAqE;IACrE,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,uEAAuE;IACvE,OAAO,CAAC,EAAE,SAAS,CAAA;IACnB;;;;OAIG;IACH,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB,wEAAwE;IACxE,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,4DAA4D;IAC5D,MAAM,CAAC,EAAE,SAAS,CAAA;IAClB,uDAAuD;IACvD,MAAM,CAAC,EAAE,SAAS,CAAA;IAClB,4EAA4E;IAC5E,QAAQ,EAAE,SAAS,CAAA;IACnB;;;OAGG;IACH,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,oFAAoF;IACpF,aAAa,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;CAC1C;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,gBAAgB,CAAC,EAC/B,SAAS,EACT,OAAO,EACP,KAAK,EACL,QAAQ,EACR,MAAM,EACN,MAAM,EACN,QAAQ,EACR,IAAY,EACZ,aAAoB,GACrB,EAAE,qBAAqB,GAAG,GAAG,CAAC,OAAO,CA6FrC"}
1
+ {"version":3,"file":"ContentPageShell.d.ts","sourceRoot":"","sources":["../src/ContentPageShell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAiB,GAAG,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAI1D;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC,qEAAqE;IACrE,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,uEAAuE;IACvE,OAAO,CAAC,EAAE,SAAS,CAAA;IACnB;;;;OAIG;IACH,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB,wEAAwE;IACxE,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,4DAA4D;IAC5D,MAAM,CAAC,EAAE,SAAS,CAAA;IAClB,uDAAuD;IACvD,MAAM,CAAC,EAAE,SAAS,CAAA;IAClB,4EAA4E;IAC5E,QAAQ,EAAE,SAAS,CAAA;IACnB;;;OAGG;IACH,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,oFAAoF;IACpF,aAAa,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;CAC1C;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,gBAAgB,CAAC,EAC/B,SAAS,EACT,OAAO,EACP,KAAK,EACL,QAAQ,EACR,MAAM,EACN,MAAM,EACN,QAAQ,EACR,IAAY,EACZ,aAAoB,GACrB,EAAE,qBAAqB,GAAG,GAAG,CAAC,OAAO,CAyErC"}
@@ -20,5 +20,5 @@ export function ContentPageShell({ dataMolId, eyebrow, title, subtitle, header,
20
20
  background: 'linear-gradient(135deg, color-mix(in srgb, var(--mol-color-primary) 14%, var(--mol-color-background)) 0%, var(--mol-color-background) 70%)',
21
21
  borderBottom: '1px solid color-mix(in srgb, var(--mol-color-on-surface) 8%, transparent)',
22
22
  };
23
- return (_jsxs("div", { className: cm.cn(cm.flex({ direction: 'col' }), cm.minH('screen'), 'bg-background text-on-surface font-body'), children: [header, title ? (_jsxs("section", { "data-mol-id": dataMolId, className: cm.cn('relative overflow-hidden', cm.sp('px', 6), cm.sp('py', 16)), style: heroStyle, children: [_jsx("div", { "aria-hidden": "true", className: cm.cn('pointer-events-none absolute -right-24 -top-24 h-72 w-72 rounded-full blur-3xl'), style: { background: 'color-mix(in srgb, var(--mol-color-primary) 22%, transparent)' } }), _jsxs("div", { className: cm.cn(cm.container({ size: containerSize }), 'relative z-10'), children: [eyebrow ? (_jsx("p", { className: cm.cn(cm.textSize('xs'), cm.fontWeight('bold'), cm.sp('mb', 3), 'font-label uppercase tracking-widest text-primary'), children: eyebrow })) : null, _jsx("h1", { className: cm.cn(cm.textSize('4xl'), cm.fontWeight('extrabold'), 'font-display tracking-tight'), children: title }), subtitle ? (_jsx("p", { className: cm.cn(cm.textSize('base'), cm.sp('mt', 3), 'font-body text-on-surface-variant'), children: subtitle })) : null] })] })) : null, _jsx("main", { className: cm.cn(cm.flex1, cm.sp('px', 6), cm.sp('py', 10)), children: _jsx("div", { className: cm.cn(cm.container({ size: containerSize })), children: bare ? (children) : (_jsx("div", { className: cm.cn(cm.surface, cm.sp('p', 8), 'rounded-2xl shadow-lg border border-outline-variant/40'), children: children })) }) }), footer] }));
23
+ return (_jsxs("div", { className: cm.cn(cm.flex({ direction: 'col' }), cm.minH('screen'), cm.legalPagesShell), children: [header, title ? (_jsxs("section", { "data-mol-id": dataMolId, className: cm.cn(cm.legalPagesHero, cm.sp('px', 6), cm.sp('py', 16)), style: heroStyle, children: [_jsx("div", { "aria-hidden": "true", className: cm.legalPagesHeroGlow, style: { background: 'color-mix(in srgb, var(--mol-color-primary) 22%, transparent)' } }), _jsxs("div", { className: cm.cn(cm.container({ size: containerSize }), cm.legalPagesHeroContent), children: [eyebrow ? (_jsx("p", { className: cm.cn(cm.textSize('xs'), cm.fontWeight('bold'), cm.sp('mb', 3), cm.legalPagesHeroEyebrow), children: eyebrow })) : null, _jsx("h1", { className: cm.cn(cm.textSize('4xl'), cm.fontWeight('extrabold'), cm.legalPagesHeroTitle), children: title }), subtitle ? (_jsx("p", { className: cm.cn(cm.textSize('base'), cm.sp('mt', 3), cm.legalPagesHeroSubtitle), children: subtitle })) : null] })] })) : null, _jsx("main", { className: cm.cn(cm.flex1, cm.sp('px', 6), cm.sp('py', 10)), children: _jsx("div", { className: cm.cn(cm.container({ size: containerSize })), children: bare ? (children) : (_jsx("div", { className: cm.cn(cm.surface, cm.sp('p', 8), cm.legalPagesContentCard), children: children })) }) }), footer] }));
24
24
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@molecule/app-legal-pages-react",
3
- "version": "4.0.0",
3
+ "version": "4.0.1",
4
4
  "description": "React page scaffolds for Terms, Privacy, and PlanUpdated (i18n-driven, customizable keys)",
5
5
  "homepage": "https://www.molecule.dev/packages/app-legal-pages-react",
6
6
  "type": "module",
@@ -41,9 +41,9 @@
41
41
  "react-router": "^7.0.0 || ^8.0.0"
42
42
  },
43
43
  "devDependencies": {
44
- "@molecule/app-react": "4.0.0",
45
- "@molecule/app-ui": "1.3.9",
46
- "@molecule/app-ui-react": "4.0.0",
44
+ "@molecule/app-react": "4.1.2",
45
+ "@molecule/app-ui": "1.3.11",
46
+ "@molecule/app-ui-react": "4.1.0",
47
47
  "@types/node": "26.6.5",
48
48
  "@types/react": "19.3.0",
49
49
  "@types/react-dom": "19.3.0",