@progressive-development/pd-forms 0.2.12 → 0.2.14

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
@@ -3,7 +3,7 @@
3
3
  "description": "Webcomponent pd-forms following open-wc recommendations",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "author": "PD Progressive Development",
6
- "version": "0.2.12",
6
+ "version": "0.2.14",
7
7
  "main": "index.js",
8
8
  "module": "index.js",
9
9
  "scripts": {
@@ -48,7 +48,7 @@ export class PdFormContainer extends PdBaseUI {
48
48
  -moz-border-radius: var(--pd-border-radius, 0);
49
49
  width:70%;
50
50
  max-width:780px;
51
- min-width:250px;
51
+ min-width:200px;
52
52
  }
53
53
 
54
54
  .filled {
@@ -182,7 +182,7 @@ export class PdFormContainer extends PdBaseUI {
182
182
  }
183
183
 
184
184
  static _vatIsValid(vat) {
185
- const mValid = /^BE[0-9]{10}/.test(vat);
185
+ const mValid = /^[A-Z]{2}[0-9]{8,12}$/.test(vat);
186
186
  return mValid;
187
187
  }
188
188