Skip to content

Releases: rcpch/digital-growth-charts-react-component-library

v7.3.0

31 Dec 21:49
47abacd
Compare
Choose a tag to compare

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

03 Nov 13:58
db53580
Compare
Choose a tag to compare

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.

@dmc-cambric

v7.2.1

28 Oct 22:34
7ec85e9
Compare
Choose a tag to compare

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

27 Oct 21:55
d901491
Compare
Choose a tag to compare

Update

Adds the Trisomy 21 AAP reference.
Goes alongside updates to server and RCPCHGrowth package (v4.2.1)

v7.1.4

25 Oct 21:45
7305c2c
Compare
Choose a tag to compare

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

25 Oct 18:49
cbce0b8
Compare
Choose a tag to compare

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

24 Oct 18:45
af45a65
Compare
Choose a tag to compare

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

21 Oct 13:40
22f81ac
Compare
Choose a tag to compare

Security update

Fix vulnerability in rollup by bumping version

v7.1.0

21 Oct 12:36
e1e096a
Compare
Choose a tag to compare

CDC

This includes the CDC (US) reference, updates the documentation and adds some stories to illustrate in Storybook.
See documentation

v7.0.13

18 Oct 19:46
a93129c
Compare
Choose a tag to compare

New Features

  1. Nondisjunction lines - implementation following project board in August 2024. Clarification of the disjunction lines to signpost to user where centile lines break as references change. The existing tooltips remain, but the lines highlight the issue.
  2. Reintroduces height and width props. Note, no correction is made for aspect ratio so the user must pick values that scale appropriately. The recommended height/width ratio is 4/5. The height and weight are used to calculate a scale factor for text SVGs

Bug fixes

  1. the use of globalStyles introduced with the font changes then overtook the DOM. This removes globalStyles in favour of a styled div