@maily-to/render 0.1.5 → 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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License
2
+
3
+ Copyright (c) Arik Chakma
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
13
+ all 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
21
+ THE SOFTWARE.
package/dist/index.d.mts CHANGED
@@ -1,117 +1,91 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { CSSProperties } from 'react';
3
- import { HtmlProps } from '@react-email/components';
4
- import { JSONContent } from '@tiptap/core';
5
- export { JSONContent } from '@tiptap/core';
1
+ import { HtmlProps } from "@react-email/components";
2
+ import * as react_jsx_runtime0 from "react/jsx-runtime";
3
+ import { JSONContent, JSONContent as JSONContent$1 } from "@tiptap/core";
4
+ import { RendererThemeOptions } from "@maily-to/shared";
6
5
 
6
+ //#region src/meta.d.ts
7
7
  type MetaDescriptor = {
8
- charSet: 'utf-8';
8
+ charSet: 'utf-8';
9
9
  } | {
10
- title: string;
10
+ title: string;
11
11
  } | {
12
- name: string;
13
- content: string;
12
+ name: string;
13
+ content: string;
14
14
  } | {
15
- property: string;
16
- content: string;
15
+ property: string;
16
+ content: string;
17
17
  } | {
18
- httpEquiv: string;
19
- content: string;
18
+ httpEquiv: string;
19
+ content: string;
20
20
  } | {
21
- tagName: 'meta' | 'link';
22
- [attribute: string]: string;
21
+ tagName: 'meta' | 'link';
22
+ [attribute: string]: string;
23
23
  } | {
24
- [name: string]: string;
24
+ [name: string]: string;
25
25
  };
26
26
  type MetaDescriptors = MetaDescriptor[];
27
-
27
+ //#endregion
28
+ //#region src/maily.d.ts
28
29
  interface NodeOptions {
29
- parent?: JSONContent;
30
- prev?: JSONContent;
31
- next?: JSONContent;
32
- payloadValue?: PayloadValue;
30
+ parent?: JSONContent$1;
31
+ prev?: JSONContent$1;
32
+ next?: JSONContent$1;
33
+ payloadValue?: PayloadValue;
33
34
  }
34
35
  interface MarkType {
35
- [key: string]: any;
36
- type: string;
37
- attrs?: Record<string, any> | undefined;
38
- }
39
- interface ThemeOptions {
40
- colors?: Partial<{
41
- heading: string;
42
- paragraph: string;
43
- horizontal: string;
44
- footer: string;
45
- blockquoteBorder: string;
46
- codeBackground: string;
47
- codeText: string;
48
- linkCardTitle: string;
49
- linkCardDescription: string;
50
- linkCardBadgeText: string;
51
- linkCardBadgeBackground: string;
52
- linkCardSubTitle: string;
53
- }>;
54
- container?: Partial<CSSProperties>;
55
- fontSize?: Partial<{
56
- paragraph: Partial<{
57
- size: string;
58
- lineHeight: string;
59
- }>;
60
- footer: Partial<{
61
- size: string;
62
- lineHeight: string;
63
- }>;
64
- }>;
36
+ [key: string]: any;
37
+ type: string;
38
+ attrs?: Record<string, any> | undefined;
65
39
  }
