@react-email/components 0.0.7 → 0.0.9

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.
@@ -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.7",
3
+ "version": "0.0.9",
4
4
  "description": "All react-email components",
5
5
  "sideEffects": false,
6
6
  "main": "./dist/index.js",
@@ -24,13 +24,9 @@
24
24
  "license": "MIT",
25
25
  "scripts": {
26
26
  "build": "tsup src/index.ts --format esm,cjs --dts --external react",
27
- "dev": "tsup src/index.ts --format esm,cjs --dts --external react --watch",
28
- "lint": "eslint",
29
27
  "clean": "rm -rf dist",
30
- "test": "jest --passWithNoTests",
31
- "test:watch": "jest --watch",
32
- "format:check": "prettier --check \"**/*.{ts,tsx,md}\"",
33
- "format": "prettier --write \"**/*.{ts,tsx,md}\""
28
+ "dev": "tsup src/index.ts --format esm,cjs --dts --external react --watch",
29
+ "lint": "eslint ."
34
30
  },
35
31
  "repository": {
36
32
  "type": "git",
@@ -42,39 +38,35 @@
42
38
  "email"
43
39
  ],
44
40
  "engines": {
45
- "node": ">=16.0.0"
41
+ "node": ">=18.0.0"
46
42
  },
47
43
  "dependencies": {
48
- "@react-email/body": "0.0.2",
49
- "@react-email/button": "0.0.9",
50
- "@react-email/column": "0.0.7",
51
- "@react-email/container": "0.0.8",
52
- "@react-email/font": "0.0.2",
53
- "@react-email/head": "0.0.5",
54
- "@react-email/heading": "0.0.8",
55
- "@react-email/hr": "0.0.5",
56
- "@react-email/html": "0.0.4",
57
- "@react-email/img": "0.0.5",
58
- "@react-email/link": "0.0.5",
59
- "@react-email/preview": "0.0.6",
60
- "@react-email/render": "0.0.7",
61
- "@react-email/row": "0.0.5",
62
- "@react-email/section": "0.0.9",
63
- "@react-email/tailwind": "0.0.8",
64
- "@react-email/text": "0.0.5",
44
+ "@react-email/body": "0.0.4",
45
+ "@react-email/button": "0.0.11",
46
+ "@react-email/column": "0.0.8",
47
+ "@react-email/container": "0.0.10",
48
+ "@react-email/font": "0.0.4",
49
+ "@react-email/head": "0.0.6",
50
+ "@react-email/heading": "0.0.9",
51
+ "@react-email/hr": "0.0.6",
52
+ "@react-email/html": "0.0.6",
53
+ "@react-email/img": "0.0.6",
54
+ "@react-email/link": "0.0.6",
55
+ "@react-email/preview": "0.0.7",
56
+ "@react-email/render": "0.0.8",
57
+ "@react-email/row": "0.0.6",
58
+ "@react-email/section": "0.0.10",
59
+ "@react-email/tailwind": "0.0.11",
60
+ "@react-email/text": "0.0.6"
61
+ },
62
+ "peerDependencies": {
65
63
  "react": "18.2.0"
66
64
  },
67
65
  "devDependencies": {
68
- "@babel/preset-react": "7.18.6",
69
- "@types/react": "18.0.20",
70
- "@types/react-dom": "18.0.6",
71
- "babel-jest": "28.1.3",
72
- "eslint": "8.23.1",
73
- "jest": "28.1.3",
74
- "prettier": "2.8.4",
75
- "ts-jest": "28.0.8",
76
- "tsup": "6.2.3",
77
- "typescript": "4.8.3"
66
+ "@babel/preset-react": "7.22.5",
67
+ "eslint-config-custom": "workspace:*",
68
+ "tsconfig": "workspace:*",
69
+ "typescript": "5.1.6"
78
70
  },
79
71
  "publishConfig": {
80
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 ✔ | Apple Mail ✔ | Outlook ✔ | Yahoo! Mail ✔ | HEY ✔ | Superhuman ✔ |
48
+ | Gmail ✔ | Apple Mail ✔ | Outlook ✔ | Yahoo! Mail ✔ | HEY ✔ | Superhuman ✔ |
49
49
 
50
50
  ## License
51
51