@florid-kit/components 0.8.48 → 0.8.49

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
@@ -35,7 +35,7 @@ const ce = (o) => new oe(typeof o == "string" ? o : o + "", void 0, It), m = (o,
35
35
  const n = document.createElement("style"), i = ft.litNonce;
36
36
  i !== void 0 && n.setAttribute("nonce", i), n.textContent = e.cssText, o.appendChild(n);
37
37
  }
38
- }, Zt = Pt ? (o) => o : (o) => o instanceof CSSStyleSheet ? ((t) => {
38
+ }, qt = Pt ? (o) => o : (o) => o instanceof CSSStyleSheet ? ((t) => {
39
39
  let e = "";
40
40
  for (const n of t.cssRules) e += n.cssText;
41
41
  return ce(e);
@@ -45,7 +45,7 @@ const ce = (o) => new oe(typeof o == "string" ? o : o + "", void 0, It), m = (o,
45
45
  * Copyright 2017 Google LLC
46
46
  * SPDX-License-Identifier: BSD-3-Clause
47
47
  */
48
- const { is: de, defineProperty: pe, getOwnPropertyDescriptor: ue, getOwnPropertyNames: ve, getOwnPropertySymbols: fe, getPrototypeOf: be } = Object, U = globalThis, qt = U.trustedTypes, ge = qt ? qt.emptyScript : "", $t = U.reactiveElementPolyfillSupport, ot = (o, t) => o, bt = { toAttribute(o, t) {
48
+ const { is: de, defineProperty: pe, getOwnPropertyDescriptor: ue, getOwnPropertyNames: ve, getOwnPropertySymbols: fe, getPrototypeOf: be } = Object, U = globalThis, Zt = U.trustedTypes, ge = Zt ? Zt.emptyScript : "", $t = U.reactiveElementPolyfillSupport, ot = (o, t) => o, bt = { toAttribute(o, t) {
49
49
  switch (t) {
50
50
  case Boolean:
51
51
  o = o ? ge : null;
@@ -129,8 +129,8 @@ let J = class extends HTMLElement {
129
129
  const e = [];
130
130
  if (Array.isArray(t)) {
131
131
  const n = new Set(t.flat(1 / 0).reverse());
132
- for (const i of n) e.unshift(Zt(i));
133
- } else t !== void 0 && e.push(Zt(t));
132
+ for (const i of n) e.unshift(qt(i));
133
+ } else t !== void 0 && e.push(qt(t));
134
134
  return e;
135
135
  }
136
136
  static _$Eu(t, e) {
@@ -282,9 +282,9 @@ J.elementStyles = [], J.shadowRootOptions = { mode: "open" }, J[ot("elementPrope
282
282
  * Copyright 2017 Google LLC
283
283
  * SPDX-License-Identifier: BSD-3-Clause
284
284
  */
285
- const it = globalThis, gt = it.trustedTypes, Kt = gt ? gt.createPolicy("lit-html", { createHTML: (o) => o }) : void 0, ie = "$lit$", j = `lit$${Math.random().toFixed(9).slice(2)}$`, ne = "?" + j, ye = `<${ne}>`, W = document, rt = () => W.createComment(""), st = (o) => o === null || typeof o != "object" && typeof o != "function", Bt = Array.isArray, me = (o) => Bt(o) || typeof (o == null ? void 0 : o[Symbol.iterator]) == "function", _t = `[
285
+ const it = globalThis, gt = it.trustedTypes, Kt = gt ? gt.createPolicy("lit-html", { createHTML: (o) => o }) : void 0, ie = "$lit$", R = `lit$${Math.random().toFixed(9).slice(2)}$`, ne = "?" + R, ye = `<${ne}>`, W = document, rt = () => W.createComment(""), st = (o) => o === null || typeof o != "object" && typeof o != "function", Bt = Array.isArray, me = (o) => Bt(o) || typeof (o == null ? void 0 : o[Symbol.iterator]) == "function", _t = `[
286
286
  \f\r]`, et = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Gt = /-->/g, Xt = />/g, V = RegExp(`>|${_t}(?:([^\\s"'>=/]+)(${_t}*=${_t}*(?:[^
287
- \f\r"'\`<>=]|("|')|))|$)`, "g"), Jt = /'/g, Qt = /"/g, re = /^(?:script|style|textarea|title)$/i, we = (o) => (t, ...e) => ({ _$litType$: o, strings: t, values: e }), l = we(1), F = Symbol.for("lit-noChange"), d = Symbol.for("lit-nothing"), Yt = /* @__PURE__ */ new WeakMap(), Z = W.createTreeWalker(W, 129);
287
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), Jt = /'/g, Qt = /"/g, re = /^(?:script|style|textarea|title)$/i, we = (o) => (t, ...e) => ({ _$litType$: o, strings: t, values: e }), l = we(1), F = Symbol.for("lit-noChange"), d = Symbol.for("lit-nothing"), Yt = /* @__PURE__ */ new WeakMap(), q = W.createTreeWalker(W, 129);
288
288
  function se(o, t) {
289
289
  if (!Bt(o) || !o.hasOwnProperty("raw")) throw Error("invalid template strings array");
290
290
  return Kt !== void 0 ? Kt.createHTML(t) : t;
@@ -296,8 +296,8 @@ const xe = (o, t) => {
296
296
  const c = o[h];
297
297
  let v, y, p = -1, $ = 0;
298
298
  for (; $ < c.length && (s.lastIndex = $, y = s.exec(c), y !== null); ) $ = s.lastIndex, s === et ? y[1] === "!--" ? s = Gt : y[1] !== void 0 ? s = Xt : y[2] !== void 0 ? (re.test(y[2]) && (i = RegExp("</" + y[2], "g")), s = V) : y[3] !== void 0 && (s = V) : s === V ? y[0] === ">" ? (s = i ?? et, p = -1) : y[1] === void 0 ? p = -2 : (p = s.lastIndex - y[2].length, v = y[1], s = y[3] === void 0 ? V : y[3] === '"' ? Qt : Jt) : s === Qt || s === Jt ? s = V : s === Gt || s === Xt ? s = et : (s = V, i = void 0);
299
- const E = s === V && o[h + 1].startsWith("/>") ? " " : "";
300
- r += s === et ? c + ye : p >= 0 ? (n.push(v), c.slice(0, p) + ie + c.slice(p) + j + E) : c + j + (p === -2 ? h : E);
299
+ const S = s === V && o[h + 1].startsWith("/>") ? " " : "";
300
+ r += s === et ? c + ye : p >= 0 ? (n.push(v), c.slice(0, p) + ie + c.slice(p) + R + S) : c + R + (p === -2 ? h : S);
301
301
  }
302
302
  return [se(o, r + (o[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), n];
303
303
  };
@@ -307,28 +307,28 @@ class at {
307
307
  this.parts = [];
308
308
  let r = 0, s = 0;
309
309
  const h = t.length - 1, c = this.parts, [v, y] = xe(t, e);
310
- if (this.el = at.createElement(v, n), Z.currentNode = this.el.content, e === 2 || e === 3) {
310
+ if (this.el = at.createElement(v, n), q.currentNode = this.el.content, e === 2 || e === 3) {
311
311
  const p = this.el.content.firstChild;
312
312
  p.replaceWith(...p.childNodes);
313
313
  }
314
- for (; (i = Z.nextNode()) !== null && c.length < h; ) {
314
+ for (; (i = q.nextNode()) !== null && c.length < h; ) {
315
315
  if (i.nodeType === 1) {
316
316
  if (i.hasAttributes()) for (const p of i.getAttributeNames()) if (p.endsWith(ie)) {
317
- const $ = y[s++], E = i.getAttribute(p).split(j), vt = /([.?@])?(.*)/.exec($);
318
- c.push({ type: 1, index: r, name: vt[2], strings: E, ctor: vt[1] === "." ? _e : vt[1] === "?" ? Ce : vt[1] === "@" ? ke : mt }), i.removeAttribute(p);
319
- } else p.startsWith(j) && (c.push({ type: 6, index: r }), i.removeAttribute(p));
317
+ const $ = y[s++], S = i.getAttribute(p).split(R), vt = /([.?@])?(.*)/.exec($);
318
+ c.push({ type: 1, index: r, name: vt[2], strings: S, ctor: vt[1] === "." ? _e : vt[1] === "?" ? Ce : vt[1] === "@" ? ke : mt }), i.removeAttribute(p);
319
+ } else p.startsWith(R) && (c.push({ type: 6, index: r }), i.removeAttribute(p));
320
320
  if (re.test(i.tagName)) {
321
- const p = i.textContent.split(j), $ = p.length - 1;
321
+ const p = i.textContent.split(R), $ = p.length - 1;
322
322
  if ($ > 0) {
323
323
  i.textContent = gt ? gt.emptyScript : "";
324
- for (let E = 0; E < $; E++) i.append(p[E], rt()), Z.nextNode(), c.push({ type: 2, index: ++r });
324
+ for (let S = 0; S < $; S++) i.append(p[S], rt()), q.nextNode(), c.push({ type: 2, index: ++r });
325
325
  i.append(p[$], rt());
326
326
  }
327
327
  }
328
328
  } else if (i.nodeType === 8) if (i.data === ne) c.push({ type: 2, index: r });
329
329
  else {
330
330
  let p = -1;
331
- for (; (p = i.data.indexOf(j, p + 1)) !== -1; ) c.push({ type: 7, index: r }), p += j.length - 1;
331
+ for (; (p = i.data.indexOf(R, p + 1)) !== -1; ) c.push({ type: 7, index: r }), p += R.length - 1;
332
332
  }
333
333
  r++;
334
334
  }
@@ -357,16 +357,16 @@ class $e {
357
357
  }
358
358
  u(t) {
359
359
  const { el: { content: e }, parts: n } = this._$AD, i = ((t == null ? void 0 : t.creationScope) ?? W).importNode(e, !0);
360
- Z.currentNode = i;
361
- let r = Z.nextNode(), s = 0, h = 0, c = n[0];
360
+ q.currentNode = i;
361
+ let r = q.nextNode(), s = 0, h = 0, c = n[0];
362
362
  for (; c !== void 0; ) {
363
363
  if (s === c.index) {
364
364
  let v;
365
365
  c.type === 2 ? v = new pt(r, r.nextSibling, this, t) : c.type === 1 ? v = new c.ctor(r, c.name, c.strings, this, t) : c.type === 6 && (v = new Ae(r, this, t)), this._$AV.push(v), c = n[++h];
366
366
  }
367
- s !== (c == null ? void 0 : c.index) && (r = Z.nextNode(), s++);
367
+ s !== (c == null ? void 0 : c.index) && (r = q.nextNode(), s++);
368
368
  }
369
- return Z.currentNode = W, i;
369
+ return q.currentNode = W, i;
370
370
  }
371
371
  p(t) {
372
372
  let e = 0;
@@ -518,7 +518,7 @@ const Ee = (o, t, e) => {
518
518
  * Copyright 2017 Google LLC
519
519
  * SPDX-License-Identifier: BSD-3-Clause
520
520
  */
521
- const q = globalThis;
521
+ const Z = globalThis;
522
522
  let f = class extends J {
523
523
  constructor() {
524
524
  super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
@@ -545,10 +545,10 @@ let f = class extends J {
545
545
  }
546
546
  };
547
547
  var ee;
548
- f._$litElement$ = !0, f.finalized = !0, (ee = q.litElementHydrateSupport) == null || ee.call(q, { LitElement: f });
549
- const kt = q.litElementPolyfillSupport;
548
+ f._$litElement$ = !0, f.finalized = !0, (ee = Z.litElementHydrateSupport) == null || ee.call(Z, { LitElement: f });
549
+ const kt = Z.litElementPolyfillSupport;
550
550
  kt == null || kt({ LitElement: f });
551
- (q.litElementVersions ?? (q.litElementVersions = [])).push("4.2.0");
551
+ (Z.litElementVersions ?? (Z.litElementVersions = [])).push("4.2.0");
552
552
  /**
553
553
  * @license
554
554
  * Copyright 2017 Google LLC
@@ -682,14 +682,14 @@ const Ie = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="h
682
682
  `, je = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
683
683
  <path d="M12.2834 14.4585L7.98873 11.3928L3.69404 14.4585L5.33977 9.4972L1 6.39639H6.36554L8 1.4585L9.63446 6.39639H15L10.6602 9.4972L12.306 14.4585H12.2834Z" fill="#3F2B2E"/>
684
684
  </svg>
685
- `, Ue = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
685
+ `, Re = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
686
686
  <path d="M2 2L14 14" stroke="#3F2B2E"/>
687
687
  <path d="M14 2L2 14" stroke="#3F2B2E"/>
688
688
  </svg>
689
- `, Fe = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
689
+ `, Ue = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
690
690
  <path d="M7.12506 1C10.5018 1 13.2509 3.74834 13.251 7.125C13.2511 8.59738 12.7172 10.0206 11.7491 11.1299L14.8731 14.2539C15.0433 14.4253 15.0435 14.7018 14.8731 14.873C14.7913 14.9555 14.6797 15.002 14.5635 15.002C14.4475 15.0019 14.3357 14.9554 14.254 14.873L11.1309 11.749C10.0555 12.6818 8.6564 13.251 7.12506 13.251C3.7484 13.2508 1.00006 10.5017 1.00006 7.125C1.00025 3.74846 3.74852 1.00019 7.12506 1ZM7.12506 1.875C4.22971 1.87522 1.87506 4.23058 1.87506 7.12598C1.87532 10.0212 4.22987 12.3758 7.12506 12.376C10.0204 12.376 12.3758 10.0213 12.376 7.12598C12.376 4.23044 10.0206 1.875 7.12506 1.875Z" fill="#3F2B2E"/>
691
691
  </svg>
692
- `, Ne = `<?xml version="1.0" encoding="utf-8"?>
692
+ `, Fe = `<?xml version="1.0" encoding="utf-8"?>
693
693
  <!-- Generator: $$$/GeneralStr/196=Adobe Illustrator 27.6.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
694
694
  <svg version="1.1" id="Calque_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
695
695
  viewBox="0 0 40 40" style="enable-background:new 0 0 40 40;" xml:space="preserve">
@@ -699,7 +699,7 @@ const Ie = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="h
699
699
  <path class="st0" d="M40,20c0,0.7-0.6,1.2-1.2,1.2H21.2v17.5c0,0.7-0.6,1.2-1.2,1.2s-1.2-0.6-1.2-1.2V21.2H1.2C0.6,21.2,0,20.7,0,20
700
700
  s0.6-1.2,1.2-1.2h17.5V1.2C18.8,0.6,19.3,0,20,0s1.2,0.6,1.2,1.2v17.5h17.5C39.4,18.8,40,19.3,40,20z"/>
701
701
  </svg>
702
- `, Re = `<?xml version="1.0" encoding="utf-8"?>
702
+ `, Ne = `<?xml version="1.0" encoding="utf-8"?>
703
703
  <!-- Generator: $$$/GeneralStr/196=Adobe Illustrator 27.6.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
704
704
  <svg version="1.1" id="Calque_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
705
705
  viewBox="0 0 40 40" style="enable-background:new 0 0 40 40;" xml:space="preserve">
@@ -711,10 +711,10 @@ const Ie = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="h
711
711
  `, Ve = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
712
712
  <path d="M15.0009 8.12175C15.0009 8.36347 14.805 8.55943 14.5634 8.55943H2.49495L7.43502 13.5017C7.60609 13.6726 7.60628 13.9499 7.43546 14.1211C7.26464 14.2922 6.98749 14.2924 6.81642 14.1215L1.13 8.43163C1.04685 8.34998 1 8.23831 1 8.12175C1 8.00518 1.04685 7.89351 1.13 7.81187L6.81642 2.12286C6.98808 1.95699 7.26094 1.95937 7.4297 2.12819C7.59845 2.29702 7.60082 2.57001 7.43502 2.74175L2.49495 7.68406H14.5634C14.805 7.68406 15.0009 7.88002 15.0009 8.12175Z" fill="#3F2B2E"/>
713
713
  </svg>
714
- `, Ze = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
714
+ `, qe = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
715
715
  <path d="M14.1218 7.43502C13.9504 7.60543 13.6735 7.60543 13.5021 7.43502L8.55961 2.49408V14.5625C8.55961 14.8041 8.36365 15 8.12192 15C7.88018 15 7.68422 14.8041 7.68422 14.5625V2.49408L2.74177 7.43502C2.57002 7.60082 2.29703 7.59845 2.1282 7.4297C1.95936 7.26094 1.95699 6.98808 2.12287 6.81642L7.81203 1.13C7.89368 1.04685 8.00535 1 8.12192 1C8.23848 1 8.35015 1.04685 8.4318 1.13L14.121 6.81642C14.2921 6.98702 14.2925 7.26395 14.1218 7.43502Z" fill="#3F2B2E"/>
716
716
  </svg>
717
- `, qe = `<svg width="17" height="16" viewBox="0 0 17 16" fill="none" xmlns="http://www.w3.org/2000/svg">
717
+ `, Ze = `<svg width="17" height="16" viewBox="0 0 17 16" fill="none" xmlns="http://www.w3.org/2000/svg">
718
718
  <path d="M6.33317 8.00033C6.33317 3.95024 7.52708 0.666992 8.99984 0.666992C10.4726 0.666992 11.6665 3.95024 11.6665 8.00033M5.33317 15.3337H12.6665L16.3332 6.20033C14.9582 5.76699 12.2998 5.33366 8.99984 5.33366C5.69984 5.33366 3.49984 5.76699 1.6665 6.20033L5.33317 15.3337Z" stroke="#3F2B2E"/>
719
719
  </svg>
720
720
  `, We = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
@@ -747,18 +747,18 @@ const Ie = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="h
747
747
  playerv: Oe,
748
748
  chevronRight: Be,
749
749
  chevronLeft: ze,
750
- icoPlus: Ne,
751
- icoMinus: Re,
750
+ icoPlus: Fe,
751
+ icoMinus: Ne,
752
752
  "star-0": De,
753
753
  "star-25": He,
754
754
  "star-50": Me,
755
755
  "star-75": Te,
756
756
  "star-100": je,
757
- cross: Ue,
758
- search: Fe,
757
+ cross: Re,
758
+ search: Ue,
759
759
  arrowLeft: Ve,
760
- arrowTop: Ze,
761
- cart: qe,
760
+ arrowTop: qe,
761
+ cart: Ze,
762
762
  notifyme: We,
763
763
  triangledown: Ke,
764
764
  triangleup: Ge,
@@ -826,7 +826,7 @@ var oo = Object.defineProperty, io = Object.getOwnPropertyDescriptor, x = (o, t,
826
826
  return n && i && oo(t, e, i), i;
827
827
  };
828
828
  const no = Dt(f);
829
- let b = class extends no {
829
+ let g = class extends no {
830
830
  constructor() {
831
831
  super(...arguments), this.type = "submit", this.value = "", this.variant = "primary", this.text = "", this.textsecond = "", this.fullwidth = !1, this.disabled = !1, this.startIconModel = "", this.endIconModel = "", this.startIcon = !1, this.endIcon = !1, this.panelTarget = "", this.href = "", this.target = "", this.underlined = !1;
832
832
  }
@@ -889,9 +889,9 @@ let b = class extends no {
889
889
  `;
890
890
  }
891
891
  };
892
- Pe(b);
893
- b.formAssociated = !0;
894
- b.styles = m`
892
+ Pe(g);
893
+ g.formAssociated = !0;
894
+ g.styles = m`
895
895
  :host {
896
896
  --button-border: transparent;
897
897
  cursor: pointer;
@@ -1082,52 +1082,52 @@ b.styles = m`
1082
1082
  `;
1083
1083
  x([
1084
1084
  a()
1085
- ], b.prototype, "type", 2);
1085
+ ], g.prototype, "type", 2);
1086
1086
  x([
1087
1087
  a({ reflect: !0 })
1088
- ], b.prototype, "value", 2);
1088
+ ], g.prototype, "value", 2);
1089
1089
  x([
1090
1090
  a({ type: String, reflect: !0 })
1091
- ], b.prototype, "variant", 2);
1091
+ ], g.prototype, "variant", 2);
1092
1092
  x([
1093
1093
  a({ type: String })
1094
- ], b.prototype, "text", 2);
1094
+ ], g.prototype, "text", 2);
1095
1095
  x([
1096
1096
  a({ type: String })
1097
- ], b.prototype, "textsecond", 2);
1097
+ ], g.prototype, "textsecond", 2);
1098
1098
  x([
1099
1099
  a({ type: Boolean, reflect: !0 })
1100
- ], b.prototype, "fullwidth", 2);
1100
+ ], g.prototype, "fullwidth", 2);
1101
1101
  x([
1102
1102
  a({ type: Boolean, reflect: !0 })
1103
- ], b.prototype, "disabled", 2);
1103
+ ], g.prototype, "disabled", 2);
1104
1104
  x([
1105
1105
  a({ type: String, reflect: !0 })
1106
- ], b.prototype, "startIconModel", 2);
1106
+ ], g.prototype, "startIconModel", 2);
1107
1107
  x([
1108
1108
  a({ type: String, reflect: !0 })
1109
- ], b.prototype, "endIconModel", 2);
1109
+ ], g.prototype, "endIconModel", 2);
1110
1110
  x([
1111
1111
  a({ type: Boolean, reflect: !0, attribute: "starticon" })
1112
- ], b.prototype, "startIcon", 2);
1112
+ ], g.prototype, "startIcon", 2);
1113
1113
  x([
1114
1114
  a({ type: Boolean, reflect: !0, attribute: "endicon" })
1115
- ], b.prototype, "endIcon", 2);
1115
+ ], g.prototype, "endIcon", 2);
1116
1116
  x([
1117
1117
  a({ type: String, attribute: "paneltarget", reflect: !0 })
1118
- ], b.prototype, "panelTarget", 2);
1118
+ ], g.prototype, "panelTarget", 2);
1119
1119
  x([
1120
1120
  a({ type: String })
1121
- ], b.prototype, "href", 2);
1121
+ ], g.prototype, "href", 2);
1122
1122
  x([
1123
1123
  a({ type: String })
1124
- ], b.prototype, "target", 2);
1124
+ ], g.prototype, "target", 2);
1125
1125
  x([
1126
1126
  a({ type: Boolean, reflect: !0 })
1127
- ], b.prototype, "underlined", 2);
1128
- b = x([
1127
+ ], g.prototype, "underlined", 2);
1128
+ g = x([
1129
1129
  w("o-button")
1130
- ], b);
1130
+ ], g);
1131
1131
  var ro = Object.defineProperty, so = Object.getOwnPropertyDescriptor, wt = (o, t, e, n) => {
1132
1132
  for (var i = n > 1 ? void 0 : n ? so(t, e) : t, r = o.length - 1, s; r >= 0; r--)
1133
1133
  (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
@@ -1953,19 +1953,35 @@ class xo extends wo {
1953
1953
  }
1954
1954
  }
1955
1955
  const te = Mt(xo);
1956
- var $o = Object.defineProperty, _o = Object.getOwnPropertyDescriptor, g = (o, t, e, n) => {
1956
+ var $o = Object.defineProperty, _o = Object.getOwnPropertyDescriptor, b = (o, t, e, n) => {
1957
1957
  for (var i = n > 1 ? void 0 : n ? _o(t, e) : t, r = o.length - 1, s; r >= 0; r--)
1958
1958
  (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
1959
1959
  return n && i && $o(t, e, i), i;
1960
1960
  };
1961
1961
  let u = class extends f {
1962
1962
  constructor() {
1963
- super(...arguments), this.open = !1, this.showHeader = !0, this.showFooter = !1, this.showHeaderStartIcon = !1, this.headerTitle = "", this.headerTitleClassName = "panel-title", this.closeButtonLabel = "Close the modal", this.firstButtonLabel = "Close", this.firstButtonVariant = "primary", this.firstButtonProps = {}, this.onFirstButtonClickClose = !1, this.secondButtonLabel = "", this.secondButtonVariant = "secondary", this.secondButtonProps = {}, this.onSecondButtonClickClose = !1, this.disablePortal = !1, this.zIndex = 99, this.initialized = !1, this.showDetail = !1, this.previousFocusedElement = null, this.innerFocusedElement = null, this._onOpenDetail = () => {
1964
- this.showDetail = !0;
1963
+ super(...arguments), this.open = !1, this.showHeader = !0, this.showFooter = !1, this.showHeaderStartIcon = !1, this.headerTitle = "", this.headerTitleClassName = "panel-title", this.closeButtonLabel = "Close the modal", this.firstButtonLabel = "Close", this.firstButtonVariant = "primary", this.firstButtonProps = {}, this.onFirstButtonClickClose = !1, this.secondButtonLabel = "", this.secondButtonVariant = "secondary", this.secondButtonProps = {}, this.onSecondButtonClickClose = !1, this.disablePortal = !1, this.zIndex = 99, this.initialized = !1, this.showDetail = !1, this.isHidingDetail = !1, this.previousFocusedElement = null, this.innerFocusedElement = null, this._onOpenDetail = () => {
1964
+ this.showDetail = !0, this.showHeaderStartIcon = !0;
1965
1965
  }, this.handleKeyDown = (o) => {
1966
1966
  this.open && (o.key === "Escape" ? this.closePanel() : o.key === "Tab" && this.trapFocus(o));
1967
1967
  }, this.handleClosePanel = (o) => {
1968
- o instanceof KeyboardEvent && o.key !== "Enter" && o.key !== " " || (o.preventDefault(), o.stopPropagation(), this.closePanel());
1968
+ if (o instanceof KeyboardEvent && o.key !== "Enter" && o.key !== " ")
1969
+ return;
1970
+ o.preventDefault(), o.stopPropagation();
1971
+ const t = o.currentTarget, e = (t == null ? void 0 : t.getAttribute("data-role")) === "back";
1972
+ if (this.showDetail && e) {
1973
+ this.isHidingDetail = !0;
1974
+ const n = this.renderRoot.querySelector(".content");
1975
+ if (n) {
1976
+ const i = () => {
1977
+ this.showDetail = !1, this.isHidingDetail = !1, this.showHeaderStartIcon = !1, n.removeEventListener("animationend", i);
1978
+ };
1979
+ n.addEventListener("animationend", i);
1980
+ } else
1981
+ this.showDetail = !1, this.isHidingDetail = !1, this.showHeaderStartIcon = !1;
1982
+ return;
1983
+ }
1984
+ this.closePanel();
1969
1985
  };
1970
1986
  }
1971
1987
  connectedCallback() {
@@ -1977,12 +1993,12 @@ let u = class extends f {
1977
1993
  document.body.style.overflow = "", document.body.removeAttribute("data-side-panel"), this.removeEventListener("keydown", this.handleKeyDown), super.disconnectedCallback(), this.removeEventListener("open-detail", this._onOpenDetail);
1978
1994
  }
1979
1995
  trapFocus(o) {
1980
- var i, r, s, h, c, v, y, p, $, E;
1996
+ var i, r, s, h, c, v, y, p, $, S;
1981
1997
  this.innerFocusedElement = document.activeElement || null, this.innerFocusedElement = ((r = (i = this.innerFocusedElement) == null ? void 0 : i.shadowRoot) == null ? void 0 : r.activeElement) || this.innerFocusedElement;
1982
1998
  const t = this.getFocusableElements();
1983
1999
  if (t.length === 0) return;
1984
2000
  const e = t[0], n = t[t.length - 1];
1985
- o.shiftKey && this.innerFocusedElement === e ? (o.preventDefault(), n.shadowRoot ? (c = (h = (s = n.shadowRoot) == null ? void 0 : s.querySelector(u.focusablesSelector)) == null ? void 0 : h.focus) == null || c.call(h) : (v = n.focus) == null || v.call(n)) : !o.shiftKey && this.innerFocusedElement === n && (o.preventDefault(), e.shadowRoot ? ($ = (p = (y = e.shadowRoot) == null ? void 0 : y.querySelector(u.focusablesSelector)) == null ? void 0 : p.focus) == null || $.call(p) : (E = e.focus) == null || E.call(e));
2001
+ o.shiftKey && this.innerFocusedElement === e ? (o.preventDefault(), n.shadowRoot ? (c = (h = (s = n.shadowRoot) == null ? void 0 : s.querySelector(u.focusablesSelector)) == null ? void 0 : h.focus) == null || c.call(h) : (v = n.focus) == null || v.call(n)) : !o.shiftKey && this.innerFocusedElement === n && (o.preventDefault(), e.shadowRoot ? ($ = (p = (y = e.shadowRoot) == null ? void 0 : y.querySelector(u.focusablesSelector)) == null ? void 0 : p.focus) == null || $.call(p) : (S = e.focus) == null || S.call(e));
1986
2002
  }
1987
2003
  getFocusableElements() {
1988
2004
  const o = this.renderRoot.querySelector(".panel");
@@ -2063,6 +2079,7 @@ let u = class extends f {
2063
2079
  size="small"
2064
2080
  class="return-btn"
2065
2081
  bgstyle="background-light"
2082
+ data-role="back"
2066
2083
  @click=${this.handleClosePanel}
2067
2084
  @keydown=${this.handleClosePanel}
2068
2085
  aria-label="${this.closeButtonLabel}"
@@ -2095,7 +2112,7 @@ let u = class extends f {
2095
2112
 
2096
2113
  ${o}
2097
2114
 
2098
- <div class="content ${this.showDetail ? "with-detail" : ""}">
2115
+ <div class="content ${this.isHidingDetail ? "slide-out-right" : ""} ${this.showDetail ? "with-detail" : ""}">
2099
2116
 
2100
2117
  ${this.showDetail ? l`
2101
2118
  <div class="detail-view">
@@ -2305,6 +2322,19 @@ u.styles = m`
2305
2322
  }
2306
2323
  }
2307
2324
 
2325
+ @keyframes slideOutRight {
2326
+ from {
2327
+ transform: translateX(0%);
2328
+ }
2329
+ to {
2330
+ transform: translateX(100%);
2331
+ }
2332
+ }
2333
+
2334
+ .slide-out-right {
2335
+ animation: slideOutRight 0.3s ease-in forwards;
2336
+ }
2337
+
2308
2338
  .detail-view {
2309
2339
  animation: slideInRight 0.3s ease-out both;
2310
2340
  }
@@ -2314,64 +2344,67 @@ u.styles = m`
2314
2344
  `;
2315
2345
  u.focusablesSelector = 'button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"]), o-icon-button, o-button';
2316
2346
  u.focusablesCustomElementsSelector = "o-icon-button, o-button";
2317
- g([
2347
+ b([
2318
2348
  a({ type: Boolean, reflect: !0 })
2319
2349
  ], u.prototype, "open", 2);
2320
- g([
2350
+ b([
2321
2351
  a({ type: Boolean, reflect: !0 })
2322
2352
  ], u.prototype, "showHeader", 2);
2323
- g([
2353
+ b([
2324
2354
  a({ type: Boolean, reflect: !0 })
2325
2355
  ], u.prototype, "showFooter", 2);
2326
- g([
2356
+ b([
2327
2357
  a({ type: Boolean, reflect: !0 })
2328
2358
  ], u.prototype, "showHeaderStartIcon", 2);
2329
- g([
2359
+ b([
2330
2360
  a({ type: String, reflect: !0 })
2331
2361
  ], u.prototype, "headerTitle", 2);
2332
- g([
2362
+ b([
2333
2363
  a({ type: String, reflect: !0 })
2334
2364
  ], u.prototype, "headerTitleClassName", 2);
2335
- g([
2365
+ b([
2336
2366
  a({ type: String, reflect: !0 })
2337
2367
  ], u.prototype, "closeButtonLabel", 2);
2338
- g([
2368
+ b([
2339
2369
  a({ type: String, reflect: !0 })
2340
2370
  ], u.prototype, "firstButtonLabel", 2);
2341
- g([
2371
+ b([
2342
2372
  a({ type: String, reflect: !0 })
2343
2373
  ], u.prototype, "firstButtonVariant", 2);
2344
- g([
2374
+ b([
2345
2375
  a({ type: Object, reflect: !0 })
2346
2376
  ], u.prototype, "firstButtonProps", 2);
2347
- g([
2377
+ b([
2348
2378
  a({ type: Boolean, reflect: !0 })
2349
2379
  ], u.prototype, "onFirstButtonClickClose", 2);
2350
- g([
2380
+ b([
2351
2381
  a({ type: String, reflect: !0 })
2352
2382
  ], u.prototype, "secondButtonLabel", 2);
2353
- g([
2383
+ b([
2354
2384
  a({ type: String, reflect: !0 })
2355
2385
  ], u.prototype, "secondButtonVariant", 2);
2356
- g([
2386
+ b([
2357
2387
  a({ type: Object, reflect: !0 })
2358
2388
  ], u.prototype, "secondButtonProps", 2);
2359
- g([
2389
+ b([
2360
2390
  a({ type: Boolean, reflect: !0 })
2361
2391
  ], u.prototype, "onSecondButtonClickClose", 2);
2362
- g([
2392
+ b([
2363
2393
  a({ type: Boolean, reflect: !0 })
2364
2394
  ], u.prototype, "disablePortal", 2);
2365
- g([
2395
+ b([
2366
2396
  a({ type: Number, reflect: !0 })
2367
2397
  ], u.prototype, "zIndex", 2);
2368
- g([
2398
+ b([
2369
2399
  a({ type: Boolean, reflect: !0 })
2370
2400
  ], u.prototype, "initialized", 2);
2371
- g([
2401
+ b([
2372
2402
  a({ type: Boolean })
2373
2403
  ], u.prototype, "showDetail", 2);
2374
- u = g([
2404
+ b([
2405
+ a({ type: Boolean })
2406
+ ], u.prototype, "isHidingDetail", 2);
2407
+ u = b([
2375
2408
  w("o-side-panel")
2376
2409
  ], u);
2377
2410
  var Co = Object.defineProperty, ko = Object.getOwnPropertyDescriptor, N = (o, t, e, n) => {
@@ -2668,7 +2701,7 @@ jt([
2668
2701
  lt = jt([
2669
2702
  w("o-tag")
2670
2703
  ], lt);
2671
- var So = Object.defineProperty, Lo = Object.getOwnPropertyDescriptor, Ut = (o, t, e, n) => {
2704
+ var So = Object.defineProperty, Lo = Object.getOwnPropertyDescriptor, Rt = (o, t, e, n) => {
2672
2705
  for (var i = n > 1 ? void 0 : n ? Lo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
2673
2706
  (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
2674
2707
  return n && i && So(t, e, i), i;
@@ -2779,13 +2812,13 @@ ct.styles = m`
2779
2812
  }
2780
2813
 
2781
2814
  `;
2782
- Ut([
2815
+ Rt([
2783
2816
  a({ type: String, reflect: !0 })
2784
2817
  ], ct.prototype, "type", 2);
2785
- Ut([
2818
+ Rt([
2786
2819
  a({ type: String, reflect: !0 })
2787
2820
  ], ct.prototype, "text", 2);
2788
- ct = Ut([
2821
+ ct = Rt([
2789
2822
  w("o-tooltip")
2790
2823
  ], ct);
2791
2824
  var Po = Object.defineProperty, Io = Object.getOwnPropertyDescriptor, H = (o, t, e, n) => {
@@ -2793,7 +2826,7 @@ var Po = Object.defineProperty, Io = Object.getOwnPropertyDescriptor, H = (o, t,
2793
2826
  (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
2794
2827
  return n && i && Po(t, e, i), i;
2795
2828
  };
2796
- let S = class extends f {
2829
+ let L = class extends f {
2797
2830
  constructor() {
2798
2831
  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) => {
2799
2832
  this.contains(o.target) || (this.open = !1, this.activeIndex = -1);
@@ -2916,7 +2949,7 @@ let S = class extends f {
2916
2949
  `;
2917
2950
  }
2918
2951
  };
2919
- S.styles = m`
2952
+ L.styles = m`
2920
2953
  :host {
2921
2954
  display: inline-block;
2922
2955
  position: relative;
@@ -3058,31 +3091,31 @@ S.styles = m`
3058
3091
  `;
3059
3092
  H([
3060
3093
  a({ type: Array, reflect: !0 })
3061
- ], S.prototype, "options", 2);
3094
+ ], L.prototype, "options", 2);
3062
3095
  H([
3063
3096
  a({ type: String, reflect: !0 })
3064
- ], S.prototype, "value", 2);
3097
+ ], L.prototype, "value", 2);
3065
3098
  H([
3066
3099
  a({ type: String, reflect: !0 })
3067
- ], S.prototype, "name", 2);
3100
+ ], L.prototype, "name", 2);
3068
3101
  H([
3069
3102
  a({ type: Boolean, reflect: !0 })
3070
- ], S.prototype, "disabled", 2);
3103
+ ], L.prototype, "disabled", 2);
3071
3104
  H([
3072
3105
  a({ type: String, reflect: !0 })
3073
- ], S.prototype, "width", 2);
3106
+ ], L.prototype, "width", 2);
3074
3107
  H([
3075
3108
  K()
3076
- ], S.prototype, "open", 2);
3109
+ ], L.prototype, "open", 2);
3077
3110
  H([
3078
3111
  K()
3079
- ], S.prototype, "activeIndex", 2);
3112
+ ], L.prototype, "activeIndex", 2);
3080
3113
  H([
3081
3114
  K()
3082
- ], S.prototype, "menuWidth", 2);
3083
- S = H([
3115
+ ], L.prototype, "menuWidth", 2);
3116
+ L = H([
3084
3117
  w("o-dropdown")
3085
- ], S);
3118
+ ], L);
3086
3119
  var Oo = Object.getOwnPropertyDescriptor, Bo = (o, t, e, n) => {
3087
3120
  for (var i = n > 1 ? void 0 : n ? Oo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
3088
3121
  (s = o[r]) && (i = s(i) || i);
@@ -3527,7 +3560,7 @@ const le = "important", Ho = " !" + le, Mo = Mt(class extends Tt {
3527
3560
  return F;
3528
3561
  }
3529
3562
  });
3530
- var To = Object.defineProperty, jo = Object.getOwnPropertyDescriptor, Ft = (o, t, e, n) => {
3563
+ var To = Object.defineProperty, jo = Object.getOwnPropertyDescriptor, Ut = (o, t, e, n) => {
3531
3564
  for (var i = n > 1 ? void 0 : n ? jo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
3532
3565
  (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
3533
3566
  return n && i && To(t, e, i), i;
@@ -3632,22 +3665,22 @@ ht.styles = m`
3632
3665
  }
3633
3666
  }
3634
3667
  `;
3635
- Ft([
3668
+ Ut([
3636
3669
  a({ type: Object, reflect: !0 })
3637
3670
  ], ht.prototype, "option", 2);
3638
- Ft([
3671
+ Ut([
3639
3672
  a({ type: Number, reflect: !0 })
3640
3673
  ], ht.prototype, "imageSize", 2);
3641
- ht = Ft([
3674
+ ht = Ut([
3642
3675
  w("o-reassurance")
3643
3676
  ], ht);
3644
- var Uo = Object.defineProperty, Fo = Object.getOwnPropertyDescriptor, M = (o, t, e, n) => {
3645
- for (var i = n > 1 ? void 0 : n ? Fo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
3677
+ var Ro = Object.defineProperty, Uo = Object.getOwnPropertyDescriptor, M = (o, t, e, n) => {
3678
+ for (var i = n > 1 ? void 0 : n ? Uo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
3646
3679
  (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
3647
- return n && i && Uo(t, e, i), i;
3680
+ return n && i && Ro(t, e, i), i;
3648
3681
  };
3649
- const No = Dt(f);
3650
- let A = class extends No {
3682
+ const Fo = Dt(f);
3683
+ let A = class extends Fo {
3651
3684
  constructor() {
3652
3685
  super(...arguments), this.link = "", this.name = "", this.value = "", this.text = "", this.size = "standard", this.selected = !1, this.fullwidth = !1, this.inactive = !1;
3653
3686
  }
@@ -3787,10 +3820,10 @@ M([
3787
3820
  A = M([
3788
3821
  w("o-chip")
3789
3822
  ], A);
3790
- var Ro = Object.defineProperty, Vo = Object.getOwnPropertyDescriptor, Nt = (o, t, e, n) => {
3823
+ var No = Object.defineProperty, Vo = Object.getOwnPropertyDescriptor, Ft = (o, t, e, n) => {
3791
3824
  for (var i = n > 1 ? void 0 : n ? Vo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
3792
3825
  (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
3793
- return n && i && Ro(t, e, i), i;
3826
+ return n && i && No(t, e, i), i;
3794
3827
  };
3795
3828
  let dt = class extends f {
3796
3829
  constructor() {
@@ -3816,22 +3849,22 @@ dt.styles = m`
3816
3849
  gap: var(--spacing-s);
3817
3850
  }
3818
3851
  `;
3819
- Nt([
3852
+ Ft([
3820
3853
  a({ reflect: !0 })
3821
3854
  ], dt.prototype, "name", 2);
3822
- Nt([
3855
+ Ft([
3823
3856
  a({ reflect: !0 })
3824
3857
  ], dt.prototype, "value", 2);
3825
- dt = Nt([
3858
+ dt = Ft([
3826
3859
  w("o-chipset")
3827
3860
  ], dt);
3828
- var Zo = Object.defineProperty, qo = Object.getOwnPropertyDescriptor, T = (o, t, e, n) => {
3829
- for (var i = n > 1 ? void 0 : n ? qo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
3861
+ var qo = Object.defineProperty, Zo = Object.getOwnPropertyDescriptor, T = (o, t, e, n) => {
3862
+ for (var i = n > 1 ? void 0 : n ? Zo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
3830
3863
  (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
3831
- return n && i && Zo(t, e, i), i;
3864
+ return n && i && qo(t, e, i), i;
3832
3865
  };
3833
3866
  const Wo = Dt(f);
3834
- let L = class extends Wo {
3867
+ let P = class extends Wo {
3835
3868
  constructor() {
3836
3869
  super(...arguments), this.name = "", this.value = "", this.type = "", this.dataHref = "", this.text = "", this.selected = !1, this.disabled = !1, this.fullwidth = !1, this.crossIconName = "cross", this.strikethroughImgName = "strikeDiagonal";
3837
3870
  }
@@ -3881,7 +3914,7 @@ let L = class extends Wo {
3881
3914
  `;
3882
3915
  }
3883
3916
  };
3884
- L.styles = m`
3917
+ P.styles = m`
3885
3918
  :host {
3886
3919
  cursor: pointer;
3887
3920
  display: inline-flex;
@@ -4009,39 +4042,39 @@ L.styles = m`
4009
4042
  `;
4010
4043
  T([
4011
4044
  a({ reflect: !0 })
4012
- ], L.prototype, "name", 2);
4045
+ ], P.prototype, "name", 2);
4013
4046
  T([
4014
4047
  a({ reflect: !0 })
4015
- ], L.prototype, "value", 2);
4048
+ ], P.prototype, "value", 2);
4016
4049
  T([
4017
4050
  a({ type: String, reflect: !0 })
4018
- ], L.prototype, "type", 2);
4051
+ ], P.prototype, "type", 2);
4019
4052
  T([
4020
4053
  a({ type: String, reflect: !0, attribute: "data-href" })
4021
- ], L.prototype, "dataHref", 2);
4054
+ ], P.prototype, "dataHref", 2);
4022
4055
  T([
4023
4056
  a({ type: String })
4024
- ], L.prototype, "text", 2);
4057
+ ], P.prototype, "text", 2);
4025
4058
  T([
4026
4059
  a({ type: Boolean, reflect: !0 })
4027
- ], L.prototype, "selected", 2);
4060
+ ], P.prototype, "selected", 2);
4028
4061
  T([
4029
4062
  a({ type: Boolean, reflect: !0 })
4030
- ], L.prototype, "disabled", 2);
4063
+ ], P.prototype, "disabled", 2);
4031
4064
  T([
4032
4065
  a({ type: Boolean, reflect: !0 })
4033
- ], L.prototype, "fullwidth", 2);
4034
- L = T([
4066
+ ], P.prototype, "fullwidth", 2);
4067
+ P = T([
4035
4068
  w("o-filter-chip")
4036
- ], L);
4037
- var Ko = Object.defineProperty, R = (o, t, e, n) => {
4069
+ ], P);
4070
+ var Ko = Object.defineProperty, j = (o, t, e, n) => {
4038
4071
  for (var i = void 0, r = o.length - 1, s; r >= 0; r--)
4039
4072
  (s = o[r]) && (i = s(t, e, i) || i);
4040
4073
  return i && Ko(t, e, i), i;
4041
4074
  };
4042
- const Rt = class Rt extends f {
4075
+ const Nt = class Nt extends f {
4043
4076
  constructor() {
4044
- super(...arguments), this.type = "cart | chevron", this.titleProduct = "", this.volume = "", this.perLiter = "", this.mainPrice = "", this.imageUrl = "https://placehold.co/56x70", this.altImage = "";
4077
+ super(...arguments), this.type = "cart | chevron", this.titleProduct = "", this.volume = "", this.perLiter = "", this.mainPrice = "", this.imageUrl = "https://placehold.co/56x70", this.altImage = "", this.fullwidth = !1;
4045
4078
  }
4046
4079
  onClick() {
4047
4080
  typeof this.onClickTile == "function" && this.onClickTile();
@@ -4070,7 +4103,7 @@ const Rt = class Rt extends f {
4070
4103
  }
4071
4104
  render() {
4072
4105
  return l`
4073
- <div class="tile">
4106
+ <div class="tile ${this.fullwidth ? "fullwidth" : ""}" @click=${this.onClick}>
4074
4107
  ${this.imageUrl ? l`<img src="${this.imageUrl}" alt="${this.altImage || ""}" />` : ""}
4075
4108
  <div class="info">
4076
4109
  ${this.titleProduct ? l`<div class="title">${this.titleProduct}</div>` : ""}
@@ -4085,19 +4118,29 @@ const Rt = class Rt extends f {
4085
4118
  `;
4086
4119
  }
4087
4120
  };
4088
- Rt.styles = m`
4121
+ Nt.styles = m`
4122
+ :host {
4123
+ display: block;
4124
+ max-width: 100%;
4125
+ }
4126
+
4089
4127
  .tile {
4090
- display: flex;
4091
- align-items: center;
4092
- justify-content: space-between;
4093
- border-radius: var(--radius-xs);
4094
- background: var(--color-container-bg-white);
4095
- box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
4096
- font-family: var(--font-family-loccitane-sans);
4097
- height: 70px;
4098
- width: 356px;
4099
- max-width: 356px;
4100
- padding: var(--spacing-2-xs) var(--spacing-s) var(--spacing-2-xs) var(--spacing-2-xs);
4128
+ display: flex;
4129
+ align-items: center;
4130
+ justify-content: space-between;
4131
+ border-radius: var(--radius-xs);
4132
+ background: var(--color-container-bg-white);
4133
+ box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
4134
+ font-family: var(--font-family-loccitane-sans);
4135
+ height: 70px;
4136
+ width: 356px;
4137
+ max-width: 356px;
4138
+ padding: var(--spacing-2-xs) var(--spacing-s) var(--spacing-2-xs) var(--spacing-2-xs);
4139
+ }
4140
+
4141
+ .tile.fullwidth {
4142
+ width: 100%;
4143
+ max-width: 100%;
4101
4144
  }
4102
4145
 
4103
4146
  .tile img {
@@ -4159,29 +4202,32 @@ Rt.styles = m`
4159
4202
  line-height: var(--line-height-160);
4160
4203
  }
4161
4204
  `;
4162
- let P = Rt;
4163
- R([
4205
+ let E = Nt;
4206
+ j([
4164
4207
  a({ type: String })
4165
- ], P.prototype, "type");
4166
- R([
4208
+ ], E.prototype, "type");
4209
+ j([
4167
4210
  a({ type: String })
4168
- ], P.prototype, "titleProduct");
4169
- R([
4211
+ ], E.prototype, "titleProduct");
4212
+ j([
4170
4213
  a({ type: String })
4171
- ], P.prototype, "volume");
4172
- R([
4214
+ ], E.prototype, "volume");
4215
+ j([
4173
4216
  a({ type: String })
4174
- ], P.prototype, "perLiter");
4175
- R([
4217
+ ], E.prototype, "perLiter");
4218
+ j([
4176
4219
  a({ type: String })
4177
- ], P.prototype, "mainPrice");
4178
- R([
4220
+ ], E.prototype, "mainPrice");
4221
+ j([
4179
4222
  a({ type: String })
4180
- ], P.prototype, "imageUrl");
4181
- R([
4223
+ ], E.prototype, "imageUrl");
4224
+ j([
4182
4225
  a({ type: String })
4183
- ], P.prototype, "altImage");
4184
- R([
4226
+ ], E.prototype, "altImage");
4227
+ j([
4228
+ a({ type: Boolean })
4229
+ ], E.prototype, "fullwidth");
4230
+ j([
4185
4231
  a({ type: Function })
4186
- ], P.prototype, "onClickTile");
4187
- customElements.define("mini-tile", P);
4232
+ ], E.prototype, "onClickTile");
4233
+ customElements.define("mini-tile", E);