@nysds/nys-globalfooter 1.9.1 → 1.10.1

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.
@@ -14,10 +14,10 @@ import { css as k, LitElement as A, html as f } from "lit";
14
14
  * Copyright 2019 Google LLC
15
15
  * SPDX-License-Identifier: BSD-3-Clause
16
16
  */
17
- const y = globalThis, m = y.ShadowRoot && (y.ShadyCSS === void 0 || y.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, x = Symbol(), S = /* @__PURE__ */ new WeakMap();
17
+ const g = globalThis, m = g.ShadowRoot && (g.ShadyCSS === void 0 || g.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, P = Symbol(), S = /* @__PURE__ */ new WeakMap();
18
18
  let O = class {
19
19
  constructor(t, e, o) {
20
- if (this._$cssResult$ = !0, o !== x) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
20
+ if (this._$cssResult$ = !0, o !== P) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
21
21
  this.cssText = t, this.t = e;
22
22
  }
23
23
  get styleSheet() {
@@ -33,23 +33,23 @@ let O = class {
33
33
  return this.cssText;
34
34
  }
35
35
  };
36
- const z = (r) => new O(typeof r == "string" ? r : r + "", void 0, x), L = (r, t) => {
36
+ const M = (r) => new O(typeof r == "string" ? r : r + "", void 0, P), z = (r, t) => {
37
37
  if (m) r.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
38
38
  else for (const e of t) {
39
- const o = document.createElement("style"), s = y.litNonce;
39
+ const o = document.createElement("style"), s = g.litNonce;
40
40
  s !== void 0 && o.setAttribute("nonce", s), o.textContent = e.cssText, r.appendChild(o);
41
41
  }
42
42
  }, $ = m ? (r) => r : (r) => r instanceof CSSStyleSheet ? ((t) => {
43
43
  let e = "";
44
44
  for (const o of t.cssRules) e += o.cssText;
45
- return z(e);
45
+ return M(e);
46
46
  })(r) : r;
47
47
  /**
48
48
  * @license
49
49
  * Copyright 2017 Google LLC
50
50
  * SPDX-License-Identifier: BSD-3-Clause
51
51
  */
52
- const { is: M, defineProperty: N, getOwnPropertyDescriptor: T, getOwnPropertyNames: R, getOwnPropertySymbols: j, getPrototypeOf: D } = Object, l = globalThis, w = l.trustedTypes, q = w ? w.emptyScript : "", u = l.reactiveElementPolyfillSupport, p = (r, t) => r, g = { toAttribute(r, t) {
52
+ const { is: L, defineProperty: N, getOwnPropertyDescriptor: T, getOwnPropertyNames: R, getOwnPropertySymbols: D, getPrototypeOf: j } = Object, l = globalThis, w = l.trustedTypes, q = w ? w.emptyScript : "", u = l.reactiveElementPolyfillSupport, p = (r, t) => r, y = { toAttribute(r, t) {
53
53
  switch (t) {
54
54
  case Boolean:
55
55
  r = r ? q : null;
@@ -77,7 +77,7 @@ const { is: M, defineProperty: N, getOwnPropertyDescriptor: T, getOwnPropertyNam
77
77
  }
78
78
  }
79
79
  return e;
80
- } }, _ = (r, t) => !M(r, t), P = { attribute: !0, type: String, converter: g, reflect: !1, hasChanged: _ };
80
+ } }, _ = (r, t) => !L(r, t), x = { attribute: !0, type: String, converter: y, reflect: !1, hasChanged: _ };
81
81
  Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), l.litPropertyMetadata ?? (l.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
82
82
  class d extends HTMLElement {
83
83
  static addInitializer(t) {
@@ -86,7 +86,7 @@ class d extends HTMLElement {
86
86
  static get observedAttributes() {
87
87
  return this.finalize(), this._$Eh && [...this._$Eh.keys()];
88
88
  }
89
- static createProperty(t, e = P) {
89
+ static createProperty(t, e = x) {
90
90
  if (e.state && (e.attribute = !1), this._$Ei(), this.elementProperties.set(t, e), !e.noAccessor) {
91
91
  const o = Symbol(), s = this.getPropertyDescriptor(t, o, e);
92
92
  s !== void 0 && N(this.prototype, t, s);
@@ -106,17 +106,17 @@ class d extends HTMLElement {
106
106
  }, configurable: !0, enumerable: !0 };
107
107
  }
108
108
  static getPropertyOptions(t) {
109
- return this.elementProperties.get(t) ?? P;
109
+ return this.elementProperties.get(t) ?? x;
110
110
  }
111
111
  static _$Ei() {
112
112
  if (this.hasOwnProperty(p("elementProperties"))) return;
113
- const t = D(this);
113
+ const t = j(this);
114
114
  t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
115
115
  }
116
116
  static finalize() {
117
117
  if (this.hasOwnProperty(p("finalized"))) return;
118
118
  if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(p("properties"))) {
119
- const e = this.properties, o = [...R(e), ...j(e)];
119
+ const e = this.properties, o = [...R(e), ...D(e)];
120
120
  for (const s of o) this.createProperty(s, e[s]);
121
121
  }
122
122
  const t = this[Symbol.metadata];
@@ -165,7 +165,7 @@ class d extends HTMLElement {
165
165
  }
166
166
  createRenderRoot() {
167
167
  const t = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
168
- return L(t, this.constructor.elementStyles), t;
168
+ return z(t, this.constructor.elementStyles), t;
169
169
  }
170
170
  connectedCallback() {
171
171
  var t;
@@ -190,7 +190,7 @@ class d extends HTMLElement {
190
190
  var n;
191
191
  const o = this.constructor.elementProperties.get(t), s = this.constructor._$Eu(t, o);
192
192
  if (s !== void 0 && o.reflect === !0) {
193
- const i = (((n = o.converter) == null ? void 0 : n.toAttribute) !== void 0 ? o.converter : g).toAttribute(e, o.type);
193
+ const i = (((n = o.converter) == null ? void 0 : n.toAttribute) !== void 0 ? o.converter : y).toAttribute(e, o.type);
194
194
  this._$Em = t, i == null ? this.removeAttribute(s) : this.setAttribute(s, i), this._$Em = null;
195
195
  }
196
196
  }
@@ -198,7 +198,7 @@ class d extends HTMLElement {
198
198
  var n;
199
199
  const o = this.constructor, s = o._$Eh.get(t);
200
200
  if (s !== void 0 && this._$Em !== s) {
201
- const i = o.getPropertyOptions(s), a = typeof i.converter == "function" ? { fromAttribute: i.converter } : ((n = i.converter) == null ? void 0 : n.fromAttribute) !== void 0 ? i.converter : g;
201
+ const i = o.getPropertyOptions(s), a = typeof i.converter == "function" ? { fromAttribute: i.converter } : ((n = i.converter) == null ? void 0 : n.fromAttribute) !== void 0 ? i.converter : y;
202
202
  this._$Em = s, this[s] = a.fromAttribute(e, i.type), this._$Em = null;
203
203
  }
204
204
  }
@@ -283,14 +283,14 @@ d.elementStyles = [], d.shadowRootOptions = { mode: "open" }, d[p("elementProper
283
283
  * Copyright 2017 Google LLC
284
284
  * SPDX-License-Identifier: BSD-3-Clause
285
285
  */
286
- const H = { attribute: !0, type: String, converter: g, reflect: !1, hasChanged: _ }, B = (r = H, t, e) => {
286
+ const H = { attribute: !0, type: String, converter: y, reflect: !1, hasChanged: _ }, B = (r = H, t, e) => {
287
287
  const { kind: o, metadata: s } = e;
288
288
  let n = globalThis.litPropertyMetadata.get(s);
289
289
  if (n === void 0 && globalThis.litPropertyMetadata.set(s, n = /* @__PURE__ */ new Map()), n.set(e.name, r), o === "accessor") {
290
290
  const { name: i } = e;
291
291
  return { set(a) {
292
- const h = t.get.call(this);
293
- t.set.call(this, a), this.requestUpdate(i, h, r);
292
+ const c = t.get.call(this);
293
+ t.set.call(this, a), this.requestUpdate(i, c, r);
294
294
  }, init(a) {
295
295
  return a !== void 0 && this.P(i, void 0, r), a;
296
296
  } };
@@ -298,8 +298,8 @@ const H = { attribute: !0, type: String, converter: g, reflect: !1, hasChanged:
298
298
  if (o === "setter") {
299
299
  const { name: i } = e;
300
300
  return function(a) {
301
- const h = this[i];
302
- t.call(this, a), this.requestUpdate(i, h, r);
301
+ const c = this[i];
302
+ t.call(this, a), this.requestUpdate(i, c, r);
303
303
  };
304
304
  }
305
305
  throw Error("Unsupported decorator location: " + o);
@@ -341,7 +341,14 @@ const K = k`
341
341
  var(--nys-font-size-md, 16px)
342
342
  );
343
343
  --_nys-globalfooter-line-height--agency: normal;
344
- --_nys-globalfooter-font-weight: var(--nys-font-weight-semibold, 600);
344
+ --_nys-globalfooter-font-weight--regular: var(
345
+ --nys-font-weight-regular,
346
+ 400
347
+ );
348
+ --_nys-globalfooter-font-weight--semibold: var(
349
+ --nys-font-weight-semibold,
350
+ 600
351
+ );
345
352
  --_nys-globalfooter-max-width: var(--nys-max-content-width, 1280px);
346
353
 
347
354
  /* Agency Name */
@@ -375,6 +382,10 @@ const K = k`
375
382
  )
376
383
  );
377
384
  --_nys-globalfooter-text-decoration-thickness: var(--nys-size-2px, 2px);
385
+
386
+ /* Divider */
387
+ --_nys-globalfooter-background--divider: var(--nys-color-theme, #154973);
388
+ --_nys-globalfooter-margin--divider: var(--nys-space-50, 4px);
378
389
  }
379
390
 
380
391
  .nys-globalfooter {
@@ -388,7 +399,7 @@ const K = k`
388
399
  box-sizing: border-box;
389
400
  }
390
401
 
391
- /* Main Container */
402
+ /** Main Container **/
392
403
  .nys-globalfooter__main-container {
393
404
  display: flex;
394
405
  flex-direction: column;
@@ -405,12 +416,12 @@ const K = k`
405
416
  font-family: var(--_nys-globalfooter-font-family--agency);
406
417
  font-size: var(--_nys-globalfooter-font-size--agency);
407
418
  font-style: normal;
408
- font-weight: var(--_nys-globalfooter-font-weight);
419
+ font-weight: var(--_nys-globalfooter-font-weight--semibold);
409
420
  line-height: var(--_nys-globalfooter-line-height--agency);
410
421
  letter-spacing: normal;
411
422
  }
412
423
 
413
- /* Slotted content (menu links) basic resets */
424
+ /** Slotted content resets (menu links - cloned into shadowDOM from lightDOM) **/
414
425
  ul {
415
426
  list-style-type: none;
416
427
  padding: 0;
@@ -422,17 +433,22 @@ const K = k`
422
433
  padding: 0;
423
434
  }
424
435
 
425
- a {
436
+ a,
437
+ span {
426
438
  color: var(--_nys-globalfooter-color);
427
439
  text-decoration: none;
428
440
  font-family: var(--_nys-globalfooter-font-family--link);
429
441
  font-size: var(--_nys-globalfooter-font-size--link);
430
442
  font-style: normal;
431
- font-weight: var(--_nys-globalfooter-font-weight);
443
+ font-weight: var(--_nys-globalfooter-font-weight--semibold);
432
444
  line-height: var(--_nys-globalfooter-line-height--link);
433
445
  letter-spacing: var(--_nys-globalfooter-letter-spacing);
434
446
  }
435
447
 
448
+ ul li > span + ul li a {
449
+ font-weight: var(--_nys-globalfooter-font-weight--regular);
450
+ }
451
+
436
452
  a:hover {
437
453
  text-decoration: underline;
438
454
  }
@@ -442,20 +458,47 @@ const K = k`
442
458
  );
443
459
  }
444
460
 
445
- /* Specific layout for menu links (grouped or singular list of menus) */
461
+ /** Specific layout for menu links (grouped or singular list of menus) **/
446
462
  .nys-globalfooter__content {
447
463
  width: 100%;
448
464
  }
449
465
 
450
466
  .nys-globalfooter__content ul {
451
467
  display: flex;
468
+ flex-direction: column;
452
469
  gap: var(--_nys-globalfooter-row-gap) var(--_nys-globalfooter-column-gap);
453
470
  flex-wrap: wrap;
454
471
  }
455
472
 
473
+ /** Column Menus **/
474
+ .nys-globalfooter__content ul li:has(span + ul) {
475
+ flex: 1 0 205px;
476
+ display: flex;
477
+ flex-direction: column;
478
+ gap: var(--nys-space-300, 24px);
479
+ }
480
+
481
+ .nys-globalfooter__content ul li > span::after {
482
+ content: "";
483
+ display: block;
484
+ height: 1px;
485
+ width: 100%;
486
+ background: var(--_nys-globalfooter-background--divider);
487
+ margin-top: var(--_nys-globalfooter-margin--divider);
488
+ }
489
+
490
+ .nys-globalfooter__content ul li > span + ul {
491
+ display: flex;
492
+ flex-direction: column;
493
+ gap: var(--nys-space-200, 16px);
494
+ }
495
+
456
496
  /* Breakpoints using NYSDS Guidelines (Menu Links) */
457
497
  @media (min-width: 768px) {
458
498
  /* Tablet (MD - Above 768px) */
499
+ .nys-globalfooter__content ul {
500
+ flex-direction: row;
501
+ }
459
502
  :host {
460
503
  --_nys-globalfooter-padding--gutter: var(--nys-gutter-lg, 32px);
461
504
  --_nys-globalfooter-row-gap: var(--nys-space-600, 48px);
@@ -499,10 +542,10 @@ const E = class E extends A {
499
542
  );
500
543
  o && (o.classList.toggle("columns", s), o.classList.toggle("small", !s), o.innerHTML = "", e.forEach((a) => {
501
544
  if (a.nodeType === Node.ELEMENT_NODE) {
502
- const h = a.cloneNode(!0);
545
+ const c = a.cloneNode(!0);
503
546
  ["script", "iframe", "object", "embed", "img"].forEach((C) => {
504
- h.querySelectorAll(C).forEach((U) => U.remove());
505
- }), o.appendChild(h), a.remove();
547
+ c.querySelectorAll(C).forEach((U) => U.remove());
548
+ }), o.appendChild(c), a.remove();
506
549
  }
507
550
  }));
508
551
  }
@@ -526,18 +569,18 @@ const E = class E extends A {
526
569
  }
527
570
  };
528
571
  E.styles = K;
529
- let c = E;
572
+ let h = E;
530
573
  v([
531
574
  b({ type: String })
532
- ], c.prototype, "agencyName");
575
+ ], h.prototype, "agencyName");
533
576
  v([
534
577
  b({ type: String })
535
- ], c.prototype, "homepageLink");
578
+ ], h.prototype, "homepageLink");
536
579
  v([
537
580
  J()
538
- ], c.prototype, "slotHasContent");
539
- customElements.get("nys-globalfooter") || customElements.define("nys-globalfooter", c);
581
+ ], h.prototype, "slotHasContent");
582
+ customElements.get("nys-globalfooter") || customElements.define("nys-globalfooter", h);
540
583
  export {
541
- c as NysGlobalFooter
584
+ h as NysGlobalFooter
542
585
  };
543
586
  //# sourceMappingURL=nys-globalfooter.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"nys-globalfooter.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-globalfooter.styles.ts","../src/nys-globalfooter.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 Footer Styles */\n --_nys-globalfooter-color: var(\n --nys-color-text,\n var(--nys-color-neutral-900, #1b1b1b)\n );\n --_nys-globalfooter-background-color: var(\n --nys-color-theme-weaker,\n var(--nys-color-state-blue-50, #eff6fb)\n );\n --_nys-globalfooter-gap: var(--nys-space-300, 24px);\n --_nys-globalfooter-padding--y: var(--nys-space-400, 32px);\n --_nys-globalfooter-padding--gutter: var(--nys-gutter-sm, 20px);\n --_nys-globalfooter-font-size--agency: var(\n --nys-font-size-agency-xl,\n var(--nys-font-size-2xl, 22px)\n );\n --_nys-globalfooter-font-size--link: var(\n --nys-font-size-body-md,\n var(--nys-font-size-md, 16px)\n );\n --_nys-globalfooter-line-height--agency: normal;\n --_nys-globalfooter-font-weight: var(--nys-font-weight-semibold, 600);\n --_nys-globalfooter-max-width: var(--nys-max-content-width, 1280px);\n\n /* Agency Name */\n --_nys-globalfooter-font-family--agency: var(\n --nys-font-family-agency,\n \"D Sari\",\n Arial,\n sans-serif\n );\n\n /* Links */\n --_nys-globalfooter-column-gap: var(--nys-space-400, 32px);\n --_nys-globalfooter-row-gap: var(--nys-space-400, 32px);\n --_nys-globalfooter-line-height--link: var(\n --nys-font-lineheight-ui-md,\n 24px\n );\n --_nys-globalfooter-letter-spacing: var(\n --nys-font-letterspacing-ui-md,\n var(--nys-font-letterspacing-400, 0.044px)\n );\n --_nys-globalfooter-font-family--link: 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-globalfooter-text-decoration-thickness: var(--nys-size-2px, 2px);\n }\n\n .nys-globalfooter {\n display: flex;\n padding: var(--_nys-globalfooter-padding--y)\n var(--_nys-globalfooter-padding--gutter);\n justify-content: center;\n background-color: var(--_nys-globalfooter-background-color);\n color: var(--_nys-globalfooter-color);\n width: 100%;\n box-sizing: border-box;\n }\n\n /* Main Container */\n .nys-globalfooter__main-container {\n display: flex;\n flex-direction: column;\n gap: var(--_nys-globalfooter-gap);\n width: 100%;\n max-width: var(--_nys-globalfooter-max-width);\n }\n\n /* The Agency Name */\n .nys-globalfooter__name {\n text-align: left;\n margin: 0;\n color: var(--_nys-globalfooter-color);\n font-family: var(--_nys-globalfooter-font-family--agency);\n font-size: var(--_nys-globalfooter-font-size--agency);\n font-style: normal;\n font-weight: var(--_nys-globalfooter-font-weight);\n line-height: var(--_nys-globalfooter-line-height--agency);\n letter-spacing: normal;\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-globalfooter-color);\n text-decoration: none;\n font-family: var(--_nys-globalfooter-font-family--link);\n font-size: var(--_nys-globalfooter-font-size--link);\n font-style: normal;\n font-weight: var(--_nys-globalfooter-font-weight);\n line-height: var(--_nys-globalfooter-line-height--link);\n letter-spacing: var(--_nys-globalfooter-letter-spacing);\n }\n\n a:hover {\n text-decoration: underline;\n }\n a:active {\n text-decoration-thickness: var(\n --_nys-globalfooter-text-decoration-thickness\n );\n }\n\n /* Specific layout for menu links (grouped or singular list of menus) */\n .nys-globalfooter__content {\n width: 100%;\n }\n\n .nys-globalfooter__content ul {\n display: flex;\n gap: var(--_nys-globalfooter-row-gap) var(--_nys-globalfooter-column-gap);\n flex-wrap: wrap;\n }\n\n /* Breakpoints using NYSDS Guidelines (Menu Links) */\n @media (min-width: 768px) {\n /* Tablet (MD - Above 768px) */\n :host {\n --_nys-globalfooter-padding--gutter: var(--nys-gutter-lg, 32px);\n --_nys-globalfooter-row-gap: var(--nys-space-600, 48px);\n }\n }\n\n @media (min-width: 1280px) {\n /* Large Desktop (XL - Above 1280px) */\n :host {\n --_nys-globalfooter-padding--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-globalfooter.styles\";\n\nexport class NysGlobalFooter extends LitElement {\n static styles = styles;\n\n /********************** Properties **********************/\n @property({ type: String }) agencyName = \"\";\n @property({ type: String }) homepageLink = \"\";\n @state() private slotHasContent = true;\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 // Determine layout based on content structure\n const container = this.shadowRoot?.querySelector(\n \".nys-globalfooter__content\",\n );\n const hasMultipleGroups = assignedNodes?.some(\n (node) => node.tagName === \"H4\",\n );\n\n // Toggle layout classes\n if (container) {\n container.classList.toggle(\"columns\", hasMultipleGroups);\n container.classList.toggle(\"small\", !hasMultipleGroups);\n\n // Clear existing children in the container\n container.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\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 node.remove(); // Remove from light DOM to avoid duplication\n }\n });\n }\n }\n\n render() {\n return html`\n <footer class=\"nys-globalfooter\">\n <div class=\"nys-globalfooter__main-container\">\n ${!this.homepageLink?.trim()\n ? html`<p class=\"nys-globalfooter__name\">${this.agencyName}</p>`\n : html`<a href=${this.homepageLink?.trim()}>\n <p class=\"nys-globalfooter__name\">${this.agencyName}</p>\n </a>`}\n ${this.slotHasContent\n ? html`<div class=\"nys-globalfooter__content\">\n <slot\n style=\"display: hidden\"\n @slotchange=\"${this._handleSlotChange}\"\n ></slot>\n </div>`\n : \"\"}\n </div>\n </footer>\n `;\n }\n}\n\nif (!customElements.get(\"nys-globalfooter\")) {\n customElements.define(\"nys-globalfooter\", NysGlobalFooter);\n}\n"],"names":["t","e","s","o","n$2","r","n","S","c","i","h","a","l","p","d","u","f","y","b","_a","styles","css","_NysGlobalFooter","LitElement","slot","assignedNodes","node","container","_b","hasMultipleGroups","cleanNode","tag","element","html","NysGlobalFooter","__decorateClass","property","state"],"mappings":";;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAKA,MAAMA,IAAE,YAAWC,IAAED,EAAE,eAAsBA,EAAE,aAAX,UAAqBA,EAAE,SAAS,iBAAe,wBAAuB,SAA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AAQ,CAACC,MAAS;AAC9B,UAAIA,EAAK,aAAa,KAAK,cAAc;AACvC,cAAMI,IAAYJ,EAAK,UAAU,EAAI;AAIrC,QADsB,CAAC,UAAU,UAAU,UAAU,SAAS,KAAK,EACrD,QAAQ,CAACK,MAAQ;AAC5B,UAAAD,EACE,iBAAiBC,CAAG,EACpB,QAAQ,CAACC,MAAYA,EAAQ,QAAQ;AAAA,QAC1C,CAAC,GACDL,EAAU,YAAYG,CAAS,GAC/BJ,EAAK,OAAA;AAAA,MACP;AAAA,IACF,CAAC;AAAA,EAEL;AAAA,EAEA,SAAS;;AACP,WAAOO;AAAA;AAAA;AAAA,aAGEd,IAAA,KAAK,iBAAL,QAAAA,EAAmB,SAElBc,aAAeL,IAAA,KAAK,iBAAL,gBAAAA,EAAmB,MAAM;AAAA,oDACF,KAAK,UAAU;AAAA,sBAFrDK,sCAAyC,KAAK,UAAU,MAGnD;AAAA,YACP,KAAK,iBACHA;AAAA;AAAA;AAAA,iCAGmB,KAAK,iBAAiB;AAAA;AAAA,wBAGzC,EAAE;AAAA;AAAA;AAAA;AAAA,EAId;AACF;AAvFEX,EAAO,SAASF;AADX,IAAMc,IAANZ;AAIuBa,EAAA;AAAA,EAA3BC,EAAS,EAAE,MAAM,OAAA,CAAQ;AAAA,GAJfF,EAIiB,WAAA,YAAA;AACAC,EAAA;AAAA,EAA3BC,EAAS,EAAE,MAAM,OAAA,CAAQ;AAAA,GALfF,EAKiB,WAAA,cAAA;AACXC,EAAA;AAAA,EAAhBE,EAAA;AAAM,GANIH,EAMM,WAAA,gBAAA;AAoFd,eAAe,IAAI,kBAAkB,KACxC,eAAe,OAAO,oBAAoBA,CAAe;","x_google_ignoreList":[0,1,2,3]}
1
+ {"version":3,"file":"nys-globalfooter.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-globalfooter.styles.ts","../src/nys-globalfooter.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 Footer Styles */\n --_nys-globalfooter-color: var(\n --nys-color-text,\n var(--nys-color-neutral-900, #1b1b1b)\n );\n --_nys-globalfooter-background-color: var(\n --nys-color-theme-weaker,\n var(--nys-color-state-blue-50, #eff6fb)\n );\n --_nys-globalfooter-gap: var(--nys-space-300, 24px);\n --_nys-globalfooter-padding--y: var(--nys-space-400, 32px);\n --_nys-globalfooter-padding--gutter: var(--nys-gutter-sm, 20px);\n --_nys-globalfooter-font-size--agency: var(\n --nys-font-size-agency-xl,\n var(--nys-font-size-2xl, 22px)\n );\n --_nys-globalfooter-font-size--link: var(\n --nys-font-size-body-md,\n var(--nys-font-size-md, 16px)\n );\n --_nys-globalfooter-line-height--agency: normal;\n --_nys-globalfooter-font-weight--regular: var(\n --nys-font-weight-regular,\n 400\n );\n --_nys-globalfooter-font-weight--semibold: var(\n --nys-font-weight-semibold,\n 600\n );\n --_nys-globalfooter-max-width: var(--nys-max-content-width, 1280px);\n\n /* Agency Name */\n --_nys-globalfooter-font-family--agency: var(\n --nys-font-family-agency,\n \"D Sari\",\n Arial,\n sans-serif\n );\n\n /* Links */\n --_nys-globalfooter-column-gap: var(--nys-space-400, 32px);\n --_nys-globalfooter-row-gap: var(--nys-space-400, 32px);\n --_nys-globalfooter-line-height--link: var(\n --nys-font-lineheight-ui-md,\n 24px\n );\n --_nys-globalfooter-letter-spacing: var(\n --nys-font-letterspacing-ui-md,\n var(--nys-font-letterspacing-400, 0.044px)\n );\n --_nys-globalfooter-font-family--link: 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-globalfooter-text-decoration-thickness: var(--nys-size-2px, 2px);\n\n /* Divider */\n --_nys-globalfooter-background--divider: var(--nys-color-theme, #154973);\n --_nys-globalfooter-margin--divider: var(--nys-space-50, 4px);\n }\n\n .nys-globalfooter {\n display: flex;\n padding: var(--_nys-globalfooter-padding--y)\n var(--_nys-globalfooter-padding--gutter);\n justify-content: center;\n background-color: var(--_nys-globalfooter-background-color);\n color: var(--_nys-globalfooter-color);\n width: 100%;\n box-sizing: border-box;\n }\n\n /** Main Container **/\n .nys-globalfooter__main-container {\n display: flex;\n flex-direction: column;\n gap: var(--_nys-globalfooter-gap);\n width: 100%;\n max-width: var(--_nys-globalfooter-max-width);\n }\n\n /* The Agency Name */\n .nys-globalfooter__name {\n text-align: left;\n margin: 0;\n color: var(--_nys-globalfooter-color);\n font-family: var(--_nys-globalfooter-font-family--agency);\n font-size: var(--_nys-globalfooter-font-size--agency);\n font-style: normal;\n font-weight: var(--_nys-globalfooter-font-weight--semibold);\n line-height: var(--_nys-globalfooter-line-height--agency);\n letter-spacing: normal;\n }\n\n /** Slotted content resets (menu links - cloned into shadowDOM from lightDOM) **/\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 span {\n color: var(--_nys-globalfooter-color);\n text-decoration: none;\n font-family: var(--_nys-globalfooter-font-family--link);\n font-size: var(--_nys-globalfooter-font-size--link);\n font-style: normal;\n font-weight: var(--_nys-globalfooter-font-weight--semibold);\n line-height: var(--_nys-globalfooter-line-height--link);\n letter-spacing: var(--_nys-globalfooter-letter-spacing);\n }\n\n ul li > span + ul li a {\n font-weight: var(--_nys-globalfooter-font-weight--regular);\n }\n\n a:hover {\n text-decoration: underline;\n }\n a:active {\n text-decoration-thickness: var(\n --_nys-globalfooter-text-decoration-thickness\n );\n }\n\n /** Specific layout for menu links (grouped or singular list of menus) **/\n .nys-globalfooter__content {\n width: 100%;\n }\n\n .nys-globalfooter__content ul {\n display: flex;\n flex-direction: column;\n gap: var(--_nys-globalfooter-row-gap) var(--_nys-globalfooter-column-gap);\n flex-wrap: wrap;\n }\n\n /** Column Menus **/\n .nys-globalfooter__content ul li:has(span + ul) {\n flex: 1 0 205px;\n display: flex;\n flex-direction: column;\n gap: var(--nys-space-300, 24px);\n }\n\n .nys-globalfooter__content ul li > span::after {\n content: \"\";\n display: block;\n height: 1px;\n width: 100%;\n background: var(--_nys-globalfooter-background--divider);\n margin-top: var(--_nys-globalfooter-margin--divider);\n }\n\n .nys-globalfooter__content ul li > span + ul {\n display: flex;\n flex-direction: column;\n gap: var(--nys-space-200, 16px);\n }\n\n /* Breakpoints using NYSDS Guidelines (Menu Links) */\n @media (min-width: 768px) {\n /* Tablet (MD - Above 768px) */\n .nys-globalfooter__content ul {\n flex-direction: row;\n }\n :host {\n --_nys-globalfooter-padding--gutter: var(--nys-gutter-lg, 32px);\n --_nys-globalfooter-row-gap: var(--nys-space-600, 48px);\n }\n }\n\n @media (min-width: 1280px) {\n /* Large Desktop (XL - Above 1280px) */\n :host {\n --_nys-globalfooter-padding--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-globalfooter.styles\";\n\nexport class NysGlobalFooter extends LitElement {\n static styles = styles;\n\n /********************** Properties **********************/\n @property({ type: String }) agencyName = \"\";\n @property({ type: String }) homepageLink = \"\";\n @state() private slotHasContent = true;\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 // Determine layout based on content structure\n const container = this.shadowRoot?.querySelector(\n \".nys-globalfooter__content\",\n );\n const hasMultipleGroups = assignedNodes?.some(\n (node) => node.tagName === \"H4\",\n );\n\n // Toggle layout classes\n if (container) {\n container.classList.toggle(\"columns\", hasMultipleGroups);\n container.classList.toggle(\"small\", !hasMultipleGroups);\n\n // Clear existing children in the container\n container.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\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 node.remove(); // Remove from light DOM to avoid duplication\n }\n });\n }\n }\n\n render() {\n return html`\n <footer class=\"nys-globalfooter\">\n <div class=\"nys-globalfooter__main-container\">\n ${!this.homepageLink?.trim()\n ? html`<p class=\"nys-globalfooter__name\">${this.agencyName}</p>`\n : html`<a href=${this.homepageLink?.trim()}>\n <p class=\"nys-globalfooter__name\">${this.agencyName}</p>\n </a>`}\n ${this.slotHasContent\n ? html`<div class=\"nys-globalfooter__content\">\n <slot\n style=\"display: hidden\"\n @slotchange=\"${this._handleSlotChange}\"\n ></slot>\n </div>`\n : \"\"}\n </div>\n </footer>\n `;\n }\n}\n\nif (!customElements.get(\"nys-globalfooter\")) {\n customElements.define(\"nys-globalfooter\", NysGlobalFooter);\n}\n"],"names":["t","e","s","o","n$2","r","n","S","c","i","h","a","l","p","d","u","f","y","b","_a","styles","css","_NysGlobalFooter","LitElement","slot","assignedNodes","node","container","_b","hasMultipleGroups","cleanNode","tag","element","html","NysGlobalFooter","__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,YAAY,GAAE,GAAE,GAAE;AAAC,QAAG,KAAK,eAAa,IAAG,MAAIF,EAAE,OAAM,MAAM,mEAAmE;AAAE,SAAK,UAAQ,GAAE,KAAK,IAAE;AAAA,EAAC;AAAA,EAAC,IAAI,aAAY;AAAC,QAAI,IAAE,KAAK;AAAE,UAAMA,IAAE,KAAK;AAAE,QAAGD,KAAY,MAAT,QAAW;AAAC,YA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,EAAI;AAIrC,QADsB,CAAC,UAAU,UAAU,UAAU,SAAS,KAAK,EACrD,QAAQ,CAACK,MAAQ;AAC5B,UAAAD,EACE,iBAAiBC,CAAG,EACpB,QAAQ,CAACC,MAAYA,EAAQ,QAAQ;AAAA,QAC1C,CAAC,GACDL,EAAU,YAAYG,CAAS,GAC/BJ,EAAK,OAAA;AAAA,MACP;AAAA,IACF,CAAC;AAAA,EAEL;AAAA,EAEA,SAAS;;AACP,WAAOO;AAAA;AAAA;AAAA,aAGEd,IAAA,KAAK,iBAAL,QAAAA,EAAmB,SAElBc,aAAeL,IAAA,KAAK,iBAAL,gBAAAA,EAAmB,MAAM;AAAA,oDACF,KAAK,UAAU;AAAA,sBAFrDK,sCAAyC,KAAK,UAAU,MAGnD;AAAA,YACP,KAAK,iBACHA;AAAA;AAAA;AAAA,iCAGmB,KAAK,iBAAiB;AAAA;AAAA,wBAGzC,EAAE;AAAA;AAAA;AAAA;AAAA,EAId;AACF;AAvFEX,EAAO,SAASF;AADX,IAAMc,IAANZ;AAIuBa,EAAA;AAAA,EAA3BC,EAAS,EAAE,MAAM,OAAA,CAAQ;AAAA,GAJfF,EAIiB,WAAA,YAAA;AACAC,EAAA;AAAA,EAA3BC,EAAS,EAAE,MAAM,OAAA,CAAQ;AAAA,GALfF,EAKiB,WAAA,cAAA;AACXC,EAAA;AAAA,EAAhBE,EAAA;AAAM,GANIH,EAMM,WAAA,gBAAA;AAoFd,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-globalfooter",
3
- "version": "1.9.1",
3
+ "version": "1.10.1",
4
4
  "description": "The Globalfooter component from the NYS Design System.",
5
5
  "module": "dist/nys-globalfooter.js",
6
6
  "types": "dist/index.d.ts",