@royaloperahouse/chord 2.4.1 → 2.4.2
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/CHANGELOG.md +3 -0
- package/dist/chord.cjs.development.js +6 -3
- package/dist/chord.cjs.development.js.map +1 -1
- package/dist/chord.cjs.production.min.js +1 -1
- package/dist/chord.cjs.production.min.js.map +1 -1
- package/dist/chord.esm.js +6 -3
- package/dist/chord.esm.js.map +1 -1
- package/dist/components/atoms/Logo/Logo.d.ts +1 -1
- package/dist/types/types.d.ts +4 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5590,11 +5590,13 @@ var Logo = function Logo(_ref) {
|
|
|
5590
5590
|
_ref$dataRoh = _ref.dataRoh,
|
|
5591
5591
|
dataRoh = _ref$dataRoh === void 0 ? 'imgLogo' : _ref$dataRoh,
|
|
5592
5592
|
_ref$urlLink = _ref.urlLink,
|
|
5593
|
-
urlLink = _ref$urlLink === void 0 ? 'https://www.
|
|
5593
|
+
urlLink = _ref$urlLink === void 0 ? 'https://www.rbo.org.uk/' : _ref$urlLink,
|
|
5594
5594
|
desktopImage = _ref.desktopImage,
|
|
5595
5595
|
devicesImage = _ref.devicesImage,
|
|
5596
5596
|
_ref$title = _ref.title,
|
|
5597
|
-
title = _ref$title === void 0 ? 'Royal Opera
|
|
5597
|
+
title = _ref$title === void 0 ? 'Royal Ballet and Opera' : _ref$title,
|
|
5598
|
+
_ref$altText = _ref.altText,
|
|
5599
|
+
altText = _ref$altText === void 0 ? 'Royal Ballet and Opera Homepage' : _ref$altText;
|
|
5598
5600
|
return /*#__PURE__*/React__default.createElement("a", {
|
|
5599
5601
|
"data-roh": dataRoh,
|
|
5600
5602
|
rel: "noopener noreferrer",
|
|
@@ -5607,7 +5609,8 @@ var Logo = function Logo(_ref) {
|
|
|
5607
5609
|
srcSet: devicesImage ? devicesImage : desktopImage,
|
|
5608
5610
|
media: devices.mobileAndTablet
|
|
5609
5611
|
}), /*#__PURE__*/React__default.createElement("img", {
|
|
5610
|
-
src: desktopImage
|
|
5612
|
+
src: desktopImage,
|
|
5613
|
+
alt: altText
|
|
5611
5614
|
}))));
|
|
5612
5615
|
};
|
|
5613
5616
|
|