@vaadin/master-detail-layout 25.3.0-alpha3 → 25.3.0-alpha5

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/master-detail-layout",
3
- "version": "25.3.0-alpha3",
3
+ "version": "25.3.0-alpha5",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -34,16 +34,16 @@
34
34
  "web-component"
35
35
  ],
36
36
  "dependencies": {
37
- "@vaadin/a11y-base": "25.3.0-alpha3",
38
- "@vaadin/component-base": "25.3.0-alpha3",
39
- "@vaadin/vaadin-themable-mixin": "25.3.0-alpha3",
37
+ "@vaadin/a11y-base": "25.3.0-alpha5",
38
+ "@vaadin/component-base": "25.3.0-alpha5",
39
+ "@vaadin/vaadin-themable-mixin": "25.3.0-alpha5",
40
40
  "lit": "^3.0.0"
41
41
  },
42
42
  "devDependencies": {
43
- "@vaadin/aura": "25.3.0-alpha3",
44
- "@vaadin/chai-plugins": "25.3.0-alpha3",
43
+ "@vaadin/aura": "25.3.0-alpha5",
44
+ "@vaadin/chai-plugins": "25.3.0-alpha5",
45
45
  "@vaadin/testing-helpers": "^2.0.0",
46
- "@vaadin/vaadin-lumo-styles": "25.3.0-alpha3",
46
+ "@vaadin/vaadin-lumo-styles": "25.3.0-alpha5",
47
47
  "sinon": "^22.0.0"
48
48
  },
49
49
  "customElements": "custom-elements.json",
@@ -51,5 +51,5 @@
51
51
  "web-types.json",
52
52
  "web-types.lit.json"
53
53
  ],
54
- "gitHead": "ba0c4c55ea219eadd9aefe244f53e87803a066c8"
54
+ "gitHead": "0be2142cd8b95a562d58735033f947f7109103ab"
55
55
  }
@@ -20,7 +20,7 @@ export const masterDetailLayoutStyles = css`
20
20
  overflow: clip;
21
21
  }
22
22
 
23
- :host:not([overlay-containment='page']) {
23
+ :host(:not([overlay-containment='page'])) {
24
24
  isolation: isolate;
25
25
  }
26
26
 
@@ -4,7 +4,7 @@
4
4
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5
5
  */
6
6
  import { html, LitElement, nothing } from 'lit';
7
- import { getFocusableElements, isKeyboardActive } from '@vaadin/a11y-base/src/focus-utils.js';
7
+ import { getTabbableElements, isKeyboardActive } from '@vaadin/a11y-base/src/focus-utils.js';
8
8
  import { defineCustomElement } from '@vaadin/component-base/src/define.js';
9
9
  import { getClosestElement } from '@vaadin/component-base/src/dom-utils.js';
10
10
  import { ElementMixin } from '@vaadin/component-base/src/element-mixin.js';
@@ -379,7 +379,7 @@ class MasterDetailLayout extends ElementMixin(ThemableMixin(PolylitMixin(LitElem
379
379
 
380
380
  const hasOverflow =
381
381
  (hasDetail || hasDetailPlaceholder) && (this.forceOverlay || detectOverflow(hostSize, trackSizes));
382
- const focusTarget = !hadDetail && hasDetail && hasOverflow ? getFocusableElements(slottedDetail)[0] : null;
382
+ const focusTarget = !hadDetail && hasDetail && hasOverflow ? getTabbableElements(slottedDetail)[0] : null;
383
383
 
384
384
  return {
385
385
  hasMaster,
package/web-types.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/master-detail-layout",
4
- "version": "25.3.0-alpha3",
4
+ "version": "25.3.0-alpha5",
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/master-detail-layout",
4
- "version": "25.3.0-alpha3",
4
+ "version": "25.3.0-alpha5",
5
5
  "description-markup": "markdown",
6
6
  "framework": "lit",
7
7
  "framework-config": {