@rudyzeinoun/email-builder 0.0.14 → 0.0.15

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.
Files changed (41) hide show
  1. package/dist/Reader/core.d.ts +12 -0
  2. package/dist/Reader/core.d.ts.map +1 -1
  3. package/dist/blocks/Container/ContainerPropsSchema.d.ts +6 -0
  4. package/dist/blocks/Container/ContainerPropsSchema.d.ts.map +1 -1
  5. package/dist/blocks/Container/ContainerPropsSchema.js +2 -0
  6. package/dist/blocks/Container/ContainerPropsSchema.js.map +1 -1
  7. package/dist/blocks/Container/ContainerReader.d.ts +1 -1
  8. package/dist/blocks/Container/ContainerReader.d.ts.map +1 -1
  9. package/dist/blocks/Container/ContainerReader.js +2 -2
  10. package/dist/blocks/Container/ContainerReader.js.map +1 -1
  11. package/package.json +2 -2
  12. package/dist/Reader/core.d.mts +0 -1862
  13. package/dist/Reader/core.mjs +0 -80
  14. package/dist/Reader/core.mjs.map +0 -1
  15. package/dist/blocks/ColumnsContainer/ColumnsContainerPropsSchema.d.mts +0 -136
  16. package/dist/blocks/ColumnsContainer/ColumnsContainerPropsSchema.mjs +0 -16
  17. package/dist/blocks/ColumnsContainer/ColumnsContainerPropsSchema.mjs.map +0 -1
  18. package/dist/blocks/ColumnsContainer/ColumnsContainerReader.d.mts +0 -4
  19. package/dist/blocks/ColumnsContainer/ColumnsContainerReader.mjs +0 -23
  20. package/dist/blocks/ColumnsContainer/ColumnsContainerReader.mjs.map +0 -1
  21. package/dist/blocks/Container/ContainerPropsSchema.d.mts +0 -86
  22. package/dist/blocks/Container/ContainerPropsSchema.mjs +0 -13
  23. package/dist/blocks/Container/ContainerPropsSchema.mjs.map +0 -1
  24. package/dist/blocks/Container/ContainerReader.d.mts +0 -4
  25. package/dist/blocks/Container/ContainerReader.mjs +0 -9
  26. package/dist/blocks/Container/ContainerReader.mjs.map +0 -1
  27. package/dist/blocks/EmailLayout/EmailLayoutPropsSchema.d.mts +0 -28
  28. package/dist/blocks/EmailLayout/EmailLayoutPropsSchema.mjs +0 -30
  29. package/dist/blocks/EmailLayout/EmailLayoutPropsSchema.mjs.map +0 -1
  30. package/dist/blocks/EmailLayout/EmailLayoutReader.d.mts +0 -4
  31. package/dist/blocks/EmailLayout/EmailLayoutReader.mjs +0 -59
  32. package/dist/blocks/EmailLayout/EmailLayoutReader.mjs.map +0 -1
  33. package/dist/index.d.mts +0 -3
  34. package/dist/index.mjs +0 -7
  35. package/dist/index.mjs.map +0 -1
  36. package/dist/renderers/renderToStaticMarkup.d.mts +0 -7
  37. package/dist/renderers/renderToStaticMarkup.mjs +0 -10
  38. package/dist/renderers/renderToStaticMarkup.mjs.map +0 -1
  39. package/dist/renderers/renderToStaticMarkup.spec.d.mts +0 -5
  40. package/dist/renderers/renderToStaticMarkup.spec.mjs +0 -20
  41. package/dist/renderers/renderToStaticMarkup.spec.mjs.map +0 -1
@@ -176,6 +176,8 @@ export declare const ReaderBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"ty
176
176
  } | null | undefined;
177
177
  }>>>;
178
178
  className: z.ZodNullable<z.ZodOptional<z.ZodString>>;
179
+ loopStart: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
180
+ loopEnd: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
179
181
  props: z.ZodNullable<z.ZodOptional<z.ZodObject<{
180
182
  childrenIds: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
181
183
  }, "strip", z.ZodTypeAny, {
@@ -196,6 +198,8 @@ export declare const ReaderBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"ty
196
198
  } | null | undefined;
197
199
  } | null | undefined;
198
200
  className?: string | null | undefined;
201
+ loopStart?: number | null | undefined;
202
+ loopEnd?: number | null | undefined;
199
203
  props?: {
200
204
  childrenIds?: string[] | null | undefined;
201
205
  } | null | undefined;
@@ -212,6 +216,8 @@ export declare const ReaderBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"ty
212
216
  } | null | undefined;
213
217
  } | null | undefined;
214
218
  className?: string | null | undefined;
219
+ loopStart?: number | null | undefined;
220
+ loopEnd?: number | null | undefined;
215
221
  props?: {
216
222
  childrenIds?: string[] | null | undefined;
217
223
  } | null | undefined;
