@proximus/lavender-footer-sitemap 1.0.1 → 1.2.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.
@@ -1,5 +1,4 @@
1
1
  import { PxElement } from '@proximus/lavender-common';
2
- export declare const styleSheet: CSSStyleSheet;
3
2
  export declare class FooterSitemapItem extends PxElement<HTMLElement> {
4
3
  static nativeName: string;
5
4
  private lastSize?;
package/dist/index.es.js CHANGED
@@ -2,7 +2,7 @@ import { PxElement as x, cssTokenBreakpoints as Y, gapValues as Z, AttributeBrea
2
2
  import "@proximus/lavender-layout";
3
3
  import "@proximus/lavender-accordion";
4
4
  import "@proximus/lavender-link";
5
- const nt = ":host{display:block;--grid-cols: initial;--grid-cols--mobile: initial;--grid-cols--tablet: initial;--grid-cols--laptop: initial;--grid-cols--desktop: initial;--justify-content: initial;--justify-items: initial;--align-content: initial;--align-items: initial}.grid{display:grid;grid-template-columns:repeat(var(--grid-cols),minmax(0,1fr));justify-content:var(--justify-content);justify-items:var(--justify-items);align-content:var(--align-content);align-items:var(--align-items)}.justify-content-normal{justify-content:normal}.justify-content-start{justify-content:start}.justify-content-end{justify-content:end}.justify-content-center{justify-content:center}.justify-content-space-between{justify-content:space-between}.justify-content-space-around{justify-content:space-around}.justify-content-space-evenly{justify-content:space-evenly}.justify-content-stretch{justify-content:stretch}.justify-items-start{justify-items:start}.justify-items-end{justify-items:end}.justify-items-center{justify-items:center}.justify-items-stretch{justify-items:stretch}.align-content-normal{align-content:normal}.align-content-start{align-content:start}.align-content-end{align-content:end}.align-content-center{align-content:center}.align-content-space-between{align-content:space-between}.align-content-space-around{align-content:space-around}.align-content-space-evenly{align-content:space-evenly}.align-content-stretch{align-content:stretch}.align-items-start{align-items:start}.align-items-end{align-items:end}.align-items-center{align-items:center}.align-items-stretch{align-items:stretch}@media only screen and (max-width: 767px){.grid{grid-template-columns:repeat(var(--grid-cols--mobile, var(--grid-cols)),minmax(0,1fr))}.justify-content-normal-mobile{justify-content:normal}.justify-content-start-mobile{justify-content:start}.justify-content-end-mobile{justify-content:end}.justify-content-center-mobile{justify-content:center}.justify-content-space-between-mobile{justify-content:space-between}.justify-content-space-around-mobile{justify-content:space-around}.justify-content-space-evenly-mobile{justify-content:space-evenly}.justify-content-stretch-mobile{justify-content:stretch}.justify-items-start-mobile{justify-items:start}.justify-items-end-mobile{justify-items:end}.justify-items-center-mobile{justify-items:center}.justify-items-stretch-mobile{justify-items:stretch}.align-content-normal-mobile{align-content:normal}.align-content-start-mobile{align-content:start}.align-content-end-mobile{align-content:end}.align-content-center-mobile{align-content:center}.align-content-space-between-mobile{align-content:space-between}.align-content-space-around-mobile{align-content:space-around}.align-content-space-evenly-mobile{align-content:space-evenly}.align-content-stretch-mobile{align-content:stretch}.align-items-start-mobile{align-items:start}.align-items-end-mobile{align-items:end}.align-items-center-mobile{align-items:center}.align-items-stretch-mobile{align-items:stretch}}@media only screen and (min-width: 768px) and (max-width: 1024px){.grid{grid-template-columns:repeat(var(--grid-cols--tablet, var(--grid-cols)),minmax(0,1fr))}.justify-content-normal-tablet{justify-content:normal}.justify-content-start-tablet{justify-content:start}.justify-content-end-tablet{justify-content:end}.justify-content-center-tablet{justify-content:center}.justify-content-space-between-tablet{justify-content:space-between}.justify-content-space-around-tablet{justify-content:space-around}.justify-content-space-evenly-tablet{justify-content:space-evenly}.justify-content-stretch-tablet{justify-content:stretch}.justify-items-start-tablet{justify-items:start}.justify-items-end-tablet{justify-items:end}.justify-items-center-tablet{justify-items:center}.justify-items-stretch-tablet{justify-items:stretch}.align-content-normal-tablet{align-content:normal}.align-content-start-tablet{align-content:start}.align-content-end-tablet{align-content:end}.align-content-center-tablet{align-content:center}.align-content-space-between-tablet{align-content:space-between}.align-content-space-around-tablet{align-content:space-around}.align-content-space-evenly-tablet{align-content:space-evenly}.align-content-stretch-tablet{align-content:stretch}.align-items-start-tablet{align-items:start}.align-items-end-tablet{align-items:end}.align-items-center-tablet{align-items:center}.align-items-stretch-tablet{align-items:stretch}}@media only screen and (min-width: 1025px){.grid{grid-template-columns:repeat(var(--grid-cols--laptop, var(--grid-cols)),minmax(0,1fr))}.justify-content-normal-laptop{justify-content:normal}.justify-content-start-laptop{justify-content:start}.justify-content-end-laptop{justify-content:end}.justify-content-center-laptop{justify-content:center}.justify-content-space-between-laptop{justify-content:space-between}.justify-content-space-around-laptop{justify-content:space-around}.justify-content-space-evenly-laptop{justify-content:space-evenly}.justify-content-stretch-laptop{justify-content:stretch}.justify-items-start-laptop{justify-items:start}.justify-items-end-laptop{justify-items:end}.justify-items-center-laptop{justify-items:center}.justify-items-stretch-laptop{justify-items:stretch}.align-content-normal-laptop{align-content:normal}.align-content-start-laptop{align-content:start}.align-content-end-laptop{align-content:end}.align-content-center-laptop{align-content:center}.align-content-space-between-laptop{align-content:space-between}.align-content-space-around-laptop{align-content:space-around}.align-content-space-evenly-laptop{align-content:space-evenly}.align-content-stretch-laptop{align-content:stretch}.align-items-start-laptop{align-items:start}.align-items-end-laptop{align-items:end}.align-items-center-laptop{align-items:center}.align-items-stretch-laptop{align-items:stretch}}", P = new CSSStyleSheet();
5
+ const nt = ":host{display:block;--grid-cols: initial;--grid-cols--mobile: initial;--grid-cols--tablet: initial;--grid-cols--laptop: initial;--grid-cols--desktop: initial;--justify-content: initial;--justify-items: initial;--align-content: initial;--align-items: initial}.grid{display:grid;grid-template-columns:repeat(var(--grid-cols),minmax(0,1fr));justify-content:var(--justify-content);justify-items:var(--justify-items);align-content:var(--align-content);align-items:var(--align-items)}.justify-content-normal{justify-content:normal}.justify-content-start{justify-content:start}.justify-content-end{justify-content:end}.justify-content-center{justify-content:center}.justify-content-space-between{justify-content:space-between}.justify-content-space-around{justify-content:space-around}.justify-content-space-evenly{justify-content:space-evenly}.justify-content-stretch{justify-content:stretch}.justify-items-start{justify-items:start}.justify-items-end{justify-items:end}.justify-items-center{justify-items:center}.justify-items-stretch{justify-items:stretch}.align-content-normal{align-content:normal}.align-content-start{align-content:start}.align-content-end{align-content:end}.align-content-center{align-content:center}.align-content-space-between{align-content:space-between}.align-content-space-around{align-content:space-around}.align-content-space-evenly{align-content:space-evenly}.align-content-stretch{align-content:stretch}.align-items-start{align-items:start}.align-items-end{align-items:end}.align-items-center{align-items:center}.align-items-stretch{align-items:stretch}@media only screen and (max-width: 767px){.grid{grid-template-columns:repeat(var(--grid-cols--mobile, var(--grid-cols)),minmax(0,1fr))}.justify-content-normal-mobile{justify-content:normal}.justify-content-start-mobile{justify-content:start}.justify-content-end-mobile{justify-content:end}.justify-content-center-mobile{justify-content:center}.justify-content-space-between-mobile{justify-content:space-between}.justify-content-space-around-mobile{justify-content:space-around}.justify-content-space-evenly-mobile{justify-content:space-evenly}.justify-content-stretch-mobile{justify-content:stretch}.justify-items-start-mobile{justify-items:start}.justify-items-end-mobile{justify-items:end}.justify-items-center-mobile{justify-items:center}.justify-items-stretch-mobile{justify-items:stretch}.align-content-normal-mobile{align-content:normal}.align-content-start-mobile{align-content:start}.align-content-end-mobile{align-content:end}.align-content-center-mobile{align-content:center}.align-content-space-between-mobile{align-content:space-between}.align-content-space-around-mobile{align-content:space-around}.align-content-space-evenly-mobile{align-content:space-evenly}.align-content-stretch-mobile{align-content:stretch}.align-items-start-mobile{align-items:start}.align-items-end-mobile{align-items:end}.align-items-center-mobile{align-items:center}.align-items-stretch-mobile{align-items:stretch}}@media only screen and (min-width: 48em) and (max-width: 64em){.grid{grid-template-columns:repeat(var(--grid-cols--tablet, var(--grid-cols)),minmax(0,1fr))}.justify-content-normal-tablet{justify-content:normal}.justify-content-start-tablet{justify-content:start}.justify-content-end-tablet{justify-content:end}.justify-content-center-tablet{justify-content:center}.justify-content-space-between-tablet{justify-content:space-between}.justify-content-space-around-tablet{justify-content:space-around}.justify-content-space-evenly-tablet{justify-content:space-evenly}.justify-content-stretch-tablet{justify-content:stretch}.justify-items-start-tablet{justify-items:start}.justify-items-end-tablet{justify-items:end}.justify-items-center-tablet{justify-items:center}.justify-items-stretch-tablet{justify-items:stretch}.align-content-normal-tablet{align-content:normal}.align-content-start-tablet{align-content:start}.align-content-end-tablet{align-content:end}.align-content-center-tablet{align-content:center}.align-content-space-between-tablet{align-content:space-between}.align-content-space-around-tablet{align-content:space-around}.align-content-space-evenly-tablet{align-content:space-evenly}.align-content-stretch-tablet{align-content:stretch}.align-items-start-tablet{align-items:start}.align-items-end-tablet{align-items:end}.align-items-center-tablet{align-items:center}.align-items-stretch-tablet{align-items:stretch}}@media only screen and (min-width: 64.0625em){.grid{grid-template-columns:repeat(var(--grid-cols--laptop, var(--grid-cols)),minmax(0,1fr))}.justify-content-normal-laptop{justify-content:normal}.justify-content-start-laptop{justify-content:start}.justify-content-end-laptop{justify-content:end}.justify-content-center-laptop{justify-content:center}.justify-content-space-between-laptop{justify-content:space-between}.justify-content-space-around-laptop{justify-content:space-around}.justify-content-space-evenly-laptop{justify-content:space-evenly}.justify-content-stretch-laptop{justify-content:stretch}.justify-items-start-laptop{justify-items:start}.justify-items-end-laptop{justify-items:end}.justify-items-center-laptop{justify-items:center}.justify-items-stretch-laptop{justify-items:stretch}.align-content-normal-laptop{align-content:normal}.align-content-start-laptop{align-content:start}.align-content-end-laptop{align-content:end}.align-content-center-laptop{align-content:center}.align-content-space-between-laptop{align-content:space-between}.align-content-space-around-laptop{align-content:space-around}.align-content-space-evenly-laptop{align-content:space-evenly}.align-content-stretch-laptop{align-content:stretch}.align-items-start-laptop{align-items:start}.align-items-end-laptop{align-items:end}.align-items-center-laptop{align-items:center}.align-items-stretch-laptop{align-items:stretch}}", P = new CSSStyleSheet();
6
6
  P.replaceSync(nt);
7
7
  const st = [
8
8
  "1",
@@ -140,13 +140,13 @@ const st = [
140
140
  `var(--px-spacing-${l}-tablet)`
141
141
  ), this.$el.style.setProperty(
142
142
  "--grid-gap--laptop",
143
- `var(--px-spacing-${l}-desktop)`
143
+ `var(--px-spacing-${l}-laptop)`
144
144
  ));
145
145
  };
146
146
  s(t), s(e);
147
147
  }
