Releases: rcpch/digital-growth-charts-react-component-library
v7.5.2
What's Changed
Fixes midparental heights not rendering if requested before measurements api call.
- fix/midparental-height-fails-to-render by @eatyourpeas in #195
Full Changelog: v7.5.1...v7.5.2
v7.5.1
v7.5.0
Adds a new opt-in prop allowDuplicates. Implementors should exhaust all options for removing or filtering duplicates on their side before enabling this prop. Examples of correct usage include when historical measurements have been taken on the same day by community and hospital clinicians.
What's Changed
- duplicate-measurements by @eatyourpeas in #181
- oidc publication setup to npm by @eatyourpeas in #182
- the package.json must have the git repo defined to be able to publish by @eatyourpeas in #183
Full Changelog: v7.4.4...v7.5.0
v7.4.4
Fix for issue identified by Lindsey Wilson from Portsmouth University Hospital (Thank you)
Issue:
In the life course view the domains of the chart default to baseline - this is fine if children's data are within these domains, but if they are oversize the measurements might be cropped. See #177 and pull request below for details
What's Changed
- Add story for 22 weeks by @mbarton in #176
- bump dev dependencies to appease dependabot by @mbarton in #178
- Add life-course zoom and BMI height thresholds by @eatyourpeas in #179
Full Changelog: v7.4.3...v7.4.4
v7.4.3
What's Changed
- Issue171-eatyourpeas-error-styles by @eatyourpeas in #174
- updates validation to reformat common dates log console error but allow continue. vibe some tests for this function. by @eatyourpeas in #175
Full Changelog: v7.4.2...v7.4.3
[HOTFIX] Midparental Height Tooltips
Midparental heights that are less than 2dp throw Only integers or numbers to 2 decimal places are supported errors raised by the ordinalSuffix function responsible for adding st/th/rd to centiles.
Fixed in this update
v7.4.1
What's Changed
Bug Fixes / Improvements
- Centile label size now larger and default to hidden. Toggle to hide remains
- Centile values are included in the tooltip for clinicians only
- Storybook updated to 9.1.1
- clinicianFocus prop defaults to true
- Increase-centile-label-size by @eatyourpeas in #170
Full Changelog: v7.4.0...v7.4.1
v7.4.0
We now support React 19 but also still support React 18.
The UMD package has changed path (umd subfolder removed)
v7.3.9
v7.3.8
Patch
Adds a toggle to the SDS chart to show/hide the legend if data points are covered by it