Comparing version 0.47.1 to 0.48.0
@@ -548,6 +548,6 @@ 'use strict'; | ||
dy: '0.3em', | ||
style: { | ||
style: _extends({}, theme.labels, { | ||
fill: textColor(label.arc.data, theme), | ||
fontSize: theme.axis.fontSize | ||
} | ||
}) | ||
}, | ||
@@ -637,6 +637,6 @@ label.text | ||
textAnchor: 'middle', | ||
style: { | ||
style: _extends({}, theme.labels, { | ||
fill: textColor(arc.data, theme), | ||
fontSize: theme.axis.fontSize | ||
} | ||
}) | ||
}, | ||
@@ -684,3 +684,4 @@ label(arc.data) | ||
legends$$1 = _props.legends, | ||
data = _props.data; | ||
data = _props.data, | ||
theme = _props.theme; | ||
@@ -694,3 +695,4 @@ | ||
containerHeight: height, | ||
data: data | ||
data: data, | ||
theme: theme | ||
})); | ||
@@ -708,3 +710,4 @@ }); | ||
data: PropTypes.arrayOf(PropTypes.object).isRequired, | ||
legends: PropTypes.arrayOf(PropTypes.shape(legends.LegendPropShape)).isRequired | ||
legends: PropTypes.arrayOf(PropTypes.shape(legends.LegendPropShape)).isRequired, | ||
theme: core.themePropType.isRequired | ||
}; | ||
@@ -874,3 +877,4 @@ | ||
arcs: arcs, | ||
legends: legends$$1 | ||
legends: legends$$1, | ||
theme: theme | ||
}) | ||
@@ -877,0 +881,0 @@ ); |
{ | ||
"name": "@nivo/pie", | ||
"version": "0.47.1", | ||
"version": "0.48.0", | ||
"license": "MIT", | ||
@@ -13,4 +13,4 @@ "main": "./index.js", | ||
"dependencies": { | ||
"@nivo/core": "^0.47.1", | ||
"@nivo/legends": "^0.47.0", | ||
"@nivo/core": "^0.48.0", | ||
"@nivo/legends": "^0.48.0", | ||
"d3-shape": "^1.2.2", | ||
@@ -28,3 +28,3 @@ "lodash": "^4.17.4", | ||
}, | ||
"gitHead": "a75e0f87f5e3e240a7fdc1e2420dcf63fec8f6ff" | ||
"gitHead": "acf00e8f498cbcce7fc22b7c11106b870feac472" | ||
} |
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
52773
1242
+ Added@nivo/core@0.48.0(transitive)
+ Added@nivo/legends@0.48.0(transitive)
- Removed@nivo/core@0.47.1(transitive)
- Removed@nivo/legends@0.47.0(transitive)
Updated@nivo/core@^0.48.0
Updated@nivo/legends@^0.48.0