66
40
  interface MailyConfig {
67
- /**
68
- * The preview text is the snippet of text that is pulled into the inbox
69
- * preview of an email client, usually right after the subject line.
70
- *
71
- * Default: `undefined`
72
- */
73
- preview?: string;
74
- /**
75
- * The theme object allows you to customize the colors and font sizes of the
76
- * rendered email.
77
- *
78
- * Default:
79
- * ```js
80
- * {
81
- * colors: {
82
- * heading: '#111827',
83
- * paragraph: '#374151',
84
- * horizontal: '#EAEAEA',
85
- * footer: '#64748B',
86
- * },
87
- * fontSize: {
88
- * paragraph: '15px',
89
- * footer: {
90
- * size: '14px',
91
- * lineHeight: '24px',
92
- * },
93
- * },
94
- * }
95
- * ```
96
- *
97
- * @example
98
- * ```js
99
- * const maily = new Maily(content, {
100
- * theme: {
101
- * colors: {
102
- * heading: '#111827',
103
- * },
104
- * fontSize: {
105
- * footer: {
106
- * size: '14px',
107
- * lineHeight: '24px',
108
- * },
109
- * },
110
- * },
111
- * });
112
- * ```
113
- */
114
- theme?: Partial<ThemeOptions>;
41
+ /**
42
+ * The preview text is the snippet of text that is pulled into the inbox
43
+ * preview of an email client, usually right after the subject line.
44
+ *
45
+ * Default: `undefined`
46
+ */
47
+ preview?: string;
48
+ /**
49
+ * The theme object allows you to customize the colors and font sizes of the
50
+ * rendered email.
51
+ *
52
+ * Default:
53
+ * ```js
54
+ * {
55
+ * colors: {
56
+ * heading: '#111827',
57
+ * paragraph: '#374151',
58
+ * horizontal: '#EAEAEA',
59
+ * footer: '#64748B',
60
+ * },
61
+ * fontSize: {
62
+ * paragraph: '15px',
63
+ * footer: {
64
+ * size: '14px',
65
+ * lineHeight: '24px',
66
+ * },
67
+ * },
68
+ * }
69
+ * ```
70
+ *
71
+ * @example
72
+ * ```js
73
+ * const maily = new Maily(content, {
74
+ * theme: {
75
+ * colors: {
76
+ * heading: '#111827',
77
+ * },
78
+ * fontSize: {
79
+ * footer: {
80
+ * size: '14px',
81
+ * lineHeight: '24px',
82
+ * },
83
+ * },
84
+ * },
85
+ * });
86
+ * ```
87
+ */
88
+ theme?: Partial<RendererThemeOptions>;
115
89
  }
116
90
  declare const DEFAULT_SECTION_BACKGROUND_COLOR = "#ffffff";
117
91
  declare const DEFAULT_SECTION_ALIGN = "left";
@@ -140,158 +114,165 @@ declare const DEFAULT_INLINE_IMAGE_WIDTH = 20;
140
114
  declare const LINK_PROTOCOL_REGEX: RegExp;
141
115
  declare const DEFAULT_META_TAGS: MetaDescriptors;
142
116
  declare const DEFAULT_HTML_PROPS: HtmlProps;
143
- declare const DEFAULT_BUTTON_PADDING_TOP = 10;
144
- declare const DEFAULT_BUTTON_PADDING_RIGHT = 32;
145
- declare const DEFAULT_BUTTON_PADDING_BOTTOM = 10;
146
- declare const DEFAULT_BUTTON_PADDING_LEFT = 32;
147
117
  interface RenderOptions {
148
- /**
149
- * The options object allows you to customize the output of the rendered
150
- * email.
151
- * - `pretty` - If `true`, the output will be formatted with indentation and
152
- * line breaks.
153
- * - `plainText` - If `true`, the output will be plain text instead of HTML.
154
- * This is useful for testing purposes.
155
- *
156
- * Default: `pretty` - `false`, `plainText` - `false`
157
- */
158
- pretty?: boolean;
159
- plainText?: boolean;
118
+ /**
119
+ * The options object allows you to customize the output of the rendered
120
+ * email.
121
+ * - `pretty` - If `true`, the output will be formatted with indentation and
122
+ * line breaks.
123
+ * - `plainText` - If `true`, the output will be plain text instead of HTML.
124
+ * This is useful for testing purposes.
125
+ *
126
+ * Default: `pretty` - `false`, `plainText` - `false`
127
+ */
128
+ pretty?: boolean;
129
+ plainText?: boolean;
160
130
  }
161
131
  type VariableFormatter = (options: {
162
- variable: string;
163
- fallback?: string;
132
+ variable: string;
133
+ fallback?: string;
164
134
  }) => string;
165
135
  type VariableValues = Map<string, string>;
166
136
  type LinkValues = Map<string, string>;
167
137
  type PayloadValue = Record<string, any> | boolean;
168
138
  type PayloadValues = Map<string, PayloadValue>;
