@vaadin/login 25.2.5 → 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.5",
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.5",
39
- "@vaadin/component-base": "~25.2.5",
40
- "@vaadin/overlay": "~25.2.5",
41
- "@vaadin/password-field": "~25.2.5",
42
- "@vaadin/text-field": "~25.2.5",
43
- "@vaadin/vaadin-themable-mixin": "~25.2.5",
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.5",
48
- "@vaadin/aura": "~25.2.5",
49
- "@vaadin/chai-plugins": "~25.2.5",
50
- "@vaadin/checkbox": "~25.2.5",
51
- "@vaadin/test-runner-commands": "~25.2.5",
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.5",
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": "bfaf51d71619f34c0b00b326e6426f1cd9f7b2f5"
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
@@ -86,7 +86,7 @@ export const LoginOverlayMixin = (superClass) =>
86
86
  }
87
87
 
88
88
  if (props.has('opened')) {
89
- this._openedChanged(this.opened);
89
+ this._openedChanged(this.opened, props.get('opened'));
90
90
  }
91
91
  }
92
92
 
package/web-types.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/login",
4
- "version": "25.2.5",
4
+ "version": "25.2.7",
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/login",
4
- "version": "25.2.5",
4
+ "version": "25.2.7",
5
5
  "description-markup": "markdown",
6
6
  "framework": "lit",
7
7
  "framework-config": {