@vaadin/app-layout 23.3.0-alpha2 → 24.0.0-alpha1

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/app-layout",
3
- "version": "23.3.0-alpha2",
3
+ "version": "24.0.0-alpha1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -36,15 +36,15 @@
36
36
  ],
37
37
  "dependencies": {
38
38
  "@polymer/polymer": "^3.0.0",
39
- "@vaadin/button": "23.3.0-alpha2",
40
- "@vaadin/component-base": "23.3.0-alpha2",
41
- "@vaadin/vaadin-lumo-styles": "23.3.0-alpha2",
42
- "@vaadin/vaadin-material-styles": "23.3.0-alpha2",
43
- "@vaadin/vaadin-themable-mixin": "23.3.0-alpha2"
39
+ "@vaadin/button": "24.0.0-alpha1",
40
+ "@vaadin/component-base": "24.0.0-alpha1",
41
+ "@vaadin/vaadin-lumo-styles": "24.0.0-alpha1",
42
+ "@vaadin/vaadin-material-styles": "24.0.0-alpha1",
43
+ "@vaadin/vaadin-themable-mixin": "24.0.0-alpha1"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@esm-bundle/chai": "^4.3.4",
47
- "@vaadin/tabs": "23.3.0-alpha2",
47
+ "@vaadin/tabs": "24.0.0-alpha1",
48
48
  "@vaadin/testing-helpers": "^0.3.2",
49
49
  "sinon": "^13.0.2"
50
50
  },
@@ -52,5 +52,5 @@
52
52
  "web-types.json",
53
53
  "web-types.lit.json"
54
54
  ],
55
- "gitHead": "ae61027c62ffa7f7d70cfc50e43f333addfc74b6"
55
+ "gitHead": "427527c27c4b27822d61fd41d38d7b170134770b"
56
56
  }
@@ -451,6 +451,13 @@ class AppLayout extends ElementMixin(ThemableMixin(ControllerMixin(PolymerElemen
451
451
  this._updateDrawerSize();
452
452
  this._updateOverlayMode();
453
453
 
454
+ this._navbarSizeObserver = new ResizeObserver(() => {
455
+ this._blockAnimationUntilAfterNextRender();
456
+ this._updateOffsetSize();
457
+ });
458
+ this._navbarSizeObserver.observe(this.$.navbarTop);
459
+ this._navbarSizeObserver.observe(this.$.navbarBottom);
460
+
454
461
  window.addEventListener('close-overlay-drawer', this.__closeOverlayDrawerListener);
455
462
  }
456
463
 
package/web-types.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/app-layout",
4
- "version": "23.3.0-alpha2",
4
+ "version": "24.0.0-alpha1",
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/app-layout",
4
- "version": "23.3.0-alpha2",
4
+ "version": "24.0.0-alpha1",
5
5
  "description-markup": "markdown",
6
6
  "framework": "lit",
7
7
  "framework-config": {