@telia-ace/widget-side-menu 1.1.120-rc.3 → 1.1.120-rc.30

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 n=async e=>{e.registerComponent("side-menu",Promise.resolve().then(()=>require("./side-menu-BwjiNYds.js")))};module.exports=n;
1
+ "use strict";const n=async e=>{e.registerComponent("side-menu",Promise.resolve().then(()=>require("./side-menu-u5fCeYxR.js")))};module.exports=n;
package/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  const n = async (e) => {
2
- e.registerComponent("side-menu", import("./side-menu-n6R0ZrvD.mjs"));
2
+ e.registerComponent("side-menu", import("./side-menu-BmJrm50f.mjs"));
3
3
  };
4
4
  export {
5
5
  n as default
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@telia-ace/widget-side-menu",
3
- "version": "1.1.120-rc.3",
3
+ "version": "1.1.120-rc.30",
4
4
  "dependencies": {
5
5
  "lit": "^3.0.2",
6
6
  "rxjs": "^7.8.2",
7
- "@telia-ace/widget-core-flamingo": "1.1.120-rc.3",
7
+ "@telia-ace/widget-core-flamingo": "1.1.120-rc.30",
8
8
  "@teliads/components": "^22.1.1",
9
9
  "@lit-labs/motion": "^1.0.8",
10
10
  "lit-html": "^3.0.2"
@@ -2118,7 +2118,7 @@ const ge = class ge extends x {
2118
2118
  this.triggerVisible = !0;
2119
2119
  }
2120
2120
  render() {
2121
- var t, e, s, r;
2121
+ var t, e, s, r, n, o, a;
2122
2122
  return k`<div
2123
2123
  class=${Fe({
2124
2124
  "trigger-container": !0,
@@ -2128,7 +2128,8 @@ const ge = class ge extends x {
2128
2128
  >
2129
2129
  ${!this.active && ((r = (s = (e = (t = this.application) == null ? void 0 : t.settings) == null ? void 0 : e.branding) == null ? void 0 : s.other) != null && r.showButtonLabel) ? k`
2130
2130
  <button
2131
- label="${this.application.settings.branding.other.buttonLabelText ?? "Widget trigger"}"
2131
+ type="button"
2132
+ aria-label="${this.application.settings.branding.other.buttonLabelText ?? "Widget trigger"}"
2132
2133
  class="trigger-label"
2133
2134
  @click=${this.toggleActive}
2134
2135
  ${Ui({
@@ -2138,12 +2139,13 @@ const ge = class ge extends x {
2138
2139
  skipInitial: !1
2139
2140
  })}
2140
2141
  >
2141
- ${this.application.settings.branding.other.buttonLabelText}
2142
+ ${this.application.settings.branding.other.buttonLabelText ?? "Widget trigger"}
2142
2143
  </button>
2143
2144
  ` : p}
2144
2145
 
2145
2146
  <button
2146
- label="Widget trigger"
2147
+ type="button"
2148
+ 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"}"
2147
2149
  class=${Fe({
2148
2150
  trigger: !0,
2149
2151
  active: this.active,
@@ -66,23 +66,25 @@
66
66
  class="trigger-icon"
67
67
  svg=${u.svg}
68
68
  size="lg"
69
- ></telia-icon>`:p}default:return p}}hideTrigger(){this.triggerVisible=!1}showTrigger(){this.triggerVisible=!0}render(){var t,e,s,r;return k`<div
69
+ ></telia-icon>`:p}default:return p}}hideTrigger(){this.triggerVisible=!1}showTrigger(){this.triggerVisible=!0}render(){var t,e,s,r,n,o,a;return k`<div
70
70
  class=${Fe({"trigger-container":!0,hidden:!this.triggerVisible})}
71
71
  ${le(this.containerRef)}
72
72
  >
73
73
  ${!this.active&&((r=(s=(e=(t=this.application)==null?void 0:t.settings)==null?void 0:e.branding)==null?void 0:s.other)!=null&&r.showButtonLabel)?k`
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
  ${Ui({keyframeOptions:{},in:dr,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
  `:p}
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=${Fe({trigger:!0,active:this.active,rendered:this.loaded})}
87
89
  @click=${this.toggleActive}
88
90
  >