@progressive-development/pd-forms 0.1.20 → 0.1.22

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.1.20",
6
+ "version": "0.1.22",
7
7
  "main": "index.js",
8
8
  "module": "index.js",
9
9
  "scripts": {
@@ -187,14 +187,14 @@ import { SharedInputStyles } from './shared-input-styles.js';
187
187
  composed: true,
188
188
  bubbles: true,
189
189
  })
190
- );
190
+ );
191
+ }
191
192
 
192
- if (showValidateMsg) {
193
- // generate validation event after delay
194
- clearTimeout(delayTimer);
195
- delayTimer = setTimeout(this._generateValidateEvent.bind(this),
196
- DELAY_WAIT_TIME_MS);
197
- }
193
+ if (showValidateMsg) {
194
+ // generate validation event after delay
195
+ clearTimeout(delayTimer);
196
+ delayTimer = setTimeout(this._generateValidateEvent.bind(this),
197
+ DELAY_WAIT_TIME_MS);
198
198
  }
199
199
  }
200
200
 
package/src/PdButton.js CHANGED
@@ -29,7 +29,7 @@
29
29
  width: 100%; => Ohne diese Angabe eht die % Angaben icht
30
30
  */
31
31
  margin: 0.5rem;
32
- margin-left: 0; /* Um gleich zum input field zu sein */
32
+ margin-left: 0.5rem; /* Um gleich zum input field zu sein LE: War vorher 0? Auf 0.5 angepasst für login form */
33
33
 
34
34
  pointer-events: none;
35
35
  }
package/src/PdFormRow.js CHANGED
@@ -29,48 +29,55 @@ export class PdFormRow extends PdBaseUI {
29
29
  min-width: var(--my-row-width);
30
30
  max-width: 100%;
31
31
  gap: var(--my-gap);
32
- align-items: flex-start;
33
- justify-content: var(--pd-form-row-align, left);
32
+ align-items: flex-start;
33
+ justify-content: var(--pd-form-row-allign, left);
34
34
  padding-top: var(--pd-form-row-padding-top, 10px);
35
35
  }
36
36
 
37
37
  ::slotted(.full-size) {
38
38
  --pd-input-field-width: 100%;
39
+ --pd-button-width: var(--pd-input-field-width);
39
40
  }
40
41
 
41
42
  ::slotted(.quarter1) {
42
43
  --pd-input-field-width: calc(var(--my-row-width) * 0.25 - (var(--my-gap) * 0.75));
43
-
44
+ --pd-button-width: var(--pd-input-field-width);
44
45
  }
45
46
 
46
47
  ::slotted(.quarter1-area) {
47
48
  --pd-input-field-width: calc((var(--my-row-width) - 5px) * 0.25 - (var(--my-gap) * 0.75));
49
+ --pd-button-width: var(--pd-input-field-width);
48
50
 
49
51
  }
50
52
 
51
53
  ::slotted(.quarter2) {
52
- --pd-input-field-width: calc((var(--my-row-width) * 0.5) - (var(--my-gap) / 2));
53
-
54
+ --pd-input-field-width: calc((var(--my-row-width) * 0.5) - (var(--my-gap) / 2));
55
+ --pd-button-width: var(--pd-input-field-width);
54
56
  }
55
57
 
56
58
  ::slotted(.quarter2-area) {
57
59
  --pd-input-field-width: calc(((var(--my-row-width) - 8px) * 0.5) - (var(--my-gap) / 2));
60
+ --pd-button-width: var(--pd-input-field-width);
58
61
  }
59
62
 
60
63
  ::slotted(.quarter3) {
61
64
  --pd-input-field-width: calc(var(--my-row-width) * 0.75 - (var(--my-gap) * 0.25));
65
+ --pd-button-width: var(--pd-input-field-width);
62
66
  }
63
67
  /* Area is longer? Scrollbar? */
64
68
  ::slotted(.quarter3-area) {
65
69
  --pd-input-field-width: calc((var(--my-row-width) - 10px) * 0.75 - (var(--my-gap) * 0.25));
70
+ --pd-button-width: var(--pd-input-field-width);
66
71
  }
67
72
 
68
73
  ::slotted(.quarter4) {
69
- --pd-input-field-width: var(--my-row-width);
74
+ --pd-input-field-width: var(--my-row-width);
75
+ --pd-button-width: var(--pd-input-field-width);
70
76
  }
71
77
  /* Area is longer? Scrollbar? */
72
78
  ::slotted(.quarter4-area) {
73
79
  --pd-input-field-width: calc(var(--my-row-width) - 15px);
80
+ --pd-button-width: var(--pd-input-field-width);
74
81
  }
75
82
 
76
83
  @media (max-width: 930px) {