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
We have a peerDependency on the nhsuk-frontend of >=4.0.0, we currently have implementation of upto v4.x.x of the nhsuk-frontend and hence installing later versions breaks some components which have css removed (e.g. care-card is moved to a variant of card and the care-card classes are removed)
We should specify a peerDependency range which is inclusive of the current version on the nhsuk-frontend that we have implemented in the library.
Repro:
Init react app
Install nhsuk-frontend latest
Install nhsuk-react-components
Mount CareCard component
No styling applied as css removed in nhsuk-frontend v6
The text was updated successfully, but these errors were encountered:
KaiSpencer
changed the title
Lax peedDependency range causes bugs with later releases of nhsuk-frontend
Lax peerDependency range causes bugs with later releases of nhsuk-frontend
Aug 29, 2023
We have a peerDependency on the
nhsuk-frontend
of>=4.0.0
, we currently have implementation of upto v4.x.x of thenhsuk-frontend
and hence installing later versions breaks some components which have css removed (e.g. care-card is moved to a variant of card and the care-card classes are removed)We should specify a peerDependency range which is inclusive of the current version on the
nhsuk-frontend
that we have implemented in the library.Repro:
nhsuk-frontend
latestnhsuk-react-components
CareCard
componentnhsuk-frontend
v6The text was updated successfully, but these errors were encountered: