@comicrelief/component-library 7.35.4 → 7.35.6

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.
@@ -52,89 +52,90 @@ const testImpactSliderItems = [
52
52
  const carouselItemsComplete = {
53
53
  __typename: 'ContentfulWhatYourMoneyDoesCarousel',
54
54
  contentful_id: '7zdR84QkZwrTh9NWx2H926',
55
- mobileHeight: 500,
56
- desktopHeight: 550,
55
+ mobileHeight: 450,
56
+ tabletHeight: 500,
57
+ desktopHeight: 475,
57
58
  headerCopy: 'Over the past two years, we’ve supported',
58
59
  peopleHelpedText: '11.7 million people',
59
- autoPlay: true,
60
- node1_Copy: 'NODE1: people in the UK experiencing poverty to access advice and support.',
60
+ autoplay: false,
61
+ node1_Copy: 'children and young people in the UK and around the world, including with safe homes, good nutrition and access to quality healthcare and education.',
61
62
  node1_Amount: '1,000',
62
63
  node1_Image: {
63
64
  file: {
64
65
  url: '//images.ctfassets.net/zsfivwzfgl3t/45yv3H0XZsvsySHtutQ8vb/1fb6d1afe4037c7dccde743a747f6b4f/Test-Carousel-Icon.png'
65
66
  }
66
67
  },
67
- node2_Copy: 'NODE2: people in the UK experiencing poverty to access advice and support. This node has a load of copy to make things extra difficult',
68
- node2_Amount: '2,000',
68
+ node2_Copy: 'children and young people in the UK and around the world, including with safe homes, good nutrition and access to quality healthcare and education.',
69
+ node2_Amount: '750,000',
69
70
  node2_Image: {
70
71
  file: {
71
- url: '//images.ctfassets.net/zsfivwzfgl3t/45yv3H0XZsvsySHtutQ8vb/1fb6d1afe4037c7dccde743a747f6b4f/Test-Carousel-Icon.png'
72
+ url: 'https://images.ctfassets.net/zsfivwzfgl3t/5uKnps3prnG6GpTM1EPZdC/8d7264465846de31e3bbb5b6b2c36c8f/014-helping_hand.png'
72
73
  }
73
74
  },
74
- node3_Copy: 'NODE3: people in the UK experiencing poverty to access advice and support.',
75
+ node3_Copy: 'children and young people in the UK and around the world, including with safe homes, good nutrition and access to quality healthcare and education.',
75
76
  node3_Amount: '3,000',
76
77
  node3_Image: {
77
78
  file: {
78
79
  url: '//images.ctfassets.net/zsfivwzfgl3t/45yv3H0XZsvsySHtutQ8vb/1fb6d1afe4037c7dccde743a747f6b4f/Test-Carousel-Icon.png'
79
80
  }
80
81
  },
81
- node4_Copy: 'NODE4: people in the UK experiencing poverty to access advice and support.',
82
+ node4_Copy: 'children and young people in the UK and around the world, including with safe homes, good nutrition and access to quality healthcare and education.',
82
83
  node4_Amount: '4,000',
83
84
  node4_Image: {
84
85
  file: {
85
86
  url: '//images.ctfassets.net/zsfivwzfgl3t/45yv3H0XZsvsySHtutQ8vb/1fb6d1afe4037c7dccde743a747f6b4f/Test-Carousel-Icon.png'
86
87
  }
87
88
  },
88
- node5_Copy: 'NODE5: people in the UK experiencing poverty to access advice and support.',
89
+ node5_Copy: 'children and young people in the UK and around the world, including with safe homes, good nutrition and access to quality healthcare and education.',
89
90
  node5_Amount: '5,000',
90
91
  node5_Image: {
91
92
  file: {
92
93
  url: '//images.ctfassets.net/zsfivwzfgl3t/45yv3H0XZsvsySHtutQ8vb/1fb6d1afe4037c7dccde743a747f6b4f/Test-Carousel-Icon.png'
93
94
  }
94
95
  },
95
- node6_Copy: 'NODE6: people in the UK experiencing poverty to access advice and support.',
96
+ node6_Copy: 'children and young people in the UK and around the world, including with safe homes, good nutrition and access to quality healthcare and education.',
96
97
  node6_Amount: '6,000',
97
98
  node6_Image: {
98
99
  file: {
99
100
  url: '//images.ctfassets.net/zsfivwzfgl3t/45yv3H0XZsvsySHtutQ8vb/1fb6d1afe4037c7dccde743a747f6b4f/Test-Carousel-Icon.png'
100
101
  }
101
102
  },
102
- node7_Copy: 'NODE7: people in the UK experiencing poverty to access advice and support.',
103
+ node7_Copy: 'children and young people in the UK and around the world, including with safe homes, good nutrition and access to quality healthcare and education.',
103
104
  node7_Amount: '7,000',
104
105
  node7_Image: {
105
106
  file: {
106
107
  url: '//images.ctfassets.net/zsfivwzfgl3t/45yv3H0XZsvsySHtutQ8vb/1fb6d1afe4037c7dccde743a747f6b4f/Test-Carousel-Icon.png'
107
108
  }
108
109
  },
109
- node8_Copy: 'NODE8: people in the UK experiencing poverty to access advice and support.',
110
+ node8_Copy: 'children and young people in the UK and around the world, including with safe homes, good nutrition and access to quality healthcare and education.',
110
111
  node8_Amount: '8,000',
111
112
  node8_Image: {
112
113
  file: {
113
114
  url: '//images.ctfassets.net/zsfivwzfgl3t/45yv3H0XZsvsySHtutQ8vb/1fb6d1afe4037c7dccde743a747f6b4f/Test-Carousel-Icon.png'
114
115
  }
115
116
  },
116
- node9_Copy: 'NODE9: people in the UK experiencing poverty to access advice and support.',
117
+ node9_Copy: 'children and young people in the UK and around the world, including with safe homes, good nutrition and access to quality healthcare and education.',
117
118
  node9_Amount: '9,000',
118
119
  node9_Image: {
119
120
  file: {
120
121
  url: '//images.ctfassets.net/zsfivwzfgl3t/45yv3H0XZsvsySHtutQ8vb/1fb6d1afe4037c7dccde743a747f6b4f/Test-Carousel-Icon.png'
121
122
  }
122
123
  },
123
- node10_Copy: 'NODE10: people in the UK experiencing poverty to access advice and support.',
124
+ node10_Copy: 'children and young people in the UK and around the world, including with safe homes, good nutrition and access to quality healthcare and education.',
124
125
  node10_Amount: '10,000',
125
126
  node10_Image: {
126
127
  file: {
127
128
  url: '//images.ctfassets.net/zsfivwzfgl3t/45yv3H0XZsvsySHtutQ8vb/1fb6d1afe4037c7dccde743a747f6b4f/Test-Carousel-Icon.png'
128
129
  }
129
130
  },
130
- node11_Copy: 'NODE11: people in the UK experiencing poverty to access advice and support.',
131
+ node11_Copy: 'children and young people in the UK and around the world, including with safe homes, good nutrition and access to quality healthcare and education.',
131
132
  node11_Amount: '11,000',
132
133
  node11_Image: {
133
134
  file: {
134
135
  url: '//images.ctfassets.net/zsfivwzfgl3t/45yv3H0XZsvsySHtutQ8vb/1fb6d1afe4037c7dccde743a747f6b4f/Test-Carousel-Icon.png'
135
136
  }
136
137
  },
137
- node12_Copy: 'NODE12: people in the UK experiencing poverty to access advice and support.750,000',
138
+ node12_Copy: 'children and young people in the UK and around the world, including with safe homes, good nutrition and access to quality healthcare and education.750,000',
138
139
  node12_Amount: '12,000',
139
140
  node12_Image: {
140
141
  file: {
@@ -146,46 +147,47 @@ const carouselItemsComplete = {
146
147
  const carouselItemsIncomplete = {
147
148
  __typename: 'ContentfulWhatYourMoneyDoesCarousel',
148
149
  contentful_id: '7zdR84QkZwrTh9NWx2H9262',
149
- mobileHeight: 500,
150
- desktopHeight: 550,
150
+ mobileHeight: 450,
151
+ tabletHeight: 500,
152
+ desktopHeight: 475,
151
153
  headerCopy: 'Over the past two years, we’ve supported',
152
154
  peopleHelpedText: '11.7 million people',
153
155
  autoPlay: false,
154
- node1_Copy: 'NODE1: people in the UK experiencing poverty to access advice and support.',
156
+ node1_Copy: 'children and young people in the UK and around the world, including with safe homes, good nutrition and access to quality healthcare and education.',
155
157
  node1_Amount: '1,000',
156
158
  node1_Image: {
157
159
  file: {
158
160
  url: '//images.ctfassets.net/zsfivwzfgl3t/45yv3H0XZsvsySHtutQ8vb/1fb6d1afe4037c7dccde743a747f6b4f/Test-Carousel-Icon.png'
159
161
  }
160
162
  },
161
- node2_Copy: 'NODE2: people in the UK experiencing poverty to access advice and support.',
162
- node2_Amount: '2,000',
163
+ node2_Copy: 'children and young people in the UK and around the world, including with safe homes, good nutrition and access to quality healthcare and education.',
164
+ node2_Amount: '750,000',
163
165
  node2_Image: {
164
166
  file: {
165
167
  url: '//images.ctfassets.net/zsfivwzfgl3t/45yv3H0XZsvsySHtutQ8vb/1fb6d1afe4037c7dccde743a747f6b4f/Test-Carousel-Icon.png'
166
168
  }
167
169
  },
168
- node3_Copy: 'NODE3: people in the UK experiencing poverty to access advice and support.',
170
+ node3_Copy: 'children and young people in the UK and around the world, including with safe homes, good nutrition and access to quality healthcare and education.',
169
171
  node3_Amount: '3,000',
170
172
  node3_Image: {
171
173
  file: {
172
174
  url: '//images.ctfassets.net/zsfivwzfgl3t/45yv3H0XZsvsySHtutQ8vb/1fb6d1afe4037c7dccde743a747f6b4f/Test-Carousel-Icon.png'
173
175
  }
174
176
  },
175
- node4_Copy: 'NODE4: people in the UK experiencing poverty to access advice and support.',
177
+ node4_Copy: 'children and young people in the UK and around the world, including with safe homes, good nutrition and access to quality healthcare and education.',
176
178
  node4_Amount: '4,000',
177
179
  node4_Image: {
178
180
  file: {
179
181
  url: '//images.ctfassets.net/zsfivwzfgl3t/45yv3H0XZsvsySHtutQ8vb/1fb6d1afe4037c7dccde743a747f6b4f/Test-Carousel-Icon.png'
180
182
  }
181
183
  },
182
- node5_Copy: 'NODE5: people in the UK experiencing poverty to access advice and support.',
184
+ node5_Copy: 'children and young people in the UK and around the world, including with safe homes, good nutrition and access to quality healthcare and education.',
183
185
  node5_Image: {
184
186
  file: {
185
187
  url: '//images.ctfassets.net/zsfivwzfgl3t/45yv3H0XZsvsySHtutQ8vb/1fb6d1afe4037c7dccde743a747f6b4f/Test-Carousel-Icon.png'
186
188
  }
187
189
  },
188
- node6_Copy: 'NODE6: people in the UK experiencing poverty to access advice and support.',
190
+ node6_Copy: 'children and young people in the UK and around the world, including with safe homes, good nutrition and access to quality healthcare and education.',
189
191
  node6_Amount: '6,000',
190
192
  node6_Image: null,
191
193
  node7_Copy: null,
@@ -198,7 +200,7 @@ const carouselItemsIncomplete = {
198
200
  url: '//images.ctfassets.net/zsfivwzfgl3t/45yv3H0XZsvsySHtutQ8vb/1fb6d1afe4037c7dccde743a747f6b4f/Test-Carousel-Icon.png'
199
201
  }
200
202
  },
201
- node9_Copy: 'NODE9: people in the UK experiencing poverty to access advice and support.',
203
+ node9_Copy: 'children and young people in the UK and around the world, including with safe homes, good nutrition and access to quality healthcare and education.',
202
204
  node9_Amount: null,
203
205
  node9_Image: null,
204
206
  node10_Copy: null,
@@ -208,14 +210,14 @@ const carouselItemsIncomplete = {
208
210
  url: '//images.ctfassets.net/zsfivwzfgl3t/45yv3H0XZsvsySHtutQ8vb/1fb6d1afe4037c7dccde743a747f6b4f/Test-Carousel-Icon.png'
209
211
  }
210
212
  },
211
- node11_Copy: 'NODE11: people in the UK experiencing poverty to access advice and support.',
213
+ node11_Copy: 'children and young people in the UK and around the world, including with safe homes, good nutrition and access to quality healthcare and education.',
212
214
  node11_Amount: '11,000',
213
215
  node11_Image: {
214
216
  file: {
215
217
  url: '//images.ctfassets.net/zsfivwzfgl3t/45yv3H0XZsvsySHtutQ8vb/1fb6d1afe4037c7dccde743a747f6b4f/Test-Carousel-Icon.png'
216
218
  }
217
219
  },
218
- node12_Copy: 'people in the UK experiencing poverty to access advice and support.750,000',
220
+ node12_Copy: 'children and young people in the UK and around the world, including with safe homes, good nutrition and access to quality healthcare and education.750,000',
219
221
  node12_Amount: null,
220
222
  node12_Image: {
221
223
  file: {
@@ -227,33 +229,34 @@ const carouselItemsIncomplete = {
227
229
  const carouselItemsMinimal = {
228
230
  __typename: 'ContentfulWhatYourMoneyDoesCarousel',
229
231
  contentful_id: '7zdR84QkZwrTh9NWx2H9263',
230
- mobileHeight: 500,
231
- desktopHeight: 550,
232
+ mobileHeight: 450,
233
+ tabletHeight: 500,
234
+ desktopHeight: 475,
232
235
  headerCopy: 'Over the past two years, we’ve supported',
233
236
  peopleHelpedText: '11.7 million people',
234
237
  autoPlay: false,
235
- node1_Copy: 'NODE1: people in the UK experiencing poverty to access advice and support.',
238
+ node1_Copy: 'children and young people in the UK and around the world, including with safe homes, good nutrition and access to quality healthcare and education.',
236
239
  node1_Amount: '1,000',
237
240
  node1_Image: {
238
241
  file: {
239
242
  url: '//images.ctfassets.net/zsfivwzfgl3t/45yv3H0XZsvsySHtutQ8vb/1fb6d1afe4037c7dccde743a747f6b4f/Test-Carousel-Icon.png'
240
243
  }
241
244
  },
242
- node2_Copy: 'NODE2: people in the UK experiencing poverty to access advice and support.',
243
- node2_Amount: '2,000',
245
+ node2_Copy: 'children and young people in the UK and around the world, including with safe homes, good nutrition and access to quality healthcare and education.',
246
+ node2_Amount: '750,000',
244
247
  node2_Image: {
245
248
  file: {
246
249
  url: '//images.ctfassets.net/zsfivwzfgl3t/45yv3H0XZsvsySHtutQ8vb/1fb6d1afe4037c7dccde743a747f6b4f/Test-Carousel-Icon.png'
247
250
  }
248
251
  },
249
- node3_Copy: 'NODE3: people in the UK experiencing poverty to access advice and support.',
252
+ node3_Copy: 'children and young people in the UK and around the world, including with safe homes, good nutrition and access to quality healthcare and education.',
250
253
  node3_Amount: '3,000',
251
254
  node3_Image: {
252
255
  file: {
253
256
  url: '//images.ctfassets.net/zsfivwzfgl3t/45yv3H0XZsvsySHtutQ8vb/1fb6d1afe4037c7dccde743a747f6b4f/Test-Carousel-Icon.png'
254
257
  }
255
258
  },
256
- node4_Copy: 'NODE4: people in the UK experiencing poverty to access advice and support.',
259
+ node4_Copy: 'children and young people in the UK and around the world, including with safe homes, good nutrition and access to quality healthcare and education.',
257
260
  node4_Amount: '4,000',
258
261
  node4_Image: {
259
262
  file: {