pagepilot-visual-editor 1.0.10 → 1.0.11
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/blocks-internal/block-button/src/index.d.ts +37 -3
- package/dist/blocks-internal/block-button-group/src/index.d.ts +6 -6
- package/dist/blocks-internal/block-columns-container/src/index.d.ts +3 -3
- package/dist/blocks-internal/block-container/src/index.d.ts +26 -0
- package/dist/blocks-internal/block-heading/src/index.d.ts +1 -0
- package/dist/blocks-internal/block-image/src/index.d.ts +59 -0
- package/dist/blocks-internal/block-list/src/index.d.ts +3 -3
- package/dist/blocks-internal/block-logo/src/index.d.ts +41 -0
- package/dist/blocks-internal/block-stepper/src/index.d.ts +1 -1
- package/dist/blocks-internal/block-text/src/index.d.ts +1 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/AvatarSidebarPanel.d.ts +1 -1
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/EmailLayoutSidebarPanel.d.ts +3 -1
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/MenuPickerSidebarPanel.d.ts +1 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/AnimationSection.d.ts +18 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/BoxShadowControls.d.ts +19 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/HoverEffectSection.d.ts +16 -0
- package/dist/editor-sample/App/InspectorDrawer/LayersPanelStyles.d.ts +2 -2
- package/dist/editor-sample/App/TemplatePanel/minimap/MiniMapFrame.d.ts +4 -2
- package/dist/editor-sample/App/shared/editor.styles.d.ts +3 -3
- package/dist/editor-sample/documents/blocks/Avatar/AvatarPropsSchema.d.ts +3 -0
- package/dist/editor-sample/documents/blocks/ButtonGroup/ButtonGroupPropsSchema.d.ts +6 -6
- package/dist/editor-sample/documents/blocks/ColumnsContainer/ColumnsContainerPropsSchema.d.ts +3 -3
- package/dist/editor-sample/documents/blocks/Container/ContainerPropsSchema.d.ts +45 -0
- package/dist/editor-sample/documents/blocks/MenuPicker/MenuPropsSchema.d.ts +2 -1
- package/dist/editor-sample/documents/blocks/TabsBlock/TabsBlockPropsSchema.d.ts +3 -3
- package/dist/editor-sample/documents/blocks/Timer/TimerPropsSchema.d.ts +1 -0
- package/dist/editor-sample/documents/blocks/Timer/variants/CircularProgressView.d.ts +2 -1
- package/dist/editor-sample/documents/blocks/Timer/variants/DigitalFlipView.d.ts +2 -1
- package/dist/editor-sample/documents/blocks/helpers/TStyle.d.ts +1 -0
- package/dist/editor-sample/documents/blocks/helpers/responsiveStyle.d.ts +1 -1
- package/dist/editor-sample/documents/editor/EditorContext.d.ts +1 -1
- package/dist/editor-sample/documents/editor/core.d.ts +193 -21
- package/dist/email-builder-core/blocks/ButtonGroup/ButtonGroupPropsSchema.d.ts +6 -6
- package/dist/email-builder-core/blocks/ColumnsContainer/ColumnsContainerPropsSchema.d.ts +3 -3
- package/dist/email-builder-core/blocks/Container/ContainerPropsSchema.d.ts +45 -0
- package/dist/email-builder-core/blocks/FlexColumns/FlexColumnsPropsSchema.d.ts +8 -1
- package/dist/email-builder-core/blocks/MenuPicker/MenuPropsSchema.d.ts +2 -2
- package/dist/email-builder-core/blocks/MenuPicker/MenuReader.d.ts +7 -1
- package/dist/email-builder-core/blocks/TabsBlock/TabsBlockPropsSchema.d.ts +3 -3
- package/dist/email-builder-core/blocks/Timer/TimerPropsSchema.d.ts +1 -0
- package/dist/email-builder-core/blocks/Timer/variants/CircularProgressView.d.ts +2 -1
- package/dist/email-builder-core/blocks/Timer/variants/DigitalFlipView.d.ts +2 -1
- package/dist/email-builder-core/blocks/animationSchema.d.ts +32 -0
- package/dist/email-builder-core/blocks/boxShadowSchema.d.ts +23 -0
- package/dist/email-builder-core/blocks/hoverEffectSchema.d.ts +20 -0
- package/dist/email-builder-core/helpers/templateVariables.d.ts +2 -14
- package/dist/email-builder-core/renderers/animationCss.d.ts +18 -0
- package/dist/email-builder-core/renderers/pageScripts.d.ts +10 -0
- package/dist/host-stubs/style/menu.styled.d.ts +10 -1
- package/dist/index.cjs +389 -239
- package/dist/index.js +24921 -23561
- package/dist/render.cjs +274 -127
- package/dist/render.js +6042 -5718
- package/package.json +1 -1
|
@@ -107,20 +107,20 @@ export declare const ButtonPropsSchema: z.ZodObject<{
|
|
|
107
107
|
widthTablet: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
108
108
|
widthMobile: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
109
109
|
size: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
110
|
-
small: "small";
|
|
111
110
|
medium: "medium";
|
|
111
|
+
small: "small";
|
|
112
112
|
large: "large";
|
|
113
113
|
"x-small": "x-small";
|
|
114
114
|
}>>>;
|
|
115
115
|
sizeTablet: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
116
|
-
small: "small";
|
|
117
116
|
medium: "medium";
|
|
117
|
+
small: "small";
|
|
118
118
|
large: "large";
|
|
119
119
|
"x-small": "x-small";
|
|
120
120
|
}>>>;
|
|
121
121
|
sizeMobile: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
122
|
-
small: "small";
|
|
123
122
|
medium: "medium";
|
|
123
|
+
small: "small";
|
|
124
124
|
large: "large";
|
|
125
125
|
"x-small": "x-small";
|
|
126
126
|
}>>>;
|
|
@@ -146,6 +146,39 @@ export declare const ButtonPropsSchema: z.ZodObject<{
|
|
|
146
146
|
ariaLabel: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
147
147
|
goToStep: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
148
148
|
postMessageEvent: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
149
|
+
animation: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
150
|
+
type: z.ZodEnum<{
|
|
151
|
+
none: "none";
|
|
152
|
+
"fade-in": "fade-in";
|
|
153
|
+
"slide-left": "slide-left";
|
|
154
|
+
"slide-right": "slide-right";
|
|
155
|
+
"slide-up": "slide-up";
|
|
156
|
+
"slide-down": "slide-down";
|
|
157
|
+
"zoom-in": "zoom-in";
|
|
158
|
+
bounce: "bounce";
|
|
159
|
+
}>;
|
|
160
|
+
trigger: z.ZodEnum<{
|
|
161
|
+
load: "load";
|
|
162
|
+
scroll: "scroll";
|
|
163
|
+
hover: "hover";
|
|
164
|
+
click: "click";
|
|
165
|
+
}>;
|
|
166
|
+
speed: z.ZodEnum<{
|
|
167
|
+
slow: "slow";
|
|
168
|
+
medium: "medium";
|
|
169
|
+
fast: "fast";
|
|
170
|
+
}>;
|
|
171
|
+
delay: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
172
|
+
disableOnMobile: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
173
|
+
}, z.core.$strip>>>;
|
|
174
|
+
boxShadow: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
175
|
+
color: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
176
|
+
offsetX: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
177
|
+
offsetY: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
178
|
+
blur: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
179
|
+
spread: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
180
|
+
inset: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
181
|
+
}, z.core.$strip>>>;
|
|
149
182
|
}, z.core.$strip>>>;
|
|
150
183
|
}, z.core.$strip>;
|
|
151
184
|
export type ButtonProps = z.infer<typeof ButtonPropsSchema>;
|
|
@@ -178,5 +211,6 @@ export declare const ButtonPropsDefaults: {
|
|
|
178
211
|
readonly iconAlignment: "left";
|
|
179
212
|
readonly goToStep: "";
|
|
180
213
|
readonly postMessageEvent: "";
|
|
214
|
+
readonly boxShadow: any;
|
|
181
215
|
};
|
|
182
216
|
export declare function Button({ style, props }: ButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -12,35 +12,35 @@ export declare const ButtonGroupPropsSchema: z.ZodObject<{
|
|
|
12
12
|
}, z.core.$strip>>>;
|
|
13
13
|
props: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
14
14
|
direction: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
15
|
-
row: "row";
|
|
16
15
|
column: "column";
|
|
16
|
+
row: "row";
|
|
17
17
|
}>>>;
|
|
18
18
|
directionTablet: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
19
|
-
row: "row";
|
|
20
19
|
column: "column";
|
|
20
|
+
row: "row";
|
|
21
21
|
}>>>;
|
|
22
22
|
directionMobile: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
23
|
-
row: "row";
|
|
24
23
|
column: "column";
|
|
24
|
+
row: "row";
|
|
25
25
|
}>>>;
|
|
26
26
|
gap: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
27
27
|
alignment: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
28
28
|
center: "center";
|
|
29
|
+
"space-between": "space-between";
|
|
29
30
|
end: "end";
|
|
30
31
|
start: "start";
|
|
31
|
-
"space-between": "space-between";
|
|
32
32
|
}>>>;
|
|
33
33
|
alignmentTablet: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
34
34
|
center: "center";
|
|
35
|
+
"space-between": "space-between";
|
|
35
36
|
end: "end";
|
|
36
37
|
start: "start";
|
|
37
|
-
"space-between": "space-between";
|
|
38
38
|
}>>>;
|
|
39
39
|
alignmentMobile: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
40
40
|
center: "center";
|
|
41
|
+
"space-between": "space-between";
|
|
41
42
|
end: "end";
|
|
42
43
|
start: "start";
|
|
43
|
-
"space-between": "space-between";
|
|
44
44
|
}>>>;
|
|
45
45
|
wrap: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
46
46
|
ariaLabel: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -40,16 +40,16 @@ export declare const ColumnsContainerPropsSchema: z.ZodObject<{
|
|
|
40
40
|
columnsGapTablet: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
41
41
|
columnsGapMobile: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
42
42
|
columnsDirection: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
43
|
-
horizontal: "horizontal";
|
|
44
43
|
vertical: "vertical";
|
|
44
|
+
horizontal: "horizontal";
|
|
45
45
|
}>>>;
|
|
46
46
|
columnsDirectionTablet: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
47
|
-
horizontal: "horizontal";
|
|
48
47
|
vertical: "vertical";
|
|
48
|
+
horizontal: "horizontal";
|
|
49
49
|
}>>>;
|
|
50
50
|
columnsDirectionMobile: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
51
|
-
horizontal: "horizontal";
|
|
52
51
|
vertical: "vertical";
|
|
52
|
+
horizontal: "horizontal";
|
|
53
53
|
}>>>;
|
|
54
54
|
contentAlignment: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
55
55
|
top: "top";
|
|
@@ -34,6 +34,14 @@ export declare const ContainerPropsSchema: z.ZodObject<{
|
|
|
34
34
|
right: z.ZodNumber;
|
|
35
35
|
left: z.ZodNumber;
|
|
36
36
|
}, z.core.$strip>>>;
|
|
37
|
+
boxShadow: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
38
|
+
color: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
39
|
+
offsetX: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
40
|
+
offsetY: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
41
|
+
blur: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
42
|
+
spread: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
43
|
+
inset: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
44
|
+
}, z.core.$strip>>>;
|
|
37
45
|
}, z.core.$strip>>>;
|
|
38
46
|
props: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
39
47
|
fullWidth: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
@@ -96,6 +104,18 @@ export declare const ContainerPropsSchema: z.ZodObject<{
|
|
|
96
104
|
_self: "_self";
|
|
97
105
|
_blank: "_blank";
|
|
98
106
|
}>>>;
|
|
107
|
+
hoverEffect: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
108
|
+
enabled: z.ZodBoolean;
|
|
109
|
+
scale: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
110
|
+
duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
111
|
+
easing: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
112
|
+
ease: "ease";
|
|
113
|
+
"ease-in": "ease-in";
|
|
114
|
+
"ease-in-out": "ease-in-out";
|
|
115
|
+
"ease-out": "ease-out";
|
|
116
|
+
linear: "linear";
|
|
117
|
+
}>>>;
|
|
118
|
+
}, z.core.$strip>>>;
|
|
99
119
|
}, z.core.$strip>>>;
|
|
100
120
|
}, z.core.$strip>;
|
|
101
121
|
export type ContainerProps = z.infer<typeof ContainerPropsSchema> & {
|
|
@@ -107,5 +127,11 @@ export declare const ContainerPropsDefaults: {
|
|
|
107
127
|
readonly width: 300;
|
|
108
128
|
readonly widthUnit: "px";
|
|
109
129
|
readonly alignment: "left";
|
|
130
|
+
readonly hoverEffect: {
|
|
131
|
+
readonly enabled: false;
|
|
132
|
+
readonly scale: 1.05;
|
|
133
|
+
readonly duration: 500;
|
|
134
|
+
readonly easing: "ease-in-out";
|
|
135
|
+
};
|
|
110
136
|
};
|
|
111
137
|
export declare function Container({ style, props, children }: ContainerProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -54,6 +54,7 @@ export declare const HeadingPropsSchema: z.ZodObject<{
|
|
|
54
54
|
BEBAS_NEUE: "BEBAS_NEUE";
|
|
55
55
|
}>>>;
|
|
56
56
|
fontSize: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
57
|
+
lineClamp: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
57
58
|
fontWeight: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
58
59
|
400: "400";
|
|
59
60
|
500: "500";
|
|
@@ -59,6 +59,51 @@ export declare const ImagePropsSchema: z.ZodObject<{
|
|
|
59
59
|
rotationMobile: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
60
60
|
iconName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
61
61
|
iconFillColor: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString, z.ZodLiteral<"transparent">]>>>>;
|
|
62
|
+
animation: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
63
|
+
type: z.ZodEnum<{
|
|
64
|
+
none: "none";
|
|
65
|
+
"fade-in": "fade-in";
|
|
66
|
+
"slide-left": "slide-left";
|
|
67
|
+
"slide-right": "slide-right";
|
|
68
|
+
"slide-up": "slide-up";
|
|
69
|
+
"slide-down": "slide-down";
|
|
70
|
+
"zoom-in": "zoom-in";
|
|
71
|
+
bounce: "bounce";
|
|
72
|
+
}>;
|
|
73
|
+
trigger: z.ZodEnum<{
|
|
74
|
+
load: "load";
|
|
75
|
+
scroll: "scroll";
|
|
76
|
+
hover: "hover";
|
|
77
|
+
click: "click";
|
|
78
|
+
}>;
|
|
79
|
+
speed: z.ZodEnum<{
|
|
80
|
+
slow: "slow";
|
|
81
|
+
medium: "medium";
|
|
82
|
+
fast: "fast";
|
|
83
|
+
}>;
|
|
84
|
+
delay: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
85
|
+
disableOnMobile: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
86
|
+
}, z.core.$strip>>>;
|
|
87
|
+
hoverEffect: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
88
|
+
enabled: z.ZodBoolean;
|
|
89
|
+
scale: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
90
|
+
duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
91
|
+
easing: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
92
|
+
ease: "ease";
|
|
93
|
+
"ease-in": "ease-in";
|
|
94
|
+
"ease-in-out": "ease-in-out";
|
|
95
|
+
"ease-out": "ease-out";
|
|
96
|
+
linear: "linear";
|
|
97
|
+
}>>>;
|
|
98
|
+
}, z.core.$strip>>>;
|
|
99
|
+
boxShadow: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
100
|
+
color: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
101
|
+
offsetX: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
102
|
+
offsetY: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
103
|
+
blur: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
104
|
+
spread: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
105
|
+
inset: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
106
|
+
}, z.core.$strip>>>;
|
|
62
107
|
}, z.core.$strip>>>;
|
|
63
108
|
}, z.core.$strip>;
|
|
64
109
|
export type ImageProps = z.infer<typeof ImagePropsSchema>;
|
|
@@ -82,5 +127,19 @@ export declare const ImagePropsDefaults: {
|
|
|
82
127
|
readonly borderColor: any;
|
|
83
128
|
readonly borderWidth: any;
|
|
84
129
|
readonly rotation: 0;
|
|
130
|
+
readonly animation: {
|
|
131
|
+
readonly type: "none";
|
|
132
|
+
readonly trigger: "load";
|
|
133
|
+
readonly speed: "medium";
|
|
134
|
+
readonly delay: 0;
|
|
135
|
+
readonly disableOnMobile: false;
|
|
136
|
+
};
|
|
137
|
+
readonly hoverEffect: {
|
|
138
|
+
readonly enabled: false;
|
|
139
|
+
readonly scale: 1.05;
|
|
140
|
+
readonly duration: 500;
|
|
141
|
+
readonly easing: "ease-in-out";
|
|
142
|
+
};
|
|
143
|
+
readonly boxShadow: any;
|
|
85
144
|
};
|
|
86
145
|
export declare function Image({ style, props }: ImageProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -32,14 +32,14 @@ export declare const ListPropsSchema: z.ZodObject<{
|
|
|
32
32
|
}, z.core.$strip>>>;
|
|
33
33
|
props: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
34
34
|
listType: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
35
|
-
unordered: "unordered";
|
|
36
35
|
ordered: "ordered";
|
|
36
|
+
unordered: "unordered";
|
|
37
37
|
}>>>;
|
|
38
38
|
marker: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
39
|
-
check: "check";
|
|
40
39
|
none: "none";
|
|
41
|
-
|
|
40
|
+
check: "check";
|
|
42
41
|
square: "square";
|
|
42
|
+
circle: "circle";
|
|
43
43
|
decimal: "decimal";
|
|
44
44
|
disc: "disc";
|
|
45
45
|
dash: "dash";
|
|
@@ -20,7 +20,12 @@ export declare const LogoPropsSchema: z.ZodObject<{
|
|
|
20
20
|
urlMobile: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
21
21
|
alt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
22
22
|
decorative: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
23
|
+
showLink: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
23
24
|
linkHref: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
25
|
+
linkTarget: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
26
|
+
_self: "_self";
|
|
27
|
+
_blank: "_blank";
|
|
28
|
+
}>>>;
|
|
24
29
|
width: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
25
30
|
widthTablet: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
26
31
|
widthMobile: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -43,6 +48,39 @@ export declare const LogoPropsSchema: z.ZodObject<{
|
|
|
43
48
|
iconFillColor: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString, z.ZodLiteral<"transparent">]>>>>;
|
|
44
49
|
iconFillColorTablet: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString, z.ZodLiteral<"transparent">]>>>>;
|
|
45
50
|
iconFillColorMobile: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString, z.ZodLiteral<"transparent">]>>>>;
|
|
51
|
+
animation: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
52
|
+
type: z.ZodEnum<{
|
|
53
|
+
none: "none";
|
|
54
|
+
"fade-in": "fade-in";
|
|
55
|
+
"slide-left": "slide-left";
|
|
56
|
+
"slide-right": "slide-right";
|
|
57
|
+
"slide-up": "slide-up";
|
|
58
|
+
"slide-down": "slide-down";
|
|
59
|
+
"zoom-in": "zoom-in";
|
|
60
|
+
bounce: "bounce";
|
|
61
|
+
}>;
|
|
62
|
+
trigger: z.ZodEnum<{
|
|
63
|
+
load: "load";
|
|
64
|
+
scroll: "scroll";
|
|
65
|
+
hover: "hover";
|
|
66
|
+
click: "click";
|
|
67
|
+
}>;
|
|
68
|
+
speed: z.ZodEnum<{
|
|
69
|
+
slow: "slow";
|
|
70
|
+
medium: "medium";
|
|
71
|
+
fast: "fast";
|
|
72
|
+
}>;
|
|
73
|
+
delay: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
74
|
+
disableOnMobile: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
75
|
+
}, z.core.$strip>>>;
|
|
76
|
+
boxShadow: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
77
|
+
color: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
78
|
+
offsetX: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
79
|
+
offsetY: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
80
|
+
blur: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
81
|
+
spread: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
82
|
+
inset: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
83
|
+
}, z.core.$strip>>>;
|
|
46
84
|
}, z.core.$strip>>>;
|
|
47
85
|
}, z.core.$strip>;
|
|
48
86
|
export type LogoProps = z.infer<typeof LogoPropsSchema>;
|
|
@@ -52,7 +90,9 @@ export declare const LogoPropsDefaults: {
|
|
|
52
90
|
readonly urlMobile: any;
|
|
53
91
|
readonly alt: "Logo";
|
|
54
92
|
readonly decorative: false;
|
|
93
|
+
readonly showLink: true;
|
|
55
94
|
readonly linkHref: "https://pagepilot.fabbuilder.com/";
|
|
95
|
+
readonly linkTarget: "_blank";
|
|
56
96
|
readonly width: 160;
|
|
57
97
|
readonly widthTablet: any;
|
|
58
98
|
readonly widthMobile: any;
|
|
@@ -65,6 +105,7 @@ export declare const LogoPropsDefaults: {
|
|
|
65
105
|
readonly iconFillColor: any;
|
|
66
106
|
readonly iconFillColorTablet: any;
|
|
67
107
|
readonly iconFillColorMobile: any;
|
|
108
|
+
readonly boxShadow: any;
|
|
68
109
|
};
|
|
69
110
|
/**
|
|
70
111
|
* The Logo block renders an image at a fixed pixel width that the author
|
|
@@ -22,9 +22,9 @@ export declare const StepperPropsSchema: z.ZodObject<{
|
|
|
22
22
|
}, z.core.$strip>>>;
|
|
23
23
|
props: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
24
24
|
stepperType: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
25
|
+
both: "both";
|
|
25
26
|
numeric: "numeric";
|
|
26
27
|
dots: "dots";
|
|
27
|
-
both: "both";
|
|
28
28
|
}>>>;
|
|
29
29
|
totalDots: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
30
30
|
activeIndex: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -4,6 +4,7 @@ export declare const TextPropsSchema: z.ZodObject<{
|
|
|
4
4
|
color: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString, z.ZodLiteral<"transparent">]>>>;
|
|
5
5
|
backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString, z.ZodLiteral<"transparent">]>>>;
|
|
6
6
|
fontSize: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
7
|
+
lineClamp: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
7
8
|
fontFamily: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
8
9
|
MODERN_SANS: "MODERN_SANS";
|
|
9
10
|
BOOK_SANS: "BOOK_SANS";
|
|
@@ -20,7 +20,9 @@ type SettingRowProps = {
|
|
|
20
20
|
tooltip?: string;
|
|
21
21
|
/** Hide this row on the Tablet/Mobile device tabs (shared/content control). */
|
|
22
22
|
hideOnResponsive?: boolean;
|
|
23
|
+
/** Hide this row on Desktop — show it only on the Tablet/Mobile device tabs. */
|
|
24
|
+
hideOnDesktop?: boolean;
|
|
23
25
|
};
|
|
24
|
-
export declare const SettingRow: ({ label, children, divider, background, mt, maxHeight, tooltip, hideOnResponsive, }: SettingRowProps) => import("react/jsx-runtime").JSX.Element;
|
|
26
|
+
export declare const SettingRow: ({ label, children, divider, background, mt, maxHeight, tooltip, hideOnResponsive, hideOnDesktop, }: SettingRowProps) => import("react/jsx-runtime").JSX.Element;
|
|
25
27
|
declare function EmailLayoutSidebarFields({ data, setData, isTypeDemo, record, onBackgroundChange, }: EmailLayoutSidebarFieldsProps): import("react/jsx-runtime").JSX.Element;
|
|
26
28
|
export default EmailLayoutSidebarFields;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export type TAnimationProps = {
|
|
2
|
+
type: 'none' | 'fade-in' | 'slide-left' | 'slide-right' | 'slide-up' | 'slide-down' | 'zoom-in' | 'bounce';
|
|
3
|
+
trigger: 'load' | 'scroll' | 'hover' | 'click';
|
|
4
|
+
speed: 'slow' | 'medium' | 'fast';
|
|
5
|
+
delay?: number | null;
|
|
6
|
+
disableOnMobile?: boolean | null;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Reusable "Animation" CollapsibleSection for any block whose props schema
|
|
10
|
+
* has an `animation` field of this shape (Image, Container, Button, Logo,
|
|
11
|
+
* Avatar). The parent panel owns `data`/`updateData` — this component only
|
|
12
|
+
* reads/writes `props.animation` off of whatever object `updateProps` merges
|
|
13
|
+
* into.
|
|
14
|
+
*/
|
|
15
|
+
export default function AnimationSection({ rawAnimation, updateProps, }: {
|
|
16
|
+
rawAnimation: Partial<TAnimationProps> | null | undefined;
|
|
17
|
+
updateProps: (patch: Record<string, any>) => void;
|
|
18
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export type TBoxShadowValue = {
|
|
2
|
+
color?: string | null;
|
|
3
|
+
offsetX?: number;
|
|
4
|
+
offsetY?: number;
|
|
5
|
+
blur?: number;
|
|
6
|
+
spread?: number;
|
|
7
|
+
inset?: boolean;
|
|
8
|
+
} | null | undefined;
|
|
9
|
+
/**
|
|
10
|
+
* Reusable box-shadow control group: color, offsetX, offsetY, blur, spread,
|
|
11
|
+
* inset. Container puts `boxShadow` under `style`; Image / Button / Logo put
|
|
12
|
+
* it under `props`. Rather than branching this component on where the value
|
|
13
|
+
* lives, callers pass the current value + a single `onChange(next)` that
|
|
14
|
+
* writes it back to whichever slot they use.
|
|
15
|
+
*/
|
|
16
|
+
export default function BoxShadowControls({ value, onChange, }: {
|
|
17
|
+
value: TBoxShadowValue;
|
|
18
|
+
onChange: (next: TBoxShadowValue) => void;
|
|
19
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export type THoverEffectProps = {
|
|
2
|
+
enabled: boolean;
|
|
3
|
+
scale?: number | null;
|
|
4
|
+
duration?: number | null;
|
|
5
|
+
easing?: 'ease' | 'ease-in' | 'ease-out' | 'ease-in-out' | 'linear' | null;
|
|
6
|
+
};
|
|
7
|
+
/**
|
|
8
|
+
* Reusable "Hover Effect" CollapsibleSection for Image and Container: a plain
|
|
9
|
+
* CSS `:hover` scale/transition, distinct from AnimationSection's trigger-based
|
|
10
|
+
* keyframe animations.
|
|
11
|
+
*/
|
|
12
|
+
export default function HoverEffectSection({ rawHoverEffect, updateProps, cancelParentPadding, }: {
|
|
13
|
+
rawHoverEffect: Partial<THoverEffectProps> | null | undefined;
|
|
14
|
+
updateProps: (patch: Record<string, any>) => void;
|
|
15
|
+
cancelParentPadding?: boolean;
|
|
16
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -4,10 +4,10 @@ export declare const PanelRoot: import('@emotion/styled').StyledComponent<import
|
|
|
4
4
|
export declare const PanelHeader: import('@emotion/styled').StyledComponent<import('@mui/system').BoxOwnProps<Theme> & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('@mui/system').BoxOwnProps<Theme>> & import('@mui/system').MUIStyledCommonProps<Theme>, {}, {}>;
|
|
5
5
|
export declare const PanelContent: import('@emotion/styled').StyledComponent<import('@mui/system').BoxOwnProps<Theme> & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('@mui/system').BoxOwnProps<Theme>> & import('@mui/system').MUIStyledCommonProps<Theme>, {}, {}>;
|
|
6
6
|
export declare const HeaderBox: import('@emotion/styled').StyledComponent<import('@mui/system').BoxOwnProps<Theme> & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('@mui/system').BoxOwnProps<Theme>> & import('@mui/system').MUIStyledCommonProps<Theme>, {}, {}>;
|
|
7
|
-
export declare const HeaderTitle: import('@emotion/styled').StyledComponent<import('@mui/material').TypographyOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "top" | "bottom" | "right" | "left" | "padding" | "margin" | "style" | "lineHeight" | "children" | "className" | "color" | "fontFamily" | "fontSize" | "fontWeight" | "fontStyle" | "textAlign" | "flex" | "
|
|
7
|
+
export declare const HeaderTitle: import('@emotion/styled').StyledComponent<import('@mui/material').TypographyOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "top" | "bottom" | "right" | "left" | "padding" | "margin" | "style" | "lineHeight" | "children" | "className" | "color" | "fontFamily" | "fontSize" | "fontWeight" | "fontStyle" | "textAlign" | "flex" | "display" | "position" | "border" | "p" | "align" | "bgcolor" | "borderTop" | "width" | "px" | "height" | "borderRadius" | "borderColor" | "boxShadow" | "overflow" | "marginBottom" | "gap" | "paddingX" | "paddingY" | "marginX" | "marginY" | "maxWidth" | "maxHeight" | "classes" | "sx" | "letterSpacing" | "order" | "visibility" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "boxSizing" | "columnGap" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "justifyContent" | "justifyItems" | "justifySelf" | "marginBlockEnd" | "marginBlockStart" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "minHeight" | "minWidth" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "rowGap" | "textOverflow" | "textTransform" | "whiteSpace" | "borderBottom" | "borderLeft" | "borderRight" | "gridArea" | "gridColumn" | "gridRow" | "marginBlock" | "marginInline" | "paddingBlock" | "paddingInline" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "pt" | "pr" | "pb" | "pl" | "py" | "typography" | "displayPrint" | "variant" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & import('@mui/system').MUIStyledCommonProps<Theme>, {}, {}>;
|
|
8
8
|
export declare const ClipboardBar: import('@emotion/styled').StyledComponent<import('@mui/system').BoxOwnProps<Theme> & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('@mui/system').BoxOwnProps<Theme>> & import('@mui/system').MUIStyledCommonProps<Theme>, {}, {}>;
|
|
9
9
|
export declare const ActionSpan: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<Theme>, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
10
|
-
export declare const ActionButton: import('@emotion/styled').StyledComponent<import('@mui/material').ButtonOwnProps & Omit<import('@mui/material').ButtonBaseOwnProps, "classes"> & import('@mui/material/OverridableComponent').CommonProps & Omit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "style" | "children" | "className" | "color" | "disabled" | "action" | "href" | "tabIndex" | "fullWidth" | "
|
|
10
|
+
export declare const ActionButton: import('@emotion/styled').StyledComponent<import('@mui/material').ButtonOwnProps & Omit<import('@mui/material').ButtonBaseOwnProps, "classes"> & import('@mui/material/OverridableComponent').CommonProps & Omit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "style" | "children" | "className" | "color" | "size" | "disabled" | "action" | "href" | "tabIndex" | "fullWidth" | "loading" | "classes" | "sx" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "loadingIndicator" | "disableElevation" | "endIcon" | "loadingPosition" | "startIcon"> & import('@mui/system').MUIStyledCommonProps<Theme>, {}, {}>;
|
|
11
11
|
export declare const connectorVLineSx: (depth: number, isLast: boolean, INDENT: number) => SxProps<Theme>;
|
|
12
12
|
export declare const connectorHLineSx: (depth: number, INDENT: number) => SxProps<Theme>;
|
|
13
13
|
export declare const rowSx: (depth: number, INDENT: number, isSelected: boolean, dropPos: "before" | "after" | "inside" | null) => SxProps<Theme>;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { TReaderDocument } from '../../../../email-builder-core/index.ts';
|
|
2
|
-
|
|
2
|
+
import { TDeviceType } from '../../../documents/blocks/helpers/responsiveStyle';
|
|
3
|
+
declare const REFERENCE_WIDTH: number;
|
|
3
4
|
type MiniMapFrameProps = {
|
|
4
5
|
document: TReaderDocument;
|
|
5
6
|
width: number;
|
|
6
7
|
height: number;
|
|
8
|
+
device: TDeviceType;
|
|
7
9
|
onNaturalHeightChange?: (naturalHeight: number) => void;
|
|
8
10
|
};
|
|
9
11
|
/**
|
|
@@ -13,5 +15,5 @@ type MiniMapFrameProps = {
|
|
|
13
15
|
* canvas scroll. `height` here is just an initial placeholder used before the
|
|
14
16
|
* iframe has reported its natural height.
|
|
15
17
|
*/
|
|
16
|
-
export default function MiniMapFrame({ document, width, height, onNaturalHeightChange }: MiniMapFrameProps): import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
export default function MiniMapFrame({ document, width, height, device, onNaturalHeightChange }: MiniMapFrameProps): import("react/jsx-runtime").JSX.Element;
|
|
17
19
|
export { REFERENCE_WIDTH };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare const TruncatedEditorTitle: import('@emotion/styled').StyledComponent<import('@mui/material').TypographyOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "top" | "bottom" | "right" | "left" | "padding" | "margin" | "style" | "lineHeight" | "children" | "className" | "color" | "fontFamily" | "fontSize" | "fontWeight" | "fontStyle" | "textAlign" | "flex" | "
|
|
2
|
-
export declare const SettingLabelTypography: import('@emotion/styled').StyledComponent<import('@mui/material').TypographyOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "top" | "bottom" | "right" | "left" | "padding" | "margin" | "style" | "lineHeight" | "children" | "className" | "color" | "fontFamily" | "fontSize" | "fontWeight" | "fontStyle" | "textAlign" | "flex" | "
|
|
1
|
+
export declare const TruncatedEditorTitle: import('@emotion/styled').StyledComponent<import('@mui/material').TypographyOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "top" | "bottom" | "right" | "left" | "padding" | "margin" | "style" | "lineHeight" | "children" | "className" | "color" | "fontFamily" | "fontSize" | "fontWeight" | "fontStyle" | "textAlign" | "flex" | "display" | "position" | "border" | "p" | "align" | "bgcolor" | "borderTop" | "width" | "px" | "height" | "borderRadius" | "borderColor" | "boxShadow" | "overflow" | "marginBottom" | "gap" | "paddingX" | "paddingY" | "marginX" | "marginY" | "maxWidth" | "maxHeight" | "classes" | "sx" | "letterSpacing" | "order" | "visibility" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "boxSizing" | "columnGap" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "justifyContent" | "justifyItems" | "justifySelf" | "marginBlockEnd" | "marginBlockStart" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "minHeight" | "minWidth" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "rowGap" | "textOverflow" | "textTransform" | "whiteSpace" | "borderBottom" | "borderLeft" | "borderRight" | "gridArea" | "gridColumn" | "gridRow" | "marginBlock" | "marginInline" | "paddingBlock" | "paddingInline" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "pt" | "pr" | "pb" | "pl" | "py" | "typography" | "displayPrint" | "variant" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
|
|
2
|
+
export declare const SettingLabelTypography: import('@emotion/styled').StyledComponent<import('@mui/material').TypographyOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "top" | "bottom" | "right" | "left" | "padding" | "margin" | "style" | "lineHeight" | "children" | "className" | "color" | "fontFamily" | "fontSize" | "fontWeight" | "fontStyle" | "textAlign" | "flex" | "display" | "position" | "border" | "p" | "align" | "bgcolor" | "borderTop" | "width" | "px" | "height" | "borderRadius" | "borderColor" | "boxShadow" | "overflow" | "marginBottom" | "gap" | "paddingX" | "paddingY" | "marginX" | "marginY" | "maxWidth" | "maxHeight" | "classes" | "sx" | "letterSpacing" | "order" | "visibility" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "boxSizing" | "columnGap" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "justifyContent" | "justifyItems" | "justifySelf" | "marginBlockEnd" | "marginBlockStart" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "minHeight" | "minWidth" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "rowGap" | "textOverflow" | "textTransform" | "whiteSpace" | "borderBottom" | "borderLeft" | "borderRight" | "gridArea" | "gridColumn" | "gridRow" | "marginBlock" | "marginInline" | "paddingBlock" | "paddingInline" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "pt" | "pr" | "pb" | "pl" | "py" | "typography" | "displayPrint" | "variant" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
|
|
3
3
|
export declare const widthUnitSelectSx: {
|
|
4
4
|
'& .MuiOutlinedInput-notchedOutline': {
|
|
5
5
|
border: string;
|
|
@@ -18,4 +18,4 @@ export declare const widthUnitSelectSx: {
|
|
|
18
18
|
paddingBottom: string;
|
|
19
19
|
};
|
|
20
20
|
};
|
|
21
|
-
export declare const BorderedIconButton: import('@emotion/styled').StyledComponent<import('@mui/material').IconButtonOwnProps & Omit<import('@mui/material').ButtonBaseOwnProps, "classes"> & import('@mui/material/OverridableComponent').CommonProps & Omit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "style" | "children" | "className" | "color" | "
|
|
21
|
+
export declare const BorderedIconButton: import('@emotion/styled').StyledComponent<import('@mui/material').IconButtonOwnProps & Omit<import('@mui/material').ButtonBaseOwnProps, "classes"> & import('@mui/material/OverridableComponent').CommonProps & Omit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "style" | "children" | "className" | "color" | "size" | "disabled" | "action" | "tabIndex" | "loading" | "classes" | "sx" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge" | "loadingIndicator"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
|
|
@@ -12,35 +12,35 @@ declare const ButtonGroupPropsSchema: z.ZodObject<{
|
|
|
12
12
|
props: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
13
13
|
childrenIds: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
14
14
|
direction: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
15
|
-
row: "row";
|
|
16
15
|
column: "column";
|
|
16
|
+
row: "row";
|
|
17
17
|
}>>>;
|
|
18
18
|
directionTablet: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
19
|
-
row: "row";
|
|
20
19
|
column: "column";
|
|
20
|
+
row: "row";
|
|
21
21
|
}>>>;
|
|
22
22
|
directionMobile: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
23
|
-
row: "row";
|
|
24
23
|
column: "column";
|
|
24
|
+
row: "row";
|
|
25
25
|
}>>>;
|
|
26
26
|
gap: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
27
27
|
alignment: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
28
28
|
center: "center";
|
|
29
|
+
"space-between": "space-between";
|
|
29
30
|
end: "end";
|
|
30
31
|
start: "start";
|
|
31
|
-
"space-between": "space-between";
|
|
32
32
|
}>>>;
|
|
33
33
|
alignmentTablet: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
34
34
|
center: "center";
|
|
35
|
+
"space-between": "space-between";
|
|
35
36
|
end: "end";
|
|
36
37
|
start: "start";
|
|
37
|
-
"space-between": "space-between";
|
|
38
38
|
}>>>;
|
|
39
39
|
alignmentMobile: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
40
40
|
center: "center";
|
|
41
|
+
"space-between": "space-between";
|
|
41
42
|
end: "end";
|
|
42
43
|
start: "start";
|
|
43
|
-
"space-between": "space-between";
|
|
44
44
|
}>>>;
|
|
45
45
|
wrap: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
46
46
|
ariaLabel: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
package/dist/editor-sample/documents/blocks/ColumnsContainer/ColumnsContainerPropsSchema.d.ts
CHANGED
|
@@ -55,16 +55,16 @@ declare const ColumnsContainerPropsSchema: z.ZodObject<{
|
|
|
55
55
|
columnsGapTablet: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
56
56
|
columnsGapMobile: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
57
57
|
columnsDirection: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
58
|
-
horizontal: "horizontal";
|
|
59
58
|
vertical: "vertical";
|
|
59
|
+
horizontal: "horizontal";
|
|
60
60
|
}>>>;
|
|
61
61
|
columnsDirectionTablet: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
62
|
-
horizontal: "horizontal";
|
|
63
62
|
vertical: "vertical";
|
|
63
|
+
horizontal: "horizontal";
|
|
64
64
|
}>>>;
|
|
65
65
|
columnsDirectionMobile: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
66
|
-
horizontal: "horizontal";
|
|
67
66
|
vertical: "vertical";
|
|
67
|
+
horizontal: "horizontal";
|
|
68
68
|
}>>>;
|
|
69
69
|
contentAlignment: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
70
70
|
top: "top";
|