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

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 +8 -0
  2. package/index.mjs +87 -79
  3. package/package.json +1 -1
package/index.js CHANGED
@@ -247,15 +247,23 @@
247
247
  --spacing-lg: 1.2rem;
248
248
  --spacing-xl: 1.8rem;
249
249
 
250
+ --inverted-spacing-lg: -1.2rem;
251
+
250
252
  --text-color: #222222;
251
253
  --link-color: #990ae3;
252
254
  --gray-color: #f3f3f8;
255
+ --white-color: #fff;
253
256
  --gray-dark-color: #a6a6a6;
257
+ --destructive-color: #e4175c;
254
258
 
255
259
  --box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
256
260
  --border-radius: var(--spacing-sm);
257
261
  --border-radius-sm: var(--spacing-sm);
262
+ --border-radius-lg: var(--spacing-lg);
263
+ --border-radius-xl: var(--spacing-xl);
258
264
  --gap: var(--spacing-sm);
265
+
266
+ --header-height: 69px;
259
267
  }
260
268
  :host {
261
269
  --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 h = c.value;
94
- h.remove(this);
93
+ var l = c.value;
94
+ l.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 l = this.initialTeardown;
109
- if (b(l))
108
+ var h = this.initialTeardown;
109
+ if (b(h))
110
110
  try {
111
- l();
111
+ h();
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
- xt(g);
122
+ St(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
- xt(t);
145
+ St(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 xt(r) {
174
+ function St(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 = xe(t) ? t : new yt(t, e, i);
328
+ var s = this, n = Se(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 Se(r) {
384
+ function xe(r) {
385
385
  return r && b(r.next) && b(r.error) && b(r.complete);
386
386
  }
387
- function xe(r) {
388
- return r && r instanceof Qt || Se(r) && Jt(r);
387
+ function Se(r) {
388
+ return r && r instanceof Qt || xe(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 (h) {
418
- s = { error: h };
417
+ } catch (l) {
418
+ s = { error: l };
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(), x = 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(), S = 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 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);
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);
853
853
  const u = o === C && r[a + 1].startsWith("/>") ? " " : "";
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);
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);
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, [h, l] = De(t, e);
864
- if (this.el = H.createElement(h, i), x.currentNode = this.el.content, e === 2) {
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) {
865
865
  const p = this.el.content.firstChild;
866
866
  p.replaceWith(...p.childNodes);
867
867
  }
868
- for (; (s = x.nextNode()) !== null && c.length < a; ) {
868
+ for (; (s = S.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 = l[o++], u = s.getAttribute(p).split(_), g = /([.?@])?(.*)/.exec(f);
873
+ const f = h[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()), x.nextNode(), c.push({ type: 2, index: ++n });
882
+ s.append(p[u], M()), S.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
- x.currentNode = s;
923
- let n = x.nextNode(), o = 0, a = 0, c = i[0];
922
+ S.currentNode = s;
923
+ let n = S.nextNode(), o = 0, a = 0, c = i[0];
924
924
  for (; c !== void 0; ) {
925
925
  if (o === c.index) {
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];
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];
928
928
  }
929
- o !== (c == null ? void 0 : c.index) && (n = x.nextNode(), o++);
929
+ o !== (c == null ? void 0 : c.index) && (n = S.nextNode(), o++);
930
930
  }
931
- return x.currentNode = E, s;
931
+ return S.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, h;
1021
+ let c, l;
1022
1022
  for (t = n[0], c = 0; c < n.length - 1; c++)
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;
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;
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 ht = j.litHtmlPolyfillSupport;
1074
- ht == null || ht(H, D), (j.litHtmlVersions ?? (j.litHtmlVersions = [])).push("3.1.2");
1073
+ const lt = j.litHtmlPolyfillSupport;
1074
+ lt == null || lt(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 lt = globalThis.litElementPolyfillSupport;
1117
- lt == null || lt({ LitElement: $ });
1116
+ const ht = globalThis.litElementPolyfillSupport;
1117
+ ht == null || ht({ 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
- }, he = (r) => {
1246
+ }, le = (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, he(this)) : this._$AM = r;
1257
+ this._$AN !== void 0 ? (X(this), this._$AM = r, le(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 le extends ce {
1274
+ class he 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), he(this), this.isConnected = t._$AU;
1279
+ super._$AT(t, e, i), le(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 le {
1323
+ class ai extends he {
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 le {
1464
1464
  let o = !1;
1465
1465
  const a = {};
1466
1466
  for (const c in e) {
1467
- const h = t[c], l = e[c];
1467
+ const l = t[c], h = e[c];
1468
1468
  if (c in dt) {
1469
1469
  const p = dt[c];
1470
- if (h === void 0 || l === void 0)
1470
+ if (l === void 0 || h === void 0)
1471
1471
  continue;
1472
- const f = p(h, l);
1472
+ const f = p(l, h);
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
- h !== l && h !== void 0 && l !== void 0 && (o = !0, s[c] = h, n[c] = l);
1475
+ l !== h && l !== void 0 && h !== void 0 && (o = !0, s[c] = l, n[c] = h);
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 le {
1499
1499
  this.shouldLog && !this.isDisabled() && console.log(t, this.options.id, e);
1500
1500
  }
1501
1501
  }
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>' };
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>' };
1503
1503
  /**
1504
1504
  * @license
1505
1505
  * Copyright 2018 Google LLC
1506
1506
  * SPDX-License-Identifier: BSD-3-Clause
1507
1507
  */
1508
- const li = At(class extends ce {
1508
+ const hi = 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 li = 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 le {
1560
+ const ut = /* @__PURE__ */ new WeakMap(), ue = At(class extends he {
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, h;
1615
+ var a, c, l;
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 = (h = this.application) == null ? void 0 : h.triggerIcon;
1619
+ const i = (l = this.application) == null ? void 0 : l.triggerIcon;
1620
1620
  if (!i)
1621
1621
  return d;
1622
- const s = async (l) => hi, { type: n, content: o } = i;
1622
+ const s = async (h) => li, { type: n, content: o } = i;
1623
1623
  switch (n) {
1624
1624
  case "Telia": {
1625
- const l = await s();
1626
- return l ? T`<telia-icon
1625
+ const h = await s();
1626
+ return h ? T`<telia-icon
1627
1627
  class="trigger-icon"
1628
- svg=${l.svg}
1628
+ svg=${h.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=${li({
1657
+ class=${hi({
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, S = (r, t, e, i) => {
1815
+ var fi = Object.defineProperty, gi = Object.getOwnPropertyDescriptor, x = (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
- ], S([
1859
+ ], x([
1860
1860
  m()
1861
- ], t.prototype, "properties", 2), S([
1861
+ ], t.prototype, "properties", 2), x([
1862
1862
  m()
1863
- ], t.prototype, "context", 2), S([
1863
+ ], t.prototype, "context", 2), x([
1864
1864
  m()
1865
- ], t.prototype, "layout", 2), S([
1865
+ ], t.prototype, "layout", 2), x([
1866
1866
  m()
1867
- ], t.prototype, "name", 2), S([
1867
+ ], t.prototype, "name", 2), x([
1868
1868
  m()
1869
- ], t.prototype, "type", 2), S([
1869
+ ], t.prototype, "type", 2), x([
1870
1870
  m({ attribute: !1 })
1871
- ], t.prototype, "application", 2), S([
1871
+ ], t.prototype, "application", 2), x([
1872
1872
  m({ attribute: !1 })
1873
1873
  ], t.prototype, "parent", 2), t;
1874
1874
  };
@@ -1940,15 +1940,23 @@ st.styles = U`
1940
1940
  --spacing-lg: 1.2rem;
1941
1941
  --spacing-xl: 1.8rem;
1942
1942
 
1943
+ --inverted-spacing-lg: -1.2rem;
1944
+
1943
1945
  --text-color: #222222;
1944
1946
  --link-color: #990ae3;
1945
1947
  --gray-color: #f3f3f8;
1948
+ --white-color: #fff;
1946
1949
  --gray-dark-color: #a6a6a6;
1950
+ --destructive-color: #e4175c;
1947
1951
 
1948
1952
  --box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
1949
1953
  --border-radius: var(--spacing-sm);
1950
1954
  --border-radius-sm: var(--spacing-sm);
1955
+ --border-radius-lg: var(--spacing-lg);
1956
+ --border-radius-xl: var(--spacing-xl);
1951
1957
  --gap: var(--spacing-sm);
1958
+
1959
+ --header-height: 69px;
1952
1960
  }
1953
1961
  :host {
1954
1962
  --voca-rem-multiplier: 0.625;
@@ -2040,19 +2048,19 @@ class _i {
2040
2048
  this.root.application = e;
2041
2049
  const i = (a) => {
2042
2050
  if (Array.isArray(a)) {
2043
- const [c, ...h] = a;
2051
+ const [c, ...l] = a;
2044
2052
  return {
2045
2053
  definitionId: c,
2046
- overrides: h
2054
+ overrides: l
2047
2055
  };
2048
2056
  }
2049
2057
  return {
2050
2058
  definitionId: a,
2051
2059
  overrides: []
2052
2060
  };
2053
- }, s = (a, c, h, l) => {
2054
- h.forEach((p) => {
2055
- const f = i(p), u = l[f.definitionId];
2061
+ }, s = (a, c, l, h) => {
2062
+ l.forEach((p) => {
2063
+ const f = i(p), u = h[f.definitionId];
2056
2064
  if (!u) {
2057
2065
  console.error(
2058
2066
  `No definition found for component type '${f.definitionId}'.`
@@ -2064,7 +2072,7 @@ class _i {
2064
2072
  a,
2065
2073
  g,
2066
2074
  u.children,
2067
- l
2075
+ h
2068
2076
  // views
2069
2077
  ));
2070
2078
  });
@@ -2252,7 +2260,7 @@ const Ii = (r) => new Q(r), me = class {
2252
2260
  };
2253
2261
  let Q = me;
2254
2262
  Q.endpoint = "https://widgets.ace.teliacompany.net/api";
2255
- class Si {
2263
+ class xi {
2256
2264
  constructor() {
2257
2265
  this.applications = [], this.container = new Rt("environment", this), setTimeout(() => {
2258
2266
  this.notifyWidgetsOfCreation();
@@ -2288,7 +2296,7 @@ class Si {
2288
2296
  }), this;
2289
2297
  }
2290
2298
  }
2291
- class xi {
2299
+ class Si {
2292
2300
  constructor(t) {
2293
2301
  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));
2294
2302
  }
@@ -2315,7 +2323,7 @@ class xi {
2315
2323
  }
2316
2324
  async bootstrap(t) {
2317
2325
  var e;
2318
- this.url && await this.load(this.url), this.environment = new Si(), this.addGlobal(this.environment);
2326
+ this.url && await this.load(this.url), this.environment = new xi(), this.addGlobal(this.environment);
2319
2327
  for await (const i of this.configurations) {
2320
2328
  const s = await this.httpClient.getWidget(i.widgetId);
2321
2329
  s && ((e = this.environment) == null || e.registerApp(
@@ -2336,7 +2344,7 @@ class xi {
2336
2344
  globalThis.widgets = t;
2337
2345
  }
2338
2346
  }
2339
- var Ei = Object.defineProperty, Pi = Object.getOwnPropertyDescriptor, St = (r, t, e, i) => {
2347
+ var Ei = Object.defineProperty, Pi = Object.getOwnPropertyDescriptor, xt = (r, t, e, i) => {
2340
2348
  for (var s = i > 1 ? void 0 : i ? Pi(t, e) : t, n = r.length - 1, o; n >= 0; n--)
2341
2349
  (o = r[n]) && (s = (i ? o(t, e, s) : o(s)) || s);
2342
2350
  return i && s && Ei(t, e, s), s;
@@ -2380,13 +2388,13 @@ W.styles = [
2380
2388
  }
2381
2389
  `
2382
2390
  ];
2383
- St([
2391
+ xt([
2384
2392
  m({ attribute: !0 })
2385
2393
  ], W.prototype, "name", 2);
2386
- St([
2394
+ xt([
2387
2395
  z()
2388
2396
  ], W.prototype, "widget", 2);
2389
- St([
2397
+ xt([
2390
2398
  z()
2391
2399
  ], W.prototype, "status", 2);
2392
2400
  customElements.get("ace-trigger-slot") || customElements.define("ace-trigger-slot", it);
@@ -2395,15 +2403,15 @@ customElements.get("ace-unresolved-component") || customElements.define("ace-unr
2395
2403
  customElements.get("ace-wrapper") || customElements.define("ace-wrapper", st);
2396
2404
  customElements.get("ace-widget") || customElements.define("ace-widget", W);
2397
2405
  const Ni = async (r, t) => {
2398
- await new xi(r).bootstrap(t);
2406
+ await new Si(r).bootstrap(t);
2399
2407
  };
2400
2408
  export {
2401
2409
  W as AceWidget,
2402
2410
  Ci as Application,
2403
2411
  Rt as Container,
2404
- Si as Environment,
2412
+ xi as Environment,
2405
2413
  Q as HttpClient,
2406
- xi as Site,
2414
+ Si as Site,
2407
2415
  wi as StorageService,
2408
2416
  A as Trigger,
2409
2417
  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.65-rc.0",
3
+ "version": "1.1.66-rc.0",
4
4
  "dependencies": {
5
5
  "lit": "^3.0.2",
6
6
  "@teliads/icons": "^8.4.0",