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
Minor Changes
labelRenderProps
by using TS genericsPieChartProps
typesv8.3.0
Compare Source
Minor Changes
v8.2.0
Compare Source
Minor Changes
v8.1.0
Compare Source
Minor Changes
v8.0.1
Compare Source
Patch Changes
extractPercentage
implementation to address a rounding issue instroke-dashoffset
evaluation (#133)v8.0.0
Compare Source
Major 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
polyfillMinor Changes
segmentsStyle
andlabelStyle
accept both value or functionPatch Changes
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
Patch Changes
label
prop type declaration when receiving a function (#154)v7.3.0
Compare Source
Minor Changes
segmentsShift
as function to returnundefined
Minor Changes
sumValues
performancev7.2.0
Compare Source
Minor Changes
segmentsShift
prop to move segments radially and render exploded chartsv7.1.0
Compare Source
Minor Changes
onBlur
,onFocus
,onKeyDown
callbackssegmentsTabIndex
to append atabindex
prop to segment pathsPatch Changes
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
Major Changes
src
from distributionEventHandler
expectsvoid
as return typeMinor Changes
prop-types
from private componentsv6.0.1
Compare Source
Patch Changes
cy
being evaluated fromviewBoxSize
width instead of heightv6.0.0
Compare Source
Major Changes
ratio
property removed in favour ofviewBoxSize
v5.0.2
Compare Source
Patch Changes
NaN
being rendered as SVG path attribute whendata.value
sum equals 0 andtotalValue
is undefinedv5.0.1
Compare Source
Patch Changes
reveal
direction with negativelengthAngle
v5.0.0
Compare Source
Major Changes
reveal
works same direction aslengthAngle
dominant-baseline
instead ofalignment-baseline
v4.2.0
Compare Source
Minor Changes
background
prop to draw segment's backgroundPatch Changes
props.data
typesv4.1.1
Compare Source
Patch Changes
svg-partial-circle
v4.1.0
Compare Source
Minor Changes
props.data[i].style
v4.0.0
Compare Source
Major Changes
ReactMinimalPieChart
extendsReact.Component
instead ofReact.PureComponent
paddingAngle
implementation to respect the proportions between rendered slicesMinor Changes
sideEffect
flagPatch Changes
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 was generated by Mend Renovate. View the repository job log.