@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.
@@ -8056,7 +8056,9 @@ var PageHeadingHighlightCarousel = function PageHeadingHighlightCarousel(_ref) {
8056
8056
  hierarchy: "h1"
8057
8057
  }, title), /*#__PURE__*/React__default.createElement(HarmonicOverline, {
8058
8058
  size: "large"
8059
- }, subtitle)), text ? (/*#__PURE__*/React__default.createElement(HighlightTextWrapper, null, /*#__PURE__*/React__default.createElement(BodyCopyHarmonic, null, /*#__PURE__*/React__default.createElement("span", {
8059
+ }, subtitle)), text ? (/*#__PURE__*/React__default.createElement(HighlightTextWrapper, null, /*#__PURE__*/React__default.createElement(BodyCopyHarmonic, {
8060
+ size: "large"
8061
+ }, /*#__PURE__*/React__default.createElement("span", {
8060
8062
  dangerouslySetInnerHTML: {
8061
8063
  __html: text
8062
8064
  }
@@ -8561,6 +8563,8 @@ var PromoWithTags = function PromoWithTags(_ref) {
8561
8563
  disabledCTACopy = _ref$disabledCTACopy === void 0 ? 'Sold Out' : _ref$disabledCTACopy,
8562
8564
  timerParams = _ref.timerParams,
8563
8565
  className = _ref.className;
8566
+ var _useViewport = useViewport(),
8567
+ hydrated = _useViewport.hydrated;
8564
8568
  var _useState = useState(false),
8565
8569
  showExtraContent = _useState[0],
8566
8570
  setShowExtraContent = _useState[1];
@@ -8627,6 +8631,7 @@ var PromoWithTags = function PromoWithTags(_ref) {
8627
8631
  title: timerParams.title
8628
8632
  }));
8629
8633
  };
8634
+ if (!hydrated) return null;
8630
8635
  return /*#__PURE__*/React__default.createElement(PromoWithTagsGrid, {
8631
8636
  id: anchorLink,
8632
8637
  "data-testid": "grid-wrapper",