@vaadin/email-field 25.3.2 → 25.3.4

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.
@@ -338,7 +338,7 @@
338
338
  },
339
339
  "description": "A regular expression that the value is checked against.\nThe pattern must match the entire value, not just some subset.",
340
340
  "attribute": "pattern",
341
- "default": "'^[a-zA-Z0-9_\\\\-+]+(?:\\\\.[a-zA-Z0-9_\\\\-+]+)*@[a-zA-Z0-9\\\\-.]+\\\\.[a-zA-Z0-9\\\\-]{2,}$'",
341
+ "default": "'^[a-zA-Z0-9_\\\\-+]+(?:\\\\.[a-zA-Z0-9_\\\\-+]+)*@(?:[a-zA-Z0-9\\\\-]+\\\\.)+[a-zA-Z0-9\\\\-]{2,}$'",
342
342
  "inheritedFrom": {
343
343
  "name": "TextFieldMixin",
344
344
  "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.3.2",
3
+ "version": "25.3.4",
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.3.2",
38
- "@vaadin/text-field": "~25.3.2",
39
- "@vaadin/vaadin-themable-mixin": "~25.3.2",
37
+ "@vaadin/component-base": "~25.3.4",
38
+ "@vaadin/text-field": "~25.3.4",
39
+ "@vaadin/vaadin-themable-mixin": "~25.3.4",
40
40
  "lit": "^3.0.0"
41
41
  },
42
42
  "devDependencies": {
43
- "@vaadin/aura": "~25.3.2",
44
- "@vaadin/chai-plugins": "~25.3.2",
45
- "@vaadin/test-runner-commands": "~25.3.2",
43
+ "@vaadin/aura": "~25.3.4",
44
+ "@vaadin/chai-plugins": "~25.3.4",
45
+ "@vaadin/test-runner-commands": "~25.3.4",
46
46
  "@vaadin/testing-helpers": "^2.0.0",
47
- "@vaadin/vaadin-lumo-styles": "~25.3.2",
47
+ "@vaadin/vaadin-lumo-styles": "~25.3.4",
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": "3f75254a3f77da3977cb79a77f549f37b8a5d54e"
55
+ "gitHead": "10d0b4f1accc697ccc701265159d8f9314bf9851"
56
56
  }
@@ -114,7 +114,7 @@ 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.3.2",
4
+ "version": "25.3.4",
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.3.2",
4
+ "version": "25.3.4",
5
5
  "description-markup": "markdown",
6
6
  "framework": "lit",
7
7
  "framework-config": {