@comicrelief/component-library 8.44.3 → 8.44.4

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 (59) hide show
  1. package/dist/components/Atoms/Checkbox/Checkbox.test.js +0 -4
  2. package/dist/components/Atoms/ErrorText/__snapshots__/ErrorText.test.js.snap +0 -2
  3. package/dist/components/Atoms/Input/input.test.js +0 -2
  4. package/dist/components/Atoms/RadioButton/RadioButton.test.js +0 -4
  5. package/dist/components/Atoms/Select/__snapshots__/Select.test.js.snap +0 -1
  6. package/dist/components/Atoms/Text/Text.js +28 -28
  7. package/dist/components/Atoms/Text/Text.md +8 -8
  8. package/dist/components/Atoms/Text/__snapshots__/Text.test.js.snap +0 -9
  9. package/dist/components/Atoms/TextArea/TextArea.test.js +0 -1
  10. package/dist/components/Atoms/TextInputWithDropdown/__snapshots__/TextInputWithDropdown.test.js.snap +0 -7
  11. package/dist/components/Molecules/Accordion/__snapshots__/Accordion.test.js.snap +0 -4
  12. package/dist/components/Molecules/ArticleTeaser/ArticleTeaser.test.js +0 -10
  13. package/dist/components/Molecules/Banner/__snapshots__/Banner.test.js.snap +0 -2
  14. package/dist/components/Molecules/Descriptor/Descriptor.test.js +0 -13
  15. package/dist/components/Molecules/InfoBanner/__snapshots__/InfoBanner.test.js.snap +0 -24
  16. package/dist/components/Molecules/PartnerLink/PartnerLink.test.js +0 -2
  17. package/dist/components/Molecules/Promo/__snapshots__/Promo.test.js.snap +0 -8
  18. package/dist/components/Molecules/SchoolLookup/__snapshots__/SchoolLookup.test.js.snap +0 -1
  19. package/dist/components/Molecules/SearchInput/SearchInput.test.js +0 -1
  20. package/dist/components/Molecules/SearchResult/__snapshots__/SearchResult.test.js.snap +0 -18
  21. package/dist/components/Molecules/SingleMessage/__snapshots__/SingleMessage.test.js.snap +0 -14
  22. package/dist/components/Molecules/SingleMessageDS/__snapshots__/SingleMessageDs.test.js.snap +0 -4
  23. package/dist/components/Molecules/Typeahead/__snapshots__/Typeahead.test.js.snap +0 -1
  24. package/dist/components/Organisms/CookieBanner/CookieBanner.test.js +0 -2
  25. package/dist/components/Organisms/Donate/__snapshots__/Donate.test.js.snap +0 -35
  26. package/dist/components/Organisms/EmailSignUp/__snapshots__/EmailSignUp.test.js.snap +0 -8
  27. package/dist/components/Organisms/Footer/__snapshots__/Footer.test.js.snap +0 -58
  28. package/dist/components/Organisms/Membership/Membership.test.js +0 -12
  29. package/dist/components/Organisms/WYMDCarousel/__snapshots__/WYMDCarousel.test.js.snap +0 -3
  30. package/package.json +1 -1
  31. package/src/components/Atoms/Checkbox/Checkbox.test.js +0 -4
  32. package/src/components/Atoms/ErrorText/__snapshots__/ErrorText.test.js.snap +0 -2
  33. package/src/components/Atoms/Input/input.test.js +0 -2
  34. package/src/components/Atoms/RadioButton/RadioButton.test.js +0 -4
  35. package/src/components/Atoms/Select/__snapshots__/Select.test.js.snap +0 -1
  36. package/src/components/Atoms/Text/Text.js +19 -19
  37. package/src/components/Atoms/Text/Text.md +8 -8
  38. package/src/components/Atoms/Text/__snapshots__/Text.test.js.snap +0 -9
  39. package/src/components/Atoms/TextArea/TextArea.test.js +0 -1
  40. package/src/components/Atoms/TextInputWithDropdown/__snapshots__/TextInputWithDropdown.test.js.snap +0 -7
  41. package/src/components/Molecules/Accordion/__snapshots__/Accordion.test.js.snap +0 -4
  42. package/src/components/Molecules/ArticleTeaser/ArticleTeaser.test.js +0 -10
  43. package/src/components/Molecules/Banner/__snapshots__/Banner.test.js.snap +0 -2
  44. package/src/components/Molecules/Descriptor/Descriptor.test.js +0 -13
  45. package/src/components/Molecules/InfoBanner/__snapshots__/InfoBanner.test.js.snap +0 -24
  46. package/src/components/Molecules/PartnerLink/PartnerLink.test.js +0 -2
  47. package/src/components/Molecules/Promo/__snapshots__/Promo.test.js.snap +0 -8
  48. package/src/components/Molecules/SchoolLookup/__snapshots__/SchoolLookup.test.js.snap +0 -1
  49. package/src/components/Molecules/SearchInput/SearchInput.test.js +0 -1
  50. package/src/components/Molecules/SearchResult/__snapshots__/SearchResult.test.js.snap +0 -18
  51. package/src/components/Molecules/SingleMessage/__snapshots__/SingleMessage.test.js.snap +0 -14
  52. package/src/components/Molecules/SingleMessageDS/__snapshots__/SingleMessageDs.test.js.snap +0 -4
  53. package/src/components/Molecules/Typeahead/__snapshots__/Typeahead.test.js.snap +0 -1
  54. package/src/components/Organisms/CookieBanner/CookieBanner.test.js +0 -2
  55. package/src/components/Organisms/Donate/__snapshots__/Donate.test.js.snap +0 -35
  56. package/src/components/Organisms/EmailSignUp/__snapshots__/EmailSignUp.test.js.snap +0 -8
  57. package/src/components/Organisms/Footer/__snapshots__/Footer.test.js.snap +0 -58
  58. package/src/components/Organisms/Membership/Membership.test.js +0 -12
  59. package/src/components/Organisms/WYMDCarousel/__snapshots__/WYMDCarousel.test.js.snap +0 -3
