@florid-kit/components 0.10.3 → 0.10.4

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.
package/index.mjs CHANGED
@@ -45,10 +45,10 @@ const Ae = (o) => new xe(typeof o == "string" ? o : o + "", void 0, Zt), f = (o,
45
45
  * Copyright 2017 Google LLC
46
46
  * SPDX-License-Identifier: BSD-3-Clause
47
47
  */
48
- const { is: Pe, defineProperty: Be, getOwnPropertyDescriptor: ze, getOwnPropertyNames: Oe, getOwnPropertySymbols: Ie, getPrototypeOf: De } = Object, J = globalThis, he = J.trustedTypes, Te = he ? he.emptyScript : "", Tt = J.reactiveElementPolyfillSupport, vt = (o, t) => o, Pt = { toAttribute(o, t) {
48
+ const { is: Pe, defineProperty: Be, getOwnPropertyDescriptor: ze, getOwnPropertyNames: Oe, getOwnPropertySymbols: Ie, getPrototypeOf: De } = Object, Q = globalThis, he = Q.trustedTypes, He = he ? he.emptyScript : "", Ht = Q.reactiveElementPolyfillSupport, vt = (o, t) => o, Pt = { toAttribute(o, t) {
49
49
  switch (t) {
50
50
  case Boolean:
51
- o = o ? Te : null;
51
+ o = o ? He : null;
52
52
  break;
53
53
  case Object:
54
54
  case Array:
@@ -74,7 +74,7 @@ const { is: Pe, defineProperty: Be, getOwnPropertyDescriptor: ze, getOwnProperty
74
74
  }
75
75
  return e;
76
76
  } }, Kt = (o, t) => !Pe(o, t), de = { attribute: !0, type: String, converter: Pt, reflect: !1, useDefault: !1, hasChanged: Kt };
77
- Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), J.litPropertyMetadata ?? (J.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
77
+ Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), Q.litPropertyMetadata ?? (Q.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
78
78
  let ct = class extends HTMLElement {
79
79
  static addInitializer(t) {
80
80
  this._$Ei(), (this.l ?? (this.l = [])).push(t);
@@ -276,15 +276,15 @@ let ct = class extends HTMLElement {
276
276
  firstUpdated(t) {
277
277
  }
278
278
  };
279
- ct.elementStyles = [], ct.shadowRootOptions = { mode: "open" }, ct[vt("elementProperties")] = /* @__PURE__ */ new Map(), ct[vt("finalized")] = /* @__PURE__ */ new Map(), Tt == null || Tt({ ReactiveElement: ct }), (J.reactiveElementVersions ?? (J.reactiveElementVersions = [])).push("2.1.0");
279
+ ct.elementStyles = [], ct.shadowRootOptions = { mode: "open" }, ct[vt("elementProperties")] = /* @__PURE__ */ new Map(), ct[vt("finalized")] = /* @__PURE__ */ new Map(), Ht == null || Ht({ ReactiveElement: ct }), (Q.reactiveElementVersions ?? (Q.reactiveElementVersions = [])).push("2.1.0");
280
280
  /**
281
281
  * @license
282
282
  * Copyright 2017 Google LLC
283
283
  * SPDX-License-Identifier: BSD-3-Clause
284
284
  */
285
- const gt = globalThis, Bt = gt.trustedTypes, pe = Bt ? Bt.createPolicy("lit-html", { createHTML: (o) => o }) : void 0, we = "$lit$", Y = `lit$${Math.random().toFixed(9).slice(2)}$`, $e = "?" + Y, He = `<${$e}>`, st = document, yt = () => st.createComment(""), mt = (o) => o === null || typeof o != "object" && typeof o != "function", Wt = Array.isArray, Me = (o) => Wt(o) || typeof (o == null ? void 0 : o[Symbol.iterator]) == "function", Ht = `[
286
- \f\r]`, ft = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, ue = /-->/g, fe = />/g, it = RegExp(`>|${Ht}(?:([^\\s"'>=/]+)(${Ht}*=${Ht}*(?:[^
287
- \f\r"'\`<>=]|("|')|))|$)`, "g"), ve = /'/g, ge = /"/g, ke = /^(?:script|style|textarea|title)$/i, je = (o) => (t, ...e) => ({ _$litType$: o, strings: t, values: e }), l = je(1), Q = Symbol.for("lit-noChange"), d = Symbol.for("lit-nothing"), be = /* @__PURE__ */ new WeakMap(), nt = st.createTreeWalker(st, 129);
285
+ const gt = globalThis, Bt = gt.trustedTypes, pe = Bt ? Bt.createPolicy("lit-html", { createHTML: (o) => o }) : void 0, we = "$lit$", J = `lit$${Math.random().toFixed(9).slice(2)}$`, $e = "?" + J, Te = `<${$e}>`, st = document, yt = () => st.createComment(""), mt = (o) => o === null || typeof o != "object" && typeof o != "function", Wt = Array.isArray, Me = (o) => Wt(o) || typeof (o == null ? void 0 : o[Symbol.iterator]) == "function", Tt = `[
286
+ \f\r]`, ft = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, ue = /-->/g, fe = />/g, it = RegExp(`>|${Tt}(?:([^\\s"'>=/]+)(${Tt}*=${Tt}*(?:[^
287
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), ve = /'/g, ge = /"/g, ke = /^(?:script|style|textarea|title)$/i, je = (o) => (t, ...e) => ({ _$litType$: o, strings: t, values: e }), l = je(1), tt = Symbol.for("lit-noChange"), d = Symbol.for("lit-nothing"), be = /* @__PURE__ */ new WeakMap(), nt = st.createTreeWalker(st, 129);
288
288
  function _e(o, t) {
289
289
  if (!Wt(o) || !o.hasOwnProperty("raw")) throw Error("invalid template strings array");
290
290
  return pe !== void 0 ? pe.createHTML(t) : t;
@@ -294,10 +294,10 @@ const Fe = (o, t) => {
294
294
  let i, r = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", s = ft;
295
295
  for (let c = 0; c < e; c++) {
296
296
  const h = o[c];
297
- let x, _, v = -1, q = 0;
298
- for (; q < h.length && (s.lastIndex = q, _ = s.exec(h), _ !== null); ) q = s.lastIndex, s === ft ? _[1] === "!--" ? s = ue : _[1] !== void 0 ? s = fe : _[2] !== void 0 ? (ke.test(_[2]) && (i = RegExp("</" + _[2], "g")), s = it) : _[3] !== void 0 && (s = it) : s === it ? _[0] === ">" ? (s = i ?? ft, v = -1) : _[1] === void 0 ? v = -2 : (v = s.lastIndex - _[2].length, x = _[1], s = _[3] === void 0 ? it : _[3] === '"' ? ge : ve) : s === ge || s === ve ? s = it : s === ue || s === fe ? s = ft : (s = it, i = void 0);
299
- const X = s === it && o[c + 1].startsWith("/>") ? " " : "";
300
- r += s === ft ? h + He : v >= 0 ? (n.push(x), h.slice(0, v) + we + h.slice(v) + Y + X) : h + Y + (v === -2 ? c : X);
297
+ let w, _, v = -1, q = 0;
298
+ for (; q < h.length && (s.lastIndex = q, _ = s.exec(h), _ !== null); ) q = s.lastIndex, s === ft ? _[1] === "!--" ? s = ue : _[1] !== void 0 ? s = fe : _[2] !== void 0 ? (ke.test(_[2]) && (i = RegExp("</" + _[2], "g")), s = it) : _[3] !== void 0 && (s = it) : s === it ? _[0] === ">" ? (s = i ?? ft, v = -1) : _[1] === void 0 ? v = -2 : (v = s.lastIndex - _[2].length, w = _[1], s = _[3] === void 0 ? it : _[3] === '"' ? ge : ve) : s === ge || s === ve ? s = it : s === ue || s === fe ? s = ft : (s = it, i = void 0);
299
+ const Y = s === it && o[c + 1].startsWith("/>") ? " " : "";
300
+ r += s === ft ? h + Te : v >= 0 ? (n.push(w), h.slice(0, v) + we + h.slice(v) + J + Y) : h + J + (v === -2 ? c : Y);
301
301
  }
302
302
  return [_e(o, r + (o[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), n];
303
303
  };
@@ -306,29 +306,29 @@ class xt {
306
306
  let i;
307
307
  this.parts = [];
308
308
  let r = 0, s = 0;
309
- const c = t.length - 1, h = this.parts, [x, _] = Fe(t, e);
310
- if (this.el = xt.createElement(x, n), nt.currentNode = this.el.content, e === 2 || e === 3) {
309
+ const c = t.length - 1, h = this.parts, [w, _] = Fe(t, e);
310
+ if (this.el = xt.createElement(w, n), nt.currentNode = this.el.content, e === 2 || e === 3) {
311
311
  const v = this.el.content.firstChild;
312
312
  v.replaceWith(...v.childNodes);
313
313
  }
314
314
  for (; (i = nt.nextNode()) !== null && h.length < c; ) {
315
315
  if (i.nodeType === 1) {
316
316
  if (i.hasAttributes()) for (const v of i.getAttributeNames()) if (v.endsWith(we)) {
317
- const q = _[s++], X = i.getAttribute(v).split(Y), At = /([.?@])?(.*)/.exec(q);
318
- h.push({ type: 1, index: r, name: At[2], strings: X, ctor: At[1] === "." ? Ue : At[1] === "?" ? Ne : At[1] === "@" ? Ve : Ot }), i.removeAttribute(v);
319
- } else v.startsWith(Y) && (h.push({ type: 6, index: r }), i.removeAttribute(v));
317
+ const q = _[s++], Y = i.getAttribute(v).split(J), At = /([.?@])?(.*)/.exec(q);
318
+ h.push({ type: 1, index: r, name: At[2], strings: Y, ctor: At[1] === "." ? Ue : At[1] === "?" ? Ne : At[1] === "@" ? Ve : Ot }), i.removeAttribute(v);
319
+ } else v.startsWith(J) && (h.push({ type: 6, index: r }), i.removeAttribute(v));
320
320
  if (ke.test(i.tagName)) {
321
- const v = i.textContent.split(Y), q = v.length - 1;
321
+ const v = i.textContent.split(J), q = v.length - 1;
322
322
  if (q > 0) {
323
323
  i.textContent = Bt ? Bt.emptyScript : "";
324
- for (let X = 0; X < q; X++) i.append(v[X], yt()), nt.nextNode(), h.push({ type: 2, index: ++r });
324
+ for (let Y = 0; Y < q; Y++) i.append(v[Y], yt()), nt.nextNode(), h.push({ type: 2, index: ++r });
325
325
  i.append(v[q], yt());
326
326
  }
327
327
  }
328
328
  } else if (i.nodeType === 8) if (i.data === $e) h.push({ type: 2, index: r });
329
329
  else {
330
330
  let v = -1;
331
- for (; (v = i.data.indexOf(Y, v + 1)) !== -1; ) h.push({ type: 7, index: r }), v += Y.length - 1;
331
+ for (; (v = i.data.indexOf(J, v + 1)) !== -1; ) h.push({ type: 7, index: r }), v += J.length - 1;
332
332
  }
333
333
  r++;
334
334
  }
@@ -340,7 +340,7 @@ class xt {
340
340
  }
341
341
  function ht(o, t, e = o, n) {
342
342
  var s, c;
343
- if (t === Q) return t;
343
+ if (t === tt) return t;
344
344
  let i = n !== void 0 ? (s = e._$Co) == null ? void 0 : s[n] : e._$Cl;
345
345
  const r = mt(t) ? void 0 : t._$litDirective$;
346
346
  return (i == null ? void 0 : i.constructor) !== r && ((c = i == null ? void 0 : i._$AO) == null || c.call(i, !1), r === void 0 ? i = void 0 : (i = new r(o), i._$AT(o, e, n)), n !== void 0 ? (e._$Co ?? (e._$Co = []))[n] = i : e._$Cl = i), i !== void 0 && (t = ht(o, i._$AS(o, t.values), i, n)), t;
@@ -361,8 +361,8 @@ class Re {
361
361
  let r = nt.nextNode(), s = 0, c = 0, h = n[0];
362
362
  for (; h !== void 0; ) {
363
363
  if (s === h.index) {
364
- let x;
365
- h.type === 2 ? x = new Et(r, r.nextSibling, this, t) : h.type === 1 ? x = new h.ctor(r, h.name, h.strings, this, t) : h.type === 6 && (x = new qe(r, this, t)), this._$AV.push(x), h = n[++c];
364
+ let w;
365
+ h.type === 2 ? w = new Et(r, r.nextSibling, this, t) : h.type === 1 ? w = new h.ctor(r, h.name, h.strings, this, t) : h.type === 6 && (w = new qe(r, this, t)), this._$AV.push(w), h = n[++c];
366
366
  }
367
367
  s !== (h == null ? void 0 : h.index) && (r = nt.nextNode(), s++);
368
368
  }
@@ -393,7 +393,7 @@ class Et {
393
393
  return this._$AB;
394
394
  }
395
395
  _$AI(t, e = this) {
396
- t = ht(this, t, e), mt(t) ? t === d || t == null || t === "" ? (this._$AH !== d && this._$AR(), this._$AH = d) : t !== this._$AH && t !== Q && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : Me(t) ? this.k(t) : this._(t);
396
+ t = ht(this, t, e), mt(t) ? t === d || t == null || t === "" ? (this._$AH !== d && this._$AR(), this._$AH = d) : t !== this._$AH && t !== tt && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : Me(t) ? this.k(t) : this._(t);
397
397
  }
398
398
  O(t) {
399
399
  return this._$AA.parentNode.insertBefore(t, this._$AB);
@@ -449,11 +449,11 @@ class Ot {
449
449
  _$AI(t, e = this, n, i) {
450
450
  const r = this.strings;
451
451
  let s = !1;
452
- if (r === void 0) t = ht(this, t, e, 0), s = !mt(t) || t !== this._$AH && t !== Q, s && (this._$AH = t);
452
+ if (r === void 0) t = ht(this, t, e, 0), s = !mt(t) || t !== this._$AH && t !== tt, s && (this._$AH = t);
453
453
  else {
454
454
  const c = t;
455
- let h, x;
456
- for (t = r[0], h = 0; h < r.length - 1; h++) x = ht(this, c[n + h], e, h), x === Q && (x = this._$AH[h]), s || (s = !mt(x) || x !== this._$AH[h]), x === d ? t = d : t !== d && (t += (x ?? "") + r[h + 1]), this._$AH[h] = x;
455
+ let h, w;
456
+ for (t = r[0], h = 0; h < r.length - 1; h++) w = ht(this, c[n + h], e, h), w === tt && (w = this._$AH[h]), s || (s = !mt(w) || w !== this._$AH[h]), w === d ? t = d : t !== d && (t += (w ?? "") + r[h + 1]), this._$AH[h] = w;
457
457
  }
458
458
  s && !i && this.j(t);
459
459
  }
@@ -482,7 +482,7 @@ class Ve extends Ot {
482
482
  super(t, e, n, i, r), this.type = 5;
483
483
  }
484
484
  _$AI(t, e = this) {
485
- if ((t = ht(this, t, e, 0) ?? d) === Q) return;
485
+ if ((t = ht(this, t, e, 0) ?? d) === tt) return;
486
486
  const n = this._$AH, i = t === d && n !== d || t.capture !== n.capture || t.once !== n.once || t.passive !== n.passive, r = t !== d && (n === d || i);
487
487
  i && this.element.removeEventListener(this.name, this, n), r && this.element.addEventListener(this.name, this, t), this._$AH = t;
488
488
  }
@@ -541,7 +541,7 @@ let p = class extends ct {
541
541
  super.disconnectedCallback(), (t = this._$Do) == null || t.setConnected(!1);
542
542
  }
543
543
  render() {
544
- return Q;
544
+ return tt;
545
545
  }
546
546
  };
547
547
  var me;
@@ -596,7 +596,7 @@ function a(o) {
596
596
  * Copyright 2017 Google LLC
597
597
  * SPDX-License-Identifier: BSD-3-Clause
598
598
  */
599
- function et(o) {
599
+ function W(o) {
600
600
  return a({ ...o, state: !0, attribute: !1 });
601
601
  }
602
602
  /**
@@ -846,7 +846,7 @@ class Rt extends Qt {
846
846
  }
847
847
  render(t) {
848
848
  if (t === d || t == null) return this._t = void 0, this.it = t;
849
- if (t === Q) return t;
849
+ if (t === tt) return t;
850
850
  if (typeof t != "string") throw Error(this.constructor.directiveName + "() called with a non-string value");
851
851
  if (t === this.it) return this._t;
852
852
  this.it = t;
@@ -863,7 +863,7 @@ Rt.directiveName = "unsafeHTML", Rt.resultType = 1;
863
863
  class Ut extends Rt {
864
864
  }
865
865
  Ut.directiveName = "unsafeSVG", Ut.resultType = 2;
866
- const C = Jt(Ut);
866
+ const S = Jt(Ut);
867
867
  /**
868
868
  * @license
869
869
  * Copyright 2020 Google LLC
@@ -930,7 +930,7 @@ class Do extends Qt {
930
930
  reconnected() {
931
931
  }
932
932
  }
933
- class To extends Do {
933
+ class Ho extends Do {
934
934
  constructor() {
935
935
  super(...arguments), this.prevData = {};
936
936
  }
@@ -957,7 +957,7 @@ class To extends Do {
957
957
  (!t || !(i in t) && n[i] === e[i]) && (n[i] = void 0);
958
958
  }
959
959
  }
960
- class Ho extends To {
960
+ class To extends Ho {
961
961
  constructor() {
962
962
  super(...arguments), this.eventData = {};
963
963
  }
@@ -1001,7 +1001,7 @@ class Ho extends To {
1001
1001
  }
1002
1002
  }
1003
1003
  }
1004
- class Mo extends Ho {
1004
+ class Mo extends To {
1005
1005
  apply(t) {
1006
1006
  if (!t)
1007
1007
  return;
@@ -1074,7 +1074,7 @@ let B = class extends p {
1074
1074
  return l`
1075
1075
  ${this.type === "span" ? l`
1076
1076
  <span class="icon icon-button ${this.size} ${this.bgstyle} ${this.status} ${t}" ?disabled="${this.disabled}">
1077
- ${C(e)}
1077
+ ${S(e)}
1078
1078
  </span>
1079
1079
  ` : l`
1080
1080
  <button
@@ -1083,7 +1083,7 @@ let B = class extends p {
1083
1083
  class="icon-button ${this.size} ${this.bgstyle} ${this.status} ${t}"
1084
1084
  ?disabled="${this.disabled}"
1085
1085
  >
1086
- ${C(e)}
1086
+ ${S(e)}
1087
1087
  ${n}
1088
1088
  </button>
1089
1089
  `}
@@ -1913,7 +1913,7 @@ let y = class extends qo {
1913
1913
  "<svg",
1914
1914
  '<svg aria-hidden="true" focusable="false" part="svg"'
1915
1915
  );
1916
- return l`<span class="${o === "start" ? "icon-start" : "icon-end"}">${C(e)}</span>`;
1916
+ return l`<span class="${o === "start" ? "icon-start" : "icon-end"}">${S(e)}</span>`;
1917
1917
  }
1918
1918
  renderButton() {
1919
1919
  const o = this.text || this.textsecond;
@@ -2239,7 +2239,7 @@ let dt = class extends p {
2239
2239
  return l`
2240
2240
  <button type="button" aria-describedby="${this.ariaDescribedBy}" class="wishlist-button">
2241
2241
  <span class="sr-only">${this.label}</span>
2242
- ${C(o)}
2242
+ ${S(o)}
2243
2243
  </button>
2244
2244
  `;
2245
2245
  }
@@ -2510,7 +2510,7 @@ let pt = class extends p {
2510
2510
  <div class="rating">
2511
2511
  <div class="stars">
2512
2512
  ${o.map(
2513
- (t) => l`<span class="star">${C(Z[t] ?? "")}</span>`
2513
+ (t) => l`<span class="star">${S(Z[t] ?? "")}</span>`
2514
2514
  )}
2515
2515
  </div>
2516
2516
  ${this.reviewCount != null && this.href != null ? l`<o-link template="review" href="${this.href}">${this.reviewCount}</o-link>` : null}
@@ -2785,7 +2785,7 @@ ot([
2785
2785
  a({ type: Object })
2786
2786
  ], j.prototype, "swiperInstance", 2);
2787
2787
  ot([
2788
- et()
2788
+ W()
2789
2789
  ], j.prototype, "focusedIndex", 2);
2790
2790
  j = ot([
2791
2791
  g("thumbnail-navigation")
@@ -2994,12 +2994,12 @@ ee([
2994
2994
  $t = ee([
2995
2995
  g("o-tooltip")
2996
2996
  ], $t);
2997
- var ni = Object.defineProperty, ri = Object.getOwnPropertyDescriptor, W = (o, t, e, n) => {
2997
+ var ni = Object.defineProperty, ri = Object.getOwnPropertyDescriptor, G = (o, t, e, n) => {
2998
2998
  for (var i = n > 1 ? void 0 : n ? ri(t, e) : t, r = o.length - 1, s; r >= 0; r--)
2999
2999
  (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
3000
3000
  return n && i && ni(t, e, i), i;
3001
3001
  };
3002
- let H = class extends p {
3002
+ let T = class extends p {
3003
3003
  constructor() {
3004
3004
  super(...arguments), this.options = [], this.value = "", this.name = "", this.disabled = !1, this.width = "100%", this.open = !1, this.activeIndex = -1, this.menuWidth = "", this._handleOutsideClick = (o) => {
3005
3005
  this.contains(o.target) || (this.open = !1, this.activeIndex = -1);
@@ -3110,10 +3110,10 @@ let H = class extends p {
3110
3110
  ${e.url ? l`
3111
3111
  <a href="${e.url}">
3112
3112
  <span>${e.label}</span>
3113
- ${e.value === this.value ? l`<span class="check">${C(o)}</span>` : null}
3113
+ ${e.value === this.value ? l`<span class="check">${S(o)}</span>` : null}
3114
3114
  </a>` : l`
3115
3115
  <span>${e.label}</span>
3116
- ${e.value === this.value ? l`<span class="check">${C(o)}</span>` : null}`}
3116
+ ${e.value === this.value ? l`<span class="check">${S(o)}</span>` : null}`}
3117
3117
  </li>`
3118
3118
  )}
3119
3119
  </ul>` : null}
@@ -3122,7 +3122,7 @@ let H = class extends p {
3122
3122
  `;
3123
3123
  }
3124
3124
  };
3125
- H.styles = f`
3125
+ T.styles = f`
3126
3126
  :host {
3127
3127
  display: inline-block;
3128
3128
  position: relative;
@@ -3262,33 +3262,33 @@ H.styles = f`
3262
3262
  display: none;
3263
3263
  }
3264
3264
  `;
3265
- W([
3265
+ G([
3266
3266
  a({ type: Array, reflect: !0 })
3267
- ], H.prototype, "options", 2);
3268
- W([
3267
+ ], T.prototype, "options", 2);
3268
+ G([
3269
3269
  a({ type: String, reflect: !0 })
3270
- ], H.prototype, "value", 2);
3271
- W([
3270
+ ], T.prototype, "value", 2);
3271
+ G([
3272
3272
  a({ type: String, reflect: !0 })
3273
- ], H.prototype, "name", 2);
3274
- W([
3273
+ ], T.prototype, "name", 2);
3274
+ G([
3275
3275
  a({ type: Boolean, reflect: !0 })
3276
- ], H.prototype, "disabled", 2);
3277
- W([
3276
+ ], T.prototype, "disabled", 2);
3277
+ G([
3278
3278
  a({ type: String, reflect: !0 })
3279
- ], H.prototype, "width", 2);
3280
- W([
3281
- et()
3282
- ], H.prototype, "open", 2);
3283
- W([
3284
- et()
3285
- ], H.prototype, "activeIndex", 2);
3286
- W([
3287
- et()
3288
- ], H.prototype, "menuWidth", 2);
3289
- H = W([
3279
+ ], T.prototype, "width", 2);
3280
+ G([
3281
+ W()
3282
+ ], T.prototype, "open", 2);
3283
+ G([
3284
+ W()
3285
+ ], T.prototype, "activeIndex", 2);
3286
+ G([
3287
+ W()
3288
+ ], T.prototype, "menuWidth", 2);
3289
+ T = G([
3290
3290
  g("o-dropdown")
3291
- ], H);
3291
+ ], T);
3292
3292
  var si = Object.getOwnPropertyDescriptor, ai = (o, t, e, n) => {
3293
3293
  for (var i = n > 1 ? void 0 : n ? si(t, e) : t, r = o.length - 1, s; r >= 0; r--)
3294
3294
  (s = o[r]) && (i = s(i) || i);
@@ -3484,7 +3484,7 @@ let z = class extends p {
3484
3484
  <div class="right">
3485
3485
  <span class="additional-text">${P(e.additionaltext)}</span>
3486
3486
  ${e.value === this.value && !e.additionaltext ? l`
3487
- <span class="check">${C(o)}</span>` : null}
3487
+ <span class="check">${S(o)}</span>` : null}
3488
3488
  </div>
3489
3489
  </a>
3490
3490
  </li>
@@ -3691,13 +3691,13 @@ R([
3691
3691
  a({ type: String, reflect: !0 })
3692
3692
  ], z.prototype, "width", 2);
3693
3693
  R([
3694
- et()
3694
+ W()
3695
3695
  ], z.prototype, "open", 2);
3696
3696
  R([
3697
- et()
3697
+ W()
3698
3698
  ], z.prototype, "activeIndex", 2);
3699
3699
  R([
3700
- et()
3700
+ W()
3701
3701
  ], z.prototype, "menuWidth", 2);
3702
3702
  z = R([
3703
3703
  g("o-dropdown-variant")
@@ -3730,7 +3730,7 @@ const Ee = "important", hi = " !" + Ee, di = Jt(class extends Qt {
3730
3730
  n.includes("-") || r ? e.setProperty(n, r ? i.slice(0, -11) : i, r ? Ee : "") : e[n] = i;
3731
3731
  }
3732
3732
  }
3733
- return Q;
3733
+ return tt;
3734
3734
  }
3735
3735
  });
3736
3736
  var pi = Object.defineProperty, ui = Object.getOwnPropertyDescriptor, oe = (o, t, e, n) => {
@@ -3850,7 +3850,7 @@ oe([
3850
3850
  kt = oe([
3851
3851
  g("o-reassurance")
3852
3852
  ], kt);
3853
- var fi = Object.defineProperty, vi = Object.getOwnPropertyDescriptor, G = (o, t, e, n) => {
3853
+ var fi = Object.defineProperty, vi = Object.getOwnPropertyDescriptor, X = (o, t, e, n) => {
3854
3854
  for (var i = n > 1 ? void 0 : n ? vi(t, e) : t, r = o.length - 1, s; r >= 0; r--)
3855
3855
  (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
3856
3856
  return n && i && fi(t, e, i), i;
@@ -3969,31 +3969,31 @@ O.styles = f`
3969
3969
  align-items: center;
3970
3970
  }
3971
3971
  `;
3972
- G([
3972
+ X([
3973
3973
  a({ type: String, reflect: !0 })
3974
3974
  ], O.prototype, "link", 2);
3975
- G([
3975
+ X([
3976
3976
  a({ reflect: !0 })
3977
3977
  ], O.prototype, "name", 2);
3978
- G([
3978
+ X([
3979
3979
  a({ reflect: !0 })
3980
3980
  ], O.prototype, "value", 2);
3981
- G([
3981
+ X([
3982
3982
  a({ type: String })
3983
3983
  ], O.prototype, "text", 2);
3984
- G([
3984
+ X([
3985
3985
  a({ type: String, reflect: !0 })
3986
3986
  ], O.prototype, "size", 2);
3987
- G([
3987
+ X([
3988
3988
  a({ type: Boolean, reflect: !0 })
3989
3989
  ], O.prototype, "selected", 2);
3990
- G([
3990
+ X([
3991
3991
  a({ type: Boolean, reflect: !0 })
3992
3992
  ], O.prototype, "fullwidth", 2);
3993
- G([
3993
+ X([
3994
3994
  a({ type: Boolean, reflect: !0 })
3995
3995
  ], O.prototype, "inactive", 2);
3996
- O = G([
3996
+ O = X([
3997
3997
  g("o-chip")
3998
3998
  ], O);
3999
3999
  var bi = Object.defineProperty, yi = Object.getOwnPropertyDescriptor, ie = (o, t, e, n) => {
@@ -4056,14 +4056,14 @@ let I = class extends wi {
4056
4056
  "<svg",
4057
4057
  '<svg aria-hidden="true" focusable="false" part="svg"'
4058
4058
  ).replace(/stroke=[#"'a-z1-9]*/gi, "");
4059
- return l`<span class="cross-icon">${C(o)}</span>`;
4059
+ return l`<span class="cross-icon">${S(o)}</span>`;
4060
4060
  }
4061
4061
  strikeThroughImg() {
4062
4062
  const o = Lo[this.strikethroughImgName].replace(
4063
4063
  "<svg",
4064
4064
  '<svg aria-hidden="true" focusable="false" part="strikethrough"'
4065
4065
  ).replace(/stroke=[#"'a-z1-9]*/gi, "");
4066
- return C(o);
4066
+ return S(o);
4067
4067
  }
4068
4068
  render() {
4069
4069
  const o = this.text;
@@ -4491,12 +4491,12 @@ ne([
4491
4491
  Ct = ne([
4492
4492
  g("o-badge")
4493
4493
  ], Ct);
4494
- var Ci = Object.defineProperty, Si = Object.getOwnPropertyDescriptor, T = (o, t, e, n) => {
4494
+ var Ci = Object.defineProperty, Si = Object.getOwnPropertyDescriptor, H = (o, t, e, n) => {
4495
4495
  for (var i = n > 1 ? void 0 : n ? Si(t, e) : t, r = o.length - 1, s; r >= 0; r--)
4496
4496
  (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
4497
4497
  return n && i && Ci(t, e, i), i;
4498
4498
  };
4499
- let S = class extends p {
4499
+ let E = class extends p {
4500
4500
  constructor() {
4501
4501
  super(...arguments), this.icon = "info", this.text = "Sample text", this.verticalanchor = "top", this.horizontalanchor = "right", this.verticaloffset = 24, this.horizontaloffset = 24, this.animationduration = 500, this.animationaxis = "horizontal", this.animated = !0, this.lifeduration = 5e3, this.multiline = !1;
4502
4502
  }
@@ -4544,7 +4544,7 @@ let S = class extends p {
4544
4544
  return l`
4545
4545
  <div class="o-toast">
4546
4546
  <div class="o-toast-icon">
4547
- ${C(t)}
4547
+ ${S(t)}
4548
4548
  </div>
4549
4549
  <div class="o-toast-text">
4550
4550
  ${this.text}
@@ -4560,7 +4560,7 @@ let S = class extends p {
4560
4560
  `;
4561
4561
  }
4562
4562
  };
4563
- S.styles = f`
4563
+ E.styles = f`
4564
4564
  :host {
4565
4565
  --vertical-offset: 24px;
4566
4566
  --horizontal-offset: 24px;
@@ -4638,42 +4638,42 @@ S.styles = f`
4638
4638
  height: 16px;
4639
4639
  }
4640
4640
  `;
4641
- T([
4641
+ H([
4642
4642
  a({ type: String, reflect: !0 })
4643
- ], S.prototype, "icon", 2);
4644
- T([
4643
+ ], E.prototype, "icon", 2);
4644
+ H([
4645
4645
  a({ type: String, reflect: !0 })
4646
- ], S.prototype, "text", 2);
4647
- T([
4646
+ ], E.prototype, "text", 2);
4647
+ H([
4648
4648
  a({ type: String, reflect: !0 })
4649
- ], S.prototype, "verticalanchor", 2);
4650
- T([
4649
+ ], E.prototype, "verticalanchor", 2);
4650
+ H([
4651
4651
  a({ type: String, reflect: !0 })
4652
- ], S.prototype, "horizontalanchor", 2);
4653
- T([
4652
+ ], E.prototype, "horizontalanchor", 2);
4653
+ H([
4654
4654
  a({ type: Number, reflect: !0 })
4655
- ], S.prototype, "verticaloffset", 2);
4656
- T([
4655
+ ], E.prototype, "verticaloffset", 2);
4656
+ H([
4657
4657
  a({ type: Number, reflect: !0 })
4658
- ], S.prototype, "horizontaloffset", 2);
4659
- T([
4658
+ ], E.prototype, "horizontaloffset", 2);
4659
+ H([
4660
4660
  a({ type: Number, reflect: !0 })
4661
- ], S.prototype, "animationduration", 2);
4662
- T([
4661
+ ], E.prototype, "animationduration", 2);
4662
+ H([
4663
4663
  a({ type: String, reflect: !0 })
4664
- ], S.prototype, "animationaxis", 2);
4665
- T([
4664
+ ], E.prototype, "animationaxis", 2);
4665
+ H([
4666
4666
  a({ type: Boolean, reflect: !0 })
4667
- ], S.prototype, "animated", 2);
4668
- T([
4667
+ ], E.prototype, "animated", 2);
4668
+ H([
4669
4669
  a({ type: Number, reflect: !0 })
4670
- ], S.prototype, "lifeduration", 2);
4671
- T([
4670
+ ], E.prototype, "lifeduration", 2);
4671
+ H([
4672
4672
  a({ type: Boolean, reflect: !0 })
4673
- ], S.prototype, "multiline", 2);
4674
- S = T([
4673
+ ], E.prototype, "multiline", 2);
4674
+ E = H([
4675
4675
  g("o-toast")
4676
- ], S);
4676
+ ], E);
4677
4677
  var Ei = Object.defineProperty, Ai = Object.getOwnPropertyDescriptor, M = (o, t, e, n) => {
4678
4678
  for (var i = n > 1 ? void 0 : n ? Ai(t, e) : t, r = o.length - 1, s; r >= 0; r--)
4679
4679
  (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
@@ -4696,7 +4696,7 @@ let Li = 0, L = class extends p {
4696
4696
  this.disabled || (o.key === " " || o.key === "Enter") && (o.preventDefault(), this.toggle());
4697
4697
  }
4698
4698
  render() {
4699
- const o = C(Z.checkbox.replace("<svg", '<svg aria-hidden="true" focusable="false" part="svg"')), t = C(Z.icoMinus.replace("<svg", '<svg class="indeterminate" aria-hidden="true" focusable="false" part="svg"'));
4699
+ const o = S(Z.checkbox.replace("<svg", '<svg aria-hidden="true" focusable="false" part="svg"')), t = S(Z.icoMinus.replace("<svg", '<svg class="indeterminate" aria-hidden="true" focusable="false" part="svg"'));
4700
4700
  return l`
4701
4701
  <input
4702
4702
  type="checkbox"
@@ -5046,8 +5046,8 @@ Vt.styles = f`
5046
5046
  Vt = Ii([
5047
5047
  g("o-breadcrumbs")
5048
5048
  ], Vt);
5049
- var Di = Object.defineProperty, Ti = Object.getOwnPropertyDescriptor, re = (o, t, e, n) => {
5050
- for (var i = n > 1 ? void 0 : n ? Ti(t, e) : t, r = o.length - 1, s; r >= 0; r--)
5049
+ var Di = Object.defineProperty, Hi = Object.getOwnPropertyDescriptor, re = (o, t, e, n) => {
5050
+ for (var i = n > 1 ? void 0 : n ? Hi(t, e) : t, r = o.length - 1, s; r >= 0; r--)
5051
5051
  (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
5052
5052
  return n && i && Di(t, e, i), i;
5053
5053
  };
@@ -5121,12 +5121,12 @@ re([
5121
5121
  St = re([
5122
5122
  g("o-breadcrumb")
5123
5123
  ], St);
5124
- var Hi = Object.defineProperty, Mi = Object.getOwnPropertyDescriptor, ut = (o, t, e, n) => {
5124
+ var Ti = Object.defineProperty, Mi = Object.getOwnPropertyDescriptor, ut = (o, t, e, n) => {
5125
5125
  for (var i = n > 1 ? void 0 : n ? Mi(t, e) : t, r = o.length - 1, s; r >= 0; r--)
5126
5126
  (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
5127
- return n && i && Hi(t, e, i), i;
5127
+ return n && i && Ti(t, e, i), i;
5128
5128
  };
5129
- let tt = class extends p {
5129
+ let et = class extends p {
5130
5130
  constructor() {
5131
5131
  super(...arguments), this.imageUrl = "", this.imageAlt = "", this.hoverUrl = "", this.hoverAlt = "", this.dimmed = !1;
5132
5132
  }
@@ -5145,7 +5145,7 @@ let tt = class extends p {
5145
5145
  </div>`;
5146
5146
  }
5147
5147
  };
5148
- tt.styles = f`
5148
+ et.styles = f`
5149
5149
  :host {
5150
5150
  --card-width : 175px;
5151
5151
  --card-height : 260px;
@@ -5207,22 +5207,22 @@ tt.styles = f`
5207
5207
  `;
5208
5208
  ut([
5209
5209
  a({ type: String })
5210
- ], tt.prototype, "imageUrl", 2);
5210
+ ], et.prototype, "imageUrl", 2);
5211
5211
  ut([
5212
5212
  a({ type: String })
5213
- ], tt.prototype, "imageAlt", 2);
5213
+ ], et.prototype, "imageAlt", 2);
5214
5214
  ut([
5215
5215
  a({ type: String })
5216
- ], tt.prototype, "hoverUrl", 2);
5216
+ ], et.prototype, "hoverUrl", 2);
5217
5217
  ut([
5218
5218
  a({ type: String })
5219
- ], tt.prototype, "hoverAlt", 2);
5219
+ ], et.prototype, "hoverAlt", 2);
5220
5220
  ut([
5221
5221
  a({ type: Boolean, reflect: !0 })
5222
- ], tt.prototype, "dimmed", 2);
5223
- tt = ut([
5222
+ ], et.prototype, "dimmed", 2);
5223
+ et = ut([
5224
5224
  g("o-arch-image")
5225
- ], tt);
5225
+ ], et);
5226
5226
  const ji = `<?xml version="1.0" encoding="UTF-8" standalone="no"?>
5227
5227
  <svg
5228
5228
  xmlns:dc="http://purl.org/dc/elements/1.1/"
@@ -5304,18 +5304,22 @@ const ji = `<?xml version="1.0" encoding="UTF-8" standalone="no"?>
5304
5304
  id="path52"
5305
5305
  style="fill:#3F2B2E;fill-opacity:1;fill-rule:nonzero;stroke:none"
5306
5306
  d="m 1647.15,320.5 c -2.07,0 -4.94,-0.199 -8.49,-0.469 -8.68,-0.64 -23.5,-1.062 -37.41,-0.172 -20.4,1.282 -32.01,-0.589 -32.01,-10.687 0,-8.66 8.46,-10.781 15.19,-12.461 11.42,-2.949 17.17,-4.422 17.17,-27.402 l 0.93,-77.731 c 0.5,-38.668 1.03,-80.199 1.26,-103.4296 -51.33,57.4726 -160.86,181.7736 -188.51,217.5116 -6.78,8.68 -10.53,13.449 -17.38,13.449 -9.28,0 -20.13,0.743 -29.55,1.379 -7.55,0.5 -14.21,0.934 -18.55,0.934 -12.43,0 -18.72,-3.953 -18.72,-11.781 0,-10.34 10.9,-11.911 15.93,-12.621 10.36,-1.731 14.33,-3.668 18.82,-7.11 2.1,-1.629 5.01,-3.879 5.01,-26.988 0,-29.461 -3.75,-186.1837 -5.06,-201.8126 -2.12,-24.4688 -4.58,-25.168 -18.72,-29.1485 -6.17,-1.6718 -14.6,-3.9609 -14.6,-12.7421 0,-5.1797 2.84,-11.34771 16.4,-11.34771 1.21,0 3.75,0.23829 7.15,0.61719 11.38,1.22266 33.32,1.64062 46.82,0.3125 25.84,-2.53125 30.46,3.93752 30.46,10.41802 0,9.3593 -9.18,11.8515 -14.53,13.3203 -8.73,2.4922 -15.61,6.5195 -17.27,10.1992 -3.05,6.5234 -4.31,16.8515 -4.31,35.6719 0,10.1093 0.37,54.9488 0.74,98.9808 0.25,28.839 0.47,57.359 0.59,75.558 25.28,-29.508 56.38,-65.5 86.72,-100.609 49.5,-57.2697 96.26,-111.3712 113.23,-132.09 l 1.93,-2.3516 c 3.93,-4.8203 7.75,-9.97652 12.34,-14.19918 3.35,-3.089845 8.47,-4.83985 12.86,-2.871095 3.52,1.570315 5.52,5.300785 6.26,8.941405 0.88,4.26177 0.44,8.69927 0.28,13.01177 -0.59,15.3281 -0.42,31.5898 -0.25,52.0703 0.12,12.1172 0.25,25.7184 0.25,41.4684 0,49.141 1.03,147.141 2.98,161.66 1.58,10.52 2.25,14.879 14.31,18.891 l 2.09,0.75 c 4.07,1.41 11.6,4.027 11.6,12.02 0,4.949 -2.76,10.859 -15.96,10.859" /></g></g></svg>`;
5307
- var Fi = Object.defineProperty, Ri = Object.getOwnPropertyDescriptor, E = (o, t, e, n) => {
5307
+ var Fi = Object.defineProperty, Ri = Object.getOwnPropertyDescriptor, C = (o, t, e, n) => {
5308
5308
  for (var i = n > 1 ? void 0 : n ? Ri(t, e) : t, r = o.length - 1, s; r >= 0; r--)
5309
5309
  (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
5310
5310
  return n && i && Fi(t, e, i), i;
5311
5311
  };
5312
5312
  const ae = class ae extends p {
5313
5313
  constructor() {
5314
- super(...arguments), this.ispagedesigner = !1, this._classPopin = "", this.open = !1, this.background = "", this.backgroundUrl = "", this.closeOnEsc = !0, this.closeOnBackdrop = !0, this.lockScroll = !0, this.variant = "fullscreen", this.maxWidth = "640px", this.showBackButton = !1, this.contrast = !1, this.iconSize = "large", this._labelId = `title-${Math.random().toString(36).slice(2)}`, this._onBackdropClick = (t) => {
5314
+ super(...arguments), this.ispagedesigner = !1, this._classPopin = "", this.open = !1, this.background = "", this.backgroundUrl = "", this.closeOnEsc = !0, this.closeOnBackdrop = !0, this.lockScroll = !0, this.variant = "fullscreen", this.maxWidth = "640px", this.showBackButton = !1, this.contrast = !1, this.iconSize = "large", this.hideHeaderOnScroll = !1, this._labelId = `title-${Math.random().toString(36).slice(2)}`, this._headerHidden = !1, this._onBackdropClick = (t) => {
5315
5315
  var n;
5316
5316
  if (!this.open || !this.closeOnBackdrop) return;
5317
5317
  const e = t.composedPath()[0];
5318
5318
  (n = e == null ? void 0 : e.classList) != null && n.contains("backdrop") && this._requestClose("backdrop");
5319
+ }, this._onScroll = (t) => {
5320
+ if (!this.hideHeaderOnScroll || !this.open) return;
5321
+ const i = t.target.scrollTop > 50;
5322
+ i !== this._headerHidden && (this._headerHidden = i, this.requestUpdate());
5319
5323
  };
5320
5324
  }
5321
5325
  get classPopin() {
@@ -5325,27 +5329,41 @@ const ae = class ae extends p {
5325
5329
  this._classPopin = t;
5326
5330
  }
5327
5331
  connectedCallback() {
5328
- super.connectedCallback(), this._onKeydown = this._onKeydown.bind(this), document.addEventListener("keydown", this._onKeydown);
5332
+ super.connectedCallback(), this._onKeydown = this._onKeydown.bind(this), this._onScroll = this._onScroll.bind(this), document.addEventListener("keydown", this._onKeydown);
5329
5333
  }
5330
5334
  disconnectedCallback() {
5331
- document.removeEventListener("keydown", this._onKeydown), super.disconnectedCallback();
5335
+ document.removeEventListener("keydown", this._onKeydown), this._removeScrollListener(), super.disconnectedCallback();
5332
5336
  }
5333
5337
  updated(t) {
5334
5338
  if (t.has("background") || t.has("backgroundUrl")) {
5335
5339
  let e = "";
5336
5340
  this.background && this.background.trim() ? e = this.background.trim() : this.backgroundUrl && this.backgroundUrl.trim() && (e = `url('${this.backgroundUrl.trim()}') center/cover no-repeat`), this.style.setProperty("--_bg", e);
5337
5341
  }
5338
- if (t.has("open") && this.lockScroll) {
5339
- const e = document == null ? void 0 : document.body;
5340
- e && (e.style.overflow = this.open ? "hidden" : ""), this.open ? this.updateComplete.then(() => {
5341
- var i;
5342
- (i = this.renderRoot.querySelector("[data-close-btn]") ?? this.renderRoot.querySelector('[role="dialog"]')) == null || i.focus(), this.dispatchEvent(new CustomEvent("open", { bubbles: !0, composed: !0 }));
5343
- }) : this.dispatchEvent(new CustomEvent("close", { bubbles: !0, composed: !0 }));
5342
+ if (t.has("open")) {
5343
+ if (this.lockScroll) {
5344
+ const e = document == null ? void 0 : document.body;
5345
+ e && (e.style.overflow = this.open ? "hidden" : "");
5346
+ }
5347
+ this.open ? this.updateComplete.then(() => {
5348
+ var n;
5349
+ (n = this.renderRoot.querySelector("[data-close-btn]") ?? this.renderRoot.querySelector('[role="dialog"]')) == null || n.focus(), this._setupScrollListener(), this.dispatchEvent(new CustomEvent("open", { bubbles: !0, composed: !0 }));
5350
+ }) : (this._removeScrollListener(), this._headerHidden = !1, this.dispatchEvent(new CustomEvent("close", { bubbles: !0, composed: !0 })));
5344
5351
  }
5352
+ (t.has("hideHeaderOnScroll") || t.has("open")) && (this.open ? this._setupScrollListener() : this._removeScrollListener());
5345
5353
  }
5346
5354
  _onKeydown(t) {
5347
5355
  this.open && this.closeOnEsc && t.key === "Escape" && (t.preventDefault(), this._requestClose("esc"));
5348
5356
  }
5357
+ _setupScrollListener() {
5358
+ this.hideHeaderOnScroll && (this._removeScrollListener(), this.updateComplete.then(() => {
5359
+ const t = this.renderRoot.querySelector('main[part="body"]');
5360
+ t && t.addEventListener("scroll", this._onScroll, { passive: !0 });
5361
+ }));
5362
+ }
5363
+ _removeScrollListener() {
5364
+ const t = this.renderRoot.querySelector('main[part="body"]');
5365
+ t && t.removeEventListener("scroll", this._onScroll);
5366
+ }
5349
5367
  _onBackClick() {
5350
5368
  this.dispatchEvent(new CustomEvent("back", { bubbles: !0, composed: !0 }));
5351
5369
  }
@@ -5393,21 +5411,22 @@ const ae = class ae extends p {
5393
5411
  `;
5394
5412
  }
5395
5413
  render() {
5414
+ const t = `dialog${this._headerHidden ? " header-hidden" : ""}`, e = this._headerHidden ? "hidden" : "";
5396
5415
  return l`
5397
5416
  ${this.open ? l`<div class="backdrop" part="backdrop" @click=${this._onBackdropClick}></div>` : null}
5398
5417
  <div class="dialog-wrapper ${this.ispagedesigner ? "intro-pagedesigner" : ""}" @click=${this._onBackdropClick} aria-hidden=${this.open ? "false" : "true"}>
5399
5418
  <section
5400
- class="dialog"
5419
+ class="${t}"
5401
5420
  part="dialog"
5402
5421
  role="dialog"
5403
5422
  aria-modal="true"
5404
5423
  tabindex="-1"
5405
- aria-labelledby=${this.title ? this._labelId : void 0}
5424
+ aria-labelledby=${this._labelId}
5406
5425
  >
5407
- <header part="header">
5426
+ <header part="header" class="${e}">
5408
5427
  ${this.showBackButton ? this._renderBackButton() : null}
5409
5428
  <div class="brand">
5410
- <span slot="logo${this.contrast ? "-contrast" : ""}">${C(ji)}</span>
5429
+ <span slot="logo${this.contrast ? "-contrast" : ""}">${S(ji)}</span>
5411
5430
  </div>
5412
5431
  <div part="close${this.contrast ? "-contrast" : ""}">${this._renderCloseButton()}</div>
5413
5432
  </header>
@@ -5501,6 +5520,31 @@ ae.styles = f`
5501
5520
  rgba(0, 0, 0, 0)
5502
5521
  );
5503
5522
  z-index: 2;
5523
+ transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
5524
+ overflow: hidden;
5525
+ }
5526
+
5527
+ /* Header hidden on scroll - use more specific selectors and important to override */
5528
+ :host([hide-header-on-scroll]) header[part="header"].hidden {
5529
+ transform: translateY(-100%) !important;
5530
+ opacity: 0 !important;
5531
+ pointer-events: none !important;
5532
+ visibility: hidden !important;
5533
+ height: 0 !important;
5534
+ min-height: 0 !important;
5535
+ padding: 0 !important;
5536
+ margin: 0 !important;
5537
+ overflow: hidden !important;
5538
+ }
5539
+
5540
+ /* When header is hidden, adjust the grid to give more space to content */
5541
+ :host([hide-header-on-scroll]) .dialog.header-hidden {
5542
+ grid-template-rows: 0px 1fr !important;
5543
+ }
5544
+
5545
+ /* Ensure the header takes no space when hidden in dialog variant */
5546
+ :host([variant="dialog"][hide-header-on-scroll]) .dialog.header-hidden {
5547
+ grid-template-rows: 0px 1fr !important;
5504
5548
  }
5505
5549
 
5506
5550
  .brand { display: inline-flex; align-items: center; gap: var(--spacing-s, 8px); }
@@ -5530,51 +5574,57 @@ ae.styles = f`
5530
5574
  to { transform: translateY(0) scale(1); opacity: 1; }
5531
5575
  }
5532
5576
  `;
5533
- let $ = ae;
5534
- E([
5577
+ let x = ae;
5578
+ C([
5535
5579
  a({ type: Boolean, reflect: !0 })
5536
- ], $.prototype, "ispagedesigner", 2);
5537
- E([
5580
+ ], x.prototype, "ispagedesigner", 2);
5581
+ C([
5538
5582
  a({ type: String, reflect: !0 })
5539
- ], $.prototype, "classPopin", 1);
5540
- E([
5583
+ ], x.prototype, "classPopin", 1);
5584
+ C([
5541
5585
  a({ type: Boolean, reflect: !0 })
5542
- ], $.prototype, "open", 2);
5543
- E([
5586
+ ], x.prototype, "open", 2);
5587
+ C([
5544
5588
  a({ type: String, reflect: !0 })
5545
- ], $.prototype, "background", 2);
5546
- E([
5589
+ ], x.prototype, "background", 2);
5590
+ C([
5547
5591
  a({ type: String, attribute: "background-url", reflect: !0 })
5548
- ], $.prototype, "backgroundUrl", 2);
5549
- E([
5592
+ ], x.prototype, "backgroundUrl", 2);
5593
+ C([
5550
5594
  a({ type: Boolean, attribute: "close-on-esc" })
5551
- ], $.prototype, "closeOnEsc", 2);
5552
- E([
5595
+ ], x.prototype, "closeOnEsc", 2);
5596
+ C([
5553
5597
  a({ type: Boolean, attribute: "close-on-backdrop" })
5554
- ], $.prototype, "closeOnBackdrop", 2);
5555
- E([
5598
+ ], x.prototype, "closeOnBackdrop", 2);
5599
+ C([
5556
5600
  a({ type: Boolean, attribute: "lock-scroll" })
5557
- ], $.prototype, "lockScroll", 2);
5558
- E([
5601
+ ], x.prototype, "lockScroll", 2);
5602
+ C([
5559
5603
  a({ type: String, reflect: !0 })
5560
- ], $.prototype, "variant", 2);
5561
- E([
5604
+ ], x.prototype, "variant", 2);
5605
+ C([
5562
5606
  a({ type: String, attribute: "max-width" })
5563
- ], $.prototype, "maxWidth", 2);
5564
- E([
5607
+ ], x.prototype, "maxWidth", 2);
5608
+ C([
5565
5609
  a({ type: Boolean, reflect: !0 })
5566
- ], $.prototype, "showBackButton", 2);
5567
- E([
5610
+ ], x.prototype, "showBackButton", 2);
5611
+ C([
5568
5612
  a({ type: Boolean, reflect: !0 })
5569
- ], $.prototype, "contrast", 2);
5570
- E([
5613
+ ], x.prototype, "contrast", 2);
5614
+ C([
5571
5615
  a({ type: String, reflect: !0 })
5572
- ], $.prototype, "iconSize", 2);
5573
- E([
5574
- et()
5575
- ], $.prototype, "_labelId", 2);
5576
- customElements.define("o-popin", $);
5577
- var Ui = Object.defineProperty, Ni = Object.getOwnPropertyDescriptor, w = (o, t, e, n) => {
5616
+ ], x.prototype, "iconSize", 2);
5617
+ C([
5618
+ a({ type: Boolean, attribute: "hide-header-on-scroll" })
5619
+ ], x.prototype, "hideHeaderOnScroll", 2);
5620
+ C([
5621
+ W()
5622
+ ], x.prototype, "_labelId", 2);
5623
+ C([
5624
+ W()
5625
+ ], x.prototype, "_headerHidden", 2);
5626
+ customElements.define("o-popin", x);
5627
+ var Ui = Object.defineProperty, Ni = Object.getOwnPropertyDescriptor, $ = (o, t, e, n) => {
5578
5628
  for (var i = n > 1 ? void 0 : n ? Ni(t, e) : t, r = o.length - 1, s; r >= 0; r--)
5579
5629
  (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
5580
5630
  return n && i && Ui(t, e, i), i;
@@ -5702,6 +5752,10 @@ m.styles = f`
5702
5752
  line-height: var(--line-height-200, 20px);
5703
5753
  letter-spacing: var(--letter-spacing-000, 0);
5704
5754
  text-align: left;
5755
+ display: -webkit-box;
5756
+ -webkit-line-clamp: 2;
5757
+ -webkit-box-orient: vertical;
5758
+ overflow: hidden;
5705
5759
  }
5706
5760
 
5707
5761
  .info .description {
@@ -5795,57 +5849,57 @@ m.styles = f`
5795
5849
  cursor: pointer;
5796
5850
  }
5797
5851
  `;
5798
- w([
5852
+ $([
5799
5853
  a({ type: String })
5800
5854
  ], m.prototype, "type", 2);
5801
- w([
5855
+ $([
5802
5856
  a({ type: String })
5803
5857
  ], m.prototype, "titleProduct", 2);
5804
- w([
5858
+ $([
5805
5859
  a({ type: String })
5806
5860
  ], m.prototype, "descriptionProduct", 2);
5807
- w([
5861
+ $([
5808
5862
  a({ type: String })
5809
5863
  ], m.prototype, "volume", 2);
5810
- w([
5864
+ $([
5811
5865
  a({ type: String })
5812
5866
  ], m.prototype, "perLiter", 2);
5813
- w([
5867
+ $([
5814
5868
  a({ type: String })
5815
5869
  ], m.prototype, "mainPrice", 2);
5816
- w([
5870
+ $([
5817
5871
  a({ type: String })
5818
5872
  ], m.prototype, "salesPercentage", 2);
5819
- w([
5873
+ $([
5820
5874
  a({ type: String })
5821
5875
  ], m.prototype, "oldPrice", 2);
5822
- w([
5876
+ $([
5823
5877
  a({ type: String })
5824
5878
  ], m.prototype, "imageUrl", 2);
5825
- w([
5879
+ $([
5826
5880
  a({ type: Boolean })
5827
5881
  ], m.prototype, "outOfStock", 2);
5828
- w([
5882
+ $([
5829
5883
  a({ type: String })
5830
5884
  ], m.prototype, "altImage", 2);
5831
- w([
5885
+ $([
5832
5886
  a({ type: Boolean })
5833
5887
  ], m.prototype, "fullwidth", 2);
5834
- w([
5888
+ $([
5835
5889
  a({ type: Boolean })
5836
5890
  ], m.prototype, "current", 2);
5837
- w([
5891
+ $([
5838
5892
  a({ type: Boolean })
5839
5893
  ], m.prototype, "hideIcon", 2);
5840
- w([
5894
+ $([
5841
5895
  a({ type: String })
5842
5896
  ], m.prototype, "tagText", 2);
5843
- w([
5897
+ $([
5844
5898
  a({ attribute: !1 })
5845
5899
  ], m.prototype, "onClickTile", 2);
5846
- w([
5900
+ $([
5847
5901
  a({ attribute: !1 })
5848
5902
  ], m.prototype, "onClickIcon", 2);
5849
- m = w([
5903
+ m = $([
5850
5904
  g("o-medium-tile")
5851
5905
  ], m);