@clay-design-system/email 0.2.0 → 0.2.2

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.
Files changed (104) hide show
  1. package/dist/build/asset-scoring.d.ts.map +1 -1
  2. package/dist/build/asset-scoring.js +2 -1
  3. package/dist/build/asset-scoring.js.map +1 -1
  4. package/dist/build/compile.js +1 -1
  5. package/dist/build/icon-registry-map.d.ts +2 -2
  6. package/dist/build/icon-registry-map.d.ts.map +1 -1
  7. package/dist/build/icon-registry-map.js +1 -1
  8. package/dist/build/placeholder.d.ts +79 -0
  9. package/dist/build/placeholder.d.ts.map +1 -0
  10. package/dist/build/placeholder.js +148 -0
  11. package/dist/build/placeholder.js.map +1 -0
  12. package/dist/build/visual-resolver.d.ts +20 -3
  13. package/dist/build/visual-resolver.d.ts.map +1 -1
  14. package/dist/build/visual-resolver.js +69 -5
  15. package/dist/build/visual-resolver.js.map +1 -1
  16. package/dist/catalog.json +77 -77
  17. package/dist/emails/component-buttons-icons.html +9 -9
  18. package/dist/emails/component-buttons-integration.html +9 -9
  19. package/dist/emails/component-buttons-primary.html +9 -9
  20. package/dist/emails/component-buttons-secondary.html +9 -9
  21. package/dist/emails/component-buttons-two-integrations.html +9 -9
  22. package/dist/emails/component-images-card-280h.html +9 -9
  23. package/dist/emails/component-images-card-320h.html +9 -9
  24. package/dist/emails/component-images-card.html +9 -9
  25. package/dist/emails/component-images-full-bleed-280h.html +9 -9
  26. package/dist/emails/component-images-full-bleed-400h.html +9 -9
  27. package/dist/emails/component-images-full-bleed.html +9 -9
  28. package/dist/emails/component-text-h1.html +9 -9
  29. package/dist/emails/component-text-h2.html +9 -9
  30. package/dist/emails/component-text-h3.html +9 -9
  31. package/dist/emails/component-text-h4.html +9 -9
  32. package/dist/emails/component-text-h5.html +9 -9
  33. package/dist/emails/component-text-p2.html +9 -9
  34. package/dist/emails/component-text-p3.html +11 -11
  35. package/dist/emails/component-text-p4.html +11 -11
  36. package/dist/emails/container.html +10 -10
  37. package/dist/emails/section-changelog-icon-list.html +9 -9
  38. package/dist/emails/section-divider-line.html +11 -11
  39. package/dist/emails/section-feature-highlight-reversed.html +9 -9
  40. package/dist/emails/section-feature-highlight.html +9 -9
  41. package/dist/emails/section-feature-rows.html +9 -9
  42. package/dist/emails/section-feature-story-row-reversed.html +11 -11
  43. package/dist/emails/section-feature-story-row.html +11 -11
  44. package/dist/emails/section-footer-lifecycle.html +9 -9
  45. package/dist/emails/section-footer-two-column-minimal.html +11 -11
  46. package/dist/emails/section-footer.html +15 -15
  47. package/dist/emails/section-header.html +9 -9
  48. package/dist/emails/section-hero.html +9 -9
  49. package/dist/emails/section-icon-feature-list.html +9 -9
  50. package/dist/emails/section-image-caption-block.html +9 -9
  51. package/dist/emails/section-image-hero.html +10 -10
  52. package/dist/emails/section-lesson-card.html +11 -11
  53. package/dist/emails/section-list-action-items.html +13 -13
  54. package/dist/emails/section-list-feature-items.html +9 -9
  55. package/dist/emails/section-list-icon-items.html +13 -13
  56. package/dist/emails/section-list-numbered-items.html +9 -9
  57. package/dist/emails/section-logo-header.html +9 -9
  58. package/dist/emails/section-newsletter-hero.html +10 -10
  59. package/dist/emails/section-product-ui-hero.html +9 -9
  60. package/dist/emails/section-promo-banner.html +9 -9
  61. package/dist/emails/section-qa-block.html +9 -9
  62. package/dist/emails/section-resource-link-list.html +9 -9
  63. package/dist/emails/section-signoff.html +9 -9
  64. package/dist/emails/section-single-column-author.html +9 -9
  65. package/dist/emails/section-single-column-feature-card.html +9 -9
  66. package/dist/emails/section-single-column-product-card.html +10 -10
  67. package/dist/emails/section-single-column-promo-card.html +10 -10
  68. package/dist/emails/section-spacer-fill.html +12 -12
  69. package/dist/emails/section-testimonial-dark-card.html +9 -9
  70. package/dist/emails/section-text-h1-regular.html +9 -9
  71. package/dist/emails/section-text-h2-regular.html +9 -9
  72. package/dist/emails/section-text-h3-regular.html +9 -9
  73. package/dist/emails/section-text-h4-regular.html +9 -9
  74. package/dist/emails/section-text-h5-regular.html +9 -9
  75. package/dist/emails/section-text-mixed-heading.html +9 -9
  76. package/dist/emails/section-text-overline-heading.html +11 -11
  77. package/dist/emails/section-text-p1-bold.html +9 -9
  78. package/dist/emails/section-text-p1-regular.html +9 -9
  79. package/dist/emails/section-text-paragraph.html +9 -9
  80. package/dist/emails/section-text-quote-card.html +9 -9
  81. package/dist/emails/section-text-quote.html +9 -9
  82. package/dist/emails/section-text-small-headline.html +10 -10
  83. package/dist/emails/section-three-column-content-cards.html +9 -9
  84. package/dist/emails/section-three-column-icon-cards.html +9 -9
  85. package/dist/emails/section-three-column-image-grid.html +9 -9
  86. package/dist/emails/section-three-up-icon-benefits.html +9 -9
  87. package/dist/emails/section-two-column-feature-cards.html +9 -9
  88. package/dist/emails/section-two-column-grid.html +9 -9
  89. package/dist/emails/section-two-column-img-text.html +9 -9
  90. package/dist/emails/section-two-column-live-tags.html +10 -10
  91. package/dist/emails/section-two-column-stacked.html +9 -9
  92. package/dist/emails/section-upsell-cta.html +9 -9
  93. package/dist/emails/section-value-bullet-list.html +9 -9
  94. package/dist/generated/email-tokens.d.ts +1 -1
  95. package/dist/generated/email-tokens.js +1 -1
  96. package/dist/index.d.ts +1 -1
  97. package/dist/index.d.ts.map +1 -1
  98. package/dist/index.js +1 -1
  99. package/dist/index.js.map +1 -1
  100. package/dist/tokens/build-email-assets.js +1 -1
  101. package/dist/tokens/build-email-assets.js.map +1 -1
  102. package/dist/tokens/build-email-tokens.js +10 -10
  103. package/dist/tokens/build-email-tokens.js.map +1 -1
  104. package/package.json +5 -3
