@blocknote/xl-email-exporter 0.38.0 → 0.39.0

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.
@@ -14,547 +14,9 @@ export interface ReactEmailDefaultSchemaStyles {
14
14
  }
15
15
  export declare const defaultReactEmailDefaultSchemaStyles: ReactEmailDefaultSchemaStyles;
16
16
  export declare const reactEmailDefaultSchemaMappings: {
17
- blockMapping: import("@blocknote/core").BlockMapping<import("@blocknote/core").BlockSchemaFromSpecs<{
18
- paragraph: {
19
- config: {
20
- type: "paragraph";
21
- content: "inline";
22
- propSchema: {
23
- backgroundColor: {
24
- default: "default";
25
- };
26
- textColor: {
27
- default: "default";
28
- };
29
- textAlignment: {
30
- default: "left";
31
- values: readonly ["left", "center", "right", "justify"];
32
- };
33
- };
34
- };
35
- implementation: import("@blocknote/core").TiptapBlockImplementation<{
36
- type: "paragraph";
37
- content: "inline";
38
- propSchema: {
39
- backgroundColor: {
40
- default: "default";
41
- };
42
- textColor: {
43
- default: "default";
44
- };
45
- textAlignment: {
46
- default: "left";
47
- values: readonly ["left", "center", "right", "justify"];
48
- };
49
- };
50
- }, any, import("@blocknote/core").InlineContentSchema, import("@blocknote/core").StyleSchema>;
51
- };
52
- heading: {
53
- config: {
54
- type: "heading";
55
- content: "inline";
56
- propSchema: {
57
- level: {
58
- default: number;
59
- values: readonly [1, 2, 3, 4, 5, 6];
60
- };
61
- isToggleable: {
62
- default: false;
63
- };
64
- backgroundColor: {
65
- default: "default";
66
- };
67
- textColor: {
68
- default: "default";
69
- };
70
- textAlignment: {
71
- default: "left";
72
- values: readonly ["left", "center", "right", "justify"];
73
- };
74
- };
75
- };
76
- implementation: import("@blocknote/core").TiptapBlockImplementation<{
77
- type: "heading";
78
- content: "inline";
79
- propSchema: {
80
- level: {
81
- default: number;
82
- values: readonly [1, 2, 3, 4, 5, 6];
83
- };
84
- isToggleable: {
85
- default: false;
86
- };
87
- backgroundColor: {
88
- default: "default";
89
- };
90
- textColor: {
91
- default: "default";
92
- };
93
- textAlignment: {
94
- default: "left";
95
- values: readonly ["left", "center", "right", "justify"];
96
- };
97
- };
98
- }, any, import("@blocknote/core").InlineContentSchema, import("@blocknote/core").StyleSchema>;
99
- };
100
- quote: {
101
- config: {
102
- type: "quote";
103
- content: "inline";
104
- propSchema: {
105
- backgroundColor: {
106
- default: "default";
107
- };
108
- textColor: {
109
- default: "default";
110
- };
111
- textAlignment: {
112
- default: "left";
113
- values: readonly ["left", "center", "right", "justify"];
114
- };
115
- };
116
- };
117
- implementation: import("@blocknote/core").TiptapBlockImplementation<{
118
- type: "quote";
119
- content: "inline";
120
- propSchema: {
121
- backgroundColor: {
122
- default: "default";
123
- };
124
- textColor: {
125
- default: "default";
126
- };
127
- textAlignment: {
128
- default: "left";
129
- values: readonly ["left", "center", "right", "justify"];
130
- };
131
- };
132
- }, any, import("@blocknote/core").InlineContentSchema, import("@blocknote/core").StyleSchema>;
133
- };
134
- codeBlock: {
135
- config: {
136
- type: "codeBlock";
137
- content: "inline";
138
- propSchema: {
139
- language: {
140
- default: string;
141
- };
142
- };
143
- };
144
- implementation: import("@blocknote/core").TiptapBlockImplementation<{
145
- type: "codeBlock";
146
- content: "inline";
147
- propSchema: {
148
- language: {
149
- default: string;
150
- };
151
- };
152
- }, any, import("@blocknote/core").InlineContentSchema, import("@blocknote/core").StyleSchema>;
153
- };
154
- toggleListItem: {
155
- config: {
156
- type: "toggleListItem";
157
- content: "inline";
158
- propSchema: {
159
- backgroundColor: {
160
- default: "default";
161
- };
162
- textColor: {
163
- default: "default";
164
- };
165
- textAlignment: {
166
- default: "left";
167
- values: readonly ["left", "center", "right", "justify"];
168
- };
169
- };
170
- };
171
- implementation: import("@blocknote/core").TiptapBlockImplementation<{
172
- type: "toggleListItem";
173
- content: "inline";
174
- propSchema: {
175
- backgroundColor: {
176
- default: "default";
177
- };
178
- textColor: {
179
- default: "default";
180
- };
181
- textAlignment: {
182
- default: "left";
183
- values: readonly ["left", "center", "right", "justify"];
184
- };
185
- };
186
- }, any, import("@blocknote/core").InlineContentSchema, import("@blocknote/core").StyleSchema>;
187
- };
188
- bulletListItem: {
189
- config: {
190
- type: "bulletListItem";
191
- content: "inline";
192
- propSchema: {
193
- backgroundColor: {
194
- default: "default";
195
- };
196
- textColor: {
197
- default: "default";
198
- };
199
- textAlignment: {
200
- default: "left";
201
- values: readonly ["left", "center", "right", "justify"];
202
- };
203
- };
204
- };
205
- implementation: import("@blocknote/core").TiptapBlockImplementation<{
206
- type: "bulletListItem";
207
- content: "inline";
208
- propSchema: {
209
- backgroundColor: {
210
- default: "default";
211
- };
212
- textColor: {
213
- default: "default";
214
- };
215
- textAlignment: {
216
- default: "left";
217
- values: readonly ["left", "center", "right", "justify"];
218
- };
219
- };
220
- }, any, import("@blocknote/core").InlineContentSchema, import("@blocknote/core").StyleSchema>;
221
- };
222
- numberedListItem: {
223
- config: {
224
- type: "numberedListItem";
225
- content: "inline";
226
- propSchema: {
227
- start: {
228
- default: undefined;
229
- type: "number";
230
- };
231
- backgroundColor: {
232
- default: "default";
233
- };
234
- textColor: {
235
- default: "default";
236
- };
237
- textAlignment: {
238
- default: "left";
239
- values: readonly ["left", "center", "right", "justify"];
240
- };
241
- };
242
- };
243
- implementation: import("@blocknote/core").TiptapBlockImplementation<{
244
- type: "numberedListItem";
245
- content: "inline";
246
- propSchema: {
247
- start: {
248
- default: undefined;
249
- type: "number";
250
- };
251
- backgroundColor: {
252
- default: "default";
253
- };
254
- textColor: {
255
- default: "default";
256
- };
257
- textAlignment: {
258
- default: "left";
259
- values: readonly ["left", "center", "right", "justify"];
260
- };
261
- };
262
- }, any, import("@blocknote/core").InlineContentSchema, import("@blocknote/core").StyleSchema>;
263
- };
264
- checkListItem: {
265
- config: {
266
- type: "checkListItem";
267
- content: "inline";
268
- propSchema: {
269
- checked: {
270
- default: false;
271
- };
272
- backgroundColor: {
273
- default: "default";
274
- };
275
- textColor: {
276
- default: "default";
277
- };
278
- textAlignment: {
279
- default: "left";
280
- values: readonly ["left", "center", "right", "justify"];
281
- };
282
- };
283
- };
284
- implementation: import("@blocknote/core").TiptapBlockImplementation<{
285
- type: "checkListItem";
286
- content: "inline";
287
- propSchema: {
288
- checked: {
289
- default: false;
290
- };
291
- backgroundColor: {
292
- default: "default";
293
- };
294
- textColor: {
295
- default: "default";
296
- };
297
- textAlignment: {
298
- default: "left";
299
- values: readonly ["left", "center", "right", "justify"];
300
- };
301
- };
302
- }, any, import("@blocknote/core").InlineContentSchema, import("@blocknote/core").StyleSchema>;
303
- };
304
- table: {
305
- config: {
306
- type: "table";
307
- content: "table";
308
- propSchema: {
309
- textColor: {
310
- default: "default";
311
- };
312
- };
313
- };
314
- implementation: import("@blocknote/core").TiptapBlockImplementation<{
315
- type: "table";
316
- content: "table";
317
- propSchema: {
318
- textColor: {
319
- default: "default";
320
- };
321
- };
322
- }, any, import("@blocknote/core").InlineContentSchema, import("@blocknote/core").StyleSchema>;
323
- };
324
- file: {
325
- config: {
326
- type: "file";
327
- propSchema: {
328
- backgroundColor: {
329
- default: "default";
330
- };
331
- name: {
332
- default: "";
333
- };
334
- url: {
335
- default: "";
336
- };
337
- caption: {
338
- default: "";
339
- };
340
- };
341
- content: "none";
342
- isFileBlock: true;
343
- };
344
- implementation: import("@blocknote/core").TiptapBlockImplementation<{
345
- type: "file";
346
- propSchema: {
347
- backgroundColor: {
348
- default: "default";
349
- };
350
- name: {
351
- default: "";
352
- };
353
- url: {
354
- default: "";
355
- };
356
- caption: {
357
- default: "";
358
- };
359
- };
360
- content: "none";
361
- isFileBlock: true;
362
- }, any, import("@blocknote/core").InlineContentSchema, import("@blocknote/core").StyleSchema>;
363
- };
364
- image: {
365
- config: {
366
- type: "image";
367
- propSchema: {
368
- textAlignment: {
369
- default: "left";
370
- values: readonly ["left", "center", "right", "justify"];
371
- };
372
- backgroundColor: {
373
- default: "default";
374
- };
375
- name: {
376
- default: "";
377
- };
378
- url: {
379
- default: "";
380
- };
381
- caption: {
382
- default: "";
383
- };
384
- showPreview: {
385
- default: true;
386
- };
387
- previewWidth: {
388
- default: undefined;
389
- type: "number";
390
- };
391
- };
392
- content: "none";
393
- isFileBlock: true;
394
- fileBlockAccept: string[];
395
- };
396
- implementation: import("@blocknote/core").TiptapBlockImplementation<{
397
- type: "image";
398
- propSchema: {
399
- textAlignment: {
400
- default: "left";
401
- values: readonly ["left", "center", "right", "justify"];
402
- };
403
- backgroundColor: {
404
- default: "default";
405
- };
406
- name: {
407
- default: "";
408
- };
409
- url: {
410
- default: "";
411
- };
412
- caption: {
413
- default: "";
414
- };
415
- showPreview: {
416
- default: true;
417
- };
418
- previewWidth: {
419
- default: undefined;
420
- type: "number";
421
- };
422
- };
423
- content: "none";
424
- isFileBlock: true;
425
- fileBlockAccept: string[];
426
- }, any, import("@blocknote/core").InlineContentSchema, import("@blocknote/core").StyleSchema>;
427
- };
428
- video: {
429
- config: {
430
- type: "video";
431
- propSchema: {
432
- textAlignment: {
433
- default: "left";
434
- values: readonly ["left", "center", "right", "justify"];
435
- };
436
- backgroundColor: {
437
- default: "default";
438
- };
439
- name: {
440
- default: "";
441
- };
442
- url: {
443
- default: "";
444
- };
445
- caption: {
446
- default: "";
447
- };
448
- showPreview: {
449
- default: true;
450
- };
451
- previewWidth: {
452
- default: undefined;
453
- type: "number";
454
- };
455
- };
456
- content: "none";
457
- isFileBlock: true;
458
- fileBlockAccept: string[];
459
- };
460
- implementation: import("@blocknote/core").TiptapBlockImplementation<{
461
- type: "video";
462
- propSchema: {
463
- textAlignment: {
464
- default: "left";
465
- values: readonly ["left", "center", "right", "justify"];
466
- };
467
- backgroundColor: {
468
- default: "default";
469
- };
470
- name: {
471
- default: "";
472
- };
473
- url: {
474
- default: "";
475
- };
476
- caption: {
477
- default: "";
478
- };
479
- showPreview: {
480
- default: true;
481
- };
482
- previewWidth: {
483
- default: undefined;
484
- type: "number";
485
- };
486
- };
487
- content: "none";
488
- isFileBlock: true;
489
- fileBlockAccept: string[];
490
- }, any, import("@blocknote/core").InlineContentSchema, import("@blocknote/core").StyleSchema>;
491
- };
492
- audio: {
493
- config: {
494
- type: "audio";
495
- propSchema: {
496
- backgroundColor: {
497
- default: "default";
498
- };
499
- name: {
500
- default: "";
501
- };
502
- url: {
503
- default: "";
504
- };
505
- caption: {
506
- default: "";
507
- };
508
- showPreview: {
509
- default: true;
510
- };
511
- };
512
- content: "none";
513
- isFileBlock: true;
514
- fileBlockAccept: string[];
515
- };
516
- implementation: import("@blocknote/core").TiptapBlockImplementation<{
517
- type: "audio";
518
- propSchema: {
519
- backgroundColor: {
520
- default: "default";
521
- };
522
- name: {
523
- default: "";
524
- };
525
- url: {
526
- default: "";
527
- };
528
- caption: {
529
- default: "";
530
- };
531
- showPreview: {
532
- default: true;
533
- };
534
- };
535
- content: "none";
536
- isFileBlock: true;
537
- fileBlockAccept: string[];
538
- }, any, import("@blocknote/core").InlineContentSchema, import("@blocknote/core").StyleSchema>;
539
- };
540
- }> & import("@blocknote/core").BlockSchemaFromSpecs<{
541
- pageBreak: {
542
- config: {
543
- type: "pageBreak";
544
- propSchema: {};
545
- content: "none";
546
- isFileBlock: false;
547
- isSelectable: false;
548
- };
549
- implementation: import("@blocknote/core").TiptapBlockImplementation<{
550
- type: "pageBreak";
551
- propSchema: {};
552
- content: "none";
553
- isFileBlock: false;
554
- isSelectable: false;
555
- }, any, import("@blocknote/core").InlineContentSchema, import("@blocknote/core").StyleSchema>;
556
- };
557
- }>, any, any, import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>, import("react").ReactElement<import("react").ForwardRefExoticComponent<Readonly<Omit<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref">> & import("react").RefAttributes<HTMLAnchorElement>>, string | import("react").JSXElementConstructor<any>> | import("react").ReactElement<HTMLSpanElement, string | import("react").JSXElementConstructor<any>>>;
17
+ blockMapping: import("@blocknote/core").BlockMapping<import("@blocknote/core")._DefaultBlockSchema & {
18
+ pageBreak: ReturnType<typeof import("@blocknote/core").createPageBreakBlockConfig>;
19
+ }, any, any, import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>, import("react").ReactElement<import("react").ForwardRefExoticComponent<Readonly<Omit<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref">> & import("react").RefAttributes<HTMLAnchorElement>>, string | import("react").JSXElementConstructor<any>> | import("react").ReactElement<HTMLSpanElement, string | import("react").JSXElementConstructor<any>>>;
558
20
  inlineContentMapping: import("@blocknote/core").InlineContentMapping<import("@blocknote/core").InlineContentSchemaFromSpecs<{
559
21
  text: {
560
22
  config: "text";
@@ -570,50 +32,59 @@ export declare const reactEmailDefaultSchemaMappings: {
570
32
  type: string;
571
33
  propSchema: "boolean";
572
34
  };
573
- implementation: import("@blocknote/core").StyleImplementation;
35
+ implementation: import("@blocknote/core").StyleImplementation<{
36
+ type: string;
37
+ propSchema: "boolean";
38
+ }>;
574
39
  };
575
40
  italic: {
576
41
  config: {
577
42
  type: string;
578
43
  propSchema: "boolean";
579
44
  };
580
- implementation: import("@blocknote/core").StyleImplementation;
45
+ implementation: import("@blocknote/core").StyleImplementation<{
46
+ type: string;
47
+ propSchema: "boolean";
48
+ }>;
581
49
  };
582
50
  underline: {
583
51
  config: {
584
52
  type: string;
585
53
  propSchema: "boolean";
586
54
  };
587
- implementation: import("@blocknote/core").StyleImplementation;
55
+ implementation: import("@blocknote/core").StyleImplementation<{
56
+ type: string;
57
+ propSchema: "boolean";
58
+ }>;
588
59
  };
589
60
  strike: {
590
61
  config: {
591
62
  type: string;
592
63
  propSchema: "boolean";
593
64
  };
594
- implementation: import("@blocknote/core").StyleImplementation;
595
- };
596
- code: {
597
- config: {
65
+ implementation: import("@blocknote/core").StyleImplementation<{
598
66
  type: string;
599
67
  propSchema: "boolean";
600
- };
601
- implementation: import("@blocknote/core").StyleImplementation;
68
+ }>;
602
69
  };
603
- textColor: {
70
+ code: {
604
71
  config: {
605
72
  type: string;
606
- propSchema: "string";
73
+ propSchema: "boolean";
607
74
  };
608
- implementation: import("@blocknote/core").StyleImplementation;
609
- };
610
- backgroundColor: {
611
- config: {
75
+ implementation: import("@blocknote/core").StyleImplementation<{
612
76
  type: string;
613
- propSchema: "string";
614
- };
615
- implementation: import("@blocknote/core").StyleImplementation;
616
- };
77
+ propSchema: "boolean";
78
+ }>;
79
+ };
80
+ textColor: import("@blocknote/core").StyleSpec<{
81
+ readonly type: "textColor";
82
+ readonly propSchema: "string";
83
+ }>;
84
+ backgroundColor: import("@blocknote/core").StyleSpec<{
85
+ readonly type: "backgroundColor";
86
+ readonly propSchema: "string";
87
+ }>;
617
88
  }>, import("react").ReactElement<import("react").ForwardRefExoticComponent<Readonly<Omit<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref">> & import("react").RefAttributes<HTMLAnchorElement>>, string | import("react").JSXElementConstructor<any>> | import("react").ReactElement<HTMLSpanElement, string | import("react").JSXElementConstructor<any>>, import("react").ReactElement<HTMLSpanElement, string | import("react").JSXElementConstructor<any>>>;
618
89
  styleMapping: import("@blocknote/core").StyleMapping<import("@blocknote/core").StyleSchemaFromSpecs<{
619
90
  bold: {
@@ -621,50 +92,59 @@ export declare const reactEmailDefaultSchemaMappings: {
621
92
  type: string;
622
93
  propSchema: "boolean";
623
94
  };
624
- implementation: import("@blocknote/core").StyleImplementation;
95
+ implementation: import("@blocknote/core").StyleImplementation<{
96
+ type: string;
97
+ propSchema: "boolean";
98
+ }>;
625
99
  };
626
100
  italic: {
627
101
  config: {
628
102
  type: string;
629
103
  propSchema: "boolean";
630
104
  };
631
- implementation: import("@blocknote/core").StyleImplementation;
105
+ implementation: import("@blocknote/core").StyleImplementation<{
106
+ type: string;
107
+ propSchema: "boolean";
108
+ }>;
632
109
  };
633
110
  underline: {
634
111
  config: {
635
112
  type: string;
636
113
  propSchema: "boolean";
637
114
  };
638
- implementation: import("@blocknote/core").StyleImplementation;
115
+ implementation: import("@blocknote/core").StyleImplementation<{
116
+ type: string;
117
+ propSchema: "boolean";
118
+ }>;
639
119
  };
640
120
  strike: {
641
121
  config: {
642
122
  type: string;
643
123
  propSchema: "boolean";
644
124
  };
645
- implementation: import("@blocknote/core").StyleImplementation;
646
- };
647
- code: {
648
- config: {
125
+ implementation: import("@blocknote/core").StyleImplementation<{
649
126
  type: string;
650
127
  propSchema: "boolean";
651
- };
652
- implementation: import("@blocknote/core").StyleImplementation;
128
+ }>;
653
129
  };
654
- textColor: {
130
+ code: {
655
131
  config: {
656
132
  type: string;
657
- propSchema: "string";
133
+ propSchema: "boolean";
658
134
  };
659
- implementation: import("@blocknote/core").StyleImplementation;
660
- };
661
- backgroundColor: {
662
- config: {
135
+ implementation: import("@blocknote/core").StyleImplementation<{
663
136
  type: string;
664
- propSchema: "string";
665
- };
666
- implementation: import("@blocknote/core").StyleImplementation;
667
- };
137
+ propSchema: "boolean";
138
+ }>;
139
+ };
140
+ textColor: import("@blocknote/core").StyleSpec<{
141
+ readonly type: "textColor";
142
+ readonly propSchema: "string";
143
+ }>;
144
+ backgroundColor: import("@blocknote/core").StyleSpec<{
145
+ readonly type: "backgroundColor";
146
+ readonly propSchema: "string";
147
+ }>;
668
148
  }>, import("react").CSSProperties>;
669
149
  };
670
150
  export declare const reactEmailDefaultSchemaMappingsWithStyles: (styles?: ReactEmailDefaultSchemaStyles) => typeof reactEmailDefaultSchemaMappings;