@molecule/app-auth-shell-react 4.0.3 → 4.1.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.
- package/README.md +7 -8
- package/dist/AuthShell.js +1 -1
- package/dist/index.d.ts +4 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -3
- package/package.json +5 -7
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-11-
|
|
6
|
+
Generated: 2026-11-22T17:17:29.372Z
|
|
7
7
|
-->
|
|
8
8
|
|
|
9
9
|
# @molecule/app-auth-shell-react
|
|
@@ -78,7 +78,7 @@ export function Login() {
|
|
|
78
78
|
## Installation
|
|
79
79
|
|
|
80
80
|
```bash
|
|
81
|
-
npm install @molecule/app-auth-shell-react @molecule/app-logger @molecule/app-react @molecule/app-storage @molecule/app-ui react
|
|
81
|
+
npm install @molecule/app-auth-shell-react @molecule/app-logger @molecule/app-react @molecule/app-storage @molecule/app-ui react
|
|
82
82
|
npm install -D @types/react
|
|
83
83
|
```
|
|
84
84
|
|
|
@@ -552,11 +552,10 @@ const DEFAULT_AUTH_FORM_STATE_KEY: 'molecule.auth.form-state'
|
|
|
552
552
|
Peer dependencies:
|
|
553
553
|
|
|
554
554
|
- `@molecule/app-logger` ^1.0.1
|
|
555
|
-
- `@molecule/app-react` ^4.
|
|
555
|
+
- `@molecule/app-react` ^4.12.0
|
|
556
556
|
- `@molecule/app-storage` ^1.0.1
|
|
557
557
|
- `@molecule/app-ui` ^1.3.11
|
|
558
558
|
- `react` ^18.0.0 || ^19.0.0
|
|
559
|
-
- `react-router` ^7.0.0 || ^8.0.0
|
|
560
559
|
|
|
561
560
|
### Runtime Dependencies
|
|
562
561
|
|
|
@@ -565,11 +564,11 @@ Peer dependencies:
|
|
|
565
564
|
- `@molecule/app-storage`
|
|
566
565
|
- `@molecule/app-ui`
|
|
567
566
|
- `react`
|
|
568
|
-
- `react-router`
|
|
569
567
|
|
|
570
|
-
`AuthShell` renders
|
|
571
|
-
so it MUST be rendered inside
|
|
572
|
-
|
|
568
|
+
`AuthShell` renders an `<Link>` from `@molecule/app-react/link`
|
|
569
|
+
("Back to home") by default, so it MUST be rendered inside the app's
|
|
570
|
+
router (`RouterProvider`); pass `showBackLink={false}` in router-less
|
|
571
|
+
setups. The back link's arrow uses the Material Symbols
|
|
573
572
|
icon font — load it, or the glyph renders as text; the glyph span is
|
|
574
573
|
`aria-hidden="true"`, so the link's accessible name is its `t()` label
|
|
575
574
|
alone. The default glass
|
package/dist/AuthShell.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Link } from 'react-router';
|
|
3
2
|
import { useTranslation } from '@molecule/app-react';
|
|
3
|
+
import { Link } from '@molecule/app-react/link';
|
|
4
4
|
import { getClassMap } from '@molecule/app-ui';
|
|
5
5
|
import { AuthFormStateProvider } from './AuthFormStateProvider.js';
|
|
6
6
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -54,9 +54,10 @@
|
|
|
54
54
|
* ```
|
|
55
55
|
*
|
|
56
56
|
* @remarks
|
|
57
|
-
* `AuthShell` renders
|
|
58
|
-
* so it MUST be rendered inside
|
|
59
|
-
*
|
|
57
|
+
* `AuthShell` renders an `<Link>` from `@molecule/app-react/link`
|
|
58
|
+
* ("Back to home") by default, so it MUST be rendered inside the app's
|
|
59
|
+
* router (`RouterProvider`); pass `showBackLink={false}` in router-less
|
|
60
|
+
* setups. The back link's arrow uses the Material Symbols
|
|
60
61
|
* icon font — load it, or the glyph renders as text; the glyph span is
|
|
61
62
|
* `aria-hidden="true"`, so the link's accessible name is its `t()` label
|
|
62
63
|
* alone. The default glass
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyEG;AAEH,cAAc,4BAA4B,CAAA;AAC1C,cAAc,gBAAgB,CAAA;AAC9B,cAAc,uBAAuB,CAAA"}
|
package/dist/index.js
CHANGED
|
@@ -54,9 +54,10 @@
|
|
|
54
54
|
* ```
|
|
55
55
|
*
|
|
56
56
|
* @remarks
|
|
57
|
-
* `AuthShell` renders
|
|
58
|
-
* so it MUST be rendered inside
|
|
59
|
-
*
|
|
57
|
+
* `AuthShell` renders an `<Link>` from `@molecule/app-react/link`
|
|
58
|
+
* ("Back to home") by default, so it MUST be rendered inside the app's
|
|
59
|
+
* router (`RouterProvider`); pass `showBackLink={false}` in router-less
|
|
60
|
+
* setups. The back link's arrow uses the Material Symbols
|
|
60
61
|
* icon font — load it, or the glyph renders as text; the glyph span is
|
|
61
62
|
* `aria-hidden="true"`, so the link's accessible name is its `t()` label
|
|
62
63
|
* alone. The default glass
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@molecule/app-auth-shell-react",
|
|
3
|
-
"version": "4.0
|
|
3
|
+
"version": "4.1.0",
|
|
4
4
|
"description": "Auth-page layout shell — centered card with heading/subheading/form/footer + back-link below. Composable children for per-app decorative background + brand mark.",
|
|
5
5
|
"homepage": "https://www.molecule.dev/packages/app-auth-shell-react",
|
|
6
6
|
"type": "module",
|
|
@@ -36,17 +36,16 @@
|
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
38
38
|
"@molecule/app-logger": "^1.0.1",
|
|
39
|
-
"@molecule/app-react": "^4.
|
|
39
|
+
"@molecule/app-react": "^4.12.0",
|
|
40
40
|
"@molecule/app-storage": "^1.0.1",
|
|
41
41
|
"@molecule/app-ui": "^1.3.11",
|
|
42
|
-
"react": "^18.0.0 || ^19.0.0"
|
|
43
|
-
"react-router": "^7.0.0 || ^8.0.0"
|
|
42
|
+
"react": "^18.0.0 || ^19.0.0"
|
|
44
43
|
},
|
|
45
44
|
"devDependencies": {
|
|
46
45
|
"@molecule/app-logger": "1.1.0",
|
|
47
|
-
"@molecule/app-react": "4.
|
|
46
|
+
"@molecule/app-react": "4.12.0",
|
|
48
47
|
"@molecule/app-storage": "1.1.1",
|
|
49
|
-
"@molecule/app-ui": "1.
|
|
48
|
+
"@molecule/app-ui": "1.5.0",
|
|
50
49
|
"@testing-library/react": "16.3.3",
|
|
51
50
|
"@types/node": "26.6.5",
|
|
52
51
|
"@types/react": "19.3.0",
|
|
@@ -54,7 +53,6 @@
|
|
|
54
53
|
"jsdom": "30.1.3",
|
|
55
54
|
"react": "19.3.1",
|
|
56
55
|
"react-dom": "19.3.1",
|
|
57
|
-
"react-router": "8.5.0",
|
|
58
56
|
"typescript": "6.0.3",
|
|
59
57
|
"vitest": "4.1.12"
|
|
60
58
|
}
|