@vaadin/a11y-base 24.3.0-alpha9 → 24.3.0-beta2
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 +3 -3
- package/src/list-mixin.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/a11y-base",
|
|
3
|
-
"version": "24.3.0-
|
|
3
|
+
"version": "24.3.0-beta2",
|
|
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.3.0-
|
|
35
|
+
"@vaadin/component-base": "24.3.0-beta2",
|
|
36
36
|
"lit": "^3.0.0"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"@vaadin/testing-helpers": "^0.6.0",
|
|
41
41
|
"sinon": "^13.0.2"
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "0bbfb24cb8dcd6e1dca8ecf2269635efac53e4d0"
|
|
44
44
|
}
|
package/src/list-mixin.js
CHANGED
|
@@ -253,7 +253,7 @@ export const ListMixin = (superClass) =>
|
|
|
253
253
|
const key = event.key;
|
|
254
254
|
|
|
255
255
|
const currentIdx = this.items.indexOf(this.focused);
|
|
256
|
-
if (/[
|
|
256
|
+
if (/[\p{L}\p{Nd}]/u.test(key) && key.length === 1) {
|
|
257
257
|
const idx = this._searchKey(currentIdx, key);
|
|
258
258
|
if (idx >= 0) {
|
|
259
259
|
this._focus(idx);
|