Skip to content

Commit 9891ee9

Browse files
Update changelog for previous fixes
1 parent 95ef36b commit 9891ee9

File tree

1 file changed

+32
-1
lines changed

1 file changed

+32
-1
lines changed

docs/upgrade-to-6.0.md

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,18 @@ There are some breaking changes you'll need to be aware of when upgrading to v6.
66

77
You must read and apply these updates carefully to make sure your service does not break.
88

9+
## New features
10+
11+
### New header component with account section
12+
13+
The updated [header](https://service-manual.nhs.uk/design-system/components/header) component from NHS.UK frontend v10.x has been added, including support for account information and links. As part of this work we’ve also made some other improvements to the header:
14+
15+
- show currently active section or page in the navigation
16+
- align navigation items to the left by default
17+
- update navigation label from ’Primary navigation’ to ‘Menu’, and remove superfluous `role` and `id` attributes
18+
- update NHS logo in the header to have higher contrast when focused
19+
- refactor CSS classes and BEM naming, use hidden attributes instead of modifier classes, use generic search element
20+
921
## Breaking changes
1022

1123
### Update the JavaScript supported script snippet
@@ -210,7 +222,7 @@ To align with NHS.UK frontend, the date input component automatically renders it
210222

211223
The custom `autoSelectNext` prop is no longer supported.
212224

213-
### New header component with account section
225+
### Header
214226

215227
The updated header component from NHS.UK frontend v10.x has been added. You will need to make the following changes:
216228

@@ -464,3 +476,22 @@ To align with NHS.UK frontend, the warning callout `WarningCallout.Label` compon
464476
</p>
465477
</WarningCallout>
466478
```
479+
480+
## Fixes
481+
482+
- [#52: Expose header navigation open/close state (with setter)](https://github.com/NHSDigital/nhsuk-react-components/issues/52)
483+
- [#69: Unable to use ref attribute on some components](https://github.com/NHSDigital/nhsuk-react-components/issues/69)
484+
- [#71: Expose FormGroup component to consumers](https://github.com/NHSDigital/nhsuk-react-components/issues/71)
485+
- [#105: getHeadingsFromChildren forces use of string as table cell child](https://github.com/NHSDigital/nhsuk-react-components/issues/105)
486+
- [#166: SkipLink double jumps to first heading then #maincontent if disableDefaultBehaviour is not set](https://github.com/NHSDigital/nhsuk-react-components/issues/166)
487+
- [#174: Responsive tables and validation errors](https://github.com/NHSDigital/nhsuk-react-components/issues/174)
488+
- [#214: Hints and errors are not semantically associated with fieldsets](https://github.com/NHSDigital/nhsuk-react-components/issues/214)
489+
- [#215: Suggestion: remove all 'boolean' examples from storybook](https://github.com/NHSDigital/nhsuk-react-components/issues/215)
490+
- [#243: Use correct NHS.UK frontend JavaScript when rendered client-side](https://github.com/NHSDigital/nhsuk-react-components/issues/243)
491+
- [#244: Breaking change: remove default legend and label sizes or else change to l](https://github.com/NHSDigital/nhsuk-react-components/issues/244)
492+
- [#245: Fieldset incorrectly gets set in error when a child input is in error](https://github.com/NHSDigital/nhsuk-react-components/issues/245)
493+
- [#247: Date component uses label rather than fieldset with legend](https://github.com/NHSDigital/nhsuk-react-components/issues/247)
494+
- [#256: SkipLink does not work if intended target header is rerendered](https://github.com/NHSDigital/nhsuk-react-components/issues/256)
495+
- [#259: Remove pattern="[0-9]\*" from date inputs](https://github.com/NHSDigital/nhsuk-react-components/issues/259)
496+
- [#260: Allow custom component for button links](https://github.com/NHSDigital/nhsuk-react-components/issues/260)
497+
- [#265: Header logo is not labeled correctly when organisation info is provided](https://github.com/NHSDigital/nhsuk-react-components/issues/265)

0 commit comments

Comments
 (0)