@react-email/editor 0.0.0-experimental.4 → 0.0.0-experimental.40

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 (74) hide show
  1. package/dist/core/index.cjs +9 -0
  2. package/dist/core/index.d.cts +2 -0
  3. package/dist/core/index.d.mts +3 -0
  4. package/dist/core/index.mjs +4 -0
  5. package/dist/create-paste-handler-B8BtjBk3.d.cts +14 -0
  6. package/dist/create-paste-handler-B8BtjBk3.d.cts.map +1 -0
  7. package/dist/create-paste-handler-CGR738bC.d.mts +14 -0
  8. package/dist/create-paste-handler-CGR738bC.d.mts.map +1 -0
  9. package/dist/event-bus-CHEzOS_O.mjs +329 -0
  10. package/dist/event-bus-CHEzOS_O.mjs.map +1 -0
  11. package/dist/event-bus-fb8U7hrl.cjs +450 -0
  12. package/dist/extension-DyY8_bh4.mjs +1110 -0
  13. package/dist/extension-DyY8_bh4.mjs.map +1 -0
  14. package/dist/extension-w5VaUeSw.cjs +1235 -0
  15. package/dist/extensions/index.cjs +51 -0
  16. package/dist/extensions/index.d.cts +399 -0
  17. package/dist/extensions/index.d.cts.map +1 -0
  18. package/dist/extensions/index.d.mts +400 -0
  19. package/dist/extensions/index.d.mts.map +1 -0
  20. package/dist/extensions/index.mjs +5 -0
  21. package/dist/extensions-BvfmaKCn.mjs +2088 -0
  22. package/dist/extensions-BvfmaKCn.mjs.map +1 -0
  23. package/dist/extensions-CkjPj2JO.cjs +2369 -0
  24. package/dist/global-content-D_WYaFgX.mjs +78 -0
  25. package/dist/global-content-D_WYaFgX.mjs.map +1 -0
  26. package/dist/global-content-bJgotqmA.cjs +89 -0
  27. package/dist/index-C4KcMQ0R.d.cts +161 -0
  28. package/dist/index-C4KcMQ0R.d.cts.map +1 -0
  29. package/dist/index-CxX7W63O.d.mts +161 -0
  30. package/dist/index-CxX7W63O.d.mts.map +1 -0
  31. package/dist/index.cjs +74 -0
  32. package/dist/index.css +832 -0
  33. package/dist/index.css.map +1 -0
  34. package/dist/index.d.cts +33 -0
  35. package/dist/index.d.cts.map +1 -0
  36. package/dist/index.d.mts +31 -277
  37. package/dist/index.d.mts.map +1 -1
  38. package/dist/index.mjs +64 -1377
  39. package/dist/index.mjs.map +1 -1
  40. package/dist/plugins/index.cjs +23 -0
  41. package/dist/plugins/index.d.cts +191 -0
  42. package/dist/plugins/index.d.cts.map +1 -0
  43. package/dist/plugins/index.d.mts +191 -0
  44. package/dist/plugins/index.d.mts.map +1 -0
  45. package/dist/plugins/index.mjs +3 -0
  46. package/dist/root-CkYaJZpj.mjs +2316 -0
  47. package/dist/root-CkYaJZpj.mjs.map +1 -0
  48. package/dist/root-Gu08xybW.cjs +2832 -0
  49. package/dist/set-text-alignment-Cv72txmv.cjs +24 -0
  50. package/dist/set-text-alignment-OA8IMWmO.mjs +19 -0
  51. package/dist/set-text-alignment-OA8IMWmO.mjs.map +1 -0
  52. package/dist/styles-C-cCyJCn.cjs +211 -0
  53. package/dist/styles-_TMw3YxC.mjs +194 -0
  54. package/dist/styles-_TMw3YxC.mjs.map +1 -0
  55. package/dist/ui/bubble-menu/bubble-menu.css +285 -0
  56. package/dist/ui/index.cjs +147 -0
  57. package/dist/ui/index.d.cts +939 -0
  58. package/dist/ui/index.d.cts.map +1 -0
  59. package/dist/ui/index.d.mts +939 -0
  60. package/dist/ui/index.d.mts.map +1 -0
  61. package/dist/ui/index.mjs +60 -0
  62. package/dist/ui/index.mjs.map +1 -0
  63. package/dist/ui/slash-command/slash-command.css +44 -0
  64. package/dist/ui/themes/default.css +830 -0
  65. package/dist/utils/index.cjs +3 -0
  66. package/dist/utils/index.d.cts +7 -0
  67. package/dist/utils/index.d.cts.map +1 -0
  68. package/dist/utils/index.d.mts +7 -0
  69. package/dist/utils/index.d.mts.map +1 -0
  70. package/dist/utils/index.mjs +3 -0
  71. package/package.json +109 -21
  72. package/dist/index.d.ts +0 -279
  73. package/dist/index.d.ts.map +0 -1
  74. package/dist/index.js +0 -1436
