@rudyzeinoun/email-builder 0.0.45 → 0.0.46

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.mts CHANGED
@@ -41,6 +41,7 @@ declare const ReaderBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
41
41
  }>>>;
42
42
  className: z.ZodNullable<z.ZodOptional<z.ZodString>>;
43
43
  responsiveDisplay: z.ZodNullable<z.ZodOptional<z.ZodString>>;
44
+ stacking: z.ZodNullable<z.ZodOptional<z.ZodString>>;
44
45
  conditionStatement: z.ZodNullable<z.ZodOptional<z.ZodString>>;
45
46
  loopStart: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
46
47
  loopEnd: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
@@ -105,6 +106,7 @@ declare const ReaderBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
105
106
  } | null | undefined;
106
107
  className?: string | null | undefined;
107
108
  responsiveDisplay?: string | null | undefined;
109
+ stacking?: string | null | undefined;
108
110
  conditionStatement?: string | null | undefined;
109
111
  loopStart?: number | null | undefined;
110
112
  loopEnd?: number | null | undefined;
@@ -133,6 +135,7 @@ declare const ReaderBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
133
135
  } | null | undefined;
134
136
  className?: string | null | undefined;
135
137
  responsiveDisplay?: string | null | undefined;
138
+ stacking?: string | null | undefined;
136
139
  conditionStatement?: string | null | undefined;
137
140
  loopStart?: number | null | undefined;
138
141
  loopEnd?: number | null | undefined;
@@ -1019,6 +1022,7 @@ declare const ReaderDocumentSchema: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodD
1019
1022
  }>>>;
1020
1023
  className: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1021
1024
  responsiveDisplay: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1025
+ stacking: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1022
1026
  conditionStatement: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1023
1027
  loopStart: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1024
1028
  loopEnd: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
@@ -1083,6 +1087,7 @@ declare const ReaderDocumentSchema: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodD
1083
1087
  } | null | undefined;
1084
1088
  className?: string | null | undefined;
1085
1089
  responsiveDisplay?: string | null | undefined;
1090
+ stacking?: string | null | undefined;
1086
1091
  conditionStatement?: string | null | undefined;
1087
1092
  loopStart?: number | null | undefined;
1088
1093
  loopEnd?: number | null | undefined;
@@ -1111,6 +1116,7 @@ declare const ReaderDocumentSchema: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodD
1111
1116
  } | null | undefined;
1112
1117
  className?: string | null | undefined;
1113
1118
  responsiveDisplay?: string | null | undefined;
1119
+ stacking?: string | null | undefined;
1114
1120
  conditionStatement?: string | null | undefined;
1115
1121
  loopStart?: number | null | undefined;
1116
1122
  loopEnd?: number | null | undefined;
package/dist/index.d.ts CHANGED
@@ -41,6 +41,7 @@ declare const ReaderBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
41
41
  }>>>;
42
42
  className: z.ZodNullable<z.ZodOptional<z.ZodString>>;
43
43
  responsiveDisplay: z.ZodNullable<z.ZodOptional<z.ZodString>>;
44
+ stacking: z.ZodNullable<z.ZodOptional<z.ZodString>>;
44
45
  conditionStatement: z.ZodNullable<z.ZodOptional<z.ZodString>>;
45
46
  loopStart: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
46
47
  loopEnd: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
@@ -105,6 +106,7 @@ declare const ReaderBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
105
106
  } | null | undefined;
106
107
  className?: string | null | undefined;
107
108
  responsiveDisplay?: string | null | undefined;
109
+ stacking?: string | null | undefined;
108
110
  conditionStatement?: string | null | undefined;
109
111
  loopStart?: number | null | undefined;
110
112
  loopEnd?: number | null | undefined;
@@ -133,6 +135,7 @@ declare const ReaderBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
133
135
  } | null | undefined;
134
136
  className?: string | null | undefined;
135
137
  responsiveDisplay?: string | null | undefined;
138
+ stacking?: string | null | undefined;
136
139
  conditionStatement?: string | null | undefined;
