@vaadin/app-layout 25.3.0-alpha8 → 25.3.0-beta1
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 +10 -10
- package/src/vaadin-app-layout-mixin.js +6 -10
- 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": "25.3.0-
|
|
3
|
+
"version": "25.3.0-beta1",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -35,18 +35,18 @@
|
|
|
35
35
|
],
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@open-wc/dedupe-mixin": "^1.3.0",
|
|
38
|
-
"@vaadin/a11y-base": "25.3.0-
|
|
39
|
-
"@vaadin/button": "25.3.0-
|
|
40
|
-
"@vaadin/component-base": "25.3.0-
|
|
41
|
-
"@vaadin/vaadin-themable-mixin": "25.3.0-
|
|
38
|
+
"@vaadin/a11y-base": "25.3.0-beta1",
|
|
39
|
+
"@vaadin/button": "25.3.0-beta1",
|
|
40
|
+
"@vaadin/component-base": "25.3.0-beta1",
|
|
41
|
+
"@vaadin/vaadin-themable-mixin": "25.3.0-beta1",
|
|
42
42
|
"lit": "^3.0.0"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@vaadin/aura": "25.3.0-
|
|
46
|
-
"@vaadin/chai-plugins": "25.3.0-
|
|
47
|
-
"@vaadin/test-runner-commands": "25.3.0-
|
|
45
|
+
"@vaadin/aura": "25.3.0-beta1",
|
|
46
|
+
"@vaadin/chai-plugins": "25.3.0-beta1",
|
|
47
|
+
"@vaadin/test-runner-commands": "25.3.0-beta1",
|
|
48
48
|
"@vaadin/testing-helpers": "^2.0.0",
|
|
49
|
-
"@vaadin/vaadin-lumo-styles": "25.3.0-
|
|
49
|
+
"@vaadin/vaadin-lumo-styles": "25.3.0-beta1",
|
|
50
50
|
"sinon": "^22.0.0"
|
|
51
51
|
},
|
|
52
52
|
"customElements": "custom-elements.json",
|
|
@@ -54,5 +54,5 @@
|
|
|
54
54
|
"web-types.json",
|
|
55
55
|
"web-types.lit.json"
|
|
56
56
|
],
|
|
57
|
-
"gitHead": "
|
|
57
|
+
"gitHead": "295432e44a6967e1aff36462b2e3e1d0e64eb8cc"
|
|
58
58
|
}
|
|
@@ -154,6 +154,8 @@ export const AppLayoutMixin = (superclass) =>
|
|
|
154
154
|
this.addController(this.__focusTrapController);
|
|
155
155
|
this.__setAriaExpanded();
|
|
156
156
|
|
|
157
|
+
this.__updateDrawerSize();
|
|
158
|
+
|
|
157
159
|
this.$.drawer.addEventListener('transitionstart', () => {
|
|
158
160
|
this.__isDrawerAnimating = true;
|
|
159
161
|
});
|
|
@@ -503,17 +505,11 @@ export const AppLayoutMixin = (superclass) =>
|
|
|
503
505
|
});
|
|
504
506
|
}
|
|
505
507
|
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
} else {
|
|
509
|
-
this.$.navbarTop.removeAttribute('hidden');
|
|
510
|
-
}
|
|
508
|
+
const hasNavbar = this.$.navbarTop.querySelector('[name=navbar]').assignedNodes().length > 0;
|
|
509
|
+
this.$.navbarTop.toggleAttribute('hidden', !hasNavbar);
|
|
511
510
|
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
} else {
|
|
515
|
-
this.$.navbarBottom.removeAttribute('hidden');
|
|
516
|
-
}
|
|
511
|
+
const hasNavbarBottom = this.$.navbarBottom.querySelector('[name=navbar-bottom]').assignedNodes().length > 0;
|
|
512
|
+
this.$.navbarBottom.toggleAttribute('hidden', !hasNavbarBottom);
|
|
517
513
|
}
|
|
518
514
|
|
|
519
515
|
/** @protected */
|
package/web-types.json
CHANGED