@comicrelief/component-library 7.35.3 → 7.35.5

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.
@@ -61,11 +61,12 @@ const WYMDCarousel = _ref => {
61
61
  className: "CarouselWrapper",
62
62
  id: thisID,
63
63
  mobileHeight: data.mobileHeight,
64
+ tabletHeight: data.tabletHeight,
64
65
  desktopHeight: data.desktopHeight
65
66
  }, /*#__PURE__*/_react.default.createElement(_WYMDCarousel.Heading, {
66
67
  tag: "p",
67
68
  weight: "bold"
68
- }, data.heading), /*#__PURE__*/_react.default.createElement(_WYMDCarousel.PeopleHelpedText, {
69
+ }, data.headerCopy), /*#__PURE__*/_react.default.createElement(_WYMDCarousel.PeopleHelpedText, {
69
70
  tag: "h1",
70
71
  family: "Anton",
71
72
  uppercase: true,
@@ -109,10 +110,10 @@ const WYMDCarousel = _ref => {
109
110
  family: "Anton",
110
111
  uppercase: true,
111
112
  weight: "normal",
112
- size: "super"
113
+ size: "xl"
113
114
  }, theseItems[key].amount)), /*#__PURE__*/_react.default.createElement(_WYMDCarousel.CopyWrapper, null, /*#__PURE__*/_react.default.createElement(_Text.default, {
114
115
  tag: "p",
115
- size: "l"
116
+ size: "m"
116
117
  }, theseItems[key].copy))))
117
118
  );
