@royaloperahouse/harmonic 0.17.0-g → 0.17.0-i
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 +6 -1
- 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 +6 -1
- package/dist/harmonic.esm.js.map +1 -1
- package/package.json +1 -1
|
@@ -8015,7 +8015,9 @@ var PageHeadingHighlightCarousel = function PageHeadingHighlightCarousel(_ref) {
|
|
|
8015
8015
|
hierarchy: "h1"
|
|
8016
8016
|
}, title), /*#__PURE__*/React__default.createElement(HarmonicOverline, {
|
|
8017
8017
|
size: "large"
|
|
8018
|
-
}, subtitle)), text ? (/*#__PURE__*/React__default.createElement(HighlightTextWrapper, null, /*#__PURE__*/React__default.createElement(BodyCopyHarmonic,
|
|
8018
|
+
}, subtitle)), text ? (/*#__PURE__*/React__default.createElement(HighlightTextWrapper, null, /*#__PURE__*/React__default.createElement(BodyCopyHarmonic, {
|
|
8019
|
+
size: "large"
|
|
8020
|
+
}, /*#__PURE__*/React__default.createElement("span", {
|
|
8019
8021
|
dangerouslySetInnerHTML: {
|
|
8020
8022
|
__html: text
|
|
8021
8023
|
}
|
|
@@ -8520,6 +8522,8 @@ var PromoWithTags = function PromoWithTags(_ref) {
|
|
|
8520
8522
|
disabledCTACopy = _ref$disabledCTACopy === void 0 ? 'Sold Out' : _ref$disabledCTACopy,
|
|
8521
8523
|
timerParams = _ref.timerParams,
|
|
8522
8524
|
className = _ref.className;
|
|
8525
|
+
var _useViewport = useViewport(),
|
|
8526
|
+
hydrated = _useViewport.hydrated;
|
|
8523
8527
|
var _useState = React.useState(false),
|
|
8524
8528
|
showExtraContent = _useState[0],
|
|
8525
8529
|
setShowExtraContent = _useState[1];
|
|
@@ -8586,6 +8590,7 @@ var PromoWithTags = function PromoWithTags(_ref) {
|
|
|
8586
8590
|
title: timerParams.title
|
|
8587
8591
|
}));
|
|
8588
8592
|
};
|
|
8593
|
+
if (!hydrated) return null;
|
|
8589
8594
|
return /*#__PURE__*/React__default.createElement(PromoWithTagsGrid, {
|
|
8590
8595
|
id: anchorLink,
|
|
8591
8596
|
"data-testid": "grid-wrapper",
|