148
148
  updateAttribute(t, e, n, s) {
149
- this.checkName(s, n) ? t === "grid-cols" || t === "grid-cols--mobile" || t === "grid-cols--tablet" || t === "grid-cols--laptop" ? this.$el.style.setProperty(`--${t}`, n) : (e !== null && e !== "" && e !== "default" && this.$el.classList.toggle(`${t}-${e}`), n !== null && n !== "" && n !== "default" && this.$el.classList.toggle(`${t}-${n}`)) : console.error(`${n} is not an allowed ${t} value`);
149
+ this.checkName(s, n) ? t === "grid-cols" || t === "grid-cols--mobile" || t === "grid-cols--tablet" || t === "grid-cols--laptop" || t === "grid-cols--desktop" ? this.$el.style.setProperty(`--${t}`, n) : (e !== null && e !== "" && e !== "default" && this.$el.classList.toggle(`${t}-${e}`), n !== null && n !== "" && n !== "default" && this.$el.classList.toggle(`${t}-${n}`)) : console.error(`${n} is not an allowed ${t} value`);
150
150
  }
151
151
  get gap() {
152
152
  return this.getAttribute("gap");
@@ -501,23 +501,23 @@ $.nativeName = "div";
501
501
  let C = $;
502
502
  customElements.get("px-footer-sitemap") || customElements.define("px-footer-sitemap", C);
503
503
  const gt = ":host,:host>*{display:block;box-sizing:border-box}::slotted(ul){margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:10px}::slotted(ul.link-list-img){display:flex;flex-wrap:wrap;flex-direction:row;gap:20px}";
504
- function b(i) {
504
+ function m(i) {
505
505
  var t = typeof i;
506
506
  return i != null && (t == "object" || t == "function");
507
507
  }
508
508
  var ht = typeof global == "object" && global && global.Object === Object && global, ft = typeof self == "object" && self && self.Object === Object && self, U = ht || ft || Function("return this")(), j = function() {
509
509
  return U.Date.now();
510
510
  }, ut = /\s/;
511
- function bt(i) {
511
+ function mt(i) {
512
512
  for (var t = i.length; t-- && ut.test(i.charAt(t)); )
513
513
  ;
514
514
  return t;
515
515
  }
516
- var mt = /^\s+/;
516
+ var bt = /^\s+/;
517
517
  function xt(i) {
518
- return i && i.slice(0, bt(i) + 1).replace(mt, "");
518
+ return i && i.slice(0, mt(i) + 1).replace(bt, "");
519
519
  }
520
- var m = U.Symbol, F = Object.prototype, yt = F.hasOwnProperty, vt = F.toString, f = m ? m.toStringTag : void 0;
520
+ var b = U.Symbol, F = Object.prototype, yt = F.hasOwnProperty, vt = F.toString, f = b ? b.toStringTag : void 0;
521
521
  function zt(i) {
522
522
  var t = yt.call(i, f), e = i[f];
523
523
  try {
@@ -532,7 +532,7 @@ var jt = Object.prototype, kt = jt.toString;
532
532
  function At(i) {
533
533
  return kt.call(i);
534
534
  }
535
- var Ct = "[object Null]", Tt = "[object Undefined]", D = m ? m.toStringTag : void 0;
535
+ var Ct = "[object Null]", Tt = "[object Undefined]", D = b ? b.toStringTag : void 0;
536
536
  function wt(i) {
537
537
  return i == null ? i === void 0 ? Tt : Ct : D && D in Object(i) ? zt(i) : At(i);
538
538
  }
@@ -549,9 +549,9 @@ function W(i) {
549
549
  return i;
550
550
  if (Lt(i))
551
551
  return R;
552
- if (b(i)) {
552
+ if (m(i)) {
553
553
  var t = typeof i.valueOf == "function" ? i.valueOf() : i;
554
- i = b(t) ? t + "" : t;
554
+ i = m(t) ? t + "" : t;
555
555
  }
556
556
  if (typeof i != "string")
557
557
  return i === 0 ? i : +i;
@@ -564,7 +564,7 @@ function Pt(i, t, e) {
564
564
  var n, s, l, r, a, p, d = 0, I = !1, g = !1, y = !0;
565
565
  if (typeof i != "function")
566
566
  throw new TypeError(Dt);
567
- t = W(t) || 0, b(e) && (I = !!e.leading, g = "maxWait" in e, l = g ? Rt(W(e.maxWait) || 0, t) : l, y = "trailing" in e ? !!e.trailing : y);
567
+ t = W(t) || 0, m(e) && (I = !!e.leading, g = "maxWait" in e, l = g ? Rt(W(e.maxWait) || 0, t) : l, y = "trailing" in e ? !!e.trailing : y);
568
568
  function v(o) {
569
569
  var c = n, h = s;
570
570
  return n = s = void 0, d = o, r = i.apply(h, c), r;
@@ -612,7 +612,7 @@ function Ht(i, t, e) {
612
612
  var n = !0, s = !0;
613
613
  if (typeof i != "function")
614
614
  throw new TypeError(Bt);
615
- return b(e) && (n = "leading" in e ? !!e.leading : n, s = "trailing" in e ? !!e.trailing : s), Pt(i, t, {
615
+ return m(e) && (n = "leading" in e ? !!e.leading : n, s = "trailing" in e ? !!e.trailing : s), Pt(i, t, {
616
616
  leading: n,
617
617
  maxWait: t,
618
618
  trailing: s
@@ -686,6 +686,5 @@ let T = L;
686
686
  customElements.get("px-footer-sitemap-item") || customElements.define("px-footer-sitemap-item", T);
687
687
  export {
688
688
  C as FooterSitemap,
689
- T as FooterSitemapItem,
690
- G as styleSheet
689
+ T as FooterSitemapItem
691
690
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@proximus/lavender-footer-sitemap",
3
- "version": "1.0.1",
3
+ "version": "1.2.1",
4
4
  "description": "",
5
5
  "main": "dist/index.es.js",
6
6
  "types": "dist/index.d.ts",