@react-email/body 0.0.2 → 0.0.3
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 +1 -1
- package/package.json +20 -5
- package/readme.md +4 -4
package/dist/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-email/body",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.3",
|
|
4
4
|
"description": "A React body component to wrap emails",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -9,6 +9,18 @@
|
|
|
9
9
|
"files": [
|
|
10
10
|
"dist/**"
|
|
11
11
|
],
|
|
12
|
+
"exports": {
|
|
13
|
+
".": {
|
|
14
|
+
"import": {
|
|
15
|
+
"types": "./dist/index.d.ts",
|
|
16
|
+
"default": "./dist/index.mjs"
|
|
17
|
+
},
|
|
18
|
+
"require": {
|
|
19
|
+
"types": "./dist/index.d.ts",
|
|
20
|
+
"default": "./dist/index.js"
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
},
|
|
12
24
|
"license": "MIT",
|
|
13
25
|
"scripts": {
|
|
14
26
|
"build": "tsup src/index.ts --format esm,cjs --dts --external react",
|
|
@@ -24,16 +36,19 @@
|
|
|
24
36
|
"react": "18.2.0"
|
|
25
37
|
},
|
|
26
38
|
"devDependencies": {
|
|
27
|
-
"@babel/
|
|
39
|
+
"@babel/core": "7.21.8",
|
|
40
|
+
"@babel/preset-react": "7.22.5",
|
|
41
|
+
"@react-email/render": "0.0.6",
|
|
42
|
+
"@types/jest": "29.5.3",
|
|
28
43
|
"@types/react": "18.0.20",
|
|
29
44
|
"@types/react-dom": "18.0.6",
|
|
30
45
|
"babel-jest": "28.1.3",
|
|
31
|
-
"eslint": "8.
|
|
46
|
+
"eslint": "8.45.0",
|
|
32
47
|
"jest": "28.1.3",
|
|
33
|
-
"prettier": "
|
|
48
|
+
"prettier": "3.0.0",
|
|
34
49
|
"ts-jest": "28.0.8",
|
|
35
50
|
"tsup": "6.2.3",
|
|
36
|
-
"typescript": "
|
|
51
|
+
"typescript": "5.1.6"
|
|
37
52
|
},
|
|
38
53
|
"publishConfig": {
|
|
39
54
|
"access": "public"
|
package/readme.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-

|
|
2
2
|
|
|
3
3
|
<div align="center"><strong>@react-email/body</strong></div>
|
|
4
4
|
<div align="center">A React body component to wrap emails.</div>
|
|
@@ -55,9 +55,9 @@ const Email = () => {
|
|
|
55
55
|
|
|
56
56
|
This component was tested using the most popular email clients.
|
|
57
57
|
|
|
58
|
-
| <img src="https://react.email/static/
|
|
59
|
-
|
|
|
60
|
-
| Gmail ✔
|
|
58
|
+
| <img src="https://react.email/static/icons/gmail.svg" width="48px" height="48px" alt="Gmail logo"> | <img src="https://react.email/static/icons/apple-mail.svg" width="48px" height="48px" alt="Apple Mail"> | <img src="https://react.email/static/icons/outlook.svg" width="48px" height="48px" alt="Outlook logo"> | <img src="https://react.email/static/icons/yahoo-mail.svg" width="48px" height="48px" alt="Yahoo! Mail logo"> | <img src="https://react.email/static/icons/hey.svg" width="48px" height="48px" alt="HEY logo"> | <img src="https://react.email/static/icons/superhuman.svg" width="48px" height="48px" alt="Superhuman logo"> |
|
|
59
|
+
| -------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------ |
|
|
60
|
+
| Gmail ✔ | Apple Mail ✔ | Outlook ✔ | Yahoo! Mail ✔ | HEY ✔ | Superhuman ✔ |
|
|
61
61
|
|
|
62
62
|
## License
|
|
63
63
|
|