@molecule/app-auth-brand-header-angular 1.1.0 → 1.1.2

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-11-18T23:41:32.739Z
6
+ Generated: 2026-11-28T22:52:54.800Z
7
7
  -->
8
8
 
9
9
  # @molecule/app-auth-brand-header-angular
@@ -334,21 +334,16 @@ way React's `children` replaces its preset fragment.
334
334
  standalone: true,
335
335
  imports: [AuthBrandHeaderChip, AuthBrandHeaderTagline, AuthBrandHeaderWordmark],
336
336
  inputs: ['className', 'appName', 'tagline', 'icon', 'chipGradient', 'chipShape', 'wordmarkColor'],
337
+ hostDirectives: [MolPlacement],
337
338
  host: {
338
339
  '[class]': 'classes()',
339
340
  },
340
- template: `<ng-content>
341
- @if (icon) {
342
- <div
343
- mol-auth-brand-header-chip
344
- [icon]="icon"
345
- [chipGradient]="chipGradient"
346
- [chipShape]="chipShape"
347
- ></div>
348
- }
349
- <h1 mol-auth-brand-header-wordmark [color]="wordmarkColor">{{ appNameText() }}</h1>
350
- <p mol-auth-brand-header-tagline>{{ taglineText() }}</p>
351
- </ng-content>`,
341
+ // The preset nodes come first and the projected children after them, so the
342
+ // placement function asks the host whether the caller projected any child
343
+ // below a fixed three-node preset. Only one set ever renders at a time, as
344
+ // React's `{children ?? preset}` renders one.
345
+ // prettier-ignore
346
+ template: `<div #chip mol-auth-brand-header-chip [icon]="icon" [chipGradient]="chipGradient" [chipShape]="chipShape"></div><h1 #wordmark mol-auth-brand-header-wordmark [color]="wordmarkColor">{{ appNameText() }}</h1><p #tagline mol-auth-brand-header-tagline>{{ taglineText() }}</p><ng-content></ng-content>`,
352
347
  })
