Releases: rcpch/digital-growth-charts-react-component-library
v7.3.1
v7.3.0
WHO charts
This release adds WHO charts (though can only be used in the context of v4.30 of the server and v4.3.3 of the python RCPCHGrowth package).
It also updates the chart data for all references apart from UK-WHO and CDC.
v7.2.2
Update
Fix for mid-parental height errors - pulls in fixes in API and python package. Replaces MPH calculation to one which takes an average of the parental height z scores and applies regression correction (0.5). 2 centiles either side of this are then rendered on the screen. The tool tips have been refactored to reflect this.
In addition, the failure of MPH to render in the under 2s has been addressed
Thank you to Dr Grosser from NHS Forth Valley for picking this up.
v7.2.1
Update
Fixes BMI crashing with centile label toggle on new CDC reference
Also fixes absent centile labels on new T21 AAP reference
Removes nondisjunction line in CDC for head circumference
v7.2.0
Update
Adds the Trisomy 21 AAP reference.
Goes alongside updates to server and RCPCHGrowth package (v4.2.1)
v7.1.4
Updates
- Updates dates in tooltips to reflect date in API response, not the UK locale date
- Y Axis label distance now calculated from y axis tick label font size
- BMI tooltip fix (percentage median BMI)
thanks again to @gdfreitas from SigmaMD for the contributions
v7.1.3
Updates
Includes new optional prop logoVariant
which accepts top
, bottom
, legend
.
This repositions the RCPCH logo optionally, or replaces it with a more discrete powered by RCPCH - version label below the reference.
Also fixes tests and adds storybook stories.
Thanks @gdfreitas for this work
v7.1.2
Thanks to @gdfreitas
Adds some custom styles to include a new ReferenceStyle
which relates to the reference text at the foot of the chart. Also some additions to the fontWeight props.
v7.1.1
Security update
Fix vulnerability in rollup by bumping version
v7.1.0
CDC
This includes the CDC (US) reference, updates the documentation and adds some stories to illustrate in Storybook.
See documentation