@telia-ace/ace-chat-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.
Files changed (3) hide show
  1. package/index.js +6 -6
  2. package/index.mjs +6 -6
  3. package/package.json +3 -3
package/index.js CHANGED
@@ -67,7 +67,7 @@
67
67
  svg=${u.svg}
68
68
  size="lg"
69
69
  ></telia-icon>`:w}default:return w}}hideTrigger(){this.triggerVisible=!1}showTrigger(){this.triggerVisible=!0}render(){var e,t,i,s,r,o,a;return y`<div
70
- class=${wt({"trigger-container":!0,hidden:!this.triggerVisible})}
70
+ class=${wt({"trigger-container":!0,"ace-hidden":!this.triggerVisible})}
71
71
  ${be(this.containerRef)}
72
72
  >
73
73
  ${!this.active&&((s=(i=(t=(e=this.application)==null?void 0:e.settings)==null?void 0:t.branding)==null?void 0:i.other)!=null&&s.showButtonLabel)?y`
@@ -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 Zt=Rs;_a([k({attribute:!0})],Zt.prototype,"fullscreen");_a([k({attribute:!1}),dh({context:ae})],Zt.prototype,"application");var fh=Object.defineProperty,gs=(n,e,t,i)=>{for(var s=void 0,r=n.length-1,o;r>=0;r--)(o=n[r])&&(s=o(e,t,s)||s);return s&&fh(e,t,s),s};const Is=class Is extends A{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 w;if(this.widget.renderStrategy===fs.Trigger){const e=new Re;return e.application=this.widget,e}return this.widget.render()}};Is.styles=[L`
package/index.mjs CHANGED
@@ -3341,7 +3341,7 @@ const Os = class Os extends A {
3341
3341
  return y`<div
3342
3342
  class=${wt({
3343
3343
  "trigger-container": !0,
3344
- hidden: !this.triggerVisible
3344
+ "ace-hidden": !this.triggerVisible
3345
3345
  })}
3346
3346
  ${be(this.containerRef)}
3347
3347
  >
@@ -3425,7 +3425,7 @@ Os.styles = [
3425
3425
  gap: 1rem;
3426
3426
  }
3427
3427
 
3428
- .trigger-container.hidden {
3428
+ .trigger-container.ace-hidden {
3429
3429
  display: none;
3430
3430
  }
3431
3431
 
@@ -3984,19 +3984,19 @@ Rs.styles = L`
3984
3984
  }
3985
3985
  }
3986
3986
 
3987
- :host(.expanded) {
3987
+ :host(.ace-expanded) {
3988
3988
  opacity: 1;
3989
3989
  animation: slideUp 0.3s linear;
3990
3990
  }
3991
3991
 
3992
- :host(.hidden) {
3992
+ :host(.ace-hidden) {
3993
3993
  opacity: 0;
3994
3994
  animation: slideDown 0.3s linear;
3995
3995
  pointer-events: none;
3996
3996
  }
3997
3997
 
3998
- :host(.hidden.embedded),
3999
- :host(.expanded.embedded) {
3998
+ :host(.ace-hidden.embedded),
3999
+ :host(.ace-expanded.embedded) {
4000
4000
  animation: none;
4001
4001
  }
4002
4002
  `;
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@telia-ace/ace-chat-flamingo",
3
- "version": "1.1.123-rc.24",
3
+ "version": "1.1.123-rc.25",
4
4
  "dependencies": {
5
- "@telia-ace/widget-core-flamingo": "1.1.123-rc.24",
6
- "@telia-ace/widget-conversation-flamingo": "1.1.123-rc.24",
5
+ "@telia-ace/widget-core-flamingo": "1.1.123-rc.25",
6
+ "@telia-ace/widget-conversation-flamingo": "1.1.123-rc.25",
7
7
  "rxjs": "^7.8.2",
8
8
  "lit": "^3.0.2",
9
9
  "@teliads/icons": "^8.4.0",