easy-email-pro-editor 1.37.6 → 1.38.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/lib/{index-ec40c8d9.js → index-4cca60b5.js} +1 -1
- package/lib/{index-d2fb9edc.js → index-c4202826.js} +7872 -7449
- package/lib/index.js +16 -15
- package/lib/typings/components/Elements/BaseElement.d.ts +2 -29
- package/lib/typings/components/Elements/atom/Button/index.d.ts +80 -0
- package/lib/typings/components/Elements/atom/Button.d.ts +0 -115
- package/lib/typings/components/Elements/atom/Column/index.d.ts +46 -0
- package/lib/typings/components/Elements/atom/Column.d.ts +0 -112
- package/lib/typings/components/Elements/atom/Divider/index.d.ts +35 -0
- package/lib/typings/components/Elements/atom/Divider.d.ts +0 -53
- package/lib/typings/components/Elements/atom/Group/index.d.ts +21 -0
- package/lib/typings/components/Elements/atom/Group.d.ts +0 -48
- package/lib/typings/components/Elements/atom/Hero/index.d.ts +48 -0
- package/lib/typings/components/Elements/atom/Hero.d.ts +0 -127
- package/lib/typings/components/Elements/atom/Image/index.d.ts +59 -0
- package/lib/typings/components/Elements/atom/Image.d.ts +0 -78
- package/lib/typings/components/Elements/atom/Navbar/index.d.ts +53 -0
- package/lib/typings/components/Elements/atom/Navbar.d.ts +0 -93
- package/lib/typings/components/Elements/atom/NavbarLink/index.d.ts +47 -0
- package/lib/typings/components/Elements/atom/NavbarLink.d.ts +0 -75
- package/lib/typings/components/Elements/atom/Page/BrandLogo.d.ts +2 -0
- package/lib/typings/components/Elements/atom/Page/FrozenFooterSlateRender.d.ts +2 -0
- package/lib/typings/components/Elements/atom/Page/FrozenHeaderSlateRender.d.ts +2 -0
- package/lib/typings/components/Elements/atom/Page/PageHead.d.ts +6 -0
- package/lib/typings/components/Elements/atom/Page/index.d.ts +24 -0
- package/lib/typings/components/Elements/atom/Page.d.ts +0 -32
- package/lib/typings/components/Elements/atom/Placeholder.d.ts +3 -3
- package/lib/typings/components/Elements/atom/Raw/index.d.ts +12 -0
- package/lib/typings/components/Elements/atom/Raw.d.ts +0 -12
- package/lib/typings/components/Elements/atom/Section/index.d.ts +52 -0
- package/lib/typings/components/Elements/atom/Section.d.ts +0 -153
- package/lib/typings/components/Elements/atom/Social/index.d.ts +58 -0
- package/lib/typings/components/Elements/atom/Social.d.ts +0 -67
- package/lib/typings/components/Elements/atom/SocialElement/index.d.ts +70 -0
- package/lib/typings/components/Elements/atom/SocialElement.d.ts +0 -110
- package/lib/typings/components/Elements/atom/Spacer/index.d.ts +28 -0
- package/lib/typings/components/Elements/atom/Spacer.d.ts +0 -35
- package/lib/typings/components/Elements/atom/Table/index.d.ts +56 -0
- package/lib/typings/components/Elements/atom/Table.d.ts +0 -67
- package/lib/typings/components/Elements/atom/Text/index.d.ts +51 -0
- package/lib/typings/components/Elements/atom/Text.d.ts +0 -66
- package/lib/typings/components/Elements/atom/Wrapper.d.ts +3 -4
- package/lib/typings/components/Elements/atom/index.d.ts +16 -16
- package/lib/typings/components/Elements/basic/Blockquote.d.ts +3 -3
- package/lib/typings/components/Elements/basic/Button.d.ts +0 -34
- package/lib/typings/components/Elements/basic/Code.d.ts +3 -19
- package/lib/typings/components/Elements/basic/Column.d.ts +0 -17
- package/lib/typings/components/Elements/basic/Divider.d.ts +0 -17
- package/lib/typings/components/Elements/basic/Group.d.ts +0 -8
- package/lib/typings/components/Elements/basic/HTMLDomNode.d.ts +2 -2
- package/lib/typings/components/Elements/basic/Image.d.ts +0 -26
- package/lib/typings/components/Elements/basic/Section.d.ts +1 -27
- package/lib/typings/components/Elements/basic/TextList/index.d.ts +3 -3
- package/lib/typings/components/Elements/basic/Wrapper.d.ts +3 -7
- package/lib/typings/components/Elements/components/BlockComponentProvider.d.ts +21 -0
- package/lib/typings/components/Elements/components/RenderWithColumn.d.ts +16 -0
- package/lib/typings/components/Elements/useElement.d.ts +20 -0
- package/lib/typings/hooks/index.d.ts +1 -0
- package/lib/typings/hooks/useEqualState.d.ts +1 -0
- package/lib/typings/hooks/useSelectedNode.d.ts +1 -0
- package/lib/typings/utils/getBoxWidths.d.ts +9 -0
- package/lib/typings/utils/getParsedWidth.d.ts +8 -0
- package/lib/typings/utils/getShorthandAttrValue.d.ts +1 -0
- package/lib/typings/utils/getShorthandBorderValue.d.ts +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { SectionElement } from "easy-email-pro-core";
|
|
3
|
+
import { BaseElement } from "../../BaseElement";
|
|
4
|
+
export declare class Section extends BaseElement<SectionElement> {
|
|
5
|
+
componentType: string;
|
|
6
|
+
allowedAttributes: {
|
|
7
|
+
"background-color": string;
|
|
8
|
+
"background-url": string;
|
|
9
|
+
"background-repeat": string;
|
|
10
|
+
"background-size": string;
|
|
11
|
+
"background-position": string;
|
|
12
|
+
"background-position-x": string;
|
|
13
|
+
"background-position-y": string;
|
|
14
|
+
border: string;
|
|
15
|
+
"border-bottom": string;
|
|
16
|
+
"border-left": string;
|
|
17
|
+
"border-radius": string;
|
|
18
|
+
"border-right": string;
|
|
19
|
+
"border-top": string;
|
|
20
|
+
direction: string;
|
|
21
|
+
"full-width": string;
|
|
22
|
+
padding: string;
|
|
23
|
+
"padding-top": string;
|
|
24
|
+
"padding-bottom": string;
|
|
25
|
+
"padding-left": string;
|
|
26
|
+
"padding-right": string;
|
|
27
|
+
"text-align": string;
|
|
28
|
+
};
|
|
29
|
+
defaultAttributes: {
|
|
30
|
+
padding?: string | undefined;
|
|
31
|
+
"padding-top"?: string | undefined;
|
|
32
|
+
"padding-bottom"?: string | undefined;
|
|
33
|
+
"padding-left"?: string | undefined;
|
|
34
|
+
"padding-right"?: string | undefined;
|
|
35
|
+
"background-color"?: string | undefined;
|
|
36
|
+
"background-position"?: string | undefined;
|
|
37
|
+
"background-position-x"?: string | undefined;
|
|
38
|
+
"background-position-y"?: string | undefined;
|
|
39
|
+
"background-repeat"?: "repeat" | "no-repeat" | undefined;
|
|
40
|
+
"background-size"?: string | undefined;
|
|
41
|
+
"background-url"?: string | undefined;
|
|
42
|
+
border?: string | undefined;
|
|
43
|
+
"border-radius"?: string | undefined;
|
|
44
|
+
direction?: "ltr" | "rtl" | undefined;
|
|
45
|
+
"full-width"?: string | undefined;
|
|
46
|
+
"text-align"?: string | undefined;
|
|
47
|
+
"css-class"?: string | undefined;
|
|
48
|
+
"mj-class"?: string | undefined;
|
|
49
|
+
};
|
|
50
|
+
stackOnMobile: boolean;
|
|
51
|
+
renderElement(): React.JSX.Element;
|
|
52
|
+
}
|
|
@@ -1,153 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { BaseElement } from "../BaseElement";
|
|
3
|
-
import { Element, SectionElement } from "easy-email-pro-core";
|
|
4
|
-
export declare class Section<T extends Element = SectionElement> extends BaseElement<T> {
|
|
5
|
-
componentType: string;
|
|
6
|
-
static allowedAttributes: {
|
|
7
|
-
"background-color": string;
|
|
8
|
-
"background-url": string;
|
|
9
|
-
"background-repeat": string;
|
|
10
|
-
"background-size": string;
|
|
11
|
-
"background-position": string;
|
|
12
|
-
"background-position-x": string;
|
|
13
|
-
"background-position-y": string;
|
|
14
|
-
border: string;
|
|
15
|
-
"border-bottom": string;
|
|
16
|
-
"border-left": string;
|
|
17
|
-
"border-radius": string;
|
|
18
|
-
"border-right": string;
|
|
19
|
-
"border-top": string;
|
|
20
|
-
direction: string;
|
|
21
|
-
"full-width": string;
|
|
22
|
-
padding: string;
|
|
23
|
-
"padding-top": string;
|
|
24
|
-
"padding-bottom": string;
|
|
25
|
-
"padding-left": string;
|
|
26
|
-
"padding-right": string;
|
|
27
|
-
"text-align": string;
|
|
28
|
-
};
|
|
29
|
-
static defaultAttributes: {
|
|
30
|
-
padding?: string | undefined;
|
|
31
|
-
"padding-top"?: string | undefined;
|
|
32
|
-
"padding-bottom"?: string | undefined;
|
|
33
|
-
"padding-left"?: string | undefined;
|
|
34
|
-
"padding-right"?: string | undefined;
|
|
35
|
-
"background-color"?: string | undefined;
|
|
36
|
-
"background-position"?: string | undefined;
|
|
37
|
-
"background-position-x"?: string | undefined;
|
|
38
|
-
"background-position-y"?: string | undefined;
|
|
39
|
-
"background-repeat"?: "repeat" | "no-repeat" | undefined;
|
|
40
|
-
"background-size"?: string | undefined;
|
|
41
|
-
"background-url"?: string | undefined;
|
|
42
|
-
border?: string | undefined;
|
|
43
|
-
"border-radius"?: string | undefined;
|
|
44
|
-
direction?: "ltr" | "rtl" | undefined;
|
|
45
|
-
"full-width"?: string | undefined;
|
|
46
|
-
"text-align"?: string | undefined;
|
|
47
|
-
"css-class"?: string | undefined;
|
|
48
|
-
"mj-class"?: string | undefined;
|
|
49
|
-
};
|
|
50
|
-
get containerWidth(): string;
|
|
51
|
-
get attributes(): any;
|
|
52
|
-
getStyles(): {
|
|
53
|
-
tableFullwidth: {
|
|
54
|
-
width: string;
|
|
55
|
-
"border-radius": string;
|
|
56
|
-
background: string;
|
|
57
|
-
"background-position": string;
|
|
58
|
-
"background-repeat": string;
|
|
59
|
-
"background-size": string;
|
|
60
|
-
"background-color"?: undefined;
|
|
61
|
-
} | {
|
|
62
|
-
width: string;
|
|
63
|
-
"border-radius": string;
|
|
64
|
-
background: string;
|
|
65
|
-
"background-color": string;
|
|
66
|
-
"background-position"?: undefined;
|
|
67
|
-
"background-repeat"?: undefined;
|
|
68
|
-
"background-size"?: undefined;
|
|
69
|
-
} | {
|
|
70
|
-
width: string;
|
|
71
|
-
"border-radius": string;
|
|
72
|
-
};
|
|
73
|
-
table: {
|
|
74
|
-
width: string;
|
|
75
|
-
"border-radius": string;
|
|
76
|
-
background: string;
|
|
77
|
-
"background-position": string;
|
|
78
|
-
"background-repeat": string;
|
|
79
|
-
"background-size": string;
|
|
80
|
-
"background-color"?: undefined;
|
|
81
|
-
} | {
|
|
82
|
-
width: string;
|
|
83
|
-
"border-radius": string;
|
|
84
|
-
background: string;
|
|
85
|
-
"background-color": string;
|
|
86
|
-
"background-position"?: undefined;
|
|
87
|
-
"background-repeat"?: undefined;
|
|
88
|
-
"background-size"?: undefined;
|
|
89
|
-
} | {
|
|
90
|
-
width: string;
|
|
91
|
-
"border-radius": string;
|
|
92
|
-
};
|
|
93
|
-
td: {
|
|
94
|
-
border: string;
|
|
95
|
-
"border-bottom": string;
|
|
96
|
-
"border-left": string;
|
|
97
|
-
"border-right": string;
|
|
98
|
-
"border-top": string;
|
|
99
|
-
direction: string;
|
|
100
|
-
"font-size": string;
|
|
101
|
-
padding: string;
|
|
102
|
-
"padding-bottom": string;
|
|
103
|
-
"padding-left": string;
|
|
104
|
-
"padding-right": string;
|
|
105
|
-
"padding-top": string;
|
|
106
|
-
"text-align": string;
|
|
107
|
-
};
|
|
108
|
-
div: {
|
|
109
|
-
margin: string;
|
|
110
|
-
"border-radius": string;
|
|
111
|
-
"max-width": string;
|
|
112
|
-
background: string;
|
|
113
|
-
"background-position": string;
|
|
114
|
-
"background-repeat": string;
|
|
115
|
-
"background-size": string;
|
|
116
|
-
"background-color"?: undefined;
|
|
117
|
-
} | {
|
|
118
|
-
margin: string;
|
|
119
|
-
"border-radius": string;
|
|
120
|
-
"max-width": string;
|
|
121
|
-
background: string;
|
|
122
|
-
"background-color": string;
|
|
123
|
-
"background-position"?: undefined;
|
|
124
|
-
"background-repeat"?: undefined;
|
|
125
|
-
"background-size"?: undefined;
|
|
126
|
-
} | {
|
|
127
|
-
margin: string;
|
|
128
|
-
"border-radius": string;
|
|
129
|
-
"max-width": string;
|
|
130
|
-
};
|
|
131
|
-
innerDiv: {
|
|
132
|
-
"line-height": string;
|
|
133
|
-
"font-size": string;
|
|
134
|
-
};
|
|
135
|
-
};
|
|
136
|
-
getBackground(): string;
|
|
137
|
-
getBackgroundString(): string;
|
|
138
|
-
getBackgroundPosition(): {
|
|
139
|
-
posX: string;
|
|
140
|
-
posY: string;
|
|
141
|
-
};
|
|
142
|
-
parseBackgroundPosition(): {
|
|
143
|
-
x: string;
|
|
144
|
-
y: string;
|
|
145
|
-
};
|
|
146
|
-
hasBackground(): boolean;
|
|
147
|
-
isFullWidth(): boolean;
|
|
148
|
-
renderSection(): React.JSX.Element;
|
|
149
|
-
renderFullWidth(): React.JSX.Element;
|
|
150
|
-
stackOnMobile: boolean;
|
|
151
|
-
renderSimple(): React.JSX.Element;
|
|
152
|
-
renderElement(): React.JSX.Element;
|
|
153
|
-
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { SocialElement } from "easy-email-pro-core";
|
|
3
|
+
import { BaseElement } from "../../BaseElement";
|
|
4
|
+
export declare class Social extends BaseElement<SocialElement> {
|
|
5
|
+
componentType: string;
|
|
6
|
+
allowedAttributes: {
|
|
7
|
+
align: string;
|
|
8
|
+
"border-radius": string;
|
|
9
|
+
"container-background-color": string;
|
|
10
|
+
color: string;
|
|
11
|
+
"font-family": string;
|
|
12
|
+
"font-size": string;
|
|
13
|
+
"font-style": string;
|
|
14
|
+
"font-weight": string;
|
|
15
|
+
"icon-size": string;
|
|
16
|
+
"icon-height": string;
|
|
17
|
+
"icon-padding": string;
|
|
18
|
+
"inner-padding": string;
|
|
19
|
+
"line-height": string;
|
|
20
|
+
mode: string;
|
|
21
|
+
"padding-bottom": string;
|
|
22
|
+
"padding-left": string;
|
|
23
|
+
"padding-right": string;
|
|
24
|
+
"padding-top": string;
|
|
25
|
+
padding: string;
|
|
26
|
+
"table-layout": string;
|
|
27
|
+
"text-padding": string;
|
|
28
|
+
"text-decoration": string;
|
|
29
|
+
"vertical-align": string;
|
|
30
|
+
};
|
|
31
|
+
defaultAttributes: {
|
|
32
|
+
color?: string | undefined;
|
|
33
|
+
"font-family"?: string | undefined;
|
|
34
|
+
"font-size"?: string | undefined;
|
|
35
|
+
"font-style"?: string | undefined;
|
|
36
|
+
"font-weight"?: string | undefined;
|
|
37
|
+
"line-height"?: string | undefined;
|
|
38
|
+
"text-decoration"?: string | undefined;
|
|
39
|
+
align?: string | undefined;
|
|
40
|
+
"container-background-color"?: string | undefined;
|
|
41
|
+
padding?: string | undefined;
|
|
42
|
+
"padding-top"?: string | undefined;
|
|
43
|
+
"padding-bottom"?: string | undefined;
|
|
44
|
+
"padding-left"?: string | undefined;
|
|
45
|
+
"padding-right"?: string | undefined;
|
|
46
|
+
"border-radius"?: string | undefined;
|
|
47
|
+
"inner-padding"?: string | undefined;
|
|
48
|
+
mode?: "horizontal" | "vertical" | undefined;
|
|
49
|
+
"icon-height"?: string | undefined;
|
|
50
|
+
"icon-size"?: string | undefined;
|
|
51
|
+
"icon-padding"?: string | undefined;
|
|
52
|
+
"text-padding"?: string | undefined;
|
|
53
|
+
"css-class"?: string | undefined;
|
|
54
|
+
"mj-class"?: string | undefined;
|
|
55
|
+
};
|
|
56
|
+
renderChildrenWithPlaceholder(): React.JSX.Element;
|
|
57
|
+
renderElement(): React.ReactNode;
|
|
58
|
+
}
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { SocialElement } from "easy-email-pro-core";
|
|
3
|
-
import { BaseElement } from "../BaseElement";
|
|
4
|
-
export declare class Social extends BaseElement<SocialElement> {
|
|
5
|
-
componentType: string;
|
|
6
|
-
static allowedAttributes: {
|
|
7
|
-
align: string;
|
|
8
|
-
"border-radius": string;
|
|
9
|
-
"container-background-color": string;
|
|
10
|
-
color: string;
|
|
11
|
-
"font-family": string;
|
|
12
|
-
"font-size": string;
|
|
13
|
-
"font-style": string;
|
|
14
|
-
"font-weight": string;
|
|
15
|
-
"icon-size": string;
|
|
16
|
-
"icon-height": string;
|
|
17
|
-
"icon-padding": string;
|
|
18
|
-
"inner-padding": string;
|
|
19
|
-
"line-height": string;
|
|
20
|
-
mode: string;
|
|
21
|
-
"padding-bottom": string;
|
|
22
|
-
"padding-left": string;
|
|
23
|
-
"padding-right": string;
|
|
24
|
-
"padding-top": string;
|
|
25
|
-
padding: string;
|
|
26
|
-
"table-layout": string;
|
|
27
|
-
"text-padding": string;
|
|
28
|
-
"text-decoration": string;
|
|
29
|
-
"vertical-align": string;
|
|
30
|
-
};
|
|
31
|
-
static defaultAttributes: {
|
|
32
|
-
color?: string | undefined;
|
|
33
|
-
"font-family"?: string | undefined;
|
|
34
|
-
"font-size"?: string | undefined;
|
|
35
|
-
"font-style"?: string | undefined;
|
|
36
|
-
"font-weight"?: string | undefined;
|
|
37
|
-
"line-height"?: string | undefined;
|
|
38
|
-
"text-decoration"?: string | undefined;
|
|
39
|
-
align?: string | undefined;
|
|
40
|
-
"container-background-color"?: string | undefined;
|
|
41
|
-
padding?: string | undefined;
|
|
42
|
-
"padding-top"?: string | undefined;
|
|
43
|
-
"padding-bottom"?: string | undefined;
|
|
44
|
-
"padding-left"?: string | undefined;
|
|
45
|
-
"padding-right"?: string | undefined;
|
|
46
|
-
"border-radius"?: string | undefined;
|
|
47
|
-
"inner-padding"?: string | undefined;
|
|
48
|
-
mode?: "horizontal" | "vertical" | undefined;
|
|
49
|
-
"icon-height"?: string | undefined;
|
|
50
|
-
"icon-size"?: string | undefined;
|
|
51
|
-
"icon-padding"?: string | undefined;
|
|
52
|
-
"text-padding"?: string | undefined;
|
|
53
|
-
"css-class"?: string | undefined;
|
|
54
|
-
"mj-class"?: string | undefined;
|
|
55
|
-
};
|
|
56
|
-
getStyles(): {
|
|
57
|
-
tableVertical: {
|
|
58
|
-
margin: string;
|
|
59
|
-
};
|
|
60
|
-
};
|
|
61
|
-
getSocialElementAttributes: (() => Record<string, string>) & import("lodash").MemoizedFunction;
|
|
62
|
-
get isHorizontal(): boolean;
|
|
63
|
-
renderVertical(): React.JSX.Element;
|
|
64
|
-
renderChildrenWithPlaceholder(): React.JSX.Element;
|
|
65
|
-
renderHorizontal(): React.JSX.Element;
|
|
66
|
-
renderElement(): React.JSX.Element;
|
|
67
|
-
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { SocialItemElement } from "easy-email-pro-core";
|
|
3
|
+
import { BaseElement } from "../../BaseElement";
|
|
4
|
+
export declare class SocialItem extends BaseElement<SocialItemElement> {
|
|
5
|
+
componentType: string;
|
|
6
|
+
endingTag: boolean;
|
|
7
|
+
allowedAttributes: {
|
|
8
|
+
align: string;
|
|
9
|
+
"background-color": string;
|
|
10
|
+
color: string;
|
|
11
|
+
"border-radius": string;
|
|
12
|
+
"font-family": string;
|
|
13
|
+
"font-size": string;
|
|
14
|
+
"font-style": string;
|
|
15
|
+
"font-weight": string;
|
|
16
|
+
href: string;
|
|
17
|
+
"icon-size": string;
|
|
18
|
+
"icon-height": string;
|
|
19
|
+
"icon-padding": string;
|
|
20
|
+
"line-height": string;
|
|
21
|
+
name: string;
|
|
22
|
+
"padding-bottom": string;
|
|
23
|
+
"padding-left": string;
|
|
24
|
+
"padding-right": string;
|
|
25
|
+
"padding-top": string;
|
|
26
|
+
padding: string;
|
|
27
|
+
"text-padding": string;
|
|
28
|
+
rel: string;
|
|
29
|
+
src: string;
|
|
30
|
+
srcset: string;
|
|
31
|
+
sizes: string;
|
|
32
|
+
alt: string;
|
|
33
|
+
title: string;
|
|
34
|
+
target: string;
|
|
35
|
+
"text-decoration": string;
|
|
36
|
+
"vertical-align": string;
|
|
37
|
+
};
|
|
38
|
+
defaultAttributes: {
|
|
39
|
+
title?: string | undefined;
|
|
40
|
+
rel?: string | undefined;
|
|
41
|
+
color?: string | undefined;
|
|
42
|
+
"font-family"?: string | undefined;
|
|
43
|
+
"font-size"?: string | undefined;
|
|
44
|
+
"font-style"?: string | undefined;
|
|
45
|
+
"font-weight"?: string | undefined;
|
|
46
|
+
"line-height"?: string | undefined;
|
|
47
|
+
"text-decoration"?: string | undefined;
|
|
48
|
+
align?: string | undefined;
|
|
49
|
+
padding?: string | undefined;
|
|
50
|
+
"padding-top"?: string | undefined;
|
|
51
|
+
"padding-bottom"?: string | undefined;
|
|
52
|
+
"padding-left"?: string | undefined;
|
|
53
|
+
"padding-right"?: string | undefined;
|
|
54
|
+
"background-color"?: string | undefined;
|
|
55
|
+
"border-radius"?: string | undefined;
|
|
56
|
+
name?: string | undefined;
|
|
57
|
+
href?: string | undefined;
|
|
58
|
+
target?: string | undefined;
|
|
59
|
+
"vertical-align"?: string | undefined;
|
|
60
|
+
alt?: string | undefined;
|
|
61
|
+
src?: string | undefined;
|
|
62
|
+
"icon-height"?: string | undefined;
|
|
63
|
+
"icon-size"?: string | undefined;
|
|
64
|
+
"icon-padding"?: string | undefined;
|
|
65
|
+
"text-padding"?: string | undefined;
|
|
66
|
+
"css-class"?: string | undefined;
|
|
67
|
+
"mj-class"?: string | undefined;
|
|
68
|
+
};
|
|
69
|
+
renderElement(): React.ReactNode;
|
|
70
|
+
}
|
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { SocialElement } from "easy-email-pro-core";
|
|
3
|
-
import { BaseElement } from "../BaseElement";
|
|
4
|
-
export declare class SocialItem extends BaseElement<SocialElement> {
|
|
5
|
-
componentType: string;
|
|
6
|
-
static endingTag: boolean;
|
|
7
|
-
static allowedAttributes: {
|
|
8
|
-
align: string;
|
|
9
|
-
"background-color": string;
|
|
10
|
-
color: string;
|
|
11
|
-
"border-radius": string;
|
|
12
|
-
"font-family": string;
|
|
13
|
-
"font-size": string;
|
|
14
|
-
"font-style": string;
|
|
15
|
-
"font-weight": string;
|
|
16
|
-
href: string;
|
|
17
|
-
"icon-size": string;
|
|
18
|
-
"icon-height": string;
|
|
19
|
-
"icon-padding": string;
|
|
20
|
-
"line-height": string;
|
|
21
|
-
name: string;
|
|
22
|
-
"padding-bottom": string;
|
|
23
|
-
"padding-left": string;
|
|
24
|
-
"padding-right": string;
|
|
25
|
-
"padding-top": string;
|
|
26
|
-
padding: string;
|
|
27
|
-
"text-padding": string;
|
|
28
|
-
rel: string;
|
|
29
|
-
src: string;
|
|
30
|
-
srcset: string;
|
|
31
|
-
sizes: string;
|
|
32
|
-
alt: string;
|
|
33
|
-
title: string;
|
|
34
|
-
target: string;
|
|
35
|
-
"text-decoration": string;
|
|
36
|
-
"vertical-align": string;
|
|
37
|
-
};
|
|
38
|
-
static defaultAttributes: {
|
|
39
|
-
title?: string | undefined;
|
|
40
|
-
color?: string | undefined;
|
|
41
|
-
"font-family"?: string | undefined;
|
|
42
|
-
"font-size"?: string | undefined;
|
|
43
|
-
"font-style"?: string | undefined;
|
|
44
|
-
"font-weight"?: string | undefined;
|
|
45
|
-
"line-height"?: string | undefined;
|
|
46
|
-
"text-decoration"?: string | undefined;
|
|
47
|
-
align?: string | undefined;
|
|
48
|
-
padding?: string | undefined;
|
|
49
|
-
"padding-top"?: string | undefined;
|
|
50
|
-
"padding-bottom"?: string | undefined;
|
|
51
|
-
"padding-left"?: string | undefined;
|
|
52
|
-
"padding-right"?: string | undefined;
|
|
53
|
-
"background-color"?: string | undefined;
|
|
54
|
-
"border-radius"?: string | undefined;
|
|
55
|
-
href?: string | undefined;
|
|
56
|
-
target?: string | undefined;
|
|
57
|
-
"vertical-align"?: string | undefined;
|
|
58
|
-
alt?: string | undefined;
|
|
59
|
-
src?: string | undefined;
|
|
60
|
-
"icon-height"?: string | undefined;
|
|
61
|
-
"icon-size"?: string | undefined;
|
|
62
|
-
"icon-padding"?: string | undefined;
|
|
63
|
-
"text-padding"?: string | undefined;
|
|
64
|
-
name?: string | undefined;
|
|
65
|
-
"css-class"?: string | undefined;
|
|
66
|
-
"mj-class"?: string | undefined;
|
|
67
|
-
};
|
|
68
|
-
getAttribute(name: string): string;
|
|
69
|
-
getStyles(): {
|
|
70
|
-
td: {
|
|
71
|
-
padding: string;
|
|
72
|
-
"padding-top": string;
|
|
73
|
-
"padding-bottom": string;
|
|
74
|
-
"padding-left": string;
|
|
75
|
-
"padding-right": string;
|
|
76
|
-
"vertical-align": string;
|
|
77
|
-
};
|
|
78
|
-
table: {
|
|
79
|
-
background: any;
|
|
80
|
-
"border-radius": string;
|
|
81
|
-
width: any;
|
|
82
|
-
};
|
|
83
|
-
icon: {
|
|
84
|
-
padding: string;
|
|
85
|
-
"font-size": string;
|
|
86
|
-
height: any;
|
|
87
|
-
"vertical-align": string;
|
|
88
|
-
width: any;
|
|
89
|
-
};
|
|
90
|
-
img: {
|
|
91
|
-
"border-radius": string;
|
|
92
|
-
display: string;
|
|
93
|
-
};
|
|
94
|
-
tdText: {
|
|
95
|
-
"vertical-align": string;
|
|
96
|
-
padding: string;
|
|
97
|
-
};
|
|
98
|
-
text: {
|
|
99
|
-
color: string;
|
|
100
|
-
"font-size": string;
|
|
101
|
-
"font-weight": string;
|
|
102
|
-
"font-style": string;
|
|
103
|
-
"font-family": string;
|
|
104
|
-
"line-height": string;
|
|
105
|
-
"text-decoration": string;
|
|
106
|
-
};
|
|
107
|
-
};
|
|
108
|
-
getSocialAttributes(): any;
|
|
109
|
-
renderElement(): React.JSX.Element;
|
|
110
|
-
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { SpacerElement } from "easy-email-pro-core";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { BaseElement } from "../../BaseElement";
|
|
4
|
+
export declare class Spacer extends BaseElement<SpacerElement> {
|
|
5
|
+
componentType: string;
|
|
6
|
+
allowedAttributes: {
|
|
7
|
+
border: string;
|
|
8
|
+
"border-bottom": string;
|
|
9
|
+
"border-left": string;
|
|
10
|
+
"border-right": string;
|
|
11
|
+
"border-top": string;
|
|
12
|
+
"container-background-color": string;
|
|
13
|
+
"padding-bottom": string;
|
|
14
|
+
"padding-left": string;
|
|
15
|
+
"padding-right": string;
|
|
16
|
+
"padding-top": string;
|
|
17
|
+
padding: string;
|
|
18
|
+
height: string;
|
|
19
|
+
};
|
|
20
|
+
defaultAttributes: {
|
|
21
|
+
height?: string | undefined;
|
|
22
|
+
"container-background-color"?: string | undefined;
|
|
23
|
+
padding?: string | undefined;
|
|
24
|
+
"css-class"?: string | undefined;
|
|
25
|
+
"mj-class"?: string | undefined;
|
|
26
|
+
};
|
|
27
|
+
renderElement(): React.ReactNode;
|
|
28
|
+
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { SpacerElement, Element } from "easy-email-pro-core";
|
|
2
|
-
import React from "react";
|
|
3
|
-
import { BaseElement } from "../BaseElement";
|
|
4
|
-
export declare class Spacer<T extends Element = SpacerElement> extends BaseElement<T> {
|
|
5
|
-
componentType: string;
|
|
6
|
-
static allowedAttributes: {
|
|
7
|
-
border: string;
|
|
8
|
-
"border-bottom": string;
|
|
9
|
-
"border-left": string;
|
|
10
|
-
"border-right": string;
|
|
11
|
-
"border-top": string;
|
|
12
|
-
"container-background-color": string;
|
|
13
|
-
"padding-bottom": string;
|
|
14
|
-
"padding-left": string;
|
|
15
|
-
"padding-right": string;
|
|
16
|
-
"padding-top": string;
|
|
17
|
-
padding: string;
|
|
18
|
-
height: string;
|
|
19
|
-
};
|
|
20
|
-
static defaultAttributes: {
|
|
21
|
-
height?: string | undefined;
|
|
22
|
-
"container-background-color"?: string | undefined;
|
|
23
|
-
padding?: string | undefined;
|
|
24
|
-
"css-class"?: string | undefined;
|
|
25
|
-
"mj-class"?: string | undefined;
|
|
26
|
-
};
|
|
27
|
-
getStyles(): {
|
|
28
|
-
div: {
|
|
29
|
-
height: string;
|
|
30
|
-
"line-height": string;
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
renderWithColumn: (children: React.ReactNode) => React.JSX.Element;
|
|
34
|
-
renderElement(): React.JSX.Element;
|
|
35
|
-
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { TableElement } from "easy-email-pro-core";
|
|
3
|
+
import { BaseElement } from "../../BaseElement";
|
|
4
|
+
export declare class Table extends BaseElement<TableElement> {
|
|
5
|
+
componentType: string;
|
|
6
|
+
endingTag: boolean;
|
|
7
|
+
allowedAttributes: {
|
|
8
|
+
align: string;
|
|
9
|
+
border: string;
|
|
10
|
+
cellpadding: string;
|
|
11
|
+
cellspacing: string;
|
|
12
|
+
"container-background-color": string;
|
|
13
|
+
color: string;
|
|
14
|
+
"font-family": string;
|
|
15
|
+
"font-size": string;
|
|
16
|
+
"font-weight": string;
|
|
17
|
+
"line-height": string;
|
|
18
|
+
"padding-bottom": string;
|
|
19
|
+
"padding-left": string;
|
|
20
|
+
"padding-right": string;
|
|
21
|
+
"padding-top": string;
|
|
22
|
+
padding: string;
|
|
23
|
+
role: string;
|
|
24
|
+
"table-layout": string;
|
|
25
|
+
"vertical-align": string;
|
|
26
|
+
width: string;
|
|
27
|
+
};
|
|
28
|
+
defaultAttributes: {
|
|
29
|
+
role?: "none" | "presentation" | undefined;
|
|
30
|
+
color?: string | undefined;
|
|
31
|
+
"font-family"?: string | undefined;
|
|
32
|
+
"font-size"?: string | undefined;
|
|
33
|
+
"font-style"?: string | undefined;
|
|
34
|
+
"font-weight"?: string | undefined;
|
|
35
|
+
"line-height"?: string | number | undefined;
|
|
36
|
+
"letter-spacing"?: string | undefined;
|
|
37
|
+
"text-decoration"?: string | undefined;
|
|
38
|
+
"text-transform"?: string | undefined;
|
|
39
|
+
align?: string | undefined;
|
|
40
|
+
"container-background-color"?: string | undefined;
|
|
41
|
+
width?: string | undefined;
|
|
42
|
+
padding?: string | undefined;
|
|
43
|
+
"padding-top"?: string | undefined;
|
|
44
|
+
"padding-bottom"?: string | undefined;
|
|
45
|
+
"padding-left"?: string | undefined;
|
|
46
|
+
"padding-right"?: string | undefined;
|
|
47
|
+
border?: string | undefined;
|
|
48
|
+
cellpadding?: string | undefined;
|
|
49
|
+
cellspacing?: string | undefined;
|
|
50
|
+
"table-layout"?: "inherit" | "fixed" | "initial" | "auto" | undefined;
|
|
51
|
+
"css-class"?: string | undefined;
|
|
52
|
+
"mj-class"?: string | undefined;
|
|
53
|
+
};
|
|
54
|
+
renderChildrenWithPlaceholder(): React.JSX.Element;
|
|
55
|
+
renderElement(): React.ReactNode;
|
|
56
|
+
}
|