@pagenflow/email 1.1.8 → 1.1.9

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/index.esm.js CHANGED
@@ -17383,7 +17383,7 @@ function Button({ config, devMode }) {
17383
17383
  border: "0 solid",
17384
17384
  margin: 0,
17385
17385
  padding: 0,
17386
- }, children: jsx("tbody", { children: jsx("tr", { children: jsx("td", { dangerouslySetInnerHTML: {
17386
+ }, onClick: devMode ? (e) => e.preventDefault() : undefined, children: jsx("tbody", { children: jsx("tr", { children: jsx("td", { dangerouslySetInnerHTML: {
17387
17387
  __html: `
17388
17388
  ${vmlButton}
17389
17389
  <!--[if !mso]><!-->
@@ -18037,7 +18037,7 @@ function Image({ config, devNode, devMode }) {
18037
18037
  // --- End dev
18038
18038
  width: width || "100%",
18039
18039
  borderCollapse: "collapse",
18040
- }, children: [jsx("tbody", { children: jsx("tr", { children: jsx("td", { style: tdStyle, align: "center", children: content }) }) }), devNode && (jsx("tfoot", { children: jsx("tr", { children: jsx("td", { children: devNode }) }) }))] }));
18040
+ }, onClick: devMode ? (e) => e.preventDefault() : undefined, children: [jsx("tbody", { children: jsx("tr", { children: jsx("td", { style: tdStyle, align: "center", children: content }) }) }), devMode && !!devNode && (jsx("tfoot", { children: jsx("tr", { children: jsx("td", { children: devNode }) }) }))] }));
18041
18041
  }
18042
18042
  var Image_default = memo(Image, arePropsEqual);
18043
18043
 
@@ -18236,7 +18236,7 @@ function Text({ config, devMode, children }) {
18236
18236
  jsx("table", { "aria-label": "Text Block Wrapper", role: "presentation", cellPadding: 0, cellSpacing: 0, border: 0, style: {
18237
18237
  width: "100%",
18238
18238
  borderCollapse: "collapse",
18239
- }, children: jsx("tbody", { children: jsx("tr", { children: jsx("td", { style: tdStyle, align: textAlign, children: jsx("div", { style: contentStyle, dangerouslySetInnerHTML: { __html: (_a = text !== null && text !== void 0 ? text : children) !== null && _a !== void 0 ? _a : "" } }) }) }) }) }));
18239
+ }, onClick: devMode ? (e) => e.preventDefault() : undefined, children: jsx("tbody", { children: jsx("tr", { children: jsx("td", { style: tdStyle, align: textAlign, children: jsx("div", { style: contentStyle, dangerouslySetInnerHTML: { __html: (_a = text !== null && text !== void 0 ? text : children) !== null && _a !== void 0 ? _a : "" } }) }) }) }) }));
18240
18240
  }
18241
18241
  var Text_default = memo(Text, arePropsEqual);
18242
18242