@vaadin/app-layout 24.3.0-alpha9 → 24.3.0-beta2

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": "24.3.0-alpha9",
3
+ "version": "24.3.0-beta2",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -36,16 +36,16 @@
36
36
  ],
37
37
  "dependencies": {
38
38
  "@polymer/polymer": "^3.0.0",
39
- "@vaadin/a11y-base": "24.3.0-alpha9",
40
- "@vaadin/button": "24.3.0-alpha9",
41
- "@vaadin/component-base": "24.3.0-alpha9",
42
- "@vaadin/vaadin-lumo-styles": "24.3.0-alpha9",
43
- "@vaadin/vaadin-material-styles": "24.3.0-alpha9",
44
- "@vaadin/vaadin-themable-mixin": "24.3.0-alpha9"
39
+ "@vaadin/a11y-base": "24.3.0-beta2",
40
+ "@vaadin/button": "24.3.0-beta2",
41
+ "@vaadin/component-base": "24.3.0-beta2",
42
+ "@vaadin/vaadin-lumo-styles": "24.3.0-beta2",
43
+ "@vaadin/vaadin-material-styles": "24.3.0-beta2",
44
+ "@vaadin/vaadin-themable-mixin": "24.3.0-beta2"
45
45
  },
46
46
  "devDependencies": {
47
47
  "@esm-bundle/chai": "^4.3.4",
48
- "@vaadin/tabs": "24.3.0-alpha9",
48
+ "@vaadin/tabs": "24.3.0-beta2",
49
49
  "@vaadin/testing-helpers": "^0.6.0",
50
50
  "sinon": "^13.0.2"
51
51
  },
@@ -53,5 +53,5 @@
53
53
  "web-types.json",
54
54
  "web-types.lit.json"
55
55
  ],
56
- "gitHead": "ea39f40613cb73b237d08d4c48b890ee7d1844cb"
56
+ "gitHead": "0bbfb24cb8dcd6e1dca8ecf2269635efac53e4d0"
57
57
  }
@@ -139,7 +139,7 @@ class AppLayout extends ElementMixin(ThemableMixin(ControllerMixin(PolymerElemen
139
139
  }
140
140
 
141
141
  :host([drawer-opened]) {
142
- --vaadin-app-layout-drawer-offset-left: var(--_vaadin-app-layout-drawer-width);
142
+ --vaadin-app-layout-drawer-offset-left: var(--_vaadin-app-layout-drawer-offset-size);
143
143
  }
144
144
 
145
145
  :host([overlay]) {
@@ -589,8 +589,12 @@ class AppLayout extends ElementMixin(ThemableMixin(ControllerMixin(PolymerElemen
589
589
  const navbarBottom = this.$.navbarBottom;
590
590
  const navbarBottomRect = navbarBottom.getBoundingClientRect();
591
591
 
592
+ const drawer = this.$.drawer;
593
+ const drawerRect = drawer.getBoundingClientRect();
594
+
592
595
  this.style.setProperty('--_vaadin-app-layout-navbar-offset-size', `${navbarRect.height}px`);
593
596
  this.style.setProperty('--_vaadin-app-layout-navbar-offset-size-bottom', `${navbarBottomRect.height}px`);
597
+ this.style.setProperty('--_vaadin-app-layout-drawer-offset-size', `${drawerRect.width}px`);
594
598
  }
595
599
 
596
600
  /** @protected */
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": "24.3.0-alpha9",
4
+ "version": "24.3.0-beta2",
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": "24.3.0-alpha9",
4
+ "version": "24.3.0-beta2",
5
5
  "description-markup": "markdown",
6
6
  "framework": "lit",
7
7
  "framework-config": {