@genesislcap/foundation-header 14.388.2-alpha-7ef48af.0 → 14.389.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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"main.styles.d.ts","sourceRoot":"","sources":["../../../src/main/main.styles.ts"],"names":[],"mappings":"AAIA;;;;;;GAMG;AACH,eAAO,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"main.styles.d.ts","sourceRoot":"","sources":["../../../src/main/main.styles.ts"],"names":[],"mappings":"AAIA;;;;;;GAMG;AACH,eAAO,MAAM,UAAU,iDAuZgD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"main.template.d.ts","sourceRoot":"","sources":["../../../src/main/main.template.ts"],"names":[],"mappings":"AAGA,OAAO,EAAO,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAe1D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAQzC;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,eAAe,EAAE,YAAY,CAAC,UAAU,CAIpD,CAAC;
|
|
1
|
+
{"version":3,"file":"main.template.d.ts","sourceRoot":"","sources":["../../../src/main/main.template.ts"],"names":[],"mappings":"AAGA,OAAO,EAAO,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAe1D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAQzC;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,eAAe,EAAE,YAAY,CAAC,UAAU,CAIpD,CAAC;AAuMF;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,WAAW,+BAgJvB,CAAC;AAiDF;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,mBAAmB,GAAI,WAAM,2BAIzC,CAAC;AAEF;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,eAAe,EAAE,YAAY,CAAC,UAAU,CAEpD,CAAC;AAEF;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,YAAY,+BAAc,CAAC"}
|
|
@@ -14,9 +14,7 @@ export const MainStyles = css `
|
|
|
14
14
|
flex-direction: row;
|
|
15
15
|
|
|
16
16
|
--primary-gradient-angle: -113.5deg;
|
|
17
|
-
--layout-item-active-color: var(--accent-fill-rest
|
|
18
|
-
--layout-item-inactive-color: transparent;
|
|
19
|
-
--layout-item-indicator-size: 8px;
|
|
17
|
+
--layout-item-active-color: var(--accent-fill-rest);
|
|
20
18
|
}
|
|
21
19
|
|
|
22
20
|
.bars-container,
|
|
@@ -406,29 +404,6 @@ export const MainStyles = css `
|
|
|
406
404
|
}
|
|
407
405
|
|
|
408
406
|
/* Layout item indicator styles */
|
|
409
|
-
.nav-button.layout-item {
|
|
410
|
-
position: relative;
|
|
411
|
-
}
|
|
412
|
-
|
|
413
|
-
.layout-item-indicator {
|
|
414
|
-
display: inline-block;
|
|
415
|
-
width: var(--layout-item-indicator-size);
|
|
416
|
-
height: var(--layout-item-indicator-size);
|
|
417
|
-
border-radius: 50%;
|
|
418
|
-
margin-left: calc(var(--design-unit) * 2px);
|
|
419
|
-
flex-shrink: 0;
|
|
420
|
-
transition: background-color 0.2s ease;
|
|
421
|
-
}
|
|
422
|
-
|
|
423
|
-
.nav-button.layout-item-active .layout-item-indicator {
|
|
424
|
-
background-color: var(--layout-item-active-color);
|
|
425
|
-
}
|
|
426
|
-
|
|
427
|
-
.nav-button.layout-item-inactive .layout-item-indicator {
|
|
428
|
-
background-color: var(--layout-item-inactive-color);
|
|
429
|
-
border: 1px solid var(--neutral-stroke-rest);
|
|
430
|
-
}
|
|
431
|
-
|
|
432
407
|
.nav-button.layout-item-active {
|
|
433
408
|
color: var(--layout-item-active-color);
|
|
434
409
|
}
|
|
@@ -107,7 +107,7 @@ const routeNavSubmenuItemsTemplate = (item, context) => html `
|
|
|
107
107
|
<div class="nav-button-wrapper" part="nav-button-wrapper">
|
|
108
108
|
<${buttonTag}
|
|
109
109
|
appearance="neutral-grey"
|
|
110
|
-
|
|
110
|
+
class="${(x, c) => classNames('nav-button', navigationClassMatcher('sub-selected', x.routePath, c.parentContext.parent.pathName), ['layout-item', x.isLayoutItem], ['layout-item-active', x.isLayoutItem && context.isLayoutItemActive(x)])}"
|
|
111
111
|
@click=${(x) => context.handleNavButtonClick(x)}
|
|
112
112
|
data-test-id="${(x) => `${x.layoutRegistration || x.routePath}-button`}"
|
|
113
113
|
aria-label=${(x) => x.title}
|
|
@@ -122,9 +122,6 @@ const routeNavSubmenuItemsTemplate = (item, context) => html `
|
|
|
122
122
|
></${iconTag}>
|
|
123
123
|
`)}
|
|
124
124
|
${(x) => context.toLocalisedText(x.title)}
|
|
125
|
-
${when((x) => x.isLayoutItem, html `
|
|
126
|
-
<span class="layout-item-indicator" part="layout-item-indicator"></span>
|
|
127
|
-
`)}
|
|
128
125
|
</${buttonTag}>
|
|
129
126
|
${when((x) => x.navItems, html `
|
|
130
127
|
${(x) => routeNavSubmenuItemsTemplate(x, context)}
|
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.
|
|
4
|
+
"version": "14.389.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,28 +79,28 @@
|
|
|
79
79
|
}
|
|
80
80
|
},
|
|
81
81
|
"devDependencies": {
|
|
82
|
-
"@genesislcap/foundation-testing": "14.
|
|
83
|
-
"@genesislcap/genx": "14.
|
|
84
|
-
"@genesislcap/rollup-builder": "14.
|
|
85
|
-
"@genesislcap/ts-builder": "14.
|
|
86
|
-
"@genesislcap/uvu-playwright-builder": "14.
|
|
87
|
-
"@genesislcap/vite-builder": "14.
|
|
88
|
-
"@genesislcap/webpack-builder": "14.
|
|
82
|
+
"@genesislcap/foundation-testing": "14.389.0",
|
|
83
|
+
"@genesislcap/genx": "14.389.0",
|
|
84
|
+
"@genesislcap/rollup-builder": "14.389.0",
|
|
85
|
+
"@genesislcap/ts-builder": "14.389.0",
|
|
86
|
+
"@genesislcap/uvu-playwright-builder": "14.389.0",
|
|
87
|
+
"@genesislcap/vite-builder": "14.389.0",
|
|
88
|
+
"@genesislcap/webpack-builder": "14.389.0"
|
|
89
89
|
},
|
|
90
90
|
"dependencies": {
|
|
91
|
-
"@genesislcap/foundation-auth": "14.
|
|
92
|
-
"@genesislcap/foundation-comms": "14.
|
|
93
|
-
"@genesislcap/foundation-events": "14.
|
|
94
|
-
"@genesislcap/foundation-i18n": "14.
|
|
95
|
-
"@genesislcap/foundation-logger": "14.
|
|
96
|
-
"@genesislcap/foundation-login": "14.
|
|
97
|
-
"@genesislcap/foundation-shell": "14.
|
|
98
|
-
"@genesislcap/foundation-ui": "14.
|
|
99
|
-
"@genesislcap/foundation-user": "14.
|
|
100
|
-
"@genesislcap/foundation-utils": "14.
|
|
101
|
-
"@genesislcap/foundation-zero": "14.
|
|
102
|
-
"@genesislcap/rapid-design-system": "14.
|
|
103
|
-
"@genesislcap/web-core": "14.
|
|
91
|
+
"@genesislcap/foundation-auth": "14.389.0",
|
|
92
|
+
"@genesislcap/foundation-comms": "14.389.0",
|
|
93
|
+
"@genesislcap/foundation-events": "14.389.0",
|
|
94
|
+
"@genesislcap/foundation-i18n": "14.389.0",
|
|
95
|
+
"@genesislcap/foundation-logger": "14.389.0",
|
|
96
|
+
"@genesislcap/foundation-login": "14.389.0",
|
|
97
|
+
"@genesislcap/foundation-shell": "14.389.0",
|
|
98
|
+
"@genesislcap/foundation-ui": "14.389.0",
|
|
99
|
+
"@genesislcap/foundation-user": "14.389.0",
|
|
100
|
+
"@genesislcap/foundation-utils": "14.389.0",
|
|
101
|
+
"@genesislcap/foundation-zero": "14.389.0",
|
|
102
|
+
"@genesislcap/rapid-design-system": "14.389.0",
|
|
103
|
+
"@genesislcap/web-core": "14.389.0"
|
|
104
104
|
},
|
|
105
105
|
"repository": {
|
|
106
106
|
"type": "git",
|
|
@@ -111,5 +111,5 @@
|
|
|
111
111
|
"access": "public"
|
|
112
112
|
},
|
|
113
113
|
"customElements": "dist/custom-elements.json",
|
|
114
|
-
"gitHead": "
|
|
114
|
+
"gitHead": "8fb51993f523aac024a5125f8bdd71c2fed59498"
|
|
115
115
|
}
|