169
139
  declare class Maily {
170
- private readonly content;
171
- private config;
172
- private variableFormatter;
173
- private shouldReplaceVariableValues;
174
- private variableValues;
175
- private linkValues;
176
- private openTrackingPixel;
177
- private payloadValues;
178
- private marksOrder;
179
- private meta;
180
- private htmlProps;
181
- constructor(content?: JSONContent);
182
- setPreviewText(preview?: string): void;
183
- setTheme(theme: Partial<ThemeOptions>): void;
184
- setVariableFormatter(formatter: VariableFormatter): void;
185
- /**
186
- * `setVariableValue` will set the variable value.
187
- * It will also set `shouldReplaceVariableValues` to `true`.
188
- *
189
- * @param variable - The variable name
190
- * @param value - The variable value
191
- */
192
- setVariableValue(variable: string, value: string): void;
193
- /**
194
- * `setVariableValues` will set the variable values.
195
- * It will also set `shouldReplaceVariableValues` to `true`.
196
- *
197
- * @param values - The variable values
198
- *
199
- * @example
200
- * ```js
201
- * const maily = new Maily(content);
202
- * maily.setVariableValues({
203
- * name: 'John Doe',
204
- * email: 'john@doe.com',
205
- * });
206
- * ```
207
- */
208
- setVariableValues(values: Record<string, string>): void;
209
- setLinkValue(link: string, value: string): void;
210
- setLinkValues(values: Record<string, string>): void;
211
- setPayloadValue(key: string, value: PayloadValue): void;
212
- setPayloadValues(values: Record<string, PayloadValue>): void;
213
- /**
214
- * `setOpenTrackingPixel` will set the open tracking pixel.
215
- *
216
- * @param pixel - The open tracking pixel
217
- */
218
- setOpenTrackingPixel(pixel?: string): void;
219
- /**
220
- * `setShouldReplaceVariableValues` will determine whether to replace the
221
- * variable values or not. Otherwise, it will just return the formatted variable.
222
- *
223
- * Default: `false`
224
- */
225
- setShouldReplaceVariableValues(shouldReplace: boolean): void;
226
- /**
227
- * `setMetaTags` will add the meta tags.
228
- *
229
- * @param meta - The meta tags
230
- */
231
- setMetaTags(meta: MetaDescriptors): void;
232
- /**
233
- * `setHtmlProps` will set the HTML props.
234
- *
235
- * @param props - The HTML props
236
- */
237
- setHtmlProps(props: HtmlProps): void;
238
- getAllLinks(): Set<string>;
239
- private isValidUrl;
240
- render(options?: RenderOptions): Promise<string>;
241
- /**
242
- * `markup` will render the JSON content into React Email markup.
243
- * and return the raw React Tree.
244
- */
245
- markup(): react_jsx_runtime.JSX.Element;
246
- private getMarginOverrideConditions;
247
- private getMappedContent;
248
- private renderNode;
249
- private renderMark;
250
- private paragraph;
251
- private text;
252
- private bold;
253
- private italic;
254
- private underline;
255
- private strike;
256
- private textStyle;
257
- private link;
258
- private removeLinkProtocol;
259
- private variableUrlValue;
260
- private heading;
261
- private variable;
262
- private getVariableValue;
263
- private horizontalRule;
264
- private orderedList;
265
- private bulletList;
266
- private listItem;
267
- private button;
268
- private spacer;
269
- private hardBreak;
270
- private logo;
271
- private image;
272
- private footer;
273
- private blockquote;
274
- private code;
275
- private linkCard;
276
- private section;
277
- private columns;
278
- private adjustColumnsContent;
279
- private column;
280
- private repeat;
281
- /**
282
- * @deprecated
283
- * This for node is an alias for the repeat node
284
- * we will remove this in the future
285
- * @param node
286
- * @param options
287
- * @returns JSX.Element
288
- */
289
- private for;
290
- private shouldShow;
291
- htmlCodeBlock(node: JSONContent, options?: NodeOptions): JSX.Element;
292
- private inlineImage;
140
+ private readonly content;
141
+ private config;
142
+ private variableFormatter;
143
+ private shouldReplaceVariableValues;
144
+ private variableValues;
145
+ private linkValues;
146
+ private openTrackingPixel;
147
+ private payloadValues;
148
+ private marksOrder;
149
+ private meta;
150
+ private htmlProps;
151
+ constructor(content?: JSONContent$1);
152
+ setPreviewText(preview?: string): void;
153
+ setTheme(theme: Partial<RendererThemeOptions>): void;
154
+ setVariableFormatter(formatter: VariableFormatter): void;
155
+ /**
156
+ * `setVariableValue` will set the variable value.
157
+ * It will also set `shouldReplaceVariableValues` to `true`.
158
+ *
159
+ * @param variable - The variable name
160
+ * @param value - The variable value
161
+ */
162
+ setVariableValue(variable: string, value: string): void;
163
+ /**
164
+ * `setVariableValues` will set the variable values.
165
+ * It will also set `shouldReplaceVariableValues` to `true`.
166
+ *
167
+ * @param values - The variable values
168
+ *
169
+ * @example
170
+ * ```js
171
+ * const maily = new Maily(content);
172
+ * maily.setVariableValues({
173
+ * name: 'John Doe',
174
+ * email: 'john@doe.com',
175
+ * });
176
+ * ```
177
+ */
178
+ setVariableValues(values: Record<string, string>): void;
179
+ setLinkValue(link: string, value: string): void;
180
+ setLinkValues(values: Record<string, string>): void;
181
+ setPayloadValue(key: string, value: PayloadValue): void;
182
+ setPayloadValues(values: Record<string, PayloadValue>): void;
183
+ /**
184
+ * `setOpenTrackingPixel` will set the open tracking pixel.
185
+ *
186
+ * @param pixel - The open tracking pixel
187
+ */
188
+ setOpenTrackingPixel(pixel?: string): void;
189
+ /**
190
+ * `setShouldReplaceVariableValues` will determine whether to replace the
191
+ * variable values or not. Otherwise, it will just return the formatted variable.
192
+ *
193
+ * Default: `false`
194
+ */
195
+ setShouldReplaceVariableValues(shouldReplace: boolean): void;
196
+ /**
197
+ * `setMetaTags` will add the meta tags.
198
+ *
199
+ * @param meta - The meta tags
200
+ */
201
+ setMetaTags(meta: MetaDescriptors): void;
202
+ /**
203
+ * `setHtmlProps` will set the HTML props.
204
+ *
205
+ * @param props - The HTML props
206
+ */
207
+ setHtmlProps(props: HtmlProps): void;
208
+ getAllLinks(): Set<string>;
209
+ private isValidUrl;
210
+ render(options?: RenderOptions): Promise<string>;
211
+ /**
212
+ * `children` will return the children of the content.
213
+ * this is useful for rendering the content in a custom component.
214
+ *
215
+ * @returns The children of the content as JSX elements
216
+ */
217
+ children(): (react_jsx_runtime0.JSX.Element | null)[];
218
+ /**
219
+ * `markup` will render the JSON content into React Email markup.
220
+ * and return the raw React Tree.
221
+ */
222
+ markup(): react_jsx_runtime0.JSX.Element;
223
+ private getMarginOverrideConditions;
224
+ private getMappedContent;
225
+ private renderNode;
226
+ private renderMark;
227
+ private paragraph;
228
+ private text;
229
+ private bold;
230
+ private italic;
231
+ private underline;
232
+ private strike;
233
+ private textStyle;
234
+ private link;
235
+ private removeLinkProtocol;
236
+ private variableUrlValue;
237
+ private heading;
238
+ private variable;
239
+ private getVariableValue;
240
+ private horizontalRule;
241
+ private orderedList;
242
+ private bulletList;
243
+ private listItem;
244
+ private button;
245
+ private spacer;
246
+ private hardBreak;
247
+ private logo;
248
+ private image;
249
+ private footer;
250
+ private blockquote;
251
+ private code;
252
+ private linkCard;
253
+ private section;
254
+ private columns;
255
+ private adjustColumnsContent;
256
+ private column;
257
+ private repeat;
258
+ /**
259
+ * @deprecated
260
+ * This for node is an alias for the repeat node
261
+ * we will remove this in the future
262
+ * @param node
263
+ * @param options
264
+ * @returns JSX.Element
265
+ */
266
+ private for;
267
+ private shouldShow;
268
+ htmlCodeBlock(node: JSONContent$1, options?: NodeOptions): JSX.Element;
269
+ private inlineImage;
293
270
  }
