victory-stack
Advanced tools
Comparing version 36.7.0 to 36.8.1
# victory-stack | ||
## 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 @@ |
@@ -73,11 +73,4 @@ import PropTypes from "prop-types"; | ||
}; | ||
defaultProps: { | ||
containerComponent: JSX.Element; | ||
groupComponent: JSX.Element; | ||
standalone: boolean; | ||
theme: import("victory-core").VictoryThemeDefinition; | ||
fillInMissingData: boolean; | ||
}; | ||
}; | ||
} & VictoryComponentConfiguration<VictoryStackProps>; | ||
//# sourceMappingURL=victory-stack.d.ts.map |
@@ -22,2 +22,9 @@ import _isEmpty from "lodash/isEmpty"; | ||
}; | ||
var defaultProps = { | ||
containerComponent: /*#__PURE__*/React.createElement(VictoryContainer, null), | ||
groupComponent: /*#__PURE__*/React.createElement("g", null), | ||
standalone: true, | ||
theme: VictoryTheme.grayscale, | ||
fillInMissingData: true | ||
}; | ||
@@ -27,2 +34,3 @@ var VictoryStackBase = function (initialProps) { | ||
var role = VictoryStack.role; | ||
initialProps = _objectSpread(_objectSpread({}, defaultProps), initialProps); | ||
@@ -143,9 +151,2 @@ var _Hooks$useAnimationSt = Hooks.useAnimationState(), | ||
}); | ||
VictoryStackBase.defaultProps = { | ||
containerComponent: /*#__PURE__*/React.createElement(VictoryContainer, null), | ||
groupComponent: /*#__PURE__*/React.createElement("g", null), | ||
standalone: true, | ||
theme: VictoryTheme.grayscale, | ||
fillInMissingData: true | ||
}; | ||
var componentConfig = { | ||
@@ -152,0 +153,0 @@ role: "stack", |
@@ -73,11 +73,4 @@ import PropTypes from "prop-types"; | ||
}; | ||
defaultProps: { | ||
containerComponent: JSX.Element; | ||
groupComponent: JSX.Element; | ||
standalone: boolean; | ||
theme: import("victory-core").VictoryThemeDefinition; | ||
fillInMissingData: boolean; | ||
}; | ||
}; | ||
} & VictoryComponentConfiguration<VictoryStackProps>; | ||
//# sourceMappingURL=victory-stack.d.ts.map |
@@ -39,2 +39,9 @@ "use strict"; | ||
}; | ||
var defaultProps = { | ||
containerComponent: /*#__PURE__*/_react.default.createElement(_victoryCore.VictoryContainer, null), | ||
groupComponent: /*#__PURE__*/_react.default.createElement("g", null), | ||
standalone: true, | ||
theme: _victoryCore.VictoryTheme.grayscale, | ||
fillInMissingData: true | ||
}; | ||
@@ -44,2 +51,3 @@ var VictoryStackBase = function (initialProps) { | ||
var role = VictoryStack.role; | ||
initialProps = _objectSpread(_objectSpread({}, defaultProps), initialProps); | ||
@@ -169,9 +177,2 @@ var _Hooks$useAnimationSt = _victoryCore.Hooks.useAnimationState(), | ||
}); | ||
VictoryStackBase.defaultProps = { | ||
containerComponent: /*#__PURE__*/_react.default.createElement(_victoryCore.VictoryContainer, null), | ||
groupComponent: /*#__PURE__*/_react.default.createElement("g", null), | ||
standalone: true, | ||
theme: _victoryCore.VictoryTheme.grayscale, | ||
fillInMissingData: true | ||
}; | ||
var componentConfig = { | ||
@@ -178,0 +179,0 @@ role: "stack", |
{ | ||
"name": "victory-stack", | ||
"version": "36.7.0", | ||
"version": "36.8.1", | ||
"description": "Stack 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 @@ "peerDependencies": { |
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
1032935
18281
Updatedvictory-core@^36.8.1