@vaadin/master-detail-layout 25.2.0-alpha2 → 25.2.0-alpha3
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/master-detail-layout",
|
|
3
|
-
"version": "25.2.0-
|
|
3
|
+
"version": "25.2.0-alpha3",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -34,16 +34,16 @@
|
|
|
34
34
|
"web-component"
|
|
35
35
|
],
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@vaadin/a11y-base": "25.2.0-
|
|
38
|
-
"@vaadin/component-base": "25.2.0-
|
|
39
|
-
"@vaadin/vaadin-themable-mixin": "25.2.0-
|
|
37
|
+
"@vaadin/a11y-base": "25.2.0-alpha3",
|
|
38
|
+
"@vaadin/component-base": "25.2.0-alpha3",
|
|
39
|
+
"@vaadin/vaadin-themable-mixin": "25.2.0-alpha3",
|
|
40
40
|
"lit": "^3.0.0"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@vaadin/aura": "25.2.0-
|
|
44
|
-
"@vaadin/chai-plugins": "25.2.0-
|
|
43
|
+
"@vaadin/aura": "25.2.0-alpha3",
|
|
44
|
+
"@vaadin/chai-plugins": "25.2.0-alpha3",
|
|
45
45
|
"@vaadin/testing-helpers": "^2.0.0",
|
|
46
|
-
"@vaadin/vaadin-lumo-styles": "25.2.0-
|
|
46
|
+
"@vaadin/vaadin-lumo-styles": "25.2.0-alpha3",
|
|
47
47
|
"sinon": "^21.0.2"
|
|
48
48
|
},
|
|
49
49
|
"customElements": "custom-elements.json",
|
|
@@ -51,5 +51,5 @@
|
|
|
51
51
|
"web-types.json",
|
|
52
52
|
"web-types.lit.json"
|
|
53
53
|
],
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "6ba3d66b9eeb541945dc071e72e05dac2d4c3e0b"
|
|
55
55
|
}
|
|
@@ -650,7 +650,7 @@ class MasterDetailLayout extends ElementMixin(ThemableMixin(PolylitMixin(LitElem
|
|
|
650
650
|
* @private
|
|
651
651
|
*/
|
|
652
652
|
__animate(element, keyframes, options) {
|
|
653
|
-
const animation = element.animate(keyframes, options);
|
|
653
|
+
const animation = element.animate(keyframes, { ...options, fill: 'forwards' });
|
|
654
654
|
|
|
655
655
|
this.__activeAnimations = this.__activeAnimations || [];
|
|
656
656
|
this.__activeAnimations.push(animation);
|
|
@@ -670,6 +670,10 @@ class MasterDetailLayout extends ElementMixin(ThemableMixin(PolylitMixin(LitElem
|
|
|
670
670
|
}
|
|
671
671
|
this.removeAttribute('transition');
|
|
672
672
|
this.__clearOutgoing();
|
|
673
|
+
// Cancel any pending ResizeObserver rAF that captured stale state
|
|
674
|
+
// during the animation — _finishTransition already applied the
|
|
675
|
+
// correct post-transition state synchronously.
|
|
676
|
+
cancelAnimationFrame(this.__resizeRaf);
|
|
673
677
|
if (this.__transitionResolve) {
|
|
674
678
|
this.__transitionResolve();
|
|
675
679
|
this.__transitionResolve = null;
|
package/web-types.json
CHANGED
package/web-types.lit.json
CHANGED