@neondatabase/auth 0.1.0-beta.6 → 0.1.0-beta.7

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.
Files changed (37) hide show
  1. package/README.md +8 -8
  2. package/dist/{adapter-core-CTmuBvuA.d.mts → adapter-core-Bw9mn_AS.d.mts} +27 -34
  3. package/dist/{better-auth-react-adapter-C-jXL6Ba.mjs → better-auth-react-adapter-BbM3jLLv.mjs} +1 -1
  4. package/dist/{better-auth-react-adapter-Dx3CfB7p.d.mts → better-auth-react-adapter-JoscqoDc.d.mts} +1 -1
  5. package/dist/chunk-5DLVHPZS-Bxj7snpZ-DoVNlsyk.mjs +533 -0
  6. package/dist/index.d.mts +3 -3
  7. package/dist/index.mjs +1 -1
  8. package/dist/{neon-auth-CgnFwwHq.mjs → neon-auth-DdlToh7_.mjs} +1 -1
  9. package/dist/next/index.d.mts +16 -12
  10. package/dist/next/index.mjs +2 -2
  11. package/dist/react/adapters/index.d.mts +3 -3
  12. package/dist/react/adapters/index.mjs +1 -1
  13. package/dist/react/index.d.mts +4 -4
  14. package/dist/react/index.mjs +4 -92
  15. package/dist/react/ui/index.d.mts +1 -1
  16. package/dist/react/ui/index.mjs +3 -91
  17. package/dist/react/ui/server.mjs +1 -1
  18. package/dist/{supabase-adapter-yCWWsIii.mjs → supabase-adapter-CAqbpOC7.mjs} +1 -1
  19. package/dist/{supabase-adapter-CiWRH5H6.d.mts → supabase-adapter-Clxlqg1x.d.mts} +1 -1
  20. package/dist/types/index.d.mts +1 -1
  21. package/dist/ui/css.css +1 -1
  22. package/dist/ui/tailwind.css +0 -3
  23. package/dist/ui/theme.css +125 -49
  24. package/dist/ui-aMoA-9nq.mjs +9449 -0
  25. package/dist/vanilla/adapters/index.d.mts +3 -3
  26. package/dist/vanilla/adapters/index.mjs +1 -1
  27. package/dist/vanilla/index.d.mts +3 -3
  28. package/dist/vanilla/index.mjs +1 -1
  29. package/package.json +3 -3
  30. package/dist/ui-DAV9H8gz.mjs +0 -401
  31. /package/dist/{adapter-core-FGGtjVtJ.mjs → adapter-core-C_NEMs0b.mjs} +0 -0
  32. /package/dist/{adapters-C4sibmzW.mjs → adapters-D0mxG3F-.mjs} +0 -0
  33. /package/dist/{adapters-D7Wxk4MT.mjs → adapters-Df6Dd3KK.mjs} +0 -0
  34. /package/dist/{better-auth-types-BSQToNou.d.mts → better-auth-types-CE4hLv9E.d.mts} +0 -0
  35. /package/dist/{index-BFF7W17u.d.mts → index-BXlAjlSt.d.mts} +0 -0
  36. /package/dist/{index-BXxhKmeA.d.mts → index-ClXLQ1fw.d.mts} +0 -0
  37. /package/dist/{index-sBeFMSCP.d.mts → index-DCQ5Y2ED.d.mts} +0 -0
package/dist/ui/theme.css CHANGED
@@ -1,8 +1,98 @@
1
- @import 'tw-animate-css';
2
- @import '@daveyplate/better-auth-ui/css';
3
-
4
- @custom-variant dark (&:is(.dark *));
5
-
1
+ /*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */
2
+ @layer properties;
3
+ @property --tw-animation-delay {
4
+ syntax: "*";
5
+ inherits: false;
6
+ initial-value: 0s;
7
+ }
8
+ @property --tw-animation-direction {
9
+ syntax: "*";
10
+ inherits: false;
11
+ initial-value: normal;
12
+ }
13
+ @property --tw-animation-duration {
14
+ syntax: "*";
15
+ inherits: false;
16
+ }
17
+ @property --tw-animation-fill-mode {
18
+ syntax: "*";
19
+ inherits: false;
20
+ initial-value: none;
21
+ }
22
+ @property --tw-animation-iteration-count {
23
+ syntax: "*";
24
+ inherits: false;
25
+ initial-value: 1;
26
+ }
27
+ @property --tw-enter-blur {
28
+ syntax: "*";
29
+ inherits: false;
30
+ initial-value: 0;
31
+ }
32
+ @property --tw-enter-opacity {
33
+ syntax: "*";
34
+ inherits: false;
35
+ initial-value: 1;
36
+ }
37
+ @property --tw-enter-rotate {
38
+ syntax: "*";
39
+ inherits: false;
40
+ initial-value: 0;
41
+ }
42
+ @property --tw-enter-scale {
43
+ syntax: "*";
44
+ inherits: false;
45
+ initial-value: 1;
46
+ }
47
+ @property --tw-enter-translate-x {
48
+ syntax: "*";
49
+ inherits: false;
50
+ initial-value: 0;
51
+ }
52
+ @property --tw-enter-translate-y {
53
+ syntax: "*";
54
+ inherits: false;
55
+ initial-value: 0;
56
+ }
57
+ @property --tw-exit-blur {
58
+ syntax: "*";
59
+ inherits: false;
60
+ initial-value: 0;
61
+ }
62
+ @property --tw-exit-opacity {
63
+ syntax: "*";
64
+ inherits: false;
65
+ initial-value: 1;
66
+ }
67
+ @property --tw-exit-rotate {
68
+ syntax: "*";
69
+ inherits: false;
70
+ initial-value: 0;
71
+ }
72
+ @property --tw-exit-scale {
73
+ syntax: "*";
74
+ inherits: false;
75
+ initial-value: 1;
76
+ }
77
+ @property --tw-exit-translate-x {
78
+ syntax: "*";
79
+ inherits: false;
80
+ initial-value: 0;
81
+ }
82
+ @property --tw-exit-translate-y {
83
+ syntax: "*";
84
+ inherits: false;
85
+ initial-value: 0;
86
+ }
87
+ @layer base {
88
+ :root {
89
+ --team-1: oklch(0.646 0.222 41.116);
90
+ --team-2: oklch(0.6 0.118 184.704);
91
+ --team-3: oklch(0.398 0.07 227.392);
92
+ --team-4: oklch(0.828 0.189 84.429);
93
+ --team-5: oklch(0.769 0.188 70.08);
94
+ }
95
+ }
6
96
  :root {
7
97
  --radius: 0.625rem;
8
98
  --background: oklch(1 0 0);
@@ -37,7 +127,6 @@
37
127
  --sidebar-border: oklch(0.922 0 0);
38
128
  --sidebar-ring: oklch(0.708 0 0);
39
129
  }
