@genesislcap/foundation-header 14.217.0 → 14.217.1-alpha-bbbd2b3.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.
@@ -31,27 +31,6 @@
31
31
  }
32
32
  ]
33
33
  },
34
- {
35
- "kind": "javascript-module",
36
- "path": "src/components/zero-components.ts",
37
- "declarations": [
38
- {
39
- "kind": "function",
40
- "name": "registerCommonZeroComponents",
41
- "privacy": "public"
42
- }
43
- ],
44
- "exports": [
45
- {
46
- "kind": "js",
47
- "name": "registerCommonZeroComponents",
48
- "declaration": {
49
- "name": "registerCommonZeroComponents",
50
- "module": "src/components/zero-components.ts"
51
- }
52
- }
53
- ]
54
- },
55
34
  {
56
35
  "kind": "javascript-module",
57
36
  "path": "src/config/config.ts",
@@ -174,186 +153,25 @@
174
153
  },
175
154
  {
176
155
  "kind": "javascript-module",
177
- "path": "src/styles/colors.ts",
178
- "declarations": [
179
- {
180
- "kind": "function",
181
- "name": "getWebRGBA",
182
- "parameters": [
183
- {
184
- "name": "rgb",
185
- "type": {
186
- "text": "ColorRGBA64"
187
- }
188
- },
189
- {
190
- "name": "alpha",
191
- "default": "1.0",
192
- "type": {
193
- "text": "number"
194
- }
195
- }
196
- ]
197
- },
198
- {
199
- "kind": "variable",
200
- "name": "defaultBackgroundHover"
201
- },
202
- {
203
- "kind": "variable",
204
- "name": "defaultBackgroundItem"
205
- },
206
- {
207
- "kind": "variable",
208
- "name": "backgroundNavOption"
209
- }
210
- ],
211
- "exports": [
212
- {
213
- "kind": "js",
214
- "name": "getWebRGBA",
215
- "declaration": {
216
- "name": "getWebRGBA",
217
- "module": "src/styles/colors.ts"
218
- }
219
- },
220
- {
221
- "kind": "js",
222
- "name": "defaultBackgroundHover",
223
- "declaration": {
224
- "name": "defaultBackgroundHover",
225
- "module": "src/styles/colors.ts"
226
- }
227
- },
228
- {
229
- "kind": "js",
230
- "name": "defaultBackgroundItem",
231
- "declaration": {
232
- "name": "defaultBackgroundItem",
233
- "module": "src/styles/colors.ts"
234
- }
235
- },
236
- {
237
- "kind": "js",
238
- "name": "backgroundNavOption",
239
- "declaration": {
240
- "name": "backgroundNavOption",
241
- "module": "src/styles/colors.ts"
242
- }
243
- }
244
- ]
245
- },
246
- {
247
- "kind": "javascript-module",
248
- "path": "src/styles/index.ts",
249
- "declarations": [],
250
- "exports": [
251
- {
252
- "kind": "js",
253
- "name": "*",
254
- "declaration": {
255
- "name": "*",
256
- "package": "./colors"
257
- }
258
- },
259
- {
260
- "kind": "js",
261
- "name": "*",
262
- "declaration": {
263
- "name": "*",
264
- "package": "./styles"
265
- }
266
- }
267
- ]
268
- },
269
- {
270
- "kind": "javascript-module",
271
- "path": "src/styles/styles.ts",
156
+ "path": "src/components/zero-components.ts",
272
157
  "declarations": [
273
158
  {
274
159
  "kind": "function",
275
- "name": "mixinScreen",
276
- "parameters": [
277
- {
278
- "name": "display",
279
- "default": "'block'",
280
- "type": {
281
- "text": "string"
282
- }
283
- }
284
- ],
285
- "description": "TODO: Bring all the style and typography mixins into the design system package"
286
- },
287
- {
288
- "kind": "function",
289
- "name": "genesisLogo",
290
- "parameters": [
291
- {
292
- "name": "slot",
293
- "default": "'start'"
294
- }
295
- ],
296
- "description": "TODO"
297
- },
298
- {
299
- "kind": "function",
300
- "name": "settingsIcon",
301
- "parameters": [
302
- {
303
- "name": "slot",
304
- "default": "'start'"
305
- }
306
- ]
160
+ "name": "registerCommonZeroComponents",
161
+ "privacy": "public"
307
162
  }
308
163
  ],
309
164
  "exports": [
310
165
  {
311
166
  "kind": "js",
312
- "name": "mixinScreen",
313
- "declaration": {
314
- "name": "mixinScreen",
315
- "module": "src/styles/styles.ts"
316
- }
317
- },
318
- {
319
- "kind": "js",
320
- "name": "genesisLogo",
321
- "declaration": {
322
- "name": "genesisLogo",
323
- "module": "src/styles/styles.ts"
324
- }
325
- },
326
- {
327
- "kind": "js",
328
- "name": "settingsIcon",
329
- "declaration": {
330
- "name": "settingsIcon",
331
- "module": "src/styles/styles.ts"
332
- }
333
- }
334
- ]
335
- },
336
- {
337
- "kind": "javascript-module",
338
- "path": "src/tags/index.ts",
339
- "declarations": [],
340
- "exports": [
341
- {
342
- "kind": "js",
343
- "name": "*",
167
+ "name": "registerCommonZeroComponents",
344
168
  "declaration": {
345
- "name": "*",
346
- "package": "./tags"
169
+ "name": "registerCommonZeroComponents",
170
+ "module": "src/components/zero-components.ts"
347
171
  }
348
172
  }
349
173
  ]
350
174
  },
