@progressive-development/pd-forms 0.5.4 → 0.5.6

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.
@@ -142,7 +142,7 @@ class PdFormContainer extends PdBaseUI {
142
142
  );
143
143
  validateByType(
144
144
  "number",
145
- (val) => !isNaN(val),
145
+ (val) => !isNaN(val.replaceAll(",", ".")),
146
146
  msg("Nur Zahlen erlaubt", { id: "pd.form.field.invalid.number" })
147
147
  );
148
148
  if (e.detail.singleElement) {
@@ -63,18 +63,18 @@ class PdFormRow extends PdBaseUI {
63
63
 
64
64
  @media (max-width: 930px) {
65
65
  :host {
66
- --my-row-width: calc(var(--my-row-width) * 0.75);
66
+ --my-row-width: 600px;
67
67
  }
68
68
  }
69
69
  @media (max-width: 650px) {
70
70
  :host {
71
- --my-row-width: calc(var(--my-row-width) * 0.5);
71
+ --my-row-width: 400px;
72
72
  --my-gap: 10px;
73
73
  }
74
74
  }
75
75
  @media (max-width: 450px) {
76
76
  :host {
77
- --my-row-width: calc(var(--my-row-width) * 0.25);
77
+ --my-row-width: 300px;
78
78
  --my-gap: 8px;
79
79
  }
80
80
  }
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Webcomponent pd-forms following open-wc recommendations",
4
4
  "author": "PD Progressive Development",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
- "version": "0.5.4",
6
+ "version": "0.5.6",
7
7
  "main": "./dist/index.js",
8
8
  "module": "./dist/index.js",
9
9
  "exports": {