victory-stack
Advanced tools
Comparing version 37.1.2 to 37.2.0
# victory-stack | ||
## 37.2.0 | ||
### Minor Changes | ||
- Minor updates for clean theme ([#2909](https://github.com/FormidableLabs/victory/pull/2909)) | ||
## 37.1.2 | ||
@@ -4,0 +10,0 @@ |
@@ -220,6 +220,9 @@ import _orderBy from "lodash/orderBy"; | ||
const parentName = props.name || "stack"; | ||
const { | ||
theme | ||
} = props; | ||
return children.map((child, index) => { | ||
const role = child.type && child.type.role; | ||
const data = datasets[index]; | ||
const style = Wrapper.getChildStyle(child, index, newCalculatedProps); | ||
const style = Wrapper.getChildStyle(child, index, newCalculatedProps, theme); | ||
const labels = props.labels ? getLabels(props, datasets, index) : child.props.labels; | ||
@@ -226,0 +229,0 @@ const name = child.props.name || `${parentName}-${role}-${index}`; |
@@ -231,6 +231,9 @@ "use strict"; | ||
const parentName = props.name || "stack"; | ||
const { | ||
theme | ||
} = props; | ||
return children.map((child, index) => { | ||
const role = child.type && child.type.role; | ||
const data = datasets[index]; | ||
const style = _victoryCore.Wrapper.getChildStyle(child, index, newCalculatedProps); | ||
const style = _victoryCore.Wrapper.getChildStyle(child, index, newCalculatedProps, theme); | ||
const labels = props.labels ? getLabels(props, datasets, index) : child.props.labels; | ||
@@ -237,0 +240,0 @@ const name = child.props.name || `${parentName}-${role}-${index}`; |
{ | ||
"name": "victory-stack", | ||
"version": "37.1.2", | ||
"version": "37.2.0", | ||
"description": "Stack Layout Component for Victory", | ||
@@ -25,4 +25,4 @@ "keywords": [ | ||
"react-fast-compare": "^3.2.0", | ||
"victory-core": "37.1.2", | ||
"victory-shared-events": "37.1.2" | ||
"victory-core": "37.2.0", | ||
"victory-shared-events": "37.2.0" | ||
}, | ||
@@ -29,0 +29,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
820653
15681
148
2
5
0
30
+ Addedvictory-core@37.2.0(transitive)
+ Addedvictory-shared-events@37.2.0(transitive)
+ Addedvictory-vendor@37.2.0(transitive)
- Removedvictory-core@37.1.2(transitive)
- Removedvictory-shared-events@37.1.2(transitive)
- Removedvictory-vendor@37.1.2(transitive)
Updatedvictory-core@37.2.0
Updatedvictory-shared-events@37.2.0