@comicrelief/component-library 8.44.2 → 8.44.3

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 (67) hide show
  1. package/dist/components/Atoms/Checkbox/Checkbox.test.js +10 -0
  2. package/dist/components/Atoms/ErrorText/__snapshots__/ErrorText.test.js.snap +5 -0
  3. package/dist/components/Atoms/Input/input.test.js +10 -0
  4. package/dist/components/Atoms/RadioButton/RadioButton.test.js +10 -0
  5. package/dist/components/Atoms/Select/__snapshots__/Select.test.js.snap +5 -0
  6. package/dist/components/Atoms/Text/Text.js +1 -1
  7. package/dist/components/Atoms/Text/Text.md +69 -68
  8. package/dist/components/Atoms/Text/__snapshots__/Text.test.js.snap +25 -0
  9. package/dist/components/Atoms/TextArea/TextArea.test.js +5 -0
  10. package/dist/components/Atoms/TextInputWithDropdown/__snapshots__/TextInputWithDropdown.test.js.snap +15 -0
  11. package/dist/components/Molecules/Accordion/__snapshots__/Accordion.test.js.snap +10 -0
  12. package/dist/components/Molecules/ArticleTeaser/ArticleTeaser.test.js +20 -0
  13. package/dist/components/Molecules/Banner/__snapshots__/Banner.test.js.snap +5 -0
  14. package/dist/components/Molecules/Descriptor/Descriptor.test.js +15 -0
  15. package/dist/components/Molecules/InfoBanner/__snapshots__/InfoBanner.test.js.snap +10 -0
  16. package/dist/components/Molecules/PartnerLink/PartnerLink.test.js +5 -0
  17. package/dist/components/Molecules/Promo/Promo.test.js +4 -2
  18. package/dist/components/Molecules/Promo/__snapshots__/Promo.test.js.snap +26 -0
  19. package/dist/components/Molecules/SchoolLookup/__snapshots__/SchoolLookup.test.js.snap +5 -0
  20. package/dist/components/Molecules/SearchInput/SearchInput.test.js +5 -0
  21. package/dist/components/Molecules/SearchResult/__snapshots__/SearchResult.test.js.snap +45 -0
  22. package/dist/components/Molecules/SingleMessage/SingleMessage.test.js +4 -2
  23. package/dist/components/Molecules/SingleMessage/__snapshots__/SingleMessage.test.js.snap +41 -0
  24. package/dist/components/Molecules/SingleMessageDS/SingleMessageDs.test.js +2 -1
  25. package/dist/components/Molecules/SingleMessageDS/__snapshots__/SingleMessageDs.test.js.snap +16 -0
  26. package/dist/components/Molecules/Typeahead/__snapshots__/Typeahead.test.js.snap +5 -0
  27. package/dist/components/Organisms/CookieBanner/CookieBanner.test.js +5 -0
  28. package/dist/components/Organisms/Donate/__snapshots__/Donate.test.js.snap +90 -0
  29. package/dist/components/Organisms/EmailSignUp/__snapshots__/EmailSignUp.test.js.snap +10 -0
  30. package/dist/components/Organisms/Footer/__snapshots__/Footer.test.js.snap +20 -0
  31. package/dist/components/Organisms/Header2025/HeaderNav2025/HeaderNavItem2025.js +3 -1
  32. package/dist/components/Organisms/Membership/Membership.test.js +25 -0
  33. package/dist/components/Organisms/WYMDCarousel/__snapshots__/WYMDCarousel.test.js.snap +15 -0
  34. package/package.json +1 -1
  35. package/src/components/Atoms/Checkbox/Checkbox.test.js +10 -0
  36. package/src/components/Atoms/ErrorText/__snapshots__/ErrorText.test.js.snap +5 -0
  37. package/src/components/Atoms/Input/input.test.js +10 -0
  38. package/src/components/Atoms/RadioButton/RadioButton.test.js +10 -0
  39. package/src/components/Atoms/Select/__snapshots__/Select.test.js.snap +5 -0
  40. package/src/components/Atoms/Text/Text.js +6 -0
  41. package/src/components/Atoms/Text/Text.md +69 -68
  42. package/src/components/Atoms/Text/__snapshots__/Text.test.js.snap +25 -0
  43. package/src/components/Atoms/TextArea/TextArea.test.js +5 -0
  44. package/src/components/Atoms/TextInputWithDropdown/__snapshots__/TextInputWithDropdown.test.js.snap +15 -0
  45. package/src/components/Molecules/Accordion/__snapshots__/Accordion.test.js.snap +10 -0
  46. package/src/components/Molecules/ArticleTeaser/ArticleTeaser.test.js +20 -0
  47. package/src/components/Molecules/Banner/__snapshots__/Banner.test.js.snap +5 -0
  48. package/src/components/Molecules/Descriptor/Descriptor.test.js +15 -0
  49. package/src/components/Molecules/InfoBanner/__snapshots__/InfoBanner.test.js.snap +10 -0
  50. package/src/components/Molecules/PartnerLink/PartnerLink.test.js +5 -0
  51. package/src/components/Molecules/Promo/Promo.test.js +2 -2
  52. package/src/components/Molecules/Promo/__snapshots__/Promo.test.js.snap +26 -0
  53. package/src/components/Molecules/SchoolLookup/__snapshots__/SchoolLookup.test.js.snap +5 -0
  54. package/src/components/Molecules/SearchInput/SearchInput.test.js +5 -0
  55. package/src/components/Molecules/SearchResult/__snapshots__/SearchResult.test.js.snap +45 -0
  56. package/src/components/Molecules/SingleMessage/SingleMessage.test.js +2 -2
  57. package/src/components/Molecules/SingleMessage/__snapshots__/SingleMessage.test.js.snap +41 -0
  58. package/src/components/Molecules/SingleMessageDS/SingleMessageDs.test.js +1 -1
  59. package/src/components/Molecules/SingleMessageDS/__snapshots__/SingleMessageDs.test.js.snap +16 -0
  60. package/src/components/Molecules/Typeahead/__snapshots__/Typeahead.test.js.snap +5 -0
  61. package/src/components/Organisms/CookieBanner/CookieBanner.test.js +5 -0
  62. package/src/components/Organisms/Donate/__snapshots__/Donate.test.js.snap +90 -0
  63. package/src/components/Organisms/EmailSignUp/__snapshots__/EmailSignUp.test.js.snap +10 -0
  64. package/src/components/Organisms/Footer/__snapshots__/Footer.test.js.snap +20 -0
  65. package/src/components/Organisms/Header2025/HeaderNav2025/HeaderNavItem2025.js +1 -1
  66. package/src/components/Organisms/Membership/Membership.test.js +25 -0
  67. package/src/components/Organisms/WYMDCarousel/__snapshots__/WYMDCarousel.test.js.snap +15 -0
