@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.cjs.js
CHANGED
|
@@ -6264,7 +6264,11 @@ var Media = function Media(_ref) {
|
|
|
6264
6264
|
otherProps = _objectWithoutProperties__default["default"](_ref, _excluded$v);
|
|
6265
6265
|
if (isEmbedded) {
|
|
6266
6266
|
var _design$width;
|
|
6267
|
-
return videoUrl && /*#__PURE__*/React__default["default"].createElement(
|
|
6267
|
+
return videoUrl && /*#__PURE__*/React__default["default"].createElement(StyledWrapper, {
|
|
6268
|
+
design: {
|
|
6269
|
+
width: "".concat((_design$width = design === null || design === void 0 ? void 0 : design.width) !== null && _design$width !== void 0 ? _design$width : "100", "%")
|
|
6270
|
+
}
|
|
6271
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6268
6272
|
className: "relative h-0 w-full overflow-hidden pb-[56.25%]"
|
|
6269
6273
|
}, /*#__PURE__*/React__default["default"].createElement(StyledWrapper, {
|
|
6270
6274
|
allow: "accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",
|
|
@@ -6272,14 +6276,15 @@ var Media = function Media(_ref) {
|
|
|
6272
6276
|
className: "absolute left-0 top-0 h-full w-full border-0",
|
|
6273
6277
|
design: ramda.dissoc("width", design),
|
|
6274
6278
|
height: "300px",
|
|
6275
|
-
src: validateUrl(videoUrl, autoPlay)
|
|
6276
|
-
|
|
6277
|
-
}));
|
|
6279
|
+
src: validateUrl(videoUrl, autoPlay)
|
|
6280
|
+
})));
|
|
6278
6281
|
}
|
|
6279
|
-
return /*#__PURE__*/React__default["default"].createElement(StyledImage$1,
|
|
6282
|
+
return /*#__PURE__*/React__default["default"].createElement(StyledImage$1, _extends__default["default"]({
|
|
6283
|
+
priority: true
|
|
6284
|
+
}, _objectSpread$i({
|
|
6280
6285
|
design: design,
|
|
6281
6286
|
src: src
|
|
6282
|
-
}, otherProps));
|
|
6287
|
+
}, otherProps)));
|
|
6283
6288
|
};
|
|
6284
6289
|
|
|
6285
6290
|
var PageNavigation = function PageNavigation(_ref) {
|
|
@@ -14515,6 +14520,7 @@ var HeaderWithButtons = function HeaderWithButtons(_ref) {
|
|
|
14515
14520
|
})
|
|
14516
14521
|
}, otherProps), /*#__PURE__*/React__default["default"].createElement(StyledImage$1, {
|
|
14517
14522
|
image: image,
|
|
14523
|
+
priority: true,
|
|
14518
14524
|
alt: properties.logo.alt,
|
|
14519
14525
|
className: "max-h-8 sm:max-h-10 lg:max-h-14",
|
|
14520
14526
|
design: design.logo,
|
|
@@ -14633,6 +14639,7 @@ var HeaderWithDropdownLinks = function HeaderWithDropdownLinks(_ref) {
|
|
|
14633
14639
|
to: properties.logo.to
|
|
14634
14640
|
}, otherProps), /*#__PURE__*/React__default["default"].createElement(StyledImage$1, {
|
|
14635
14641
|
image: image,
|
|
14642
|
+
priority: true,
|
|
14636
14643
|
alt: properties.logo.alt,
|
|
14637
14644
|
className: "max-h-8 sm:max-h-10 lg:max-h-14",
|
|
14638
14645
|
design: design.logo,
|
|
@@ -14743,6 +14750,7 @@ var HeaderWithIcons = function HeaderWithIcons(_ref) {
|
|
|
14743
14750
|
to: properties.logo.to
|
|
14744
14751
|
}, otherProps), /*#__PURE__*/React__default["default"].createElement(StyledImage$1, {
|
|
14745
14752
|
image: image,
|
|
14753
|
+
priority: true,
|
|
14746
14754
|
alt: properties.logo.alt,
|
|
14747
14755
|
design: design.logo,
|
|
14748
14756
|
disableButtonAndLinks: otherProps.disableButtonAndLinks,
|
|
@@ -14862,6 +14870,7 @@ var HeaderWithLogoTitle = function HeaderWithLogoTitle(_ref) {
|
|
|
14862
14870
|
to: properties.logo.to
|
|
14863
14871
|
}, otherProps), /*#__PURE__*/React__default["default"].createElement(StyledImage$1, {
|
|
14864
14872
|
image: image,
|
|
14873
|
+
priority: true,
|
|
14865
14874
|
alt: properties.logo.alt,
|
|
14866
14875
|
className: "max-h-8 sm:max-h-10 lg:max-h-14",
|
|
14867
14876
|
design: design.logo,
|