118
119
  }), isMobileOrTablet === false && /*#__PURE__*/_react.default.createElement(_pureReactCarousel.Slide, {
@@ -17,7 +17,7 @@ const textScaleOffsetB = 5;
17
17
  const ImageWrapper = exports.ImageWrapper = _styledComponents.default.div.withConfig({
18
18
  displayName: "WYMDCarouselstyle__ImageWrapper",
19
19
  componentId: "sc-115z54p-0"
20
- })(["width:33%;display:block;padding:7%;border:2px dashed #89888b;border-radius:50%;position:relative;overflow:visible;img{width:100%;height:auto;}&:after{position:absolute;content:'';top:50%;width:200%;right:calc(-200% - 8px);height:2px;border-bottom:2px dashed #89888b;}@media ", "{width:50%;padding:9%;&:after{width:100%;right:calc(-100% - 8px);}}"], _ref => {
20
+ })(["width:45%;display:block;padding:9%;border:2px dashed #89888b;border-radius:50%;position:relative;overflow:visible;img{width:100%;height:auto;}&:after{position:absolute;content:'';top:50%;width:125%;right:calc(-125% - 2px);height:2px;border-bottom:2px dashed #89888b;}@media ", "{width:50%;padding:9%;&:after{width:100%;right:calc(-100% - 8px);}}"], _ref => {
21
21
  let {
22
22
  theme
23
23
  } = _ref;
@@ -34,7 +34,7 @@ const CopyWrapper = exports.CopyWrapper = _styledComponents.default.div.withConf
34
34
  const Heading = exports.Heading = (0, _styledComponents.default)(_Text.default).withConfig({
35
35
  displayName: "WYMDCarouselstyle__Heading",
36
36
  componentId: "sc-115z54p-3"
37
- })(["width:75%;margin:0 auto;&:first-child{margin-bottom:", ";text-align:center;font-size:20px;line-height:23px;@media ", "{font-size:21px;line-height:23px;}}"], (0, _spacing.default)('l'), _ref2 => {
37
+ })(["width:75%;margin:0 auto;&:first-child{margin-bottom:", ";text-align:center;font-size:16px;line-height:19.5px;@media ", "{font-size:20px;line-height:24.38px;}}"], (0, _spacing.default)('l'), _ref2 => {
38
38
  let {
39
39
  theme
40
40
  } = _ref2;
@@ -43,7 +43,7 @@ const Heading = exports.Heading = (0, _styledComponents.default)(_Text.default).
43
43
  const PeopleHelpedText = exports.PeopleHelpedText = (0, _styledComponents.default)(_Text.default).withConfig({
44
44
  displayName: "WYMDCarouselstyle__PeopleHelpedText",
45
45
  componentId: "sc-115z54p-4"
46
- })(["margin-bottom:", ";text-align:center;font-size:40px;line-height:40px;@media ", "{font-size:60px;line-height:60px;}@media ", "{font-size:75px;line-height:78px;}"], (0, _spacing.default)('l'), _ref3 => {
46
+ })(["margin-bottom:", ";text-align:center;font-size:34px;line-height:37px;@media ", "{font-size:60px;line-height:60px;}@media ", "{font-size:64px;line-height:68px;}"], (0, _spacing.default)('l'), _ref3 => {
47
47
  let {
48
48
  theme
49
49
  } = _ref3;
@@ -57,7 +57,7 @@ const PeopleHelpedText = exports.PeopleHelpedText = (0, _styledComponents.defaul
57
57
  const Including = exports.Including = (0, _styledComponents.default)(_Text.default).withConfig({
58
58
  displayName: "WYMDCarouselstyle__Including",
59
59
  componentId: "sc-115z54p-5"
60
- })(["margin-bottom:0;text-align:center;font-size:14px;line-height:17px;@media ", "{font-size:17px;line-height:19px;}"], _ref5 => {
60
+ })(["margin-bottom:0;text-align:center;font-size:12px;line-height:14.63px;@media ", "{font-size:17px;line-height:19px;}"], _ref5 => {
61
61
  let {
62
62
  theme
63
63
  } = _ref5;
@@ -68,17 +68,17 @@ const Including = exports.Including = (0, _styledComponents.default)(_Text.defau
68
68
  const CarouselWrapper = exports.CarouselWrapper = _styledComponents.default.div.withConfig({
69
69
  displayName: "WYMDCarouselstyle__CarouselWrapper",
70
70
  componentId: "sc-115z54p-6"
71
- })(["height:100%;background-color:", ";.carousel{position:relative;margin:0 auto;padding-top:", ";@media ", "{padding-top:", ";}button.carousel__back-button,button.carousel__next-button{position:absolute;left:0;top:0;width:33% !important;height:100%;padding:0 !important;box-shadow:none;text-indent:-9999px;background-color:transparent;border:none;&:before{content:'';position:absolute;width:30px;height:30px;top:50%;left:0;transform:translate(0,-50%) rotate(90deg);}&:after{content:\"\";position:absolute;top:0;left:0;width:50%;height:100%;transition:opacity 0.2s linear;background:linear-gradient(90deg,rgba(255,255,255,0.95),rgba(255,255,255,0.5),rgba(255,255,255,0));}&:hover{&:after{opacity:0.5;}}@media ", "{width:33.3% !important;&:after{width:100%;}}}button.carousel__next-button{left:auto;right:0;&:before{transform:translate(0,-50%) rotate(-90deg);}&:after{left:auto;right:0;background:linear-gradient(270deg,rgba(255,255,255,0.95),rgba(255,255,255,0.75),rgba(255,255,255,0));}}.wymd-carousel{transition:-webkit-transform ", "s;-o-transition:transform ", "s;transition:transform ", "s;-webkit-transform:", "s;will-change:transform;.last-slide{.image-wrapper:after{content:none;}}.carousel__slide{padding-bottom:", "px !important;@media ", "{padding-bottom:", "px !important;.carousel__inner-slide{> div:first-child{transition:transform ", "s ease;transform:scale(0.5);&:after{transition:transform ", "s ease,width ", "s ease,right ", "s ease;right:calc(-300% - 6px);transform:scale(1);width:300%;}}.all-text-wrapper{transition:transform ", "s ease;transform-origin:top;transform:translateY(calc(-", "px + ", "%)) scale(0.5)}}&.carousel__slide--visible{.carousel__inner-slide{> div:first-child{&:after{right:calc(-250% - 6px);transform:scale(1);width:250%;}}}+ .carousel__slide--visible{.carousel__inner-slide{> div:first-child{transform:scale(1);&:after{right:calc(-187% - 6px);transform:scale(0.5);width:250%;}}}.all-text-wrapper{transform:translateY(0) scale(1);}+ .carousel__slide--visible{> div > div:first-child{transform:scale(0.5);&:after{right:calc(-250% - 6px);transform:scale(1);width:250%;}}.all-text-wrapper{transform:translateY(calc(-", "px + ", "%)) scale(0.5)}}}}}.carousel__inner-slide{text-align:center;display:inline-flex;align-items:center;justify-content:flex-start;flex-direction:column;}}}}"], _ref6 => {
71
+ })(["height:100%;background-color:", ";max-width:760px;padding:", ";margin:0 auto;border-radius:20px;box-shadow:0px 0px 20px rgba(0,0,0,0.15);.carousel{position:relative;margin:0 auto;padding-top:", ";@media ", "{padding-top:", ";}button.carousel__back-button,button.carousel__next-button{position:absolute;left:0;top:0;width:33% !important;height:100%;padding:0 !important;box-shadow:none;text-indent:-9999px;background-color:transparent;border:none;&:before{content:'';position:absolute;width:30px;height:30px;top:50%;left:0;transform:translate(0,-50%) rotate(90deg);}&:after{content:\"\";position:absolute;top:0;left:0;width:50%;height:100%;transition:opacity 0.2s linear;background:linear-gradient(90deg,rgba(255,255,255,0.95),rgba(255,255,255,0.5),rgba(255,255,255,0));}&:hover{&:after{opacity:0.5;}}@media ", "{width:33.3% !important;&:after{width:100%;}}}button.carousel__next-button{left:auto;right:0;&:before{transform:translate(0,-50%) rotate(-90deg);}&:after{left:auto;right:0;background:linear-gradient(270deg,rgba(255,255,255,0.95),rgba(255,255,255,0.75),rgba(255,255,255,0));}}.wymd-carousel{transition:-webkit-transform ", "s;-o-transition:transform ", "s;transition:transform ", "s;-webkit-transform:", "s;will-change:transform;.last-slide{.image-wrapper:after{content:none;}}.carousel__slide{padding-bottom:", "px !important;@media ", "{padding-bottom:", "px !important;}@media ", "{padding-bottom:", "px !important;.carousel__inner-slide{> div:first-child{transition:transform ", "s ease;transform:scale(0.5);&:after{transition:transform ", "s ease,width ", "s ease,right ", "s ease;right:calc(-300% - 6px);transform:scale(1);width:300%;}}.all-text-wrapper{transition:transform ", "s ease;transform-origin:top;transform:translateY(calc(-", "px + ", "%)) scale(0.5)}}&.carousel__slide--visible{.carousel__inner-slide{> div:first-child{&:after{right:calc(-250% - 6px);transform:scale(1);width:250%;}}}+ .carousel__slide--visible{.carousel__inner-slide{> div:first-child{transform:scale(1);&:after{right:calc(-187% - 6px);transform:scale(0.5);width:250%;}}}.all-text-wrapper{transform:translateY(0) scale(1);}+ .carousel__slide--visible{> div > div:first-child{transform:scale(0.5);&:after{right:calc(-250% - 6px);transform:scale(1);width:250%;}}.all-text-wrapper{transform:translateY(calc(-", "px + ", "%)) scale(0.5)}}}}}.carousel__inner-slide{text-align:center;display:inline-flex;align-items:center;justify-content:flex-start;flex-direction:column;}}}}"], _ref6 => {
72
72
  let {
73
73
  theme
74
74
  } = _ref6;
75
75
  return theme.color('white');
76
- }, (0, _spacing.default)('l'), _ref7 => {
76
+ }, (0, _spacing.default)('l'), (0, _spacing.default)('l'), _ref7 => {
77
77
  let {
78
78
  theme
79
79
  } = _ref7;
80
80
  return theme.breakpoint('medium');
81
- }, (0, _spacing.default)('lg'), _ref8 => {
81
+ }, (0, _spacing.default)('l'), _ref8 => {
82
82
  let {
83
83
  theme
84
84
  } = _ref8;
@@ -87,5 +87,10 @@ const CarouselWrapper = exports.CarouselWrapper = _styledComponents.default.div.
87
87
  let {
88
88
  theme
89
89
  } = _ref9;
90
+ return theme.breakpoint('small');
91
+ }, props => props.tabletHeight, _ref10 => {
92
+ let {
93
+ theme
94
+ } = _ref10;
90
95
  return theme.breakpoint('medium');
91
96
  }, props => props.desktopHeight, animationSpeed, animationSpeed, animationSpeed, animationSpeed, animationSpeed, textScaleOffsetA, textScaleOffsetB, textScaleOffsetA, textScaleOffsetB);
@@ -12,5 +12,5 @@ it("renders correctly", () => {
12
12
  const tree = (0, _shallowWithTheme.default)( /*#__PURE__*/_react.default.createElement(_WYMDCarousel.default, {
13
13
  data: carouselItemsComplete
14
14
  })).toJSON();
15
- expect(tree).toMatchInlineSnapshot("\n .c1 {\n font-size: 1rem;\n line-height: 1rem;\n text-transform: inherit;\n font-weight: bold;\n line-height: normal;\n font-family: 'Montserrat',Helvetica,Arial,sans-serif;\n }\n\n .c3 {\n color: #E52630;\n font-size: 1rem;\n line-height: 1rem;\n text-transform: uppercase;\n font-weight: normal;\n font-family: 'Anton',Impact,sans-serif;\n -webkit-letter-spacing: 0.03rem;\n -moz-letter-spacing: 0.03rem;\n -ms-letter-spacing: 0.03rem;\n letter-spacing: 0.03rem;\n }\n\n .c5 {\n font-size: 1rem;\n line-height: 1rem;\n text-transform: inherit;\n line-height: normal;\n font-family: 'Montserrat',Helvetica,Arial,sans-serif;\n }\n\n .c2 {\n width: 75%;\n margin: 0 auto;\n }\n\n .c2:first-child {\n margin-bottom: 2rem;\n text-align: center;\n font-size: 20px;\n line-height: 23px;\n }\n\n .c4 {\n margin-bottom: 2rem;\n text-align: center;\n font-size: 40px;\n line-height: 40px;\n }\n\n .c6 {\n margin-bottom: 0;\n text-align: center;\n font-size: 14px;\n line-height: 17px;\n }\n\n .c0 {\n height: 100%;\n background-color: #FFFFFF;\n }\n\n .c0 .carousel {\n position: relative;\n margin: 0 auto;\n padding-top: 2rem;\n }\n\n .c0 .carousel button.carousel__back-button,\n .c0 .carousel button.carousel__next-button {\n position: absolute;\n left: 0;\n top: 0;\n width: 33% !important;\n height: 100%;\n padding: 0 !important;\n box-shadow: none;\n text-indent: -9999px;\n background-color: transparent;\n border: none;\n }\n\n .c0 .carousel button.carousel__back-button:before,\n .c0 .carousel button.carousel__next-button:before {\n content: '';\n position: absolute;\n width: 30px;\n height: 30px;\n top: 50%;\n left: 0;\n -webkit-transform: translate(0,-50%) rotate(90deg);\n -ms-transform: translate(0,-50%) rotate(90deg);\n transform: translate(0,-50%) rotate(90deg);\n }\n\n .c0 .carousel button.carousel__back-button:after,\n .c0 .carousel button.carousel__next-button:after {\n content: \"\";\n position: absolute;\n top: 0;\n left: 0;\n width: 50%;\n height: 100%;\n -webkit-transition: opacity 0.2s linear;\n transition: opacity 0.2s linear;\n background: linear-gradient(90deg,rgba(255,255,255,0.95),rgba(255,255,255,0.5),rgba(255,255,255,0));\n }\n\n .c0 .carousel button.carousel__back-button:hover:after,\n .c0 .carousel button.carousel__next-button:hover:after {\n opacity: 0.5;\n }\n\n .c0 .carousel button.carousel__next-button {\n left: auto;\n right: 0;\n }\n\n .c0 .carousel button.carousel__next-button:before {\n -webkit-transform: translate(0,-50%) rotate(-90deg);\n -ms-transform: translate(0,-50%) rotate(-90deg);\n transform: translate(0,-50%) rotate(-90deg);\n }\n\n .c0 .carousel button.carousel__next-button:after {\n left: auto;\n right: 0;\n background: linear-gradient(270deg,rgba(255,255,255,0.95),rgba(255,255,255,0.75),rgba(255,255,255,0));\n }\n\n .c0 .carousel .wymd-carousel {\n -webkit-transition: -webkit-transform 0.75s;\n -webkit-transition: -webkit-transform 0.75s;\n transition: -webkit-transform 0.75s;\n -o-transition: transform 0.75s;\n -webkit-transition: -webkit-transform 0.75s;\n -webkit-transition: transform 0.75s;\n transition: transform 0.75s;\n -webkit-transform: 0.75s;\n will-change: transform;\n }\n\n .c0 .carousel .wymd-carousel .last-slide .image-wrapper:after {\n content: none;\n }\n\n .c0 .carousel .wymd-carousel .carousel__slide {\n padding-bottom: 500px !important;\n }\n\n .c0 .carousel .wymd-carousel .carousel__slide .carousel__inner-slide {\n text-align: center;\n display: -webkit-inline-box;\n display: -webkit-inline-flex;\n display: -ms-inline-flexbox;\n display: inline-flex;\n -webkit-align-items: center;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: start;\n -webkit-justify-content: flex-start;\n -ms-flex-pack: start;\n justify-content: flex-start;\n -webkit-flex-direction: column;\n -ms-flex-direction: column;\n flex-direction: column;\n }\n\n @media (min-width:1024px) {\n .c2:first-child {\n font-size: 21px;\n line-height: 23px;\n }\n }\n\n @media (min-width:740px) {\n .c4 {\n font-size: 60px;\n line-height: 60px;\n }\n }\n\n @media (min-width:1024px) {\n .c4 {\n font-size: 75px;\n line-height: 78px;\n }\n }\n\n @media (min-width:740px) {\n .c6 {\n font-size: 17px;\n line-height: 19px;\n }\n }\n\n @media (min-width:1024px) {\n .c0 .carousel {\n padding-top: 3rem;\n }\n }\n\n @media (min-width:1024px) {\n .c0 .carousel button.carousel__back-button,\n .c0 .carousel button.carousel__next-button {\n width: 33.3% !important;\n }\n\n .c0 .carousel button.carousel__back-button:after,\n .c0 .carousel button.carousel__next-button:after {\n width: 100%;\n }\n }\n\n @media (min-width:1024px) {\n .c0 .carousel .wymd-carousel .carousel__slide {\n padding-bottom: 550px !important;\n }\n\n .c0 .carousel .wymd-carousel .carousel__slide .carousel__inner-slide > div:first-child {\n -webkit-transition: -webkit-transform 0.75s ease;\n -webkit-transition: transform 0.75s ease;\n transition: transform 0.75s ease;\n -webkit-transform: scale(0.5);\n -ms-transform: scale(0.5);\n transform: scale(0.5);\n }\n\n .c0 .carousel .wymd-carousel .carousel__slide .carousel__inner-slide > div:first-child:after {\n -webkit-transition: -webkit-transform 0.75s ease,width 0.75s ease,right 0.75s ease;\n -webkit-transition: transform 0.75s ease,width 0.75s ease,right 0.75s ease;\n transition: transform 0.75s ease,width 0.75s ease,right 0.75s ease;\n right: calc(-300% - 6px);\n -webkit-transform: scale(1);\n -ms-transform: scale(1);\n transform: scale(1);\n width: 300%;\n }\n\n .c0 .carousel .wymd-carousel .carousel__slide .carousel__inner-slide .all-text-wrapper {\n -webkit-transition: -webkit-transform 0.75s ease;\n -webkit-transition: transform 0.75s ease;\n transition: transform 0.75s ease;\n -webkit-transform-origin: top;\n -ms-transform-origin: top;\n transform-origin: top;\n -webkit-transform: translateY(calc(-50px + 5%)) scale(0.5);\n -ms-transform: translateY(calc(-50px + 5%)) scale(0.5);\n transform: translateY(calc(-50px + 5%)) scale(0.5);\n }\n\n .c0 .carousel .wymd-carousel .carousel__slide.carousel__slide--visible .carousel__inner-slide > div:first-child:after {\n right: calc(-250% - 6px);\n -webkit-transform: scale(1);\n -ms-transform: scale(1);\n transform: scale(1);\n width: 250%;\n }\n\n .c0 .carousel .wymd-carousel .carousel__slide.carousel__slide--visible + .carousel__slide--visible .carousel__inner-slide > div:first-child {\n -webkit-transform: scale(1);\n -ms-transform: scale(1);\n transform: scale(1);\n }\n\n .c0 .carousel .wymd-carousel .carousel__slide.carousel__slide--visible + .carousel__slide--visible .carousel__inner-slide > div:first-child:after {\n right: calc(-187% - 6px);\n -webkit-transform: scale(0.5);\n -ms-transform: scale(0.5);\n transform: scale(0.5);\n width: 250%;\n }\n\n .c0 .carousel .wymd-carousel .carousel__slide.carousel__slide--visible + .carousel__slide--visible .all-text-wrapper {\n -webkit-transform: translateY(0) scale(1);\n -ms-transform: translateY(0) scale(1);\n transform: translateY(0) scale(1);\n }\n\n .c0 .carousel .wymd-carousel .carousel__slide.carousel__slide--visible + .carousel__slide--visible + .carousel__slide--visible > div > div:first-child {\n -webkit-transform: scale(0.5);\n -ms-transform: scale(0.5);\n transform: scale(0.5);\n }\n\n .c0 .carousel .wymd-carousel .carousel__slide.carousel__slide--visible + .carousel__slide--visible + .carousel__slide--visible > div > div:first-child:after {\n right: calc(-250% - 6px);\n -webkit-transform: scale(1);\n -ms-transform: scale(1);\n transform: scale(1);\n width: 250%;\n }\n\n .c0 .carousel .wymd-carousel .carousel__slide.carousel__slide--visible + .carousel__slide--visible + .carousel__slide--visible .all-text-wrapper {\n -webkit-transform: translateY(calc(-50px + 5%)) scale(0.5);\n -ms-transform: translateY(calc(-50px + 5%)) scale(0.5);\n transform: translateY(calc(-50px + 5%)) scale(0.5);\n }\n }\n\n <div\n className=\"c0 CarouselWrapper\"\n id=\"7zdR84QkZwrTh9NWx2H926\"\n >\n <p\n className=\"c1 c2\"\n color=\"inherit\"\n size=\"s\"\n >\n Over the past two years, we\u2019ve supported\n </p>\n <h1\n className=\"c3 c4\"\n color=\"red\"\n size=\"s\"\n >\n 11.7 million people\n </h1>\n <p\n className=\"c5 c6\"\n color=\"inherit\"\n size=\"s\"\n >\n including...\n </p>\n </div>\n ");
15
+ expect(tree).toMatchInlineSnapshot("\n .c1 {\n font-size: 1rem;\n line-height: 1rem;\n text-transform: inherit;\n font-weight: bold;\n line-height: normal;\n font-family: 'Montserrat',Helvetica,Arial,sans-serif;\n }\n\n .c3 {\n color: #E52630;\n font-size: 1rem;\n line-height: 1rem;\n text-transform: uppercase;\n font-weight: normal;\n font-family: 'Anton',Impact,sans-serif;\n -webkit-letter-spacing: 0.03rem;\n -moz-letter-spacing: 0.03rem;\n -ms-letter-spacing: 0.03rem;\n letter-spacing: 0.03rem;\n }\n\n .c5 {\n font-size: 1rem;\n line-height: 1rem;\n text-transform: inherit;\n line-height: normal;\n font-family: 'Montserrat',Helvetica,Arial,sans-serif;\n }\n\n .c2 {\n width: 75%;\n margin: 0 auto;\n }\n\n .c2:first-child {\n margin-bottom: 2rem;\n text-align: center;\n font-size: 16px;\n line-height: 19.5px;\n }\n\n .c4 {\n margin-bottom: 2rem;\n text-align: center;\n font-size: 34px;\n line-height: 37px;\n }\n\n .c6 {\n margin-bottom: 0;\n text-align: center;\n font-size: 12px;\n line-height: 14.63px;\n }\n\n .c0 {\n height: 100%;\n background-color: #FFFFFF;\n max-width: 760px;\n padding: 2rem;\n margin: 0 auto;\n border-radius: 20px;\n box-shadow: 0px 0px 20px rgba(0,0,0,0.15);\n }\n\n .c0 .carousel {\n position: relative;\n margin: 0 auto;\n padding-top: 2rem;\n }\n\n .c0 .carousel button.carousel__back-button,\n .c0 .carousel button.carousel__next-button {\n position: absolute;\n left: 0;\n top: 0;\n width: 33% !important;\n height: 100%;\n padding: 0 !important;\n box-shadow: none;\n text-indent: -9999px;\n background-color: transparent;\n border: none;\n }\n\n .c0 .carousel button.carousel__back-button:before,\n .c0 .carousel button.carousel__next-button:before {\n content: '';\n position: absolute;\n width: 30px;\n height: 30px;\n top: 50%;\n left: 0;\n -webkit-transform: translate(0,-50%) rotate(90deg);\n -ms-transform: translate(0,-50%) rotate(90deg);\n transform: translate(0,-50%) rotate(90deg);\n }\n\n .c0 .carousel button.carousel__back-button:after,\n .c0 .carousel button.carousel__next-button:after {\n content: \"\";\n position: absolute;\n top: 0;\n left: 0;\n width: 50%;\n height: 100%;\n -webkit-transition: opacity 0.2s linear;\n transition: opacity 0.2s linear;\n background: linear-gradient(90deg,rgba(255,255,255,0.95),rgba(255,255,255,0.5),rgba(255,255,255,0));\n }\n\n .c0 .carousel button.carousel__back-button:hover:after,\n .c0 .carousel button.carousel__next-button:hover:after {\n opacity: 0.5;\n }\n\n .c0 .carousel button.carousel__next-button {\n left: auto;\n right: 0;\n }\n\n .c0 .carousel button.carousel__next-button:before {\n -webkit-transform: translate(0,-50%) rotate(-90deg);\n -ms-transform: translate(0,-50%) rotate(-90deg);\n transform: translate(0,-50%) rotate(-90deg);\n }\n\n .c0 .carousel button.carousel__next-button:after {\n left: auto;\n right: 0;\n background: linear-gradient(270deg,rgba(255,255,255,0.95),rgba(255,255,255,0.75),rgba(255,255,255,0));\n }\n\n .c0 .carousel .wymd-carousel {\n -webkit-transition: -webkit-transform 0.75s;\n -webkit-transition: -webkit-transform 0.75s;\n transition: -webkit-transform 0.75s;\n -o-transition: transform 0.75s;\n -webkit-transition: -webkit-transform 0.75s;\n -webkit-transition: transform 0.75s;\n transition: transform 0.75s;\n -webkit-transform: 0.75s;\n will-change: transform;\n }\n\n .c0 .carousel .wymd-carousel .last-slide .image-wrapper:after {\n content: none;\n }\n\n .c0 .carousel .wymd-carousel .carousel__slide {\n padding-bottom: 450px !important;\n }\n\n .c0 .carousel .wymd-carousel .carousel__slide .carousel__inner-slide {\n text-align: center;\n display: -webkit-inline-box;\n display: -webkit-inline-flex;\n display: -ms-inline-flexbox;\n display: inline-flex;\n -webkit-align-items: center;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: start;\n -webkit-justify-content: flex-start;\n -ms-flex-pack: start;\n justify-content: flex-start;\n -webkit-flex-direction: column;\n -ms-flex-direction: column;\n flex-direction: column;\n }\n\n @media (min-width:1024px) {\n .c2:first-child {\n font-size: 20px;\n line-height: 24.38px;\n }\n }\n\n @media (min-width:740px) {\n .c4 {\n font-size: 60px;\n line-height: 60px;\n }\n }\n\n @media (min-width:1024px) {\n .c4 {\n font-size: 64px;\n line-height: 68px;\n }\n }\n\n @media (min-width:740px) {\n .c6 {\n font-size: 17px;\n line-height: 19px;\n }\n }\n\n @media (min-width:1024px) {\n .c0 .carousel {\n padding-top: 2rem;\n }\n }\n\n @media (min-width:1024px) {\n .c0 .carousel button.carousel__back-button,\n .c0 .carousel button.carousel__next-button {\n width: 33.3% !important;\n }\n\n .c0 .carousel button.carousel__back-button:after,\n .c0 .carousel button.carousel__next-button:after {\n width: 100%;\n }\n }\n\n @media (min-width:740px) {\n .c0 .carousel .wymd-carousel .carousel__slide {\n padding-bottom: 500px !important;\n }\n }\n\n @media (min-width:1024px) {\n .c0 .carousel .wymd-carousel .carousel__slide {\n padding-bottom: 475px !important;\n }\n\n .c0 .carousel .wymd-carousel .carousel__slide .carousel__inner-slide > div:first-child {\n -webkit-transition: -webkit-transform 0.75s ease;\n -webkit-transition: transform 0.75s ease;\n transition: transform 0.75s ease;\n -webkit-transform: scale(0.5);\n -ms-transform: scale(0.5);\n transform: scale(0.5);\n }\n\n .c0 .carousel .wymd-carousel .carousel__slide .carousel__inner-slide > div:first-child:after {\n -webkit-transition: -webkit-transform 0.75s ease,width 0.75s ease,right 0.75s ease;\n -webkit-transition: transform 0.75s ease,width 0.75s ease,right 0.75s ease;\n transition: transform 0.75s ease,width 0.75s ease,right 0.75s ease;\n right: calc(-300% - 6px);\n -webkit-transform: scale(1);\n -ms-transform: scale(1);\n transform: scale(1);\n width: 300%;\n }\n\n .c0 .carousel .wymd-carousel .carousel__slide .carousel__inner-slide .all-text-wrapper {\n -webkit-transition: -webkit-transform 0.75s ease;\n -webkit-transition: transform 0.75s ease;\n transition: transform 0.75s ease;\n -webkit-transform-origin: top;\n -ms-transform-origin: top;\n transform-origin: top;\n -webkit-transform: translateY(calc(-50px + 5%)) scale(0.5);\n -ms-transform: translateY(calc(-50px + 5%)) scale(0.5);\n transform: translateY(calc(-50px + 5%)) scale(0.5);\n }\n\n .c0 .carousel .wymd-carousel .carousel__slide.carousel__slide--visible .carousel__inner-slide > div:first-child:after {\n right: calc(-250% - 6px);\n -webkit-transform: scale(1);\n -ms-transform: scale(1);\n transform: scale(1);\n width: 250%;\n }\n\n .c0 .carousel .wymd-carousel .carousel__slide.carousel__slide--visible + .carousel__slide--visible .carousel__inner-slide > div:first-child {\n -webkit-transform: scale(1);\n -ms-transform: scale(1);\n transform: scale(1);\n }\n\n .c0 .carousel .wymd-carousel .carousel__slide.carousel__slide--visible + .carousel__slide--visible .carousel__inner-slide > div:first-child:after {\n right: calc(-187% - 6px);\n -webkit-transform: scale(0.5);\n -ms-transform: scale(0.5);\n transform: scale(0.5);\n width: 250%;\n }\n\n .c0 .carousel .wymd-carousel .carousel__slide.carousel__slide--visible + .carousel__slide--visible .all-text-wrapper {\n -webkit-transform: translateY(0) scale(1);\n -ms-transform: translateY(0) scale(1);\n transform: translateY(0) scale(1);\n }\n\n .c0 .carousel .wymd-carousel .carousel__slide.carousel__slide--visible + .carousel__slide--visible + .carousel__slide--visible > div > div:first-child {\n -webkit-transform: scale(0.5);\n -ms-transform: scale(0.5);\n transform: scale(0.5);\n }\n\n .c0 .carousel .wymd-carousel .carousel__slide.carousel__slide--visible + .carousel__slide--visible + .carousel__slide--visible > div > div:first-child:after {\n right: calc(-250% - 6px);\n -webkit-transform: scale(1);\n -ms-transform: scale(1);\n transform: scale(1);\n width: 250%;\n }\n\n .c0 .carousel .wymd-carousel .carousel__slide.carousel__slide--visible + .carousel__slide--visible + .carousel__slide--visible .all-text-wrapper {\n -webkit-transform: translateY(calc(-50px + 5%)) scale(0.5);\n -ms-transform: translateY(calc(-50px + 5%)) scale(0.5);\n transform: translateY(calc(-50px + 5%)) scale(0.5);\n }\n }\n\n <div\n className=\"c0 CarouselWrapper\"\n id=\"7zdR84QkZwrTh9NWx2H926\"\n >\n <p\n className=\"c1 c2\"\n color=\"inherit\"\n size=\"s\"\n >\n Over the past two years, we\u2019ve supported\n </p>\n <h1\n className=\"c3 c4\"\n color=\"red\"\n size=\"s\"\n >\n 11.7 million people\n </h1>\n <p\n className=\"c5 c6\"\n color=\"inherit\"\n size=\"s\"\n >\n including...\n </p>\n </div>\n ");
16
16
  });
@@ -43,9 +43,10 @@ const testImpactSliderItems = exports.testImpactSliderItems = [{
43
43
  const carouselItemsComplete = exports.carouselItemsComplete = {
44
44
  __typename: 'ContentfulWhatYourMoneyDoesCarousel',
45
45
  contentful_id: '7zdR84QkZwrTh9NWx2H926',
46
- mobileHeight: 500,
47
- desktopHeight: 550,
48
- heading: 'Over the past two years, we’ve supported',
46
+ mobileHeight: 450,
47
+ tabletHeight: 500,
48
+ desktopHeight: 475,
49
+ headerCopy: 'Over the past two years, we’ve supported',
49
50
  peopleHelpedText: '11.7 million people',
50
51
  autoPlay: true,
51
52
  node1_Copy: 'NODE1: people in the UK experiencing poverty to access advice and support.',
@@ -56,7 +57,7 @@ const carouselItemsComplete = exports.carouselItemsComplete = {
56
57
  }
57
58
  },
58
59
  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',
59
- node2_Amount: '2,000',
60
+ node2_Amount: '750,000',
60
61
  node2_Image: {
61
62
  file: {
62
63
  url: '//images.ctfassets.net/zsfivwzfgl3t/45yv3H0XZsvsySHtutQ8vb/1fb6d1afe4037c7dccde743a747f6b4f/Test-Carousel-Icon.png'
@@ -136,9 +137,10 @@ const carouselItemsComplete = exports.carouselItemsComplete = {
136
137
  const carouselItemsIncomplete = exports.carouselItemsIncomplete = {
137
138
  __typename: 'ContentfulWhatYourMoneyDoesCarousel',
138
139
  contentful_id: '7zdR84QkZwrTh9NWx2H9262',
139
- mobileHeight: 500,
140
- desktopHeight: 550,
141
- heading: 'Over the past two years, we’ve supported',
140
+ mobileHeight: 450,
141
+ tabletHeight: 500,
142
+ desktopHeight: 475,
143
+ headerCopy: 'Over the past two years, we’ve supported',
142
144
  peopleHelpedText: '11.7 million people',
143
145
  autoPlay: false,
144
146
  node1_Copy: 'NODE1: people in the UK experiencing poverty to access advice and support.',
@@ -149,7 +151,7 @@ const carouselItemsIncomplete = exports.carouselItemsIncomplete = {
149
151
  }
150
152
  },
151
153
  node2_Copy: 'NODE2: people in the UK experiencing poverty to access advice and support.',
152
- node2_Amount: '2,000',
154
+ node2_Amount: '750,000',
153
155
  node2_Image: {
154
156
  file: {
155
157
  url: '//images.ctfassets.net/zsfivwzfgl3t/45yv3H0XZsvsySHtutQ8vb/1fb6d1afe4037c7dccde743a747f6b4f/Test-Carousel-Icon.png'
@@ -216,9 +218,10 @@ const carouselItemsIncomplete = exports.carouselItemsIncomplete = {
216
218
  const carouselItemsMinimal = exports.carouselItemsMinimal = {
217
219
  __typename: 'ContentfulWhatYourMoneyDoesCarousel',
218
220
  contentful_id: '7zdR84QkZwrTh9NWx2H9263',
219
- mobileHeight: 500,
220
- desktopHeight: 550,
221
- heading: 'Over the past two years, we’ve supported',
221
+ mobileHeight: 450,
222
+ tabletHeight: 500,
223
+ desktopHeight: 475,
224
+ headerCopy: 'Over the past two years, we’ve supported',
222
225
  peopleHelpedText: '11.7 million people',
223
226
  autoPlay: false,
224
227
  node1_Copy: 'NODE1: people in the UK experiencing poverty to access advice and support.',
@@ -229,7 +232,7 @@ const carouselItemsMinimal = exports.carouselItemsMinimal = {
229
232
  }
230
233
  },
231
234
  node2_Copy: 'NODE2: people in the UK experiencing poverty to access advice and support.',
232
- node2_Amount: '2,000',
235
+ node2_Amount: '750,000',
233
236
  node2_Image: {
234
237
  file: {
235
238
  url: '//images.ctfassets.net/zsfivwzfgl3t/45yv3H0XZsvsySHtutQ8vb/1fb6d1afe4037c7dccde743a747f6b4f/Test-Carousel-Icon.png'
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@comicrelief/component-library",
3
3
  "author": "Comic Relief Engineering Team",
4
- "version": "7.35.3",
4
+ "version": "7.35.5",
5
5
  "main": "dist/index.js",
6
6
  "license": "ISC",
7
7
  "jest": {
@@ -59,11 +59,12 @@ const WYMDCarousel = ({ data, data: { autoPlay, contentful_id: thisID } }) => {
59
59
  className="CarouselWrapper"
60
60
  id={thisID}
61
61
  mobileHeight={data.mobileHeight}
62
+ tabletHeight={data.tabletHeight}
62
63
  desktopHeight={data.desktopHeight}
63
64
  >
64
65
 
65
66
  <Heading tag="p" weight="bold">
66
- { data.heading}
67
+ { data.headerCopy}
67
68
  </Heading>
68
69
 
69
70
  <PeopleHelpedText tag="h1" family="Anton" uppercase weight="normal" color="red">
@@ -110,13 +111,13 @@ const WYMDCarousel = ({ data, data: { autoPlay, contentful_id: thisID } }) => {
110
111
 
111
112
  <div className="all-text-wrapper">
112
113
  <AmountWrapper>
113
- <Text tag="h1" family="Anton" uppercase weight="normal" size="super">
114
+ <Text tag="h1" family="Anton" uppercase weight="normal" size="xl">
114
115
  {theseItems[key].amount}
115
116
  </Text>
116
117
  </AmountWrapper>
117
118
 
118
119
  <CopyWrapper>
119
- <Text tag="p" size="l">
120
+ <Text tag="p" size="m">
120
121
  {theseItems[key].copy}
121
122
  </Text>
122
123
  </CopyWrapper>
@@ -230,10 +231,11 @@ WYMDCarousel.propTypes = {
230
231
  })
231
232
  }),
232
233
  autoPlay: PropTypes.bool.isRequired,
233
- heading: PropTypes.string.isRequired,
234
+ headerCopy: PropTypes.string.isRequired,
234
235
  peopleHelpedText: PropTypes.string.isRequired,
235
236
  contentful_id: PropTypes.string.isRequired,
236
237
  mobileHeight: PropTypes.number,
238
+ tabletHeight: PropTypes.number,
237
239
  desktopHeight: PropTypes.number
238
240
  }).isRequired
239
241
  };
@@ -10,9 +10,9 @@ const textScaleOffsetA = 50;
10
10
  const textScaleOffsetB = 5;
11
11
 
12
12
  const ImageWrapper = styled.div`
13
- width: 33%;
13
+ width: 45%;
14
14
  display: block;
15
- padding: 7%;
15
+ padding: 9%;
16
16
  border: 2px dashed #89888b;
17
17
  border-radius: 50%;
18
18
  position: relative;
@@ -27,8 +27,8 @@ const ImageWrapper = styled.div`
27
27
  position: absolute;
28
28
  content: '';
29
29
  top: 50%;
30
- width: 200%;
31
- right: calc(-200% - 8px);
30
+ width: 125%;
31
+ right: calc(-125% - 2px);
32
32
  height: 2px;
33
33
  border-bottom: 2px dashed #89888b;
34
34
  }
@@ -63,12 +63,12 @@ const Heading = styled(Text)`
63
63
  &:first-child {
64
64
  margin-bottom: ${spacing('l')};
65
65
  text-align: center;
66
- font-size: 20px;
67
- line-height: 23px;
66
+ font-size: 16px;
67
+ line-height: 19.5px;
68
68
 
69
69
  @media ${({ theme }) => theme.breakpoint('medium')} {
70
- font-size: 21px;
71
- line-height: 23px;
70
+ font-size: 20px;
71
+ line-height: 24.38px;
72
72
  }
73
73
  }
74
74
  `;
@@ -76,8 +76,8 @@ const Heading = styled(Text)`
76
76
  const PeopleHelpedText = styled(Text)`
77
77
  margin-bottom: ${spacing('l')};
78
78
  text-align: center;
79
- font-size: 40px;
80
- line-height: 40px;
79
+ font-size: 34px;
80
+ line-height: 37px;
81
81
 
82
82
  @media ${({ theme }) => theme.breakpoint('small')} {
83
83
  font-size: 60px;
@@ -85,16 +85,16 @@ const PeopleHelpedText = styled(Text)`
85
85
  }
86
86
 
87
87
  @media ${({ theme }) => theme.breakpoint('medium')} {
88
- font-size: 75px;
89
- line-height: 78px;
88
+ font-size: 64px;
89
+ line-height: 68px;
90
90
  }
91
91
  `;
92
92
 
93
93
  const Including = styled(Text)`
94
94
  margin-bottom: 0;
95
95
  text-align: center;
96
- font-size: 14px;
97
- line-height: 17px;
96
+ font-size: 12px;
97
+ line-height: 14.63px;
98
98
 
99
99
  @media ${({ theme }) => theme.breakpoint('small')} {
100
100
  font-size: 17px;
@@ -106,6 +106,12 @@ const Including = styled(Text)`
106
106
  const CarouselWrapper = styled.div`
107
107
  height: 100%;
108
108
  background-color: ${({ theme }) => theme.color('white')};
109
+ max-width: 760px;
110
+ padding: ${spacing('l')};
111
+ margin: 0 auto;
112
+
113
+ border-radius: 20px;
114
+ box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.15);
109
115
 
110
116
  .carousel {
111
117
  position: relative;
@@ -113,7 +119,7 @@ const CarouselWrapper = styled.div`
113
119
  padding-top: ${spacing('l')};
114
120
 
115
121
  @media ${({ theme }) => theme.breakpoint('medium')} {
116
- padding-top: ${spacing('lg')};
122
+ padding-top: ${spacing('l')};
117
123
  }
118
124
 
119
125
  button.carousel__back-button,
@@ -203,6 +209,10 @@ const CarouselWrapper = styled.div`
203
209
  .carousel__slide {
204
210
  padding-bottom: ${props => props.mobileHeight}px !important;
205
211
 
212
+ @media ${({ theme }) => theme.breakpoint('small')} {
213
+ padding-bottom: ${props => props.tabletHeight}px !important;
214
+ }
215
+
206
216
  @media ${({ theme }) => theme.breakpoint('medium')} {
207
217
  padding-bottom: ${props => props.desktopHeight}px !important;
208
218
 
@@ -49,27 +49,32 @@ it("renders correctly", () => {
49
49
  .c2:first-child {
50
50
  margin-bottom: 2rem;
51
51
  text-align: center;
52
- font-size: 20px;
53
- line-height: 23px;
52
+ font-size: 16px;
53
+ line-height: 19.5px;
54
54
  }
55
55
 
56
56
  .c4 {
57
57
  margin-bottom: 2rem;
58
58
  text-align: center;
59
- font-size: 40px;
60
- line-height: 40px;
59
+ font-size: 34px;
60
+ line-height: 37px;
61
61
  }
62
62
 
63
63
  .c6 {
64
64
  margin-bottom: 0;
65
65
  text-align: center;
66
- font-size: 14px;
67
- line-height: 17px;
66
+ font-size: 12px;
67
+ line-height: 14.63px;
68
68
  }
69
69
 
70
70
  .c0 {
71
71
  height: 100%;
72
72
  background-color: #FFFFFF;
73
+ max-width: 760px;
74
+ padding: 2rem;
75
+ margin: 0 auto;
76
+ border-radius: 20px;
77
+ box-shadow: 0px 0px 20px rgba(0,0,0,0.15);
73
78
  }
74
79
 
75
80
  .c0 .carousel {
@@ -157,7 +162,7 @@ it("renders correctly", () => {
157
162
  }
158
163
 
159
164
  .c0 .carousel .wymd-carousel .carousel__slide {
160
- padding-bottom: 500px !important;
165
+ padding-bottom: 450px !important;
161
166
  }
162
167
 
163
168
  .c0 .carousel .wymd-carousel .carousel__slide .carousel__inner-slide {
@@ -181,8 +186,8 @@ it("renders correctly", () => {
181
186
 
182
187
  @media (min-width:1024px) {
183
188
  .c2:first-child {
184
- font-size: 21px;
185
- line-height: 23px;
189
+ font-size: 20px;
190
+ line-height: 24.38px;
186
191
  }
187
192
  }
188
193
 
@@ -195,8 +200,8 @@ it("renders correctly", () => {
195
200
 
196
201
  @media (min-width:1024px) {
197
202
  .c4 {
198
- font-size: 75px;
199
- line-height: 78px;
203
+ font-size: 64px;
204
+ line-height: 68px;
200
205
  }
201
206
  }
202
207
 
@@ -209,7 +214,7 @@ it("renders correctly", () => {
209
214
 
210
215
  @media (min-width:1024px) {
211
216
  .c0 .carousel {
212
- padding-top: 3rem;
217
+ padding-top: 2rem;
213
218
  }
214
219
  }
215
220
 
@@ -225,9 +230,15 @@ it("renders correctly", () => {
225
230
  }
226
231
  }
227
232
 
233
+ @media (min-width:740px) {
234
+ .c0 .carousel .wymd-carousel .carousel__slide {
235
+ padding-bottom: 500px !important;
236
+ }
237
+ }
238
+
228
239
  @media (min-width:1024px) {
229
240
  .c0 .carousel .wymd-carousel .carousel__slide {
230
- padding-bottom: 550px !important;
241
+ padding-bottom: 475px !important;
231
242
  }
232
243
 
233
244
  .c0 .carousel .wymd-carousel .carousel__slide .carousel__inner-slide > div:first-child {
@@ -52,9 +52,10 @@ const testImpactSliderItems = [
52
52
  const carouselItemsComplete = {
53
53
  __typename: 'ContentfulWhatYourMoneyDoesCarousel',
54
54
  contentful_id: '7zdR84QkZwrTh9NWx2H926',
55
- mobileHeight: 500,
56
- desktopHeight: 550,
57
- heading: 'Over the past two years, we’ve supported',
55
+ mobileHeight: 450,
56
+ tabletHeight: 500,
57
+ desktopHeight: 475,
58
+ headerCopy: 'Over the past two years, we’ve supported',
58
59
  peopleHelpedText: '11.7 million people',
59
60
  autoPlay: true,
60
61
  node1_Copy: 'NODE1: people in the UK experiencing poverty to access advice and support.',
@@ -65,7 +66,7 @@ const carouselItemsComplete = {
65
66
  }
66
67
  },
67
68
  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',
69
+ node2_Amount: '750,000',
69
70
  node2_Image: {
70
71
  file: {
71
72
  url: '//images.ctfassets.net/zsfivwzfgl3t/45yv3H0XZsvsySHtutQ8vb/1fb6d1afe4037c7dccde743a747f6b4f/Test-Carousel-Icon.png'
@@ -146,9 +147,10 @@ const carouselItemsComplete = {
146
147
  const carouselItemsIncomplete = {
147
148
  __typename: 'ContentfulWhatYourMoneyDoesCarousel',
148
149
  contentful_id: '7zdR84QkZwrTh9NWx2H9262',
149
- mobileHeight: 500,
150
- desktopHeight: 550,
151
- heading: 'Over the past two years, we’ve supported',
150
+ mobileHeight: 450,
151
+ tabletHeight: 500,
152
+ desktopHeight: 475,
153
+ headerCopy: 'Over the past two years, we’ve supported',
152
154
  peopleHelpedText: '11.7 million people',
153
155
  autoPlay: false,
154
156
  node1_Copy: 'NODE1: people in the UK experiencing poverty to access advice and support.',
@@ -159,7 +161,7 @@ const carouselItemsIncomplete = {
159
161
  }
160
162
  },
161
163
  node2_Copy: 'NODE2: people in the UK experiencing poverty to access advice and support.',
162
- node2_Amount: '2,000',
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'
@@ -227,9 +229,10 @@ const carouselItemsIncomplete = {
227
229
  const carouselItemsMinimal = {
228
230
  __typename: 'ContentfulWhatYourMoneyDoesCarousel',
229
231
  contentful_id: '7zdR84QkZwrTh9NWx2H9263',
230
- mobileHeight: 500,
231
- desktopHeight: 550,
232
- heading: 'Over the past two years, we’ve supported',
232
+ mobileHeight: 450,
233
+ tabletHeight: 500,
234
+ desktopHeight: 475,
235
+ headerCopy: 'Over the past two years, we’ve supported',
233
236
  peopleHelpedText: '11.7 million people',
234
237
  autoPlay: false,
235
238
  node1_Copy: 'NODE1: people in the UK experiencing poverty to access advice and support.',
@@ -240,7 +243,7 @@ const carouselItemsMinimal = {
240
243
  }
241
244
  },
242
245
  node2_Copy: 'NODE2: people in the UK experiencing poverty to access advice and support.',
243
- node2_Amount: '2,000',
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'