@telia-ace/widget-conversation-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.
- package/index.js +6 -4
- package/index.mjs +6 -4
- package/package.json +2 -2
package/index.js
CHANGED
@@ -66,23 +66,25 @@
|
|
66
66
|
class="trigger-icon"
|
67
67
|
svg=${u.svg}
|
68
68
|
size="lg"
|
69
|
-
></telia-icon>`:x}default:return x}}hideTrigger(){this.triggerVisible=!1}showTrigger(){this.triggerVisible=!0}render(){var e,t,s,r;return w`<div
|
69
|
+
></telia-icon>`:x}default:return x}}hideTrigger(){this.triggerVisible=!1}showTrigger(){this.triggerVisible=!0}render(){var e,t,s,r,i,o,a;return w`<div
|
70
70
|
class=${rt({"trigger-container":!0,hidden:!this.triggerVisible})}
|
71
71
|
${oe(this.containerRef)}
|
72
72
|
>
|
73
73
|
${!this.active&&((r=(s=(t=(e=this.application)==null?void 0:e.settings)==null?void 0:t.branding)==null?void 0:s.other)!=null&&r.showButtonLabel)?w`
|
74
74
|
<button
|
75
|
-
|
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
|
${gs({keyframeOptions:{},in:Qc,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
|
`:x}
|
83
84
|
|
84
85
|
<button
|
85
|
-
|
86
|
+
type="button"
|
87
|
+
aria-label="${((a=(o=(i=this.application)==null?void 0:i.settings)==null?void 0:o.branding.other)==null?void 0:a.buttonLabelText)??"Widget trigger"}"
|
86
88
|
class=${rt({trigger:!0,active:this.active,rendered:this.loaded})}
|
87
89
|
@click=${this.toggleActive}
|
88
90
|
>
|
package/index.mjs
CHANGED
@@ -3178,7 +3178,7 @@ const Ks = class Ks extends M {
|
|
3178
3178
|
this.triggerVisible = !0;
|
3179
3179
|
}
|
3180
3180
|
render() {
|
3181
|
-
var e, t, s, r;
|
3181
|
+
var e, t, s, r, i, o, a;
|
3182
3182
|
return w`<div
|
3183
3183
|
class=${rt({
|
3184
3184
|
"trigger-container": !0,
|
@@ -3188,7 +3188,8 @@ const Ks = class Ks extends M {
|
|
3188
3188
|
>
|
3189
3189
|
${!this.active && ((r = (s = (t = (e = this.application) == null ? void 0 : e.settings) == null ? void 0 : t.branding) == null ? void 0 : s.other) != null && r.showButtonLabel) ? w`
|
3190
3190
|
<button
|
3191
|
-
|
3191
|
+
type="button"
|
3192
|
+
aria-label="${this.application.settings.branding.other.buttonLabelText ?? "Widget trigger"}"
|
3192
3193
|
class="trigger-label"
|
3193
3194
|
@click=${this.toggleActive}
|
3194
3195
|
${gs({
|
@@ -3198,12 +3199,13 @@ const Ks = class Ks extends M {
|
|
3198
3199
|
skipInitial: !1
|
3199
3200
|
})}
|
3200
3201
|
>
|
3201
|
-
${this.application.settings.branding.other.buttonLabelText}
|
3202
|
+
${this.application.settings.branding.other.buttonLabelText ?? "Widget trigger"}
|
3202
3203
|
</button>
|
3203
3204
|
` : x}
|
3204
3205
|
|
3205
3206
|
<button
|
3206
|
-
|
3207
|
+
type="button"
|
3208
|
+
aria-label="${((a = (o = (i = this.application) == null ? void 0 : i.settings) == null ? void 0 : o.branding.other) == null ? void 0 : a.buttonLabelText) ?? "Widget trigger"}"
|
3207
3209
|
class=${rt({
|
3208
3210
|
trigger: !0,
|
3209
3211
|
active: this.active,
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@telia-ace/widget-conversation-flamingo",
|
3
|
-
"version": "1.1.120-rc.
|
3
|
+
"version": "1.1.120-rc.23",
|
4
4
|
"publishConfig": {
|
5
5
|
"registry": "https://registry.npmjs.org"
|
6
6
|
},
|
@@ -9,7 +9,7 @@
|
|
9
9
|
"@lit-labs/motion": "^1.0.8",
|
10
10
|
"@teliads/icons": "^8.4.0",
|
11
11
|
"@teliads/components": "^22.1.1",
|
12
|
-
"@telia-ace/widget-core-flamingo": "1.1.120-rc.
|
12
|
+
"@telia-ace/widget-core-flamingo": "1.1.120-rc.23",
|
13
13
|
"lit-html": "^3.0.2",
|
14
14
|
"rxjs": "^7.8.2",
|
15
15
|
"marked": "^15.0.12",
|