@maily-to/core 0.3.7 → 2.0.0-beta.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/blocks/index.cjs +22 -305
- package/dist/blocks/index.d.cts +38 -59
- package/dist/blocks/index.d.cts.map +1 -0
- package/dist/blocks/index.d.mts +38 -0
- package/dist/blocks/index.d.mts.map +1 -0
- package/dist/blocks/index.mjs +2 -273
- package/dist/chunk-CfYAbeIz.mjs +13 -0
- package/dist/extensions/index.cjs +375 -9101
- package/dist/extensions/index.d.cts +337 -406
- package/dist/extensions/index.d.cts.map +1 -0
- package/dist/extensions/index.d.mts +379 -0
- package/dist/extensions/index.d.mts.map +1 -0
- package/dist/extensions/index.mjs +353 -9050
- package/dist/extensions/index.mjs.map +1 -1
- package/dist/index.cjs +13117 -12141
- package/dist/index.css +1302 -1477
- package/dist/index.d.cts +103 -59
- package/dist/index.d.cts.map +1 -0
- package/dist/index.d.mts +105 -0
- package/dist/index.d.mts.map +1 -0
- package/dist/index.mjs +13098 -12191
- package/dist/index.mjs.map +1 -1
- package/dist/slash-command-BmWRVPbv.d.mts +39 -0
- package/dist/slash-command-BmWRVPbv.d.mts.map +1 -0
- package/dist/slash-command-CK0-1FwR.d.cts +39 -0
- package/dist/slash-command-CK0-1FwR.d.cts.map +1 -0
- package/dist/spacer-DBtsr3hu.cjs +5768 -0
- package/dist/spacer-DzZWX-wB.mjs +5456 -0
- package/dist/spacer-DzZWX-wB.mjs.map +1 -0
- package/dist/typography-CWL13acR.cjs +400 -0
- package/dist/typography-DhrUe809.mjs +282 -0
- package/dist/typography-DhrUe809.mjs.map +1 -0
- package/dist/variable-C9S9ZoHv.d.cts +108 -0
- package/dist/variable-C9S9ZoHv.d.cts.map +1 -0
- package/dist/variable-DVwGrg2a.d.mts +108 -0
- package/dist/variable-DVwGrg2a.d.mts.map +1 -0
- package/package.json +95 -172
- package/readme.md +298 -181
- package/dist/blocks/index.cjs.map +0 -1
- package/dist/blocks/index.d.ts +0 -59
- package/dist/blocks/index.mjs.map +0 -1
- package/dist/extensions/index.cjs.map +0 -1
- package/dist/extensions/index.d.ts +0 -448
- package/dist/index.cjs.map +0 -1
- package/dist/index.css.map +0 -1
- package/dist/index.d.ts +0 -63
package/dist/blocks/index.cjs
CHANGED
|
@@ -1,305 +1,22 @@
|
|
|
1
|
-
"
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
blockquote: () => blockquote,
|
|
24
|
-
bulletList: () => bulletList,
|
|
25
|
-
button: () => button,
|
|
26
|
-
clearLine: () => clearLine,
|
|
27
|
-
columns: () => columns,
|
|
28
|
-
divider: () => divider,
|
|
29
|
-
footer: () => footer,
|
|
30
|
-
hardBreak: () => hardBreak,
|
|
31
|
-
heading1: () => heading1,
|
|
32
|
-
heading2: () => heading2,
|
|
33
|
-
heading3: () => heading3,
|
|
34
|
-
htmlCodeBlock: () => htmlCodeBlock,
|
|
35
|
-
image: () => image,
|
|
36
|
-
inlineImage: () => inlineImage,
|
|
37
|
-
linkCard: () => linkCard,
|
|
38
|
-
logo: () => logo,
|
|
39
|
-
orderedList: () => orderedList,
|
|
40
|
-
repeat: () => repeat,
|
|
41
|
-
section: () => section,
|
|
42
|
-
spacer: () => spacer,
|
|
43
|
-
text: () => text
|
|
44
|
-
});
|
|
45
|
-
module.exports = __toCommonJS(blocks_exports);
|
|
46
|
-
|
|
47
|
-
// src/blocks/button.tsx
|
|
48
|
-
var import_lucide_react = require("lucide-react");
|
|
49
|
-
var import_jsx_runtime = require("react/jsx-runtime");
|
|
50
|
-
var button = {
|
|
51
|
-
title: "Button",
|
|
52
|
-
description: "Add a call to action button to email.",
|
|
53
|
-
searchTerms: ["link", "button", "cta"],
|
|
54
|
-
icon: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_lucide_react.MousePointer, { className: "mly:h-4 mly:w-4" }),
|
|
55
|
-
command: ({ editor, range }) => {
|
|
56
|
-
editor.chain().focus().deleteRange(range).setButton().run();
|
|
57
|
-
}
|
|
58
|
-
};
|
|
59
|
-
var linkCard = {
|
|
60
|
-
title: "Link Card",
|
|
61
|
-
description: "Add a link card to email.",
|
|
62
|
-
searchTerms: ["link", "button", "image"],
|
|
63
|
-
icon: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_lucide_react.ArrowUpRightSquare, { className: "mly:h-4 mly:w-4" }),
|
|
64
|
-
command: ({ editor, range }) => {
|
|
65
|
-
editor.chain().focus().deleteRange(range).setLinkCard().run();
|
|
66
|
-
},
|
|
67
|
-
render: (editor) => {
|
|
68
|
-
return editor.extensionManager.extensions.findIndex(
|
|
69
|
-
(ext) => ext.name === "linkCard"
|
|
70
|
-
) === -1 ? null : true;
|
|
71
|
-
}
|
|
72
|
-
};
|
|
73
|
-
|
|
74
|
-
// src/blocks/code.tsx
|
|
75
|
-
var import_lucide_react2 = require("lucide-react");
|
|
76
|
-
var import_jsx_runtime2 = require("react/jsx-runtime");
|
|
77
|
-
var htmlCodeBlock = {
|
|
78
|
-
title: "Custom HTML",
|
|
79
|
-
description: "Insert a custom HTML block",
|
|
80
|
-
searchTerms: ["html", "code", "custom"],
|
|
81
|
-
icon: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_lucide_react2.CodeXmlIcon, { className: "mly:h-4 mly:w-4" }),
|
|
82
|
-
command: ({ editor, range }) => {
|
|
83
|
-
editor.chain().focus().deleteRange(range).setHtmlCodeBlock({ language: "html" }).run();
|
|
84
|
-
}
|
|
85
|
-
};
|
|
86
|
-
|
|
87
|
-
// src/blocks/image.tsx
|
|
88
|
-
var import_state = require("@tiptap/pm/state");
|
|
89
|
-
var import_lucide_react3 = require("lucide-react");
|
|
90
|
-
var import_jsx_runtime3 = require("react/jsx-runtime");
|
|
91
|
-
var image = {
|
|
92
|
-
title: "Image",
|
|
93
|
-
description: "Full width image",
|
|
94
|
-
searchTerms: ["image"],
|
|
95
|
-
icon: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_lucide_react3.ImageIcon, { className: "mly:h-4 mly:w-4" }),
|
|
96
|
-
command: ({ editor, range }) => {
|
|
97
|
-
editor.chain().focus().deleteRange(range).setImage({ src: "" }).run();
|
|
98
|
-
}
|
|
99
|
-
};
|
|
100
|
-
var logo = {
|
|
101
|
-
title: "Logo",
|
|
102
|
-
description: "Add your brand logo",
|
|
103
|
-
searchTerms: ["image", "logo"],
|
|
104
|
-
icon: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_lucide_react3.ImageIcon, { className: "mly:h-4 mly:w-4" }),
|
|
105
|
-
command: ({ editor, range }) => {
|
|
106
|
-
editor.chain().focus().deleteRange(range).setLogoImage({ src: "" }).run();
|
|
107
|
-
}
|
|
108
|
-
};
|
|
109
|
-
var inlineImage = {
|
|
110
|
-
title: "Inline Image",
|
|
111
|
-
description: "Inline image",
|
|
112
|
-
searchTerms: ["image", "inline"],
|
|
113
|
-
icon: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_lucide_react3.ImageIcon, { className: "mly:h-4 mly:w-4" }),
|
|
114
|
-
command: ({ editor, range }) => {
|
|
115
|
-
editor.chain().focus().deleteRange(range).setInlineImage({
|
|
116
|
-
src: "https://maily.to/brand/logo.png"
|
|
117
|
-
}).command((props) => {
|
|
118
|
-
const { tr, state, view, editor: editor2 } = props;
|
|
119
|
-
const { from } = range;
|
|
120
|
-
const node = state.doc.nodeAt(from);
|
|
121
|
-
if (!node) {
|
|
122
|
-
return false;
|
|
123
|
-
}
|
|
124
|
-
const selection = import_state.TextSelection.create(
|
|
125
|
-
tr.doc,
|
|
126
|
-
from,
|
|
127
|
-
from + node.nodeSize
|
|
128
|
-
);
|
|
129
|
-
tr.setSelection(selection);
|
|
130
|
-
return true;
|
|
131
|
-
}).run();
|
|
132
|
-
}
|
|
133
|
-
};
|
|
134
|
-
|
|
135
|
-
// src/blocks/layout.tsx
|
|
136
|
-
var import_lucide_react4 = require("lucide-react");
|
|
137
|
-
var import_jsx_runtime4 = require("react/jsx-runtime");
|
|
138
|
-
var columns = {
|
|
139
|
-
title: "Columns",
|
|
140
|
-
description: "Add columns to email.",
|
|
141
|
-
searchTerms: ["layout", "columns"],
|
|
142
|
-
icon: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_lucide_react4.ColumnsIcon, { className: "mly:h-4 mly:w-4" }),
|
|
143
|
-
command: ({ editor, range }) => {
|
|
144
|
-
editor.chain().focus().deleteRange(range).setColumns().focus(editor.state.selection.head - 2).run();
|
|
145
|
-
}
|
|
146
|
-
};
|
|
147
|
-
var section = {
|
|
148
|
-
title: "Section",
|
|
149
|
-
description: "Add a section to email.",
|
|
150
|
-
searchTerms: ["layout", "section"],
|
|
151
|
-
icon: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_lucide_react4.RectangleHorizontal, { className: "mly:h-4 mly:w-4" }),
|
|
152
|
-
command: ({ editor, range }) => {
|
|
153
|
-
editor.chain().focus().deleteRange(range).setSection().run();
|
|
154
|
-
}
|
|
155
|
-
};
|
|
156
|
-
var repeat = {
|
|
157
|
-
title: "Repeat",
|
|
158
|
-
description: "Loop over an array of items.",
|
|
159
|
-
searchTerms: ["repeat", "for", "loop"],
|
|
160
|
-
icon: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_lucide_react4.Repeat2, { className: "mly:h-4 mly:w-4" }),
|
|
161
|
-
command: ({ editor, range }) => {
|
|
162
|
-
editor.chain().focus().deleteRange(range).setRepeat().run();
|
|
163
|
-
}
|
|
164
|
-
};
|
|
165
|
-
var spacer = {
|
|
166
|
-
title: "Spacer",
|
|
167
|
-
description: "Add space between blocks.",
|
|
168
|
-
searchTerms: ["space", "gap", "divider"],
|
|
169
|
-
icon: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_lucide_react4.MoveVertical, { className: "mly:h-4 mly:w-4" }),
|
|
170
|
-
command: ({ editor, range }) => {
|
|
171
|
-
editor.chain().focus().deleteRange(range).setSpacer({ height: "sm" }).run();
|
|
172
|
-
}
|
|
173
|
-
};
|
|
174
|
-
var divider = {
|
|
175
|
-
title: "Divider",
|
|
176
|
-
description: "Add a horizontal divider.",
|
|
177
|
-
searchTerms: ["divider", "line"],
|
|
178
|
-
icon: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_lucide_react4.Minus, { className: "mly:h-4 mly:w-4" }),
|
|
179
|
-
command: ({ editor, range }) => {
|
|
180
|
-
editor.chain().focus().deleteRange(range).setHorizontalRule().run();
|
|
181
|
-
}
|
|
182
|
-
};
|
|
183
|
-
|
|
184
|
-
// src/blocks/list.tsx
|
|
185
|
-
var import_lucide_react5 = require("lucide-react");
|
|
186
|
-
var import_jsx_runtime5 = require("react/jsx-runtime");
|
|
187
|
-
var bulletList = {
|
|
188
|
-
title: "Bullet List",
|
|
189
|
-
description: "Create a simple bullet list.",
|
|
190
|
-
searchTerms: ["unordered", "point"],
|
|
191
|
-
icon: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_lucide_react5.List, { className: "mly:h-4 mly:w-4" }),
|
|
192
|
-
command: ({ editor, range }) => {
|
|
193
|
-
editor.chain().focus().deleteRange(range).toggleBulletList().run();
|
|
194
|
-
}
|
|
195
|
-
};
|
|
196
|
-
var orderedList = {
|
|
197
|
-
title: "Numbered List",
|
|
198
|
-
description: "Create a list with numbering.",
|
|
199
|
-
searchTerms: ["ordered"],
|
|
200
|
-
icon: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_lucide_react5.ListOrdered, { className: "mly:h-4 mly:w-4" }),
|
|
201
|
-
command: ({ editor, range }) => {
|
|
202
|
-
editor.chain().focus().deleteRange(range).toggleOrderedList().run();
|
|
203
|
-
}
|
|
204
|
-
};
|
|
205
|
-
|
|
206
|
-
// src/blocks/typography.tsx
|
|
207
|
-
var import_lucide_react6 = require("lucide-react");
|
|
208
|
-
var import_jsx_runtime6 = require("react/jsx-runtime");
|
|
209
|
-
var text = {
|
|
210
|
-
title: "Text",
|
|
211
|
-
description: "Just start typing with plain text.",
|
|
212
|
-
searchTerms: ["p", "paragraph"],
|
|
213
|
-
icon: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_lucide_react6.Text, { className: "mly:h-4 mly:w-4" }),
|
|
214
|
-
command: ({ editor, range }) => {
|
|
215
|
-
editor.chain().focus().deleteRange(range).toggleNode("paragraph", "paragraph").run();
|
|
216
|
-
}
|
|
217
|
-
};
|
|
218
|
-
var heading1 = {
|
|
219
|
-
title: "Heading 1",
|
|
220
|
-
description: "Big heading.",
|
|
221
|
-
searchTerms: ["h1", "title", "big", "large"],
|
|
222
|
-
icon: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_lucide_react6.Heading1, { className: "mly:h-4 mly:w-4" }),
|
|
223
|
-
command: ({ editor, range }) => {
|
|
224
|
-
editor.chain().focus().deleteRange(range).setNode("heading", { level: 1 }).run();
|
|
225
|
-
}
|
|
226
|
-
};
|
|
227
|
-
var heading2 = {
|
|
228
|
-
title: "Heading 2",
|
|
229
|
-
description: "Medium heading.",
|
|
230
|
-
searchTerms: ["h2", "subtitle", "medium"],
|
|
231
|
-
icon: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_lucide_react6.Heading2, { className: "mly:h-4 mly:w-4" }),
|
|
232
|
-
command: ({ editor, range }) => {
|
|
233
|
-
editor.chain().focus().deleteRange(range).setNode("heading", { level: 2 }).run();
|
|
234
|
-
}
|
|
235
|
-
};
|
|
236
|
-
var heading3 = {
|
|
237
|
-
title: "Heading 3",
|
|
238
|
-
description: "Small heading.",
|
|
239
|
-
searchTerms: ["h3", "subtitle", "small"],
|
|
240
|
-
icon: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_lucide_react6.Heading3, { className: "mly:h-4 mly:w-4" }),
|
|
241
|
-
command: ({ editor, range }) => {
|
|
242
|
-
editor.chain().focus().deleteRange(range).setNode("heading", { level: 3 }).run();
|
|
243
|
-
}
|
|
244
|
-
};
|
|
245
|
-
var hardBreak = {
|
|
246
|
-
title: "Hard Break",
|
|
247
|
-
description: "Add a break between lines.",
|
|
248
|
-
searchTerms: ["break", "line"],
|
|
249
|
-
icon: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_lucide_react6.DivideIcon, { className: "mly:h-4 mly:w-4" }),
|
|
250
|
-
command: ({ editor, range }) => {
|
|
251
|
-
editor.chain().focus().deleteRange(range).setHardBreak().run();
|
|
252
|
-
}
|
|
253
|
-
};
|
|
254
|
-
var blockquote = {
|
|
255
|
-
title: "Blockquote",
|
|
256
|
-
description: "Add blockquote.",
|
|
257
|
-
searchTerms: ["quote", "blockquote"],
|
|
258
|
-
icon: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_lucide_react6.TextQuote, { className: "mly:h-4 mly:w-4" }),
|
|
259
|
-
command: ({ editor, range }) => {
|
|
260
|
-
editor.chain().focus().deleteRange(range).toggleBlockquote().run();
|
|
261
|
-
}
|
|
262
|
-
};
|
|
263
|
-
var footer = {
|
|
264
|
-
title: "Footer",
|
|
265
|
-
description: "Add a footer text to email.",
|
|
266
|
-
searchTerms: ["footer", "text"],
|
|
267
|
-
icon: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_lucide_react6.FootprintsIcon, { className: "mly:h-4 mly:w-4" }),
|
|
268
|
-
command: ({ editor, range }) => {
|
|
269
|
-
editor.chain().focus().deleteRange(range).setFooter().run();
|
|
270
|
-
}
|
|
271
|
-
};
|
|
272
|
-
var clearLine = {
|
|
273
|
-
title: "Clear Line",
|
|
274
|
-
description: "Clear the current line.",
|
|
275
|
-
searchTerms: ["clear", "line"],
|
|
276
|
-
icon: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_lucide_react6.EraserIcon, { className: "mly:h-4 mly:w-4" }),
|
|
277
|
-
command: ({ editor, range }) => {
|
|
278
|
-
editor.chain().focus().selectParentNode().deleteSelection().run();
|
|
279
|
-
}
|
|
280
|
-
};
|
|
281
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
282
|
-
0 && (module.exports = {
|
|
283
|
-
blockquote,
|
|
284
|
-
bulletList,
|
|
285
|
-
button,
|
|
286
|
-
clearLine,
|
|
287
|
-
columns,
|
|
288
|
-
divider,
|
|
289
|
-
footer,
|
|
290
|
-
hardBreak,
|
|
291
|
-
heading1,
|
|
292
|
-
heading2,
|
|
293
|
-
heading3,
|
|
294
|
-
htmlCodeBlock,
|
|
295
|
-
image,
|
|
296
|
-
inlineImage,
|
|
297
|
-
linkCard,
|
|
298
|
-
logo,
|
|
299
|
-
orderedList,
|
|
300
|
-
repeat,
|
|
301
|
-
section,
|
|
302
|
-
spacer,
|
|
303
|
-
text
|
|
304
|
-
});
|
|
305
|
-
//# sourceMappingURL=index.cjs.map
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_typography = require("../typography-CWL13acR.cjs");
|
|
3
|
+
exports.blockquote = require_typography.blockquote;
|
|
4
|
+
exports.bulletList = require_typography.bulletList;
|
|
5
|
+
exports.button = require_typography.button;
|
|
6
|
+
exports.clearLine = require_typography.clearLine;
|
|
7
|
+
exports.columns = require_typography.columns;
|
|
8
|
+
exports.divider = require_typography.divider;
|
|
9
|
+
exports.footer = require_typography.footer;
|
|
10
|
+
exports.hardBreak = require_typography.hardBreak;
|
|
11
|
+
exports.heading1 = require_typography.heading1;
|
|
12
|
+
exports.heading2 = require_typography.heading2;
|
|
13
|
+
exports.heading3 = require_typography.heading3;
|
|
14
|
+
exports.htmlCodeBlock = require_typography.htmlCodeBlock;
|
|
15
|
+
exports.image = require_typography.image;
|
|
16
|
+
exports.inlineImage = require_typography.inlineImage;
|
|
17
|
+
exports.linkCard = require_typography.linkCard;
|
|
18
|
+
exports.orderedList = require_typography.orderedList;
|
|
19
|
+
exports.repeat = require_typography.repeat;
|
|
20
|
+
exports.section = require_typography.section;
|
|
21
|
+
exports.spacer = require_typography.spacer;
|
|
22
|
+
exports.text = require_typography.text;
|
package/dist/blocks/index.d.cts
CHANGED
|
@@ -1,59 +1,38 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
declare const
|
|
33
|
-
declare const
|
|
34
|
-
|
|
35
|
-
declare const
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
declare const inlineImage: BlockItem;
|
|
40
|
-
|
|
41
|
-
declare const columns: BlockItem;
|
|
42
|
-
declare const section: BlockItem;
|
|
43
|
-
declare const repeat: BlockItem;
|
|
44
|
-
declare const spacer: BlockItem;
|
|
45
|
-
declare const divider: BlockItem;
|
|
46
|
-
|
|
47
|
-
declare const bulletList: BlockItem;
|
|
48
|
-
declare const orderedList: BlockItem;
|
|
49
|
-
|
|
50
|
-
declare const text: BlockItem;
|
|
51
|
-
declare const heading1: BlockItem;
|
|
52
|
-
declare const heading2: BlockItem;
|
|
53
|
-
declare const heading3: BlockItem;
|
|
54
|
-
declare const hardBreak: BlockItem;
|
|
55
|
-
declare const blockquote: BlockItem;
|
|
56
|
-
declare const footer: BlockItem;
|
|
57
|
-
declare const clearLine: BlockItem;
|
|
58
|
-
|
|
59
|
-
export { type BlockGroupItem, type BlockItem, type CommandProps, blockquote, bulletList, button, clearLine, columns, divider, footer, hardBreak, heading1, heading2, heading3, htmlCodeBlock, image, inlineImage, linkCard, logo, orderedList, repeat, section, spacer, text };
|
|
1
|
+
import { i as SlashCommandOptions, n as SlashCommandItem, r as SlashCommandItemCommand, t as SlashCommandGroupItem } from "../slash-command-CK0-1FwR.cjs";
|
|
2
|
+
|
|
3
|
+
//#region src/blocks/button.d.ts
|
|
4
|
+
declare const button: SlashCommandItem;
|
|
5
|
+
//#endregion
|
|
6
|
+
//#region src/blocks/image.d.ts
|
|
7
|
+
declare const image: SlashCommandItem;
|
|
8
|
+
//#endregion
|
|
9
|
+
//#region src/blocks/inline-image.d.ts
|
|
10
|
+
declare const inlineImage: SlashCommandItem;
|
|
11
|
+
//#endregion
|
|
12
|
+
//#region src/blocks/layout.d.ts
|
|
13
|
+
declare const spacer: SlashCommandItem;
|
|
14
|
+
declare const divider: SlashCommandItem;
|
|
15
|
+
declare const section: SlashCommandItem;
|
|
16
|
+
declare const columns: SlashCommandItem;
|
|
17
|
+
declare const repeat: SlashCommandItem;
|
|
18
|
+
declare const htmlCodeBlock: SlashCommandItem;
|
|
19
|
+
//#endregion
|
|
20
|
+
//#region src/blocks/link-card.d.ts
|
|
21
|
+
declare const linkCard: SlashCommandItem;
|
|
22
|
+
//#endregion
|
|
23
|
+
//#region src/blocks/list.d.ts
|
|
24
|
+
declare const bulletList: SlashCommandItem;
|
|
25
|
+
declare const orderedList: SlashCommandItem;
|
|
26
|
+
//#endregion
|
|
27
|
+
//#region src/blocks/typography.d.ts
|
|
28
|
+
declare const text: SlashCommandItem;
|
|
29
|
+
declare const heading1: SlashCommandItem;
|
|
30
|
+
declare const heading2: SlashCommandItem;
|
|
31
|
+
declare const heading3: SlashCommandItem;
|
|
32
|
+
declare const hardBreak: SlashCommandItem;
|
|
33
|
+
declare const blockquote: SlashCommandItem;
|
|
34
|
+
declare const footer: SlashCommandItem;
|
|
35
|
+
declare const clearLine: SlashCommandItem;
|
|
36
|
+
//#endregion
|
|
37
|
+
export { type SlashCommandGroupItem, type SlashCommandItem, type SlashCommandItemCommand, type SlashCommandOptions, blockquote, bulletList, button, clearLine, columns, divider, footer, hardBreak, heading1, heading2, heading3, htmlCodeBlock, image, inlineImage, linkCard, orderedList, repeat, section, spacer, text };
|
|
38
|
+
//# sourceMappingURL=index.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.cts","names":[],"sources":["../../src/blocks/button.tsx","../../src/blocks/image.tsx","../../src/blocks/inline-image.tsx","../../src/blocks/layout.tsx","../../src/blocks/link-card.tsx","../../src/blocks/list.tsx","../../src/blocks/typography.tsx"],"mappings":";;;cAMa,MAAA,EAAQ,gBAAA;;;cCFR,KAAA,EAAO,gBAAA;;;cCAP,WAAA,EAAa,gBAAA;;;cCOb,MAAA,EAAQ,gBAAA;AAAA,cAUR,OAAA,EAAS,gBAAA;AAAA,cAUT,OAAA,EAAS,gBAAA;AAAA,cAUT,OAAA,EAAS,gBAAA;AAAA,cAUT,MAAA,EAAQ,gBAAA;AAAA,cAUR,aAAA,EAAe,gBAAA;;;cCxDf,QAAA,EAAU,gBAAA;;;cCDV,UAAA,EAAY,gBAAA;AAAA,cAUZ,WAAA,EAAa,gBAAA;;;cCAb,IAAA,EAAM,gBAAA;AAAA,cAmBN,QAAA,EAAU,gBAAA;AAAA,cAkBV,QAAA,EAAU,gBAAA;AAAA,cAkBV,QAAA,EAAU,gBAAA;AAAA,cAkBV,SAAA,EAAW,gBAAA;AAAA,cAUX,UAAA,EAAY,gBAAA;AAAA,cAUZ,MAAA,EAAQ,gBAAA;AAAA,cAUR,SAAA,EAAW,gBAAA"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { i as SlashCommandOptions, n as SlashCommandItem, r as SlashCommandItemCommand, t as SlashCommandGroupItem } from "../slash-command-BmWRVPbv.mjs";
|
|
2
|
+
|
|
3
|
+
//#region src/blocks/button.d.ts
|
|
4
|
+
declare const button: SlashCommandItem;
|
|
5
|
+
//#endregion
|
|
6
|
+
//#region src/blocks/image.d.ts
|
|
7
|
+
declare const image: SlashCommandItem;
|
|
8
|
+
//#endregion
|
|
9
|
+
//#region src/blocks/inline-image.d.ts
|
|
10
|
+
declare const inlineImage: SlashCommandItem;
|
|
11
|
+
//#endregion
|
|
12
|
+
//#region src/blocks/layout.d.ts
|
|
13
|
+
declare const spacer: SlashCommandItem;
|
|
14
|
+
declare const divider: SlashCommandItem;
|
|
15
|
+
declare const section: SlashCommandItem;
|
|
16
|
+
declare const columns: SlashCommandItem;
|
|
17
|
+
declare const repeat: SlashCommandItem;
|
|
18
|
+
declare const htmlCodeBlock: SlashCommandItem;
|
|
19
|
+
//#endregion
|
|
20
|
+
//#region src/blocks/link-card.d.ts
|
|
21
|
+
declare const linkCard: SlashCommandItem;
|
|
22
|
+
//#endregion
|
|
23
|
+
//#region src/blocks/list.d.ts
|
|
24
|
+
declare const bulletList: SlashCommandItem;
|
|
25
|
+
declare const orderedList: SlashCommandItem;
|
|
26
|
+
//#endregion
|
|
27
|
+
//#region src/blocks/typography.d.ts
|
|
28
|
+
declare const text: SlashCommandItem;
|
|
29
|
+
declare const heading1: SlashCommandItem;
|
|
30
|
+
declare const heading2: SlashCommandItem;
|
|
31
|
+
declare const heading3: SlashCommandItem;
|
|
32
|
+
declare const hardBreak: SlashCommandItem;
|
|
33
|
+
declare const blockquote: SlashCommandItem;
|
|
34
|
+
declare const footer: SlashCommandItem;
|
|
35
|
+
declare const clearLine: SlashCommandItem;
|
|
36
|
+
//#endregion
|
|
37
|
+
export { type SlashCommandGroupItem, type SlashCommandItem, type SlashCommandItemCommand, type SlashCommandOptions, blockquote, bulletList, button, clearLine, columns, divider, footer, hardBreak, heading1, heading2, heading3, htmlCodeBlock, image, inlineImage, linkCard, orderedList, repeat, section, spacer, text };
|
|
38
|
+
//# sourceMappingURL=index.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":[],"sources":["../../src/blocks/button.tsx","../../src/blocks/image.tsx","../../src/blocks/inline-image.tsx","../../src/blocks/layout.tsx","../../src/blocks/link-card.tsx","../../src/blocks/list.tsx","../../src/blocks/typography.tsx"],"mappings":";;;cAMa,MAAA,EAAQ,gBAAA;;;cCFR,KAAA,EAAO,gBAAA;;;cCAP,WAAA,EAAa,gBAAA;;;cCOb,MAAA,EAAQ,gBAAA;AAAA,cAUR,OAAA,EAAS,gBAAA;AAAA,cAUT,OAAA,EAAS,gBAAA;AAAA,cAUT,OAAA,EAAS,gBAAA;AAAA,cAUT,MAAA,EAAQ,gBAAA;AAAA,cAUR,aAAA,EAAe,gBAAA;;;cCxDf,QAAA,EAAU,gBAAA;;;cCDV,UAAA,EAAY,gBAAA;AAAA,cAUZ,WAAA,EAAa,gBAAA;;;cCAb,IAAA,EAAM,gBAAA;AAAA,cAmBN,QAAA,EAAU,gBAAA;AAAA,cAkBV,QAAA,EAAU,gBAAA;AAAA,cAkBV,QAAA,EAAU,gBAAA;AAAA,cAkBV,SAAA,EAAW,gBAAA;AAAA,cAUX,UAAA,EAAY,gBAAA;AAAA,cAUZ,MAAA,EAAQ,gBAAA;AAAA,cAUR,SAAA,EAAW,gBAAA"}
|