@financial-times/n-conversion-forms 41.3.1 → 42.0.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.
Files changed (113) hide show
  1. package/.storybook/preview-body.html +3 -0
  2. package/.storybook/preview.js +2 -2
  3. package/.toolkitstate/ci.json +3 -3
  4. package/.toolkitstate/install.json +1 -1
  5. package/components/__snapshots__/accept-terms.spec.js.snap +107 -150
  6. package/components/__snapshots__/b2c-partnership-confirmation.spec.js.snap +36 -72
  7. package/components/__snapshots__/confirmation.spec.js.snap +71 -127
  8. package/components/__snapshots__/continue-reading.spec.js.snap +3 -3
  9. package/components/__snapshots__/customer-care.spec.js.snap +16 -24
  10. package/components/__snapshots__/debug.spec.js.snap +13 -7
  11. package/components/__snapshots__/deferred-billing-terms.spec.js.snap +12 -18
  12. package/components/__snapshots__/error-page.spec.js.snap +12 -18
  13. package/components/__snapshots__/fieldset.spec.js.snap +1 -1
  14. package/components/__snapshots__/ft-edit-registration-confirmation.spec.js.snap +5 -5
  15. package/components/__snapshots__/graduation-date.spec.js.snap +4 -6
  16. package/components/__snapshots__/industry.spec.js.snap +8 -706
  17. package/components/__snapshots__/licence-confirmation.spec.js.snap +17 -28
  18. package/components/__snapshots__/licence-header.spec.js.snap +1 -1
  19. package/components/__snapshots__/licence-sign-in.spec.js.snap +1 -1
  20. package/components/__snapshots__/loader.spec.js.snap +1 -1
  21. package/components/__snapshots__/package-change.spec.js.snap +16 -11
  22. package/components/__snapshots__/payment-term.spec.js.snap +40 -60
  23. package/components/__snapshots__/position.spec.js.snap +8 -262
  24. package/components/__snapshots__/registration-confirmation.spec.js.snap +9 -7
  25. package/components/__snapshots__/responsibility.spec.js.snap +8 -442
  26. package/components/__snapshots__/submit.spec.js.snap +6 -6
  27. package/components/accept-terms-business.jsx +2 -3
  28. package/components/accept-terms-business.spec.jsx +3 -1
  29. package/components/accept-terms-privacy-policy.jsx +2 -5
  30. package/components/accept-terms-privacy-policy.spec.js +1 -1
  31. package/components/accept-terms-subscription.jsx +7 -12
  32. package/components/accept-terms-subscription.spec.js +1 -1
  33. package/components/accept-terms.jsx +12 -20
  34. package/components/b2c-partnership-confirmation.jsx +3 -5
  35. package/components/confirmation.jsx +5 -9
  36. package/components/confirmation.stories.js +4 -6
  37. package/components/continue-reading.jsx +1 -1
  38. package/components/customer-care.jsx +4 -4
  39. package/components/debug.jsx +12 -12
  40. package/components/deferred-billing-terms.jsx +3 -6
  41. package/components/error-page.jsx +4 -4
  42. package/components/fieldset.jsx +1 -1
  43. package/components/ft-edit-registration-confirmation.jsx +2 -2
  44. package/components/graduation-date.jsx +2 -4
  45. package/components/index.js +0 -1
  46. package/components/industry.jsx +1 -3
  47. package/components/industry.spec.js +7 -2
  48. package/components/licence-confirmation.jsx +2 -3
  49. package/components/licence-confirmation.stories.js +1 -1
  50. package/components/licence-sign-in.jsx +1 -1
  51. package/components/loader.jsx +4 -1
  52. package/components/package-change.jsx +4 -5
  53. package/components/payment-term.jsx +3 -5
  54. package/components/position.jsx +1 -2
  55. package/components/position.spec.js +7 -2
  56. package/components/proceed-with-payment-link.jsx +8 -2
  57. package/components/proceed-with-payment-link.stories.js +1 -1
  58. package/components/registration-confirmation.jsx +5 -3
  59. package/components/responsibility.jsx +1 -2
  60. package/components/responsibility.spec.js +7 -2
  61. package/components/submit.jsx +1 -1
  62. package/components/subscription-confirmation-with-payment-link.jsx +1 -1
  63. package/dist/accept-terms-business.jsx +2 -3
  64. package/dist/accept-terms-business.spec.jsx +1 -1
  65. package/dist/accept-terms-privacy-policy.jsx +2 -5
  66. package/dist/accept-terms-subscription.jsx +7 -12
  67. package/dist/accept-terms.jsx +10 -20
  68. package/dist/b2c-partnership-confirmation.jsx +5 -7
  69. package/dist/confirmation.jsx +4 -7
  70. package/dist/continue-reading.jsx +1 -1
  71. package/dist/customer-care.jsx +3 -4
  72. package/dist/debug.jsx +6 -6
  73. package/dist/deferred-billing-terms.jsx +3 -6
  74. package/dist/error-page.jsx +3 -4
  75. package/dist/fieldset.jsx +1 -1
  76. package/dist/ft-edit-registration-confirmation.jsx +2 -2
  77. package/dist/graduation-date.jsx +6 -4
  78. package/dist/index.js +0 -7
  79. package/dist/industry.jsx +1 -3
  80. package/dist/licence-confirmation.jsx +3 -4
  81. package/dist/licence-sign-in.jsx +1 -1
  82. package/dist/loader.jsx +1 -1
  83. package/dist/package-change.jsx +5 -4
  84. package/dist/payment-term.jsx +6 -4
  85. package/dist/position.jsx +1 -2
  86. package/dist/proceed-with-payment-link.jsx +2 -2
  87. package/dist/registration-confirmation.jsx +7 -5
  88. package/dist/responsibility.jsx +1 -2
  89. package/dist/submit.jsx +1 -1
  90. package/dist/subscription-confirmation-with-payment-link.jsx +1 -1
  91. package/main.scss +132 -167
  92. package/package.json +3 -6
  93. package/styles/_shared.scss +125 -100
  94. package/styles/accept-terms.scss +6 -5
  95. package/styles/banner.scss +66 -60
  96. package/styles/confirmation.scss +50 -55
  97. package/styles/continue-reading.scss +56 -39
  98. package/styles/error.scss +1 -1
  99. package/styles/forms-additional-field-information.scss +8 -4
  100. package/styles/ft-edit-registration-confirmation.scss +228 -224
  101. package/styles/loader.scss +40 -45
  102. package/styles/package-change.scss +1 -4
  103. package/styles/payment-term.scss +108 -89
  104. package/styles/payment-type.scss +117 -112
  105. package/styles/proceed-with-payment-link.scss +32 -18
  106. package/styles/subscription-confirmation-with-payment-link.scss +64 -24
  107. package/components/__snapshots__/google-sign-in.spec.js.snap +0 -13
  108. package/components/google-sign-in.jsx +0 -21
  109. package/components/google-sign-in.spec.js +0 -14
  110. package/components/google-sign-in.stories.js +0 -13
  111. package/dist/google-sign-in.jsx +0 -24
  112. package/helpers/demographics.js +0 -606
  113. package/styles/google-sign-in.scss +0 -26
