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