@comicrelief/component-library 6.10.0 → 7.0.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.
Files changed (56) hide show
  1. package/cypress/integration/components/Organisms/Donate.spec.js +13 -13
  2. package/cypress/integration/components/Organisms/EmailSignUp.spec.js +47 -132
  3. package/dist/components/Organisms/Donate/Donate.md +9 -9
  4. package/dist/components/Organisms/Donate/Form/Form.js +2 -1
  5. package/dist/components/Organisms/Donate/GivingSelector/GivingSelector.js +17 -71
  6. package/dist/components/Organisms/Donate/GivingSelector/GivingSelector.style.js +71 -0
  7. package/dist/components/Organisms/Donate/__snapshots__/Donate.test.js.snap +11 -25
  8. package/dist/components/Organisms/EmailSignUp/EmailSignUp.md +8 -123
  9. package/dist/components/Organisms/EmailSignUp/EmailSignUp.style.js +46 -29
  10. package/dist/components/Organisms/EmailSignUp/EmailSignUp.test.js +24 -69
  11. package/dist/components/Organisms/EmailSignUp/EmailSignUpForm.js +92 -0
  12. package/dist/components/Organisms/EmailSignUp/_Confetti.js +116 -0
  13. package/dist/components/Organisms/EmailSignUp/_EmailSignUp.js +107 -0
  14. package/dist/components/Organisms/EmailSignUp/_EmailSignUpConfig.js +51 -0
  15. package/dist/components/Organisms/EmailSignUp/_TextInput.js +51 -0
  16. package/dist/components/Organisms/EmailSignUp/__snapshots__/EmailSignUp.test.js.snap +249 -406
  17. package/dist/components/Organisms/Header/Header.md +1 -13
  18. package/dist/components/Organisms/Membership/Membership.test.js +1 -1
  19. package/dist/index.js +14 -10
  20. package/package.json +2 -1
  21. package/src/components/Organisms/Donate/Donate.md +9 -9
  22. package/src/components/Organisms/Donate/Form/Form.js +1 -0
  23. package/src/components/Organisms/Donate/GivingSelector/GivingSelector.js +15 -85
  24. package/src/components/Organisms/Donate/GivingSelector/GivingSelector.style.js +78 -0
  25. package/src/components/Organisms/Donate/__snapshots__/Donate.test.js.snap +11 -25
  26. package/src/components/Organisms/EmailSignUp/EmailSignUp.md +8 -123
  27. package/src/components/Organisms/EmailSignUp/EmailSignUp.style.js +33 -13
  28. package/src/components/Organisms/EmailSignUp/EmailSignUp.test.js +35 -69
  29. package/src/components/Organisms/EmailSignUp/EmailSignUpForm.js +60 -0
  30. package/src/components/Organisms/EmailSignUp/_Confetti.js +106 -0
  31. package/src/components/Organisms/EmailSignUp/_EmailSignUp.js +138 -0
  32. package/src/components/Organisms/EmailSignUp/_EmailSignUpConfig.js +54 -0
  33. package/src/components/Organisms/EmailSignUp/_TextInput.js +45 -0
  34. package/src/components/Organisms/EmailSignUp/__snapshots__/EmailSignUp.test.js.snap +249 -406
  35. package/src/components/Organisms/Header/Header.md +1 -13
  36. package/src/components/Organisms/Membership/Membership.test.js +33 -33
  37. package/src/index.js +10 -4
  38. package/cypress/integration/components/Molecules/HeaderEsuWithIcon.spec.js +0 -69
  39. package/dist/components/Molecules/HeaderEsuWithIcon/HeaderEsuWithIcon.js +0 -136
  40. package/dist/components/Molecules/HeaderEsuWithIcon/HeaderEsuWithIcon.md +0 -47
  41. package/dist/components/Molecules/HeaderEsuWithIcon/HeaderEsuWithIcon.style.js +0 -52
  42. package/dist/components/Molecules/HeaderEsuWithIcon/HeaderEsuWithIcon.test.js +0 -99
  43. package/dist/components/Molecules/HeaderEsuWithIcon/__snapshots__/HeaderEsuWithIcon.test.js.snap +0 -1211
  44. package/dist/components/Molecules/HeaderEsuWithIcon/assets/HeaderIcons.js +0 -25
  45. package/dist/components/Molecules/HeaderEsuWithIcon/assets/icon--close.svg +0 -5
  46. package/dist/components/Molecules/HeaderEsuWithIcon/assets/icon--email.svg +0 -5
  47. package/dist/components/Organisms/EmailSignUp/EmailSignUp.js +0 -182
  48. package/src/components/Molecules/HeaderEsuWithIcon/HeaderEsuWithIcon.js +0 -135
  49. package/src/components/Molecules/HeaderEsuWithIcon/HeaderEsuWithIcon.md +0 -47
  50. package/src/components/Molecules/HeaderEsuWithIcon/HeaderEsuWithIcon.style.js +0 -60
  51. package/src/components/Molecules/HeaderEsuWithIcon/HeaderEsuWithIcon.test.js +0 -103
  52. package/src/components/Molecules/HeaderEsuWithIcon/__snapshots__/HeaderEsuWithIcon.test.js.snap +0 -1211
  53. package/src/components/Molecules/HeaderEsuWithIcon/assets/HeaderIcons.js +0 -15
  54. package/src/components/Molecules/HeaderEsuWithIcon/assets/icon--close.svg +0 -5
  55. package/src/components/Molecules/HeaderEsuWithIcon/assets/icon--email.svg +0 -5
  56. package/src/components/Organisms/EmailSignUp/EmailSignUp.js +0 -197
