This folder collects migration guides for the NHS FDP Design System.
- SPC Settings V2 (grouped settings) – migration path, normaliser behaviour, and codemod usage:
- See
spc-settings-v2-migration.md.
- See
- Variation icon canonicalisation — migrate
VariationIcon.NonetoVariationIcon.Suppressed:- See
spc-variationicon-none-to-suppressed.md.
- See
- Constants centralisation — prefer importing enums/registries from
spcConstants.ts(re-exported viaspc.tsfor compatibility):- See
spc-constants-centralisation.md.
- See
Quick commands:
# scan (dry-run)
npm run spc:codemod:scan
# apply safe edits (dot-access only)
npm run spc:codemod:applyAfter applying, run the validation suite:
npm run test:components
npm run test:ssr-components
npm run build:parity