@vaadin/a11y-base 24.2.0-alpha1 → 24.2.0-alpha3

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/a11y-base",
3
- "version": "24.2.0-alpha1",
3
+ "version": "24.2.0-alpha3",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -32,7 +32,7 @@
32
32
  "dependencies": {
33
33
  "@open-wc/dedupe-mixin": "^1.3.0",
34
34
  "@polymer/polymer": "^3.0.0",
35
- "@vaadin/component-base": "24.2.0-alpha1",
35
+ "@vaadin/component-base": "24.2.0-alpha3",
36
36
  "lit": "^2.0.0"
37
37
  },
38
38
  "devDependencies": {
@@ -40,5 +40,5 @@
40
40
  "@vaadin/testing-helpers": "^0.4.2",
41
41
  "sinon": "^13.0.2"
42
42
  },
43
- "gitHead": "0dbb118320203ab6c0c07450a3e718815367589f"
43
+ "gitHead": "e5d1e1ed2d01b56d5922e18a3fcb7cd306351954"
44
44
  }
@@ -166,7 +166,7 @@ export const DelegateFocusMixin = dedupingMixin(
166
166
  }
167
167
 
168
168
  /**
169
- * @param {Event} event
169
+ * @param {FocusEvent} event
170
170
  * @return {boolean}
171
171
  * @protected
172
172
  * @override
@@ -175,6 +175,16 @@ export const DelegateFocusMixin = dedupingMixin(
175
175
  return event.target === this.focusElement;
176
176
  }
177
177
 
178
+ /**
179
+ * @param {FocusEvent} event
180
+ * @return {boolean}
181
+ * @protected
182
+ * @override
183
+ */
184
+ _shouldRemoveFocus(event) {
185
+ return event.target === this.focusElement;
186
+ }
187
+
178
188
  /**
179
189
  * @param {boolean} disabled
180
190
  * @param {boolean} oldDisabled