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 CHANGED
@@ -7992,7 +7992,9 @@ function Section({
7992
7992
  nodeData,
7993
7993
  emailRef,
7994
7994
  customHtmlData,
7995
- renderHTML = false
7995
+ renderHTML = false,
7996
+ isProceed = false,
7997
+ pixel
7996
7998
  }) {
7997
7999
  const header = nodeData?.components[0];
7998
8000
  const body = nodeData?.components[1];
@@ -8002,7 +8004,7 @@ function Section({
8002
8004
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("center", {
8003
8005
  className: classes.wrapper,
8004
8006
  ref: emailRef
8005
- }, /*#__PURE__*/React.createElement("table", {
8007
+ }, isProceed && pixel, /*#__PURE__*/React.createElement("table", {
8006
8008
  className: classes.main,
8007
8009
  style: {
8008
8010
  width: '100%',
@@ -8339,7 +8341,9 @@ function EmailDripMarket({
8339
8341
  const convertToHtml = sectionData => {
8340
8342
  const html = ReactDOMServer.renderToStaticMarkup( /*#__PURE__*/React.createElement(Section, {
8341
8343
  nodeData: sectionData,
8342
- renderHTML: true
8344
+ renderHTML: true,
8345
+ isProceed: extraProps.isProceed,
8346
+ pixel: extraProps.pixelURL
8343
8347
  }));
8344
8348
  return html;
8345
8349
  };
@@ -8355,7 +8359,8 @@ function EmailDripMarket({
8355
8359
  const emailRef = useRef(null);
8356
8360
  return /*#__PURE__*/React.createElement("section", {
8357
8361
  style: {
8358
- width: '95%'
8362
+ width: '95%',
8363
+ paddingBottom: '5%'
8359
8364
  }
8360
8365
  }, /*#__PURE__*/React.createElement("div", {
8361
8366
  onClick: e => {