victory-brush-line
Advanced tools
Comparing version 36.4.1 to 36.5.0
@@ -14,3 +14,3 @@ import _pick from "lodash/pick"; | ||
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } | ||
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } | ||
@@ -25,6 +25,4 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; } | ||
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } | ||
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } | ||
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } | ||
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); } | ||
@@ -408,3 +406,3 @@ | ||
_defineProperty(VictoryBrushLine, "propTypes", { | ||
VictoryBrushLine.propTypes = { | ||
allowDrag: PropTypes.bool, | ||
@@ -437,5 +435,4 @@ allowDraw: PropTypes.bool, | ||
width: PropTypes.number | ||
}); | ||
_defineProperty(VictoryBrushLine, "defaultProps", { | ||
}; | ||
VictoryBrushLine.defaultProps = { | ||
allowDrag: true, | ||
@@ -451,5 +448,5 @@ allowDraw: true, | ||
width: 10 | ||
}); | ||
}; | ||
_defineProperty(VictoryBrushLine, "defaultEvents", function (props) { | ||
VictoryBrushLine.defaultEvents = function (props) { | ||
return props.disable ? undefined : [{ | ||
@@ -698,4 +695,4 @@ target: props.type, | ||
}]; | ||
}); | ||
}; | ||
export { VictoryBrushLine as default }; |
@@ -34,3 +34,3 @@ "use strict"; | ||
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } | ||
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } | ||
@@ -45,6 +45,4 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; } | ||
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } | ||
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } | ||
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } | ||
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); } | ||
@@ -420,4 +418,3 @@ | ||
exports.default = VictoryBrushLine; | ||
_defineProperty(VictoryBrushLine, "propTypes", { | ||
VictoryBrushLine.propTypes = { | ||
allowDrag: _propTypes.default.bool, | ||
@@ -450,5 +447,4 @@ allowDraw: _propTypes.default.bool, | ||
width: _propTypes.default.number | ||
}); | ||
_defineProperty(VictoryBrushLine, "defaultProps", { | ||
}; | ||
VictoryBrushLine.defaultProps = { | ||
allowDrag: true, | ||
@@ -464,5 +460,5 @@ allowDraw: true, | ||
width: 10 | ||
}); | ||
}; | ||
_defineProperty(VictoryBrushLine, "defaultEvents", function (props) { | ||
VictoryBrushLine.defaultEvents = function (props) { | ||
return props.disable ? undefined : [{ | ||
@@ -719,2 +715,2 @@ target: props.type, | ||
}]; | ||
}); | ||
}; |
{ | ||
"name": "victory-brush-line", | ||
"version": "36.4.1", | ||
"version": "36.5.0", | ||
"description": "Interactive Brush Line Component for Victory", | ||
@@ -25,6 +25,6 @@ "keywords": [ | ||
"react-fast-compare": "^3.2.0", | ||
"victory-core": "^36.4.1" | ||
"victory-core": "^36.5.0" | ||
}, | ||
"peerDependencies": { | ||
"react": "^16.6.0 || ^17.0.0" | ||
"react": ">=16.6.0" | ||
}, | ||
@@ -35,3 +35,3 @@ "scripts": { | ||
"sideEffects": false, | ||
"gitHead": "aa44a22e5a93989773a560f765f83ac151f44c46" | ||
"gitHead": "7cecba921f751c3decc8215f7e866f51d11203c1" | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
234531
743173
14755
+ Addedreact@18.3.1(transitive)
- Removedreact@17.0.2(transitive)
Updatedvictory-core@^36.5.0