@nysds/nys-globalheader 1.6.0 → 1.7.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.
|
@@ -11,6 +11,7 @@ export declare class NysGlobalHeader extends LitElement {
|
|
|
11
11
|
firstUpdated(): void;
|
|
12
12
|
/******************** Functions ********************/
|
|
13
13
|
private _handleSlotChange;
|
|
14
|
+
private _normalizePath;
|
|
14
15
|
private _toggleMobileMenu;
|
|
15
16
|
render(): import("lit-html").TemplateResult<1>;
|
|
16
17
|
}
|
package/dist/nys-globalheader.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { css as
|
|
1
|
+
import { css as L, LitElement as R, html as h } from "lit";
|
|
2
2
|
/*!
|
|
3
3
|
* ▒█▄░▒█ ▒█░░▒█ ▒█▀▀▀█ ▒█▀▀▄ ▒█▀▀▀█
|
|
4
4
|
* ▒█▒█▒█ ▒█▄▄▄█ ░▀▀▀▄▄ ▒█░▒█ ░▀▀▀▄▄
|
|
@@ -14,18 +14,18 @@ import { css as U, LitElement as A, html as h } from "lit";
|
|
|
14
14
|
* Copyright 2019 Google LLC
|
|
15
15
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
16
16
|
*/
|
|
17
|
-
const
|
|
18
|
-
let
|
|
17
|
+
const f = globalThis, S = f.ShadowRoot && (f.ShadyCSS === void 0 || f.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, A = Symbol(), M = /* @__PURE__ */ new WeakMap();
|
|
18
|
+
let T = class {
|
|
19
19
|
constructor(e, t, n) {
|
|
20
|
-
if (this._$cssResult$ = !0, n !==
|
|
20
|
+
if (this._$cssResult$ = !0, n !== A) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
21
21
|
this.cssText = e, this.t = t;
|
|
22
22
|
}
|
|
23
23
|
get styleSheet() {
|
|
24
24
|
let e = this.o;
|
|
25
25
|
const t = this.t;
|
|
26
|
-
if (
|
|
26
|
+
if (S && e === void 0) {
|
|
27
27
|
const n = t !== void 0 && t.length === 1;
|
|
28
|
-
n && (e =
|
|
28
|
+
n && (e = M.get(t)), e === void 0 && ((this.o = e = new CSSStyleSheet()).replaceSync(this.cssText), n && M.set(t, e));
|
|
29
29
|
}
|
|
30
30
|
return e;
|
|
31
31
|
}
|
|
@@ -33,26 +33,26 @@ let z = class {
|
|
|
33
33
|
return this.cssText;
|
|
34
34
|
}
|
|
35
35
|
};
|
|
36
|
-
const
|
|
37
|
-
if (
|
|
36
|
+
const j = (s) => new T(typeof s == "string" ? s : s + "", void 0, A), D = (s, e) => {
|
|
37
|
+
if (S) s.adoptedStyleSheets = e.map((t) => t instanceof CSSStyleSheet ? t : t.styleSheet);
|
|
38
38
|
else for (const t of e) {
|
|
39
|
-
const n = document.createElement("style"), a =
|
|
39
|
+
const n = document.createElement("style"), a = f.litNonce;
|
|
40
40
|
a !== void 0 && n.setAttribute("nonce", a), n.textContent = t.cssText, s.appendChild(n);
|
|
41
41
|
}
|
|
42
|
-
},
|
|
42
|
+
}, C = S ? (s) => s : (s) => s instanceof CSSStyleSheet ? ((e) => {
|
|
43
43
|
let t = "";
|
|
44
44
|
for (const n of e.cssRules) t += n.cssText;
|
|
45
|
-
return
|
|
45
|
+
return j(t);
|
|
46
46
|
})(s) : s;
|
|
47
47
|
/**
|
|
48
48
|
* @license
|
|
49
49
|
* Copyright 2017 Google LLC
|
|
50
50
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
51
51
|
*/
|
|
52
|
-
const { is:
|
|
52
|
+
const { is: q, defineProperty: H, getOwnPropertyDescriptor: B, getOwnPropertyNames: W, getOwnPropertySymbols: G, getPrototypeOf: J } = Object, d = globalThis, N = d.trustedTypes, K = N ? N.emptyScript : "", $ = d.reactiveElementPolyfillSupport, m = (s, e) => s, _ = { toAttribute(s, e) {
|
|
53
53
|
switch (e) {
|
|
54
54
|
case Boolean:
|
|
55
|
-
s = s ?
|
|
55
|
+
s = s ? K : null;
|
|
56
56
|
break;
|
|
57
57
|
case Object:
|
|
58
58
|
case Array:
|
|
@@ -77,23 +77,23 @@ const { is: R, defineProperty: j, getOwnPropertyDescriptor: D, getOwnPropertyNam
|
|
|
77
77
|
}
|
|
78
78
|
}
|
|
79
79
|
return t;
|
|
80
|
-
} },
|
|
81
|
-
Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")),
|
|
82
|
-
class
|
|
80
|
+
} }, E = (s, e) => !q(s, e), U = { attribute: !0, type: String, converter: _, reflect: !1, hasChanged: E };
|
|
81
|
+
Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), d.litPropertyMetadata ?? (d.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
|
82
|
+
class b extends HTMLElement {
|
|
83
83
|
static addInitializer(e) {
|
|
84
84
|
this._$Ei(), (this.l ?? (this.l = [])).push(e);
|
|
85
85
|
}
|
|
86
86
|
static get observedAttributes() {
|
|
87
87
|
return this.finalize(), this._$Eh && [...this._$Eh.keys()];
|
|
88
88
|
}
|
|
89
|
-
static createProperty(e, t =
|
|
89
|
+
static createProperty(e, t = U) {
|
|
90
90
|
if (t.state && (t.attribute = !1), this._$Ei(), this.elementProperties.set(e, t), !t.noAccessor) {
|
|
91
91
|
const n = Symbol(), a = this.getPropertyDescriptor(e, n, t);
|
|
92
|
-
a !== void 0 &&
|
|
92
|
+
a !== void 0 && H(this.prototype, e, a);
|
|
93
93
|
}
|
|
94
94
|
}
|
|
95
95
|
static getPropertyDescriptor(e, t, n) {
|
|
96
|
-
const { get: a, set: o } =
|
|
96
|
+
const { get: a, set: o } = B(this.prototype, e) ?? { get() {
|
|
97
97
|
return this[t];
|
|
98
98
|
}, set(i) {
|
|
99
99
|
this[t] = i;
|
|
@@ -106,17 +106,17 @@ class p extends HTMLElement {
|
|
|
106
106
|
}, configurable: !0, enumerable: !0 };
|
|
107
107
|
}
|
|
108
108
|
static getPropertyOptions(e) {
|
|
109
|
-
return this.elementProperties.get(e) ??
|
|
109
|
+
return this.elementProperties.get(e) ?? U;
|
|
110
110
|
}
|
|
111
111
|
static _$Ei() {
|
|
112
|
-
if (this.hasOwnProperty(
|
|
113
|
-
const e =
|
|
112
|
+
if (this.hasOwnProperty(m("elementProperties"))) return;
|
|
113
|
+
const e = J(this);
|
|
114
114
|
e.finalize(), e.l !== void 0 && (this.l = [...e.l]), this.elementProperties = new Map(e.elementProperties);
|
|
115
115
|
}
|
|
116
116
|
static finalize() {
|
|
117
|
-
if (this.hasOwnProperty(
|
|
118
|
-
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(
|
|
119
|
-
const t = this.properties, n = [...
|
|
117
|
+
if (this.hasOwnProperty(m("finalized"))) return;
|
|
118
|
+
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(m("properties"))) {
|
|
119
|
+
const t = this.properties, n = [...W(t), ...G(t)];
|
|
120
120
|
for (const a of n) this.createProperty(a, t[a]);
|
|
121
121
|
}
|
|
122
122
|
const e = this[Symbol.metadata];
|
|
@@ -135,8 +135,8 @@ class p extends HTMLElement {
|
|
|
135
135
|
const t = [];
|
|
136
136
|
if (Array.isArray(e)) {
|
|
137
137
|
const n = new Set(e.flat(1 / 0).reverse());
|
|
138
|
-
for (const a of n) t.unshift(
|
|
139
|
-
} else e !== void 0 && t.push(
|
|
138
|
+
for (const a of n) t.unshift(C(a));
|
|
139
|
+
} else e !== void 0 && t.push(C(e));
|
|
140
140
|
return t;
|
|
141
141
|
}
|
|
142
142
|
static _$Eu(e, t) {
|
|
@@ -165,7 +165,7 @@ class p extends HTMLElement {
|
|
|
165
165
|
}
|
|
166
166
|
createRenderRoot() {
|
|
167
167
|
const e = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
|
|
168
|
-
return
|
|
168
|
+
return D(e, this.constructor.elementStyles), e;
|
|
169
169
|
}
|
|
170
170
|
connectedCallback() {
|
|
171
171
|
var e;
|
|
@@ -190,7 +190,7 @@ class p extends HTMLElement {
|
|
|
190
190
|
var o;
|
|
191
191
|
const n = this.constructor.elementProperties.get(e), a = this.constructor._$Eu(e, n);
|
|
192
192
|
if (a !== void 0 && n.reflect === !0) {
|
|
193
|
-
const i = (((o = n.converter) == null ? void 0 : o.toAttribute) !== void 0 ? n.converter :
|
|
193
|
+
const i = (((o = n.converter) == null ? void 0 : o.toAttribute) !== void 0 ? n.converter : _).toAttribute(t, n.type);
|
|
194
194
|
this._$Em = e, i == null ? this.removeAttribute(a) : this.setAttribute(a, i), this._$Em = null;
|
|
195
195
|
}
|
|
196
196
|
}
|
|
@@ -198,13 +198,13 @@ class p extends HTMLElement {
|
|
|
198
198
|
var o;
|
|
199
199
|
const n = this.constructor, a = n._$Eh.get(e);
|
|
200
200
|
if (a !== void 0 && this._$Em !== a) {
|
|
201
|
-
const i = n.getPropertyOptions(a), r = typeof i.converter == "function" ? { fromAttribute: i.converter } : ((o = i.converter) == null ? void 0 : o.fromAttribute) !== void 0 ? i.converter :
|
|
201
|
+
const i = n.getPropertyOptions(a), r = typeof i.converter == "function" ? { fromAttribute: i.converter } : ((o = i.converter) == null ? void 0 : o.fromAttribute) !== void 0 ? i.converter : _;
|
|
202
202
|
this._$Em = a, this[a] = r.fromAttribute(t, i.type), this._$Em = null;
|
|
203
203
|
}
|
|
204
204
|
}
|
|
205
205
|
requestUpdate(e, t, n) {
|
|
206
206
|
if (e !== void 0) {
|
|
207
|
-
if (n ?? (n = this.constructor.getPropertyOptions(e)), !(n.hasChanged ??
|
|
207
|
+
if (n ?? (n = this.constructor.getPropertyOptions(e)), !(n.hasChanged ?? E)(this[e], t)) return;
|
|
208
208
|
this.P(e, t, n);
|
|
209
209
|
}
|
|
210
210
|
this.isUpdatePending === !1 && (this._$ES = this._$ET());
|
|
@@ -277,13 +277,13 @@ class p extends HTMLElement {
|
|
|
277
277
|
firstUpdated(e) {
|
|
278
278
|
}
|
|
279
279
|
}
|
|
280
|
-
|
|
280
|
+
b.elementStyles = [], b.shadowRootOptions = { mode: "open" }, b[m("elementProperties")] = /* @__PURE__ */ new Map(), b[m("finalized")] = /* @__PURE__ */ new Map(), $ == null || $({ ReactiveElement: b }), (d.reactiveElementVersions ?? (d.reactiveElementVersions = [])).push("2.0.4");
|
|
281
281
|
/**
|
|
282
282
|
* @license
|
|
283
283
|
* Copyright 2017 Google LLC
|
|
284
284
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
285
285
|
*/
|
|
286
|
-
const
|
|
286
|
+
const F = { attribute: !0, type: String, converter: _, reflect: !1, hasChanged: E }, I = (s = F, e, t) => {
|
|
287
287
|
const { kind: n, metadata: a } = t;
|
|
288
288
|
let o = globalThis.litPropertyMetadata.get(a);
|
|
289
289
|
if (o === void 0 && globalThis.litPropertyMetadata.set(a, o = /* @__PURE__ */ new Map()), o.set(t.name, s), n === "accessor") {
|
|
@@ -304,8 +304,8 @@ const K = { attribute: !0, type: String, converter: u, reflect: !1, hasChanged:
|
|
|
304
304
|
}
|
|
305
305
|
throw Error("Unsupported decorator location: " + n);
|
|
306
306
|
};
|
|
307
|
-
function
|
|
308
|
-
return (e, t) => typeof t == "object" ?
|
|
307
|
+
function v(s) {
|
|
308
|
+
return (e, t) => typeof t == "object" ? I(s, e, t) : ((n, a, o) => {
|
|
309
309
|
const i = a.hasOwnProperty(o);
|
|
310
310
|
return a.constructor.createProperty(o, i ? { ...n, wrapped: !0 } : n), i ? Object.getOwnPropertyDescriptor(a, o) : void 0;
|
|
311
311
|
})(s, e, t);
|
|
@@ -315,10 +315,10 @@ function m(s) {
|
|
|
315
315
|
* Copyright 2017 Google LLC
|
|
316
316
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
317
317
|
*/
|
|
318
|
-
function
|
|
319
|
-
return
|
|
318
|
+
function z(s) {
|
|
319
|
+
return v({ ...s, state: !0, attribute: !1 });
|
|
320
320
|
}
|
|
321
|
-
const
|
|
321
|
+
const Q = L`
|
|
322
322
|
:host {
|
|
323
323
|
/* Global Header Styles */
|
|
324
324
|
--_nys-globalheader-text-color: var(
|
|
@@ -335,7 +335,6 @@ const I = U`
|
|
|
335
335
|
);
|
|
336
336
|
--_nys-globalheader-main-gap-spacing: var(--nys-space-300, 24px);
|
|
337
337
|
--_nys-globalheader-padding: var(--nys-space-250, 20px);
|
|
338
|
-
--_nys-globalheader-gutter: var(--nys-gutter-sm, 20px);
|
|
339
338
|
--_nys-globalheader-font-family: var(
|
|
340
339
|
--nys-font-family-ui,
|
|
341
340
|
var(
|
|
@@ -374,14 +373,14 @@ const I = U`
|
|
|
374
373
|
);
|
|
375
374
|
|
|
376
375
|
/* Menu Content Styling */
|
|
377
|
-
--_nys-globalfooter-link-gap-spacing-row: var(--nys-space-300, 24px);
|
|
378
|
-
--_nys-globalfooter-link-gap-spacing-column: var(--nys-space-400, 32px);
|
|
379
376
|
--_nys-globalheader-link-lineheight: var(--nys-font-lineheight-ui-md, 24px);
|
|
380
377
|
--_nys-globalheader-link-letterspacing: var(
|
|
381
378
|
--nys-font-letterspacing-ui-md,
|
|
382
379
|
var(--nys-font-letterspacing-400, 0.044px)
|
|
383
380
|
);
|
|
384
381
|
--_nys-globalheader-link-weight-decoration: var(--nys-size-2px, 2px);
|
|
382
|
+
--_nys-globalheader-link-padding: var(--nys-space-300, 24px)
|
|
383
|
+
var(--nys-space-200, 16px);
|
|
385
384
|
|
|
386
385
|
/* Mobile Menu */
|
|
387
386
|
--_nys-globalheader-mobile-btn-font-size: var(--nys-type-size-ui-xs, 12px);
|
|
@@ -415,8 +414,10 @@ const I = U`
|
|
|
415
414
|
}
|
|
416
415
|
|
|
417
416
|
li {
|
|
417
|
+
display: block;
|
|
418
418
|
margin: 0;
|
|
419
419
|
padding: 0;
|
|
420
|
+
box-sizing: border-box;
|
|
420
421
|
}
|
|
421
422
|
|
|
422
423
|
a {
|
|
@@ -433,10 +434,11 @@ const I = U`
|
|
|
433
434
|
.nys-globalheader {
|
|
434
435
|
display: flex;
|
|
435
436
|
justify-content: center;
|
|
436
|
-
padding: var(--_nys-globalheader-padding)
|
|
437
|
+
padding: var(--_nys-globalheader-padding);
|
|
437
438
|
background-color: var(--_nys-globalheader-background);
|
|
438
439
|
color: var(--_nys-globalheader-text-color);
|
|
439
440
|
width: 100%;
|
|
441
|
+
min-height: 76px;
|
|
440
442
|
box-sizing: border-box;
|
|
441
443
|
}
|
|
442
444
|
|
|
@@ -503,6 +505,25 @@ const I = U`
|
|
|
503
505
|
text-decoration-thickness: var(--_nys-globalheader-link-weight-decoration);
|
|
504
506
|
}
|
|
505
507
|
|
|
508
|
+
/* Active Links */
|
|
509
|
+
.nys-globalheader__content li.active a,
|
|
510
|
+
.nys-globalheader__content-mobile li.active a {
|
|
511
|
+
font-weight: 700;
|
|
512
|
+
}
|
|
513
|
+
.nys-globalheader__content li.active {
|
|
514
|
+
border-bottom: 8px solid var(--nys-color-theme-weak, #cddde9);
|
|
515
|
+
}
|
|
516
|
+
.nys-globalheader__content li.active a {
|
|
517
|
+
margin-bottom: calc(-1 * var(--nys-space-100, 8px));
|
|
518
|
+
}
|
|
519
|
+
.nys-globalheader__content-mobile li.active a {
|
|
520
|
+
border-left: 8px solid var(--nys-color-theme-weak, #cddde9);
|
|
521
|
+
border-bottom: 1px solid var(--_nys-globalheader-mobile-li-border-color);
|
|
522
|
+
}
|
|
523
|
+
.nys-globalheader__content ul li.active a:hover {
|
|
524
|
+
text-decoration: none;
|
|
525
|
+
}
|
|
526
|
+
|
|
506
527
|
/* Mobile Menu */
|
|
507
528
|
.nys-globalheader__content-mobile {
|
|
508
529
|
position: absolute;
|
|
@@ -530,6 +551,7 @@ const I = U`
|
|
|
530
551
|
gap: 8px;
|
|
531
552
|
align-self: stretch;
|
|
532
553
|
border-bottom: 1px solid var(--_nys-globalheader-mobile-li-border-color);
|
|
554
|
+
background: var(--_nys-globalheader-background);
|
|
533
555
|
}
|
|
534
556
|
.nys-globalheader__content-mobile ul li a:hover {
|
|
535
557
|
background: var(--_nys-globalheader-mobile-li-hover-bg);
|
|
@@ -572,39 +594,45 @@ const I = U`
|
|
|
572
594
|
}
|
|
573
595
|
|
|
574
596
|
/* Breakpoints using NYSDS Guidelines (Menu Links) */
|
|
575
|
-
|
|
576
|
-
|
|
597
|
+
/* https://www.figma.com/design/U2QpuSUXRTxbgG64Fzi9bu?node-id=1170-340 */
|
|
598
|
+
@media (min-width: 1024px) {
|
|
599
|
+
/* Desktop (MD - Above 1024px) */
|
|
577
600
|
.nys-globalheader__content {
|
|
578
601
|
display: flex;
|
|
579
602
|
}
|
|
580
603
|
.nys-globalheader__content ul {
|
|
581
604
|
flex-direction: row;
|
|
582
|
-
gap: var(--_nys-globalfooter-link-gap-spacing-row)
|
|
583
|
-
var(--_nys-globalfooter-link-gap-spacing-column);
|
|
584
605
|
}
|
|
585
606
|
.nys-globalheader__content-mobile,
|
|
586
607
|
.nys-globalheader__button-container {
|
|
587
608
|
display: none;
|
|
588
609
|
}
|
|
610
|
+
li {
|
|
611
|
+
display: flex;
|
|
612
|
+
align-items: center;
|
|
613
|
+
padding: var(--_nys-globalheader-link-padding);
|
|
614
|
+
}
|
|
589
615
|
:host {
|
|
590
616
|
--_nys-globalheader-main-gap-spacing: var(--nys-space-500, 40px);
|
|
591
|
-
--_nys-globalheader-
|
|
617
|
+
--_nys-globalheader-padding: var(--nys-space-50, 4px)
|
|
618
|
+
var(--nys-size-400, 32px) 0;
|
|
592
619
|
}
|
|
593
620
|
}
|
|
594
621
|
|
|
595
622
|
@media (min-width: 1280px) {
|
|
596
|
-
/* Large Desktop (
|
|
623
|
+
/* Large Desktop (LG - Above 1280px) */
|
|
597
624
|
:host {
|
|
598
|
-
--_nys-globalheader-
|
|
625
|
+
--_nys-globalheader-padding: var(--nys-space-50, 4px)
|
|
626
|
+
var(--nys-space-800, 64px) 0;
|
|
599
627
|
}
|
|
600
628
|
}
|
|
601
629
|
`;
|
|
602
|
-
var V = Object.defineProperty,
|
|
630
|
+
var V = Object.defineProperty, u = (s, e, t, n) => {
|
|
603
631
|
for (var a = void 0, o = s.length - 1, i; o >= 0; o--)
|
|
604
632
|
(i = s[o]) && (a = i(e, t, a) || a);
|
|
605
633
|
return a && V(e, t, a), a;
|
|
606
634
|
};
|
|
607
|
-
const
|
|
635
|
+
const w = class w extends R {
|
|
608
636
|
constructor() {
|
|
609
637
|
super(...arguments), this.appName = "", this.agencyName = "", this.homepageLink = "", this.slotHasContent = !0, this.isMobileMenuOpen = !1;
|
|
610
638
|
}
|
|
@@ -629,13 +657,33 @@ const x = class x extends A {
|
|
|
629
657
|
);
|
|
630
658
|
n && a && (n.innerHTML = "", a.innerHTML = "", t.forEach((l) => {
|
|
631
659
|
if (l.nodeType === Node.ELEMENT_NODE) {
|
|
632
|
-
const
|
|
633
|
-
["script", "iframe", "object", "embed, img"].forEach((
|
|
634
|
-
|
|
635
|
-
})
|
|
660
|
+
const x = l.cloneNode(!0), P = l.cloneNode(!0);
|
|
661
|
+
["script", "iframe", "object", "embed, img"].forEach((p) => {
|
|
662
|
+
x.querySelectorAll(p).forEach((g) => g.remove());
|
|
663
|
+
});
|
|
664
|
+
const k = this._normalizePath(window.location.pathname);
|
|
665
|
+
x.querySelectorAll("a").forEach((p) => {
|
|
666
|
+
const g = p.getAttribute("href");
|
|
667
|
+
if (this._normalizePath(g) === k) {
|
|
668
|
+
const y = p.closest("li");
|
|
669
|
+
y && y.classList.add("active");
|
|
670
|
+
}
|
|
671
|
+
}), P.querySelectorAll("a").forEach((p) => {
|
|
672
|
+
const g = p.getAttribute("href");
|
|
673
|
+
if (this._normalizePath(g) === k) {
|
|
674
|
+
const y = p.closest("li");
|
|
675
|
+
y && y.classList.add("active");
|
|
676
|
+
}
|
|
677
|
+
}), n.appendChild(x), a.appendChild(P), l.remove();
|
|
636
678
|
}
|
|
637
679
|
}));
|
|
638
680
|
}
|
|
681
|
+
// Normalize paths so that links like "name", "/name/", and "/" match window.location.pathname.
|
|
682
|
+
// This ensures consistent active-link behavior regardless of how hrefs are written.
|
|
683
|
+
_normalizePath(e) {
|
|
684
|
+
if (e)
|
|
685
|
+
return e.startsWith("/") || (e = "/" + e), e.length > 1 && e.endsWith("/") && (e = e.slice(0, -1)), e.toLowerCase();
|
|
686
|
+
}
|
|
639
687
|
_toggleMobileMenu() {
|
|
640
688
|
this.isMobileMenuOpen = !this.isMobileMenuOpen;
|
|
641
689
|
}
|
|
@@ -703,25 +751,25 @@ const x = class x extends A {
|
|
|
703
751
|
`;
|
|
704
752
|
}
|
|
705
753
|
};
|
|
706
|
-
|
|
707
|
-
let
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
],
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
],
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
],
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
],
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
],
|
|
723
|
-
customElements.get("nys-globalheader") || customElements.define("nys-globalheader",
|
|
754
|
+
w.styles = Q;
|
|
755
|
+
let c = w;
|
|
756
|
+
u([
|
|
757
|
+
v({ type: String })
|
|
758
|
+
], c.prototype, "appName");
|
|
759
|
+
u([
|
|
760
|
+
v({ type: String })
|
|
761
|
+
], c.prototype, "agencyName");
|
|
762
|
+
u([
|
|
763
|
+
v({ type: String })
|
|
764
|
+
], c.prototype, "homepageLink");
|
|
765
|
+
u([
|
|
766
|
+
z()
|
|
767
|
+
], c.prototype, "slotHasContent");
|
|
768
|
+
u([
|
|
769
|
+
z()
|
|
770
|
+
], c.prototype, "isMobileMenuOpen");
|
|
771
|
+
customElements.get("nys-globalheader") || customElements.define("nys-globalheader", c);
|
|
724
772
|
export {
|
|
725
|
-
|
|
773
|
+
c as NysGlobalHeader
|
|
726
774
|
};
|
|
727
775
|
//# sourceMappingURL=nys-globalheader.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nys-globalheader.js","sources":["../../../node_modules/@lit/reactive-element/css-tag.js","../../../node_modules/@lit/reactive-element/reactive-element.js","../../../node_modules/@lit/reactive-element/decorators/property.js","../../../node_modules/@lit/reactive-element/decorators/state.js","../src/nys-globalheader.styles.ts","../src/nys-globalheader.ts"],"sourcesContent":["/**\n * @license\n * Copyright 2019 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nconst t=globalThis,e=t.ShadowRoot&&(void 0===t.ShadyCSS||t.ShadyCSS.nativeShadow)&&\"adoptedStyleSheets\"in Document.prototype&&\"replace\"in CSSStyleSheet.prototype,s=Symbol(),o=new WeakMap;class n{constructor(t,e,o){if(this._$cssResult$=!0,o!==s)throw Error(\"CSSResult is not constructable. Use `unsafeCSS` or `css` instead.\");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const s=this.t;if(e&&void 0===t){const e=void 0!==s&&1===s.length;e&&(t=o.get(s)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o.set(s,t))}return t}toString(){return this.cssText}}const r=t=>new n(\"string\"==typeof t?t:t+\"\",void 0,s),i=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,s,o)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if(\"number\"==typeof t)return t;throw Error(\"Value passed to 'css' function must be a 'css' function result: \"+t+\". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.\")})(s)+t[o+1]),t[0]);return new n(o,t,s)},S=(s,o)=>{if(e)s.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement(\"style\"),n=t.litNonce;void 0!==n&&o.setAttribute(\"nonce\",n),o.textContent=e.cssText,s.appendChild(o)}},c=e?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e=\"\";for(const s of t.cssRules)e+=s.cssText;return r(e)})(t):t;export{n as CSSResult,S as adoptStyles,i as css,c as getCompatibleStyle,e as supportsAdoptingStyleSheets,r as unsafeCSS};\n//# sourceMappingURL=css-tag.js.map\n","import{getCompatibleStyle as t,adoptStyles as s}from\"./css-tag.js\";export{CSSResult,adoptStyles,css,getCompatibleStyle,supportsAdoptingStyleSheets,unsafeCSS}from\"./css-tag.js\";\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */const{is:i,defineProperty:e,getOwnPropertyDescriptor:r,getOwnPropertyNames:h,getOwnPropertySymbols:o,getPrototypeOf:n}=Object,a=globalThis,c=a.trustedTypes,l=c?c.emptyScript:\"\",p=a.reactiveElementPolyfillSupport,d=(t,s)=>t,u={toAttribute(t,s){switch(s){case Boolean:t=t?l:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,s){let i=t;switch(s){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(t){i=null}}return i}},f=(t,s)=>!i(t,s),y={attribute:!0,type:String,converter:u,reflect:!1,hasChanged:f};Symbol.metadata??=Symbol(\"metadata\"),a.litPropertyMetadata??=new WeakMap;class b extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,s=y){if(s.state&&(s.attribute=!1),this._$Ei(),this.elementProperties.set(t,s),!s.noAccessor){const i=Symbol(),r=this.getPropertyDescriptor(t,i,s);void 0!==r&&e(this.prototype,t,r)}}static getPropertyDescriptor(t,s,i){const{get:e,set:h}=r(this.prototype,t)??{get(){return this[s]},set(t){this[s]=t}};return{get(){return e?.call(this)},set(s){const r=e?.call(this);h.call(this,s),this.requestUpdate(t,r,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??y}static _$Ei(){if(this.hasOwnProperty(d(\"elementProperties\")))return;const t=n(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(d(\"finalized\")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(d(\"properties\"))){const t=this.properties,s=[...h(t),...o(t)];for(const i of s)this.createProperty(i,t[i])}const t=this[Symbol.metadata];if(null!==t){const s=litPropertyMetadata.get(t);if(void 0!==s)for(const[t,i]of s)this.elementProperties.set(t,i)}this._$Eh=new Map;for(const[t,s]of this.elementProperties){const i=this._$Eu(t,s);void 0!==i&&this._$Eh.set(i,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(s){const i=[];if(Array.isArray(s)){const e=new Set(s.flat(1/0).reverse());for(const s of e)i.unshift(t(s))}else void 0!==s&&i.push(t(s));return i}static _$Eu(t,s){const i=s.attribute;return!1===i?void 0:\"string\"==typeof i?i:\"string\"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){const t=new Map,s=this.constructor.elementProperties;for(const i of s.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return s(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,s,i){this._$AK(t,i)}_$EC(t,s){const i=this.constructor.elementProperties.get(t),e=this.constructor._$Eu(t,i);if(void 0!==e&&!0===i.reflect){const r=(void 0!==i.converter?.toAttribute?i.converter:u).toAttribute(s,i.type);this._$Em=t,null==r?this.removeAttribute(e):this.setAttribute(e,r),this._$Em=null}}_$AK(t,s){const i=this.constructor,e=i._$Eh.get(t);if(void 0!==e&&this._$Em!==e){const t=i.getPropertyOptions(e),r=\"function\"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:u;this._$Em=e,this[e]=r.fromAttribute(s,t.type),this._$Em=null}}requestUpdate(t,s,i){if(void 0!==t){if(i??=this.constructor.getPropertyOptions(t),!(i.hasChanged??f)(this[t],s))return;this.P(t,s,i)}!1===this.isUpdatePending&&(this._$ES=this._$ET())}P(t,s,i){this._$AL.has(t)||this._$AL.set(t,s),!0===i.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,s]of this._$Ep)this[t]=s;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[s,i]of t)!0!==i.wrapped||this._$AL.has(s)||void 0===this[s]||this.P(s,this[s],i)}let t=!1;const s=this._$AL;try{t=this.shouldUpdate(s),t?(this.willUpdate(s),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(s)):this._$EU()}catch(s){throw t=!1,this._$EU(),s}t&&this._$AE(s)}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EC(t,this[t]))),this._$EU()}updated(t){}firstUpdated(t){}}b.elementStyles=[],b.shadowRootOptions={mode:\"open\"},b[d(\"elementProperties\")]=new Map,b[d(\"finalized\")]=new Map,p?.({ReactiveElement:b}),(a.reactiveElementVersions??=[]).push(\"2.0.4\");export{b as ReactiveElement,u as defaultConverter,f as notEqual};\n//# sourceMappingURL=reactive-element.js.map\n","import{defaultConverter as t,notEqual as e}from\"../reactive-element.js\";\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */const o={attribute:!0,type:String,converter:t,reflect:!1,hasChanged:e},r=(t=o,e,r)=>{const{kind:n,metadata:i}=r;let s=globalThis.litPropertyMetadata.get(i);if(void 0===s&&globalThis.litPropertyMetadata.set(i,s=new Map),s.set(r.name,t),\"accessor\"===n){const{name:o}=r;return{set(r){const n=e.get.call(this);e.set.call(this,r),this.requestUpdate(o,n,t)},init(e){return void 0!==e&&this.P(o,void 0,t),e}}}if(\"setter\"===n){const{name:o}=r;return function(r){const n=this[o];e.call(this,r),this.requestUpdate(o,n,t)}}throw Error(\"Unsupported decorator location: \"+n)};function n(t){return(e,o)=>\"object\"==typeof o?r(t,e,o):((t,e,o)=>{const r=e.hasOwnProperty(o);return e.constructor.createProperty(o,r?{...t,wrapped:!0}:t),r?Object.getOwnPropertyDescriptor(e,o):void 0})(t,e,o)}export{n as property,r as standardProperty};\n//# sourceMappingURL=property.js.map\n","import{property as t}from\"./property.js\";\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */function r(r){return t({...r,state:!0,attribute:!1})}export{r as state};\n//# sourceMappingURL=state.js.map\n","import { css } from \"lit\";\n\nexport default css`\n :host {\n /* Global Header Styles */\n --_nys-globalheader-text-color: var(\n --nys-color-text-reverse,\n var(--nys-color-white, #ffffff)\n );\n --_nys-globalheader-link-color: var(\n --nys-color-link-reverse-neutral,\n var(--nys-color-white, #fff)\n );\n --_nys-globalheader-background: var(\n --nys-color-theme,\n var(--nys-color-state-blue-700, #154973)\n );\n --_nys-globalheader-main-gap-spacing: var(--nys-space-300, 24px);\n --_nys-globalheader-padding: var(--nys-space-250, 20px);\n --_nys-globalheader-gutter: var(--nys-gutter-sm, 20px);\n --_nys-globalheader-font-family: var(\n --nys-font-family-ui,\n var(\n --nys-font-family-sans,\n \"Proxima Nova\",\n \"Helvetica Neue\",\n \"Helvetica\",\n \"Arial\",\n sans-serif\n )\n );\n --_nys-globalheader-lineheight: normal;\n --_nys-globalheader-letterspacing: normal;\n --_nys-globalheader-font-weight-bold: var(--nys-font-weight-bold, 700);\n --_nys-globalheader-font-weight-semibold: var(\n --nys-font-weight-semibold,\n 600\n );\n --_nys-globalheader-content-max-width: var(--nys-max-content-width, 1280px);\n\n /* Agency and App Name Styling */\n --_nys-globalheader-name-gap-spacing: var(--nys-space-100, 8px);\n --_nys-globalheader-font-size-main-name: var(\n --nys-font-size-agency-xl,\n var(--nys-font-size-2xl, 22px)\n );\n --_nys-globalheader-font-size-sub-name: var(\n --nys-font-size-agency-md,\n var(--nys-font-size-md, 16px)\n );\n --_nys-globalheader-font-family-agency: var(\n --nys-font-family-agency,\n \"D Sari\",\n Arial,\n sans-serif\n );\n\n /* Menu Content Styling */\n --_nys-globalfooter-link-gap-spacing-row: var(--nys-space-300, 24px);\n --_nys-globalfooter-link-gap-spacing-column: var(--nys-space-400, 32px);\n --_nys-globalheader-link-lineheight: var(--nys-font-lineheight-ui-md, 24px);\n --_nys-globalheader-link-letterspacing: var(\n --nys-font-letterspacing-ui-md,\n var(--nys-font-letterspacing-400, 0.044px)\n );\n --_nys-globalheader-link-weight-decoration: var(--nys-size-2px, 2px);\n\n /* Mobile Menu */\n --_nys-globalheader-mobile-btn-font-size: var(--nys-type-size-ui-xs, 12px);\n --_nys-globalheader-mobile-btn-lineheight: var(\n --nys-font-lineheight-ui-xs,\n 20px\n );\n --_nys-globalheader-mobile-btn-letterspacing: var(\n --nys-font-letterspacing-ui-xs,\n 0.057px\n );\n --_nys-globalheader-mobile-li-border-color: var(\n --nys-color-theme-mid,\n #457aa5\n );\n --_nys-globalheader-mobile-li-hover-bg: var(\n --nys-color-theme-strong,\n #0e324f\n );\n --_nys-globalheader-mobile-li-active-bg: var(\n --nys-color-theme-stronger,\n #081b2b\n );\n }\n\n /* Slotted content (menu links) basic resets */\n ul {\n list-style-type: none;\n padding: 0;\n margin: 0;\n }\n\n li {\n margin: 0;\n padding: 0;\n }\n\n a {\n color: var(--_nys-globalheader-link-color);\n text-decoration: none;\n font-family: var(--_nys-globalheader-font-family);\n font-size: var(--_nys-globalheader-font-size-links);\n font-style: normal;\n font-weight: 400;\n line-height: var(--_nys-globalheader-link-lineheight);\n letter-spacing: var(--_nys-globalheader-link-letterspacing);\n }\n\n .nys-globalheader {\n display: flex;\n justify-content: center;\n padding: var(--_nys-globalheader-padding) var(--_nys-globalheader-gutter);\n background-color: var(--_nys-globalheader-background);\n color: var(--_nys-globalheader-text-color);\n width: 100%;\n box-sizing: border-box;\n }\n\n /* Main container */\n .nys-globalheader__main-container {\n display: flex;\n gap: var(--_nys-globalheader-main-gap-spacing);\n max-width: var(--_nys-globalheader-content-max-width);\n width: 100%;\n }\n\n /* Left-hand side Agency and App names */\n .nys-globalheader__name-container {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: flex-start;\n gap: var(--_nys-globalheader-name-gap-spacing);\n }\n .nys-globalheader__name {\n margin: 0;\n color: var(--_nys-globalheader-text-color);\n font-family: var(--_nys-globalheader-font-family-agency);\n font-size: var(--_nys-globalheader-font-size-main-name);\n font-style: normal;\n font-weight: var(--_nys-globalheader-font-weight-semibold);\n line-height: var(--_nys-globalheader-lineheight);\n letter-spacing: var(--_nys-globalheader-letterspacing);\n text-wrap: wrap;\n }\n\n .nys-globalheader__agencyName {\n font-size: var(--_nys-globalheader-font-size-sub-name);\n }\n\n /* Set the font size for the agency to be the main font if appName is not defined */\n .nys-globalheader__agencyName.main {\n font-size: var(--_nys-globalheader-font-size-main-name);\n }\n\n /* Slotted content */\n .nys-globalheader__content {\n display: none;\n font-family: var(--_nys-globalheader-font-family);\n }\n\n .nys-globalheader__content ul {\n display: flex;\n flex-direction: column;\n align-items: center;\n flex-wrap: wrap;\n }\n\n .nys-globalheader__content ul a:hover {\n text-decoration: underline;\n text-decoration-style: solid;\n text-decoration-skip-ink: auto;\n text-decoration-thickness: 7%;\n text-underline-offset: auto;\n text-underline-position: from-font;\n }\n\n .nys-globalheader__content ul a:active {\n text-decoration-thickness: var(--_nys-globalheader-link-weight-decoration);\n }\n\n /* Mobile Menu */\n .nys-globalheader__content-mobile {\n position: absolute;\n z-index: 10;\n display: flex;\n flex-direction: column;\n justify-content: center;\n background-color: var(--_nys-globalheader-background);\n width: fit-content;\n }\n .nys-globalheader__content-mobile.close {\n display: none;\n }\n .nys-globalheader__content-mobile ul {\n display: flex;\n flex-direction: column;\n }\n .nys-globalheader__content-mobile ul li:first-child a {\n border-top: 1px solid var(--_nys-globalheader-text-color);\n }\n .nys-globalheader__content-mobile ul li a {\n display: flex;\n padding: 24px;\n align-items: center;\n gap: 8px;\n align-self: stretch;\n border-bottom: 1px solid var(--_nys-globalheader-mobile-li-border-color);\n }\n .nys-globalheader__content-mobile ul li a:hover {\n background: var(--_nys-globalheader-mobile-li-hover-bg);\n }\n .nys-globalheader__content-mobile ul li a:active {\n background: var(--_nys-globalheader-mobile-li-active-bg);\n }\n .nys-globalheader__name-container-link {\n display: flex;\n flex-direction: column;\n justify-content: center;\n }\n /* Mobile Menu (OPEN/CLOSE Button Container) */\n .nys-globalheader__button-container {\n display: flex;\n justify-content: center;\n align-items: center;\n }\n .nys-globalheader__mobile-menu-button {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n gap: 3px;\n width: 50px;\n height: 50px;\n background-color: var(--_nys-globalheader-background);\n border: none;\n cursor: pointer;\n display: flex;\n justify-content: center;\n align-items: center;\n padding: 0;\n color: var(--_nys-globalheader-text-color);\n }\n .nys-globalheader__mobile-menu-button-text {\n font-size: var(--_nys-globalheader-mobile-btn-font-size);\n line-height: var(--_nys-globalheader-mobile-btn-lineheight);\n letter-spacing: var(--_nys-globalheader-mobile-btn-letterspacing);\n }\n\n /* Breakpoints using NYSDS Guidelines (Menu Links) */\n @media (min-width: 768px) {\n /* Tablet (MD - Above 768px) */\n .nys-globalheader__content {\n display: flex;\n }\n .nys-globalheader__content ul {\n flex-direction: row;\n gap: var(--_nys-globalfooter-link-gap-spacing-row)\n var(--_nys-globalfooter-link-gap-spacing-column);\n }\n .nys-globalheader__content-mobile,\n .nys-globalheader__button-container {\n display: none;\n }\n :host {\n --_nys-globalheader-main-gap-spacing: var(--nys-space-500, 40px);\n --_nys-globalheader-gutter: var(--nys-gutter-lg, 32px);\n }\n }\n\n @media (min-width: 1280px) {\n /* Large Desktop (XL - Above 1280px) */\n :host {\n --_nys-globalheader-gutter: var(--nys-gutter-xl, 64px);\n }\n }\n`;\n","import { LitElement, html } from \"lit\";\nimport { property, state } from \"lit/decorators.js\";\nimport styles from \"./nys-globalheader.styles\";\n\nexport class NysGlobalHeader extends LitElement {\n static styles = styles;\n\n /********************** Properties **********************/\n @property({ type: String }) appName = \"\";\n @property({ type: String }) agencyName = \"\";\n @property({ type: String }) homepageLink = \"\";\n @state() private slotHasContent = true;\n @state() private isMobileMenuOpen = false;\n\n /**************** Lifecycle Methods ****************/\n\n firstUpdated() {\n // Check for slot content after rendering\n const slot = this.shadowRoot?.querySelector<HTMLSlotElement>(\"slot\");\n slot?.addEventListener(\"slotchange\", () => this._handleSlotChange());\n this._handleSlotChange(); // Initial check\n }\n\n /******************** Functions ********************/\n // Gets called when the slot content changes and directly appends the slotted elements into the shadow DOM\n private async _handleSlotChange() {\n const slot = this.shadowRoot?.querySelector<HTMLSlotElement>(\"slot\");\n if (!slot) return;\n\n const assignedNodes = slot\n ?.assignedNodes({ flatten: true })\n .filter((node) => node.nodeType === Node.ELEMENT_NODE) as Element[]; // Filter to elements only\n\n await Promise.resolve(); // Wait for current update cycle to complete before modifying reactive state (solves the lit issue \"scheduled an update\")\n\n // Update slotHasContent based on assigned elements\n this.slotHasContent = assignedNodes.length > 0;\n\n // Get the container to append the slotted elements\n const container = this.shadowRoot?.querySelector(\n \".nys-globalheader__content\",\n );\n const containerMobile = this.shadowRoot?.querySelector(\n \".nys-globalheader__content-mobile\",\n );\n\n if (container && containerMobile) {\n // Clear existing children in the container\n container.innerHTML = \"\";\n containerMobile.innerHTML = \"\";\n\n // Clone and append slotted elements into the shadow DOM container\n assignedNodes.forEach((node) => {\n if (node.nodeType === Node.ELEMENT_NODE) {\n const cleanNode = node.cloneNode(true);\n const cleanNodeMobile = node.cloneNode(true);\n\n // Remove <script>, <iframe>, <object>, and any potentially dangerous elements XSS\n const dangerousTags = [\"script\", \"iframe\", \"object\", \"embed, img\"];\n dangerousTags.forEach((tag) => {\n (cleanNode as Element)\n .querySelectorAll(tag)\n .forEach((element) => element.remove());\n });\n container.appendChild(cleanNode);\n containerMobile.appendChild(cleanNodeMobile);\n node.remove(); // Remove from light DOM to avoid duplication\n }\n });\n }\n }\n\n private _toggleMobileMenu() {\n this.isMobileMenuOpen = !this.isMobileMenuOpen;\n }\n\n render() {\n return html`\n <header class=\"nys-globalheader\">\n <div class=\"nys-globalheader__main-container\">\n ${this.slotHasContent\n ? html` <div class=\"nys-globalheader__button-container\">\n <button\n class=\"nys-globalheader__mobile-menu-button\"\n @click=\"${this._toggleMobileMenu}\"\n >\n <nys-icon\n name=\"${this.isMobileMenuOpen ? \"close\" : \"menu\"}\"\n size=\"32\"\n label=\"${this.isMobileMenuOpen ? \"close\" : \"menu\"} icon\"\n ></nys-icon>\n <span class=\"nys-globalheader__mobile-menu-button-text\"\n >${this.isMobileMenuOpen ? \"CLOSE\" : \"MENU\"}</span\n >\n </button>\n </div>`\n : \"\"}\n ${!this.homepageLink?.trim()\n ? html`\n <div class=\"nys-globalheader__name-container\">\n ${this.appName?.trim().length > 0\n ? html`<div\n class=\"nys-globalheader__appName nys-globalheader__name\"\n >\n ${this.appName}\n </div> `\n : \"\"}\n ${this.agencyName?.trim().length > 0\n ? html`<div\n class=\"nys-globalheader__agencyName nys-globalheader__name ${this.appName?.trim()\n .length > 0\n ? \"\"\n : \"main\"}\"\n >\n ${this.agencyName}\n </div> `\n : \"\"}\n </div>\n `\n : html`<a\n class=\"nys-globalheader__name-container-link\"\n href=${this.homepageLink?.trim()}\n >\n <div class=\"nys-globalheader__name-container\">\n ${this.appName?.trim().length > 0\n ? html`<div\n class=\"nys-globalheader__appName nys-globalheader__name\"\n >\n ${this.appName}\n </div> `\n : \"\"}\n ${this.agencyName?.trim().length > 0\n ? html`<div\n class=\"nys-globalheader__agencyName nys-globalheader__name ${this.appName?.trim()\n .length > 0\n ? \"\"\n : \"main\"}\"\n >\n ${this.agencyName}\n </div> `\n : \"\"}\n </div>\n </a>`}\n ${this.slotHasContent\n ? html`<div class=\"nys-globalheader__content\">\n <slot\n style=\"display: hidden\"\n @slotchange=\"${this._handleSlotChange}\"\n ></slot>\n </div>`\n : \"\"}\n </div>\n </header>\n <div\n class=\"nys-globalheader__content-mobile ${this.isMobileMenuOpen\n ? \"\"\n : \"close\"}\"\n ></div>\n `;\n }\n}\n\nif (!customElements.get(\"nys-globalheader\")) {\n customElements.define(\"nys-globalheader\", NysGlobalHeader);\n}\n"],"names":["t","e","s","o","n$2","r","n","S","c","i","h","a","l","p","d","f","y","b","_a","styles","css","_NysGlobalHeader","LitElement","slot","assignedNodes","node","container","_b","containerMobile","_c","cleanNode","cleanNodeMobile","tag","element","html","_e","_f","_g","_h","_d","NysGlobalHeader","__decorateClass","property","state"],"mappings":";;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAKA,MAAMA,IAAE,YAAWC,IAAED,EAAE,eAAsBA,EAAE,aAAX,UAAqBA,EAAE,SAAS,iBAAe,wBAAuB,SAAS,aAAW,aAAY,cAAc,WAAUE,IAAE,OAAM,GAAGC,IAAE,oBAAI;AAAO,IAAAC,IAAC,MAAO;AAAA,EAAC,YAAYJ,GAAEC,GAAEE,GAAE;AAAC,QAAG,KAAK,eAAa,IAAGA,MAAID,EAAE,OAAM,MAAM,mEAAmE;AAAE,SAAK,UAAQF,GAAE,KAAK,IAAEC;AAAA,EAAC;AAAA,EAAC,IAAI,aAAY;AAAC,QAAID,IAAE,KAAK;AAAE,UAAME,IAAE,KA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3BC,EAAS,EAAE,MAAM,OAAA,CAAQ;AAAA,GANfF,EAMiB,WAAA,cAAA;AACXC,EAAA;AAAA,EAAhBE,EAAA;AAAM,GAPIH,EAOM,WAAA,gBAAA;AACAC,EAAA;AAAA,EAAhBE,EAAA;AAAM,GARIH,EAQM,WAAA,kBAAA;AAsJd,eAAe,IAAI,kBAAkB,KACxC,eAAe,OAAO,oBAAoBA,CAAe;","x_google_ignoreList":[0,1,2,3]}
|
|
1
|
+
{"version":3,"file":"nys-globalheader.js","sources":["../../../node_modules/@lit/reactive-element/css-tag.js","../../../node_modules/@lit/reactive-element/reactive-element.js","../../../node_modules/@lit/reactive-element/decorators/property.js","../../../node_modules/@lit/reactive-element/decorators/state.js","../src/nys-globalheader.styles.ts","../src/nys-globalheader.ts"],"sourcesContent":["/**\n * @license\n * Copyright 2019 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nconst t=globalThis,e=t.ShadowRoot&&(void 0===t.ShadyCSS||t.ShadyCSS.nativeShadow)&&\"adoptedStyleSheets\"in Document.prototype&&\"replace\"in CSSStyleSheet.prototype,s=Symbol(),o=new WeakMap;class n{constructor(t,e,o){if(this._$cssResult$=!0,o!==s)throw Error(\"CSSResult is not constructable. Use `unsafeCSS` or `css` instead.\");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const s=this.t;if(e&&void 0===t){const e=void 0!==s&&1===s.length;e&&(t=o.get(s)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o.set(s,t))}return t}toString(){return this.cssText}}const r=t=>new n(\"string\"==typeof t?t:t+\"\",void 0,s),i=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,s,o)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if(\"number\"==typeof t)return t;throw Error(\"Value passed to 'css' function must be a 'css' function result: \"+t+\". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.\")})(s)+t[o+1]),t[0]);return new n(o,t,s)},S=(s,o)=>{if(e)s.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement(\"style\"),n=t.litNonce;void 0!==n&&o.setAttribute(\"nonce\",n),o.textContent=e.cssText,s.appendChild(o)}},c=e?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e=\"\";for(const s of t.cssRules)e+=s.cssText;return r(e)})(t):t;export{n as CSSResult,S as adoptStyles,i as css,c as getCompatibleStyle,e as supportsAdoptingStyleSheets,r as unsafeCSS};\n//# sourceMappingURL=css-tag.js.map\n","import{getCompatibleStyle as t,adoptStyles as s}from\"./css-tag.js\";export{CSSResult,adoptStyles,css,getCompatibleStyle,supportsAdoptingStyleSheets,unsafeCSS}from\"./css-tag.js\";\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */const{is:i,defineProperty:e,getOwnPropertyDescriptor:r,getOwnPropertyNames:h,getOwnPropertySymbols:o,getPrototypeOf:n}=Object,a=globalThis,c=a.trustedTypes,l=c?c.emptyScript:\"\",p=a.reactiveElementPolyfillSupport,d=(t,s)=>t,u={toAttribute(t,s){switch(s){case Boolean:t=t?l:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,s){let i=t;switch(s){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(t){i=null}}return i}},f=(t,s)=>!i(t,s),y={attribute:!0,type:String,converter:u,reflect:!1,hasChanged:f};Symbol.metadata??=Symbol(\"metadata\"),a.litPropertyMetadata??=new WeakMap;class b extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,s=y){if(s.state&&(s.attribute=!1),this._$Ei(),this.elementProperties.set(t,s),!s.noAccessor){const i=Symbol(),r=this.getPropertyDescriptor(t,i,s);void 0!==r&&e(this.prototype,t,r)}}static getPropertyDescriptor(t,s,i){const{get:e,set:h}=r(this.prototype,t)??{get(){return this[s]},set(t){this[s]=t}};return{get(){return e?.call(this)},set(s){const r=e?.call(this);h.call(this,s),this.requestUpdate(t,r,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??y}static _$Ei(){if(this.hasOwnProperty(d(\"elementProperties\")))return;const t=n(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(d(\"finalized\")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(d(\"properties\"))){const t=this.properties,s=[...h(t),...o(t)];for(const i of s)this.createProperty(i,t[i])}const t=this[Symbol.metadata];if(null!==t){const s=litPropertyMetadata.get(t);if(void 0!==s)for(const[t,i]of s)this.elementProperties.set(t,i)}this._$Eh=new Map;for(const[t,s]of this.elementProperties){const i=this._$Eu(t,s);void 0!==i&&this._$Eh.set(i,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(s){const i=[];if(Array.isArray(s)){const e=new Set(s.flat(1/0).reverse());for(const s of e)i.unshift(t(s))}else void 0!==s&&i.push(t(s));return i}static _$Eu(t,s){const i=s.attribute;return!1===i?void 0:\"string\"==typeof i?i:\"string\"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){const t=new Map,s=this.constructor.elementProperties;for(const i of s.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return s(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,s,i){this._$AK(t,i)}_$EC(t,s){const i=this.constructor.elementProperties.get(t),e=this.constructor._$Eu(t,i);if(void 0!==e&&!0===i.reflect){const r=(void 0!==i.converter?.toAttribute?i.converter:u).toAttribute(s,i.type);this._$Em=t,null==r?this.removeAttribute(e):this.setAttribute(e,r),this._$Em=null}}_$AK(t,s){const i=this.constructor,e=i._$Eh.get(t);if(void 0!==e&&this._$Em!==e){const t=i.getPropertyOptions(e),r=\"function\"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:u;this._$Em=e,this[e]=r.fromAttribute(s,t.type),this._$Em=null}}requestUpdate(t,s,i){if(void 0!==t){if(i??=this.constructor.getPropertyOptions(t),!(i.hasChanged??f)(this[t],s))return;this.P(t,s,i)}!1===this.isUpdatePending&&(this._$ES=this._$ET())}P(t,s,i){this._$AL.has(t)||this._$AL.set(t,s),!0===i.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,s]of this._$Ep)this[t]=s;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[s,i]of t)!0!==i.wrapped||this._$AL.has(s)||void 0===this[s]||this.P(s,this[s],i)}let t=!1;const s=this._$AL;try{t=this.shouldUpdate(s),t?(this.willUpdate(s),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(s)):this._$EU()}catch(s){throw t=!1,this._$EU(),s}t&&this._$AE(s)}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EC(t,this[t]))),this._$EU()}updated(t){}firstUpdated(t){}}b.elementStyles=[],b.shadowRootOptions={mode:\"open\"},b[d(\"elementProperties\")]=new Map,b[d(\"finalized\")]=new Map,p?.({ReactiveElement:b}),(a.reactiveElementVersions??=[]).push(\"2.0.4\");export{b as ReactiveElement,u as defaultConverter,f as notEqual};\n//# sourceMappingURL=reactive-element.js.map\n","import{defaultConverter as t,notEqual as e}from\"../reactive-element.js\";\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */const o={attribute:!0,type:String,converter:t,reflect:!1,hasChanged:e},r=(t=o,e,r)=>{const{kind:n,metadata:i}=r;let s=globalThis.litPropertyMetadata.get(i);if(void 0===s&&globalThis.litPropertyMetadata.set(i,s=new Map),s.set(r.name,t),\"accessor\"===n){const{name:o}=r;return{set(r){const n=e.get.call(this);e.set.call(this,r),this.requestUpdate(o,n,t)},init(e){return void 0!==e&&this.P(o,void 0,t),e}}}if(\"setter\"===n){const{name:o}=r;return function(r){const n=this[o];e.call(this,r),this.requestUpdate(o,n,t)}}throw Error(\"Unsupported decorator location: \"+n)};function n(t){return(e,o)=>\"object\"==typeof o?r(t,e,o):((t,e,o)=>{const r=e.hasOwnProperty(o);return e.constructor.createProperty(o,r?{...t,wrapped:!0}:t),r?Object.getOwnPropertyDescriptor(e,o):void 0})(t,e,o)}export{n as property,r as standardProperty};\n//# sourceMappingURL=property.js.map\n","import{property as t}from\"./property.js\";\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */function r(r){return t({...r,state:!0,attribute:!1})}export{r as state};\n//# sourceMappingURL=state.js.map\n","import { css } from \"lit\";\n\nexport default css`\n :host {\n /* Global Header Styles */\n --_nys-globalheader-text-color: var(\n --nys-color-text-reverse,\n var(--nys-color-white, #ffffff)\n );\n --_nys-globalheader-link-color: var(\n --nys-color-link-reverse-neutral,\n var(--nys-color-white, #fff)\n );\n --_nys-globalheader-background: var(\n --nys-color-theme,\n var(--nys-color-state-blue-700, #154973)\n );\n --_nys-globalheader-main-gap-spacing: var(--nys-space-300, 24px);\n --_nys-globalheader-padding: var(--nys-space-250, 20px);\n --_nys-globalheader-font-family: var(\n --nys-font-family-ui,\n var(\n --nys-font-family-sans,\n \"Proxima Nova\",\n \"Helvetica Neue\",\n \"Helvetica\",\n \"Arial\",\n sans-serif\n )\n );\n --_nys-globalheader-lineheight: normal;\n --_nys-globalheader-letterspacing: normal;\n --_nys-globalheader-font-weight-bold: var(--nys-font-weight-bold, 700);\n --_nys-globalheader-font-weight-semibold: var(\n --nys-font-weight-semibold,\n 600\n );\n --_nys-globalheader-content-max-width: var(--nys-max-content-width, 1280px);\n\n /* Agency and App Name Styling */\n --_nys-globalheader-name-gap-spacing: var(--nys-space-100, 8px);\n --_nys-globalheader-font-size-main-name: var(\n --nys-font-size-agency-xl,\n var(--nys-font-size-2xl, 22px)\n );\n --_nys-globalheader-font-size-sub-name: var(\n --nys-font-size-agency-md,\n var(--nys-font-size-md, 16px)\n );\n --_nys-globalheader-font-family-agency: var(\n --nys-font-family-agency,\n \"D Sari\",\n Arial,\n sans-serif\n );\n\n /* Menu Content Styling */\n --_nys-globalheader-link-lineheight: var(--nys-font-lineheight-ui-md, 24px);\n --_nys-globalheader-link-letterspacing: var(\n --nys-font-letterspacing-ui-md,\n var(--nys-font-letterspacing-400, 0.044px)\n );\n --_nys-globalheader-link-weight-decoration: var(--nys-size-2px, 2px);\n --_nys-globalheader-link-padding: var(--nys-space-300, 24px)\n var(--nys-space-200, 16px);\n\n /* Mobile Menu */\n --_nys-globalheader-mobile-btn-font-size: var(--nys-type-size-ui-xs, 12px);\n --_nys-globalheader-mobile-btn-lineheight: var(\n --nys-font-lineheight-ui-xs,\n 20px\n );\n --_nys-globalheader-mobile-btn-letterspacing: var(\n --nys-font-letterspacing-ui-xs,\n 0.057px\n );\n --_nys-globalheader-mobile-li-border-color: var(\n --nys-color-theme-mid,\n #457aa5\n );\n --_nys-globalheader-mobile-li-hover-bg: var(\n --nys-color-theme-strong,\n #0e324f\n );\n --_nys-globalheader-mobile-li-active-bg: var(\n --nys-color-theme-stronger,\n #081b2b\n );\n }\n\n /* Slotted content (menu links) basic resets */\n ul {\n list-style-type: none;\n padding: 0;\n margin: 0;\n }\n\n li {\n display: block;\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n }\n\n a {\n color: var(--_nys-globalheader-link-color);\n text-decoration: none;\n font-family: var(--_nys-globalheader-font-family);\n font-size: var(--_nys-globalheader-font-size-links);\n font-style: normal;\n font-weight: 400;\n line-height: var(--_nys-globalheader-link-lineheight);\n letter-spacing: var(--_nys-globalheader-link-letterspacing);\n }\n\n .nys-globalheader {\n display: flex;\n justify-content: center;\n padding: var(--_nys-globalheader-padding);\n background-color: var(--_nys-globalheader-background);\n color: var(--_nys-globalheader-text-color);\n width: 100%;\n min-height: 76px;\n box-sizing: border-box;\n }\n\n /* Main container */\n .nys-globalheader__main-container {\n display: flex;\n gap: var(--_nys-globalheader-main-gap-spacing);\n max-width: var(--_nys-globalheader-content-max-width);\n width: 100%;\n }\n\n /* Left-hand side Agency and App names */\n .nys-globalheader__name-container {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: flex-start;\n gap: var(--_nys-globalheader-name-gap-spacing);\n }\n .nys-globalheader__name {\n margin: 0;\n color: var(--_nys-globalheader-text-color);\n font-family: var(--_nys-globalheader-font-family-agency);\n font-size: var(--_nys-globalheader-font-size-main-name);\n font-style: normal;\n font-weight: var(--_nys-globalheader-font-weight-semibold);\n line-height: var(--_nys-globalheader-lineheight);\n letter-spacing: var(--_nys-globalheader-letterspacing);\n text-wrap: wrap;\n }\n\n .nys-globalheader__agencyName {\n font-size: var(--_nys-globalheader-font-size-sub-name);\n }\n\n /* Set the font size for the agency to be the main font if appName is not defined */\n .nys-globalheader__agencyName.main {\n font-size: var(--_nys-globalheader-font-size-main-name);\n }\n\n /* Slotted content */\n .nys-globalheader__content {\n display: none;\n font-family: var(--_nys-globalheader-font-family);\n }\n\n .nys-globalheader__content ul {\n display: flex;\n flex-direction: column;\n align-items: center;\n flex-wrap: wrap;\n }\n\n .nys-globalheader__content ul a:hover {\n text-decoration: underline;\n text-decoration-style: solid;\n text-decoration-skip-ink: auto;\n text-decoration-thickness: 7%;\n text-underline-offset: auto;\n text-underline-position: from-font;\n }\n\n .nys-globalheader__content ul a:active {\n text-decoration-thickness: var(--_nys-globalheader-link-weight-decoration);\n }\n\n /* Active Links */\n .nys-globalheader__content li.active a,\n .nys-globalheader__content-mobile li.active a {\n font-weight: 700;\n }\n .nys-globalheader__content li.active {\n border-bottom: 8px solid var(--nys-color-theme-weak, #cddde9);\n }\n .nys-globalheader__content li.active a {\n margin-bottom: calc(-1 * var(--nys-space-100, 8px));\n }\n .nys-globalheader__content-mobile li.active a {\n border-left: 8px solid var(--nys-color-theme-weak, #cddde9);\n border-bottom: 1px solid var(--_nys-globalheader-mobile-li-border-color);\n }\n .nys-globalheader__content ul li.active a:hover {\n text-decoration: none;\n }\n\n /* Mobile Menu */\n .nys-globalheader__content-mobile {\n position: absolute;\n z-index: 10;\n display: flex;\n flex-direction: column;\n justify-content: center;\n background-color: var(--_nys-globalheader-background);\n width: fit-content;\n }\n .nys-globalheader__content-mobile.close {\n display: none;\n }\n .nys-globalheader__content-mobile ul {\n display: flex;\n flex-direction: column;\n }\n .nys-globalheader__content-mobile ul li:first-child a {\n border-top: 1px solid var(--_nys-globalheader-text-color);\n }\n .nys-globalheader__content-mobile ul li a {\n display: flex;\n padding: 24px;\n align-items: center;\n gap: 8px;\n align-self: stretch;\n border-bottom: 1px solid var(--_nys-globalheader-mobile-li-border-color);\n background: var(--_nys-globalheader-background);\n }\n .nys-globalheader__content-mobile ul li a:hover {\n background: var(--_nys-globalheader-mobile-li-hover-bg);\n }\n .nys-globalheader__content-mobile ul li a:active {\n background: var(--_nys-globalheader-mobile-li-active-bg);\n }\n .nys-globalheader__name-container-link {\n display: flex;\n flex-direction: column;\n justify-content: center;\n }\n /* Mobile Menu (OPEN/CLOSE Button Container) */\n .nys-globalheader__button-container {\n display: flex;\n justify-content: center;\n align-items: center;\n }\n .nys-globalheader__mobile-menu-button {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n gap: 3px;\n width: 50px;\n height: 50px;\n background-color: var(--_nys-globalheader-background);\n border: none;\n cursor: pointer;\n display: flex;\n justify-content: center;\n align-items: center;\n padding: 0;\n color: var(--_nys-globalheader-text-color);\n }\n .nys-globalheader__mobile-menu-button-text {\n font-size: var(--_nys-globalheader-mobile-btn-font-size);\n line-height: var(--_nys-globalheader-mobile-btn-lineheight);\n letter-spacing: var(--_nys-globalheader-mobile-btn-letterspacing);\n }\n\n /* Breakpoints using NYSDS Guidelines (Menu Links) */\n /* https://www.figma.com/design/U2QpuSUXRTxbgG64Fzi9bu?node-id=1170-340 */\n @media (min-width: 1024px) {\n /* Desktop (MD - Above 1024px) */\n .nys-globalheader__content {\n display: flex;\n }\n .nys-globalheader__content ul {\n flex-direction: row;\n }\n .nys-globalheader__content-mobile,\n .nys-globalheader__button-container {\n display: none;\n }\n li {\n display: flex;\n align-items: center;\n padding: var(--_nys-globalheader-link-padding);\n }\n :host {\n --_nys-globalheader-main-gap-spacing: var(--nys-space-500, 40px);\n --_nys-globalheader-padding: var(--nys-space-50, 4px)\n var(--nys-size-400, 32px) 0;\n }\n }\n\n @media (min-width: 1280px) {\n /* Large Desktop (LG - Above 1280px) */\n :host {\n --_nys-globalheader-padding: var(--nys-space-50, 4px)\n var(--nys-space-800, 64px) 0;\n }\n }\n`;\n","import { LitElement, html } from \"lit\";\nimport { property, state } from \"lit/decorators.js\";\nimport styles from \"./nys-globalheader.styles\";\n\nexport class NysGlobalHeader extends LitElement {\n static styles = styles;\n\n /********************** Properties **********************/\n @property({ type: String }) appName = \"\";\n @property({ type: String }) agencyName = \"\";\n @property({ type: String }) homepageLink = \"\";\n @state() private slotHasContent = true;\n @state() private isMobileMenuOpen = false;\n\n /**************** Lifecycle Methods ****************/\n\n firstUpdated() {\n // Check for slot content after rendering\n const slot = this.shadowRoot?.querySelector<HTMLSlotElement>(\"slot\");\n slot?.addEventListener(\"slotchange\", () => this._handleSlotChange());\n this._handleSlotChange(); // Initial check\n }\n\n /******************** Functions ********************/\n // Gets called when the slot content changes and directly appends the slotted elements into the shadow DOM\n private async _handleSlotChange() {\n const slot = this.shadowRoot?.querySelector<HTMLSlotElement>(\"slot\");\n if (!slot) return;\n\n const assignedNodes = slot\n ?.assignedNodes({ flatten: true })\n .filter((node) => node.nodeType === Node.ELEMENT_NODE) as Element[]; // Filter to elements only\n\n await Promise.resolve(); // Wait for current update cycle to complete before modifying reactive state (solves the lit issue \"scheduled an update\")\n\n // Update slotHasContent based on assigned elements\n this.slotHasContent = assignedNodes.length > 0;\n\n // Get the container to append the slotted elements\n const container = this.shadowRoot?.querySelector(\n \".nys-globalheader__content\",\n );\n const containerMobile = this.shadowRoot?.querySelector(\n \".nys-globalheader__content-mobile\",\n );\n\n if (container && containerMobile) {\n // Clear existing children in the container\n container.innerHTML = \"\";\n containerMobile.innerHTML = \"\";\n\n // Clone and append slotted elements into the shadow DOM container\n assignedNodes.forEach((node) => {\n if (node.nodeType === Node.ELEMENT_NODE) {\n const cleanNode = node.cloneNode(true) as HTMLElement;\n const cleanNodeMobile = node.cloneNode(true) as HTMLElement;\n\n // Remove <script>, <iframe>, <object>, and any potentially dangerous elements XSS\n const dangerousTags = [\"script\", \"iframe\", \"object\", \"embed, img\"];\n dangerousTags.forEach((tag) => {\n (cleanNode as Element)\n .querySelectorAll(tag)\n .forEach((element) => element.remove());\n });\n\n // Highlight active link\n const currentUrl = this._normalizePath(window.location.pathname);\n cleanNode.querySelectorAll(\"a\").forEach((a) => {\n const hrefAttr = a.getAttribute(\"href\");\n const linkPath = this._normalizePath(hrefAttr);\n if (linkPath === currentUrl) {\n const li = a.closest(\"li\");\n if (li) li.classList.add(\"active\");\n }\n });\n cleanNodeMobile.querySelectorAll(\"a\").forEach((a) => {\n const hrefAttr = a.getAttribute(\"href\");\n const linkPath = this._normalizePath(hrefAttr);\n if (linkPath === currentUrl) {\n const li = a.closest(\"li\");\n if (li) li.classList.add(\"active\");\n }\n });\n\n container.appendChild(cleanNode);\n containerMobile.appendChild(cleanNodeMobile);\n node.remove(); // Remove from light DOM to avoid duplication\n }\n });\n }\n }\n\n // Normalize paths so that links like \"name\", \"/name/\", and \"/\" match window.location.pathname.\n // This ensures consistent active-link behavior regardless of how hrefs are written.\n private _normalizePath(path: string | null) {\n if (!path) return;\n if (!path.startsWith(\"/\")) {\n path = \"/\" + path;\n }\n if (path.length > 1 && path.endsWith(\"/\")) {\n path = path.slice(0, -1);\n }\n return path.toLowerCase();\n }\n\n private _toggleMobileMenu() {\n this.isMobileMenuOpen = !this.isMobileMenuOpen;\n }\n\n render() {\n return html`\n <header class=\"nys-globalheader\">\n <div class=\"nys-globalheader__main-container\">\n ${this.slotHasContent\n ? html` <div class=\"nys-globalheader__button-container\">\n <button\n class=\"nys-globalheader__mobile-menu-button\"\n @click=\"${this._toggleMobileMenu}\"\n >\n <nys-icon\n name=\"${this.isMobileMenuOpen ? \"close\" : \"menu\"}\"\n size=\"32\"\n label=\"${this.isMobileMenuOpen ? \"close\" : \"menu\"} icon\"\n ></nys-icon>\n <span class=\"nys-globalheader__mobile-menu-button-text\"\n >${this.isMobileMenuOpen ? \"CLOSE\" : \"MENU\"}</span\n >\n </button>\n </div>`\n : \"\"}\n ${!this.homepageLink?.trim()\n ? html`\n <div class=\"nys-globalheader__name-container\">\n ${this.appName?.trim().length > 0\n ? html`<div\n class=\"nys-globalheader__appName nys-globalheader__name\"\n >\n ${this.appName}\n </div> `\n : \"\"}\n ${this.agencyName?.trim().length > 0\n ? html`<div\n class=\"nys-globalheader__agencyName nys-globalheader__name ${this.appName?.trim()\n .length > 0\n ? \"\"\n : \"main\"}\"\n >\n ${this.agencyName}\n </div> `\n : \"\"}\n </div>\n `\n : html`<a\n class=\"nys-globalheader__name-container-link\"\n href=${this.homepageLink?.trim()}\n >\n <div class=\"nys-globalheader__name-container\">\n ${this.appName?.trim().length > 0\n ? html`<div\n class=\"nys-globalheader__appName nys-globalheader__name\"\n >\n ${this.appName}\n </div> `\n : \"\"}\n ${this.agencyName?.trim().length > 0\n ? html`<div\n class=\"nys-globalheader__agencyName nys-globalheader__name ${this.appName?.trim()\n .length > 0\n ? \"\"\n : \"main\"}\"\n >\n ${this.agencyName}\n </div> `\n : \"\"}\n </div>\n </a>`}\n ${this.slotHasContent\n ? html`<div class=\"nys-globalheader__content\">\n <slot\n style=\"display: hidden\"\n @slotchange=\"${this._handleSlotChange}\"\n ></slot>\n </div>`\n : \"\"}\n </div>\n </header>\n <div\n class=\"nys-globalheader__content-mobile ${this.isMobileMenuOpen\n ? \"\"\n : \"close\"}\"\n ></div>\n `;\n }\n}\n\nif (!customElements.get(\"nys-globalheader\")) {\n customElements.define(\"nys-globalheader\", NysGlobalHeader);\n}\n"],"names":["t","e","s","o","n$2","r","n","S","c","i","h","a","l","p","d","u","f","y","_a","styles","css","_NysGlobalHeader","LitElement","slot","assignedNodes","node","container","_b","containerMobile","_c","cleanNode","cleanNodeMobile","tag","element","currentUrl","hrefAttr","li","path","html","_e","_f","_g","_h","_d","NysGlobalHeader","__decorateClass","property","state"],"mappings":";;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAKA,MAAMA,IAAE,YAAWC,IAAED,EAAE,eAAsBA,EAAE,aAAX,UAAqBA,EAAE,SAAS,iBAAe,wBAAuB,SAAS,aAAW,aAAY,cAAc,WAAUE,IAAE,OAAM,GAAGC,IAAE,oBAAI;AAAO,IAAAC,I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AA,CAAQ;AAAA,GANfF,EAMiB,WAAA,cAAA;AACXC,EAAA;AAAA,EAAhBE,EAAA;AAAM,GAPIH,EAOM,WAAA,gBAAA;AACAC,EAAA;AAAA,EAAhBE,EAAA;AAAM,GARIH,EAQM,WAAA,kBAAA;AAuLd,eAAe,IAAI,kBAAkB,KACxC,eAAe,OAAO,oBAAoBA,CAAe;","x_google_ignoreList":[0,1,2,3]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nysds/nys-globalheader",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.7.0",
|
|
4
4
|
"description": "The Globalheader component from the NYS Design System.",
|
|
5
5
|
"module": "dist/nys-globalheader.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"lit": "^3.2.1"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@nysds/nys-icon": "^1.
|
|
28
|
+
"@nysds/nys-icon": "^1.7.0"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"lit": "^3.2.1",
|