353
348
  export class AuthBrandHeader {
354
349
  /** Extra classes appended to the wrapper `<div>`. */
@@ -366,12 +361,40 @@ export class AuthBrandHeader {
366
361
  /** Inline color for the default wordmark `<h1>`. */
367
362
  wordmarkColor?: string
368
363
 
364
+ /** The preset chip (always in the template; detached while it does not render). */
365
+ @ViewChild('chip', { static: true, read: ElementRef }) private chipEl?: ElementRef<HTMLElement>
366
+ /** The preset wordmark (always in the template; detached while children render instead). */
367
+ @ViewChild('wordmark', { static: true, read: ElementRef })
368
+ private wordmarkEl?: ElementRef<HTMLElement>
369
+ /** The preset tagline (always in the template; detached while children render instead). */
370
+ @ViewChild('tagline', { static: true, read: ElementRef })
371
+ private taglineEl?: ElementRef<HTMLElement>
372
+
373
+ /** The component's host element, which holds the projected children. */
374
+ private readonly host: ElementRef<HTMLElement> = inject(ElementRef)
375
+
369
376
  /**
370
377
  * i18n state. Its `t` reads the locale notifications, so the view refreshes
371
378
  * the text on a locale switch the way React re-renders on one.
372
379
  */
373
380
  readonly i18n = useTranslation()
374
381
 
382
+ /**
383
+ * Keeps the preset chip, wordmark and tagline on the page only while the
384
+ * caller projects no children (and the chip only while `icon` is set), as
385
+ * React's `{children ?? preset}` renders the preset only then. The preset
386
+ * nodes are the host's first three children, so the projected children are
387
+ * read after them; a preset taken away and put back follows the same rule.
388
+ */
389
+ constructor() {
390
+ usePlacement((hasContent) => {
391
+ const children = hasContent(this.host.nativeElement, 3)
392
+ setElementPresent(this.chipEl?.nativeElement, !children && Boolean(this.icon))
393
+ setElementPresent(this.wordmarkEl?.nativeElement, !children)
394
+ setElementPresent(this.taglineEl?.nativeElement, !children)
395
+ })
396
+ }
397
+
375
398
  /**
376
399
  * The current class map.
377
400
  * @returns The UIClassMap.
@@ -424,7 +447,7 @@ Peer dependencies:
424
447
  - `@angular/common` ^22.0.0
425
448
  - `@angular/core` ^22.0.0
426
449
  - `@angular/platform-browser` ^22.0.0
427
- - `@molecule/app-angular` ^3.5.0
450
+ - `@molecule/app-angular` ^3.13.0 || ^4.0.0
428
451
  - `@molecule/app-ui` ^1.3.11
429
452
  - `@molecule/app-ui-angular` ^1.1.0
430
453
 
@@ -1,5 +1,6 @@
1
1
  import type { UIClassMap } from '@molecule/app-ui';
2
2
  import * as i0 from "@angular/core";
3
+ import * as i1 from "@molecule/app-angular";
3
4
  /**
4
5
  * Centered auth-page brand header supporting both composable content and
5
6
  * preset mode.
@@ -25,11 +26,27 @@ export declare class AuthBrandHeader {
25
26
  chipShape?: 'round' | 'square';
26
27
  /** Inline color for the default wordmark `<h1>`. */
27
28
  wordmarkColor?: string;
29
+ /** The preset chip (always in the template; detached while it does not render). */
30
+ private chipEl?;
31
+ /** The preset wordmark (always in the template; detached while children render instead). */
32
+ private wordmarkEl?;
33
+ /** The preset tagline (always in the template; detached while children render instead). */
34
+ private taglineEl?;
35
+ /** The component's host element, which holds the projected children. */
36
+ private readonly host;
28
37
  /**
29
38
  * i18n state. Its `t` reads the locale notifications, so the view refreshes
30
39
  * the text on a locale switch the way React re-renders on one.
31
40
  */
32
41
  readonly i18n: import("@molecule/app-angular").UseTranslationResult;
42
+ /**
43
+ * Keeps the preset chip, wordmark and tagline on the page only while the
44
+ * caller projects no children (and the chip only while `icon` is set), as
45
+ * React's `{children ?? preset}` renders the preset only then. The preset
46
+ * nodes are the host's first three children, so the projected children are
47
+ * read after them; a preset taken away and put back follows the same rule.
48
+ */
49
+ constructor();
33
50
  /**
34
51
  * The current class map.
35
52
  * @returns The UIClassMap.
@@ -51,6 +68,6 @@ export declare class AuthBrandHeader {
51
68
  */
52
69
  taglineText(): string;
53
70
  static ɵfac: i0.ɵɵFactoryDeclaration<AuthBrandHeader, never>;
54
- static ɵcmp: i0.ɵɵComponentDeclaration<AuthBrandHeader, "div[mol-auth-brand-header]", never, { "className": { "alias": "className"; "required": false; }; "appName": { "alias": "appName"; "required": false; }; "tagline": { "alias": "tagline"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "chipGradient": { "alias": "chipGradient"; "required": false; }; "chipShape": { "alias": "chipShape"; "required": false; }; "wordmarkColor": { "alias": "wordmarkColor"; "required": false; }; }, {}, never, ["*"], true, never>;
71
+ static ɵcmp: i0.ɵɵComponentDeclaration<AuthBrandHeader, "div[mol-auth-brand-header]", never, { "className": { "alias": "className"; "required": false; }; "appName": { "alias": "appName"; "required": false; }; "tagline": { "alias": "tagline"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "chipGradient": { "alias": "chipGradient"; "required": false; }; "chipShape": { "alias": "chipShape"; "required": false; }; "wordmarkColor": { "alias": "wordmarkColor"; "required": false; }; }, {}, never, ["*"], true, [{ directive: typeof i1.MolPlacement; inputs: {}; outputs: {}; }]>;
55
72
  }
56
73
  //# sourceMappingURL=app-auth-brand-header.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app-auth-brand-header.component.d.ts","sourceRoot":"","sources":["../src/app-auth-brand-header.component.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;;AAOlD;;;;;;;;;GASG;AACH,qBAqBa,eAAe;IAC1B,qDAAqD;IACrD,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,2CAA2C;IAC3C,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,4CAA4C;IAC5C,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,yEAAyE;IACzE,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,2CAA2C;IAC3C,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,iCAAiC;IACjC,SAAS,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAA;IAC9B,oDAAoD;IACpD,aAAa,CAAC,EAAE,MAAM,CAAA;IAEtB;;;OAGG;IACH,QAAQ,CAAC,IAAI,uDAAmB;IAEhC;;;OAGG;IACH,EAAE,IAAI,UAAU;IAIhB;;;OAGG;IACH,OAAO,IAAI,MAAM;IAKjB;;;OAGG;IACH,WAAW,IAAI,MAAM;IAQrB;;;OAGG;IACH,WAAW,IAAI,MAAM;yCAvDV,eAAe;2CAAf,eAAe;CA8D3B"}
1
+ {"version":3,"file":"app-auth-brand-header.component.d.ts","sourceRoot":"","sources":["../src/app-auth-brand-header.component.ts"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;;;AAOlD;;;;;;;;;GASG;AACH,qBAgBa,eAAe;IAC1B,qDAAqD;IACrD,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,2CAA2C;IAC3C,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,4CAA4C;IAC5C,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,yEAAyE;IACzE,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,2CAA2C;IAC3C,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,iCAAiC;IACjC,SAAS,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAA;IAC9B,oDAAoD;IACpD,aAAa,CAAC,EAAE,MAAM,CAAA;IAEtB,mFAAmF;IAC5B,OAAO,CAAC,MAAM,CAAC,CAAyB;IAC/F,4FAA4F;IAE5F,OAAO,CAAC,UAAU,CAAC,CAAyB;IAC5C,2FAA2F;IAE3F,OAAO,CAAC,SAAS,CAAC,CAAyB;IAE3C,wEAAwE;IACxE,OAAO,CAAC,QAAQ,CAAC,IAAI,CAA8C;IAEnE;;;OAGG;IACH,QAAQ,CAAC,IAAI,uDAAmB;IAEhC;;;;;;OAMG;;IAUH;;;OAGG;IACH,EAAE,IAAI,UAAU;IAIhB;;;OAGG;IACH,OAAO,IAAI,MAAM;IAKjB;;;OAGG;IACH,WAAW,IAAI,MAAM;IAQrB;;;OAGG;IACH,WAAW,IAAI,MAAM;yCAnFV,eAAe;2CAAf,eAAe;CA0F3B"}
@@ -3,38 +3,18 @@
3
3
  *
4
4
  * @module
5
5
  */
6
- import { Component } from '@angular/core';
7
- import { useTranslation } from '@molecule/app-angular';
6
+ import { Component, ElementRef, inject, ViewChild } from '@angular/core';
7
+ import { MolPlacement, setElementPresent, usePlacement, useTranslation, } from '@molecule/app-angular';
8
8
  import { getClassMap } from '@molecule/app-ui';
9
9
  import { AuthBrandHeaderChip } from './app-auth-brand-header-chip.component.js';
10
10
  import { AuthBrandHeaderTagline } from './app-auth-brand-header-tagline.component.js';
11
11
  import { AuthBrandHeaderWordmark } from './app-auth-brand-header-wordmark.component.js';
12
12
  import * as i0 from "@angular/core";
13
- const _c0 = ["*"];
14
- function AuthBrandHeader_ProjectionFallback_0_Conditional_0_Template(rf, ctx) { if (rf & 1) {
15
- i0.ɵɵelement(0, "div", 0);
16
- } if (rf & 2) {
17
- const ctx_r0 = i0.ɵɵnextContext(2);
18
- i0.ɵɵproperty("icon", ctx_r0.icon)("chipGradient", ctx_r0.chipGradient)("chipShape", ctx_r0.chipShape);
19
- } }
20
- function AuthBrandHeader_ProjectionFallback_0_Template(rf, ctx) { if (rf & 1) {
21
- i0.ɵɵconditionalCreate(0, AuthBrandHeader_ProjectionFallback_0_Conditional_0_Template, 1, 3, "div", 0);
22
- i0.ɵɵelementStart(1, "h1", 1);
23
- i0.ɵɵtext(2);
24
- i0.ɵɵelementEnd();
25
- i0.ɵɵelementStart(3, "p", 2);
26
- i0.ɵɵtext(4);
27
- i0.ɵɵelementEnd();
28
- } if (rf & 2) {
29
- const ctx_r0 = i0.ɵɵnextContext();
30
- i0.ɵɵconditional(ctx_r0.icon ? 0 : -1);
31
- i0.ɵɵadvance();
32
- i0.ɵɵproperty("color", ctx_r0.wordmarkColor);
33
- i0.ɵɵadvance();
34
- i0.ɵɵtextInterpolate(ctx_r0.appNameText());
35
- i0.ɵɵadvance(2);
36
- i0.ɵɵtextInterpolate(ctx_r0.taglineText());
37
- } }
13
+ import * as i1 from "@molecule/app-angular";
14
+ const _c0 = ["chip"];
15
+ const _c1 = ["wordmark"];
16
+ const _c2 = ["tagline"];
17
+ const _c3 = ["*"];
38
18
  /**
39
19
  * Centered auth-page brand header supporting both composable content and
40
20
  * preset mode.
@@ -60,11 +40,34 @@ export class AuthBrandHeader {
60
40
  chipShape;
61
41
  /** Inline color for the default wordmark `<h1>`. */
62
42
  wordmarkColor;
43
+ /** The preset chip (always in the template; detached while it does not render). */
44
+ chipEl;
45
+ /** The preset wordmark (always in the template; detached while children render instead). */
46
+ wordmarkEl;
47
+ /** The preset tagline (always in the template; detached while children render instead). */
48
+ taglineEl;
49
+ /** The component's host element, which holds the projected children. */
50
+ host = inject(ElementRef);
63
51
  /**
64
52
  * i18n state. Its `t` reads the locale notifications, so the view refreshes
65
53
  * the text on a locale switch the way React re-renders on one.
66
54
  */
67
55
  i18n = useTranslation();
56
+ /**
57
+ * Keeps the preset chip, wordmark and tagline on the page only while the
58
+ * caller projects no children (and the chip only while `icon` is set), as
59
+ * React's `{children ?? preset}` renders the preset only then. The preset
60
+ * nodes are the host's first three children, so the projected children are
61
+ * read after them; a preset taken away and put back follows the same rule.
62
+ */
63
+ constructor() {
64
+ usePlacement((hasContent) => {
65
+ const children = hasContent(this.host.nativeElement, 3);
66
+ setElementPresent(this.chipEl?.nativeElement, !children && Boolean(this.icon));
67
+ setElementPresent(this.wordmarkEl?.nativeElement, !children);
68
+ setElementPresent(this.taglineEl?.nativeElement, !children);
69
+ });
70
+ }
68
71
  /**
69
72
  * The current class map.
70
73
  * @returns The UIClassMap.
@@ -95,11 +98,33 @@ export class AuthBrandHeader {
95
98
  return this.i18n.t('authBrandHeader.tagline', { tagline: this.tagline ?? '' }, { defaultValue: '{{tagline}}' });
96
99
  }
97
100
  static ɵfac = function AuthBrandHeader_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AuthBrandHeader)(); };
98
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AuthBrandHeader, selectors: [["div", "mol-auth-brand-header", ""]], hostVars: 2, hostBindings: function AuthBrandHeader_HostBindings(rf, ctx) { if (rf & 2) {
101
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AuthBrandHeader, selectors: [["div", "mol-auth-brand-header", ""]], viewQuery: function AuthBrandHeader_Query(rf, ctx) { if (rf & 1) {
102
+ i0.ɵɵviewQuery(_c0, 7, ElementRef)(_c1, 7, ElementRef)(_c2, 7, ElementRef);
103
+ } if (rf & 2) {
104
+ let _t;
105
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.chipEl = _t.first);
106
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.wordmarkEl = _t.first);
107
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.taglineEl = _t.first);
108
+ } }, hostVars: 2, hostBindings: function AuthBrandHeader_HostBindings(rf, ctx) { if (rf & 2) {
99
109
  i0.ɵɵclassMap(ctx.classes());
100
- } }, inputs: { className: "className", appName: "appName", tagline: "tagline", icon: "icon", chipGradient: "chipGradient", chipShape: "chipShape", wordmarkColor: "wordmarkColor" }, ngContentSelectors: _c0, decls: 2, vars: 0, consts: [["mol-auth-brand-header-chip", "", 3, "icon", "chipGradient", "chipShape"], ["mol-auth-brand-header-wordmark", "", 3, "color"], ["mol-auth-brand-header-tagline", ""]], template: function AuthBrandHeader_Template(rf, ctx) { if (rf & 1) {
110
+ } }, inputs: { className: "className", appName: "appName", tagline: "tagline", icon: "icon", chipGradient: "chipGradient", chipShape: "chipShape", wordmarkColor: "wordmarkColor" }, features: [i0.ɵɵHostDirectivesFeature([i1.MolPlacement])], ngContentSelectors: _c3, decls: 9, vars: 6, consts: [["chip", ""], ["wordmark", ""], ["tagline", ""], ["mol-auth-brand-header-chip", "", 3, "icon", "chipGradient", "chipShape"], ["mol-auth-brand-header-wordmark", "", 3, "color"], ["mol-auth-brand-header-tagline", ""]], template: function AuthBrandHeader_Template(rf, ctx) { if (rf & 1) {
101
111
  i0.ɵɵprojectionDef();
102
- i0.ɵɵprojection(0, 0, null, AuthBrandHeader_ProjectionFallback_0_Template, 5, 4);
112
+ i0.ɵɵelement(0, "div", 3, 0);
113
+ i0.ɵɵelementStart(2, "h1", 4, 1);
114
+ i0.ɵɵtext(4);
115
+ i0.ɵɵelementEnd();
116
+ i0.ɵɵelementStart(5, "p", 5, 2);
117
+ i0.ɵɵtext(7);
118
+ i0.ɵɵelementEnd();
119
+ i0.ɵɵprojection(8);
120
+ } if (rf & 2) {
121
+ i0.ɵɵproperty("icon", ctx.icon)("chipGradient", ctx.chipGradient)("chipShape", ctx.chipShape);
122
+ i0.ɵɵadvance(2);
123
+ i0.ɵɵproperty("color", ctx.wordmarkColor);
124
+ i0.ɵɵadvance(2);
125
+ i0.ɵɵtextInterpolate(ctx.appNameText());
126
+ i0.ɵɵadvance(3);
127
+ i0.ɵɵtextInterpolate(ctx.taglineText());
103
128
  } }, dependencies: [AuthBrandHeaderChip, AuthBrandHeaderTagline, AuthBrandHeaderWordmark], encapsulation: 2 });
104
129
  }
105
130
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AuthBrandHeader, [{
@@ -109,22 +134,26 @@ export class AuthBrandHeader {
109
134
  standalone: true,
110
135
  imports: [AuthBrandHeaderChip, AuthBrandHeaderTagline, AuthBrandHeaderWordmark],
111
136
  inputs: ['className', 'appName', 'tagline', 'icon', 'chipGradient', 'chipShape', 'wordmarkColor'],
137
+ hostDirectives: [MolPlacement],
112
138
  host: {
113
139
  '[class]': 'classes()',
114
140
  },
115
- template: `<ng-content>
116
- @if (icon) {
117
- <div
118
- mol-auth-brand-header-chip
119
- [icon]="icon"
120
- [chipGradient]="chipGradient"
121
- [chipShape]="chipShape"
122
- ></div>
123
- }
124
- <h1 mol-auth-brand-header-wordmark [color]="wordmarkColor">{{ appNameText() }}</h1>
125
- <p mol-auth-brand-header-tagline>{{ taglineText() }}</p>
126
- </ng-content>`,
141
+ // The preset nodes come first and the projected children after them, so the
142
+ // placement function asks the host whether the caller projected any child
143
+ // below a fixed three-node preset. Only one set ever renders at a time, as
144
+ // React's `{children ?? preset}` renders one.
145
+ // prettier-ignore
146
+ template: `<div #chip mol-auth-brand-header-chip [icon]="icon" [chipGradient]="chipGradient" [chipShape]="chipShape"></div><h1 #wordmark mol-auth-brand-header-wordmark [color]="wordmarkColor">{{ appNameText() }}</h1><p #tagline mol-auth-brand-header-tagline>{{ taglineText() }}</p><ng-content></ng-content>`,
127
147
  }]
128
- }], null, null); })();
148
+ }], () => [], { chipEl: [{
149
+ type: ViewChild,
150
+ args: ['chip', { static: true, read: ElementRef }]
151
+ }], wordmarkEl: [{
152
+ type: ViewChild,
153
+ args: ['wordmark', { static: true, read: ElementRef }]
154
+ }], taglineEl: [{
155
+ type: ViewChild,
156
+ args: ['tagline', { static: true, read: ElementRef }]
157
+ }] }); })();
129
158
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(AuthBrandHeader, { className: "AuthBrandHeader", filePath: "app-auth-brand-header.component.ts", lineNumber: 48 }); })();
130
159
  //# sourceMappingURL=app-auth-brand-header.component.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"app-auth-brand-header.component.js","sourceRoot":"","sources":["../src/app-auth-brand-header.component.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAEzC,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAA;AAEtD,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAE9C,OAAO,EAAE,mBAAmB,EAAE,MAAM,2CAA2C,CAAA;AAC/E,OAAO,EAAE,sBAAsB,EAAE,MAAM,8CAA8C,CAAA;AACrF,OAAO,EAAE,uBAAuB,EAAE,MAAM,+CAA+C,CAAA;;;;IAsBjF,yBAKO;;;IADL,AADA,AADA,kCAAa,qCACgB,+BACN;;;IAL3B,sGAAY;IAQZ,6BAA2D;IAAA,YAAmB;IAAA,iBAAK;IACnF,4BAAiC;IAAA,YAAmB;IAAA,iBAAI;;;IATxD,sCAOC;IACkC,cAAuB;IAAvB,4CAAuB;IA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uBAAuB;;iFAkBnE,eAAe;cArB3B,SAAS;eAAC;gBACT,QAAQ,EAAE,4BAA4B;gBACtC,UAAU,EAAE,IAAI;gBAChB,OAAO,EAAE,CAAC,mBAAmB,EAAE,sBAAsB,EAAE,uBAAuB,CAAC;gBAC/E,MAAM,EAAE,CAAC,WAAW,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,EAAE,cAAc,EAAE,WAAW,EAAE,eAAe,CAAC;gBACjG,IAAI,EAAE;oBACJ,SAAS,EAAE,WAAW;iBACvB;gBACD,QAAQ,EAAE;;;;;;;;;;;gBAWI;aACf;;kFACY,eAAe"}
1
+ {"version":3,"file":"app-auth-brand-header.component.js","sourceRoot":"","sources":["../src/app-auth-brand-header.component.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAExE,OAAO,EACL,YAAY,EACZ,iBAAiB,EACjB,YAAY,EACZ,cAAc,GACf,MAAM,uBAAuB,CAAA;AAE9B,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAE9C,OAAO,EAAE,mBAAmB,EAAE,MAAM,2CAA2C,CAAA;AAC/E,OAAO,EAAE,sBAAsB,EAAE,MAAM,8CAA8C,CAAA;AACrF,OAAO,EAAE,uBAAuB,EAAE,MAAM,+CAA+C,CAAA;;;;;;;AAEvF;;;;;;;;;GASG;AAiBH,MAAM,OAAO,eAAe;IAC1B,qDAAqD;IACrD,SAAS,CAAS;IAClB,2CAA2C;IAC3C,OAAO,CAAS;IAChB,4CAA4C;IAC5C,OAAO,CAAS;IAChB,yEAAyE;IACzE,IAAI,CAAS;IACb,2CAA2C;IAC3C,YAAY,CAAS;IACrB,iCAAiC;IACjC,SAAS,CAAqB;IAC9B,oDAAoD;IACpD,aAAa,CAAS;IAEtB,mFAAmF;IACpB,MAAM,CAA0B;IAC/F,4FAA4F;IAEpF,UAAU,CAA0B;I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AAE,IAAI,EAAE,IAAI,EAAE,UAAU,EAAE;;kFAtB7C,eAAe"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@molecule/app-auth-brand-header-angular",
3
- "version": "1.1.0",
3
+ "version": "1.1.2",
4
4
  "description": "Brand header for auth pages — gradient material-symbol chip + large wordmark + tagline.",
5
5
  "homepage": "https://www.molecule.dev/packages/app-auth-brand-header-angular",
6
6
  "type": "module",
@@ -47,7 +47,7 @@
47
47
  "@angular/common": "^22.0.0",
48
48
  "@angular/core": "^22.0.0",
49
49
  "@angular/platform-browser": "^22.0.0",
50
- "@molecule/app-angular": "^3.5.0",
50
+ "@molecule/app-angular": "^3.13.0 || ^4.0.0",
51
51
  "@molecule/app-ui": "^1.3.11",
52
52
  "@molecule/app-ui-angular": "^1.1.0"
53
53
  },
@@ -57,14 +57,14 @@
57
57
  "@angular/compiler-cli": "22.2.3",
58
58
  "@angular/core": "22.2.3",
59
59
  "@angular/platform-browser": "22.2.3",
60
- "@molecule/app-angular": "3.7.2",
60
+ "@molecule/app-angular": "4.0.0",
61
61
  "@molecule/app-framework-conformance": "0.0.0",
62
- "@molecule/app-i18n": "1.2.2",
62
+ "@molecule/app-i18n": "1.4.0",
63
63
  "@molecule/app-icons": "1.0.4",
64
- "@molecule/app-ui": "1.4.0",
65
- "@molecule/app-ui-angular": "1.2.1",
64
+ "@molecule/app-ui": "1.17.0",
65
+ "@molecule/app-ui-angular": "1.13.3",
66
66
  "@types/node": "26.6.5",
67
- "jsdom": "30.1.3",
67
+ "jsdom": "31.0.1",
68
68
  "rxjs": "7.8.2",
69
69
  "typescript": "6.0.3",
70
70
  "vitest": "4.1.12",