@neondatabase/neon-js 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/dist/ui/theme.css CHANGED
@@ -1,125 +1,228 @@
1
- @import 'tw-animate-css';
2
- @import '@daveyplate/better-auth-ui/css';
3
-
4
- @custom-variant dark (&:is(.dark *));
5
-
6
- :root {
7
- --radius: 0.625rem;
8
- --background: oklch(1 0 0);
9
- --foreground: oklch(0.145 0 0);
10
- --card: oklch(1 0 0);
11
- --card-foreground: oklch(0.145 0 0);
12
- --popover: oklch(1 0 0);
13
- --popover-foreground: oklch(0.145 0 0);
14
- --primary: oklch(0.205 0 0);
15
- --primary-foreground: oklch(0.985 0 0);
16
- --secondary: oklch(0.97 0 0);
17
- --secondary-foreground: oklch(0.205 0 0);
18
- --muted: oklch(0.97 0 0);
19
- --muted-foreground: oklch(0.556 0 0);
20
- --accent: oklch(0.97 0 0);
21
- --accent-foreground: oklch(0.205 0 0);
22
- --destructive: oklch(0.577 0.245 27.325);
23
- --border: oklch(0.922 0 0);
24
- --input: oklch(0.922 0 0);
25
- --ring: oklch(0.708 0 0);
26
- --chart-1: oklch(0.646 0.222 41.116);
27
- --chart-2: oklch(0.6 0.118 184.704);
28
- --chart-3: oklch(0.398 0.07 227.392);
29
- --chart-4: oklch(0.828 0.189 84.429);
30
- --chart-5: oklch(0.769 0.188 70.08);
31
- --sidebar: oklch(0.985 0 0);
32
- --sidebar-foreground: oklch(0.145 0 0);
33
- --sidebar-primary: oklch(0.205 0 0);
34
- --sidebar-primary-foreground: oklch(0.985 0 0);
35
- --sidebar-accent: oklch(0.97 0 0);
36
- --sidebar-accent-foreground: oklch(0.205 0 0);
37
- --sidebar-border: oklch(0.922 0 0);
38
- --sidebar-ring: oklch(0.708 0 0);
39
- }
40
-
41
- .dark {
42
- --background: oklch(0.145 0 0);
43
- --foreground: oklch(0.985 0 0);
44
- --card: oklch(0.205 0 0);
45
- --card-foreground: oklch(0.985 0 0);
46
- --popover: oklch(0.205 0 0);
47
- --popover-foreground: oklch(0.985 0 0);
48
- --primary: oklch(0.922 0 0);
49
- --primary-foreground: oklch(0.205 0 0);
50
- --secondary: oklch(0.269 0 0);
51
- --secondary-foreground: oklch(0.985 0 0);
52
- --muted: oklch(0.269 0 0);
53
- --muted-foreground: oklch(0.708 0 0);
54
- --accent: oklch(0.269 0 0);
55
- --accent-foreground: oklch(0.985 0 0);
56
- --destructive: oklch(0.704 0.191 22.216);
57
- --border: oklch(1 0 0 / 10%);
58
- --input: oklch(1 0 0 / 15%);
59
- --ring: oklch(0.556 0 0);
60
- --chart-1: oklch(0.488 0.243 264.376);
61
- --chart-2: oklch(0.696 0.17 162.48);
62
- --chart-3: oklch(0.769 0.188 70.08);
63
- --chart-4: oklch(0.627 0.265 303.9);
64
- --chart-5: oklch(0.645 0.246 16.439);
65
- --sidebar: oklch(0.205 0 0);
66
- --sidebar-foreground: oklch(0.985 0 0);
67
- --sidebar-primary: oklch(0.488 0.243 264.376);
68
- --sidebar-primary-foreground: oklch(0.985 0 0);
69
- --sidebar-accent: oklch(0.269 0 0);
70
- --sidebar-accent-foreground: oklch(0.985 0 0);
71
- --sidebar-border: oklch(1 0 0 / 10%);
72
- --sidebar-ring: oklch(0.556 0 0);
73
- }
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
-
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
- margin: 0;
118
- padding: 0;
119
- @apply border-border outline-ring/50;
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
- @apply bg-background text-foreground;
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
-