PR #51 opened: chore(deps): bump recharts from 2.15.4 to 3.8.0
Bumps recharts from 2.15.4 to 3.8.0.
▶Release notes
Sourced from recharts's releases.
v3.8.0
What's Changed
We added generics to our
dataanddataKeyprops and now you can have your charts validated by TypeScript. See the full guide here: https://recharts.github.io/en-US/guide/typescript/We are releasing new helper functions and hooks that will allow you to precisely target mouse interactions, and convert coordinates. See the guide here: https://recharts.github.io/en-US/guide/coordinateSystems/
And new functions and hooks:
getRelativeCoordinate - converts mouse events to pixel positions
Convert Data → Pixels:
useXAxisScale - returns a function to convert X data values to pixel positions useYAxisScale - returns a function to convert Y data values to pixel positions useCartesianScale - convenience hook for converting both at once
Pixels → Data:
useXAxisInverseScale - returns a function to convert pixel X to the closest data value useYAxisInverseScale - returns a function to convert pixel Y to the closest data value useXAxisInverseTickSnapScale - returns a function to convert pixel X to the closest axis tick useYAxisInverseTickSnapScale - returns a function to convert pixel Y to the closest axis tick
Accessing Ticks:
useXAxisTicks - returns the calculated ticks of an X-axis useYAxisTicks - returns the calculated ticks of a Y-axis
Feat
Hooks: New hooks (see above) by@PavelVanecekin recharts/recharts#6960Annotations: exportgetRelativeCoordinatehelper function by@PavelVanecekin recharts/recharts#6942Legend: Add label style prop in Legend by@devoldemarin recharts/recharts#7012XAxis/YAxis: newniceTIcksprop - specify'none' | 'auto' | 'equidistant' | 'nice'for different behaviors by@MaxGhenisin recharts/recharts#7009General: Add event throttling controls to chart props by@PavelVanecekin recharts/recharts#6924Fix
Pie: fix: enable tooltip synchronization for PieChart by@VIDHITTSin recharts/recharts#6989Pie: fix: sync pie tooltip/legend color with per-sector fill by@2YH02in recharts/recharts#6977Bar: Fix activeBar highlighting with missing/null data by@Copilotin recharts/recharts#7001Bar: Support Bar CSS transitions by@PavelVanecekin recharts/recharts#6920XAxis/YAxis: respect user-provided textAnchor prop on XAxis/YAxis by@pierreeuropein recharts/recharts#7028Tooltip: Close tooltip on blur by@gVguyin recharts/recharts#6958General: fix error whenonMouseEnter/Leave={undefined}by@SvetlanaVesnain recharts/recharts#6969Animation: [animations] auto disable primitives animations based on user system preferences by@cloud-walkerin recharts/recharts#6956Animation/Line: fix: prevent animated line flicker with round/square strokeLinecap by@roy7in recharts/recharts#7022Performance: filter zero-dimension rectangles early by@MendyLandain recharts/recharts#6800- Bump minimum
@reduxjs/toolkitto 1.9.0 by@Copilotin recharts/recharts#6934
... (truncated)
▶Commits
a1044dbchore(deps-dev): bump the storybook group across 1 directory with 7 updates (...2001a72chore(deps-dev): bump@types/nodefrom 24.11.0 to 24.12.0 (#7102)0ce01f0chore(deps-dev): bump eslint-plugin-storybook from 9.1.19 to 9.1.20 (#7103)0e0542f[Docs] fix(HighlightAndZoomLineChart): improve zoom area validation and add c...609ca4f[Docs] New router, add links to hooks (#7099)d33f529chore(deps-dev): bump marked from 17.0.3 to 17.0.4 (#7098)1c71ab6chore(deps): bump es-toolkit from 1.45.0 to 1.45.1 (#7087)907bab2chore(deps-dev): bump terser-webpack-plugin from 5.3.16 to 5.3.17 (#7088)c527fb2chore(deps-dev): bump webpack from 5.105.3 to 5.105.4 (#7089)473d55cNew feature - typed charts helper (#7071)- Additional commits viewable in compare view
▶Install script changes
This version modifies prepare script that runs during installation. Review the package contents before updating.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
▶Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)