What's Changed
Bug fixes (old and new) and a few new hooks post 3.0 launch!
Feat
More hooks!
- Add
useOffset
andusePlotArea
hooks by @PavelVanecek in #6057 - Add
useActiveTooltipDataPoints
hook by @PavelVanecek in #6067
Fix
Legend
: After hiding and showing legend elements, keep them in the same order as before by @PavelVanecek in #6026Bar
: addpayload
as a valid property onBarRectangleItem
by @ckifer in #6029Accessibility
: Removerole=application
from recharts wrapper (this was removed in 2.x for accessibility reasons) by @PavelVanecek in #6060ResponsiveContainer
: Addoverflow: visible
zero-size wrapper so that ResponsiveContainer can shrink by @PavelVanecek in #6068X/YAxis
: FixtickCount
andallowDecimals
if axis domain does not include the keyword 'auto' by @PavelVanecek in #6070Tooltip
: Fix active tooltip and dots when there are multiple graphical items each with their own data by @PavelVanecek in #6074
Docs
- Our storybook stories can now open in stackblitz by @PavelVanecek in #6043
- Add hook inspector documentation by @PavelVanecek in #6059
Chore
New Contributors
Full Changelog: v3.0.2...v3.1.0