diff --git a/packages/preview-server/src/utils/__snapshots__/get-email-component.spec.ts.snap b/packages/preview-server/src/utils/__snapshots__/get-email-component.spec.ts.snap index 25bca802b6..777d15da8d 100644 --- a/packages/preview-server/src/utils/__snapshots__/get-email-component.spec.ts.snap +++ b/packages/preview-server/src/utils/__snapshots__/get-email-component.spec.ts.snap @@ -13,10 +13,28 @@ exports[`getEmailComponent() > with a demo email template 1`] = `
+ style=" + margin-left:auto; + margin-right:auto; + margin-top:auto; + margin-bottom:auto; + background-color:rgb(255,255,255); + padding-left:8px; + padding-right:8px; + font-family:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" + " + >- Hello - alanturing, + style=" + font-size:14px; + color:rgb(0,0,0); + line-height:24px; + margin-top:16px; + margin-bottom:16px + " + > + Hello + + alanturing + + ,
- Alan ( + + Alan + + ( + alan.turing@example.com) has invited you to the Enigma team on - Vercel. + > + alan.turing@example.com + + ) has invited you to the + + Enigma + + team on + + + + Vercel + + .
@@ -87,9 +179,10 @@ exports[`getEmailComponent() > with a demo email template 1`] = ` align="center" width="100%" border="0" - cellpadding="0" - cellspacing="0" - role="presentation"> + cellPadding="0" + cellSpacing="0" + role="presentation" + > | ||
@@ -97,8 +190,15 @@ exports[`getEmailComponent() > with a demo email template 1`] = ` alt="alanturing's profile picture" height="64" src="/static/vercel-user.png" - style="border-radius:9999px;display:block;outline:none;border:none;text-decoration:none" - width="64" /> + style=" + border-radius:9999px; + display:block; + outline:none; + border:none; + text-decoration:none + " + width="64" + /> |
|
![]() |
Join the team + + + + + Join the team + + + + + |
- or copy and paste this URL into your browser: + style=" + font-size:14px; + color:rgb(0,0,0); + line-height:24px; + margin-top:16px; + margin-bottom:16px + " + > + or copy and paste this URL into your browser: + + https://vercel.com + https://vercel.com +
- This invitation was intended for - alanturing. This invite was - sent from 204.13.186.218 - located in - São Paulo, Brazil. If you - were not expecting this invitation, you can ignore this email. If - you are concerned about your account's safety, please reply - to this email to get in touch with us. + style=" + color:rgb(102,102,102); + font-size:12px; + line-height:24px; + margin-top:16px; + margin-bottom:16px + " + > + This invitation was intended for + + + + alanturing + + . This invite was sent from + + 204.13.186.218 + + + + located in + + + + São Paulo, Brazil + + . If you were not expecting this invitation, you can ignore this email. If you + are concerned about your account's safety, please reply to this email to + get in touch with us.
diff --git a/packages/react-email/src/commands/testing/__snapshots__/export.spec.ts.snap b/packages/react-email/src/commands/testing/__snapshots__/export.spec.ts.snap index a3b5bd3042..9fdf8574ff 100644 --- a/packages/react-email/src/commands/testing/__snapshots__/export.spec.ts.snap +++ b/packages/react-email/src/commands/testing/__snapshots__/export.spec.ts.snap @@ -11,10 +11,28 @@ exports[`email export 1`] = ` + style=" + margin-left:auto; + margin-right:auto; + margin-top:auto; + margin-bottom:auto; + background-color:rgb(255,255,255); + padding-left:8px; + padding-right:8px; + font-family:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" + " + >- Hello - , + style=" + font-size:14px; + color:rgb(0,0,0); + line-height:24px; + margin-top:16px; + margin-bottom:16px + " + > + Hello + + ,
- ( + + ( + ) has invited you to the team on - Vercel. + target="_blank" + > + ) has invited you to the + + team on + + + + Vercel + + .
@@ -84,17 +167,25 @@ exports[`email export 1`] = ` align="center" width="100%" border="0" - cellpadding="0" - cellspacing="0" - role="presentation"> + cellPadding="0" + cellSpacing="0" + role="presentation" + > | ||
|
![]() |
|
Join the team + + + + + Join the team + + + + + |
- or copy and paste this URL into your browser: - + style=" + font-size:14px; + color:rgb(0,0,0); + line-height:24px; + margin-top:16px; + margin-bottom:16px + " + > + or copy and paste this URL into your browser: + + +
- This invitation was intended for - . This invite was sent from + style=" + color:rgb(102,102,102); + font-size:12px; + line-height:24px; + margin-top:16px; + margin-bottom:16px + " + > + This invitation was intended for + + + + . This invite was sent from + + + + located in + + - located in - . If you were not expecting - this invitation, you can ignore this email. If you are concerned - about your account's safety, please reply to this email to + . If you were not expecting this invitation, you can ignore this email. If you + are concerned about your account's safety, please reply to this email to get in touch with us.
diff --git a/packages/render/package.json b/packages/render/package.json index 0da8592afb..7b14262bd5 100644 --- a/packages/render/package.json +++ b/packages/render/package.json @@ -85,8 +85,7 @@ }, "dependencies": { "html-to-text": "^9.0.5", - "prettier": "^3.5.3", - "react-promise-suspense": "^0.3.4" + "node-html-parser": "^7.0.1" }, "peerDependencies": { "react": "^18.0 || ^19.0 || ^19.0.0-rc", @@ -95,10 +94,10 @@ "devDependencies": { "@edge-runtime/vm": "5.0.0", "@types/html-to-text": "9.0.4", - "@types/prettier": "3.0.0", "@types/react": "npm:types-react@19.0.0-rc.1", "@types/react-dom": "npm:types-react-dom@19.0.0", "jsdom": "26.1.0", + "react-promise-suspense": "^0.3.4", "tsconfig": "workspace:*", "tsup": "8.4.0", "typescript": "5.8.3" diff --git a/packages/render/src/browser/__snapshots__/render-web.spec.tsx.snap b/packages/render/src/browser/__snapshots__/render-web.spec.tsx.snap index 882f165b0d..45240e6774 100644 --- a/packages/render/src/browser/__snapshots__/render-web.spec.tsx.snap +++ b/packages/render/src/browser/__snapshots__/render-web.spec.tsx.snap @@ -53,53 +53,3 @@ exports[`render on the browser environment > should properly wait for Suepsense `; exports[`render on the browser environment > should throw error of rendering an invalid element instead of writing them into a template tag 1`] = `[Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.]`; - -exports[`render on the browser environment > that it properly waits for Suepsense boundaries to resolve before resolving 1`] = ` -"This domain is for use in illustrative examples in documents. You may use this - domain in literature without prior coordination or asking for permission.
- -