@vaadin/login 25.2.6 → 25.2.7
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/login",
|
|
3
|
-
"version": "25.2.
|
|
3
|
+
"version": "25.2.7",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -35,22 +35,22 @@
|
|
|
35
35
|
],
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@open-wc/dedupe-mixin": "^1.3.0",
|
|
38
|
-
"@vaadin/button": "~25.2.
|
|
39
|
-
"@vaadin/component-base": "~25.2.
|
|
40
|
-
"@vaadin/overlay": "~25.2.
|
|
41
|
-
"@vaadin/password-field": "~25.2.
|
|
42
|
-
"@vaadin/text-field": "~25.2.
|
|
43
|
-
"@vaadin/vaadin-themable-mixin": "~25.2.
|
|
38
|
+
"@vaadin/button": "~25.2.7",
|
|
39
|
+
"@vaadin/component-base": "~25.2.7",
|
|
40
|
+
"@vaadin/overlay": "~25.2.7",
|
|
41
|
+
"@vaadin/password-field": "~25.2.7",
|
|
42
|
+
"@vaadin/text-field": "~25.2.7",
|
|
43
|
+
"@vaadin/vaadin-themable-mixin": "~25.2.7",
|
|
44
44
|
"lit": "^3.0.0"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@vaadin/a11y-base": "~25.2.
|
|
48
|
-
"@vaadin/aura": "~25.2.
|
|
49
|
-
"@vaadin/chai-plugins": "~25.2.
|
|
50
|
-
"@vaadin/checkbox": "~25.2.
|
|
51
|
-
"@vaadin/test-runner-commands": "~25.2.
|
|
47
|
+
"@vaadin/a11y-base": "~25.2.7",
|
|
48
|
+
"@vaadin/aura": "~25.2.7",
|
|
49
|
+
"@vaadin/chai-plugins": "~25.2.7",
|
|
50
|
+
"@vaadin/checkbox": "~25.2.7",
|
|
51
|
+
"@vaadin/test-runner-commands": "~25.2.7",
|
|
52
52
|
"@vaadin/testing-helpers": "^2.0.0",
|
|
53
|
-
"@vaadin/vaadin-lumo-styles": "~25.2.
|
|
53
|
+
"@vaadin/vaadin-lumo-styles": "~25.2.7",
|
|
54
54
|
"sinon": "^22.0.0"
|
|
55
55
|
},
|
|
56
56
|
"customElements": "custom-elements.json",
|
|
@@ -58,5 +58,5 @@
|
|
|
58
58
|
"web-types.json",
|
|
59
59
|
"web-types.lit.json"
|
|
60
60
|
],
|
|
61
|
-
"gitHead": "
|
|
61
|
+
"gitHead": "14be1af674f3968cce68c6eb4742340694c4a949"
|
|
62
62
|
}
|
|
@@ -189,6 +189,10 @@ export const LoginFormMixin = (superClass) =>
|
|
|
189
189
|
/** @protected */
|
|
190
190
|
_handleInputKeydown(e) {
|
|
191
191
|
if (e.key === 'Enter') {
|
|
192
|
+
// Prevent default so that the browser does not apply the Enter activation
|
|
193
|
+
// behavior to an element that receives focus while this event is handled.
|
|
194
|
+
e.preventDefault();
|
|
195
|
+
|
|
192
196
|
const { currentTarget: inputActive } = e;
|
|
193
197
|
const nextInput = inputActive.id === 'vaadinLoginUsername' ? this._passwordField : this._userNameField;
|
|
194
198
|
// eslint-disable-next-line no-restricted-syntax
|
package/web-types.json
CHANGED