@dbx-tools/ui-email 0.6.63 → 0.6.64
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/README.md +3 -1
- package/package.json +7 -6
package/README.md
CHANGED
|
@@ -117,7 +117,7 @@ across approval, compose, and custom UI surfaces.
|
|
|
117
117
|
## Gate An App Behind An Email Code
|
|
118
118
|
|
|
119
119
|
```tsx
|
|
120
|
-
import { AuthGate } from "@dbx-tools/ui-email/react";
|
|
120
|
+
import { AuthGate } from "@dbx-tools/ui-email/react/auth-gate";
|
|
121
121
|
|
|
122
122
|
<AuthGate>
|
|
123
123
|
<App />
|
|
@@ -152,6 +152,8 @@ shape the gate sends, so change one and check the other.
|
|
|
152
152
|
- `./react` - `EmailPreview`, `EmailApprovalCard`, `EmailComposeView`,
|
|
153
153
|
`EmailBody`, `AuthGate`, address/attachment helpers, shared email message
|
|
154
154
|
types, and prop types.
|
|
155
|
+
- `./react/auth-gate` - focused `AuthGate` entry that keeps email rendering and
|
|
156
|
+
compose dependencies out of a public login bundle.
|
|
155
157
|
- `./styles.css` - Tailwind/AppKit style entrypoint for the email components.
|
|
156
158
|
|
|
157
159
|
Pair this package with [`@dbx-tools/email`](../../node/email) for SMTP or
|
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.64",
|
|
28
|
+
"@dbx-tools/shared-email": "0.6.64",
|
|
29
|
+
"@dbx-tools/shared-email-template": "0.6.64",
|
|
30
|
+
"@dbx-tools/ui-appkit": "0.6.64",
|
|
31
|
+
"@dbx-tools/ui-branding": "0.6.64",
|
|
32
32
|
"lucide-react": "^0.554.0",
|
|
33
33
|
"react": "^19.2.4",
|
|
34
34
|
"react-dom": "^19.2.4"
|
|
@@ -37,10 +37,11 @@
|
|
|
37
37
|
"publishConfig": {
|
|
38
38
|
"access": "public"
|
|
39
39
|
},
|
|
40
|
-
"version": "0.6.
|
|
40
|
+
"version": "0.6.64",
|
|
41
41
|
"type": "module",
|
|
42
42
|
"exports": {
|
|
43
43
|
"./react": "./src/react/index.ts",
|
|
44
|
+
"./react/auth-gate": "./src/react/auth-gate.tsx",
|
|
44
45
|
"./styles.css": "./src/styles.css",
|
|
45
46
|
"./package.json": "./package.json"
|
|
46
47
|
},
|