@atlasauth/angular 0.1.3 → 0.2.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.
@@ -15,11 +15,17 @@ import * as i0 from "@angular/core";
15
15
  * <router-outlet></router-outlet>
16
16
  * </div>
17
17
  * ```
18
+ *
19
+ * With a design (a code-level `appearance.preset` / `appearance.design`, or
20
+ * the dashboard design, fetched in the browser) the host also gets the stable
21
+ * `data-atlas-*` attributes and the design stylesheet is added to `<head>` once.
18
22
  */
19
23
  export declare class AtlasRootDirective implements OnInit {
20
24
  private readonly atlas;
21
25
  private readonly el;
22
26
  private readonly renderer;
27
+ private readonly document;
28
+ private readonly platformId;
23
29
  ngOnInit(): void;
24
30
  static ɵfac: i0.ɵɵFactoryDeclaration<AtlasRootDirective, never>;
25
31
  static ɵdir: i0.ɵɵDirectiveDeclaration<AtlasRootDirective, "[atlasRoot]", never, {}, {}, never, never, true, never>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlasauth/angular",
3
- "version": "0.1.3",
3
+ "version": "0.2.0",
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,8 @@
19
19
  "sideEffects": false,
20
20
  "dependencies": {
21
21
  "tslib": "^2.6.3",
22
- "@atlasauth/js": "0.1.9",
22
+ "@atlasauth/design": "0.1.0",
23
+ "@atlasauth/js": "0.4.0",
23
24
  "@atlasauth/authz": "0.1.1"
24
25
  },
25
26
  "peerDependencies": {