EvHaus / react-pdf-charts

Allows SVG-based React charts to be rendered in react-pdf
MIT License
49 stars 3 forks source link

chore(deps): update dependency recharts to v2.12.5 #338

Closed renovate[bot] closed 4 months ago

renovate[bot] commented 4 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
recharts 2.12.4 -> 2.12.5 age adoption passing confidence

Release Notes

recharts/recharts (recharts) ### [`v2.12.5`](https://togithub.com/recharts/recharts/releases/tag/v2.12.5) [Compare Source](https://togithub.com/recharts/recharts/compare/v2.12.4...v2.12.5) Small fixes while working on v3 continued... #### What's Changed ##### Feat - `BarChart`: support percentage (of chart) for `barSize`. Helps set size of bar when there are few datapoints Fixes [#​3640](https://togithub.com/recharts/recharts/issues/3640) by [@​graup](https://togithub.com/graup) in [https://github.com/recharts/recharts/pull/4407](https://togithub.com/recharts/recharts/pull/4407) ##### Fix Address [https://github.com/recharts/recharts/issues/4382](https://togithub.com/recharts/recharts/issues/4382) A recent release of `@types/react` broke some builds because they removed certain (unused) events from common event handler attributes. `recharts` was unknowingly enumerating keys of `SVGProps` in the `Layer` component with the old types and causing a type error on `tsc` with `skipLibCheck: false` - `typescript - Layer`: use `SVGAttributes` instead of `SVGProps` in forwardRef components by [@​ckifer](https://togithub.com/ckifer) in [https://github.com/recharts/recharts/pull/4413](https://togithub.com/recharts/recharts/pull/4413) - `typescript - Pie`: fix Pie `ref` which was cast to `HTMLElement` when the `ref` is actually referring to `SVGGElement`. This gave false information to whoever is using `ref` on the `Pie` component **Full Changelog**: https://github.com/recharts/recharts/compare/v2.12.4...v2.12.5

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 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 has been generated by Mend Renovate. View repository job log here.