@react-email/render 0.0.17-canary.0 → 0.0.17-canary.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-email/render",
3
- "version": "0.0.17-canary.0",
3
+ "version": "0.0.17-canary.1",
4
4
  "description": "Transform React components into HTML email templates",
5
5
  "sideEffects": false,
6
6
  "main": "./dist/browser/index.js",
@@ -82,8 +82,8 @@
82
82
  "react-promise-suspense": "0.3.4"
83
83
  },
84
84
  "peerDependencies": {
85
- "react": "^18.0 || ^19.0 || ^19.0.0-rc",
86
- "react-dom": "^18.0 || ^19.0 || ^19.0.0-rc"
85
+ "react": "^18.2.0",
86
+ "react-dom": "^18.2.0"
87
87
  },
88
88
  "devDependencies": {
89
89
  "@babel/preset-react": "7.23.3",
package/dist/index.d.mts DELETED
@@ -1,23 +0,0 @@
1
- import { HtmlToTextOptions, SelectorDefinition } from 'html-to-text';
2
-
3
- type Options = {
4
- pretty?: boolean;
5
- } & ({
6
- plainText?: false;
7
- } | {
8
- plainText?: true;
9
- /**
10
- * These are options you can pass down directly to the library we use for
11
- * converting the rendered email's HTML into plain text.
12
- *
13
- * @see https://github.com/html-to-text/node-html-to-text
14
- */
15
- htmlToTextOptions?: HtmlToTextOptions;
16
- });
17
-
18
- declare const doctype = "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">";
19
- declare const render: (element: React.ReactElement, options?: Options) => Promise<string>;
20
-
21
- declare const plainTextSelectors: SelectorDefinition[];
22
-
23
- export { Options, doctype, plainTextSelectors, render };
package/dist/index.d.ts DELETED
@@ -1,23 +0,0 @@
1
- import { HtmlToTextOptions, SelectorDefinition } from 'html-to-text';
2
-
3
- type Options = {
4
- pretty?: boolean;
5
- } & ({
6
- plainText?: false;
7
- } | {
8
- plainText?: true;
9
- /**
10
- * These are options you can pass down directly to the library we use for
11
- * converting the rendered email's HTML into plain text.
12
- *
13
- * @see https://github.com/html-to-text/node-html-to-text
14
- */
15
- htmlToTextOptions?: HtmlToTextOptions;
16
- });
17
-
18
- declare const doctype = "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">";
19
- declare const render: (element: React.ReactElement, options?: Options) => Promise<string>;
20
-
21
- declare const plainTextSelectors: SelectorDefinition[];
22
-
23
- export { Options, doctype, plainTextSelectors, render };