@vaadin/email-field 25.2.15 → 25.2.16

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.
@@ -310,7 +310,7 @@
310
310
  },
311
311
  "description": "A regular expression that the value is checked against.\nThe pattern must match the entire value, not just some subset.",
312
312
  "attribute": "pattern",
313
- "default": "'^[a-zA-Z0-9_\\\\-+]+(?:\\\\.[a-zA-Z0-9_\\\\-+]+)*@[a-zA-Z0-9\\\\-.]+\\\\.[a-zA-Z0-9\\\\-]{2,}$'",
313
+ "default": "'^[a-zA-Z0-9_\\\\-+]+(?:\\\\.[a-zA-Z0-9_\\\\-+]+)*@(?:[a-zA-Z0-9\\\\-]+\\\\.)+[a-zA-Z0-9\\\\-]{2,}$'",
314
314
  "inheritedFrom": {
315
315
  "name": "TextFieldMixin",
316
316
  "package": "@vaadin/text-field/src/vaadin-text-field-mixin.js"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vaadin/email-field",
3
- "version": "25.2.15",
3
+ "version": "25.2.16",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -34,17 +34,17 @@
34
34
  "web-component"
35
35
  ],
36
36
  "dependencies": {
37
- "@vaadin/component-base": "~25.2.15",
38
- "@vaadin/text-field": "~25.2.15",
39
- "@vaadin/vaadin-themable-mixin": "~25.2.15",
37
+ "@vaadin/component-base": "~25.2.16",
38
+ "@vaadin/text-field": "~25.2.16",
39
+ "@vaadin/vaadin-themable-mixin": "~25.2.16",
40
40
  "lit": "^3.0.0"
41
41
  },
42
42
  "devDependencies": {
43
- "@vaadin/aura": "~25.2.15",
44
- "@vaadin/chai-plugins": "~25.2.15",
45
- "@vaadin/test-runner-commands": "~25.2.15",
43
+ "@vaadin/aura": "~25.2.16",
44
+ "@vaadin/chai-plugins": "~25.2.16",
45
+ "@vaadin/test-runner-commands": "~25.2.16",
46
46
  "@vaadin/testing-helpers": "^2.0.0",
47
- "@vaadin/vaadin-lumo-styles": "~25.2.15",
47
+ "@vaadin/vaadin-lumo-styles": "~25.2.16",
48
48
  "sinon": "^22.0.0"
49
49
  },
50
50
  "customElements": "custom-elements.json",
@@ -52,5 +52,5 @@
52
52
  "web-types.json",
53
53
  "web-types.lit.json"
54
54
  ],
55
- "gitHead": "e0f3c1f28d7393af441fe3c9a790dba3e6ce3912"
55
+ "gitHead": "27fa0a103889067b99d5d1fad4648357c5281d59"
56
56
  }
@@ -114,7 +114,7 @@ export class EmailField extends TextField {
114
114
  constructor() {
115
115
  super();
116
116
  this._setType('email');
117
- this.pattern = '^[a-zA-Z0-9_\\-+]+(?:\\.[a-zA-Z0-9_\\-+]+)*@[a-zA-Z0-9\\-.]+\\.[a-zA-Z0-9\\-]{2,}$';
117
+ this.pattern = '^[a-zA-Z0-9_\\-+]+(?:\\.[a-zA-Z0-9_\\-+]+)*@(?:[a-zA-Z0-9\\-]+\\.)+[a-zA-Z0-9\\-]{2,}$';
118
118
  }
119
119
 
120
120
  /** @protected */
package/web-types.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/email-field",
4
- "version": "25.2.15",
4
+ "version": "25.2.16",
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/email-field",
4
- "version": "25.2.15",
4
+ "version": "25.2.16",
5
5
  "description-markup": "markdown",
6
6
  "framework": "lit",
7
7
  "framework-config": {