@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.
@@ -110,7 +110,7 @@ const CardLink = exports.CardLink = _styledComponents.default.a.withConfig({
110
110
  let {
111
111
  isInteractive
112
112
  } = _ref16;
113
- return isInteractive && (0, _styledComponents.css)(["img{transition:transform 0.4s cubic-bezier(0.22,1,0.36,1);}@media ", "{", ";&:hover{box-shadow:0 0 1.5rem rgba(0,0,0,0.25);", " img{transform:scale(1.11);}", "{text-decoration:none;@media (min-width:", "px){color:", ";}}", "{opacity:1;}", "{@media (min-width:", "px){background:", ";}}}}"], _ref17 => {
113
+ return isInteractive && (0, _styledComponents.css)(["img{transition:transform 0.3s cubic-bezier(0.65,-0.19,0.37,1.16);}@media ", "{", ";transition:transform 0.4s cubic-bezier(0.68,-1.15,0.265,2.35);&:hover{box-shadow:0 0 1.5rem rgba(0,0,0,0.25);", " img{transform:scale(1.06);}", "{text-decoration:none;@media (min-width:", "px){color:", ";}}", "{opacity:1;}", "{@media (min-width:", "px){background:", ";}}}}"], _ref17 => {
114
114
  let {
115
115
  theme
116
116
  } = _ref17;
@@ -156,7 +156,7 @@ const CardWrapper = exports.CardWrapper = _styledComponents.default.div.withConf
156
156
  isCarousel,
157
157
  isFullWidth
158
158
  } = _ref24;
159
- return !isCarousel && !isFullWidth && (0, _styledComponents.css)(["@media (max-width:", "px){width:100%;max-width:100%;margin:0;}@media (min-width:", "px) and (max-width:", "px){align-self:stretch;", "}", ""], _allBreakpoints.breakpointValues.M - 1, _allBreakpoints.breakpointValues.M, _allBreakpoints.breakpointValues.L - 1, _ref25 => {
159
+ return !isCarousel && !isFullWidth && (0, _styledComponents.css)(["@media (max-width:", "px){width:100%;max-width:100%;margin:0;}@media (min-width:", "px) and (max-width:", "px){align-self:stretch;", " ", "}"], _allBreakpoints.breakpointValues.M - 1, _allBreakpoints.breakpointValues.M, _allBreakpoints.breakpointValues.L - 1, _ref25 => {
160
160
  let {
161
161
  columns
162
162
  } = _ref25;
@@ -165,55 +165,45 @@ const CardWrapper = exports.CardWrapper = _styledComponents.default.div.withConf
165
165
  let {
166
166
  columns
167
167
  } = _ref26;
168
- return columns === 3 ? (0, _styledComponents.css)(["@container cta-multi-card (max-width:633px){width:100%;max-width:100%;flex:1 1 100%;}"]) : (0, _styledComponents.css)(["@container cta-multi-card (max-width:705px){width:100%;max-width:100%;flex:1 1 100%;}"]);
168
+ return columns === 2 && (0, _styledComponents.css)(["@container cta-multi-card (max-width:705px){flex:0 0 100%;width:min(100%,345px);max-width:345px;margin-inline:auto;}"]);
169
169
  });
170
170
  }, _ref27 => {
171
171
  let {
172
172
  isFullWidth
173
173
  } = _ref27;
174
- return !isFullWidth && (0, _styledComponents.css)(["@media (min-width:", "px) and (max-width:", "px){", " align-self:stretch;}@media ", "{", "}"], _allBreakpoints.breakpointValues.L, _allBreakpoints.breakpointValues.XL - 1, _ref28 => {
174
+ return !isFullWidth && (0, _styledComponents.css)(["@media (min-width:", "px){", " align-self:stretch;}"], _allBreakpoints.breakpointValues.L, _ref28 => {
175
175
  let {
176
176
  columns
177
177
  } = _ref28;
178
178
  return columns === 3 ? (0, _styledComponents.css)(["flex:0 1 auto;width:clamp(286px,calc((100% - 4rem) / 3),363px);"]) : (0, _styledComponents.css)(["flex:0 1 auto;width:100%;"]);
179
- }, _ref29 => {
180
- let {
181
- theme
182
- } = _ref29;
183
- return theme.allBreakpoints('XL');
184
- }, _ref30 => {
185
- let {
186
- columns
187
- } = _ref30;
188
- return columns === 3 && (0, _styledComponents.css)(["width:100%;max-width:363px;"]);
189
179
  });
190
180
  });
191
181
  const CopyAndLinkSection = exports.CopyAndLinkSection = _styledComponents.default.div.withConfig({
192
182
  displayName: "CTACardstyle__CopyAndLinkSection",
193
183
  componentId: "sc-si8xx1-6"
194
- })(["width:100%;background:", ";display:flex;flex-direction:column;padding:2rem;flex:1;min-height:0;border-radius:0 0 1rem 1rem;", ""], _ref31 => {
184
+ })(["width:100%;background:", ";display:flex;flex-direction:column;padding:2rem;flex:1;min-height:0;border-radius:0 0 1rem 1rem;", ""], _ref29 => {
195
185
  let {
196
186
  theme
197
- } = _ref31;
187
+ } = _ref29;
198
188
  return theme.color('white');
199
- }, _ref32 => {
189
+ }, _ref30 => {
200
190
  let {
201
191
  isSingleCard
202
- } = _ref32;
203
- return isSingleCard && (0, _styledComponents.css)(["@media ", "{width:calc(200% / 3);min-width:384px;max-width:650px;flex:1;border-radius:0 1rem 1rem 0;}@media ", "{min-width:541px;max-width:790px;}@media ", "{width:789px;}"], _ref33 => {
192
+ } = _ref30;
193
+ return isSingleCard && (0, _styledComponents.css)(["@media ", "{width:calc(200% / 3);min-width:384px;max-width:650px;flex:1;border-radius:0 1rem 1rem 0;}@media ", "{min-width:541px;max-width:790px;}@media ", "{width:789px;}"], _ref31 => {
204
194
  let {
205
195
  theme
206
- } = _ref33;
196
+ } = _ref31;
207
197
  return theme.breakpoints2026('M');
208
- }, _ref34 => {
198
+ }, _ref32 => {
209
199
  let {
210
200
  theme
211
- } = _ref34;
201
+ } = _ref32;
212
202
  return theme.breakpoints2026('L');
213
- }, _ref35 => {
203
+ }, _ref33 => {
214
204
  let {
215
205
  theme
216
- } = _ref35;
206
+ } = _ref33;
217
207
  return theme.breakpoints2026('XL');
218
208
  });
219
209
  });
@@ -224,15 +214,15 @@ const Copy = exports.Copy = _styledComponents.default.div.withConfig({
224
214
  const CardLabel = exports.CardLabel = _styledComponents.default.div.withConfig({
225
215
  displayName: "CTACardstyle__CardLabel",
226
216
  componentId: "sc-si8xx1-8"
227
- })(["font-family:", ";font-size:14px;color:", ";"], _ref36 => {
217
+ })(["font-family:", ";font-size:14px;color:", ";"], _ref34 => {
228
218
  let {
229
219
  theme
230
- } = _ref36;
220
+ } = _ref34;
231
221
  return theme.fontFamilies('Montserrat');
232
- }, _ref37 => {
222
+ }, _ref35 => {
233
223
  let {
234
224
  theme
235
- } = _ref37;
225
+ } = _ref35;
236
226
  return theme.color('grey_3');
237
227
  });
238
228
  const CTA = exports.CTA = _styledComponents.default.div.withConfig({
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": "8.51.6",
4
+ "version": "8.51.8",
5
5
  "main": "dist/index.js",
6
6
  "license": "ISC",
7
7
  "jest": {
@@ -56,9 +56,8 @@ const CTAMultiCard = ({ data }) => {
56
56
  backgroundColor={cardsBackground}
57
57
  paddingAbove={paddingAbove}
58
58
  paddingBelow={paddingBelow}
59
- isCarousel={carouselOfCards}
60
59
  >
61
- <CardsInner isCarousel={carouselOfCards}>
60
+ <CardsInner>
62
61
  <CardsContainer
63
62
  columns={columns}
64
63
  isCarousel={carouselOfCards}
@@ -69,8 +68,12 @@ const CTAMultiCard = ({ data }) => {
69
68
  options={{
70
69
  arrows: false,
71
70
  pagination: false,
72
- drag: true,
73
- 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: { mouse: 50, touch: 50 },
74
77
  gap: '1rem',
75
78
  fixedWidth: '309px',
76
79
  padding: { left: '0px', right: '0px' }
@@ -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
  };
@@ -16,25 +16,19 @@ export const CardsSection = styled.div`
16
16
  background: ${({ theme, backgroundColor }) => theme.color(backgroundColor)};
17
17
  padding-top: ${({ paddingAbove }) => paddingAbove};
18
18
  padding-bottom: ${({ paddingBelow }) => paddingBelow};
19
+ padding-inline: 1rem;
20
+ @media ${({ theme }) => theme.breakpoints2026('M')} {
21
+ padding-inline: 2rem;
22
+ }
23
+ @media ${({ theme }) => theme.breakpoints2026('L')} {
24
+ padding-inline: 4rem;
25
+ }
19
26
  `;
20
27
 
21
28
  export const CardsInner = styled.div`
22
29
  width: 100%;
23
30
  max-width: 1152px;
24
31
  margin: 0 auto;
25
-
26
- ${({ isCarousel }) => !isCarousel && css`
27
- padding-inline: 1rem;
28
- @media ${({ theme }) => theme.allBreakpoints('M')} {
29
- padding-inline: 2rem;
30
- }
31
- `}
32
-
33
- ${({ isCarousel }) => isCarousel && css`
34
- @media ${({ theme }) => theme.allBreakpoints('L')} {
35
- padding-inline: 2rem;
36
- }
37
- `}
38
32
  `;
39
33
 
40
34
  const CardsContainer = styled.div`
@@ -49,17 +43,15 @@ const CardsContainer = styled.div`
49
43
  flex-wrap: wrap;
50
44
  justify-content: center;
51
45
  align-items: stretch;
52
- width: 100%;
53
- max-width: 100%;
54
- margin: 0 auto;
55
46
  }
56
47
 
57
48
  @media ${({ theme }) => theme.allBreakpoints('L')} {
58
49
  column-gap: 2rem;
50
+ row-gap: 2rem;
59
51
  }
60
52
 
61
- /* Ensure 2-column layout behaves itself at L+ */
62
- ${({ isCarousel, columns }) => !isCarousel && columns === 2 && css`
53
+ /* Ensure 2-column layout behaves itself at L+. Applies when Splide is not active. */
54
+ ${({ columns, useSplideCarousel }) => !useSplideCarousel && columns === 2 && css`
63
55
  @media (min-width: ${breakpointValues.L}px) {
64
56
  display: grid;
65
57
  grid-template-columns: repeat(2, minmax(443px, 560px));
@@ -87,15 +79,25 @@ const CardsContainer = styled.div`
87
79
  display: block;
88
80
  cursor: grab;
89
81
  width: 100%;
90
- margin: 0;
91
82
  max-width: 100%;
92
- padding: 0.75rem 1rem;
93
83
  gap: 0;
94
84
 
85
+ /* We need this so that the box shadows of the cards are not clipped off */
86
+ .splide,
87
+ .splide__track {
88
+ overflow: visible;
89
+ }
90
+
95
91
  .splide__list {
96
92
  align-items: stretch;
97
93
  }
98
94
 
95
+ /* Center slides when there is no overflow (e.g. only 1–2 cards in
96
+ a gap where we'd probably fit 3 or more). */
97
+ .splide:not(.is-overflow) .splide__list {
98
+ justify-content: center;
99
+ }
100
+
99
101
  .splide__slide {
100
102
  display: flex;
101
103
  height: auto;
@@ -105,13 +107,11 @@ const CardsContainer = styled.div`
105
107
  flex-wrap: nowrap;
106
108
  justify-content: flex-start;
107
109
  width: 100%;
108
- margin: 0;
109
110
  max-width: 100%;
110
111
  overflow-x: auto;
111
- overflow-y: hidden;
112
+ overflow-y: visible;
112
113
  -webkit-overflow-scrolling: touch;
113
114
  scroll-snap-type: x mandatory;
114
- padding: 0.75rem 1rem;
115
115
 
116
116
  scrollbar-width: none;
117
117
  -ms-overflow-style: none;
@@ -122,17 +122,5 @@ const CardsContainer = styled.div`
122
122
  }
123
123
  `}
124
124
 
125
- // Desktop grid layout for XL breakpoint - 3 columns
126
- @media ${({ theme }) => theme.allBreakpoints('XL')} {
127
- ${({ columns }) => columns === 3 && css`
128
- display: grid;
129
- justify-content: center;
130
- align-items: stretch;
131
- grid-template-columns: repeat(3, minmax(0, 363px));
132
- width: 100%;
133
- margin: 0 auto;
134
- max-width: 100%;
135
- `}
136
- }
137
125
  `;
138
126
  export 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",