@royaloperahouse/chord 2.4.1 → 2.4.3
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 +6 -0
- package/dist/chord.cjs.development.js +7 -4
- 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 +7 -4
- 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
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
## [2.4.3]
|
|
2
|
+
- Fix Page Heading spacing around the title
|
|
3
|
+
|
|
4
|
+
## [2.4.2]
|
|
5
|
+
- Logo change in main nav bar - added alt text, updated url, updated images for local testing
|
|
6
|
+
|
|
1
7
|
## [2.4.1]
|
|
2
8
|
- Update Stream and Cinema badges with new logo.
|
|
3
9
|
- Update Page and Compact headers with new badges.
|
|
@@ -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
|
|
|
@@ -7946,7 +7949,7 @@ var Information = function Information(_ref) {
|
|
|
7946
7949
|
};
|
|
7947
7950
|
|
|
7948
7951
|
var _templateObject$W, _templateObject2$E, _templateObject3$w, _templateObject4$p, _templateObject5$j, _templateObject6$e, _templateObject7$9, _templateObject8$7;
|
|
7949
|
-
var PageHeadingWrapper = /*#__PURE__*/styled__default.div(_templateObject$W || (_templateObject$W = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n padding-bottom: 80px;\n background-color: ", ";\n color: var(--base-color-white);\n\n ", ";\n\n h2 {\n margin: 0;\n padding: 0;\n }\n\n @media ", " {\n padding-bottom: 0;\n }\n"])), function (_ref) {
|
|
7952
|
+
var PageHeadingWrapper = /*#__PURE__*/styled__default.div(_templateObject$W || (_templateObject$W = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n padding-bottom: 80px;\n background-color: ", ";\n color: var(--base-color-white);\n\n ", ";\n\n // remove spacing above/below for all semantic levels of the title\n h1,\n h2,\n h3,\n h4,\n h5,\n h6 {\n margin: 0;\n padding: 0;\n }\n\n @media ", " {\n padding-bottom: 0;\n }\n"])), function (_ref) {
|
|
7950
7953
|
var theme = _ref.theme;
|
|
7951
7954
|
return theme.colors.primary;
|
|
7952
7955
|
}, function (_ref2) {
|