@telia-ace/widget-components-widget-header-flamingo 1.1.22-rc.1 → 1.1.22

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.js CHANGED
@@ -1 +1 @@
1
- "use strict";const r=async e=>{e.registerComponent("widget-header",Promise.resolve().then(()=>require("./widget-header-4f40115e.js")))};module.exports=r;
1
+ "use strict";const r=async e=>{e.registerComponent("widget-header",Promise.resolve().then(()=>require("./widget-header-e87544a8.js")))};module.exports=r;
package/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  const t = async (e) => {
2
- e.registerComponent("widget-header", import("./widget-header-8883c6f7.mjs"));
2
+ e.registerComponent("widget-header", import("./widget-header-7e0456da.mjs"));
3
3
  };
4
4
  export {
5
5
  t as default
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@telia-ace/widget-components-widget-header-flamingo",
3
- "version": "1.1.22-rc.1",
3
+ "version": "1.1.22",
4
4
  "dependencies": {
5
5
  "lit": "^3.0.2",
6
- "@telia-ace/widget-core-flamingo": "1.1.22-rc.1"
6
+ "@telia-ace/widget-core-flamingo": "1.1.22"
7
7
  },
8
8
  "main": "./index.js",
9
9
  "module": "./index.mjs",
@@ -1247,14 +1247,14 @@ customElements.get("ace-widget") || customElements.define("ace-widget", z);
1247
1247
  const Pt = Et(f);
1248
1248
  class fe extends Pt {
1249
1249
  render() {
1250
- var s;
1251
- const t = this.application.branding(), e = (s = t == null ? void 0 : t.graphics) == null ? void 0 : s.logotype;
1250
+ var n;
1251
+ const t = this.application.branding(), e = (n = t == null ? void 0 : t.graphics) == null ? void 0 : n.logotype, i = this.application.texts.get("widget-header.header", "ACE Widget");
1252
1252
  return v` <div class="widget-header">
1253
1253
  <!-- <telia-icon svg={aiRobot.svg} size="lg"></telia-icon> -->
1254
1254
  ${e ? v` <img src=${e} class="logotype" alt="" />` : h}
1255
1255
 
1256
1256
  <div>
1257
- <h1>${this.properties.header}</h1>
1257
+ <h1>${i}</h1>
1258
1258
 
1259
1259
  ${this.properties.tagline ? v`<p>${this.properties.tagline}</p>` : h}
1260
1260
  </div>
@@ -268,12 +268,12 @@
268
268
  :host {
269
269
  display: block;
270
270
  }
271
- `];it([g({attribute:!0})],z.prototype,"name",2);it([L()],z.prototype,"widget",2);it([L()],z.prototype,"status",2);customElements.get("ace-trigger")||customElements.define("ace-trigger",E);customElements.get("ace-unresolved-component")||customElements.define("ace-unresolved-component",St);customElements.get("ace-wrapper")||customElements.define("ace-wrapper",st);customElements.get("ace-widget")||customElements.define("ace-widget",z);const Tt=Ct(f);class rt extends Tt{render(){var s;const t=this.application.branding(),e=(s=t==null?void 0:t.graphics)==null?void 0:s.logotype;return v` <div class="widget-header">
271
+ `];it([g({attribute:!0})],z.prototype,"name",2);it([L()],z.prototype,"widget",2);it([L()],z.prototype,"status",2);customElements.get("ace-trigger")||customElements.define("ace-trigger",E);customElements.get("ace-unresolved-component")||customElements.define("ace-unresolved-component",St);customElements.get("ace-wrapper")||customElements.define("ace-wrapper",st);customElements.get("ace-widget")||customElements.define("ace-widget",z);const Tt=Ct(f);class rt extends Tt{render(){var n;const t=this.application.branding(),e=(n=t==null?void 0:t.graphics)==null?void 0:n.logotype,i=this.application.texts.get("widget-header.header","ACE Widget");return v` <div class="widget-header">
272
272
  <!-- <telia-icon svg={aiRobot.svg} size="lg"></telia-icon> -->
273
273
  ${e?v` <img src=${e} class="logotype" alt="" />`:h}
274
274
 
275
275
  <div>
276
- <h1>${this.properties.header}</h1>
276
+ <h1>${i}</h1>
277
277
 
278
278
  ${this.properties.tagline?v`<p>${this.properties.tagline}</p>`:h}
279
279
  </div>