@newskit-render/core 1.33.1 → 1.42.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +150 -0
- package/__tests__/pages/__snapshots__/home.test.tsx.snap +42 -45
- package/app-context/AppContext.test.tsx +0 -12
- package/components/{404/404.tsx → ErrorPage/ErrorPage.tsx} +10 -6
- package/components/article/__tests__/index.test.tsx +2 -2
- package/components/article/index.tsx +5 -3
- package/components/header/index.tsx +8 -4
- package/components/section/ArticleSlice.tsx +1 -1
- package/components/section/__tests__/ArticleSlice.test.tsx +12 -11
- package/components/section/__tests__/CollectionBlock.test.tsx +1 -1
- package/components/section/__tests__/sectionUtils.test.ts +12 -9
- package/components/section/layouts/__tests__/Lead.test.tsx +2 -1
- package/components/section/layouts/__tests__/SectionRow.test.tsx +6 -5
- package/components/section/layouts/__tests__/__snapshots__/Lead.test.tsx.snap +2 -2
- package/components/section/layouts/__tests__/__snapshots__/SectionRow.test.tsx.snap +143 -58
- package/components/section/sectionUtils.ts +6 -6
- package/cypress/e2e/account/account-subscription.spec.js +222 -0
- package/cypress/e2e/account/payment-failer.spec.js +137 -0
- package/cypress/support/commands.js +28 -3
- package/helpers/global-types.ts +2 -2
- package/helpers/mocks/getPageMock.ts +59 -35
- package/infrastructure/.circleci/config.yml +2 -2
- package/package.json +11 -11
- package/pages/[section]/index.tsx +18 -7
- package/pages/_error.tsx +18 -2
- package/public/MyAccount/pending-activation.svg +16 -0
- package/queries/getPage.ts +1 -1
- package/temp/header.tsx +8 -4
- package/app-context/__snapshots__/AppContext.test.tsx.snap +0 -3
package/temp/header.tsx
CHANGED
|
@@ -100,19 +100,23 @@ const pastDueBanner = {
|
|
|
100
100
|
},
|
|
101
101
|
terminated: {
|
|
102
102
|
title: 'Your subscription has been terminated',
|
|
103
|
+
phoneNumber: 'XXXX-XXX-XXXX',
|
|
103
104
|
text:
|
|
104
|
-
'We didn’t receive payment for your subscription. To reactivate it, please call
|
|
105
|
+
'We didn’t receive payment for your subscription. To reactivate it, please call ##PHONE_NUMBER##.',
|
|
106
|
+
dismissDays: 7,
|
|
105
107
|
},
|
|
106
108
|
cancelled: {
|
|
107
109
|
title: 'Your subscription has been cancelled.',
|
|
110
|
+
phoneNumber: 'XXXX-XXX-XXXX',
|
|
108
111
|
text:
|
|
109
|
-
'You’ll no longer have access to subscription benefits. To re-activate call
|
|
112
|
+
'You’ll no longer have access to subscription benefits. To re-activate call ##PHONE_NUMBER##.',
|
|
113
|
+
dismissDays: 7,
|
|
110
114
|
},
|
|
111
115
|
toBeCancelled: {
|
|
112
116
|
title: 'Your subscription will end soon.',
|
|
113
|
-
phoneNumber: '
|
|
117
|
+
phoneNumber: 'XXXX-XXX-XXXX',
|
|
114
118
|
text:
|
|
115
|
-
'You have
|
|
119
|
+
'You have cancelled your subscription and will lose access to all benefits on ##DATE##. To re-activate your subscription call ##PHONE_NUMBER##.',
|
|
116
120
|
},
|
|
117
121
|
treshold: {
|
|
118
122
|
firstNotice: 26,
|