@maily-to/core 2.0.0-beta.7 → 2.0.0-beta.8

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 (48) hide show
  1. package/dist/blocks/index.cjs +8 -1
  2. package/dist/blocks/index.d.cts +1 -38
  3. package/dist/blocks/index.d.mts +14 -6
  4. package/dist/blocks/index.d.mts.map +1 -1
  5. package/dist/blocks/index.mjs +2 -2
  6. package/dist/extensions/index.cjs +252 -303
  7. package/dist/extensions/index.d.cts +1 -379
  8. package/dist/extensions/index.d.mts +127 -224
  9. package/dist/extensions/index.d.mts.map +1 -1
  10. package/dist/extensions/index.mjs +238 -271
  11. package/dist/index.cjs +4423 -12618
  12. package/dist/index.d.cts +1 -165
  13. package/dist/index.d.mts +701 -121
  14. package/dist/index.d.mts.map +1 -1
  15. package/dist/index.mjs +8460 -11567
  16. package/dist/{slash-command-BmWRVPbv.d.mts → slash-command-BrwA1bHs.d.mts} +10 -11
  17. package/dist/slash-command-BrwA1bHs.d.mts.map +1 -0
  18. package/dist/theme-D1CI7_8s.d.mts +70 -0
  19. package/dist/theme-D1CI7_8s.d.mts.map +1 -0
  20. package/dist/typography-BdOKvXfQ.mjs +911 -0
  21. package/dist/typography-D-VnwOSw.cjs +970 -0
  22. package/dist/typography-DW7VApAR.cjs +1072 -0
  23. package/dist/use-maily-editor-BP6Mt8Nn.cjs +3991 -0
  24. package/dist/use-maily-editor-DFuhg38t.cjs +4939 -0
  25. package/dist/use-maily-editor-xVILP7H8.mjs +4488 -0
  26. package/package.json +82 -74
  27. package/readme.md +169 -128
  28. package/src/styles/index.css +2537 -0
  29. package/dist/blocks/index.d.cts.map +0 -1
  30. package/dist/chunk-CfYAbeIz.mjs +0 -13
  31. package/dist/extensions/index.d.cts.map +0 -1
  32. package/dist/extensions/index.mjs.map +0 -1
  33. package/dist/index.css +0 -2312
  34. package/dist/index.d.cts.map +0 -1
  35. package/dist/index.mjs.map +0 -1
  36. package/dist/slash-command-BmWRVPbv.d.mts.map +0 -1
  37. package/dist/slash-command-CK0-1FwR.d.cts +0 -39
  38. package/dist/slash-command-CK0-1FwR.d.cts.map +0 -1
  39. package/dist/spacer-DBtsr3hu.cjs +0 -5768
  40. package/dist/spacer-DzZWX-wB.mjs +0 -5456
  41. package/dist/spacer-DzZWX-wB.mjs.map +0 -1
  42. package/dist/typography-CWL13acR.cjs +0 -400
  43. package/dist/typography-DhrUe809.mjs +0 -282
  44. package/dist/typography-DhrUe809.mjs.map +0 -1
  45. package/dist/variable-C9S9ZoHv.d.cts +0 -108
  46. package/dist/variable-C9S9ZoHv.d.cts.map +0 -1
  47. package/dist/variable-DVwGrg2a.d.mts +0 -108
  48. package/dist/variable-DVwGrg2a.d.mts.map +0 -1
@@ -0,0 +1,970 @@
1
+ let react_jsx_runtime = require("react/jsx-runtime");
2
+ let lucide_react = require("lucide-react");
3
+ let _maily_to_shared = require("@maily-to/shared");
4
+ //#region src/blocks/button.tsx
5
+ const button = {
6
+ title: "Button",
7
+ icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.MousePointerIcon, { size: 16 }),
8
+ description: "Add a call to action button to email.",
9
+ searchTerms: [
10
+ "button",
11
+ "cta",
12
+ "link",
13
+ "action"
14
+ ],
15
+ command: ({ editor, range }) => {
16
+ editor.chain().focus().deleteRange(range).setButton().run();
17
+ }
18
+ };
19
+ //#endregion
20
+ //#region src/blocks/footers.tsx
21
+ const COMPANY_LINK_MARKS = [
22
+ {
23
+ type: _maily_to_shared.MAILY_MARK_TYPES.LINK,
24
+ attrs: {
25
+ href: "https://maily.to",
26
+ target: "_blank",
27
+ rel: "noopener noreferrer nofollow"
28
+ }
29
+ },
30
+ {
31
+ type: _maily_to_shared.MAILY_MARK_TYPES.TEXT_STYLE,
32
+ attrs: { color: "#64748b" }
33
+ },
34
+ { type: _maily_to_shared.MAILY_MARK_TYPES.UNDERLINE }
35
+ ];
36
+ const COMPANY_LINK_SEPARATOR = {
37
+ type: _maily_to_shared.MAILY_NODE_TYPES.TEXT,
38
+ marks: [{
39
+ type: _maily_to_shared.MAILY_MARK_TYPES.TEXT_STYLE,
40
+ attrs: { color: "#64748b" }
41
+ }],
42
+ text: " | "
43
+ };
44
+ const footerCopyrightText = {
45
+ title: "Footer Copyright",
46
+ icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.CopyrightIcon, { size: 16 }),
47
+ description: "Copyright text for the footer.",
48
+ searchTerms: ["footer", "copyright"],
49
+ command: ({ editor, range }) => {
50
+ const currentYear = (/* @__PURE__ */ new Date()).getFullYear();
51
+ editor.chain().focus().deleteRange(range).insertContent({
52
+ type: _maily_to_shared.MAILY_NODE_TYPES.PARAGRAPH,
53
+ attrs: { style: "text-align:center" },
54
+ content: [{
55
+ type: _maily_to_shared.MAILY_NODE_TYPES.TEXT,
56
+ marks: [{
57
+ type: _maily_to_shared.MAILY_MARK_TYPES.TEXT_STYLE,
58
+ attrs: { color: "#AAAAAA" }
59
+ }],
60
+ text: `Maily © ${currentYear}. All rights reserved.`
61
+ }]
62
+ }).run();
63
+ }
64
+ };
65
+ const footerCommunityFeedbackCta = {
66
+ title: "Footer Community Feedback",
67
+ icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.RectangleHorizontalIcon, { size: 16 }),
68
+ description: "Community feedback CTA for the footer.",
69
+ searchTerms: [
70
+ "footer",
71
+ "community",
72
+ "feedback",
73
+ "cta"
74
+ ],
75
+ command: ({ editor, range }) => {
76
+ editor.chain().focus().deleteRange(range).insertContent([
77
+ {
78
+ type: _maily_to_shared.MAILY_NODE_TYPES.IMAGE,
79
+ attrs: {
80
+ src: "https://maily.to/brand/logo.png",
81
+ width: "8%",
82
+ align: _maily_to_shared.TEXT_ALIGNMENTS.LEFT
83
+ }
84
+ },
85
+ {
86
+ type: _maily_to_shared.MAILY_NODE_TYPES.SPACER,
87
+ attrs: { height: 16 }
88
+ },
89
+ {
90
+ type: _maily_to_shared.MAILY_NODE_TYPES.FOOTER,
91
+ content: [
92
+ {
93
+ type: _maily_to_shared.MAILY_NODE_TYPES.TEXT,
94
+ text: "Enjoyed this month's update?"
95
+ },
96
+ { type: _maily_to_shared.MAILY_NODE_TYPES.HARD_BREAK },
97
+ {
98
+ type: _maily_to_shared.MAILY_NODE_TYPES.TEXT,
99
+ text: "And, as always, we'd love your feedback – simply reply to the email or reach out via the Discord community!"
100
+ }
101
+ ]
102
+ }
103
+ ]).run();
104
+ }
105
+ };
106
+ const footerCompanySignature = {
107
+ title: "Footer Company Signature",
108
+ icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.LayoutTemplateIcon, { size: 16 }),
109
+ description: "Company signature for the footer.",
110
+ searchTerms: [
111
+ "footer",
112
+ "company",
113
+ "signature"
114
+ ],
115
+ command: ({ editor, range }) => {
116
+ editor.chain().focus().deleteRange(range).insertContent([
117
+ { type: _maily_to_shared.MAILY_NODE_TYPES.HORIZONTAL_RULE },
118
+ {
119
+ type: _maily_to_shared.MAILY_NODE_TYPES.IMAGE,
120
+ attrs: {
121
+ src: "https://maily.to/brand/logo.png",
122
+ width: "8%",
123
+ align: _maily_to_shared.TEXT_ALIGNMENTS.CENTER
124
+ }
125
+ },
126
+ {
127
+ type: _maily_to_shared.MAILY_NODE_TYPES.SPACER,
128
+ attrs: { height: 16 }
129
+ },
130
+ {
131
+ type: _maily_to_shared.MAILY_NODE_TYPES.HEADING,
132
+ attrs: {
133
+ level: 3,
134
+ style: "text-align:center"
135
+ },
136
+ content: [{
137
+ type: _maily_to_shared.MAILY_NODE_TYPES.TEXT,
138
+ text: "Maily"
139
+ }]
140
+ },
141
+ {
142
+ type: _maily_to_shared.MAILY_NODE_TYPES.SPACER,
143
+ attrs: { height: 4 }
144
+ },
145
+ {
146
+ type: _maily_to_shared.MAILY_NODE_TYPES.FOOTER,
147
+ attrs: { style: "text-align:center" },
148
+ content: [
149
+ {
150
+ type: _maily_to_shared.MAILY_NODE_TYPES.TEXT,
151
+ text: "1234 Example Street, Example, DE 19801, United States"
152
+ },
153
+ { type: _maily_to_shared.MAILY_NODE_TYPES.HARD_BREAK },
154
+ {
155
+ type: _maily_to_shared.MAILY_NODE_TYPES.TEXT,
156
+ marks: COMPANY_LINK_MARKS,
157
+ text: "VISIT COMPANY"
158
+ },
159
+ COMPANY_LINK_SEPARATOR,
160
+ {
161
+ type: _maily_to_shared.MAILY_NODE_TYPES.TEXT,
162
+ marks: COMPANY_LINK_MARKS,
163
+ text: "VISIT OUR BLOG"
164
+ },
165
+ COMPANY_LINK_SEPARATOR,
166
+ {
167
+ type: _maily_to_shared.MAILY_NODE_TYPES.TEXT,
168
+ marks: COMPANY_LINK_MARKS,
169
+ text: "UNSUBSCRIBE"
170
+ }
171
+ ]
172
+ },
173
+ {
174
+ type: _maily_to_shared.MAILY_NODE_TYPES.PARAGRAPH,
175
+ attrs: { style: "text-align:center" },
176
+ content: [
177
+ {
178
+ type: _maily_to_shared.MAILY_NODE_TYPES.INLINE_IMAGE,
179
+ attrs: {
180
+ src: "https://cdn.usemaily.com/images/icons/linkedin.png",
181
+ width: 20,
182
+ height: 20,
183
+ externalLink: "https://www.linkedin.com/in/arikchakma/"
184
+ }
185
+ },
186
+ {
187
+ type: _maily_to_shared.MAILY_NODE_TYPES.TEXT,
188
+ text: " "
189
+ },
190
+ {
191
+ type: _maily_to_shared.MAILY_NODE_TYPES.INLINE_IMAGE,
192
+ attrs: {
193
+ src: "https://cdn.usemaily.com/images/icons/youtube.png",
194
+ width: 20,
195
+ height: 20,
196
+ externalLink: "https://www.youtube.com/arikchakma"
197
+ }
198
+ },
199
+ {
200
+ type: _maily_to_shared.MAILY_NODE_TYPES.TEXT,
201
+ text: " "
202
+ },
203
+ {
204
+ type: _maily_to_shared.MAILY_NODE_TYPES.INLINE_IMAGE,
205
+ attrs: {
206
+ src: "https://cdn.usemaily.com/images/icons/twitter.png",
207
+ width: 20,
208
+ height: 20,
209
+ externalLink: "https://x.com/imarikchakma"
210
+ }
211
+ }
212
+ ]
213
+ }
214
+ ]).run();
215
+ }
216
+ };
217
+ //#endregion
218
+ //#region src/components/icons/logo-with-cover-image.tsx
219
+ function LogoWithCoverImageIcon(props) {
220
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("svg", {
221
+ fill: "none",
222
+ height: "16",
223
+ viewBox: "0 0 14 14",
224
+ width: "16",
225
+ xmlns: "http://www.w3.org/2000/svg",
226
+ ...props,
227
+ children: [
228
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
229
+ clipRule: "evenodd",
230
+ d: "M4.97634 1.4502H9.02405C9.70389 1.4502 10.2476 1.45019 10.687 1.48609C11.1379 1.52293 11.527 1.6003 11.8849 1.78263C12.4588 2.07504 12.9254 2.54164 13.2178 3.11553C13.4001 3.47338 13.4775 3.86253 13.5143 4.31342C13.5502 4.75277 13.5502 5.29652 13.5502 5.97637V8.02403C13.5502 8.70388 13.5502 9.24763 13.5143 9.68698C13.4775 10.1379 13.4001 10.527 13.2178 10.8849C12.9254 11.4588 12.4588 11.9254 11.8849 12.2178C11.527 12.4001 11.1379 12.4775 10.687 12.5143C10.2476 12.5502 9.70387 12.5502 9.02402 12.5502H4.97636C4.29651 12.5502 3.75276 12.5502 3.31341 12.5143C2.86252 12.4775 2.47337 12.4001 2.11552 12.2178C1.54163 11.9254 1.07504 11.4588 0.782626 10.8849C0.600293 10.527 0.522922 10.1379 0.486083 9.68698C0.450187 9.24764 0.45019 8.70389 0.450195 8.02405V5.97635C0.45019 5.29651 0.450187 4.75276 0.486083 4.31342C0.522922 3.86253 0.600293 3.47338 0.782626 3.11553C1.07504 2.54164 1.54163 2.07504 2.11552 1.78263C2.47337 1.6003 2.86252 1.52293 3.31341 1.48609C3.75276 1.45019 4.2965 1.4502 4.97634 1.4502ZM3.40298 2.58243C3.02012 2.61372 2.79184 2.67259 2.61491 2.76274C2.248 2.94969 1.94968 3.248 1.76273 3.61492C1.67258 3.79185 1.61371 4.02013 1.58243 4.40299C1.55062 4.79228 1.55019 5.29106 1.55019 6.0002V8.0002C1.55019 8.70934 1.55062 9.20812 1.58243 9.59741C1.61371 9.98028 1.67258 10.2086 1.76273 10.3855C1.94968 10.7524 2.248 11.0507 2.61491 11.2377C2.79184 11.3278 3.02012 11.3867 3.40298 11.418C3.79227 11.4498 4.29105 11.4502 5.00019 11.4502H9.00019C9.70933 11.4502 10.2081 11.4498 10.5974 11.418C10.9803 11.3867 11.2086 11.3278 11.3855 11.2377C11.7524 11.0507 12.0507 10.7524 12.2377 10.3855C12.3278 10.2086 12.3867 9.98028 12.418 9.59741C12.4498 9.20812 12.4502 8.70934 12.4502 8.0002V6.0002C12.4502 5.29106 12.4498 4.79228 12.418 4.40299C12.3867 4.02013 12.3278 3.79185 12.2377 3.61492C12.0507 3.248 11.7524 2.94969 11.3855 2.76274C11.2086 2.67259 10.9803 2.61372 10.5974 2.58243C10.2081 2.55063 9.70933 2.5502 9.00019 2.5502H5.00019C4.29105 2.5502 3.79227 2.55063 3.40298 2.58243Z",
231
+ fill: "currentColor",
232
+ fillRule: "evenodd"
233
+ }),
234
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
235
+ clipRule: "evenodd",
236
+ d: "M4.1999 0.450195C4.50366 0.450195 4.7499 0.696438 4.7499 1.00019V2.75019C4.7499 3.05395 4.50366 3.30019 4.1999 3.30019C3.89614 3.30019 3.6499 3.05395 3.6499 2.75019V1.00019C3.6499 0.696438 3.89614 0.450195 4.1999 0.450195Z",
237
+ fill: "currentColor",
238
+ fillRule: "evenodd"
239
+ }),
240
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
241
+ clipRule: "evenodd",
242
+ d: "M9.8 0.450195C10.1037 0.450195 10.35 0.696438 10.35 1.00019V2.75019C10.35 3.05395 10.1037 3.30019 9.8 3.30019C9.49625 3.30019 9.25 3.05395 9.25 2.75019V1.00019C9.25 0.696438 9.49625 0.450195 9.8 0.450195Z",
243
+ fill: "currentColor",
244
+ fillRule: "evenodd"
245
+ }),
246
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("mask", {
247
+ fill: "white",
248
+ id: "logo-with-cover-image-cover",
249
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("rect", {
250
+ height: "3",
251
+ rx: "0.5",
252
+ width: "8",
253
+ x: "3",
254
+ y: "4"
255
+ })
256
+ }),
257
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("rect", {
258
+ height: "3",
259
+ mask: "url(#logo-with-cover-image-cover)",
260
+ rx: "0.5",
261
+ stroke: "currentColor",
262
+ strokeWidth: "2",
263
+ width: "8",
264
+ x: "3",
265
+ y: "4"
266
+ }),
267
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("rect", {
268
+ height: "0.5",
269
+ rx: "0.25",
270
+ stroke: "currentColor",
271
+ strokeWidth: "0.5",
272
+ width: "4.5",
273
+ x: "6.25",
274
+ y: "8.25"
275
+ }),
276
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("rect", {
277
+ fill: "currentColor",
278
+ height: "1",
279
+ rx: "0.5",
280
+ width: "2",
281
+ x: "3",
282
+ y: "8"
283
+ })
284
+ ]
285
+ });
286
+ }
287
+ //#endregion
288
+ //#region src/components/icons/logo-with-text-horizon.tsx
289
+ function LogoWithTextHorizonIcon(props) {
290
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("svg", {
291
+ fill: "none",
292
+ height: "16",
293
+ viewBox: "0 0 14 14",
294
+ width: "16",
295
+ xmlns: "http://www.w3.org/2000/svg",
296
+ ...props,
297
+ children: [
298
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
299
+ clipRule: "evenodd",
300
+ d: "M4.97634 1.4502H9.02405C9.70389 1.4502 10.2476 1.45019 10.687 1.48609C11.1379 1.52293 11.527 1.6003 11.8849 1.78263C12.4588 2.07504 12.9254 2.54164 13.2178 3.11553C13.4001 3.47338 13.4775 3.86253 13.5143 4.31342C13.5502 4.75277 13.5502 5.29652 13.5502 5.97637V8.02403C13.5502 8.70388 13.5502 9.24763 13.5143 9.68698C13.4775 10.1379 13.4001 10.527 13.2178 10.8849C12.9254 11.4588 12.4588 11.9254 11.8849 12.2178C11.527 12.4001 11.1379 12.4775 10.687 12.5143C10.2476 12.5502 9.70387 12.5502 9.02402 12.5502H4.97636C4.29651 12.5502 3.75276 12.5502 3.31341 12.5143C2.86252 12.4775 2.47337 12.4001 2.11552 12.2178C1.54163 11.9254 1.07504 11.4588 0.782626 10.8849C0.600293 10.527 0.522922 10.1379 0.486083 9.68698C0.450187 9.24764 0.45019 8.70389 0.450195 8.02405V5.97635C0.45019 5.29651 0.450187 4.75276 0.486083 4.31342C0.522922 3.86253 0.600293 3.47338 0.782626 3.11553C1.07504 2.54164 1.54163 2.07504 2.11552 1.78263C2.47337 1.6003 2.86252 1.52293 3.31341 1.48609C3.75276 1.45019 4.2965 1.4502 4.97634 1.4502ZM3.40298 2.58243C3.02012 2.61372 2.79184 2.67259 2.61491 2.76274C2.248 2.94969 1.94968 3.248 1.76273 3.61492C1.67258 3.79185 1.61371 4.02013 1.58243 4.40299C1.55062 4.79228 1.55019 5.29106 1.55019 6.0002V8.0002C1.55019 8.70934 1.55062 9.20812 1.58243 9.59741C1.61371 9.98028 1.67258 10.2086 1.76273 10.3855C1.94968 10.7524 2.248 11.0507 2.61491 11.2377C2.79184 11.3278 3.02012 11.3867 3.40298 11.418C3.79227 11.4498 4.29105 11.4502 5.00019 11.4502H9.00019C9.70933 11.4502 10.2081 11.4498 10.5974 11.418C10.9803 11.3867 11.2086 11.3278 11.3855 11.2377C11.7524 11.0507 12.0507 10.7524 12.2377 10.3855C12.3278 10.2086 12.3867 9.98028 12.418 9.59741C12.4498 9.20812 12.4502 8.70934 12.4502 8.0002V6.0002C12.4502 5.29106 12.4498 4.79228 12.418 4.40299C12.3867 4.02013 12.3278 3.79185 12.2377 3.61492C12.0507 3.248 11.7524 2.94969 11.3855 2.76274C11.2086 2.67259 10.9803 2.61372 10.5974 2.58243C10.2081 2.55063 9.70933 2.5502 9.00019 2.5502H5.00019C4.29105 2.5502 3.79227 2.55063 3.40298 2.58243Z",
301
+ fill: "currentColor",
302
+ fillRule: "evenodd"
303
+ }),
304
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("rect", {
305
+ height: "0.5",
306
+ rx: "0.25",
307
+ stroke: "currentColor",
308
+ strokeWidth: "0.5",
309
+ width: "4.5",
310
+ x: "6.25",
311
+ y: "6.75"
312
+ }),
313
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("rect", {
314
+ fill: "currentColor",
315
+ height: "1",
316
+ rx: "0.5",
317
+ width: "2",
318
+ x: "3",
319
+ y: "6.5"
320
+ }),
321
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
322
+ clipRule: "evenodd",
323
+ d: "M4.1999 0.450195C4.50366 0.450195 4.7499 0.696438 4.7499 1.00019V2.75019C4.7499 3.05395 4.50366 3.30019 4.1999 3.30019C3.89614 3.30019 3.6499 3.05395 3.6499 2.75019V1.00019C3.6499 0.696438 3.89614 0.450195 4.1999 0.450195Z",
324
+ fill: "currentColor",
325
+ fillRule: "evenodd"
326
+ }),
327
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
328
+ clipRule: "evenodd",
329
+ d: "M9.8 0.450195C10.1037 0.450195 10.35 0.696438 10.35 1.00019V2.75019C10.35 3.05395 10.1037 3.30019 9.8 3.30019C9.49625 3.30019 9.25 3.05395 9.25 2.75019V1.00019C9.25 0.696438 9.49625 0.450195 9.8 0.450195Z",
330
+ fill: "currentColor",
331
+ fillRule: "evenodd"
332
+ })
333
+ ]
334
+ });
335
+ }
336
+ //#endregion
337
+ //#region src/components/icons/logo-with-text-vertical.tsx
338
+ function LogoWithTextVerticalIcon(props) {
339
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("svg", {
340
+ fill: "none",
341
+ height: "16",
342
+ viewBox: "0 0 14 14",
343
+ width: "16",
344
+ xmlns: "http://www.w3.org/2000/svg",
345
+ ...props,
346
+ children: [
347
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
348
+ clipRule: "evenodd",
349
+ d: "M4.97634 1.4502H9.02405C9.70389 1.4502 10.2476 1.45019 10.687 1.48609C11.1379 1.52293 11.527 1.6003 11.8849 1.78263C12.4588 2.07504 12.9254 2.54164 13.2178 3.11553C13.4001 3.47338 13.4775 3.86253 13.5143 4.31342C13.5502 4.75277 13.5502 5.29652 13.5502 5.97637V8.02403C13.5502 8.70388 13.5502 9.24763 13.5143 9.68698C13.4775 10.1379 13.4001 10.527 13.2178 10.8849C12.9254 11.4588 12.4588 11.9254 11.8849 12.2178C11.527 12.4001 11.1379 12.4775 10.687 12.5143C10.2476 12.5502 9.70387 12.5502 9.02402 12.5502H4.97636C4.29651 12.5502 3.75276 12.5502 3.31341 12.5143C2.86252 12.4775 2.47337 12.4001 2.11552 12.2178C1.54163 11.9254 1.07504 11.4588 0.782626 10.8849C0.600293 10.527 0.522922 10.1379 0.486083 9.68698C0.450187 9.24764 0.45019 8.70389 0.450195 8.02405V5.97635C0.45019 5.29651 0.450187 4.75276 0.486083 4.31342C0.522922 3.86253 0.600293 3.47338 0.782626 3.11553C1.07504 2.54164 1.54163 2.07504 2.11552 1.78263C2.47337 1.6003 2.86252 1.52293 3.31341 1.48609C3.75276 1.45019 4.2965 1.4502 4.97634 1.4502ZM3.40298 2.58243C3.02012 2.61372 2.79184 2.67259 2.61491 2.76274C2.248 2.94969 1.94968 3.248 1.76273 3.61492C1.67258 3.79185 1.61371 4.02013 1.58243 4.40299C1.55062 4.79228 1.55019 5.29106 1.55019 6.0002V8.0002C1.55019 8.70934 1.55062 9.20812 1.58243 9.59741C1.61371 9.98028 1.67258 10.2086 1.76273 10.3855C1.94968 10.7524 2.248 11.0507 2.61491 11.2377C2.79184 11.3278 3.02012 11.3867 3.40298 11.418C3.79227 11.4498 4.29105 11.4502 5.00019 11.4502H9.00019C9.70933 11.4502 10.2081 11.4498 10.5974 11.418C10.9803 11.3867 11.2086 11.3278 11.3855 11.2377C11.7524 11.0507 12.0507 10.7524 12.2377 10.3855C12.3278 10.2086 12.3867 9.98028 12.418 9.59741C12.4498 9.20812 12.4502 8.70934 12.4502 8.0002V6.0002C12.4502 5.29106 12.4498 4.79228 12.418 4.40299C12.3867 4.02013 12.3278 3.79185 12.2377 3.61492C12.0507 3.248 11.7524 2.94969 11.3855 2.76274C11.2086 2.67259 10.9803 2.61372 10.5974 2.58243C10.2081 2.55063 9.70933 2.5502 9.00019 2.5502H5.00019C4.29105 2.5502 3.79227 2.55063 3.40298 2.58243Z",
350
+ fill: "currentColor",
351
+ fillRule: "evenodd"
352
+ }),
353
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("rect", {
354
+ height: "0.5",
355
+ rx: "0.25",
356
+ stroke: "currentColor",
357
+ strokeWidth: "0.5",
358
+ width: "5.5",
359
+ x: "4.25",
360
+ y: "8.25"
361
+ }),
362
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("rect", {
363
+ fill: "currentColor",
364
+ height: "1",
365
+ rx: "0.5",
366
+ width: "2",
367
+ x: "6",
368
+ y: "6"
369
+ }),
370
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
371
+ clipRule: "evenodd",
372
+ d: "M4.1999 0.450195C4.50366 0.450195 4.7499 0.696438 4.7499 1.00019V2.75019C4.7499 3.05395 4.50366 3.30019 4.1999 3.30019C3.89614 3.30019 3.6499 3.05395 3.6499 2.75019V1.00019C3.6499 0.696438 3.89614 0.450195 4.1999 0.450195Z",
373
+ fill: "currentColor",
374
+ fillRule: "evenodd"
375
+ }),
376
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
377
+ clipRule: "evenodd",
378
+ d: "M9.8 0.450195C10.1037 0.450195 10.35 0.696438 10.35 1.00019V2.75019C10.35 3.05395 10.1037 3.30019 9.8 3.30019C9.49625 3.30019 9.25 3.05395 9.25 2.75019V1.00019C9.25 0.696438 9.49625 0.450195 9.8 0.450195Z",
379
+ fill: "currentColor",
380
+ fillRule: "evenodd"
381
+ })
382
+ ]
383
+ });
384
+ }
385
+ //#endregion
386
+ //#region src/blocks/headers.tsx
387
+ const headerLogoWithTextHorizontal = {
388
+ title: "Logo with Text (Horizontal)",
389
+ icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(LogoWithTextHorizonIcon, {}),
390
+ description: "Logo and a text horizontally",
391
+ searchTerms: ["logo", "text"],
392
+ command: ({ editor, range }) => {
393
+ editor.chain().focus().deleteRange(range).insertContent({
394
+ type: _maily_to_shared.MAILY_NODE_TYPES.COLUMNS,
395
+ content: [{
396
+ type: _maily_to_shared.MAILY_NODE_TYPES.COLUMN,
397
+ attrs: {
398
+ width: null,
399
+ verticalAlign: "middle"
400
+ },
401
+ content: [{
402
+ type: _maily_to_shared.MAILY_NODE_TYPES.IMAGE,
403
+ attrs: {
404
+ src: "https://maily.to/brand/logo.png",
405
+ width: "32px",
406
+ align: _maily_to_shared.TEXT_ALIGNMENTS.LEFT,
407
+ style: "height:32px"
408
+ }
409
+ }]
410
+ }, {
411
+ type: _maily_to_shared.MAILY_NODE_TYPES.COLUMN,
412
+ attrs: {
413
+ width: null,
414
+ verticalAlign: "bottom"
415
+ },
416
+ content: [{
417
+ type: _maily_to_shared.MAILY_NODE_TYPES.HEADING,
418
+ attrs: {
419
+ level: 3,
420
+ style: "text-align:right"
421
+ },
422
+ content: [{
423
+ type: _maily_to_shared.MAILY_NODE_TYPES.TEXT,
424
+ marks: [{ type: _maily_to_shared.MAILY_MARK_TYPES.BOLD }],
425
+ text: "Weekly Newsletter"
426
+ }]
427
+ }]
428
+ }]
429
+ }).run();
430
+ }
431
+ };
432
+ const headerLogoWithTextVertical = {
433
+ title: "Logo with Text (Vertical)",
434
+ icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(LogoWithTextVerticalIcon, {}),
435
+ description: "Logo and a text vertically",
436
+ searchTerms: ["logo", "text"],
437
+ command: ({ editor, range }) => {
438
+ editor.chain().focus().deleteRange(range).insertContent([
439
+ {
440
+ type: _maily_to_shared.MAILY_NODE_TYPES.IMAGE,
441
+ attrs: {
442
+ src: "https://maily.to/brand/logo.png",
443
+ width: "48px",
444
+ align: _maily_to_shared.TEXT_ALIGNMENTS.CENTER,
445
+ style: "height:48px"
446
+ }
447
+ },
448
+ {
449
+ type: _maily_to_shared.MAILY_NODE_TYPES.SPACER,
450
+ attrs: { height: 8 }
451
+ },
452
+ {
453
+ type: _maily_to_shared.MAILY_NODE_TYPES.HEADING,
454
+ attrs: {
455
+ level: 2,
456
+ style: "text-align:center"
457
+ },
458
+ content: [{
459
+ type: _maily_to_shared.MAILY_NODE_TYPES.TEXT,
460
+ text: "Maily"
461
+ }]
462
+ }
463
+ ]).run();
464
+ }
465
+ };
466
+ const headerLogoWithCoverImage = {
467
+ title: "Logo with Cover Image",
468
+ icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(LogoWithCoverImageIcon, {}),
469
+ description: "Logo and a cover image",
470
+ searchTerms: [
471
+ "logo",
472
+ "cover",
473
+ "image"
474
+ ],
475
+ command: ({ editor, range }) => {
476
+ const todayFormatted = (/* @__PURE__ */ new Date()).toLocaleDateString("en-US", {
477
+ year: "numeric",
478
+ month: "short",
479
+ day: "numeric"
480
+ });
481
+ editor.chain().focus().deleteRange(range).insertContent([{
482
+ type: _maily_to_shared.MAILY_NODE_TYPES.IMAGE,
483
+ attrs: {
484
+ src: "https://maily.to/og-image.png",
485
+ width: "600px",
486
+ align: _maily_to_shared.TEXT_ALIGNMENTS.CENTER,
487
+ style: "height:314px"
488
+ }
489
+ }, {
490
+ type: _maily_to_shared.MAILY_NODE_TYPES.COLUMNS,
491
+ content: [{
492
+ type: _maily_to_shared.MAILY_NODE_TYPES.COLUMN,
493
+ attrs: {
494
+ width: null,
495
+ verticalAlign: "middle"
496
+ },
497
+ content: [{
498
+ type: _maily_to_shared.MAILY_NODE_TYPES.IMAGE,
499
+ attrs: {
500
+ src: "https://maily.to/brand/logo.png",
501
+ width: "48px",
502
+ align: _maily_to_shared.TEXT_ALIGNMENTS.LEFT,
503
+ style: "height:48px"
504
+ }
505
+ }]
506
+ }, {
507
+ type: _maily_to_shared.MAILY_NODE_TYPES.COLUMN,
508
+ attrs: {
509
+ width: null,
510
+ verticalAlign: "middle"
511
+ },
512
+ content: [{
513
+ type: _maily_to_shared.MAILY_NODE_TYPES.PARAGRAPH,
514
+ attrs: { style: "text-align:right" },
515
+ content: [
516
+ {
517
+ type: _maily_to_shared.MAILY_NODE_TYPES.TEXT,
518
+ marks: [{ type: _maily_to_shared.MAILY_MARK_TYPES.BOLD }],
519
+ text: "Weekly Newsletter"
520
+ },
521
+ { type: _maily_to_shared.MAILY_NODE_TYPES.HARD_BREAK },
522
+ {
523
+ type: _maily_to_shared.MAILY_NODE_TYPES.TEXT,
524
+ marks: [{
525
+ type: _maily_to_shared.MAILY_MARK_TYPES.TEXT_STYLE,
526
+ attrs: { color: "#929292" }
527
+ }],
528
+ text: todayFormatted
529
+ }
530
+ ]
531
+ }]
532
+ }]
533
+ }]).run();
534
+ }
535
+ };
536
+ //#endregion
537
+ //#region src/blocks/image.tsx
538
+ const image = {
539
+ title: "Image",
540
+ icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.ImageIcon, { size: 16 }),
541
+ description: "Add a full-width image.",
542
+ searchTerms: [
543
+ "image",
544
+ "picture",
545
+ "photo",
546
+ "media"
547
+ ],
548
+ command: ({ editor, range }) => {
549
+ editor.chain().focus().deleteRange(range).setImage({ src: "" }).run();
550
+ }
551
+ };
552
+ const inlineImage = {
553
+ title: "Inline Image",
554
+ icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.SmilePlusIcon, { size: 16 }),
555
+ description: "Add an image inside a line of text.",
556
+ searchTerms: [
557
+ "inline",
558
+ "image",
559
+ "icon",
560
+ "emoji"
561
+ ],
562
+ command: ({ editor, range }) => {
563
+ editor.chain().focus().deleteRange(range).setInlineImage({ src: "" }).run();
564
+ }
565
+ };
566
+ //#endregion
567
+ //#region src/blocks/layout.tsx
568
+ const spacer = {
569
+ title: "Spacer",
570
+ icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.MoveVerticalIcon, { size: 16 }),
571
+ description: "Add space between blocks.",
572
+ searchTerms: ["space", "gap"],
573
+ command: ({ editor, range }) => {
574
+ editor.chain().focus().deleteRange(range).setSpacer().run();
575
+ }
576
+ };
577
+ const divider = {
578
+ title: "Divider",
579
+ icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.MinusIcon, { size: 16 }),
580
+ description: "Add a horizontal divider.",
581
+ searchTerms: [
582
+ "divider",
583
+ "line",
584
+ "rule"
585
+ ],
586
+ command: ({ editor, range }) => {
587
+ editor.chain().focus().deleteRange(range).setHorizontalRule().run();
588
+ }
589
+ };
590
+ const section = {
591
+ title: "Section",
592
+ icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.SquareIcon, { size: 16 }),
593
+ description: "Add a section container.",
594
+ searchTerms: [
595
+ "section",
596
+ "container",
597
+ "box",
598
+ "wrapper"
599
+ ],
600
+ command: ({ editor, range }) => {
601
+ editor.chain().focus().deleteRange(range).setSection().run();
602
+ }
603
+ };
604
+ const columns = {
605
+ title: "Columns",
606
+ icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.ColumnsIcon, { size: 16 }),
607
+ description: "Add a multi-column layout.",
608
+ searchTerms: [
609
+ "columns",
610
+ "layout",
611
+ "grid",
612
+ "split"
613
+ ],
614
+ command: ({ editor, range }) => {
615
+ editor.chain().focus().deleteRange(range).setColumns().run();
616
+ }
617
+ };
618
+ const table = {
619
+ title: "Table",
620
+ icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.TableIcon, { size: 16 }),
621
+ description: "Add a table.",
622
+ searchTerms: [
623
+ "table",
624
+ "grid",
625
+ "rows"
626
+ ],
627
+ command: ({ editor, range }) => {
628
+ editor.chain().focus().deleteRange(range).insertTable({
629
+ cols: 3,
630
+ rows: 3,
631
+ withHeaderRow: true
632
+ }).run();
633
+ }
634
+ };
635
+ const htmlCodeBlock = {
636
+ title: "Custom HTML",
637
+ icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.CodeXmlIcon, { size: 16 }),
638
+ description: "Insert a custom HTML block.",
639
+ searchTerms: [
640
+ "html",
641
+ "code",
642
+ "custom"
643
+ ],
644
+ command: ({ editor, range }) => {
645
+ editor.chain().focus().deleteRange(range).setHtmlCodeBlock({ language: "html" }).run();
646
+ }
647
+ };
648
+ const repeat = {
649
+ title: "Repeat",
650
+ icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.Repeat2Icon, { size: 16 }),
651
+ description: "Render the content once for every item in a list.",
652
+ searchTerms: [
653
+ "repeat",
654
+ "loop",
655
+ "iterate",
656
+ "for",
657
+ "each",
658
+ "list",
659
+ "array"
660
+ ],
661
+ command: ({ editor, range }) => {
662
+ editor.chain().focus().deleteRange(range).setRepeat().run();
663
+ }
664
+ };
665
+ //#endregion
666
+ //#region src/blocks/link-card.tsx
667
+ const linkCard = {
668
+ title: "Link Card",
669
+ icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.SquareArrowOutUpRightIcon, { size: 16 }),
670
+ description: "Add a rich preview card with link.",
671
+ searchTerms: [
672
+ "link",
673
+ "card",
674
+ "button",
675
+ "image"
676
+ ],
677
+ render: (editor) => {
678
+ return editor.extensionManager.extensions.some((extension) => extension.name === _maily_to_shared.MAILY_NODE_TYPES.LINK_CARD) ? true : null;
679
+ },
680
+ command: ({ editor, range }) => {
681
+ editor.chain().focus().deleteRange(range).setLinkCard().run();
682
+ }
683
+ };
684
+ //#endregion
685
+ //#region src/blocks/list.tsx
686
+ const bulletList = {
687
+ title: "Bullet List",
688
+ icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.ListIcon, { size: 16 }),
689
+ description: "Create a simple bullet list.",
690
+ searchTerms: [
691
+ "unordered",
692
+ "point",
693
+ "bullet"
694
+ ],
695
+ command: ({ editor, range }) => {
696
+ editor.chain().focus().deleteRange(range).toggleBulletList().run();
697
+ }
698
+ };
699
+ const orderedList = {
700
+ title: "Numbered List",
701
+ icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.ListOrderedIcon, { size: 16 }),
702
+ description: "Create a list with numbering.",
703
+ searchTerms: ["ordered", "number"],
704
+ command: ({ editor, range }) => {
705
+ editor.chain().focus().deleteRange(range).toggleOrderedList().run();
706
+ }
707
+ };
708
+ //#endregion
709
+ //#region src/blocks/typography.tsx
710
+ const text = {
711
+ title: "Text",
712
+ icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.TextIcon, { size: 16 }),
713
+ description: "Just start typing with plain text.",
714
+ searchTerms: [
715
+ "p",
716
+ "paragraph",
717
+ "text"
718
+ ],
719
+ command: ({ editor, range }) => {
720
+ editor.chain().focus().deleteRange(range).setParagraph().run();
721
+ }
722
+ };
723
+ const heading1 = {
724
+ title: "Heading 1",
725
+ icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.Heading1Icon, { size: 16 }),
726
+ description: "Big heading.",
727
+ searchTerms: [
728
+ "h1",
729
+ "title",
730
+ "big",
731
+ "large"
732
+ ],
733
+ command: ({ editor, range }) => {
734
+ editor.chain().focus().deleteRange(range).setNode("heading", { level: 1 }).run();
735
+ }
736
+ };
737
+ const heading2 = {
738
+ title: "Heading 2",
739
+ icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.Heading2Icon, { size: 16 }),
740
+ description: "Medium heading.",
741
+ searchTerms: [
742
+ "h2",
743
+ "subtitle",
744
+ "medium"
745
+ ],
746
+ command: ({ editor, range }) => {
747
+ editor.chain().focus().deleteRange(range).setNode("heading", { level: 2 }).run();
748
+ }
749
+ };
750
+ const heading3 = {
751
+ title: "Heading 3",
752
+ icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.Heading3Icon, { size: 16 }),
753
+ description: "Small heading.",
754
+ searchTerms: [
755
+ "h3",
756
+ "subtitle",
757
+ "small"
758
+ ],
759
+ command: ({ editor, range }) => {
760
+ editor.chain().focus().deleteRange(range).setNode("heading", { level: 3 }).run();
761
+ }
762
+ };
763
+ const hardBreak = {
764
+ title: "Hard Break",
765
+ icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.DivideIcon, { size: 16 }),
766
+ description: "Add a break between lines.",
767
+ searchTerms: ["break", "line"],
768
+ command: ({ editor, range }) => {
769
+ editor.chain().focus().deleteRange(range).setHardBreak().run();
770
+ }
771
+ };
772
+ const blockquote = {
773
+ title: "Blockquote",
774
+ icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.TextQuoteIcon, { size: 16 }),
775
+ description: "Add a blockquote.",
776
+ searchTerms: [
777
+ "quote",
778
+ "blockquote",
779
+ "citation"
780
+ ],
781
+ command: ({ editor, range }) => {
782
+ editor.chain().focus().deleteRange(range).setBlockquote().run();
783
+ }
784
+ };
785
+ const footer = {
786
+ title: "Footer",
787
+ icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.FootprintsIcon, { size: 16 }),
788
+ description: "Add a footer text.",
789
+ searchTerms: [
790
+ "footer",
791
+ "small",
792
+ "legal",
793
+ "unsubscribe"
794
+ ],
795
+ command: ({ editor, range }) => {
796
+ editor.chain().focus().deleteRange(range).setFooter().run();
797
+ }
798
+ };
799
+ const clearLine = {
800
+ title: "Clear Line",
801
+ icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.EraserIcon, { size: 16 }),
802
+ description: "Clear the current line.",
803
+ searchTerms: ["clear", "line"],
804
+ command: ({ editor }) => {
805
+ editor.chain().focus().selectParentNode().deleteSelection().run();
806
+ }
807
+ };
808
+ //#endregion
809
+ Object.defineProperty(exports, "blockquote", {
810
+ enumerable: true,
811
+ get: function() {
812
+ return blockquote;
813
+ }
814
+ });
815
+ Object.defineProperty(exports, "bulletList", {
816
+ enumerable: true,
817
+ get: function() {
818
+ return bulletList;
819
+ }
820
+ });
821
+ Object.defineProperty(exports, "button", {
822
+ enumerable: true,
823
+ get: function() {
824
+ return button;
825
+ }
826
+ });
827
+ Object.defineProperty(exports, "clearLine", {
828
+ enumerable: true,
829
+ get: function() {
830
+ return clearLine;
831
+ }
832
+ });
833
+ Object.defineProperty(exports, "columns", {
834
+ enumerable: true,
835
+ get: function() {
836
+ return columns;
837
+ }
838
+ });
839
+ Object.defineProperty(exports, "divider", {
840
+ enumerable: true,
841
+ get: function() {
842
+ return divider;
843
+ }
844
+ });
845
+ Object.defineProperty(exports, "footer", {
846
+ enumerable: true,
847
+ get: function() {
848
+ return footer;
849
+ }
850
+ });
851
+ Object.defineProperty(exports, "footerCommunityFeedbackCta", {
852
+ enumerable: true,
853
+ get: function() {
854
+ return footerCommunityFeedbackCta;
855
+ }
856
+ });
857
+ Object.defineProperty(exports, "footerCompanySignature", {
858
+ enumerable: true,
859
+ get: function() {
860
+ return footerCompanySignature;
861
+ }
862
+ });
863
+ Object.defineProperty(exports, "footerCopyrightText", {
864
+ enumerable: true,
865
+ get: function() {
866
+ return footerCopyrightText;
867
+ }
868
+ });
869
+ Object.defineProperty(exports, "hardBreak", {
870
+ enumerable: true,
871
+ get: function() {
872
+ return hardBreak;
873
+ }
874
+ });
875
+ Object.defineProperty(exports, "headerLogoWithCoverImage", {
876
+ enumerable: true,
877
+ get: function() {
878
+ return headerLogoWithCoverImage;
879
+ }
880
+ });
881
+ Object.defineProperty(exports, "headerLogoWithTextHorizontal", {
882
+ enumerable: true,
883
+ get: function() {
884
+ return headerLogoWithTextHorizontal;
885
+ }
886
+ });
887
+ Object.defineProperty(exports, "headerLogoWithTextVertical", {
888
+ enumerable: true,
889
+ get: function() {
890
+ return headerLogoWithTextVertical;
891
+ }
892
+ });
893
+ Object.defineProperty(exports, "heading1", {
894
+ enumerable: true,
895
+ get: function() {
896
+ return heading1;
897
+ }
898
+ });
899
+ Object.defineProperty(exports, "heading2", {
900
+ enumerable: true,
901
+ get: function() {
902
+ return heading2;
903
+ }
904
+ });
905
+ Object.defineProperty(exports, "heading3", {
906
+ enumerable: true,
907
+ get: function() {
908
+ return heading3;
909
+ }
910
+ });
911
+ Object.defineProperty(exports, "htmlCodeBlock", {
912
+ enumerable: true,
913
+ get: function() {
914
+ return htmlCodeBlock;
915
+ }
916
+ });
917
+ Object.defineProperty(exports, "image", {
918
+ enumerable: true,
919
+ get: function() {
920
+ return image;
921
+ }
922
+ });
923
+ Object.defineProperty(exports, "inlineImage", {
924
+ enumerable: true,
925
+ get: function() {
926
+ return inlineImage;
927
+ }
928
+ });
929
+ Object.defineProperty(exports, "linkCard", {
930
+ enumerable: true,
931
+ get: function() {
932
+ return linkCard;
933
+ }
934
+ });
935
+ Object.defineProperty(exports, "orderedList", {
936
+ enumerable: true,
937
+ get: function() {
938
+ return orderedList;
939
+ }
940
+ });
941
+ Object.defineProperty(exports, "repeat", {
942
+ enumerable: true,
943
+ get: function() {
944
+ return repeat;
945
+ }
946
+ });
947
+ Object.defineProperty(exports, "section", {
948
+ enumerable: true,
949
+ get: function() {
950
+ return section;
951
+ }
952
+ });
953
+ Object.defineProperty(exports, "spacer", {
954
+ enumerable: true,
955
+ get: function() {
956
+ return spacer;
957
+ }
958
+ });
959
+ Object.defineProperty(exports, "table", {
960
+ enumerable: true,
961
+ get: function() {
962
+ return table;
963
+ }
964
+ });
965
+ Object.defineProperty(exports, "text", {
966
+ enumerable: true,
967
+ get: function() {
968
+ return text;
969
+ }
970
+ });