@telia-ace/widget-conversation-flamingo 1.1.123-rc.24 → 1.1.123-rc.25
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 -6
- package/index.mjs +6 -6
- package/package.json +2 -2
package/index.js
CHANGED
@@ -67,7 +67,7 @@
|
|
67
67
|
svg=${u.svg}
|
68
68
|
size="lg"
|
69
69
|
></telia-icon>`:$}default:return $}}hideTrigger(){this.triggerVisible=!1}showTrigger(){this.triggerVisible=!0}render(){var e,t,s,r,i,o,a;return w`<div
|
70
|
-
class=${rt({"trigger-container":!0,hidden:!this.triggerVisible})}
|
70
|
+
class=${rt({"trigger-container":!0,"ace-hidden":!this.triggerVisible})}
|
71
71
|
${ae(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`
|
@@ -137,7 +137,7 @@
|
|
137
137
|
gap: 1rem;
|
138
138
|
}
|
139
139
|
|
140
|
-
.trigger-container.hidden {
|
140
|
+
.trigger-container.ace-hidden {
|
141
141
|
display: none;
|
142
142
|
}
|
143
143
|
|
@@ -446,19 +446,19 @@
|
|
446
446
|
}
|
447
447
|
}
|
448
448
|
|
449
|
-
:host(.expanded) {
|
449
|
+
:host(.ace-expanded) {
|
450
450
|
opacity: 1;
|
451
451
|
animation: slideUp 0.3s linear;
|
452
452
|
}
|
453
453
|
|
454
|
-
:host(.hidden) {
|
454
|
+
:host(.ace-hidden) {
|
455
455
|
opacity: 0;
|
456
456
|
animation: slideDown 0.3s linear;
|
457
457
|
pointer-events: none;
|
458
458
|
}
|
459
459
|
|
460
|
-
:host(.hidden.embedded),
|
461
|
-
:host(.expanded.embedded) {
|
460
|
+
:host(.ace-hidden.embedded),
|
461
|
+
:host(.ace-expanded.embedded) {
|
462
462
|
animation: none;
|
463
463
|
}
|
464
464
|
`;let At=Qs;Mo([C({attribute:!0})],At.prototype,"fullscreen");Mo([C({attribute:!1}),hu({context:No})],At.prototype,"application");var fu=Object.defineProperty,zs=(n,e,t,s)=>{for(var r=void 0,i=n.length-1,o;i>=0;i--)(o=n[i])&&(r=o(e,t,r)||r);return r&&fu(e,t,r),r};const Js=class Js extends N{constructor(){super(),this.status="deactivated",this.addEventListener("environment-created",this.onEnvironmentCreated)}async connectedCallback(){super.connectedCallback(),await this.getGlobalEnvironment()}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("environment-created",this.onEnvironmentCreated)}async onEnvironmentCreated(e){this.widget=e.detail.widget,await this.activate(),this.requestUpdate()}async activate(){this.widget&&(await this.widget.activate(),this.status="activated")}async getGlobalEnvironment(){const e=globalThis.widgets;e&&(this.widget=e.applications.find(t=>t.name===this.name),await this.activate())}render(){if(!this.widget||this.status!=="activated")return $;if(this.widget.renderStrategy===Us.Trigger){const e=new ye;return e.application=this.widget,e}return this.widget.render()}};Js.styles=[X`
|
package/index.mjs
CHANGED
@@ -3184,7 +3184,7 @@ const Xs = class Xs extends N {
|
|
3184
3184
|
return w`<div
|
3185
3185
|
class=${it({
|
3186
3186
|
"trigger-container": !0,
|
3187
|
-
hidden: !this.triggerVisible
|
3187
|
+
"ace-hidden": !this.triggerVisible
|
3188
3188
|
})}
|
3189
3189
|
${ae(this.containerRef)}
|
3190
3190
|
>
|
@@ -3268,7 +3268,7 @@ Xs.styles = [
|
|
3268
3268
|
gap: 1rem;
|
3269
3269
|
}
|
3270
3270
|
|
3271
|
-
.trigger-container.hidden {
|
3271
|
+
.trigger-container.ace-hidden {
|
3272
3272
|
display: none;
|
3273
3273
|
}
|
3274
3274
|
|
@@ -3828,19 +3828,19 @@ Ks.styles = X`
|
|
3828
3828
|
}
|
3829
3829
|
}
|
3830
3830
|
|
3831
|
-
:host(.expanded) {
|
3831
|
+
:host(.ace-expanded) {
|
3832
3832
|
opacity: 1;
|
3833
3833
|
animation: slideUp 0.3s linear;
|
3834
3834
|
}
|
3835
3835
|
|
3836
|
-
:host(.hidden) {
|
3836
|
+
:host(.ace-hidden) {
|
3837
3837
|
opacity: 0;
|
3838
3838
|
animation: slideDown 0.3s linear;
|
3839
3839
|
pointer-events: none;
|
3840
3840
|
}
|
3841
3841
|
|
3842
|
-
:host(.hidden.embedded),
|
3843
|
-
:host(.expanded.embedded) {
|
3842
|
+
:host(.ace-hidden.embedded),
|
3843
|
+
:host(.ace-expanded.embedded) {
|
3844
3844
|
animation: none;
|
3845
3845
|
}
|
3846
3846
|
`;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@telia-ace/widget-conversation-flamingo",
|
3
|
-
"version": "1.1.123-rc.
|
3
|
+
"version": "1.1.123-rc.25",
|
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.123-rc.
|
12
|
+
"@telia-ace/widget-core-flamingo": "1.1.123-rc.25",
|
13
13
|
"lit-html": "^3.0.2",
|
14
14
|
"rxjs": "^7.8.2",
|
15
15
|
"marked": "^15.0.12",
|