chore(deps): update dependency recharts to v3.8.1#260
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
a312357 to
b04f076
Compare
02eeed1 to
87f4f61
Compare
87f4f61 to
d9a4474
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
3.2.1→3.8.1Release Notes
recharts/recharts (recharts)
v3.8.1Compare Source
What's Changed
Bugfixes!
New Contributors
Full Changelog: recharts/recharts@v3.8.0...v3.8.1
v3.8.0Compare Source
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 @PavelVanecek in #6960Annotations: exportgetRelativeCoordinatehelper function by @PavelVanecek in #6942Legend: Add label style prop in Legend by @devoldemar in #7012XAxis/YAxis: newniceTIcksprop - specify'none' | 'auto' | 'equidistant' | 'nice'for different behaviors by @MaxGhenis in #7009General: Add event throttling controls to chart props by @PavelVanecek in #6924Fix
Pie: fix: enable tooltip synchronization for PieChart by @VIDHITTS in #6989Pie: fix: sync pie tooltip/legend color with per-sector fill by @2YH02 in #6977Bar: Fix activeBar highlighting with missing/null data by @Copilot in #7001Bar: Support Bar CSS transitions by @PavelVanecek in #6920XAxis/YAxis: respect user-provided textAnchor prop on XAxis/YAxis by @pierreeurope in #7028Tooltip: Close tooltip on blur by @gVguy in #6958General: fix error whenonMouseEnter/Leave={undefined}by @SvetlanaVesna in #6969Animation: [animations] auto disable primitives animations based on user system preferences by @cloud-walker in #6956Animation/Line: fix: prevent animated line flicker with round/square strokeLinecap by @roy7 in #7022Performance: filter zero-dimension rectangles early by @MendyLanda in #6800Types
Bar: Add generics to Bar by @PavelVanecek in #7015RadialBar: shape type and selector stability by @PavelVanecek in #6917LabelList/Area: Enhance type definitions for LabelList and Area components by @PavelVanecek in #6936PieFix Pie event handlers type by @PavelVanecek in #6944Pie/RadialBar: Fix event types for Pie and RadialBar by @PavelVanecek in #6965PolarAngleAxis: Fix PolarAngleAxis event types, add tests for remaining components by @PavelVanecek in #7000Tooltip: payload type from any by @PavelVanecek in #6925XAxis/YAxis: update event types for XAxis and YAxis, add type tests by @PavelVanecek in #7004General: Add external generics to Area by @PavelVanecek in #6993General: Add optional explicit generics to graphical items and charts by @PavelVanecek in #7035General: New feature - typed charts helper by @PavelVanecek in #7071General: Fix mouse event type by @PavelVanecek in #6939Docs
New Contributors
Full Changelog: recharts/recharts@v3.7.0...v3.8.0
v3.7.0Compare Source
v3.6.0Compare Source
What's Changed
3.6 🚀 - check out
BarStackand ranged stacked bars 📊Feat
BarStack: new componentBarStackby @PavelVanecek in #6746radiusBar: enable ranged stacked bars by @PavelVanecek in #6722Pie/Typescript: ExportPieSectorShapePropstype forshapefunction by @ramanverse in #6706XAxis/YAxis: Implement 'equidistantPreserveEnd' interval option for XAxis and YAxis (#6642) by @Om-Mishra09 in #6661Tooltip: AddgraphicalItemIdto tooltip payload object by @PavelVanecek in #6765TypeScript: ExportTooltipIndex,BarRectangleItem,TreemapNode,DataKey,AxisIntervalfrom public API by @Copilot in #6676Fix
Scatter: fix bug where Tooltip payload data was duplicated or contained unrelated items when using multipleScatterelements in oneScatterChartby @PavelVanecek in #6773Label/LabelList:Fix crash whenLabelis passed as content toLabelListby @Harikrushn9118 in #6732General: Round numbers before putting them to DOM by @PavelVanecek in #6707General: Store refs instead of IDs to unblock shadow DOM usecases by @PavelVanecek in #6753Chore
CartesianAxis: DeprecateCartesianAxis@PavelVanecek in #6774undefinedchecks for progress towards TSstrictmodeDocs
New Contributors
Full Changelog: recharts/recharts@v3.5.1...v3.6.0
v3.5.1Compare Source
What's Changed
Fix
Pie: add missingSectorindex toPieshapeprop by @ckifer in #6683Piesimilar toactiveIndexin 2.xPie: prevent cross-Pie highlighting in multi-PiePieCharts with shared dataKeys by @shreedharbhat98 in #6678TypeScript/Tooltip: updateactiveLabeltype to be astring | numberby @ckifer in #6691Accessibility/General: addtabIndex-1 on RechartsZIndexsvg portalgtags to prevent extraneous focusable surfaces by @ckifer in #6687General: Removed accidental eslint dependency from main dependencies which should remove it from installation with rechartsNew Contributors
Full Changelog: recharts/recharts@v3.5.0...v3.5.1
v3.5.0Compare Source
What's Changed
Mostly fixes and performance improvements this release but check out the deprecation of
Pieactive/inactiveShapein favor of aligning with theshapeprop of other chart elements.Feat
Pie: addshapeto align custom Pie sector shapes to other Recharts components by @ckifer in #6482activeShapeandinactiveShape. Please use theisActiveprop passed from the callback toshapeto create active Pie sectors.Stacked Charts: implementreverseStackOrderprop in v3 - fixes a regression between recharts 2 and 3 by @j-shimizu111 in #6644Typescript/Dot: exportActiveDotPropsandDotItemDotPropstypes by @simaks in #6657Fix
SetTooltipEntrySettingsto break infinite rendering loop by @PavelVanecek in #6616Line: fix animation when interrupted with non-data related changes by @PavelVanecek in #6641Line/Area: fix active dot appearing outside graph by @cameronm-orion in #6612Legend: aLegendwith aportalno longer adjusts the margin of the chart (which left an empty space) by @ckifer in #6609ErrorBar: remove duplicate key warning when error range has same values by @bas0N in #6660PolarAngleAxis: prevent overlapping "0" and "360" ticks by @PavelVanecek in #6611Typescript/Area: add specific type toArea.labelinstead ofanyby @PavelVanecek in #6621General: disable immutable check in production, removes console warnings by @tngwoerleij in #6619Docs
New Contributors (thanks everyone!)
Full Changelog: recharts/recharts@v3.4.1...v3.4.2
v3.4.1Compare Source
What's Changed
Forgot some exports for Z Index in 3.4
DefaultZIndexesandZIndexLayerby @ckifer in #6599Full Changelog: recharts/recharts@v3.4.0...v3.4.1
v3.4.0Compare Source
v3.3.0Compare Source
What's Changed
Feat
ResponsiveContaineris now built-in to all charts by @PavelVanecek in #6388responsiveprop to any chart along with a height and width as if you were usingResponsiveContainer. One less component to wrap things with.ResponsiveContainerwill continue to work for the life of 3.xFix
YAxis: Only use the YAxiswidth="auto"oscillation detection if the difference is > 1 pixel by @PavelVanecek in #6450ResponsiveContainer: only shrinks in the dimensions where it needs to shrink by @PavelVanecek in #6367Treemap: fix animation stutters in Treemap by @PavelVanecek in #6326Sankey: fix unique key error by @daiboom in #6352Website changes - https://recharts.github.io/
Unfortunately the current contributors and admins do not own recharts.org and the renewal of the domain remains up in the air. To remove that uncertainty we have deployed the website at our github pages URL instead.
New Contributors
Full Changelog: recharts/recharts@v3.2.1...v3.3.0
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.