@telia-ace/widget-core-flamingo 1.1.72-rc.18 → 1.1.72-rc.19

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. package/index.js +2 -2
  2. package/index.mjs +60 -60
  3. package/package.json +1 -1
package/index.js CHANGED
@@ -213,8 +213,8 @@
213
213
 
214
214
  .trigger-label {
215
215
  box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 0.1);
216
- background-color: var(--trigger-label-bg);
217
- color: var(--trigger-label-text-color);
216
+ background-color: var(--secondary-background);
217
+ color: var(--text-on-secondary-background);
218
218
  white-space: nowrap;
219
219
  padding: 0.7rem 1rem;
220
220
  border-radius: 0.3rem;
package/index.mjs CHANGED
@@ -112,11 +112,11 @@ var it = function() {
112
112
  } catch (v) {
113
113
  n = v instanceof ot ? v.errors : [v];
114
114
  }
115
- var p = this._finalizers;
116
- if (p) {
115
+ var d = this._finalizers;
116
+ if (d) {
117
117
  this._finalizers = null;
118
118
  try {
119
- for (var f = mt(p), u = f.next(); !u.done; u = f.next()) {
119
+ for (var f = mt(d), u = f.next(); !u.done; u = f.next()) {
120
120
  var g = u.value;
121
121
  try {
122
122
  Pt(g);
@@ -836,8 +836,8 @@ I.elementStyles = [], I.shadowRootOptions = { mode: "open" }, I[M("elementProper
836
836
  */
837
837
  const H = globalThis, Q = H.trustedTypes, Ht = Q ? Q.createPolicy("lit-html", { createHTML: (s) => s }) : void 0, ae = "$lit$", x = `lit$${(Math.random() + "").slice(9)}$`, ce = "?" + x, De = `<${ce}>`, O = document, B = () => O.createComment(""), D = (s) => s === null || typeof s != "object" && typeof s != "function", he = Array.isArray, ze = (s) => he(s) || typeof (s == null ? void 0 : s[Symbol.iterator]) == "function", ht = `[
838
838
  \f\r]`, j = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Lt = /-->/g, Bt = />/g, S = RegExp(`>|${ht}(?:([^\\s"'>=/]+)(${ht}*=${ht}*(?:[^
839
- \f\r"'\`<>=]|("|')|))|$)`, "g"), Dt = /'/g, zt = /"/g, le = /^(?:script|style|textarea|title)$/i, We = (s) => (t, ...e) => ({ _$litType$: s, strings: t, values: e }), R = We(1), T = Symbol.for("lit-noChange"), d = Symbol.for("lit-nothing"), Wt = /* @__PURE__ */ new WeakMap(), P = O.createTreeWalker(O, 129);
840
- function pe(s, t) {
839
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), Dt = /'/g, zt = /"/g, le = /^(?:script|style|textarea|title)$/i, We = (s) => (t, ...e) => ({ _$litType$: s, strings: t, values: e }), R = We(1), T = Symbol.for("lit-noChange"), p = Symbol.for("lit-nothing"), Wt = /* @__PURE__ */ new WeakMap(), P = O.createTreeWalker(O, 129);
840
+ function de(s, t) {
841
841
  if (!Array.isArray(s) || !s.hasOwnProperty("raw"))
842
842
  throw Error("invalid template strings array");
843
843
  return Ht !== void 0 ? Ht.createHTML(t) : t;
@@ -847,13 +847,13 @@ const Fe = (s, t) => {
847
847
  let r, n = t === 2 ? "<svg>" : "", o = j;
848
848
  for (let a = 0; a < e; a++) {
849
849
  const c = s[a];
850
- let h, l, p = -1, f = 0;
850
+ let h, l, d = -1, f = 0;
851
851
  for (; f < c.length && (o.lastIndex = f, l = o.exec(c), l !== null); )
852
- f = o.lastIndex, o === j ? l[1] === "!--" ? o = Lt : l[1] !== void 0 ? o = Bt : l[2] !== void 0 ? (le.test(l[2]) && (r = RegExp("</" + l[2], "g")), o = S) : l[3] !== void 0 && (o = S) : o === S ? l[0] === ">" ? (o = r ?? j, p = -1) : l[1] === void 0 ? p = -2 : (p = o.lastIndex - l[2].length, h = l[1], o = l[3] === void 0 ? S : l[3] === '"' ? zt : Dt) : o === zt || o === Dt ? o = S : o === Lt || o === Bt ? o = j : (o = S, r = void 0);
852
+ f = o.lastIndex, o === j ? l[1] === "!--" ? o = Lt : l[1] !== void 0 ? o = Bt : l[2] !== void 0 ? (le.test(l[2]) && (r = RegExp("</" + l[2], "g")), o = S) : l[3] !== void 0 && (o = S) : o === S ? l[0] === ">" ? (o = r ?? j, d = -1) : l[1] === void 0 ? d = -2 : (d = o.lastIndex - l[2].length, h = l[1], o = l[3] === void 0 ? S : l[3] === '"' ? zt : Dt) : o === zt || o === Dt ? o = S : o === Lt || o === Bt ? o = j : (o = S, r = void 0);
853
853
  const u = o === S && s[a + 1].startsWith("/>") ? " " : "";
854
- n += o === j ? c + De : p >= 0 ? (i.push(h), c.slice(0, p) + ae + c.slice(p) + x + u) : c + x + (p === -2 ? a : u);
854
+ n += o === j ? c + De : d >= 0 ? (i.push(h), c.slice(0, d) + ae + c.slice(d) + x + u) : c + x + (d === -2 ? a : u);
855
855
  }
856
- return [pe(s, n + (s[e] || "<?>") + (t === 2 ? "</svg>" : "")), i];
856
+ return [de(s, n + (s[e] || "<?>") + (t === 2 ? "</svg>" : "")), i];
857
857
  };
858
858
  class z {
859
859
  constructor({ strings: t, _$litType$: e }, i) {
@@ -862,34 +862,34 @@ class z {
862
862
  let n = 0, o = 0;
863
863
  const a = t.length - 1, c = this.parts, [h, l] = Fe(t, e);
864
864
  if (this.el = z.createElement(h, i), P.currentNode = this.el.content, e === 2) {
865
- const p = this.el.content.firstChild;
866
- p.replaceWith(...p.childNodes);
865
+ const d = this.el.content.firstChild;
866
+ d.replaceWith(...d.childNodes);
867
867
  }
868
868
  for (; (r = P.nextNode()) !== null && c.length < a; ) {
869
869
  if (r.nodeType === 1) {
870
870
  if (r.hasAttributes())
871
- for (const p of r.getAttributeNames())
872
- if (p.endsWith(ae)) {
873
- const f = l[o++], u = r.getAttribute(p).split(x), g = /([.?@])?(.*)/.exec(f);
874
- c.push({ type: 1, index: n, name: g[2], strings: u, ctor: g[1] === "." ? Ye : g[1] === "?" ? qe : g[1] === "@" ? Ke : st }), r.removeAttribute(p);
871
+ for (const d of r.getAttributeNames())
872
+ if (d.endsWith(ae)) {
873
+ const f = l[o++], u = r.getAttribute(d).split(x), g = /([.?@])?(.*)/.exec(f);
874
+ c.push({ type: 1, index: n, name: g[2], strings: u, ctor: g[1] === "." ? Ye : g[1] === "?" ? qe : g[1] === "@" ? Ke : st }), r.removeAttribute(d);
875
875
  } else
876
- p.startsWith(x) && (c.push({ type: 6, index: n }), r.removeAttribute(p));
876
+ d.startsWith(x) && (c.push({ type: 6, index: n }), r.removeAttribute(d));
877
877
  if (le.test(r.tagName)) {
878
- const p = r.textContent.split(x), f = p.length - 1;
878
+ const d = r.textContent.split(x), f = d.length - 1;
879
879
  if (f > 0) {
880
880
  r.textContent = Q ? Q.emptyScript : "";
881
881
  for (let u = 0; u < f; u++)
882
- r.append(p[u], B()), P.nextNode(), c.push({ type: 2, index: ++n });
883
- r.append(p[f], B());
882
+ r.append(d[u], B()), P.nextNode(), c.push({ type: 2, index: ++n });
883
+ r.append(d[f], B());
884
884
  }
885
885
  }
886
886
  } else if (r.nodeType === 8)
887
887
  if (r.data === ce)
888
888
  c.push({ type: 2, index: n });
889
889
  else {
890
- let p = -1;
891
- for (; (p = r.data.indexOf(x, p + 1)) !== -1; )
892
- c.push({ type: 7, index: n }), p += x.length - 1;
890
+ let d = -1;
891
+ for (; (d = r.data.indexOf(x, d + 1)) !== -1; )
892
+ c.push({ type: 7, index: n }), d += x.length - 1;
893
893
  }
894
894
  n++;
895
895
  }
@@ -942,7 +942,7 @@ class F {
942
942
  return ((t = this._$AM) == null ? void 0 : t._$AU) ?? this._$Cv;
943
943
  }
944
944
  constructor(t, e, i, r) {
945
- this.type = 2, this._$AH = d, this._$AN = void 0, this._$AA = t, this._$AB = e, this._$AM = i, this.options = r, this._$Cv = (r == null ? void 0 : r.isConnected) ?? !0;
945
+ this.type = 2, this._$AH = p, this._$AN = void 0, this._$AA = t, this._$AB = e, this._$AM = i, this.options = r, this._$Cv = (r == null ? void 0 : r.isConnected) ?? !0;
946
946
  }
947
947
  get parentNode() {
948
948
  let t = this._$AA.parentNode;
@@ -956,7 +956,7 @@ class F {
956
956
  return this._$AB;
957
957
  }
958
958
  _$AI(t, e = this) {
959
- t = k(this, t, e), D(t) ? t === d || t == null || t === "" ? (this._$AH !== d && this._$AR(), this._$AH = d) : t !== this._$AH && t !== T && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : ze(t) ? this.k(t) : this._(t);
959
+ t = k(this, t, e), D(t) ? t === p || t == null || t === "" ? (this._$AH !== p && this._$AR(), this._$AH = p) : t !== this._$AH && t !== T && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : ze(t) ? this.k(t) : this._(t);
960
960
  }
961
961
  S(t) {
962
962
  return this._$AA.parentNode.insertBefore(t, this._$AB);
@@ -965,11 +965,11 @@ class F {
965
965
  this._$AH !== t && (this._$AR(), this._$AH = this.S(t));
966
966
  }
967
967
  _(t) {
968
- this._$AH !== d && D(this._$AH) ? this._$AA.nextSibling.data = t : this.T(O.createTextNode(t)), this._$AH = t;
968
+ this._$AH !== p && D(this._$AH) ? this._$AA.nextSibling.data = t : this.T(O.createTextNode(t)), this._$AH = t;
969
969
  }
970
970
  $(t) {
971
971
  var n;
972
- const { values: e, _$litType$: i } = t, r = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = z.createElement(pe(i.h, i.h[0]), this.options)), i);
972
+ const { values: e, _$litType$: i } = t, r = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = z.createElement(de(i.h, i.h[0]), this.options)), i);
973
973
  if (((n = this._$AH) == null ? void 0 : n._$AD) === r)
974
974
  this._$AH.p(e);
975
975
  else {
@@ -1009,7 +1009,7 @@ class st {
1009
1009
  return this._$AM._$AU;
1010
1010
  }
1011
1011
  constructor(t, e, i, r, n) {
1012
- this.type = 1, this._$AH = d, this._$AN = void 0, this.element = t, this.name = e, this._$AM = r, this.options = n, i.length > 2 || i[0] !== "" || i[1] !== "" ? (this._$AH = Array(i.length - 1).fill(new String()), this.strings = i) : this._$AH = d;
1012
+ this.type = 1, this._$AH = p, this._$AN = void 0, this.element = t, this.name = e, this._$AM = r, this.options = n, i.length > 2 || i[0] !== "" || i[1] !== "" ? (this._$AH = Array(i.length - 1).fill(new String()), this.strings = i) : this._$AH = p;
1013
1013
  }
1014
1014
  _$AI(t, e = this, i, r) {
1015
1015
  const n = this.strings;
@@ -1020,12 +1020,12 @@ class st {
1020
1020
  const a = t;
1021
1021
  let c, h;
1022
1022
  for (t = n[0], c = 0; c < n.length - 1; c++)
1023
- h = k(this, a[i + c], e, c), h === T && (h = this._$AH[c]), o || (o = !D(h) || h !== this._$AH[c]), h === d ? t = d : t !== d && (t += (h ?? "") + n[c + 1]), this._$AH[c] = h;
1023
+ h = k(this, a[i + c], e, c), h === T && (h = this._$AH[c]), o || (o = !D(h) || h !== this._$AH[c]), h === p ? t = p : t !== p && (t += (h ?? "") + n[c + 1]), this._$AH[c] = h;
1024
1024
  }
1025
1025
  o && !r && this.j(t);
1026
1026
  }
1027
1027
  j(t) {
1028
- t === d ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
1028
+ t === p ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
1029
1029
  }
1030
1030
  }
1031
1031
  class Ye extends st {
@@ -1033,7 +1033,7 @@ class Ye extends st {
1033
1033
  super(...arguments), this.type = 3;
1034
1034
  }
1035
1035
  j(t) {
1036
- this.element[this.name] = t === d ? void 0 : t;
1036
+ this.element[this.name] = t === p ? void 0 : t;
1037
1037
  }
1038
1038
  }
1039
1039
  class qe extends st {
@@ -1041,7 +1041,7 @@ class qe extends st {
1041
1041
  super(...arguments), this.type = 4;
1042
1042
  }
1043
1043
  j(t) {
1044
- this.element.toggleAttribute(this.name, !!t && t !== d);
1044
+ this.element.toggleAttribute(this.name, !!t && t !== p);
1045
1045
  }
1046
1046
  }
1047
1047
  class Ke extends st {
@@ -1049,9 +1049,9 @@ class Ke extends st {
1049
1049
  super(t, e, i, r, n), this.type = 5;
1050
1050
  }
1051
1051
  _$AI(t, e = this) {
1052
- if ((t = k(this, t, e, 0) ?? d) === T)
1052
+ if ((t = k(this, t, e, 0) ?? p) === T)
1053
1053
  return;
1054
- const i = this._$AH, r = t === d && i !== d || t.capture !== i.capture || t.once !== i.once || t.passive !== i.passive, n = t !== d && (i === d || r);
1054
+ const i = this._$AH, r = t === p && i !== p || t.capture !== i.capture || t.once !== i.once || t.passive !== i.passive, n = t !== p && (i === p || r);
1055
1055
  r && this.element.removeEventListener(this.name, this, i), n && this.element.addEventListener(this.name, this, t), this._$AH = t;
1056
1056
  }
1057
1057
  handleEvent(t) {
@@ -1113,8 +1113,8 @@ let _ = class extends I {
1113
1113
  };
1114
1114
  var Xt;
1115
1115
  _._$litElement$ = !0, _.finalized = !0, (Xt = globalThis.litElementHydrateSupport) == null || Xt.call(globalThis, { LitElement: _ });
1116
- const pt = globalThis.litElementPolyfillSupport;
1117
- pt == null || pt({ LitElement: _ });
1116
+ const dt = globalThis.litElementPolyfillSupport;
1117
+ dt == null || dt({ LitElement: _ });
1118
1118
  (globalThis.litElementVersions ?? (globalThis.litElementVersions = [])).push("4.0.4");
1119
1119
  /**
1120
1120
  * @license
@@ -1170,7 +1170,7 @@ class rt extends _ {
1170
1170
  return (e = this.shadowRoot) == null || e.appendChild(t), t;
1171
1171
  }
1172
1172
  render() {
1173
- return this.anchor === "BottomLeft" ? this.renderRoot.host.classList.add("bottom-left") : this.anchor === "BottomRight" && this.renderRoot.host.classList.add("bottom-right"), d;
1173
+ return this.anchor === "BottomLeft" ? this.renderRoot.host.classList.add("bottom-left") : this.anchor === "BottomRight" && this.renderRoot.host.classList.add("bottom-right"), p;
1174
1174
  }
1175
1175
  }
1176
1176
  rt.styles = [
@@ -1201,7 +1201,7 @@ ei([
1201
1201
  * SPDX-License-Identifier: BSD-3-Clause
1202
1202
  */
1203
1203
  const xt = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4, EVENT: 5, ELEMENT: 6 }, Ct = (s) => (...t) => ({ _$litDirective$: s, values: t });
1204
- let de = class {
1204
+ let pe = class {
1205
1205
  constructor(t) {
1206
1206
  }
1207
1207
  get _$AU() {
@@ -1271,7 +1271,7 @@ function ri(s, t = !1, e = 0) {
1271
1271
  const ni = (s) => {
1272
1272
  s.type == xt.CHILD && (s._$AP ?? (s._$AP = ri), s._$AQ ?? (s._$AQ = si));
1273
1273
  };
1274
- class fe extends de {
1274
+ class fe extends pe {
1275
1275
  constructor() {
1276
1276
  super(...arguments), this._$AN = void 0;
1277
1277
  }
@@ -1297,7 +1297,7 @@ class fe extends de {
1297
1297
  }
1298
1298
  const oi = /* @__PURE__ */ new WeakMap();
1299
1299
  let Ft = 0;
1300
- const dt = /* @__PURE__ */ new Map(), Vt = /* @__PURE__ */ new WeakSet(), Yt = () => new Promise((s) => requestAnimationFrame(s)), ai = [{ transform: "translateX(100%) scale(0)", opacity: 0 }], qt = (s, t) => {
1300
+ const pt = /* @__PURE__ */ new Map(), Vt = /* @__PURE__ */ new WeakSet(), Yt = () => new Promise((s) => requestAnimationFrame(s)), ai = [{ transform: "translateX(100%) scale(0)", opacity: 0 }], qt = (s, t) => {
1301
1301
  const e = s - t;
1302
1302
  return e === 0 ? void 0 : e;
1303
1303
  }, Kt = (s, t) => {
@@ -1337,7 +1337,7 @@ class li extends fe {
1337
1337
  (t = this.l) == null || t.call(this), this.l = void 0;
1338
1338
  }
1339
1339
  render(t) {
1340
- return d;
1340
+ return p;
1341
1341
  }
1342
1342
  getController() {
1343
1343
  return oi.get(this.u);
@@ -1387,9 +1387,9 @@ class li extends fe {
1387
1387
  const { from: n, to: o } = this.N(this.A, r, e);
1388
1388
  this.log("measured", [this.A, r, n, o]), t = this.calculateKeyframes(n, o);
1389
1389
  } else {
1390
- const n = dt.get(this.options.inId);
1390
+ const n = pt.get(this.options.inId);
1391
1391
  if (n) {
1392
- dt.delete(this.options.inId);
1392
+ pt.delete(this.options.inId);
1393
1393
  const { from: o, to: a } = this.N(n, r, e);
1394
1394
  t = this.calculateKeyframes(o, a), t = this.options.in ? [{ ...this.options.in[0], ...t[0] }, ...this.options.in.slice(1), t[1]] : t, Ft++, t.forEach((c) => c.zIndex = Ft);
1395
1395
  } else
@@ -1408,7 +1408,7 @@ class li extends fe {
1408
1408
  }
1409
1409
  async disconnected() {
1410
1410
  var e;
1411
- if (!this.h || (this.options.id !== void 0 && dt.set(this.options.id, this.A), this.options.out === void 0))
1411
+ if (!this.h || (this.options.id !== void 0 && pt.set(this.options.id, this.A), this.options.out === void 0))
1412
1412
  return;
1413
1413
  if (this.prepare(), await Yt(), (e = this.i) == null ? void 0 : e.isConnected) {
1414
1414
  const i = this.o && this.o.parentNode === this.i ? this.o : null;
@@ -1466,10 +1466,10 @@ class li extends fe {
1466
1466
  for (const c in e) {
1467
1467
  const h = t[c], l = e[c];
1468
1468
  if (c in ut) {
1469
- const p = ut[c];
1469
+ const d = ut[c];
1470
1470
  if (h === void 0 || l === void 0)
1471
1471
  continue;
1472
- const f = p(h, l);
1472
+ const f = d(h, l);
1473
1473
  f.transform !== void 0 && (a[c] = f.value, o = !0, r.transform = `${r.transform ?? ""} ${f.transform}`, f.overrideFrom !== void 0 && Object.assign(r, f.overrideFrom));
1474
1474
  } else
1475
1475
  h !== l && h !== void 0 && l !== void 0 && (o = !0, r[c] = h, n[c] = l);
@@ -1499,13 +1499,13 @@ class li extends fe {
1499
1499
  this.shouldLog && !this.isDisabled() && console.log(t, this.options.id, e);
1500
1500
  }
1501
1501
  }
1502
- const pi = Ct(li), di = { name: "question", svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M32 4C16.536 4 4 16.536 4 32C4 47.464 16.536 60 32 60C47.464 60 60 47.464 60 32C59.9827 16.5432 47.4568 4.01731 32 4ZM32 55.6923C18.9151 55.6923 8.30769 45.0849 8.30769 32C8.30769 18.9151 18.9151 8.30769 32 8.30769C45.0849 8.30769 55.6923 18.9151 55.6923 32C55.6775 45.0788 45.0788 55.6775 32 55.6923Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M31.9423 37.5723L36.311 32.9068L36.7354 32.4448C39.7555 29.1161 40.7645 27.0647 40.7645 24.5087C40.7645 23.1091 40.4251 21.7942 39.7041 20.6491C38.3044 18.3587 35.6323 16.9166 32.2816 16.9166C28.7565 16.9166 25.3125 18.7414 23.2581 21.6772L23.1201 21.8791C22.8232 22.3032 22.696 22.6849 22.696 22.9818C22.696 23.7029 23.926 25.9932 25.2833 25.9932C25.5378 25.9932 25.7922 25.9084 26.0467 25.7388C26.2588 25.5691 26.5981 25.2298 27.0647 24.7208C28.8885 22.6849 30.1185 21.9215 31.7726 21.9215C33.6813 21.9215 35.081 23.1939 35.081 24.8905C35.081 26.375 34.2751 27.7746 32.3664 29.8529L28.2523 34.2216C27.9554 34.6033 27.7857 34.9426 27.7857 35.282C27.7857 35.6213 27.9978 36.1726 28.4219 36.8937C29.0581 37.8692 29.7368 38.3782 30.4578 38.3782C30.9244 38.3782 31.3909 38.1237 31.9423 37.5723ZM30.882 47.4972C29.2278 47.4972 27.6585 44.7403 27.6585 43.6799C27.6585 42.1954 30.0761 40.6261 32.4089 40.6261C33.6389 40.6261 34.2751 41.1775 34.2751 42.3227C34.2751 44.0616 33.4692 45.843 32.4513 46.7761C31.9423 47.2427 31.4334 47.4972 30.882 47.4972Z"/></svg>' };
1502
+ const di = Ct(li), pi = { name: "question", svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M32 4C16.536 4 4 16.536 4 32C4 47.464 16.536 60 32 60C47.464 60 60 47.464 60 32C59.9827 16.5432 47.4568 4.01731 32 4ZM32 55.6923C18.9151 55.6923 8.30769 45.0849 8.30769 32C8.30769 18.9151 18.9151 8.30769 32 8.30769C45.0849 8.30769 55.6923 18.9151 55.6923 32C55.6775 45.0788 45.0788 55.6775 32 55.6923Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M31.9423 37.5723L36.311 32.9068L36.7354 32.4448C39.7555 29.1161 40.7645 27.0647 40.7645 24.5087C40.7645 23.1091 40.4251 21.7942 39.7041 20.6491C38.3044 18.3587 35.6323 16.9166 32.2816 16.9166C28.7565 16.9166 25.3125 18.7414 23.2581 21.6772L23.1201 21.8791C22.8232 22.3032 22.696 22.6849 22.696 22.9818C22.696 23.7029 23.926 25.9932 25.2833 25.9932C25.5378 25.9932 25.7922 25.9084 26.0467 25.7388C26.2588 25.5691 26.5981 25.2298 27.0647 24.7208C28.8885 22.6849 30.1185 21.9215 31.7726 21.9215C33.6813 21.9215 35.081 23.1939 35.081 24.8905C35.081 26.375 34.2751 27.7746 32.3664 29.8529L28.2523 34.2216C27.9554 34.6033 27.7857 34.9426 27.7857 35.282C27.7857 35.6213 27.9978 36.1726 28.4219 36.8937C29.0581 37.8692 29.7368 38.3782 30.4578 38.3782C30.9244 38.3782 31.3909 38.1237 31.9423 37.5723ZM30.882 47.4972C29.2278 47.4972 27.6585 44.7403 27.6585 43.6799C27.6585 42.1954 30.0761 40.6261 32.4089 40.6261C33.6389 40.6261 34.2751 41.1775 34.2751 42.3227C34.2751 44.0616 33.4692 45.843 32.4513 46.7761C31.9423 47.2427 31.4334 47.4972 30.882 47.4972Z"/></svg>' };
1503
1503
  /**
1504
1504
  * @license
1505
1505
  * Copyright 2018 Google LLC
1506
1506
  * SPDX-License-Identifier: BSD-3-Clause
1507
1507
  */
1508
- const Gt = Ct(class extends de {
1508
+ const Gt = Ct(class extends pe {
1509
1509
  constructor(s) {
1510
1510
  var t;
1511
1511
  if (super(s), s.type !== xt.ATTRIBUTE || s.name !== "class" || ((t = s.strings) == null ? void 0 : t.length) > 2)
@@ -1575,12 +1575,12 @@ class ui {
1575
1575
  }
1576
1576
  const ft = /* @__PURE__ */ new WeakMap(), ve = Ct(class extends fe {
1577
1577
  render(s) {
1578
- return d;
1578
+ return p;
1579
1579
  }
1580
1580
  update(s, [t]) {
1581
1581
  var i;
1582
1582
  const e = t !== this.Y;
1583
- return e && this.Y !== void 0 && this.rt(void 0), (e || this.lt !== this.ct) && (this.Y = t, this.ht = (i = s.options) == null ? void 0 : i.host, this.rt(this.ct = s.element)), d;
1583
+ return e && this.Y !== void 0 && this.rt(void 0), (e || this.lt !== this.ct) && (this.Y = t, this.ht = (i = s.options) == null ? void 0 : i.host, this.rt(this.ct = s.element)), p;
1584
1584
  }
1585
1585
  rt(s) {
1586
1586
  if (typeof this.Y == "function") {
@@ -1637,8 +1637,8 @@ class A extends _ {
1637
1637
  return R` <img src=${e} class="trigger-icon" alt="" /> `;
1638
1638
  const i = (h = this.application) == null ? void 0 : h.triggerIcon;
1639
1639
  if (!i)
1640
- return d;
1641
- const r = async (l) => di, { type: n, content: o } = i;
1640
+ return p;
1641
+ const r = async (l) => pi, { type: n, content: o } = i;
1642
1642
  switch (n) {
1643
1643
  case "Telia": {
1644
1644
  const l = await r();
@@ -1646,10 +1646,10 @@ class A extends _ {
1646
1646
  class="trigger-icon"
1647
1647
  svg=${l.svg}
1648
1648
  size="lg"
1649
- ></telia-icon>` : d;
1649
+ ></telia-icon>` : p;
1650
1650
  }
1651
1651
  default:
1652
- return d;
1652
+ return p;
1653
1653
  }
1654
1654
  }
1655
1655
  hideTrigger() {
@@ -1672,7 +1672,7 @@ class A extends _ {
1672
1672
  label="${this.application.settings.branding.other.buttonLabelText ?? "Widget trigger"}"
1673
1673
  class="trigger-label"
1674
1674
  @click=${this.toggleActive}
1675
- ${pi({
1675
+ ${di({
1676
1676
  keyframeOptions: {},
1677
1677
  in: ai,
1678
1678
  stabilizeOut: !0,
@@ -1681,7 +1681,7 @@ class A extends _ {
1681
1681
  >
1682
1682
  ${this.application.settings.branding.other.buttonLabelText}
1683
1683
  </button>
1684
- ` : d}
1684
+ ` : p}
1685
1685
 
1686
1686
  <button
1687
1687
  label="Widget trigger"
@@ -1823,8 +1823,8 @@ A.styles = [
1823
1823
 
1824
1824
  .trigger-label {
1825
1825
  box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 0.1);
1826
- background-color: var(--trigger-label-bg);
1827
- color: var(--trigger-label-text-color);
1826
+ background-color: var(--secondary-background);
1827
+ color: var(--text-on-secondary-background);
1828
1828
  white-space: nowrap;
1829
1829
  padding: 0.7rem 1rem;
1830
1830
  border-radius: 0.3rem;
@@ -2255,8 +2255,8 @@ class Pi {
2255
2255
  overrides: []
2256
2256
  };
2257
2257
  }, r = (a, c, h, l) => {
2258
- h.forEach((p) => {
2259
- const f = i(p), u = l[f.definitionId];
2258
+ h.forEach((d) => {
2259
+ const f = i(d), u = l[f.definitionId];
2260
2260
  if (!u) {
2261
2261
  console.error(
2262
2262
  `No definition found for component type '${f.definitionId}'.`
@@ -2684,7 +2684,7 @@ class Y extends _ {
2684
2684
  }
2685
2685
  render() {
2686
2686
  if (!this.widget || this.status !== "activated")
2687
- return d;
2687
+ return p;
2688
2688
  if (this.widget.renderStrategy === $.Trigger) {
2689
2689
  const t = new A();
2690
2690
  return t.application = this.widget, t;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@telia-ace/widget-core-flamingo",
3
- "version": "1.1.72-rc.18",
3
+ "version": "1.1.72-rc.19",
4
4
  "dependencies": {
5
5
  "lit": "^3.0.2",
6
6
  "@teliads/icons": "^8.4.0",