@financial-times/n-conversion-forms 45.3.0 → 45.3.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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "branch": "",
3
3
  "repo": "n-conversion-forms",
4
- "version": "83a1121b7dce87aa2750326ecac8b77d696acb9d",
5
- "tag": "v45.3.0",
6
- "buildNumber": "18143"
4
+ "version": "3c2271f90caa5a547c81e484c8dda60c39e21c37",
5
+ "tag": "v45.3.1",
6
+ "buildNumber": "18164"
7
7
  }
@@ -162,7 +162,7 @@ exports[`Confirmation renders appropriately if is 'Termed' subscription term typ
162
162
  We’ve sent confirmation to your email. Make sure you check your spam folder if you don’t receive it.
163
163
  </p>
164
164
  <p class="ncf__paragraph">
165
- Here’s a summary of your subscription:
165
+ Here’s a summary of your purchase:
166
166
  </p>
167
167
  <div class="ncf__headed-paragraph">
168
168
  <h3 class="ncf__header">
@@ -92,7 +92,9 @@ export function Confirmation({
92
92
  {newsletterScheduleExplainer}
93
93
 
94
94
  <p className="ncf__paragraph">
95
- Here’s a summary of your {offer} subscription:
95
+ Here’s a summary of your {offer}{' '}
96
+ {isEvergreenSubscriptionTermType && 'subscription'}
97
+ {isTermedSubscriptionTermType && 'purchase'}:
96
98
  </p>
97
99
 
98
100
  {detailElements}
@@ -66,9 +66,9 @@ Basic.args = {
66
66
  export const TermedSubscriptionTermType = (args) => <Confirmation {...args} />;
67
67
  TermedSubscriptionTermType.args = {
68
68
  sendConfirmationEmail: false,
69
- isEvergreenTermedSubscriptionTermType: false,
69
+ isEvergreenSubscriptionTermType: false,
70
70
  isTermedSubscriptionTermType: true,
71
- offer: 'Single-term subscription',
71
+ offer: 'Standard Digital',
72
72
  details: [
73
73
  {
74
74
  title: 'End date',
@@ -84,7 +84,7 @@ function Confirmation(_ref) {
84
84
  className: "ncf__legend"
85
85
  }, " ".concat(email, ". ")), b2cPartnershipCopy[1]) : '', newsletterScheduleExplainer, /*#__PURE__*/_react["default"].createElement("p", {
86
86
  className: "ncf__paragraph"
87
- }, "Here\u2019s a summary of your ", offer, " subscription:"), detailElements, directDebitMandateUrlElement, /*#__PURE__*/_react["default"].createElement("div", {
87
+ }, "Here\u2019s a summary of your ", offer, ' ', isEvergreenSubscriptionTermType && 'subscription', isTermedSubscriptionTermType && 'purchase', ":"), detailElements, directDebitMandateUrlElement, /*#__PURE__*/_react["default"].createElement("div", {
88
88
  className: "ncf__headed-paragraph"
89
89
  }, /*#__PURE__*/_react["default"].createElement("h3", {
90
90
  className: "ncf__header"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@financial-times/n-conversion-forms",
3
- "version": "45.3.0",
3
+ "version": "45.3.1",
4
4
  "description": "Containing jsx components and styles for forms included on Accounts and Acquisition apps (next-signup, next-profile, next-retention, etc).",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {