@redsift/charts 13.0.1 → 13.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_internal/BarChart2.js +1 -1
- package/_internal/BarChart2.js.map +1 -1
- package/_internal/Legend3.js +9 -6
- package/_internal/Legend3.js.map +1 -1
- package/_internal/LegendItem.js +1 -1
- package/_internal/LegendItem2.js +95 -27
- package/_internal/LegendItem2.js.map +1 -1
- package/_internal/LineChart2.js +1 -1
- package/_internal/LineChart2.js.map +1 -1
- package/_internal/PieChart2.js +1 -1
- package/_internal/PieChart2.js.map +1 -1
- package/_internal/ScatterPlot2.js +1 -1
- package/_internal/ScatterPlot2.js.map +1 -1
- package/index.d.ts +4 -2
- package/package.json +4 -4
package/_internal/BarChart2.js
CHANGED
|
@@ -1078,7 +1078,7 @@ const RenderedLinearBarChart = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
1078
1078
|
yAxisVariant
|
|
1079
1079
|
}
|
|
1080
1080
|
}, /*#__PURE__*/React.createElement(StyledBarChart, _extends({
|
|
1081
|
-
mode: typeof onBarClick === 'function' || typeof getBarAnchorProps === 'function' ? 'interactive' : 'static',
|
|
1081
|
+
mode: typeof onBarClick === 'function' || typeof getBarAnchorProps === 'function' || typeof forwardedLegendProps.getLegendItemAnchorProps === 'function' ? 'interactive' : 'static',
|
|
1082
1082
|
definition: hasCategory ? format('definition-linear-with-categories', {
|
|
1083
1083
|
categoryLength: categories.length,
|
|
1084
1084
|
barLength: bars.length
|