You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/upgrade-to-6.0.md
+32-1Lines changed: 32 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,18 @@ There are some breaking changes you'll need to be aware of when upgrading to v6.
6
6
7
7
You must read and apply these updates carefully to make sure your service does not break.
8
8
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
+
9
21
## Breaking changes
10
22
11
23
### Update the JavaScript supported script snippet
@@ -210,7 +222,7 @@ To align with NHS.UK frontend, the date input component automatically renders it
210
222
211
223
The custom `autoSelectNext` prop is no longer supported.
212
224
213
-
### New header component with account section
225
+
### Header
214
226
215
227
The updated header component from NHS.UK frontend v10.x has been added. You will need to make the following changes:
216
228
@@ -464,3 +476,22 @@ To align with NHS.UK frontend, the warning callout `WarningCallout.Label` compon
464
476
</p>
465
477
</WarningCallout>
466
478
```
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