@vaadin/a11y-base 24.2.0-alpha6 → 24.2.0-alpha8
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-
|
|
3
|
+
"version": "24.2.0-alpha8",
|
|
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-
|
|
35
|
+
"@vaadin/component-base": "24.2.0-alpha8",
|
|
36
36
|
"lit": "^2.0.0"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"@vaadin/testing-helpers": "^0.4.3",
|
|
41
41
|
"sinon": "^13.0.2"
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "2c024e8fd462d178430418f76a61f498fb549998"
|
|
44
44
|
}
|
|
@@ -82,12 +82,9 @@ export const DelegateFocusMixin = dedupingMixin(
|
|
|
82
82
|
* @override
|
|
83
83
|
*/
|
|
84
84
|
focus() {
|
|
85
|
-
if (
|
|
86
|
-
|
|
85
|
+
if (this.focusElement && !this.disabled) {
|
|
86
|
+
this.focusElement.focus();
|
|
87
87
|
}
|
|
88
|
-
|
|
89
|
-
this.focusElement.focus();
|
|
90
|
-
this._setFocused(true);
|
|
91
88
|
}
|
|
92
89
|
|
|
93
90
|
/**
|
|
@@ -95,11 +92,9 @@ export const DelegateFocusMixin = dedupingMixin(
|
|
|
95
92
|
* @override
|
|
96
93
|
*/
|
|
97
94
|
blur() {
|
|
98
|
-
if (
|
|
99
|
-
|
|
95
|
+
if (this.focusElement) {
|
|
96
|
+
this.focusElement.blur();
|
|
100
97
|
}
|
|
101
|
-
this.focusElement.blur();
|
|
102
|
-
this._setFocused(false);
|
|
103
98
|
}
|
|
104
99
|
|
|
105
100
|
/**
|