@vaadin-component-factory/vcf-slider
Advanced tools
Comparing version 23.3.8 to 23.3.9
@@ -363,3 +363,3 @@ import { PropertyValues, LitElement, TemplateResult } from 'lit'; | ||
/** Label. */ | ||
label: string; | ||
label?: string; | ||
private $knobsContainer; | ||
@@ -366,0 +366,0 @@ private $container; |
@@ -63,4 +63,2 @@ var Slider_1; | ||
this.max = 100; | ||
/** Label. */ | ||
this.label = 'Slider'; | ||
this.originalKnobOffsetXY = 0; | ||
@@ -176,3 +174,3 @@ this.originalPointerXY = 0; | ||
static get version() { | ||
return '23.3.8'; | ||
return '23.3.9'; | ||
} | ||
@@ -222,6 +220,10 @@ get xy() { | ||
:host([tooltips-always-visible]) { | ||
padding-top: calc(var(--vcf-slider-tooltip-font-size) + 4px + var(--lumo-space-m)); | ||
:host([tooltips-always-visible]:not([label])) { | ||
padding-top: calc(var(--vcf-slider-tooltip-font-size) + var(--lumo-space-m) + 4px); | ||
} | ||
:host([tooltips-always-visible][label]:not([vertical])) label { | ||
padding-bottom: calc(var(--vcf-slider-tooltip-font-size) + var(--lumo-space-m) + 0.8em); | ||
} | ||
#container { | ||
@@ -1024,3 +1026,3 @@ position: relative; | ||
__decorate([ | ||
property({ type: String }) | ||
property({ type: String, reflect: true }) | ||
], Slider.prototype, "label", void 0); | ||
@@ -1027,0 +1029,0 @@ __decorate([ |
{ | ||
"name": "@vaadin-component-factory/vcf-slider", | ||
"version": "23.3.8", | ||
"version": "23.3.9", | ||
"description": "Range slider web component for the Vaadin platform.", | ||
@@ -5,0 +5,0 @@ "main": "out-tsc/vcf-slider.js", |
@@ -72,3 +72,3 @@ import { html, svg, css, PropertyValues, LitElement, render, TemplateResult, nothing } from 'lit'; | ||
/** Label. */ | ||
@property({ type: String }) label = 'Slider'; | ||
@property({ type: String, reflect: true }) label?: string; | ||
@@ -84,3 +84,3 @@ @query('#knobs') private $knobsContainer!: HTMLElement; | ||
protected static get version() { | ||
return '23.3.8'; | ||
return '23.3.9'; | ||
} | ||
@@ -142,6 +142,10 @@ | ||
:host([tooltips-always-visible]) { | ||
padding-top: calc(var(--vcf-slider-tooltip-font-size) + 4px + var(--lumo-space-m)); | ||
:host([tooltips-always-visible]:not([label])) { | ||
padding-top: calc(var(--vcf-slider-tooltip-font-size) + var(--lumo-space-m) + 4px); | ||
} | ||
:host([tooltips-always-visible][label]:not([vertical])) label { | ||
padding-bottom: calc(var(--vcf-slider-tooltip-font-size) + var(--lumo-space-m) + 0.8em); | ||
} | ||
#container { | ||
@@ -148,0 +152,0 @@ position: relative; |
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
241129
2787