137
140
  loopStart?: number | null | undefined;
138
141
  loopEnd?: number | null | undefined;
@@ -1019,6 +1022,7 @@ declare const ReaderDocumentSchema: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodD
1019
1022
  }>>>;
1020
1023
  className: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1021
1024
  responsiveDisplay: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1025
+ stacking: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1022
1026
  conditionStatement: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1023
1027
  loopStart: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1024
1028
  loopEnd: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
@@ -1083,6 +1087,7 @@ declare const ReaderDocumentSchema: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodD
1083
1087
  } | null | undefined;
1084
1088
  className?: string | null | undefined;
1085
1089
  responsiveDisplay?: string | null | undefined;
1090
+ stacking?: string | null | undefined;
1086
1091
  conditionStatement?: string | null | undefined;
1087
1092
  loopStart?: number | null | undefined;
1088
1093
  loopEnd?: number | null | undefined;
@@ -1111,6 +1116,7 @@ declare const ReaderDocumentSchema: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodD
1111
1116
  } | null | undefined;
1112
1117
  className?: string | null | undefined;
1113
1118
  responsiveDisplay?: string | null | undefined;
1119
+ stacking?: string | null | undefined;
1114
1120
  conditionStatement?: string | null | undefined;
1115
1121
  loopStart?: number | null | undefined;
1116
1122
  loopEnd?: number | null | undefined;
package/dist/index.js CHANGED
@@ -92,6 +92,7 @@ var ColumnsContainerPropsSchema = import_zod.z.object({
92
92
  style: import_block_columns_container.ColumnsContainerPropsSchema.shape.style,
93
93
  className: import_zod.z.string().optional().nullable(),
94
94
  responsiveDisplay: import_zod.z.string().optional().nullable(),
95
+ stacking: import_zod.z.string().optional().nullable(),
95
96
  conditionStatement: import_zod.z.string().optional().nullable(),
96
97
  loopStart: import_zod.z.number().optional().nullable(),
97
98
  loopEnd: import_zod.z.number().optional().nullable(),
@@ -325,13 +326,12 @@ function renderToStaticMarkup(document, { rootBlockId }) {
325
326
 
326
327
  @media only screen and (max-width: 450px) {
327
328
  .stack {
328
- display: block !important;
329
+ display: table-row-group !important;
329
330
  width: 100% !important;
330
331
  max-width: 100% !important;
331
332
  }
332
333
  .stack.stack-header { display: table-header-group !important; }
333
334
  .stack.stack-footer { display: table-footer-group !important; }
334
- /* optional, helps images fit when stacked */
335
335
  .stack img {
336
336
  width: 100% !important;
337
337
  height: auto !important;
package/dist/index.mjs CHANGED
@@ -59,6 +59,7 @@ var ColumnsContainerPropsSchema = z.object({
59
59
  style: BaseColumnsContainerPropsSchema.shape.style,
60
60
  className: z.string().optional().nullable(),
61
61
  responsiveDisplay: z.string().optional().nullable(),
62
+ stacking: z.string().optional().nullable(),
62
63
  conditionStatement: z.string().optional().nullable(),
63
64
  loopStart: z.number().optional().nullable(),
64
65
  loopEnd: z.number().optional().nullable(),
@@ -292,13 +293,12 @@ function renderToStaticMarkup(document, { rootBlockId }) {
292
293
 
293
294
  @media only screen and (max-width: 450px) {
294
295
  .stack {
295
- display: block !important;
296
+ display: table-row-group !important;
296
297
  width: 100% !important;
297
298
  max-width: 100% !important;
298
299
  }
299
300
  .stack.stack-header { display: table-header-group !important; }
300
301
  .stack.stack-footer { display: table-footer-group !important; }
301
- /* optional, helps images fit when stacked */
302
302
  .stack img {
303
303
  width: 100% !important;
304
304
  height: auto !important;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rudyzeinoun/email-builder",
3
- "version": "0.0.45",
3
+ "version": "0.0.46",
4
4
  "description": "React component to render email messages",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",