@@ -7,12 +7,18 @@ export function ProceedWithPaymentLink({
7
7
  description,
8
8
  listItems = [],
9
9
  children = (
10
- <button className="proceed-with-payment-link__button">Proceed</button>
10
+ <button className="proceed-with-payment-link__button o3-button o3-button--primary">
11
+ Proceed
12
+ </button>
11
13
  ),
12
14
  }) {
13
15
  return (
14
16
  <div id={id} className="proceed-with-payment-link o-forms-field">
15
- {title && <h2 className="proceed-with-payment-link__heading">{title}</h2>}
17
+ {title && (
18
+ <h2 className="proceed-with-payment-link__heading o3-type-title-lg">
19
+ {title}
20
+ </h2>
21
+ )}
16
22
  {description && (
17
23
  <p className="proceed-with-payment-link__description">{description}</p>
18
24
  )}
@@ -14,7 +14,7 @@ export default {
14
14
 
15
15
  export const Basic = (args) => (
16
16
  <ProceedWithPaymentLink {...args}>
17
- <button className="proceed-with-payment-link__button">
17
+ <button className="proceed-with-payment-link__button o3-button o3-button--primary">
18
18
  {args.buttonText}
19
19
  </button>
20
20
  </ProceedWithPaymentLink>
@@ -55,6 +55,7 @@ export function RegistrationConfirmation({
55
55
  <div
56
56
  className="ncf__confirmation__professional-subscription-check-banner"
57
57
  data-trackable="professional-subscription-check-banner"
58
+ data-o3-brand="professional"
58
59
  >
59
60
  <div className="ncf__confirmation__professional-subscription-check-banner-header">
60
61
  <h2 className="ncf__confirmation__professional-subscription-check-banner-title">
@@ -85,8 +86,9 @@ export function RegistrationConfirmation({
85
86
 
86
87
  <a
87
88
  href={professionalSubscriptionCheckRequestUrl}
88
- className="ncf__button ncf__button--professional-inverse"
89
+ className="ncf__button o3-button o3-button--primary"
89
90
  data-trackable="professional-subscription-check-banner-request"
91
+ data-o3-theme="inverse"
90
92
  >
91
93
  Check if your organisation subscribes
92
94
  </a>
@@ -154,7 +156,7 @@ export function RegistrationConfirmation({
154
156
  </p>
155
157
  <a
156
158
  href="/myft"
157
- className="margin-top-x4 ncf__button ncf__button--secondary"
159
+ className="margin-top-x4 ncf__button o3-button o3-button--secondary"
158
160
  data-trackable="register-personalise-my-alerts"
159
161
  >
160
162
  Personalise my alerts
@@ -165,7 +167,7 @@ export function RegistrationConfirmation({
165
167
  <a
166
168
  href={returnUrl}
167
169
  target="_parent"
168
- className="ncf__confirmation--finish ncf__button ncf__button--submit"
170
+ className="ncf__confirmation--finish ncf__button o3-button o3-button--primary"
169
171
  data-trackable="register-finish"
170
172
  >
171
173
  Start reading
@@ -1,7 +1,6 @@
1
1
  import React from 'react';
2
2
  import PropTypes from 'prop-types';
3
3
  import classNames from 'classnames';
4
- import { demographics } from 'n-common-static-data';
5
4
 
6
5
  export function Responsibility({
7
6
  value,
@@ -11,7 +10,7 @@ export function Responsibility({
11
10
  fieldId = 'responsibilityField',
12
11
  selectId = 'responsibility',
13
12
  selectName = 'responsibility',
14
- options = demographics.responsibilities.responsibilities,
13
+ options = [],
15
14
  fieldLabel = 'Which best describes your job responsibility?',
16
15
  }) {
17
16
  const inputWrapperClassName = classNames([
@@ -1,7 +1,12 @@
1
1
  import { Responsibility } from './index';
2
2
  import { expectToRenderCorrectly } from '../test-jest/helpers/expect-to-render-correctly';
3
- import { demographics } from '../helpers/demographics';
4
- const B2CResponsibilities = demographics.responsibilities.responsibilities;
3
+ const B2CResponsibilities = [
4
+ {
5
+ description: 'Dummy description',
6
+ code: 'DUM',
7
+ status: 'active',
8
+ },
9
+ ];
5
10
 
6
11
  import Enzyme, { mount } from 'enzyme';
7
12
  import Adapter from 'enzyme-adapter-react-16';
@@ -33,7 +33,7 @@ export function Submit({
33
33
 
34
34
  <button
35
35
  id={id}
36
- className="ncf__button ncf__button--submit"
36
+ className="ncf__button o3-button o3-button--primary"
37
37
  data-trackable="submit"
38
38
  type="submit"
39
39
  disabled={isDisabled}
@@ -42,7 +42,7 @@ export function SubscriptionConfirmationWithPaymentLink({
42
42
  readOnly
43
43
  className="subscription-active-with-payment-link__input"
44
44
  />
45
- <button className="subscription-active-with-payment-link__button">
45
+ <button className="subscription-active-with-payment-link__button o3-button o3-button--primary subscription-active-with-payment-link__button--ft-pink">
46
46
  Copy
47
47
  </button>
48
48
  </div>
@@ -37,9 +37,8 @@ function AcceptTermsBusiness(_ref) {
37
37
  var b2bTerms = isB2b ? /*#__PURE__*/_react["default"].createElement("li", null, /*#__PURE__*/_react["default"].createElement("span", {
38
38
  className: "terms-b2b"
39
39
  }, "By submitting this form, you indicate your consent to also being contacted by Financial Times by email, post, or phone about our other products, services or special offers unless you untick this box.")) : /*#__PURE__*/_react["default"].createElement("li", null, /*#__PURE__*/_react["default"].createElement("span", {
40
- className: "terms-default"
40
+ className: "terms-default o3-type-body-base"
41
41
  }, "I confirm I am 16 years or older and have read and agree to the", ' ', /*#__PURE__*/_react["default"].createElement("a", {
42
- className: "ncf__link--external",
43
42
  href: "http://help.ft.com/help/legal-privacy/terms-conditions/",
44
43
  target: isEmbedded ? '_top' : '_blank',
45
44
  rel: "noopener noreferrer",
@@ -55,7 +54,7 @@ function AcceptTermsBusiness(_ref) {
55
54
  className: "terms-corp-signup"
56
55
  }, "This trial is to demonstrate the value of a group subscription and we\u2019ll contact you during your trial.")));
57
56
  return /*#__PURE__*/_react["default"].createElement("div", divProps, /*#__PURE__*/_react["default"].createElement("ul", {
58
- className: "o-typography-list ncf__accept-terms-list"
57
+ className: "ncf__accept-terms-list"
59
58
  }, b2bTerms, corpSignupTerms), /*#__PURE__*/_react["default"].createElement("label", {
60
59
  className: labelClassName,
61
60
  htmlFor: "termsAcceptance"
@@ -26,7 +26,7 @@ describe('AcceptTermsPrivacyPolicy', function () {
26
26
  isEmbedded: false
27
27
  };
28
28
  var component = (0, _enzyme.mount)( /*#__PURE__*/_react["default"].createElement(_index.AcceptTermsBusiness, props));
29
- var externalLink = component.find('.ncf__link--external');
29
+ var externalLink = component.find('[data-trackable="terms-and-conditions"]');
30
30
  expect(externalLink.prop('target')).toBe('_blank');
31
31
  });
32
32
  it('renders the trial terms when isTrial prop is true', function () {
@@ -37,9 +37,8 @@ function AcceptTermsPrivacyPolicy(_ref) {
37
37
  className: labelClassName,
38
38
  htmlFor: "termsAcceptance"
39
39
  }, /*#__PURE__*/_react["default"].createElement("input", inputProps), /*#__PURE__*/_react["default"].createElement("span", {
40
- className: "o-forms-input__label"
40
+ className: "o-forms-input__label o3-type-body-base"
41
41
  }, "I confirm that I am 16 years or older and agree to the full", ' ', /*#__PURE__*/_react["default"].createElement("a", {
42
- className: "ncf__link--external",
43
42
  href: "http://help.ft.com/help/legal-privacy/terms-conditions/",
44
43
  target: isEmbedded ? '_top' : '_blank',
45
44
  rel: "noopener noreferrer",
@@ -49,15 +48,13 @@ function AcceptTermsPrivacyPolicy(_ref) {
49
48
  }, "Please accept our terms & conditions")), children && /*#__PURE__*/_react["default"].createElement("div", {
50
49
  className: "children-container"
51
50
  }, children), /*#__PURE__*/_react["default"].createElement("span", {
52
- className: "consent-text--bottom"
51
+ className: "consent-text--bottom o3-type-body-base"
53
52
  }, "For more information about how we use your data, please refer to our", ' ', /*#__PURE__*/_react["default"].createElement("a", {
54
- className: "ncf__link--external",
55
53
  href: "https://help.ft.com/legal-privacy/privacy-policy/",
56
54
  target: "_blank",
57
55
  rel: "noopener noreferrer",
58
56
  "data-trackable": "privacy-policy-info"
59
57
  }, "privacy"), ' ', "and\xA0", /*#__PURE__*/_react["default"].createElement("a", {
60
- className: "ncf__link--external",
61
58
  href: "https://help.ft.com/legal-privacy/cookies/",
62
59
  target: "_blank",
63
60
  rel: "noopener noreferrer",
@@ -52,24 +52,22 @@ function AcceptTermsSubscription(_ref) {
52
52
  required: true
53
53
  };
54
54
  var autoRenewingTerms = !isSingleTerm && /*#__PURE__*/_react["default"].createElement("li", null, /*#__PURE__*/_react["default"].createElement("span", {
55
- className: "terms-auto-renew"
55
+ className: "terms-auto-renew o3-type-body-base"
56
56
  }, "I give consent for my chosen payment method to be charged automatically at the end of each subscription term until I cancel it by contacting", ' ', /*#__PURE__*/_react["default"].createElement("a", {
57
- className: "ncf__link--external",
58
57
  href: "https://help.ft.com/help/contact-us/",
59
58
  target: isEmbedded ? '_top' : '_blank',
60
59
  rel: "noopener noreferrer"
61
60
  }, "customer care through chat, phone or email"), "."));
62
61
  if (isTermedSubscriptionTermType) {
63
62
  return /*#__PURE__*/_react["default"].createElement("div", divProps, /*#__PURE__*/_react["default"].createElement("ul", {
64
- className: "o-typography-list ncf__accept-terms-list"
63
+ className: "o3-typography-ul ncf__accept-terms-list"
65
64
  }, /*#__PURE__*/_react["default"].createElement("li", null, /*#__PURE__*/_react["default"].createElement("span", {
66
65
  className: "terms-transition terms-transition--immediate"
67
66
  }, "I give consent for the chosen payment method to be charged automatically.")), /*#__PURE__*/_react["default"].createElement("li", null, /*#__PURE__*/_react["default"].createElement("span", {
68
67
  className: "terms-transition terms-transition--immediate"
69
68
  }, "By placing your order subject to the Terms & Conditions (save for section 2) referred to below, you are waiving your statutory right to cancel our contract within 14 days of payment. Your payment is a one-time payment collected at the time of checkout, and unsubscribing or cancelling at any point (whether before or after the 14-day period) will not entitle you to a refund.")), /*#__PURE__*/_react["default"].createElement("li", null, /*#__PURE__*/_react["default"].createElement("span", {
70
- className: "terms-transition"
69
+ className: "terms-transition o3-type-body-base"
71
70
  }, "Please see here for the complete", ' ', /*#__PURE__*/_react["default"].createElement("a", {
72
- className: "ncf__link--external",
73
71
  href: "http://help.ft.com/help/legal-privacy/terms-conditions/",
74
72
  target: "_blank",
75
73
  rel: "noopener noreferrer"
@@ -87,9 +85,8 @@ function AcceptTermsSubscription(_ref) {
87
85
  }, "By placing my order, my subscription will start immediately and I am aware and agree that I will therefore lose my statutory right to cancel my subscription within 14 days of acceptance of my order. Any notice of cancellation that I provide will only take effect at the end of my subscription period and previously paid amounts are non-refundable, except in the event that there is a fault in the provision of the services.")) : /*#__PURE__*/_react["default"].createElement("li", null, /*#__PURE__*/_react["default"].createElement("span", {
88
86
  className: "terms-transition terms-transition--other"
89
87
  }, "By placing my order, I acknowledge that my subscription will start", isSingleTerm ? ' and the chosen payment method will be charged ' : ' ', "on the date given above. Any cancellation notice received after that date will take effect at the end of my subscription term and previously paid amounts are non-refundable.")), /*#__PURE__*/_react["default"].createElement("li", null, /*#__PURE__*/_react["default"].createElement("span", {
90
- className: "terms-transition"
88
+ className: "terms-transition o3-type-body-base"
91
89
  }, "Find out more about our cancellation policy in our", ' ', /*#__PURE__*/_react["default"].createElement("a", {
92
- className: "ncf__link--external",
93
90
  href: "http://help.ft.com/help/legal-privacy/terms-conditions/",
94
91
  target: "_blank",
95
92
  rel: "noopener noreferrer"
@@ -101,9 +98,8 @@ function AcceptTermsSubscription(_ref) {
101
98
  var printTerms = /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement("li", null, /*#__PURE__*/_react["default"].createElement("span", {
102
99
  className: "terms-print"
103
100
  }, printSignupTermText)), /*#__PURE__*/_react["default"].createElement("li", null, /*#__PURE__*/_react["default"].createElement("span", {
104
- className: "terms-print"
101
+ className: "terms-print o3-type-body-base"
105
102
  }, "Find out more about your delivery start date in our", ' ', /*#__PURE__*/_react["default"].createElement("a", {
106
- className: "ncf__link--external",
107
103
  href: "http://help.ft.com/help/legal-privacy/terms-conditions/",
108
104
  target: isEmbedded ? '_top' : '_blank',
109
105
  rel: "noopener noreferrer"
@@ -111,16 +107,15 @@ function AcceptTermsSubscription(_ref) {
111
107
  var nonPrintTerms = /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement("li", null, /*#__PURE__*/_react["default"].createElement("span", {
112
108
  className: "terms-signup"
113
109
  }, "By placing my order, my subscription will start immediately and I am aware and agree that I will therefore lose my statutory right to cancel my subscription within 14 days of acceptance of my order. Any notice of cancellation that I provide will only take effect at the end of my subscription period and previously paid amounts are non-refundable, except in the event that there is a fault in the provision of the services.")), /*#__PURE__*/_react["default"].createElement("li", null, /*#__PURE__*/_react["default"].createElement("span", {
114
- className: "terms-signup"
110
+ className: "terms-signup o3-type-body-base"
115
111
  }, "Find out more about our cancellation policy in our", ' ', /*#__PURE__*/_react["default"].createElement("a", {
116
- className: "ncf__link--external",
117
112
  href: "https://help.ft.com/legal-privacy/terms-and-conditions/",
118
113
  target: isEmbedded ? '_top' : '_blank',
119
114
  rel: "noopener noreferrer"
120
115
  }, "Terms & Conditions"), ".")));
121
116
  var signupTerms = /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, isPrintProduct ? printTerms : nonPrintTerms);
122
117
  return /*#__PURE__*/_react["default"].createElement("div", divProps, /*#__PURE__*/_react["default"].createElement("ul", {
123
- className: "o-typography-list ncf__accept-terms-list"
118
+ className: "ncf__accept-terms-list"
124
119
  }, autoRenewingTerms, transitionTerms, signupTerms, deferredBillingTerms), /*#__PURE__*/_react["default"].createElement("label", {
125
120
  className: labelClassName,
126
121
  htmlFor: "termsAcceptance"
@@ -73,15 +73,13 @@ function AcceptTerms(_ref) {
73
73
  var privacyPolicyTerms = /*#__PURE__*/_react["default"].createElement("div", {
74
74
  className: "privacy-policy-terms"
75
75
  }, /*#__PURE__*/_react["default"].createElement("span", {
76
- className: "consent-text--".concat(privacyPoliciesPosition)
76
+ className: "o3-type-body-base consent-text--".concat(privacyPoliciesPosition)
77
77
  }, "For more information about how we use your data, please refer to our", ' ', /*#__PURE__*/_react["default"].createElement("a", {
78
- className: "ncf__link--external",
79
78
  href: "https://help.ft.com/legal-privacy/privacy-policy/",
80
79
  target: "_blank",
81
80
  rel: "noopener noreferrer",
82
81
  "data-trackable": "privacy-policy-info"
83
82
  }, "privacy"), ' ', "and\xA0", /*#__PURE__*/_react["default"].createElement("a", {
84
- className: "ncf__link--external",
85
83
  href: "https://help.ft.com/legal-privacy/cookies/",
86
84
  target: "_blank",
87
85
  rel: "noopener noreferrer",
@@ -90,9 +88,8 @@ function AcceptTerms(_ref) {
90
88
  className: labelClassName,
91
89
  htmlFor: "termsAcceptance"
92
90
  }, /*#__PURE__*/_react["default"].createElement("input", inputProps), /*#__PURE__*/_react["default"].createElement("span", {
93
- className: "o-forms-input__label"
91
+ className: "o-forms-input__label o3-type-body-base"
94
92
  }, "I confirm that I am ", ageRestriction, " years or older and agree to the full", ' ', /*#__PURE__*/_react["default"].createElement("a", {
95
- className: "ncf__link--external",
96
93
  href: "http://help.ft.com/help/legal-privacy/terms-conditions/",
97
94
  target: isEmbedded ? '_top' : '_blank',
98
95
  rel: "noopener noreferrer",
@@ -105,9 +102,8 @@ function AcceptTerms(_ref) {
105
102
  var b2bTerms = isB2b ? /*#__PURE__*/_react["default"].createElement("li", null, /*#__PURE__*/_react["default"].createElement("span", {
106
103
  className: "terms-b2b"
107
104
  }, "By submitting this form, you indicate your consent to also being contacted by Financial Times by email, post, or phone about our other products, services or special offers unless you untick this box.")) : /*#__PURE__*/_react["default"].createElement("li", null, /*#__PURE__*/_react["default"].createElement("span", {
108
- className: "terms-default"
105
+ className: "terms-default o3-type-body-base"
109
106
  }, "I confirm I am ", ageRestriction, " years or older and have read and agree to the", ' ', /*#__PURE__*/_react["default"].createElement("a", {
110
- className: "ncf__link--external",
111
107
  href: "http://help.ft.com/help/legal-privacy/terms-conditions/",
112
108
  target: isEmbedded ? '_top' : '_blank',
113
109
  rel: "noopener noreferrer",
@@ -123,9 +119,8 @@ function AcceptTerms(_ref) {
123
119
  className: "terms-corp-signup"
124
120
  }, "This trial is to demonstrate the value of a group subscription and we\u2019ll contact you during your trial.")));
125
121
  var transitionTerms = isTransition && /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, !isSingleTerm && /*#__PURE__*/_react["default"].createElement("li", null, /*#__PURE__*/_react["default"].createElement("span", {
126
- className: "terms-transition"
122
+ className: "terms-transition o3-type-body-base"
127
123
  }, "I give consent for my chosen payment method to be charged automatically at the end of each subscription term until I cancel it by contacting", ' ', /*#__PURE__*/_react["default"].createElement("a", {
128
- className: "ncf__link--external",
129
124
  href: "https://help.ft.com/help/contact-us/",
130
125
  target: "_blank",
131
126
  rel: "noopener noreferrer"
@@ -134,9 +129,8 @@ function AcceptTerms(_ref) {
134
129
  }, "By placing my order, my subscription will start immediately and I am aware and agree that I will therefore lose my statutory right to cancel my subscription within 14 days of acceptance of my order. Any notice of cancellation that I provide will only take effect at the end of my subscription period and previously paid amounts are non-refundable, except in the event that there is a fault in the provision of the services.")) : /*#__PURE__*/_react["default"].createElement("li", null, /*#__PURE__*/_react["default"].createElement("span", {
135
130
  className: "terms-transition terms-transition--other"
136
131
  }, "By placing my order, I acknowledge that my subscription will start", isSingleTerm ? ' and the chosen payment method will be charged ' : ' ', "on the date given above. Any cancellation notice received after that date will take effect at the end of my subscription term and previously paid amounts are non-refundable.")), /*#__PURE__*/_react["default"].createElement("li", null, /*#__PURE__*/_react["default"].createElement("span", {
137
- className: "terms-transition"
132
+ className: "terms-transition o3-type-body-base"
138
133
  }, "Find out more about our cancellation policy in our", ' ', /*#__PURE__*/_react["default"].createElement("a", {
139
- className: "ncf__link--external",
140
134
  href: "http://help.ft.com/help/legal-privacy/terms-conditions/",
141
135
  target: "_blank",
142
136
  rel: "noopener noreferrer"
@@ -145,25 +139,22 @@ function AcceptTerms(_ref) {
145
139
  var signupTerms = isSignup && /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, isPrintProduct ? /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement("li", null, /*#__PURE__*/_react["default"].createElement("span", {
146
140
  className: "terms-print"
147
141
  }, printSignupTermText)), /*#__PURE__*/_react["default"].createElement("li", null, /*#__PURE__*/_react["default"].createElement("span", {
148
- className: "terms-print"
142
+ className: "terms-print o3-type-body-base"
149
143
  }, "Find out more about your delivery start date in our", ' ', /*#__PURE__*/_react["default"].createElement("a", {
150
- className: "ncf__link--external",
151
144
  href: "http://help.ft.com/help/legal-privacy/terms-conditions/",
152
145
  target: isEmbedded ? '_top' : '_blank',
153
146
  rel: "noopener noreferrer"
154
147
  }, "Terms & Conditions"), "."))) : /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement("li", null, /*#__PURE__*/_react["default"].createElement("span", {
155
- className: "terms-signup"
148
+ className: "terms-signup o3-type-body-base"
156
149
  }, "I give consent for my chosen payment method to be charged automatically at the end of each subscription term until I cancel it by contacting", ' ', /*#__PURE__*/_react["default"].createElement("a", {
157
- className: "ncf__link--external",
158
150
  href: "https://help.ft.com/help/contact-us/",
159
151
  target: isEmbedded ? '_top' : '_blank',
160
152
  rel: "noopener noreferrer"
161
153
  }, "customer care through chat, phone or email"), ".")), /*#__PURE__*/_react["default"].createElement("li", null, /*#__PURE__*/_react["default"].createElement("span", {
162
154
  className: "terms-signup"
163
155
  }, "By placing my order, my subscription will start immediately and I am aware and agree that I will therefore lose my statutory right to cancel my subscription within 14 days of acceptance of my order. Any notice of cancellation that I provide will only take effect at the end of my subscription period and previously paid amounts are non-refundable, except in the event that there is a fault in the provision of the services.")), /*#__PURE__*/_react["default"].createElement("li", null, /*#__PURE__*/_react["default"].createElement("span", {
164
- className: "terms-signup"
156
+ className: "terms-signup o3-type-body-base"
165
157
  }, "Find out more about our cancellation policy in our", ' ', /*#__PURE__*/_react["default"].createElement("a", {
166
- className: "ncf__link--external",
167
158
  href: "https://help.ft.com/legal-privacy/terms-and-conditions/",
168
159
  target: isEmbedded ? '_top' : '_blank',
169
160
  rel: "noopener noreferrer"
@@ -174,9 +165,8 @@ function AcceptTerms(_ref) {
174
165
  var b2cPartnershipTerms = /*#__PURE__*/_react["default"].createElement("label", {
175
166
  className: [labelClassName, 'checkbox-two-lines'].join(' ')
176
167
  }, /*#__PURE__*/_react["default"].createElement("input", inputProps), /*#__PURE__*/_react["default"].createElement("span", {
177
- className: "o-forms-input__label"
168
+ className: "o-forms-input__label o3-type-body-base"
178
169
  }, "I confirm I am ", ageRestriction, " years or older and have read and agree to the", ' ', /*#__PURE__*/_react["default"].createElement("a", {
179
- className: "ncf__link--external",
180
170
  href: "http://help.ft.com/help/legal-privacy/terms-conditions/",
181
171
  target: isEmbedded ? '_top' : '_blank',
182
172
  rel: "noopener noreferrer",
@@ -185,7 +175,7 @@ function AcceptTerms(_ref) {
185
175
  className: "o-forms-input__error"
186
176
  }, "Please accept our terms & conditions"));
187
177
  return /*#__PURE__*/_react["default"].createElement("div", divProps, isB2cPartnership ? b2cPartnershipTerms : withPrivacyPolicyTerms ? privacyPolicyTerms : /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement("ul", {
188
- className: "o-typography-list ncf__accept-terms-list"
178
+ className: "ncf__accept-terms-list"
189
179
  }, b2bTerms, corpSignupTerms, transitionTerms, signupTerms, deferredBillingTerms), /*#__PURE__*/_react["default"].createElement("label", {
190
180
  className: labelClassName,
191
181
  htmlFor: "termsAcceptance"
@@ -18,12 +18,10 @@ function B2CPartnershipConfirmation(_ref) {
18
18
  _ref$productCode = _ref.productCode,
19
19
  productCode = _ref$productCode === void 0 ? null : _ref$productCode;
20
20
  var readingLinkProps = {
21
- href: '/',
22
- className: 'ncf__link'
21
+ href: '/'
23
22
  };
24
23
  var customerCareProps = {
25
- href: 'https://help.ft.com/',
26
- className: 'ncf__link'
24
+ href: 'https://help.ft.com/'
27
25
  };
28
26
 
29
27
  // Welcome to your Standard access
@@ -48,14 +46,14 @@ function B2CPartnershipConfirmation(_ref) {
48
46
  }, "Explore the homepage & enjoy your unlimited access & exclusive content."), ctaElement || /*#__PURE__*/_react["default"].createElement("p", {
49
47
  className: "ncf__paragraph ncf__center"
50
48
  }, /*#__PURE__*/_react["default"].createElement("a", {
51
- className: "ncf__button ncf__button--submit",
49
+ className: "ncf__button o3-button o3-button--primary",
52
50
  href: "/myft"
53
51
  }, "Go to myFT")), /*#__PURE__*/_react["default"].createElement("p", {
54
- className: "ncf__paragraph ncf__center"
52
+ className: "ncf__paragraph ncf__center o3-type-body-base"
55
53
  }, /*#__PURE__*/_react["default"].createElement("a", readingLinkProps, "Start reading")), /*#__PURE__*/_react["default"].createElement("p", {
56
54
  className: "ncf__paragraph"
57
55
  }, /*#__PURE__*/_react["default"].createElement("div", {
58
- className: "ncf__strong"
56
+ className: "ncf__strong o3-type-body-base"
59
57
  }, "Can we help?"), "For any queries about your Premium subscription please", ' ', /*#__PURE__*/_react["default"].createElement("a", customerCareProps, "contact Customer Care"), "."));
60
58
  }
61
59
  B2CPartnershipConfirmation.propTypes = {
@@ -62,7 +62,7 @@ function Confirmation(_ref) {
62
62
  "data-trackable": "dd-mandate-link",
63
63
  id: "encryptedMandateLink"
64
64
  }, "direct debit mandate"), /*#__PURE__*/_react["default"].createElement("i", {
65
- className: "ncf__icon-download"
65
+ className: "ncf__icon--download"
66
66
  })));
67
67
  return /*#__PURE__*/_react["default"].createElement("div", containerDivProps, /*#__PURE__*/_react["default"].createElement("div", {
68
68
  className: "ncf__center"
@@ -85,20 +85,17 @@ function Confirmation(_ref) {
85
85
  }, /*#__PURE__*/_react["default"].createElement("h3", {
86
86
  className: "ncf__header"
87
87
  }, "Something not right?"), /*#__PURE__*/_react["default"].createElement("p", {
88
- className: "ncf__paragraph"
88
+ className: "ncf__paragraph o3-type-body-base"
89
89
  }, "Go to your", ' ', /*#__PURE__*/_react["default"].createElement("a", {
90
- className: "ncf__link ncf__link--external",
91
90
  href: "https://www.ft.com/myaccount/personal-details",
92
91
  target: "_blank",
93
92
  rel: "noopener noreferrer",
94
93
  "data-trackable": "yourAccount"
95
94
  }, "account settings"), ' ', "to view or edit your account. If you need to get in touch call us on", ' ', /*#__PURE__*/_react["default"].createElement("a", {
96
- href: "tel:+442077556248",
97
- className: "ncf__link ncf__link--external"
95
+ href: "tel:+442077556248"
98
96
  }, "+44 (0) 207 755 6248"), ". Or contact us for additional support.")), /*#__PURE__*/_react["default"].createElement("p", {
99
- className: "ncf__paragraph"
97
+ className: "ncf__paragraph o3-type-body-base"
100
98
  }, !isTermedSubscriptionTermType ? 'We will automatically renew your subscription using the payment method provided unless you cancel before your renewal date. ' : '', 'See our ', /*#__PURE__*/_react["default"].createElement("a", {
101
- className: "ncf__link ncf__link--external",
102
99
  href: "http://help.ft.com/help/legal-privacy/terms-conditions/",
103
100
  target: "_top",
104
101
  rel: "noopener"
@@ -27,7 +27,7 @@ function ContinueReading(_ref) {
27
27
  }, isEmbedded && {
28
28
  target: '_top'
29
29
  }), {}, {
30
- className: 'ncf__button ncf__button--secondary'
30
+ className: 'ncf__button o3-button o3-button--secondary'
31
31
  });
32
32
  var linkElement = link && /*#__PURE__*/_react["default"].createElement("p", {
33
33
  className: "ncf__center"
@@ -33,15 +33,14 @@ function CustomerCare(_ref) {
33
33
  }, /*#__PURE__*/_react["default"].createElement("div", {
34
34
  className: "ncf__icon ncf__icon--phone ncf__icon--large"
35
35
  }), /*#__PURE__*/_react["default"].createElement("p", null, "International Toll Free Number"), /*#__PURE__*/_react["default"].createElement("p", {
36
- className: "ncf__customer-care__phone"
36
+ className: "ncf__customer-care__phone o3-type-body-base"
37
37
  }, /*#__PURE__*/_react["default"].createElement("a", {
38
38
  id: "customer-care-international-number",
39
- className: "ncf__header ncf__link",
39
+ className: "ncf__header",
40
40
  href: "tel:+80007056477"
41
41
  }, "+ 800 0705 6477"))), /*#__PURE__*/_react["default"].createElement("div", {
42
- className: "ncf__paragraph"
42
+ className: "ncf__paragraph o3-type-body-base"
43
43
  }, /*#__PURE__*/_react["default"].createElement("a", {
44
- className: "ncf__link",
45
44
  href: "https://help.ft.com/help/contact-us/"
46
45
  }, "Find a local phone number")));
47
46
  }
package/dist/debug.jsx CHANGED
@@ -22,11 +22,11 @@ function Debug(_ref) {
22
22
  // along with onclick handlers, styles and javascript. JSX will escape and
23
23
  // modify the HTML which we do not want. Once our applications are on JSX
24
24
  // entirely this component should be rethought.
25
- var testEnvironment = "\n\t\t<span class=\"ncf__debug-environment\">\n\t\t\t<a class=\"ncf__button ncf__button--debug ncf__button--inverse ncf__debug-button--test\" onclick=\"setTestEnvironment('off');\"><strong>TEST</strong> relax you are using the test API</a>\n\t\t</span>\n\t";
26
- var productionEnvironment = "\n\t\t<span class=\"ncf__debug-environment\">\n\t\t\t<a class=\"ncf__button ncf__button--debug ncf__button--inverse ncf__debug-button--production\" onclick=\"setTestEnvironment('on');\"><strong>PRODUCTION</strong> careful you are using the production API</a>\n\t\t</span>\n\t";
27
- var testCards = "\n\t\t<button id=\"ncf-copy-visa-checkout-card\" class=\"ncf__button ncf__button--debug ncf__button--inverse\" onclick=\"copyToClipboard('checkoutVisa');\" title=\"Copy Checkout Visa test card number to clipboard\">EU Visa (cvv:100)</button>\n\t\t<button id=\"ncf-copy-visa-checkout-3ds\" class=\"ncf__button ncf__button--debug ncf__button--inverse\" onclick=\"copyToClipboard('checkout3dsChallenge');\" title=\"Copy Checkout challenge code -Checkout1!- to clipboard\">EU 3ds challenge</button>\n\t\t<button id=\"ncf-copy-visa-chase-card\" class=\"ncf__button ncf__button--debug ncf__button--inverse\" onclick=\"copyToClipboard('chaseVisa');\" title=\"Copy Chase card number to clipboard\">US Visa (exp:1230,cvv:111)</button>\n\t\t<button id=\"ncf-link-checkout-cards\" class=\"ncf__button ncf__button--debug ncf__button--inverse\" onclick=\"window.open('https://www.checkout.com/docs/testing/test-card-numbers#Credit_cards', '_blank');\" title=\"Checkout test cards documentation\">Doc:Checkout</button>\n\t";
25
+ var testEnvironment = "\n\t\t<span class=\"ncf__debug-environment\">\n\t\t\t<a class=\"ncf__button ncf__button--debug o3-button o3-button--secondary ncf__debug-button--test\" data-o3-theme=\"inverse\"onclick=\"setTestEnvironment('off');\"><strong>TEST</strong> relax you are using the test API</a>\n\t\t</span>\n\t";
26
+ var productionEnvironment = "\n\t\t<span class=\"ncf__debug-environment\">\n\t\t\t<a class=\"ncf__button ncf__button--debug o3-button o3-button--secondary ncf__debug-button--production\" data-o3-theme=\"inverse\" onclick=\"setTestEnvironment('on');\"><strong>PRODUCTION</strong> careful you are using the production API</a>\n\t\t</span>\n\t";
27
+ var testCards = "\n\t\t<button id=\"ncf-copy-visa-checkout-card\" class=\"ncf__button ncf__button--debug o3-button o3-button--secondary\" data-o3-theme=\"inverse\" onclick=\"copyToClipboard('checkoutVisa');\" title=\"Copy Checkout Visa test card number to clipboard\">EU Visa (cvv:100)</button>\n\t\t<button id=\"ncf-copy-visa-checkout-3ds\" class=\"ncf__button ncf__button--debug o3-button o3-button--secondary\" data-o3-theme=\"inverse\" onclick=\"copyToClipboard('checkout3dsChallenge');\" title=\"Copy Checkout challenge code -Checkout1!- to clipboard\">EU 3ds challenge</button>\n\t\t<button id=\"ncf-copy-visa-chase-card\" class=\"ncf__button ncf__button--debug o3-button o3-button--secondary\" data-o3-theme=\"inverse\" onclick=\"copyToClipboard('chaseVisa');\" title=\"Copy Chase card number to clipboard\">US Visa (exp:1230,cvv:111)</button>\n\t\t<button id=\"ncf-link-checkout-cards\" class=\"ncf__button ncf__button--debug o3-button o3-button--secondary\" data-o3-theme=\"inverse\" onclick=\"window.open('https://www.checkout.com/docs/testing/test-card-numbers#Credit_cards', '_blank');\" title=\"Checkout test cards documentation\">Doc:Checkout</button>\n\t";
28
28
  var linksString = Object.keys(links).map(function (link) {
29
- return "<a key=".concat(link, " class=\"ncf__button ncf__button--inverse ncf__link\" href=\"").concat(links[link], "\">").concat(link, "</a>");
29
+ return "<a key=".concat(link, " class=\"ncf__button o3-button o3-button--secondary\" data-o3-theme=\"inverse\" href=\"").concat(links[link], "\">").concat(link, "</a>");
30
30
  });
31
31
 
32
32
  // Builds a Country dropdown component to allow the user to select a country and reload the page with the selected country
@@ -46,8 +46,8 @@ function Debug(_ref) {
46
46
  var optionsToRender = filteredCountries.reduce(function (options, country) {
47
47
  return "".concat(options, " ").concat(country.label ? createOptGroup(country) : createOption(country));
48
48
  }, '');
49
- var countriesDropDown = "\n\t\t<select class=\"ncf__button ncf__button--debug ncf__button--inverse ncf__button--max-width\" id=\"ncf-country\" onchange=\"reloadWithSelectedCountry();\">\n\t\t\t<option value=\"\">Change country</option>\n\t\t\t<hr />\n\t\t\t".concat(optionsToRender, "\n\t\t</select>\n\t");
50
- var helpers = "\n\t\t<span class=\"ncf__debug-helpers\">\n\t\t\t<button class=\"ncf__button ncf__button--debug ncf__button--inverse\" onclick=\"logout();\" title=\"Logout and refresh\">Logout</button>\n\t\t\t<button class=\"ncf__button ncf__button--debug ncf__button--inverse\" onclick=\"fillForm();\" title=\"Fill form with debug data\">Fill</button>\n\t\t\t<button class=\"ncf__button ncf__button--debug ncf__button--inverse\" onclick=\"fillForm(); submitForm();\" title=\"Fill form with debug data and submit\">Fill &amp; Submit</button>\n\t\t\t".concat(countriesDropDown, "\n\t\t\t").concat(isTest ? testCards : '', "\n\t\t\t").concat(links.length ? linksString : '', "\n\t\t</span>\n\t");
49
+ var countriesDropDown = "\n\t\t<select class=\"ncf__button ncf__button--debug o3-button o3-button--secondary ncf__button--max-width\" data-o3-theme=\"inverse\" id=\"ncf-country\" onchange=\"reloadWithSelectedCountry();\">\n\t\t\t<option value=\"\">Change country</option>\n\t\t\t<hr />\n\t\t\t".concat(optionsToRender, "\n\t\t</select>\n\t");
50
+ var helpers = "\n\t\t<span class=\"ncf__debug-helpers o3-type-body-base\">\n\t\t\t<button class=\"ncf__button ncf__button--debug o3-button o3-button--secondary\" data-o3-theme=\"inverse\" onclick=\"logout();\" title=\"Logout and refresh\">Logout</button>\n\t\t\t<button class=\"ncf__button ncf__button--debug o3-button o3-button--secondary\" data-o3-theme=\"inverse\" onclick=\"fillForm();\" title=\"Fill form with debug data\">Fill</button>\n\t\t\t<button class=\"ncf__button ncf__button--debug o3-button o3-button--secondary\" data-o3-theme=\"inverse\" onclick=\"fillForm(); submitForm();\" title=\"Fill form with debug data and submit\">Fill &amp; Submit</button>\n\t\t\t".concat(countriesDropDown, "\n\t\t\t").concat(isTest ? testCards : '', "\n\t\t\t").concat(links.length ? linksString : '', "\n\t\t</span>\n\t");
51
51
  var html = {
52
52
  __html: "".concat(isTest ? testEnvironment : productionEnvironment).concat(showHelpers ? helpers : '')
53
53
  };
@@ -53,9 +53,8 @@ function DeferredBillingTerms(_ref) {
53
53
  return isDeferredBilling && /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement("p", {
54
54
  className: labelClassName
55
55
  }, /*#__PURE__*/_react["default"].createElement("span", {
56
- className: "ncf__paragraph"
56
+ className: "ncf__paragraph o3-type-body-base"
57
57
  }, "I confirm I am ", CONSENT_AGE, " years or older and have read and agree to the", ' ', /*#__PURE__*/_react["default"].createElement("a", {
58
- className: "ncf__link--external",
59
58
  href: "https://help.ft.com/legal-privacy/terms-and-conditions/",
60
59
  title: "FT Legal Terms and Conditions help page",
61
60
  target: "_blank",
@@ -72,9 +71,8 @@ function DeferredBillingTerms(_ref) {
72
71
  }, "By placing my order, I acknowledge that my subscription will start on the date given above. Any cancellation notice received after that date will take effect at the end of my subscription term and previously paid amounts are non-refundable.")), /*#__PURE__*/_react["default"].createElement("p", {
73
72
  className: labelClassName
74
73
  }, /*#__PURE__*/_react["default"].createElement("span", {
75
- className: "ncf__paragraph"
74
+ className: "ncf__paragraph o3-type-body-base"
76
75
  }, "Find out more about our cancellation policy in our", ' ', /*#__PURE__*/_react["default"].createElement("a", {
77
- className: "ncf__link--external",
78
76
  href: "https://help.ft.com/legal-privacy/terms-and-conditions/",
79
77
  title: "FT Legal Terms and Conditions help page",
80
78
  target: "_blank",
@@ -83,9 +81,8 @@ function DeferredBillingTerms(_ref) {
83
81
  }, "Terms & Conditions"), ".")), /*#__PURE__*/_react["default"].createElement("p", {
84
82
  className: labelClassName
85
83
  }, /*#__PURE__*/_react["default"].createElement("span", {
86
- className: "ncf__paragraph"
84
+ className: "ncf__paragraph o3-type-body-base"
87
85
  }, "Please note that if you fail to make payment for your Deferred Billing Plan within the due date your subscription will be automatically cancelled.", ' ', /*#__PURE__*/_react["default"].createElement("a", {
88
- className: "ncf__link--external",
89
86
  href: "https://help.ft.com/legal-privacy/terms-and-conditions/",
90
87
  title: "FT Legal Terms and Conditions help page",
91
88
  target: "_blank",
@@ -26,15 +26,14 @@ function ErrorPage(_ref) {
26
26
  }, message)), /*#__PURE__*/_react["default"].createElement("div", {
27
27
  className: "ncf__error-page__content"
28
28
  }, children), /*#__PURE__*/_react["default"].createElement("div", {
29
- className: "ncf__paragraph"
29
+ className: "ncf__paragraph o3-type-body-base"
30
30
  }, /*#__PURE__*/_react["default"].createElement("p", null, "International Toll Free Number"), /*#__PURE__*/_react["default"].createElement("a", {
31
31
  id: "error-international-number",
32
- className: "ncf__header ncf__link",
32
+ className: "ncf__header",
33
33
  href: "tel:+80007056477"
34
34
  }, "+ 800 0705 6477")), /*#__PURE__*/_react["default"].createElement("div", {
35
- className: "ncf__paragraph"
35
+ className: "ncf__paragraph o3-type-body-base"
36
36
  }, /*#__PURE__*/_react["default"].createElement("a", {
37
- className: "ncf__link",
38
37
  href: "https://help.ft.com/help/contact-us/"
39
38
  }, "Find a local phone number")));
40
39
  }
package/dist/fieldset.jsx CHANGED
@@ -32,7 +32,7 @@ function Fieldset(_ref) {
32
32
  className: 'ncf__fieldset'
33
33
  });
34
34
  var legendClassName = (0, _classnames["default"])(['ncf__legend', {
35
- 'o-normalise-visually-hidden': hideLegend
35
+ 'o3-visually-hidden': hideLegend
36
36
  }]);
37
37
  var legendElement = legend ? /*#__PURE__*/_react["default"].createElement("legend", {
38
38
  className: legendClassName
@@ -35,12 +35,12 @@ function FTEditRegistrationConfirmation(_ref) {
35
35
  }, "Enjoy 30 days of great journalism. We\u2019ve sent confirmation to", /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement("strong", null, email), "."))), /*#__PURE__*/_react["default"].createElement("a", {
36
36
  href: hubUrl,
37
37
  target: "_parent",
38
- className: " ncf__confirmation--finish ncf__button ncf__button--submit",
38
+ className: " ncf__confirmation--finish ncf__button o3-button o3-button--primary",
39
39
  "data-trackable": "register-finish-head-to-ft-edit-hub"
40
40
  }, "Explore FT Edit"), articleUrl && /*#__PURE__*/_react["default"].createElement("a", {
41
41
  href: articleUrl,
42
42
  target: "_parent",
43
- className: " ncf__confirmation--finish-article-read ncf__button ncf__button--secondary reduce-bottom-spacing",
43
+ className: " ncf__confirmation--finish-article-read ncf__button o3-button o3-button--secondary reduce-bottom-spacing",
44
44
  "data-trackable": "register-finish-head-to-article"
45
45
  }, "Continue reading"));
46
46
  }
@@ -19,14 +19,16 @@ var Compliance = exports.Compliance = function Compliance() {
19
19
  return /*#__PURE__*/_react["default"].createElement("div", {
20
20
  id: "graduationDateCompliance",
21
21
  className: "ncf__field ncf__gd-compliance"
22
- }, /*#__PURE__*/_react["default"].createElement("p", null, "We use the information you provide, and may share it with your institution, for the purposes of administering your institution's licence for", ' ', /*#__PURE__*/_react["default"].createElement("a", {
23
- className: "ncf__link--external",
22
+ }, /*#__PURE__*/_react["default"].createElement("p", {
23
+ className: "o3-type-body-base"
24
+ }, "We use the information you provide, and may share it with your institution, for the purposes of administering your institution's licence for", ' ', /*#__PURE__*/_react["default"].createElement("a", {
24
25
  href: "https://ft.com/",
25
26
  title: "Financial Times",
26
27
  target: "_blank",
27
28
  rel: "noopener noreferrer"
28
- }, "FT.com.", ' ')), /*#__PURE__*/_react["default"].createElement("p", null, "We may also use it to ensure our communications to you are more relevant. If you do not wish us to do so, you can amend your preferences at any time", ' ', /*#__PURE__*/_react["default"].createElement("a", {
29
- className: "ncf__link--external",
29
+ }, "FT.com.", ' ')), /*#__PURE__*/_react["default"].createElement("p", {
30
+ className: "o3-type-body-base"
31
+ }, "We may also use it to ensure our communications to you are more relevant. If you do not wish us to do so, you can amend your preferences at any time", ' ', /*#__PURE__*/_react["default"].createElement("a", {
30
32
  href: "http://www.ft.com/myft/alerts/",
31
33
  title: "Financial Times",
32
34
  target: "_blank",