@bigbinary/neeto-site-blocks 1.10.32 → 1.10.34
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/index.cjs.js +15 -6
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +15 -6
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6245,7 +6245,11 @@ var Media = function Media(_ref) {
|
|
|
6245
6245
|
otherProps = _objectWithoutProperties(_ref, _excluded$v);
|
|
6246
6246
|
if (isEmbedded) {
|
|
6247
6247
|
var _design$width;
|
|
6248
|
-
return videoUrl && /*#__PURE__*/React.createElement(
|
|
6248
|
+
return videoUrl && /*#__PURE__*/React.createElement(StyledWrapper, {
|
|
6249
|
+
design: {
|
|
6250
|
+
width: "".concat((_design$width = design === null || design === void 0 ? void 0 : design.width) !== null && _design$width !== void 0 ? _design$width : "100", "%")
|
|
6251
|
+
}
|
|
6252
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
6249
6253
|
className: "relative h-0 w-full overflow-hidden pb-[56.25%]"
|
|
6250
6254
|
}, /*#__PURE__*/React.createElement(StyledWrapper, {
|
|
6251
6255
|
allow: "accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",
|
|
@@ -6253,14 +6257,15 @@ var Media = function Media(_ref) {
|
|
|
6253
6257
|
className: "absolute left-0 top-0 h-full w-full border-0",
|
|
6254
6258
|
design: dissoc("width", design),
|
|
6255
6259
|
height: "300px",
|
|
6256
|
-
src: validateUrl(videoUrl, autoPlay)
|
|
6257
|
-
|
|
6258
|
-
}));
|
|
6260
|
+
src: validateUrl(videoUrl, autoPlay)
|
|
6261
|
+
})));
|
|
6259
6262
|
}
|
|
6260
|
-
return /*#__PURE__*/React.createElement(StyledImage$1,
|
|
6263
|
+
return /*#__PURE__*/React.createElement(StyledImage$1, _extends$2({
|
|
6264
|
+
priority: true
|
|
6265
|
+
}, _objectSpread$i({
|
|
6261
6266
|
design: design,
|
|
6262
6267
|
src: src
|
|
6263
|
-
}, otherProps));
|
|
6268
|
+
}, otherProps)));
|
|
6264
6269
|
};
|
|
6265
6270
|
|
|
6266
6271
|
var PageNavigation = function PageNavigation(_ref) {
|
|
@@ -14496,6 +14501,7 @@ var HeaderWithButtons = function HeaderWithButtons(_ref) {
|
|
|
14496
14501
|
})
|
|
14497
14502
|
}, otherProps), /*#__PURE__*/React.createElement(StyledImage$1, {
|
|
14498
14503
|
image: image,
|
|
14504
|
+
priority: true,
|
|
14499
14505
|
alt: properties.logo.alt,
|
|
14500
14506
|
className: "max-h-8 sm:max-h-10 lg:max-h-14",
|
|
14501
14507
|
design: design.logo,
|
|
@@ -14614,6 +14620,7 @@ var HeaderWithDropdownLinks = function HeaderWithDropdownLinks(_ref) {
|
|
|
14614
14620
|
to: properties.logo.to
|
|
14615
14621
|
}, otherProps), /*#__PURE__*/React.createElement(StyledImage$1, {
|
|
14616
14622
|
image: image,
|
|
14623
|
+
priority: true,
|
|
14617
14624
|
alt: properties.logo.alt,
|
|
14618
14625
|
className: "max-h-8 sm:max-h-10 lg:max-h-14",
|
|
14619
14626
|
design: design.logo,
|
|
@@ -14724,6 +14731,7 @@ var HeaderWithIcons = function HeaderWithIcons(_ref) {
|
|
|
14724
14731
|
to: properties.logo.to
|
|
14725
14732
|
}, otherProps), /*#__PURE__*/React.createElement(StyledImage$1, {
|
|
14726
14733
|
image: image,
|
|
14734
|
+
priority: true,
|
|
14727
14735
|
alt: properties.logo.alt,
|
|
14728
14736
|
design: design.logo,
|
|
14729
14737
|
disableButtonAndLinks: otherProps.disableButtonAndLinks,
|
|
@@ -14843,6 +14851,7 @@ var HeaderWithLogoTitle = function HeaderWithLogoTitle(_ref) {
|
|
|
14843
14851
|
to: properties.logo.to
|
|
14844
14852
|
}, otherProps), /*#__PURE__*/React.createElement(StyledImage$1, {
|
|
14845
14853
|
image: image,
|
|
14854
|
+
priority: true,
|
|
14846
14855
|
alt: properties.logo.alt,
|
|
14847
14856
|
className: "max-h-8 sm:max-h-10 lg:max-h-14",
|
|
14848
14857
|
design: design.logo,
|