@comicrelief/component-library 8.18.0 → 8.18.1
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/Organisms/Header2025/HeaderNav2025/MoreNav.style.js +1 -1
- package/package.json +1 -1
- package/src/components/Atoms/SocialIcons/Icon/Icon.js +2 -2
- package/src/components/Organisms/Header2025/HeaderNav2025/MoreNav.style.js +1 -1
|
@@ -20,7 +20,7 @@ const StyledLink = _styledComponents.default.a.withConfig({
|
|
|
20
20
|
let {
|
|
21
21
|
isHeader
|
|
22
22
|
} = _ref;
|
|
23
|
-
return isHeader && (0, _styledComponents.css)(["overflow:hidden;padding-right:0px;transition:padding-right ", "s cubic-bezier(0.5,1.5,0.5,0.75);&:hover,&:focus{opacity:1;}@media ", "{&:hover,&:focus{img{filter:invert(0.5) sepia(1) saturate(100) hue-rotate(20deg);}}}@media ", "{&:hover,&:focus{padding-right:", "px;&[data-
|
|
23
|
+
return isHeader && (0, _styledComponents.css)(["overflow:hidden;padding-right:0px;transition:padding-right ", "s cubic-bezier(0.5,1.5,0.5,0.75);&:hover,&:focus{opacity:1;}@media ", "{&:hover,&:focus{img{filter:invert(0.5) sepia(1) saturate(100) hue-rotate(20deg);}}}@media ", "{&:hover,&:focus{padding-right:", "px;&[data-test=\"header-esu\"]{padding-right:92px;}&[data-test=\"header-shop\"]{padding-right:48px;}img + span{display:block;}}"], RevealTextSpeed, _ref2 => {
|
|
24
24
|
let {
|
|
25
25
|
theme
|
|
26
26
|
} = _ref2;
|
|
@@ -47,7 +47,7 @@ const MoreNavLabel = exports.MoreNavLabel = (0, _styledComponents.default)(_Text
|
|
|
47
47
|
const MoreNavItem = exports.MoreNavItem = (0, _styledComponents.default)(_HeaderNav.NavItem).withConfig({
|
|
48
48
|
displayName: "MoreNavstyle__MoreNavItem",
|
|
49
49
|
componentId: "sc-68lngb-2"
|
|
50
|
-
})(["@media ", "{margin-left:22px;display:flex;flex-grow:
|
|
50
|
+
})(["@media ", "{margin-left:22px;display:flex;flex-grow:1;", " > ", "{transition:transform 0.35s cubic-bezier(0.41,1.64,0.41,0.8);}:hover,:focus{", "{color:", ";> ", "{transform:rotate(-180deg);img{filter:invert(0.5) sepia(1) saturate(100) hue-rotate(20deg);}}}}:hover,:focus,:focus-within{> ", "{border-bottom:none;padding-bottom:10px;}> ", "{visibility:visible;opacity:1;display:flex;flex-direction:column;}}:focus{> ", "{visibility:hidden !important;opacity:0 !important;display:none !important;}}}@media ", "{margin-left:20px;}"], _ref6 => {
|
|
51
51
|
let {
|
|
52
52
|
theme
|
|
53
53
|
} = _ref6;
|
package/package.json
CHANGED
|
@@ -48,12 +48,12 @@ const StyledLink = styled.a`
|
|
|
48
48
|
padding-right: ${RevealTextWidth}px;
|
|
49
49
|
|
|
50
50
|
// Tweak for ESU's longer text:
|
|
51
|
-
&[data-
|
|
51
|
+
&[data-test="header-esu"] {
|
|
52
52
|
padding-right: 92px;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
// Tweak for Shop's shorter text:
|
|
56
|
-
&[data-
|
|
56
|
+
&[data-test="header-shop"] {
|
|
57
57
|
padding-right: 48px;
|
|
58
58
|
}
|
|
59
59
|
|