40
-
41
130
  .dark {
42
131
  --background: oklch(0.145 0 0);
43
132
  --foreground: oklch(0.985 0 0);
@@ -71,55 +160,42 @@
71
160
  --sidebar-border: oklch(1 0 0 / 10%);
72
161
  --sidebar-ring: oklch(0.556 0 0);
73
162
  }
74
-
75
- @theme inline {
76
- --color-background: var(--background);
77
- --color-foreground: var(--foreground);
78
- --color-card: var(--card);
79
- --color-card-foreground: var(--card-foreground);
80
- --color-popover: var(--popover);
81
- --color-popover-foreground: var(--popover-foreground);
82
- --color-primary: var(--primary);
83
- --color-primary-foreground: var(--primary-foreground);
84
- --color-secondary: var(--secondary);
85
- --color-secondary-foreground: var(--secondary-foreground);
86
- --color-muted: var(--muted);
87
- --color-muted-foreground: var(--muted-foreground);
88
- --color-accent: var(--accent);
89
- --color-accent-foreground: var(--accent-foreground);
90
- --color-destructive: var(--destructive);
91
- --color-destructive-foreground: var(--destructive-foreground);
92
- --color-border: var(--border);
93
- --color-input: var(--input);
94
- --color-ring: var(--ring);
95
- --color-chart-1: var(--chart-1);
96
- --color-chart-2: var(--chart-2);
97
- --color-chart-3: var(--chart-3);
98
- --color-chart-4: var(--chart-4);
99
- --color-chart-5: var(--chart-5);
100
- --radius-sm: calc(var(--radius) - 4px);
101
- --radius-md: calc(var(--radius) - 2px);
102
- --radius-lg: var(--radius);
103
- --radius-xl: calc(var(--radius) + 4px);
104
- --color-sidebar: var(--sidebar);
105
- --color-sidebar-foreground: var(--sidebar-foreground);
106
- --color-sidebar-primary: var(--sidebar-primary);
107
- --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
108
- --color-sidebar-accent: var(--sidebar-accent);
109
- --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
110
- --color-sidebar-border: var(--sidebar-border);
111
- --color-sidebar-ring: var(--sidebar-ring);
112
- }
113
-
114
163
  @layer base {
115
164
  * {
116
165
  box-sizing: border-box;
117
166
  margin: 0;
118
167
  padding: 0;
119
- @apply border-border outline-ring/50;
168
+ border-color: var(--border);
169
+ outline-color: var(--ring);
170
+ @supports (color: color-mix(in lab, red, red)) {
171
+ outline-color: color-mix(in oklab, var(--ring) 50%, transparent);
172
+ }
120
173
  }
121
174
  body {
122
- @apply bg-background text-foreground;
175
+ background-color: var(--background);
176
+ color: var(--foreground);
177
+ }
178
+ }
179
+ @layer properties {
180
+ @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
181
+ *, ::before, ::after, ::backdrop {
182
+ --tw-animation-delay: 0s;
183
+ --tw-animation-direction: normal;
184
+ --tw-animation-duration: initial;
185
+ --tw-animation-fill-mode: none;
186
+ --tw-animation-iteration-count: 1;
187
+ --tw-enter-blur: 0;
188
+ --tw-enter-opacity: 1;
189
+ --tw-enter-rotate: 0;
190
+ --tw-enter-scale: 1;
191
+ --tw-enter-translate-x: 0;
192
+ --tw-enter-translate-y: 0;
193
+ --tw-exit-blur: 0;
194
+ --tw-exit-opacity: 1;
195
+ --tw-exit-rotate: 0;
196
+ --tw-exit-scale: 1;
197
+ --tw-exit-translate-x: 0;
198
+ --tw-exit-translate-y: 0;
199
+ }
123
200
  }
124
201
  }
125
-