@react-email/editor 0.0.0-experimental.0 → 0.0.0-experimental.2
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/index.d.mts +188 -4
- package/dist/index.d.mts.map +1 -1
- package/dist/index.d.ts +188 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +793 -1
- package/dist/index.mjs +779 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +12 -10
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as _tiptap_core0 from "@tiptap/core";
|
|
2
|
+
import { Editor, Extension, JSONContent, Mark, Node, NodeConfig as NodeConfig$1, NodeType, ParentConfig } from "@tiptap/core";
|
|
2
3
|
import { CodeBlockOptions } from "@tiptap/extension-code-block";
|
|
4
|
+
import * as _tiptap_extension_placeholder0 from "@tiptap/extension-placeholder";
|
|
5
|
+
import { Node as Node$1 } from "@tiptap/pm/model";
|
|
3
6
|
import * as React$1 from "react";
|
|
4
7
|
|
|
5
8
|
//#region src/utils/types.d.ts
|
|
@@ -15,7 +18,7 @@ type RendererComponent = (props: {
|
|
|
15
18
|
styles: CssJs;
|
|
16
19
|
children?: React.ReactNode;
|
|
17
20
|
}) => React.ReactNode;
|
|
18
|
-
interface EmailNodeConfig<Options, Storage> extends NodeConfig<Options, Storage> {
|
|
21
|
+
interface EmailNodeConfig<Options, Storage> extends NodeConfig$1<Options, Storage> {
|
|
19
22
|
renderToReactEmail: RendererComponent;
|
|
20
23
|
}
|
|
21
24
|
type ConfigParameter<Options, Storage> = Partial<Omit<EmailNodeConfig<Options, Storage>, 'renderToReactEmail'>> & Pick<EmailNodeConfig<Options, Storage>, 'renderToReactEmail'>;
|
|
@@ -29,7 +32,7 @@ declare class EmailNode<Options = Record<string, never>, Storage = Record<string
|
|
|
29
32
|
static create<O = Record<string, never>, S = Record<string, never>>(config: ConfigParameter<O, S> | (() => ConfigParameter<O, S>)): EmailNode<O, S>;
|
|
30
33
|
static from<O, S>(node: Node<O, S>, renderToReactEmail: RendererComponent): EmailNode<O, S>;
|
|
31
34
|
configure(options?: Partial<Options>): EmailNode<Options, Storage>;
|
|
32
|
-
extend<ExtendedOptions = Options, ExtendedStorage = Storage, ExtendedConfig extends NodeConfig<ExtendedOptions, ExtendedStorage> = EmailNodeConfig<ExtendedOptions, ExtendedStorage>>(extendedConfig?: (() => Partial<ExtendedConfig>) | (Partial<ExtendedConfig> & ThisType<{
|
|
35
|
+
extend<ExtendedOptions = Options, ExtendedStorage = Storage, ExtendedConfig extends NodeConfig$1<ExtendedOptions, ExtendedStorage> = EmailNodeConfig<ExtendedOptions, ExtendedStorage>>(extendedConfig?: (() => Partial<ExtendedConfig>) | (Partial<ExtendedConfig> & ThisType<{
|
|
33
36
|
name: string;
|
|
34
37
|
options: ExtendedOptions;
|
|
35
38
|
storage: ExtendedStorage;
|
|
@@ -38,12 +41,62 @@ declare class EmailNode<Options = Record<string, never>, Storage = Record<string
|
|
|
38
41
|
}>)): EmailNode<ExtendedOptions, ExtendedStorage>;
|
|
39
42
|
}
|
|
40
43
|
//#endregion
|
|
44
|
+
//#region src/extensions/alignment-attribute.d.ts
|
|
45
|
+
interface AlignmentOptions {
|
|
46
|
+
types: string[];
|
|
47
|
+
alignments: string[];
|
|
48
|
+
}
|
|
49
|
+
declare module '@tiptap/core' {
|
|
50
|
+
interface Commands<ReturnType> {
|
|
51
|
+
alignment: {
|
|
52
|
+
/**
|
|
53
|
+
* Set the text align attribute
|
|
54
|
+
*/
|
|
55
|
+
setAlignment: (alignment: string) => ReturnType;
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
declare const AlignmentAttribute: Extension<AlignmentOptions, any>;
|
|
60
|
+
//#endregion
|
|
41
61
|
//#region src/extensions/body.d.ts
|
|
42
62
|
interface BodyOptions {
|
|
43
63
|
HTMLAttributes: Record<string, unknown>;
|
|
44
64
|
}
|
|
45
65
|
declare const Body: EmailNode<BodyOptions, Record<string, never>>;
|
|
46
66
|
//#endregion
|
|
67
|
+
//#region src/extensions/bold.d.ts
|
|
68
|
+
interface BoldOptions {
|
|
69
|
+
/**
|
|
70
|
+
* HTML attributes to add to the bold element.
|
|
71
|
+
* @default {}
|
|
72
|
+
* @example { class: 'foo' }
|
|
73
|
+
*/
|
|
74
|
+
HTMLAttributes: Record<string, unknown>;
|
|
75
|
+
}
|
|
76
|
+
declare module '@tiptap/core' {
|
|
77
|
+
interface Commands<ReturnType> {
|
|
78
|
+
bold: {
|
|
79
|
+
/**
|
|
80
|
+
* Set a bold mark
|
|
81
|
+
*/
|
|
82
|
+
setBold: () => ReturnType;
|
|
83
|
+
/**
|
|
84
|
+
* Toggle a bold mark
|
|
85
|
+
*/
|
|
86
|
+
toggleBold: () => ReturnType;
|
|
87
|
+
/**
|
|
88
|
+
* Unset a bold mark
|
|
89
|
+
*/
|
|
90
|
+
unsetBold: () => ReturnType;
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* This extension allows you to mark text as bold.
|
|
96
|
+
* @see https://tiptap.dev/api/marks/bold
|
|
97
|
+
*/
|
|
98
|
+
declare const Bold: Mark<BoldOptions, any>;
|
|
99
|
+
//#endregion
|
|
47
100
|
//#region src/extensions/button.d.ts
|
|
48
101
|
interface EditorButtonOptions {
|
|
49
102
|
HTMLAttributes: Record<string, unknown>;
|
|
@@ -59,6 +112,27 @@ declare module '@tiptap/core' {
|
|
|
59
112
|
}
|
|
60
113
|
declare const Button: EmailNode<EditorButtonOptions, Record<string, never>>;
|
|
61
114
|
//#endregion
|
|
115
|
+
//#region src/extensions/class-attribute.d.ts
|
|
116
|
+
interface ClassAttributeOptions {
|
|
117
|
+
types: string[];
|
|
118
|
+
class: string[];
|
|
119
|
+
}
|
|
120
|
+
declare module '@tiptap/core' {
|
|
121
|
+
interface Commands<ReturnType> {
|
|
122
|
+
class: {
|
|
123
|
+
/**
|
|
124
|
+
* Set the class attribute
|
|
125
|
+
*/
|
|
126
|
+
setClass: (classList: string) => ReturnType;
|
|
127
|
+
/**
|
|
128
|
+
* Unset the class attribute
|
|
129
|
+
*/
|
|
130
|
+
unsetClass: () => ReturnType;
|
|
131
|
+
};
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
declare const ClassAttribute: Extension<ClassAttributeOptions, any>;
|
|
135
|
+
//#endregion
|
|
62
136
|
//#region src/extensions/code-block.d.ts
|
|
63
137
|
interface CodeBlockPrismOptions extends CodeBlockOptions {
|
|
64
138
|
defaultLanguage: string;
|
|
@@ -72,6 +146,32 @@ interface DivOptions {
|
|
|
72
146
|
}
|
|
73
147
|
declare const Div: EmailNode<DivOptions, Record<string, never>>;
|
|
74
148
|
//#endregion
|
|
149
|
+
//#region src/extensions/max-nesting.d.ts
|
|
150
|
+
interface MaxNestingOptions {
|
|
151
|
+
maxDepth: number;
|
|
152
|
+
nodeTypes?: string[];
|
|
153
|
+
}
|
|
154
|
+
declare const MaxNesting: Extension<MaxNestingOptions, any>;
|
|
155
|
+
//#endregion
|
|
156
|
+
//#region src/extensions/placeholder.d.ts
|
|
157
|
+
interface PlaceholderOptions {
|
|
158
|
+
placeholder?: string | ((props: {
|
|
159
|
+
node: Node$1;
|
|
160
|
+
}) => string);
|
|
161
|
+
includeChildren?: boolean;
|
|
162
|
+
}
|
|
163
|
+
declare const createPlaceholderExtension: (options?: Partial<PlaceholderOptions>) => _tiptap_core0.Extension<_tiptap_extension_placeholder0.PlaceholderOptions, any>;
|
|
164
|
+
declare const placeholder: _tiptap_core0.Extension<_tiptap_extension_placeholder0.PlaceholderOptions, any>;
|
|
165
|
+
//#endregion
|
|
166
|
+
//#region src/extensions/preserved-style.d.ts
|
|
167
|
+
declare const PreservedStyle: Mark<any, any>;
|
|
168
|
+
/**
|
|
169
|
+
* Processes styles when unlinking:
|
|
170
|
+
* - Has background (button-like): preserve all styles
|
|
171
|
+
* - No background: strip link-indicator styles (color, text-decoration), keep the rest
|
|
172
|
+
*/
|
|
173
|
+
declare function processStylesForUnlink(styleString: string | null | undefined): string | null;
|
|
174
|
+
//#endregion
|
|
75
175
|
//#region src/extensions/section.d.ts
|
|
76
176
|
interface SectionOptions {
|
|
77
177
|
HTMLAttributes: Record<string, unknown>;
|
|
@@ -86,5 +186,89 @@ declare module '@tiptap/core' {
|
|
|
86
186
|
}
|
|
87
187
|
declare const Section: EmailNode<SectionOptions, Record<string, never>>;
|
|
88
188
|
//#endregion
|
|
89
|
-
|
|
189
|
+
//#region src/extensions/style-attribute.d.ts
|
|
190
|
+
interface StyleAttributeOptions {
|
|
191
|
+
types: string[];
|
|
192
|
+
style: string[];
|
|
193
|
+
}
|
|
194
|
+
declare module '@tiptap/core' {
|
|
195
|
+
interface Commands<ReturnType> {
|
|
196
|
+
textAlign: {
|
|
197
|
+
/**
|
|
198
|
+
* Set the style attribute
|
|
199
|
+
*/
|
|
200
|
+
setStyle: (style: string) => ReturnType;
|
|
201
|
+
/**
|
|
202
|
+
* Unset the style attribute
|
|
203
|
+
*/
|
|
204
|
+
unsetStyle: () => ReturnType;
|
|
205
|
+
};
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
declare const StyleAttribute: Extension<StyleAttributeOptions, any>;
|
|
209
|
+
//#endregion
|
|
210
|
+
//#region src/extensions/sup.d.ts
|
|
211
|
+
interface SupOptions {
|
|
212
|
+
/**
|
|
213
|
+
* HTML attributes to add to the sup element.
|
|
214
|
+
* @default {}
|
|
215
|
+
* @example { class: 'foo' }
|
|
216
|
+
*/
|
|
217
|
+
HTMLAttributes: Record<string, unknown>;
|
|
218
|
+
}
|
|
219
|
+
declare module '@tiptap/core' {
|
|
220
|
+
interface Commands<ReturnType> {
|
|
221
|
+
sup: {
|
|
222
|
+
/**
|
|
223
|
+
* Set a superscript mark
|
|
224
|
+
*/
|
|
225
|
+
setSup: () => ReturnType;
|
|
226
|
+
/**
|
|
227
|
+
* Toggle a superscript mark
|
|
228
|
+
*/
|
|
229
|
+
toggleSup: () => ReturnType;
|
|
230
|
+
/**
|
|
231
|
+
* Unset a superscript mark
|
|
232
|
+
*/
|
|
233
|
+
unsetSup: () => ReturnType;
|
|
234
|
+
};
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
/**
|
|
238
|
+
* This extension allows you to mark text as superscript.
|
|
239
|
+
* @see https://tiptap.dev/api/marks/superscript
|
|
240
|
+
*/
|
|
241
|
+
declare const Sup: Mark<SupOptions, any>;
|
|
242
|
+
//#endregion
|
|
243
|
+
//#region src/extensions/table.d.ts
|
|
244
|
+
declare module '@tiptap/core' {
|
|
245
|
+
interface NodeConfig<Options, Storage> {
|
|
246
|
+
/**
|
|
247
|
+
* A string or function to determine the role of the table.
|
|
248
|
+
* @default 'table'
|
|
249
|
+
* @example () => 'table'
|
|
250
|
+
*/
|
|
251
|
+
tableRole?: string | ((this: {
|
|
252
|
+
name: string;
|
|
253
|
+
options: Options;
|
|
254
|
+
storage: Storage;
|
|
255
|
+
parent: ParentConfig<NodeConfig<Options>>['tableRole'];
|
|
256
|
+
}) => string);
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
interface TableOptions {
|
|
260
|
+
HTMLAttributes: Record<string, unknown>;
|
|
261
|
+
}
|
|
262
|
+
declare const Table: EmailNode<TableOptions, Record<string, never>>;
|
|
263
|
+
interface TableRowOptions extends Record<string, unknown> {
|
|
264
|
+
HTMLAttributes?: Record<string, unknown>;
|
|
265
|
+
}
|
|
266
|
+
declare const TableRow: EmailNode<TableRowOptions, Record<string, never>>;
|
|
267
|
+
interface TableCellOptions extends Record<string, unknown> {
|
|
268
|
+
HTMLAttributes?: Record<string, unknown>;
|
|
269
|
+
}
|
|
270
|
+
declare const TableCell: EmailNode<TableCellOptions, Record<string, never>>;
|
|
271
|
+
declare const TableHeader: Node<any, any>;
|
|
272
|
+
//#endregion
|
|
273
|
+
export { AlignmentAttribute, Body, BodyOptions, Bold, BoldOptions, Button, ClassAttribute, CodeBlockPrism, CodeBlockPrismOptions, Div, DivOptions, EmailNode, EmailNodeConfig, MaxNesting, PlaceholderOptions, PreservedStyle, RendererComponent, Section, StyleAttribute, Sup, SupOptions, Table, TableCell, TableHeader, TableOptions, TableRow, createPlaceholderExtension, placeholder, processStylesForUnlink };
|
|
90
274
|
//# sourceMappingURL=index.d.mts.map
|
package/dist/index.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/utils/types.ts","../src/core/email-node.ts","../src/extensions/body.tsx","../src/extensions/button.tsx","../src/extensions/code-block.tsx","../src/extensions/div.tsx","../src/extensions/section.tsx"],"sourcesContent":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/utils/types.ts","../src/core/email-node.ts","../src/extensions/alignment-attribute.tsx","../src/extensions/body.tsx","../src/extensions/bold.ts","../src/extensions/button.tsx","../src/extensions/class-attribute.tsx","../src/extensions/code-block.tsx","../src/extensions/div.tsx","../src/extensions/max-nesting.ts","../src/extensions/placeholder.ts","../src/extensions/preserved-style.ts","../src/extensions/section.tsx","../src/extensions/style-attribute.tsx","../src/extensions/sup.ts","../src/extensions/table.tsx"],"sourcesContent":[],"mappings":";;;;;;;;;ACWU,KDIE,oBAAA,GCJF,OAAA,GAAA,MAAA,GAAA,WAAA,GAAA,IAAA,GAAA,IAAA,GAAA,IAAA,GAAA,WAAA,GAAA,YAAA,GAAA,MAAA,GAAA,UAAA,GAAA,eAAA,GAAA,YAAA,GAAA,WAAA,GAAA,YAAA,GAAA,SAAA,GAAA,MAAA,GAAA,QAAA,GAAA,IAAA,GAAA,OAAA,GAAA,QAAA,GAAA,SAAA;AAEW,KDmDT,KAAA,GCnDS,QDoDb,oBClDwB,GDkDD,OAAA,CAAM,aClDL,GAAA;EACX,KAAA,CAAA,EAAA,QAAA,GAAA,MAAA,GAAA,OAAA;AAAS,CAAA,EACR;;;KARV,iBAAA;QACJ;UACE;aACG,KAAA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AAwB,Md3FZ,CAAA,MAAA,EAAA,OAAA,CAAA,CAAA;EADZ,cAAA,CAAA,Ec6FS,Md7FT,CAAA,MAAA,EAAA,OAAA,CAAA;;AAIL,cc4FQ,Qd5FO,Ec4FC,Sd5FD,Cc4FC,ed5FD,Ec4FC,Md5FD,CAAA,MAAA,EAAA,KAAA,CAAA,CAAA;UcsJV,gBAAA,SAAyB,MdrJZ,CAAA,MAAA,EAAA,OAAA,CAAA,CAAA;EAAS,cAAA,CAAA,EcsJb,MdtJa,CAAA,MAAA,EAAA,OAAA,CAAA;;AAA9B,ccyJW,SdzJX,EcyJoB,SdzJpB,CcyJoB,gBdzJpB,EcyJoB,MdzJpB,CAAA,MAAA,EAAA,KAAA,CAAA,CAAA;AADuC,ccuN5B,WdvN4B,EcuNjB,IdvNiB,CAAA,GAAA,EAAA,GAAA,CAAA"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as _tiptap_core0 from "@tiptap/core";
|
|
2
|
+
import { Editor, Extension, JSONContent, Mark, Node, NodeConfig as NodeConfig$1, NodeType, ParentConfig } from "@tiptap/core";
|
|
3
|
+
import { Node as Node$1 } from "@tiptap/pm/model";
|
|
2
4
|
import * as React$1 from "react";
|
|
3
5
|
import { CodeBlockOptions } from "@tiptap/extension-code-block";
|
|
6
|
+
import * as _tiptap_extension_placeholder0 from "@tiptap/extension-placeholder";
|
|
4
7
|
|
|
5
8
|
//#region src/utils/types.d.ts
|
|
6
9
|
|
|
@@ -15,7 +18,7 @@ type RendererComponent = (props: {
|
|
|
15
18
|
styles: CssJs;
|
|
16
19
|
children?: React.ReactNode;
|
|
17
20
|
}) => React.ReactNode;
|
|
18
|
-
interface EmailNodeConfig<Options, Storage> extends NodeConfig<Options, Storage> {
|
|
21
|
+
interface EmailNodeConfig<Options, Storage> extends NodeConfig$1<Options, Storage> {
|
|
19
22
|
renderToReactEmail: RendererComponent;
|
|
20
23
|
}
|
|
21
24
|
type ConfigParameter<Options, Storage> = Partial<Omit<EmailNodeConfig<Options, Storage>, 'renderToReactEmail'>> & Pick<EmailNodeConfig<Options, Storage>, 'renderToReactEmail'>;
|
|
@@ -29,7 +32,7 @@ declare class EmailNode<Options = Record<string, never>, Storage = Record<string
|
|
|
29
32
|
static create<O = Record<string, never>, S = Record<string, never>>(config: ConfigParameter<O, S> | (() => ConfigParameter<O, S>)): EmailNode<O, S>;
|
|
30
33
|
static from<O, S>(node: Node<O, S>, renderToReactEmail: RendererComponent): EmailNode<O, S>;
|
|
31
34
|
configure(options?: Partial<Options>): EmailNode<Options, Storage>;
|
|
32
|
-
extend<ExtendedOptions = Options, ExtendedStorage = Storage, ExtendedConfig extends NodeConfig<ExtendedOptions, ExtendedStorage> = EmailNodeConfig<ExtendedOptions, ExtendedStorage>>(extendedConfig?: (() => Partial<ExtendedConfig>) | (Partial<ExtendedConfig> & ThisType<{
|
|
35
|
+
extend<ExtendedOptions = Options, ExtendedStorage = Storage, ExtendedConfig extends NodeConfig$1<ExtendedOptions, ExtendedStorage> = EmailNodeConfig<ExtendedOptions, ExtendedStorage>>(extendedConfig?: (() => Partial<ExtendedConfig>) | (Partial<ExtendedConfig> & ThisType<{
|
|
33
36
|
name: string;
|
|
34
37
|
options: ExtendedOptions;
|
|
35
38
|
storage: ExtendedStorage;
|
|
@@ -38,12 +41,62 @@ declare class EmailNode<Options = Record<string, never>, Storage = Record<string
|
|
|
38
41
|
}>)): EmailNode<ExtendedOptions, ExtendedStorage>;
|
|
39
42
|
}
|
|
40
43
|
//#endregion
|
|
44
|
+
//#region src/extensions/alignment-attribute.d.ts
|
|
45
|
+
interface AlignmentOptions {
|
|
46
|
+
types: string[];
|
|
47
|
+
alignments: string[];
|
|
48
|
+
}
|
|
49
|
+
declare module '@tiptap/core' {
|
|
50
|
+
interface Commands<ReturnType> {
|
|
51
|
+
alignment: {
|
|
52
|
+
/**
|
|
53
|
+
* Set the text align attribute
|
|
54
|
+
*/
|
|
55
|
+
setAlignment: (alignment: string) => ReturnType;
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
declare const AlignmentAttribute: Extension<AlignmentOptions, any>;
|
|
60
|
+
//#endregion
|
|
41
61
|
//#region src/extensions/body.d.ts
|
|
42
62
|
interface BodyOptions {
|
|
43
63
|
HTMLAttributes: Record<string, unknown>;
|
|
44
64
|
}
|
|
45
65
|
declare const Body: EmailNode<BodyOptions, Record<string, never>>;
|
|
46
66
|
//#endregion
|
|
67
|
+
//#region src/extensions/bold.d.ts
|
|
68
|
+
interface BoldOptions {
|
|
69
|
+
/**
|
|
70
|
+
* HTML attributes to add to the bold element.
|
|
71
|
+
* @default {}
|
|
72
|
+
* @example { class: 'foo' }
|
|
73
|
+
*/
|
|
74
|
+
HTMLAttributes: Record<string, unknown>;
|
|
75
|
+
}
|
|
76
|
+
declare module '@tiptap/core' {
|
|
77
|
+
interface Commands<ReturnType> {
|
|
78
|
+
bold: {
|
|
79
|
+
/**
|
|
80
|
+
* Set a bold mark
|
|
81
|
+
*/
|
|
82
|
+
setBold: () => ReturnType;
|
|
83
|
+
/**
|
|
84
|
+
* Toggle a bold mark
|
|
85
|
+
*/
|
|
86
|
+
toggleBold: () => ReturnType;
|
|
87
|
+
/**
|
|
88
|
+
* Unset a bold mark
|
|
89
|
+
*/
|
|
90
|
+
unsetBold: () => ReturnType;
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* This extension allows you to mark text as bold.
|
|
96
|
+
* @see https://tiptap.dev/api/marks/bold
|
|
97
|
+
*/
|
|
98
|
+
declare const Bold: Mark<BoldOptions, any>;
|
|
99
|
+
//#endregion
|
|
47
100
|
//#region src/extensions/button.d.ts
|
|
48
101
|
interface EditorButtonOptions {
|
|
49
102
|
HTMLAttributes: Record<string, unknown>;
|
|
@@ -59,6 +112,27 @@ declare module '@tiptap/core' {
|
|
|
59
112
|
}
|
|
60
113
|
declare const Button: EmailNode<EditorButtonOptions, Record<string, never>>;
|
|
61
114
|
//#endregion
|
|
115
|
+
//#region src/extensions/class-attribute.d.ts
|
|
116
|
+
interface ClassAttributeOptions {
|
|
117
|
+
types: string[];
|
|
118
|
+
class: string[];
|
|
119
|
+
}
|
|
120
|
+
declare module '@tiptap/core' {
|
|
121
|
+
interface Commands<ReturnType> {
|
|
122
|
+
class: {
|
|
123
|
+
/**
|
|
124
|
+
* Set the class attribute
|
|
125
|
+
*/
|
|
126
|
+
setClass: (classList: string) => ReturnType;
|
|
127
|
+
/**
|
|
128
|
+
* Unset the class attribute
|
|
129
|
+
*/
|
|
130
|
+
unsetClass: () => ReturnType;
|
|
131
|
+
};
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
declare const ClassAttribute: Extension<ClassAttributeOptions, any>;
|
|
135
|
+
//#endregion
|
|
62
136
|
//#region src/extensions/code-block.d.ts
|
|
63
137
|
interface CodeBlockPrismOptions extends CodeBlockOptions {
|
|
64
138
|
defaultLanguage: string;
|
|
@@ -72,6 +146,32 @@ interface DivOptions {
|
|
|
72
146
|
}
|
|
73
147
|
declare const Div: EmailNode<DivOptions, Record<string, never>>;
|
|
74
148
|
//#endregion
|
|
149
|
+
//#region src/extensions/max-nesting.d.ts
|
|
150
|
+
interface MaxNestingOptions {
|
|
151
|
+
maxDepth: number;
|
|
152
|
+
nodeTypes?: string[];
|
|
153
|
+
}
|
|
154
|
+
declare const MaxNesting: Extension<MaxNestingOptions, any>;
|
|
155
|
+
//#endregion
|
|
156
|
+
//#region src/extensions/placeholder.d.ts
|
|
157
|
+
interface PlaceholderOptions {
|
|
158
|
+
placeholder?: string | ((props: {
|
|
159
|
+
node: Node$1;
|
|
160
|
+
}) => string);
|
|
161
|
+
includeChildren?: boolean;
|
|
162
|
+
}
|
|
163
|
+
declare const createPlaceholderExtension: (options?: Partial<PlaceholderOptions>) => _tiptap_core0.Extension<_tiptap_extension_placeholder0.PlaceholderOptions, any>;
|
|
164
|
+
declare const placeholder: _tiptap_core0.Extension<_tiptap_extension_placeholder0.PlaceholderOptions, any>;
|
|
165
|
+
//#endregion
|
|
166
|
+
//#region src/extensions/preserved-style.d.ts
|
|
167
|
+
declare const PreservedStyle: Mark<any, any>;
|
|
168
|
+
/**
|
|
169
|
+
* Processes styles when unlinking:
|
|
170
|
+
* - Has background (button-like): preserve all styles
|
|
171
|
+
* - No background: strip link-indicator styles (color, text-decoration), keep the rest
|
|
172
|
+
*/
|
|
173
|
+
declare function processStylesForUnlink(styleString: string | null | undefined): string | null;
|
|
174
|
+
//#endregion
|
|
75
175
|
//#region src/extensions/section.d.ts
|
|
76
176
|
interface SectionOptions {
|
|
77
177
|
HTMLAttributes: Record<string, unknown>;
|
|
@@ -86,5 +186,89 @@ declare module '@tiptap/core' {
|
|
|
86
186
|
}
|
|
87
187
|
declare const Section: EmailNode<SectionOptions, Record<string, never>>;
|
|
88
188
|
//#endregion
|
|
89
|
-
|
|
189
|
+
//#region src/extensions/style-attribute.d.ts
|
|
190
|
+
interface StyleAttributeOptions {
|
|
191
|
+
types: string[];
|
|
192
|
+
style: string[];
|
|
193
|
+
}
|
|
194
|
+
declare module '@tiptap/core' {
|
|
195
|
+
interface Commands<ReturnType> {
|
|
196
|
+
textAlign: {
|
|
197
|
+
/**
|
|
198
|
+
* Set the style attribute
|
|
199
|
+
*/
|
|
200
|
+
setStyle: (style: string) => ReturnType;
|
|
201
|
+
/**
|
|
202
|
+
* Unset the style attribute
|
|
203
|
+
*/
|
|
204
|
+
unsetStyle: () => ReturnType;
|
|
205
|
+
};
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
declare const StyleAttribute: Extension<StyleAttributeOptions, any>;
|
|
209
|
+
//#endregion
|
|
210
|
+
//#region src/extensions/sup.d.ts
|
|
211
|
+
interface SupOptions {
|
|
212
|
+
/**
|
|
213
|
+
* HTML attributes to add to the sup element.
|
|
214
|
+
* @default {}
|
|
215
|
+
* @example { class: 'foo' }
|
|
216
|
+
*/
|
|
217
|
+
HTMLAttributes: Record<string, unknown>;
|
|
218
|
+
}
|
|
219
|
+
declare module '@tiptap/core' {
|
|
220
|
+
interface Commands<ReturnType> {
|
|
221
|
+
sup: {
|
|
222
|
+
/**
|
|
223
|
+
* Set a superscript mark
|
|
224
|
+
*/
|
|
225
|
+
setSup: () => ReturnType;
|
|
226
|
+
/**
|
|
227
|
+
* Toggle a superscript mark
|
|
228
|
+
*/
|
|
229
|
+
toggleSup: () => ReturnType;
|
|
230
|
+
/**
|
|
231
|
+
* Unset a superscript mark
|
|
232
|
+
*/
|
|
233
|
+
unsetSup: () => ReturnType;
|
|
234
|
+
};
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
/**
|
|
238
|
+
* This extension allows you to mark text as superscript.
|
|
239
|
+
* @see https://tiptap.dev/api/marks/superscript
|
|
240
|
+
*/
|
|
241
|
+
declare const Sup: Mark<SupOptions, any>;
|
|
242
|
+
//#endregion
|
|
243
|
+
//#region src/extensions/table.d.ts
|
|
244
|
+
declare module '@tiptap/core' {
|
|
245
|
+
interface NodeConfig<Options, Storage> {
|
|
246
|
+
/**
|
|
247
|
+
* A string or function to determine the role of the table.
|
|
248
|
+
* @default 'table'
|
|
249
|
+
* @example () => 'table'
|
|
250
|
+
*/
|
|
251
|
+
tableRole?: string | ((this: {
|
|
252
|
+
name: string;
|
|
253
|
+
options: Options;
|
|
254
|
+
storage: Storage;
|
|
255
|
+
parent: ParentConfig<NodeConfig<Options>>['tableRole'];
|
|
256
|
+
}) => string);
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
interface TableOptions {
|
|
260
|
+
HTMLAttributes: Record<string, unknown>;
|
|
261
|
+
}
|
|
262
|
+
declare const Table: EmailNode<TableOptions, Record<string, never>>;
|
|
263
|
+
interface TableRowOptions extends Record<string, unknown> {
|
|
264
|
+
HTMLAttributes?: Record<string, unknown>;
|
|
265
|
+
}
|
|
266
|
+
declare const TableRow: EmailNode<TableRowOptions, Record<string, never>>;
|
|
267
|
+
interface TableCellOptions extends Record<string, unknown> {
|
|
268
|
+
HTMLAttributes?: Record<string, unknown>;
|
|
269
|
+
}
|
|
270
|
+
declare const TableCell: EmailNode<TableCellOptions, Record<string, never>>;
|
|
271
|
+
declare const TableHeader: Node<any, any>;
|
|
272
|
+
//#endregion
|
|
273
|
+
export { AlignmentAttribute, Body, BodyOptions, Bold, BoldOptions, Button, ClassAttribute, CodeBlockPrism, CodeBlockPrismOptions, Div, DivOptions, EmailNode, EmailNodeConfig, MaxNesting, PlaceholderOptions, PreservedStyle, RendererComponent, Section, StyleAttribute, Sup, SupOptions, Table, TableCell, TableHeader, TableOptions, TableRow, createPlaceholderExtension, placeholder, processStylesForUnlink };
|
|
90
274
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../src/utils/types.ts","../src/core/email-node.ts","../src/extensions/body.tsx","../src/extensions/button.tsx","../src/extensions/code-block.tsx","../src/extensions/div.tsx","../src/extensions/section.tsx"],"sourcesContent":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../src/utils/types.ts","../src/core/email-node.ts","../src/extensions/alignment-attribute.tsx","../src/extensions/body.tsx","../src/extensions/bold.ts","../src/extensions/button.tsx","../src/extensions/class-attribute.tsx","../src/extensions/code-block.tsx","../src/extensions/div.tsx","../src/extensions/max-nesting.ts","../src/extensions/placeholder.ts","../src/extensions/preserved-style.ts","../src/extensions/section.tsx","../src/extensions/style-attribute.tsx","../src/extensions/sup.ts","../src/extensions/table.tsx"],"sourcesContent":[],"mappings":";;;;;;;;;ACWU,KDIE,oBAAA,GCJF,OAAA,GAAA,MAAA,GAAA,WAAA,GAAA,IAAA,GAAA,IAAA,GAAA,IAAA,GAAA,WAAA,GAAA,YAAA,GAAA,MAAA,GAAA,UAAA,GAAA,eAAA,GAAA,YAAA,GAAA,WAAA,GAAA,YAAA,GAAA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