recharts 2.10.4
What's Changed
Fix some older bugs annoying bugs, TS typings, update to the storybook theme, and more
Fix
ResponsiveContainer: fixref.current.currentwithout breaking users using current implementation by @HHongSeungWoo in https://github.com/recharts/recharts/pull/4008 - closes https://github.com/recharts/recharts/issues/3718Brush: Allow Brush to be controlled with start and end index via state by @ckifer in https://github.com/recharts/recharts/pull/4034 - closes https://github.com/recharts/recharts/issues/2404Legend: TypeScript - Add the dataKey type to legend props by @HHongSeungWoo in https://github.com/recharts/recharts/pull/4035 - closes https://github.com/recharts/recharts/issues/2909Pie: TypeScript - addedpayloadtoPieSectorDataItemtype by @PavelVanecek in https://github.com/recharts/recharts/pull/4030Pie: unique sector keys fix by @imagineLife in https://github.com/recharts/recharts/pull/4009 closes https://github.com/recharts/recharts/issues/3273RadialBar: allow className to be passed to Radial Bar background by @ckifer in https://github.com/recharts/recharts/pull/4027 - closes https://github.com/recharts/recharts/issues/4011
Storybook
- Storybook: Added Legend component story! by @AnujSharma141 in https://github.com/recharts/recharts/pull/4039
- Storybook: add controlled brush storybook entry by @ckifer in https://github.com/recharts/recharts/pull/4032
- Storybook: Custom Storybook theme for Recharts brand by @csdiehl in https://github.com/recharts/recharts/pull/4016
New Contributors
- @csdiehl made their first contribution in https://github.com/recharts/recharts/pull/4016
- @AnujSharma141 made their first contribution in https://github.com/recharts/recharts/pull/4039
Full Changelog: https://github.com/recharts/recharts/compare/v2.10.3...v2.10.4