@financial-times/n-conversion-forms 25.0.0 → 25.1.0
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.
|
@@ -7,7 +7,7 @@ exports[`B2CPartnershipConfirmation renders as default 1`] = `
|
|
|
7
7
|
</div>
|
|
8
8
|
<div class="ncf__paragraph">
|
|
9
9
|
<h1 class="ncf__header ncf__header--confirmation">
|
|
10
|
-
Welcome to your
|
|
10
|
+
Welcome to your 30 days' Premium access
|
|
11
11
|
</h1>
|
|
12
12
|
</div>
|
|
13
13
|
</div>
|
|
@@ -19,7 +19,7 @@ export function B2CPartnershipConfirmation ({ ctaElement = null }) {
|
|
|
19
19
|
<div className="ncf__paragraph">
|
|
20
20
|
{
|
|
21
21
|
<h1 className="ncf__header ncf__header--confirmation">
|
|
22
|
-
{'Welcome to your
|
|
22
|
+
{'Welcome to your 30 days\' Premium access'}
|
|
23
23
|
</h1>
|
|
24
24
|
}
|
|
25
25
|
</div>
|
|
@@ -194,7 +194,7 @@ export function PaymentTerm ({
|
|
|
194
194
|
|
|
195
195
|
const createB2cDiscountCopy = () => {
|
|
196
196
|
return (
|
|
197
|
-
option.b2cPartnership && option.b2cDiscountCopy && (
|
|
197
|
+
option.name === 'annual' && option.b2cPartnership && option.b2cDiscountCopy && (
|
|
198
198
|
<span className="ncf__payment-term__discount">
|
|
199
199
|
{option.b2cDiscountCopy}
|
|
200
200
|
</span>
|
|
@@ -32,7 +32,7 @@ function B2CPartnershipConfirmation(_ref) {
|
|
|
32
32
|
className: "ncf__paragraph"
|
|
33
33
|
}, /*#__PURE__*/_react["default"].createElement("h1", {
|
|
34
34
|
className: "ncf__header ncf__header--confirmation"
|
|
35
|
-
}, 'Welcome to your
|
|
35
|
+
}, 'Welcome to your 30 days\' Premium access'))), /*#__PURE__*/_react["default"].createElement("p", {
|
|
36
36
|
className: "ncf__paragraph"
|
|
37
37
|
}, "Please check your email to confirm your account and set your password."), /*#__PURE__*/_react["default"].createElement("p", {
|
|
38
38
|
className: "ncf__paragraph"
|
package/dist/payment-term.js
CHANGED
|
@@ -196,7 +196,7 @@ function PaymentTerm(_ref) {
|
|
|
196
196
|
};
|
|
197
197
|
|
|
198
198
|
var createB2cDiscountCopy = function createB2cDiscountCopy() {
|
|
199
|
-
return option.b2cPartnership && option.b2cDiscountCopy && /*#__PURE__*/_react["default"].createElement("span", {
|
|
199
|
+
return option.name === 'annual' && option.b2cPartnership && option.b2cDiscountCopy && /*#__PURE__*/_react["default"].createElement("span", {
|
|
200
200
|
className: "ncf__payment-term__discount"
|
|
201
201
|
}, option.b2cDiscountCopy);
|
|
202
202
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@financial-times/n-conversion-forms",
|
|
3
|
-
"version": "25.
|
|
3
|
+
"version": "25.1.0",
|
|
4
4
|
"description": "Containing jsx components and styles for forms included on Accounts and Acqusition apps (next-signup, next-profile, next-retention, etc).",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"scripts": {
|