@genesislcap/foundation-header 14.400.0 → 14.401.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.
@@ -33,161 +33,6 @@
33
33
  }
34
34
  ]
35
35
  },
36
- {
37
- "kind": "javascript-module",
38
- "path": "src/config/config.ts",
39
- "declarations": [
40
- {
41
- "kind": "variable",
42
- "name": "defaultHeaderConfig",
43
- "type": {
44
- "text": "HeaderConfig"
45
- },
46
- "default": "{\n name: 'foundation-header',\n templateOptions: defaultTemplateOptions,\n}",
47
- "description": "Default HeaderConfig DI implementation.",
48
- "privacy": "public"
49
- }
50
- ],
51
- "exports": [
52
- {
53
- "kind": "js",
54
- "name": "defaultHeaderConfig",
55
- "declaration": {
56
- "name": "defaultHeaderConfig",
57
- "module": "src/config/config.ts"
58
- }
59
- }
60
- ]
61
- },
62
- {
63
- "kind": "javascript-module",
64
- "path": "src/config/configure.ts",
65
- "declarations": [
66
- {
67
- "kind": "function",
68
- "name": "configure",
69
- "parameters": [
70
- {
71
- "name": "config",
72
- "type": {
73
- "text": "Partial<HeaderConfig>"
74
- },
75
- "description": "A partial HeaderConfig."
76
- }
77
- ],
78
- "description": "A function that allows configuring the header micro-frontend with name and templateOptions.",
79
- "privacy": "public"
80
- }
81
- ],
82
- "exports": [
83
- {
84
- "kind": "js",
85
- "name": "configure",
86
- "declaration": {
87
- "name": "configure",
88
- "module": "src/config/configure.ts"
89
- }
90
- }
91
- ]
92
- },
93
- {
94
- "kind": "javascript-module",
95
- "path": "src/config/index.ts",
96
- "declarations": [],
97
- "exports": [
98
- {
99
- "kind": "js",
100
- "name": "*",
101
- "declaration": {
102
- "name": "*",
103
- "package": "./config"
104
- }
105
- },
106
- {
107
- "kind": "js",
108
- "name": "*",
109
- "declaration": {
110
- "name": "*",
111
- "package": "./configure"
112
- }
113
- },
114
- {
115
- "kind": "js",
116
- "name": "*",
117
- "declaration": {
118
- "name": "*",
119
- "package": "./targetId"
120
- }
121
- }
122
- ]
123
- },
124
- {
125
- "kind": "javascript-module",
126
- "path": "src/config/targetId.ts",
127
- "declarations": [],
128
- "exports": []
129
- },
130
- {
131
- "kind": "javascript-module",
132
- "path": "src/config/templates.ts",
133
- "declarations": [
134
- {
135
- "kind": "variable",
136
- "name": "templateOptionsByDesiginSystemPrefix",
137
- "type": {
138
- "text": "Record<string, TemplateComponents>"
139
- },
140
- "default": "{\n zero: {\n icon: 'zero-icon',\n button: 'zero-button',\n connectionIndicator: 'zero-connection-indicator',\n aiIndicator: 'zero-ai-indicator',\n environmentIndicator: 'zero-environment-indicator',\n select: 'zero-select',\n option: 'zero-option',\n flyout: 'zero-flyout',\n provider: 'zero-design-system-provider',\n },\n rapid: {\n icon: 'rapid-icon',\n button: 'rapid-button',\n connectionIndicator: 'rapid-connection-indicator',\n aiIndicator: 'rapid-ai-indicator',\n environmentIndicator: 'rapid-environment-indicator',\n select: 'rapid-select',\n option: 'rapid-option',\n flyout: 'rapid-flyout',\n provider: 'rapid-design-system-provider',\n },\n}",
141
- "description": "templateOptionsByDesiginSystemPrefix.",
142
- "privacy": "public"
143
- },
144
- {
145
- "kind": "variable",
146
- "name": "defaultTemplateOptions",
147
- "type": {
148
- "text": "TemplateOptions"
149
- },
150
- "description": "defaultTemplateOptions.",
151
- "deprecated": "- Use `rapidTemplateOptions` instead.",
152
- "privacy": "public"
153
- },
154
- {
155
- "kind": "variable",
156
- "name": "rapidTemplateOptions",
157
- "type": {
158
- "text": "TemplateOptions"
159
- },
160
- "description": "rapidTemplateOptions.",
161
- "privacy": "public"
162
- }
163
- ],
164
- "exports": [
165
- {
166
- "kind": "js",
167
- "name": "templateOptionsByDesiginSystemPrefix",
168
- "declaration": {
169
- "name": "templateOptionsByDesiginSystemPrefix",
170
- "module": "src/config/templates.ts"
171
- }
172
- },
173
- {
174
- "kind": "js",
175
- "name": "defaultTemplateOptions",
176
- "declaration": {
177
- "name": "defaultTemplateOptions",
178
- "module": "src/config/templates.ts"
179
- }
180
- },
181
- {
182
- "kind": "js",
183
- "name": "rapidTemplateOptions",
184
- "declaration": {
185
- "name": "rapidTemplateOptions",
186
- "module": "src/config/templates.ts"
187
- }
188
- }
189
- ]
190
- },
191
36
  {
192
37
  "kind": "javascript-module",
193
38
  "path": "src/components/control-panel.ts",
@@ -410,6 +255,161 @@
410
255
  }
