recharts 2.6.0
What's Changed
Storybook documentation updates as well as our first accessibility feature thanks to @julianna-langston and some refactoring to function components!
Feat
- [a11y] Keyboard navigation support for categorical charts by @julianna-langston in https://github.com/recharts/recharts/pull/3546
- See docs here
Fix
- Update type for
equidistantPreserveStartaxis interval by @frontier159 in https://github.com/recharts/recharts/pull/3511 - Stop focusing on tooltip when displayed - use event listeners instead by @ArkaFred in https://github.com/recharts/recharts/pull/3515
Docs
- lots of storybook changes - go check it out!
- Getting close to parity with existing docs on recharts.org
- Added accessibility add-on
- Added accessibility docs to go with the keyboard navigation support
- Storybook 7 stable
- Much more!
Refactor
- refactor:
Curveto function component by @akamfoad in https://github.com/recharts/recharts/pull/3477 - refactor:
PolarGridto function component by @akamfoad in https://github.com/recharts/recharts/pull/3471 - refactor:
Crossto component function by @akamfoad in https://github.com/recharts/recharts/pull/3475 - refactor: tooltip to function component by @ckifer in https://github.com/recharts/recharts/pull/3336
- fix: defaultProps of tooltip, fix viewBox by @ckifer in https://github.com/recharts/recharts/pull/3554
- refactor:
Textto function component by @akamfoad in https://github.com/recharts/recharts/pull/3463
New Contributors
- @akamfoad made their first contribution in https://github.com/recharts/recharts/pull/3466
- @nicholasgcoles made their first contribution in https://github.com/recharts/recharts/pull/3467
- @linhuiw made their first contribution in https://github.com/recharts/recharts/pull/3508
- @frontier159 made their first contribution in https://github.com/recharts/recharts/pull/3511
- @ArkaFred made their first contribution in https://github.com/recharts/recharts/pull/3515
- @julianna-langston made their first contribution in https://github.com/recharts/recharts/pull/3540
Full Changelog: https://github.com/recharts/recharts/compare/v2.5.0...v2.6.0