@royaloperahouse/harmonic 0.11.0-f → 0.11.0-h
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/SectionSplitter/SectionSplitter.d.ts +1 -1
- package/dist/harmonic.cjs.development.js +13 -11
- 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 +13 -11
- package/dist/harmonic.esm.js.map +1 -1
- package/dist/types/types.d.ts +3 -3
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { ISectionSplitterProps } from '../../../types/types';
|
|
3
|
-
declare const SectionSplitter: ({ fullWidth }: ISectionSplitterProps) => React.JSX.Element;
|
|
3
|
+
declare const SectionSplitter: ({ fullWidth, className }: ISectionSplitterProps) => React.JSX.Element;
|
|
4
4
|
export default SectionSplitter;
|
|
@@ -3539,12 +3539,15 @@ var SecondaryLogo = function SecondaryLogo(_ref) {
|
|
|
3539
3539
|
|
|
3540
3540
|
var _templateObject$h, _templateObject2$a;
|
|
3541
3541
|
var SectionSplitterContainer = /*#__PURE__*/styled__default(Grid)(_templateObject$h || (_templateObject$h = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n height: 4px;\n"])));
|
|
3542
|
-
var Splitter = /*#__PURE__*/styled__default.div(_templateObject2$a || (_templateObject2$a = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n width: 100%;\n height: 4px;\n background: var(--base-
|
|
3542
|
+
var Splitter = /*#__PURE__*/styled__default.div(_templateObject2$a || (_templateObject2$a = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n width: 100%;\n height: 4px;\n background: var(--color-base-light-grey);\n"])));
|
|
3543
3543
|
|
|
3544
3544
|
var SectionSplitter = function SectionSplitter(_ref) {
|
|
3545
3545
|
var _ref$fullWidth = _ref.fullWidth,
|
|
3546
|
-
fullWidth = _ref$fullWidth === void 0 ? true : _ref$fullWidth
|
|
3547
|
-
|
|
3546
|
+
fullWidth = _ref$fullWidth === void 0 ? true : _ref$fullWidth,
|
|
3547
|
+
className = _ref.className;
|
|
3548
|
+
return /*#__PURE__*/React__default.createElement(SectionSplitterContainer, {
|
|
3549
|
+
className: className
|
|
3550
|
+
}, fullWidth ? (/*#__PURE__*/React__default.createElement(GridItem, {
|
|
3548
3551
|
columnStartDesktop: 1,
|
|
3549
3552
|
columnSpanDesktop: 16,
|
|
3550
3553
|
columnStartDevice: 1,
|
|
@@ -4492,7 +4495,7 @@ var TypeTags = function TypeTags(_ref) {
|
|
|
4492
4495
|
return /*#__PURE__*/React__default.createElement("li", {
|
|
4493
4496
|
key: t
|
|
4494
4497
|
}, /*#__PURE__*/React__default.createElement(BodyCopyHarmonic, {
|
|
4495
|
-
size: "
|
|
4498
|
+
size: "medium"
|
|
4496
4499
|
}, t));
|
|
4497
4500
|
}));
|
|
4498
4501
|
};
|
|
@@ -9956,12 +9959,12 @@ var ButtonsContainer$2 = /*#__PURE__*/styled__default.div(_templateObject3$H ||
|
|
|
9956
9959
|
}
|
|
9957
9960
|
return '';
|
|
9958
9961
|
});
|
|
9959
|
-
var PromoWithTagsTagWrapper = /*#__PURE__*/styled__default.div(_templateObject4$z || (_templateObject4$z = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n margin-bottom: ", ";\n\n
|
|
9962
|
+
var PromoWithTagsTagWrapper = /*#__PURE__*/styled__default.div(_templateObject4$z || (_templateObject4$z = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n margin-bottom: ", ";\n\n ", "\n"])), function (_ref7) {
|
|
9960
9963
|
var marginBottom = _ref7.marginBottom;
|
|
9961
9964
|
return marginBottom + "px";
|
|
9962
|
-
},
|
|
9965
|
+
}, function (_ref8) {
|
|
9963
9966
|
var mobileMarginBottom = _ref8.mobileMarginBottom;
|
|
9964
|
-
return mobileMarginBottom + "px";
|
|
9967
|
+
return mobileMarginBottom && "\n @media " + devices.mobile + " {\n margin-bottom: " + mobileMarginBottom + "px;\n }\n ";
|
|
9965
9968
|
});
|
|
9966
9969
|
var TextLinksContainer = /*#__PURE__*/styled__default.div(_templateObject5$t || (_templateObject5$t = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n flex-wrap: wrap;\n margin: 24px 0 4px 0;\n"])));
|
|
9967
9970
|
var TextLinkWrapper$3 = /*#__PURE__*/styled__default.div(_templateObject6$o || (_templateObject6$o = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n margin-right: 24px;\n margin-bottom: 20px;\n\n &:last-child {\n margin-right: 0;\n }\n"])));
|
|
@@ -9986,7 +9989,7 @@ var PromoWithTagsContentWrapper = /*#__PURE__*/styled__default.div(_templateObje
|
|
|
9986
9989
|
});
|
|
9987
9990
|
var TimerWrapper$2 = /*#__PURE__*/styled__default.div(_templateObject12$3 || (_templateObject12$3 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n margin-bottom: 32px;\n"])));
|
|
9988
9991
|
var EndDateText = /*#__PURE__*/styled__default.div(_templateObject13$2 || (_templateObject13$2 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n border-bottom: 1px solid var(--color-base-black);\n padding-bottom: 32px;\n margin-bottom: 32px;\n\n @media ", " {\n padding-bottom: 20px;\n margin-bottom: 20px;\n }\n"])), devices.mobile);
|
|
9989
|
-
var HarmonicHeaderWithWrapper = /*#__PURE__*/styled__default(HarmonicHeader)(_templateObject14$1 || (_templateObject14$1 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n margin: 0;\n padding-bottom: 32px;\n\n @media ", " {\n padding-bottom: 24px;\n }\n"])), devices.
|
|
9992
|
+
var HarmonicHeaderWithWrapper = /*#__PURE__*/styled__default(HarmonicHeader)(_templateObject14$1 || (_templateObject14$1 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n margin: 0;\n padding-bottom: 32px;\n\n @media ", " {\n padding-bottom: 24px;\n }\n"])), devices.mobileAndTablet);
|
|
9990
9993
|
var BodyCopyHarmonicWithWrapper$1 = /*#__PURE__*/styled__default(BodyCopyHarmonic)(_templateObject15$1 || (_templateObject15$1 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n padding: 0;\n margin: 0;\n margin-bottom: 32px;\n whiete-space: break-spaces;\n overflow-wrap: break-word;\n\n a {\n text-decoration: underline;\n cursor: pointer;\n\n &[href^='tel:'] {\n text-decoration: none;\n }\n\n &:link {\n color: var(--color-primary-black);\n }\n\n &:visited {\n color: var(--color-base-dark-grey);\n }\n\n &:hover {\n color: var(--color-primary-red);\n }\n }\n @media ", " {\n margin-bottom: 24px;\n }\n"])), devices.mobile);
|
|
9991
9994
|
var HarmonicSubtitleWithWrapper = /*#__PURE__*/styled__default(HarmonicSubtitle)(_templateObject16 || (_templateObject16 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n overflow-wrap: break-word;\n margin-bottom: 16px;\n"])));
|
|
9992
9995
|
|
|
@@ -10101,8 +10104,7 @@ var PromoWithTags = function PromoWithTags(_ref) {
|
|
|
10101
10104
|
hideSection: showExtraContent,
|
|
10102
10105
|
asCard: asCard
|
|
10103
10106
|
}, renderTimerBlock(), /*#__PURE__*/React__default.createElement(React__default.Fragment, null, !!(aboveTitleTags != null && aboveTitleTags.length) && (/*#__PURE__*/React__default.createElement(PromoWithTagsTagWrapper, {
|
|
10104
|
-
marginBottom: 24
|
|
10105
|
-
mobileMarginBottom: 24
|
|
10107
|
+
marginBottom: 24
|
|
10106
10108
|
}, /*#__PURE__*/React__default.createElement(TypeTags, {
|
|
10107
10109
|
list: aboveTitleTags
|
|
10108
10110
|
}))), /*#__PURE__*/React__default.createElement(HarmonicHeaderWithWrapper, {
|
|
@@ -10114,7 +10116,7 @@ var PromoWithTags = function PromoWithTags(_ref) {
|
|
|
10114
10116
|
}, /*#__PURE__*/React__default.createElement(TypeTags, {
|
|
10115
10117
|
list: belowTitleTags
|
|
10116
10118
|
}))), subtitle ? /*#__PURE__*/React__default.createElement(HarmonicSubtitleWithWrapper, {
|
|
10117
|
-
size: "
|
|
10119
|
+
size: "large"
|
|
10118
10120
|
}, subtitle) : null, /*#__PURE__*/React__default.createElement(BodyCopyHarmonicWithWrapper$1, {
|
|
10119
10121
|
size: "large",
|
|
10120
10122
|
dangerouslySetInnerHTML: {
|