@comicrelief/component-library 8.51.6 → 8.51.8

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.
@@ -59,11 +59,8 @@ const CTAMultiCard = _ref => {
59
59
  return /*#__PURE__*/_react.default.createElement(_CTAMultiCard.CardsQueryWrapper, null, /*#__PURE__*/_react.default.createElement(_CTAMultiCard.CardsSection, {
60
60
  backgroundColor: cardsBackground,
61
61
  paddingAbove: paddingAbove,
62
- paddingBelow: paddingBelow,
63
- isCarousel: carouselOfCards
64
- }, /*#__PURE__*/_react.default.createElement(_CTAMultiCard.CardsInner, {
65
- isCarousel: carouselOfCards
66
- }, /*#__PURE__*/_react.default.createElement(_CTAMultiCard.default, {
62
+ paddingBelow: paddingBelow
63
+ }, /*#__PURE__*/_react.default.createElement(_CTAMultiCard.CardsInner, null, /*#__PURE__*/_react.default.createElement(_CTAMultiCard.default, {
67
64
  columns: columns,
68
65
  isCarousel: carouselOfCards,
69
66
  useSplideCarousel: useSplideCarousel
@@ -71,8 +68,15 @@ const CTAMultiCard = _ref => {
71
68
  options: {
72
69
  arrows: false,
73
70
  pagination: false,
74
- drag: true,
75
- dragMinThreshold: 10,
71
+ // Reduce swipe "throw" as Matt felt the defaults are too much
72
+ // See https://splidejs.com/guides/options/
73
+ drag: 'free',
74
+ flickPower: 50,
75
+ perMove: 1,
76
+ dragMinThreshold: {
77
+ mouse: 50,
78
+ touch: 50
79
+ },
76
80
  gap: '1rem',
77
81
  fixedWidth: '309px',
78
82
  padding: {
@@ -39,9 +39,23 @@ const cardsWithRenderedBody = exampleData.cards.map(card => ({
39
39
  external: null
40
40
  }));
41
41
 
42
+ const cardsFour = [
43
+ ...cardsWithRenderedBody,
44
+ {
45
+ ...cardsWithRenderedBody[0],
46
+ id: 'example-4th-card',
47
+ title: 'Fourth card',
48
+ body: (
49
+ <Text tag="p">
50
+ Fourth card (added for layout testing)
51
+ </Text>
52
+ )
53
+ }
54
+ ];
55
+
42
56
  const data = {
43
57
  ...exampleData,
44
- cards: cardsWithRenderedBody,
58
+ cards: cardsFour,
45
59
  layout: "3 columns",
46
60
  carouselOfCards: true,
47
61
  backgroundColour: "grey_medium",
@@ -54,9 +68,51 @@ const data = {
54
68
  </div>;
55
69
  ```
56
70
 
71
+ ### CTAMultiCard: Carousel with just 2 cards (2 columns layout)
72
+
73
+ ```js
74
+ import CTAMultiCard from './CTAMultiCard';
75
+ import Text from '../../../Atoms/Text/Text';
76
+ import challengeExampleImage from '../../../../styleguide/assets/challenge-1.jpg';
77
+ const exampleData = require('./example_data.json');
78
+
79
+ // Map cards to include pre-rendered body content and processed image/link data
80
+ const cardsWithRenderedBody = exampleData.cards.map(card => ({
81
+ ...card,
82
+ body: (
83
+ <Text tag="p">
84
+ {card.body}
85
+ </Text>
86
+ ),
87
+ fallback: challengeExampleImage,
88
+ imageLow: "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAAPABQDASIAAhEBAxEB/8QAGAAAAwEBAAAAAAAAAAAAAAAAAAcIBAb/xAAjEAACAgIBBAIDAAAAAAAAAAABAgMEABEGBRIhMQdBE1Fh/8QAFQEBAQAAAAAAAAAAAAAAAAAAAgT/xAAaEQADAQADAAAAAAAAAAAAAAAAAQIDERIT/9oADAMBAAIRAxEAPwBzRcrjVY+0tonyT41nG8y+SLFTkgpQTVFpoqiRZGHc2/egf4RrMM12OHpNi3LsrAjO2vsKCcQtvkbTW570sMUt6xphJKnd+Ma9A78ZRWcS+SWNLpNMqAdQidVaSxErEA6ZgCNj9YZNPTOTpJW7+ovdlnLHyjgAD6GGPug+bP/Z",
89
+ images: `${challengeExampleImage} 678w`,
90
+ bgColour: "white",
91
+ description: "",
92
+ target: "self",
93
+ external: null
94
+ }));
95
+
96
+ const cardsTwo = cardsWithRenderedBody.slice(0, 2);
97
+
98
+ const dataTwoCards = {
99
+ ...exampleData,
100
+ cards: cardsTwo,
101
+ layout: "2 columns",
102
+ carouselOfCards: true,
103
+ backgroundColour: "grey_medium",
104
+ paddingAbove: '0rem',
105
+ paddingBelow: '0rem'
106
+ };
107
+
108
+ <div style={{ background: '#E1E2E3', width: '100%' }}>
109
+ <CTAMultiCard data={dataTwoCards} />
110
+ </div>;
111
+ ```
112
+
57
113
  ### CTAMultiCard: Desktop Grid View (2 columns) with large padding
58
114
 
59
- **NB: One card contains a lot of lorem ipsum text to demonstrate that all cards will match the height of the tallest sibling card. In mobile view, this example displays as a vertical stack (non-carousel). This example also demonstrates larger vertical padding via `paddingAbove` / `paddingBelow` set to `4rem`, so it will appear with more space above and below the cards.**
115
+ **NB: One card contains a lot of lorem ipsum text to demonstrate that all cards will match the height of the tallest sibling card. In mobile view, this example displays as a carousel. This example also demonstrates larger vertical padding via `paddingAbove` / `paddingBelow` set to `4rem`, so it will appear with more space above and below the cards.**
60
116
 
61
117
  ```js
62
118
  import CTAMultiCard from './CTAMultiCard';
@@ -96,7 +152,7 @@ const cardsWithRenderedBody = exampleData.cards.map((card, index) => ({
96
152
  const dataWithLongText = {
97
153
  ...exampleData,
98
154
  layout: "2 columns",
99
- carouselOfCards: false,
155
+ carouselOfCards: true,
100
156
  backgroundColour: "Transparent",
101
157
  cards: cardsWithRenderedBody,
102
158
  paddingAbove: '4rem',
@@ -108,7 +164,7 @@ const dataWithLongText = {
108
164
  </div>;
109
165
  ```
110
166
 
111
- ### CTAMultiCard: Wrap behaviour (3 columns, non-carousel)
167
+ ### CTAMultiCard: Wrap behaviour (3 columns)
112
168
 
113
169
  ```js
114
170
  import CTAMultiCard from './CTAMultiCard';
@@ -133,12 +189,36 @@ const cardsWithRenderedBody = exampleData.cards.map((card, index) => ({
133
189
  external: null
134
190
  }));
135
191
 
192
+ const cardsFive = [
193
+ ...cardsWithRenderedBody,
194
+ {
195
+ ...cardsWithRenderedBody[0],
196
+ id: 'wrap-example-3',
197
+ title: 'Fourth card',
198
+ body: (
199
+ <Text tag="p">
200
+ Short body text (4)
201
+ </Text>
202
+ )
203
+ },
204
+ {
205
+ ...cardsWithRenderedBody[1],
206
+ id: 'wrap-example-4',
207
+ title: 'Fifth card',
208
+ body: (
209
+ <Text tag="p">
210
+ Short body text (5)
211
+ </Text>
212
+ )
213
+ }
214
+ ];
215
+
136
216
  const dataWrapExample = {
137
217
  ...exampleData,
138
218
  layout: "3 columns",
139
- carouselOfCards: false,
219
+ carouselOfCards: true,
140
220
  backgroundColour: "rnd_26_light_pink",
141
- cards: cardsWithRenderedBody,
221
+ cards: cardsFive,
142
222
  paddingAbove: '2rem',
143
223
  paddingBelow: '2rem'
144
224
  };
@@ -14,7 +14,7 @@ const CardsQueryWrapper = exports.CardsQueryWrapper = _styledComponents.default.
14
14
  const CardsSection = exports.CardsSection = _styledComponents.default.div.withConfig({
15
15
  displayName: "CTAMultiCardstyle__CardsSection",
16
16
  componentId: "sc-gsdqzv-1"
17
- })(["width:100%;background:", ";padding-top:", ";padding-bottom:", ";"], _ref => {
17
+ })(["width:100%;background:", ";padding-top:", ";padding-bottom:", ";padding-inline:1rem;@media ", "{padding-inline:2rem;}@media ", "{padding-inline:4rem;}"], _ref => {
18
18
  let {
19
19
  theme,
20
20
  backgroundColor
@@ -30,69 +30,49 @@ const CardsSection = exports.CardsSection = _styledComponents.default.div.withCo
30
30
  paddingBelow
31
31
  } = _ref3;
32
32
  return paddingBelow;
33
- });
34
- const CardsInner = exports.CardsInner = _styledComponents.default.div.withConfig({
35
- displayName: "CTAMultiCardstyle__CardsInner",
36
- componentId: "sc-gsdqzv-2"
37
- })(["width:100%;max-width:1152px;margin:0 auto;", " ", ""], _ref4 => {
33
+ }, _ref4 => {
38
34
  let {
39
- isCarousel
35
+ theme
40
36
  } = _ref4;
41
- return !isCarousel && (0, _styledComponents.css)(["padding-inline:1rem;@media ", "{padding-inline:2rem;}"], _ref5 => {
42
- let {
43
- theme
44
- } = _ref5;
45
- return theme.allBreakpoints('M');
46
- });
47
- }, _ref6 => {
37
+ return theme.breakpoints2026('M');
38
+ }, _ref5 => {
48
39
  let {
49
- isCarousel
50
- } = _ref6;
51
- return isCarousel && (0, _styledComponents.css)(["@media ", "{padding-inline:2rem;}"], _ref7 => {
52
- let {
53
- theme
54
- } = _ref7;
55
- return theme.allBreakpoints('L');
56
- });
40
+ theme
41
+ } = _ref5;
42
+ return theme.breakpoints2026('L');
57
43
  });
44
+ const CardsInner = exports.CardsInner = _styledComponents.default.div.withConfig({
45
+ displayName: "CTAMultiCardstyle__CardsInner",
46
+ componentId: "sc-gsdqzv-2"
47
+ })(["width:100%;max-width:1152px;margin:0 auto;"]);
58
48
  const CardsContainer = _styledComponents.default.div.withConfig({
59
49
  displayName: "CTAMultiCardstyle__CardsContainer",
60
50
  componentId: "sc-gsdqzv-3"
61
- })(["display:flex;flex-direction:column;width:100%;gap:1rem;@media ", "{flex-direction:row;flex-wrap:wrap;justify-content:center;align-items:stretch;width:100%;max-width:100%;margin:0 auto;}@media ", "{column-gap:2rem;}", " ", " @media ", "{", "}"], _ref8 => {
51
+ })(["display:flex;flex-direction:column;width:100%;gap:1rem;@media ", "{flex-direction:row;flex-wrap:wrap;justify-content:center;align-items:stretch;}@media ", "{column-gap:2rem;row-gap:2rem;}", " ", ""], _ref6 => {
62
52
  let {
63
53
  theme
64
- } = _ref8;
54
+ } = _ref6;
65
55
  return theme.allBreakpoints('M');
66
- }, _ref9 => {
56
+ }, _ref7 => {
67
57
  let {
68
58
  theme
69
- } = _ref9;
59
+ } = _ref7;
70
60
  return theme.allBreakpoints('L');
71
- }, _ref10 => {
61
+ }, _ref8 => {
72
62
  let {
73
- isCarousel,
74
- columns
75
- } = _ref10;
76
- return !isCarousel && columns === 2 && (0, _styledComponents.css)(["@media (min-width:", "px){display:grid;grid-template-columns:repeat(2,minmax(443px,560px));justify-content:center;align-items:stretch;column-gap:2rem;row-gap:2rem;width:100%;max-width:100%;margin:0;& > *:last-child:nth-child(odd){grid-column:1 / -1;justify-self:center;width:min(100%,560px);}}"], _allBreakpoints.breakpointValues.L);
77
- }, _ref11 => {
63
+ columns,
64
+ useSplideCarousel
65
+ } = _ref8;
66
+ return !useSplideCarousel && columns === 2 && (0, _styledComponents.css)(["@media (min-width:", "px){display:grid;grid-template-columns:repeat(2,minmax(443px,560px));justify-content:center;align-items:stretch;column-gap:2rem;row-gap:2rem;width:100%;max-width:100%;margin:0;& > *:last-child:nth-child(odd){grid-column:1 / -1;justify-self:center;width:min(100%,560px);}}"], _allBreakpoints.breakpointValues.L);
67
+ }, _ref9 => {
78
68
  let {
79
69
  isCarousel
80
- } = _ref11;
81
- return isCarousel && (0, _styledComponents.css)(["@media (max-width:", "px){", "}"], _allBreakpoints.breakpointValues.L - 1, _ref12 => {
70
+ } = _ref9;
71
+ return isCarousel && (0, _styledComponents.css)(["@media (max-width:", "px){", "}"], _allBreakpoints.breakpointValues.L - 1, _ref10 => {
82
72
  let {
83
73
  useSplideCarousel
84
- } = _ref12;
85
- return useSplideCarousel ? (0, _styledComponents.css)(["display:block;cursor:grab;width:100%;margin:0;max-width:100%;padding:0.75rem 1rem;gap:0;.splide__list{align-items:stretch;}.splide__slide{display:flex;height:auto;}"]) : (0, _styledComponents.css)(["flex-direction:row;flex-wrap:nowrap;justify-content:flex-start;width:100%;margin:0;max-width:100%;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;scroll-snap-type:x mandatory;padding:0.75rem 1rem;scrollbar-width:none;-ms-overflow-style:none;&::-webkit-scrollbar{display:none;}"]);
74
+ } = _ref10;
75
+ return useSplideCarousel ? (0, _styledComponents.css)(["display:block;cursor:grab;width:100%;max-width:100%;gap:0;.splide,.splide__track{overflow:visible;}.splide__list{align-items:stretch;}.splide:not(.is-overflow) .splide__list{justify-content:center;}.splide__slide{display:flex;height:auto;}"]) : (0, _styledComponents.css)(["flex-direction:row;flex-wrap:nowrap;justify-content:flex-start;width:100%;max-width:100%;overflow-x:auto;overflow-y:visible;-webkit-overflow-scrolling:touch;scroll-snap-type:x mandatory;scrollbar-width:none;-ms-overflow-style:none;&::-webkit-scrollbar{display:none;}"]);
86
76
  });
87
- }, _ref13 => {
88
- let {
89
- theme
90
- } = _ref13;
91
- return theme.allBreakpoints('XL');
92
- }, _ref14 => {
93
- let {
94
- columns
95
- } = _ref14;
96
- return columns === 3 && (0, _styledComponents.css)(["display:grid;justify-content:center;align-items:stretch;grid-template-columns:repeat(3,minmax(0,363px));width:100%;margin:0 auto;max-width:100%;"]);
97
77
  });
98
78
  var _default = exports.default = CardsContainer;
@@ -5,19 +5,19 @@ exports[`handles data structure correctly 1`] = `
5
5
  className="CTAMultiCardstyle__CardsQueryWrapper-sc-gsdqzv-0 qqegF"
6
6
  >
7
7
  <div
8
- className="CTAMultiCardstyle__CardsSection-sc-gsdqzv-1 ehBqzi"
8
+ className="CTAMultiCardstyle__CardsSection-sc-gsdqzv-1 kCDlNQ"
9
9
  >
10
10
  <div
11
- className="CTAMultiCardstyle__CardsInner-sc-gsdqzv-2 jdzsUU"
11
+ className="CTAMultiCardstyle__CardsInner-sc-gsdqzv-2 iFzzWM"
12
12
  >
13
13
  <div
14
- className="CTAMultiCardstyle__CardsContainer-sc-gsdqzv-3 cVaqKX"
14
+ className="CTAMultiCardstyle__CardsContainer-sc-gsdqzv-3 gAuYUa"
15
15
  >
16
16
  <div
17
- className="CTACardstyle__CardWrapper-sc-si8xx1-5 zWgWI"
17
+ className="CTACardstyle__CardWrapper-sc-si8xx1-5 jZEwGJ"
18
18
  >
19
19
  <a
20
- className="CTACardstyle__CardLink-sc-si8xx1-4 cQAxla"
20
+ className="CTACardstyle__CardLink-sc-si8xx1-4 eIrLL"
21
21
  href="/test"
22
22
  rel={null}
23
23
  target="self"
@@ -95,7 +95,7 @@ exports[`handles data structure correctly 1`] = `
95
95
  </a>
96
96
  </div>
97
97
  <div
98
- className="CTACardstyle__CardWrapper-sc-si8xx1-5 zWgWI"
98
+ className="CTACardstyle__CardWrapper-sc-si8xx1-5 jZEwGJ"
99
99
  >
100
100
  <div
101
101
  className="CTACardstyle__CardLink-sc-si8xx1-4 lbrljd"
@@ -141,10 +141,10 @@ exports[`handles data structure correctly 1`] = `
141
141
  </div>
142
142
  </div>
143
143
  <div
144
- className="CTACardstyle__CardWrapper-sc-si8xx1-5 zWgWI"
144
+ className="CTACardstyle__CardWrapper-sc-si8xx1-5 jZEwGJ"
145
145
  >
146
146
  <a
147
- className="CTACardstyle__CardLink-sc-si8xx1-4 cQAxla"
147
+ className="CTACardstyle__CardLink-sc-si8xx1-4 eIrLL"
148
148
  href="/test"
149
149
  rel={null}
150
150
  target="self"
@@ -222,10 +222,10 @@ exports[`handles data structure correctly 1`] = `
222
222
  </a>
223
223
  </div>
224
224
  <div
225
- className="CTACardstyle__CardWrapper-sc-si8xx1-5 zWgWI"
225
+ className="CTACardstyle__CardWrapper-sc-si8xx1-5 jZEwGJ"
226
226
  >
227
227
  <a
228
- className="CTACardstyle__CardLink-sc-si8xx1-4 cQAxla"
228
+ className="CTACardstyle__CardLink-sc-si8xx1-4 eIrLL"
229
229
  href="/test-no-image"
230
230
  rel={null}
231
231
  target="self"
@@ -288,19 +288,19 @@ exports[`renders 2 columns layout correctly 1`] = `
288
288
  className="CTAMultiCardstyle__CardsQueryWrapper-sc-gsdqzv-0 qqegF"
289
289
  >
290
290
  <div
291
- className="CTAMultiCardstyle__CardsSection-sc-gsdqzv-1 eznbgX"
291
+ className="CTAMultiCardstyle__CardsSection-sc-gsdqzv-1 cywbFh"
292
292
  >
293
293
  <div
294
- className="CTAMultiCardstyle__CardsInner-sc-gsdqzv-2 jdzsUU"
294
+ className="CTAMultiCardstyle__CardsInner-sc-gsdqzv-2 iFzzWM"
295
295
  >
296
296
  <div
297
- className="CTAMultiCardstyle__CardsContainer-sc-gsdqzv-3 kZJZoQ"
297
+ className="CTAMultiCardstyle__CardsContainer-sc-gsdqzv-3 jrSYsC"
298
298
  >
299
299
  <div
300
- className="CTACardstyle__CardWrapper-sc-si8xx1-5 ipBvGj"
300
+ className="CTACardstyle__CardWrapper-sc-si8xx1-5 xdzCi"
301
301
  >
302
302
  <a
303
- className="CTACardstyle__CardLink-sc-si8xx1-4 cQAxla"
303
+ className="CTACardstyle__CardLink-sc-si8xx1-4 eIrLL"
304
304
  href="/test"
305
305
  rel={null}
306
306
  target="self"
@@ -378,7 +378,7 @@ exports[`renders 2 columns layout correctly 1`] = `
378
378
  </a>
379
379
  </div>
380
380
  <div
381
- className="CTACardstyle__CardWrapper-sc-si8xx1-5 ipBvGj"
381
+ className="CTACardstyle__CardWrapper-sc-si8xx1-5 xdzCi"
382
382
  >
383
383
  <div
384
384
  className="CTACardstyle__CardLink-sc-si8xx1-4 lbrljd"
@@ -424,10 +424,10 @@ exports[`renders 2 columns layout correctly 1`] = `
424
424
  </div>
425
425
  </div>
426
426
  <div
427
- className="CTACardstyle__CardWrapper-sc-si8xx1-5 ipBvGj"
427
+ className="CTACardstyle__CardWrapper-sc-si8xx1-5 xdzCi"
428
428
  >
429
429
  <a
430
- className="CTACardstyle__CardLink-sc-si8xx1-4 cQAxla"
430
+ className="CTACardstyle__CardLink-sc-si8xx1-4 eIrLL"
431
431
  href="/test"
432
432
  rel={null}
433
433
  target="self"
@@ -505,10 +505,10 @@ exports[`renders 2 columns layout correctly 1`] = `
505
505
  </a>
506
506
  </div>
507
507
  <div
508
- className="CTACardstyle__CardWrapper-sc-si8xx1-5 ipBvGj"
508
+ className="CTACardstyle__CardWrapper-sc-si8xx1-5 xdzCi"
509
509
  >
510
510
  <a
511
- className="CTACardstyle__CardLink-sc-si8xx1-4 cQAxla"
511
+ className="CTACardstyle__CardLink-sc-si8xx1-4 eIrLL"
512
512
  href="/test-no-image"
513
513
  rel={null}
514
514
  target="self"
@@ -571,19 +571,19 @@ exports[`renders carousel mode correctly 1`] = `
571
571
  className="CTAMultiCardstyle__CardsQueryWrapper-sc-gsdqzv-0 qqegF"
572
572
  >
573
573
  <div
574
- className="CTAMultiCardstyle__CardsSection-sc-gsdqzv-1 eznbgX"
574
+ className="CTAMultiCardstyle__CardsSection-sc-gsdqzv-1 cywbFh"
575
575
  >
576
576
  <div
577
- className="CTAMultiCardstyle__CardsInner-sc-gsdqzv-2 fEcgRr"
577
+ className="CTAMultiCardstyle__CardsInner-sc-gsdqzv-2 iFzzWM"
578
578
  >
579
579
  <div
580
- className="CTAMultiCardstyle__CardsContainer-sc-gsdqzv-3 dhfXac"
580
+ className="CTAMultiCardstyle__CardsContainer-sc-gsdqzv-3 fqrDP"
581
581
  >
582
582
  <div
583
- className="CTACardstyle__CardWrapper-sc-si8xx1-5 kgXkPu"
583
+ className="CTACardstyle__CardWrapper-sc-si8xx1-5 eieQSs"
584
584
  >
585
585
  <a
586
- className="CTACardstyle__CardLink-sc-si8xx1-4 cQAxla"
586
+ className="CTACardstyle__CardLink-sc-si8xx1-4 eIrLL"
587
587
  href="/test"
588
588
  rel={null}
589
589
  target="self"
@@ -661,7 +661,7 @@ exports[`renders carousel mode correctly 1`] = `
661
661
  </a>
662
662
  </div>
663
663
  <div
664
- className="CTACardstyle__CardWrapper-sc-si8xx1-5 kgXkPu"
664
+ className="CTACardstyle__CardWrapper-sc-si8xx1-5 eieQSs"
665
665
  >
666
666
  <div
667
667
  className="CTACardstyle__CardLink-sc-si8xx1-4 lbrljd"
@@ -707,10 +707,10 @@ exports[`renders carousel mode correctly 1`] = `
707
707
  </div>
708
708
  </div>
709
709
  <div
710
- className="CTACardstyle__CardWrapper-sc-si8xx1-5 kgXkPu"
710
+ className="CTACardstyle__CardWrapper-sc-si8xx1-5 eieQSs"
711
711
  >
712
712
  <a
713
- className="CTACardstyle__CardLink-sc-si8xx1-4 cQAxla"
713
+ className="CTACardstyle__CardLink-sc-si8xx1-4 eIrLL"
714
714
  href="/test"
715
715
  rel={null}
716
716
  target="self"
@@ -788,10 +788,10 @@ exports[`renders carousel mode correctly 1`] = `
788
788
  </a>
789
789
  </div>
790
790
  <div
791
- className="CTACardstyle__CardWrapper-sc-si8xx1-5 kgXkPu"
791
+ className="CTACardstyle__CardWrapper-sc-si8xx1-5 eieQSs"
792
792
  >
793
793
  <a
794
- className="CTACardstyle__CardLink-sc-si8xx1-4 cQAxla"
794
+ className="CTACardstyle__CardLink-sc-si8xx1-4 eIrLL"
795
795
  href="/test-no-image"
796
796
  rel={null}
797
797
  target="self"
@@ -854,19 +854,19 @@ exports[`renders correctly with data prop 1`] = `
854
854
  className="CTAMultiCardstyle__CardsQueryWrapper-sc-gsdqzv-0 qqegF"
855
855
  >
856
856
  <div
857
- className="CTAMultiCardstyle__CardsSection-sc-gsdqzv-1 eznbgX"
857
+ className="CTAMultiCardstyle__CardsSection-sc-gsdqzv-1 cywbFh"
858
858
  >
859
859
  <div
860
- className="CTAMultiCardstyle__CardsInner-sc-gsdqzv-2 jdzsUU"
860
+ className="CTAMultiCardstyle__CardsInner-sc-gsdqzv-2 iFzzWM"
861
861
  >
862
862
  <div
863
- className="CTAMultiCardstyle__CardsContainer-sc-gsdqzv-3 cVaqKX"
863
+ className="CTAMultiCardstyle__CardsContainer-sc-gsdqzv-3 fqrDP"
864
864
  >
865
865
  <div
866
- className="CTACardstyle__CardWrapper-sc-si8xx1-5 zWgWI"
866
+ className="CTACardstyle__CardWrapper-sc-si8xx1-5 eieQSs"
867
867
  >
868
868
  <a
869
- className="CTACardstyle__CardLink-sc-si8xx1-4 cQAxla"
869
+ className="CTACardstyle__CardLink-sc-si8xx1-4 eIrLL"
870
870
  href="/test"
871
871
  rel={null}
872
872
  target="self"
@@ -944,7 +944,7 @@ exports[`renders correctly with data prop 1`] = `
944
944
  </a>
945
945
  </div>
946
946
  <div
947
- className="CTACardstyle__CardWrapper-sc-si8xx1-5 zWgWI"
947
+ className="CTACardstyle__CardWrapper-sc-si8xx1-5 eieQSs"
948
948
  >
949
949
  <div
950
950
  className="CTACardstyle__CardLink-sc-si8xx1-4 lbrljd"
@@ -990,10 +990,10 @@ exports[`renders correctly with data prop 1`] = `
990
990
  </div>
991
991
  </div>
992
992
  <div
993
- className="CTACardstyle__CardWrapper-sc-si8xx1-5 zWgWI"
993
+ className="CTACardstyle__CardWrapper-sc-si8xx1-5 eieQSs"
994
994
  >
995
995
  <a
996
- className="CTACardstyle__CardLink-sc-si8xx1-4 cQAxla"
996
+ className="CTACardstyle__CardLink-sc-si8xx1-4 eIrLL"
997
997
  href="/test"
998
998
  rel={null}
999
999
  target="self"
@@ -1071,10 +1071,10 @@ exports[`renders correctly with data prop 1`] = `
1071
1071
  </a>
1072
1072
  </div>
1073
1073
  <div
1074
- className="CTACardstyle__CardWrapper-sc-si8xx1-5 zWgWI"
1074
+ className="CTACardstyle__CardWrapper-sc-si8xx1-5 eieQSs"
1075
1075
  >
1076
1076
  <a
1077
- className="CTACardstyle__CardLink-sc-si8xx1-4 cQAxla"
1077
+ className="CTACardstyle__CardLink-sc-si8xx1-4 eIrLL"
1078
1078
  href="/test-no-image"
1079
1079
  rel={null}
1080
1080
  target="self"
@@ -5,7 +5,7 @@
5
5
  "layout": "3 columns",
6
6
  "columnsOnMd": false,
7
7
  "paddingOptions": "Both Off",
8
- "carouselOfCards": false,
8
+ "carouselOfCards": true,
9
9
  "cards": [
10
10
  {
11
11
  "id": "fd8ef3fc-7d0d-531b-b2d2-9ac5f40d3d14",
@@ -131,9 +131,9 @@ exports[`renders correctly with data prop 1`] = `
131
131
  }
132
132
 
133
133
  .c3 img {
134
- -webkit-transition: -webkit-transform 0.4s cubic-bezier(0.22,1,0.36,1);
135
- -webkit-transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
136
- transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
134
+ -webkit-transition: -webkit-transform 0.3s cubic-bezier(0.65,-0.19,0.37,1.16);
135
+ -webkit-transition: transform 0.3s cubic-bezier(0.65,-0.19,0.37,1.16);
136
+ transition: transform 0.3s cubic-bezier(0.65,-0.19,0.37,1.16);
137
137
  }
138
138
 
139
139
  .c2 {
@@ -337,6 +337,9 @@ exports[`renders correctly with data prop 1`] = `
337
337
  -webkit-transform-origin: center;
338
338
  -ms-transform-origin: center;
339
339
  transform-origin: center;
340
+ -webkit-transition: -webkit-transform 0.4s cubic-bezier(0.68,-1.15,0.265,2.35);
341
+ -webkit-transition: transform 0.4s cubic-bezier(0.68,-1.15,0.265,2.35);
342
+ transition: transform 0.4s cubic-bezier(0.68,-1.15,0.265,2.35);
340
343
  }
341
344
 
342
345
  .c3:hover,
@@ -351,9 +354,9 @@ exports[`renders correctly with data prop 1`] = `
351
354
  }
352
355
 
353
356
  .c3:hover .c4 img {
354
- -webkit-transform: scale(1.11);
355
- -ms-transform: scale(1.11);
356
- transform: scale(1.11);
357
+ -webkit-transform: scale(1.06);
358
+ -ms-transform: scale(1.06);
359
+ transform: scale(1.06);
357
360
  }
358
361
 
359
362
  .c3:hover .c13 {
@@ -619,9 +622,9 @@ exports[`renders correctly without image 1`] = `
619
622
  }
620
623
 
621
624
  .c3 img {
622
- -webkit-transition: -webkit-transform 0.4s cubic-bezier(0.22,1,0.36,1);
623
- -webkit-transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
624
- transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
625
+ -webkit-transition: -webkit-transform 0.3s cubic-bezier(0.65,-0.19,0.37,1.16);
626
+ -webkit-transition: transform 0.3s cubic-bezier(0.65,-0.19,0.37,1.16);
627
+ transition: transform 0.3s cubic-bezier(0.65,-0.19,0.37,1.16);
625
628
  }
626
629
 
627
630
  .c2 {
@@ -787,6 +790,9 @@ exports[`renders correctly without image 1`] = `
787
790
  -webkit-transform-origin: center;
788
791
  -ms-transform-origin: center;
789
792
  transform-origin: center;
793
+ -webkit-transition: -webkit-transform 0.4s cubic-bezier(0.68,-1.15,0.265,2.35);
794
+ -webkit-transition: transform 0.4s cubic-bezier(0.68,-1.15,0.265,2.35);
795
+ transition: transform 0.4s cubic-bezier(0.68,-1.15,0.265,2.35);
790
796
  }
791
797
 
792
798
  .c3:hover,