@telia-ace/widget-components-area-flamingo 1.1.21 → 1.1.22-rc.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1118,23 +1118,34 @@ st.styles = P`
1118
1118
  display: block;
1119
1119
  }
1120
1120
 
1121
- :host(.floating) {
1121
+ :host(.inline) {
1122
+ height: 100%;
1122
1123
  position: fixed;
1124
+ inset: 0 0 0 0;
1125
+ }
1126
+
1127
+ :host(.floating) {
1123
1128
  z-index: 6;
1124
- inset: auto 20px 95px auto;
1125
- max-height: calc(100vh - 120px);
1126
- width: 400px;
1127
- height: 700px;
1129
+ position: fixed;
1130
+ }
1131
+ @media screen and (max-width: 800px) {
1132
+ :host(.floating) {
1133
+ inset: 0 0 95px 0;
1134
+ }
1135
+ }
1136
+ @media screen and (min-width: 801px) {
1137
+ :host(.floating) {
1138
+ inset: auto 20px 95px auto;
1139
+ max-height: calc(100vh - 120px);
1140
+ width: 400px;
1141
+ height: 700px;
1142
+ }
1128
1143
  }
1144
+
1129
1145
  :host(.floating) .widget-container {
1130
1146
  box-shadow: rgba(0, 0, 0, 0.16) 0px 5px 40px;
1131
1147
  border-radius: 0.7rem;
1132
1148
  }
1133
- :host(.inline) {
1134
- height: 100%;
1135
- position: fixed;
1136
- inset: 0 0 0 0;
1137
- }
1138
1149
 
1139
1150
  * {
1140
1151
  box-sizing: border-box;
@@ -199,23 +199,34 @@
199
199
  display: block;
200
200
  }
201
201
 
202
- :host(.floating) {
202
+ :host(.inline) {
203
+ height: 100%;
203
204
  position: fixed;
205
+ inset: 0 0 0 0;
206
+ }
207
+
208
+ :host(.floating) {
204
209
  z-index: 6;
205
- inset: auto 20px 95px auto;
206
- max-height: calc(100vh - 120px);
207
- width: 400px;
208
- height: 700px;
210
+ position: fixed;
211
+ }
212
+ @media screen and (max-width: 800px) {
213
+ :host(.floating) {
214
+ inset: 0 0 95px 0;
215
+ }
216
+ }
217
+ @media screen and (min-width: 801px) {
218
+ :host(.floating) {
219
+ inset: auto 20px 95px auto;
220
+ max-height: calc(100vh - 120px);
221
+ width: 400px;
222
+ height: 700px;
223
+ }
209
224
  }
225
+
210
226
  :host(.floating) .widget-container {
211
227
  box-shadow: rgba(0, 0, 0, 0.16) 0px 5px 40px;
212
228
  border-radius: 0.7rem;
213
229
  }
214
- :host(.inline) {
215
- height: 100%;
216
- position: fixed;
217
- inset: 0 0 0 0;
218
- }
219
230
 
220
231
  * {
221
232
  box-sizing: border-box;
package/index.js CHANGED
@@ -1 +1 @@
1
- "use strict";const r=async e=>{e.registerComponent("area",Promise.resolve().then(()=>require("./area-d6192162.js")))};module.exports=r;
1
+ "use strict";const r=async e=>{e.registerComponent("area",Promise.resolve().then(()=>require("./area-f305c00f.js")))};module.exports=r;
package/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  const o = async (e) => {
2
- e.registerComponent("area", import("./area-e69cf83e.mjs"));
2
+ e.registerComponent("area", import("./area-916940ea.mjs"));
3
3
  };
4
4
  export {
5
5
  o as default
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@telia-ace/widget-components-area-flamingo",
3
- "version": "1.1.21",
3
+ "version": "1.1.22-rc.1",
4
4
  "dependencies": {
5
- "@telia-ace/widget-core-flamingo": "1.1.21",
5
+ "@telia-ace/widget-core-flamingo": "1.1.22-rc.1",
6
6
  "lit": "^3.0.2"
7
7
  },
8
8
  "main": "./index.js",