@vaadin/login 25.1.8 → 25.1.10

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.1.8",
3
+ "version": "25.1.10",
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.1.8",
39
- "@vaadin/component-base": "~25.1.8",
40
- "@vaadin/overlay": "~25.1.8",
41
- "@vaadin/password-field": "~25.1.8",
42
- "@vaadin/text-field": "~25.1.8",
43
- "@vaadin/vaadin-themable-mixin": "~25.1.8",
38
+ "@vaadin/button": "~25.1.10",
39
+ "@vaadin/component-base": "~25.1.10",
40
+ "@vaadin/overlay": "~25.1.10",
41
+ "@vaadin/password-field": "~25.1.10",
42
+ "@vaadin/text-field": "~25.1.10",
43
+ "@vaadin/vaadin-themable-mixin": "~25.1.10",
44
44
  "lit": "^3.0.0"
45
45
  },
46
46
  "devDependencies": {
47
- "@vaadin/a11y-base": "~25.1.8",
48
- "@vaadin/aura": "~25.1.8",
49
- "@vaadin/chai-plugins": "~25.1.8",
50
- "@vaadin/checkbox": "~25.1.8",
51
- "@vaadin/test-runner-commands": "~25.1.8",
47
+ "@vaadin/a11y-base": "~25.1.10",
48
+ "@vaadin/aura": "~25.1.10",
49
+ "@vaadin/chai-plugins": "~25.1.10",
50
+ "@vaadin/checkbox": "~25.1.10",
51
+ "@vaadin/test-runner-commands": "~25.1.10",
52
52
  "@vaadin/testing-helpers": "^2.0.0",
53
- "@vaadin/vaadin-lumo-styles": "~25.1.8",
53
+ "@vaadin/vaadin-lumo-styles": "~25.1.10",
54
54
  "sinon": "^21.0.2"
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": "284962838c38ec84495ea097b97d6d03cad2069b"
61
+ "gitHead": "941297a1015ae11bb75d90c0b3c52302e741a528"
62
62
  }
@@ -193,6 +193,10 @@ export const LoginFormMixin = (superClass) =>
193
193
  /** @protected */
194
194
  _handleInputKeydown(e) {
195
195
  if (e.key === 'Enter') {
196
+ // Prevent default so that the browser does not apply the Enter activation
197
+ // behavior to an element that receives focus while this event is handled.
198
+ e.preventDefault();
199
+
196
200
  const { currentTarget: inputActive } = e;
197
201
  const nextInput = inputActive.id === 'vaadinLoginUsername' ? this._passwordField : this._userNameField;
198
202
  // eslint-disable-next-line no-restricted-syntax
@@ -89,7 +89,7 @@ export const LoginOverlayMixin = (superClass) =>
89
89
  }
90
90
 
91
91
  if (props.has('opened')) {
92
- this._openedChanged(this.opened);
92
+ this._openedChanged(this.opened, props.get('opened'));
93
93
  }
94
94
  }
95
95
 
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.1.8",
4
+ "version": "25.1.10",
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.1.8",
4
+ "version": "25.1.10",
5
5
  "description-markup": "markdown",
6
6
  "framework": "lit",
7
7
  "framework-config": {