@progressive-development/pd-forms 0.1.28 → 0.1.29

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/PdRange.js +10 -2
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.28",
6
+ "version": "0.1.29",
7
7
  "main": "index.js",
8
8
  "module": "index.js",
9
9
  "scripts": {
package/src/PdRange.js CHANGED
@@ -210,11 +210,19 @@ export class PdRange extends PdBaseUIInput {
210
210
  .tick {
211
211
  line-height: 5px;
212
212
  height: 5px;
213
- margin-top: -12px;
213
+ margin-top: -13px;
214
214
  font-size: 8pt;
215
215
  font-weight: bolder;
216
216
  }
217
217
 
218
+ .tick disabled {
219
+ color: grey;
220
+ }
221
+
222
+ .tick enabled {
223
+ color: var(--pd-default-col);
224
+ }
225
+
218
226
  `
219
227
  ];
220
228
  }
@@ -237,7 +245,7 @@ export class PdRange extends PdBaseUIInput {
237
245
  @change="${this._onChange}"
238
246
  @input="${this._onChange}"
239
247
  >
240
- <div class="ticks">
248
+ <div class="ticks ${this.disabled ? "disabled" : "enabled"}">
241
249
  <span class="tick">|</span>
242
250
  <span class="tick">|</span>
243
251
  <span class="tick">|</span>