@vaadin/app-layout 24.3.0-beta1 → 24.3.0-rc1
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 +9 -9
- package/src/vaadin-app-layout.js +5 -1
- package/web-types.json +1 -1
- package/web-types.lit.json +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/app-layout",
|
|
3
|
-
"version": "24.3.0-
|
|
3
|
+
"version": "24.3.0-rc1",
|
|
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-
|
|
40
|
-
"@vaadin/button": "24.3.0-
|
|
41
|
-
"@vaadin/component-base": "24.3.0-
|
|
42
|
-
"@vaadin/vaadin-lumo-styles": "24.3.0-
|
|
43
|
-
"@vaadin/vaadin-material-styles": "24.3.0-
|
|
44
|
-
"@vaadin/vaadin-themable-mixin": "24.3.0-
|
|
39
|
+
"@vaadin/a11y-base": "24.3.0-rc1",
|
|
40
|
+
"@vaadin/button": "24.3.0-rc1",
|
|
41
|
+
"@vaadin/component-base": "24.3.0-rc1",
|
|
42
|
+
"@vaadin/vaadin-lumo-styles": "24.3.0-rc1",
|
|
43
|
+
"@vaadin/vaadin-material-styles": "24.3.0-rc1",
|
|
44
|
+
"@vaadin/vaadin-themable-mixin": "24.3.0-rc1"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@esm-bundle/chai": "^4.3.4",
|
|
48
|
-
"@vaadin/tabs": "24.3.0-
|
|
48
|
+
"@vaadin/tabs": "24.3.0-rc1",
|
|
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": "
|
|
56
|
+
"gitHead": "54430cfc0f52bb6fc17b0fc325b0d62e0e49c700"
|
|
57
57
|
}
|
package/src/vaadin-app-layout.js
CHANGED
|
@@ -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-
|
|
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