@@ -1101,6 +1107,8 @@ export declare const ReaderDocumentSchema: z.ZodRecord<z.ZodString, z.ZodEffects
1101
1107
  } | null | undefined;
1102
1108
  }>>>;
1103
1109
  className: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1110
+ loopStart: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1111
+ loopEnd: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1104
1112
  props: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1105
1113
  childrenIds: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
1106
1114
  }, "strip", z.ZodTypeAny, {
@@ -1121,6 +1129,8 @@ export declare const ReaderDocumentSchema: z.ZodRecord<z.ZodString, z.ZodEffects
1121
1129
  } | null | undefined;
1122
1130
  } | null | undefined;
1123
1131
  className?: string | null | undefined;
1132
+ loopStart?: number | null | undefined;
1133
+ loopEnd?: number | null | undefined;
1124
1134
  props?: {
1125
1135
  childrenIds?: string[] | null | undefined;
1126
1136
  } | null | undefined;
@@ -1137,6 +1147,8 @@ export declare const ReaderDocumentSchema: z.ZodRecord<z.ZodString, z.ZodEffects
1137
1147
  } | null | undefined;
1138
1148
  } | null | undefined;
1139
1149
  className?: string | null | undefined;
1150
+ loopStart?: number | null | undefined;
1151
+ loopEnd?: number | null | undefined;
1140
1152
  props?: {
1141
1153
  childrenIds?: string[] | null | undefined;
1142
1154
  } | null | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"core.d.ts","sourceRoot":"","sources":["../../src/Reader/core.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoC,MAAM,OAAO,CAAC;AACzD,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AA6ExB,eAAO,MA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;SAA0C,CAAC;AAC5E,MAAM,MAAM,eAAe,GAAG,MAAM,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC;AAI3D,MAAM,MAAM,iBAAiB,GAAG;IAAE,EAAE,EAAE,MAAM,CAAA;CAAE,CAAC;AAC/C,wBAAgB,WAAW,CAAC,EAAE,EAAE,EAAE,EAAE,iBAAiB,qBAGpD;AAED,MAAM,MAAM,YAAY,GAAG;IACzB,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC,CAAC;IAC5D,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AACF,MAAM,CAAC,OAAO,UAAU,MAAM,CAAC,EAAE,QAAQ,EAAE,WAAW,EAAE,EAAE,YAAY,qBAMrE"}
@@ -42,6 +42,8 @@ export declare const ContainerPropsSchema: z.ZodObject<{
42
42
  } | null | undefined;
43
43
  }>>>;
44
44
  className: z.ZodNullable<z.ZodOptional<z.ZodString>>;
45
+ loopStart: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
46
+ loopEnd: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
45
47
  props: z.ZodNullable<z.ZodOptional<z.ZodObject<{
46
48
  childrenIds: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
47
49
  }, "strip", z.ZodTypeAny, {
@@ -62,6 +64,8 @@ export declare const ContainerPropsSchema: z.ZodObject<{
62
64
  } | null | undefined;
63
65
  } | null | undefined;
64
66
  className?: string | null | undefined;
67
+ loopStart?: number | null | undefined;
68
+ loopEnd?: number | null | undefined;
65
69
  props?: {
66
70
  childrenIds?: string[] | null | undefined;
67
71
  } | null | undefined;
@@ -78,6 +82,8 @@ export declare const ContainerPropsSchema: z.ZodObject<{
78
82
  } | null | undefined;
79
83
  } | null | undefined;
80
84
  className?: string | null | undefined;
85
+ loopStart?: number | null | undefined;
86
+ loopEnd?: number | null | undefined;
81
87
  props?: {
82
88
  childrenIds?: string[] | null | undefined;
83
89
  } | null | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"ContainerPropsSchema.d.ts","sourceRoot":"","sources":["../../../src/blocks/Container/ContainerPropsSchema.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAS/B,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC"}