411
256
  ]
412
257
  },
258
+ {
259
+ "kind": "javascript-module",
260
+ "path": "src/config/config.ts",
261
+ "declarations": [
262
+ {
263
+ "kind": "variable",
264
+ "name": "defaultHeaderConfig",
265
+ "type": {
266
+ "text": "HeaderConfig"
267
+ },
268
+ "default": "{\n name: 'foundation-header',\n templateOptions: defaultTemplateOptions,\n}",
269
+ "description": "Default HeaderConfig DI implementation.",
270
+ "privacy": "public"
271
+ }
272
+ ],
273
+ "exports": [
274
+ {
275
+ "kind": "js",
276
+ "name": "defaultHeaderConfig",
277
+ "declaration": {
278
+ "name": "defaultHeaderConfig",
279
+ "module": "src/config/config.ts"
280
+ }
281
+ }
282
+ ]
283
+ },
284
+ {
285
+ "kind": "javascript-module",
286
+ "path": "src/config/configure.ts",
287
+ "declarations": [
288
+ {
289
+ "kind": "function",
290
+ "name": "configure",
291
+ "parameters": [
292
+ {
293
+ "name": "config",
294
+ "type": {
295
+ "text": "Partial<HeaderConfig>"
296
+ },
297
+ "description": "A partial HeaderConfig."
298
+ }
299
+ ],
300
+ "description": "A function that allows configuring the header micro-frontend with name and templateOptions.",
301
+ "privacy": "public"
302
+ }
303
+ ],
304
+ "exports": [
305
+ {
306
+ "kind": "js",
307
+ "name": "configure",
308
+ "declaration": {
309
+ "name": "configure",
310
+ "module": "src/config/configure.ts"
311
+ }
312
+ }
313
+ ]
314
+ },
315
+ {
316
+ "kind": "javascript-module",
317
+ "path": "src/config/index.ts",
318
+ "declarations": [],
319
+ "exports": [
320
+ {
321
+ "kind": "js",
322
+ "name": "*",
323
+ "declaration": {
324
+ "name": "*",
325
+ "package": "./config"
326
+ }
327
+ },
328
+ {
329
+ "kind": "js",
330
+ "name": "*",
331
+ "declaration": {
332
+ "name": "*",
333
+ "package": "./configure"
334
+ }
335
+ },
336
+ {
337
+ "kind": "js",
338
+ "name": "*",
339
+ "declaration": {
340
+ "name": "*",
341
+ "package": "./targetId"
342
+ }
343
+ }
344
+ ]
345
+ },
346
+ {
347
+ "kind": "javascript-module",
348
+ "path": "src/config/targetId.ts",
349
+ "declarations": [],
350
+ "exports": []
351
+ },
352
+ {
353
+ "kind": "javascript-module",
354
+ "path": "src/config/templates.ts",
355
+ "declarations": [
356
+ {
357
+ "kind": "variable",
358
+ "name": "templateOptionsByDesiginSystemPrefix",
359
+ "type": {
360
+ "text": "Record<string, TemplateComponents>"
361
+ },
362
+ "default": "{\n zero: {\n icon: 'zero-icon',\n button: 'zero-button',\n connectionIndicator: 'zero-connection-indicator',\n aiIndicator: 'zero-ai-indicator',\n environmentIndicator: 'zero-environment-indicator',\n select: 'zero-select',\n option: 'zero-option',\n flyout: 'zero-flyout',\n provider: 'zero-design-system-provider',\n },\n rapid: {\n icon: 'rapid-icon',\n button: 'rapid-button',\n connectionIndicator: 'rapid-connection-indicator',\n aiIndicator: 'rapid-ai-indicator',\n environmentIndicator: 'rapid-environment-indicator',\n select: 'rapid-select',\n option: 'rapid-option',\n flyout: 'rapid-flyout',\n provider: 'rapid-design-system-provider',\n },\n}",
363
+ "description": "templateOptionsByDesiginSystemPrefix.",
364
+ "privacy": "public"
365
+ },
366
+ {
367
+ "kind": "variable",
368
+ "name": "defaultTemplateOptions",
369
+ "type": {
370
+ "text": "TemplateOptions"
371
+ },
372
+ "description": "defaultTemplateOptions.",
373
+ "deprecated": "- Use `rapidTemplateOptions` instead.",
374
+ "privacy": "public"
375
+ },
376
+ {
377
+ "kind": "variable",
378
+ "name": "rapidTemplateOptions",
379
+ "type": {
380
+ "text": "TemplateOptions"
381
+ },
382
+ "description": "rapidTemplateOptions.",
383
+ "privacy": "public"
384
+ }
385
+ ],
386
+ "exports": [
387
+ {
388
+ "kind": "js",
389
+ "name": "templateOptionsByDesiginSystemPrefix",
390
+ "declaration": {
391
+ "name": "templateOptionsByDesiginSystemPrefix",
392
+ "module": "src/config/templates.ts"
393
+ }
394
+ },
395
+ {
396
+ "kind": "js",
397
+ "name": "defaultTemplateOptions",
398
+ "declaration": {
399
+ "name": "defaultTemplateOptions",
400
+ "module": "src/config/templates.ts"
401
+ }
402
+ },
403
+ {
404
+ "kind": "js",
405
+ "name": "rapidTemplateOptions",
406
+ "declaration": {
407
+ "name": "rapidTemplateOptions",
408
+ "module": "src/config/templates.ts"
409
+ }
410
+ }
411
+ ]
412
+ },
413
413
  {
414
414
  "kind": "javascript-module",
415
415
  "path": "src/main/index.ts",
@@ -897,6 +897,16 @@
897
897
  ],
