recharts 2.8.0
What's Changed
Minor changes - mostly focused on resolving errors from https://github.com/recharts/recharts/issues/3615
Feat
Pie: default tabIndex and accept it as prop by @akamfoad in https://github.com/recharts/recharts/pull/3700Sankey: add prop to control sankey sorting by @daformat in https://github.com/recharts/recharts/pull/3690- [a11y]
Brush: Add basic keyboard accessibility support for the Brush component by @julianna-langston in https://github.com/recharts/recharts/pull/3633 RadialBarChart: support className prop by @victorgare in https://github.com/recharts/recharts/pull/3654
Fix
- defaultProps errros on function components in newer versions of react - fixes https://github.com/recharts/recharts/issues/3615
- TS: Add value type to legend Formatter event by @daryl-sf in https://github.com/recharts/recharts/pull/3668
- Switch useLayoutEffect to useEffect in Rectangle for SSR by @sieroaoj in https://github.com/recharts/recharts/pull/3657
Refactor
- refactor function components to use default params, revert Tooltip to class based component - resolves console errors about defaultProps
Docs
- Some storybook example additions/changes
New Contributors
- @victorgare made their first contribution in https://github.com/recharts/recharts/pull/3654
- @gcallaghan-nd made their first contribution in https://github.com/recharts/recharts/pull/3662
- @sieroaoj made their first contribution in https://github.com/recharts/recharts/pull/3657
- @daryl-sf made their first contribution in https://github.com/recharts/recharts/pull/3668
- @daformat made their first contribution in https://github.com/recharts/recharts/pull/3690
Full Changelog: https://github.com/recharts/recharts/compare/v2.7.2...v2.8.0