@react-email/body 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 CHANGED
@@ -1,7 +1,6 @@
1
1
  import * as React from 'react';
2
2
 
3
- type RootProps = React.ComponentPropsWithoutRef<"body">;
4
- type BodyProps = RootProps;
5
- declare const Body: React.ForwardRefExoticComponent<Readonly<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLBodyElement>, HTMLBodyElement>, "ref">> & React.RefAttributes<HTMLBodyElement>>;
3
+ type BodyProps = Readonly<React.HtmlHTMLAttributes<HTMLBodyElement>>;
4
+ declare const Body: React.ForwardRefExoticComponent<Readonly<React.HtmlHTMLAttributes<HTMLBodyElement>> & React.RefAttributes<HTMLBodyElement>>;
6
5
 
7
- export { Body, BodyProps };
6
+ export { Body, type BodyProps };
package/dist/index.d.ts CHANGED
@@ -1,7 +1,6 @@
1
1
  import * as React from 'react';
2
2
 
3
- type RootProps = React.ComponentPropsWithoutRef<"body">;
4
- type BodyProps = RootProps;
5
- declare const Body: React.ForwardRefExoticComponent<Readonly<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLBodyElement>, HTMLBodyElement>, "ref">> & React.RefAttributes<HTMLBodyElement>>;
3
+ type BodyProps = Readonly<React.HtmlHTMLAttributes<HTMLBodyElement>>;
4
+ declare const Body: React.ForwardRefExoticComponent<Readonly<React.HtmlHTMLAttributes<HTMLBodyElement>> & React.RefAttributes<HTMLBodyElement>>;
6
5
 
7
- export { Body, BodyProps };
6
+ export { Body, type BodyProps };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-email/body",
3
- "version": "0.0.10-canary.0",
3
+ "version": "0.0.11-canary.0",
4
4
  "description": "A React body component to wrap emails",
5
5
  "sideEffects": false,
6
6
  "main": "./dist/index.js",
@@ -22,16 +22,14 @@
22
22
  }
23
23
  },
24
24
  "license": "MIT",
25
- "peerDependencies": {
25
+ "dependencies": {
26
26
  "react": "^18.0 || ^19.0 || ^19.0.0-rc"
27
27
  },
28
28
  "devDependencies": {
29
- "@babel/core": "7.23.9",
30
- "@babel/preset-react": "7.23.3",
31
29
  "typescript": "5.1.6",
32
- "@react-email/render": "0.0.18-canary.0",
33
30
  "tsconfig": "0.0.0",
34
- "eslint-config-custom": "0.0.0"
31
+ "eslint-config-custom": "0.0.0",
32
+ "@react-email/render": "1.0.3-canary.0"
35
33
  },
36
34
  "publishConfig": {
37
35
  "access": "public"