-
-
Notifications
You must be signed in to change notification settings - Fork 101
fix(deps): update dependency recharts to v3 #3454
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Automatically approved by GitHub Action
Here's the code health analysis summary for commits Analysis Summary
|
Coverage Report
File CoverageNo changed files found. |
Before we can merge this, we'll probably need an update from |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update @mantine/charts
to support v3 first
30ffc4b
to
096b3d1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Automatically approved by GitHub Action
096b3d1
to
e2ce2b7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Automatically approved by GitHub Action
e2ce2b7
to
0c32515
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Automatically approved by GitHub Action
0c32515
to
842059e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Automatically approved by GitHub Action
842059e
to
b2f94a8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Automatically approved by GitHub Action
b2f94a8
to
8d9eb03
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Automatically approved by GitHub Action
8d9eb03
to
bed8050
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Automatically approved by GitHub Action
bed8050
to
0ef21f8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Automatically approved by GitHub Action
f018bd6
to
48f1b83
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Automatically approved by GitHub Action
48f1b83
to
4e8c6c2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Automatically approved by GitHub Action
4e8c6c2
to
9c935fb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Automatically approved by GitHub Action
9c935fb
to
42325b2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Automatically approved by GitHub Action
42325b2
to
40f4880
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Automatically approved by GitHub Action
40f4880
to
504c53a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Automatically approved by GitHub Action
7f6783c
504c53a
to
7f6783c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Automatically approved by GitHub Action
7f6783c
to
8a4a4eb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Automatically approved by GitHub Action
8a4a4eb
to
aaf7645
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Automatically approved by GitHub Action
aaf7645
to
213c2c1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Automatically approved by GitHub Action
213c2c1
to
8c0a5f8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Automatically approved by GitHub Action
8c0a5f8
to
12ac102
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Automatically approved by GitHub Action
12ac102
to
5aa2ae1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Automatically approved by GitHub Action
5aa2ae1
to
74e0c06
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Automatically approved by GitHub Action
This PR contains the following updates:
^2.15.4
->^3.2.1
Release Notes
recharts/recharts (recharts)
v3.2.1
Compare Source
What's Changed
Fix
X/YAxis, etc.
: reduce re-renders to fix blinking line in Zoom & Highlight example by @PavelVanecek in #6315Bar
: Remove redundantRectangle
import, fixes tsup builds with recharts in them by @guscost in #6305Pie
: fix PieLabel types by @PavelVanecek in #6313Brush
: fix index off by one error whenmargin
is 0 by @ckifer in #6323New Contributors
Full Changelog: recharts/recharts@v3.2.0...v3.2.1
v3.2.0
Compare Source
What's Changed
Quite a bit of 3.0 bug fixes in this release along with two new hooks. Thanks to all who've been reporting issues!
Feat
Pie
: support string values in PieouterRadius
callbacks by @rephaelberkooz in #6191PolarGrid
: addfill
color support to by @mindtraveller in #6287Hooks
useXAxisDomain
anduseYAxisDomain
hooks by @PavelVanecek in #6201useMargin
hook by @PavelVanecek in #6224Fix
Bar
: fix unnecessary line breaks in Bar labels by @eino in #6214Bar
: improveBar
performance whenactiveBar
is turned off by @PavelVanecek in #6290Stacked Bar/Area
: fix stacked charts with duplicate categorical data by @PavelVanecek in #6194Scatter
: fix exception when Scatter data has non-stringtype
property by @PavelVanecek in #6248X/YAxis
: fix blinking when changing props by @PavelVanecek in #6262PolarAngleAxis/Radar
: fix polar angle axis ticks text positions by @mindtraveller in #6276Label
: allow rendering Labels as nested children inXAxis
,YAxis
and Reference elements by @PavelVanecek in #6219LabelList
: fix issue with LabelList not rendering inPie
charts by @PavelVanecek in #6246Text
: fix exception whenText
's children is empty and scaleToFit=true by @PavelVanecek in #6282Tooltip
: bound Tooltip coordinates to the chart container in synchronized charts by @shreedharbhat98 in #6263Brush:
allow brush travelers to be controlled by keys after mouse interaction by @ckifer in #6285useActiveTooltipDataPoints
: fix infinite rendering loop by @PavelVanecek in #6247Chore
New Contributors (thanks everyone!)
Full Changelog: recharts/recharts@v3.1.2...v3.1.3
v3.1.2
Compare Source
What's Changed
Fix
Label/Polar Charts
:Label
viewbox should now be present in polar charts and address #6030 by @PavelVanecek in #6180Full Changelog: recharts/recharts@v3.1.1...v3.1.2
v3.1.1
Compare Source
What's Changed
Fix
General
: Don't apply duplicate IDs in the DOM by @PavelVanecek in #6111Stacked Area/Bar
: give all graphical items their own unique identifier and use that to select stacked data. Fixes issue where stacked charts could not be created from the graphical itemdata
prop #6073 by @PavelVanecekStacked Area/Bar
: exclude stacked axis domain when not relevant for axis by @rinkstiekema in #6162 fixes issue where numeric stacked charts would not render correctlyArea Chart
: ranged area chart - show active dot on both points instead of just the top one by @sroy8091 in #6116 fixes #6080Polar Charts/Label
: fixLabel
in polar charts by @PavelVanecek in #6126Scatter/ErrorBar
: choose implicit Scatter ErrorBar direction based on chart layout (to be the same as 2.x) by @PavelVanecek in #6159X/YAxis/Reference Components
: allow axis values and reference items to render when there is no data but there is a domain/explicit ticks set by @ethphan in #6161X/YAxis
: pass axis padding info to custom tick components by @shreedharbhat98 in #6163Chore / Testing
strictNullChecks
Animate
intoJavascriptAnimate
andCSSTransitionAnimate
by @PavelVanecek in #6175New Contributors
Full Changelog: recharts/recharts@v3.1.0...v3.1.1
v3.1.0
Compare Source
What's Changed
Bug fixes (old and new) and a few new hooks post 3.0 launch!
Feat
More hooks!
useOffset
andusePlotArea
hooks by @PavelVanecek in #6057useActiveTooltipDataPoints
hook by @PavelVanecek in #6067Fix
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 #6074Docs
Chore
New Contributors
Full Changelog: recharts/recharts@v3.0.2...v3.1.0
v3.0.2
Compare Source
What's Changed
Please skip 3.0.1 and go straight to 3.0.2 - #6022. In
React.StrictMode
charts in 3.0.1 were not rendering at all. This revert should resolve that.revert
: revert preserve legend order by @ckifer in #6023Full Changelog: recharts/recharts@v3.0.1...v3.0.2
v3.0.1
Compare Source
What's Changed
Lots of fixes from the 3.0 release - thanks for the reports!
Edit: broke something #6022
Fix
Label
: fix an issue which causedlabelRef
to get passed to custom DOM elements which logged an error/warning by @saurabhraj123 in #6008Pie
->Label
: fix issue where pie labels were not rendering correctly when specified as a child ofPie
by @PavelVanecek in #5987Legend
: apply legenditemSorter
for customcontent
as well as default content by @PavelVanecek in #6012*Legend
: keep legend items in the same order when they are hidden and shown by @PavelVanecek in #6017Bar
->Brush
: fix undefined access error when usingBrush
with stacked bar charts by @PavelVanecek in #6009X/YAxis
: fixDecimalError
when creating vertical oriented charts with a single datapoint by @ckifer in #6016X/Y/PolarAngle/PolarRadius Axis
:tickFormatter
is no longer called with data indexes before the actual data by @PavelVanecek in #6019Full Changelog: recharts/recharts@v3.0.0...v3.0.1
v3.0.0
Compare Source
🚀 Recharts 3 is here!
Huge shoutout to @PavelVanecek who wrote 95% of the code for this major version release. We re-wrote recharts state management, wrote some 3500 unit tests, fixed a bunch of bugs, and added a few well-requested features.
The intent with 3.0 is that it is now a better/easier place for the community to contribute to. Looking forward to what the future of recharts looks like in 3.x and beyond!
More details and the 3.0 migration guide
BREAKING CHANGES
Please see https://github.com/recharts/recharts/wiki/3.0-migration-guide#breaking-code-changes
tldr;
CategoricalChartState
(which was access to recharts internal state) no longer exists in event handlers orCustomized
, etc.<Customized />
no longer receives recharts state/propsNew Features
accessibilityLayer
is now on on all polar and cartesian charts by default. Tab into the chart and use the arrow keys to navigate.axisId
YAxis
: auto width calculation for YAxes - setwidth="auto"
X/YAxis
: Addsymlog
d3 scale typeBug fixes and improvements
This release fixes some long standing issues in recharts, the easiest way to determine all of them is to take a look at the recharts 3.0 project board
Pie
: no more border around pie sectors on click, etc.CartesianGrid
: background now renders below the grid lines instead of aboveOur 3.0 storybook has a lot of updated examples!
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.