@vaadin/overlay 25.3.0-alpha4 → 25.3.0-alpha5
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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/overlay",
|
|
3
|
-
"version": "25.3.0-
|
|
3
|
+
"version": "25.3.0-alpha5",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -34,19 +34,19 @@
|
|
|
34
34
|
],
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@open-wc/dedupe-mixin": "^1.3.0",
|
|
37
|
-
"@vaadin/a11y-base": "25.3.0-
|
|
38
|
-
"@vaadin/component-base": "25.3.0-
|
|
39
|
-
"@vaadin/vaadin-themable-mixin": "25.3.0-
|
|
37
|
+
"@vaadin/a11y-base": "25.3.0-alpha5",
|
|
38
|
+
"@vaadin/component-base": "25.3.0-alpha5",
|
|
39
|
+
"@vaadin/vaadin-themable-mixin": "25.3.0-alpha5",
|
|
40
40
|
"lit": "^3.0.0"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@vaadin/aura": "25.3.0-
|
|
44
|
-
"@vaadin/chai-plugins": "25.3.0-
|
|
45
|
-
"@vaadin/test-runner-commands": "25.3.0-
|
|
43
|
+
"@vaadin/aura": "25.3.0-alpha5",
|
|
44
|
+
"@vaadin/chai-plugins": "25.3.0-alpha5",
|
|
45
|
+
"@vaadin/test-runner-commands": "25.3.0-alpha5",
|
|
46
46
|
"@vaadin/testing-helpers": "^2.0.0",
|
|
47
|
-
"@vaadin/vaadin-lumo-styles": "25.3.0-
|
|
47
|
+
"@vaadin/vaadin-lumo-styles": "25.3.0-alpha5",
|
|
48
48
|
"sinon": "^22.0.0"
|
|
49
49
|
},
|
|
50
50
|
"customElements": "custom-elements.json",
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "0be2142cd8b95a562d58735033f947f7109103ab"
|
|
52
52
|
}
|
|
@@ -407,8 +407,12 @@ export const OverlayMixin = (superClass) =>
|
|
|
407
407
|
_shouldAnimate() {
|
|
408
408
|
const style = getComputedStyle(this);
|
|
409
409
|
const name = style.getPropertyValue('animation-name');
|
|
410
|
+
const hasDuration = style
|
|
411
|
+
.getPropertyValue('animation-duration')
|
|
412
|
+
.split(',')
|
|
413
|
+
.some((duration) => parseFloat(duration) > 0);
|
|
410
414
|
const hidden = style.getPropertyValue('display') === 'none';
|
|
411
|
-
return !hidden && name && name !== 'none';
|
|
415
|
+
return !hidden && name && name !== 'none' && hasDuration;
|
|
412
416
|
}
|
|
413
417
|
|
|
414
418
|
/**
|