@bigbinary/neeto-molecules 4.0.82 → 4.0.84
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/ProductEmbed.js +7 -12
- package/dist/ProductEmbed.js.map +1 -1
- package/dist/cjs/ProductEmbed.js +7 -12
- package/dist/cjs/ProductEmbed.js.map +1 -1
- package/package.json +43 -43
package/dist/ProductEmbed.js
CHANGED
|
@@ -1515,31 +1515,26 @@ var Iframe = function Iframe(_ref) {
|
|
|
1515
1515
|
var iframeRef = useRef(null);
|
|
1516
1516
|
useIframeHeightReset(iframeRef, dynamicHeight);
|
|
1517
1517
|
return /*#__PURE__*/jsx("iframe", {
|
|
1518
|
+
height: height,
|
|
1519
|
+
width: width,
|
|
1518
1520
|
allowFullScreen: true,
|
|
1519
|
-
className: "m-auto",
|
|
1520
|
-
frameBorder: "0",
|
|
1521
|
-
height: "".concat(height, "%"),
|
|
1521
|
+
className: "m-auto border-0",
|
|
1522
1522
|
ref: iframeRef,
|
|
1523
1523
|
src: iframeURL,
|
|
1524
|
-
title: iframeTitle
|
|
1525
|
-
width: "".concat(width, "%")
|
|
1524
|
+
title: iframeTitle
|
|
1526
1525
|
});
|
|
1527
1526
|
};
|
|
1528
1527
|
|
|
1529
1528
|
var Inline = function Inline(_ref) {
|
|
1530
1529
|
var iframeURL = _ref.iframeURL,
|
|
1531
1530
|
customization = _ref.customization;
|
|
1532
|
-
var
|
|
1533
|
-
width = customization.width,
|
|
1534
|
-
dynamicHeight = customization.dynamicHeight;
|
|
1531
|
+
var dynamicHeight = customization.dynamicHeight;
|
|
1535
1532
|
var iframeRef = useRef(null);
|
|
1536
1533
|
useIframeHeightReset(iframeRef, dynamicHeight);
|
|
1537
1534
|
return /*#__PURE__*/jsx("iframe", {
|
|
1538
|
-
className: "m-auto",
|
|
1539
|
-
height: "".concat(height, "%"),
|
|
1535
|
+
className: "m-auto border-0",
|
|
1540
1536
|
ref: iframeRef,
|
|
1541
|
-
src: iframeURL
|
|
1542
|
-
width: "".concat(width, "%")
|
|
1537
|
+
src: iframeURL
|
|
1543
1538
|
});
|
|
1544
1539
|
};
|
|
1545
1540
|
|