@@ -1,6 +1,6 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
- exports[`renders ESU School correctly 1`] = `
3
+ exports[`renders correctly 1`] = `
4
4
  .c1 {
5
5
  font-size: 3rem;
6
6
  line-height: 3rem;
@@ -13,7 +13,7 @@ exports[`renders ESU School correctly 1`] = `
13
13
  letter-spacing: 0.03rem;
14
14
  }
15
15
 
16
- .c5 {
16
+ .c4 {
17
17
  font-size: 1rem;
18
18
  line-height: 1rem;
19
19
  text-transform: inherit;
@@ -21,310 +21,62 @@ exports[`renders ESU School correctly 1`] = `
21
21
  font-family: 'Montserrat',Helvetica,Arial,sans-serif;
22
22
  }
23
23
 
24
- .c8 {
25
- font-size: 1.25rem;
26
- line-height: 1.25rem;
24
+ .c10 {
25
+ font-size: 1rem;
26
+ line-height: 1rem;
27
27
  text-transform: inherit;
28
- font-weight: 400;
28
+ font-weight: bold;
29
29
  line-height: normal;
30
30
  font-family: 'Montserrat',Helvetica,Arial,sans-serif;
31
- font-size: 1rem;
32
- }
33
-
34
- .c4 {
35
- position: relative;
36
- display: -webkit-box;
37
- display: -webkit-flex;
38
- display: -ms-flexbox;
39
- display: flex;
40
- -webkit-flex-direction: column;
41
- -ms-flex-direction: column;
42
- flex-direction: column;
43
- color: #5C5C5E;
44
- width: 100%;
45
31
  }
46
32
 
47
- .c6 {
48
- border: 0;
49
- -webkit-clip: rect(0 0 0 0);
50
- clip: rect(0 0 0 0);
51
- -webkit-clip-path: inset(50%);
52
- clip-path: inset(50%);
53
- height: 1px;
54
- margin: -1px;
55
- overflow: hidden;
56
- padding: 0;
57
- position: absolute;
58
- white-space: nowrap;
59
- width: 1px;
60
- }
61
-
62
- .c7 {
63
- width: 100%;
64
- font-size: 1.25rem;
65
- display: block;
66
- box-sizing: border-box;
67
- padding: 0 1.5rem;
68
- padding-right: 4rem;
69
- margin: 0;
33
+ .c15 {
34
+ display: -webkit-inline-box;
35
+ display: -webkit-inline-flex;
36
+ display: -ms-inline-flexbox;
37
+ display: inline-flex;
70
38
  position: relative;
71
- height: 48px;
72
- font-weight: 400;
73
- font-family: 'Montserrat',Helvetica,Arial,sans-serif;
74
- background: #F4F3F5 url(mock.asset) calc(100% - 1.5rem) 14px/20px 1.5rem no-repeat;
75
- border: 1px solid;
76
- border-color: #E1E2E3;
77
- box-shadow: none;
78
- -webkit-appearance: none;
79
- -moz-appearance: none;
80
- appearance: none;
81
- color: #000000;
82
- border-radius: 0.5rem;
83
- cursor: pointer;
84
- }
85
-
86
- .c7:focus {
87
- border: 1px solid #666;
88
- }
89
-
90
- .c12 {
91
- text-align: left;
92
- }
93
-
94
- .c0 {
95
- display: -webkit-box;
96
- display: -webkit-flex;
97
- display: -ms-flexbox;
98
- display: flex;
99
- -webkit-flex-direction: column;
100
- -ms-flex-direction: column;
101
- flex-direction: column;
39
+ padding: 0.5rem 1.25rem;
40
+ -webkit-text-decoration: none;
41
+ text-decoration: none;
42
+ font-weight: 700;
102
43
  font-size: 1rem;
103
- color: #FFFFFF;
104
- background-color: #2C0230;
105
- }
106
-
107
- .c9 {
108
- margin-top: 1rem;
109
- }
110
-
111
- .c9 input {
112
- text-align: center;
44
+ border-radius: 2rem;
45
+ -webkit-transition: all 0.3s;
46
+ transition: all 0.3s;
47
+ height: 3.125rem;
113
48
  width: 100%;
114
- font-size: 1rem;
115
- }
116
-
117
- .c11 {
118
- display: -webkit-box;
119
- display: -webkit-flex;
120
- display: -ms-flexbox;
121
- display: flex;
122
- -webkit-flex-direction: column;
123
- -ms-flex-direction: column;
124
- flex-direction: column;
125
- margin-top: 1rem;
126
- }
127
-
128
- .c11 p {
129
- font-size: 1rem;
130
- line-height: 2rem;
131
- }
132
-
133
- .c11 p a {
134
- font-size: 1rem;
49
+ -webkit-box-pack: center;
50
+ -webkit-justify-content: center;
51
+ -ms-flex-pack: center;
52
+ justify-content: center;
53
+ -webkit-align-items: center;
54
+ -webkit-box-align: center;
55
+ -ms-flex-align: center;
56
+ align-items: center;
57
+ border: none;
58
+ cursor: pointer;
59
+ background-color: #E52630;
135
60
  color: #FFFFFF;
136
61
  }
137
62
 
138
- .c3 {
139
- display: -webkit-box;
140
- display: -webkit-flex;
141
- display: -ms-flexbox;
142
- display: flex;
143
- -webkit-flex-direction: column;
144
- -ms-flex-direction: column;
145
- flex-direction: column;
146
- margin: 1rem 0;
147
- }
148
-
149
- .c2 {
150
- margin-bottom: 1.5rem;
63
+ .c15 > a {
64
+ -webkit-text-decoration: none;
65
+ text-decoration: none;
151
66
  }
152
67
 
153
- .c10 {
154
- width: 100%;
68
+ .c15:hover {
69
+ background-color: #890B11;
155
70
  color: #FFFFFF;
156
- font-size: 1rem;
157
- font-weight: bold;
158
- cursor: pointer;
159
- padding: 1rem 0.5rem;
160
- background: #4ECDBE;
161
- border: none;
162
- border-radius: 100px;
163
71
  }
164
72
 
165
- .c10:active,
166
- .c10:focus,
167
- .c10:hover {
168
- background-color: #961D35;
169
- }
170
-
171
- @media (min-width:740px) {
172
- .c8 {
173
- font-size: 1.25rem;
174
- }
175
- }
176
-
177
- @media (min-width:740px) {
178
-
179
- }
180
-
181
- @media (min-width:740px) {
182
- .c7 {
183
- max-width: 290px;
184
- }
185
- }
186
-
187
- @media (min-width:740px) {
188
- .c9 input {
189
- font-size: 1.25rem;
190
- max-width: 180px;
191
- }
192
- }
193
-
194
- @media (min-width:1024px) {
195
- .c10 {
196
- width: auto;
197
- padding: 1rem 2rem;
198
- margin: 0 auto 2rem;
199
- }
200
- }
201
-
202
- <div
203
- className="c0"
204
- >
205
- <h2
206
- className="c1 c2"
207
- color="inherit"
208
- size="xxl"
209
- >
210
- sign up letter
211
- </h2>
212
- <form
213
- className="c3"
214
- onSubmit={[Function]}
215
- >
216
- <label
217
- className="c4"
218
- >
219
- <span
220
- className="c5 c6"
221
- color="inherit"
222
- dangerouslySetInnerHTML={
223
- Object {
224
- "__html": "Please choose an option",
225
- }
226
- }
227
- size="s"
228
- />
229
- <select
230
- className="c7"
231
- defaultValue=""
232
- onChange={[Function]}
233
- placeholder="Please choose an option"
234
- required={true}
235
- value=""
236
- >
237
- <option
238
- disabled={true}
239
- value=""
240
- >
241
- Please choose an option
242
- </option>
243
- <option
244
- value=""
245
- >
246
- -- Select age group --
247
- </option>
248
- <option
249
- value="Option one"
250
- >
251
- The first option
252
- </option>
253
- <option
254
- value="Option two"
255
- >
256
- The second option
257
- </option>
258
- <option
259
- value="Option three"
260
- >
261
- The third option
262
- </option>
263
- <option
264
- value="Option four"
265
- >
266
- The fourth option
267
- </option>
268
- </select>
269
-
270
- </label>
271
- <p
272
- className="c8"
273
- color="inherit"
274
- size="m"
275
- >
276
- Now please select your teaching group so you get the right updates.
277
- </p>
278
- <div
279
- className="c9"
280
- >
281
- <input
282
- className="c10"
283
- color="teal"
284
- data-test="subscribe-button-school"
285
- onClick={[Function]}
286
- type="submit"
287
- value=" Subscribe"
288
- />
289
- </div>
290
- </form>
291
- <div
292
- className="c11"
293
- >
294
- <div
295
- className="c12"
296
- dangerouslySetInnerHTML={
297
- Object {
298
- "__html": "check <a href=\\"https://www.comicrelief.com/privacy-notice\\">Privacy policy</a>",
299
- }
300
- }
301
- />
302
- </div>
303
- </div>
304
- `;
305
-
306
- exports[`renders correctly 1`] = `
307
- .c1 {
308
- font-size: 3rem;
309
- line-height: 3rem;
310
- text-transform: uppercase;
311
- font-weight: 400;
312
- font-family: 'Anton',Impact,sans-serif;
313
- -webkit-letter-spacing: 0.03rem;
314
- -moz-letter-spacing: 0.03rem;
315
- -ms-letter-spacing: 0.03rem;
316
- letter-spacing: 0.03rem;
73
+ .c15 (min-width:1024px) {
74
+ width: auto;
75
+ padding: 1rem 2rem;
76
+ margin: 0 auto 2rem;
317
77
  }
318
78
 
319
79
  .c8 {
320
- font-size: 1rem;
321
- line-height: 1rem;
322
- text-transform: inherit;
323
- line-height: normal;
324
- font-family: 'Montserrat',Helvetica,Arial,sans-serif;
325
- }
326
-
327
- .c6 {
328
80
  position: relative;
329
81
  display: -webkit-box;
330
82
  display: -webkit-flex;
@@ -337,22 +89,11 @@ exports[`renders correctly 1`] = `
337
89
  width: 100%;
338
90
  }
339
91
 
340
- .c9 {
341
- border: 0;
342
- -webkit-clip: rect(0 0 0 0);
343
- clip: rect(0 0 0 0);
344
- -webkit-clip-path: inset(50%);
345
- clip-path: inset(50%);
346
- height: 1px;
347
- margin: -1px;
348
- overflow: hidden;
349
- padding: 0;
350
- position: absolute;
351
- white-space: nowrap;
352
- width: 1px;
92
+ .c11 {
93
+ margin-bottom: 0.5rem;
353
94
  }
354
95
 
355
- .c11 {
96
+ .c13 {
356
97
  position: relative;
357
98
  box-sizing: border-box;
358
99
  width: 100%;
@@ -372,19 +113,24 @@ exports[`renders correctly 1`] = `
372
113
  font-family: 'Montserrat',Helvetica,Arial,sans-serif;
373
114
  }
374
115
 
375
- .c11:focus {
116
+ .c13:focus {
376
117
  border: 1px solid #666;
377
118
  }
378
119
 
379
- .c10 {
120
+ .c12 {
380
121
  position: relative;
381
122
  font-size: 1.25rem;
382
123
  }
383
124
 
384
- .c4 {
125
+ .c5 {
385
126
  text-align: left;
386
127
  }
387
128
 
129
+ .c16:disabled {
130
+ cursor: not-allowed;
131
+ opacity: 0.75;
132
+ }
133
+
388
134
  .c0 {
389
135
  display: -webkit-box;
390
136
  display: -webkit-flex;
@@ -396,6 +142,7 @@ exports[`renders correctly 1`] = `
396
142
  font-size: 1rem;
397
143
  color: #FFFFFF;
398
144
  background-color: #2C0230;
145
+ padding: 1.5rem;
399
146
  }
400
147
 
401
148
  .c3 {
@@ -406,17 +153,15 @@ exports[`renders correctly 1`] = `
406
153
  margin-bottom: 1rem;
407
154
  }
408
155
 
409
- .c12 {
156
+ .c14 {
410
157
  margin-top: 1rem;
411
158
  }
412
159
 
413
- .c12 input {
414
- text-align: center;
415
- width: 100%;
416
- font-size: 1rem;
160
+ .c14 button {
161
+ background-color: #E52630;
417
162
  }
418
163
 
419
- .c14 {
164
+ .c17 {
420
165
  display: -webkit-box;
421
166
  display: -webkit-flex;
422
167
  display: -ms-flexbox;
@@ -427,17 +172,17 @@ exports[`renders correctly 1`] = `
427
172
  margin-top: 1rem;
428
173
  }
429
174
 
430
- .c14 p {
175
+ .c17 p {
431
176
  font-size: 1rem;
432
177
  line-height: 2rem;
433
178
  }
434
179
 
435
- .c14 p a {
180
+ .c17 p a {
436
181
  font-size: 1rem;
437
182
  color: #FFFFFF;
438
183
  }
439
184
 
440
- .c5 {
185
+ .c6 {
441
186
  display: -webkit-box;
442
187
  display: -webkit-flex;
443
188
  display: -ms-flexbox;
@@ -449,134 +194,232 @@ exports[`renders correctly 1`] = `
449
194
  }
450
195
 
451
196
  .c7 {
452
- width: 100%;
197
+ display: -webkit-box;
198
+ display: -webkit-flex;
199
+ display: -ms-flexbox;
200
+ display: flex;
201
+ -webkit-flex-direction: column;
202
+ -ms-flex-direction: column;
203
+ flex-direction: column;
204
+ gap: 0;
453
205
  }
454
206
 
455
- .c2 {
456
- margin-bottom: 1.5rem;
207
+ .c9 {
208
+ width: 100%;
209
+ margin-bottom: 1rem;
457
210
  }
458
211
 
459
- .c13 {
460
- width: 100%;
212
+ .c9 > span:first-child {
461
213
  color: #FFFFFF;
462
- font-size: 1rem;
463
- font-weight: bold;
464
- cursor: pointer;
465
- padding: 1rem 0.5rem;
466
- background: #4ECDBE;
467
- border: none;
468
- border-radius: 100px;
469
214
  }
470
215
 
471
- .c13:active,
472
- .c13:focus,
473
- .c13:hover {
474
- background-color: #961D35;
216
+ .c2 {
217
+ margin-bottom: 1.5rem;
475
218
  }
476
219
 
477
220
  @media (min-width:740px) {
478
- .c11 {
479
- max-width: 290px;
221
+ .c15 {
222
+ width: auto;
480
223
  }
481
224
  }
482
225
 
483
226
  @media (min-width:740px) {
484
- .c12 input {
485
- font-size: 1.25rem;
486
- max-width: 180px;
227
+ .c13 {
228
+ max-width: 290px;
487
229
  }
488
230
  }
489
231
 
490
232
  @media (min-width:1024px) {
491
- .c13 {
492
- width: auto;
493
- padding: 1rem 2rem;
494
- margin: 0 auto 2rem;
233
+ .c7 {
234
+ -webkit-box-pack: start;
235
+ -webkit-justify-content: start;
236
+ -ms-flex-pack: start;
237
+ justify-content: start;
238
+ -webkit-flex-direction: row;
239
+ -ms-flex-direction: row;
240
+ flex-direction: row;
241
+ gap: 1rem;
495
242
  }
496
243
  }
497
244
 
498
- <div
499
- className="c0"
245
+ @media (min-width:1024px) {
246
+ .c9 {
247
+ max-width: 290px;
248
+ }
249
+ }
250
+
251
+ <form
252
+ noValidate={true}
253
+ onSubmit={[Function]}
500
254
  >
501
- <h2
502
- className="c1 c2"
503
- color="inherit"
504
- size="xxl"
505
- >
506
- sign up letter
507
- </h2>
508
255
  <div
509
- className="c3"
256
+ className="c0"
510
257
  >
258
+ <h2
259
+ className="c1 c2"
260
+ color="inherit"
261
+ size="xxl"
262
+ >
263
+ sign up letter
264
+ </h2>
511
265
  <div
512
- className="c4"
513
- dangerouslySetInnerHTML={
514
- Object {
515
- "__html": "<h1> Top Copy</h1> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>",
516
- }
517
- }
518
- />
519
- </div>
520
- <form
521
- className="c5"
522
- onSubmit={[Function]}
523
- >
524
- <label
525
- className="c6 c7"
526
- htmlFor="email"
266
+ className="c3"
527
267
  >
528
268
  <span
529
- className="c8 c9"
269
+ className="c4"
530
270
  color="inherit"
531
- dangerouslySetInnerHTML={
532
- Object {
533
- "__html": "email",
534
- }
535
- }
536
271
  size="s"
537
- />
272
+ >
273
+ <div
274
+ className="c5"
275
+ dangerouslySetInnerHTML={
276
+ Object {
277
+ "__html": "<h1> Top Copy</h1> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>",
278
+ }
279
+ }
280
+ />
281
+ </span>
282
+ </div>
283
+ <div
284
+ className="c6"
285
+ >
538
286
  <div
539
- className="c10"
287
+ className="c7"
540
288
  >
541
-
542
- <input
543
- aria-label="Email address"
544
- className="c11"
545
- id="email"
546
- name="email"
547
- onChange={[Function]}
548
- placeholder="example@youremail.com"
549
- required={false}
550
- type="email"
551
- value=""
289
+ <label
290
+ className="c8 c9"
291
+ htmlFor="first-name"
292
+ >
293
+ <span
294
+ className="c10 c11"
295
+ color="inherit"
296
+ dangerouslySetInnerHTML={
297
+ Object {
298
+ "__html": "First Name",
299
+ }
300
+ }
301
+ size="s"
302
+ />
303
+ <div
304
+ className="c12"
305
+ >
306
+
307
+ <input
308
+ aria-describedby="first-name"
309
+ aria-required={true}
310
+ className="c13"
311
+ id="first-name"
312
+ name="firstName"
313
+ placeholder="Enter your first name"
314
+ required={false}
315
+ type="text"
316
+ />
317
+ </div>
318
+
319
+ </label>
320
+ <label
321
+ className="c8 c9"
322
+ htmlFor="last-name"
323
+ >
324
+ <span
325
+ className="c10 c11"
326
+ color="inherit"
327
+ dangerouslySetInnerHTML={
328
+ Object {
329
+ "__html": "Last Name",
330
+ }
331
+ }
332
+ size="s"
333
+ />
334
+ <div
335
+ className="c12"
336
+ >
337
+
338
+ <input
339
+ aria-describedby="last-name"
340
+ aria-required={true}
341
+ className="c13"
342
+ id="last-name"
343
+ name="lastName"
344
+ placeholder="Enter your last name"
345
+ required={false}
346
+ type="text"
347
+ />
348
+ </div>
349
+
350
+ </label>
351
+ </div>
352
+ <label
353
+ className="c8 c9"
354
+ htmlFor="email"
355
+ >
356
+ <span
357
+ className="c10 c11"
358
+ color="inherit"
359
+ dangerouslySetInnerHTML={
360
+ Object {
361
+ "__html": "Email Address",
362
+ }
363
+ }
364
+ size="s"
552
365
  />
366
+ <div
367
+ className="c12"
368
+ >
369
+
370
+ <input
371
+ aria-describedby="email"
372
+ aria-required={true}
373
+ className="c13"
374
+ id="email"
375
+ name="email"
376
+ placeholder="example@youremail.com"
377
+ required={false}
378
+ type="email"
379
+ />
380
+ </div>
381
+
382
+ </label>
383
+ <div
384
+ className="c14"
385
+ >
386
+ <button
387
+ className="c15 c16"
388
+ data-test="subscribe-button"
389
+ disabled={false}
390
+ type="submit"
391
+ >
392
+ <span
393
+ className="c4"
394
+ color="inherit"
395
+ size="s"
396
+ >
397
+ Subscribe
398
+ </span>
399
+ <div
400
+ className="ButtonWithStates__LoaderContainer-sc-7gb81g-1"
401
+ />
402
+ </button>
553
403
  </div>
554
-
555
- </label>
404
+ </div>
556
405
  <div
557
- className="c12"
406
+ className="c17"
558
407
  >
559
- <input
560
- className="c13"
561
- color="teal"
562
- data-test="subscribe-button"
563
- onClick={[Function]}
564
- type="submit"
565
- value=" Subscribe"
566
- />
408
+ <span
409
+ className="c4"
410
+ color="inherit"
411
+ size="s"
412
+ >
413
+ <div
414
+ className="c5"
415
+ dangerouslySetInnerHTML={
416
+ Object {
417
+ "__html": "check <a href=\\"https://www.comicrelief.com/privacy-notice\\">Privacy policy</a>",
418
+ }
419
+ }
420
+ />
421
+ </span>
567
422
  </div>
568
- </form>
569
- <div
570
- className="c14"
571
- >
572
- <div
573
- className="c4"
574
- dangerouslySetInnerHTML={
575
- Object {
576
- "__html": "check <a href=\\"https://www.comicrelief.com/privacy-notice\\">Privacy policy</a>",
577
- }
578
- }
579
- />
580
423
  </div>
581
- </div>
424
+ </form>
582
425
  `;