@omegagrid/core
Advanced tools
Comparing version 0.3.41 to 0.3.42
@@ -47,4 +47,4 @@ "use strict"; | ||
<div class="inner"><slot name="content"></slot></div> | ||
<og-slider direction="vertical" ${(0, ref_js_1.ref)(this.verticalSliderRef)}></og-slider> | ||
<og-slider direction="horizontal" ${(0, ref_js_1.ref)(this.horizontalSliderRef)}></og-slider> | ||
<og-slider direction="vertical" ${(0, ref_js_1.ref)(this.verticalSliderRef)} hidden></og-slider> | ||
<og-slider direction="horizontal" ${(0, ref_js_1.ref)(this.horizontalSliderRef)} hidden></og-slider> | ||
`; | ||
@@ -51,0 +51,0 @@ } |
@@ -28,4 +28,4 @@ import { LitElement } from 'lit'; | ||
get sliding(): boolean; | ||
show(): void; | ||
hide(): void; | ||
show: () => boolean; | ||
hide: () => boolean; | ||
private calcValue; | ||
@@ -32,0 +32,0 @@ get barSize(): number; |
@@ -65,2 +65,4 @@ "use strict"; | ||
this._sliding = false; | ||
this.show = () => this.hidden = false; | ||
this.hide = () => this.hidden = true; | ||
this.debounceSlide = (0, ts_debounce_1.debounce)(() => { | ||
@@ -113,10 +115,2 @@ this._value = this.calcValue(); | ||
get sliding() { return this._sliding; } | ||
show() { | ||
if (this.hidden) | ||
this.hidden = false; | ||
} | ||
hide() { | ||
if (!this.hidden) | ||
this.hidden = true; | ||
} | ||
calcValue() { | ||
@@ -123,0 +117,0 @@ return Math.round(this.direction == SliderDirection.Vertical |
{ | ||
"name": "@omegagrid/core", | ||
"version": "0.3.41", | ||
"version": "0.3.42", | ||
"license": "UNLICENSED", | ||
@@ -39,3 +39,3 @@ "description": "Core components", | ||
"@fortawesome/fontawesome-svg-core": "6.4.2", | ||
"@omegagrid/localize": "^0.3.41", | ||
"@omegagrid/localize": "^0.3.42", | ||
"@riovir/wc-fontawesome": "^0.1.9", | ||
@@ -42,0 +42,0 @@ "color": "^4.2.3", |
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
485846
7137
Updated@omegagrid/localize@^0.3.42