@telia-ace/widget-core-flamingo 1.1.66-rc.0 → 1.1.66-rc.1

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 +0 -8
  2. package/index.mjs +79 -87
  3. package/package.json +1 -1
package/index.js CHANGED
@@ -247,23 +247,15 @@
247
247
  --spacing-lg: 1.2rem;
248
248
  --spacing-xl: 1.8rem;
249
249
 
250
- --inverted-spacing-lg: -1.2rem;
251
-
252
250
  --text-color: #222222;
253
251
  --link-color: #990ae3;
254
252
  --gray-color: #f3f3f8;
255
- --white-color: #fff;
256
253
  --gray-dark-color: #a6a6a6;
257
- --destructive-color: #e4175c;
258
254
 
259
255
  --box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
260
256
  --border-radius: var(--spacing-sm);
261
257
  --border-radius-sm: var(--spacing-sm);
262
- --border-radius-lg: var(--spacing-lg);
263
- --border-radius-xl: var(--spacing-xl);
264
258
  --gap: var(--spacing-sm);
265
-
266
- --header-height: 69px;
267
259
  }
268
260
  :host {
269
261
  --voca-rem-multiplier: 0.625;
package/index.mjs CHANGED
@@ -90,8 +90,8 @@ var tt = function() {
90
90
  if (this._parentage = null, Array.isArray(o))
91
91
  try {
92
92
  for (var a = gt(o), c = a.next(); !c.done; c = a.next()) {
93
- var l = c.value;
94
- l.remove(this);
93
+ var h = c.value;
94
+ h.remove(this);
95
95
  }
96
96
  } catch (v) {
97
97
  t = { error: v };
@@ -105,10 +105,10 @@ var tt = function() {
105
105
  }
106
106
  else
107
107
  o.remove(this);
108
- var h = this.initialTeardown;
109
- if (b(h))
108
+ var l = this.initialTeardown;
109
+ if (b(l))
110
110
  try {
111
- h();
111
+ l();
112
112
  } catch (v) {
113
113
  n = v instanceof nt ? v.errors : [v];
114
114
  }
@@ -119,7 +119,7 @@ var tt = function() {
119
119
  for (var f = gt(p), u = f.next(); !u.done; u = f.next()) {
120
120
  var g = u.value;
121
121
  try {
122
- St(g);
122
+ xt(g);
123
123
  } catch (v) {
124
124
  n = n ?? [], v instanceof nt ? n = G(G([], K(n)), K(v.errors)) : n.push(v);
125
125
  }
@@ -142,7 +142,7 @@ var tt = function() {
142
142
  var e;
143
143
  if (t && t !== this)
144
144
  if (this.closed)
145
- St(t);
145
+ xt(t);
146
146
  else {
147
147
  if (t instanceof r) {
148
148
  if (t.closed || t._hasParent(this))
@@ -171,7 +171,7 @@ var tt = function() {
171
171
  function Jt(r) {
172
172
  return r instanceof tt || r && "closed" in r && b(r.remove) && b(r.add) && b(r.unsubscribe);
173
173
  }
174
- function St(r) {
174
+ function xt(r) {
175
175
  b(r) ? r() : r.unsubscribe();
176
176
  }
177
177
  var Xt = {
@@ -325,7 +325,7 @@ var Pt = function() {
325
325
  var e = new r();
326
326
  return e.source = this, e.operator = t, e;
327
327
  }, r.prototype.subscribe = function(t, e, i) {
328
- var s = this, n = Se(t) ? t : new yt(t, e, i);
328
+ var s = this, n = xe(t) ? t : new yt(t, e, i);
329
329
  return q(function() {
330
330
  var o = s, a = o.operator, c = o.source;
331
331
  n.add(a ? a.call(n, c) : c ? s._subscribe(n) : s._trySubscribe(n));
@@ -381,11 +381,11 @@ function Ot(r) {
381
381
  var t;
382
382
  return (t = r ?? Xt.Promise) !== null && t !== void 0 ? t : Promise;
383
383
  }
384
- function xe(r) {
384
+ function Se(r) {
385
385
  return r && b(r.next) && b(r.error) && b(r.complete);
386
386
  }
387
- function Se(r) {
388
- return r && r instanceof Qt || xe(r) && Jt(r);
387
+ function xe(r) {
388
+ return r && r instanceof Qt || Se(r) && Jt(r);
389
389
  }
390
390
  var Ee = Gt(function(r) {
391
391
  return function() {
@@ -414,8 +414,8 @@ var Ee = Gt(function(r) {
414
414
  var c = a.value;
415
415
  c.next(e);
416
416
  }
417
- } catch (l) {
418
- s = { error: l };
417
+ } catch (h) {
418
+ s = { error: h };
419
419
  } finally {
420
420
  try {
421
421
  a && !a.done && (n = o.return) && n.call(o);
@@ -836,7 +836,7 @@ O.elementStyles = [], O.shadowRootOptions = { mode: "open" }, O[N("elementProper
836
836
  */
837
837
  const j = globalThis, J = j.trustedTypes, kt = J ? J.createPolicy("lit-html", { createHTML: (r) => r }) : void 0, re = "$lit$", _ = `lit$${(Math.random() + "").slice(9)}$`, se = "?" + _, Le = `<${se}>`, E = document, M = () => E.createComment(""), L = (r) => r === null || typeof r != "object" && typeof r != "function", ne = Array.isArray, He = (r) => ne(r) || typeof (r == null ? void 0 : r[Symbol.iterator]) == "function", ct = `[
838
838
  \f\r]`, I = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Mt = /-->/g, Lt = />/g, C = RegExp(`>|${ct}(?:([^\\s"'>=/]+)(${ct}*=${ct}*(?:[^
839
- \f\r"'\`<>=]|("|')|))|$)`, "g"), Ht = /'/g, Bt = /"/g, oe = /^(?:script|style|textarea|title)$/i, Be = (r) => (t, ...e) => ({ _$litType$: r, strings: t, values: e }), T = Be(1), P = Symbol.for("lit-noChange"), d = Symbol.for("lit-nothing"), Dt = /* @__PURE__ */ new WeakMap(), S = E.createTreeWalker(E, 129);
839
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), Ht = /'/g, Bt = /"/g, oe = /^(?:script|style|textarea|title)$/i, Be = (r) => (t, ...e) => ({ _$litType$: r, strings: t, values: e }), T = Be(1), P = Symbol.for("lit-noChange"), d = Symbol.for("lit-nothing"), Dt = /* @__PURE__ */ new WeakMap(), x = E.createTreeWalker(E, 129);
840
840
  function ae(r, t) {
841
841
  if (!Array.isArray(r) || !r.hasOwnProperty("raw"))
842
842
  throw Error("invalid template strings array");
@@ -847,11 +847,11 @@ const De = (r, t) => {
847
847
  let s, n = t === 2 ? "<svg>" : "", o = I;
848
848
  for (let a = 0; a < e; a++) {
849
849
  const c = r[a];
850
- let l, h, p = -1, f = 0;
851
- for (; f < c.length && (o.lastIndex = f, h = o.exec(c), h !== null); )
852
- f = o.lastIndex, o === I ? h[1] === "!--" ? o = Mt : h[1] !== void 0 ? o = Lt : h[2] !== void 0 ? (oe.test(h[2]) && (s = RegExp("</" + h[2], "g")), o = C) : h[3] !== void 0 && (o = C) : o === C ? h[0] === ">" ? (o = s ?? I, p = -1) : h[1] === void 0 ? p = -2 : (p = o.lastIndex - h[2].length, l = h[1], o = h[3] === void 0 ? C : h[3] === '"' ? Bt : Ht) : o === Bt || o === Ht ? o = C : o === Mt || o === Lt ? o = I : (o = C, s = void 0);
850
+ let h, l, p = -1, f = 0;
851
+ for (; f < c.length && (o.lastIndex = f, l = o.exec(c), l !== null); )
852
+ f = o.lastIndex, o === I ? l[1] === "!--" ? o = Mt : l[1] !== void 0 ? o = Lt : l[2] !== void 0 ? (oe.test(l[2]) && (s = RegExp("</" + l[2], "g")), o = C) : l[3] !== void 0 && (o = C) : o === C ? l[0] === ">" ? (o = s ?? I, p = -1) : l[1] === void 0 ? p = -2 : (p = o.lastIndex - l[2].length, h = l[1], o = l[3] === void 0 ? C : l[3] === '"' ? Bt : Ht) : o === Bt || o === Ht ? o = C : o === Mt || o === Lt ? o = I : (o = C, s = void 0);
853
853
  const u = o === C && r[a + 1].startsWith("/>") ? " " : "";
854
- n += o === I ? c + Le : p >= 0 ? (i.push(l), c.slice(0, p) + re + c.slice(p) + _ + u) : c + _ + (p === -2 ? a : u);
854
+ n += o === I ? c + Le : p >= 0 ? (i.push(h), c.slice(0, p) + re + c.slice(p) + _ + u) : c + _ + (p === -2 ? a : u);
855
855
  }
856
856
  return [ae(r, n + (r[e] || "<?>") + (t === 2 ? "</svg>" : "")), i];
857
857
  };
@@ -860,17 +860,17 @@ class H {
860
860
  let s;
861
861
  this.parts = [];
862
862
  let n = 0, o = 0;
863
- const a = t.length - 1, c = this.parts, [l, h] = De(t, e);
864
- if (this.el = H.createElement(l, i), S.currentNode = this.el.content, e === 2) {
863
+ const a = t.length - 1, c = this.parts, [h, l] = De(t, e);
864
+ if (this.el = H.createElement(h, i), x.currentNode = this.el.content, e === 2) {
865
865
  const p = this.el.content.firstChild;
866
866
  p.replaceWith(...p.childNodes);
867
867
  }
868
- for (; (s = S.nextNode()) !== null && c.length < a; ) {
868
+ for (; (s = x.nextNode()) !== null && c.length < a; ) {
869
869
  if (s.nodeType === 1) {
870
870
  if (s.hasAttributes())
871
871
  for (const p of s.getAttributeNames())
872
872
  if (p.endsWith(re)) {
873
- const f = h[o++], u = s.getAttribute(p).split(_), g = /([.?@])?(.*)/.exec(f);
873
+ const f = l[o++], u = s.getAttribute(p).split(_), g = /([.?@])?(.*)/.exec(f);
874
874
  c.push({ type: 1, index: n, name: g[2], strings: u, ctor: g[1] === "." ? We : g[1] === "?" ? Fe : g[1] === "@" ? Ye : et }), s.removeAttribute(p);
875
875
  } else
876
876
  p.startsWith(_) && (c.push({ type: 6, index: n }), s.removeAttribute(p));
@@ -879,7 +879,7 @@ class H {
879
879
  if (f > 0) {
880
880
  s.textContent = J ? J.emptyScript : "";
881
881
  for (let u = 0; u < f; u++)
882
- s.append(p[u], M()), S.nextNode(), c.push({ type: 2, index: ++n });
882
+ s.append(p[u], M()), x.nextNode(), c.push({ type: 2, index: ++n });
883
883
  s.append(p[f], M());
884
884
  }
885
885
  }
@@ -919,16 +919,16 @@ class ze {
919
919
  }
920
920
  u(t) {
921
921
  const { el: { content: e }, parts: i } = this._$AD, s = ((t == null ? void 0 : t.creationScope) ?? E).importNode(e, !0);
922
- S.currentNode = s;
923
- let n = S.nextNode(), o = 0, a = 0, c = i[0];
922
+ x.currentNode = s;
923
+ let n = x.nextNode(), o = 0, a = 0, c = i[0];
924
924
  for (; c !== void 0; ) {
925
925
  if (o === c.index) {
926
- let l;
927
- c.type === 2 ? l = new D(n, n.nextSibling, this, t) : c.type === 1 ? l = new c.ctor(n, c.name, c.strings, this, t) : c.type === 6 && (l = new qe(n, this, t)), this._$AV.push(l), c = i[++a];
926
+ let h;
927
+ c.type === 2 ? h = new D(n, n.nextSibling, this, t) : c.type === 1 ? h = new c.ctor(n, c.name, c.strings, this, t) : c.type === 6 && (h = new qe(n, this, t)), this._$AV.push(h), c = i[++a];
928
928
  }
929
- o !== (c == null ? void 0 : c.index) && (n = S.nextNode(), o++);
929
+ o !== (c == null ? void 0 : c.index) && (n = x.nextNode(), o++);
930
930
  }
931
- return S.currentNode = E, s;
931
+ return x.currentNode = E, s;
932
932
  }
933
933
  p(t) {
934
934
  let e = 0;
@@ -1018,9 +1018,9 @@ class et {
1018
1018
  t = R(this, t, e, 0), o = !L(t) || t !== this._$AH && t !== P, o && (this._$AH = t);
1019
1019
  else {
1020
1020
  const a = t;
1021
- let c, l;
1021
+ let c, h;
1022
1022
  for (t = n[0], c = 0; c < n.length - 1; c++)
1023
- l = R(this, a[i + c], e, c), l === P && (l = this._$AH[c]), o || (o = !L(l) || l !== this._$AH[c]), l === d ? t = d : t !== d && (t += (l ?? "") + n[c + 1]), this._$AH[c] = l;
1023
+ h = R(this, a[i + c], e, c), h === P && (h = this._$AH[c]), o || (o = !L(h) || h !== this._$AH[c]), h === d ? t = d : t !== d && (t += (h ?? "") + n[c + 1]), this._$AH[c] = h;
1024
1024
  }
1025
1025
  o && !s && this.j(t);
1026
1026
  }
@@ -1070,8 +1070,8 @@ class qe {
1070
1070
  R(this, t);
1071
1071
  }
1072
1072
  }
1073
- const lt = j.litHtmlPolyfillSupport;
1074
- lt == null || lt(H, D), (j.litHtmlVersions ?? (j.litHtmlVersions = [])).push("3.1.2");
1073
+ const ht = j.litHtmlPolyfillSupport;
1074
+ ht == null || ht(H, D), (j.litHtmlVersions ?? (j.litHtmlVersions = [])).push("3.1.2");
1075
1075
  const Ve = (r, t, e) => {
1076
1076
  const i = (e == null ? void 0 : e.renderBefore) ?? t;
1077
1077
  let s = i._$litPart$;
@@ -1113,8 +1113,8 @@ let $ = class extends O {
1113
1113
  };
1114
1114
  var Kt;
1115
1115
  $._$litElement$ = !0, $.finalized = !0, (Kt = globalThis.litElementHydrateSupport) == null || Kt.call(globalThis, { LitElement: $ });
1116
- const ht = globalThis.litElementPolyfillSupport;
1117
- ht == null || ht({ LitElement: $ });
1116
+ const lt = globalThis.litElementPolyfillSupport;
1117
+ lt == null || lt({ LitElement: $ });
1118
1118
  (globalThis.litElementVersions ?? (globalThis.litElementVersions = [])).push("4.0.4");
1119
1119
  /**
1120
1120
  * @license
@@ -1243,7 +1243,7 @@ const k = (r, t) => {
1243
1243
  break;
1244
1244
  e = t._$AN, e.delete(r), r = t;
1245
1245
  } while ((e == null ? void 0 : e.size) === 0);
1246
- }, le = (r) => {
1246
+ }, he = (r) => {
1247
1247
  for (let t; t = r._$AM; r = t) {
1248
1248
  let e = t._$AN;
1249
1249
  if (e === void 0)
@@ -1254,7 +1254,7 @@ const k = (r, t) => {
1254
1254
  }
1255
1255
  };
1256
1256
  function ti(r) {
1257
- this._$AN !== void 0 ? (X(this), this._$AM = r, le(this)) : this._$AM = r;
1257
+ this._$AN !== void 0 ? (X(this), this._$AM = r, he(this)) : this._$AM = r;
1258
1258
  }
1259
1259
  function ei(r, t = !1, e = 0) {
1260
1260
  const i = this._$AH, s = this._$AN;
@@ -1271,12 +1271,12 @@ function ei(r, t = !1, e = 0) {
1271
1271
  const ii = (r) => {
1272
1272
  r.type == wt.CHILD && (r._$AP ?? (r._$AP = ei), r._$AQ ?? (r._$AQ = ti));
1273
1273
  };
1274
- class he extends ce {
1274
+ class le extends ce {
1275
1275
  constructor() {
1276
1276
  super(...arguments), this._$AN = void 0;
1277
1277
  }
1278
1278
  _$AT(t, e, i) {
1279
- super._$AT(t, e, i), le(this), this.isConnected = t._$AU;
1279
+ super._$AT(t, e, i), he(this), this.isConnected = t._$AU;
1280
1280
  }
1281
1281
  _$AO(t, e = !0) {
1282
1282
  var i, s;
@@ -1320,7 +1320,7 @@ const pt = /* @__PURE__ */ new Map(), Wt = /* @__PURE__ */ new WeakSet(), Ft = (
1320
1320
  const i = qt(r, t);
1321
1321
  return { value: i, overrideFrom: e, transform: i == null || isNaN(i) ? void 0 : `scaleY(${i})` };
1322
1322
  } }, ni = { duration: 333, easing: "ease-in-out" }, oi = ["left", "top", "width", "height", "opacity", "color", "background"], Vt = /* @__PURE__ */ new WeakMap();
1323
- class ai extends he {
1323
+ class ai extends le {
1324
1324
  constructor(t) {
1325
1325
  if (super(t), this.t = !1, this.i = null, this.o = null, this.h = !0, this.shouldLog = !1, t.type === wt.CHILD)
1326
1326
  throw Error("The `animate` directive must be used in attribute position.");
@@ -1464,15 +1464,15 @@ class ai extends he {
1464
1464
  let o = !1;
1465
1465
  const a = {};
1466
1466
  for (const c in e) {
1467
- const l = t[c], h = e[c];
1467
+ const h = t[c], l = e[c];
1468
1468
  if (c in dt) {
1469
1469
  const p = dt[c];
1470
- if (l === void 0 || h === void 0)
1470
+ if (h === void 0 || l === void 0)
1471
1471
  continue;
1472
- const f = p(l, h);
1472
+ const f = p(h, l);
1473
1473
  f.transform !== void 0 && (a[c] = f.value, o = !0, s.transform = `${s.transform ?? ""} ${f.transform}`, f.overrideFrom !== void 0 && Object.assign(s, f.overrideFrom));
1474
1474
  } else
1475
- l !== h && l !== void 0 && h !== void 0 && (o = !0, s[c] = l, n[c] = h);
1475
+ h !== l && h !== void 0 && l !== void 0 && (o = !0, s[c] = h, n[c] = l);
1476
1476
  }
1477
1477
  return s.transformOrigin = n.transformOrigin = i ? "center center" : "top left", this.animatingProperties = a, o ? [s, n] : void 0;
1478
1478
  }
@@ -1499,13 +1499,13 @@ class ai extends he {
1499
1499
  this.shouldLog && !this.isDisabled() && console.log(t, this.options.id, e);
1500
1500
  }
1501
1501
  }
1502
- const ci = At(ai), li = { 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 ci = At(ai), hi = { 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 hi = At(class extends ce {
1508
+ const li = At(class extends ce {
1509
1509
  constructor(r) {
1510
1510
  var t;
1511
1511
  if (super(r), r.type !== wt.ATTRIBUTE || r.name !== "class" || ((t = r.strings) == null ? void 0 : t.length) > 2)
@@ -1557,7 +1557,7 @@ const hi = At(class extends ce {
1557
1557
  const de = () => new pi();
1558
1558
  class pi {
1559
1559
  }
1560
- const ut = /* @__PURE__ */ new WeakMap(), ue = At(class extends he {
1560
+ const ut = /* @__PURE__ */ new WeakMap(), ue = At(class extends le {
1561
1561
  render(r) {
1562
1562
  return d;
1563
1563
  }
@@ -1612,20 +1612,20 @@ class A extends $ {
1612
1612
  (t = this.application) != null && t.settings && pe(this.application.settings.branding, this);
1613
1613
  }
1614
1614
  async _renderSymbol() {
1615
- var a, c, l;
1615
+ var a, c, h;
1616
1616
  const t = (a = this.application) == null ? void 0 : a.branding(), e = (c = t == null ? void 0 : t.graphics) == null ? void 0 : c.trigger;
1617
1617
  if (e)
1618
1618
  return T` <img src=${e} class="trigger-icon" alt="" /> `;
1619
- const i = (l = this.application) == null ? void 0 : l.triggerIcon;
1619
+ const i = (h = this.application) == null ? void 0 : h.triggerIcon;
1620
1620
  if (!i)
1621
1621
  return d;
1622
- const s = async (h) => li, { type: n, content: o } = i;
1622
+ const s = async (l) => hi, { type: n, content: o } = i;
1623
1623
  switch (n) {
1624
1624
  case "Telia": {
1625
- const h = await s();
1626
- return h ? T`<telia-icon
1625
+ const l = await s();
1626
+ return l ? T`<telia-icon
1627
1627
  class="trigger-icon"
1628
- svg=${h.svg}
1628
+ svg=${l.svg}
1629
1629
  size="lg"
1630
1630
  ></telia-icon>` : d;
1631
1631
  }
@@ -1654,7 +1654,7 @@ class A extends $ {
1654
1654
 
1655
1655
  <button
1656
1656
  label="Widget trigger"
1657
- class=${hi({
1657
+ class=${li({
1658
1658
  trigger: !0,
1659
1659
  active: this.active,
1660
1660
  rendered: this.loaded
@@ -1812,7 +1812,7 @@ rt([
1812
1812
  rt([
1813
1813
  z()
1814
1814
  ], A.prototype, "icon", 2);
1815
- var fi = Object.defineProperty, gi = Object.getOwnPropertyDescriptor, x = (r, t, e, i) => {
1815
+ var fi = Object.defineProperty, gi = Object.getOwnPropertyDescriptor, S = (r, t, e, i) => {
1816
1816
  for (var s = i > 1 ? void 0 : i ? gi(t, e) : t, n = r.length - 1, o; n >= 0; n--)
1817
1817
  (o = r[n]) && (s = (i ? o(t, e, s) : o(s)) || s);
1818
1818
  return i && s && fi(t, e, s), s;
@@ -1856,19 +1856,19 @@ const mi = (r) => {
1856
1856
  box-sizing: border-box;
1857
1857
  }
1858
1858
  `
1859
- ], x([
1859
+ ], S([
1860
1860
  m()
1861
- ], t.prototype, "properties", 2), x([
1861
+ ], t.prototype, "properties", 2), S([
1862
1862
  m()
1863
- ], t.prototype, "context", 2), x([
1863
+ ], t.prototype, "context", 2), S([
1864
1864
  m()
1865
- ], t.prototype, "layout", 2), x([
1865
+ ], t.prototype, "layout", 2), S([
1866
1866
  m()
1867
- ], t.prototype, "name", 2), x([
1867
+ ], t.prototype, "name", 2), S([
1868
1868
  m()
1869
- ], t.prototype, "type", 2), x([
1869
+ ], t.prototype, "type", 2), S([
1870
1870
  m({ attribute: !1 })
1871
- ], t.prototype, "application", 2), x([
1871
+ ], t.prototype, "application", 2), S([
1872
1872
  m({ attribute: !1 })
1873
1873
  ], t.prototype, "parent", 2), t;
1874
1874
  };
@@ -1940,23 +1940,15 @@ st.styles = U`
1940
1940
  --spacing-lg: 1.2rem;
1941
1941
  --spacing-xl: 1.8rem;
1942
1942
 
1943
- --inverted-spacing-lg: -1.2rem;
1944
-
1945
1943
  --text-color: #222222;
1946
1944
  --link-color: #990ae3;
1947
1945
  --gray-color: #f3f3f8;
1948
- --white-color: #fff;
1949
1946
  --gray-dark-color: #a6a6a6;
1950
- --destructive-color: #e4175c;
1951
1947
 
1952
1948
  --box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
1953
1949
  --border-radius: var(--spacing-sm);
1954
1950
  --border-radius-sm: var(--spacing-sm);
1955
- --border-radius-lg: var(--spacing-lg);
1956
- --border-radius-xl: var(--spacing-xl);
1957
1951
  --gap: var(--spacing-sm);
1958
-
1959
- --header-height: 69px;
1960
1952
  }
1961
1953
  :host {
1962
1954
  --voca-rem-multiplier: 0.625;
@@ -2048,19 +2040,19 @@ class _i {
2048
2040
  this.root.application = e;
2049
2041
  const i = (a) => {
2050
2042
  if (Array.isArray(a)) {
2051
- const [c, ...l] = a;
2043
+ const [c, ...h] = a;
2052
2044
  return {
2053
2045
  definitionId: c,
2054
- overrides: l
2046
+ overrides: h
2055
2047
  };
2056
2048
  }
2057
2049
  return {
2058
2050
  definitionId: a,
2059
2051
  overrides: []
2060
2052
  };
2061
- }, s = (a, c, l, h) => {
2062
- l.forEach((p) => {
2063
- const f = i(p), u = h[f.definitionId];
2053
+ }, s = (a, c, h, l) => {
2054
+ h.forEach((p) => {
2055
+ const f = i(p), u = l[f.definitionId];
2064
2056
  if (!u) {
2065
2057
  console.error(
2066
2058
  `No definition found for component type '${f.definitionId}'.`
@@ -2072,7 +2064,7 @@ class _i {
2072
2064
  a,
2073
2065
  g,
2074
2066
  u.children,
2075
- h
2067
+ l
2076
2068
  // views
2077
2069
  ));
2078
2070
  });
@@ -2260,7 +2252,7 @@ const Ii = (r) => new Q(r), me = class {
2260
2252
  };
2261
2253
  let Q = me;
2262
2254
  Q.endpoint = "https://widgets.ace.teliacompany.net/api";
2263
- class xi {
2255
+ class Si {
2264
2256
  constructor() {
2265
2257
  this.applications = [], this.container = new Rt("environment", this), setTimeout(() => {
2266
2258
  this.notifyWidgetsOfCreation();
@@ -2296,7 +2288,7 @@ class xi {
2296
2288
  }), this;
2297
2289
  }
2298
2290
  }
2299
- class Si {
2291
+ class xi {
2300
2292
  constructor(t) {
2301
2293
  this.configurations = [], this.httpClient = new Q(), this.httpClient = new Q(), typeof t == "string" ? this.url = t : (t.httpClient && (this.httpClient = t.httpClient), this.loadFromConfig(t));
2302
2294
  }
@@ -2323,7 +2315,7 @@ class Si {
2323
2315
  }
2324
2316
  async bootstrap(t) {
2325
2317
  var e;
2326
- this.url && await this.load(this.url), this.environment = new xi(), this.addGlobal(this.environment);
2318
+ this.url && await this.load(this.url), this.environment = new Si(), this.addGlobal(this.environment);
2327
2319
  for await (const i of this.configurations) {
2328
2320
  const s = await this.httpClient.getWidget(i.widgetId);
2329
2321
  s && ((e = this.environment) == null || e.registerApp(
@@ -2344,7 +2336,7 @@ class Si {
2344
2336
  globalThis.widgets = t;
2345
2337
  }
2346
2338
  }
2347
- var Ei = Object.defineProperty, Pi = Object.getOwnPropertyDescriptor, xt = (r, t, e, i) => {
2339
+ var Ei = Object.defineProperty, Pi = Object.getOwnPropertyDescriptor, St = (r, t, e, i) => {
2348
2340
  for (var s = i > 1 ? void 0 : i ? Pi(t, e) : t, n = r.length - 1, o; n >= 0; n--)
2349
2341
  (o = r[n]) && (s = (i ? o(t, e, s) : o(s)) || s);
2350
2342
  return i && s && Ei(t, e, s), s;
@@ -2388,13 +2380,13 @@ W.styles = [
2388
2380
  }
2389
2381
  `
2390
2382
  ];
2391
- xt([
2383
+ St([
2392
2384
  m({ attribute: !0 })
2393
2385
  ], W.prototype, "name", 2);
2394
- xt([
2386
+ St([
2395
2387
  z()
2396
2388
  ], W.prototype, "widget", 2);
2397
- xt([
2389
+ St([
2398
2390
  z()
2399
2391
  ], W.prototype, "status", 2);
2400
2392
  customElements.get("ace-trigger-slot") || customElements.define("ace-trigger-slot", it);
@@ -2403,15 +2395,15 @@ customElements.get("ace-unresolved-component") || customElements.define("ace-unr
2403
2395
  customElements.get("ace-wrapper") || customElements.define("ace-wrapper", st);
2404
2396
  customElements.get("ace-widget") || customElements.define("ace-widget", W);
2405
2397
  const Ni = async (r, t) => {
2406
- await new Si(r).bootstrap(t);
2398
+ await new xi(r).bootstrap(t);
2407
2399
  };
2408
2400
  export {
2409
2401
  W as AceWidget,
2410
2402
  Ci as Application,
2411
2403
  Rt as Container,
2412
- xi as Environment,
2404
+ Si as Environment,
2413
2405
  Q as HttpClient,
2414
- Si as Site,
2406
+ xi as Site,
2415
2407
  wi as StorageService,
2416
2408
  A as Trigger,
2417
2409
  mi as WidgetComponent,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@telia-ace/widget-core-flamingo",
3
- "version": "1.1.66-rc.0",
3
+ "version": "1.1.66-rc.1",
4
4
  "dependencies": {
5
5
  "lit": "^3.0.2",
6
6
  "@teliads/icons": "^8.4.0",