351
- {
352
- "kind": "javascript-module",
353
- "path": "src/tags/tags.ts",
354
- "declarations": [],
355
- "exports": []
356
- },
357
175
  {
358
176
  "kind": "javascript-module",
359
177
  "path": "src/main/index.ts",
@@ -1694,6 +1512,188 @@
1694
1512
  }
1695
1513
  ]
1696
1514
  },
1515
+ {
1516
+ "kind": "javascript-module",
1517
+ "path": "src/styles/colors.ts",
1518
+ "declarations": [
1519
+ {
1520
+ "kind": "function",
1521
+ "name": "getWebRGBA",
1522
+ "parameters": [
1523
+ {
1524
+ "name": "rgb",
1525
+ "type": {
1526
+ "text": "ColorRGBA64"
1527
+ }
1528
+ },
1529
+ {
1530
+ "name": "alpha",
1531
+ "default": "1.0",
1532
+ "type": {
1533
+ "text": "number"
1534
+ }
1535
+ }
1536
+ ]
1537
+ },
1538
+ {
1539
+ "kind": "variable",
1540
+ "name": "defaultBackgroundHover"
1541
+ },
1542
+ {
1543
+ "kind": "variable",
1544
+ "name": "defaultBackgroundItem"
1545
+ },
1546
+ {
1547
+ "kind": "variable",
1548
+ "name": "backgroundNavOption"
1549
+ }
1550
+ ],
1551
+ "exports": [
1552
+ {
1553
+ "kind": "js",
1554
+ "name": "getWebRGBA",
1555
+ "declaration": {
1556
+ "name": "getWebRGBA",
1557
+ "module": "src/styles/colors.ts"
1558
+ }
1559
+ },
1560
+ {
1561
+ "kind": "js",
1562
+ "name": "defaultBackgroundHover",
1563
+ "declaration": {
1564
+ "name": "defaultBackgroundHover",
1565
+ "module": "src/styles/colors.ts"
1566
+ }
1567
+ },
1568
+ {
1569
+ "kind": "js",
1570
+ "name": "defaultBackgroundItem",
1571
+ "declaration": {
1572
+ "name": "defaultBackgroundItem",
1573
+ "module": "src/styles/colors.ts"
1574
+ }
1575
+ },
1576
+ {
1577
+ "kind": "js",
1578
+ "name": "backgroundNavOption",
1579
+ "declaration": {
1580
+ "name": "backgroundNavOption",
1581
+ "module": "src/styles/colors.ts"
1582
+ }
1583
+ }
1584
+ ]
1585
+ },
1586
+ {
1587
+ "kind": "javascript-module",
1588
+ "path": "src/styles/index.ts",
1589
+ "declarations": [],
1590
+ "exports": [
1591
+ {
1592
+ "kind": "js",
1593
+ "name": "*",
1594
+ "declaration": {
1595
+ "name": "*",
1596
+ "package": "./colors"
1597
+ }
1598
+ },
1599
+ {
1600
+ "kind": "js",
1601
+ "name": "*",
1602
+ "declaration": {
1603
+ "name": "*",
1604
+ "package": "./styles"
1605
+ }
1606
+ }
1607
+ ]
1608
+ },
1609
+ {
1610
+ "kind": "javascript-module",
1611
+ "path": "src/styles/styles.ts",
1612
+ "declarations": [
1613
+ {
1614
+ "kind": "function",
1615
+ "name": "mixinScreen",
1616
+ "parameters": [
1617
+ {
1618
+ "name": "display",
1619
+ "default": "'block'",
1620
+ "type": {
1621
+ "text": "string"
1622
+ }
1623
+ }
1624
+ ],
1625
+ "description": "TODO: Bring all the style and typography mixins into the design system package"
1626
+ },
1627
+ {
1628
+ "kind": "function",
1629
+ "name": "genesisLogo",
1630
+ "parameters": [
1631
+ {
1632
+ "name": "slot",
1633
+ "default": "'start'"
1634
+ }
1635
+ ],
1636
+ "description": "TODO"
1637
+ },
1638
+ {
1639
+ "kind": "function",
1640
+ "name": "settingsIcon",
1641
+ "parameters": [
1642
+ {
1643
+ "name": "slot",
1644
+ "default": "'start'"
1645
+ }
1646
+ ]
1647
+ }
1648
+ ],
1649
+ "exports": [
1650
+ {
1651
+ "kind": "js",
1652
+ "name": "mixinScreen",
1653
+ "declaration": {
1654
+ "name": "mixinScreen",
1655
+ "module": "src/styles/styles.ts"
1656
+ }
1657
+ },
1658
+ {
1659
+ "kind": "js",
1660
+ "name": "genesisLogo",
1661
+ "declaration": {
1662
+ "name": "genesisLogo",
1663
+ "module": "src/styles/styles.ts"
1664
+ }
1665
+ },
1666
+ {
1667
+ "kind": "js",
1668
+ "name": "settingsIcon",
1669
+ "declaration": {
1670
+ "name": "settingsIcon",
1671
+ "module": "src/styles/styles.ts"
1672
+ }
1673
+ }
1674
+ ]
1675
+ },
1676
+ {
1677
+ "kind": "javascript-module",
1678
+ "path": "src/tags/index.ts",
1679
+ "declarations": [],
1680
+ "exports": [
1681
+ {
1682
+ "kind": "js",
1683
+ "name": "*",
1684
+ "declaration": {
1685
+ "name": "*",
1686
+ "package": "./tags"
1687
+ }
1688
+ }
1689
+ ]
1690
+ },
1691
+ {
1692
+ "kind": "javascript-module",
1693
+ "path": "src/tags/tags.ts",
1694
+ "declarations": [],
1695
+ "exports": []
1696
+ },
1697
1697
  {
1698
1698
  "kind": "javascript-module",
1699
1699
  "path": "src/utils/index.ts",
@@ -1,6 +1,6 @@
1
1
  import { Auth, CredentialManager } from '@genesislcap/foundation-comms';
2
2
  import { I18next } from '@genesislcap/foundation-i18n';
3
- import type { FoundationRouteNavItem } from '@genesislcap/foundation-ui';
3
+ import { FoundationRouteNavItem } from '@genesislcap/foundation-router';
4
4
  import { HeaderConfig } from '../config/config';
5
5
  /**
6
6
  * Events dispatched by the navigation control buttons
@@ -65,14 +65,7 @@ declare const Navigation_base: abstract new (...args: any[]) => {
65
65
  readonly scrollHeight: number;
66
66
  scrollLeft: number;
67
67
  scrollTop: number;
68
- readonly scrollWidth: number; /**
69
- * Optional attribute which controls the icon to show on the navigation bar and flyout
70
- * Control via `logo-src`
71
- *
72
- * @remarks
73
- *
74
- * If this attribute is not set then the Genesis logo is shown instead
75
- */
68
+ readonly scrollWidth: number;
76
69
  readonly shadowRoot: ShadowRoot;
77
70
  slot: string;
78
71
  readonly tagName: string;
@@ -96,7 +89,9 @@ declare const Navigation_base: abstract new (...args: any[]) => {
96
89
  getElementsByTagNameNS(namespace: string, localName: string): HTMLCollectionOf<Element>;
97
90
  hasAttribute(qualifiedName: string): boolean;
98
91
  hasAttributeNS(namespace: string, localName: string): boolean;
99
- hasAttributes(): boolean;
92
+ hasAttributes(): boolean; /**
93
+ * @internal
94
+ */
100
95
  hasPointerCapture(pointerId: number): boolean;
101
96
  insertAdjacentElement(where: InsertPosition, element: Element): Element;
102
97
  insertAdjacentHTML(position: InsertPosition, text: string): void;
@@ -138,14 +133,20 @@ declare const Navigation_base: abstract new (...args: any[]) => {
138
133
  appendChild<T extends Node>(node: T): T;
139
134
  cloneNode(deep?: boolean): Node;
140
135
  compareDocumentPosition(other: Node): number;
141
- contains(other: Node): boolean; /**
142
- * If present the defined {@link @genesislcap/foundation-ui#FoundationRouteNavItem | FoundationRouteNavItems} will be rendered in the header 'routes' slot
143
- */
136
+ contains(other: Node): boolean;
144
137
  getRootNode(options?: GetRootNodeOptions): Node;
145
138
  hasChildNodes(): boolean;
146
139
  insertBefore<T_1 extends Node>(node: T_1, child: Node): T_1;
147
140
  isDefaultNamespace(namespace: string): boolean;
148
- isEqualNode(otherNode: Node): boolean;
141
+ isEqualNode(otherNode: Node): boolean; /**
142
+ * Load remote components
143
+ *
144
+ * @remarks
145
+ *
146
+ * With regards to module federation
147
+ *
148
+ * @internal
149
+ */
149
150
  isSameNode(otherNode: Node): boolean;
150
151
  lookupNamespaceURI(prefix: string): string;
151
152
  lookupPrefix(namespace: string): string;
@@ -155,6 +156,16 @@ declare const Navigation_base: abstract new (...args: any[]) => {
155
156
  readonly ATTRIBUTE_NODE: number;
156
157
  readonly CDATA_SECTION_NODE: number;
157
158
  readonly COMMENT_NODE: number;
159
+ /**
160
+ * Logs the user out of their session
161
+ *
162
+ * @remarks
163
+ *
164
+ * Activated when the user clicks on the logout button on the right hand side of the navigation bar. Requires
165
+ * the usage of the auth functionality from {@link @genesislcap/foundation-comms#Auth}.
166
+ *
167
+ * @public
168
+ */
158
169
  readonly DOCUMENT_FRAGMENT_NODE: number;
159
170
  readonly DOCUMENT_NODE: number;
160
171
  readonly DOCUMENT_POSITION_CONTAINED_BY: number;
@@ -172,6 +183,17 @@ declare const Navigation_base: abstract new (...args: any[]) => {
172
183
  readonly TEXT_NODE: number;
173
184
  dispatchEvent(event: Event): boolean;
174
185
  ariaAtomic: string;
186
+ /**
187
+ * Changes the route of the current page
188
+ *
189
+ * @remarks
190
+ *
191
+ * Requires setup of the Router and usage of the FAST Router
192
+ *
193
+ * @param path - string represeting the new route to move to
194
+ *
195
+ * @public
196
+ */
175
197
  ariaAutoComplete: string;
176
198
  ariaBusy: string;
177
199
  ariaChecked: string;
@@ -197,16 +219,6 @@ declare const Navigation_base: abstract new (...args: any[]) => {
197
219
  ariaPosInSet: string;
198
220
  ariaPressed: string;
199
221
  ariaReadOnly: string;
200
- /**
201
- * Opens the flyout menu on the left hand side
202
- *
203
- * @remarks
204
- *
205
- * Activated when the user clicks on the menu button on the navigation
206
- * bar left hand side
207
- *
208
- * @internal
209
- */
210
222
  ariaRequired: string;
211
223
  ariaRoleDescription: string;
212
224
  ariaRowCount: string;
@@ -232,16 +244,6 @@ declare const Navigation_base: abstract new (...args: any[]) => {
232
244
  readonly previousElementSibling: Element;
233
245
  readonly childElementCount: number;
234
246
  readonly children: HTMLCollection;
235
- /**
236
- * Emits the event corresponding to the miscellaneous icon being clicked
237
- *
238
- * @remarks
239
- *
240
- * Activated when the user clicks on the menu icon on the navigation
241
- * bar right hand side
242
- *
243
- * @internal
244
- */
245
247
  readonly firstElementChild: Element;
246
248
  readonly lastElementChild: Element;
247
249
  append(...nodes: (string | Node)[]): void;
@@ -264,22 +266,6 @@ declare const Navigation_base: abstract new (...args: any[]) => {
264
266
  readonly isContentEditable: boolean;
265
267
  onabort: (this: GlobalEventHandlers, ev: UIEvent) => any;
266
268
  onanimationcancel: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
267
- /**
268
- * FoundationHeader.
269
- *
270
- * @remarks
271
- * Base MF export used by host application `configure` calls. It does not set up a design system or components. Both are
272
- * expected to be registered in the host application, which should provide the details of which to the MF via
273
- * TemplateOptions.
274
- *
275
- * See the {@link configure} hook for more information on how to set up and use this micro frontend in your application.
276
- *
277
- * @privateRemarks
278
- * We will override loadRemotes to remove zero. This setup is the inverse of FoundationAuth.
279
- * We're doing this to avoid a breaking change, so consumers can continue to use Navigation which bundles zero.
280
- *
281
- * @public
282
- */
283
269
  onanimationend: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
284
270
  onanimationiteration: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
285
271
  onanimationstart: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
@@ -1 +1 @@
1
- {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../../src/main/main.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,iBAAiB,EAAgB,MAAM,+BAA+B,CAAC;AAEtF,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,KAAK,EAAE,sBAAsB,EAAuB,MAAM,4BAA4B,CAAC;AAI9F,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAKhD;;;GAGG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC9B,wBAAwB,EAAE,IAAI,CAAC;IAC/B,mBAAmB,EAAE,IAAI,CAAC;IAC1B,2BAA2B,EAAE,IAAI,CAAC;IAClC,kBAAkB,EAAE,IAAI,CAAC;CAC1B,CAAC;AAEF;;;GAGG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B,kBAAkB,EAAE,MAAM,EAAE,CAAC;IAC7B,gBAAgB,EAAE,MAAM,CAAC;CAC1B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kCAqEA;;;;;;;OAOG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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
  import { EventEmitter } from '@genesislcap/foundation-events';
4
4
  import { I18next } from '@genesislcap/foundation-i18n';
5
+ import { FoundationRouteNav } from '@genesislcap/foundation-router';
5
6
  import { FASTElement, customElement, observable, attr } from '@microsoft/fast-element';
6
- import { Route } from '@microsoft/fast-router';
7
7
  import logo from '../assets/logo.svg';
8
8
  import { HeaderConfig } from '../config/config';
9
9
  import { logger } from '../utils';
@@ -179,7 +179,8 @@ let Navigation = class Navigation extends EventEmitter(FASTElement) {
179
179
  navigateTo(path) {
180
180
  try {
181
181
  logger.debug('navigateTo', path);
182
- Route.path.push(path);
182
+ // Review for name based navigation
183
+ FoundationRouteNav.path.push(path);
183
184
  }
184
185
  catch (err) {
185
186
  logger.error(`Error: ${err.message}`);
@@ -1076,7 +1076,7 @@
1076
1076
  {
1077
1077
  "kind": "Reference",
1078
1078
  "text": "FoundationRouteNavItem",
1079
- "canonicalReference": "@genesislcap/foundation-ui!FoundationRouteNavItem:type"
1079
+ "canonicalReference": "@genesislcap/foundation-router!FoundationRouteNavItem:type"
1080
1080
  },
1081
1081
  {
1082
1082
  "kind": "Content",
@@ -4,7 +4,7 @@ import { CredentialManager } from '@genesislcap/foundation-comms';
4
4
  import { ElementStyles } from '@microsoft/fast-element';
5
5
  import { EmitOptions } from '@genesislcap/foundation-events';
6
6
  import { EmitReturn } from '@genesislcap/foundation-events';
7
- import type { FoundationRouteNavItem } from '@genesislcap/foundation-ui';
7
+ import { FoundationRouteNavItem } from '@genesislcap/foundation-router';
8
8
  import { I18next } from '@genesislcap/foundation-i18n';
9
9
  import { InterfaceSymbol } from '@microsoft/fast-foundation';
10
10
  import { PartialFASTElementDefinition } from '@microsoft/fast-element';
@@ -472,14 +472,7 @@ declare const Navigation_base: abstract new (...args: any[]) => {
472
472
  readonly scrollHeight: number;
473
473
  scrollLeft: number;
474
474
  scrollTop: number;
475
- readonly scrollWidth: number; /**
476
- * Optional attribute which controls the icon to show on the navigation bar and flyout
477
- * Control via `logo-src`
478
- *
479
- * @remarks
480
- *
481
- * If this attribute is not set then the Genesis logo is shown instead
482
- */
475
+ readonly scrollWidth: number;
483
476
  readonly shadowRoot: ShadowRoot;
484
477
  slot: string;
485
478
  readonly tagName: string;
@@ -503,7 +496,9 @@ declare const Navigation_base: abstract new (...args: any[]) => {
503
496
  getElementsByTagNameNS(namespace: string, localName: string): HTMLCollectionOf<Element>;
504
497
  hasAttribute(qualifiedName: string): boolean;
505
498
  hasAttributeNS(namespace: string, localName: string): boolean;
506
- hasAttributes(): boolean;
499
+ hasAttributes(): boolean; /**
500
+ * @internal
501
+ */
507
502
  hasPointerCapture(pointerId: number): boolean;
508
503
  insertAdjacentElement(where: InsertPosition, element: Element): Element;
509
504
  insertAdjacentHTML(position: InsertPosition, text: string): void;
@@ -545,14 +540,20 @@ declare const Navigation_base: abstract new (...args: any[]) => {
545
540
  appendChild<T extends Node>(node: T): T;
546
541
  cloneNode(deep?: boolean): Node;
547
542
  compareDocumentPosition(other: Node): number;
548
- contains(other: Node): boolean; /**
549
- * If present the defined {@link @genesislcap/foundation-ui#FoundationRouteNavItem | FoundationRouteNavItems} will be rendered in the header 'routes' slot
550
- */
543
+ contains(other: Node): boolean;
551
544
  getRootNode(options?: GetRootNodeOptions): Node;
552
545
  hasChildNodes(): boolean;
553
546
  insertBefore<T_1 extends Node>(node: T_1, child: Node): T_1;
554
547
  isDefaultNamespace(namespace: string): boolean;
555
- isEqualNode(otherNode: Node): boolean;
548
+ isEqualNode(otherNode: Node): boolean; /**
549
+ * Load remote components
550
+ *
551
+ * @remarks
552
+ *
553
+ * With regards to module federation
554
+ *
555
+ * @internal
556
+ */
556
557
  isSameNode(otherNode: Node): boolean;
557
558
  lookupNamespaceURI(prefix: string): string;
558
559
  lookupPrefix(namespace: string): string;
@@ -562,6 +563,16 @@ declare const Navigation_base: abstract new (...args: any[]) => {
562
563
  readonly ATTRIBUTE_NODE: number;
563
564
  readonly CDATA_SECTION_NODE: number;
564
565
  readonly COMMENT_NODE: number;
566
+ /**
567
+ * Logs the user out of their session
568
+ *
569
+ * @remarks
570
+ *
571
+ * Activated when the user clicks on the logout button on the right hand side of the navigation bar. Requires
572
+ * the usage of the auth functionality from {@link @genesislcap/foundation-comms#Auth}.
573
+ *
574
+ * @public
575
+ */
565
576
  readonly DOCUMENT_FRAGMENT_NODE: number;
566
577
  readonly DOCUMENT_NODE: number;
567
578
  readonly DOCUMENT_POSITION_CONTAINED_BY: number;
@@ -579,6 +590,17 @@ declare const Navigation_base: abstract new (...args: any[]) => {
579
590
  readonly TEXT_NODE: number;
580
591
  dispatchEvent(event: Event): boolean;
581
592
  ariaAtomic: string;
593
+ /**
594
+ * Changes the route of the current page
595
+ *
596
+ * @remarks
597
+ *
598
+ * Requires setup of the Router and usage of the FAST Router
599
+ *
600
+ * @param path - string represeting the new route to move to
601
+ *
602
+ * @public
603
+ */
582
604
  ariaAutoComplete: string;
583
605
  ariaBusy: string;
584
606
  ariaChecked: string;
@@ -604,16 +626,6 @@ declare const Navigation_base: abstract new (...args: any[]) => {
604
626
  ariaPosInSet: string;
605
627
  ariaPressed: string;
606
628
  ariaReadOnly: string;
607
- /**
608
- * Opens the flyout menu on the left hand side
609
- *
610
- * @remarks
611
- *
612
- * Activated when the user clicks on the menu button on the navigation
613
- * bar left hand side
614
- *
615
- * @internal
616
- */
617
629
  ariaRequired: string;
618
630
  ariaRoleDescription: string;
619
631
  ariaRowCount: string;
@@ -639,16 +651,6 @@ declare const Navigation_base: abstract new (...args: any[]) => {
639
651
  readonly previousElementSibling: Element;
640
652
  readonly childElementCount: number;
641
653
  readonly children: HTMLCollection;
642
- /**
643
- * Emits the event corresponding to the miscellaneous icon being clicked
644
- *
645
- * @remarks
646
- *
647
- * Activated when the user clicks on the menu icon on the navigation
648
- * bar right hand side
649
- *
650
- * @internal
651
- */
652
654
  readonly firstElementChild: Element;
653
655
  readonly lastElementChild: Element;
654
656
  append(...nodes: (string | Node)[]): void;
@@ -671,22 +673,6 @@ declare const Navigation_base: abstract new (...args: any[]) => {
671
673
  readonly isContentEditable: boolean;
672
674
  onabort: (this: GlobalEventHandlers, ev: UIEvent) => any;
673
675
  onanimationcancel: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
674
- /**
675
- * FoundationHeader.
676
- *
677
- * @remarks
678
- * Base MF export used by host application `configure` calls. It does not set up a design system or components. Both are
679
- * expected to be registered in the host application, which should provide the details of which to the MF via
680
- * TemplateOptions.
681
- *
682
- * See the {@link configure} hook for more information on how to set up and use this micro frontend in your application.
683
- *
684
- * @privateRemarks
685
- * We will override loadRemotes to remove zero. This setup is the inverse of FoundationAuth.
686
- * We're doing this to avoid a breaking change, so consumers can continue to use Navigation which bundles zero.
687
- *
688
- * @public
689
- */
690
676
  onanimationend: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
691
677
  onanimationiteration: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
692
678
  onanimationstart: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
@@ -10,7 +10,7 @@ import { CredentialManager } from '@genesislcap/foundation-comms';
10
10
  import { ElementStyles } from '@microsoft/fast-element';
11
11
  import { EmitOptions } from '@genesislcap/foundation-events';
12
12
  import { EmitReturn } from '@genesislcap/foundation-events';
13
- import type { FoundationRouteNavItem } from '@genesislcap/foundation-ui';
13
+ import { FoundationRouteNavItem } from '@genesislcap/foundation-router';
14
14
  import { I18next } from '@genesislcap/foundation-i18n';
15
15
  import { InterfaceSymbol } from '@microsoft/fast-foundation';
16
16
  import { PartialFASTElementDefinition } from '@microsoft/fast-element';
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.217.0",
4
+ "version": "14.217.1-alpha-bbbd2b3.0",
5
5
  "license": "SEE LICENSE IN license.txt",
6
6
  "main": "dist/esm/index.js",
7
7
  "types": "dist/foundation-header.d.ts",
@@ -76,28 +76,28 @@
76
76
  }
77
77
  },
78
78
  "devDependencies": {
79
- "@genesislcap/foundation-testing": "14.217.0",
80
- "@genesislcap/genx": "14.217.0",
81
- "@genesislcap/rollup-builder": "14.217.0",
82
- "@genesislcap/ts-builder": "14.217.0",
83
- "@genesislcap/uvu-playwright-builder": "14.217.0",
84
- "@genesislcap/vite-builder": "14.217.0",
85
- "@genesislcap/webpack-builder": "14.217.0",
79
+ "@genesislcap/foundation-testing": "14.217.1-alpha-bbbd2b3.0",
80
+ "@genesislcap/genx": "14.217.1-alpha-bbbd2b3.0",
81
+ "@genesislcap/rollup-builder": "14.217.1-alpha-bbbd2b3.0",
82
+ "@genesislcap/ts-builder": "14.217.1-alpha-bbbd2b3.0",
83
+ "@genesislcap/uvu-playwright-builder": "14.217.1-alpha-bbbd2b3.0",
84
+ "@genesislcap/vite-builder": "14.217.1-alpha-bbbd2b3.0",
85
+ "@genesislcap/webpack-builder": "14.217.1-alpha-bbbd2b3.0",
86
86
  "rimraf": "^5.0.0"
87
87
  },
88
88
  "dependencies": {
89
- "@genesislcap/foundation-comms": "14.217.0",
90
- "@genesislcap/foundation-events": "14.217.0",
91
- "@genesislcap/foundation-i18n": "14.217.0",
92
- "@genesislcap/foundation-logger": "14.217.0",
93
- "@genesislcap/foundation-shell": "14.217.0",
94
- "@genesislcap/foundation-ui": "14.217.0",
95
- "@genesislcap/foundation-utils": "14.217.0",
96
- "@genesislcap/foundation-zero": "14.217.0",
89
+ "@genesislcap/foundation-comms": "14.217.1-alpha-bbbd2b3.0",
90
+ "@genesislcap/foundation-events": "14.217.1-alpha-bbbd2b3.0",
91
+ "@genesislcap/foundation-i18n": "14.217.1-alpha-bbbd2b3.0",
92
+ "@genesislcap/foundation-logger": "14.217.1-alpha-bbbd2b3.0",
93
+ "@genesislcap/foundation-router": "14.217.1-alpha-bbbd2b3.0",
94
+ "@genesislcap/foundation-shell": "14.217.1-alpha-bbbd2b3.0",
95
+ "@genesislcap/foundation-ui": "14.217.1-alpha-bbbd2b3.0",
96
+ "@genesislcap/foundation-utils": "14.217.1-alpha-bbbd2b3.0",
97
+ "@genesislcap/foundation-zero": "14.217.1-alpha-bbbd2b3.0",
97
98
  "@microsoft/fast-colors": "^5.3.1",
98
99
  "@microsoft/fast-element": "^1.12.0",
99
100
  "@microsoft/fast-foundation": "^2.49.4",
100
- "@microsoft/fast-router": "^0.4.8",
101
101
  "tslib": "^2.3.1"
102
102
  },
103
103
  "repository": {
@@ -109,5 +109,5 @@
109
109
  "access": "public"
110
110
  },
111
111
  "customElements": "dist/custom-elements.json",
112
- "gitHead": "3d119baa8d1ec42f681d17de1f605a98b1a9a464"
112
+ "gitHead": "11665b997cc85fbfba6db6f8995df8c7b06a2776"
113
113
  }