react-custom-scrollbars
Advanced tools
Comparing version 2.2.0 to 2.2.1
@@ -132,44 +132,2 @@ 'use strict'; | ||
}, | ||
getThumbHorizontalStyle: function getThumbHorizontalStyle(x, widthPercentageInner) { | ||
return { | ||
width: widthPercentageInner < 100 ? widthPercentageInner + '%' : 0, | ||
transform: 'translateX(' + x + '%)' | ||
}; | ||
}, | ||
getThumbVerticalStyle: function getThumbVerticalStyle(y, heightPercentageInner) { | ||
return { | ||
height: heightPercentageInner < 100 ? heightPercentageInner + '%' : 0, | ||
transform: 'translateY(' + y + '%)' | ||
}; | ||
}, | ||
getScrollbarHorizontalStyle: function getScrollbarHorizontalStyle(widthPercentageInner) { | ||
return { | ||
height: widthPercentageInner < 100 ? 6 : 0 | ||
}; | ||
}, | ||
getScrollbarVerticalStyle: function getScrollbarVerticalStyle(heightPercentageInner) { | ||
return { | ||
width: heightPercentageInner < 100 ? 6 : 0 | ||
}; | ||
}, | ||
setThumbHorizontalStyle: function setThumbHorizontalStyle(style) { | ||
var thumbHorizontal = this.refs.thumbHorizontal; | ||
(0, _domCss2.default)(thumbHorizontal, style); | ||
}, | ||
setThumbVerticalStyle: function setThumbVerticalStyle(style) { | ||
var thumbVertical = this.refs.thumbVertical; | ||
(0, _domCss2.default)(thumbVertical, style); | ||
}, | ||
setScrollbarHorizontalStyle: function setScrollbarHorizontalStyle(style) { | ||
var barHorizontal = this.refs.barHorizontal; | ||
(0, _domCss2.default)(barHorizontal, style); | ||
}, | ||
setScrollbarVerticalStyle: function setScrollbarVerticalStyle(style) { | ||
var barVertical = this.refs.barVertical; | ||
(0, _domCss2.default)(barVertical, style); | ||
}, | ||
scrollTop: function scrollTop() { | ||
@@ -176,0 +134,0 @@ var top = arguments.length <= 0 || arguments[0] === undefined ? 0 : arguments[0]; |
{ | ||
"name": "react-custom-scrollbars", | ||
"version": "2.2.0", | ||
"version": "2.2.1", | ||
"description": "React scrollbars component", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
34819
536