@react-email/components 0.0.6 → 0.0.8
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 +17 -0
- package/dist/index.js +20 -0
- package/package.json +39 -35
- package/readme.md +1 -1
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export * from '@react-email/body';
|
|
2
|
+
export * from '@react-email/button';
|
|
3
|
+
export * from '@react-email/column';
|
|
4
|
+
export * from '@react-email/container';
|
|
5
|
+
export * from '@react-email/font';
|
|
6
|
+
export * from '@react-email/head';
|
|
7
|
+
export * from '@react-email/heading';
|
|
8
|
+
export * from '@react-email/hr';
|
|
9
|
+
export * from '@react-email/html';
|
|
10
|
+
export * from '@react-email/img';
|
|
11
|
+
export * from '@react-email/link';
|
|
12
|
+
export * from '@react-email/preview';
|
|
13
|
+
export * from '@react-email/render';
|
|
14
|
+
export * from '@react-email/row';
|
|
15
|
+
export * from '@react-email/section';
|
|
16
|
+
export * from '@react-email/tailwind';
|
|
17
|
+
export * from '@react-email/text';
|
package/dist/index.js
CHANGED
|
@@ -34,3 +34,23 @@ __reExport(src_exports, require("@react-email/row"), module.exports);
|
|
|
34
34
|
__reExport(src_exports, require("@react-email/section"), module.exports);
|
|
35
35
|
__reExport(src_exports, require("@react-email/tailwind"), module.exports);
|
|
36
36
|
__reExport(src_exports, require("@react-email/text"), module.exports);
|
|
37
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
38
|
+
0 && (module.exports = {
|
|
39
|
+
...require("@react-email/body"),
|
|
40
|
+
...require("@react-email/button"),
|
|
41
|
+
...require("@react-email/column"),
|
|
42
|
+
...require("@react-email/container"),
|
|
43
|
+
...require("@react-email/font"),
|
|
44
|
+
...require("@react-email/head"),
|
|
45
|
+
...require("@react-email/heading"),
|
|
46
|
+
...require("@react-email/hr"),
|
|
47
|
+
...require("@react-email/html"),
|
|
48
|
+
...require("@react-email/img"),
|
|
49
|
+
...require("@react-email/link"),
|
|
50
|
+
...require("@react-email/preview"),
|
|
51
|
+
...require("@react-email/render"),
|
|
52
|
+
...require("@react-email/row"),
|
|
53
|
+
...require("@react-email/section"),
|
|
54
|
+
...require("@react-email/tailwind"),
|
|
55
|
+
...require("@react-email/text")
|
|
56
|
+
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-email/components",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.8",
|
|
4
4
|
"description": "All react-email components",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -9,16 +9,24 @@
|
|
|
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",
|
|
15
|
-
"dev": "tsup src/index.ts --format esm,cjs --dts --external react --watch",
|
|
16
|
-
"lint": "eslint",
|
|
17
27
|
"clean": "rm -rf dist",
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"format:check": "prettier --check \"**/*.{ts,tsx,md}\"",
|
|
21
|
-
"format": "prettier --write \"**/*.{ts,tsx,md}\""
|
|
28
|
+
"dev": "tsup src/index.ts --format esm,cjs --dts --external react --watch",
|
|
29
|
+
"lint": "eslint ."
|
|
22
30
|
},
|
|
23
31
|
"repository": {
|
|
24
32
|
"type": "git",
|
|
@@ -30,39 +38,35 @@
|
|
|
30
38
|
"email"
|
|
31
39
|
],
|
|
32
40
|
"engines": {
|
|
33
|
-
"node": ">=
|
|
41
|
+
"node": ">=18.0.0"
|
|
34
42
|
},
|
|
35
43
|
"dependencies": {
|
|
36
|
-
"@react-email/body": "
|
|
37
|
-
"@react-email/button": "
|
|
38
|
-
"@react-email/column": "
|
|
39
|
-
"@react-email/container": "
|
|
40
|
-
"@react-email/font": "
|
|
41
|
-
"@react-email/head": "
|
|
42
|
-
"@react-email/heading": "
|
|
43
|
-
"@react-email/hr": "
|
|
44
|
-
"@react-email/html": "
|
|
45
|
-
"@react-email/img": "
|
|
46
|
-
"@react-email/link": "
|
|
47
|
-
"@react-email/preview": "
|
|
48
|
-
"@react-email/render": "
|
|
49
|
-
"@react-email/row": "
|
|
50
|
-
"@react-email/section": "
|
|
51
|
-
"@react-email/tailwind": "
|
|
52
|
-
"@react-email/text": "
|
|
44
|
+
"@react-email/body": "workspace:*",
|
|
45
|
+
"@react-email/button": "workspace:*",
|
|
46
|
+
"@react-email/column": "workspace:*",
|
|
47
|
+
"@react-email/container": "workspace:*",
|
|
48
|
+
"@react-email/font": "workspace:*",
|
|
49
|
+
"@react-email/head": "workspace:*",
|
|
50
|
+
"@react-email/heading": "workspace:*",
|
|
51
|
+
"@react-email/hr": "workspace:*",
|
|
52
|
+
"@react-email/html": "workspace:*",
|
|
53
|
+
"@react-email/img": "workspace:*",
|
|
54
|
+
"@react-email/link": "workspace:*",
|
|
55
|
+
"@react-email/preview": "workspace:*",
|
|
56
|
+
"@react-email/render": "workspace:*",
|
|
57
|
+
"@react-email/row": "workspace:*",
|
|
58
|
+
"@react-email/section": "workspace:*",
|
|
59
|
+
"@react-email/tailwind": "workspace:*",
|
|
60
|
+
"@react-email/text": "workspace:*"
|
|
61
|
+
},
|
|
62
|
+
"peerDependencies": {
|
|
53
63
|
"react": "18.2.0"
|
|
54
64
|
},
|
|
55
65
|
"devDependencies": {
|
|
56
|
-
"@babel/preset-react": "7.
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"eslint": "8.23.1",
|
|
61
|
-
"jest": "28.1.3",
|
|
62
|
-
"prettier": "2.8.4",
|
|
63
|
-
"ts-jest": "28.0.8",
|
|
64
|
-
"tsup": "6.2.3",
|
|
65
|
-
"typescript": "4.8.3"
|
|
66
|
+
"@babel/preset-react": "7.22.5",
|
|
67
|
+
"eslint-config-custom": "workspace:*",
|
|
68
|
+
"tsconfig": "workspace:*",
|
|
69
|
+
"typescript": "5.1.6"
|
|
66
70
|
},
|
|
67
71
|
"publishConfig": {
|
|
68
72
|
"access": "public"
|
package/readme.md
CHANGED
|
@@ -45,7 +45,7 @@ This component was tested using the most popular email clients.
|
|
|
45
45
|
|
|
46
46
|
| <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"> |
|
|
47
47
|
| -------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------ |
|
|
48
|
-
| Gmail ✔
|
|
48
|
+
| Gmail ✔ | Apple Mail ✔ | Outlook ✔ | Yahoo! Mail ✔ | HEY ✔ | Superhuman ✔ |
|
|
49
49
|
|
|
50
50
|
## License
|
|
51
51
|
|