Skip to content

Commit af4e2b9

Browse files
fix(deps): update dependency recharts to v2.9.0 (#5155)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [recharts](https://togithub.com/recharts/recharts) | [`2.8.0` -> `2.9.0`](https://renovatebot.com/diffs/npm/recharts/2.8.0/2.9.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/recharts/2.9.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/recharts/2.9.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/recharts/2.8.0/2.9.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/recharts/2.8.0/2.9.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>recharts/recharts (recharts)</summary> ### [`v2.9.0`](https://togithub.com/recharts/recharts/releases/tag/v2.9.0) [Compare Source](https://togithub.com/recharts/recharts/compare/v2.8.0...v2.9.0) #### What's Changed Quite a lot this minor release! We sent out a cry for help and many answered - thank you so much for that 🙌🏼 This release aims at internal maintainability, long lingering bugs, and needed improvements. Highlights include equidistant tick improvements, an active bar feature, and an ~85k/~9kb (gzipped) bundle size reduction 🚀 ##### Feat - `Bar`: Implement activeBar for Bar component by [@&#8203;andrewangelle](https://togithub.com/andrewangelle) in [https://github.com/recharts/recharts/pull/3756](https://togithub.com/recharts/recharts/pull/3756) - `CartesianGrid`: add `syncWithticks`, `horizonalValues`, and `verticalValues` props to allow more grid line customization by [@&#8203;morozovkirill](https://togithub.com/morozovkirill) in [https://github.com/recharts/recharts/pull/3746](https://togithub.com/recharts/recharts/pull/3746) solves [https://github.com/recharts/recharts/issues/2153](https://togithub.com/recharts/recharts/issues/2153) - `CartesianAxis`: Improve interval option 'equidistantPreserveStart' by [@&#8203;nikolasrieble](https://togithub.com/nikolasrieble) in [https://github.com/recharts/recharts/pull/3768](https://togithub.com/recharts/recharts/pull/3768) - `CartesianAxis`: Throw an invariant when axisIds do not match between chart and axis components by [@&#8203;ckifer](https://togithub.com/ckifer) - `Brush`: add onDragEnd event to Brush component by [@&#8203;simkesd](https://togithub.com/simkesd) in [https://github.com/recharts/recharts/pull/3774](https://togithub.com/recharts/recharts/pull/3774) ##### Fix - Active Shape improvements - `Funnel`: activeShape should work with Tooltip by [@&#8203;andrewangelle](https://togithub.com/andrewangelle) in [https://github.com/recharts/recharts/pull/3772](https://togithub.com/recharts/recharts/pull/3772) - `Scatter`: activeShape should work with Tooltip by [@&#8203;andrewangelle](https://togithub.com/andrewangelle) in [https://github.com/recharts/recharts/pull/3839](https://togithub.com/recharts/recharts/pull/3839) - `Pie`: activeShape should work with Tooltip by [@&#8203;andrewangelle](https://togithub.com/andrewangelle) in [https://github.com/recharts/recharts/pull/3818](https://togithub.com/recharts/recharts/pull/3818) - `RadialBar`: activeShape should work with Tooltip by [@&#8203;andrewangelle](https://togithub.com/andrewangelle) in [https://github.com/recharts/recharts/pull/3803](https://togithub.com/recharts/recharts/pull/3803) - `CartesianGrid`: Remove offset attribute from lines by [@&#8203;branberry](https://togithub.com/branberry) in [https://github.com/recharts/recharts/pull/3854](https://togithub.com/recharts/recharts/pull/3854) solves [https://github.com/recharts/recharts/issues/3810](https://togithub.com/recharts/recharts/issues/3810) - `ResponsiveContainer`: style prop is now passed down correctly by [@&#8203;d-gottlieb](https://togithub.com/d-gottlieb) in [https://github.com/recharts/recharts/pull/3726](https://togithub.com/recharts/recharts/pull/3726) - `Legend`: "Functions are not valid as a React child" error in <Legend/> when a function is passed as the payload [#&#8203;3749](https://togithub.com/recharts/recharts/issues/3749) by [@&#8203;chris-mcdonald-dev](https://togithub.com/chris-mcdonald-dev) in [https://github.com/recharts/recharts/pull/3750](https://togithub.com/recharts/recharts/pull/3750) - `Tooltip`: Fix tooltip position when container uses transform scale by [@&#8203;MateuszTrN](https://togithub.com/MateuszTrN) in [https://github.com/recharts/recharts/pull/3748](https://togithub.com/recharts/recharts/pull/3748) - `Tooltip`: Tooltip does not include data from all charts when a separate dataset is passed to chart prop data and specified on Line/Area/etc prop data by [@&#8203;andrewangelle](https://togithub.com/andrewangelle) in [https://github.com/recharts/recharts/pull/3733](https://togithub.com/recharts/recharts/pull/3733) fixes [https://github.com/recharts/recharts/issues/3669](https://togithub.com/recharts/recharts/issues/3669) ##### Refactor Impossible to mention all of the great refactoring done this release thanks to [@&#8203;PavelVanecek](https://togithub.com/PavelVanecek) (33 PRs in one month!!) and others! Notable improvements include (non-breaking) type safety enhancements and source code file size reductions, and unit test improvements that will help reduce regressions. ##### Chore - Upgrade react-smooth to 2.0.5 - potentially fixes [https://github.com/recharts/recharts/issues/1135](https://togithub.com/recharts/recharts/issues/1135) (edit: this was already fixed) - Add performance testing tool by [@&#8203;PavelVanecek](https://togithub.com/PavelVanecek) in [https://github.com/recharts/recharts/pull/3829](https://togithub.com/recharts/recharts/pull/3829) - remove reduceCSSCalc by [@&#8203;HHongSeungWoo](https://togithub.com/HHongSeungWoo) in [https://github.com/recharts/recharts/pull/3820](https://togithub.com/recharts/recharts/pull/3820) ##### Storybook - Add storybook-addon-performance by [@&#8203;PavelVanecek](https://togithub.com/PavelVanecek) in [https://github.com/recharts/recharts/pull/3826](https://togithub.com/recharts/recharts/pull/3826) - many storybook improvements and fixes #### 🚀 New Contributors (!!) 🚀 - [@&#8203;d-gottlieb](https://togithub.com/d-gottlieb) made their first contribution in [https://github.com/recharts/recharts/pull/3726](https://togithub.com/recharts/recharts/pull/3726) - [@&#8203;andrewangelle](https://togithub.com/andrewangelle) made their first contribution in [https://github.com/recharts/recharts/pull/3733](https://togithub.com/recharts/recharts/pull/3733) - [@&#8203;wanisramdani](https://togithub.com/wanisramdani) made their first contribution in [https://github.com/recharts/recharts/pull/3751](https://togithub.com/recharts/recharts/pull/3751) - [@&#8203;MateuszTrN](https://togithub.com/MateuszTrN) made their first contribution in [https://github.com/recharts/recharts/pull/3748](https://togithub.com/recharts/recharts/pull/3748) - [@&#8203;chris-mcdonald-dev](https://togithub.com/chris-mcdonald-dev) made their first contribution in [https://github.com/recharts/recharts/pull/3750](https://togithub.com/recharts/recharts/pull/3750) - [@&#8203;PavelVanecek](https://togithub.com/PavelVanecek) made their first contribution in [https://github.com/recharts/recharts/pull/3759](https://togithub.com/recharts/recharts/pull/3759) - [@&#8203;simkesd](https://togithub.com/simkesd) made their first contribution in [https://github.com/recharts/recharts/pull/3774](https://togithub.com/recharts/recharts/pull/3774) - [@&#8203;samtmorgan](https://togithub.com/samtmorgan) made their first contribution in [https://github.com/recharts/recharts/pull/3778](https://togithub.com/recharts/recharts/pull/3778) - [@&#8203;Shashangbhagat](https://togithub.com/Shashangbhagat) made their first contribution in [https://github.com/recharts/recharts/pull/3786](https://togithub.com/recharts/recharts/pull/3786) - [@&#8203;morozovkirill](https://togithub.com/morozovkirill) made their first contribution in [https://github.com/recharts/recharts/pull/3746](https://togithub.com/recharts/recharts/pull/3746) - [@&#8203;branberry](https://togithub.com/branberry) made their first contribution in [https://github.com/recharts/recharts/pull/3854](https://togithub.com/recharts/recharts/pull/3854) - [@&#8203;HHongSeungWoo](https://togithub.com/HHongSeungWoo) made their first contribution in [https://github.com/recharts/recharts/pull/3820](https://togithub.com/recharts/recharts/pull/3820) **Full Changelog**: recharts/recharts@v2.8.0...v2.9.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/SAP/ui5-webcomponents-react). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy44LjEiLCJ1cGRhdGVkSW5WZXIiOiIzNy4xOS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Lukas Harbarth <[email protected]>
1 parent f1bbfca commit af4e2b9

File tree

3 files changed

+18
-41
lines changed

3 files changed

+18
-41
lines changed

packages/charts/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"dependencies": {
3232
"clsx": "2.0.0",
3333
"react-content-loader": "6.2.1",
34-
"recharts": "2.8.0"
34+
"recharts": "2.9.0"
3535
},
3636
"peerDependencies": {
3737
"@ui5/webcomponents-react": "~1.21.0",

packages/charts/src/components/BulletChart/BulletChart.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -456,6 +456,7 @@ const BulletChart = forwardRef<HTMLDivElement, BulletChartProps>((props, ref) =>
456456
chartElementProps.onClick = onDataPointClickInternal;
457457
chartElementProps.fill = element.color ?? 'black';
458458
chartElementProps.strokeWidth = element.width;
459+
chartElementProps.activeBar = false;
459460
chartElementProps.shape = <ComparisonLine layout={layout} />;
460461
chartElementProps.strokeOpacity = element.opacity;
461462
chartElementProps.label = false;

yarn.lock

Lines changed: 16 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -6876,7 +6876,7 @@ __metadata:
68766876
dependencies:
68776877
clsx: 2.0.0
68786878
react-content-loader: 6.2.1
6879-
recharts: 2.8.0
6879+
recharts: 2.9.0
68806880
peerDependencies:
68816881
"@ui5/webcomponents-react": ~1.21.0
68826882
"@ui5/webcomponents-react-base": ~1.20.0
@@ -9598,13 +9598,6 @@ __metadata:
95989598
languageName: node
95999599
linkType: hard
96009600

9601-
"css-unit-converter@npm:^1.1.1":
9602-
version: 1.1.2
9603-
resolution: "css-unit-converter@npm:1.1.2"
9604-
checksum: 07888033346a5128f34dbe2f72884c966d24e9f29db24416dcde92860242490617ef9a178ac193a92f730834bbeea026cdc7027701d92ba9bbbe59db7a37eb2a
9605-
languageName: node
9606-
linkType: hard
9607-
96089601
"css-value@npm:^0.0.1":
96099602
version: 0.0.1
96109603
resolution: "css-value@npm:0.0.1"
@@ -11781,10 +11774,10 @@ __metadata:
1178111774
languageName: node
1178211775
linkType: hard
1178311776

11784-
"fast-equals@npm:^4.0.3":
11785-
version: 4.0.3
11786-
resolution: "fast-equals@npm:4.0.3"
11787-
checksum: 3d5935b757f9f2993e59b5164a7a9eeda0de149760495375cde14a4ed725186a7e6c1c0d58f7d42d2f91deb97f3fce1e0aad5591916ef0984278199a85c87c87
11777+
"fast-equals@npm:^5.0.0":
11778+
version: 5.0.1
11779+
resolution: "fast-equals@npm:5.0.1"
11780+
checksum: fbb3b6a74f3a0fa930afac151ff7d01639159b4fddd2678b5d50708e0ba38e9ec14602222d10dadb8398187342692c04fbef5a62b1cfcc7942fe03e754e064bc
1178811781
languageName: node
1178911782
linkType: hard
1179011783

@@ -18676,13 +18669,6 @@ __metadata:
1867618669
languageName: node
1867718670
linkType: hard
1867818671

18679-
"postcss-value-parser@npm:^3.3.0":
18680-
version: 3.3.1
18681-
resolution: "postcss-value-parser@npm:3.3.1"
18682-
checksum: 62cd26e1cdbcf2dcc6bcedf3d9b409c9027bc57a367ae20d31dd99da4e206f730689471fd70a2abe866332af83f54dc1fa444c589e2381bf7f8054c46209ce16
18683-
languageName: node
18684-
linkType: hard
18685-
1868618672
"postcss-value-parser@npm:^4.0.0, postcss-value-parser@npm:^4.1.0, postcss-value-parser@npm:^4.2.0":
1868718673
version: 4.2.0
1868818674
resolution: "postcss-value-parser@npm:4.2.0"
@@ -19334,17 +19320,17 @@ __metadata:
1933419320
languageName: node
1933519321
linkType: hard
1933619322

19337-
"react-smooth@npm:^2.0.2":
19338-
version: 2.0.2
19339-
resolution: "react-smooth@npm:2.0.2"
19323+
"react-smooth@npm:^2.0.4":
19324+
version: 2.0.5
19325+
resolution: "react-smooth@npm:2.0.5"
1934019326
dependencies:
19341-
fast-equals: ^4.0.3
19327+
fast-equals: ^5.0.0
1934219328
react-transition-group: 2.9.0
1934319329
peerDependencies:
1934419330
prop-types: ^15.6.0
1934519331
react: ^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0
1934619332
react-dom: ^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0
19347-
checksum: 6b0a40a17314657ac6a187a3ad01fcdaa61d498979b6a07c424e20832110c99b4394c33209a0b39b897c13d113d8cb044e7a691b4965386a11b15bbfbacfba25
19333+
checksum: 914c17f741e8b533ff6e3d5e3285aea0625cdd0f98e04202d01351f9516dbdc0a0e297dc22cc2377d6916fb819da8d4ed999c0314a4c186592ca51870012e6f7
1934819334
languageName: node
1934919335
linkType: hard
1935019336

@@ -19608,24 +19594,24 @@ __metadata:
1960819594
languageName: node
1960919595
linkType: hard
1961019596

19611-
"recharts@npm:2.8.0":
19612-
version: 2.8.0
19613-
resolution: "recharts@npm:2.8.0"
19597+
"recharts@npm:2.9.0":
19598+
version: 2.9.0
19599+
resolution: "recharts@npm:2.9.0"
1961419600
dependencies:
1961519601
classnames: ^2.2.5
1961619602
eventemitter3: ^4.0.1
1961719603
lodash: ^4.17.19
1961819604
react-is: ^16.10.2
1961919605
react-resize-detector: ^8.0.4
19620-
react-smooth: ^2.0.2
19606+
react-smooth: ^2.0.4
1962119607
recharts-scale: ^0.4.4
19622-
reduce-css-calc: ^2.1.8
19608+
tiny-invariant: ^1.3.1
1962319609
victory-vendor: ^36.6.8
1962419610
peerDependencies:
1962519611
prop-types: ^15.6.0
1962619612
react: ^16.0.0 || ^17.0.0 || ^18.0.0
1962719613
react-dom: ^16.0.0 || ^17.0.0 || ^18.0.0
19628-
checksum: 4638bd5c6c2af8f5c79de5e13cce0e38f06e0bbb0a3c4df27a9b12632fd72c0a0604c8246f55e830f323dfa84a3da7cb2634c2243bb9c775d899fd71f9d4c87a
19614+
checksum: caca9c79907e0f256fa683d65d413e81995bc1f62b44f56ed01754a17f2e99fc8aeabf8b26f49f7512d4bfbdd4fa441a70f36ce7b98a25fba2d86463dd41bcbc
1962919615
languageName: node
1963019616
linkType: hard
1963119617

@@ -19648,16 +19634,6 @@ __metadata:
1964819634
languageName: node
1964919635
linkType: hard
1965019636

19651-
"reduce-css-calc@npm:^2.1.8":
19652-
version: 2.1.8
19653-
resolution: "reduce-css-calc@npm:2.1.8"
19654-
dependencies:
19655-
css-unit-converter: ^1.1.1
19656-
postcss-value-parser: ^3.3.0
19657-
checksum: 8fd27c06c4b443b84749a69a8b97d10e6ec7d142b625b41923a8807abb22b9e37e44df14e26cc606a802957be07bdce5e8ee2976a6952a7b438a7727007101e9
19658-
languageName: node
19659-
linkType: hard
19660-
1966119637
"reflect.getprototypeof@npm:^1.0.3":
1966219638
version: 1.0.3
1966319639
resolution: "reflect.getprototypeof@npm:1.0.3"

0 commit comments

Comments
 (0)