Update dependency react-minimal-pie-chart to v8 #17
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.3.0
->^8.0.0
Release Notes
toomuchdesign/react-minimal-pie-chart (react-minimal-pie-chart)
v8.4.0
Compare Source
labelRenderProps
by using TS genericsPieChartProps
typesv8.3.0
Compare Source
v8.2.0
Compare Source
v8.1.0
Compare Source
v8.0.1
Compare Source
Bugfixes
extractPercentage
implementation to address a rounding issue instroke-dashoffset
evaluation (#133)v8.0.0
Compare Source
Breaking Changes
react
andreact-dom
peerDependency versions increased to^16.8.0
typescript
version increased to^3.8.0
(due toimport type
)label
prop works as render prop; drop support forboolean
and Element valuessegmentsShift
prop expressed as absoluteviewBox
units instead of radius' percentage(event, segmentIndex) => void
rx
andry
props replaced bycenter
array propcenter
andradius
props expressed as absoluteviewBox
units instead of percentage of itprop-types
dependency and staticPropTypes
declarations droppedinjectSVG
dropped in favour of native children propObject.assign
polyfillNew Features
segmentsStyle
andlabelStyle
accept both value or functionBugfixes
dominant-baseline: central
(#149)How to migrate to version 8.0.0
import {PieChart} from 'react-minimal-pie-chart'
react
andreact-dom
version is >=16.8.0
typescript
is used, ensure that installed version is >=3.8
label
prop to provide a render function (see docs about labels)rx
ry
props withcenter
center
andsegmentsShift
values (now expressed asviewBox
values)onBlur
,onClick
,onFocus
,onKeyDown
,onMouseOut
,onMouseOver
,segmentsShift
function props to new signaturesinjectSVG
prop return value tochildren
propsegmentsStyle
as function instead ofdata[].style
propObject.assign
polyfill to support legacy browser (eg. IE)v7.3.1
Compare Source
Bugfixes
label
prop type declaration when receiving a function (#154)v7.3.0
Compare Source
New Features
segmentsShift
as function to returnundefined
Minor Changes
sumValues
performancev7.2.0
Compare Source
New Features
segmentsShift
prop to move segments radially and render exploded chartsv7.1.0
Compare Source
New Features
onBlur
,onFocus
,onKeyDown
callbackssegmentsTabIndex
to append atabindex
prop to segment pathsBugfixes
stroke-dasharray
andstroke-dashoffset
attributes being evaluated and appended even when there is no animationv7.0.0
Compare Source
Warning
This release introduced a regression bug. Please upgrade to
V7.1.0
Breaking Changes
src
from distributionEventHandler
expectsvoid
as return typeMinor Changes
prop-types
from private componentsv6.0.1
Compare Source
Bugfixes
cy
being evaluated fromviewBoxSize
width instead of heightv6.0.0
Compare Source
Breaking Changes
ratio
property removed in favour ofviewBoxSize
v5.0.2
Compare Source
Bugfixes
NaN
being rendered as SVG path attribute whendata.value
sum equals 0 andtotalValue
is undefinedv5.0.1
Compare Source
Bugfixes
reveal
direction with negativelengthAngle
v5.0.0
Compare Source
Breaking Changes
reveal
works same direction aslengthAngle
dominant-baseline
instead ofalignment-baseline
v4.2.0
Compare Source
New Features
background
prop to draw segment's backgroundBugfixes
props.data
typesv4.1.1
Compare Source
Bugfixes
svg-partial-circle
v4.1.0
Compare Source
New Features
props.data[i].style
v4.0.0
Compare Source
Breaking Changes
ReactMinimalPieChart
extendsReact.Component
instead ofReact.PureComponent
paddingAngle
implementation to respect the proportions between rendered slicesMinor Changes
sideEffect
flagBugfixes
export { default } from
syntax not supported by TSv3.5.0
Compare Source
label
,labelPosition
andlabelStyle
v3.4.1
Compare Source
data.title
value as<title>
inside<path>
elementv3.4.0
Compare Source
injectSvg
function property to inject any element into rendered<svg>
elementConfiguration
📅 Schedule: Branch creation - "before 4am on Monday" (UTC), 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.