@better-auth-ui/react 1.6.27 → 1.6.28
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/dist/email.js +1 -1
- package/package.json +9 -5
- package/src/components/auth/email/email-changed.tsx +2 -2
- package/src/components/auth/email/email-verification.tsx +2 -2
- package/src/components/auth/email/magic-link.tsx +2 -2
- package/src/components/auth/email/new-device.tsx +2 -2
- package/src/components/auth/email/organization-invitation.tsx +2 -2
- package/src/components/auth/email/otp-email.tsx +2 -2
- package/src/components/auth/email/password-changed.tsx +2 -2
- package/src/components/auth/email/reset-password.tsx +2 -2
package/dist/email.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Fragment as e, jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
2
|
-
import { Body as r, Button as i, Container as a, Head as o, Heading as s, Hr as c, Html as l, Img as u, Link as d, Preview as f, Section as p, Tailwind as m, Text as h, pixelBasedPreset as g } from "
|
|
2
|
+
import { Body as r, Button as i, Container as a, Head as o, Heading as s, Hr as c, Html as l, Img as u, Link as d, Preview as f, Section as p, Tailwind as m, Text as h, pixelBasedPreset as g } from "react-email";
|
|
3
3
|
import { clsx as _ } from "clsx";
|
|
4
4
|
import { twMerge as v } from "tailwind-merge";
|
|
5
5
|
//#region src/lib/utils.ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@better-auth-ui/react",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.28",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "vite build",
|
|
@@ -38,8 +38,7 @@
|
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@better-auth/api-key": "^1.6.19",
|
|
40
40
|
"@better-auth/passkey": "^1.6.19",
|
|
41
|
-
"@react-email/
|
|
42
|
-
"@react-email/preview-server": "^5.2.10",
|
|
41
|
+
"@react-email/ui": "6.6.8",
|
|
43
42
|
"@tanstack/query-core": "^5.100.14",
|
|
44
43
|
"@tanstack/react-query": "^5.100.14",
|
|
45
44
|
"@testing-library/react": "^16.3.2",
|
|
@@ -52,7 +51,7 @@
|
|
|
52
51
|
"playwright": "^1.61.0",
|
|
53
52
|
"react": "^19.2.6",
|
|
54
53
|
"react-dom": "^19.2.6",
|
|
55
|
-
"react-email": "^6.6.
|
|
54
|
+
"react-email": "^6.6.8",
|
|
56
55
|
"tailwind-merge": "^3.5.0",
|
|
57
56
|
"tailwindcss": "^4.3.1",
|
|
58
57
|
"vitest": "^4.1.9",
|
|
@@ -62,17 +61,22 @@
|
|
|
62
61
|
"@better-auth-ui/core": "*",
|
|
63
62
|
"@better-auth/api-key": ">=1.6.19",
|
|
64
63
|
"@better-auth/passkey": ">=1.6.19",
|
|
65
|
-
"@react-email/components": ">=1.0.12",
|
|
66
64
|
"@tanstack/query-core": ">=5.100.14",
|
|
67
65
|
"@tanstack/react-query": ">=5.100.14",
|
|
68
66
|
"better-auth": ">=1.6.19",
|
|
69
67
|
"clsx": ">=2.0.0",
|
|
70
68
|
"react": ">=19.2.6",
|
|
71
69
|
"react-dom": ">=19.2.6",
|
|
70
|
+
"react-email": ">=6.0.0",
|
|
72
71
|
"tailwind-merge": ">=3.5.0",
|
|
73
72
|
"tailwindcss": ">=4.3.1",
|
|
74
73
|
"zod": ">=4.4.3"
|
|
75
74
|
},
|
|
75
|
+
"peerDependenciesMeta": {
|
|
76
|
+
"react-email": {
|
|
77
|
+
"optional": true
|
|
78
|
+
}
|
|
79
|
+
},
|
|
76
80
|
"repository": {
|
|
77
81
|
"type": "git",
|
|
78
82
|
"url": "https://github.com/better-auth-ui/better-auth-ui",
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { ReactNode } from "react"
|
|
1
2
|
import {
|
|
2
3
|
Body,
|
|
3
4
|
Button,
|
|
@@ -13,8 +14,7 @@ import {
|
|
|
13
14
|
Section,
|
|
14
15
|
Tailwind,
|
|
15
16
|
Text
|
|
16
|
-
} from "
|
|
17
|
-
import type { ReactNode } from "react"
|
|
17
|
+
} from "react-email"
|
|
18
18
|
|
|
19
19
|
import { cn } from "../../../lib/utils"
|
|
20
20
|
import {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { ReactNode } from "react"
|
|
1
2
|
import {
|
|
2
3
|
Body,
|
|
3
4
|
Button,
|
|
@@ -13,8 +14,7 @@ import {
|
|
|
13
14
|
Section,
|
|
14
15
|
Tailwind,
|
|
15
16
|
Text
|
|
16
|
-
} from "
|
|
17
|
-
import type { ReactNode } from "react"
|
|
17
|
+
} from "react-email"
|
|
18
18
|
|
|
19
19
|
import { cn } from "../../../lib/utils"
|
|
20
20
|
import {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { ReactNode } from "react"
|
|
1
2
|
import {
|
|
2
3
|
Body,
|
|
3
4
|
Button,
|
|
@@ -13,8 +14,7 @@ import {
|
|
|
13
14
|
Section,
|
|
14
15
|
Tailwind,
|
|
15
16
|
Text
|
|
16
|
-
} from "
|
|
17
|
-
import type { ReactNode } from "react"
|
|
17
|
+
} from "react-email"
|
|
18
18
|
|
|
19
19
|
import { cn } from "../../../lib/utils"
|
|
20
20
|
import {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { ReactNode } from "react"
|
|
1
2
|
import {
|
|
2
3
|
Body,
|
|
3
4
|
Button,
|
|
@@ -13,8 +14,7 @@ import {
|
|
|
13
14
|
Section,
|
|
14
15
|
Tailwind,
|
|
15
16
|
Text
|
|
16
|
-
} from "
|
|
17
|
-
import type { ReactNode } from "react"
|
|
17
|
+
} from "react-email"
|
|
18
18
|
|
|
19
19
|
import { cn } from "../../../lib/utils"
|
|
20
20
|
import {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { ReactNode } from "react"
|
|
1
2
|
import {
|
|
2
3
|
Body,
|
|
3
4
|
Button,
|
|
@@ -13,8 +14,7 @@ import {
|
|
|
13
14
|
Section,
|
|
14
15
|
Tailwind,
|
|
15
16
|
Text
|
|
16
|
-
} from "
|
|
17
|
-
import type { ReactNode } from "react"
|
|
17
|
+
} from "react-email"
|
|
18
18
|
|
|
19
19
|
import { cn } from "../../../lib/utils"
|
|
20
20
|
import {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { ReactNode } from "react"
|
|
1
2
|
import {
|
|
2
3
|
Body,
|
|
3
4
|
Container,
|
|
@@ -12,8 +13,7 @@ import {
|
|
|
12
13
|
Section,
|
|
13
14
|
Tailwind,
|
|
14
15
|
Text
|
|
15
|
-
} from "
|
|
16
|
-
import type { ReactNode } from "react"
|
|
16
|
+
} from "react-email"
|
|
17
17
|
|
|
18
18
|
import { cn } from "../../../lib/utils"
|
|
19
19
|
import {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { ReactNode } from "react"
|
|
1
2
|
import {
|
|
2
3
|
Body,
|
|
3
4
|
Button,
|
|
@@ -13,8 +14,7 @@ import {
|
|
|
13
14
|
Section,
|
|
14
15
|
Tailwind,
|
|
15
16
|
Text
|
|
16
|
-
} from "
|
|
17
|
-
import type { ReactNode } from "react"
|
|
17
|
+
} from "react-email"
|
|
18
18
|
|
|
19
19
|
import { cn } from "../../../lib/utils"
|
|
20
20
|
import {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { ReactNode } from "react"
|
|
1
2
|
import {
|
|
2
3
|
Body,
|
|
3
4
|
Button,
|
|
@@ -13,8 +14,7 @@ import {
|
|
|
13
14
|
Section,
|
|
14
15
|
Tailwind,
|
|
15
16
|
Text
|
|
16
|
-
} from "
|
|
17
|
-
import type { ReactNode } from "react"
|
|
17
|
+
} from "react-email"
|
|
18
18
|
|
|
19
19
|
import { cn } from "../../../lib/utils"
|
|
20
20
|
import {
|