898
898
  "description": "Handles the click event for a navigation button"
899
899
  },
900
+ {
901
+ "kind": "field",
902
+ "name": "pathName",
903
+ "type": {
904
+ "text": "string"
905
+ },
906
+ "description": "Current pathname for route highlighting",
907
+ "privacy": "public",
908
+ "readonly": true
909
+ },
900
910
  {
901
911
  "kind": "method",
902
912
  "name": "hasActiveChild",
@@ -1683,6 +1693,20 @@
1683
1693
  "module": "src/main/main.ts"
1684
1694
  }
1685
1695
  },
1696
+ {
1697
+ "kind": "field",
1698
+ "name": "pathName",
1699
+ "type": {
1700
+ "text": "string"
1701
+ },
1702
+ "description": "Current pathname for route highlighting",
1703
+ "privacy": "public",
1704
+ "readonly": true,
1705
+ "inheritedFrom": {
1706
+ "name": "Navigation",
1707
+ "module": "src/main/main.ts"
1708
+ }
1709
+ },
1686
1710
  {
1687
1711
  "kind": "method",
1688
1712
  "name": "hasActiveChild",
@@ -2783,6 +2807,20 @@
2783
2807
  "module": "src/main/main.ts"
2784
2808
  }
2785
2809
  },
2810
+ {
2811
+ "kind": "field",
2812
+ "name": "pathName",
2813
+ "type": {
2814
+ "text": "string"
2815
+ },
2816
+ "description": "Current pathname for route highlighting",
2817
+ "privacy": "public",
2818
+ "readonly": true,
2819
+ "inheritedFrom": {
2820
+ "name": "Navigation",
2821
+ "module": "src/main/main.ts"
2822
+ }
2823
+ },
2786
2824
  {
2787
2825
  "kind": "method",
2788
2826
  "name": "hasActiveChild",
@@ -3416,6 +3454,20 @@
3416
3454
  "module": "src/main/main.ts"
3417
3455
  }
