What's Changed
Storybook updates, a few new features, bug fixes.
Note: This release may cause more reports of this defaultProps warning - we are aware of this and trying to come up with a feasible solution.
Feat
- Allow adding initial dimensions to ResponsiveContainer by @akamfoad in #3596
- Extend clip path configuration with
clipDot
prop by @tylerben @ckifer in #3602 - Support "bumpX" and "bumpY" curve types by @jacknevitt in #3617
Fix
- Account for
angle
prop on XAxis visibility calculation by @bernardobelchior in #3576 - Propagate className to CartesianAxis by @mitrotasios in #3592
- Add SVGProps to PieLabel type by @timbonicus in #3594
- Export default tooltip and legend content components by @oschwede in #3604
- Fix error bars not working in stacked bar charts by @ckifer in #3612
- Remove role="img" attribute from bar to prevent accessibility issues by using incorrect role by @rhuangabrielsantos in #3614
Docs
- lots of storybook changes - go check it out!
Refactor
- refactor:
Dot
to function component by @akamfoad in #3478 - refactor:
Polygon
to function component by @akamfoad in #3479 - refactor:
Reactangle
to function component by @akamfoad in #3480 - refactor:
Sector
to function component by @akamfoad in #3481 - refactor:
Trapezoid
to function component by @akamfoad in #3482 - refactor: change
Symbols
to functional component by @Yilun-Sun in #3485 - refactor:
DefaultTooltipContent
to be functional component by @akamfoad in #3618
New Contributors
- @CoffeeGeek101 made their first contribution in #3561
- @bernardobelchior made their first contribution in #3576
- @mitrotasios made their first contribution in #3592
- @timbonicus made their first contribution in #3594
- @oschwede made their first contribution in #3604
- @rhuangabrielsantos made their first contribution in #3614
- @jacknevitt made their first contribution in #3617
Full Changelog: v2.6.2...v2.7.0