@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.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("div", {
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,9 +6257,8 @@ 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
- width: "".concat((_design$width = design === null || design === void 0 ? void 0 : design.width) !== null && _design$width !== void 0 ? _design$width : "100", "%")
6258
- }));
6260
+ src: validateUrl(videoUrl, autoPlay)
6261
+ })));
6259
6262
  }
6260
6263
  return /*#__PURE__*/React.createElement(StyledImage$1, _objectSpread$i({
6261
6264
  design: design,