@comicrelief/component-library 7.35.3 → 7.35.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.
|
@@ -65,7 +65,7 @@ const WYMDCarousel = _ref => {
|
|
|
65
65
|
}, /*#__PURE__*/_react.default.createElement(_WYMDCarousel.Heading, {
|
|
66
66
|
tag: "p",
|
|
67
67
|
weight: "bold"
|
|
68
|
-
}, data.
|
|
68
|
+
}, data.headerCopy), /*#__PURE__*/_react.default.createElement(_WYMDCarousel.PeopleHelpedText, {
|
|
69
69
|
tag: "h1",
|
|
70
70
|
family: "Anton",
|
|
71
71
|
uppercase: true,
|
|
@@ -45,7 +45,7 @@ const carouselItemsComplete = exports.carouselItemsComplete = {
|
|
|
45
45
|
contentful_id: '7zdR84QkZwrTh9NWx2H926',
|
|
46
46
|
mobileHeight: 500,
|
|
47
47
|
desktopHeight: 550,
|
|
48
|
-
|
|
48
|
+
headerCopy: 'Over the past two years, we’ve supported',
|
|
49
49
|
peopleHelpedText: '11.7 million people',
|
|
50
50
|
autoPlay: true,
|
|
51
51
|
node1_Copy: 'NODE1: people in the UK experiencing poverty to access advice and support.',
|
|
@@ -138,7 +138,7 @@ const carouselItemsIncomplete = exports.carouselItemsIncomplete = {
|
|
|
138
138
|
contentful_id: '7zdR84QkZwrTh9NWx2H9262',
|
|
139
139
|
mobileHeight: 500,
|
|
140
140
|
desktopHeight: 550,
|
|
141
|
-
|
|
141
|
+
headerCopy: 'Over the past two years, we’ve supported',
|
|
142
142
|
peopleHelpedText: '11.7 million people',
|
|
143
143
|
autoPlay: false,
|
|
144
144
|
node1_Copy: 'NODE1: people in the UK experiencing poverty to access advice and support.',
|
|
@@ -218,7 +218,7 @@ const carouselItemsMinimal = exports.carouselItemsMinimal = {
|
|
|
218
218
|
contentful_id: '7zdR84QkZwrTh9NWx2H9263',
|
|
219
219
|
mobileHeight: 500,
|
|
220
220
|
desktopHeight: 550,
|
|
221
|
-
|
|
221
|
+
headerCopy: 'Over the past two years, we’ve supported',
|
|
222
222
|
peopleHelpedText: '11.7 million people',
|
|
223
223
|
autoPlay: false,
|
|
224
224
|
node1_Copy: 'NODE1: people in the UK experiencing poverty to access advice and support.',
|
package/package.json
CHANGED
|
@@ -63,7 +63,7 @@ const WYMDCarousel = ({ data, data: { autoPlay, contentful_id: thisID } }) => {
|
|
|
63
63
|
>
|
|
64
64
|
|
|
65
65
|
<Heading tag="p" weight="bold">
|
|
66
|
-
{ data.
|
|
66
|
+
{ data.headerCopy}
|
|
67
67
|
</Heading>
|
|
68
68
|
|
|
69
69
|
<PeopleHelpedText tag="h1" family="Anton" uppercase weight="normal" color="red">
|
|
@@ -230,7 +230,7 @@ WYMDCarousel.propTypes = {
|
|
|
230
230
|
})
|
|
231
231
|
}),
|
|
232
232
|
autoPlay: PropTypes.bool.isRequired,
|
|
233
|
-
|
|
233
|
+
headerCopy: PropTypes.string.isRequired,
|
|
234
234
|
peopleHelpedText: PropTypes.string.isRequired,
|
|
235
235
|
contentful_id: PropTypes.string.isRequired,
|
|
236
236
|
mobileHeight: PropTypes.number,
|
|
@@ -54,7 +54,7 @@ const carouselItemsComplete = {
|
|
|
54
54
|
contentful_id: '7zdR84QkZwrTh9NWx2H926',
|
|
55
55
|
mobileHeight: 500,
|
|
56
56
|
desktopHeight: 550,
|
|
57
|
-
|
|
57
|
+
headerCopy: 'Over the past two years, we’ve supported',
|
|
58
58
|
peopleHelpedText: '11.7 million people',
|
|
59
59
|
autoPlay: true,
|
|
60
60
|
node1_Copy: 'NODE1: people in the UK experiencing poverty to access advice and support.',
|
|
@@ -148,7 +148,7 @@ const carouselItemsIncomplete = {
|
|
|
148
148
|
contentful_id: '7zdR84QkZwrTh9NWx2H9262',
|
|
149
149
|
mobileHeight: 500,
|
|
150
150
|
desktopHeight: 550,
|
|
151
|
-
|
|
151
|
+
headerCopy: 'Over the past two years, we’ve supported',
|
|
152
152
|
peopleHelpedText: '11.7 million people',
|
|
153
153
|
autoPlay: false,
|
|
154
154
|
node1_Copy: 'NODE1: people in the UK experiencing poverty to access advice and support.',
|
|
@@ -229,7 +229,7 @@ const carouselItemsMinimal = {
|
|
|
229
229
|
contentful_id: '7zdR84QkZwrTh9NWx2H9263',
|
|
230
230
|
mobileHeight: 500,
|
|
231
231
|
desktopHeight: 550,
|
|
232
|
-
|
|
232
|
+
headerCopy: 'Over the past two years, we’ve supported',
|
|
233
233
|
peopleHelpedText: '11.7 million people',
|
|
234
234
|
autoPlay: false,
|
|
235
235
|
node1_Copy: 'NODE1: people in the UK experiencing poverty to access advice and support.',
|