@mekari/pixel-date-picker
Advanced tools
Comparing version 0.9.2 to 0.9.3
{ | ||
"name": "@mekari/pixel-date-picker", | ||
"version": "0.9.2", | ||
"version": "0.9.3", | ||
"description": "Mekari Pixel | Date picker component", | ||
@@ -30,9 +30,9 @@ "homepage": "https://mekari.design/", | ||
"@mekari/pixel-simple-grid": "0.2.0", | ||
"@mekari/pixel-button": "0.2.2", | ||
"@mekari/pixel-button-icon": "0.8.2", | ||
"@mekari/pixel-icon": "0.11.1", | ||
"@mekari/pixel-input": "0.5.2", | ||
"@mekari/pixel-button": "0.2.3", | ||
"@mekari/pixel-button-icon": "0.8.3", | ||
"@mekari/pixel-icon": "0.11.2", | ||
"@mekari/pixel-input": "0.5.3", | ||
"@mekari/pixel-text": "0.2.0", | ||
"@mekari/pixel-utils": "0.4.0", | ||
"@mekari/pixel-popover": "0.8.2", | ||
"@mekari/pixel-popover": "0.8.3", | ||
"date-format-parse": "^0.2.7" | ||
@@ -39,0 +39,0 @@ }, |
@@ -33,2 +33,3 @@ /* istanbul ignore file */ | ||
scrollbarWidth: 0, | ||
_prevY: 0, | ||
thumbTop: '', | ||
@@ -64,3 +65,3 @@ // thumbHeight: '20%', | ||
this._draggable = true | ||
const { offsetTop } = this.$refs.thumb | ||
const { offsetTop } = this.$refs.thumb.$el | ||
this._prevY = evt.clientY - offsetTop | ||
@@ -73,6 +74,6 @@ document.addEventListener('mousemove', this.handleDraging) | ||
const { wrap } = this.$refs | ||
const { scrollHeight, clientHeight } = wrap | ||
const { scrollHeight, clientHeight } = wrap.$el | ||
const offsetY = clientY - this._prevY | ||
const top = (offsetY * scrollHeight) / clientHeight | ||
wrap.scrollTop = top | ||
wrap.$el.scrollTop = top | ||
}, | ||
@@ -79,0 +80,0 @@ handleDragend() { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
432019
15797
+ Added@mekari/pixel-button@0.2.3(transitive)
+ Added@mekari/pixel-button-icon@0.8.3(transitive)
+ Added@mekari/pixel-icon@0.11.2(transitive)
+ Added@mekari/pixel-input@0.5.3(transitive)
+ Added@mekari/pixel-popover@0.8.3(transitive)
- Removed@mekari/pixel-button@0.2.2(transitive)
- Removed@mekari/pixel-button-icon@0.8.2(transitive)
- Removed@mekari/pixel-icon@0.11.1(transitive)
- Removed@mekari/pixel-input@0.5.2(transitive)
- Removed@mekari/pixel-popover@0.8.2(transitive)
Updated@mekari/pixel-button@0.2.3
Updated@mekari/pixel-icon@0.11.2
Updated@mekari/pixel-input@0.5.3
Updated@mekari/pixel-popover@0.8.3