@telia-ace/widget-components-area-flamingo 1.1.70-rc.17 → 1.1.70-rc.19
Sign up to get free protection for your applications and to get access to all the features.
@@ -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
|
`;$i([g({attribute:!1}),mi({context:_i})],At.prototype,"application",2);var wi=Object.defineProperty,Ai=Object.getOwnPropertyDescriptor,xt=(s,t,e,i)=>{for(var r=i>1?void 0:i?Ai(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&&wi(t,e,r),r};class z 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()}}z.styles=[E`
|
368
374
|
:host {
|
@@ -2089,6 +2089,7 @@ At.styles = E`
|
|
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 @@ At.styles = E`
|
|
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 @@ At.styles = E`
|
|
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
|
bi([
|
package/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";const r=async e=>{e.registerComponent("area",Promise.resolve().then(()=>require("./area-
|
1
|
+
"use strict";const r=async e=>{e.registerComponent("area",Promise.resolve().then(()=>require("./area-75e86f4f.js")))};module.exports=r;
|
package/index.mjs
CHANGED
package/package.json
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
{
|
2
2
|
"name": "@telia-ace/widget-components-area-flamingo",
|
3
|
-
"version": "1.1.70-rc.
|
3
|
+
"version": "1.1.70-rc.19",
|
4
4
|
"dependencies": {
|
5
|
-
"@telia-ace/widget-core-flamingo": "1.1.70-rc.
|
5
|
+
"@telia-ace/widget-core-flamingo": "1.1.70-rc.19",
|
6
6
|
"lit": "^3.0.2"
|
7
7
|
},
|
8
8
|
"main": "./index.js",
|