@vaadin/popover 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/popover",
3
- "version": "25.3.0-alpha3",
3
+ "version": "25.3.0-alpha5",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -37,19 +37,19 @@
37
37
  ],
38
38
  "dependencies": {
39
39
  "@open-wc/dedupe-mixin": "^1.3.0",
40
- "@vaadin/a11y-base": "25.3.0-alpha3",
41
- "@vaadin/component-base": "25.3.0-alpha3",
42
- "@vaadin/lit-renderer": "25.3.0-alpha3",
43
- "@vaadin/overlay": "25.3.0-alpha3",
44
- "@vaadin/vaadin-themable-mixin": "25.3.0-alpha3",
40
+ "@vaadin/a11y-base": "25.3.0-alpha5",
41
+ "@vaadin/component-base": "25.3.0-alpha5",
42
+ "@vaadin/lit-renderer": "25.3.0-alpha5",
43
+ "@vaadin/overlay": "25.3.0-alpha5",
44
+ "@vaadin/vaadin-themable-mixin": "25.3.0-alpha5",
45
45
  "lit": "^3.0.0"
46
46
  },
47
47
  "devDependencies": {
48
- "@vaadin/aura": "25.3.0-alpha3",
49
- "@vaadin/chai-plugins": "25.3.0-alpha3",
50
- "@vaadin/test-runner-commands": "25.3.0-alpha3",
48
+ "@vaadin/aura": "25.3.0-alpha5",
49
+ "@vaadin/chai-plugins": "25.3.0-alpha5",
50
+ "@vaadin/test-runner-commands": "25.3.0-alpha5",
51
51
  "@vaadin/testing-helpers": "^2.0.0",
52
- "@vaadin/vaadin-lumo-styles": "25.3.0-alpha3",
52
+ "@vaadin/vaadin-lumo-styles": "25.3.0-alpha5",
53
53
  "sinon": "^22.0.0"
54
54
  },
55
55
  "customElements": "custom-elements.json",
@@ -57,5 +57,5 @@
57
57
  "web-types.json",
58
58
  "web-types.lit.json"
59
59
  ],
60
- "gitHead": "ba0c4c55ea219eadd9aefe244f53e87803a066c8"
60
+ "gitHead": "0be2142cd8b95a562d58735033f947f7109103ab"
61
61
  }
@@ -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 { getActiveTrappingNode } from '@vaadin/a11y-base/src/focus-trap-controller.js';
7
- import { getDeepActiveElement, getFocusableElements, isElementFocused } from '@vaadin/a11y-base/src/focus-utils.js';
7
+ import { getDeepActiveElement, getTabbableElements, isElementFocused } from '@vaadin/a11y-base/src/focus-utils.js';
8
8
 
9
9
  /**
10
10
  * Controller that routes Tab and Shift+Tab when a non-modal popover is opened.
@@ -158,7 +158,7 @@ export class PopoverFocusController {
158
158
  * @private
159
159
  */
160
160
  __getLastPopoverFocusable() {
161
- const lastContent = getFocusableElements(this.host._overlayElement.$.content).pop();
161
+ const lastContent = getTabbableElements(this.host._overlayElement.$.content).pop();
162
162
  return lastContent || this.host;
163
163
  }
164
164
 
@@ -171,7 +171,7 @@ export class PopoverFocusController {
171
171
  __getScopeFocusables() {
172
172
  const host = this.host;
173
173
  const scope = getActiveTrappingNode(host) || document.body;
174
- return getFocusableElements(scope).filter((el) => el === host || !host.contains(el));
174
+ return getTabbableElements(scope).filter((el) => el === host || !host.contains(el));
175
175
  }
176
176
 
177
177
  /**
package/web-types.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/popover",
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/popover",
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": {