@pagenflow/email 1.4.4 → 1.4.5

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
@@ -1621,7 +1621,9 @@ function Button({ config, devMode }) {
1621
1621
  let vmlButton = "";
1622
1622
  if (!useSimpleOutlookApproach) {
1623
1623
  // VML needs fixed pixel height. We estimate it based on padding and potential wrapping.
1624
- const numericPadding = padding ? parseInt(padding.split(" ")[0] || "12", 10) : 12;
1624
+ const numericPadding = padding
1625
+ ? parseInt(padding.split(" ")[0] || "12", 10)
1626
+ : 12;
1625
1627
  const numericFontSize = fontSize ? parseInt(fontSize, 10) : 0;
1626
1628
  const numericLineHeight = lineHeight
1627
1629
  ? lineHeight.includes("px")
@@ -2862,7 +2864,7 @@ function Spacer({ config, devNode }) {
2862
2864
  var Spacer_default = memo(Spacer, arePropsEqual);
2863
2865
 
2864
2866
  function Text({ config, devMode, children }) {
2865
- const { text, padding, color, textAlign, fontFamily, fontSize, fontWeight, fontStyle, lineHeight, letterSpacing, textTransform, textDecoration, direction, verticalAlign, backgroundColor, opacity, whiteSpace, wordBreak = "break-all", maxWidth } = config;
2867
+ const { text, padding, color, textAlign, fontFamily, fontSize, fontWeight, fontStyle, lineHeight, letterSpacing, textTransform, textDecoration, direction, verticalAlign, backgroundColor, opacity, whiteSpace, wordBreak = "break-all", maxWidth, } = config;
2866
2868
  // 1. TD Style: Where padding and background are reliably applied.
2867
2869
  const tdStyle = {
2868
2870
  padding: padding,
@@ -2889,7 +2891,7 @@ function Text({ config, devMode, children }) {
2889
2891
  wordBreak: wordBreak,
2890
2892
  margin: "0",
2891
2893
  padding: "0",
2892
- maxWidth
2894
+ maxWidth,
2893
2895
  };
2894
2896
  // Determine content to render
2895
2897
  const content = text !== null && text !== void 0 ? text : children;