@mailquilt/templates 0.0.0 → 0.5.0

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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Vishal Lohar
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,135 @@
1
+ # @mailquilt/templates
2
+
3
+ Production-ready Starter emails and Saved Rows for the Mail Quilt email editor, written in format v4 with zero runtime dependencies. Every Starter email and Saved Row is verified against `loadDocument()`, `renderEmail()`, `renderText()`, and `checkEmail()` with zero Problems — including WCAG AA contrast, Merge Tags, link clarity, and Gmail clip size.
4
+
5
+ ```bash
6
+ npm install @mailquilt/templates
7
+ ```
8
+
9
+ ## Use with `<mail-quilt>`
10
+
11
+ ```js
12
+ import "@mailquilt/editor";
13
+ import {
14
+ SAVED_ROWS,
15
+ STARTER_EMAILS,
16
+ TEMPLATE_MERGE_TAGS,
17
+ } from "@mailquilt/templates";
18
+
19
+ const editor = document.querySelector("mail-quilt");
20
+ editor.starterEmails = STARTER_EMAILS;
21
+ editor.savedRows = SAVED_ROWS;
22
+ editor.mergeTags = TEMPLATE_MERGE_TAGS;
23
+ ```
24
+
25
+ ## Use with `<mail-quilt-shell>`
26
+
27
+ ```js
28
+ import "@mailquilt/editor";
29
+ import {
30
+ SAVED_ROWS,
31
+ STARTER_EMAILS,
32
+ TEMPLATE_MERGE_TAGS,
33
+ } from "@mailquilt/templates";
34
+
35
+ const shell = document.querySelector("mail-quilt-shell");
36
+ shell.starterEmails = STARTER_EMAILS;
37
+ shell.savedRows = SAVED_ROWS;
38
+ shell.mergeTags = TEMPLATE_MERGE_TAGS;
39
+ ```
40
+
41
+ ## Use with React
42
+
43
+ ```tsx
44
+ "use client";
45
+
46
+ import { createEmail } from "@mailquilt/core";
47
+ import { MailQuiltShell } from "@mailquilt/react";
48
+ import {
49
+ SAVED_ROWS,
50
+ STARTER_EMAILS,
51
+ TEMPLATE_MERGE_TAGS,
52
+ } from "@mailquilt/templates";
53
+
54
+ const emptyEmail = { ...createEmail(), rows: [] };
55
+
56
+ export const EmailStudio = () => (
57
+ <div style={{ height: "100dvh" }}>
58
+ <MailQuiltShell
59
+ heading="Campaigns"
60
+ mergeTags={TEMPLATE_MERGE_TAGS}
61
+ savedRows={SAVED_ROWS}
62
+ starterEmails={STARTER_EMAILS}
63
+ value={emptyEmail}
64
+ />
65
+ </div>
66
+ );
67
+ ```
68
+
69
+ ## Pick only what you need
70
+
71
+ Every Starter email and Saved Row is exported individually so bundlers tree-shake unused entries:
72
+
73
+ ```ts
74
+ import {
75
+ footerDark,
76
+ founderLetter,
77
+ headerWithNav,
78
+ saasWelcome,
79
+ TEMPLATE_MERGE_TAGS,
80
+ } from "@mailquilt/templates";
81
+ import { checkEmail, renderEmail, renderText } from "@mailquilt/renderer";
82
+
83
+ const html = await renderEmail(saasWelcome.email);
84
+ const text = renderText(saasWelcome.email);
85
+ const problems = await checkEmail(saasWelcome.email, {
86
+ html,
87
+ mergeTags: TEMPLATE_MERGE_TAGS,
88
+ });
89
+ ```
90
+
91
+ ## Included Starter emails (16)
92
+
93
+ | Export | Name | Category |
94
+ | --- | --- | --- |
95
+ | `founderLetter` | Founder letter | `editorial` |
96
+ | `saasWelcome` | SaaS welcome | `onboarding` |
97
+ | `productLaunch` | Product launch | `product` |
98
+ | `changelog` | Monthly changelog | `product` |
99
+ | `newsletter` | Editorial newsletter | `editorial` |
100
+ | `receipt` | Payment receipt | `transactional` |
101
+ | `passwordReset` | Password reset | `transactional` |
102
+ | `onboardingTip` | Onboarding tip | `onboarding` |
103
+ | `eventInvite` | Event invitation | `engagement` |
104
+ | `trialEnding` | Trial ending | `onboarding` |
105
+ | `reengagement` | Win-back check-in | `engagement` |
106
+ | `promoOffer` | Seasonal offer | `engagement` |
107
+ | `feedbackRequest` | Feedback request | `engagement` |
108
+ | `weeklyDigest` | Weekly digest | `editorial` |
109
+ | `videoSpotlight` | Video spotlight | `product` |
110
+ | `companyAnnouncement` | Company announcement | `editorial` |
111
+
112
+ ## Included Saved Rows (16)
113
+
114
+ | Export | Name | Category |
115
+ | --- | --- | --- |
116
+ | `headerMinimal` | Minimal header | `header` |
117
+ | `headerWithNav` | Header with navigation | `header` |
118
+ | `heroCentered` | Centered hero | `hero` |
119
+ | `heroSplit` | Split hero | `hero` |
120
+ | `featureGridTwoCol` | Two-column features | `content` |
121
+ | `featureGridThreeCol` | Three-column benefits | `content` |
122
+ | `statStrip` | Key metrics strip | `content` |
123
+ | `testimonialQuote` | Customer testimonial | `content` |
124
+ | `ctaBannerDark` | Dark CTA banner | `cta` |
125
+ | `ctaBannerSoft` | Soft CTA card | `cta` |
126
+ | `pricingHighlight` | Pricing highlight | `content` |
127
+ | `videoCard` | Video spotlight | `content` |
128
+ | `founderSignOff` | Founder sign-off | `content` |
129
+ | `socialBar` | Social links bar | `footer` |
130
+ | `footerLight` | Light footer | `footer` |
131
+ | `footerDark` | Dark footer | `footer` |
132
+
133
+ `STARTER_EMAIL_CATEGORIES` and `SAVED_ROW_CATEGORIES` provide display labels and descriptions for grouping items in your own UI, and `TEMPLATE_MERGE_TAGS` exports the shared Merge Tag list (including `unsubscribe: true` on `unsubscribe_url`).
134
+
135
+ [Docs](https://editor.mailquilt.com/docs) · [Playground](https://editor.mailquilt.com/playground) · [Source](https://github.com/mailquilt/editor) · MIT
@@ -0,0 +1,398 @@
1
+ /** Text or Block alignment. */
2
+ type TemplateAlign = "left" | "center" | "right";
3
+ /** Border line styles supported by format v4 Boxes and Columns. */
4
+ type TemplateBorderStyle = "solid" | "dashed" | "dotted";
5
+ /** Vertical alignment of a Column inside its Row. */
6
+ type TemplateVerticalAlign = "top" | "middle" | "bottom";
7
+ /** Device visibility filter for a Row or Block. */
8
+ type TemplateShowOn = "desktop" | "phone";
9
+ /** Supported Social Block network identifiers. */
10
+ type TemplateSocialNetwork = "bluesky" | "facebook" | "instagram" | "linkedin" | "pinterest" | "threads" | "tiktok" | "website" | "x" | "youtube";
11
+ /** Padding properties shared by Rows, Columns, and Blocks. */
12
+ interface TemplatePaddingProps {
13
+ paddingTop?: number;
14
+ paddingRight?: number;
15
+ paddingBottom?: number;
16
+ paddingLeft?: number;
17
+ }
18
+ /** Border properties shared by Columns and Block Boxes. */
19
+ interface TemplateBorderProps {
20
+ borderColor?: string;
21
+ borderStyle?: TemplateBorderStyle;
22
+ borderWidth?: number;
23
+ }
24
+ /** Box properties available on every Block type in format v4. */
25
+ interface TemplateBoxProps extends TemplatePaddingProps, TemplateBorderProps {
26
+ borderRadius?: number;
27
+ boxBackgroundColor?: string;
28
+ }
29
+ /** Formatting marks on inline rich-text runs. */
30
+ type TemplateRichTextMark = {
31
+ type: "bold";
32
+ } | {
33
+ type: "italic";
34
+ } | {
35
+ type: "underline";
36
+ } | {
37
+ type: "link";
38
+ attrs: {
39
+ href: string;
40
+ };
41
+ };
42
+ /** Plain text run inside a rich-text paragraph. */
43
+ interface TemplateRichTextText {
44
+ type: "text";
45
+ text: string;
46
+ marks?: TemplateRichTextMark[];
47
+ }
48
+ /** Line break inside a rich-text paragraph. */
49
+ interface TemplateRichTextHardBreak {
50
+ type: "hardBreak";
51
+ marks?: TemplateRichTextMark[];
52
+ }
53
+ /** Atomic Merge Tag node inside a rich-text paragraph. */
54
+ interface TemplateRichTextMergeTag {
55
+ type: "mergeTag";
56
+ attrs: {
57
+ name: string;
58
+ };
59
+ marks?: TemplateRichTextMark[];
60
+ }
61
+ /** Inline node inside a paragraph. */
62
+ type TemplateRichTextInline = TemplateRichTextText | TemplateRichTextHardBreak | TemplateRichTextMergeTag;
63
+ /** Paragraph node in rich text. */
64
+ interface TemplateRichTextParagraph {
65
+ type: "paragraph";
66
+ content?: TemplateRichTextInline[];
67
+ }
68
+ /** Single item inside a bulleted or numbered List. */
69
+ interface TemplateRichTextListItem {
70
+ type: "listItem";
71
+ content: [TemplateRichTextParagraph];
72
+ }
73
+ /** One-level bulleted or numbered List in a Text Block. */
74
+ interface TemplateRichTextList {
75
+ type: "bulletList" | "orderedList";
76
+ content: TemplateRichTextListItem[];
77
+ }
78
+ /** Rich-text document for a Text Block. */
79
+ interface TemplateRichTextDocument {
80
+ type: "doc";
81
+ content: (TemplateRichTextParagraph | TemplateRichTextList)[];
82
+ }
83
+ /** Rich-text document for a Heading Block (paragraphs only). */
84
+ interface TemplateRichTextHeadingDocument {
85
+ type: "doc";
86
+ content: TemplateRichTextParagraph[];
87
+ }
88
+ interface TemplateTextBlockProps extends TemplateBoxProps {
89
+ align?: TemplateAlign;
90
+ color?: string;
91
+ content: TemplateRichTextDocument;
92
+ fontSize?: number;
93
+ phone?: TemplatePaddingProps & {
94
+ fontSize?: number;
95
+ };
96
+ showOn?: TemplateShowOn;
97
+ }
98
+ interface TemplateHeadingBlockProps extends TemplateBoxProps {
99
+ align?: TemplateAlign;
100
+ color?: string;
101
+ content: TemplateRichTextHeadingDocument;
102
+ fontSize?: number;
103
+ level: 1 | 2 | 3;
104
+ phone?: TemplatePaddingProps & {
105
+ fontSize?: number;
106
+ };
107
+ showOn?: TemplateShowOn;
108
+ }
109
+ interface TemplateButtonBlockProps extends TemplateBoxProps {
110
+ align?: TemplateAlign;
111
+ backgroundColor?: string;
112
+ color?: string;
113
+ href?: string;
114
+ label: string;
115
+ phone?: TemplatePaddingProps & {
116
+ fontSize?: number;
117
+ };
118
+ showOn?: TemplateShowOn;
119
+ }
120
+ interface TemplateImageBlockProps extends TemplateBoxProps {
121
+ alt?: string;
122
+ decorative?: boolean;
123
+ href?: string;
124
+ phone?: TemplatePaddingProps & {
125
+ width?: number;
126
+ };
127
+ showOn?: TemplateShowOn;
128
+ src?: string;
129
+ width?: number;
130
+ }
131
+ interface TemplateDividerBlockProps extends TemplateBoxProps {
132
+ color?: string;
133
+ phone?: TemplatePaddingProps;
134
+ showOn?: TemplateShowOn;
135
+ thickness?: number;
136
+ }
137
+ interface TemplateSpacerBlockProps extends TemplateBoxProps {
138
+ height?: number;
139
+ phone?: TemplatePaddingProps;
140
+ showOn?: TemplateShowOn;
141
+ }
142
+ interface TemplateSocialLink {
143
+ network: TemplateSocialNetwork;
144
+ url?: string;
145
+ }
146
+ interface TemplateSocialBlockProps extends TemplateBoxProps {
147
+ align?: TemplateAlign;
148
+ iconSize?: 32 | 40 | 48;
149
+ iconStyle?: "color" | "white";
150
+ links: TemplateSocialLink[];
151
+ phone?: TemplatePaddingProps;
152
+ showOn?: TemplateShowOn;
153
+ }
154
+ interface TemplateMenuLink {
155
+ label?: string;
156
+ url?: string;
157
+ }
158
+ interface TemplateMenuBlockProps extends TemplateBoxProps {
159
+ align?: TemplateAlign;
160
+ color?: string;
161
+ fontSize?: number;
162
+ gap?: number;
163
+ links: TemplateMenuLink[];
164
+ phone?: TemplatePaddingProps & {
165
+ fontSize?: number;
166
+ };
167
+ showOn?: TemplateShowOn;
168
+ }
169
+ interface TemplateVideoBlockProps extends TemplateBoxProps {
170
+ alt?: string;
171
+ color?: string;
172
+ label?: string;
173
+ phone?: TemplatePaddingProps;
174
+ play?: "below" | "on" | "none";
175
+ playThumbnail?: string;
176
+ showOn?: TemplateShowOn;
177
+ thumbnail?: string;
178
+ url?: string;
179
+ }
180
+ /** A Block inside a Column, structurally assignable to `@mailquilt/core`'s `Block`. */
181
+ type TemplateBlock = {
182
+ id: string;
183
+ type: "text";
184
+ props: TemplateTextBlockProps;
185
+ } | {
186
+ id: string;
187
+ type: "heading";
188
+ props: TemplateHeadingBlockProps;
189
+ } | {
190
+ id: string;
191
+ type: "button";
192
+ props: TemplateButtonBlockProps;
193
+ } | {
194
+ id: string;
195
+ type: "image";
196
+ props: TemplateImageBlockProps;
197
+ } | {
198
+ id: string;
199
+ type: "divider";
200
+ props: TemplateDividerBlockProps;
201
+ } | {
202
+ id: string;
203
+ type: "spacer";
204
+ props: TemplateSpacerBlockProps;
205
+ } | {
206
+ id: string;
207
+ type: "social";
208
+ props: TemplateSocialBlockProps;
209
+ } | {
210
+ id: string;
211
+ type: "menu";
212
+ props: TemplateMenuBlockProps;
213
+ } | {
214
+ id: string;
215
+ type: "video";
216
+ props: TemplateVideoBlockProps;
217
+ };
218
+ /** Settings on a Column, structurally assignable to `@mailquilt/core`'s `ColumnProps`. */
219
+ interface TemplateColumnProps extends TemplatePaddingProps, TemplateBorderProps {
220
+ backgroundColor?: string;
221
+ phone?: TemplatePaddingProps;
222
+ verticalAlign?: TemplateVerticalAlign;
223
+ }
224
+ /** A Column inside a Row, structurally assignable to `@mailquilt/core`'s `Column`. */
225
+ interface TemplateColumn {
226
+ id: string;
227
+ width: number;
228
+ props: TemplateColumnProps;
229
+ blocks: TemplateBlock[];
230
+ }
231
+ /** Settings on a Row, structurally assignable to `@mailquilt/core`'s `RowProps`. */
232
+ interface TemplateRowProps extends TemplatePaddingProps {
233
+ backgroundColor?: string;
234
+ phone?: TemplatePaddingProps;
235
+ showOn?: TemplateShowOn;
236
+ stackOnPhone?: boolean;
237
+ }
238
+ /** A Row inside an email, structurally assignable to `@mailquilt/core`'s `Row`. */
239
+ interface TemplateRow {
240
+ id: string;
241
+ props: TemplateRowProps;
242
+ columns: TemplateColumn[];
243
+ }
244
+ /** Email style defaults, structurally assignable to `@mailquilt/core`'s `EmailStyle`. */
245
+ interface TemplateEmailStyle {
246
+ emailBackgroundColor?: string;
247
+ textColor?: string;
248
+ linkColor?: string;
249
+ buttonBackgroundColor?: string;
250
+ buttonBorderRadius?: number;
251
+ headingFontFamily?: string;
252
+ heading1FontSize?: number;
253
+ heading2FontSize?: number;
254
+ heading3FontSize?: number;
255
+ textFontSize?: number;
256
+ }
257
+ /** Web font entry, structurally assignable to `@mailquilt/core`'s `WebFont`. */
258
+ interface TemplateWebFont {
259
+ name: string;
260
+ url: string;
261
+ }
262
+ /** Email settings, structurally assignable to `@mailquilt/core`'s `EmailSettings`. */
263
+ interface TemplateEmailSettings {
264
+ width: number;
265
+ backgroundColor: string;
266
+ fontFamily: string;
267
+ preheader?: string;
268
+ language?: string;
269
+ style?: TemplateEmailStyle;
270
+ fonts?: TemplateWebFont[];
271
+ }
272
+ /** A format v4 email document, structurally assignable to `@mailquilt/core`'s `BlocksDocument`. */
273
+ interface TemplateDocument {
274
+ kind: "blocks";
275
+ version: 4;
276
+ settings: TemplateEmailSettings;
277
+ rows: TemplateRow[];
278
+ }
279
+ /** Category IDs for Starter emails in `@mailquilt/templates`. */
280
+ type StarterEmailCategory = "onboarding" | "product" | "editorial" | "transactional" | "engagement";
281
+ /** Category IDs for Saved Rows in `@mailquilt/templates`. */
282
+ type SavedRowCategory = "header" | "hero" | "content" | "cta" | "footer";
283
+ /** Descriptive metadata for a template or Saved Row category. */
284
+ interface CategoryInfo<Id extends string = string> {
285
+ readonly id: Id;
286
+ readonly label: string;
287
+ readonly description: string;
288
+ }
289
+ /**
290
+ * A Starter email entry ready for `<mail-quilt>`'s `starterEmails` property,
291
+ * directly assignable to `StarterEmail` from `@mailquilt/editor`.
292
+ */
293
+ interface TemplateStarterEmail {
294
+ readonly name: string;
295
+ readonly description: string;
296
+ readonly category: StarterEmailCategory;
297
+ readonly email: TemplateDocument;
298
+ }
299
+ /**
300
+ * A Saved Row entry ready for `<mail-quilt>`'s `savedRows` property,
301
+ * directly assignable to `SavedRow` from `@mailquilt/editor`.
302
+ */
303
+ interface TemplateSavedRow {
304
+ readonly name: string;
305
+ readonly category: SavedRowCategory;
306
+ readonly version: 4;
307
+ readonly row: TemplateRow;
308
+ }
309
+ /**
310
+ * A Merge Tag entry ready for `<mail-quilt>`'s `mergeTags` property and
311
+ * `@mailquilt/renderer`'s `checkEmail()`.
312
+ */
313
+ interface TemplateMergeTag {
314
+ readonly name: string;
315
+ readonly label: string;
316
+ readonly sample: string;
317
+ readonly unsubscribe?: true;
318
+ }
319
+ /** Category metadata for Starter emails, in display order. */
320
+ export declare const STARTER_EMAIL_CATEGORIES: readonly CategoryInfo<StarterEmailCategory>[];
321
+ /** Category metadata for Saved Rows, in display order. */
322
+ export declare const SAVED_ROW_CATEGORIES: readonly CategoryInfo<SavedRowCategory>[];
323
+ /**
324
+ * Shared Merge Tags used across the Starter emails and Saved Rows in
325
+ * `@mailquilt/templates`. Pass directly to `<mail-quilt>`'s `mergeTags`
326
+ * property or `@mailquilt/renderer`'s `checkEmail()`.
327
+ */
328
+ export declare const TEMPLATE_MERGE_TAGS: readonly TemplateMergeTag[];
329
+ /** Two-column feature highlights in subtle bordered cards. */
330
+ export declare const featureGridTwoCol: TemplateSavedRow;
331
+ /** Three-column benefits strip with numbered eyebrows. */
332
+ export declare const featureGridThreeCol: TemplateSavedRow;
333
+ /** Three-column key metrics strip on a soft slate surface. */
334
+ export declare const statStrip: TemplateSavedRow;
335
+ /** Highlighted customer quote box with attribution. */
336
+ export declare const testimonialQuote: TemplateSavedRow;
337
+ /** Clean single-plan highlight card with included capabilities and upgrade CTA. */
338
+ export declare const pricingHighlight: TemplateSavedRow;
339
+ /** Video Block spotlight row with headline, intro, and descriptive play line. */
340
+ export declare const videoCard: TemplateSavedRow;
341
+ /** Warm signature block for plain-style letters and personal updates. */
342
+ export declare const founderSignOff: TemplateSavedRow;
343
+ /** High-contrast dark slate CTA band with light button. */
344
+ export declare const ctaBannerDark: TemplateSavedRow;
345
+ /** Subtle tinted indigo CTA card with crisp WCAG AA contrast. */
346
+ export declare const ctaBannerSoft: TemplateSavedRow;
347
+ /** Centered Social Block row for light email layouts. */
348
+ export declare const socialBar: TemplateSavedRow;
349
+ /** Clean light footer with company address, preferences, and unsubscribe link. */
350
+ export declare const footerLight: TemplateSavedRow;
351
+ /** High-contrast dark footer with white social icons, address, and unsubscribe link. */
352
+ export declare const footerDark: TemplateSavedRow;
353
+ /** Simple brand wordmark header with a subtle bottom rule. */
354
+ export declare const headerMinimal: TemplateSavedRow;
355
+ /** Two-column header pairing a linked brand wordmark with a Menu Block. */
356
+ export declare const headerWithNav: TemplateSavedRow;
357
+ /** Centered eyebrow, headline, subhead, and primary Button. */
358
+ export declare const heroCentered: TemplateSavedRow;
359
+ /** Two-column hero pairing left-aligned copy and CTA with a visual slot. */
360
+ export declare const heroSplit: TemplateSavedRow;
361
+ /** All 16 Saved Rows in catalog order, ready for `<mail-quilt>`'s `savedRows` property. */
362
+ export declare const SAVED_ROWS: readonly TemplateSavedRow[];
363
+ /** Simple personal founder update with plain-letter pacing and signature. */
364
+ export declare const founderLetter: TemplateStarterEmail;
365
+ /** Editorial multi-section newsletter with lead essay, curated picks, and reader quote. */
366
+ export declare const newsletter: TemplateStarterEmail;
367
+ /** Curated 2-column weekly digest designed for fast Monday scanning. */
368
+ export declare const weeklyDigest: TemplateStarterEmail;
369
+ /** Minimal executive or operational status announcement with clear timeline. */
370
+ export declare const companyAnnouncement: TemplateStarterEmail;
371
+ /** Live workshop or webinar invitation with date band, agenda, and speaker cards. */
372
+ export declare const eventInvite: TemplateStarterEmail;
373
+ /** Friendly win-back and check-in email with zero guilt and clear opt-out. */
374
+ export declare const reengagement: TemplateStarterEmail;
375
+ /** Clean retail or seasonal offer without visual clutter. */
376
+ export declare const promoOffer: TemplateStarterEmail;
377
+ /** Quick customer feedback and NPS check-in with one-click response buttons. */
378
+ export declare const feedbackRequest: TemplateStarterEmail;
379
+ /** All 16 Starter emails in catalog order, ready for `<mail-quilt>`'s `starterEmails` property. */
380
+ export declare const STARTER_EMAILS: readonly TemplateStarterEmail[];
381
+ /** SaaS welcome email with clear 3-step setup checklist and resources. */
382
+ export declare const saasWelcome: TemplateStarterEmail;
383
+ /** Day-3 product activation tip with a practical 60-second workflow box. */
384
+ export declare const onboardingTip: TemplateStarterEmail;
385
+ /** Trial expiration reminder with plan summary card and calm upgrade CTA. */
386
+ export declare const trialEnding: TemplateStarterEmail;
387
+ /** Flagship feature or product launch announcement with dark hero, feature grid, and stat strip. */
388
+ export declare const productLaunch: TemplateStarterEmail;
389
+ /** Monthly release notes and structured product changelog. */
390
+ export declare const changelog: TemplateStarterEmail;
391
+ /** Video demo and walkthrough spotlight built around a format v4 Video Block. */
392
+ export declare const videoSpotlight: TemplateStarterEmail;
393
+ /** Transactional payment receipt with structured invoice metadata and total. */
394
+ export declare const receipt: TemplateStarterEmail;
395
+ /** High-clarity password reset and account security notice. */
396
+ export declare const passwordReset: TemplateStarterEmail;
397
+ export type { CategoryInfo, SavedRowCategory, StarterEmailCategory, TemplateAlign, TemplateBlock, TemplateBorderProps, TemplateBorderStyle, TemplateBoxProps, TemplateButtonBlockProps, TemplateColumn, TemplateColumnProps, TemplateDividerBlockProps, TemplateDocument, TemplateEmailSettings, TemplateEmailStyle, TemplateHeadingBlockProps, TemplateImageBlockProps, TemplateMenuBlockProps, TemplateMenuLink, TemplateMergeTag, TemplatePaddingProps, TemplateRichTextDocument, TemplateRichTextHardBreak, TemplateRichTextHeadingDocument, TemplateRichTextInline, TemplateRichTextList, TemplateRichTextListItem, TemplateRichTextMark, TemplateRichTextMergeTag, TemplateRichTextParagraph, TemplateRichTextText, TemplateRow, TemplateRowProps, TemplateSavedRow, TemplateShowOn, TemplateSocialBlockProps, TemplateSocialLink, TemplateSocialNetwork, TemplateSpacerBlockProps, TemplateStarterEmail, TemplateTextBlockProps, TemplateVerticalAlign, TemplateVideoBlockProps, TemplateWebFont };
398
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../src/types.ts","../src/categories.ts","../src/merge-tags.ts","../src/rows/content.ts","../src/rows/cta.ts","../src/rows/footers.ts","../src/rows/headers.ts","../src/rows/heroes.ts","../src/rows/index.ts","../src/starters/editorial.ts","../src/starters/engagement.ts","../src/starters/index.ts","../src/starters/onboarding.ts","../src/starters/product.ts","../src/starters/transactional.ts"],"mappings":";KACY;;KAGA;;KAGA;;KAGA;;KAGA;;UAaK;EACf;EACA;EACA;EACA;;;UAIe;EACf;EACA,cAAc;EACd;;;UAIe,yBACP,sBAAsB;EAC9B;EACA;;;KAIU;EACN;;EACA;;EACA;;EACA;EAAc;IAAS;;;;UAGZ;EACf;EACA;EACA,QAAQ;;;UAIO;EACf;EACA,QAAQ;;;UAIO;EACf;EACA;IAAS;;EACT,QAAQ;;;KAIE,yBACR,uBACA,4BACA;;UAGa;EACf;EACA,UAAU;;;UAIK;EACf;EACA,UAAU;;;UAIK;EACf;EACA,SAAS;;;UAIM;EACf;EACA,UAAU,4BAA4B;;;UAIvB;EACf;EACA,SAAS;;UAGM,+BAA+B;EAC9C,QAAQ;EACR;EACA,SAAS;EACT;EACA,QAAQ;IAAyB;;EACjC,SAAS;;UAGM,kCAAkC;EACjD,QAAQ;EACR;EACA,SAAS;EACT;EACA;EACA,QAAQ;IAAyB;;EACjC,SAAS;;UAGM,iCAAiC;EAChD,QAAQ;EACR;EACA;EACA;EACA;EACA,QAAQ;IAAyB;;EACjC,SAAS;;UAGM,gCAAgC;EAC/C;EACA;EACA;EACA,QAAQ;IAAyB;;EACjC,SAAS;EACT;EACA;;UAGe,kCAAkC;EACjD;EACA,QAAQ;EACR,SAAS;EACT;;UAGe,iCAAiC;EAChD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