@royaloperahouse/harmonic 0.6.2-b → 0.6.2-c
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 +3 -0
- 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 +3 -0
- package/dist/harmonic.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/harmonic.esm.js
CHANGED
|
@@ -8946,6 +8946,8 @@ var Information = function Information(_ref) {
|
|
|
8946
8946
|
cta = _ref.cta,
|
|
8947
8947
|
className = _ref.className,
|
|
8948
8948
|
theme = _ref.theme;
|
|
8949
|
+
var _useViewport = useViewport(),
|
|
8950
|
+
hydrated = _useViewport.hydrated;
|
|
8949
8951
|
var safeTitle = title || {
|
|
8950
8952
|
text: '',
|
|
8951
8953
|
textSize: 'medium'
|
|
@@ -8956,6 +8958,7 @@ var Information = function Information(_ref) {
|
|
|
8956
8958
|
});
|
|
8957
8959
|
var maxTitleWordLength = Math.max.apply(Math, titleWordLengths);
|
|
8958
8960
|
var titleColumnSpan = getColumnSpan(maxTitleWordLength);
|
|
8961
|
+
if (!hydrated) return null;
|
|
8959
8962
|
return /*#__PURE__*/React__default.createElement(InfoWrapper$1, {
|
|
8960
8963
|
"data-testid": "infoWrapper",
|
|
8961
8964
|
className: className
|