@vaadin/app-layout 25.0.0-beta1 → 25.0.0-beta3
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-mixin.js +2 -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": "25.0.0-
|
|
3
|
+
"version": "25.0.0-beta3",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -34,22 +34,22 @@
|
|
|
34
34
|
],
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@open-wc/dedupe-mixin": "^1.3.0",
|
|
37
|
-
"@vaadin/a11y-base": "25.0.0-
|
|
38
|
-
"@vaadin/button": "25.0.0-
|
|
39
|
-
"@vaadin/component-base": "25.0.0-
|
|
40
|
-
"@vaadin/vaadin-themable-mixin": "25.0.0-
|
|
37
|
+
"@vaadin/a11y-base": "25.0.0-beta3",
|
|
38
|
+
"@vaadin/button": "25.0.0-beta3",
|
|
39
|
+
"@vaadin/component-base": "25.0.0-beta3",
|
|
40
|
+
"@vaadin/vaadin-themable-mixin": "25.0.0-beta3",
|
|
41
41
|
"lit": "^3.0.0"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@vaadin/chai-plugins": "25.0.0-
|
|
45
|
-
"@vaadin/test-runner-commands": "25.0.0-
|
|
44
|
+
"@vaadin/chai-plugins": "25.0.0-beta3",
|
|
45
|
+
"@vaadin/test-runner-commands": "25.0.0-beta3",
|
|
46
46
|
"@vaadin/testing-helpers": "^2.0.0",
|
|
47
|
-
"@vaadin/vaadin-lumo-styles": "25.0.0-
|
|
47
|
+
"@vaadin/vaadin-lumo-styles": "25.0.0-beta3",
|
|
48
48
|
"sinon": "^21.0.0"
|
|
49
49
|
},
|
|
50
50
|
"web-types": [
|
|
51
51
|
"web-types.json",
|
|
52
52
|
"web-types.lit.json"
|
|
53
53
|
],
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "4b2006b0e2f4fc131f5483223b852d34224e7b9a"
|
|
55
55
|
}
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
*/
|
|
6
6
|
import { AriaModalController } from '@vaadin/a11y-base/src/aria-modal-controller.js';
|
|
7
7
|
import { FocusTrapController } from '@vaadin/a11y-base/src/focus-trap-controller.js';
|
|
8
|
+
import { isKeyboardActive } from '@vaadin/a11y-base/src/focus-utils.js';
|
|
8
9
|
import { animationFrame } from '@vaadin/component-base/src/async.js';
|
|
9
10
|
import { Debouncer } from '@vaadin/component-base/src/debounce.js';
|
|
10
11
|
import { I18nMixin } from '@vaadin/component-base/src/i18n-mixin.js';
|
|
@@ -443,7 +444,7 @@ export const AppLayoutMixin = (superclass) =>
|
|
|
443
444
|
// Move focus to the drawer toggle when closing the drawer.
|
|
444
445
|
const toggle = this.querySelector('vaadin-drawer-toggle');
|
|
445
446
|
if (toggle) {
|
|
446
|
-
toggle.focus();
|
|
447
|
+
toggle.focus({ focusVisible: isKeyboardActive() });
|
|
447
448
|
}
|
|
448
449
|
}
|
|
449
450
|
|
package/web-types.json
CHANGED