@rudyzeinoun/email-builder 0.0.16 → 0.0.17

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.js CHANGED
@@ -131,7 +131,7 @@ var import_block_container2 = require("@rudyzeinoun/block-container");
131
131
  function ContainerReader({ style, props, className, loopStart, loopEnd }) {
132
132
  var _a;
133
133
  const childrenIds = (_a = props == null ? void 0 : props.childrenIds) != null ? _a : [];
134
- return /* @__PURE__ */ import_react2.default.createElement(import_block_container2.Container, { className, "data-loop-start": loopStart, "data-loop-end": loopEnd, style }, childrenIds.map((childId) => /* @__PURE__ */ import_react2.default.createElement(ReaderBlock, { key: childId, id: childId })));
134
+ return /* @__PURE__ */ import_react2.default.createElement(import_block_container2.Container, { className, loopStart, loopEnd, style }, childrenIds.map((childId) => /* @__PURE__ */ import_react2.default.createElement(ReaderBlock, { key: childId, id: childId })));
135
135
  }
136
136
 
137
137
  // src/blocks/EmailLayout/EmailLayoutPropsSchema.tsx
package/dist/index.mjs CHANGED
@@ -98,7 +98,7 @@ import { Container as BaseContainer } from "@rudyzeinoun/block-container";
98
98
  function ContainerReader({ style, props, className, loopStart, loopEnd }) {
99
99
  var _a;
100
100
  const childrenIds = (_a = props == null ? void 0 : props.childrenIds) != null ? _a : [];
101
- return /* @__PURE__ */ React2.createElement(BaseContainer, { className, "data-loop-start": loopStart, "data-loop-end": loopEnd, style }, childrenIds.map((childId) => /* @__PURE__ */ React2.createElement(ReaderBlock, { key: childId, id: childId })));
101
+ return /* @__PURE__ */ React2.createElement(BaseContainer, { className, loopStart, loopEnd, style }, childrenIds.map((childId) => /* @__PURE__ */ React2.createElement(ReaderBlock, { key: childId, id: childId })));
102
102
  }
103
103
 
104
104
  // src/blocks/EmailLayout/EmailLayoutPropsSchema.tsx
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rudyzeinoun/email-builder",
3
- "version": "0.0.16",
3
+ "version": "0.0.17",
4
4
  "description": "React component to render email messages",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -16,7 +16,7 @@
16
16
  "dist"
17
17
  ],
18
18
  "scripts": {
19
- "build": "npx tsc -p tsconfig.build.json"
19
+ "build": "npx tsup src/index.ts --format esm,cjs --dts --out-dir dist"
20
20
  },
21
21
  "author": "carlos@usewaypoint.com",
22
22
  "license": "MIT",