@react-email/row 0.0.10-canary.0 → 0.0.11-canary.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.mts +6 -5
- package/dist/index.d.ts +6 -5
- package/dist/index.js +20 -18
- package/dist/index.mjs +20 -18
- package/package.json +2 -3
package/dist/index.d.mts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
|
|
3
|
-
type
|
|
4
|
-
interface RowProps extends RootProps {
|
|
3
|
+
type RowProps = Readonly<React.ComponentPropsWithoutRef<"table"> & {
|
|
5
4
|
children: React.ReactNode;
|
|
6
|
-
}
|
|
7
|
-
declare const Row: React.ForwardRefExoticComponent<Readonly<
|
|
5
|
+
}>;
|
|
6
|
+
declare const Row: React.ForwardRefExoticComponent<Readonly<Omit<React.DetailedHTMLProps<React.TableHTMLAttributes<HTMLTableElement>, HTMLTableElement>, "ref"> & {
|
|
7
|
+
children: React.ReactNode;
|
|
8
|
+
}> & React.RefAttributes<HTMLTableElement>>;
|
|
8
9
|
|
|
9
|
-
export { Row, RowProps };
|
|
10
|
+
export { Row, type RowProps };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
|
|
3
|
-
type
|
|
4
|
-
interface RowProps extends RootProps {
|
|
3
|
+
type RowProps = Readonly<React.ComponentPropsWithoutRef<"table"> & {
|
|
5
4
|
children: React.ReactNode;
|
|
6
|
-
}
|
|
7
|
-
declare const Row: React.ForwardRefExoticComponent<Readonly<
|
|
5
|
+
}>;
|
|
6
|
+
declare const Row: React.ForwardRefExoticComponent<Readonly<Omit<React.DetailedHTMLProps<React.TableHTMLAttributes<HTMLTableElement>, HTMLTableElement>, "ref"> & {
|
|
7
|
+
children: React.ReactNode;
|
|
8
|
+
}> & React.RefAttributes<HTMLTableElement>>;
|
|
8
9
|
|
|
9
|
-
export { Row, RowProps };
|
|
10
|
+
export { Row, type RowProps };
|
package/dist/index.js
CHANGED
|
@@ -66,24 +66,26 @@ module.exports = __toCommonJS(src_exports);
|
|
|
66
66
|
// src/row.tsx
|
|
67
67
|
var React = __toESM(require("react"));
|
|
68
68
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
69
|
-
var Row = React.forwardRef(
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
69
|
+
var Row = React.forwardRef(
|
|
70
|
+
(_a, ref) => {
|
|
71
|
+
var _b = _a, { children, style } = _b, props = __objRest(_b, ["children", "style"]);
|
|
72
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
73
|
+
"table",
|
|
74
|
+
__spreadProps(__spreadValues({
|
|
75
|
+
align: "center",
|
|
76
|
+
width: "100%",
|
|
77
|
+
border: 0,
|
|
78
|
+
cellPadding: "0",
|
|
79
|
+
cellSpacing: "0",
|
|
80
|
+
role: "presentation"
|
|
81
|
+
}, props), {
|
|
82
|
+
ref,
|
|
83
|
+
style,
|
|
84
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("tbody", { style: { width: "100%" }, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("tr", { style: { width: "100%" }, children }) })
|
|
85
|
+
})
|
|
86
|
+
);
|
|
87
|
+
}
|
|
88
|
+
);
|
|
87
89
|
Row.displayName = "Row";
|
|
88
90
|
// Annotate the CommonJS export names for ESM import in node:
|
|
89
91
|
0 && (module.exports = {
|
package/dist/index.mjs
CHANGED
|
@@ -33,24 +33,26 @@ var __objRest = (source, exclude) => {
|
|
|
33
33
|
// src/row.tsx
|
|
34
34
|
import * as React from "react";
|
|
35
35
|
import { jsx } from "react/jsx-runtime";
|
|
36
|
-
var Row = React.forwardRef(
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
36
|
+
var Row = React.forwardRef(
|
|
37
|
+
(_a, ref) => {
|
|
38
|
+
var _b = _a, { children, style } = _b, props = __objRest(_b, ["children", "style"]);
|
|
39
|
+
return /* @__PURE__ */ jsx(
|
|
40
|
+
"table",
|
|
41
|
+
__spreadProps(__spreadValues({
|
|
42
|
+
align: "center",
|
|
43
|
+
width: "100%",
|
|
44
|
+
border: 0,
|
|
45
|
+
cellPadding: "0",
|
|
46
|
+
cellSpacing: "0",
|
|
47
|
+
role: "presentation"
|
|
48
|
+
}, props), {
|
|
49
|
+
ref,
|
|
50
|
+
style,
|
|
51
|
+
children: /* @__PURE__ */ jsx("tbody", { style: { width: "100%" }, children: /* @__PURE__ */ jsx("tr", { style: { width: "100%" }, children }) })
|
|
52
|
+
})
|
|
53
|
+
);
|
|
54
|
+
}
|
|
55
|
+
);
|
|
54
56
|
Row.displayName = "Row";
|
|
55
57
|
export {
|
|
56
58
|
Row
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-email/row",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.11-canary.0",
|
|
4
4
|
"description": "A React row component",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -38,10 +38,9 @@
|
|
|
38
38
|
"react": "^18.0 || ^19.0 || ^19.0.0-rc"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@babel/preset-react": "7.23.3",
|
|
42
41
|
"typescript": "5.1.6",
|
|
42
|
+
"@react-email/render": "1.0.2-canary.0",
|
|
43
43
|
"eslint-config-custom": "0.0.0",
|
|
44
|
-
"@react-email/render": "0.0.18-canary.0",
|
|
45
44
|
"tsconfig": "0.0.0"
|
|
46
45
|
},
|
|
47
46
|
"publishConfig": {
|