@webqit/webflo 0.20.48 → 0.20.49
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
|
@@ -1074,19 +1074,19 @@ export class ModalElement extends BaseElement {
|
|
|
1074
1074
|
|
|
1075
1075
|
/* ----------- swipe-dismiss ----------- */
|
|
1076
1076
|
|
|
1077
|
-
:host(
|
|
1077
|
+
:host(:not(._horz)) {
|
|
1078
1078
|
--swipe-dismiss-length: var(--modal-swipe-dismiss-length, calc(var(--view-height) - var(--minmax-length)));
|
|
1079
1079
|
}
|
|
1080
1080
|
|
|
1081
|
-
:host(.
|
|
1081
|
+
:host(._horz) {
|
|
1082
1082
|
--swipe-dismiss-length: var(--modal-swipe-dismiss-length, calc(var(--view-width) - var(--minmax-length)));
|
|
1083
1083
|
}
|
|
1084
1084
|
|
|
1085
|
-
:host(
|
|
1085
|
+
:host(:not(._top:not(._horz), ._left._horz)) {
|
|
1086
1086
|
--swipe-dismiss-progress-range: 0% var(--swipe-dismiss-length);
|
|
1087
1087
|
}
|
|
1088
1088
|
|
|
1089
|
-
:host(
|
|
1089
|
+
:host(:is(._top:not(._horz), ._left._horz)) {
|
|
1090
1090
|
--swipe-dismiss-progress-range:
|
|
1091
1091
|
calc(100% - var(--swipe-dismiss-length))
|
|
1092
1092
|
100%;
|
|
@@ -1322,7 +1322,7 @@ export class ModalElement extends BaseElement {
|
|
|
1322
1322
|
--scroll-snap-end: start;
|
|
1323
1323
|
}
|
|
1324
1324
|
|
|
1325
|
-
|
|
1325
|
+
:host(:not(._horz)) .view {
|
|
1326
1326
|
scroll-snap-type: y mandatory;
|
|
1327
1327
|
}
|
|
1328
1328
|
|