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
* Add deprecation warning to footer columns prop
* Shared warning object for v5
* Dev warning for DoDontList.tsx
* Dev warning for TransactionalServiceName.tsx
* Dev warning for ReviewDate.tsx
* Lint
---------
Co-authored-by: Thomas Judd-Cooper <[email protected]>
exportconstPromoDeprecationWarning='The Promo component is deprecated, and will be removed in the next major version of nhsuk-react-components. The Card component is the intended replacement.';
1
+
exportconstPromoDeprecationWarning=
2
+
'The Promo component is deprecated, and will be removed in the next major version of nhsuk-react-components. The Card component is the intended replacement.';
2
3
3
-
exportconstPanelDeprecationWarning='The Promo component is deprecated, and will be removed in the next major version of nhsuk-react-components. The Card component is the intended replacement.';
4
+
exportconstPanelDeprecationWarning=
5
+
'The Promo component is deprecated, and will be removed in the next major version of nhsuk-react-components. The Card component is the intended replacement.';
6
+
7
+
exportconstNHSUKFrontendV5UpgradeWarnings={
8
+
FooterColumns:
9
+
'The footer columns prop is deprecated and will be removed in the next major release, as this has been removed from the NHS.UK frontend library v5.',
10
+
DoDontListPrefix:
11
+
"Items with a `type` of `dont` will automatically have a 'do not' prefix text added in the next major release to align with the NHS.UK frontend library v5.",
12
+
TransactionalServiceNameLongVariantRemoved:
13
+
'The `long` variant of the `TransactionalServiceName` component will be removed in the next major release to align with the NHS.UK frontend library v5.',
14
+
ReviewDateMovedToPattern:
15
+
'The `ReviewDate` component will be removed in the next major release to align with the NHS.UK frontend library v5. '+
16
+
'The `ReviewDate` component will exist as a `pattern`. '+
17
+
'If you use the default import the path will change from `/lib/components/ReviewDate` to `/lib/patterns/ReviewDate`.',
0 commit comments