@royaloperahouse/harmonic 0.10.0 → 0.10.1

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 CHANGED
@@ -1,3 +1,6 @@
1
+ ## [0.10.0]
2
+ - Restyle Tables, add accessibility labels to the Pagination component
3
+
1
4
  ## [0.9.3]
2
5
  - Card: use the first button as a source for OnClick handler
3
6
 
@@ -10500,6 +10500,8 @@ var PromoWithTitle = function PromoWithTitle(_ref) {
10500
10500
  children = _ref.children,
10501
10501
  videoSettings = _ref.videoSettings,
10502
10502
  className = _ref.className;
10503
+ var _useViewport = useViewport(),
10504
+ hydrated = _useViewport.hydrated;
10503
10505
  var truncate = function truncate(str, n) {
10504
10506
  return str.length >= n ? str.substr(0, n) : str;
10505
10507
  };
@@ -10523,6 +10525,7 @@ var PromoWithTitle = function PromoWithTitle(_ref) {
10523
10525
  fullScreenOption: false,
10524
10526
  loop: true
10525
10527
  };
10528
+ if (!hydrated) return null;
10526
10529
  return /*#__PURE__*/React__default.createElement(PromoWithTitleGrid, {
10527
10530
  imageToLeft: imageToLeft,
10528
10531
  className: className,