@@ -31,6 +31,11 @@ it('renders correctly', () => {
31
31
  font-weight: bold;
32
32
  }
33
33
 
34
+ .c2 span {
35
+ font-size: inherit;
36
+ line-height: inherit;
37
+ }
38
+
34
39
  .c0 {
35
40
  display: -webkit-box;
36
41
  display: -webkit-flex;
@@ -132,6 +137,11 @@ it('renders correctly', () => {
132
137
  font-weight: bold;
133
138
  }
134
139
 
140
+ .c2 span {
141
+ font-size: inherit;
142
+ line-height: inherit;
143
+ }
144
+
135
145
  .c0 {
136
146
  display: -webkit-box;
137
147
  display: -webkit-flex;
@@ -19,6 +19,11 @@ exports[`renders correctly 1`] = `
19
19
  color: #E52630;
20
20
  }
21
21
 
22
+ .c0 span {
23
+ font-size: inherit;
24
+ line-height: inherit;
25
+ }
26
+
22
27
  .c1 {
23
28
  display: inline-block;
24
29
  width: 100%;
@@ -28,6 +28,11 @@ it('renders correctly', () => {
28
28
  line-height: 1.25rem;
29
29
  }
30
30
 
31
+ .c1 span {
32
+ font-size: inherit;
33
+ line-height: inherit;
34
+ }
35
+
31
36
  .c0 {
32
37
  width: 100%;
33
38
  position: relative;
@@ -199,6 +204,11 @@ it('renders with responsive max widths correctly', () => {
199
204
  line-height: 1.25rem;
200
205
  }
201
206
 
207
+ .c1 span {
208
+ font-size: inherit;
209
+ line-height: inherit;
210
+ }
211
+
202
212
  .c0 {
203
213
  width: 100%;
204
214
  position: relative;
@@ -31,6 +31,11 @@ it('renders correctly', () => {
31
31
  font-weight: bold;
32
32
  }
33
33
 
34
+ .c2 span {
35
+ font-size: inherit;
36
+ line-height: inherit;
37
+ }
38
+
34
39
  .c1 {
35
40
  background-color: #FFFFFF;
36
41
  z-index: 1;
@@ -141,6 +146,11 @@ it('renders correctly', () => {
141
146
  font-weight: bold;
142
147
  }
143
148
 
149
+ .c2 span {
150
+ font-size: inherit;
151
+ line-height: inherit;
152
+ }
153
+
144
154
  .c1 {
145
155
  background-color: #FFFFFF;
146
156
  z-index: 1;
@@ -13,6 +13,11 @@ exports[`renders correctly 1`] = `
13
13
  line-height: 1.25rem;
14
14
  }
15
15
 
16
+ .c1 span {
17
+ font-size: inherit;
18
+ line-height: inherit;
19
+ }
20
+
16
21
  .c0 {
17
22
  width: 100%;
18
23
  position: relative;
@@ -53,6 +53,12 @@ export const BaseText = styled.span`
53
53
  color: ${theme.color(mobileColor)};
54
54
  }
55
55
  `};
56
+
57
+ // Ensure any *nested* content doesn't
58
+ span {
59
+ font-size: inherit;
60
+ line-height: inherit;
61
+ }
56
62
  }
57
63
  `)};
58
64
  `;
@@ -8,32 +8,32 @@ 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
- <b style={{ width: "55px", display: "inline-block" }}>H1 </b>
12
- <Text style={{ textTransform: "none" }} tag="span" size="s">
13
- <b>family:</b> {fontConfig['h1'].family} -
14
- <b>mobileColor:</b> blue
15
- <br/>
16
- <b>font size (S / M / L breakpoints):</b> {fontConfig['h1'].small.fontSize} / {fontConfig['h1'].medium.fontSize} / {fontConfig['h1'].large.fontSize}
17
- <br/>
18
- <b>line height (S / M / L breakpoints):</b> {fontConfig['h1'].small.lineHeight} / {fontConfig['h1'].medium.lineHeight} / {fontConfig['h1'].large.lineHeight}
19
-
20
- </Text>
11
+ <span style={{ width: "55px", display: "inline-block" }}>H1 </span>
21
12
  </Text>
22
-
13
+ <Text style={{ textTransform: "none" }} tag="span" size="s">
14
+ <b>family:</b> {fontConfig['h1'].family} -
15
+ <b>mobileColor:</b> blue
16
+ <br/>
17
+ <b>font size (S / M / L breakpoints):</b> {fontConfig['h1'].small.fontSize} / {fontConfig['h1'].medium.fontSize} / {fontConfig['h1'].large.fontSize}
18
+ <br/>
19
+ <b>line height (S / M / L breakpoints):</b> {fontConfig['h1'].small.lineHeight} / {fontConfig['h1'].medium.lineHeight} / {fontConfig['h1'].large.lineHeight}
20
+ </Text>
21
+
22
+
23
23
  <Text
24
24
  tag="h2"
25
25
  mobileColor="green"
26
26
  family="Anton"
27
27
  >
28
- <b style={{ width: "55px", display: "inline-block" }}>H2 </b>
29
- <Text style={{ textTransform: "none" }} tag="span" size="s">
30
- <b>family:</b> {fontConfig['h2'].family} -
31
- <b>mobileColor:</b> green
32
- <br/>
33
- <b>font size (S / M / L breakpoints):</b> {fontConfig['h2'].small.fontSize} / {fontConfig['h2'].medium.fontSize} / {fontConfig['h2'].large.fontSize}
34
- <br/>
35
- <b>line height (S / M / L breakpoints):</b> {fontConfig['h2'].small.lineHeight} / {fontConfig['h2'].medium.lineHeight} / {fontConfig['h2'].large.lineHeight}
36
- </Text>
28
+ <span style={{ width: "55px", display: "inline-block" }}>H2 </span>
29
+ </Text>
30
+ <Text style={{ textTransform: "none" }} tag="span" size="s">
31
+ <b>family:</b> {fontConfig['h2'].family} -
32
+ <b>mobileColor:</b> green
33
+ <br/>
34
+ <b>font size (S / M / L breakpoints):</b> {fontConfig['h2'].small.fontSize} / {fontConfig['h2'].medium.fontSize} / {fontConfig['h2'].large.fontSize}
35
+ <br/>
36
+ <b>line height (S / M / L breakpoints):</b> {fontConfig['h2'].small.lineHeight} / {fontConfig['h2'].medium.lineHeight} / {fontConfig['h2'].large.lineHeight}
37
37
  </Text>
38
38
 
39
39
  <Text
@@ -41,15 +41,15 @@ import fontConfig from '../../../theme/crTheme/fontConfig';
41
41
  mobileColor="red"
42
42
  family="Montserrat"
43
43
  >
44
- <b style={{ width: "55px", display: "inline-block" }}>H3 </b>
45
- <Text style={{ textTransform: "none" }} tag="span">
46
- <b>family:</b> {fontConfig['h3'].family} -
47
- <b>mobileColor:</b> red
48
- <br/>
49
- <b>font size (S / M / L breakpoints):</b> {fontConfig['h3'].small.fontSize} / {fontConfig['h3'].medium.fontSize} / {fontConfig['h3'].large.fontSize}
50
- <br/>
51
- <b>line height (S / M / L breakpoints):</b> {fontConfig['h3'].small.lineHeight} / {fontConfig['h3'].medium.lineHeight} / {fontConfig['h3'].large.lineHeight}
52
- </Text>
44
+ <span style={{ width: "55px", display: "inline-block" }}>H3 </span>
45
+ </Text>
46
+ <Text style={{ textTransform: "none" }} tag="span" size="s">
47
+ <b>family:</b> {fontConfig['h3'].family} -
48
+ <b>mobileColor:</b> red
49
+ <br/>
50
+ <b>font size (S / M / L breakpoints):</b> {fontConfig['h3'].small.fontSize} / {fontConfig['h3'].medium.fontSize} / {fontConfig['h3'].large.fontSize}
51
+ <br/>
52
+ <b>line height (S / M / L breakpoints):</b> {fontConfig['h3'].small.lineHeight} / {fontConfig['h3'].medium.lineHeight} / {fontConfig['h3'].large.lineHeight}
53
53
  </Text>
54
54
 
55
55
  <Text
@@ -58,61 +58,62 @@ 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
- <b style={{ width: "55px", display: "inline-block" }}>H4 </b>
62
- <Text style={{ textTransform: "none" }} tag="span">
63
- <b>family:</b> {fontConfig['span'].family} -
64
- <br/>
65
- <b>font size (S / M / L breakpoints):</b> {fontConfig['h4'].small.fontSize} / {fontConfig['h4'].medium.fontSize} / {fontConfig['h4'].large.fontSize}
66
- <br/>
67
- <b>line height (S / M / L breakpoints):</b> {fontConfig['h4'].small.lineHeight} / {fontConfig['h4'].medium.lineHeight} / {fontConfig['h4'].large.lineHeight}
68
- </Text>
61
+ <span style={{ width: "55px", display: "inline-block" }}>H4 </span>
62
+ </Text>
63
+ <Text style={{ textTransform: "none" }} tag="span" size="s">
64
+ <b>family:</b> {fontConfig['span'].family} -
65
+ <br/>
66
+ <b>font size (S / M / L breakpoints):</b> {fontConfig['h4'].small.fontSize} / {fontConfig['h4'].medium.fontSize} / {fontConfig['h4'].large.fontSize}
67
+ <br/>
68
+ <b>line height (S / M / L breakpoints):</b> {fontConfig['h4'].small.lineHeight} / {fontConfig['h4'].medium.lineHeight} / {fontConfig['h4'].large.lineHeight}
69
69
  </Text>
70
70
 
71
- <Text tag="p" size="m">
71
+
72
+
73
+ <Text tag="p" size="m" style={{ marginTop: "2rem"}}>
72
74
  <span style={{ width: "55px", display: "inline-block" }}>Body</span>
73
- <Text style={{ textTransform: "none" }} tag="span">
74
- <b>family:</b> {fontConfig['p'].family} -
75
- <br/>
76
- <b>font size (S / M / L breakpoints):</b> {fontConfig['p'].small.fontSize} / {fontConfig['p'].medium.fontSize} / {fontConfig['p'].large.fontSize}
77
- <br/>
78
- <b>line height (S / M / L breakpoints):</b> {fontConfig['p'].small.lineHeight} / {fontConfig['p'].medium.lineHeight} / {fontConfig['p'].large.lineHeight}
79
- </Text>
80
- </Text>
75
+ </Text>
76
+ <Text style={{ textTransform: "none" }} tag="span" size="s">
77
+ <b>family:</b> {fontConfig['p'].family} -
78
+ <br/>
79
+ <b>font size (S / M / L breakpoints):</b> {fontConfig['p'].small.fontSize} / {fontConfig['p'].medium.fontSize} / {fontConfig['p'].large.fontSize}
80
+ <br/>
81
+ <b>line height (S / M / L breakpoints):</b> {fontConfig['p'].small.lineHeight} / {fontConfig['p'].medium.lineHeight} / {fontConfig['p'].large.lineHeight}
82
+ </Text>
81
83
 
82
- <Text tag="p" style={{ marginTop: "55px", fontStyle: "italic"}}>
83
- Tags to be phased out:
84
- </Text>
84
+ <Text tag="p" style={{ marginTop: "55px", fontStyle: "italic"}}>
85
+ Tags to be phased out:
86
+ </Text>
85
87
 
86
- <Text
88
+ <Text
87
89
  tag="h5"
88
90
  family="Anton"
89
91
  uppercase
90
92
  // To be phased-out
91
93
  weight="normal">
92
- <b style={{ width: "55px", display: "inline-block" }}>H5 </b>
93
- <Text style={{ textTransform: "none" }} tag="span">
94
- <b>family:</b> {fontConfig['h5'].family} -
95
- <br/>
96
- <b>font size (S / M / L breakpoints):</b> {fontConfig['h5'].small.fontSize} / {fontConfig['h5'].medium.fontSize} / {fontConfig['h5'].large.fontSize}
97
- <br/>
98
- <b>line height (S / M / L breakpoints):</b> {fontConfig['h5'].small.lineHeight} / {fontConfig['h5'].medium.lineHeight} / {fontConfig['h5'].large.lineHeight}
99
- </Text>
94
+ <span style={{ width: "55px", display: "inline-block" }}>H5 </span>
95
+ </Text>
96
+ <Text style={{ textTransform: "none" }} tag="span" size="s">
97
+ <b>family:</b> {fontConfig['h5'].family} -
98
+ <br/>
99
+ <b>font size (S / M / L breakpoints):</b> {fontConfig['h5'].small.fontSize} / {fontConfig['h5'].medium.fontSize} / {fontConfig['h5'].large.fontSize}
100
+ <br/>
101
+ <b>line height (S / M / L breakpoints):</b> {fontConfig['h5'].small.lineHeight} / {fontConfig['h5'].medium.lineHeight} / {fontConfig['h5'].large.lineHeight}
100
102
  </Text>
101
-
102
103
 
103
104
  <Text tag="h6"
104
105
  family="Anton"
105
106
  uppercase
106
107
  weight="normal">
107
- <b style={{ width: "55px", display: "inline-block" }}>H6</b>
108
- <Text style={{ textTransform: "none" }} tag="span">
109
- <b>family:</b> {fontConfig['h6'].family}
110
- <br/>
111
- <b>font size (S / M / L breakpoints):</b> {fontConfig['h6'].small.fontSize} / {fontConfig['h6'].medium.fontSize} / {fontConfig['h6'].large.fontSize}
112
- <br/>
113
- <b>line height (S / M / L breakpoints):</b> {fontConfig['h6'].small.lineHeight} / {fontConfig['h6'].medium.lineHeight} / {fontConfig['h6'].large.lineHeight}
114
- </Text>
108
+ <span style={{ width: "55px", display: "inline-block" }}>H6</span>
109
+ </Text>
110
+ <Text style={{ textTransform: "none" }} tag="span" size="s">
111
+ <b>family:</b> {fontConfig['h6'].family}
112
+ <br/>
113
+ <b>font size (S / M / L breakpoints):</b> {fontConfig['h6'].small.fontSize} / {fontConfig['h6'].medium.fontSize} / {fontConfig['h6'].large.fontSize}
114
+ <br/>
115
+ <b>line height (S / M / L breakpoints):</b> {fontConfig['h6'].small.lineHeight} / {fontConfig['h6'].medium.lineHeight} / {fontConfig['h6'].large.lineHeight}
115
116
  </Text>
116
-
117
+
117
118
  </div>
118
119
  ```
@@ -17,6 +17,11 @@ exports[`renders heavy heading correctly 1`] = `
17
17
  font-weight: 1000;
18
18
  }
19
19
 
20
+ .c0 span {
21
+ font-size: inherit;
22
+ line-height: inherit;
23
+ }
24
+
20
25
  @media (min-width:740px) {
21
26
  .c0 {
22
27
  font-size: 1.25rem;
@@ -56,6 +61,11 @@ exports[`renders high heading correctly 1`] = `
56
61
  line-height: 5;
57
62
  }
58
63
 
64
+ .c0 span {
65
+ font-size: inherit;
66
+ line-height: inherit;
67
+ }
68
+
59
69
  @media (min-width:740px) {
60
70
  .c0 {
61
71
  font-size: 1.25rem;
@@ -97,6 +107,11 @@ exports[`renders large heading correctly 1`] = `
97
107
  line-height: normal;
98
108
  }
99
109
 
110
+ .c0 span {
111
+ font-size: inherit;
112
+ line-height: inherit;
113
+ }
114
+
100
115
  @media (min-width:740px) {
101
116
  .c0 {
102
117
  font-size: 1.25rem;
@@ -139,6 +154,11 @@ exports[`renders xl paragraph with Anton font correctly 1`] = `
139
154
  font-family: 'Anton',Impact,sans-serif;
140
155
  }
141
156
 
157
+ .c0 span {
158
+ font-size: inherit;
159
+ line-height: inherit;
160
+ }
161
+
142
162
  @media (min-width:740px) {
143
163
  .c0 {
144
164
  font-size: 1rem;
@@ -181,6 +201,11 @@ exports[`renders xl yellow paragraph correctly 1`] = `
181
201
  color: #FFE400;
182
202
  }
183
203
 
204
+ .c0 span {
205
+ font-size: inherit;
206
+ line-height: inherit;
207
+ }
208
+
184
209
  @media (min-width:740px) {
185
210
  .c0 {
186
211
  font-size: 1rem;
@@ -28,6 +28,11 @@ it('renders correctly', () => {
28
28
  line-height: 1.25rem;
29
29
  }
30
30
 
31
+ .c1 span {
32
+ font-size: inherit;
33
+ line-height: inherit;
34
+ }
35
+
31
36
  .c0 {
32
37
  width: 100%;
33
38
  position: relative;
@@ -13,6 +13,11 @@ exports[`renders correctly with no value and no options 1`] = `
13
13
  line-height: 1.25rem;
14
14
  }
15
15
 
16
+ .c2 span {
17
+ font-size: inherit;
18
+ line-height: inherit;
19
+ }
20
+
16
21
  .c1 {
17
22
  width: 100%;
18
23
  position: relative;
@@ -182,6 +187,11 @@ exports[`renders correctly with value and no options 1`] = `
182
187
  line-height: 1.25rem;
183
188
  }
184
189
 
190
+ .c2 span {
191
+ font-size: inherit;
192
+ line-height: inherit;
193
+ }
194
+
185
195
  .c1 {
186
196
  width: 100%;
187
197
  position: relative;
@@ -351,6 +361,11 @@ exports[`renders correctly with value and options 1`] = `
351
361
  line-height: 1.25rem;
352
362
  }
353
363
 
364
+ .c2 span {
365
+ font-size: inherit;
366
+ line-height: inherit;
367
+ }
368
+
354
369
  .c1 {
355
370
  width: 100%;
356
371
  position: relative;
@@ -18,6 +18,11 @@ exports[`renders correctly 1`] = `
18
18
  line-height: normal;
19
19
  }
20
20
 
21
+ .c2 span {
22
+ font-size: inherit;
23
+ line-height: inherit;
24
+ }
25
+
21
26
  .c6 {
22
27
  font-family: 'Montserrat',Helvetica,Arial,sans-serif;
23
28
  font-weight: 400;
@@ -35,6 +40,11 @@ exports[`renders correctly 1`] = `
35
40
  line-height: normal;
36
41
  }
37
42
 
43
+ .c6 span {
44
+ font-size: inherit;
45
+ line-height: inherit;
46
+ }
47
+
38
48
  .c4 {
39
49
  -webkit-transform: rotate(180deg);
40
50
  -ms-transform: rotate(180deg);
@@ -37,6 +37,11 @@ it('renders article teaser correctly', () => {
37
37
  font-weight: bold;
38
38
  }
39
39
 
40
+ .c8 span {
41
+ font-size: inherit;
42
+ line-height: inherit;
43
+ }
44
+
40
45
  .c10 {
41
46
  font-family: 'Montserrat',Helvetica,Arial,sans-serif;
42
47
  font-weight: 700;
@@ -58,6 +63,11 @@ it('renders article teaser correctly', () => {
58
63
  text-transform: uppercase;
59
64
  }
60
65
 
66
+ .c10 span {
67
+ font-size: inherit;
68
+ line-height: inherit;
69
+ }
70
+
61
71
  .c4 {
62
72
  display: block;
63
73
  width: 100%;
@@ -334,6 +344,11 @@ it('renders press realese correctly', () => {
334
344
  font-weight: bold;
335
345
  }
336
346
 
347
+ .c8 span {
348
+ font-size: inherit;
349
+ line-height: inherit;
350
+ }
351
+
337
352
  .c10 {
338
353
  font-family: 'Montserrat',Helvetica,Arial,sans-serif;
339
354
  font-weight: 700;
@@ -355,6 +370,11 @@ it('renders press realese correctly', () => {
355
370
  text-transform: uppercase;
356
371
  }
357
372
 
373
+ .c10 span {
374
+ font-size: inherit;
375
+ line-height: inherit;
376
+ }
377
+
358
378
  .c4 {
359
379
  display: block;
360
380
  width: 80px;
@@ -19,6 +19,11 @@ exports[`renders correctly 1`] = `
19
19
  color: #FFFFFF;
20
20
  }
21
21
 
22
+ .c2 span {
23
+ font-size: inherit;
24
+ line-height: inherit;
25
+ }
26
+
22
27
  .c0 {
23
28
  background: #48276E;
24
29
  }
@@ -44,6 +44,11 @@ it('renders article teaser correctly', () => {
44
44
  color: #222222;
45
45
  }
46
46
 
47
+ .c3 span {
48
+ font-size: inherit;
49
+ line-height: inherit;
50
+ }
51
+
47
52
  .c7 {
48
53
  font-family: 'Montserrat',Helvetica,Arial,sans-serif;
49
54
  font-weight: 700;
@@ -65,6 +70,11 @@ it('renders article teaser correctly', () => {
65
70
  text-transform: uppercase;
66
71
  }
67
72
 
73
+ .c7 span {
74
+ font-size: inherit;
75
+ line-height: inherit;
76
+ }
77
+
68
78
  .c10 {
69
79
  font-family: 'Montserrat',Helvetica,Arial,sans-serif;
70
80
  font-weight: 400;
@@ -85,6 +95,11 @@ it('renders article teaser correctly', () => {
85
95
  color: #222222;
86
96
  }
87
97
 
98
+ .c10 span {
99
+ font-size: inherit;
100
+ line-height: inherit;
101
+ }
102
+
88
103
  .c0 {
89
104
  position: relative;
90
105
  width: 100%;
@@ -19,6 +19,11 @@ exports[`renders correctly 1`] = `
19
19
  text-transform: uppercase;
20
20
  }
21
21
 
22
+ .c2 span {
23
+ font-size: inherit;
24
+ line-height: inherit;
25
+ }
26
+
22
27
  .c3 {
23
28
  font-family: 'Montserrat',Helvetica,Arial,sans-serif;
24
29
  font-weight: 400;
@@ -36,6 +41,11 @@ exports[`renders correctly 1`] = `
36
41
  line-height: normal;
37
42
  }
38
43
 
44
+ .c3 span {
45
+ font-size: inherit;
46
+ line-height: inherit;
47
+ }
48
+
39
49
  .c4 {
40
50
  position: relative;
41
51
  display: inline;
@@ -35,6 +35,11 @@ it('renders correctly', () => {
35
35
  color: #FFFFFF;
36
36
  }
37
37
 
38
+ .c4 span {
39
+ font-size: inherit;
40
+ line-height: inherit;
41
+ }
42
+
38
43
  .c2 {
39
44
  display: block;
40
45
  width: 100%;
@@ -25,7 +25,7 @@ it('renders Promo correctly', () => {
25
25
  >
26
26
  Curabitur pretium tincidunt lacus
27
27
  </Text>
28
- <Text tag="p" color="white">
28
+ <Text tag="p" color="white" size="s">
29
29
  Curabitur pretium tincidunt lacus. Nulla gravida orci a odio. Nullam varius,
30
30
  turpis et commodo, est eros bibendum elit, nec luctus magna sollicitudin.
31
31
  </Text>
@@ -60,7 +60,7 @@ it('renders Promo correctly end position', () => {
60
60
  >
61
61
  Curabitur pretium tincidunt lacus
62
62
  </Text>
63
- <Text tag="p" color="white">
63
+ <Text tag="p" color="white" size="s">
64
64
  Curabitur pretium tincidunt lacus. Nulla gravida orci a odio. Nullam varius,
65
65
  turpis et commodo, est eros bibendum elit, nec luctus magna sollicitudin.
66
66
  </Text>
@@ -24,6 +24,11 @@ exports[`renders Promo correctly 1`] = `
24
24
  line-height: 3rem;
25
25
  }
26
26
 
27
+ .c7 span {
28
+ font-size: inherit;
29
+ line-height: inherit;
30
+ }
31
+
27
32
  .c8 {
28
33
  font-family: 'Montserrat',Helvetica,Arial,sans-serif;
29
34
  font-weight: 400;
@@ -37,9 +42,16 @@ exports[`renders Promo correctly 1`] = `
37
42
  }
38
43
 
39
44
  .c8 {
45
+ font-size: 1rem;
46
+ line-height: normal;
40
47
  color: #FFFFFF;
41
48
  }
42
49
 
50
+ .c8 span {
51
+ font-size: inherit;
52
+ line-height: inherit;
53
+ }
54
+
43
55
  .c2 {
44
56
  display: block;
45
57
  width: 100%;
@@ -297,6 +309,7 @@ exports[`renders Promo correctly 1`] = `
297
309
  <p
298
310
  className="c8"
299
311
  color="white"
312
+ size="s"
300
313
  >
301
314
  Curabitur pretium tincidunt lacus. Nulla gravida orci a odio. Nullam varius, turpis et commodo, est eros bibendum elit, nec luctus magna sollicitudin.
302
315
  </p>
@@ -341,6 +354,11 @@ exports[`renders Promo correctly end position 1`] = `
341
354
  line-height: 3rem;
342
355
  }
343
356
 
357
+ .c7 span {
358
+ font-size: inherit;
359
+ line-height: inherit;
360
+ }
361
+
344
362
  .c8 {
345
363
  font-family: 'Montserrat',Helvetica,Arial,sans-serif;
346
364
  font-weight: 400;
@@ -354,9 +372,16 @@ exports[`renders Promo correctly end position 1`] = `
354
372
  }
355
373
 
356
374
  .c8 {
375
+ font-size: 1rem;
376
+ line-height: normal;
357
377
  color: #FFFFFF;
358
378
  }
359
379
 
380
+ .c8 span {
381
+ font-size: inherit;
382
+ line-height: inherit;
383
+ }
384
+
360
385
  .c2 {
361
386
  display: block;
362
387
  width: 100%;
@@ -625,6 +650,7 @@ exports[`renders Promo correctly end position 1`] = `
625
650
  <p
626
651
  className="c8"
627
652
  color="white"
653
+ size="s"
628
654
  >
629
655
  Curabitur pretium tincidunt lacus. Nulla gravida orci a odio. Nullam varius, turpis et commodo, est eros bibendum elit, nec luctus magna sollicitudin.
630
656
  </p>
@@ -13,6 +13,11 @@ exports[`renders correctly 1`] = `
13
13
  line-height: 1.25rem;
14
14
  }
15
15
 
16
+ .c2 span {
17
+ font-size: inherit;
18
+ line-height: inherit;
19
+ }
20
+
16
21
  .c1 {
17
22
  width: 100%;
18
23
  position: relative;