recharts 2.5.0
What's Changed
Feat
ResponsiveContainer:onResizecallback function by @ckifer in https://github.com/recharts/recharts/pull/3361XAxis,YAxis:includeHiddenprop - include all datapoints in domain calculation even when hidden by @neefrehman in https://github.com/recharts/recharts/pull/3103XAxis,YAxis: new interval optionequidistantPreserveStartby @nikolasrieble in https://github.com/recharts/recharts/pull/3392
Fix
ResponsiveContainer: default min-width to 0 to override default auto behavior that breaks flexbox layouts by @ckifer in https://github.com/recharts/recharts/pull/3391Area: Add missing 'data' type to Area component by @ondrejvelisek in https://github.com/recharts/recharts/pull/3443Brush/XAxis: fix NaN regression wheninterval={0}by @nikolasrieble in https://github.com/recharts/recharts/pull/3454ReferenceArea/ReferenceLine: revert regression whereifOverflowprop is not obeyed due to missing defaultProps by @ckifer in https://github.com/recharts/recharts/pull/3455
Docs
- lots of storybook changes - go check it out!
Dependencies
- chore: explicitly upgrade minor version of react-smooth by @ckifer in https://github.com/recharts/recharts/pull/3397
- chore: upgrade react-resize-detector to 8.x by @ckifer in https://github.com/recharts/recharts/pull/3418
Refactor
- Refactoring: Adapt getTicks to increase reusability of code by @nikolasrieble in https://github.com/recharts/recharts/pull/3393
- Refactoring: Extract TicksUtils from CartesianAxis and add unit tests by @nikolasrieble in https://github.com/recharts/recharts/pull/3386
New Contributors
- @ondrejvelisek made their first contribution in https://github.com/recharts/recharts/pull/3443
Full Changelog: https://github.com/recharts/recharts/compare/v2.4.3...v2.5.0