@royaloperahouse/harmonic 0.1.8-l → 0.1.8-m
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/harmonic.cjs.development.js +97 -87
- package/dist/harmonic.cjs.development.js.map +1 -1
- package/dist/harmonic.cjs.production.min.js +1 -1
- package/dist/harmonic.cjs.production.min.js.map +1 -1
- package/dist/harmonic.esm.js +97 -87
- package/dist/harmonic.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/harmonic.esm.js
CHANGED
|
@@ -5093,8 +5093,82 @@ var _templateObject$w, _templateObject2$n;
|
|
|
5093
5093
|
var MediaLinksWrapper = /*#__PURE__*/styled.div(_templateObject$w || (_templateObject$w = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n gap: var(--footer-media-gap);\n"])));
|
|
5094
5094
|
var MediaIconWrapper = /*#__PURE__*/styled.a(_templateObject2$n || (_templateObject2$n = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n height: var(--footer-media-icon-height);\n width: var(--footer-media-icon-width);\n\n &:focus {\n outline: 2px solid var(--color-base-white);\n }\n"])));
|
|
5095
5095
|
|
|
5096
|
+
// WARNING: Do not use this on server side rendering, it may throw an error.
|
|
5097
|
+
var isIOS = function isIOS() {
|
|
5098
|
+
try {
|
|
5099
|
+
console.warn('Do not use this on server side rendering, it may throw an error.');
|
|
5100
|
+
if (typeof navigator === undefined) return false;
|
|
5101
|
+
return ['iPad Simulator', 'iPhone Simulator', 'iPod Simulator', 'iPad', 'iPhone', 'iPod'].includes(navigator.platform) ||
|
|
5102
|
+
// iPad on iOS 13 detection
|
|
5103
|
+
navigator.userAgent.includes('Mac') && 'ontouchend' in document;
|
|
5104
|
+
} catch (e) {
|
|
5105
|
+
console.warn('Error checking if device is iOS.', e);
|
|
5106
|
+
return false;
|
|
5107
|
+
}
|
|
5108
|
+
};
|
|
5109
|
+
// React hook version of isIOS (for server side rendering)
|
|
5110
|
+
var useIOS = function useIOS() {
|
|
5111
|
+
var _useState = useState(false),
|
|
5112
|
+
IOS = _useState[0],
|
|
5113
|
+
setIOS = _useState[1];
|
|
5114
|
+
useEffect(function () {
|
|
5115
|
+
if (typeof navigator === undefined) return;
|
|
5116
|
+
setIOS(isIOS());
|
|
5117
|
+
}, []);
|
|
5118
|
+
return IOS;
|
|
5119
|
+
};
|
|
5120
|
+
// Checks device size based on window width
|
|
5121
|
+
var isMobile = function isMobile() {
|
|
5122
|
+
try {
|
|
5123
|
+
console.warn('Do not use this on server side rendering, it may throw an error.');
|
|
5124
|
+
if (typeof window === undefined) return false;
|
|
5125
|
+
return window.innerWidth < breakpoints.sm;
|
|
5126
|
+
} catch (e) {
|
|
5127
|
+
console.warn('Error checking if device is mobile.', e);
|
|
5128
|
+
return false;
|
|
5129
|
+
}
|
|
5130
|
+
};
|
|
5131
|
+
// React hook version of isMobile (for server side rendering)
|
|
5132
|
+
var useMobile = function useMobile() {
|
|
5133
|
+
var _useState2 = useState(false),
|
|
5134
|
+
mobile = _useState2[0],
|
|
5135
|
+
setMobile = _useState2[1];
|
|
5136
|
+
useEffect(function () {
|
|
5137
|
+
if (typeof window === undefined) return;
|
|
5138
|
+
setMobile(isMobile());
|
|
5139
|
+
}, []);
|
|
5140
|
+
return mobile;
|
|
5141
|
+
};
|
|
5142
|
+
var useViewport = function useViewport() {
|
|
5143
|
+
var _useState3 = useState({
|
|
5144
|
+
width: window.innerWidth,
|
|
5145
|
+
isMobile: window.innerWidth < breakpoints.sm,
|
|
5146
|
+
isTablet: window.innerWidth >= breakpoints.sm && window.innerWidth < breakpoints.md,
|
|
5147
|
+
isDesktop: window.innerWidth >= breakpoints.md
|
|
5148
|
+
}),
|
|
5149
|
+
viewport = _useState3[0],
|
|
5150
|
+
setViewport = _useState3[1];
|
|
5151
|
+
useEffect(function () {
|
|
5152
|
+
var handleResize = function handleResize() {
|
|
5153
|
+
setViewport({
|
|
5154
|
+
width: window.innerWidth,
|
|
5155
|
+
isMobile: window.innerWidth < breakpoints.sm,
|
|
5156
|
+
isTablet: window.innerWidth >= breakpoints.sm && window.innerWidth < breakpoints.md,
|
|
5157
|
+
isDesktop: window.innerWidth >= breakpoints.md
|
|
5158
|
+
});
|
|
5159
|
+
};
|
|
5160
|
+
window.addEventListener('resize', handleResize);
|
|
5161
|
+
return function () {
|
|
5162
|
+
return window.removeEventListener('resize', handleResize);
|
|
5163
|
+
};
|
|
5164
|
+
}, []);
|
|
5165
|
+
return viewport;
|
|
5166
|
+
};
|
|
5167
|
+
|
|
5096
5168
|
var SocialLinks = function SocialLinks(_ref) {
|
|
5097
5169
|
var items = _ref.items;
|
|
5170
|
+
var _useViewport = useViewport(),
|
|
5171
|
+
isMobile = _useViewport.isMobile;
|
|
5098
5172
|
return /*#__PURE__*/React__default.createElement(MediaLinksWrapper, null, items.map(function (mediaLink, idx) {
|
|
5099
5173
|
return /*#__PURE__*/React__default.createElement(MediaIconWrapper, {
|
|
5100
5174
|
key: mediaLink.name + "-" + idx,
|
|
@@ -5103,7 +5177,8 @@ var SocialLinks = function SocialLinks(_ref) {
|
|
|
5103
5177
|
"aria-label": mediaLink.name,
|
|
5104
5178
|
rel: "noopener noreferrer" // Ensures security for external links
|
|
5105
5179
|
,
|
|
5106
|
-
target: "_blank"
|
|
5180
|
+
target: "_blank",
|
|
5181
|
+
tabIndex: isMobile ? 1 : undefined
|
|
5107
5182
|
}, /*#__PURE__*/React__default.createElement(Icon, {
|
|
5108
5183
|
iconName: mediaLink.name,
|
|
5109
5184
|
color: "white",
|
|
@@ -5117,8 +5192,8 @@ var NavigationWrapper = /*#__PURE__*/styled.div(_templateObject$x || (_templateO
|
|
|
5117
5192
|
var isMenuOpen = _ref.isMenuOpen;
|
|
5118
5193
|
return isMenuOpen && "\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: " + zIndexes.overlay + ";\n background-color: var(--color-base-white);\n overflow-y: auto;\n scrollbar-width: none;\n ::-webkit-scrollbar {\n display: none;\n }\n ";
|
|
5119
5194
|
});
|
|
5120
|
-
var FullScreenContainer = /*#__PURE__*/styled.div(_templateObject2$o || (_templateObject2$o = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n background-color: var(--color-base-white);\n
|
|
5121
|
-
var NavigationGrid = /*#__PURE__*/styled(Grid)(_templateObject3$e || (_templateObject3$e = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n position: relative;\n background-color: var(--color-base-white);\n height: 140px;\n width: 100%;\n z-index: ", ";\n\n @media ", " {\n height: 60px;\n }\n"])), zIndexes.navigation, devices.mobileAndTablet);
|
|
5195
|
+
var FullScreenContainer = /*#__PURE__*/styled.div(_templateObject2$o || (_templateObject2$o = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n background-color: var(--color-base-white);\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n width: 100%;\n z-index: ", ";\n opacity: 0;\n animation: fadeIn 0.3s ease forwards;\n\n @media ", " {\n top: 230px;\n background-color: var(--color-base-black);\n }\n\n @keyframes fadeIn {\n to {\n opacity: 0.5;\n }\n }\n"])), zIndexes.searchOverlay, devices.mobileAndTablet);
|
|
5196
|
+
var NavigationGrid = /*#__PURE__*/styled(Grid)(_templateObject3$e || (_templateObject3$e = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n position: relative;\n background-color: var(--color-base-white);\n height: 140px;\n justify-content: space-evenly;\n width: 100%;\n z-index: ", ";\n\n @media ", " {\n height: 60px;\n }\n"])), zIndexes.navigation, devices.mobileAndTablet);
|
|
5122
5197
|
var SearchBackground = /*#__PURE__*/styled.div(_templateObject4$b || (_templateObject4$b = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n visibility: ", ";\n opacity: ", ";\n transform: ", ";\n transition:\n opacity 0.3s ease,\n transform 0.3s ease,\n visibility 0.3s ease;\n background-color: var(--color-base-white);\n height: 100px;\n border-top: 1px solid var(--color-base-light-grey);\n width: 100%;\n position: absolute;\n top: 140px;\n z-index: ", ";\n\n @media ", " {\n height: 86px;\n top: 144px;\n }\n"])), function (_ref2) {
|
|
5123
5198
|
var visible = _ref2.visible;
|
|
5124
5199
|
return visible ? 'visible' : 'hidden';
|
|
@@ -5144,13 +5219,13 @@ var MobileMenuContainer = /*#__PURE__*/styled(Grid)(_templateObject7$2 || (_temp
|
|
|
5144
5219
|
var showSearch = _ref8.showSearch;
|
|
5145
5220
|
return showSearch ? '110px' : '12px';
|
|
5146
5221
|
});
|
|
5147
|
-
var LogoContainer = /*#__PURE__*/styled.a(_templateObject8$2 || (_templateObject8$2 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n
|
|
5148
|
-
var LogoContainerMobile = /*#__PURE__*/styled.div(_templateObject9$1 || (_templateObject9$1 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: none;\n\n @media ", " {\n display: flex;\n align-items: center;\n justify-content: center;\n
|
|
5149
|
-
var MenuContainer = /*#__PURE__*/styled.div(_templateObject10$1 || (_templateObject10$1 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n align-items: center;\n height: 140px;\n width: 100%;\n\n @media ", " {\n flex-direction: row;\n justify-content: space-between;\n height: 60px;\n width 100%;\n }\n"])), devices.mobileAndTablet);
|
|
5150
|
-
var NavWrapper = /*#__PURE__*/styled.div(_templateObject11 || (_templateObject11 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n
|
|
5151
|
-
var NavContainer = /*#__PURE__*/styled.div(_templateObject12 || (_templateObject12 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n
|
|
5222
|
+
var LogoContainer = /*#__PURE__*/styled.a(_templateObject8$2 || (_templateObject8$2 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n\n &&& .logoImg {\n height: 96px;\n width: 80px;\n }\n\n span > svg path,\n span > svg g path {\n fill: var(--color-primary-black);\n }\n\n @media ", " {\n display: none;\n }\n"])), devices.mobileAndTablet);
|
|
5223
|
+
var LogoContainerMobile = /*#__PURE__*/styled.div(_templateObject9$1 || (_templateObject9$1 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: none;\n\n @media ", " {\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 16px;\n\n span > svg path {\n fill: var(--color-primary-black);\n }\n }\n"])), devices.mobileAndTablet);
|
|
5224
|
+
var MenuContainer = /*#__PURE__*/styled.div(_templateObject10$1 || (_templateObject10$1 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n align-items: center;\n height: 140px;\n justify-content: space-evenly;\n width: 100%;\n\n @media ", " {\n flex-direction: row;\n justify-content: space-between;\n height: 60px;\n width 100%;\n }\n"])), devices.mobileAndTablet);
|
|
5225
|
+
var NavWrapper = /*#__PURE__*/styled.div(_templateObject11 || (_templateObject11 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n width: 100%;\n gap: 32px;\n\n @media ", " {\n flex-direction: row;\n height: 60px;\n justify-content: flex-end;\n }\n"])), devices.mobileAndTablet);
|
|
5226
|
+
var NavContainer = /*#__PURE__*/styled.div(_templateObject12 || (_templateObject12 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: flex-end;\n flex-gap: 32px;\n width: fit-content;\n\n @media ", " {\n flex-gap: 0;\n height: auto;\n width: fit-content;\n margin-left: 20px;\n margin-right: 20px;\n }\n"])), devices.mobileAndTablet);
|
|
5152
5227
|
var NavContainerGridItem = /*#__PURE__*/styled(GridItem)(_templateObject13 || (_templateObject13 = /*#__PURE__*/_taggedTemplateLiteralLoose([""])));
|
|
5153
|
-
var NavTopContainer = /*#__PURE__*/styled.div(_templateObject14 || (_templateObject14 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n
|
|
5228
|
+
var NavTopContainer = /*#__PURE__*/styled.div(_templateObject14 || (_templateObject14 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n\n @media ", " {\n display: none;\n }\n"])), devices.mobileAndTablet);
|
|
5154
5229
|
var NavTopContainerMobile = /*#__PURE__*/styled.div(_templateObject15 || (_templateObject15 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: none;\n\n @media ", " {\n display: flex;\n width: fit-content;\n align-items: center;\n height: 10%;\n margin-left: 20px;\n padding-bottom: 36px;\n }\n"])), devices.mobileAndTablet);
|
|
5155
5230
|
|
|
5156
5231
|
var _templateObject$y;
|
|
@@ -5172,7 +5247,7 @@ var BasketContainer = /*#__PURE__*/styled.div(_templateObject$z || (_templateObj
|
|
|
5172
5247
|
});
|
|
5173
5248
|
var SvgContainer = /*#__PURE__*/styled.div(_templateObject2$p || (_templateObject2$p = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n position: relative;\n\n svg {\n width: var(--navigation-large-gap);\n height: var(--navigation-large-gap);\n }\n"])));
|
|
5174
5249
|
var NumContainer = /*#__PURE__*/styled.div(_templateObject3$f || (_templateObject3$f = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n justify-content: center;\n width: 12px;\n height: 12px;\n position: absolute;\n top: 8px;\n margin-left: 6px;\n"])));
|
|
5175
|
-
var BasketInfo = /*#__PURE__*/styled.div(_templateObject4$c || (_templateObject4$c = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n @media ", " {\n width: max-content;\n }\n"])), devices.mobileAndTablet);
|
|
5250
|
+
var BasketInfo = /*#__PURE__*/styled.div(_templateObject4$c || (_templateObject4$c = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n\n @media ", " {\n width: max-content;\n }\n"])), devices.mobileAndTablet);
|
|
5176
5251
|
var BasketNum = /*#__PURE__*/styled.span(_templateObject5$9 || (_templateObject5$9 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n color: var(--color-base-white);\n font-size: 10px;\n font-family: var(--font-family-sans);\n"])));
|
|
5177
5252
|
var BasketText = /*#__PURE__*/styled.a(_templateObject6$6 || (_templateObject6$6 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n font-size: var(--harmonic-font-size-navigation);\n font-family: var(--font-family-sans);\n font-weight: var(--font-weight-navigation);\n color: var(--color-primary-black);\n margin-left: 6px;\n text-decoration: none;\n"])));
|
|
5178
5253
|
|
|
@@ -5717,78 +5792,6 @@ var InputContainer = /*#__PURE__*/styled.div(_templateObject5$a || (_templateObj
|
|
|
5717
5792
|
var TextLinkWrapper$1 = /*#__PURE__*/styled(TextLink)(_templateObject6$7 || (_templateObject6$7 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n color: var(--color-primary-red);\n"])));
|
|
5718
5793
|
var SearchArrowContainer = /*#__PURE__*/styled.a(_templateObject7$3 || (_templateObject7$3 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n padding-right: 8px;\n\n svg {\n width: var(--navigation-large-gap);\n height: var(--navigation-large-gap);\n }\n"])));
|
|
5719
5794
|
|
|
5720
|
-
// WARNING: Do not use this on server side rendering, it may throw an error.
|
|
5721
|
-
var isIOS = function isIOS() {
|
|
5722
|
-
try {
|
|
5723
|
-
console.warn('Do not use this on server side rendering, it may throw an error.');
|
|
5724
|
-
if (typeof navigator === undefined) return false;
|
|
5725
|
-
return ['iPad Simulator', 'iPhone Simulator', 'iPod Simulator', 'iPad', 'iPhone', 'iPod'].includes(navigator.platform) ||
|
|
5726
|
-
// iPad on iOS 13 detection
|
|
5727
|
-
navigator.userAgent.includes('Mac') && 'ontouchend' in document;
|
|
5728
|
-
} catch (e) {
|
|
5729
|
-
console.warn('Error checking if device is iOS.', e);
|
|
5730
|
-
return false;
|
|
5731
|
-
}
|
|
5732
|
-
};
|
|
5733
|
-
// React hook version of isIOS (for server side rendering)
|
|
5734
|
-
var useIOS = function useIOS() {
|
|
5735
|
-
var _useState = useState(false),
|
|
5736
|
-
IOS = _useState[0],
|
|
5737
|
-
setIOS = _useState[1];
|
|
5738
|
-
useEffect(function () {
|
|
5739
|
-
if (typeof navigator === undefined) return;
|
|
5740
|
-
setIOS(isIOS());
|
|
5741
|
-
}, []);
|
|
5742
|
-
return IOS;
|
|
5743
|
-
};
|
|
5744
|
-
// Checks device size based on window width
|
|
5745
|
-
var isMobile = function isMobile() {
|
|
5746
|
-
try {
|
|
5747
|
-
console.warn('Do not use this on server side rendering, it may throw an error.');
|
|
5748
|
-
if (typeof window === undefined) return false;
|
|
5749
|
-
return window.innerWidth < breakpoints.sm;
|
|
5750
|
-
} catch (e) {
|
|
5751
|
-
console.warn('Error checking if device is mobile.', e);
|
|
5752
|
-
return false;
|
|
5753
|
-
}
|
|
5754
|
-
};
|
|
5755
|
-
// React hook version of isMobile (for server side rendering)
|
|
5756
|
-
var useMobile = function useMobile() {
|
|
5757
|
-
var _useState2 = useState(false),
|
|
5758
|
-
mobile = _useState2[0],
|
|
5759
|
-
setMobile = _useState2[1];
|
|
5760
|
-
useEffect(function () {
|
|
5761
|
-
if (typeof window === undefined) return;
|
|
5762
|
-
setMobile(isMobile());
|
|
5763
|
-
}, []);
|
|
5764
|
-
return mobile;
|
|
5765
|
-
};
|
|
5766
|
-
var useViewport = function useViewport() {
|
|
5767
|
-
var _useState3 = useState({
|
|
5768
|
-
width: window.innerWidth,
|
|
5769
|
-
isMobile: window.innerWidth < breakpoints.sm,
|
|
5770
|
-
isTablet: window.innerWidth >= breakpoints.sm && window.innerWidth < breakpoints.md,
|
|
5771
|
-
isDesktop: window.innerWidth >= breakpoints.md
|
|
5772
|
-
}),
|
|
5773
|
-
viewport = _useState3[0],
|
|
5774
|
-
setViewport = _useState3[1];
|
|
5775
|
-
useEffect(function () {
|
|
5776
|
-
var handleResize = function handleResize() {
|
|
5777
|
-
setViewport({
|
|
5778
|
-
width: window.innerWidth,
|
|
5779
|
-
isMobile: window.innerWidth < breakpoints.sm,
|
|
5780
|
-
isTablet: window.innerWidth >= breakpoints.sm && window.innerWidth < breakpoints.md,
|
|
5781
|
-
isDesktop: window.innerWidth >= breakpoints.md
|
|
5782
|
-
});
|
|
5783
|
-
};
|
|
5784
|
-
window.addEventListener('resize', handleResize);
|
|
5785
|
-
return function () {
|
|
5786
|
-
return window.removeEventListener('resize', handleResize);
|
|
5787
|
-
};
|
|
5788
|
-
}, []);
|
|
5789
|
-
return viewport;
|
|
5790
|
-
};
|
|
5791
|
-
|
|
5792
5795
|
var SearchBar = function SearchBar(_ref) {
|
|
5793
5796
|
var onClick = _ref.onClick,
|
|
5794
5797
|
onClose = _ref.onClose,
|
|
@@ -6043,13 +6046,16 @@ var PolicyLinksTextLinkWrapper = /*#__PURE__*/styled(TextLink)(_templateObject$E
|
|
|
6043
6046
|
|
|
6044
6047
|
var PolicyLinks = function PolicyLinks(_ref) {
|
|
6045
6048
|
var items = _ref.items;
|
|
6049
|
+
var _useViewport = useViewport(),
|
|
6050
|
+
isMobile = _useViewport.isMobile;
|
|
6046
6051
|
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, items.map(function (link, idx) {
|
|
6047
6052
|
return /*#__PURE__*/React__default.createElement(PolicyLinksTextLinkWrapper, {
|
|
6048
6053
|
key: link.href + "-" + idx,
|
|
6049
6054
|
target: link.href,
|
|
6050
6055
|
href: link.href,
|
|
6051
6056
|
"data-roh": link.dataRoh,
|
|
6052
|
-
"aria-label": link.title
|
|
6057
|
+
"aria-label": link.title,
|
|
6058
|
+
tabIndex: isMobile ? 4 : undefined
|
|
6053
6059
|
}, link.title);
|
|
6054
6060
|
}));
|
|
6055
6061
|
};
|
|
@@ -6069,7 +6075,9 @@ var Footer = function Footer(_ref) {
|
|
|
6069
6075
|
var _useViewport = useViewport(),
|
|
6070
6076
|
isMobile = _useViewport.isMobile;
|
|
6071
6077
|
return /*#__PURE__*/React__default.createElement(FooterSection, {
|
|
6072
|
-
className: className
|
|
6078
|
+
className: className,
|
|
6079
|
+
"aria-label": "Footer",
|
|
6080
|
+
role: "contentinfo"
|
|
6073
6081
|
}, /*#__PURE__*/React__default.createElement(FooterContainer, null, /*#__PURE__*/React__default.createElement(PolicyLinksSection, {
|
|
6074
6082
|
"data-testid": "policy-links"
|
|
6075
6083
|
}, /*#__PURE__*/React__default.createElement(PolicyLinks, {
|
|
@@ -6080,14 +6088,16 @@ var Footer = function Footer(_ref) {
|
|
|
6080
6088
|
items: rawSocialMediaLinks
|
|
6081
6089
|
}), /*#__PURE__*/React__default.createElement(TextLinkWrapper$2, {
|
|
6082
6090
|
href: contact.href,
|
|
6083
|
-
"aria-label": contact.title
|
|
6091
|
+
"aria-label": contact.title,
|
|
6092
|
+
tabIndex: isMobile ? 2 : undefined
|
|
6084
6093
|
}, contact.title)), /*#__PURE__*/React__default.createElement(SectionWrapper, null, /*#__PURE__*/React__default.createElement(BodyCopyHarmonic, {
|
|
6085
6094
|
size: "large",
|
|
6086
6095
|
color: "white"
|
|
6087
6096
|
}, newsletter.text), /*#__PURE__*/React__default.createElement(TextLinkWrapper$2, {
|
|
6088
6097
|
href: newsletter.link.href,
|
|
6089
6098
|
"data-roh": newsletter.link.dataRoh,
|
|
6090
|
-
"aria-label": newsletter.link.title
|
|
6099
|
+
"aria-label": newsletter.link.title,
|
|
6100
|
+
tabIndex: isMobile ? 3 : undefined
|
|
6091
6101
|
}, newsletter.link.title))), /*#__PURE__*/React__default.createElement(LogoAndDescriptionSection, null, /*#__PURE__*/React__default.createElement("div", {
|
|
6092
6102
|
"data-testid": "arts-logo"
|
|
6093
6103
|
}, /*#__PURE__*/React__default.createElement("a", Object.assign({
|
|
@@ -8143,7 +8153,7 @@ var SvgContainer$2 = /*#__PURE__*/styled.div(_templateObject2$E || (_templateObj
|
|
|
8143
8153
|
var isClickable = _ref2.isClickable;
|
|
8144
8154
|
return isClickable && "\n :hover:not(:active) {\n && svg path {\n fill: var(--announcement-banner-hover-color);\n }\n }\n :active {\n && svg path {\n fill: var(--announcement-banner-pressed-color);\n }\n }\n ";
|
|
8145
8155
|
});
|
|
8146
|
-
var ContentContainer$1 = /*#__PURE__*/styled.div(_templateObject3$r || (_templateObject3$r = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n overflow: auto;\n transition: max-height 0.2s ease;\n font-size: var(--font-size-body-1);\n font-family: var(--font-family-sans);\n font-feature-settings: var(--font-feature-settings-body);\n font-weight: var(--font-weight-body-1);\n letter-spacing: var(--letter-spacing-body-1);\n line-height: var(--line-height-body-1);\n text-transform: var(--text-transform-body);\n color: var(--announcement-banner-color);\n a {\n color: var(--announcement-banner-color);\n text-decoration: underline;\n }\n"])));
|
|
8156
|
+
var ContentContainer$1 = /*#__PURE__*/styled.div(_templateObject3$r || (_templateObject3$r = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n overflow: auto;\n transition: max-height 0.2s ease;\n font-size: var(--font-size-body-1);\n font-family: var(--font-family-sans);\n font-feature-settings: var(--font-feature-settings-body);\n font-weight: var(--font-weight-body-1);\n letter-spacing: var(--letter-spacing-body-1);\n line-height: var(--line-height-body-1);\n text-transform: var(--text-transform-body);\n color: var(--announcement-banner-color);\n a {\n color: var(--announcement-banner-color);\n text-decoration: underline;\n }\n\n * {\n margin-block-start: 0;\n margin-block-end: 0;\n margin-inline-start: 0;\n margin-inline-end: 0;\n }\n"])));
|
|
8147
8157
|
var OverlineWrapper = /*#__PURE__*/styled(HarmonicOverline)(_templateObject4$m || (_templateObject4$m = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n padding-bottom: 4px;\n && {\n color: var(--announcement-banner-color);\n }\n"])));
|
|
8148
8158
|
var BannerContentWrapper = /*#__PURE__*/styled(GridItem)(_templateObject5$h || (_templateObject5$h = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n && {\n grid-column: 3 / span 10;\n }\n\n @media ", ", ", " {\n && {\n grid-column: 3 / span 12;\n }\n }\n\n @media ", " {\n margin-left: ", ";\n margin-right: ", ";\n }\n"])), devices.desktop, devices.largeDesktop, devices.mobile, function (_ref3) {
|
|
8149
8159
|
var variant = _ref3.variant;
|