@meduza/ui-kit-2 0.8.704 → 0.9.0

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.
@@ -1188,9 +1188,7 @@ const EmbedBlock = ({
1188
1188
  return /*#__PURE__*/React.createElement("div", {
1189
1189
  className: styles$r.object
1190
1190
  }, /*#__PURE__*/React.createElement("div", {
1191
- className: makeClassName([[styles$r.wrapper, true]
1192
- // [styles.isYoutube, provider === 'youtube' && isProportional]
1193
- ]),
1191
+ className: styles$r.wrapper,
1194
1192
  style: style
1195
1193
  }, /*#__PURE__*/React.createElement(DangerousHTML, {
1196
1194
  className: styles$r.objectWrap,
@@ -1199,12 +1197,6 @@ const EmbedBlock = ({
1199
1197
  }
1200
1198
  }
1201
1199
  };
1202
- // if (isProportional && provider !== 'youtube') {
1203
- // style.paddingBottom = `${(block.data.height / block.data.width) * 100}%`
1204
- // style.height = 0
1205
- // } else if (isProportional && provider === 'youtube') {
1206
- // style.aspectRatio = `${block.data.width} / ${block.data.height}`
1207
- // }
1208
1200
  if (isProportional) {
1209
1201
  style.aspectRatio = `${block.data.width} / ${block.data.height}`;
1210
1202
  }
@@ -1224,9 +1216,7 @@ const EmbedBlock = ({
1224
1216
  }, children && ( /*#__PURE__*/React.createElement("div", {
1225
1217
  className: styles$r.object
1226
1218
  }, /*#__PURE__*/React.createElement("div", {
1227
- className: makeClassName([[styles$r.wrapper, true]
1228
- // [styles.isYoutube, provider === 'youtube' && isProportional]
1229
- ]),
1219
+ className: styles$r.wrapper,
1230
1220
  style: style
1231
1221
  }, /*#__PURE__*/React.createElement("div", {
1232
1222
  className: styles$r.objectWrap