@comicrelief/component-library 8.47.3 → 8.47.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.
- package/dist/components/Atoms/SocialIcons/Icon/Icon.js +1 -1
- package/dist/components/Atoms/SocialIcons/SocialIcons.js +39 -14
- package/dist/components/Atoms/SocialIcons/__snapshots__/SocialIcons.test.js.snap +36 -12
- package/dist/components/Molecules/EmailSignUp/EmailSignUp.js +13 -1
- package/dist/components/Molecules/EmailSignUp/EmailSignUp.style.js +6 -6
- package/dist/components/Organisms/Footer/FundraisingRegulatorLogo/FundraisingRegulatorLogo.js +2 -2
- package/dist/components/Organisms/Footer/__snapshots__/Footer.test.js.snap +12 -4
- package/dist/components/Organisms/FooterNew/FooterNew.js +4 -2
- package/dist/components/Organisms/FooterNew/FooterNew.style.js +68 -68
- package/dist/components/Organisms/FooterNew/__snapshots__/FooterNew.test.js.snap +281 -177
- package/dist/theme/shared/animations.js +14 -2
- package/package.json +1 -1
- package/src/components/Atoms/SocialIcons/Icon/Icon.js +1 -0
- package/src/components/Atoms/SocialIcons/SocialIcons.js +7 -3
- package/src/components/Atoms/SocialIcons/__snapshots__/SocialIcons.test.js.snap +36 -12
- package/src/components/Molecules/EmailSignUp/EmailSignUp.js +7 -1
- package/src/components/Molecules/EmailSignUp/EmailSignUp.style.js +56 -6
- package/src/components/Organisms/Footer/FundraisingRegulatorLogo/FundraisingRegulatorLogo.js +2 -2
- package/src/components/Organisms/Footer/__snapshots__/Footer.test.js.snap +12 -4
- package/src/components/Organisms/FooterNew/FooterNew.js +2 -2
- package/src/components/Organisms/FooterNew/FooterNew.style.js +27 -12
- package/src/components/Organisms/FooterNew/__snapshots__/FooterNew.test.js.snap +281 -177
- package/src/theme/shared/animations.js +27 -1
|
@@ -36,7 +36,7 @@ const StyledLink = _styledComponents.default.a.withConfig({
|
|
|
36
36
|
let {
|
|
37
37
|
newStyle
|
|
38
38
|
} = _ref4;
|
|
39
|
-
return newStyle && (0, _styledComponents.css)(["background-color:", ";border-radius:0.5rem;padding:0.5rem;display:flex;align-items:center;justify-content:center;width:100%;height:100%;", " &:hover,&:focus{background-color:", ";opacity:1;}"], _ref5 => {
|
|
39
|
+
return newStyle && (0, _styledComponents.css)(["background-color:", ";border-radius:0.5rem;padding:0.5rem;box-sizing:border-box;display:flex;align-items:center;justify-content:center;width:100%;height:100%;", " &:hover,&:focus{background-color:", ";opacity:1;}"], _ref5 => {
|
|
40
40
|
let {
|
|
41
41
|
theme
|
|
42
42
|
} = _ref5;
|
|
@@ -14,46 +14,71 @@ var _spacing = _interopRequireDefault(require("../../../theme/shared/spacing"));
|
|
|
14
14
|
const StyledList = _styledComponents.default.ul.withConfig({
|
|
15
15
|
displayName: "SocialIcons__StyledList",
|
|
16
16
|
componentId: "sc-i6jfaw-0"
|
|
17
|
-
})(["display:flex;list-style-type:none;justify-content:", ";margin:", ";padding:0;align-items:center;@media ", "{justify-content:start;margin:", ";}"],
|
|
17
|
+
})(["display:flex;flex-wrap:", ";gap:", ";list-style-type:none;justify-content:", ";margin:", ";padding:0;align-items:center;@media ", "{justify-content:start;margin:", ";}"], _ref => {
|
|
18
18
|
let {
|
|
19
19
|
newStyle
|
|
20
20
|
} = _ref;
|
|
21
|
-
return newStyle ?
|
|
21
|
+
return newStyle ? 'wrap' : 'nowrap';
|
|
22
22
|
}, _ref2 => {
|
|
23
23
|
let {
|
|
24
|
-
|
|
24
|
+
newStyle
|
|
25
25
|
} = _ref2;
|
|
26
|
-
return
|
|
27
|
-
}, _ref3 => {
|
|
26
|
+
return newStyle ? `${(0, _spacing.default)('l')}` : '0';
|
|
27
|
+
}, newStyle => newStyle ? 'flex-start' : 'center', _ref3 => {
|
|
28
28
|
let {
|
|
29
29
|
newStyle
|
|
30
30
|
} = _ref3;
|
|
31
|
+
return newStyle ? `${(0, _spacing.default)('lg')} 0` : '0 auto 0 0';
|
|
32
|
+
}, _ref4 => {
|
|
33
|
+
let {
|
|
34
|
+
theme
|
|
35
|
+
} = _ref4;
|
|
36
|
+
return theme.breakpoints2026('M');
|
|
37
|
+
}, _ref5 => {
|
|
38
|
+
let {
|
|
39
|
+
newStyle
|
|
40
|
+
} = _ref5;
|
|
31
41
|
return newStyle ? `${(0, _spacing.default)('sm')} 0` : '0 auto 0 0';
|
|
32
42
|
});
|
|
33
43
|
const StyledItem = _styledComponents.default.li.withConfig({
|
|
34
44
|
displayName: "SocialIcons__StyledItem",
|
|
35
45
|
componentId: "sc-i6jfaw-1"
|
|
36
|
-
})(["width:
|
|
46
|
+
})(["width:", ";height:", ";flex:0 0 ", ";margin-right:", ";@media ", "{margin-right:", ";}"], _ref6 => {
|
|
37
47
|
let {
|
|
38
48
|
newStyle
|
|
39
|
-
} =
|
|
49
|
+
} = _ref6;
|
|
50
|
+
return newStyle ? '54px' : '48px';
|
|
51
|
+
}, _ref7 => {
|
|
52
|
+
let {
|
|
53
|
+
newStyle
|
|
54
|
+
} = _ref7;
|
|
55
|
+
return newStyle ? '54px' : 'auto';
|
|
56
|
+
}, _ref8 => {
|
|
57
|
+
let {
|
|
58
|
+
newStyle
|
|
59
|
+
} = _ref8;
|
|
60
|
+
return newStyle ? '54px' : '48px';
|
|
61
|
+
}, _ref9 => {
|
|
62
|
+
let {
|
|
63
|
+
newStyle
|
|
64
|
+
} = _ref9;
|
|
40
65
|
return newStyle ? '0' : (0, _spacing.default)('m');
|
|
41
|
-
},
|
|
66
|
+
}, _ref10 => {
|
|
42
67
|
let {
|
|
43
68
|
theme
|
|
44
|
-
} =
|
|
69
|
+
} = _ref10;
|
|
45
70
|
return theme.breakpoints2026('M');
|
|
46
|
-
},
|
|
71
|
+
}, _ref11 => {
|
|
47
72
|
let {
|
|
48
73
|
newStyle
|
|
49
|
-
} =
|
|
50
|
-
return newStyle ?
|
|
74
|
+
} = _ref11;
|
|
75
|
+
return newStyle ? 0 : (0, _spacing.default)('m');
|
|
51
76
|
});
|
|
52
77
|
const StyledIcon = (0, _styledComponents.default)(_Icon.default).withConfig({
|
|
53
78
|
displayName: "SocialIcons__StyledIcon",
|
|
54
79
|
componentId: "sc-i6jfaw-2"
|
|
55
80
|
})(["width:auto;"]);
|
|
56
|
-
const SocialIcons =
|
|
81
|
+
const SocialIcons = _ref12 => {
|
|
57
82
|
let {
|
|
58
83
|
campaign,
|
|
59
84
|
showFacebookSocialIcon,
|
|
@@ -65,7 +90,7 @@ const SocialIcons = _ref7 => {
|
|
|
65
90
|
newStyle = false,
|
|
66
91
|
invertColor = false,
|
|
67
92
|
...restProps
|
|
68
|
-
} =
|
|
93
|
+
} = _ref12;
|
|
69
94
|
const links = (0, _Links.default)(campaign);
|
|
70
95
|
|
|
71
96
|
// We've got two sets now - one better suited to the new footer design,
|
|
@@ -25,11 +25,15 @@ exports[`renders correctly with Comic Relief links 1`] = `
|
|
|
25
25
|
display: -webkit-flex;
|
|
26
26
|
display: -ms-flexbox;
|
|
27
27
|
display: flex;
|
|
28
|
+
-webkit-flex-wrap: nowrap;
|
|
29
|
+
-ms-flex-wrap: nowrap;
|
|
30
|
+
flex-wrap: nowrap;
|
|
31
|
+
gap: 0;
|
|
28
32
|
list-style-type: none;
|
|
29
|
-
-webkit-box-pack:
|
|
30
|
-
-webkit-justify-content:
|
|
31
|
-
-ms-flex-pack:
|
|
32
|
-
justify-content:
|
|
33
|
+
-webkit-box-pack: start;
|
|
34
|
+
-webkit-justify-content: flex-start;
|
|
35
|
+
-ms-flex-pack: start;
|
|
36
|
+
justify-content: flex-start;
|
|
33
37
|
margin: 0 auto 0 0;
|
|
34
38
|
padding: 0;
|
|
35
39
|
-webkit-align-items: center;
|
|
@@ -40,6 +44,10 @@ exports[`renders correctly with Comic Relief links 1`] = `
|
|
|
40
44
|
|
|
41
45
|
.c1 {
|
|
42
46
|
width: 48px;
|
|
47
|
+
height: auto;
|
|
48
|
+
-webkit-flex: 0 0 48px;
|
|
49
|
+
-ms-flex: 0 0 48px;
|
|
50
|
+
flex: 0 0 48px;
|
|
43
51
|
margin-right: 1.5rem;
|
|
44
52
|
}
|
|
45
53
|
|
|
@@ -166,11 +174,15 @@ exports[`renders correctly with Red Nose Day links and self target 1`] = `
|
|
|
166
174
|
display: -webkit-flex;
|
|
167
175
|
display: -ms-flexbox;
|
|
168
176
|
display: flex;
|
|
177
|
+
-webkit-flex-wrap: nowrap;
|
|
178
|
+
-ms-flex-wrap: nowrap;
|
|
179
|
+
flex-wrap: nowrap;
|
|
180
|
+
gap: 0;
|
|
169
181
|
list-style-type: none;
|
|
170
|
-
-webkit-box-pack:
|
|
171
|
-
-webkit-justify-content:
|
|
172
|
-
-ms-flex-pack:
|
|
173
|
-
justify-content:
|
|
182
|
+
-webkit-box-pack: start;
|
|
183
|
+
-webkit-justify-content: flex-start;
|
|
184
|
+
-ms-flex-pack: start;
|
|
185
|
+
justify-content: flex-start;
|
|
174
186
|
margin: 0 auto 0 0;
|
|
175
187
|
padding: 0;
|
|
176
188
|
-webkit-align-items: center;
|
|
@@ -181,6 +193,10 @@ exports[`renders correctly with Red Nose Day links and self target 1`] = `
|
|
|
181
193
|
|
|
182
194
|
.c1 {
|
|
183
195
|
width: 48px;
|
|
196
|
+
height: auto;
|
|
197
|
+
-webkit-flex: 0 0 48px;
|
|
198
|
+
-ms-flex: 0 0 48px;
|
|
199
|
+
flex: 0 0 48px;
|
|
184
200
|
margin-right: 1.5rem;
|
|
185
201
|
}
|
|
186
202
|
|
|
@@ -307,11 +323,15 @@ exports[`renders correctly with Sport Relief links 1`] = `
|
|
|
307
323
|
display: -webkit-flex;
|
|
308
324
|
display: -ms-flexbox;
|
|
309
325
|
display: flex;
|
|
326
|
+
-webkit-flex-wrap: nowrap;
|
|
327
|
+
-ms-flex-wrap: nowrap;
|
|
328
|
+
flex-wrap: nowrap;
|
|
329
|
+
gap: 0;
|
|
310
330
|
list-style-type: none;
|
|
311
|
-
-webkit-box-pack:
|
|
312
|
-
-webkit-justify-content:
|
|
313
|
-
-ms-flex-pack:
|
|
314
|
-
justify-content:
|
|
331
|
+
-webkit-box-pack: start;
|
|
332
|
+
-webkit-justify-content: flex-start;
|
|
333
|
+
-ms-flex-pack: start;
|
|
334
|
+
justify-content: flex-start;
|
|
315
335
|
margin: 0 auto 0 0;
|
|
316
336
|
padding: 0;
|
|
317
337
|
-webkit-align-items: center;
|
|
@@ -322,6 +342,10 @@ exports[`renders correctly with Sport Relief links 1`] = `
|
|
|
322
342
|
|
|
323
343
|
.c1 {
|
|
324
344
|
width: 48px;
|
|
345
|
+
height: auto;
|
|
346
|
+
-webkit-flex: 0 0 48px;
|
|
347
|
+
-ms-flex: 0 0 48px;
|
|
348
|
+
flex: 0 0 48px;
|
|
325
349
|
margin-right: 1.5rem;
|
|
326
350
|
}
|
|
327
351
|
|
|
@@ -6,6 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.default = void 0;
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
var _Arrow = _interopRequireDefault(require("../../Atoms/Icons/Arrow"));
|
|
9
10
|
var _EmailSignUp = require("./EmailSignUp.style");
|
|
10
11
|
const EmailSignUp = _ref => {
|
|
11
12
|
let {
|
|
@@ -33,6 +34,17 @@ const EmailSignUp = _ref => {
|
|
|
33
34
|
}, register('email'), rest))), /*#__PURE__*/_react.default.createElement(_EmailSignUp.ButtonWrapper, null, /*#__PURE__*/_react.default.createElement(_EmailSignUp.StyledEmailSignUpButton, {
|
|
34
35
|
type: "submit",
|
|
35
36
|
color: "white"
|
|
36
|
-
}, "
|
|
37
|
+
}, /*#__PURE__*/_react.default.createElement("span", {
|
|
38
|
+
className: "emailSignUpButtonContent"
|
|
39
|
+
}, /*#__PURE__*/_react.default.createElement("span", {
|
|
40
|
+
className: "emailSignUpButtonLabel"
|
|
41
|
+
}, "Sign up"), /*#__PURE__*/_react.default.createElement("span", {
|
|
42
|
+
className: "emailSignUpButtonArrow",
|
|
43
|
+
"aria-hidden": "true"
|
|
44
|
+
}, /*#__PURE__*/_react.default.createElement(_Arrow.default, {
|
|
45
|
+
direction: "right",
|
|
46
|
+
colour: "white",
|
|
47
|
+
size: 18
|
|
48
|
+
})))))));
|
|
37
49
|
};
|
|
38
50
|
var _default = exports.default = EmailSignUp;
|
|
@@ -72,11 +72,11 @@ const StyledEmailInput = exports.StyledEmailInput = (0, _styledComponents.defaul
|
|
|
72
72
|
theme
|
|
73
73
|
} = _ref7;
|
|
74
74
|
return theme.breakpoints2026('M');
|
|
75
|
-
}, (0, _animations.
|
|
75
|
+
}, (0, _animations.formFieldInputAnimation)(4), _ref8 => {
|
|
76
76
|
let {
|
|
77
77
|
theme
|
|
78
78
|
} = _ref8;
|
|
79
|
-
return (0, _styledComponents.css)(["", "
|
|
79
|
+
return (0, _styledComponents.css)(["font-size:1rem;line-height:1.25rem;font-family:", ";background-color:", ";border-color:transparent;padding-left:18px;transition:background-color 0.2s ease,text-indent 0.18s ease;border:1px solid ", ";color:", ";&::placeholder{color:", ";}&:hover,&:focus{background-color:", ";}"], theme.fontFamilies('Montserrat'), theme.color('grey_5'), theme.color('white'), theme.color('white'), theme.color('grey_2'), theme.color('grey_4_hover'));
|
|
80
80
|
});
|
|
81
81
|
const ButtonWrapper = exports.ButtonWrapper = _styledComponents.default.div.withConfig({
|
|
82
82
|
displayName: "EmailSignUpstyle__ButtonWrapper",
|
|
@@ -90,21 +90,21 @@ const ButtonWrapper = exports.ButtonWrapper = _styledComponents.default.div.with
|
|
|
90
90
|
const StyledEmailSignUpButton = exports.StyledEmailSignUpButton = (0, _styledComponents.default)(_Button.default).withConfig({
|
|
91
91
|
displayName: "EmailSignUpstyle__StyledEmailSignUpButton",
|
|
92
92
|
componentId: "sc-d38yg6-7"
|
|
93
|
-
})(["margin:0;font-family:", ";border-radius:0.5rem;@media ", "{
|
|
93
|
+
})(["margin:0;font-family:", ";padding:", ";border-radius:0.5rem;overflow:hidden;@media ", "{margin:0;}.emailSignUpButtonContent{display:inline-grid;grid-auto-flow:column;grid-template-columns:auto 18px;column-gap:0.5rem;align-items:center;justify-content:center;line-height:1;}.emailSignUpButtonLabel{display:inline-block;transform:translateX(13px);transition:transform 0.22s ease;will-change:transform;}.emailSignUpButtonArrow{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;opacity:0;transform:translateX(-13px);transition:opacity 0.22s ease,transform 0.22s ease;will-change:transform,opacity;svg{fill:currentColor !important;}}&:hover,&:focus{background-color:", ";color:", ";.emailSignUpButtonLabel{transform:translateX(0);}.emailSignUpButtonArrow{opacity:1;transform:translateX(0);}}"], _ref10 => {
|
|
94
94
|
let {
|
|
95
95
|
theme
|
|
96
96
|
} = _ref10;
|
|
97
97
|
return theme.fontFamilies('Montserrat');
|
|
98
|
-
}, _ref11 => {
|
|
98
|
+
}, (0, _spacing.default)('md'), _ref11 => {
|
|
99
99
|
let {
|
|
100
100
|
theme
|
|
101
101
|
} = _ref11;
|
|
102
102
|
return theme.breakpoints2026('M');
|
|
103
|
-
},
|
|
103
|
+
}, _ref12 => {
|
|
104
104
|
let {
|
|
105
105
|
theme
|
|
106
106
|
} = _ref12;
|
|
107
|
-
return theme.color('
|
|
107
|
+
return theme.color('grey_2');
|
|
108
108
|
}, _ref13 => {
|
|
109
109
|
let {
|
|
110
110
|
theme
|
package/dist/components/Organisms/Footer/FundraisingRegulatorLogo/FundraisingRegulatorLogo.js
CHANGED
|
@@ -12,7 +12,7 @@ var _animations = require("../../../../theme/shared/animations");
|
|
|
12
12
|
const FundraisingRegulatorWrapper = _styledComponents.default.div.withConfig({
|
|
13
13
|
displayName: "FundraisingRegulatorLogo__FundraisingRegulatorWrapper",
|
|
14
14
|
componentId: "sc-1ngdz4u-0"
|
|
15
|
-
})(["width:75%;margin:", ";max-width:
|
|
15
|
+
})(["width:75%;margin:", ";max-width:166px;img{display:block;}", ""], _ref => {
|
|
16
16
|
let {
|
|
17
17
|
$noMargin
|
|
18
18
|
} = _ref;
|
|
@@ -21,7 +21,7 @@ const FundraisingRegulatorWrapper = _styledComponents.default.div.withConfig({
|
|
|
21
21
|
let {
|
|
22
22
|
animateOnHover
|
|
23
23
|
} = _ref2;
|
|
24
|
-
return animateOnHover && (0, _animations.springScaleAnimation)(true);
|
|
24
|
+
return animateOnHover && (0, _animations.springScaleAnimation)(true, 1.03, 1);
|
|
25
25
|
});
|
|
26
26
|
const FundraisingRegulatorLogo = _ref3 => {
|
|
27
27
|
let {
|
|
@@ -164,11 +164,15 @@ exports[`renders correctly 1`] = `
|
|
|
164
164
|
display: -webkit-flex;
|
|
165
165
|
display: -ms-flexbox;
|
|
166
166
|
display: flex;
|
|
167
|
+
-webkit-flex-wrap: nowrap;
|
|
168
|
+
-ms-flex-wrap: nowrap;
|
|
169
|
+
flex-wrap: nowrap;
|
|
170
|
+
gap: 0;
|
|
167
171
|
list-style-type: none;
|
|
168
|
-
-webkit-box-pack:
|
|
169
|
-
-webkit-justify-content:
|
|
170
|
-
-ms-flex-pack:
|
|
171
|
-
justify-content:
|
|
172
|
+
-webkit-box-pack: start;
|
|
173
|
+
-webkit-justify-content: flex-start;
|
|
174
|
+
-ms-flex-pack: start;
|
|
175
|
+
justify-content: flex-start;
|
|
172
176
|
margin: 0 auto 0 0;
|
|
173
177
|
padding: 0;
|
|
174
178
|
-webkit-align-items: center;
|
|
@@ -179,6 +183,10 @@ exports[`renders correctly 1`] = `
|
|
|
179
183
|
|
|
180
184
|
.c4 {
|
|
181
185
|
width: 48px;
|
|
186
|
+
height: auto;
|
|
187
|
+
-webkit-flex: 0 0 48px;
|
|
188
|
+
-ms-flex: 0 0 48px;
|
|
189
|
+
flex: 0 0 48px;
|
|
182
190
|
margin-right: 1.5rem;
|
|
183
191
|
}
|
|
184
192
|
|
|
@@ -63,7 +63,7 @@ const FooterNew = _ref => {
|
|
|
63
63
|
title: `Go to ${campaign} homepage`,
|
|
64
64
|
animateRotate: animateRotate
|
|
65
65
|
}, /*#__PURE__*/_react.default.createElement(_Logo.default, {
|
|
66
|
-
sizeSm: "
|
|
66
|
+
sizeSm: "59px",
|
|
67
67
|
sizeMd: "72px",
|
|
68
68
|
rotate: false,
|
|
69
69
|
campaign: campaign
|
|
@@ -131,6 +131,8 @@ const FooterNew = _ref => {
|
|
|
131
131
|
}, rest)), /*#__PURE__*/_react.default.createElement(_FooterNew.FooterCopyright, null, displayCopyrightText && /*#__PURE__*/_react.default.createElement(_FooterNew.FooterCopyrightText, null, displayCopyrightText), legalText && /*#__PURE__*/_react.default.createElement(_FooterNew.FooterCopyrightText, null, legalText)), /*#__PURE__*/_react.default.createElement(_FooterNew.LogosContainer, {
|
|
132
132
|
$mobileOnly: true,
|
|
133
133
|
$showFundraiserAtBottom: true
|
|
134
|
-
}, showFundraisingRegulatorLogo && /*#__PURE__*/_react.default.createElement(_FundraisingRegulatorLogo.default,
|
|
134
|
+
}, showFundraisingRegulatorLogo && /*#__PURE__*/_react.default.createElement(_FundraisingRegulatorLogo.default, {
|
|
135
|
+
noMargin: true
|
|
136
|
+
})))));
|
|
135
137
|
};
|
|
136
138
|
var _default = exports.default = FooterNew;
|
|
@@ -15,7 +15,7 @@ const FooterWrapper = exports.FooterWrapper = _styledComponents.default.footer.a
|
|
|
15
15
|
})).withConfig({
|
|
16
16
|
displayName: "FooterNewstyle__FooterWrapper",
|
|
17
17
|
componentId: "sc-17mkhu6-0"
|
|
18
|
-
})(["text-align:left;background:", ";padding-top:
|
|
18
|
+
})(["text-align:left;background:", ";padding-top:4.5rem;@media ", "{padding-bottom:", ";}@media ", "{padding-top:5.5rem;padding-bottom:5rem;}"], _ref => {
|
|
19
19
|
let {
|
|
20
20
|
theme
|
|
21
21
|
} = _ref;
|
|
@@ -25,94 +25,99 @@ const FooterWrapper = exports.FooterWrapper = _styledComponents.default.footer.a
|
|
|
25
25
|
theme
|
|
26
26
|
} = _ref2;
|
|
27
27
|
return theme.breakpoints2026('M');
|
|
28
|
-
}, (0, _spacing.default)('lg')
|
|
28
|
+
}, (0, _spacing.default)('lg'), _ref3 => {
|
|
29
|
+
let {
|
|
30
|
+
theme
|
|
31
|
+
} = _ref3;
|
|
32
|
+
return theme.breakpoints2026('L');
|
|
33
|
+
});
|
|
29
34
|
const InnerWrapper = exports.InnerWrapper = _styledComponents.default.div.withConfig({
|
|
30
35
|
displayName: "FooterNewstyle__InnerWrapper",
|
|
31
36
|
componentId: "sc-17mkhu6-1"
|
|
32
|
-
})(["position:relative;display:block;width:100%;height:100%;max-width:1200px;margin:0 auto;padding:0 ", ";@media ", "{padding:0
|
|
37
|
+
})(["position:relative;display:block;width:100%;height:100%;max-width:1200px;margin:0 auto;padding:0 ", ";@media ", "{padding:0 9rem;}"], (0, _spacing.default)('l'), _ref4 => {
|
|
33
38
|
let {
|
|
34
39
|
theme
|
|
35
|
-
} =
|
|
40
|
+
} = _ref4;
|
|
36
41
|
return theme.breakpoints2026('L');
|
|
37
|
-
}
|
|
42
|
+
});
|
|
38
43
|
const FooterLegalLine = exports.FooterLegalLine = (0, _styledComponents.default)(_Text.default).attrs({
|
|
39
44
|
tag: 'p'
|
|
40
45
|
}).withConfig({
|
|
41
46
|
displayName: "FooterNewstyle__FooterLegalLine",
|
|
42
47
|
componentId: "sc-17mkhu6-2"
|
|
43
|
-
})(["text-align:left;margin-top:1rem;margin-bottom:", ";line-height:1.5rem;color:", ";"], (0, _spacing.default)('md'),
|
|
48
|
+
})(["text-align:left;margin-top:1rem;margin-bottom:", ";line-height:1.5rem;color:", ";opacity:0.8;"], (0, _spacing.default)('md'), _ref5 => {
|
|
44
49
|
let {
|
|
45
50
|
theme
|
|
46
|
-
} =
|
|
47
|
-
return theme.color('
|
|
51
|
+
} = _ref5;
|
|
52
|
+
return theme.color('white');
|
|
48
53
|
});
|
|
49
54
|
const TopSection = exports.TopSection = _styledComponents.default.div.withConfig({
|
|
50
55
|
displayName: "FooterNewstyle__TopSection",
|
|
51
56
|
componentId: "sc-17mkhu6-3"
|
|
52
|
-
})(["display:flex;flex-direction:column;margin-bottom:", ";gap:", ";@media ", "{flex-direction:row;justify-content:space-between;align-items:", ";}"], (0, _spacing.default)('md'), (0, _spacing.default)('md'),
|
|
57
|
+
})(["display:flex;flex-direction:column;margin-bottom:", ";gap:", ";@media ", "{flex-direction:row;justify-content:space-between;align-items:", ";}"], (0, _spacing.default)('md'), (0, _spacing.default)('md'), _ref6 => {
|
|
53
58
|
let {
|
|
54
59
|
theme
|
|
55
|
-
} =
|
|
60
|
+
} = _ref6;
|
|
56
61
|
return theme.breakpoints2026('M');
|
|
57
|
-
},
|
|
62
|
+
}, _ref7 => {
|
|
58
63
|
let {
|
|
59
64
|
$hasEmailSignup
|
|
60
|
-
} =
|
|
65
|
+
} = _ref7;
|
|
61
66
|
return $hasEmailSignup ? 'flex-start' : 'center';
|
|
62
67
|
});
|
|
63
68
|
const TopSectionLeft = exports.TopSectionLeft = _styledComponents.default.div.withConfig({
|
|
64
69
|
displayName: "FooterNewstyle__TopSectionLeft",
|
|
65
70
|
componentId: "sc-17mkhu6-4"
|
|
66
|
-
})(["display:flex;flex-direction:column;gap:", ";@media ", "{flex-direction:column;flex:0 0 auto;}"], (0, _spacing.default)('md'),
|
|
71
|
+
})(["display:flex;flex-direction:column;gap:", ";@media ", "{flex-direction:column;flex:0 0 auto;}"], (0, _spacing.default)('md'), _ref8 => {
|
|
67
72
|
let {
|
|
68
73
|
theme
|
|
69
|
-
} =
|
|
74
|
+
} = _ref8;
|
|
70
75
|
return theme.breakpoints2026('M');
|
|
71
76
|
});
|
|
72
77
|
const NewsletterSignUpWrapper = exports.NewsletterSignUpWrapper = _styledComponents.default.div.withConfig({
|
|
73
78
|
displayName: "FooterNewstyle__NewsletterSignUpWrapper",
|
|
74
79
|
componentId: "sc-17mkhu6-5"
|
|
75
|
-
})(["max-width:100%;@media ", "{max-width:100%;}"],
|
|
80
|
+
})(["max-width:100%;@media ", "{max-width:100%;}"], _ref9 => {
|
|
76
81
|
let {
|
|
77
82
|
theme
|
|
78
|
-
} =
|
|
83
|
+
} = _ref9;
|
|
79
84
|
return theme.breakpoints2026('M');
|
|
80
85
|
});
|
|
81
86
|
const SocialIconWrapper = exports.SocialIconWrapper = _styledComponents.default.div.withConfig({
|
|
82
87
|
displayName: "FooterNewstyle__SocialIconWrapper",
|
|
83
88
|
componentId: "sc-17mkhu6-6"
|
|
84
|
-
})(["margin-bottom:", ";box-sizing:content-box;gap:", ";display:", ";@media ", "{box-sizing:border-box;display:", ";margin-bottom:", ";align-items:center;}"], (0, _spacing.default)('md'), (0, _spacing.default)('md'),
|
|
89
|
+
})(["margin-bottom:", ";box-sizing:content-box;gap:", ";display:", ";@media ", "{box-sizing:border-box;display:", ";margin-bottom:", ";align-items:center;}"], (0, _spacing.default)('md'), (0, _spacing.default)('md'), _ref10 => {
|
|
85
90
|
let {
|
|
86
91
|
$desktopOnly
|
|
87
|
-
} =
|
|
92
|
+
} = _ref10;
|
|
88
93
|
if ($desktopOnly) return 'none';
|
|
89
94
|
return 'block';
|
|
90
|
-
},
|
|
95
|
+
}, _ref11 => {
|
|
91
96
|
let {
|
|
92
97
|
theme
|
|
93
|
-
} =
|
|
98
|
+
} = _ref11;
|
|
94
99
|
return theme.breakpoints2026('M');
|
|
95
|
-
},
|
|
100
|
+
}, _ref12 => {
|
|
96
101
|
let {
|
|
97
102
|
$mobileOnly,
|
|
98
103
|
$inTopSection
|
|
99
|
-
} =
|
|
104
|
+
} = _ref12;
|
|
100
105
|
if ($mobileOnly) return 'none';
|
|
101
106
|
if ($inTopSection) return 'flex';
|
|
102
107
|
return 'block';
|
|
103
|
-
},
|
|
108
|
+
}, _ref13 => {
|
|
104
109
|
let {
|
|
105
110
|
$inTopSection
|
|
106
|
-
} =
|
|
111
|
+
} = _ref13;
|
|
107
112
|
return $inTopSection ? '0' : (0, _spacing.default)('md');
|
|
108
113
|
});
|
|
109
114
|
const PrimaryNav = exports.PrimaryNav = _styledComponents.default.nav.withConfig({
|
|
110
115
|
displayName: "FooterNewstyle__PrimaryNav",
|
|
111
116
|
componentId: "sc-17mkhu6-7"
|
|
112
|
-
})(["display:flex;flex-direction:column;list-style:none;padding:", " 0;margin:0 0 ", " 0;gap:", ";@media ", "{flex-direction:row;flex-wrap:wrap;gap:", ";}"], (0, _spacing.default)('md'), (0, _spacing.default)('md'), (0, _spacing.default)('l'),
|
|
117
|
+
})(["display:flex;flex-direction:column;list-style:none;padding:", " 0;margin:0 0 ", " 0;gap:", ";@media ", "{flex-direction:row;flex-wrap:wrap;gap:", ";}"], (0, _spacing.default)('md'), (0, _spacing.default)('md'), (0, _spacing.default)('l'), _ref14 => {
|
|
113
118
|
let {
|
|
114
119
|
theme
|
|
115
|
-
} =
|
|
120
|
+
} = _ref14;
|
|
116
121
|
return theme.breakpoints2026('M');
|
|
117
122
|
}, (0, _spacing.default)('m'));
|
|
118
123
|
const PrimaryNavItem = exports.PrimaryNavItem = _styledComponents.default.li.withConfig({
|
|
@@ -122,24 +127,29 @@ const PrimaryNavItem = exports.PrimaryNavItem = _styledComponents.default.li.wit
|
|
|
122
127
|
const PrimaryNavLink = exports.PrimaryNavLink = (0, _styledComponents.default)(_Link.default).withConfig({
|
|
123
128
|
displayName: "FooterNewstyle__PrimaryNavLink",
|
|
124
129
|
componentId: "sc-17mkhu6-9"
|
|
125
|
-
})(["color:", ";text-decoration:none;font-weight:bold;&:hover,&:focus{text-decoration:underline;text-decoration-color:", ";}"],
|
|
130
|
+
})(["color:", ";text-decoration:none;font-weight:bold;font-size:", ";&:hover,&:focus{text-decoration:underline;text-decoration-color:", ";}"], _ref15 => {
|
|
126
131
|
let {
|
|
127
132
|
theme
|
|
128
|
-
} =
|
|
133
|
+
} = _ref15;
|
|
129
134
|
return theme.color('white');
|
|
130
|
-
},
|
|
135
|
+
}, _ref16 => {
|
|
131
136
|
let {
|
|
132
137
|
theme
|
|
133
|
-
} =
|
|
138
|
+
} = _ref16;
|
|
139
|
+
return theme.fontSize('s');
|
|
140
|
+
}, _ref17 => {
|
|
141
|
+
let {
|
|
142
|
+
theme
|
|
143
|
+
} = _ref17;
|
|
134
144
|
return theme.color('white');
|
|
135
145
|
});
|
|
136
146
|
const PrimaryNavText = exports.PrimaryNavText = (0, _styledComponents.default)(_Text.default).withConfig({
|
|
137
147
|
displayName: "FooterNewstyle__PrimaryNavText",
|
|
138
148
|
componentId: "sc-17mkhu6-10"
|
|
139
|
-
})(["color:", ";font-weight:bold;"],
|
|
149
|
+
})(["color:", ";font-weight:bold;"], _ref18 => {
|
|
140
150
|
let {
|
|
141
151
|
theme
|
|
142
|
-
} =
|
|
152
|
+
} = _ref18;
|
|
143
153
|
return theme.color('white');
|
|
144
154
|
});
|
|
145
155
|
const SecondaryNav = exports.SecondaryNav = _styledComponents.default.nav.withConfig({
|
|
@@ -149,68 +159,58 @@ const SecondaryNav = exports.SecondaryNav = _styledComponents.default.nav.withCo
|
|
|
149
159
|
const SecondaryNavItem = exports.SecondaryNavItem = _styledComponents.default.li.withConfig({
|
|
150
160
|
displayName: "FooterNewstyle__SecondaryNavItem",
|
|
151
161
|
componentId: "sc-17mkhu6-12"
|
|
152
|
-
})(["margin:0;display:flex;align-items:center;@media ", "{display:inline;}&:not(:last-child)::after{content:'|';margin-left:", ";color:", ";}"],
|
|
162
|
+
})(["margin:0;display:flex;align-items:center;@media ", "{display:inline;}&:not(:last-child)::after{content:'|';margin-left:", ";color:", ";opacity:0.8;}"], _ref19 => {
|
|
153
163
|
let {
|
|
154
164
|
theme
|
|
155
|
-
} =
|
|
165
|
+
} = _ref19;
|
|
156
166
|
return theme.breakpoints2026('M');
|
|
157
|
-
}, (0, _spacing.default)('sm'),
|
|
167
|
+
}, (0, _spacing.default)('sm'), _ref20 => {
|
|
158
168
|
let {
|
|
159
169
|
theme
|
|
160
|
-
} =
|
|
161
|
-
return theme.color('
|
|
170
|
+
} = _ref20;
|
|
171
|
+
return theme.color('white');
|
|
162
172
|
});
|
|
163
173
|
const SecondaryNavLink = exports.SecondaryNavLink = (0, _styledComponents.default)(_Link.default).withConfig({
|
|
164
174
|
displayName: "FooterNewstyle__SecondaryNavLink",
|
|
165
175
|
componentId: "sc-17mkhu6-13"
|
|
166
|
-
})(["text-decoration:none;> span{color:", ";text-decoration:underline;text-decoration-color:", ";font-weight:normal;font-size:
|
|
167
|
-
let {
|
|
168
|
-
theme
|
|
169
|
-
} = _ref19;
|
|
170
|
-
return theme.color('grey');
|
|
171
|
-
}, _ref20 => {
|
|
172
|
-
let {
|
|
173
|
-
theme
|
|
174
|
-
} = _ref20;
|
|
175
|
-
return theme.color('grey');
|
|
176
|
-
}, _ref21 => {
|
|
176
|
+
})(["text-decoration:none;> span{color:", ";opacity:0.8;text-decoration:underline;text-decoration-color:", ";font-weight:normal;font-size:0.875rem;}@media ", "{> span{text-decoration:none;}}&:hover,&:focus{text-decoration:underline;text-decoration-color:", ";}"], _ref21 => {
|
|
177
177
|
let {
|
|
178
178
|
theme
|
|
179
179
|
} = _ref21;
|
|
180
|
-
return theme.
|
|
180
|
+
return theme.color('white');
|
|
181
181
|
}, _ref22 => {
|
|
182
182
|
let {
|
|
183
183
|
theme
|
|
184
184
|
} = _ref22;
|
|
185
|
-
return theme.
|
|
185
|
+
return theme.color('white');
|
|
186
186
|
}, _ref23 => {
|
|
187
187
|
let {
|
|
188
188
|
theme
|
|
189
189
|
} = _ref23;
|
|
190
|
-
return theme.
|
|
190
|
+
return theme.breakpoints2026('M');
|
|
191
|
+
}, _ref24 => {
|
|
192
|
+
let {
|
|
193
|
+
theme
|
|
194
|
+
} = _ref24;
|
|
195
|
+
return theme.color('white');
|
|
191
196
|
});
|
|
192
197
|
const SecondaryNavText = exports.SecondaryNavText = (0, _styledComponents.default)(_Text.default).withConfig({
|
|
193
198
|
displayName: "FooterNewstyle__SecondaryNavText",
|
|
194
199
|
componentId: "sc-17mkhu6-14"
|
|
195
|
-
})(["color:", ";font-weight:normal;"],
|
|
200
|
+
})(["color:", ";opacity:0.8;font-weight:normal;"], _ref25 => {
|
|
196
201
|
let {
|
|
197
202
|
theme
|
|
198
|
-
} =
|
|
203
|
+
} = _ref25;
|
|
199
204
|
return theme.color('white');
|
|
200
205
|
});
|
|
201
206
|
const LogosContainer = exports.LogosContainer = _styledComponents.default.div.withConfig({
|
|
202
207
|
displayName: "FooterNewstyle__LogosContainer",
|
|
203
208
|
componentId: "sc-17mkhu6-15"
|
|
204
|
-
})(["display:flex;flex-direction:row;align-items:center;gap:", ";justify-content:", ";margin-
|
|
205
|
-
let {
|
|
206
|
-
$mobileOnly
|
|
207
|
-
} = _ref25;
|
|
208
|
-
return $mobileOnly ? 'flex-start' : 'center';
|
|
209
|
-
}, _ref26 => {
|
|
209
|
+
})(["display:flex;flex-direction:row;align-items:center;gap:", ";justify-content:", ";margin-bottom:", ";", " @media ", "{flex:0 0 auto;margin-top:0;margin-bottom:0;padding-top:", ";display:", ";justify-content:", ";}}@media ", "{display:", ";}"], (0, _spacing.default)('l'), _ref26 => {
|
|
210
210
|
let {
|
|
211
211
|
$mobileOnly
|
|
212
212
|
} = _ref26;
|
|
213
|
-
return $mobileOnly ?
|
|
213
|
+
return $mobileOnly ? 'flex-start' : 'center';
|
|
214
214
|
}, _ref27 => {
|
|
215
215
|
let {
|
|
216
216
|
$mobileOnly
|
|
@@ -293,20 +293,20 @@ const Brand = exports.Brand = (0, _styledComponents.default)(_Link.default).with
|
|
|
293
293
|
const FooterCopyright = exports.FooterCopyright = _styledComponents.default.div.withConfig({
|
|
294
294
|
displayName: "FooterNewstyle__FooterCopyright",
|
|
295
295
|
componentId: "sc-17mkhu6-17"
|
|
296
|
-
})(["display:block;width:100%;height:100%;text-align:left;"])
|
|
296
|
+
})(["display:block;width:100%;height:100%;text-align:left;margin-bottom:", ";@media ", "{margin-bottom:0;}"], (0, _spacing.default)('l'), _ref36 => {
|
|
297
|
+
let {
|
|
298
|
+
theme
|
|
299
|
+
} = _ref36;
|
|
300
|
+
return theme.breakpoints2026('L');
|
|
301
|
+
});
|
|
297
302
|
const FooterCopyrightText = exports.FooterCopyrightText = (0, _styledComponents.default)(_Text.default).attrs({
|
|
298
303
|
tag: 'p'
|
|
299
304
|
}).withConfig({
|
|
300
305
|
displayName: "FooterNewstyle__FooterCopyrightText",
|
|
301
306
|
componentId: "sc-17mkhu6-18"
|
|
302
|
-
})(["color:", ";font-size:
|
|
303
|
-
let {
|
|
304
|
-
theme
|
|
305
|
-
} = _ref36;
|
|
306
|
-
return theme.color('grey');
|
|
307
|
-
}, _ref37 => {
|
|
307
|
+
})(["color:", ";opacity:0.8;font-size:0.875rem;margin-bottom:", ";"], _ref37 => {
|
|
308
308
|
let {
|
|
309
309
|
theme
|
|
310
310
|
} = _ref37;
|
|
311
|
-
return theme.
|
|
311
|
+
return theme.color('white');
|
|
312
312
|
}, (0, _spacing.default)('sm'));
|