@vaadin/master-detail-layout 24.8.4 → 24.8.5

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": "24.8.4",
3
+ "version": "24.8.5",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -34,15 +34,15 @@
34
34
  "web-component"
35
35
  ],
36
36
  "dependencies": {
37
- "@vaadin/a11y-base": "~24.8.4",
38
- "@vaadin/component-base": "~24.8.4",
39
- "@vaadin/vaadin-lumo-styles": "~24.8.4",
40
- "@vaadin/vaadin-material-styles": "~24.8.4",
41
- "@vaadin/vaadin-themable-mixin": "~24.8.4",
37
+ "@vaadin/a11y-base": "~24.8.5",
38
+ "@vaadin/component-base": "~24.8.5",
39
+ "@vaadin/vaadin-lumo-styles": "~24.8.5",
40
+ "@vaadin/vaadin-material-styles": "~24.8.5",
41
+ "@vaadin/vaadin-themable-mixin": "~24.8.5",
42
42
  "lit": "^3.0.0"
43
43
  },
44
44
  "devDependencies": {
45
- "@vaadin/chai-plugins": "~24.8.4",
45
+ "@vaadin/chai-plugins": "~24.8.5",
46
46
  "@vaadin/testing-helpers": "^1.1.0",
47
47
  "sinon": "^18.0.0"
48
48
  },
@@ -50,5 +50,5 @@
50
50
  "web-types.json",
51
51
  "web-types.lit.json"
52
52
  ],
53
- "gitHead": "849e54e967563080a685965e2dced02060b3ab23"
53
+ "gitHead": "a519b0d2b1d09d1ddaa4ff6829819f8a2be30ad8"
54
54
  }
@@ -673,8 +673,10 @@ class MasterDetailLayout extends SlotStylesMixin(ResizeMixin(ElementMixin(Themab
673
673
  * @protected
674
674
  */
675
675
  async _finishTransition() {
676
- // Detect new layout mode after DOM has been updated
677
- this.__detectLayoutMode();
676
+ // Detect new layout mode after DOM has been updated.
677
+ // The detection is wrapped in queueMicroTask in order to allow custom Lit elements to render before measurement.
678
+ // https://github.com/vaadin/web-components/issues/8969
679
+ queueMicrotask(() => this.__detectLayoutMode());
678
680
 
679
681
  if (!this.__transition) {
680
682
  return Promise.resolve();
package/web-types.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/master-detail-layout",
4
- "version": "24.8.4",
4
+ "version": "24.8.5",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/master-detail-layout",
4
- "version": "24.8.4",
4
+ "version": "24.8.5",
5
5
  "description-markup": "markdown",
6
6
  "framework": "lit",
7
7
  "framework-config": {