victory-group
Advanced tools
Comparing version 36.7.0 to 36.8.1
# victory-group | ||
## 36.8.1 | ||
## 36.8.0 | ||
### Patch Changes | ||
- Remove usage of defaultProps from components ([#2679](https://github.com/FormidableLabs/victory/pull/2679)) | ||
## 36.7.0 | ||
@@ -4,0 +12,0 @@ |
@@ -23,2 +23,9 @@ import _isEmpty from "lodash/isEmpty"; | ||
}; | ||
var defaultProps = { | ||
containerComponent: /*#__PURE__*/React.createElement(VictoryContainer, null), | ||
groupComponent: /*#__PURE__*/React.createElement("g", null), | ||
samples: 50, | ||
standalone: true, | ||
theme: VictoryTheme.grayscale | ||
}; | ||
@@ -34,2 +41,3 @@ var VictoryGroupBase = function (initialProps) { | ||
initialProps = _objectSpread(_objectSpread({}, defaultProps), initialProps); | ||
var props = getProps(initialProps); | ||
@@ -125,10 +133,2 @@ var modifiedProps = Helpers.modifyProps(props, fallbackProps, role); | ||
}); | ||
VictoryGroupBase.defaultProps = { | ||
containerComponent: /*#__PURE__*/React.createElement(VictoryContainer, null), | ||
groupComponent: /*#__PURE__*/React.createElement("g", null), | ||
samples: 50, | ||
sortOrder: "ascending", | ||
standalone: true, | ||
theme: VictoryTheme.grayscale | ||
}; | ||
var componentConfig = { | ||
@@ -135,0 +135,0 @@ role: "group", |
@@ -40,2 +40,9 @@ "use strict"; | ||
}; | ||
var defaultProps = { | ||
containerComponent: /*#__PURE__*/_react.default.createElement(_victoryCore.VictoryContainer, null), | ||
groupComponent: /*#__PURE__*/_react.default.createElement("g", null), | ||
samples: 50, | ||
standalone: true, | ||
theme: _victoryCore.VictoryTheme.grayscale | ||
}; | ||
@@ -51,2 +58,3 @@ var VictoryGroupBase = function (initialProps) { | ||
initialProps = _objectSpread(_objectSpread({}, defaultProps), initialProps); | ||
var props = getProps(initialProps); | ||
@@ -151,10 +159,2 @@ | ||
}); | ||
VictoryGroupBase.defaultProps = { | ||
containerComponent: /*#__PURE__*/_react.default.createElement(_victoryCore.VictoryContainer, null), | ||
groupComponent: /*#__PURE__*/_react.default.createElement("g", null), | ||
samples: 50, | ||
sortOrder: "ascending", | ||
standalone: true, | ||
theme: _victoryCore.VictoryTheme.grayscale | ||
}; | ||
var componentConfig = { | ||
@@ -161,0 +161,0 @@ role: "group", |
{ | ||
"name": "victory-group", | ||
"version": "36.7.0", | ||
"version": "36.8.1", | ||
"description": "Group Layout Component for Victory", | ||
@@ -26,4 +26,4 @@ "keywords": [ | ||
"react-fast-compare": "^3.2.0", | ||
"victory-core": "^36.7.0", | ||
"victory-shared-events": "^36.7.0" | ||
"victory-core": "^36.8.1", | ||
"victory-shared-events": "^36.8.1" | ||
}, | ||
@@ -30,0 +30,0 @@ "devDependencies": { |
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 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
1016161
17918
Updatedvictory-core@^36.8.1