diy-template-components 0.2.19 → 0.2.21
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/build/index.es.js +9 -4
- package/build/index.es.js.map +1 -1
- package/build/index.js +9 -4
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -8007,7 +8007,9 @@ function Section({
|
|
|
8007
8007
|
nodeData,
|
|
8008
8008
|
emailRef,
|
|
8009
8009
|
customHtmlData,
|
|
8010
|
-
renderHTML = false
|
|
8010
|
+
renderHTML = false,
|
|
8011
|
+
isProceed = false,
|
|
8012
|
+
pixel
|
|
8011
8013
|
}) {
|
|
8012
8014
|
const header = nodeData?.components[0];
|
|
8013
8015
|
const body = nodeData?.components[1];
|
|
@@ -8017,7 +8019,7 @@ function Section({
|
|
|
8017
8019
|
return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("center", {
|
|
8018
8020
|
className: classes.wrapper,
|
|
8019
8021
|
ref: emailRef
|
|
8020
|
-
}, /*#__PURE__*/React__default["default"].createElement("table", {
|
|
8022
|
+
}, isProceed && pixel, /*#__PURE__*/React__default["default"].createElement("table", {
|
|
8021
8023
|
className: classes.main,
|
|
8022
8024
|
style: {
|
|
8023
8025
|
width: '100%',
|
|
@@ -8354,7 +8356,9 @@ function EmailDripMarket({
|
|
|
8354
8356
|
const convertToHtml = sectionData => {
|
|
8355
8357
|
const html = ReactDOMServer__default["default"].renderToStaticMarkup( /*#__PURE__*/React__default["default"].createElement(Section, {
|
|
8356
8358
|
nodeData: sectionData,
|
|
8357
|
-
renderHTML: true
|
|
8359
|
+
renderHTML: true,
|
|
8360
|
+
isProceed: extraProps.isProceed,
|
|
8361
|
+
pixel: extraProps.pixelURL
|
|
8358
8362
|
}));
|
|
8359
8363
|
return html;
|
|
8360
8364
|
};
|
|
@@ -8370,7 +8374,8 @@ function EmailDripMarket({
|
|
|
8370
8374
|
const emailRef = React.useRef(null);
|
|
8371
8375
|
return /*#__PURE__*/React__default["default"].createElement("section", {
|
|
8372
8376
|
style: {
|
|
8373
|
-
width: '95%'
|
|
8377
|
+
width: '95%',
|
|
8378
|
+
paddingBottom: '5%'
|
|
8374
8379
|
}
|
|
8375
8380
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8376
8381
|
onClick: e => {
|