@telia-ace/widget-components-copyright-flamingo 1.1.70-rc.17 → 1.1.70-rc.19

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.
@@ -305,6 +305,7 @@
305
305
  @media screen and (max-width: 800px) {
306
306
  :host(.floating) {
307
307
  inset: 0 0 95px 0;
308
+ height: 100vh;
308
309
  }
309
310
  }
310
311
  @media screen and (min-width: 801px) {
@@ -325,6 +326,10 @@
325
326
  :host(.floating) .widget-container {
326
327
  box-shadow: rgba(0, 0, 0, 0.16) 0px 5px 40px;
327
328
  border-radius: 0.7rem;
329
+
330
+ @media screen and (max-width: 800px) {
331
+ border-radius: 0;
332
+ }
328
333
  }
329
334
 
330
335
  * {
@@ -363,6 +368,7 @@
363
368
  :host(.hidden) {
364
369
  opacity: 0;
365
370
  animation: slideDown 0.3s linear;
371
+ pointer-events: none;
366
372
  }
367
373
  `;wi([g({attribute:!1}),bi({context:Ci})],Ct.prototype,"application",2);var Ai=Object.defineProperty,xi=Object.getOwnPropertyDescriptor,At=(s,t,e,i)=>{for(var r=i>1?void 0:i?xi(t,e):t,n=s.length-1,o;n>=0;n--)(o=s[n])&&(r=(i?o(t,e,r):o(r))||r);return i&&r&&Ai(t,e,r),r};class V extends m{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(t){this.widget=t.detail.widget,await this.activate(),this.requestUpdate()}async activate(){this.widget&&(await this.widget.activate(),this.status="activated")}async getGlobalEnvironment(){const t=globalThis.widgets;t&&(this.widget=t.applications.find(e=>e.name===this.name),await this.activate())}render(){if(!this.widget||this.status!=="activated")return u;if(this.widget.renderStrategy===wt.Trigger){const t=new P;return t.application=this.widget,t}return this.widget.render()}}V.styles=[S`
368
374
  :host {
@@ -2089,6 +2089,7 @@ Ct.styles = S`
2089
2089
  @media screen and (max-width: 800px) {
2090
2090
  :host(.floating) {
2091
2091
  inset: 0 0 95px 0;
2092
+ height: 100vh;
2092
2093
  }
2093
2094
  }
2094
2095
  @media screen and (min-width: 801px) {
@@ -2109,6 +2110,10 @@ Ct.styles = S`
2109
2110
  :host(.floating) .widget-container {
2110
2111
  box-shadow: rgba(0, 0, 0, 0.16) 0px 5px 40px;
2111
2112
  border-radius: 0.7rem;
2113
+
2114
+ @media screen and (max-width: 800px) {
2115
+ border-radius: 0;
2116
+ }
2112
2117
  }
2113
2118
 
2114
2119
  * {
@@ -2147,6 +2152,7 @@ Ct.styles = S`
2147
2152
  :host(.hidden) {
2148
2153
  opacity: 0;
2149
2154
  animation: slideDown 0.3s linear;
2155
+ pointer-events: none;
2150
2156
  }
2151
2157
  `;
2152
2158
  _i([
package/index.js CHANGED
@@ -1 +1 @@
1
- "use strict";const o=async e=>{e.registerComponent("copyright",Promise.resolve().then(()=>require("./copyright-f9a362dc.js")))};module.exports=o;
1
+ "use strict";const o=async e=>{e.registerComponent("copyright",Promise.resolve().then(()=>require("./copyright-0a6afa8d.js")))};module.exports=o;
package/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  const t = async (o) => {
2
- o.registerComponent("copyright", import("./copyright-ac7c4a22.mjs"));
2
+ o.registerComponent("copyright", import("./copyright-d24382ca.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.70-rc.17",
3
+ "version": "1.1.70-rc.19",
4
4
  "dependencies": {
5
5
  "lit": "^3.0.2",
6
- "@telia-ace/widget-core-flamingo": "1.1.70-rc.17"
6
+ "@telia-ace/widget-core-flamingo": "1.1.70-rc.19"
7
7
  },
8
8
  "main": "./index.js",
9
9
  "module": "./index.mjs",