@bigbinary/neeto-site-blocks 1.10.32 → 1.10.33
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 +7 -4
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +7 -4
- 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,9 +6276,8 @@ 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
6282
|
return /*#__PURE__*/React__default["default"].createElement(StyledImage$1, _objectSpread$i({
|
|
6280
6283
|
design: design,
|