1
+ {"version":3,"file":"ContainerPropsSchema.d.ts","sourceRoot":"","sources":["../../../src/blocks/Container/ContainerPropsSchema.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAW/B,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC"}
@@ -3,6 +3,8 @@ import { ContainerPropsSchema as BaseContainerPropsSchema } from '@rudyzeinoun/b
3
3
  export const ContainerPropsSchema = z.object({
4
4
  style: BaseContainerPropsSchema.shape.style,
5
5
  className: z.string().optional().nullable(),
6
+ loopStart: z.number().optional().nullable(),
7
+ loopEnd: z.number().optional().nullable(),
6
8
  props: z
7
9
  .object({
8
10
  childrenIds: z.array(z.string()).optional().nullable(),
@@ -1 +1 @@
1
- {"version":3,"file":"ContainerPropsSchema.js","sourceRoot":"","sources":["../../../src/blocks/Container/ContainerPropsSchema.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,oBAAoB,IAAI,wBAAwB,EAAE,MAAM,8BAA8B,CAAC;AAEhG,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC3C,KAAK,EAAE,wBAAwB,CAAC,KAAK,CAAC,KAAK;IAC3C,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAC3C,KAAK,EAAE,CAAC;SACL,MAAM,CAAC;QACN,WAAW,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;KACvD,CAAC;SACD,QAAQ,EAAE;SACV,QAAQ,EAAE;CACd,CAAC,CAAC"}
1
+ {"version":3,"file":"ContainerPropsSchema.js","sourceRoot":"","sources":["../../../src/blocks/Container/ContainerPropsSchema.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,oBAAoB,IAAI,wBAAwB,EAAE,MAAM,8BAA8B,CAAC;AAEhG,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC3C,KAAK,EAAE,wBAAwB,CAAC,KAAK,CAAC,KAAK;IAC3C,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAC3C,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAC3C,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IACzC,KAAK,EAAE,CAAC;SACL,MAAM,CAAC;QACN,WAAW,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;KACvD,CAAC;SACD,QAAQ,EAAE;SACV,QAAQ,EAAE;CACd,CAAC,CAAC"}
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
2
  import { ContainerProps } from './ContainerPropsSchema';
3
- export default function ContainerReader({ style, props, className }: ContainerProps): React.JSX.Element;
3
+ export default function ContainerReader({ style, props, className, loopStart, loopEnd }: ContainerProps): React.JSX.Element;
4
4
  //# sourceMappingURL=ContainerReader.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ContainerReader.d.ts","sourceRoot":"","sources":["../../../src/blocks/Container/ContainerReader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAExD,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,EAAE,cAAc,qBASlF"}
1
+ {"version":3,"file":"ContainerReader.d.ts","sourceRoot":"","sources":["../../../src/blocks/Container/ContainerReader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAExD,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,OAAO,EAAE,EAAE,cAAc,qBAStG"}
@@ -1,9 +1,9 @@
1
1
  import React from 'react';
2
2
  import { Container as BaseContainer } from '@rudyzeinoun/block-container';
3
3
  import { ReaderBlock } from '../../Reader/core';
4
- export default function ContainerReader({ style, props, className }) {
4
+ export default function ContainerReader({ style, props, className, loopStart, loopEnd }) {
5
5
  var _a;
6
6
  const childrenIds = (_a = props === null || props === void 0 ? void 0 : props.childrenIds) !== null && _a !== void 0 ? _a : [];
7
- return (React.createElement(BaseContainer, { className: className, style: style }, childrenIds.map((childId) => (React.createElement(ReaderBlock, { key: childId, id: childId })))));
7
+ return (React.createElement(BaseContainer, { className: className, "data-loop-start": loopStart, "data-loop-end": loopEnd, style: style }, childrenIds.map((childId) => (React.createElement(ReaderBlock, { key: childId, id: childId })))));
8
8
  }
9
9
  //# sourceMappingURL=ContainerReader.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ContainerReader.js","sourceRoot":"","sources":["../../../src/blocks/Container/ContainerReader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,SAAS,IAAI,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAE1E,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAIhD,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,SAAS,EAAkB;;IACjF,MAAM,WAAW,GAAG,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,WAAW,mCAAI,EAAE,CAAC;IAC7C,OAAO,CACL,oBAAC,aAAa,IAAC,SAAS,EAAE,SAAS,EAAE,KAAK,EAAE,KAAK,IAC9C,WAAW,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,CAC5B,oBAAC,WAAW,IAAC,GAAG,EAAE,OAAO,EAAE,EAAE,EAAE,OAAO,GAAI,CAC3C,CAAC,CACY,CACjB,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"ContainerReader.js","sourceRoot":"","sources":["../../../src/blocks/Container/ContainerReader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,SAAS,IAAI,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAE1E,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAIhD,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,OAAO,EAAkB;;IACrG,MAAM,WAAW,GAAG,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,WAAW,mCAAI,EAAE,CAAC;IAC7C,OAAO,CACL,oBAAC,aAAa,IAAC,SAAS,EAAE,SAAS,qBAAmB,SAAS,mBAAiB,OAAO,EAAE,KAAK,EAAE,KAAK,IAClG,WAAW,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,CAC5B,oBAAC,WAAW,IAAC,GAAG,EAAE,OAAO,EAAE,EAAE,EAAE,OAAO,GAAI,CAC3C,CAAC,CACY,CACjB,CAAC;AACJ,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rudyzeinoun/email-builder",
3
- "version": "0.0.14",
3
+ "version": "0.0.15",
4
4
  "description": "React component to render email messages",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -26,7 +26,7 @@
26
26
  "zod": "^1 || ^2 || ^3"
27
27
  },
28
28
  "dependencies": {
29
- "@rudyzeinoun/block-container": "^0.0.6",
29
+ "@rudyzeinoun/block-container": "^0.0.7",
30
30
  "@usewaypoint/block-avatar": "^0.0.3",
31
31
  "@usewaypoint/block-button": "^0.0.3",
32
32
  "@usewaypoint/block-columns-container": "^0.0.3",