@molecule/app-top-nav-layout-angular 1.1.2 → 1.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.
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-21T12:47:38.471Z
6
+ Generated: 2026-11-22T17:17:43.986Z
7
7
  -->
8
8
 
9
9
  # @molecule/app-top-nav-layout-angular
@@ -122,8 +122,9 @@ TopNavLayout component.
122
122
 
123
123
  Sticky top-nav shell with brand + horizontal nav + user-menu slot. The host
124
124
  IS the outer `<div>` (`div[mol-top-nav-layout]`), matching React's root
125
- exactly. The page body is projected as the element's default content (React
126
- renders its router's `<Outlet />` in the `<main>`), and the user menu is
125
+ exactly. The page body is projected as the element's default content; without
126
+ one the `<main>` renders `<mol-routed-view />` (the matched child route,
127
+ through whichever routing bond the app wired), and the user menu is
127
128
  projected as `[slot=userMenu]` content. Nav labels are hidden below the `md`
128
129
  breakpoint (icon-only mobile nav), so always provide `icon` names; they
129
130
  render as Material Symbols ligatures and need the Material Symbols font
@@ -134,7 +135,7 @@ rendered as-is: pass an already-translated string.
134
135
  @Component({
135
136
  selector: 'div[mol-top-nav-layout]',
136
137
  standalone: true,
137
- imports: [Link],
138
+ imports: [Link, RoutedView],
138
139
  inputs: ['appName', 'logoTo', 'navItems', 'navAriaLabel', 'className', 'dataMolId'],
139
140
  host: {
140
141
  '[class]': 'classes()',
@@ -161,9 +162,14 @@ rendered as-is: pass an already-translated string.
161
162
  <ng-content select="[slot=userMenu]"></ng-content>
162
163
  </div>
163
164
  </header>
164
- <main><ng-content></ng-content></main>`,
165
+ <main>
166
+ <span #pageSlot data-parity-unwrap style="display: contents"><ng-content></ng-content></span>
167
+ @if (routed()) {
168
+ <mol-routed-view />
169
+ }
170
+ </main>`,
165
171
  })
166
- export class TopNavLayout implements OnDestroy {
172
+ export class TopNavLayout implements AfterViewInit, AfterViewChecked, OnDestroy {
167
173
  /** Brand text shown in the top-left link (typically the app name). */
168
174
  appName = ''
169
175
  /** Path the brand link navigates to (defaults to `'/'` at read time). */
@@ -180,6 +186,15 @@ export class TopNavLayout implements OnDestroy {
180
186
  /** `data-mol-id` for AI-agent selectors. */
181
187
  dataMolId?: string
182
188
 
189
+ /** The page body's projection capture point. */
190
+ @ViewChild('pageSlot') private pageSlot?: ElementRef<HTMLElement>
191
+
192
+ /**
193
+ * Whether the `<main>` renders the routed view: no page body was projected. A signal the
194
+ * template reads, so the routed view is created only then (it throws without one).
195
+ */
196
+ readonly routed = signal(false)
197
+
183
198
  private readonly router = useRouterInstance()
184
199
 
185
200
  /** The i18n handle (locale-reactive), read in an injection context. */
@@ -195,6 +210,22 @@ export class TopNavLayout implements OnDestroy {
195
210
  this.stop()
196
211
  }
197
212
 
213
+ /** Decides the `<main>` content once the capture point exists. */
214
+ ngAfterViewInit(): void {
215
+ this.syncRouted()
216
+ }
217
+
218
+ /** Follows a page body projected or removed later. */
219
+ ngAfterViewChecked(): void {
220
+ this.syncRouted()
221
+ }
222
+
223
+ /** React renders `children ?? <RoutedView />`: the routed view only without a page body. */
224
+ private syncRouted(): void {
225
+ const page = this.pageSlot?.nativeElement
226
+ if (page) this.routed.set(!hasNodes(page))
227
+ }
228
+
198
229
  /**
199
230
  * The current class map.
200
231
  * @returns The UIClassMap.
@@ -330,7 +361,7 @@ Peer dependencies:
330
361
  - `@angular/common` ^22.0.0
331
362
  - `@angular/core` ^22.0.0
332
363
  - `@angular/platform-browser` ^22.0.0
333
- - `@molecule/app-angular` ^3.6.0
364
+ - `@molecule/app-angular` ^3.11.0
334
365
  - `@molecule/app-ui` ^1.3.11
335
366
  - `@molecule/app-ui-angular` ^1.1.0
336
367
 
@@ -0,0 +1,13 @@
1
+ /**
2
+ * DOM helper for the page-body capture point of {@link TopNavLayout}.
3
+ *
4
+ * @module
5
+ */
6
+ /**
7
+ * Whether an ng-content wrapper captured any element or text node.
8
+ *
9
+ * @param el - The wrapper element.
10
+ * @returns True when at least one projected node exists.
11
+ */
12
+ export declare const hasNodes: (el: Element | undefined | null) => boolean;
13
+ //# sourceMappingURL=slot-dom.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"slot-dom.d.ts","sourceRoot":"","sources":["../src/slot-dom.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH;;;;;GAKG;AACH,eAAO,MAAM,QAAQ,GAAI,IAAI,OAAO,GAAG,SAAS,GAAG,IAAI,KAAG,OAOzD,CAAA"}
@@ -0,0 +1,23 @@
1
+ /**
2
+ * DOM helper for the page-body capture point of {@link TopNavLayout}.
3
+ *
4
+ * @module
5
+ */
6
+ /**
7
+ * Whether an ng-content wrapper captured any element or text node.
8
+ *
9
+ * @param el - The wrapper element.
10
+ * @returns True when at least one projected node exists.
11
+ */
12
+ export const hasNodes = (el) => {
13
+ if (!el)
14
+ return false;
15
+ for (const node of Array.from(el.childNodes)) {
16
+ if (node.nodeType === 1)
17
+ return true;
18
+ if (node.nodeType === 3 && (node.textContent ?? '').trim())
19
+ return true;
20
+ }
21
+ return false;
22
+ };
23
+ //# sourceMappingURL=slot-dom.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"slot-dom.js","sourceRoot":"","sources":["../src/slot-dom.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH;;;;;GAKG;AACH,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,EAA8B,EAAW,EAAE;IAClE,IAAI,CAAC,EAAE;QAAE,OAAO,KAAK,CAAA;IACrB,KAAK,MAAM,IAAI,IAAI,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,UAAU,CAAC,EAAE,CAAC;QAC7C,IAAI,IAAI,CAAC,QAAQ,KAAK,CAAC;YAAE,OAAO,IAAI,CAAA;QACpC,IAAI,IAAI,CAAC,QAAQ,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,WAAW,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE;YAAE,OAAO,IAAI,CAAA;IACzE,CAAC;IACD,OAAO,KAAK,CAAA;AACd,CAAC,CAAA"}
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * @module
5
5
  */
6
- import { type OnDestroy } from '@angular/core';
6
+ import { type AfterViewChecked, type AfterViewInit, type OnDestroy } from '@angular/core';
7
7
  import type { UIClassMap } from '@molecule/app-ui';
8
8
  import type { TopNavItem } from './types.js';
9
9
  import * as i0 from "@angular/core";
@@ -12,15 +12,16 @@ import * as i0 from "@angular/core";
12
12
  *
13
13
  * Sticky top-nav shell with brand + horizontal nav + user-menu slot. The host
14
14
  * IS the outer `<div>` (`div[mol-top-nav-layout]`), matching React's root
15
- * exactly. The page body is projected as the element's default content (React
16
- * renders its router's `<Outlet />` in the `<main>`), and the user menu is
15
+ * exactly. The page body is projected as the element's default content; without
16
+ * one the `<main>` renders `<mol-routed-view />` (the matched child route,
17
+ * through whichever routing bond the app wired), and the user menu is
17
18
  * projected as `[slot=userMenu]` content. Nav labels are hidden below the `md`
18
19
  * breakpoint (icon-only mobile nav), so always provide `icon` names; they
19
20
  * render as Material Symbols ligatures and need the Material Symbols font
20
21
  * loaded by the host app. Styling comes from the bonded ClassMap. `label` is
21
22
  * rendered as-is: pass an already-translated string.
22
23
  */
23
- export declare class TopNavLayout implements OnDestroy {
24
+ export declare class TopNavLayout implements AfterViewInit, AfterViewChecked, OnDestroy {
24
25
  /** Brand text shown in the top-left link (typically the app name). */
25
26
  appName: string;
26
27
  /** Path the brand link navigates to (defaults to `'/'` at read time). */
@@ -36,6 +37,13 @@ export declare class TopNavLayout implements OnDestroy {
36
37
  className?: string;
37
38
  /** `data-mol-id` for AI-agent selectors. */
38
39
  dataMolId?: string;
40
+ /** The page body's projection capture point. */
41
+ private pageSlot?;
42
+ /**
43
+ * Whether the `<main>` renders the routed view: no page body was projected. A signal the
44
+ * template reads, so the routed view is created only then (it throws without one).
45
+ */
46
+ readonly routed: import("@angular/core").WritableSignal<boolean>;
39
47
  private readonly router;
40
48
  /** The i18n handle (locale-reactive), read in an injection context. */
41
49
  private readonly i18n;
@@ -44,6 +52,12 @@ export declare class TopNavLayout implements OnDestroy {
44
52
  private readonly stop;
45
53
  /** Stops listening to the router when the component goes away. */
46
54
  ngOnDestroy(): void;
55
+ /** Decides the `<main>` content once the capture point exists. */
56
+ ngAfterViewInit(): void;
57
+ /** Follows a page body projected or removed later. */
58
+ ngAfterViewChecked(): void;
59
+ /** React renders `children ?? <RoutedView />`: the routed view only without a page body. */
60
+ private syncRouted;
47
61
  /**
48
62
  * The current class map.
49
63
  * @returns The UIClassMap.
@@ -1 +1 @@
1
- {"version":3,"file":"top-nav-layout.component.d.ts","sourceRoot":"","sources":["../src/top-nav-layout.component.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAa,KAAK,SAAS,EAAU,MAAM,eAAe,CAAA;AAGjE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAGlD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAA;;AAmB5C;;;;;;;;;;;;GAYG;AACH,qBAgCa,YAAa,YAAW,SAAS;IAC5C,sEAAsE;IACtE,OAAO,SAAK;IACZ,yEAAyE;IACzE,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,mDAAmD;IACnD,QAAQ,EAAE,aAAa,CAAC,UAAU,CAAC,CAAK;IACxC;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,0CAA0C;IAC1C,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,4CAA4C;IAC5C,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAsB;IAE7C,uEAAuE;IACvE,OAAO,CAAC,QAAQ,CAAC,IAAI,CA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* @module
5
5
  */
6
- import { Component, signal } from '@angular/core';
7
- import { Link, useRouterInstance, useTranslation } from '@molecule/app-angular';
6
+ import { Component, signal, ViewChild, } from '@angular/core';
7
+ import { Link, RoutedView, useRouterInstance, useTranslation } from '@molecule/app-angular';
8
8
  import { getClassMap } from '@molecule/app-ui';
9
+ import { hasNodes } from './slot-dom.js';
9
10
  import * as i0 from "@angular/core";
10
- const _c0 = [[["", "slot", "usermenu"]], "*"];
11
- const _c1 = ["[slot=userMenu]", "*"];
11
+ const _c0 = ["pageSlot"];
12
+ const _c1 = [[["", "slot", "usermenu"]], "*"];
13
+ const _c2 = ["[slot=userMenu]", "*"];
12
14
  const _forTrack0 = ($index, $item) => $item.key;
13
15
  function TopNavLayout_For_6_Conditional_1_Template(rf, ctx) { if (rf & 1) {
14
- i0.ɵɵelementStart(0, "span", 3);
16
+ i0.ɵɵelementStart(0, "span", 5);
15
17
  i0.ɵɵtext(1);
16
18
  i0.ɵɵelementEnd();
17
19
  } if (rf & 2) {
@@ -22,8 +24,8 @@ function TopNavLayout_For_6_Conditional_1_Template(rf, ctx) { if (rf & 1) {
22
24
  i0.ɵɵtextInterpolate(item_r1.icon);
23
25
  } }
24
26
  function TopNavLayout_For_6_Template(rf, ctx) { if (rf & 1) {
25
- i0.ɵɵelementStart(0, "a", 0);
26
- i0.ɵɵconditionalCreate(1, TopNavLayout_For_6_Conditional_1_Template, 2, 3, "span", 2);
27
+ i0.ɵɵelementStart(0, "a", 1);
28
+ i0.ɵɵconditionalCreate(1, TopNavLayout_For_6_Conditional_1_Template, 2, 3, "span", 4);
27
29
  i0.ɵɵelementStart(2, "span");
28
30
  i0.ɵɵtext(3);
29
31
  i0.ɵɵelementEnd()();
@@ -40,6 +42,9 @@ function TopNavLayout_For_6_Template(rf, ctx) { if (rf & 1) {
40
42
  i0.ɵɵadvance();
41
43
  i0.ɵɵtextInterpolate(item_r1.label);
42
44
  } }
45
+ function TopNavLayout_Conditional_12_Template(rf, ctx) { if (rf & 1) {
46
+ i0.ɵɵelement(0, "mol-routed-view");
47
+ } }
43
48
  /**
44
49
  * Whether react-router's `<NavLink>` would mark `to` active at `pathname`: the
45
50
  * pathnames are equal, or the location continues beyond `to` on a segment
@@ -61,8 +66,9 @@ const navItemActive = (pathname, to) => {
61
66
  *
62
67
  * Sticky top-nav shell with brand + horizontal nav + user-menu slot. The host
63
68
  * IS the outer `<div>` (`div[mol-top-nav-layout]`), matching React's root
64
- * exactly. The page body is projected as the element's default content (React
65
- * renders its router's `<Outlet />` in the `<main>`), and the user menu is
69
+ * exactly. The page body is projected as the element's default content; without
70
+ * one the `<main>` renders `<mol-routed-view />` (the matched child route,
71
+ * through whichever routing bond the app wired), and the user menu is
66
72
  * projected as `[slot=userMenu]` content. Nav labels are hidden below the `md`
67
73
  * breakpoint (icon-only mobile nav), so always provide `icon` names; they
68
74
  * render as Material Symbols ligatures and need the Material Symbols font
@@ -85,6 +91,14 @@ export class TopNavLayout {
85
91
  className;
86
92
  /** `data-mol-id` for AI-agent selectors. */
87
93
  dataMolId;
94
+ /** The page body's projection capture point. */
95
+ pageSlot;
96
+ /**
97
+ * Whether the `<main>` renders the routed view: no page body was projected. A signal the
98
+ * template reads, so the routed view is created only then (it throws without one).
99
+ */
100
+ routed = signal(false, /* @ts-ignore */
101
+ ...(ngDevMode ? [{ debugName: "routed" }] : /* istanbul ignore next */ []));
88
102
  router = useRouterInstance();
89
103
  /** The i18n handle (locale-reactive), read in an injection context. */
90
104
  i18n = useTranslation();
@@ -96,6 +110,20 @@ export class TopNavLayout {
96
110
  ngOnDestroy() {
97
111
  this.stop();
98
112
  }
113
+ /** Decides the `<main>` content once the capture point exists. */
114
+ ngAfterViewInit() {
115
+ this.syncRouted();
116
+ }
117
+ /** Follows a page body projected or removed later. */
118
+ ngAfterViewChecked() {
119
+ this.syncRouted();
120
+ }
121
+ /** React renders `children ?? <RoutedView />`: the routed view only without a page body. */
122
+ syncRouted() {
123
+ const page = this.pageSlot?.nativeElement;
124
+ if (page)
125
+ this.routed.set(!hasNodes(page));
126
+ }
99
127
  /**
100
128
  * The current class map.
101
129
  * @returns The UIClassMap.
@@ -193,21 +221,28 @@ export class TopNavLayout {
193
221
  : cm.cn(cm.textMuted, cm.topNavLayoutNavItemIdle));
194
222
  }
195
223
  static ɵfac = function TopNavLayout_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TopNavLayout)(); };
196
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TopNavLayout, selectors: [["div", "mol-top-nav-layout", ""]], hostVars: 3, hostBindings: function TopNavLayout_HostBindings(rf, ctx) { if (rf & 2) {
224
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TopNavLayout, selectors: [["div", "mol-top-nav-layout", ""]], viewQuery: function TopNavLayout_Query(rf, ctx) { if (rf & 1) {
225
+ i0.ɵɵviewQuery(_c0, 5);
226
+ } if (rf & 2) {
227
+ let _t;
228
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.pageSlot = _t.first);
229
+ } }, hostVars: 3, hostBindings: function TopNavLayout_HostBindings(rf, ctx) { if (rf & 2) {
197
230
  i0.ɵɵattribute("data-mol-id", ctx.dataMolId ?? null);
198
231
  i0.ɵɵclassMap(ctx.classes());
199
- } }, inputs: { appName: "appName", logoTo: "logoTo", navItems: "navItems", navAriaLabel: "navAriaLabel", className: "className", dataMolId: "dataMolId" }, ngContentSelectors: _c1, decls: 10, vars: 11, consts: [[3, "molLink"], [3, "molLink", "class"], ["aria-hidden", "true", 3, "class"], ["aria-hidden", "true"]], template: function TopNavLayout_Template(rf, ctx) { if (rf & 1) {
200
- i0.ɵɵprojectionDef(_c0);
201
- i0.ɵɵelementStart(0, "header")(1, "div")(2, "a", 0);
232
+ } }, inputs: { appName: "appName", logoTo: "logoTo", navItems: "navItems", navAriaLabel: "navAriaLabel", className: "className", dataMolId: "dataMolId" }, ngContentSelectors: _c2, decls: 13, vars: 12, consts: [["pageSlot", ""], [3, "molLink"], [3, "molLink", "class"], ["data-parity-unwrap", "", 2, "display", "contents"], ["aria-hidden", "true", 3, "class"], ["aria-hidden", "true"]], template: function TopNavLayout_Template(rf, ctx) { if (rf & 1) {
233
+ i0.ɵɵprojectionDef(_c1);
234
+ i0.ɵɵelementStart(0, "header")(1, "div")(2, "a", 1);
202
235
  i0.ɵɵtext(3);
203
236
  i0.ɵɵelementEnd();
204
237
  i0.ɵɵelementStart(4, "nav");
205
- i0.ɵɵrepeaterCreate(5, TopNavLayout_For_6_Template, 4, 9, "a", 1, _forTrack0);
238
+ i0.ɵɵrepeaterCreate(5, TopNavLayout_For_6_Template, 4, 9, "a", 2, _forTrack0);
206
239
  i0.ɵɵelementEnd();
207
240
  i0.ɵɵprojection(7);
208
241
  i0.ɵɵelementEnd()();
209
- i0.ɵɵelementStart(8, "main");
210
- i0.ɵɵprojection(9, 1);
242
+ i0.ɵɵelementStart(8, "main")(9, "span", 3, 0);
243
+ i0.ɵɵprojection(11, 1);
244
+ i0.ɵɵelementEnd();
245
+ i0.ɵɵconditionalCreate(12, TopNavLayout_Conditional_12_Template, 1, 0, "mol-routed-view");
211
246
  i0.ɵɵelementEnd();
212
247
  } if (rf & 2) {
213
248
  i0.ɵɵclassMap(ctx.headerClasses());
@@ -223,14 +258,16 @@ export class TopNavLayout {
223
258
  i0.ɵɵattribute("aria-label", ctx.navLabel());
224
259
  i0.ɵɵadvance();
225
260
  i0.ɵɵrepeater(ctx.navItems);
226
- } }, dependencies: [Link], encapsulation: 2 });
261
+ i0.ɵɵadvance(7);
262
+ i0.ɵɵconditional(ctx.routed() ? 12 : -1);
263
+ } }, dependencies: [Link, RoutedView], encapsulation: 2 });
227
264
  }
228
265
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TopNavLayout, [{
229
266
  type: Component,
230
267
  args: [{
231
268
  selector: 'div[mol-top-nav-layout]',
232
269
  standalone: true,
233
- imports: [Link],
270
+ imports: [Link, RoutedView],
234
271
  inputs: ['appName', 'logoTo', 'navItems', 'navAriaLabel', 'className', 'dataMolId'],
235
272
  host: {
236
273
  '[class]': 'classes()',
@@ -257,8 +294,16 @@ export class TopNavLayout {
257
294
  <ng-content select="[slot=userMenu]"></ng-content>
258
295
  </div>
259
296
  </header>
260
- <main><ng-content></ng-content></main>`,
297
+ <main>
298
+ <span #pageSlot data-parity-unwrap style="display: contents"><ng-content></ng-content></span>
299
+ @if (routed()) {
300
+ <mol-routed-view />
301
+ }
302
+ </main>`,
261
303
  }]
262
- }], null, null); })();
263
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TopNavLayout, { className: "TopNavLayout", filePath: "top-nav-layout.component.ts", lineNumber: 77 }); })();
304
+ }], null, { pageSlot: [{
305
+ type: ViewChild,
306
+ args: ['pageSlot']
307
+ }] }); })();
308
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TopNavLayout, { className: "TopNavLayout", filePath: "top-nav-layout.component.ts", lineNumber: 92 }); })();
264
309
  //# sourceMappingURL=top-nav-layout.component.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"top-nav-layout.component.js","sourceRoot":"","sources":["../src/top-nav-layout.component.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,SAAS,EAAkB,MAAM,EAAE,MAAM,eAAe,CAAA;AAEjE,OAAO,EAAE,IAAI,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAA;AAE/E,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;;;;;;IAuD9B,+BAAiD;IAAA,YAAe;IAAA,iBAAO;;;;IAAjE,mCAAuB;IAAoB,cAAe;IAAf,kCAAe;;;IAPpE,4BAKC;IACC,qFAAiB;IAGjB,4BAA+B;IAAA,YAAgB;IACjD,AADiD,iBAAO,EACpD;;;;IANF,0CAA2B;IAH3B,oCAAmB;;IAKnB,cAEC;IAFD,uCAEC;IACK,cA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AxB,iCAAwB;YAA/C,wCAAsB;YAA0B,cAAa;YAAb,iCAAa;YAC3D,cAAsB;YAAtB,+BAAsB;;YACzB,cAYC;YAZD,2BAYC;YAOL,eAEC;YAFD,wCAEC;4BA/BK,IAAI,EAAE,UAAU;;iFAkCf,YAAY;cArCxB,SAAS;eAAC;gBACT,QAAQ,EAAE,yBAAyB;gBACnC,UAAU,EAAE,IAAI;gBAChB,OAAO,EAAE,CAAC,IAAI,EAAE,UAAU,CAAC;gBAC3B,MAAM,EAAE,CAAC,SAAS,EAAE,QAAQ,EAAE,UAAU,EAAE,cAAc,EAAE,WAAW,EAAE,WAAW,CAAC;gBACnF,IAAI,EAAE;oBACJ,SAAS,EAAE,WAAW;oBACtB,oBAAoB,EAAE,mBAAmB;iBAC1C;gBACD,QAAQ,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;YA0BA;aACX;;kBAmBE,SAAS;mBAAC,UAAU;;kFAlBV,YAAY"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@molecule/app-top-nav-layout-angular",
3
- "version": "1.1.2",
3
+ "version": "1.2.0",
4
4
  "description": "Top navigation app shell: brand link + horizontal NavLinks + UserMenu slot, with a router outlet for nested routes",
5
5
  "homepage": "https://www.molecule.dev/packages/app-top-nav-layout-angular",
6
6
  "type": "module",
@@ -46,7 +46,7 @@
46
46
  "@angular/common": "^22.0.0",
47
47
  "@angular/core": "^22.0.0",
48
48
  "@angular/platform-browser": "^22.0.0",
49
- "@molecule/app-angular": "^3.6.0",
49
+ "@molecule/app-angular": "^3.11.0",
50
50
  "@molecule/app-ui": "^1.3.11",
51
51
  "@molecule/app-ui-angular": "^1.1.0"
52
52
  },
@@ -56,12 +56,12 @@
56
56
  "@angular/compiler-cli": "22.2.3",
57
57
  "@angular/core": "22.2.3",
58
58
  "@angular/platform-browser": "22.2.3",
59
- "@molecule/app-angular": "3.9.0",
59
+ "@molecule/app-angular": "3.11.0",
60
60
  "@molecule/app-framework-conformance": "0.0.0",
61
61
  "@molecule/app-i18n": "1.2.2",
62
62
  "@molecule/app-icons": "1.0.4",
63
63
  "@molecule/app-ui": "1.5.0",
64
- "@molecule/app-ui-angular": "1.3.1",
64
+ "@molecule/app-ui-angular": "1.4.0",
65
65
  "@types/node": "26.6.5",
66
66
  "jsdom": "30.1.3",
67
67
  "rxjs": "7.8.2",