@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.
- package/dist/blocknote-xl-email-exporter.js.map +1 -1
- package/dist/blocknote-xl-email-exporter.umd.cjs.map +1 -1
- package/dist/webpack-stats.json +1 -1
- package/package.json +3 -3
- package/src/react-email/defaultSchema/blocks.tsx +11 -6
- package/src/react-email/reactEmailExporter.test.tsx +11 -5
- package/types/src/react-email/defaultSchema/blocks.d.ts +7 -543
- package/types/src/react-email/defaultSchema/index.d.ts +59 -579
- package/types/src/react-email/defaultSchema/inlinecontent.d.ts +27 -18
- package/types/src/react-email/defaultSchema/styles.d.ts +27 -18
|
@@ -20,48 +20,57 @@ export declare const reactEmailInlineContentMappingForDefaultSchema: InlineConte
|
|
|
20
20
|
type: string;
|
|
21
21
|
propSchema: "boolean";
|
|
22
22
|
};
|
|
23
|
-
implementation: import("@blocknote/core").StyleImplementation
|
|
23
|
+
implementation: import("@blocknote/core").StyleImplementation<{
|
|
24
|
+
type: string;
|
|
25
|
+
propSchema: "boolean";
|
|
26
|
+
}>;
|
|
24
27
|
};
|
|
25
28
|
italic: {
|
|
26
29
|
config: {
|
|
27
30
|
type: string;
|
|
28
31
|
propSchema: "boolean";
|
|
29
32
|
};
|
|
30
|
-
implementation: import("@blocknote/core").StyleImplementation
|
|
33
|
+
implementation: import("@blocknote/core").StyleImplementation<{
|
|
34
|
+
type: string;
|
|
35
|
+
propSchema: "boolean";
|
|
36
|
+
}>;
|
|
31
37
|
};
|
|
32
38
|
underline: {
|
|
33
39
|
config: {
|
|
34
40
|
type: string;
|
|
35
41
|
propSchema: "boolean";
|
|
36
42
|
};
|
|
37
|
-
implementation: import("@blocknote/core").StyleImplementation
|
|
43
|
+
implementation: import("@blocknote/core").StyleImplementation<{
|
|
44
|
+
type: string;
|
|
45
|
+
propSchema: "boolean";
|
|
46
|
+
}>;
|
|
38
47
|
};
|
|
39
48
|
strike: {
|
|
40
49
|
config: {
|
|
41
50
|
type: string;
|
|
42
51
|
propSchema: "boolean";
|
|
43
52
|
};
|
|
44
|
-
implementation: import("@blocknote/core").StyleImplementation
|
|
45
|
-
};
|
|
46
|
-
code: {
|
|
47
|
-
config: {
|
|
53
|
+
implementation: import("@blocknote/core").StyleImplementation<{
|
|
48
54
|
type: string;
|
|
49
55
|
propSchema: "boolean";
|
|
50
|
-
}
|
|
51
|
-
implementation: import("@blocknote/core").StyleImplementation;
|
|
56
|
+
}>;
|
|
52
57
|
};
|
|
53
|
-
|
|
58
|
+
code: {
|
|
54
59
|
config: {
|
|
55
60
|
type: string;
|
|
56
|
-
propSchema: "
|
|
61
|
+
propSchema: "boolean";
|
|
57
62
|
};
|
|
58
|
-
implementation: import("@blocknote/core").StyleImplementation
|
|
59
|
-
};
|
|
60
|
-
backgroundColor: {
|
|
61
|
-
config: {
|
|
63
|
+
implementation: import("@blocknote/core").StyleImplementation<{
|
|
62
64
|
type: string;
|
|
63
|
-
propSchema: "
|
|
64
|
-
}
|
|
65
|
-
implementation: import("@blocknote/core").StyleImplementation;
|
|
65
|
+
propSchema: "boolean";
|
|
66
|
+
}>;
|
|
66
67
|
};
|
|
68
|
+
textColor: import("@blocknote/core").StyleSpec<{
|
|
69
|
+
readonly type: "textColor";
|
|
70
|
+
readonly propSchema: "string";
|
|
71
|
+
}>;
|
|
72
|
+
backgroundColor: import("@blocknote/core").StyleSpec<{
|
|
73
|
+
readonly type: "backgroundColor";
|
|
74
|
+
readonly propSchema: "string";
|
|
75
|
+
}>;
|
|
67
76
|
}>, 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>>>;
|
|
@@ -9,48 +9,57 @@ export declare const reactEmailStyleMappingForDefaultSchema: StyleMapping<import
|
|
|
9
9
|
type: string;
|
|
10
10
|
propSchema: "boolean";
|
|
11
11
|
};
|
|
12
|
-
implementation: import("@blocknote/core").StyleImplementation
|
|
12
|
+
implementation: import("@blocknote/core").StyleImplementation<{
|
|
13
|
+
type: string;
|
|
14
|
+
propSchema: "boolean";
|
|
15
|
+
}>;
|
|
13
16
|
};
|
|
14
17
|
italic: {
|
|
15
18
|
config: {
|
|
16
19
|
type: string;
|
|
17
20
|
propSchema: "boolean";
|
|
18
21
|
};
|
|
19
|
-
implementation: import("@blocknote/core").StyleImplementation
|
|
22
|
+
implementation: import("@blocknote/core").StyleImplementation<{
|
|
23
|
+
type: string;
|
|
24
|
+
propSchema: "boolean";
|
|
25
|
+
}>;
|
|
20
26
|
};
|
|
21
27
|
underline: {
|
|
22
28
|
config: {
|
|
23
29
|
type: string;
|
|
24
30
|
propSchema: "boolean";
|
|
25
31
|
};
|
|
26
|
-
implementation: import("@blocknote/core").StyleImplementation
|
|
32
|
+
implementation: import("@blocknote/core").StyleImplementation<{
|
|
33
|
+
type: string;
|
|
34
|
+
propSchema: "boolean";
|
|
35
|
+
}>;
|
|
27
36
|
};
|
|
28
37
|
strike: {
|
|
29
38
|
config: {
|
|
30
39
|
type: string;
|
|
31
40
|
propSchema: "boolean";
|
|
32
41
|
};
|
|
33
|
-
implementation: import("@blocknote/core").StyleImplementation
|
|
34
|
-
};
|
|
35
|
-
code: {
|
|
36
|
-
config: {
|
|
42
|
+
implementation: import("@blocknote/core").StyleImplementation<{
|
|
37
43
|
type: string;
|
|
38
44
|
propSchema: "boolean";
|
|
39
|
-
}
|
|
40
|
-
implementation: import("@blocknote/core").StyleImplementation;
|
|
45
|
+
}>;
|
|
41
46
|
};
|
|
42
|
-
|
|
47
|
+
code: {
|
|
43
48
|
config: {
|
|
44
49
|
type: string;
|
|
45
|
-
propSchema: "
|
|
50
|
+
propSchema: "boolean";
|
|
46
51
|
};
|
|
47
|
-
implementation: import("@blocknote/core").StyleImplementation
|
|
48
|
-
};
|
|
49
|
-
backgroundColor: {
|
|
50
|
-
config: {
|
|
52
|
+
implementation: import("@blocknote/core").StyleImplementation<{
|
|
51
53
|
type: string;
|
|
52
|
-
propSchema: "
|
|
53
|
-
}
|
|
54
|
-
implementation: import("@blocknote/core").StyleImplementation;
|
|
54
|
+
propSchema: "boolean";
|
|
55
|
+
}>;
|
|
55
56
|
};
|
|
57
|
+
textColor: import("@blocknote/core").StyleSpec<{
|
|
58
|
+
readonly type: "textColor";
|
|
59
|
+
readonly propSchema: "string";
|
|
60
|
+
}>;
|
|
61
|
+
backgroundColor: import("@blocknote/core").StyleSpec<{
|
|
62
|
+
readonly type: "backgroundColor";
|
|
63
|
+
readonly propSchema: "string";
|
|
64
|
+
}>;
|
|
56
65
|
}>, CSSProperties>;
|