@@ -147,7 +147,6 @@ it('renders correctly', () => {
147
147
  >
148
148
  <span
149
149
  className="c1 c2"
150
- color="inherit"
151
150
  dangerouslySetInnerHTML={
152
151
  Object {
153
152
  "__html": "Label",
@@ -327,7 +326,6 @@ it('renders with responsive max widths correctly', () => {
327
326
  >
328
327
  <span
329
328
  className="c1 c2"
330
- color="inherit"
331
329
  dangerouslySetInnerHTML={
332
330
  Object {
333
331
  "__html": "Responsive Width Input",
@@ -122,8 +122,6 @@ it('renders correctly', () => {
122
122
  <span />
123
123
  <span
124
124
  className="c2"
125
- color="inherit"
126
- size="s"
127
125
  >
128
126
  Male
129
127
  </span>
@@ -237,8 +235,6 @@ it('renders correctly', () => {
237
235
  <span />
238
236
  <span
239
237
  className="c2"
240
- color="inherit"
241
- size="s"
242
238
  >
243
239
  Female
244
240
  </span>
@@ -111,7 +111,6 @@ exports[`renders correctly 1`] = `
111
111
  >
112
112
  <span
113
113
  className="c1 c2"
114
- color="inherit"
115
114
  dangerouslySetInnerHTML={
116
115
  Object {
117
116
  "__html": "Label",
@@ -19,19 +19,19 @@ export const BaseText = styled.span`
19
19
  // all tags will use the new standardised styles set in fontHelper), but, in order to ensure
20
20
  // things don't break/look bad accidentally, it'll require intentional, in-situ prop removal.
21
21
 
22
- ${({ size }) => (size && `font-size: ${theme.fontSize(size)}`)};
23
- ${({ size }) => (size && 'line-height: normal')};
22
+ ${({ $size }) => ($size && `font-size: ${theme.fontSize($size)}`)};
23
+ ${({ $size }) => ($size && 'line-height: normal')};
24
24
 
25
- ${({ family }) => (family && `font-family: ${theme.fontFamilies(family)}`)};
26
- ${({ weight }) => (weight && `font-weight: ${weight}`)};
27
- ${({ height }) => (height && `line-height: ${height}`)};
28
- ${({ uppercase }) => (uppercase && 'text-transform: uppercase')};
25
+ ${({ $family }) => ($family && `font-family: ${theme.fontFamilies($family)}`)};
26
+ ${({ $weight }) => ($weight && `font-weight: ${$weight}`)};
27
+ ${({ $height }) => ($height && `line-height: ${$height}`)};
28
+ ${({ $uppercase }) => ($uppercase && 'text-transform: uppercase')};
29
29
 
30
- color: ${({ color }) => (color ? theme.color(color) : 'inherit')};
30
+ color: ${({ $color }) => ($color ? theme.color($color) : 'inherit')};
31
31
 
32
- ${({ textAlign }) => textAlign && `text-align: ${textAlign}`};
32
+ ${({ $textAlign }) => $textAlign && `text-align: ${$textAlign}`};
33
33
 
34
- ${({ size }) => (size === 'super' && css`
34
+ ${({ $size }) => ($size === 'super' && css`
35
35
  font-size: ${theme.fontSize('xxl')};
36
36
  line-height: 3rem;
37
37
 
@@ -48,9 +48,9 @@ export const BaseText = styled.span`
48
48
  }
49
49
  `)};
50
50
 
51
- ${({ mobileColor }) => mobileColor && css`
51
+ ${({ $mobileColor }) => $mobileColor && css`
52
52
  @media (max-width: ${breakpointValues2026.L - 1}px) {
53
- color: ${theme.color(mobileColor)};
53
+ color: ${theme.color($mobileColor)};
54
54
  }
55
55
  `};
56
56
 
@@ -82,14 +82,14 @@ const Text = ({
82
82
  <BaseText
83
83
  {...rest}
84
84
  as={tag}
85
- color={color}
86
- size={size}
87
- uppercase={uppercase}
88
- height={height}
89
- weight={weight}
90
- family={family}
91
- mobileColor={mobileColor}
92
- textAlign={textAlign}
85
+ $color={color}
86
+ $size={size}
87
+ $uppercase={uppercase}
88
+ $height={height}
89
+ $weight={weight}
90
+ $family={family}
91
+ $mobileColor={mobileColor}
92
+ $textAlign={textAlign}
93
93
  >
94
94
  {children}
95
95
  </BaseText>
@@ -8,7 +8,7 @@ import fontConfig from '../../../theme/crTheme/fontConfig';
8
8
  // To be phased out: tags to use the prescribed family always
9
9
  family="Anton"
10
10
  >
11
- <span style={{ width: "55px", display: "inline-block" }}>H1 </span>
11
+ <span style={{ width: "55px"}}>H1 </span>
12
12
  </Text>
13
13
  <Text style={{ textTransform: "none" }} tag="span" size="s">
14
14
  <b>family:</b> {fontConfig['h1'].family} -
@@ -25,7 +25,7 @@ import fontConfig from '../../../theme/crTheme/fontConfig';
25
25
  mobileColor="green"
26
26
  family="Anton"
27
27
  >
28
- <span style={{ width: "55px", display: "inline-block" }}>H2 </span>
28
+ <span style={{ width: "55px"}}>H2 </span>
29
29
  </Text>
30
30
  <Text style={{ textTransform: "none" }} tag="span" size="s">
31
31
  <b>family:</b> {fontConfig['h2'].family} -
@@ -41,7 +41,7 @@ import fontConfig from '../../../theme/crTheme/fontConfig';
41
41
  mobileColor="red"
42
42
  family="Montserrat"
43
43
  >
44
- <span style={{ width: "55px", display: "inline-block" }}>H3 </span>
44
+ <span style={{ width: "55px"}}>H3 </span>
45
45
  </Text>
46
46
  <Text style={{ textTransform: "none" }} tag="span" size="s">
47
47
  <b>family:</b> {fontConfig['h3'].family} -
@@ -58,7 +58,7 @@ import fontConfig from '../../../theme/crTheme/fontConfig';
58
58
  weight="normal"
59
59
  // To be phased out: text to always be rendered as typed
60
60
  uppercase>
61
- <span style={{ width: "55px", display: "inline-block" }}>H4 </span>
61
+ <span style={{ width: "55px"}}>H4 </span>
62
62
  </Text>
63
63
  <Text style={{ textTransform: "none" }} tag="span" size="s">
64
64
  <b>family:</b> {fontConfig['span'].family} -
@@ -70,8 +70,8 @@ import fontConfig from '../../../theme/crTheme/fontConfig';
70
70
 
71
71
 
72
72
 
73
- <Text tag="p" size="m" style={{ marginTop: "2rem"}}>
74
- <span style={{ width: "55px", display: "inline-block" }}>Body</span>
73
+ <Text tag="p" size="m" style={{ marginTop: "2rem"}} height="100px" weight="500">
74
+ <span style={{ width: "55px"}}>P (body)</span>
75
75
  </Text>
76
76
  <Text style={{ textTransform: "none" }} tag="span" size="s">
77
77
  <b>family:</b> {fontConfig['p'].family} -
@@ -91,7 +91,7 @@ import fontConfig from '../../../theme/crTheme/fontConfig';
91
91
  uppercase
92
92
  // To be phased-out
93
93
  weight="normal">
94
- <span style={{ width: "55px", display: "inline-block" }}>H5 </span>
94
+ <span style={{ width: "55px"}}>H5 </span>
95
95
  </Text>
96
96
  <Text style={{ textTransform: "none" }} tag="span" size="s">
97
97
  <b>family:</b> {fontConfig['h5'].family} -
@@ -105,7 +105,7 @@ import fontConfig from '../../../theme/crTheme/fontConfig';
105
105
  family="Anton"
106
106
  uppercase
107
107
  weight="normal">
108
- <span style={{ width: "55px", display: "inline-block" }}>H6</span>
108
+ <span style={{ width: "55px"}}>H6</span>
109
109
  </Text>
110
110
  <Text style={{ textTransform: "none" }} tag="span" size="s">
111
111
  <b>family:</b> {fontConfig['h6'].family}
@@ -38,7 +38,6 @@ exports[`renders heavy heading correctly 1`] = `
38
38
 
39
39
  <h3
40
40
  className="c0"
41
- color="inherit"
42
41
  >
43
42
  Heading 3 heavy
44
43
  </h3>
@@ -82,8 +81,6 @@ exports[`renders high heading correctly 1`] = `
82
81
 
83
82
  <h3
84
83
  className="c0"
85
- color="inherit"
86
- height="5"
87
84
  >
88
85
  Heading 3 high
89
86
  </h3>
@@ -128,8 +125,6 @@ exports[`renders large heading correctly 1`] = `
128
125
 
129
126
  <h3
130
127
  className="c0"
131
- color="inherit"
132
- size="l"
133
128
  >
134
129
  Heading 3 large
135
130
  </h3>
@@ -175,8 +170,6 @@ exports[`renders xl paragraph with Anton font correctly 1`] = `
175
170
 
176
171
  <p
177
172
  className="c0"
178
- color="inherit"
179
- size="xl"
180
173
  >
181
174
  My paragraph xl and font Anton
182
175
  </p>
@@ -222,8 +215,6 @@ exports[`renders xl yellow paragraph correctly 1`] = `
222
215
 
223
216
  <p
224
217
  className="c0"
225
- color="yellow"
226
- size="xl"
227
218
  >
228
219
  My paragraph xl and yellow
229
220
  </p>
@@ -132,7 +132,6 @@ it('renders correctly', () => {
132
132
  >
133
133
  <span
134
134
  className="c1 c2"
135
- color="inherit"
136
135
  dangerouslySetInnerHTML={
137
136
  Object {
138
137
  "__html": "Label",
@@ -140,7 +140,6 @@ exports[`renders correctly with no value and no options 1`] = `
140
140
  >
141
141
  <span
142
142
  className="c2 c3"
143
- color="inherit"
144
143
  dangerouslySetInnerHTML={
145
144
  Object {
146
145
  "__html": "Search for bikes",
@@ -314,7 +313,6 @@ exports[`renders correctly with value and no options 1`] = `
314
313
  >
315
314
  <span
316
315
  className="c2 c3"
317
- color="inherit"
318
316
  dangerouslySetInnerHTML={
319
317
  Object {
320
318
  "__html": "Search for bikes",
@@ -527,7 +525,6 @@ exports[`renders correctly with value and options 1`] = `
527
525
  >
528
526
  <span
529
527
  className="c2 c3"
530
- color="inherit"
531
528
  dangerouslySetInnerHTML={
532
529
  Object {
533
530
  "__html": "Search for bikes",
@@ -577,7 +574,6 @@ exports[`renders correctly with value and options 1`] = `
577
574
  >
578
575
  <span
579
576
  className="c2"
580
- color="inherit"
581
577
  >
582
578
  Canyon
583
579
  </span>
@@ -593,7 +589,6 @@ exports[`renders correctly with value and options 1`] = `
593
589
  >
594
590
  <span
595
591
  className="c2"
596
- color="inherit"
597
592
  >
598
593
  Cannondale
599
594
  </span>
@@ -609,7 +604,6 @@ exports[`renders correctly with value and options 1`] = `
609
604
  >
610
605
  <span
611
606
  className="c2"
612
- color="inherit"
613
607
  >
614
608
  Condor
615
609
  </span>
@@ -625,7 +619,6 @@ exports[`renders correctly with value and options 1`] = `
625
619
  >
626
620
  <span
627
621
  className="c2"
628
- color="inherit"
629
622
  >
630
623
  Cube
631
624
  </span>
@@ -175,8 +175,6 @@ exports[`renders correctly 1`] = `
175
175
  >
176
176
  <h2
177
177
  className="c2"
178
- color="inherit"
179
- size="l"
180
178
  >
181
179
  I am the title
182
180
  </h2>
@@ -203,8 +201,6 @@ exports[`renders correctly 1`] = `
203
201
  >
204
202
  <p
205
203
  className="c6"
206
- color="inherit"
207
- size="s"
208
204
  >
209
205
  Name, surname, email and billing address We need these to process your payment, create a receipt and send it to you. Establishment information We use this information to understand which institutions (e.g. schools, companies) raise money for us. Your details will be kept safe and never shared with other organisations; see our Privacy Policy for more information
210
206
  </p>
@@ -294,16 +294,11 @@ it('renders article teaser correctly', () => {
294
294
  >
295
295
  <span
296
296
  className="c8 c9"
297
- color="inherit"
298
- size="xs"
299
297
  >
300
298
  01 July 2019
301
299
  </span>
302
300
  <h3
303
301
  className="c10 c11"
304
- color="inherit"
305
- height="2rem"
306
- size="xl"
307
302
  >
308
303
  News article
309
304
  </h3>
@@ -576,16 +571,11 @@ it('renders press realese correctly', () => {
576
571
  >
577
572
  <span
578
573
  className="c8 c9"
579
- color="inherit"
580
- size="xs"
581
574
  >
582
575
  01 July 2019
583
576
  </span>
584
577
  <h3
585
578
  className="c10 c11"
586
- color="inherit"
587
- height="2rem"
588
- size="xl"
589
579
  >
590
580
  Press Release
591
581
  </h3>
@@ -69,8 +69,6 @@ exports[`renders correctly 1`] = `
69
69
  >
70
70
  <p
71
71
  className="c2"
72
- color="white"
73
- size="s"
74
72
  >
75
73
  Mental health issues affect 1 in 4 of us in the UK. Join now and with your help we can provide vital support for people like Jordan. You know what to do.
76
74
  </p>
@@ -249,8 +249,6 @@ it('renders article teaser correctly', () => {
249
249
  >
250
250
  <span
251
251
  className="c3 c4"
252
- color="grey_dark"
253
- size="s"
254
252
  >
255
253
  15/06/2020
256
254
  </span>
@@ -276,9 +274,6 @@ it('renders article teaser correctly', () => {
276
274
  </div>
277
275
  <h3
278
276
  className="c7 c8"
279
- color="inherit"
280
- height="2rem"
281
- size="xl"
282
277
  >
283
278
  Title
284
279
  </h3>
@@ -287,29 +282,21 @@ it('renders article teaser correctly', () => {
287
282
  >
288
283
  <span
289
284
  className="c10 c11"
290
- color="grey_dark"
291
- size="xs"
292
285
  >
293
286
  tag1
294
287
  </span>
295
288
  <span
296
289
  className="c10 c11"
297
- color="grey_dark"
298
- size="xs"
299
290
  >
300
291
  tag2
301
292
  </span>
302
293
  <span
303
294
  className="c10 c11"
304
- color="grey_dark"
305
- size="xs"
306
295
  >
307
296
  tag3
308
297
  </span>
309
298
  <span
310
299
  className="c10 c11"
311
- color="grey_dark"
312
- size="xs"
313
300
  >
314
301
  tag4
315
302
  </span>
@@ -140,15 +140,11 @@ exports[`renders correctly 1`] = `
140
140
  >
141
141
  <h3
142
142
  className="c2"
143
- color="inherit"
144
- size="md"
145
143
  >
146
144
  Project Name
147
145
  </h3>
148
146
  <p
149
147
  className="c3"
150
- color="inherit"
151
- size="s"
152
148
  >
153
149
  Hello There
154
150
  </p>
@@ -158,15 +154,11 @@ exports[`renders correctly 1`] = `
158
154
  >
159
155
  <h3
160
156
  className="c2"
161
- color="inherit"
162
- size="md"
163
157
  >
164
158
  End Date
165
159
  </h3>
166
160
  <p
167
161
  className="c3"
168
- color="inherit"
169
- size="s"
170
162
  >
171
163
  1st June 2020
172
164
  </p>
@@ -176,15 +168,11 @@ exports[`renders correctly 1`] = `
176
168
  >
177
169
  <h3
178
170
  className="c2"
179
- color="inherit"
180
- size="md"
181
171
  >
182
172
  Funding theme
183
173
  </h3>
184
174
  <p
185
175
  className="c3"
186
- color="inherit"
187
- size="s"
188
176
  >
189
177
  <a
190
178
  className="c4"
@@ -202,15 +190,11 @@ exports[`renders correctly 1`] = `
202
190
  >
203
191
  <h3
204
192
  className="c2"
205
- color="inherit"
206
- size="md"
207
193
  >
208
194
  Amount Awarded
209
195
  </h3>
210
196
  <p
211
197
  className="c3"
212
- color="inherit"
213
- size="s"
214
198
  >
215
199
  £2,000,000
216
200
  </p>
@@ -220,15 +204,11 @@ exports[`renders correctly 1`] = `
220
204
  >
221
205
  <h3
222
206
  className="c2"
223
- color="inherit"
224
- size="md"
225
207
  >
226
208
  Start Date
227
209
  </h3>
228
210
  <p
229
211
  className="c3"
230
- color="inherit"
231
- size="s"
232
212
  >
233
213
  1st June 2010
234
214
  </p>
@@ -238,15 +218,11 @@ exports[`renders correctly 1`] = `
238
218
  >
239
219
  <h3
240
220
  className="c2"
241
- color="inherit"
242
- size="md"
243
221
  >
244
222
  Beneficiary Country
245
223
  </h3>
246
224
  <p
247
225
  className="c3"
248
- color="inherit"
249
- size="s"
250
226
  >
251
227
  Uk
252
228
  </p>
@@ -175,8 +175,6 @@ it('renders correctly', () => {
175
175
  </div>
176
176
  <span
177
177
  className="c4 c5 c6"
178
- color="white"
179
- size="xxs"
180
178
  >
181
179
  Find out more
182
180
  </span>
@@ -301,15 +301,11 @@ exports[`renders Promo correctly 1`] = `
301
301
  >
302
302
  <h1
303
303
  className="c7"
304
- color="white"
305
- size="super"
306
304
  >
307
305
  Curabitur pretium tincidunt lacus
308
306
  </h1>
309
307
  <p
310
308
  className="c8"
311
- color="white"
312
- size="s"
313
309
  >
314
310
  Curabitur pretium tincidunt lacus. Nulla gravida orci a odio. Nullam varius, turpis et commodo, est eros bibendum elit, nec luctus magna sollicitudin.
315
311
  </p>
@@ -642,15 +638,11 @@ exports[`renders Promo correctly end position 1`] = `
642
638
  >
643
639
  <h1
644
640
  className="c7"
645
- color="white"
646
- size="super"
647
641
  >
648
642
  Curabitur pretium tincidunt lacus
649
643
  </h1>
650
644
  <p
651
645
  className="c8"
652
- color="white"
653
- size="s"
654
646
  >
655
647
  Curabitur pretium tincidunt lacus. Nulla gravida orci a odio. Nullam varius, turpis et commodo, est eros bibendum elit, nec luctus magna sollicitudin.
656
648
  </p>
@@ -140,7 +140,6 @@ exports[`renders correctly 1`] = `
140
140
  >
141
141
  <span
142
142
  className="c2 c3"
143
- color="inherit"
144
143
  dangerouslySetInnerHTML={
145
144
  Object {
146
145
  "__html": "Enter the name or postcode of your school or nursery",
@@ -190,7 +190,6 @@ it('renders correctly', () => {
190
190
  >
191
191
  <span
192
192
  className="c6 c7"
193
- color="inherit"
194
193
  dangerouslySetInnerHTML={
195
194
  Object {
196
195
  "__html": "Search",
@@ -206,15 +206,11 @@ exports[`renders correctly in minimalist form 1`] = `
206
206
  >
207
207
  <span
208
208
  className="c7"
209
- color="inherit"
210
- size="xs"
211
209
  >
212
210
 
213
211
  </span>
214
212
  <h3
215
213
  className="c8 c9"
216
- color="inherit"
217
- size="xl"
218
214
  >
219
215
  News article
220
216
  </h3>
@@ -466,22 +462,16 @@ exports[`renders correctly with copy 1`] = `
466
462
  >
467
463
  <span
468
464
  className="c7"
469
- color="inherit"
470
- size="xs"
471
465
  >
472
466
 
473
467
  </span>
474
468
  <h3
475
469
  className="c8 c9"
476
- color="inherit"
477
- size="xl"
478
470
  >
479
471
  News article
480
472
  </h3>
481
473
  <p
482
474
  className="c10"
483
- color="inherit"
484
- size="m"
485
475
  >
486
476
  News article copy
487
477
  </p>
@@ -696,15 +686,11 @@ exports[`renders correctly with date 1`] = `
696
686
  >
697
687
  <span
698
688
  className="c7"
699
- color="inherit"
700
- size="xs"
701
689
  >
702
690
  01 July 2019
703
691
  </span>
704
692
  <h3
705
693
  className="c8 c9"
706
- color="inherit"
707
- size="xl"
708
694
  >
709
695
  News article
710
696
  </h3>
@@ -920,15 +906,11 @@ exports[`renders correctly with date and type 1`] = `
920
906
  >
921
907
  <span
922
908
  className="c7"
923
- color="inherit"
924
- size="xs"
925
909
  >
926
910
  article | 01 July 2019
927
911
  </span>
928
912
  <h3
929
913
  className="c8 c9"
930
- color="inherit"
931
- size="xl"
932
914
  >
933
915
  News article
934
916
  </h3>
@@ -190,8 +190,6 @@ exports[`renders Single Message with 100% vertical height image correctly 1`] =
190
190
  >
191
191
  <p
192
192
  className="c6"
193
- color="white"
194
- size="xxl"
195
193
  >
196
194
  “The creativity that goes into helping people have a better life is extraordinary.”
197
195
  </p>
@@ -469,15 +467,11 @@ exports[`renders Single Message with Image correctly 1`] = `
469
467
  >
470
468
  <h1
471
469
  className="c6"
472
- color="white"
473
- size="xxl"
474
470
  >
475
471
  title
476
472
  </h1>
477
473
  <p
478
474
  className="c7"
479
- color="white"
480
- size="s"
481
475
  >
482
476
  description
483
477
  </p>
@@ -733,8 +727,6 @@ exports[`renders Single Message with double image correctly 1`] = `
733
727
  >
734
728
  <p
735
729
  className="c6"
736
- color="black"
737
- size="xxl"
738
730
  >
739
731
  “The creativity that goes into helping people have a better life is extraordinary.”
740
732
  </p>
@@ -1035,15 +1027,11 @@ exports[`renders Single Message with full width correctly 1`] = `
1035
1027
  >
1036
1028
  <h1
1037
1029
  className="c6"
1038
- color="white"
1039
- size="xxl"
1040
1030
  >
1041
1031
  title
1042
1032
  </h1>
1043
1033
  <p
1044
1034
  className="c7"
1045
- color="white"
1046
- size="s"
1047
1035
  >
1048
1036
  description
1049
1037
  </p>
@@ -1343,8 +1331,6 @@ exports[`renders Single Message with no Image correctly 1`] = `
1343
1331
  >
1344
1332
  <p
1345
1333
  className="c2"
1346
- color="white"
1347
- size="xxl"
1348
1334
  >
1349
1335
  “The creativity that goes into helping people have a better life is extraordinary.”
1350
1336
  </p>