3418
3456
  },
3457
+ {
3458
+ "kind": "field",
3459
+ "name": "pathName",
3460
+ "type": {
3461
+ "text": "string"
3462
+ },
3463
+ "description": "Current pathname for route highlighting",
3464
+ "privacy": "public",
3465
+ "readonly": true,
3466
+ "inheritedFrom": {
3467
+ "name": "Navigation",
3468
+ "module": "src/main/main.ts"
3469
+ }
3470
+ },
3419
3471
  {
3420
3472
  "kind": "method",
3421
3473
  "name": "hasActiveChild",
@@ -498,16 +498,6 @@ export declare class Navigation extends Navigation_base {
498
498
  * Clean up the inactivity manager
499
499
  */
500
500
  private cleanupInactivityManager;
501
- /**
502
- * Initialize framework-agnostic route detection
503
- * @internal
504
- */
505
- private initializeRouteDetection;
506
- /**
507
- * Clean up route detection listeners and polling
508
- * @internal
509
- */
510
- private cleanupRouteDetection;
511
501
  /**
512
502
  * Called when the component is disconnected from the DOM
513
503
  */
@@ -797,19 +787,9 @@ export declare class Navigation extends Navigation_base {
797
787
  handleNavButtonClick(routeNavItem: FoundationRouteNavItem): void;
798
788
  /**
799
789
  * Current pathname for route highlighting
800
- * @internal
801
- */
802
- pathName: string;
803
- /**
804
- * Interval ID for polling route changes
805
- * @internal
806
- */
807
- private routeCheckInterval;
808
- /**
809
- * Handle route changes by updating the pathName observable
810
- * @internal
790
+ * @public
811
791
  */
812
- private handleRouteChange;
792
+ get pathName(): string;
813
793
  /**
814
794
  * Check if any child nav item matches the current route
815
795
  * @param navItem - The navigation item to check
@@ -1 +1 @@
1
- {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../../src/main/main.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,sCAAsC,CAAC;AAEnE,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,C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E,MAAM,GAAG,IAAI;IAUrC;;;;;OAKG;IACH,eAAe,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO;IAI5C;;;;;;;;;OASG;IACH,mBAAmB,IAAI,IAAI;IAI3B;;;;;;;;OAQG;IACH,QAAQ,IAAI,IAAI;IAIhB;;;;;;;;;OASG;IACH,kBAAkB,IAAI,IAAI;IAM1B;;;;;;;;;OASG;IACH,aAAa,IAAI,IAAI;IAIrB;;;;;;;;;OASG;IACH,qBAAqB,IAAI,IAAI;IAI7B;;OAEG;IACH,kBAAkB,IAAI,IAAI;IAI1B;;;;;;;;OAQG;IACH,cAAc,CAAC,CAAC,EAAE,WAAW,GAAG,IAAI;IAKpC;;;;;;;;OAQG;IACH,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM;IAMrC;;;OAGG;IACH,oBAAoB,CAAC,YAAY,EAAE,sBAAsB,GAAG,IAAI;IAUhE;;;OAGG;IACH,IAAI,QAAQ,IAAI,MAAM,CAErB;IAED;;;;;OAKG;IACI,cAAc,CAAC,OAAO,EAAE,sBAAsB,GAAG,OAAO;CAmBhE;AAED;;;;;;;;;;;;;;;GAeG;AACH,qBAAa,gBAAiB,SAAQ,UAAU;IACxC,WAAW,IAAI,OAAO,CAAC,IAAI,CAAC;CAGnC;AAED;;;;;;GAMG;AACH,qBAKa,UAAW,SAAQ,UAAU;CAAG;AAE7C;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,qBAKa,WAAY,SAAQ,UAAU;IACzC;;;;;;;;OAQG;IACG,WAAW,IAAI,OAAO,CAAC,IAAI,CAAC;IAMlC,cAAc,IAAI,YAAY,CAAC,UAAU,CAAC;CAG3C"}
@@ -6,7 +6,7 @@ import { I18next } from '@genesislcap/foundation-i18n';
6
6
  import { LoginConfig, LoginRouting } from '@genesislcap/foundation-login';
7
7
  import { FoundationRouteNav } from '@genesislcap/foundation-ui';
8
8
  import { User } from '@genesislcap/foundation-user';
9
- import { InactivityManager } from '@genesislcap/foundation-utils';
9
+ import { InactivityManager, RouteUtil } from '@genesislcap/foundation-utils';
10
10
  import { attr, Container, customElement, GenesisElement, observable } from '@genesislcap/web-core';
11
11
  import logo from '../assets/logo.svg';
12
12
  import { HeaderConfig } from '../config/config';
@@ -17,7 +17,6 @@ import { LoadingTemplate, mainTemplate, dynamicTemplate as template } from './ma
17
17
  // Default values for inactivity monitoring
18
18
  const DEFAULT_INACTIVITY_TIMEOUT_MINUTES = 30;
19
19
  const DEFAULT_INACTIVITY_WARNING_MINUTES = 5;
20
- const DEFAULT_ROUTE_POLL_CHANGE = 500;
21
20
  /**
22
21
  * Navigation micro-frontend includes navigation bar and flyout menu
23
22
  *
@@ -176,16 +175,6 @@ let Navigation = class Navigation extends EventEmitter(GenesisElement) {
176
175
  * If this attribute is not set then the account menu is not shown
177
176
  */
178
177
  this.showAccountMenu = false;
179
- /**
180
- * Current pathname for route highlighting
181
- * @internal
182
- */
183
- this.pathName = '';
184
- /**
185
- * Interval ID for polling route changes
186
- * @internal
187
- */
188
- this.routeCheckInterval = null;
189
178
  }
190
179
  /**
191
180
  * Called when the component is connected to the DOM
@@ -205,7 +194,6 @@ let Navigation = class Navigation extends EventEmitter(GenesisElement) {
205
194
  this.userName = (_a = this.user.userName) !== null && _a !== void 0 ? _a : 'Genesis User';
206
195
  }
207
196
  this.initializeInactivityManager();
208
- this.initializeRouteDetection();
209
197
  });
210
198
  }
211
199
  setLuminance() {
@@ -240,42 +228,12 @@ let Navigation = class Navigation extends EventEmitter(GenesisElement) {
240
228
  this.inactivityManager = null;
241
229
  }
242
230
  }
243
- /**
244
- * Initialize framework-agnostic route detection
245
- * @internal
246
- */
247
- initializeRouteDetection() {
248
- // Initialize pathName with current location
249
- this.pathName = window.location.pathname;
250
- // Listen for browser back/forward navigation
251
- window.addEventListener('popstate', this.handleRouteChange.bind(this));
252
- // Start polling for route changes every DEFAULT_ROUTE_POLL_CHANGEms
253
- this.routeCheckInterval = window.setInterval(() => {
254
- this.handleRouteChange();
255
- }, DEFAULT_ROUTE_POLL_CHANGE);
256
- logger.debug('Route detection initialized');
257
- }
258
- /**
259
- * Clean up route detection listeners and polling
260
- * @internal
261
- */
262
- cleanupRouteDetection() {
263
- // Remove popstate listener
264
- window.removeEventListener('popstate', this.handleRouteChange.bind(this));
265
- // Clear polling interval
266
- if (this.routeCheckInterval !== null) {
267
- window.clearInterval(this.routeCheckInterval);
268
- this.routeCheckInterval = null;
269
- }
270
- logger.debug('Route detection cleaned up');
271
- }
272
231
  /**
273
232
  * Called when the component is disconnected from the DOM
274
233
  */
275
234
  disconnectedCallback() {
276
235
  super.disconnectedCallback();
277
236
  this.cleanupInactivityManager();
278
- this.cleanupRouteDetection();
279
237
  }
280
238
  /**
281
239
  * @internal
@@ -505,14 +463,11 @@ let Navigation = class Navigation extends EventEmitter(GenesisElement) {
505
463
  this.$emit('nav-button-clicked', { item: routeNavItem, context: this });
506
464
  }
507
465
  /**
508
- * Handle route changes by updating the pathName observable
509
- * @internal
466
+ * Current pathname for route highlighting
467
+ * @public
510
468
  */
511
- handleRouteChange() {
512
- const newPathname = window.location.pathname;
513
- if (this.pathName !== newPathname) {
514
- this.pathName = newPathname;
515
- }
469
+ get pathName() {
470
+ return RouteUtil.shared.pathName;
516
471
  }
517
472
  /**
518
473
  * Check if any child nav item matches the current route
@@ -626,9 +581,6 @@ __decorate([
626
581
  __decorate([
627
582
  attr({ mode: 'boolean', attribute: 'show-account-menu' })
628
583
  ], Navigation.prototype, "showAccountMenu", void 0);
629
- __decorate([
630
- observable
631
- ], Navigation.prototype, "pathName", void 0);
632
584
  Navigation = __decorate([
633
585
  customElement({
634
586
  name: 'foundation-header',
@@ -1428,6 +1428,36 @@
1428
1428
  "isAbstract": false,
1429
1429
  "name": "navigateTo"
1430
1430
  },
1431
+ {
1432
+ "kind": "Property",
1433
+ "canonicalReference": "@genesislcap/foundation-header!Navigation#pathName:member",
1434
+ "docComment": "/**\n * Current pathname for route highlighting\n *\n * @public\n */\n",
1435
+ "excerptTokens": [
1436
+ {
1437
+ "kind": "Content",
1438
+ "text": "get pathName(): "
1439
+ },
1440
+ {
1441
+ "kind": "Content",
1442
+ "text": "string"
1443
+ },
1444
+ {
1445
+ "kind": "Content",
1446
+ "text": ";"
1447
+ }
1448
+ ],
1449
+ "isReadonly": true,
1450
+ "isOptional": false,
1451
+ "releaseTag": "Public",
1452
+ "name": "pathName",
1453
+ "propertyTypeTokenRange": {
1454
+ "startIndex": 1,
1455
+ "endIndex": 2
1456
+ },
1457
+ "isStatic": false,
1458
+ "isProtected": false,
1459
+ "isAbstract": false
1460
+ },
1431
1461
  {
1432
1462
  "kind": "Property",
1433
1463
  "canonicalReference": "@genesislcap/foundation-header!Navigation#routeButtons:member",
@@ -415,16 +415,6 @@ export declare class Navigation extends Navigation_base {
415
415
  * Clean up the inactivity manager
416
416
  */
417
417
  private cleanupInactivityManager;
418
- /**
419
- * Initialize framework-agnostic route detection
420
- * @internal
421
- */
422
- private initializeRouteDetection;
423
- /**
424
- * Clean up route detection listeners and polling
425
- * @internal
426
- */
427
- private cleanupRouteDetection;
428
418
  /**
429
419
  * Called when the component is disconnected from the DOM
430
420
  */
@@ -714,19 +704,9 @@ export declare class Navigation extends Navigation_base {
714
704
  handleNavButtonClick(routeNavItem: FoundationRouteNavItem): void;
715
705
  /**
716
706
  * Current pathname for route highlighting
717
- * @internal
718
- */
719
- pathName: string;
720
- /**
721
- * Interval ID for polling route changes
722
- * @internal
723
- */
724
- private routeCheckInterval;
725
- /**
726
- * Handle route changes by updating the pathName observable
727
- * @internal
707
+ * @public
728
708
  */
729
- private handleRouteChange;
709
+ get pathName(): string;
730
710
  /**
731
711
  * Check if any child nav item matches the current route
732
712
  * @param navItem - The navigation item to check
@@ -329,6 +329,27 @@ boolean
329
329
  </td><td>
330
330
 
331
331
 
332
+ </td></tr>
333
+ <tr><td>
334
+
335
+ [pathName](./foundation-header.navigation.pathname.md)
336
+
337
+
338
+ </td><td>
339
+
340
+ `readonly`
341
+
342
+
343
+ </td><td>
344
+
345
+ string
346
+
347
+
348
+ </td><td>
349
+
350
+ Current pathname for route highlighting
351
+
352
+
332
353
  </td></tr>
333
354
  <tr><td>
334
355
 
@@ -0,0 +1,13 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-header](./foundation-header.md) &gt; [Navigation](./foundation-header.navigation.md) &gt; [pathName](./foundation-header.navigation.pathname.md)
4
+
5
+ ## Navigation.pathName property
6
+
7
+ Current pathname for route highlighting
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ get pathName(): string;
13
+ ```
@@ -187,8 +187,7 @@ export class Navigation extends Navigation_base {
187
187
  navigateTo(path: string): void;
188
188
  // @internal
189
189
  notificationIconEvent(): void;
190
- // @internal
191
- pathName: string;
190
+ get pathName(): string;
192
191
  // @internal
193
192
  ready: boolean;
194
193
  // @deprecated
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/foundation-header",
3
3
  "description": "Genesis Foundation Header",
4
- "version": "14.400.0",
4
+ "version": "14.401.0",
5
5
  "license": "SEE LICENSE IN license.txt",
6
6
  "main": "dist/esm/index.js",
7
7
  "types": "dist/foundation-header.d.ts",
@@ -79,29 +79,29 @@
79
79
  }
80
80
  },
81
81
  "devDependencies": {
82
- "@genesislcap/foundation-testing": "14.400.0",
83
- "@genesislcap/genx": "14.400.0",
84
- "@genesislcap/rollup-builder": "14.400.0",
85
- "@genesislcap/ts-builder": "14.400.0",
86
- "@genesislcap/uvu-playwright-builder": "14.400.0",
87
- "@genesislcap/vite-builder": "14.400.0",
88
- "@genesislcap/webpack-builder": "14.400.0"
82
+ "@genesislcap/foundation-testing": "14.401.0",
83
+ "@genesislcap/genx": "14.401.0",
84
+ "@genesislcap/rollup-builder": "14.401.0",
85
+ "@genesislcap/ts-builder": "14.401.0",
86
+ "@genesislcap/uvu-playwright-builder": "14.401.0",
87
+ "@genesislcap/vite-builder": "14.401.0",
88
+ "@genesislcap/webpack-builder": "14.401.0"
89
89
  },
90
90
  "dependencies": {
91
- "@genesislcap/foundation-ai": "14.400.0",
92
- "@genesislcap/foundation-auth": "14.400.0",
93
- "@genesislcap/foundation-comms": "14.400.0",
94
- "@genesislcap/foundation-events": "14.400.0",
95
- "@genesislcap/foundation-i18n": "14.400.0",
96
- "@genesislcap/foundation-logger": "14.400.0",
97
- "@genesislcap/foundation-login": "14.400.0",
98
- "@genesislcap/foundation-shell": "14.400.0",
99
- "@genesislcap/foundation-ui": "14.400.0",
100
- "@genesislcap/foundation-user": "14.400.0",
101
- "@genesislcap/foundation-utils": "14.400.0",
102
- "@genesislcap/foundation-zero": "14.400.0",
103
- "@genesislcap/rapid-design-system": "14.400.0",
104
- "@genesislcap/web-core": "14.400.0"
91
+ "@genesislcap/foundation-ai": "14.401.0",
92
+ "@genesislcap/foundation-auth": "14.401.0",
93
+ "@genesislcap/foundation-comms": "14.401.0",
94
+ "@genesislcap/foundation-events": "14.401.0",
95
+ "@genesislcap/foundation-i18n": "14.401.0",
96
+ "@genesislcap/foundation-logger": "14.401.0",
97
+ "@genesislcap/foundation-login": "14.401.0",
98
+ "@genesislcap/foundation-shell": "14.401.0",
99
+ "@genesislcap/foundation-ui": "14.401.0",
100
+ "@genesislcap/foundation-user": "14.401.0",
101
+ "@genesislcap/foundation-utils": "14.401.0",
102
+ "@genesislcap/foundation-zero": "14.401.0",
103
+ "@genesislcap/rapid-design-system": "14.401.0",
104
+ "@genesislcap/web-core": "14.401.0"
105
105
  },
106
106
  "repository": {
107
107
  "type": "git",
@@ -112,5 +112,5 @@
112
112
  "access": "public"
113
113
  },
114
114
  "customElements": "dist/custom-elements.json",
115
- "gitHead": "e95f4522e1f30ffbd0d7ac427199da5cc7df7de8"
115
+ "gitHead": "acec5783b3e1674b2be3d3a31c056264cef0c5f6"
116
116
  }