@royaloperahouse/chord 2.4.0-c-chord-development → 2.4.0-e-chord-development

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/chord.esm.js CHANGED
@@ -128,7 +128,9 @@ var StreamBadge = function StreamBadge(_ref) {
128
128
  width: "100%",
129
129
  height: "100%",
130
130
  viewBox: "110 450 865 200",
131
- xmlns: "http://www.w3.org/2000/svg"
131
+ xmlns: "http://www.w3.org/2000/svg",
132
+ role: "img",
133
+ "aria-label": "Royal Ballet & Opera - Stream"
132
134
  }, /*#__PURE__*/React__default.createElement("g", null, /*#__PURE__*/React__default.createElement("path", {
133
135
  d: "M416.81,485.21c0-9.38-6.6-14.94-18.59-14.94h-23.1v60.79h22.84c13.2,0,20.58-7.12,20.58-17.97,0-7.3-4.86-13.11-13.46-14.07,7.9-1.13,11.73-7.47,11.73-13.8ZM389.28,481.3h5.47c5.47,0,7.64,2.69,7.64,6.51s-2.17,6.51-7.73,6.51h-5.38v-13.03ZM395.79,519.59h-6.51v-14.59h6.42c4.95,0,8.43,2.69,8.43,7.29s-3.39,7.29-8.34,7.29Z",
134
136
  "stroke-width": "0"
@@ -226,7 +228,9 @@ var CinemaBadge = function CinemaBadge(_ref) {
226
228
  width: "100%",
227
229
  height: "100%",
228
230
  viewBox: "110 450 865 200",
229
- xmlns: "http://www.w3.org/2000/svg"
231
+ xmlns: "http://www.w3.org/2000/svg",
232
+ role: "img",
233
+ "aria-label": "Royal Ballet & Opera - Cinema"
230
234
  }, /*#__PURE__*/React__default.createElement("g", null, /*#__PURE__*/React__default.createElement("g", null, /*#__PURE__*/React__default.createElement("g", null, /*#__PURE__*/React__default.createElement("path", {
231
235
  d: "M416.26,485.21c0-9.38-6.6-14.94-18.59-14.94h-23.1v60.79h22.84c13.2,0,20.58-7.12,20.58-17.97\n\t\t\t\tc0-7.3-4.86-13.11-13.46-14.07C412.43,497.88,416.26,491.54,416.26,485.21z M388.73,481.3h5.47c5.47,0,7.64,2.69,7.64,6.51\n\t\t\t\tc0,3.82-2.17,6.51-7.73,6.51h-5.38V481.3z M395.24,519.59h-6.51v-14.59h6.42c4.95,0,8.43,2.69,8.43,7.29\n\t\t\t\tC403.58,516.81,400.19,519.59,395.24,519.59z"
232
236
  }), /*#__PURE__*/React__default.createElement("path", {
@@ -5625,11 +5629,13 @@ var Logo = function Logo(_ref) {
5625
5629
  _ref$dataRoh = _ref.dataRoh,
5626
5630
  dataRoh = _ref$dataRoh === void 0 ? 'imgLogo' : _ref$dataRoh,
5627
5631
  _ref$urlLink = _ref.urlLink,
5628
- urlLink = _ref$urlLink === void 0 ? 'https://www.roh.org.uk/' : _ref$urlLink,
5632
+ urlLink = _ref$urlLink === void 0 ? 'https://www.rbo.org.uk/' : _ref$urlLink,
5629
5633
  desktopImage = _ref.desktopImage,
5630
5634
  devicesImage = _ref.devicesImage,
5631
5635
  _ref$title = _ref.title,
5632
- title = _ref$title === void 0 ? 'Royal Opera House' : _ref$title;
5636
+ title = _ref$title === void 0 ? 'Royal Ballet and Opera' : _ref$title,
5637
+ _ref$altText = _ref.altText,
5638
+ altText = _ref$altText === void 0 ? 'Royal Ballet and Opera Homepage' : _ref$altText;
5633
5639
  return /*#__PURE__*/React__default.createElement("a", {
5634
5640
  "data-roh": dataRoh,
5635
5641
  rel: "noopener noreferrer",
@@ -5642,7 +5648,8 @@ var Logo = function Logo(_ref) {
5642
5648
  srcSet: devicesImage ? devicesImage : desktopImage,
5643
5649
  media: devices.mobileAndTablet
5644
5650
  }), /*#__PURE__*/React__default.createElement("img", {
5645
- src: desktopImage
5651
+ src: desktopImage,
5652
+ alt: altText
5646
5653
  }))));
5647
5654
  };
5648
5655
 
@@ -8227,7 +8234,7 @@ var BrandingTextBlock = /*#__PURE__*/styled.div(_templateObject$$ || (_templateO
8227
8234
  var BrandingTextBody = /*#__PURE__*/styled.p(_templateObject2$H || (_templateObject2$H = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n font-family: var(--font-family-body);\n font-size: var(--font-size-heading-6);\n line-height: var(--line-height-heading-6);\n"])));
8228
8235
  var ComapctHeaderWrapper = /*#__PURE__*/styled.div(_templateObject3$z || (_templateObject3$z = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n position: relative;\n display: block;\n"])));
8229
8236
  var CompactHeaderAssetWrapper = /*#__PURE__*/styled.div(_templateObject5$m || (_templateObject5$m = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n height: 37.5vw;\n width: 100%;\n position: relative;\n overflow: hidden;\n background-color: #000;\n img {\n position: relative;\n height: 100%;\n width: 100%;\n object-fit: cover;\n }\n video {\n position: absolute;\n top: 0;\n left: 0;\n height: 100%;\n width: 100%;\n object-fit: contain;\n @media ", " {\n position: absolute;\n top: 0;\n left: 0;\n bottom: 0;\n margin: auto;\n height: auto;\n max-height: 100vh;\n width: 100%;\n object-fit: contain;\n }\n }\n @media ", " {\n height: 85vw;\n max-height: 100vh;\n }\n"])), devices.mobile, devices.mobile);
8230
- var CompactHeaderCopyWrapper = /*#__PURE__*/styled(Grid)(_templateObject6$g || (_templateObject6$g = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n position: relative;\n height: 160px;\n grid-template-rows: min-content min-content;\n grid-template-rows: min-content min-content;\n grid-template-columns: [logo] 1fr [title] 3fr [cta] 1fr;\n align-content: center;\n gap: 0;\n background-color: ", ";\n color: ", ";\n\n svg {\n max-width: 210px;\n fill: ", ";\n }\n\n h1::selection,\n div::selection {\n ", ";\n }\n\n @media ", " {\n display: flex;\n flex-direction: column;\n height: auto;\n padding: 32px 20px;\n\n svg {\n max-width: 180px;\n }\n }\n"])), function (_ref) {
8237
+ var CompactHeaderCopyWrapper = /*#__PURE__*/styled(Grid)(_templateObject6$g || (_templateObject6$g = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n position: relative;\n height: 160px;\n grid-template-rows: min-content min-content;\n grid-template-rows: min-content min-content;\n grid-template-columns: [logo] 1fr [title] 3fr [cta] 1fr;\n align-content: center;\n gap: 0;\n background-color: ", ";\n color: ", ";\n\n svg {\n width: 210px;\n fill: ", ";\n }\n\n h1::selection,\n div::selection {\n ", ";\n }\n\n @media ", " {\n svg {\n width: 145px;\n }\n }\n\n @media ", " {\n display: flex;\n flex-direction: column;\n height: auto;\n padding: 32px 20px;\n\n svg {\n width: 180px;\n }\n }\n"])), function (_ref) {
8231
8238
  var invert = _ref.invert,
8232
8239
  theme = _ref.theme;
8233
8240
  return invert ? theme.colors.white : theme.colors.primary;
@@ -8242,7 +8249,7 @@ var CompactHeaderCopyWrapper = /*#__PURE__*/styled(Grid)(_templateObject6$g || (
8242
8249
  }, function (_ref4) {
8243
8250
  var theme = _ref4.theme;
8244
8251
  return theme.colors.primary === theme.colors.stream && "\n color: " + theme.colors.stream + ";\n background-color: " + theme.colors.white + ";\n ";
8245
- }, devices.mobile);
8252
+ }, devices.tablet, devices.mobile);
8246
8253
  var CompactHeaderLogoWrapper = /*#__PURE__*/styled.div(_templateObject7$b || (_templateObject7$b = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n grid-area: logo;\n padding-left: 50px;\n justify-content: left;\n align-items: center;\n width: 100%;\n @media ", " {\n padding-left: 0px;\n justify-content: center;\n }\n @media ", " {\n width: fit-content;\n }\n"])), devices.mobile, devices.tablet);
8247
8254
  var CompactHeaderTitleWrapper = /*#__PURE__*/styled.div(_templateObject8$9 || (_templateObject8$9 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n grid-area: title;\n align-items: center;\n justify-content: center;\n font-family: var(--font-family-header);\n text-transform: uppercase;\n text-align: center;\n padding: 0 2em;\n @media ", " {\n justify-content: center;\n }\n"])), devices.mobile);
8248
8255
  var CompactHeaderCTAWrapper = /*#__PURE__*/styled.div(_templateObject9$4 || (_templateObject9$4 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n grid-area: cta;\n justify-content: right;\n align-items: center;\n padding-right: 50px;\n @media ", " {\n padding-right: 0px;\n justify-content: center;\n }\n"])), devices.mobile);