npm recharts 3.0.0-beta.1
v3.0.0-beta.1

latest releases: 3.6.0, 3.5.1, 3.5.0...
7 months ago

3.0 updates - release is pending the following issues:

Once these two are addressed we should be good to release stable 3.0 and move on to new features! In the mean time, here's beta.1

Changes since 3.0.0-beta.0

Feat

  • hooks: export and document useChartWidth, useChartHeight by @PavelVanecek in #5785
    • Storybook Link. These hooks enable access to the calculated height and width of recharts which includes chart margin, Legend height, etc.

Fix

  • Polar Charts/Accessibility: keyboard navigation direction now defaults to left-to-right by @ckifer in #5808
  • Tooltip/Treemap: fix bug that hid Tooltip when custom content was passed in Treemap by @ckifer in #5826
  • Tooltip/Typescript: update Tooltip label type to allow string | number | undefined by @ckifer in #5817

Chore

  • lodash has been replaced with native methods and es-toolkit by @dayongkr in #5811
    • Should reduce bundle size by a little bit!
  • disable allowSyntheticDefaultImports by @tfaller in #5812 fixes #5809
  • Going after enabling strictNullChecks in our tsconfig by @PavelVanecek in #5782

New Contributors

Full Changelog: v3.0.0-beta.0...v3.0.0-beta.1

Don't miss a new recharts release

NewReleases is sending notifications on new releases.