@atlasauth/angular 0.1.1 → 0.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 +3 -3
- package/package.json +11 -2
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @atlas/angular
|
|
2
2
|
|
|
3
|
-
The official **Angular** SDK for Atlas — the Angular peer of [`@
|
|
3
|
+
The official **Angular** SDK for Atlas — the Angular peer of [`@atlasauth/react`](../react). It wraps the framework-agnostic [`@atlasauth/js`](../js) client and exposes Atlas's reactive auth state, sign-in/up flows, prebuilt UI, authorization directives, and route guards as idiomatic modern Angular (standalone APIs, RxJS **and** Signals, DI).
|
|
4
4
|
|
|
5
5
|
Requires **Angular 17+**.
|
|
6
6
|
|
|
@@ -152,7 +152,7 @@ Server-driven, rendered in the host DOM (no iframe), themed via the `appearance`
|
|
|
152
152
|
| `<atlas-user-profile>` | `<UserProfile/>` |
|
|
153
153
|
| `<atlas-organization-profile>` | `<OrganizationProfile/>` |
|
|
154
154
|
|
|
155
|
-
`<atlas-sign-in>` / `<atlas-sign-up>` run the full multi-step flow (identifier → first factor → 2FA / enrollment → email code → completion, plus magic-link polling), driven entirely by the server-side attempt status through the shared `@
|
|
155
|
+
`<atlas-sign-in>` / `<atlas-sign-up>` run the full multi-step flow (identifier → first factor → 2FA / enrollment → email code → completion, plus magic-link polling), driven entirely by the server-side attempt status through the shared `@atlasauth/js` engine.
|
|
156
156
|
|
|
157
157
|
---
|
|
158
158
|
|
|
@@ -186,7 +186,7 @@ Like the components, guards are UX, not security — the server enforces the sam
|
|
|
186
186
|
|
|
187
187
|
## Theming & i18n
|
|
188
188
|
|
|
189
|
-
`appearance` accepts design tokens + per-element class overrides and a `baseTheme` (`default`, `dark`, `neobrutalist`); overrides are **appended** to the base classes so your Tailwind/CSS just works. `localization` merges a catalog over `en-US`. Both are identical in shape to `@
|
|
189
|
+
`appearance` accepts design tokens + per-element class overrides and a `baseTheme` (`default`, `dark`, `neobrutalist`); overrides are **appended** to the base classes so your Tailwind/CSS just works. `localization` merges a catalog over `en-US`. Both are identical in shape to `@atlasauth/react` — see `appearance.ts` and `i18n.ts`, which are shared verbatim.
|
|
190
190
|
|
|
191
191
|
## Build & test
|
|
192
192
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlasauth/angular",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "Official Angular SDK for Atlas — the Angular peer of @atlasauth/react.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"module": "./dist/fesm2022/atlas-angular.mjs",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"sideEffects": false,
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"tslib": "^2.6.3",
|
|
22
|
-
"@atlasauth/js": "0.1.
|
|
22
|
+
"@atlasauth/js": "0.1.9",
|
|
23
23
|
"@atlasauth/authz": "0.1.1"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
@@ -51,6 +51,15 @@
|
|
|
51
51
|
"dist",
|
|
52
52
|
"README.md"
|
|
53
53
|
],
|
|
54
|
+
"repository": {
|
|
55
|
+
"type": "git",
|
|
56
|
+
"url": "git+https://github.com/alphajew420/ssoly.git",
|
|
57
|
+
"directory": "packages/angular"
|
|
58
|
+
},
|
|
59
|
+
"homepage": "https://github.com/alphajew420/ssoly/tree/main/packages/angular#readme",
|
|
60
|
+
"bugs": {
|
|
61
|
+
"url": "https://github.com/alphajew420/ssoly/issues"
|
|
62
|
+
},
|
|
54
63
|
"scripts": {
|
|
55
64
|
"build": "ng-packagr -p ng-package.json",
|
|
56
65
|
"typecheck": "tsc -p tsconfig.json --noEmit"
|