@react-email/column 0.0.6 → 0.0.7

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.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
 
3
- declare type RootProps = React.ComponentPropsWithoutRef<'td'>;
3
+ declare type RootProps = React.ComponentPropsWithoutRef<"td">;
4
4
  interface ColumnProps extends RootProps {
5
5
  }
6
6
  declare const Column: React.ForwardRefExoticComponent<Readonly<ColumnProps> & React.RefAttributes<HTMLTableDataCellElement>>;
package/dist/index.js CHANGED
@@ -35,7 +35,16 @@ var React = __toESM(require("react"));
35
35
  var import_jsx_runtime = require("react/jsx-runtime");
36
36
  var Column = React.forwardRef(
37
37
  ({ children, style, ...props }, forwardedRef) => {
38
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("td", { ...props, style, ref: forwardedRef, children });
38
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
39
+ "td",
40
+ {
41
+ ...props,
42
+ ref: forwardedRef,
43
+ "data-id": "__react-email-column",
44
+ style,
45
+ children
46
+ }
47
+ );
39
48
  }
40
49
  );
41
50
  // Annotate the CommonJS export names for ESM import in node:
package/dist/index.mjs CHANGED
@@ -3,7 +3,16 @@ import * as React from "react";
3
3
  import { jsx } from "react/jsx-runtime";
4
4
  var Column = React.forwardRef(
5
5
  ({ children, style, ...props }, forwardedRef) => {
6
- return /* @__PURE__ */ jsx("td", { ...props, style, ref: forwardedRef, children });
6
+ return /* @__PURE__ */ jsx(
7
+ "td",
8
+ {
9
+ ...props,
10
+ ref: forwardedRef,
11
+ "data-id": "__react-email-column",
12
+ style,
13
+ children
14
+ }
15
+ );
7
16
  }
8
17
  );
9
18
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-email/column",
3
- "version": "0.0.6",
3
+ "version": "0.0.7",
4
4
  "description": "Display a column that separates content areas vertically in your email",
5
5
  "sideEffects": false,
6
6
  "main": "./dist/index.js",
@@ -17,8 +17,8 @@
17
17
  "clean": "rm -rf dist",
18
18
  "test": "jest",
19
19
  "test:watch": "jest --watch",
20
- "format:check": "prettier --ignore-path ./../../.prettierignore --check \"**/*.{ts,tsx,md}\"",
21
- "format": "prettier --ignore-path ./../../.prettierignore --write \"**/*.{ts,tsx,md}\""
20
+ "format:check": "prettier --check \"**/*.{ts,tsx,md}\"",
21
+ "format": "prettier --write \"**/*.{ts,tsx,md}\""
22
22
  },
23
23
  "repository": {
24
24
  "type": "git",
@@ -37,15 +37,13 @@
37
37
  },
38
38
  "devDependencies": {
39
39
  "@babel/preset-react": "7.18.6",
40
- "@react-email/render": "*",
41
40
  "@types/react": "18.0.20",
42
41
  "@types/react-dom": "18.0.6",
43
42
  "babel-jest": "28.1.3",
44
43
  "eslint": "8.23.1",
45
- "eslint-config-custom": "*",
46
44
  "jest": "28.1.3",
45
+ "prettier": "2.8.4",
47
46
  "ts-jest": "28.0.8",
48
- "tsconfig": "*",
49
47
  "tsup": "6.2.3",
50
48
  "typescript": "4.8.3"
51
49
  },