@progressive-development/pd-forms 0.1.33 → 0.1.35

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.33",
6
+ "version": "0.1.35",
7
7
  "main": "index.js",
8
8
  "module": "index.js",
9
9
  "scripts": {
@@ -21,7 +21,7 @@
21
21
  "dependencies": {
22
22
  "@lit-labs/motion": "^1.0.2",
23
23
  "@lit/localize": "^0.11.2",
24
- "@progressive-development/pd-icon": "^0.1.14",
24
+ "@progressive-development/pd-icon": "^0.1.15",
25
25
  "@progressive-development/pd-shared-styles": "0.1.1",
26
26
  "lit": "^2.2.0"
27
27
  },
@@ -86,7 +86,10 @@ import { SharedInputStyles } from './shared-input-styles.js';
86
86
  }
87
87
 
88
88
  .label-header pd-icon {
89
- --pd-icon-size: 1rem;
89
+ --pd-icon-size: 1.25rem;
90
+ --pd-icon-col-active: var(--pd-default-col);
91
+ --pd-icon-col-active-hover: var(--pd-default-hover-col);
92
+ --pd-icon-stroke-width: 0;
90
93
  padding-right: 5px;
91
94
  cursor: help;
92
95
  }
@@ -227,7 +230,7 @@ import { SharedInputStyles } from './shared-input-styles.js';
227
230
  return html`
228
231
  <div class="label-header">
229
232
  <label for="${forParam}">${this.label}${this.required && this.label ? this.defaultRequiredChar : ''}${additionalValue ? html` - <b>${additionalValue}</b>` : ''}</label>
230
- ${this.helperTxt ? html`<pd-icon title="${this.helperTxt}" icon="userIcon" class="" activeIcon></pd-icon>` : ""}
233
+ ${this.helperTxt ? html`<pd-icon title="${this.helperTxt}" icon="helpIcon" activeIcon></pd-icon>` : ""}
231
234
  </div>
232
235
  `;
233
236
  }
@@ -42,6 +42,17 @@ function Template() {
42
42
  .optionValueMapper="${OPTIONS_GENRE}">
43
43
  </pd-range>
44
44
  </pd-form-row>
45
+ <pd-form-row>
46
+ <pd-range id="range5060Id"
47
+ class="quarter4"
48
+ label="50er/60er"
49
+ helperTxt="Hier steht ein Hilfstext"
50
+ required
51
+ max="4"
52
+ value="0"
53
+ .optionValueMapper="${OPTIONS_GENRE}">
54
+ </pd-range>
55
+ </pd-form-row>
45
56
  </pd-form-container>
46
57
 
47
58
  <h2>Test Validation</h2>