npm recharts 3.11.0-canary.0
v3.11.0-canary.0

5 hours ago

What's Changed

Themes! See the new guide in https://recharts.github.io/en-US/guide/theming/

This is experimental release; please share your feedback and know that the API may still change. However the whole https://recharts.github.io/ website already runs on it and I am quite happy with how it turned out.

New features

Bugfixes

  • fix(Pie): make maxRadius actually constrain percentage-based radii by @pratik-desgn in #7594
  • fix(Pie): interpolate paddingAngle during animation by @pratik-desgn in #7593
  • Added effect in cartesian YAxis to update width to initial size on data change by @Elaskin in #7347
  • fix: infinite loop in reduceCSSCalc when a value contains $& by @jcross in #7610
  • fix(Brush): honor a selection of the first data point only by @kdelay in #7618
  • fix(Sankey): skip links that point back along the current path by @jcross in #7619
  • fix(BarStack): expand clip path so bar strokes are not clipped by @ostapondo in #7606
  • fix: guard reduceCSSCalc against ReDoS from pathological calc() input by @bunlongheng in #7620
  • fix(axis): stop a two-tick axis whose domain crosses zero from overflowing the stack by @Jaybhade in #7622
  • fix(Bar): stop stacked minPointSize inflation from overlapping neighboring segments by @pratik-desgn in #7600
  • fix(Bar): apply the theme strokeDasharray like the other graphical items by @kdelay in #7638
  • fix(Rectangle): keep the rectangle mounted while it animates to zero by @adarshsm in #7596
  • fix(Bar): stop spurious re-animation on unrelated re-renders by @StefanCodes17 in #7644
  • fix(types): export prop interfaces referenced by public component props by @MahinAnowar in #7642
  • Stop hasDuplicate reporting Object.prototype keys as duplicates by @MahinAnowar in #7655
  • fix(useElementOffset): prevent measurement feedback loops by @yoan-md in #7671
  • fix(Treemap): give nest breadcrumbs a stable key by @MahinAnowar in #7669

Documentation

New Contributors

Full Changelog: v3.10.1...v3.11.0-canary.0

Don't miss a new recharts release

NewReleases is sending notifications on new releases.