@@ -76,8 +76,8 @@
76
76
 
77
77
  /* Mobile heading step-down — one-notch scale at the DS phone-only breakpoint
78
78
  @media(max-width:479px) (h1 56→48, h2 48→40, h3 40→32, h4 32→24). Keyed off the clay-h*
79
- css-class on the mj-text <td>; targets the inner <div> where MJML places font-size. Desktop
80
- size is the inline fallback if <style> is dropped. Per production emails, only the primary/
79
+ css-class on the mj-text td; targets the inner div where MJML places font-size. Desktop
80
+ size is the inline fallback if style is dropped. Per production emails, only the primary/
81
81
  hero heading opts in — add css-class="clay-hN" (alongside mj-class) to the hero heading's
82
82
  mj-text; secondary content headings keep mj-class alone and stay at desktop size. */
83
83
  @media only screen and (max-width: 479px) {
@@ -87,7 +87,7 @@
87
87
  .clay-h4 > div { font-size: 24px !important; }
88
88
 
89
89
  /* Mobile H-padding utilities — apply as css-class on mj-wrapper or mj-section to reduce
90
- the 40px horizontal padding to the source breakpoint value when columns stack (< 480px).
90
+ the 40px horizontal padding to the source breakpoint value when columns stack (below 480px).
91
91
  Source: emaillove export mobile CSS (.b98-68 → 24px, .d9b-0c → 16px, .fb5-e8 → 24px).
92
92
  Targets the outer td MJML generates with inline padding-left/padding-right. */
93
93
  .email-mobile-px-24 > table > tbody > tr > td { padding-right: 24px !important; padding-left: 24px !important; }
@@ -96,8 +96,8 @@
96
96
  .email-mobile-pt-0 > table > tbody > tr > td { padding-top: 0 !important; }
97
97
 
98
98
  /* Mobile text centering — apply as css-class on mj-text elements whose content should be
99
- center-aligned on mobile (< 480px). Matches the source emaillove .s0>div{text-align:center}.
100
- Targets the inner <div> MJML wraps text content in. */
99
+ center-aligned on mobile (below 480px). Matches the source emaillove .s0>div{text-align:center}.
100
+ Targets the inner div MJML wraps text content in. */
101
101
  .email-mobile-center > div { text-align: center !important; }
102
102
 
103
103
  /* Mobile image centering — apply css-class="email-mobile-center-img" on mj-image.
@@ -108,7 +108,7 @@
108
108
  .email-mobile-center-img > table { margin: 0 auto !important; }
109
109
 
110
110
  /* Full-width button on mobile — apply css-class="email-btn-full" to mj-button.
111
- Makes the button's inner <table> fill the column width and centers it.
111
+ Makes the button's inner table fill the column width and centers it.
112
112
  Matches emaillove .mj-b-full pattern. */
113
113
  .email-btn-full > table { width: 100% !important; }
114
114
  .email-btn-full > table > tbody > tr > td { text-align: center !important; }
@@ -136,10 +136,10 @@
136
136
  * email-card: flip a section or column's background to dark.
137
137
  *
138
138
  * Three selectors cover every compiled MJML structure:
139
- * 1. .email-card — the outer <div> (mj-section or mj-column)
140
- * 2. .email-card > table — the direct child <table> (mj-section has inline bg here)
139
+ * 1. .email-card — the outer div (mj-section or mj-column)
140
+ * 2. .email-card > table — the direct child table (mj-section has inline bg here)
141
141
  * 3. .email-card > table > tbody > tr > td
142
- * — the content <td> inside mj-column (carries inline bg-color
142
+ * — the content td inside mj-column (carries inline bg-color
143
143
  * + border-radius when background-color is set on mj-column)
144
144
  *
145
145
  * Apply css-class="email-card" to any mj-section or mj-column that should
@@ -72,8 +72,8 @@
72
72
 
73
73
  /* Mobile heading step-down — one-notch scale at the DS phone-only breakpoint
74
74
  @media(max-width:479px) (h1 56→48, h2 48→40, h3 40→32, h4 32→24). Keyed off the clay-h*
75
- css-class on the mj-text <td>; targets the inner <div> where MJML places font-size. Desktop
76
- size is the inline fallback if <style> is dropped. Per production emails, only the primary/
75
+ css-class on the mj-text td; targets the inner div where MJML places font-size. Desktop
76
+ size is the inline fallback if style is dropped. Per production emails, only the primary/
77
77
  hero heading opts in — add css-class="clay-hN" (alongside mj-class) to the hero heading's
78
78
  mj-text; secondary content headings keep mj-class alone and stay at desktop size. */
79
79
  @media only screen and (max-width: 479px) {
@@ -83,7 +83,7 @@
83
83
  .clay-h4 > div { font-size: 24px !important; }
84
84
 
85
85
  /* Mobile H-padding utilities — apply as css-class on mj-wrapper or mj-section to reduce
86
- the 40px horizontal padding to the source breakpoint value when columns stack (< 480px).
86
+ the 40px horizontal padding to the source breakpoint value when columns stack (below 480px).
87
87
  Source: emaillove export mobile CSS (.b98-68 → 24px, .d9b-0c → 16px, .fb5-e8 → 24px).
88
88
  Targets the outer td MJML generates with inline padding-left/padding-right. */
89
89
  .email-mobile-px-24 > table > tbody > tr > td { padding-right: 24px !important; padding-left: 24px !important; }
@@ -92,8 +92,8 @@
92
92
  .email-mobile-pt-0 > table > tbody > tr > td { padding-top: 0 !important; }
93
93
 
94
94
  /* Mobile text centering — apply as css-class on mj-text elements whose content should be
95
- center-aligned on mobile (< 480px). Matches the source emaillove .s0>div{text-align:center}.
96
- Targets the inner <div> MJML wraps text content in. */
95
+ center-aligned on mobile (below 480px). Matches the source emaillove .s0>div{text-align:center}.
96
+ Targets the inner div MJML wraps text content in. */
97
97
  .email-mobile-center > div { text-align: center !important; }
98
98
 
99
99
  /* Mobile image centering — apply css-class="email-mobile-center-img" on mj-image.
@@ -104,7 +104,7 @@
104
104
  .email-mobile-center-img > table { margin: 0 auto !important; }
105
105
 
106
106
  /* Full-width button on mobile — apply css-class="email-btn-full" to mj-button.
107
- Makes the button's inner <table> fill the column width and centers it.
107
+ Makes the button's inner table fill the column width and centers it.
108
108
  Matches emaillove .mj-b-full pattern. */
109
109
  .email-btn-full > table { width: 100% !important; }
110
110
  .email-btn-full > table > tbody > tr > td { text-align: center !important; }
@@ -132,10 +132,10 @@
132
132
  * email-card: flip a section or column's background to dark.
133
133
  *
134
134
  * Three selectors cover every compiled MJML structure:
135
- * 1. .email-card — the outer <div> (mj-section or mj-column)
136
- * 2. .email-card > table — the direct child <table> (mj-section has inline bg here)
135
+ * 1. .email-card — the outer div (mj-section or mj-column)
136
+ * 2. .email-card > table — the direct child table (mj-section has inline bg here)
137
137
  * 3. .email-card > table > tbody > tr > td
138
- * — the content <td> inside mj-column (carries inline bg-color
138
+ * — the content td inside mj-column (carries inline bg-color
139
139
  * + border-radius when background-color is set on mj-column)
140
140
  *
141
141
  * Apply css-class="email-card" to any mj-section or mj-column that should
@@ -72,8 +72,8 @@
72
72
 
73
73
  /* Mobile heading step-down — one-notch scale at the DS phone-only breakpoint
74
74
  @media(max-width:479px) (h1 56→48, h2 48→40, h3 40→32, h4 32→24). Keyed off the clay-h*
75
- css-class on the mj-text <td>; targets the inner <div> where MJML places font-size. Desktop
76
- size is the inline fallback if <style> is dropped. Per production emails, only the primary/
75
+ css-class on the mj-text td; targets the inner div where MJML places font-size. Desktop
76
+ size is the inline fallback if style is dropped. Per production emails, only the primary/
77
77
  hero heading opts in — add css-class="clay-hN" (alongside mj-class) to the hero heading's
78
78
  mj-text; secondary content headings keep mj-class alone and stay at desktop size. */
79
79
  @media only screen and (max-width: 479px) {
@@ -83,7 +83,7 @@
83
83
  .clay-h4 > div { font-size: 24px !important; }
84
84
 
85
85
  /* Mobile H-padding utilities — apply as css-class on mj-wrapper or mj-section to reduce
86
- the 40px horizontal padding to the source breakpoint value when columns stack (< 480px).
86
+ the 40px horizontal padding to the source breakpoint value when columns stack (below 480px).
87
87
  Source: emaillove export mobile CSS (.b98-68 → 24px, .d9b-0c → 16px, .fb5-e8 → 24px).
88
88
  Targets the outer td MJML generates with inline padding-left/padding-right. */
89
89
  .email-mobile-px-24 > table > tbody > tr > td { padding-right: 24px !important; padding-left: 24px !important; }
@@ -92,8 +92,8 @@
92
92
  .email-mobile-pt-0 > table > tbody > tr > td { padding-top: 0 !important; }
93
93
 
94
94
  /* Mobile text centering — apply as css-class on mj-text elements whose content should be
95
- center-aligned on mobile (< 480px). Matches the source emaillove .s0>div{text-align:center}.
96
- Targets the inner <div> MJML wraps text content in. */
95
+ center-aligned on mobile (below 480px). Matches the source emaillove .s0>div{text-align:center}.
96
+ Targets the inner div MJML wraps text content in. */
97
97
  .email-mobile-center > div { text-align: center !important; }
98
98
 
99
99
  /* Mobile image centering — apply css-class="email-mobile-center-img" on mj-image.
@@ -104,7 +104,7 @@
104
104
  .email-mobile-center-img > table { margin: 0 auto !important; }
105
105
 
106
106
  /* Full-width button on mobile — apply css-class="email-btn-full" to mj-button.
107
- Makes the button's inner <table> fill the column width and centers it.
107
+ Makes the button's inner table fill the column width and centers it.
108
108
  Matches emaillove .mj-b-full pattern. */
109
109
  .email-btn-full > table { width: 100% !important; }
110
110
  .email-btn-full > table > tbody > tr > td { text-align: center !important; }
@@ -132,10 +132,10 @@
132
132
  * email-card: flip a section or column's background to dark.
133
133
  *
134
134
  * Three selectors cover every compiled MJML structure:
135
- * 1. .email-card — the outer <div> (mj-section or mj-column)
136
- * 2. .email-card > table — the direct child <table> (mj-section has inline bg here)
135
+ * 1. .email-card — the outer div (mj-section or mj-column)
136
+ * 2. .email-card > table — the direct child table (mj-section has inline bg here)
137
137
  * 3. .email-card > table > tbody > tr > td
138
- * — the content <td> inside mj-column (carries inline bg-color
138
+ * — the content td inside mj-column (carries inline bg-color
139
139
  * + border-radius when background-color is set on mj-column)
140
140
  *
141
141
  * Apply css-class="email-card" to any mj-section or mj-column that should
@@ -286,7 +286,7 @@
286
286
  >
287
287
 
288
288
  <div
289
- style="font-family:Poppins, 'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:12px;font-weight:400;line-height:1.5;text-align:left;color:#7c7b7b;"
289
+ style="font-family:Poppins, 'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:12px;font-weight:400;line-height:1.5;text-align:left;color:#45454a;"
290
290
  ><a href="https://monday.com" style="display:inline-block;background-color:#e6e7ea;color:#252526;font-size:12px;font-weight:400;line-height:1.5;padding:4px 12px;border-radius:4px;text-decoration:none;mso-padding-alt:4px 12px;">Support 'Undo'</a>&#160;
291
291
  <a href="https://monday.com" style="display:inline-block;background-color:#6161ff;color:#ffffff;font-size:12px;font-weight:400;line-height:1.5;padding:4px 12px;border-radius:4px;text-decoration:none;mso-padding-alt:4px 12px;">Enterprise only</a></div>
292
292
 
@@ -72,8 +72,8 @@
72
72
 
73
73
  /* Mobile heading step-down — one-notch scale at the DS phone-only breakpoint
74
74
  @media(max-width:479px) (h1 56→48, h2 48→40, h3 40→32, h4 32→24). Keyed off the clay-h*
75
- css-class on the mj-text <td>; targets the inner <div> where MJML places font-size. Desktop
76
- size is the inline fallback if <style> is dropped. Per production emails, only the primary/
75
+ css-class on the mj-text td; targets the inner div where MJML places font-size. Desktop
76
+ size is the inline fallback if style is dropped. Per production emails, only the primary/
77
77
  hero heading opts in — add css-class="clay-hN" (alongside mj-class) to the hero heading's
78
78
  mj-text; secondary content headings keep mj-class alone and stay at desktop size. */
79
79
  @media only screen and (max-width: 479px) {
@@ -83,7 +83,7 @@
83
83
  .clay-h4 > div { font-size: 24px !important; }
84
84
 
85
85
  /* Mobile H-padding utilities — apply as css-class on mj-wrapper or mj-section to reduce
86
- the 40px horizontal padding to the source breakpoint value when columns stack (< 480px).
86
+ the 40px horizontal padding to the source breakpoint value when columns stack (below 480px).
87
87
  Source: emaillove export mobile CSS (.b98-68 → 24px, .d9b-0c → 16px, .fb5-e8 → 24px).
88
88
  Targets the outer td MJML generates with inline padding-left/padding-right. */
89
89
  .email-mobile-px-24 > table > tbody > tr > td { padding-right: 24px !important; padding-left: 24px !important; }
@@ -92,8 +92,8 @@
92
92
  .email-mobile-pt-0 > table > tbody > tr > td { padding-top: 0 !important; }
93
93
 
94
94
  /* Mobile text centering — apply as css-class on mj-text elements whose content should be
95
- center-aligned on mobile (< 480px). Matches the source emaillove .s0>div{text-align:center}.
96
- Targets the inner <div> MJML wraps text content in. */
95
+ center-aligned on mobile (below 480px). Matches the source emaillove .s0>div{text-align:center}.
96
+ Targets the inner div MJML wraps text content in. */
97
97
  .email-mobile-center > div { text-align: center !important; }
98
98
 
99
99
  /* Mobile image centering — apply css-class="email-mobile-center-img" on mj-image.
@@ -104,7 +104,7 @@
104
104
  .email-mobile-center-img > table { margin: 0 auto !important; }
105
105
 
106
106
  /* Full-width button on mobile — apply css-class="email-btn-full" to mj-button.
107
- Makes the button's inner <table> fill the column width and centers it.
107
+ Makes the button's inner table fill the column width and centers it.
108
108
  Matches emaillove .mj-b-full pattern. */
109
109
  .email-btn-full > table { width: 100% !important; }
110
110
  .email-btn-full > table > tbody > tr > td { text-align: center !important; }
@@ -132,10 +132,10 @@
132
132
  * email-card: flip a section or column's background to dark.
133
133
  *
134
134
  * Three selectors cover every compiled MJML structure:
135
- * 1. .email-card — the outer <div> (mj-section or mj-column)
136
- * 2. .email-card > table — the direct child <table> (mj-section has inline bg here)
135
+ * 1. .email-card — the outer div (mj-section or mj-column)
136
+ * 2. .email-card > table — the direct child table (mj-section has inline bg here)
137
137
  * 3. .email-card > table > tbody > tr > td
138
- * — the content <td> inside mj-column (carries inline bg-color
138
+ * — the content td inside mj-column (carries inline bg-color
139
139
  * + border-radius when background-color is set on mj-column)
140
140
  *
141
141
  * Apply css-class="email-card" to any mj-section or mj-column that should
@@ -72,8 +72,8 @@
72
72
 
73
73
  /* Mobile heading step-down — one-notch scale at the DS phone-only breakpoint
74
74
  @media(max-width:479px) (h1 56→48, h2 48→40, h3 40→32, h4 32→24). Keyed off the clay-h*
75
- css-class on the mj-text <td>; targets the inner <div> where MJML places font-size. Desktop
76
- size is the inline fallback if <style> is dropped. Per production emails, only the primary/
75
+ css-class on the mj-text td; targets the inner div where MJML places font-size. Desktop
76
+ size is the inline fallback if style is dropped. Per production emails, only the primary/
77
77
  hero heading opts in — add css-class="clay-hN" (alongside mj-class) to the hero heading's
78
78
  mj-text; secondary content headings keep mj-class alone and stay at desktop size. */
79
79
  @media only screen and (max-width: 479px) {
@@ -83,7 +83,7 @@
83
83
  .clay-h4 > div { font-size: 24px !important; }
84
84
 
85
85
  /* Mobile H-padding utilities — apply as css-class on mj-wrapper or mj-section to reduce
86
- the 40px horizontal padding to the source breakpoint value when columns stack (< 480px).
86
+ the 40px horizontal padding to the source breakpoint value when columns stack (below 480px).
87
87
  Source: emaillove export mobile CSS (.b98-68 → 24px, .d9b-0c → 16px, .fb5-e8 → 24px).
88
88
  Targets the outer td MJML generates with inline padding-left/padding-right. */
89
89
  .email-mobile-px-24 > table > tbody > tr > td { padding-right: 24px !important; padding-left: 24px !important; }
@@ -92,8 +92,8 @@
92
92
  .email-mobile-pt-0 > table > tbody > tr > td { padding-top: 0 !important; }
93
93
 
94
94
  /* Mobile text centering — apply as css-class on mj-text elements whose content should be
95
- center-aligned on mobile (< 480px). Matches the source emaillove .s0>div{text-align:center}.
96
- Targets the inner <div> MJML wraps text content in. */
95
+ center-aligned on mobile (below 480px). Matches the source emaillove .s0>div{text-align:center}.
96
+ Targets the inner div MJML wraps text content in. */
97
97
  .email-mobile-center > div { text-align: center !important; }
98
98
 
99
99
  /* Mobile image centering — apply css-class="email-mobile-center-img" on mj-image.
@@ -104,7 +104,7 @@
104
104
  .email-mobile-center-img > table { margin: 0 auto !important; }
105
105
 
106
106
  /* Full-width button on mobile — apply css-class="email-btn-full" to mj-button.
107
- Makes the button's inner <table> fill the column width and centers it.
107
+ Makes the button's inner table fill the column width and centers it.
108
108
  Matches emaillove .mj-b-full pattern. */
109
109
  .email-btn-full > table { width: 100% !important; }
110
110
  .email-btn-full > table > tbody > tr > td { text-align: center !important; }
@@ -132,10 +132,10 @@
132
132
  * email-card: flip a section or column's background to dark.
133
133
  *
134
134
  * Three selectors cover every compiled MJML structure:
135
- * 1. .email-card — the outer <div> (mj-section or mj-column)
136
- * 2. .email-card > table — the direct child <table> (mj-section has inline bg here)
135
+ * 1. .email-card — the outer div (mj-section or mj-column)
136
+ * 2. .email-card > table — the direct child table (mj-section has inline bg here)
137
137
  * 3. .email-card > table > tbody > tr > td
138
- * — the content <td> inside mj-column (carries inline bg-color
138
+ * — the content td inside mj-column (carries inline bg-color
139
139
  * + border-radius when background-color is set on mj-column)
140
140
  *
141
141
  * Apply css-class="email-card" to any mj-section or mj-column that should
@@ -62,8 +62,8 @@
62
62
 
63
63
  /* Mobile heading step-down — one-notch scale at the DS phone-only breakpoint
64
64
  @media(max-width:479px) (h1 56→48, h2 48→40, h3 40→32, h4 32→24). Keyed off the clay-h*
65
- css-class on the mj-text <td>; targets the inner <div> where MJML places font-size. Desktop
66
- size is the inline fallback if <style> is dropped. Per production emails, only the primary/
65
+ css-class on the mj-text td; targets the inner div where MJML places font-size. Desktop
66
+ size is the inline fallback if style is dropped. Per production emails, only the primary/
67
67
  hero heading opts in — add css-class="clay-hN" (alongside mj-class) to the hero heading's
68
68
  mj-text; secondary content headings keep mj-class alone and stay at desktop size. */
69
69
  @media only screen and (max-width: 479px) {
@@ -73,7 +73,7 @@
73
73
  .clay-h4 > div { font-size: 24px !important; }
74
74
 
75
75
  /* Mobile H-padding utilities — apply as css-class on mj-wrapper or mj-section to reduce
76
- the 40px horizontal padding to the source breakpoint value when columns stack (< 480px).
76
+ the 40px horizontal padding to the source breakpoint value when columns stack (below 480px).
77
77
  Source: emaillove export mobile CSS (.b98-68 → 24px, .d9b-0c → 16px, .fb5-e8 → 24px).
78
78
  Targets the outer td MJML generates with inline padding-left/padding-right. */
79
79
  .email-mobile-px-24 > table > tbody > tr > td { padding-right: 24px !important; padding-left: 24px !important; }
@@ -82,8 +82,8 @@
82
82
  .email-mobile-pt-0 > table > tbody > tr > td { padding-top: 0 !important; }
83
83
 
84
84
  /* Mobile text centering — apply as css-class on mj-text elements whose content should be
85
- center-aligned on mobile (< 480px). Matches the source emaillove .s0>div{text-align:center}.
86
- Targets the inner <div> MJML wraps text content in. */
85
+ center-aligned on mobile (below 480px). Matches the source emaillove .s0>div{text-align:center}.
86
+ Targets the inner div MJML wraps text content in. */
87
87
  .email-mobile-center > div { text-align: center !important; }
88
88
 
89
89
  /* Mobile image centering — apply css-class="email-mobile-center-img" on mj-image.
@@ -94,7 +94,7 @@
94
94
  .email-mobile-center-img > table { margin: 0 auto !important; }
95
95
 
96
96
  /* Full-width button on mobile — apply css-class="email-btn-full" to mj-button.
97
- Makes the button's inner <table> fill the column width and centers it.
97
+ Makes the button's inner table fill the column width and centers it.
98
98
  Matches emaillove .mj-b-full pattern. */
99
99
  .email-btn-full > table { width: 100% !important; }
100
100
  .email-btn-full > table > tbody > tr > td { text-align: center !important; }
@@ -122,10 +122,10 @@
122
122
  * email-card: flip a section or column's background to dark.
123
123
  *
124
124
  * Three selectors cover every compiled MJML structure:
125
- * 1. .email-card — the outer <div> (mj-section or mj-column)
126
- * 2. .email-card > table — the direct child <table> (mj-section has inline bg here)
125
+ * 1. .email-card — the outer div (mj-section or mj-column)
126
+ * 2. .email-card > table — the direct child table (mj-section has inline bg here)
127
127
  * 3. .email-card > table > tbody > tr > td
128
- * — the content <td> inside mj-column (carries inline bg-color
128
+ * — the content td inside mj-column (carries inline bg-color
129
129
  * + border-radius when background-color is set on mj-column)
130
130
  *
131
131
  * Apply css-class="email-card" to any mj-section or mj-column that should
@@ -4,7 +4,7 @@ export declare const emailColor: {
4
4
  readonly page: "#f3f4f5";
5
5
  readonly surface: "#ffffff";
6
6
  readonly text: "#252526";
7
- readonly textMuted: "#7c7b7b";
7
+ readonly textMuted: "#45454a";
8
8
  readonly brand: "#6161ff";
9
9
  readonly brandLink: "#6161ff";
10
10
  readonly onBrand: "#ffffff";
@@ -7,7 +7,7 @@ export const emailColor = {
7
7
  "page": "#f3f4f5",
8
8
  "surface": "#ffffff",
9
9
  "text": "#252526",
10
- "textMuted": "#7c7b7b",
10
+ "textMuted": "#45454a",
11
11
  "brand": "#6161ff",
12
12
  "brandLink": "#6161ff",
13
13
  "onBrand": "#ffffff",
package/dist/index.d.ts CHANGED
@@ -4,6 +4,6 @@
4
4
  * Runtime surface = the inline-able email token constants (generated from @clay-design-system/tokens) and the
5
5
  * catalog types. Compiled email HTML is read from `@clay-design-system/email/catalog.json`.
6
6
  */
7
- export * from './generated/email-tokens';
7
+ export * from './generated/email-tokens.js';
8
8
  export type { Catalog, CatalogItem, CatalogKind } from './build/catalog';
9
9
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,cAAc,0BAA0B,CAAA;AACxC,YAAY,EAAE,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,cAAc,6BAA6B,CAAA;AAC3C,YAAY,EAAE,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAA"}
package/dist/index.js CHANGED
@@ -4,5 +4,5 @@
4
4
  * Runtime surface = the inline-able email token constants (generated from @clay-design-system/tokens) and the
5
5
  * catalog types. Compiled email HTML is read from `@clay-design-system/email/catalog.json`.
6
6
  */
7
- export * from './generated/email-tokens';
7
+ export * from './generated/email-tokens.js';
8
8
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,cAAc,0BAA0B,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,cAAc,6BAA6B,CAAA"}
@@ -102,7 +102,7 @@ const iconListRow = (r, i) => {
102
102
  <mj-image src="${src}" width="24px" align="left" padding="0" alt="" />
103
103
  </mj-column>
104
104
  <mj-column width="92.142857%" vertical-align="top" padding-left="8px">
105
- <mj-text mj-class="clay-p2" css-class="email-text" color="#000000"><span style="font-weight:600;">${r.title}</span><br /><span>${r.desc}</span></mj-text>
105
+ <mj-text mj-class="clay-p2" css-class="email-text"><span style="font-weight:600;">${r.title}</span><br /><span>${r.desc}</span></mj-text>
106
106
  </mj-column>
107
107
  </mj-group>
108
108
  </mj-section>`;
@@ -1 +1 @@
1
- {"version":3,"file":"build-email-assets.js","sourceRoot":"","sources":["../../src/tokens/build-email-assets.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,SAAS,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AACzF,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAA;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AACxC,OAAO,KAAK,MAAM,MAAM,4BAA4B,CAAA;AAEpD,MAAM,SAAS,GAAG,OAAO,CAAC,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAA;AACzD,MAAM,QAAQ,GAAI,OAAO,CAAC,SAAS,E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ED,OAAO,CAAC,GAAG,CAAC,oGAAoG,CAAC,CAAA"}
@@ -27,7 +27,7 @@ const color = {
27
27
  page: tokens.ClayColorBackgroundDefaultSecondary, // #f3f4f5
28
28
  surface: tokens.ClayColorBackgroundDefaultDefault, // #ffffff
29
29
  text: tokens.ClayColorTextDefaultDefault, // #252526
30
- textMuted: tokens.ClayColorTextDefaultSecondary, // #7c7b7b
30
+ textMuted: tokens.ClayColorTextDefaultSecondary, // #45454a (grey-700)
31
31
  brand: tokens.ClayColorBackgroundBrandDefault, // #6161ff
32
32
  brandLink: tokens.ClayColorTextBrandDefault, // #6161ff
33
33
  onBrand: tokens.ClayColorTextOnDark, // #ffffff
@@ -114,8 +114,8 @@ const baseHead = `<!-- ${BANNER} -->
114
114
 
115
115
  /* Mobile heading step-down — one-notch scale at the DS phone-only breakpoint
116
116
  @media(max-width:479px) (h1 56→48, h2 48→40, h3 40→32, h4 32→24). Keyed off the clay-h*
117
- css-class on the mj-text <td>; targets the inner <div> where MJML places font-size. Desktop
118
- size is the inline fallback if <style> is dropped. Per production emails, only the primary/
117
+ css-class on the mj-text td; targets the inner div where MJML places font-size. Desktop
118
+ size is the inline fallback if style is dropped. Per production emails, only the primary/
119
119
  hero heading opts in — add css-class="clay-hN" (alongside mj-class) to the hero heading's
120
120
  mj-text; secondary content headings keep mj-class alone and stay at desktop size. */
121
121
  @media only screen and (max-width: 479px) {
@@ -125,7 +125,7 @@ const baseHead = `<!-- ${BANNER} -->
125
125
  .clay-h4 > div { font-size: ${type.h4.sizeMobile} !important; }
126
126
 
127
127
  /* Mobile H-padding utilities — apply as css-class on mj-wrapper or mj-section to reduce
128
- the 40px horizontal padding to the source breakpoint value when columns stack (< 480px).
128
+ the 40px horizontal padding to the source breakpoint value when columns stack (below 480px).
129
129
  Source: emaillove export mobile CSS (.b98-68 → 24px, .d9b-0c → 16px, .fb5-e8 → 24px).
130
130
  Targets the outer td MJML generates with inline padding-left/padding-right. */
131
131
  .email-mobile-px-24 > table > tbody > tr > td { padding-right: 24px !important; padding-left: 24px !important; }
@@ -134,8 +134,8 @@ const baseHead = `<!-- ${BANNER} -->
134
134
  .email-mobile-pt-0 > table > tbody > tr > td { padding-top: 0 !important; }
135
135
 
136
136
  /* Mobile text centering — apply as css-class on mj-text elements whose content should be
137
- center-aligned on mobile (< 480px). Matches the source emaillove .s0>div{text-align:center}.
138
- Targets the inner <div> MJML wraps text content in. */
137
+ center-aligned on mobile (below 480px). Matches the source emaillove .s0>div{text-align:center}.
138
+ Targets the inner div MJML wraps text content in. */
139
139
  .email-mobile-center > div { text-align: center !important; }
140
140
 
141
141
  /* Mobile image centering — apply css-class="email-mobile-center-img" on mj-image.
@@ -146,7 +146,7 @@ const baseHead = `<!-- ${BANNER} -->
146
146
  .email-mobile-center-img > table { margin: 0 auto !important; }
147
147
 
148
148
  /* Full-width button on mobile — apply css-class="email-btn-full" to mj-button.
149
- Makes the button's inner <table> fill the column width and centers it.
149
+ Makes the button's inner table fill the column width and centers it.
150
150
  Matches emaillove .mj-b-full pattern. */
151
151
  .email-btn-full > table { width: 100% !important; }
152
152
  .email-btn-full > table > tbody > tr > td { text-align: center !important; }
@@ -174,10 +174,10 @@ const baseHead = `<!-- ${BANNER} -->
174
174
  * email-card: flip a section or column's background to dark.
175
175
  *
176
176
  * Three selectors cover every compiled MJML structure:
177
- * 1. .email-card — the outer <div> (mj-section or mj-column)
178
- * 2. .email-card > table — the direct child <table> (mj-section has inline bg here)
177
+ * 1. .email-card — the outer div (mj-section or mj-column)
178
+ * 2. .email-card > table — the direct child table (mj-section has inline bg here)
179
179
  * 3. .email-card > table > tbody > tr > td
180
- * — the content <td> inside mj-column (carries inline bg-color
180
+ * — the content td inside mj-column (carries inline bg-color
181
181
  * + border-radius when background-color is set on mj-column)
182
182
  *
183
183
  * Apply css-class="email-card" to any mj-section or mj-column that should
@@ -1 +1 @@
1
- {"version":3,"file":"build-email-tokens.js","sourceRoot":"","sources":["../../src/tokens/build-email-tokens.ts"],"names":[],"m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AAC,EAAE,CAAC,UAAU;kCAClB,IAAI,CAAC,EAAE,CAAC,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4CA+CR,KAAK,CAAC,QAAQ;;;;;;;;;;;;;;;;gEAgBM,KAAK,CAAC,WAAW;0CACvC,KAAK,CAAC,QAAQ;;;;;;;;;;;kEAWU,KAAK,CAAC,QAAQ;;;0EAGN,KAAK,CAAC,WAAW;gEAC3B,KAAK,CAAC,QAAQ;;CAE7E,CAAA;AAED,aAAa,CAAC,OAAO,CAAC,YAAY,EAAE,gBAAgB,CAAC,EAAE,QAAQ,CAAC,CAAA;AAEhE,oGAAoG;AACpG,MAAM,aAAa,GAAG,MAAM,MAAM;;;;;;;4BAON,IAAI,CAAC,SAAS,CAAC,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC;;2BAE/B,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,IAAI,EAAE,CAAC,CAAC;;6BAE3B,IAAI,CAAC,SAAS,CAAC,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC;;6BAE/B,IAAI,CAAC,SAAS,CAAC,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC;;;gCAG5B,IAAI,CAAC,SAAS,CAAC,SAAS,CAAC;CACxD,CAAA;AAED,aAAa,CAAC,OAAO,CAAC,YAAY,EAAE,iBAAiB,CAAC,EAAE,aAAa,CAAC,CAAA;AAEtE,OAAO,CAAC,GAAG,CAAC,sFAAsF,CAAC,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clay-design-system/email",
3
- "version": "0.2.0",
3
+ "version": "0.2.2",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -14,7 +14,7 @@
14
14
  "dist"
15
15
  ],
16
16
  "dependencies": {
17
- "@clay-design-system/tokens": "0.10.0"
17
+ "@clay-design-system/tokens": "0.12.0"
18
18
  },
19
19
  "devDependencies": {
20
20
  "@types/mjml": "^4.7.4",
@@ -22,6 +22,7 @@
22
22
  "chokidar": "^4.0.0",
23
23
  "cloudinary": "^2.5.1",
24
24
  "mjml": "^4.15.3",
25
+ "sharp": "^0.33.5",
25
26
  "tsx": "^4.0.0",
26
27
  "typescript": "^5.7.0",
27
28
  "vitest": "^2.1.0"
@@ -39,6 +40,7 @@
39
40
  "library:upload": "tsx src/build/upload-library-assets.ts",
40
41
  "library:upload:dry-run": "tsx src/build/upload-library-assets.ts --dry-run",
41
42
  "library:generate-map": "tsx src/build/generate-stock-library-map.ts",
42
- "email:resolve-visuals": "tsx src/build/visual-resolver.ts"
43
+ "email:resolve-visuals": "tsx src/build/visual-resolver.ts",
44
+ "email:placeholder": "tsx src/build/placeholder.ts"
43
45
  }
44
46
  }