@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
@@ -18,21 +18,17 @@ exports[`B2CPartnershipConfirmation renders Digital Edition access for Digital E
18
18
  Explore the homepage & enjoy your unlimited access & exclusive content.
19
19
  </p>
20
20
  hello
21
- <p class="ncf__paragraph ncf__center">
22
- <a href="/"
23
- class="ncf__link"
24
- >
21
+ <p class="ncf__paragraph ncf__center o3-type-body-base">
22
+ <a href="/">
25
23
  Start reading
26
24
  </a>
27
25
  </p>
28
26
  <p class="ncf__paragraph">
29
- <div class="ncf__strong">
27
+ <div class="ncf__strong o3-type-body-base">
30
28
  Can we help?
31
29
  </div>
32
30
  For any queries about your Premium subscription please
33
- <a href="https://help.ft.com/"
34
- class="ncf__link"
35
- >
31
+ <a href="https://help.ft.com/">
36
32
  contact Customer Care
37
33
  </a>
38
34
  .
@@ -58,21 +54,17 @@ exports[`B2CPartnershipConfirmation renders Digital Edition access for Digital E
58
54
  Explore the homepage &amp; enjoy your unlimited access &amp; exclusive content.
59
55
  </p>
60
56
  hello
61
- <p class="ncf__paragraph ncf__center">
62
- <a href="/"
63
- class="ncf__link"
64
- >
57
+ <p class="ncf__paragraph ncf__center o3-type-body-base">
58
+ <a href="/">
65
59
  Start reading
66
60
  </a>
67
61
  </p>
68
62
  <p class="ncf__paragraph">
69
- <div class="ncf__strong">
63
+ <div class="ncf__strong o3-type-body-base">
70
64
  Can we help?
71
65
  </div>
72
66
  For any queries about your Premium subscription please
73
- <a href="https://help.ft.com/"
74
- class="ncf__link"
75
- >
67
+ <a href="https://help.ft.com/">
76
68
  contact Customer Care
77
69
  </a>
78
70
  .
@@ -98,21 +90,17 @@ exports[`B2CPartnershipConfirmation renders FT access if subscription prop is nu
98
90
  Explore the homepage &amp; enjoy your unlimited access &amp; exclusive content.
99
91
  </p>
100
92
  hello
101
- <p class="ncf__paragraph ncf__center">
102
- <a href="/"
103
- class="ncf__link"
104
- >
93
+ <p class="ncf__paragraph ncf__center o3-type-body-base">
94
+ <a href="/">
105
95
  Start reading
106
96
  </a>
107
97
  </p>
108
98
  <p class="ncf__paragraph">
109
- <div class="ncf__strong">
99
+ <div class="ncf__strong o3-type-body-base">
110
100
  Can we help?
111
101
  </div>
112
102
  For any queries about your Premium subscription please
113
- <a href="https://help.ft.com/"
114
- class="ncf__link"
115
- >
103
+ <a href="https://help.ft.com/">
116
104
  contact Customer Care
117
105
  </a>
118
106
  .
@@ -138,21 +126,17 @@ exports[`B2CPartnershipConfirmation renders FT access if subscription prop is un
138
126
  Explore the homepage &amp; enjoy your unlimited access &amp; exclusive content.
139
127
  </p>
140
128
  hello
141
- <p class="ncf__paragraph ncf__center">
142
- <a href="/"
143
- class="ncf__link"
144
- >
129
+ <p class="ncf__paragraph ncf__center o3-type-body-base">
130
+ <a href="/">
145
131
  Start reading
146
132
  </a>
147
133
  </p>
148
134
  <p class="ncf__paragraph">
149
- <div class="ncf__strong">
135
+ <div class="ncf__strong o3-type-body-base">
150
136
  Can we help?
151
137
  </div>
152
138
  For any queries about your Premium subscription please
153
- <a href="https://help.ft.com/"
154
- class="ncf__link"
155
- >
139
+ <a href="https://help.ft.com/">
156
140
  contact Customer Care
157
141
  </a>
158
142
  .
@@ -178,21 +162,17 @@ exports[`B2CPartnershipConfirmation renders Premium access for premium subscript
178
162
  Explore the homepage &amp; enjoy your unlimited access &amp; exclusive content.
179
163
  </p>
180
164
  hello
181
- <p class="ncf__paragraph ncf__center">
182
- <a href="/"
183
- class="ncf__link"
184
- >
165
+ <p class="ncf__paragraph ncf__center o3-type-body-base">
166
+ <a href="/">
185
167
  Start reading
186
168
  </a>
187
169
  </p>
188
170
  <p class="ncf__paragraph">
189
- <div class="ncf__strong">
171
+ <div class="ncf__strong o3-type-body-base">
190
172
  Can we help?
191
173
  </div>
192
174
  For any queries about your Premium subscription please
193
- <a href="https://help.ft.com/"
194
- class="ncf__link"
195
- >
175
+ <a href="https://help.ft.com/">
196
176
  contact Customer Care
197
177
  </a>
198
178
  .
@@ -218,21 +198,17 @@ exports[`B2CPartnershipConfirmation renders Premium access for premium subscript
218
198
  Explore the homepage &amp; enjoy your unlimited access &amp; exclusive content.
219
199
  </p>
220
200
  hello
221
- <p class="ncf__paragraph ncf__center">
222
- <a href="/"
223
- class="ncf__link"
224
- >
201
+ <p class="ncf__paragraph ncf__center o3-type-body-base">
202
+ <a href="/">
225
203
  Start reading
226
204
  </a>
227
205
  </p>
228
206
  <p class="ncf__paragraph">
229
- <div class="ncf__strong">
207
+ <div class="ncf__strong o3-type-body-base">
230
208
  Can we help?
231
209
  </div>
232
210
  For any queries about your Premium subscription please
233
- <a href="https://help.ft.com/"
234
- class="ncf__link"
235
- >
211
+ <a href="https://help.ft.com/">
236
212
  contact Customer Care
237
213
  </a>
238
214
  .
@@ -258,21 +234,17 @@ exports[`B2CPartnershipConfirmation renders Standard access for standard subscri
258
234
  Explore the homepage &amp; enjoy your unlimited access &amp; exclusive content.
259
235
  </p>
260
236
  hello
261
- <p class="ncf__paragraph ncf__center">
262
- <a href="/"
263
- class="ncf__link"
264
- >
237
+ <p class="ncf__paragraph ncf__center o3-type-body-base">
238
+ <a href="/">
265
239
  Start reading
266
240
  </a>
267
241
  </p>
268
242
  <p class="ncf__paragraph">
269
- <div class="ncf__strong">
243
+ <div class="ncf__strong o3-type-body-base">
270
244
  Can we help?
271
245
  </div>
272
246
  For any queries about your Premium subscription please
273
- <a href="https://help.ft.com/"
274
- class="ncf__link"
275
- >
247
+ <a href="https://help.ft.com/">
276
248
  contact Customer Care
277
249
  </a>
278
250
  .
@@ -298,21 +270,17 @@ exports[`B2CPartnershipConfirmation renders Standard access for standard subscri
298
270
  Explore the homepage &amp; enjoy your unlimited access &amp; exclusive content.
299
271
  </p>
300
272
  hello
301
- <p class="ncf__paragraph ncf__center">
302
- <a href="/"
303
- class="ncf__link"
304
- >
273
+ <p class="ncf__paragraph ncf__center o3-type-body-base">
274
+ <a href="/">
305
275
  Start reading
306
276
  </a>
307
277
  </p>
308
278
  <p class="ncf__paragraph">
309
- <div class="ncf__strong">
279
+ <div class="ncf__strong o3-type-body-base">
310
280
  Can we help?
311
281
  </div>
312
282
  For any queries about your Premium subscription please
313
- <a href="https://help.ft.com/"
314
- class="ncf__link"
315
- >
283
+ <a href="https://help.ft.com/">
316
284
  contact Customer Care
317
285
  </a>
318
286
  .
@@ -338,21 +306,17 @@ exports[`B2CPartnershipConfirmation renders as default 1`] = `
338
306
  Explore the homepage &amp; enjoy your unlimited access &amp; exclusive content.
339
307
  </p>
340
308
  hello
341
- <p class="ncf__paragraph ncf__center">
342
- <a href="/"
343
- class="ncf__link"
344
- >
309
+ <p class="ncf__paragraph ncf__center o3-type-body-base">
310
+ <a href="/">
345
311
  Start reading
346
312
  </a>
347
313
  </p>
348
314
  <p class="ncf__paragraph">
349
- <div class="ncf__strong">
315
+ <div class="ncf__strong o3-type-body-base">
350
316
  Can we help?
351
317
  </div>
352
318
  For any queries about your Premium subscription please
353
- <a href="https://help.ft.com/"
354
- class="ncf__link"
355
- >
319
+ <a href="https://help.ft.com/">
356
320
  contact Customer Care
357
321
  </a>
358
322
  .