@clay-design-system/email 0.2.0 → 0.2.1
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/build/asset-scoring.d.ts.map +1 -1
- package/dist/build/asset-scoring.js +2 -1
- package/dist/build/asset-scoring.js.map +1 -1
- package/dist/build/compile.js +1 -1
- package/dist/build/icon-registry-map.d.ts +2 -2
- package/dist/build/icon-registry-map.d.ts.map +1 -1
- package/dist/build/icon-registry-map.js +1 -1
- package/dist/build/visual-resolver.d.ts +2 -2
- package/dist/build/visual-resolver.js +2 -2
- package/dist/catalog.json +77 -77
- package/dist/emails/component-buttons-icons.html +9 -9
- package/dist/emails/component-buttons-integration.html +9 -9
- package/dist/emails/component-buttons-primary.html +9 -9
- package/dist/emails/component-buttons-secondary.html +9 -9
- package/dist/emails/component-buttons-two-integrations.html +9 -9
- package/dist/emails/component-images-card-280h.html +9 -9
- package/dist/emails/component-images-card-320h.html +9 -9
- package/dist/emails/component-images-card.html +9 -9
- package/dist/emails/component-images-full-bleed-280h.html +9 -9
- package/dist/emails/component-images-full-bleed-400h.html +9 -9
- package/dist/emails/component-images-full-bleed.html +9 -9
- package/dist/emails/component-text-h1.html +9 -9
- package/dist/emails/component-text-h2.html +9 -9
- package/dist/emails/component-text-h3.html +9 -9
- package/dist/emails/component-text-h4.html +9 -9
- package/dist/emails/component-text-h5.html +9 -9
- package/dist/emails/component-text-p2.html +9 -9
- package/dist/emails/component-text-p3.html +11 -11
- package/dist/emails/component-text-p4.html +11 -11
- package/dist/emails/container.html +10 -10
- package/dist/emails/section-changelog-icon-list.html +9 -9
- package/dist/emails/section-divider-line.html +11 -11
- package/dist/emails/section-feature-highlight-reversed.html +9 -9
- package/dist/emails/section-feature-highlight.html +9 -9
- package/dist/emails/section-feature-rows.html +9 -9
- package/dist/emails/section-feature-story-row-reversed.html +11 -11
- package/dist/emails/section-feature-story-row.html +11 -11
- package/dist/emails/section-footer-lifecycle.html +9 -9
- package/dist/emails/section-footer-two-column-minimal.html +11 -11
- package/dist/emails/section-footer.html +15 -15
- package/dist/emails/section-header.html +9 -9
- package/dist/emails/section-hero.html +9 -9
- package/dist/emails/section-icon-feature-list.html +9 -9
- package/dist/emails/section-image-caption-block.html +9 -9
- package/dist/emails/section-image-hero.html +10 -10
- package/dist/emails/section-lesson-card.html +11 -11
- package/dist/emails/section-list-action-items.html +9 -9
- package/dist/emails/section-list-feature-items.html +9 -9
- package/dist/emails/section-list-icon-items.html +13 -13
- package/dist/emails/section-list-numbered-items.html +9 -9
- package/dist/emails/section-logo-header.html +9 -9
- package/dist/emails/section-newsletter-hero.html +10 -10
- package/dist/emails/section-product-ui-hero.html +9 -9
- package/dist/emails/section-promo-banner.html +9 -9
- package/dist/emails/section-qa-block.html +9 -9
- package/dist/emails/section-resource-link-list.html +9 -9
- package/dist/emails/section-signoff.html +9 -9
- package/dist/emails/section-single-column-author.html +9 -9
- package/dist/emails/section-single-column-feature-card.html +9 -9
- package/dist/emails/section-single-column-product-card.html +10 -10
- package/dist/emails/section-single-column-promo-card.html +10 -10
- package/dist/emails/section-spacer-fill.html +12 -12
- package/dist/emails/section-testimonial-dark-card.html +9 -9
- package/dist/emails/section-text-h1-regular.html +9 -9
- package/dist/emails/section-text-h2-regular.html +9 -9
- package/dist/emails/section-text-h3-regular.html +9 -9
- package/dist/emails/section-text-h4-regular.html +9 -9
- package/dist/emails/section-text-h5-regular.html +9 -9
- package/dist/emails/section-text-mixed-heading.html +9 -9
- package/dist/emails/section-text-overline-heading.html +11 -11
- package/dist/emails/section-text-p1-bold.html +9 -9
- package/dist/emails/section-text-p1-regular.html +9 -9
- package/dist/emails/section-text-paragraph.html +9 -9
- package/dist/emails/section-text-quote-card.html +9 -9
- package/dist/emails/section-text-quote.html +9 -9
- package/dist/emails/section-text-small-headline.html +10 -10
- package/dist/emails/section-three-column-content-cards.html +9 -9
- package/dist/emails/section-three-column-icon-cards.html +9 -9
- package/dist/emails/section-three-column-image-grid.html +9 -9
- package/dist/emails/section-three-up-icon-benefits.html +9 -9
- package/dist/emails/section-two-column-feature-cards.html +9 -9
- package/dist/emails/section-two-column-grid.html +9 -9
- package/dist/emails/section-two-column-img-text.html +9 -9
- package/dist/emails/section-two-column-live-tags.html +10 -10
- package/dist/emails/section-two-column-stacked.html +9 -9
- package/dist/emails/section-upsell-cta.html +9 -9
- package/dist/emails/section-value-bullet-list.html +9 -9
- package/dist/generated/email-tokens.d.ts +1 -1
- package/dist/generated/email-tokens.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/tokens/build-email-assets.js +1 -1
- package/dist/tokens/build-email-assets.js.map +1 -1
- package/dist/tokens/build-email-tokens.js +10 -10
- package/dist/tokens/build-email-tokens.js.map +1 -1
- package/package.json +2 -2
|
@@ -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
|
|
76
|
-
size is the inline fallback if
|
|
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 (
|
|
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 (
|
|
96
|
-
Targets the inner
|
|
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
|
|
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
|
|
136
|
-
* 2. .email-card > table — the direct child
|
|
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
|
|
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
|
|
76
|
-
size is the inline fallback if
|
|
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 (
|
|
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 (
|
|
96
|
-
Targets the inner
|
|
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
|
|
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
|
|
136
|
-
* 2. .email-card > table — the direct child
|
|
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
|
|
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:#
|
|
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> 
|
|
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
|
|
76
|
-
size is the inline fallback if
|
|
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 (
|
|
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 (
|
|
96
|
-
Targets the inner
|
|
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
|
|
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
|
|
136
|
-
* 2. .email-card > table — the direct child
|
|
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
|
|
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
|
|
76
|
-
size is the inline fallback if
|
|
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 (
|
|
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 (
|
|
96
|
-
Targets the inner
|
|
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
|
|
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
|
|
136
|
-
* 2. .email-card > table — the direct child
|
|
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
|
|
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
|
|
66
|
-
size is the inline fallback if
|
|
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 (
|
|
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 (
|
|
86
|
-
Targets the inner
|
|
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
|
|
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
|
|
126
|
-
* 2. .email-card > table — the direct child
|
|
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
|
|
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: "#
|
|
7
|
+
readonly textMuted: "#45454a";
|
|
8
8
|
readonly brand: "#6161ff";
|
|
9
9
|
readonly brandLink: "#6161ff";
|
|
10
10
|
readonly 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
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,cAAc,
|
|
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,
|
|
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"
|
|
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,EAAE,IAAI,CAAC,CAAA;AAC1C,MAAM,QAAQ,GAAI,OAAO,CAAC,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,CAAC,CAAA;AAC/D,MAAM,WAAW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AC;QACxB,OAAO,CAAC,IAAI,CAAC,sCAAsC,IAAI,qKAAqK,CAAC,CAAA;QAC7N,YAAY,EAAE,CAAA;QACd,SAAQ;IACV,CAAC;IACD,YAAY,CAAC,IAAI,EAAE,KAAK,CAAC,CAAA;AAC3B,CAAC;AACD,IAAI,mBAAmB,CAAC,IAAI,GAAG,CAAC,EAAE,CAAC;IACjC,OAAO,CAAC,GAAG,CAAC,8BAA8B,mBAAmB,CAAC,IAAI,GAAG,YAAY,IAAI,mBAAmB,CAAC,IAAI,0DAA0D,CAAC,CAAA;AAC1K,CAAC;AAED,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, // #
|
|
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
|
|
118
|
-
size is the inline fallback if
|
|
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 (
|
|
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 (
|
|
138
|
-
Targets the inner
|
|
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
|
|
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
|
|
178
|
-
* 2. .email-card > table — the direct child
|
|
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
|
|
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":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAClD,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AAC5C,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,YAAY,GAAG,OAAO,CAAC,SAAS,EAAE,IAAI,EAAE,WAAW,CAAC,CAAA;AAC1D,SAAS,CAAC,YAAY,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAA;AAE5C,0GAA0G;AAC1G,MAAM,EAAE,GAAG,CAAC,CAAS,EAAE,EAAE,CAAC,GAAG,CAAC,IAAI,CAAA;AAElC,mGAAmG;AACnG,MAAM,KAAK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AY,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.
|
|
3
|
+
"version": "0.2.1",
|
|
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.
|
|
17
|
+
"@clay-design-system/tokens": "0.12.0"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@types/mjml": "^4.7.4",
|