Socket
Socket
Sign inDemoInstall

rc-slider

Package Overview
Dependencies
7
Maintainers
8
Versions
176
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 10.0.0-alpha.3 to 10.0.0-alpha.4

5

es/Marks/Mark.js

@@ -25,7 +25,2 @@ import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";

var positionStyle = getDirectionStyle(direction, value, min, max);
if (!children && typeof children !== 'number') {
return null;
}
return /*#__PURE__*/React.createElement("span", {

@@ -32,0 +27,0 @@ className: classNames(textCls, _defineProperty({}, "".concat(textCls, "-active"), included && includedStart <= value && value <= includedEnd)),

5

es/Slider.js

@@ -110,2 +110,5 @@ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";

return markObj;
}).filter(function (_ref) {
var label = _ref.label;
return label || typeof label === 'number';
}).sort(function (a, b) {

@@ -377,3 +380,3 @@ return a.value - b.value;

ref: containerRef,
className: classNames(prefixCls, className, (_classNames = {}, _defineProperty(_classNames, "".concat(prefixCls, "-disabled"), disabled), _defineProperty(_classNames, "".concat(prefixCls, "-vertical"), vertical), _defineProperty(_classNames, "".concat(prefixCls, "-horizontal"), !vertical), _classNames)),
className: classNames(prefixCls, className, (_classNames = {}, _defineProperty(_classNames, "".concat(prefixCls, "-disabled"), disabled), _defineProperty(_classNames, "".concat(prefixCls, "-vertical"), vertical), _defineProperty(_classNames, "".concat(prefixCls, "-horizontal"), !vertical), _defineProperty(_classNames, "".concat(prefixCls, "-with-marks"), markList.length), _classNames)),
style: style,

@@ -380,0 +383,0 @@ onMouseDown: onSliderMouseDown

@@ -42,7 +42,2 @@ "use strict";

var positionStyle = (0, _util.getDirectionStyle)(direction, value, min, max);
if (!children && typeof children !== 'number') {
return null;
}
return /*#__PURE__*/React.createElement("span", {

@@ -49,0 +44,0 @@ className: (0, _classnames.default)(textCls, (0, _defineProperty2.default)({}, "".concat(textCls, "-active"), included && includedStart <= value && value <= includedEnd)),

@@ -137,2 +137,5 @@ "use strict";

return markObj;
}).filter(function (_ref) {
var label = _ref.label;
return label || typeof label === 'number';
}).sort(function (a, b) {

@@ -402,3 +405,3 @@ return a.value - b.value;

ref: containerRef,
className: (0, _classnames.default)(prefixCls, className, (_classNames = {}, (0, _defineProperty2.default)(_classNames, "".concat(prefixCls, "-disabled"), disabled), (0, _defineProperty2.default)(_classNames, "".concat(prefixCls, "-vertical"), vertical), (0, _defineProperty2.default)(_classNames, "".concat(prefixCls, "-horizontal"), !vertical), _classNames)),
className: (0, _classnames.default)(prefixCls, className, (_classNames = {}, (0, _defineProperty2.default)(_classNames, "".concat(prefixCls, "-disabled"), disabled), (0, _defineProperty2.default)(_classNames, "".concat(prefixCls, "-vertical"), vertical), (0, _defineProperty2.default)(_classNames, "".concat(prefixCls, "-horizontal"), !vertical), (0, _defineProperty2.default)(_classNames, "".concat(prefixCls, "-with-marks"), markList.length), _classNames)),
style: style,

@@ -405,0 +408,0 @@ onMouseDown: onSliderMouseDown

2

package.json
{
"name": "rc-slider",
"version": "10.0.0-alpha.3",
"version": "10.0.0-alpha.4",
"description": "Slider UI component for React",

@@ -5,0 +5,0 @@ "engines": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc