@comicrelief/component-library 8.51.3 → 8.51.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/Molecules/EmailSignUp/EmailSignUp.style.js +1 -1
- package/dist/components/Organisms/FooterNew/FooterNew.style.js +2 -2
- package/dist/components/Organisms/FooterNew/__snapshots__/FooterNew.test.js.snap +6 -6
- package/package.json +1 -1
- package/src/components/Molecules/EmailSignUp/EmailSignUp.style.js +1 -1
- package/src/components/Organisms/FooterNew/FooterNew.style.js +2 -2
- package/src/components/Organisms/FooterNew/__snapshots__/FooterNew.test.js.snap +6 -6
|
@@ -90,7 +90,7 @@ 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:", ";height:44px;padding:0 ", ";border-radius:0.5rem;overflow:hidden;min-width:max-content;width:100
|
|
93
|
+
})(["margin:0;font-family:", ";height:44px;padding:0 ", ";border-radius:0.5rem;overflow:hidden;min-width:max-content;width:100%;@media ", "{margin:0;max-width:123px;}.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;white-space:nowrap;}.emailSignUpButtonLabel{display:inline-block;font-size:16px;line-height:1;transform:translateX(13px);transition:transform 0.22s ease;will-change:transform;white-space:nowrap;}.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;
|
|
@@ -34,7 +34,7 @@ const FooterWrapper = exports.FooterWrapper = _styledComponents.default.footer.a
|
|
|
34
34
|
const InnerWrapper = exports.InnerWrapper = _styledComponents.default.div.withConfig({
|
|
35
35
|
displayName: "FooterNewstyle__InnerWrapper",
|
|
36
36
|
componentId: "sc-17mkhu6-1"
|
|
37
|
-
})(["position:relative;display:block;width:100%;height:100%;max-width:
|
|
37
|
+
})(["position:relative;display:block;width:100%;height:100%;max-width:1424px;margin:0 auto;padding:0 ", ";@media ", "{padding:0 ", ";}@media ", "{padding:0 ", ";}"], (0, _spacing.default)('md'), _ref4 => {
|
|
38
38
|
let {
|
|
39
39
|
theme
|
|
40
40
|
} = _ref4;
|
|
@@ -44,7 +44,7 @@ const InnerWrapper = exports.InnerWrapper = _styledComponents.default.div.withCo
|
|
|
44
44
|
theme
|
|
45
45
|
} = _ref5;
|
|
46
46
|
return theme.breakpoints2026('L');
|
|
47
|
-
});
|
|
47
|
+
}, (0, _spacing.default)('xl'));
|
|
48
48
|
const FooterLegalLine = exports.FooterLegalLine = (0, _styledComponents.default)(_Text.default).attrs({
|
|
49
49
|
tag: 'p'
|
|
50
50
|
}).withConfig({
|
|
@@ -418,7 +418,6 @@ exports[`does not render copyright text when not supplied 1`] = `
|
|
|
418
418
|
min-width: -moz-max-content;
|
|
419
419
|
min-width: max-content;
|
|
420
420
|
width: 100%;
|
|
421
|
-
max-width: 123px;
|
|
422
421
|
}
|
|
423
422
|
|
|
424
423
|
.c24 .emailSignUpButtonContent {
|
|
@@ -514,7 +513,7 @@ exports[`does not render copyright text when not supplied 1`] = `
|
|
|
514
513
|
display: block;
|
|
515
514
|
width: 100%;
|
|
516
515
|
height: 100%;
|
|
517
|
-
max-width:
|
|
516
|
+
max-width: 1424px;
|
|
518
517
|
margin: 0 auto;
|
|
519
518
|
padding: 0 1rem;
|
|
520
519
|
}
|
|
@@ -939,6 +938,7 @@ exports[`does not render copyright text when not supplied 1`] = `
|
|
|
939
938
|
@media (min-width:740px) {
|
|
940
939
|
.c24 {
|
|
941
940
|
margin: 0;
|
|
941
|
+
max-width: 123px;
|
|
942
942
|
}
|
|
943
943
|
}
|
|
944
944
|
|
|
@@ -963,7 +963,7 @@ exports[`does not render copyright text when not supplied 1`] = `
|
|
|
963
963
|
|
|
964
964
|
@media (min-width:1024px) {
|
|
965
965
|
.c1 {
|
|
966
|
-
padding: 0
|
|
966
|
+
padding: 0 4rem;
|
|
967
967
|
}
|
|
968
968
|
}
|
|
969
969
|
|
|
@@ -2051,7 +2051,6 @@ exports[`renders correctly 1`] = `
|
|
|
2051
2051
|
min-width: -moz-max-content;
|
|
2052
2052
|
min-width: max-content;
|
|
2053
2053
|
width: 100%;
|
|
2054
|
-
max-width: 123px;
|
|
2055
2054
|
}
|
|
2056
2055
|
|
|
2057
2056
|
.c24 .emailSignUpButtonContent {
|
|
@@ -2147,7 +2146,7 @@ exports[`renders correctly 1`] = `
|
|
|
2147
2146
|
display: block;
|
|
2148
2147
|
width: 100%;
|
|
2149
2148
|
height: 100%;
|
|
2150
|
-
max-width:
|
|
2149
|
+
max-width: 1424px;
|
|
2151
2150
|
margin: 0 auto;
|
|
2152
2151
|
padding: 0 1rem;
|
|
2153
2152
|
}
|
|
@@ -2572,6 +2571,7 @@ exports[`renders correctly 1`] = `
|
|
|
2572
2571
|
@media (min-width:740px) {
|
|
2573
2572
|
.c24 {
|
|
2574
2573
|
margin: 0;
|
|
2574
|
+
max-width: 123px;
|
|
2575
2575
|
}
|
|
2576
2576
|
}
|
|
2577
2577
|
|
|
@@ -2596,7 +2596,7 @@ exports[`renders correctly 1`] = `
|
|
|
2596
2596
|
|
|
2597
2597
|
@media (min-width:1024px) {
|
|
2598
2598
|
.c1 {
|
|
2599
|
-
padding: 0
|
|
2599
|
+
padding: 0 4rem;
|
|
2600
2600
|
}
|
|
2601
2601
|
}
|
|
2602
2602
|
|
package/package.json
CHANGED
|
@@ -106,10 +106,10 @@ export const StyledEmailSignUpButton = styled(Button)`
|
|
|
106
106
|
overflow: hidden;
|
|
107
107
|
min-width: max-content;
|
|
108
108
|
width: 100%;
|
|
109
|
-
max-width: 123px;
|
|
110
109
|
|
|
111
110
|
@media ${({ theme }) => theme.breakpoints2026('M')} {
|
|
112
111
|
margin: 0;
|
|
112
|
+
max-width: 123px;
|
|
113
113
|
}
|
|
114
114
|
|
|
115
115
|
.emailSignUpButtonContent {
|
|
@@ -25,7 +25,7 @@ const InnerWrapper = styled.div`
|
|
|
25
25
|
display: block;
|
|
26
26
|
width: 100%;
|
|
27
27
|
height: 100%;
|
|
28
|
-
max-width:
|
|
28
|
+
max-width: 1424px; // 1200 + 64px padding on each side
|
|
29
29
|
margin: 0 auto;
|
|
30
30
|
padding: 0 ${spacing('md')};
|
|
31
31
|
|
|
@@ -34,7 +34,7 @@ const InnerWrapper = styled.div`
|
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
@media ${({ theme }) => theme.breakpoints2026('L')} {
|
|
37
|
-
padding: 0
|
|
37
|
+
padding: 0 ${spacing('xl')};
|
|
38
38
|
}
|
|
39
39
|
`;
|
|
40
40
|
|
|
@@ -418,7 +418,6 @@ exports[`does not render copyright text when not supplied 1`] = `
|
|
|
418
418
|
min-width: -moz-max-content;
|
|
419
419
|
min-width: max-content;
|
|
420
420
|
width: 100%;
|
|
421
|
-
max-width: 123px;
|
|
422
421
|
}
|
|
423
422
|
|
|
424
423
|
.c24 .emailSignUpButtonContent {
|
|
@@ -514,7 +513,7 @@ exports[`does not render copyright text when not supplied 1`] = `
|
|
|
514
513
|
display: block;
|
|
515
514
|
width: 100%;
|
|
516
515
|
height: 100%;
|
|
517
|
-
max-width:
|
|
516
|
+
max-width: 1424px;
|
|
518
517
|
margin: 0 auto;
|
|
519
518
|
padding: 0 1rem;
|
|
520
519
|
}
|
|
@@ -939,6 +938,7 @@ exports[`does not render copyright text when not supplied 1`] = `
|
|
|
939
938
|
@media (min-width:740px) {
|
|
940
939
|
.c24 {
|
|
941
940
|
margin: 0;
|
|
941
|
+
max-width: 123px;
|
|
942
942
|
}
|
|
943
943
|
}
|
|
944
944
|
|
|
@@ -963,7 +963,7 @@ exports[`does not render copyright text when not supplied 1`] = `
|
|
|
963
963
|
|
|
964
964
|
@media (min-width:1024px) {
|
|
965
965
|
.c1 {
|
|
966
|
-
padding: 0
|
|
966
|
+
padding: 0 4rem;
|
|
967
967
|
}
|
|
968
968
|
}
|
|
969
969
|
|
|
@@ -2051,7 +2051,6 @@ exports[`renders correctly 1`] = `
|
|
|
2051
2051
|
min-width: -moz-max-content;
|
|
2052
2052
|
min-width: max-content;
|
|
2053
2053
|
width: 100%;
|
|
2054
|
-
max-width: 123px;
|
|
2055
2054
|
}
|
|
2056
2055
|
|
|
2057
2056
|
.c24 .emailSignUpButtonContent {
|
|
@@ -2147,7 +2146,7 @@ exports[`renders correctly 1`] = `
|
|
|
2147
2146
|
display: block;
|
|
2148
2147
|
width: 100%;
|
|
2149
2148
|
height: 100%;
|
|
2150
|
-
max-width:
|
|
2149
|
+
max-width: 1424px;
|
|
2151
2150
|
margin: 0 auto;
|
|
2152
2151
|
padding: 0 1rem;
|
|
2153
2152
|
}
|
|
@@ -2572,6 +2571,7 @@ exports[`renders correctly 1`] = `
|
|
|
2572
2571
|
@media (min-width:740px) {
|
|
2573
2572
|
.c24 {
|
|
2574
2573
|
margin: 0;
|
|
2574
|
+
max-width: 123px;
|
|
2575
2575
|
}
|
|
2576
2576
|
}
|
|
2577
2577
|
|
|
@@ -2596,7 +2596,7 @@ exports[`renders correctly 1`] = `
|
|
|
2596
2596
|
|
|
2597
2597
|
@media (min-width:1024px) {
|
|
2598
2598
|
.c1 {
|
|
2599
|
-
padding: 0
|
|
2599
|
+
padding: 0 4rem;
|
|
2600
2600
|
}
|
|
2601
2601
|
}
|
|
2602
2602
|
|