@telia-ace/widget-components-copyright-flamingo 1.1.120-rc.21 → 1.1.120-rc.23

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.
@@ -66,23 +66,25 @@
66
66
  class="trigger-icon"
67
67
  svg=${l.svg}
68
68
  size="lg"
69
- ></telia-icon>`:u}default:return u}}hideTrigger(){this.triggerVisible=!1}showTrigger(){this.triggerVisible=!0}render(){var t,e,i,r;return C`<div
69
+ ></telia-icon>`:u}default:return u}}hideTrigger(){this.triggerVisible=!1}showTrigger(){this.triggerVisible=!0}render(){var t,e,i,r,n,o,a;return C`<div
70
70
  class=${ee({"trigger-container":!0,hidden:!this.triggerVisible})}
71
71
  ${xe(this.containerRef)}
72
72
  >
73
73
  ${!this.active&&((r=(i=(e=(t=this.application)==null?void 0:t.settings)==null?void 0:e.branding)==null?void 0:i.other)!=null&&r.showButtonLabel)?C`
74
74
  <button
75
- label="${this.application.settings.branding.other.buttonLabelText??"Widget trigger"}"
75
+ type="button"
76
+ aria-label="${this.application.settings.branding.other.buttonLabelText??"Widget trigger"}"
76
77
  class="trigger-label"
77
78
  @click=${this.toggleActive}
78
79
  ${vi({keyframeOptions:{},in:ui,stabilizeOut:!0,skipInitial:!1})}
79
80
  >
80
- ${this.application.settings.branding.other.buttonLabelText}
81
+ ${this.application.settings.branding.other.buttonLabelText??"Widget trigger"}
81
82
  </button>
82
83
  `:u}
83
84
 
84
85
  <button
85
- label="Widget trigger"
86
+ type="button"
87
+ aria-label="${((a=(o=(n=this.application)==null?void 0:n.settings)==null?void 0:o.branding.other)==null?void 0:a.buttonLabelText)??"Widget trigger"}"
86
88
  class=${ee({trigger:!0,active:this.active,rendered:this.loaded})}
87
89
  @click=${this.toggleActive}
88
90
  >
@@ -1575,7 +1575,7 @@ const Pt = class Pt extends m {
1575
1575
  this.triggerVisible = !0;
1576
1576
  }
1577
1577
  render() {
1578
- var t, e, i, r;
1578
+ var t, e, i, r, n, o, a;
1579
1579
  return C`<div
1580
1580
  class=${te({
1581
1581
  "trigger-container": !0,
@@ -1585,7 +1585,8 @@ const Pt = class Pt extends m {
1585
1585
  >
1586
1586
  ${!this.active && ((r = (i = (e = (t = this.application) == null ? void 0 : t.settings) == null ? void 0 : e.branding) == null ? void 0 : i.other) != null && r.showButtonLabel) ? C`
1587
1587
  <button
1588
- label="${this.application.settings.branding.other.buttonLabelText ?? "Widget trigger"}"
1588
+ type="button"
1589
+ aria-label="${this.application.settings.branding.other.buttonLabelText ?? "Widget trigger"}"
1589
1590
  class="trigger-label"
1590
1591
  @click=${this.toggleActive}
1591
1592
  ${vi({
@@ -1595,12 +1596,13 @@ const Pt = class Pt extends m {
1595
1596
  skipInitial: !1
1596
1597
  })}
1597
1598
  >
1598
- ${this.application.settings.branding.other.buttonLabelText}
1599
+ ${this.application.settings.branding.other.buttonLabelText ?? "Widget trigger"}
1599
1600
  </button>
1600
1601
  ` : u}
1601
1602
 
1602
1603
  <button
1603
- label="Widget trigger"
1604
+ type="button"
1605
+ aria-label="${((a = (o = (n = this.application) == null ? void 0 : n.settings) == null ? void 0 : o.branding.other) == null ? void 0 : a.buttonLabelText) ?? "Widget trigger"}"
1604
1606
  class=${te({
1605
1607
  trigger: !0,
1606
1608
  active: this.active,
package/index.js CHANGED
@@ -1 +1 @@
1
- "use strict";const o=async e=>{e.registerComponent("copyright",Promise.resolve().then(()=>require("./copyright-gkNqZDJi.js")))};module.exports=o;
1
+ "use strict";const o=async e=>{e.registerComponent("copyright",Promise.resolve().then(()=>require("./copyright-6oPMtLDA.js")))};module.exports=o;
package/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  const t = async (o) => {
2
- o.registerComponent("copyright", import("./copyright-j9upsQZJ.mjs"));
2
+ o.registerComponent("copyright", import("./copyright-BQ3I9EcM.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-copyright-flamingo",
3
- "version": "1.1.120-rc.21",
3
+ "version": "1.1.120-rc.23",
4
4
  "dependencies": {
5
5
  "lit": "^3.0.2",
6
- "@telia-ace/widget-core-flamingo": "1.1.120-rc.21"
6
+ "@telia-ace/widget-core-flamingo": "1.1.120-rc.23"
7
7
  },
8
8
  "main": "./index.js",
9
9
  "module": "./index.mjs",