@kontakto/email-template-editor 2.0.0 → 2.1.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/index.d.cts CHANGED
@@ -15,6 +15,8 @@ declare const TextPropsSchema: z.ZodObject<{
15
15
  fontSize: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
16
16
  fontFamily: z.ZodOptional<z.ZodNullable<z.ZodEnum<["MODERN_SANS", "BOOK_SANS", "ORGANIC_SANS", "GEOMETRIC_SANS", "HEAVY_SANS", "ROUNDED_SANS", "MODERN_SERIF", "BOOK_SERIF", "MONOSPACE"]>>>;
17
17
  fontWeight: z.ZodNullable<z.ZodOptional<z.ZodEnum<["bold", "normal"]>>>;
18
+ lineHeight: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
19
+ letterSpacing: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
18
20
  textAlign: z.ZodNullable<z.ZodOptional<z.ZodEnum<["left", "center", "right"]>>>;
19
21
  padding: z.ZodNullable<z.ZodOptional<z.ZodObject<{
20
22
  top: z.ZodNumber;
@@ -38,6 +40,8 @@ declare const TextPropsSchema: z.ZodObject<{
38
40
  fontSize?: number | null | undefined;
39
41
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
40
42
  fontWeight?: "bold" | "normal" | null | undefined;
43
+ lineHeight?: number | null | undefined;
44
+ letterSpacing?: number | null | undefined;
41
45
  textAlign?: "right" | "left" | "center" | null | undefined;
42
46
  padding?: {
43
47
  top: number;
@@ -51,6 +55,8 @@ declare const TextPropsSchema: z.ZodObject<{
51
55
  fontSize?: number | null | undefined;
52
56
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
53
57
  fontWeight?: "bold" | "normal" | null | undefined;
58
+ lineHeight?: number | null | undefined;
59
+ letterSpacing?: number | null | undefined;
54
60
  textAlign?: "right" | "left" | "center" | null | undefined;
55
61
  padding?: {
56
62
  top: number;
@@ -76,6 +82,8 @@ declare const TextPropsSchema: z.ZodObject<{
76
82
  fontSize?: number | null | undefined;
77
83
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
78
84
  fontWeight?: "bold" | "normal" | null | undefined;
85
+ lineHeight?: number | null | undefined;
86
+ letterSpacing?: number | null | undefined;
79
87
  textAlign?: "right" | "left" | "center" | null | undefined;
80
88
  padding?: {
81
89
  top: number;
@@ -95,6 +103,8 @@ declare const TextPropsSchema: z.ZodObject<{
95
103
  fontSize?: number | null | undefined;
96
104
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
97
105
  fontWeight?: "bold" | "normal" | null | undefined;
106
+ lineHeight?: number | null | undefined;
107
+ letterSpacing?: number | null | undefined;
98
108
  textAlign?: "right" | "left" | "center" | null | undefined;
99
109
  padding?: {
100
110
  top: number;
@@ -116,6 +126,8 @@ declare const TextProps: z.ZodObject<{
116
126
  fontSize: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
117
127
  fontFamily: z.ZodOptional<z.ZodNullable<z.ZodEnum<["MODERN_SANS", "BOOK_SANS", "ORGANIC_SANS", "GEOMETRIC_SANS", "HEAVY_SANS", "ROUNDED_SANS", "MODERN_SERIF", "BOOK_SERIF", "MONOSPACE"]>>>;
118
128
  fontWeight: z.ZodNullable<z.ZodOptional<z.ZodEnum<["bold", "normal"]>>>;
129
+ lineHeight: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
130
+ letterSpacing: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
119
131
  textAlign: z.ZodNullable<z.ZodOptional<z.ZodEnum<["left", "center", "right"]>>>;
120
132
  padding: z.ZodNullable<z.ZodOptional<z.ZodObject<{
121
133
  top: z.ZodNumber;
@@ -139,6 +151,8 @@ declare const TextProps: z.ZodObject<{
139
151
  fontSize?: number | null | undefined;
140
152
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
141
153
  fontWeight?: "bold" | "normal" | null | undefined;
154
+ lineHeight?: number | null | undefined;
155
+ letterSpacing?: number | null | undefined;
142
156
  textAlign?: "right" | "left" | "center" | null | undefined;
143
157
  padding?: {
144
158
  top: number;
@@ -152,6 +166,8 @@ declare const TextProps: z.ZodObject<{
152
166
  fontSize?: number | null | undefined;
153
167
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
154
168
  fontWeight?: "bold" | "normal" | null | undefined;
169
+ lineHeight?: number | null | undefined;
170
+ letterSpacing?: number | null | undefined;
155
171
  textAlign?: "right" | "left" | "center" | null | undefined;
156
172
  padding?: {
157
173
  top: number;
@@ -177,6 +193,8 @@ declare const TextProps: z.ZodObject<{
177
193
  fontSize?: number | null | undefined;
178
194
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
179
195
  fontWeight?: "bold" | "normal" | null | undefined;
196
+ lineHeight?: number | null | undefined;
197
+ letterSpacing?: number | null | undefined;
180
198
  textAlign?: "right" | "left" | "center" | null | undefined;
181
199
  padding?: {
182
200
  top: number;
@@ -196,6 +214,8 @@ declare const TextProps: z.ZodObject<{
196
214
  fontSize?: number | null | undefined;
197
215
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
198
216
  fontWeight?: "bold" | "normal" | null | undefined;
217
+ lineHeight?: number | null | undefined;
218
+ letterSpacing?: number | null | undefined;
199
219
  textAlign?: "right" | "left" | "center" | null | undefined;
200
220
  padding?: {
201
221
  top: number;
@@ -399,6 +419,8 @@ declare const ButtonPropsSchema: z.ZodObject<{
399
419
  fontSize: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
400
420
  fontFamily: z.ZodOptional<z.ZodNullable<z.ZodEnum<["MODERN_SANS", "BOOK_SANS", "ORGANIC_SANS", "GEOMETRIC_SANS", "HEAVY_SANS", "ROUNDED_SANS", "MODERN_SERIF", "BOOK_SERIF", "MONOSPACE"]>>>;
401
421
  fontWeight: z.ZodNullable<z.ZodOptional<z.ZodEnum<["bold", "normal"]>>>;
422
+ lineHeight: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
423
+ letterSpacing: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
402
424
  textAlign: z.ZodNullable<z.ZodOptional<z.ZodEnum<["left", "center", "right"]>>>;
403
425
  padding: z.ZodNullable<z.ZodOptional<z.ZodObject<{
404
426
  top: z.ZodNumber;
@@ -421,6 +443,8 @@ declare const ButtonPropsSchema: z.ZodObject<{
421
443
  fontSize?: number | null | undefined;
422
444
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
423
445
  fontWeight?: "bold" | "normal" | null | undefined;
446
+ lineHeight?: number | null | undefined;
447
+ letterSpacing?: number | null | undefined;
424
448
  textAlign?: "right" | "left" | "center" | null | undefined;
425
449
  padding?: {
426
450
  top: number;
@@ -433,6 +457,8 @@ declare const ButtonPropsSchema: z.ZodObject<{
433
457
  fontSize?: number | null | undefined;
434
458
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
435
459
  fontWeight?: "bold" | "normal" | null | undefined;
460
+ lineHeight?: number | null | undefined;
461
+ letterSpacing?: number | null | undefined;
436
462
  textAlign?: "right" | "left" | "center" | null | undefined;
437
463
  padding?: {
438
464
  top: number;
@@ -472,6 +498,8 @@ declare const ButtonPropsSchema: z.ZodObject<{
472
498
  fontSize?: number | null | undefined;
473
499
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
474
500
  fontWeight?: "bold" | "normal" | null | undefined;
501
+ lineHeight?: number | null | undefined;
502
+ letterSpacing?: number | null | undefined;
475
503
  textAlign?: "right" | "left" | "center" | null | undefined;
476
504
  padding?: {
477
505
  top: number;
@@ -495,6 +523,8 @@ declare const ButtonPropsSchema: z.ZodObject<{
495
523
  fontSize?: number | null | undefined;
496
524
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
497
525
  fontWeight?: "bold" | "normal" | null | undefined;
526
+ lineHeight?: number | null | undefined;
527
+ letterSpacing?: number | null | undefined;
498
528
  textAlign?: "right" | "left" | "center" | null | undefined;
499
529
  padding?: {
500
530
  top: number;
@@ -520,6 +550,8 @@ declare const ButtonProps: z.ZodObject<{
520
550
  fontSize: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
521
551
  fontFamily: z.ZodOptional<z.ZodNullable<z.ZodEnum<["MODERN_SANS", "BOOK_SANS", "ORGANIC_SANS", "GEOMETRIC_SANS", "HEAVY_SANS", "ROUNDED_SANS", "MODERN_SERIF", "BOOK_SERIF", "MONOSPACE"]>>>;
522
552
  fontWeight: z.ZodNullable<z.ZodOptional<z.ZodEnum<["bold", "normal"]>>>;
553
+ lineHeight: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
554
+ letterSpacing: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
523
555
  textAlign: z.ZodNullable<z.ZodOptional<z.ZodEnum<["left", "center", "right"]>>>;
524
556
  padding: z.ZodNullable<z.ZodOptional<z.ZodObject<{
525
557
  top: z.ZodNumber;
@@ -542,6 +574,8 @@ declare const ButtonProps: z.ZodObject<{
542
574
  fontSize?: number | null | undefined;
543
575
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
544
576
  fontWeight?: "bold" | "normal" | null | undefined;
577
+ lineHeight?: number | null | undefined;
578
+ letterSpacing?: number | null | undefined;
545
579
  textAlign?: "right" | "left" | "center" | null | undefined;
546
580
  padding?: {
547
581
  top: number;
@@ -554,6 +588,8 @@ declare const ButtonProps: z.ZodObject<{
554
588
  fontSize?: number | null | undefined;
555
589
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
556
590
  fontWeight?: "bold" | "normal" | null | undefined;
591
+ lineHeight?: number | null | undefined;
592
+ letterSpacing?: number | null | undefined;
557
593
  textAlign?: "right" | "left" | "center" | null | undefined;
558
594
  padding?: {
559
595
  top: number;
@@ -593,6 +629,8 @@ declare const ButtonProps: z.ZodObject<{
593
629
  fontSize?: number | null | undefined;
594
630
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
595
631
  fontWeight?: "bold" | "normal" | null | undefined;
632
+ lineHeight?: number | null | undefined;
633
+ letterSpacing?: number | null | undefined;
596
634
  textAlign?: "right" | "left" | "center" | null | undefined;
597
635
  padding?: {
598
636
  top: number;
@@ -616,6 +654,8 @@ declare const ButtonProps: z.ZodObject<{
616
654
  fontSize?: number | null | undefined;
617
655
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
618
656
  fontWeight?: "bold" | "normal" | null | undefined;
657
+ lineHeight?: number | null | undefined;
658
+ letterSpacing?: number | null | undefined;
619
659
  textAlign?: "right" | "left" | "center" | null | undefined;
620
660
  padding?: {
621
661
  top: number;
@@ -1001,11 +1041,11 @@ declare const DividerPropsSchema: z.ZodObject<{
1001
1041
  lineColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1002
1042
  lineHeight: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1003
1043
  }, "strip", z.ZodTypeAny, {
1004
- lineColor?: string | null | undefined;
1005
1044
  lineHeight?: number | null | undefined;
1006
- }, {
1007
1045
  lineColor?: string | null | undefined;
1046
+ }, {
1008
1047
  lineHeight?: number | null | undefined;
1048
+ lineColor?: string | null | undefined;
1009
1049
  }>>>;
1010
1050
  }, "strip", z.ZodTypeAny, {
1011
1051
  style?: {
@@ -1018,8 +1058,8 @@ declare const DividerPropsSchema: z.ZodObject<{
1018
1058
  } | null | undefined;
1019
1059
  } | null | undefined;
1020
1060
  props?: {
1021
- lineColor?: string | null | undefined;
1022
1061
  lineHeight?: number | null | undefined;
1062
+ lineColor?: string | null | undefined;
1023
1063
  } | null | undefined;
1024
1064
  }, {
1025
1065
  style?: {
@@ -1032,8 +1072,8 @@ declare const DividerPropsSchema: z.ZodObject<{
1032
1072
  } | null | undefined;
1033
1073
  } | null | undefined;
1034
1074
  props?: {
1035
- lineColor?: string | null | undefined;
1036
1075
  lineHeight?: number | null | undefined;
1076
+ lineColor?: string | null | undefined;
1037
1077
  } | null | undefined;
1038
1078
  }>;
1039
1079
  type DividerProps = z.infer<typeof DividerPropsSchema>;
@@ -1077,11 +1117,11 @@ declare const DividerProps: z.ZodObject<{
1077
1117
  lineColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1078
1118
  lineHeight: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1079
1119
  }, "strip", z.ZodTypeAny, {
1080
- lineColor?: string | null | undefined;
1081
1120
  lineHeight?: number | null | undefined;
1082
- }, {
1083
1121
  lineColor?: string | null | undefined;
1122
+ }, {
1084
1123
  lineHeight?: number | null | undefined;
1124
+ lineColor?: string | null | undefined;
1085
1125
  }>>>;
1086
1126
  }, "strip", z.ZodTypeAny, {
1087
1127
  style?: {
@@ -1094,8 +1134,8 @@ declare const DividerProps: z.ZodObject<{
1094
1134
  } | null | undefined;
1095
1135
  } | null | undefined;
1096
1136
  props?: {
1097
- lineColor?: string | null | undefined;
1098
1137
  lineHeight?: number | null | undefined;
1138
+ lineColor?: string | null | undefined;
1099
1139
  } | null | undefined;
1100
1140
  }, {
1101
1141
  style?: {
@@ -1108,8 +1148,8 @@ declare const DividerProps: z.ZodObject<{
1108
1148
  } | null | undefined;
1109
1149
  } | null | undefined;
1110
1150
  props?: {
1111
- lineColor?: string | null | undefined;
1112
1151
  lineHeight?: number | null | undefined;
1152
+ lineColor?: string | null | undefined;
1113
1153
  } | null | undefined;
1114
1154
  }>;
1115
1155
  declare const DividerPropsDefaults: {
@@ -1134,6 +1174,8 @@ declare const HeadingPropsSchema: z.ZodObject<{
1134
1174
  backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1135
1175
  fontFamily: z.ZodOptional<z.ZodNullable<z.ZodEnum<["MODERN_SANS", "BOOK_SANS", "ORGANIC_SANS", "GEOMETRIC_SANS", "HEAVY_SANS", "ROUNDED_SANS", "MODERN_SERIF", "BOOK_SERIF", "MONOSPACE"]>>>;
1136
1176
  fontWeight: z.ZodNullable<z.ZodOptional<z.ZodEnum<["bold", "normal"]>>>;
1177
+ lineHeight: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1178
+ letterSpacing: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1137
1179
  textAlign: z.ZodNullable<z.ZodOptional<z.ZodEnum<["left", "center", "right"]>>>;
1138
1180
  padding: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1139
1181
  top: z.ZodNumber;
@@ -1156,6 +1198,8 @@ declare const HeadingPropsSchema: z.ZodObject<{
1156
1198
  backgroundColor?: string | null | undefined;
1157
1199
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
1158
1200
  fontWeight?: "bold" | "normal" | null | undefined;
1201
+ lineHeight?: number | null | undefined;
1202
+ letterSpacing?: number | null | undefined;
1159
1203
  textAlign?: "right" | "left" | "center" | null | undefined;
1160
1204
  padding?: {
1161
1205
  top: number;
@@ -1168,6 +1212,8 @@ declare const HeadingPropsSchema: z.ZodObject<{
1168
1212
  backgroundColor?: string | null | undefined;
1169
1213
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
1170
1214
  fontWeight?: "bold" | "normal" | null | undefined;
1215
+ lineHeight?: number | null | undefined;
1216
+ letterSpacing?: number | null | undefined;
1171
1217
  textAlign?: "right" | "left" | "center" | null | undefined;
1172
1218
  padding?: {
1173
1219
  top: number;
@@ -1182,6 +1228,8 @@ declare const HeadingPropsSchema: z.ZodObject<{
1182
1228
  backgroundColor?: string | null | undefined;
1183
1229
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
1184
1230
  fontWeight?: "bold" | "normal" | null | undefined;
1231
+ lineHeight?: number | null | undefined;
1232
+ letterSpacing?: number | null | undefined;
1185
1233
  textAlign?: "right" | "left" | "center" | null | undefined;
1186
1234
  padding?: {
1187
1235
  top: number;
@@ -1200,6 +1248,8 @@ declare const HeadingPropsSchema: z.ZodObject<{
1200
1248
  backgroundColor?: string | null | undefined;
1201
1249
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
1202
1250
  fontWeight?: "bold" | "normal" | null | undefined;
1251
+ lineHeight?: number | null | undefined;
1252
+ letterSpacing?: number | null | undefined;
1203
1253
  textAlign?: "right" | "left" | "center" | null | undefined;
1204
1254
  padding?: {
1205
1255
  top: number;
@@ -1230,6 +1280,8 @@ declare const HeadingProps: z.ZodObject<{
1230
1280
  backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1231
1281
  fontFamily: z.ZodOptional<z.ZodNullable<z.ZodEnum<["MODERN_SANS", "BOOK_SANS", "ORGANIC_SANS", "GEOMETRIC_SANS", "HEAVY_SANS", "ROUNDED_SANS", "MODERN_SERIF", "BOOK_SERIF", "MONOSPACE"]>>>;
1232
1282
  fontWeight: z.ZodNullable<z.ZodOptional<z.ZodEnum<["bold", "normal"]>>>;
1283
+ lineHeight: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1284
+ letterSpacing: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1233
1285
  textAlign: z.ZodNullable<z.ZodOptional<z.ZodEnum<["left", "center", "right"]>>>;
1234
1286
  padding: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1235
1287
  top: z.ZodNumber;
@@ -1252,6 +1304,8 @@ declare const HeadingProps: z.ZodObject<{
1252
1304
  backgroundColor?: string | null | undefined;
1253
1305
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
1254
1306
  fontWeight?: "bold" | "normal" | null | undefined;
1307
+ lineHeight?: number | null | undefined;
1308
+ letterSpacing?: number | null | undefined;
1255
1309
  textAlign?: "right" | "left" | "center" | null | undefined;
1256
1310
  padding?: {
1257
1311
  top: number;
@@ -1264,6 +1318,8 @@ declare const HeadingProps: z.ZodObject<{
1264
1318
  backgroundColor?: string | null | undefined;
1265
1319
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
1266
1320
  fontWeight?: "bold" | "normal" | null | undefined;
1321
+ lineHeight?: number | null | undefined;
1322
+ letterSpacing?: number | null | undefined;
1267
1323
  textAlign?: "right" | "left" | "center" | null | undefined;
1268
1324
  padding?: {
1269
1325
  top: number;
@@ -1278,6 +1334,8 @@ declare const HeadingProps: z.ZodObject<{
1278
1334
  backgroundColor?: string | null | undefined;
1279
1335
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
1280
1336
  fontWeight?: "bold" | "normal" | null | undefined;
1337
+ lineHeight?: number | null | undefined;
1338
+ letterSpacing?: number | null | undefined;
1281
1339
  textAlign?: "right" | "left" | "center" | null | undefined;
1282
1340
  padding?: {
1283
1341
  top: number;
@@ -1296,6 +1354,8 @@ declare const HeadingProps: z.ZodObject<{
1296
1354
  backgroundColor?: string | null | undefined;
1297
1355
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
1298
1356
  fontWeight?: "bold" | "normal" | null | undefined;
1357
+ lineHeight?: number | null | undefined;
1358
+ letterSpacing?: number | null | undefined;
1299
1359
  textAlign?: "right" | "left" | "center" | null | undefined;
1300
1360
  padding?: {
1301
1361
  top: number;
@@ -2328,12 +2388,15 @@ declare const ReaderBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
2328
2388
  variables: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
2329
2389
  name: z.ZodString;
2330
2390
  description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2391
+ sampleValue: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2331
2392
  }, "strip", z.ZodTypeAny, {
2332
2393
  name: string;
2333
2394
  description?: string | null | undefined;
2395
+ sampleValue?: string | null | undefined;
2334
2396
  }, {
2335
2397
  name: string;
2336
2398
  description?: string | null | undefined;
2399
+ sampleValue?: string | null | undefined;
2337
2400
  }>, "many">>>;
2338
2401
  }, "strip", z.ZodTypeAny, {
2339
2402
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
@@ -2348,6 +2411,7 @@ declare const ReaderBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
2348
2411
  variables?: {
2349
2412
  name: string;
2350
2413
  description?: string | null | undefined;
2414
+ sampleValue?: string | null | undefined;
2351
2415
  }[] | null | undefined;
2352
2416
  }, {
2353
2417
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
@@ -2362,6 +2426,7 @@ declare const ReaderBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
2362
2426
  variables?: {
2363
2427
  name: string;
2364
2428
  description?: string | null | undefined;
2429
+ sampleValue?: string | null | undefined;
2365
2430
  }[] | null | undefined;
2366
2431
  }>;
2367
2432
  Avatar: z.ZodObject<{
@@ -2455,6 +2520,8 @@ declare const ReaderBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
2455
2520
  fontSize: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
2456
2521
  fontFamily: z.ZodOptional<z.ZodNullable<z.ZodEnum<["MODERN_SANS", "BOOK_SANS", "ORGANIC_SANS", "GEOMETRIC_SANS", "HEAVY_SANS", "ROUNDED_SANS", "MODERN_SERIF", "BOOK_SERIF", "MONOSPACE"]>>>;
2457
2522
  fontWeight: z.ZodNullable<z.ZodOptional<z.ZodEnum<["bold", "normal"]>>>;
2523
+ lineHeight: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
2524
+ letterSpacing: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
2458
2525
  textAlign: z.ZodNullable<z.ZodOptional<z.ZodEnum<["left", "center", "right"]>>>;
2459
2526
  padding: z.ZodNullable<z.ZodOptional<z.ZodObject<{
2460
2527
  top: z.ZodNumber;
@@ -2477,6 +2544,8 @@ declare const ReaderBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
2477
2544
  fontSize?: number | null | undefined;
2478
2545
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
2479
2546
  fontWeight?: "bold" | "normal" | null | undefined;
2547
+ lineHeight?: number | null | undefined;
2548
+ letterSpacing?: number | null | undefined;
2480
2549
  textAlign?: "right" | "left" | "center" | null | undefined;
2481
2550
  padding?: {
2482
2551
  top: number;
@@ -2489,6 +2558,8 @@ declare const ReaderBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
2489
2558
  fontSize?: number | null | undefined;
2490
2559
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
2491
2560
  fontWeight?: "bold" | "normal" | null | undefined;
2561
+ lineHeight?: number | null | undefined;
2562
+ letterSpacing?: number | null | undefined;
2492
2563
  textAlign?: "right" | "left" | "center" | null | undefined;
2493
2564
  padding?: {
2494
2565
  top: number;
@@ -2528,6 +2599,8 @@ declare const ReaderBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
2528
2599
  fontSize?: number | null | undefined;
2529
2600
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
2530
2601
  fontWeight?: "bold" | "normal" | null | undefined;
2602
+ lineHeight?: number | null | undefined;
2603
+ letterSpacing?: number | null | undefined;
2531
2604
  textAlign?: "right" | "left" | "center" | null | undefined;
2532
2605
  padding?: {
2533
2606
  top: number;
@@ -2551,6 +2624,8 @@ declare const ReaderBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
2551
2624
  fontSize?: number | null | undefined;
2552
2625
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
2553
2626
  fontWeight?: "bold" | "normal" | null | undefined;
2627
+ lineHeight?: number | null | undefined;
2628
+ letterSpacing?: number | null | undefined;
2554
2629
  textAlign?: "right" | "left" | "center" | null | undefined;
2555
2630
  padding?: {
2556
2631
  top: number;
@@ -2609,11 +2684,11 @@ declare const ReaderBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
2609
2684
  lineColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2610
2685
  lineHeight: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
2611
2686
  }, "strip", z.ZodTypeAny, {
2612
- lineColor?: string | null | undefined;
2613
2687
  lineHeight?: number | null | undefined;
2614
- }, {
2615
2688
  lineColor?: string | null | undefined;
2689
+ }, {
2616
2690
  lineHeight?: number | null | undefined;
2691
+ lineColor?: string | null | undefined;
2617
2692
  }>>>;
2618
2693
  }, "strip", z.ZodTypeAny, {
2619
2694
  style?: {
@@ -2626,8 +2701,8 @@ declare const ReaderBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
2626
2701
  } | null | undefined;
2627
2702
  } | null | undefined;
2628
2703
  props?: {
2629
- lineColor?: string | null | undefined;
2630
2704
  lineHeight?: number | null | undefined;
2705
+ lineColor?: string | null | undefined;
2631
2706
  } | null | undefined;
2632
2707
  }, {
2633
2708
  style?: {
@@ -2640,8 +2715,8 @@ declare const ReaderBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
2640
2715
  } | null | undefined;
2641
2716
  } | null | undefined;
2642
2717
  props?: {
2643
- lineColor?: string | null | undefined;
2644
2718
  lineHeight?: number | null | undefined;
2719
+ lineColor?: string | null | undefined;
2645
2720
  } | null | undefined;
2646
2721
  }>;
2647
2722
  Heading: z.ZodObject<{
@@ -2660,6 +2735,8 @@ declare const ReaderBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
2660
2735
  backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2661
2736
  fontFamily: z.ZodOptional<z.ZodNullable<z.ZodEnum<["MODERN_SANS", "BOOK_SANS", "ORGANIC_SANS", "GEOMETRIC_SANS", "HEAVY_SANS", "ROUNDED_SANS", "MODERN_SERIF", "BOOK_SERIF", "MONOSPACE"]>>>;
2662
2737
  fontWeight: z.ZodNullable<z.ZodOptional<z.ZodEnum<["bold", "normal"]>>>;
2738
+ lineHeight: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
2739
+ letterSpacing: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
2663
2740
  textAlign: z.ZodNullable<z.ZodOptional<z.ZodEnum<["left", "center", "right"]>>>;
2664
2741
  padding: z.ZodNullable<z.ZodOptional<z.ZodObject<{
2665
2742
  top: z.ZodNumber;
@@ -2682,6 +2759,8 @@ declare const ReaderBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
2682
2759
  backgroundColor?: string | null | undefined;
2683
2760
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
2684
2761
  fontWeight?: "bold" | "normal" | null | undefined;
2762
+ lineHeight?: number | null | undefined;
2763
+ letterSpacing?: number | null | undefined;
2685
2764
  textAlign?: "right" | "left" | "center" | null | undefined;
2686
2765
  padding?: {
2687
2766
  top: number;
@@ -2694,6 +2773,8 @@ declare const ReaderBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
2694
2773
  backgroundColor?: string | null | undefined;
2695
2774
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
2696
2775
  fontWeight?: "bold" | "normal" | null | undefined;
2776
+ lineHeight?: number | null | undefined;
2777
+ letterSpacing?: number | null | undefined;
2697
2778
  textAlign?: "right" | "left" | "center" | null | undefined;
2698
2779
  padding?: {
2699
2780
  top: number;
@@ -2708,6 +2789,8 @@ declare const ReaderBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
2708
2789
  backgroundColor?: string | null | undefined;
2709
2790
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
2710
2791
  fontWeight?: "bold" | "normal" | null | undefined;
2792
+ lineHeight?: number | null | undefined;
2793
+ letterSpacing?: number | null | undefined;
2711
2794
  textAlign?: "right" | "left" | "center" | null | undefined;
2712
2795
  padding?: {
2713
2796
  top: number;
@@ -2726,6 +2809,8 @@ declare const ReaderBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
2726
2809
  backgroundColor?: string | null | undefined;
2727
2810
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
2728
2811
  fontWeight?: "bold" | "normal" | null | undefined;
2812
+ lineHeight?: number | null | undefined;
2813
+ letterSpacing?: number | null | undefined;
2729
2814
  textAlign?: "right" | "left" | "center" | null | undefined;
2730
2815
  padding?: {
2731
2816
  top: number;
@@ -2953,6 +3038,8 @@ declare const ReaderBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
2953
3038
  fontSize: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
2954
3039
  fontFamily: z.ZodOptional<z.ZodNullable<z.ZodEnum<["MODERN_SANS", "BOOK_SANS", "ORGANIC_SANS", "GEOMETRIC_SANS", "HEAVY_SANS", "ROUNDED_SANS", "MODERN_SERIF", "BOOK_SERIF", "MONOSPACE"]>>>;
2955
3040
  fontWeight: z.ZodNullable<z.ZodOptional<z.ZodEnum<["bold", "normal"]>>>;
3041
+ lineHeight: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
3042
+ letterSpacing: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
2956
3043
  textAlign: z.ZodNullable<z.ZodOptional<z.ZodEnum<["left", "center", "right"]>>>;
2957
3044
  padding: z.ZodNullable<z.ZodOptional<z.ZodObject<{
2958
3045
  top: z.ZodNumber;
@@ -2976,6 +3063,8 @@ declare const ReaderBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
2976
3063
  fontSize?: number | null | undefined;
2977
3064
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
2978
3065
  fontWeight?: "bold" | "normal" | null | undefined;
3066
+ lineHeight?: number | null | undefined;
3067
+ letterSpacing?: number | null | undefined;
2979
3068
  textAlign?: "right" | "left" | "center" | null | undefined;
2980
3069
  padding?: {
2981
3070
  top: number;
@@ -2989,6 +3078,8 @@ declare const ReaderBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
2989
3078
  fontSize?: number | null | undefined;
2990
3079
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
2991
3080
  fontWeight?: "bold" | "normal" | null | undefined;
3081
+ lineHeight?: number | null | undefined;
3082
+ letterSpacing?: number | null | undefined;
2992
3083
  textAlign?: "right" | "left" | "center" | null | undefined;
2993
3084
  padding?: {
2994
3085
  top: number;
@@ -3014,6 +3105,8 @@ declare const ReaderBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
3014
3105
  fontSize?: number | null | undefined;
3015
3106
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
3016
3107
  fontWeight?: "bold" | "normal" | null | undefined;
3108
+ lineHeight?: number | null | undefined;
3109
+ letterSpacing?: number | null | undefined;
3017
3110
  textAlign?: "right" | "left" | "center" | null | undefined;
3018
3111
  padding?: {
3019
3112
  top: number;
@@ -3033,6 +3126,8 @@ declare const ReaderBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
3033
3126
  fontSize?: number | null | undefined;
3034
3127
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
3035
3128
  fontWeight?: "bold" | "normal" | null | undefined;
3129
+ lineHeight?: number | null | undefined;
3130
+ letterSpacing?: number | null | undefined;
3036
3131
  textAlign?: "right" | "left" | "center" | null | undefined;
3037
3132
  padding?: {
3038
3133
  top: number;
@@ -3419,12 +3514,15 @@ declare const ReaderDocumentSchema: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodD
3419
3514
  variables: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
3420
3515
  name: z.ZodString;
3421
3516
  description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3517
+ sampleValue: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3422
3518
  }, "strip", z.ZodTypeAny, {
3423
3519
  name: string;
3424
3520
  description?: string | null | undefined;
3521
+ sampleValue?: string | null | undefined;
3425
3522
  }, {
3426
3523
  name: string;
3427
3524
  description?: string | null | undefined;
3525
+ sampleValue?: string | null | undefined;
3428
3526
  }>, "many">>>;
3429
3527
  }, "strip", z.ZodTypeAny, {
3430
3528
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
@@ -3439,6 +3537,7 @@ declare const ReaderDocumentSchema: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodD
3439
3537
  variables?: {
3440
3538
  name: string;
3441
3539
  description?: string | null | undefined;
3540
+ sampleValue?: string | null | undefined;
3442
3541
  }[] | null | undefined;
3443
3542
  }, {
3444
3543
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
@@ -3453,6 +3552,7 @@ declare const ReaderDocumentSchema: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodD
3453
3552
  variables?: {
3454
3553
  name: string;
3455
3554
  description?: string | null | undefined;
3555
+ sampleValue?: string | null | undefined;
3456
3556
  }[] | null | undefined;
3457
3557
  }>;
3458
3558
  Avatar: z.ZodObject<{
@@ -3546,6 +3646,8 @@ declare const ReaderDocumentSchema: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodD
3546
3646
  fontSize: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
3547
3647
  fontFamily: z.ZodOptional<z.ZodNullable<z.ZodEnum<["MODERN_SANS", "BOOK_SANS", "ORGANIC_SANS", "GEOMETRIC_SANS", "HEAVY_SANS", "ROUNDED_SANS", "MODERN_SERIF", "BOOK_SERIF", "MONOSPACE"]>>>;
3548
3648
  fontWeight: z.ZodNullable<z.ZodOptional<z.ZodEnum<["bold", "normal"]>>>;
3649
+ lineHeight: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
3650
+ letterSpacing: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
3549
3651
  textAlign: z.ZodNullable<z.ZodOptional<z.ZodEnum<["left", "center", "right"]>>>;
3550
3652
  padding: z.ZodNullable<z.ZodOptional<z.ZodObject<{
3551
3653
  top: z.ZodNumber;
@@ -3568,6 +3670,8 @@ declare const ReaderDocumentSchema: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodD
3568
3670
  fontSize?: number | null | undefined;
3569
3671
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
3570
3672
  fontWeight?: "bold" | "normal" | null | undefined;
3673
+ lineHeight?: number | null | undefined;
3674
+ letterSpacing?: number | null | undefined;
3571
3675
  textAlign?: "right" | "left" | "center" | null | undefined;
3572
3676
  padding?: {
3573
3677
  top: number;
@@ -3580,6 +3684,8 @@ declare const ReaderDocumentSchema: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodD
3580
3684
  fontSize?: number | null | undefined;
3581
3685
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
3582
3686
  fontWeight?: "bold" | "normal" | null | undefined;
3687
+ lineHeight?: number | null | undefined;
3688
+ letterSpacing?: number | null | undefined;
3583
3689
  textAlign?: "right" | "left" | "center" | null | undefined;
3584
3690
  padding?: {
3585
3691
  top: number;
@@ -3619,6 +3725,8 @@ declare const ReaderDocumentSchema: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodD
3619
3725
  fontSize?: number | null | undefined;
3620
3726
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
3621
3727
  fontWeight?: "bold" | "normal" | null | undefined;
3728
+ lineHeight?: number | null | undefined;
3729
+ letterSpacing?: number | null | undefined;
3622
3730
  textAlign?: "right" | "left" | "center" | null | undefined;
3623
3731
  padding?: {
3624
3732
  top: number;
@@ -3642,6 +3750,8 @@ declare const ReaderDocumentSchema: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodD
3642
3750
  fontSize?: number | null | undefined;
3643
3751
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
3644
3752
  fontWeight?: "bold" | "normal" | null | undefined;
3753
+ lineHeight?: number | null | undefined;
3754
+ letterSpacing?: number | null | undefined;
3645
3755
  textAlign?: "right" | "left" | "center" | null | undefined;
3646
3756
  padding?: {
3647
3757
  top: number;
@@ -3700,11 +3810,11 @@ declare const ReaderDocumentSchema: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodD
3700
3810
  lineColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3701
3811
  lineHeight: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
3702
3812
  }, "strip", z.ZodTypeAny, {
3703
- lineColor?: string | null | undefined;
3704
3813
  lineHeight?: number | null | undefined;
3705
- }, {
3706
3814
  lineColor?: string | null | undefined;
3815
+ }, {
3707
3816
  lineHeight?: number | null | undefined;
3817
+ lineColor?: string | null | undefined;
3708
3818
  }>>>;
3709
3819
  }, "strip", z.ZodTypeAny, {
3710
3820
  style?: {
@@ -3717,8 +3827,8 @@ declare const ReaderDocumentSchema: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodD
3717
3827
  } | null | undefined;
3718
3828
  } | null | undefined;
3719
3829
  props?: {
3720
- lineColor?: string | null | undefined;
3721
3830
  lineHeight?: number | null | undefined;
3831
+ lineColor?: string | null | undefined;
3722
3832
  } | null | undefined;
3723
3833
  }, {
3724
3834
  style?: {
@@ -3731,8 +3841,8 @@ declare const ReaderDocumentSchema: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodD
3731
3841
  } | null | undefined;
3732
3842
  } | null | undefined;
3733
3843
  props?: {
3734
- lineColor?: string | null | undefined;
3735
3844
  lineHeight?: number | null | undefined;
3845
+ lineColor?: string | null | undefined;
3736
3846
  } | null | undefined;
3737
3847
  }>;
3738
3848
  Heading: z.ZodObject<{
@@ -3751,6 +3861,8 @@ declare const ReaderDocumentSchema: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodD
3751
3861
  backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3752
3862
  fontFamily: z.ZodOptional<z.ZodNullable<z.ZodEnum<["MODERN_SANS", "BOOK_SANS", "ORGANIC_SANS", "GEOMETRIC_SANS", "HEAVY_SANS", "ROUNDED_SANS", "MODERN_SERIF", "BOOK_SERIF", "MONOSPACE"]>>>;
3753
3863
  fontWeight: z.ZodNullable<z.ZodOptional<z.ZodEnum<["bold", "normal"]>>>;
3864
+ lineHeight: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
3865
+ letterSpacing: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
3754
3866
  textAlign: z.ZodNullable<z.ZodOptional<z.ZodEnum<["left", "center", "right"]>>>;
3755
3867
  padding: z.ZodNullable<z.ZodOptional<z.ZodObject<{
3756
3868
  top: z.ZodNumber;
@@ -3773,6 +3885,8 @@ declare const ReaderDocumentSchema: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodD
3773
3885
  backgroundColor?: string | null | undefined;
3774
3886
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
3775
3887
  fontWeight?: "bold" | "normal" | null | undefined;
3888
+ lineHeight?: number | null | undefined;
3889
+ letterSpacing?: number | null | undefined;
3776
3890
  textAlign?: "right" | "left" | "center" | null | undefined;
3777
3891
  padding?: {
3778
3892
  top: number;
@@ -3785,6 +3899,8 @@ declare const ReaderDocumentSchema: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodD
3785
3899
  backgroundColor?: string | null | undefined;
3786
3900
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
3787
3901
  fontWeight?: "bold" | "normal" | null | undefined;
3902
+ lineHeight?: number | null | undefined;
3903
+ letterSpacing?: number | null | undefined;
3788
3904
  textAlign?: "right" | "left" | "center" | null | undefined;
3789
3905
  padding?: {
3790
3906
  top: number;
@@ -3799,6 +3915,8 @@ declare const ReaderDocumentSchema: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodD
3799
3915
  backgroundColor?: string | null | undefined;
3800
3916
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
3801
3917
  fontWeight?: "bold" | "normal" | null | undefined;
3918
+ lineHeight?: number | null | undefined;
3919
+ letterSpacing?: number | null | undefined;
3802
3920
  textAlign?: "right" | "left" | "center" | null | undefined;
3803
3921
  padding?: {
3804
3922
  top: number;
@@ -3817,6 +3935,8 @@ declare const ReaderDocumentSchema: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodD
3817
3935
  backgroundColor?: string | null | undefined;
3818
3936
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
3819
3937
  fontWeight?: "bold" | "normal" | null | undefined;
3938
+ lineHeight?: number | null | undefined;
3939
+ letterSpacing?: number | null | undefined;
3820
3940
  textAlign?: "right" | "left" | "center" | null | undefined;
3821
3941
  padding?: {
3822
3942
  top: number;
@@ -4044,6 +4164,8 @@ declare const ReaderDocumentSchema: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodD
4044
4164
  fontSize: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
4045
4165
  fontFamily: z.ZodOptional<z.ZodNullable<z.ZodEnum<["MODERN_SANS", "BOOK_SANS", "ORGANIC_SANS", "GEOMETRIC_SANS", "HEAVY_SANS", "ROUNDED_SANS", "MODERN_SERIF", "BOOK_SERIF", "MONOSPACE"]>>>;
4046
4166
  fontWeight: z.ZodNullable<z.ZodOptional<z.ZodEnum<["bold", "normal"]>>>;
4167
+ lineHeight: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
4168
+ letterSpacing: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
4047
4169
  textAlign: z.ZodNullable<z.ZodOptional<z.ZodEnum<["left", "center", "right"]>>>;
4048
4170
  padding: z.ZodNullable<z.ZodOptional<z.ZodObject<{
4049
4171
  top: z.ZodNumber;
@@ -4067,6 +4189,8 @@ declare const ReaderDocumentSchema: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodD
4067
4189
  fontSize?: number | null | undefined;
4068
4190
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
4069
4191
  fontWeight?: "bold" | "normal" | null | undefined;
4192
+ lineHeight?: number | null | undefined;
4193
+ letterSpacing?: number | null | undefined;
4070
4194
  textAlign?: "right" | "left" | "center" | null | undefined;
4071
4195
  padding?: {
4072
4196
  top: number;
@@ -4080,6 +4204,8 @@ declare const ReaderDocumentSchema: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodD
4080
4204
  fontSize?: number | null | undefined;
4081
4205
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
4082
4206
  fontWeight?: "bold" | "normal" | null | undefined;
4207
+ lineHeight?: number | null | undefined;
4208
+ letterSpacing?: number | null | undefined;
4083
4209
  textAlign?: "right" | "left" | "center" | null | undefined;
4084
4210
  padding?: {
4085
4211
  top: number;
@@ -4105,6 +4231,8 @@ declare const ReaderDocumentSchema: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodD
4105
4231
  fontSize?: number | null | undefined;
4106
4232
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
4107
4233
  fontWeight?: "bold" | "normal" | null | undefined;
4234
+ lineHeight?: number | null | undefined;
4235
+ letterSpacing?: number | null | undefined;
4108
4236
  textAlign?: "right" | "left" | "center" | null | undefined;
4109
4237
  padding?: {
4110
4238
  top: number;
@@ -4124,6 +4252,8 @@ declare const ReaderDocumentSchema: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodD
4124
4252
  fontSize?: number | null | undefined;
4125
4253
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
4126
4254
  fontWeight?: "bold" | "normal" | null | undefined;
4255
+ lineHeight?: number | null | undefined;
4256
+ letterSpacing?: number | null | undefined;
4127
4257
  textAlign?: "right" | "left" | "center" | null | undefined;
4128
4258
  padding?: {
4129
4259
  top: number;
@@ -4554,12 +4684,15 @@ declare function ContainerReader({ style, props }: ContainerProps): React.JSX.El
4554
4684
  declare const TemplateVariableSchema: z.ZodObject<{
4555
4685
  name: z.ZodString;
4556
4686
  description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4687
+ sampleValue: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4557
4688
  }, "strip", z.ZodTypeAny, {
4558
4689
  name: string;
4559
4690
  description?: string | null | undefined;
4691
+ sampleValue?: string | null | undefined;
4560
4692
  }, {
4561
4693
  name: string;
4562
4694
  description?: string | null | undefined;
4695
+ sampleValue?: string | null | undefined;
4563
4696
  }>;
4564
4697
  declare const EmailLayoutPropsSchema: z.ZodObject<{
4565
4698
  backdropColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -4574,12 +4707,15 @@ declare const EmailLayoutPropsSchema: z.ZodObject<{
4574
4707
  variables: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
4575
4708
  name: z.ZodString;
4576
4709
  description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4710
+ sampleValue: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4577
4711
  }, "strip", z.ZodTypeAny, {
4578
4712
  name: string;
4579
4713
  description?: string | null | undefined;
4714
+ sampleValue?: string | null | undefined;
4580
4715
  }, {
4581
4716
  name: string;
4582
4717
  description?: string | null | undefined;
4718
+ sampleValue?: string | null | undefined;
4583
4719
  }>, "many">>>;
4584
4720
  }, "strip", z.ZodTypeAny, {
4585
4721
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
@@ -4594,6 +4730,7 @@ declare const EmailLayoutPropsSchema: z.ZodObject<{
4594
4730
  variables?: {
4595
4731
  name: string;
4596
4732
  description?: string | null | undefined;
4733
+ sampleValue?: string | null | undefined;
4597
4734
  }[] | null | undefined;
4598
4735
  }, {
4599
4736
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
@@ -4608,6 +4745,7 @@ declare const EmailLayoutPropsSchema: z.ZodObject<{
4608
4745
  variables?: {
4609
4746
  name: string;
4610
4747
  description?: string | null | undefined;
4748
+ sampleValue?: string | null | undefined;
4611
4749
  }[] | null | undefined;
4612
4750
  }>;
4613
4751
  type EmailLayoutProps = z.infer<typeof EmailLayoutPropsSchema>;
@@ -4708,6 +4846,8 @@ declare const EditorBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
4708
4846
  fontSize: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
4709
4847
  fontFamily: z.ZodOptional<z.ZodNullable<z.ZodEnum<["MODERN_SANS", "BOOK_SANS", "ORGANIC_SANS", "GEOMETRIC_SANS", "HEAVY_SANS", "ROUNDED_SANS", "MODERN_SERIF", "BOOK_SERIF", "MONOSPACE"]>>>;
4710
4848
  fontWeight: z.ZodNullable<z.ZodOptional<z.ZodEnum<["bold", "normal"]>>>;
4849
+ lineHeight: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
4850
+ letterSpacing: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
4711
4851
  textAlign: z.ZodNullable<z.ZodOptional<z.ZodEnum<["left", "center", "right"]>>>;
4712
4852
  padding: z.ZodNullable<z.ZodOptional<z.ZodObject<{
4713
4853
  top: z.ZodNumber;
@@ -4730,6 +4870,8 @@ declare const EditorBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
4730
4870
  fontSize?: number | null | undefined;
4731
4871
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
4732
4872
  fontWeight?: "bold" | "normal" | null | undefined;
4873
+ lineHeight?: number | null | undefined;
4874
+ letterSpacing?: number | null | undefined;
4733
4875
  textAlign?: "right" | "left" | "center" | null | undefined;
4734
4876
  padding?: {
4735
4877
  top: number;
@@ -4742,6 +4884,8 @@ declare const EditorBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
4742
4884
  fontSize?: number | null | undefined;
4743
4885
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
4744
4886
  fontWeight?: "bold" | "normal" | null | undefined;
4887
+ lineHeight?: number | null | undefined;
4888
+ letterSpacing?: number | null | undefined;
4745
4889
  textAlign?: "right" | "left" | "center" | null | undefined;
4746
4890
  padding?: {
4747
4891
  top: number;
@@ -4781,6 +4925,8 @@ declare const EditorBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
4781
4925
  fontSize?: number | null | undefined;
4782
4926
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
4783
4927
  fontWeight?: "bold" | "normal" | null | undefined;
4928
+ lineHeight?: number | null | undefined;
4929
+ letterSpacing?: number | null | undefined;
4784
4930
  textAlign?: "right" | "left" | "center" | null | undefined;
4785
4931
  padding?: {
4786
4932
  top: number;
@@ -4804,6 +4950,8 @@ declare const EditorBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
4804
4950
  fontSize?: number | null | undefined;
4805
4951
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
4806
4952
  fontWeight?: "bold" | "normal" | null | undefined;
4953
+ lineHeight?: number | null | undefined;
4954
+ letterSpacing?: number | null | undefined;
4807
4955
  textAlign?: "right" | "left" | "center" | null | undefined;
4808
4956
  padding?: {
4809
4957
  top: number;
@@ -5050,6 +5198,8 @@ declare const EditorBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
5050
5198
  backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5051
5199
  fontFamily: z.ZodOptional<z.ZodNullable<z.ZodEnum<["MODERN_SANS", "BOOK_SANS", "ORGANIC_SANS", "GEOMETRIC_SANS", "HEAVY_SANS", "ROUNDED_SANS", "MODERN_SERIF", "BOOK_SERIF", "MONOSPACE"]>>>;
5052
5200
  fontWeight: z.ZodNullable<z.ZodOptional<z.ZodEnum<["bold", "normal"]>>>;
5201
+ lineHeight: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
5202
+ letterSpacing: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
5053
5203
  textAlign: z.ZodNullable<z.ZodOptional<z.ZodEnum<["left", "center", "right"]>>>;
5054
5204
  padding: z.ZodNullable<z.ZodOptional<z.ZodObject<{
5055
5205
  top: z.ZodNumber;
@@ -5072,6 +5222,8 @@ declare const EditorBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
5072
5222
  backgroundColor?: string | null | undefined;
5073
5223
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
5074
5224
  fontWeight?: "bold" | "normal" | null | undefined;
5225
+ lineHeight?: number | null | undefined;
5226
+ letterSpacing?: number | null | undefined;
5075
5227
  textAlign?: "right" | "left" | "center" | null | undefined;
5076
5228
  padding?: {
5077
5229
  top: number;
@@ -5084,6 +5236,8 @@ declare const EditorBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
5084
5236
  backgroundColor?: string | null | undefined;
5085
5237
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
5086
5238
  fontWeight?: "bold" | "normal" | null | undefined;
5239
+ lineHeight?: number | null | undefined;
5240
+ letterSpacing?: number | null | undefined;
5087
5241
  textAlign?: "right" | "left" | "center" | null | undefined;
5088
5242
  padding?: {
5089
5243
  top: number;
@@ -5098,6 +5252,8 @@ declare const EditorBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
5098
5252
  backgroundColor?: string | null | undefined;
5099
5253
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
5100
5254
  fontWeight?: "bold" | "normal" | null | undefined;
5255
+ lineHeight?: number | null | undefined;
5256
+ letterSpacing?: number | null | undefined;
5101
5257
  textAlign?: "right" | "left" | "center" | null | undefined;
5102
5258
  padding?: {
5103
5259
  top: number;
@@ -5116,6 +5272,8 @@ declare const EditorBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
5116
5272
  backgroundColor?: string | null | undefined;
5117
5273
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
5118
5274
  fontWeight?: "bold" | "normal" | null | undefined;
5275
+ lineHeight?: number | null | undefined;
5276
+ letterSpacing?: number | null | undefined;
5119
5277
  textAlign?: "right" | "left" | "center" | null | undefined;
5120
5278
  padding?: {
5121
5279
  top: number;
@@ -5326,6 +5484,8 @@ declare const EditorBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
5326
5484
  fontSize: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
5327
5485
  fontFamily: z.ZodOptional<z.ZodNullable<z.ZodEnum<["MODERN_SANS", "BOOK_SANS", "ORGANIC_SANS", "GEOMETRIC_SANS", "HEAVY_SANS", "ROUNDED_SANS", "MODERN_SERIF", "BOOK_SERIF", "MONOSPACE"]>>>;
5328
5486
  fontWeight: z.ZodNullable<z.ZodOptional<z.ZodEnum<["bold", "normal"]>>>;
5487
+ lineHeight: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
5488
+ letterSpacing: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
5329
5489
  textAlign: z.ZodNullable<z.ZodOptional<z.ZodEnum<["left", "center", "right"]>>>;
5330
5490
  padding: z.ZodNullable<z.ZodOptional<z.ZodObject<{
5331
5491
  top: z.ZodNumber;
@@ -5349,6 +5509,8 @@ declare const EditorBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
5349
5509
  fontSize?: number | null | undefined;
5350
5510
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
5351
5511
  fontWeight?: "bold" | "normal" | null | undefined;
5512
+ lineHeight?: number | null | undefined;
5513
+ letterSpacing?: number | null | undefined;
5352
5514
  textAlign?: "right" | "left" | "center" | null | undefined;
5353
5515
  padding?: {
5354
5516
  top: number;
@@ -5362,6 +5524,8 @@ declare const EditorBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
5362
5524
  fontSize?: number | null | undefined;
5363
5525
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
5364
5526
  fontWeight?: "bold" | "normal" | null | undefined;
5527
+ lineHeight?: number | null | undefined;
5528
+ letterSpacing?: number | null | undefined;
5365
5529
  textAlign?: "right" | "left" | "center" | null | undefined;
5366
5530
  padding?: {
5367
5531
  top: number;
@@ -5387,6 +5551,8 @@ declare const EditorBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
5387
5551
  fontSize?: number | null | undefined;
5388
5552
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
5389
5553
  fontWeight?: "bold" | "normal" | null | undefined;
5554
+ lineHeight?: number | null | undefined;
5555
+ letterSpacing?: number | null | undefined;
5390
5556
  textAlign?: "right" | "left" | "center" | null | undefined;
5391
5557
  padding?: {
5392
5558
  top: number;
@@ -5406,6 +5572,8 @@ declare const EditorBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
5406
5572
  fontSize?: number | null | undefined;
5407
5573
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
5408
5574
  fontWeight?: "bold" | "normal" | null | undefined;
5575
+ lineHeight?: number | null | undefined;
5576
+ letterSpacing?: number | null | undefined;
5409
5577
  textAlign?: "right" | "left" | "center" | null | undefined;
5410
5578
  padding?: {
5411
5579
  top: number;
@@ -5432,12 +5600,15 @@ declare const EditorBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
5432
5600
  variables: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
5433
5601
  name: z.ZodString;
5434
5602
  description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
5603
+ sampleValue: z.ZodNullable<z.ZodOptional<z.ZodString>>;
5435
5604
  }, "strip", z.ZodTypeAny, {
5436
5605
  name: string;
5437
5606
  description?: string | null | undefined;
5607
+ sampleValue?: string | null | undefined;
5438
5608
  }, {
5439
5609
  name: string;
5440
5610
  description?: string | null | undefined;
5611
+ sampleValue?: string | null | undefined;
5441
5612
  }>, "many">>>;
5442
5613
  }, "strip", z.ZodTypeAny, {
5443
5614
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
@@ -5452,6 +5623,7 @@ declare const EditorBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
5452
5623
  variables?: {
5453
5624
  name: string;
5454
5625
  description?: string | null | undefined;
5626
+ sampleValue?: string | null | undefined;
5455
5627
  }[] | null | undefined;
5456
5628
  }, {
5457
5629
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
@@ -5466,6 +5638,7 @@ declare const EditorBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
5466
5638
  variables?: {
5467
5639
  name: string;
5468
5640
  description?: string | null | undefined;
5641
+ sampleValue?: string | null | undefined;
5469
5642
  }[] | null | undefined;
5470
5643
  }>;
5471
5644
  Spacer: z.ZodObject<{
@@ -5525,11 +5698,11 @@ declare const EditorBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
5525
5698
  lineColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5526
5699
  lineHeight: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
5527
5700
  }, "strip", z.ZodTypeAny, {
5528
- lineColor?: string | null | undefined;
5529
5701
  lineHeight?: number | null | undefined;
5530
- }, {
5531
5702
  lineColor?: string | null | undefined;
5703
+ }, {
5532
5704
  lineHeight?: number | null | undefined;
5705
+ lineColor?: string | null | undefined;
5533
5706
  }>>>;
5534
5707
  }, "strip", z.ZodTypeAny, {
5535
5708
  style?: {
@@ -5542,8 +5715,8 @@ declare const EditorBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
5542
5715
  } | null | undefined;
5543
5716
  } | null | undefined;
5544
5717
  props?: {
5545
- lineColor?: string | null | undefined;
5546
5718
  lineHeight?: number | null | undefined;
5719
+ lineColor?: string | null | undefined;
5547
5720
  } | null | undefined;
5548
5721
  }, {
5549
5722
  style?: {
@@ -5556,8 +5729,8 @@ declare const EditorBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
5556
5729
  } | null | undefined;
5557
5730
  } | null | undefined;
5558
5731
  props?: {
5559
- lineColor?: string | null | undefined;
5560
5732
  lineHeight?: number | null | undefined;
5733
+ lineColor?: string | null | undefined;
5561
5734
  } | null | undefined;
5562
5735
  }>;
5563
5736
  Signature: z.ZodObject<{
@@ -5712,6 +5885,8 @@ type TEditorConfiguration = Record<string, TEditorBlock>;
5712
5885
  type TemplateVariable = {
5713
5886
  name: string;
5714
5887
  description?: string;
5888
+ /** Optional sample value used by the editor's Preview mode to substitute `{{name}}` tokens. */
5889
+ sampleValue?: string;
5715
5890
  };
5716
5891
  /**
5717
5892
  * Payload passed to `onSave` / `saveAs`. The editor renders body HTML and
@@ -5748,6 +5923,26 @@ interface EmailEditorProviderProps {
5748
5923
  declare const EmailEditorProvider: React.FC<EmailEditorProviderProps>;
5749
5924
  declare const useEmailEditor: () => EmailEditorContextType;
5750
5925
 
5926
+ type UploadedImage = {
5927
+ url: string;
5928
+ width?: number;
5929
+ height?: number;
5930
+ alt?: string;
5931
+ };
5932
+ type LibraryImage = {
5933
+ url: string;
5934
+ thumbnailUrl?: string;
5935
+ width?: number;
5936
+ height?: number;
5937
+ alt?: string;
5938
+ uploadedAt?: string;
5939
+ };
5940
+ type ImageCallbacks = {
5941
+ uploadImage?: (file: File) => Promise<UploadedImage>;
5942
+ loadImages?: () => Promise<LibraryImage[]>;
5943
+ deleteImage?: (url: string) => Promise<void>;
5944
+ };
5945
+
5751
5946
  /**
5752
5947
  * Wraps a raw HTML string in an editor config with an EmailLayout root + one Html block.
5753
5948
  */
@@ -5860,6 +6055,22 @@ interface EmailEditorProps {
5860
6055
  id: string;
5861
6056
  slug: string;
5862
6057
  }>;
6058
+ /**
6059
+ * Uploads a single image file and returns its public URL plus optional
6060
+ * intrinsic dimensions. When omitted, upload UI (button, drag-drop,
6061
+ * paste-to-insert) is hidden; URL paste still works.
6062
+ */
6063
+ uploadImage?: (file: File) => Promise<UploadedImage>;
6064
+ /**
6065
+ * Returns previously uploaded images for the library picker. When omitted,
6066
+ * the "Pick from library" button is hidden.
6067
+ */
6068
+ loadImages?: () => Promise<LibraryImage[]>;
6069
+ /**
6070
+ * Deletes an image from the library by URL. When omitted, the delete button
6071
+ * on library rows is hidden.
6072
+ */
6073
+ deleteImage?: (url: string) => Promise<void>;
5863
6074
  /**
5864
6075
  * Optional theme override. If not provided, the default theme will be used.
5865
6076
  * This allows for easy styling without requiring a separate ThemeProvider.
@@ -5868,4 +6079,4 @@ interface EmailEditorProps {
5868
6079
  }
5869
6080
  declare const EmailEditor: React.ForwardRefExoticComponent<EmailEditorProps & React.RefAttributes<EmailEditorRef>>;
5870
6081
 
5871
- export { Avatar, AvatarProps, AvatarPropsDefaults, AvatarPropsSchema, BlockConfiguration, Button, ButtonProps, ButtonPropsDefaults, ButtonPropsSchema, ColumnsContainer, ColumnsContainerProps$1 as ColumnsContainerProps, ColumnsContainerPropsSchema$1 as ColumnsContainerPropsSchema, ColumnsContainerReader, Container, ContainerProps$1 as ContainerProps, ContainerPropsSchema$1 as ContainerPropsSchema, ContainerReader, Divider, DividerProps, DividerPropsDefaults, DividerPropsSchema, DocumentBlocksDictionary, EmailEditor, type EmailEditorContextType, type EmailEditorProps, EmailEditorProvider, type EmailEditorProviderProps, type EmailEditorRef, EmailLayoutPropsSchema, EmailLayoutReader, EmailMarkdown, Heading, HeadingProps, HeadingPropsDefaults, HeadingPropsSchema, Html, HtmlProps, HtmlPropsSchema, Image, ImageProps, ImagePropsSchema, Reader, ReaderBlock, ReaderBlockSchema, ReaderDocumentSchema, type SavePayload, Signature, SignatureProps, SignaturePropsDefaults, SignaturePropsSchema, Spacer, SpacerProps, SpacerPropsDefaults, SpacerPropsSchema, type TReaderBlock, type TReaderBlockProps, type TReaderDocument, type TReaderProps, type TemplateKind, type TemplateListItem, TemplateVariableSchema, Text, TextProps, TextPropsDefaults, TextPropsSchema, buildBlockComponent, buildBlockConfigurationDictionary, buildBlockConfigurationSchema, htmlToEditorConfig, renderToStaticMarkup, renderToText, THEME as theme, useEmailEditor };
6082
+ export { Avatar, AvatarProps, AvatarPropsDefaults, AvatarPropsSchema, BlockConfiguration, Button, ButtonProps, ButtonPropsDefaults, ButtonPropsSchema, ColumnsContainer, ColumnsContainerProps$1 as ColumnsContainerProps, ColumnsContainerPropsSchema$1 as ColumnsContainerPropsSchema, ColumnsContainerReader, Container, ContainerProps$1 as ContainerProps, ContainerPropsSchema$1 as ContainerPropsSchema, ContainerReader, Divider, DividerProps, DividerPropsDefaults, DividerPropsSchema, DocumentBlocksDictionary, EmailEditor, type EmailEditorContextType, type EmailEditorProps, EmailEditorProvider, type EmailEditorProviderProps, type EmailEditorRef, EmailLayoutPropsSchema, EmailLayoutReader, EmailMarkdown, Heading, HeadingProps, HeadingPropsDefaults, HeadingPropsSchema, Html, HtmlProps, HtmlPropsSchema, Image, type ImageCallbacks, ImageProps, ImagePropsSchema, type LibraryImage, Reader, ReaderBlock, ReaderBlockSchema, ReaderDocumentSchema, type SavePayload, Signature, SignatureProps, SignaturePropsDefaults, SignaturePropsSchema, Spacer, SpacerProps, SpacerPropsDefaults, SpacerPropsSchema, type TReaderBlock, type TReaderBlockProps, type TReaderDocument, type TReaderProps, type TemplateKind, type TemplateListItem, TemplateVariableSchema, Text, TextProps, TextPropsDefaults, TextPropsSchema, type UploadedImage, buildBlockComponent, buildBlockConfigurationDictionary, buildBlockConfigurationSchema, htmlToEditorConfig, renderToStaticMarkup, renderToText, THEME as theme, useEmailEditor };