@neondatabase/auth 0.1.0-beta.8 → 0.2.0-beta.1
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 +108 -18
- package/dist/{adapter-core-Bw9mn_AS.d.mts → adapter-core-CnrOXh1T.d.mts} +246 -280
- package/dist/{adapter-core-C_NEMs0b.mjs → adapter-core-CtmnMMJ7.mjs} +392 -67
- package/dist/better-auth-react-adapter-DNi5PC5D.d.mts +2170 -0
- package/dist/{better-auth-react-adapter-BbM3jLLv.mjs → better-auth-react-adapter-Dv-o6A6O.mjs} +10 -8
- package/dist/{chunk-5DLVHPZS-Bxj7snpZ-DoVNlsyk.mjs → chunk-VCZJYX65-CLnrj1o7-D6ZQkcc_.mjs} +13 -3
- package/dist/constants-Cupc_bln.mjs +28 -0
- package/dist/index.d.mts +4 -98
- package/dist/index.mjs +2 -1
- package/dist/neon-auth-BEGCfAe6.d.mts +107 -0
- package/dist/{neon-auth-DdlToh7_.mjs → neon-auth-Cs2cWh1B.mjs} +7 -4
- package/dist/next/index.d.mts +61 -170
- package/dist/next/index.mjs +4 -311
- package/dist/next/server/index.d.mts +538 -0
- package/dist/next/server/index.mjs +1373 -0
- package/dist/react/adapters/index.d.mts +4 -4
- package/dist/react/adapters/index.mjs +2 -1
- package/dist/react/index.d.mts +5 -5
- package/dist/react/index.mjs +4 -3
- package/dist/react/ui/index.d.mts +1 -1
- package/dist/react/ui/index.mjs +2 -2
- package/dist/react/ui/server.mjs +1 -1
- package/dist/{supabase-adapter-CAqbpOC7.mjs → supabase-adapter-BlcGPyOf.mjs} +28 -45
- package/dist/supabase-adapter-DUqw2fw8.d.mts +2258 -0
- package/dist/types/index.d.mts +2 -7
- package/dist/ui/.safelist.html +3 -0
- package/dist/ui/css.css +2 -2
- package/dist/ui/tailwind.css +4 -3
- package/dist/ui/theme-inline.css +44 -0
- package/dist/ui/theme.css +221 -118
- package/dist/{ui-aMoA-9nq.mjs → ui-COLWzDsu.mjs} +6024 -3004
- package/dist/vanilla/adapters/index.d.mts +3 -3
- package/dist/vanilla/adapters/index.mjs +2 -1
- package/dist/vanilla/index.d.mts +3 -3
- package/dist/vanilla/index.mjs +2 -1
- package/llms.txt +330 -0
- package/package.json +17 -10
- package/dist/better-auth-react-adapter-JoscqoDc.d.mts +0 -722
- package/dist/better-auth-types-CE4hLv9E.d.mts +0 -9
- package/dist/supabase-adapter-Clxlqg1x.d.mts +0 -127
- /package/dist/{adapters-D0mxG3F-.mjs → adapters-B7YKkjaL.mjs} +0 -0
- /package/dist/{adapters-Df6Dd3KK.mjs → adapters-CivF9wql.mjs} +0 -0
- /package/dist/{index-ClXLQ1fw.d.mts → index-CPnFzULh.d.mts} +0 -0
- /package/dist/{index-BXlAjlSt.d.mts → index-CzsGMS7C.d.mts} +0 -0
- /package/dist/{index-DCQ5Y2ED.d.mts → index-OEBbnNdr.d.mts} +0 -0
package/dist/ui/theme.css
CHANGED
|
@@ -1,125 +1,228 @@
|
|
|
1
|
-
|
|
2
|
-
@
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
:
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
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
|
-
|
|
1
|
+
/*! tailwindcss v4.1.18 | 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
|
+
}
|
|
114
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
|
+
}
|
|
96
|
+
@layer neon-auth {
|
|
97
|
+
:root {
|
|
98
|
+
--neon-radius: 0.625rem;
|
|
99
|
+
--neon-background: var(--background, oklch(1 0 0));
|
|
100
|
+
--neon-foreground: var(--foreground, oklch(0.145 0 0));
|
|
101
|
+
--neon-card: var(--card, oklch(1 0 0));
|
|
102
|
+
--neon-card-foreground: var(--card-foreground, oklch(0.145 0 0));
|
|
103
|
+
--neon-popover: var(--popover, oklch(1 0 0));
|
|
104
|
+
--neon-popover-foreground: var(--popover-foreground, oklch(0.145 0 0));
|
|
105
|
+
--neon-primary: var(--primary, oklch(0.205 0 0));
|
|
106
|
+
--neon-primary-foreground: var(--primary-foreground, oklch(0.985 0 0));
|
|
107
|
+
--neon-secondary: var(--secondary, oklch(0.97 0 0));
|
|
108
|
+
--neon-secondary-foreground: var(--secondary-foreground, oklch(0.205 0 0));
|
|
109
|
+
--neon-muted: var(--muted, oklch(0.97 0 0));
|
|
110
|
+
--neon-muted-foreground: var(--muted-foreground, oklch(0.556 0 0));
|
|
111
|
+
--neon-accent: var(--accent, oklch(0.97 0 0));
|
|
112
|
+
--neon-accent-foreground: var(--accent-foreground, oklch(0.205 0 0));
|
|
113
|
+
--neon-destructive: var(--destructive, oklch(0.577 0.245 27.325));
|
|
114
|
+
--neon-destructive-foreground: var(
|
|
115
|
+
--destructive-foreground,
|
|
116
|
+
oklch(0.577 0.245 27.325)
|
|
117
|
+
);
|
|
118
|
+
--neon-border: var(--border, oklch(0.922 0 0));
|
|
119
|
+
--neon-input: var(--input, oklch(0.922 0 0));
|
|
120
|
+
--neon-ring: var(--ring, oklch(0.708 0 0));
|
|
121
|
+
--neon-chart-1: var(--chart-1, oklch(0.646 0.222 41.116));
|
|
122
|
+
--neon-chart-2: var(--chart-2, oklch(0.6 0.118 184.704));
|
|
123
|
+
--neon-chart-3: var(--chart-3, oklch(0.398 0.07 227.392));
|
|
124
|
+
--neon-chart-4: var(--chart-4, oklch(0.828 0.189 84.429));
|
|
125
|
+
--neon-chart-5: var(--chart-5, oklch(0.769 0.188 70.08));
|
|
126
|
+
--neon-sidebar: var(--sidebar, oklch(0.985 0 0));
|
|
127
|
+
--neon-sidebar-foreground: var(--sidebar-foreground, oklch(0.145 0 0));
|
|
128
|
+
--neon-sidebar-primary: var(--sidebar-primary, oklch(0.205 0 0));
|
|
129
|
+
--neon-sidebar-primary-foreground: var(
|
|
130
|
+
--sidebar-primary-foreground,
|
|
131
|
+
oklch(0.985 0 0)
|
|
132
|
+
);
|
|
133
|
+
--neon-sidebar-accent: var(--sidebar-accent, oklch(0.97 0 0));
|
|
134
|
+
--neon-sidebar-accent-foreground: var(
|
|
135
|
+
--sidebar-accent-foreground,
|
|
136
|
+
oklch(0.205 0 0)
|
|
137
|
+
);
|
|
138
|
+
--neon-sidebar-border: var(--sidebar-border, oklch(0.922 0 0));
|
|
139
|
+
--neon-sidebar-ring: var(--sidebar-ring, oklch(0.708 0 0));
|
|
140
|
+
--neon-team-1: var(--team-1, oklch(0.646 0.222 41.116));
|
|
141
|
+
--neon-team-2: var(--team-2, oklch(0.6 0.118 184.704));
|
|
142
|
+
--neon-team-3: var(--team-3, oklch(0.398 0.07 227.392));
|
|
143
|
+
--neon-team-4: var(--team-4, oklch(0.828 0.189 84.429));
|
|
144
|
+
--neon-team-5: var(--team-5, oklch(0.769 0.188 70.08));
|
|
145
|
+
}
|
|
146
|
+
:root.dark {
|
|
147
|
+
--neon-background: var(--background, oklch(0.145 0 0));
|
|
148
|
+
--neon-foreground: var(--foreground, oklch(0.985 0 0));
|
|
149
|
+
--neon-card: var(--card, oklch(0.205 0 0));
|
|
150
|
+
--neon-card-foreground: var(--card-foreground, oklch(0.985 0 0));
|
|
151
|
+
--neon-popover: var(--popover, oklch(0.205 0 0));
|
|
152
|
+
--neon-popover-foreground: var(--popover-foreground, oklch(0.985 0 0));
|
|
153
|
+
--neon-primary: var(--primary, oklch(0.922 0 0));
|
|
154
|
+
--neon-primary-foreground: var(--primary-foreground, oklch(0.205 0 0));
|
|
155
|
+
--neon-secondary: var(--secondary, oklch(0.269 0 0));
|
|
156
|
+
--neon-secondary-foreground: var(--secondary-foreground, oklch(0.985 0 0));
|
|
157
|
+
--neon-muted: var(--muted, oklch(0.269 0 0));
|
|
158
|
+
--neon-muted-foreground: var(--muted-foreground, oklch(0.708 0 0));
|
|
159
|
+
--neon-accent: var(--accent, oklch(0.269 0 0));
|
|
160
|
+
--neon-accent-foreground: var(--accent-foreground, oklch(0.985 0 0));
|
|
161
|
+
--neon-destructive: var(--destructive, oklch(0.704 0.191 22.216));
|
|
162
|
+
--neon-destructive-foreground: var(
|
|
163
|
+
--destructive-foreground,
|
|
164
|
+
oklch(0.704 0.191 22.216)
|
|
165
|
+
);
|
|
166
|
+
--neon-border: var(--border, oklch(1 0 0 / 10%));
|
|
167
|
+
--neon-input: var(--input, oklch(1 0 0 / 15%));
|
|
168
|
+
--neon-ring: var(--ring, oklch(0.556 0 0));
|
|
169
|
+
--neon-chart-1: var(--chart-1, oklch(0.488 0.243 264.376));
|
|
170
|
+
--neon-chart-2: var(--chart-2, oklch(0.696 0.17 162.48));
|
|
171
|
+
--neon-chart-3: var(--chart-3, oklch(0.769 0.188 70.08));
|
|
172
|
+
--neon-chart-4: var(--chart-4, oklch(0.627 0.265 303.9));
|
|
173
|
+
--neon-chart-5: var(--chart-5, oklch(0.645 0.246 16.439));
|
|
174
|
+
--neon-sidebar: var(--sidebar, oklch(0.205 0 0));
|
|
175
|
+
--neon-sidebar-foreground: var(--sidebar-foreground, oklch(0.985 0 0));
|
|
176
|
+
--neon-sidebar-primary: var(--sidebar-primary, oklch(0.488 0.243 264.376));
|
|
177
|
+
--neon-sidebar-primary-foreground: var(
|
|
178
|
+
--sidebar-primary-foreground,
|
|
179
|
+
oklch(0.985 0 0)
|
|
180
|
+
);
|
|
181
|
+
--neon-sidebar-accent: var(--sidebar-accent, oklch(0.269 0 0));
|
|
182
|
+
--neon-sidebar-accent-foreground: var(
|
|
183
|
+
--sidebar-accent-foreground,
|
|
184
|
+
oklch(0.985 0 0)
|
|
185
|
+
);
|
|
186
|
+
--neon-sidebar-border: var(--sidebar-border, oklch(1 0 0 / 10%));
|
|
187
|
+
--neon-sidebar-ring: var(--sidebar-ring, oklch(0.488 0.243 264.376));
|
|
188
|
+
--neon-team-1: var(--team-1, oklch(0.488 0.243 264.376));
|
|
189
|
+
--neon-team-2: var(--team-2, oklch(0.696 0.17 162.48));
|
|
190
|
+
--neon-team-3: var(--team-3, oklch(0.769 0.188 70.08));
|
|
191
|
+
--neon-team-4: var(--team-4, oklch(0.627 0.265 303.9));
|
|
192
|
+
--neon-team-5: var(--team-5, oklch(0.645 0.246 16.439));
|
|
193
|
+
}
|
|
115
194
|
* {
|
|
116
195
|
box-sizing: border-box;
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
@
|
|
196
|
+
border-color: var(--neon-border);
|
|
197
|
+
outline-color: var(--neon-ring);
|
|
198
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
199
|
+
outline-color: color-mix(in oklab, var(--neon-ring) 50%, transparent);
|
|
200
|
+
}
|
|
120
201
|
}
|
|
121
202
|
body {
|
|
122
|
-
|
|
203
|
+
color: var(--neon-foreground);
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
@layer properties {
|
|
207
|
+
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
|
|
208
|
+
*, ::before, ::after, ::backdrop {
|
|
209
|
+
--tw-animation-delay: 0s;
|
|
210
|
+
--tw-animation-direction: normal;
|
|
211
|
+
--tw-animation-duration: initial;
|
|
212
|
+
--tw-animation-fill-mode: none;
|
|
213
|
+
--tw-animation-iteration-count: 1;
|
|
214
|
+
--tw-enter-blur: 0;
|
|
215
|
+
--tw-enter-opacity: 1;
|
|
216
|
+
--tw-enter-rotate: 0;
|
|
217
|
+
--tw-enter-scale: 1;
|
|
218
|
+
--tw-enter-translate-x: 0;
|
|
219
|
+
--tw-enter-translate-y: 0;
|
|
220
|
+
--tw-exit-blur: 0;
|
|
221
|
+
--tw-exit-opacity: 1;
|
|
222
|
+
--tw-exit-rotate: 0;
|
|
223
|
+
--tw-exit-scale: 1;
|
|
224
|
+
--tw-exit-translate-x: 0;
|
|
225
|
+
--tw-exit-translate-y: 0;
|
|
226
|
+
}
|
|
123
227
|
}
|
|
124
228
|
}
|
|
125
|
-
|