@webqit/webflo 0.20.49 → 0.20.51

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/package.json CHANGED
@@ -12,7 +12,7 @@
12
12
  "vanila-javascript"
13
13
  ],
14
14
  "homepage": "https://webqit.io/tooling/webflo",
15
- "version": "0.20.49",
15
+ "version": "0.20.51",
16
16
  "license": "MIT",
17
17
  "repository": {
18
18
  "type": "git",
@@ -1074,19 +1074,23 @@ export class ModalElement extends BaseElement {
1074
1074
 
1075
1075
  /* ----------- swipe-dismiss ----------- */
1076
1076
 
1077
- :host(:not(._horz)) {
1077
+ :host(:not(._swipe-dismiss)) {
1078
+ --swipe-dismiss-length: 0px;
1079
+ }
1080
+
1081
+ :host(._swipe-dismiss:not(._horz)) {
1078
1082
  --swipe-dismiss-length: var(--modal-swipe-dismiss-length, calc(var(--view-height) - var(--minmax-length)));
1079
1083
  }
1080
1084
 
1081
- :host(._horz) {
1085
+ :host(._swipe-dismiss._horz) {
1082
1086
  --swipe-dismiss-length: var(--modal-swipe-dismiss-length, calc(var(--view-width) - var(--minmax-length)));
1083
1087
  }
1084
1088
 
1085
- :host(:not(._top:not(._horz), ._left._horz)) {
1089
+ :host(._swipe-dismiss:not(._top:not(._horz), ._left._horz)) {
1086
1090
  --swipe-dismiss-progress-range: 0% var(--swipe-dismiss-length);
1087
1091
  }
1088
1092
 
1089
- :host(:is(._top:not(._horz), ._left._horz)) {
1093
+ :host(._swipe-dismiss:is(._top:not(._horz), ._left._horz)) {
1090
1094
  --swipe-dismiss-progress-range:
1091
1095
  calc(100% - var(--swipe-dismiss-length))
1092
1096
  100%;
@@ -1478,7 +1482,7 @@ export class ModalElement extends BaseElement {
1478
1482
  color: var(--footer-color-default);
1479
1483
  background: var(--footer-background);
1480
1484
 
1481
- z-index: 1;
1485
+ z-index: 3;
1482
1486
  }
1483
1487
 
1484
1488
  footer .footer-bar {