@omegagrid/core
Advanced tools
Comparing version 0.3.25 to 0.3.26
@@ -35,4 +35,5 @@ import { LitElement } from 'lit'; | ||
private onDocumentMouseUp; | ||
private onMouseDown; | ||
_onMouseDown: (e: MouseEvent) => void; | ||
setText(text: string): void; | ||
_onClick: (e: MouseEvent) => void; | ||
render: () => import("lit-html").TemplateResult<1>; | ||
@@ -39,0 +40,0 @@ updated(): void; |
@@ -89,3 +89,3 @@ "use strict"; | ||
}; | ||
this.onMouseDown = (e) => { | ||
this._onMouseDown = (e) => { | ||
this._sliding = true; | ||
@@ -101,4 +101,9 @@ e.preventDefault(); | ||
}; | ||
this._onClick = (e) => { | ||
console.log(e); | ||
}; | ||
this.render = () => (0, lit_1.html) ` | ||
<div ${(0, ref_js_1.ref)(this.barRef)} class="bar" @mousedown=${this.onMouseDown}> | ||
<div ${(0, ref_js_1.ref)(this.barRef)} | ||
class="bar" | ||
@mousedown="${this._onMouseDown}"> | ||
<div class="bar-inner" style="${(0, style_map_js_1.styleMap)({ cursor: this.cursor })}"></div> | ||
@@ -105,0 +110,0 @@ </div> |
{ | ||
"name": "@omegagrid/core", | ||
"version": "0.3.25", | ||
"version": "0.3.26", | ||
"license": "UNLICENSED", | ||
@@ -39,3 +39,3 @@ "description": "Core components", | ||
"@fortawesome/fontawesome-svg-core": "6.4.2", | ||
"@omegagrid/localize": "^0.3.25", | ||
"@omegagrid/localize": "^0.3.26", | ||
"@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
485740
7132
Updated@omegagrid/localize@^0.3.26