@@ -0,0 +1,51 @@
1
+ const require_event_bus = require('../event-bus-fb8U7hrl.cjs');
2
+ const require_extensions = require('../extensions-CkjPj2JO.cjs');
3
+ const require_global_content = require('../global-content-bJgotqmA.cjs');
4
+
5
+ exports.AlignmentAttribute = require_extensions.AlignmentAttribute;
6
+ exports.Blockquote = require_extensions.Blockquote;
7
+ exports.Body = require_extensions.Body;
8
+ exports.Bold = require_extensions.Bold;
9
+ exports.BulletList = require_extensions.BulletList;
10
+ exports.Button = require_extensions.Button;
11
+ exports.COLUMN_PARENT_TYPES = require_event_bus.COLUMN_PARENT_TYPES;
12
+ exports.ClassAttribute = require_extensions.ClassAttribute;
13
+ exports.Code = require_extensions.Code;
14
+ exports.CodeBlockPrism = require_extensions.CodeBlockPrism;
15
+ exports.ColumnsColumn = require_event_bus.ColumnsColumn;
16
+ exports.Container = require_extensions.Container;
17
+ exports.Div = require_extensions.Div;
18
+ exports.Divider = require_extensions.Divider;
19
+ exports.FourColumns = require_event_bus.FourColumns;
20
+ exports.GlobalContent = require_global_content.GlobalContent;
21
+ exports.HardBreak = require_extensions.HardBreak;
22
+ exports.Heading = require_extensions.Heading;
23
+ exports.Italic = require_extensions.Italic;
24
+ exports.Link = require_extensions.Link;
25
+ exports.ListItem = require_extensions.ListItem;
26
+ exports.MAX_COLUMNS_DEPTH = require_event_bus.MAX_COLUMNS_DEPTH;
27
+ exports.MaxNesting = require_extensions.MaxNesting;
28
+ exports.OrderedList = require_extensions.OrderedList;
29
+ exports.Paragraph = require_extensions.Paragraph;
30
+ exports.Placeholder = require_extensions.Placeholder;
31
+ exports.PreservedStyle = require_extensions.PreservedStyle;
32
+ exports.PreviewText = require_extensions.PreviewText;
33
+ exports.Section = require_extensions.Section;
34
+ exports.StarterKit = require_extensions.StarterKit;
35
+ exports.Strike = require_extensions.Strike;
36
+ exports.StyleAttribute = require_extensions.StyleAttribute;
37
+ exports.Sup = require_extensions.Sup;
38
+ exports.Table = require_extensions.Table;
39
+ exports.TableCell = require_extensions.TableCell;
40
+ exports.TableHeader = require_extensions.TableHeader;
41
+ exports.TableRow = require_extensions.TableRow;
42
+ exports.Text = require_extensions.Text;
43
+ exports.ThreeColumns = require_event_bus.ThreeColumns;
44
+ exports.TrailingNode = require_extensions.TrailingNode;
45
+ exports.TwoColumns = require_event_bus.TwoColumns;
46
+ exports.Underline = require_extensions.Underline;
47
+ exports.Uppercase = require_extensions.Uppercase;
48
+ exports.getColumnsDepth = require_event_bus.getColumnsDepth;
49
+ exports.getGlobalContent = require_global_content.getGlobalContent;
50
+ exports.processStylesForUnlink = require_extensions.processStylesForUnlink;
51
+ exports.skipTrailingNodeMeta = require_extensions.skipTrailingNodeMeta;
@@ -0,0 +1,399 @@
1
+ import { a as EmailMark, n as EmailNode } from "../index-C4KcMQ0R.cjs";
2
+ import { Node } from "@tiptap/pm/model";
3
+ import { Editor, Extension, Node as Node$1, ParentConfig } from "@tiptap/core";
4
+ import { BlockquoteOptions } from "@tiptap/extension-blockquote";
5
+ import { BulletListOptions } from "@tiptap/extension-bullet-list";
6
+ import * as _tiptap_extension_code0 from "@tiptap/extension-code";
7
+ import { CodeOptions } from "@tiptap/extension-code";
8
+ import { HardBreakOptions } from "@tiptap/extension-hard-break";
9
+ import { ItalicOptions } from "@tiptap/extension-italic";
10
+ import { ListItemOptions } from "@tiptap/extension-list-item";
11
+ import { OrderedListOptions } from "@tiptap/extension-ordered-list";
12
+ import { ParagraphOptions } from "@tiptap/extension-paragraph";
13
+ import { StrikeOptions } from "@tiptap/extension-strike";
14
+ import { StarterKitOptions as StarterKitOptions$1 } from "@tiptap/starter-kit";
15
+ import { BoldOptions as BoldOptions$1 } from "@tiptap/extension-bold";
16
+ import { CodeBlockOptions } from "@tiptap/extension-code-block";
17
+ import { HorizontalRuleOptions } from "@tiptap/extension-horizontal-rule";
18
+ import { HeadingOptions as HeadingOptions$1 } from "@tiptap/extension-heading";
19
+ import { LinkOptions as LinkOptions$1 } from "@tiptap/extension-link";
20
+ import { PlaceholderOptions as PlaceholderOptions$1 } from "@tiptap/extension-placeholder";
21
+ import { SuperscriptExtensionOptions } from "@tiptap/extension-superscript";
22
+ import { UnderlineOptions as UnderlineOptions$1 } from "@tiptap/extension-underline";
23
+
24
+ //#region src/extensions/alignment-attribute.d.ts
25
+ interface AlignmentOptions {
26
+ types: string[];
27
+ alignments: string[];
28
+ }
29
+ declare module '@tiptap/core' {
30
+ interface Commands<ReturnType> {
31
+ alignment: {
32
+ /**
33
+ * Set the text align attribute
34
+ */
35
+ setAlignment: (alignment: string) => ReturnType;
36
+ };
37
+ }
38
+ }
39
+ declare const AlignmentAttribute: Extension<AlignmentOptions, any>;
40
+ //#endregion
41
+ //#region src/extensions/body.d.ts
42
+ interface BodyOptions {
43
+ HTMLAttributes: Record<string, unknown>;
44
+ }
45
+ declare const Body: EmailNode<BodyOptions, Record<string, never>>;
46
+ //#endregion
47
+ //#region src/extensions/bold.d.ts
48
+ type BoldOptions = BoldOptions$1;
49
+ declare const Bold: EmailMark<BoldOptions$1, any>;
50
+ //#endregion
51
+ //#region src/extensions/button.d.ts
52
+ interface EditorButtonOptions {
53
+ HTMLAttributes: Record<string, unknown>;
54
+ [key: string]: unknown;
55
+ }
56
+ declare module '@tiptap/core' {
57
+ interface Commands<ReturnType> {
58
+ button: {
59
+ setButton: () => ReturnType;
60
+ updateButton: (attributes: Record<string, unknown>) => ReturnType;
61
+ };
62
+ }
63
+ }
64
+ declare const Button: EmailNode<EditorButtonOptions, Record<string, never>>;
65
+ //#endregion
66
+ //#region src/extensions/class-attribute.d.ts
67
+ interface ClassAttributeOptions {
68
+ types: string[];
69
+ class: string[];
70
+ }
71
+ declare module '@tiptap/core' {
72
+ interface Commands<ReturnType> {
73
+ class: {
74
+ /**
75
+ * Set the class attribute
76
+ */
77
+ setClass: (classList: string) => ReturnType;
78
+ /**
79
+ * Unset the class attribute
80
+ */
81
+ unsetClass: () => ReturnType;
82
+ };
83
+ }
84
+ }
85
+ declare const ClassAttribute: Extension<ClassAttributeOptions, any>;
86
+ //#endregion
87
+ //#region src/extensions/code-block.d.ts
88
+ interface CodeBlockPrismOptions extends CodeBlockOptions {
89
+ defaultLanguage: string;
90
+ defaultTheme: string;
91
+ }
92
+ declare const CodeBlockPrism: EmailNode<CodeBlockPrismOptions, any>;
93
+ //#endregion
94
+ //#region src/extensions/container.d.ts
95
+ interface ContainerOptions {
96
+ HTMLAttributes: Record<string, unknown>;
97
+ }
98
+ declare const Container: EmailNode<ContainerOptions, Record<string, never>>;
99
+ //#endregion
100
+ //#region src/extensions/div.d.ts
101
+ interface DivOptions {
102
+ HTMLAttributes: Record<string, unknown>;
103
+ }
104
+ declare const Div: EmailNode<DivOptions, Record<string, never>>;
105
+ //#endregion
106
+ //#region src/extensions/divider.d.ts
107
+ type DividerOptions = HorizontalRuleOptions;
108
+ declare const Divider: EmailNode<HorizontalRuleOptions, any>;
109
+ //#endregion
110
+ //#region src/extensions/global-content.d.ts
111
+ interface GlobalContentOptions {
112
+ key: string;
113
+ data: Record<string, unknown>;
114
+ }
115
+ declare module '@tiptap/core' {
116
+ interface GlobalContent<ReturnType> {
117
+ setGlobalContent: (key: string, value: unknown) => ReturnType;
118
+ }
119
+ interface Commands<ReturnType> {
120
+ globalContent: GlobalContent<ReturnType>;
121
+ }
122
+ }
123
+ declare function getGlobalContent(key: string, editor: Editor): unknown | null;
124
+ declare const GlobalContent: Node$1<GlobalContentOptions, any>;
125
+ //#endregion
126
+ //#region src/extensions/heading.d.ts
127
+ type HeadingOptions = HeadingOptions$1;
128
+ declare const Heading: EmailNode<HeadingOptions$1, any>;
129
+ //#endregion
130
+ //#region src/extensions/link.d.ts
131
+ type LinkOptions = LinkOptions$1;
132
+ declare const Link: EmailMark<LinkOptions$1, any>;
133
+ //#endregion
134
+ //#region src/extensions/max-nesting.d.ts
135
+ interface MaxNestingOptions {
136
+ maxDepth: number;
137
+ nodeTypes?: string[];
138
+ }
139
+ declare const MaxNesting: Extension<MaxNestingOptions, any>;
140
+ //#endregion
141
+ //#region src/extensions/placeholder.d.ts
142
+ interface PlaceholderOptions {
143
+ placeholder?: string | ((props: {
144
+ node: Node;
145
+ }) => string);
146
+ includeChildren?: boolean;
147
+ }
148
+ declare const Placeholder: Extension<PlaceholderOptions$1, any>;
149
+ //#endregion
150
+ //#region src/extensions/preview-text.d.ts
151
+ interface PreviewTextOptions {
152
+ HTMLAttributes: Record<string, unknown>;
153
+ }
154
+ declare const PreviewText: Node$1<PreviewTextOptions, any>;
155
+ //#endregion
156
+ //#region src/extensions/section.d.ts
157
+ interface SectionOptions {
158
+ HTMLAttributes: Record<string, unknown>;
159
+ [key: string]: unknown;
160
+ }
161
+ declare module '@tiptap/core' {
162
+ interface Commands<ReturnType> {
163
+ section: {
164
+ insertSection: () => ReturnType;
165
+ };
166
+ }
167
+ }
168
+ declare const Section: EmailNode<SectionOptions, Record<string, never>>;
169
+ //#endregion
170
+ //#region src/extensions/style-attribute.d.ts
171
+ interface StyleAttributeOptions {
172
+ types: string[];
173
+ style: string[];
174
+ }
175
+ declare module '@tiptap/core' {
176
+ interface Commands<ReturnType> {
177
+ textAlign: {
178
+ /**
179
+ * Set the style attribute
180
+ */
181
+ setStyle: (style: string) => ReturnType;
182
+ /**
183
+ * Unset the style attribute
184
+ */
185
+ unsetStyle: () => ReturnType;
186
+ };
187
+ }
188
+ }
189
+ declare const StyleAttribute: Extension<StyleAttributeOptions, any>;
190
+ //#endregion
191
+ //#region src/extensions/sup.d.ts
192
+ type SupOptions = SuperscriptExtensionOptions;
193
+ declare module '@tiptap/core' {
194
+ interface Commands<ReturnType> {
195
+ sup: {
196
+ /**
197
+ * Set a superscript mark
198
+ */
199
+ setSup: () => ReturnType;
200
+ /**
201
+ * Toggle a superscript mark
202
+ */
203
+ toggleSup: () => ReturnType;
204
+ /**
205
+ * Unset a superscript mark
206
+ */
207
+ unsetSup: () => ReturnType;
208
+ };
209
+ }
210
+ }
211
+ declare const Sup: EmailMark<SuperscriptExtensionOptions, any>;
212
+ //#endregion
213
+ //#region src/extensions/table.d.ts
214
+ declare module '@tiptap/core' {
215
+ interface NodeConfig<Options, Storage> {
216
+ /**
217
+ * A string or function to determine the role of the table.
218
+ * @default 'table'
219
+ * @example () => 'table'
220
+ */
221
+ tableRole?: string | ((this: {
222
+ name: string;
223
+ options: Options;
224
+ storage: Storage;
225
+ parent: ParentConfig<NodeConfig<Options>>['tableRole'];
226
+ }) => string);
227
+ }
228
+ }
229
+ interface TableOptions {
230
+ HTMLAttributes: Record<string, unknown>;
231
+ }
232
+ declare const Table: EmailNode<TableOptions, Record<string, never>>;
233
+ interface TableRowOptions extends Record<string, unknown> {
234
+ HTMLAttributes?: Record<string, unknown>;
235
+ }
236
+ declare const TableRow: EmailNode<TableRowOptions, Record<string, never>>;
237
+ interface TableCellOptions extends Record<string, unknown> {
238
+ HTMLAttributes?: Record<string, unknown>;
239
+ }
240
+ declare const TableCell: EmailNode<TableCellOptions, Record<string, never>>;
241
+ declare const TableHeader: Node$1<any, any>;
242
+ //#endregion
243
+ //#region src/extensions/trailing-node.d.ts
244
+ declare const skipTrailingNodeMeta = "skipTrailingNode";
245
+ /**
246
+ * Extension based on:
247
+ * - https://github.com/ueberdosis/tiptap/blob/v1/packages/tiptap-extensions/src/extensions/TrailingNode.js
248
+ * - https://github.com/remirror/remirror/blob/e0f1bec4a1e8073ce8f5500d62193e52321155b9/packages/prosemirror-trailing-node/src/trailing-node-plugin.ts
249
+ */
250
+ interface TrailingNodeOptions {
251
+ /**
252
+ * The node type that should be inserted at the end of the document.
253
+ * @note the node will always be added to the `notAfter` lists to
254
+ * prevent an infinite loop.
255
+ * @default undefined
256
+ */
257
+ node?: string;
258
+ /**
259
+ * The node that the trailing node should be appended to. The default is the 'doc', giving the same behavior as TipTap's extension.
260
+ */
261
+ appendTo?: string;
262
+ /**
263
+ * The node types after which the trailing node should not be inserted.
264
+ * @default ['paragraph']
265
+ */
266
+ notAfter?: string | string[];
267
+ }
268
+ /**
269
+ * This extension allows you to add an extra node at the end of a node.
270
+ *
271
+ * Differently from TipTap's native one, it allows you to pick which node to append the trailing node to.
272
+ * @see https://www.tiptap.dev/api/extensions/trailing-node
273
+ *
274
+ * We could contribute this to TipTap's core extensions and I think we should at some once we get some time.
275
+ */
276
+ declare const TrailingNode: Extension<TrailingNodeOptions, any>;
277
+ //#endregion
278
+ //#region src/extensions/underline.d.ts
279
+ type UnderlineOptions = UnderlineOptions$1;
280
+ declare const Underline: EmailMark<UnderlineOptions$1, any>;
281
+ //#endregion
282
+ //#region src/extensions/uppercase.d.ts
283
+ interface UppercaseOptions {
284
+ HTMLAttributes: Record<string, unknown>;
285
+ }
286
+ declare module '@tiptap/core' {
287
+ interface Commands<ReturnType> {
288
+ uppercase: {
289
+ setUppercase: () => ReturnType;
290
+ toggleUppercase: () => ReturnType;
291
+ unsetUppercase: () => ReturnType;
292
+ };
293
+ }
294
+ }
295
+ declare const Uppercase: EmailMark<UppercaseOptions, Record<string, never>>;
296
+ //#endregion
297
+ //#region src/extensions/blockquote.d.ts
298
+ declare const Blockquote: EmailNode<BlockquoteOptions, any>;
299
+ //#endregion
300
+ //#region src/extensions/bullet-list.d.ts
301
+ declare const BulletList: EmailNode<BulletListOptions, any>;
302
+ //#endregion
303
+ //#region src/extensions/code.d.ts
304
+ declare const Code: EmailMark<_tiptap_extension_code0.CodeOptions, any>;
305
+ //#endregion
306
+ //#region src/extensions/columns.d.ts
307
+ declare module '@tiptap/core' {
308
+ interface Commands<ReturnType> {
309
+ columns: {
310
+ insertColumns: (count: 2 | 3 | 4) => ReturnType;
311
+ };
312
+ }
313
+ }
314
+ declare const COLUMN_PARENT_TYPES: readonly ["twoColumns", "threeColumns", "fourColumns"];
315
+ declare const MAX_COLUMNS_DEPTH = 3;
316
+ declare function getColumnsDepth(doc: Node, from: number): number;
317
+ declare const TwoColumns: EmailNode<Record<string, never>, Record<string, never>>;
318
+ declare const ThreeColumns: EmailNode<Record<string, never>, Record<string, never>>;
319
+ declare const FourColumns: EmailNode<Record<string, never>, Record<string, never>>;
320
+ declare const ColumnsColumn: EmailNode<Record<string, never>, Record<string, never>>;
321
+ //#endregion
322
+ //#region src/extensions/hard-break.d.ts
323
+ declare const HardBreak: EmailNode<HardBreakOptions, any>;
324
+ //#endregion
325
+ //#region src/extensions/italic.d.ts
326
+ declare const Italic: EmailMark<ItalicOptions, any>;
327
+ //#endregion
328
+ //#region src/extensions/list-item.d.ts
329
+ declare const ListItem: EmailNode<ListItemOptions, any>;
330
+ //#endregion
331
+ //#region src/extensions/ordered-list.d.ts
332
+ declare const OrderedList: EmailNode<OrderedListOptions, any>;
333
+ //#endregion
334
+ //#region src/extensions/paragraph.d.ts
335
+ declare const Paragraph: EmailNode<ParagraphOptions, any>;
336
+ //#endregion
337
+ //#region src/extensions/preserved-style.d.ts
338
+ declare const PreservedStyle: EmailMark<Record<string, never>, Record<string, never>>;
339
+ /**
340
+ * Processes styles when unlinking:
341
+ * - Has background (button-like): preserve all styles
342
+ * - No background: strip link-indicator styles (color, text-decoration), keep the rest
343
+ */
344
+ declare function processStylesForUnlink(styleString: string | null | undefined): string | null;
345
+ //#endregion
346
+ //#region src/extensions/strike.d.ts
347
+ declare const Strike: EmailMark<StrikeOptions, any>;
348
+ //#endregion
349
+ //#region src/extensions/text.d.ts
350
+ declare const Text: EmailNode<any, any>;
351
+ //#endregion
352
+ //#region src/extensions/index.d.ts
353
+ type StarterKitOptions = {
354
+ CodeBlockPrism: Partial<CodeBlockPrismOptions> | false;
355
+ Code: Partial<CodeOptions> | false;
356
+ TwoColumns: Partial<Record<string, never>> | false;
357
+ ThreeColumns: Partial<Record<string, never>> | false;
358
+ FourColumns: Partial<Record<string, never>> | false;
359
+ ColumnsColumn: Partial<Record<string, never>> | false;
360
+ Paragraph: Partial<ParagraphOptions> | false;
361
+ BulletList: Partial<BulletListOptions> | false;
362
+ OrderedList: Partial<OrderedListOptions> | false;
363
+ TrailingNode: Partial<TrailingNodeOptions> | false;
364
+ Blockquote: Partial<BlockquoteOptions> | false;
365
+ ListItem: Partial<ListItemOptions> | false;
366
+ HardBreak: Partial<HardBreakOptions> | false;
367
+ Italic: Partial<ItalicOptions> | false;
368
+ Placeholder: Partial<PlaceholderOptions> | false;
369
+ PreviewText: Partial<PreviewTextOptions> | false;
370
+ Bold: Partial<BoldOptions> | false;
371
+ Strike: Partial<StrikeOptions> | false;
372
+ Heading: Partial<HeadingOptions> | false;
373
+ Divider: Partial<DividerOptions> | false;
374
+ Link: Partial<LinkOptions> | false;
375
+ Sup: Partial<SupOptions> | false;
376
+ Underline: Partial<UnderlineOptions> | false;
377
+ Uppercase: Partial<UppercaseOptions> | false;
378
+ PreservedStyle: Partial<Record<string, never>> | false;
379
+ Table: Partial<TableOptions> | false;
380
+ TableRow: Partial<TableRowOptions> | false;
381
+ TableCell: Partial<TableCellOptions> | false;
382
+ TableHeader: Partial<Record<string, any>> | false;
383
+ Body: Partial<BodyOptions> | false;
384
+ Container: Partial<ContainerOptions> | false;
385
+ Div: Partial<DivOptions> | false;
386
+ Text: Record<string, never> | false;
387
+ Button: Partial<EditorButtonOptions> | false;
388
+ Section: Partial<SectionOptions> | false;
389
+ GlobalContent: Partial<GlobalContentOptions> | false;
390
+ AlignmentAttribute: Partial<AlignmentOptions> | false;
391
+ StyleAttribute: Partial<StyleAttributeOptions> | false;
392
+ ClassAttribute: Partial<ClassAttributeOptions> | false;
393
+ MaxNesting: Partial<MaxNestingOptions> | false;
394
+ TiptapStarterKit: Partial<StarterKitOptions$1> | false;
395
+ };
396
+ declare const StarterKit: Extension<StarterKitOptions, any>;
397
+ //#endregion
398
+ export { AlignmentAttribute, AlignmentOptions, Blockquote, Body, BodyOptions, Bold, BoldOptions, BulletList, Button, COLUMN_PARENT_TYPES, ClassAttribute, ClassAttributeOptions, Code, CodeBlockPrism, CodeBlockPrismOptions, ColumnsColumn, Container, ContainerOptions, Div, DivOptions, Divider, DividerOptions, EditorButtonOptions, FourColumns, GlobalContent, GlobalContentOptions, HardBreak, Heading, HeadingOptions, Italic, Link, LinkOptions, ListItem, MAX_COLUMNS_DEPTH, MaxNesting, MaxNestingOptions, OrderedList, Paragraph, Placeholder, PlaceholderOptions, PreservedStyle, PreviewText, PreviewTextOptions, Section, SectionOptions, StarterKit, StarterKitOptions, Strike, StyleAttribute, StyleAttributeOptions, Sup, SupOptions, Table, TableCell, TableCellOptions, TableHeader, TableOptions, TableRow, TableRowOptions, Text, ThreeColumns, TrailingNode, TrailingNodeOptions, TwoColumns, Underline, UnderlineOptions, Uppercase, UppercaseOptions, getColumnsDepth, getGlobalContent, processStylesForUnlink, skipTrailingNodeMeta };
399
+ //# sourceMappingURL=index.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.cts","names":[],"sources":["../../src/extensions/alignment-attribute.tsx","../../src/extensions/body.tsx","../../src/extensions/bold.tsx","../../src/extensions/button.tsx","../../src/extensions/class-attribute.tsx","../../src/extensions/code-block.tsx","../../src/extensions/container.tsx","../../src/extensions/div.tsx","../../src/extensions/divider.tsx","../../src/extensions/global-content.ts","../../src/extensions/heading.tsx","../../src/extensions/link.tsx","../../src/extensions/max-nesting.ts","../../src/extensions/placeholder.ts","../../src/extensions/preview-text.ts","../../src/extensions/section.tsx","../../src/extensions/style-attribute.tsx","../../src/extensions/sup.tsx","../../src/extensions/table.tsx","../../src/extensions/trailing-node.tsx","../../src/extensions/underline.tsx","../../src/extensions/uppercase.tsx","../../src/extensions/blockquote.tsx","../../src/extensions/bullet-list.tsx","../../src/extensions/code.tsx","../../src/extensions/columns.tsx","../../src/extensions/hard-break.tsx","../../src/extensions/italic.tsx","../../src/extensions/list-item.tsx","../../src/extensions/ordered-list.tsx","../../src/extensions/paragraph.tsx","../../src/extensions/preserved-style.tsx","../../src/extensions/strike.tsx","../../src/extensions/text.tsx","../../src/extensions/index.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;UAEiB,gBAAA;;;;;;;;;;2CAW0B;;;;cAK9B,oBAAkB,UAAA;;;UCTd,WAAA;kBACC;;cAGL,MA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