@dbx-tools/ui-email 0.6.87 → 0.6.89
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 +6 -6
- package/src/react/email-body.tsx +2 -2
package/package.json
CHANGED
|
@@ -24,11 +24,11 @@
|
|
|
24
24
|
"typescript": "^5.9.3"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@dbx-tools/shared-core": "0.6.
|
|
28
|
-
"@dbx-tools/shared-email": "0.6.
|
|
29
|
-
"@dbx-tools/shared-email-template": "0.6.
|
|
30
|
-
"@dbx-tools/ui-appkit": "0.6.
|
|
31
|
-
"@dbx-tools/ui-branding": "0.6.
|
|
27
|
+
"@dbx-tools/shared-core": "0.6.89",
|
|
28
|
+
"@dbx-tools/shared-email": "0.6.89",
|
|
29
|
+
"@dbx-tools/shared-email-template": "0.6.89",
|
|
30
|
+
"@dbx-tools/ui-appkit": "0.6.89",
|
|
31
|
+
"@dbx-tools/ui-branding": "0.6.89",
|
|
32
32
|
"lucide-react": "^0.554.0",
|
|
33
33
|
"react": "^19.2.4",
|
|
34
34
|
"react-dom": "^19.2.4"
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"publishConfig": {
|
|
38
38
|
"access": "public"
|
|
39
39
|
},
|
|
40
|
-
"version": "0.6.
|
|
40
|
+
"version": "0.6.89",
|
|
41
41
|
"type": "module",
|
|
42
42
|
"exports": {
|
|
43
43
|
"./react": "./src/react/index.ts",
|
package/src/react/email-body.tsx
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// render the drafted Markdown identically (links, lists, emphasis, and
|
|
4
4
|
// tables rather than raw syntax).
|
|
5
5
|
|
|
6
|
-
import { EmailBody as
|
|
6
|
+
import { EmailBody as SharedEmailBody, type EmailBrand } from "@dbx-tools/shared-email-template";
|
|
7
7
|
import { cn } from "@dbx-tools/ui-appkit/react";
|
|
8
8
|
|
|
9
9
|
/** Props for {@link EmailBody}. */
|
|
@@ -18,6 +18,6 @@ export interface EmailBodyProps {
|
|
|
18
18
|
/** Render an email body with the same React Email component used for delivery. */
|
|
19
19
|
export const EmailBody = ({ children, className, brand }: EmailBodyProps) => (
|
|
20
20
|
<div className={cn("max-w-none break-words", className)}>
|
|
21
|
-
<
|
|
21
|
+
<SharedEmailBody body={children} brand={brand} />
|
|
22
22
|
</div>
|
|
23
23
|
);
|