@vaadin-component-factory/vcf-slider
Advanced tools
Comparing version 23.3.4 to 23.3.5
@@ -171,3 +171,3 @@ var Slider_1; | ||
static get version() { | ||
return '23.3.4'; | ||
return '23.3.5'; | ||
} | ||
@@ -468,3 +468,3 @@ get xy() { | ||
this.setKnobElements(); | ||
const newValue = this.initialValue.map((_, i) => this.values[i] || this.initialValue[i]); | ||
const newValue = this.initialValue.map((_, i) => this.values[i] ?? this.initialValue[i]); | ||
this.setValue((this.value = newValue)); | ||
@@ -974,3 +974,3 @@ } | ||
__decorate([ | ||
property({ type: Number }) | ||
property({ type: String }) | ||
], Slider.prototype, "value", void 0); | ||
@@ -977,0 +977,0 @@ __decorate([ |
{ | ||
"name": "@vaadin-component-factory/vcf-slider", | ||
"version": "23.3.4", | ||
"version": "23.3.5", | ||
"description": "Range slider web component for the Vaadin platform.", | ||
@@ -5,0 +5,0 @@ "main": "out-tsc/vcf-slider.js", |
@@ -55,3 +55,3 @@ import { html, svg, css, PropertyValues, LitElement, render, TemplateResult, nothing } from 'lit'; | ||
/** Current value(s) of the slider. */ | ||
@property({ type: Number }) value: string | number | number[] = 0; | ||
@property({ type: String }) value: string | number | number[] = 0; | ||
@@ -79,3 +79,3 @@ /** Number of ranges (knobs) to display on the slider. */ | ||
protected static get version() { | ||
return '23.3.4'; | ||
return '23.3.5'; | ||
} | ||
@@ -393,3 +393,3 @@ | ||
this.setKnobElements(); | ||
const newValue = this.initialValue.map((_, i) => this.values[i] || this.initialValue[i]); | ||
const newValue = this.initialValue.map((_, i) => this.values[i] ?? this.initialValue[i]); | ||
this.setValue((this.value = newValue)); | ||
@@ -396,0 +396,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package