@molecule/app-legal-pages-react 1.1.2 → 1.1.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/README.md CHANGED
@@ -3,7 +3,7 @@ AUTO-GENERATED — DO NOT EDIT THIS FILE.
3
3
  Generated by `mlcl sync-docs` from the package's src/index.ts JSDoc + mlcl/registry.json.
4
4
  Edits here are overwritten on the next commit (molecule's pre-commit hook regenerates).
5
5
  To change this document, edit the module-level JSDoc in src/index.ts.
6
- Generated: 2026-09-18T06:40:00.880Z
6
+ Generated: 2026-09-26T18:59:00.692Z
7
7
  -->
8
8
 
9
9
  # @molecule/app-legal-pages-react
@@ -66,7 +66,7 @@ Props for {@link ContentPageShell}.
66
66
 
67
67
  ```typescript
68
68
  interface ContentPageShellProps {
69
- /** `data-mol-id` applied to the hero `<header>` for AI-agent selectors. */
69
+ /** `data-mol-id` applied to the hero band for AI-agent selectors. */
70
70
  dataMolId?: string
71
71
  /** Small uppercase label above the title (e.g. "Legal", "Billing"). */
72
72
  eyebrow?: ReactNode
@@ -3,7 +3,7 @@ import type { JSX, ReactNode } from 'react';
3
3
  * Props for {@link ContentPageShell}.
4
4
  */
5
5
  export interface ContentPageShellProps {
6
- /** `data-mol-id` applied to the hero `<header>` for AI-agent selectors. */
6
+ /** `data-mol-id` applied to the hero band for AI-agent selectors. */
7
7
  dataMolId?: string;
8
8
  /** Small uppercase label above the title (e.g. "Legal", "Billing"). */
9
9
  eyebrow?: ReactNode;
@@ -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,2EAA2E;IAC3E,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,uEAAuE;IACvE,OAAO,CAAC,EAAE,SAAS,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,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"}
@@ -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("header", { "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'), '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] }));
24
24
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@molecule/app-legal-pages-react",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
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": "1.5.1",
45
- "@molecule/app-ui": "1.1.1",
46
- "@molecule/app-ui-react": "1.0.2",
44
+ "@molecule/app-react": "1.6.0",
45
+ "@molecule/app-ui": "1.2.1",
46
+ "@molecule/app-ui-react": "1.2.1",
47
47
  "@types/node": "26.1.2",
48
48
  "@types/react": "19.2.17",
49
49
  "@types/react-dom": "19.2.3",