271
+ //#endregion
272
+ //#region src/render.d.ts
273
+ declare function render(content: JSONContent$1, config?: MailyConfig & RenderOptions): Promise<string>;
274
+ //# sourceMappingURL=render.d.ts.map
294
275
 
295
- declare function render(content: JSONContent, config?: MailyConfig & RenderOptions): Promise<string>;
296
-
297
- export { DEFAULT_BUTTON_PADDING_BOTTOM, DEFAULT_BUTTON_PADDING_LEFT, DEFAULT_BUTTON_PADDING_RIGHT, DEFAULT_BUTTON_PADDING_TOP, DEFAULT_COLUMNS_GAP, DEFAULT_COLUMNS_WIDTH, DEFAULT_COLUMN_BACKGROUND_COLOR, DEFAULT_COLUMN_BORDER_COLOR, DEFAULT_COLUMN_BORDER_RADIUS, DEFAULT_COLUMN_BORDER_WIDTH, DEFAULT_COLUMN_PADDING_BOTTOM, DEFAULT_COLUMN_PADDING_LEFT, DEFAULT_COLUMN_PADDING_RIGHT, DEFAULT_COLUMN_PADDING_TOP, DEFAULT_HTML_PROPS, DEFAULT_INLINE_IMAGE_HEIGHT, DEFAULT_INLINE_IMAGE_WIDTH, DEFAULT_META_TAGS, DEFAULT_SECTION_ALIGN, DEFAULT_SECTION_BACKGROUND_COLOR, DEFAULT_SECTION_BORDER_COLOR, DEFAULT_SECTION_BORDER_WIDTH, DEFAULT_SECTION_MARGIN_BOTTOM, DEFAULT_SECTION_MARGIN_LEFT, DEFAULT_SECTION_MARGIN_RIGHT, DEFAULT_SECTION_MARGIN_TOP, DEFAULT_SECTION_PADDING_BOTTOM, DEFAULT_SECTION_PADDING_LEFT, DEFAULT_SECTION_PADDING_RIGHT, DEFAULT_SECTION_PADDING_TOP, LINK_PROTOCOL_REGEX, type LinkValues, Maily, type MailyConfig, type MarkType, type PayloadValue, type PayloadValues, type RenderOptions, type ThemeOptions, type VariableFormatter, type VariableValues, render };
276
+ //#endregion
277
+ export { DEFAULT_COLUMNS_GAP, DEFAULT_COLUMNS_WIDTH, DEFAULT_COLUMN_BACKGROUND_COLOR, DEFAULT_COLUMN_BORDER_COLOR, DEFAULT_COLUMN_BORDER_RADIUS, DEFAULT_COLUMN_BORDER_WIDTH, DEFAULT_COLUMN_PADDING_BOTTOM, DEFAULT_COLUMN_PADDING_LEFT, DEFAULT_COLUMN_PADDING_RIGHT, DEFAULT_COLUMN_PADDING_TOP, DEFAULT_HTML_PROPS, DEFAULT_INLINE_IMAGE_HEIGHT, DEFAULT_INLINE_IMAGE_WIDTH, DEFAULT_META_TAGS, DEFAULT_SECTION_ALIGN, DEFAULT_SECTION_BACKGROUND_COLOR, DEFAULT_SECTION_BORDER_COLOR, DEFAULT_SECTION_BORDER_WIDTH, DEFAULT_SECTION_MARGIN_BOTTOM, DEFAULT_SECTION_MARGIN_LEFT, DEFAULT_SECTION_MARGIN_RIGHT, DEFAULT_SECTION_MARGIN_TOP, DEFAULT_SECTION_PADDING_BOTTOM, DEFAULT_SECTION_PADDING_LEFT, DEFAULT_SECTION_PADDING_RIGHT, DEFAULT_SECTION_PADDING_TOP, JSONContent, LINK_PROTOCOL_REGEX, LinkValues, Maily, MailyConfig, MarkType, PayloadValue, PayloadValues, RenderOptions, VariableFormatter, VariableValues, render };
278
+ //# sourceMappingURL=index.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.mts","names":[],"sources":["../src/meta.tsx","../src/maily.tsx","../src/render.ts"],"sourcesContent":[],"mappings":";;;;;;KAAY,cAAA;;;;;;EAAA,OAAA,EAAA,MAAA;AA2BZ,CAAA,GAAY;;;;ECUF,SAAA,EAAA,MAAW;EAAA,OAAA,EAAA,MAAA;CAAA,GAAA;EACC,OACb,EAAA,MAAA,GAAA,MAAA;EAAW,CAAA,SAC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