Develop/feature/td 6227 update nhsuk frontend npm package to version 10 #3414
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Both need to be in the test branch together
Without this change you will see backlinks with two overlapping chevron for example.
This is because NHSUKViewComponents.Web also relies on nhsuk-frontend but is currently expecting an older version.
Task to update View Components package to NHSE-TEL-View-Components TD-6421

JIRA link
TD-6227
Description
Remove TEL-Frontend and replacing with NHSE-Frontend. Then upgrading to NHSE-Frontend 10.x
I have look through a few screen and compared with the NHSE-Frontend showcase, and DLS Production.
The secondary button has changed for example.
The page template has changed. And svgs have been dropped and replaced with pseudos with css shapes.
Because of this using nhsuk-back no longer works with anything but the cancel buttons, it had been used for other purposes like cancel. Instead the change decided on was to use nhsuk-link and remove the svg. So cancel should no longer have an X or a chevron for example.
The View Components package still expects the older version of NHSE-Frontend so will show both the cross and chevron until it has been updated.
There is an extensive list of changes here https://service-manual.nhs.uk/design-system/guides/updating-to-v10
Screenshots
Paste screenshots for all views created or changed: mobile, tablet and desktop, wave analyser showing no errors.
Developer checks
(Leave tasks unticked if they haven't been appropriate for your ticket.)
I have:
Web tests all work the other didnt all work locally for me before the changes, I would like to to be shown how to do this
Either:
Or: