@civic/auth 0.0.1-beta.0 → 0.0.1-beta.10
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 +36 -10
- package/dist/chunk-CRTRMMJ7.js +59 -0
- package/dist/chunk-CRTRMMJ7.js.map +1 -0
- package/dist/chunk-EAANLFR5.mjs +148 -0
- package/dist/chunk-EAANLFR5.mjs.map +1 -0
- package/dist/chunk-EGFTMH5S.mjs +214 -0
- package/dist/chunk-EGFTMH5S.mjs.map +1 -0
- package/dist/chunk-KCSGIIPA.js +214 -0
- package/dist/chunk-KCSGIIPA.js.map +1 -0
- package/dist/chunk-MVO4UZ2A.js +148 -0
- package/dist/chunk-MVO4UZ2A.js.map +1 -0
- package/dist/chunk-PMDIR5XE.mjs +502 -0
- package/dist/chunk-PMDIR5XE.mjs.map +1 -0
- package/dist/chunk-RGHW4PYM.mjs +59 -0
- package/dist/chunk-RGHW4PYM.mjs.map +1 -0
- package/dist/chunk-YNLXRD5L.js +502 -0
- package/dist/chunk-YNLXRD5L.js.map +1 -0
- package/dist/{index-yT0eVchS.d.mts → index-Bfi0hVMZ.d.mts} +14 -8
- package/dist/{index-yT0eVchS.d.ts → index-Bfi0hVMZ.d.ts} +14 -8
- package/dist/index.css +66 -66
- package/dist/index.css.map +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -19
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/nextjs.d.mts +220 -4
- package/dist/nextjs.d.ts +220 -4
- package/dist/nextjs.js +228 -104
- package/dist/nextjs.js.map +1 -1
- package/dist/nextjs.mjs +228 -82
- package/dist/nextjs.mjs.map +1 -1
- package/dist/react.d.mts +60 -24
- package/dist/react.d.ts +60 -24
- package/dist/react.js +759 -895
- package/dist/react.js.map +1 -1
- package/dist/react.mjs +726 -828
- package/dist/react.mjs.map +1 -1
- package/dist/server.d.mts +56 -0
- package/dist/server.d.ts +56 -0
- package/dist/server.js +20 -0
- package/dist/server.js.map +1 -0
- package/dist/server.mjs +20 -0
- package/dist/server.mjs.map +1 -0
- package/package.json +20 -6
package/dist/index.css
CHANGED
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
--tw-contain-paint: ;
|
|
108
108
|
--tw-contain-style: ;
|
|
109
109
|
}
|
|
110
|
-
.sr-only {
|
|
110
|
+
.cac-sr-only {
|
|
111
111
|
position: absolute;
|
|
112
112
|
width: 1px;
|
|
113
113
|
height: 1px;
|
|
@@ -118,182 +118,182 @@
|
|
|
118
118
|
white-space: nowrap;
|
|
119
119
|
border-width: 0;
|
|
120
120
|
}
|
|
121
|
-
.absolute {
|
|
121
|
+
.cac-absolute {
|
|
122
122
|
position: absolute;
|
|
123
123
|
}
|
|
124
|
-
.relative {
|
|
124
|
+
.cac-relative {
|
|
125
125
|
position: relative;
|
|
126
126
|
}
|
|
127
|
-
.inset-0 {
|
|
127
|
+
.cac-inset-0 {
|
|
128
128
|
inset: 0px;
|
|
129
129
|
}
|
|
130
|
-
.left-0 {
|
|
130
|
+
.cac-left-0 {
|
|
131
131
|
left: 0px;
|
|
132
132
|
}
|
|
133
|
-
.right-0 {
|
|
133
|
+
.cac-right-0 {
|
|
134
134
|
right: 0px;
|
|
135
135
|
}
|
|
136
|
-
.right-4 {
|
|
136
|
+
.cac-right-4 {
|
|
137
137
|
right: 1rem;
|
|
138
138
|
}
|
|
139
|
-
.top-0 {
|
|
139
|
+
.cac-top-0 {
|
|
140
140
|
top: 0px;
|
|
141
141
|
}
|
|
142
|
-
.top-4 {
|
|
142
|
+
.cac-top-4 {
|
|
143
143
|
top: 1rem;
|
|
144
144
|
}
|
|
145
|
-
.z
|
|
146
|
-
z-index:
|
|
145
|
+
.cac-z-50 {
|
|
146
|
+
z-index: 50;
|
|
147
147
|
}
|
|
148
|
-
.mt-2 {
|
|
148
|
+
.cac-mt-2 {
|
|
149
149
|
margin-top: 0.5rem;
|
|
150
150
|
}
|
|
151
|
-
.block {
|
|
151
|
+
.cac-block {
|
|
152
152
|
display: block;
|
|
153
153
|
}
|
|
154
|
-
.inline {
|
|
154
|
+
.cac-inline {
|
|
155
155
|
display: inline;
|
|
156
156
|
}
|
|
157
|
-
.flex {
|
|
157
|
+
.cac-flex {
|
|
158
158
|
display: flex;
|
|
159
159
|
}
|
|
160
|
-
.hidden {
|
|
160
|
+
.cac-hidden {
|
|
161
161
|
display: none;
|
|
162
162
|
}
|
|
163
|
-
.h-10 {
|
|
163
|
+
.cac-h-10 {
|
|
164
164
|
height: 2.5rem;
|
|
165
165
|
}
|
|
166
|
-
.h-
|
|
167
|
-
height: 12rem;
|
|
168
|
-
}
|
|
169
|
-
.h-8 {
|
|
166
|
+
.cac-h-8 {
|
|
170
167
|
height: 2rem;
|
|
171
168
|
}
|
|
172
|
-
.h-
|
|
169
|
+
.cac-h-96 {
|
|
170
|
+
height: 24rem;
|
|
171
|
+
}
|
|
172
|
+
.cac-h-full {
|
|
173
173
|
height: 100%;
|
|
174
174
|
}
|
|
175
|
-
.h-screen {
|
|
175
|
+
.cac-h-screen {
|
|
176
176
|
height: 100vh;
|
|
177
177
|
}
|
|
178
|
-
.w-10 {
|
|
178
|
+
.cac-w-10 {
|
|
179
179
|
width: 2.5rem;
|
|
180
180
|
}
|
|
181
|
-
.w-8 {
|
|
181
|
+
.cac-w-8 {
|
|
182
182
|
width: 2rem;
|
|
183
183
|
}
|
|
184
|
-
.w-80 {
|
|
184
|
+
.cac-w-80 {
|
|
185
185
|
width: 20rem;
|
|
186
186
|
}
|
|
187
|
-
.w-full {
|
|
187
|
+
.cac-w-full {
|
|
188
188
|
width: 100%;
|
|
189
189
|
}
|
|
190
|
-
.w-screen {
|
|
190
|
+
.cac-w-screen {
|
|
191
191
|
width: 100vw;
|
|
192
192
|
}
|
|
193
|
-
.shrink-0 {
|
|
193
|
+
.cac-shrink-0 {
|
|
194
194
|
flex-shrink: 0;
|
|
195
195
|
}
|
|
196
|
-
@keyframes spin {
|
|
196
|
+
@keyframes cac-spin {
|
|
197
197
|
to {
|
|
198
198
|
transform: rotate(360deg);
|
|
199
199
|
}
|
|
200
200
|
}
|
|
201
|
-
.animate-spin {
|
|
202
|
-
animation: spin 1s linear infinite;
|
|
201
|
+
.cac-animate-spin {
|
|
202
|
+
animation: cac-spin 1s linear infinite;
|
|
203
203
|
}
|
|
204
|
-
.cursor-pointer {
|
|
204
|
+
.cac-cursor-pointer {
|
|
205
205
|
cursor: pointer;
|
|
206
206
|
}
|
|
207
|
-
.items-center {
|
|
207
|
+
.cac-items-center {
|
|
208
208
|
align-items: center;
|
|
209
209
|
}
|
|
210
|
-
.justify-center {
|
|
210
|
+
.cac-justify-center {
|
|
211
211
|
justify-content: center;
|
|
212
212
|
}
|
|
213
|
-
.justify-between {
|
|
213
|
+
.cac-justify-between {
|
|
214
214
|
justify-content: space-between;
|
|
215
215
|
}
|
|
216
|
-
.gap-2 {
|
|
216
|
+
.cac-gap-2 {
|
|
217
217
|
gap: 0.5rem;
|
|
218
218
|
}
|
|
219
|
-
.overflow-hidden {
|
|
219
|
+
.cac-overflow-hidden {
|
|
220
220
|
overflow: hidden;
|
|
221
221
|
}
|
|
222
|
-
.rounded-3xl {
|
|
222
|
+
.cac-rounded-3xl {
|
|
223
223
|
border-radius: 1.5rem;
|
|
224
224
|
}
|
|
225
|
-
.rounded-full {
|
|
225
|
+
.cac-rounded-full {
|
|
226
226
|
border-radius: 9999px;
|
|
227
227
|
}
|
|
228
|
-
.rounded-lg {
|
|
228
|
+
.cac-rounded-lg {
|
|
229
229
|
border-radius: 0.5rem;
|
|
230
230
|
}
|
|
231
|
-
.border {
|
|
231
|
+
.cac-border {
|
|
232
232
|
border-width: 1px;
|
|
233
233
|
}
|
|
234
|
-
.border-none {
|
|
234
|
+
.cac-border-none {
|
|
235
235
|
border-style: none;
|
|
236
236
|
}
|
|
237
|
-
.border-neutral-500 {
|
|
237
|
+
.cac-border-neutral-500 {
|
|
238
238
|
--tw-border-opacity: 1;
|
|
239
239
|
border-color: rgb(115 115 115 / var(--tw-border-opacity));
|
|
240
240
|
}
|
|
241
|
-
.bg-neutral-100 {
|
|
241
|
+
.cac-bg-neutral-100 {
|
|
242
242
|
--tw-bg-opacity: 1;
|
|
243
243
|
background-color: rgb(245 245 245 / var(--tw-bg-opacity));
|
|
244
244
|
}
|
|
245
|
-
.bg-neutral-950 {
|
|
245
|
+
.cac-bg-neutral-950 {
|
|
246
246
|
--tw-bg-opacity: 1;
|
|
247
247
|
background-color: rgb(10 10 10 / var(--tw-bg-opacity));
|
|
248
248
|
}
|
|
249
|
-
.bg-transparent {
|
|
249
|
+
.cac-bg-transparent {
|
|
250
250
|
background-color: transparent;
|
|
251
251
|
}
|
|
252
|
-
.bg-white {
|
|
252
|
+
.cac-bg-white {
|
|
253
253
|
--tw-bg-opacity: 1;
|
|
254
254
|
background-color: rgb(255 255 255 / var(--tw-bg-opacity));
|
|
255
255
|
}
|
|
256
|
-
.bg-opacity-50 {
|
|
256
|
+
.cac-bg-opacity-50 {
|
|
257
257
|
--tw-bg-opacity: 0.5 ;
|
|
258
258
|
}
|
|
259
|
-
.fill-neutral-600 {
|
|
259
|
+
.cac-fill-neutral-600 {
|
|
260
260
|
fill: #525252;
|
|
261
261
|
}
|
|
262
|
-
.object-cover {
|
|
262
|
+
.cac-object-cover {
|
|
263
263
|
-o-object-fit: cover;
|
|
264
264
|
object-fit: cover;
|
|
265
265
|
}
|
|
266
|
-
.p-1 {
|
|
266
|
+
.cac-p-1 {
|
|
267
267
|
padding: 0.25rem;
|
|
268
268
|
}
|
|
269
|
-
.p-6 {
|
|
269
|
+
.cac-p-6 {
|
|
270
270
|
padding: 1.5rem;
|
|
271
271
|
}
|
|
272
|
-
.px-3 {
|
|
272
|
+
.cac-px-3 {
|
|
273
273
|
padding-left: 0.75rem;
|
|
274
274
|
padding-right: 0.75rem;
|
|
275
275
|
}
|
|
276
|
-
.px-4 {
|
|
276
|
+
.cac-px-4 {
|
|
277
277
|
padding-left: 1rem;
|
|
278
278
|
padding-right: 1rem;
|
|
279
279
|
}
|
|
280
|
-
.py-2 {
|
|
280
|
+
.cac-py-2 {
|
|
281
281
|
padding-top: 0.5rem;
|
|
282
282
|
padding-bottom: 0.5rem;
|
|
283
283
|
}
|
|
284
|
-
.text-neutral-200 {
|
|
284
|
+
.cac-text-neutral-200 {
|
|
285
285
|
--tw-text-opacity: 1;
|
|
286
286
|
color: rgb(229 229 229 / var(--tw-text-opacity));
|
|
287
287
|
}
|
|
288
|
-
.text-neutral-400 {
|
|
288
|
+
.cac-text-neutral-400 {
|
|
289
289
|
--tw-text-opacity: 1;
|
|
290
290
|
color: rgb(163 163 163 / var(--tw-text-opacity));
|
|
291
291
|
}
|
|
292
|
-
.text-neutral-500 {
|
|
292
|
+
.cac-text-neutral-500 {
|
|
293
293
|
--tw-text-opacity: 1;
|
|
294
294
|
color: rgb(115 115 115 / var(--tw-text-opacity));
|
|
295
295
|
}
|
|
296
|
-
.shadow-lg {
|
|
296
|
+
.cac-shadow-lg {
|
|
297
297
|
--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
|
|
298
298
|
--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
|
|
299
299
|
box-shadow:
|
|
@@ -301,7 +301,7 @@
|
|
|
301
301
|
var(--tw-ring-shadow, 0 0 #0000),
|
|
302
302
|
var(--tw-shadow);
|
|
303
303
|
}
|
|
304
|
-
.shadow-xl {
|
|
304
|
+
.cac-shadow-xl {
|
|
305
305
|
--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
|
|
306
306
|
--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);
|
|
307
307
|
box-shadow:
|
|
@@ -309,7 +309,7 @@
|
|
|
309
309
|
var(--tw-ring-shadow, 0 0 #0000),
|
|
310
310
|
var(--tw-shadow);
|
|
311
311
|
}
|
|
312
|
-
.transition-colors {
|
|
312
|
+
.cac-transition-colors {
|
|
313
313
|
transition-property:
|
|
314
314
|
color,
|
|
315
315
|
background-color,
|
|
@@ -320,18 +320,18 @@
|
|
|
320
320
|
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
321
321
|
transition-duration: 150ms;
|
|
322
322
|
}
|
|
323
|
-
.hover\:bg-neutral-200:hover {
|
|
323
|
+
.hover\:cac-bg-neutral-200:hover {
|
|
324
324
|
--tw-bg-opacity: 1;
|
|
325
325
|
background-color: rgb(229 229 229 / var(--tw-bg-opacity));
|
|
326
326
|
}
|
|
327
|
-
.hover\:bg-opacity-50:hover {
|
|
327
|
+
.hover\:cac-bg-opacity-50:hover {
|
|
328
328
|
--tw-bg-opacity: 0.5 ;
|
|
329
329
|
}
|
|
330
330
|
@media (prefers-color-scheme: dark) {
|
|
331
|
-
.dark\:fill-neutral-300 {
|
|
331
|
+
.dark\:cac-fill-neutral-300 {
|
|
332
332
|
fill: #d4d4d4;
|
|
333
333
|
}
|
|
334
|
-
.dark\:text-neutral-600 {
|
|
334
|
+
.dark\:cac-text-neutral-600 {
|
|
335
335
|
--tw-text-opacity: 1;
|
|
336
336
|
color: rgb(82 82 82 / var(--tw-text-opacity));
|
|
337
337
|
}
|
package/dist/index.css.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/styles.css"],"sourcesContent":["*, ::before, ::after {\n --tw-border-spacing-x: 0;\n --tw-border-spacing-y: 0;\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-rotate: 0;\n --tw-skew-x: 0;\n --tw-skew-y: 0;\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n --tw-pan-x: ;\n --tw-pan-y: ;\n --tw-pinch-zoom: ;\n --tw-scroll-snap-strictness: proximity;\n --tw-gradient-from-position: ;\n --tw-gradient-via-position: ;\n --tw-gradient-to-position: ;\n --tw-ordinal: ;\n --tw-slashed-zero: ;\n --tw-numeric-figure: ;\n --tw-numeric-spacing: ;\n --tw-numeric-fraction: ;\n --tw-ring-inset: ;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-color: rgb(59 130 246 / 0.5);\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n --tw-blur: ;\n --tw-brightness: ;\n --tw-contrast: ;\n --tw-grayscale: ;\n --tw-hue-rotate: ;\n --tw-invert: ;\n --tw-saturate: ;\n --tw-sepia: ;\n --tw-drop-shadow: ;\n --tw-backdrop-blur: ;\n --tw-backdrop-brightness: ;\n --tw-backdrop-contrast: ;\n --tw-backdrop-grayscale: ;\n --tw-backdrop-hue-rotate: ;\n --tw-backdrop-invert: ;\n --tw-backdrop-opacity: ;\n --tw-backdrop-saturate: ;\n --tw-backdrop-sepia: ;\n --tw-contain-size: ;\n --tw-contain-layout: ;\n --tw-contain-paint: ;\n --tw-contain-style: \n}\n::backdrop {\n --tw-border-spacing-x: 0;\n --tw-border-spacing-y: 0;\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-rotate: 0;\n --tw-skew-x: 0;\n --tw-skew-y: 0;\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n --tw-pan-x: ;\n --tw-pan-y: ;\n --tw-pinch-zoom: ;\n --tw-scroll-snap-strictness: proximity;\n --tw-gradient-from-position: ;\n --tw-gradient-via-position: ;\n --tw-gradient-to-position: ;\n --tw-ordinal: ;\n --tw-slashed-zero: ;\n --tw-numeric-figure: ;\n --tw-numeric-spacing: ;\n --tw-numeric-fraction: ;\n --tw-ring-inset: ;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-color: rgb(59 130 246 / 0.5);\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n --tw-blur: ;\n --tw-brightness: ;\n --tw-contrast: ;\n --tw-grayscale: ;\n --tw-hue-rotate: ;\n --tw-invert: ;\n --tw-saturate: ;\n --tw-sepia: ;\n --tw-drop-shadow: ;\n --tw-backdrop-blur: ;\n --tw-backdrop-brightness: ;\n --tw-backdrop-contrast: ;\n --tw-backdrop-grayscale: ;\n --tw-backdrop-hue-rotate: ;\n --tw-backdrop-invert: ;\n --tw-backdrop-opacity: ;\n --tw-backdrop-saturate: ;\n --tw-backdrop-sepia: ;\n --tw-contain-size: ;\n --tw-contain-layout: ;\n --tw-contain-paint: ;\n --tw-contain-style: \n}\n.sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0\n}\n.absolute {\n position: absolute\n}\n.relative {\n position: relative\n}\n.inset-0 {\n inset: 0px\n}\n.left-0 {\n left: 0px\n}\n.right-0 {\n right: 0px\n}\n.right-4 {\n right: 1rem\n}\n.top-0 {\n top: 0px\n}\n.top-4 {\n top: 1rem\n}\n.z-\\[9999\\] {\n z-index: 9999\n}\n.mt-2 {\n margin-top: 0.5rem\n}\n.block {\n display: block\n}\n.inline {\n display: inline\n}\n.flex {\n display: flex\n}\n.hidden {\n display: none\n}\n.h-10 {\n height: 2.5rem\n}\n.h-48 {\n height: 12rem\n}\n.h-8 {\n height: 2rem\n}\n.h-full {\n height: 100%\n}\n.h-screen {\n height: 100vh\n}\n.w-10 {\n width: 2.5rem\n}\n.w-8 {\n width: 2rem\n}\n.w-80 {\n width: 20rem\n}\n.w-full {\n width: 100%\n}\n.w-screen {\n width: 100vw\n}\n.shrink-0 {\n flex-shrink: 0\n}\n@keyframes spin {\n to {\n transform: rotate(360deg)\n }\n}\n.animate-spin {\n animation: spin 1s linear infinite\n}\n.cursor-pointer {\n cursor: pointer\n}\n.items-center {\n align-items: center\n}\n.justify-center {\n justify-content: center\n}\n.justify-between {\n justify-content: space-between\n}\n.gap-2 {\n gap: 0.5rem\n}\n.overflow-hidden {\n overflow: hidden\n}\n.rounded-3xl {\n border-radius: 1.5rem\n}\n.rounded-full {\n border-radius: 9999px\n}\n.rounded-lg {\n border-radius: 0.5rem\n}\n.border {\n border-width: 1px\n}\n.border-none {\n border-style: none\n}\n.border-neutral-500 {\n --tw-border-opacity: 1;\n border-color: rgb(115 115 115 / var(--tw-border-opacity))\n}\n.bg-neutral-100 {\n --tw-bg-opacity: 1;\n background-color: rgb(245 245 245 / var(--tw-bg-opacity))\n}\n.bg-neutral-950 {\n --tw-bg-opacity: 1;\n background-color: rgb(10 10 10 / var(--tw-bg-opacity))\n}\n.bg-transparent {\n background-color: transparent\n}\n.bg-white {\n --tw-bg-opacity: 1;\n background-color: rgb(255 255 255 / var(--tw-bg-opacity))\n}\n.bg-opacity-50 {\n --tw-bg-opacity: 0.5\n}\n.fill-neutral-600 {\n fill: #525252\n}\n.object-cover {\n -o-object-fit: cover;\n object-fit: cover\n}\n.p-1 {\n padding: 0.25rem\n}\n.p-6 {\n padding: 1.5rem\n}\n.px-3 {\n padding-left: 0.75rem;\n padding-right: 0.75rem\n}\n.px-4 {\n padding-left: 1rem;\n padding-right: 1rem\n}\n.py-2 {\n padding-top: 0.5rem;\n padding-bottom: 0.5rem\n}\n.text-neutral-200 {\n --tw-text-opacity: 1;\n color: rgb(229 229 229 / var(--tw-text-opacity))\n}\n.text-neutral-400 {\n --tw-text-opacity: 1;\n color: rgb(163 163 163 / var(--tw-text-opacity))\n}\n.text-neutral-500 {\n --tw-text-opacity: 1;\n color: rgb(115 115 115 / var(--tw-text-opacity))\n}\n.shadow-lg {\n --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);\n --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)\n}\n.shadow-xl {\n --tw-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);\n --tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)\n}\n.transition-colors {\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms\n}\n.hover\\:bg-neutral-200:hover {\n --tw-bg-opacity: 1;\n background-color: rgb(229 229 229 / var(--tw-bg-opacity))\n}\n.hover\\:bg-opacity-50:hover {\n --tw-bg-opacity: 0.5\n}\n@media (prefers-color-scheme: dark) {\n .dark\\:fill-neutral-300 {\n fill: #d4d4d4\n }\n .dark\\:text-neutral-600 {\n --tw-text-opacity: 1;\n color: rgb(82 82 82 / var(--tw-text-opacity))\n }\n}\n"],"mappings":";AAAA;AAAG;AAAU;AACT,yBAAuB;AACvB,yBAAuB;AACvB,oBAAkB;AAClB,oBAAkB;AAClB,eAAa;AACb,eAAa;AACb,eAAa;AACb,gBAAc;AACd,gBAAc;AACd;AACA;AACA;AACA,+BAA6B;AAC7B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,0BAAwB;AACxB,0BAAwB;AACxB,mBAAiB,IAAI,GAAG,IAAI,IAAI,EAAE;AAClC,2BAAyB,EAAE,EAAE;AAC7B,oBAAkB,EAAE,EAAE;AACtB,eAAa,EAAE,EAAE;AACjB,uBAAqB,EAAE,EAAE;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACJ;AACA;AACI,yBAAuB;AACvB,yBAAuB;AACvB,oBAAkB;AAClB,oBAAkB;AAClB,eAAa;AACb,eAAa;AACb,eAAa;AACb,gBAAc;AACd,gBAAc;AACd;AACA;AACA;AACA,+BAA6B;AAC7B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,0BAAwB;AACxB,0BAAwB;AACxB,mBAAiB,IAAI,GAAG,IAAI,IAAI,EAAE;AAClC,2BAAyB,EAAE,EAAE;AAC7B,oBAAkB,EAAE,EAAE;AACtB,eAAa,EAAE,EAAE;AACjB,uBAAqB,EAAE,EAAE;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACJ;AACA,CAAC;AACG,YAAU;AACV,SAAO;AACP,UAAQ;AACR,WAAS;AACT,UAAQ;AACR,YAAU;AACV,QAAM,KAAK,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE;AACpB,eAAa;AACb,gBAAc;AAClB;AACA,CAAC;AACG,YAAU;AACd;AACA,CAAC;AACG,YAAU;AACd;AACA,CAAC;AACG,SAAO;AACX;AACA,CAAC;AACG,QAAM;AACV;AACA,CAAC;AACG,SAAO;AACX;AACA,CAAC;AACG,SAAO;AACX;AACA,CAAC;AACG,OAAK;AACT;AACA,CAAC;AACG,OAAK;AACT;AACA,CAAC;AACG,WAAS;AACb;AACA,CAAC;AACG,cAAY;AAChB;AACA,CAAC;AACG,WAAS;AACb;AACA,CAAC;AACG,WAAS;AACb;AACA,CAAC;AACG,WAAS;AACb;AACA,CAAC;AACG,WAAS;AACb;AACA,CAAC;AACG,UAAQ;AACZ;AACA,CAAC;AACG,UAAQ;AACZ;AACA,CAAC;AACG,UAAQ;AACZ;AACA,CAAC;AACG,UAAQ;AACZ;AACA,CAAC;AACG,UAAQ;AACZ;AACA,CAAC;AACG,SAAO;AACX;AACA,CAAC;AACG,SAAO;AACX;AACA,CAAC;AACG,SAAO;AACX;AACA,CAAC;AACG,SAAO;AACX;AACA,CAAC;AACG,S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AI,GAAG,GAAG,GAAG,EAAE,IAAI;AAC9B;AACJ;","names":[]}
|
|
1
|
+
{"version":3,"sources":["../src/styles.css"],"sourcesContent":["*, ::before, ::after {\n --tw-border-spacing-x: 0;\n --tw-border-spacing-y: 0;\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-rotate: 0;\n --tw-skew-x: 0;\n --tw-skew-y: 0;\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n --tw-pan-x: ;\n --tw-pan-y: ;\n --tw-pinch-zoom: ;\n --tw-scroll-snap-strictness: proximity;\n --tw-gradient-from-position: ;\n --tw-gradient-via-position: ;\n --tw-gradient-to-position: ;\n --tw-ordinal: ;\n --tw-slashed-zero: ;\n --tw-numeric-figure: ;\n --tw-numeric-spacing: ;\n --tw-numeric-fraction: ;\n --tw-ring-inset: ;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-color: rgb(59 130 246 / 0.5);\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n --tw-blur: ;\n --tw-brightness: ;\n --tw-contrast: ;\n --tw-grayscale: ;\n --tw-hue-rotate: ;\n --tw-invert: ;\n --tw-saturate: ;\n --tw-sepia: ;\n --tw-drop-shadow: ;\n --tw-backdrop-blur: ;\n --tw-backdrop-brightness: ;\n --tw-backdrop-contrast: ;\n --tw-backdrop-grayscale: ;\n --tw-backdrop-hue-rotate: ;\n --tw-backdrop-invert: ;\n --tw-backdrop-opacity: ;\n --tw-backdrop-saturate: ;\n --tw-backdrop-sepia: ;\n --tw-contain-size: ;\n --tw-contain-layout: ;\n --tw-contain-paint: ;\n --tw-contain-style: \n}\n::backdrop {\n --tw-border-spacing-x: 0;\n --tw-border-spacing-y: 0;\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-rotate: 0;\n --tw-skew-x: 0;\n --tw-skew-y: 0;\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n --tw-pan-x: ;\n --tw-pan-y: ;\n --tw-pinch-zoom: ;\n --tw-scroll-snap-strictness: proximity;\n --tw-gradient-from-position: ;\n --tw-gradient-via-position: ;\n --tw-gradient-to-position: ;\n --tw-ordinal: ;\n --tw-slashed-zero: ;\n --tw-numeric-figure: ;\n --tw-numeric-spacing: ;\n --tw-numeric-fraction: ;\n --tw-ring-inset: ;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-color: rgb(59 130 246 / 0.5);\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n --tw-blur: ;\n --tw-brightness: ;\n --tw-contrast: ;\n --tw-grayscale: ;\n --tw-hue-rotate: ;\n --tw-invert: ;\n --tw-saturate: ;\n --tw-sepia: ;\n --tw-drop-shadow: ;\n --tw-backdrop-blur: ;\n --tw-backdrop-brightness: ;\n --tw-backdrop-contrast: ;\n --tw-backdrop-grayscale: ;\n --tw-backdrop-hue-rotate: ;\n --tw-backdrop-invert: ;\n --tw-backdrop-opacity: ;\n --tw-backdrop-saturate: ;\n --tw-backdrop-sepia: ;\n --tw-contain-size: ;\n --tw-contain-layout: ;\n --tw-contain-paint: ;\n --tw-contain-style: \n}\n.cac-sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0\n}\n.cac-absolute {\n position: absolute\n}\n.cac-relative {\n position: relative\n}\n.cac-inset-0 {\n inset: 0px\n}\n.cac-left-0 {\n left: 0px\n}\n.cac-right-0 {\n right: 0px\n}\n.cac-right-4 {\n right: 1rem\n}\n.cac-top-0 {\n top: 0px\n}\n.cac-top-4 {\n top: 1rem\n}\n.cac-z-50 {\n z-index: 50\n}\n.cac-mt-2 {\n margin-top: 0.5rem\n}\n.cac-block {\n display: block\n}\n.cac-inline {\n display: inline\n}\n.cac-flex {\n display: flex\n}\n.cac-hidden {\n display: none\n}\n.cac-h-10 {\n height: 2.5rem\n}\n.cac-h-8 {\n height: 2rem\n}\n.cac-h-96 {\n height: 24rem\n}\n.cac-h-full {\n height: 100%\n}\n.cac-h-screen {\n height: 100vh\n}\n.cac-w-10 {\n width: 2.5rem\n}\n.cac-w-8 {\n width: 2rem\n}\n.cac-w-80 {\n width: 20rem\n}\n.cac-w-full {\n width: 100%\n}\n.cac-w-screen {\n width: 100vw\n}\n.cac-shrink-0 {\n flex-shrink: 0\n}\n@keyframes cac-spin {\n to {\n transform: rotate(360deg)\n }\n}\n.cac-animate-spin {\n animation: cac-spin 1s linear infinite\n}\n.cac-cursor-pointer {\n cursor: pointer\n}\n.cac-items-center {\n align-items: center\n}\n.cac-justify-center {\n justify-content: center\n}\n.cac-justify-between {\n justify-content: space-between\n}\n.cac-gap-2 {\n gap: 0.5rem\n}\n.cac-overflow-hidden {\n overflow: hidden\n}\n.cac-rounded-3xl {\n border-radius: 1.5rem\n}\n.cac-rounded-full {\n border-radius: 9999px\n}\n.cac-rounded-lg {\n border-radius: 0.5rem\n}\n.cac-border {\n border-width: 1px\n}\n.cac-border-none {\n border-style: none\n}\n.cac-border-neutral-500 {\n --tw-border-opacity: 1;\n border-color: rgb(115 115 115 / var(--tw-border-opacity))\n}\n.cac-bg-neutral-100 {\n --tw-bg-opacity: 1;\n background-color: rgb(245 245 245 / var(--tw-bg-opacity))\n}\n.cac-bg-neutral-950 {\n --tw-bg-opacity: 1;\n background-color: rgb(10 10 10 / var(--tw-bg-opacity))\n}\n.cac-bg-transparent {\n background-color: transparent\n}\n.cac-bg-white {\n --tw-bg-opacity: 1;\n background-color: rgb(255 255 255 / var(--tw-bg-opacity))\n}\n.cac-bg-opacity-50 {\n --tw-bg-opacity: 0.5\n}\n.cac-fill-neutral-600 {\n fill: #525252\n}\n.cac-object-cover {\n -o-object-fit: cover;\n object-fit: cover\n}\n.cac-p-1 {\n padding: 0.25rem\n}\n.cac-p-6 {\n padding: 1.5rem\n}\n.cac-px-3 {\n padding-left: 0.75rem;\n padding-right: 0.75rem\n}\n.cac-px-4 {\n padding-left: 1rem;\n padding-right: 1rem\n}\n.cac-py-2 {\n padding-top: 0.5rem;\n padding-bottom: 0.5rem\n}\n.cac-text-neutral-200 {\n --tw-text-opacity: 1;\n color: rgb(229 229 229 / var(--tw-text-opacity))\n}\n.cac-text-neutral-400 {\n --tw-text-opacity: 1;\n color: rgb(163 163 163 / var(--tw-text-opacity))\n}\n.cac-text-neutral-500 {\n --tw-text-opacity: 1;\n color: rgb(115 115 115 / var(--tw-text-opacity))\n}\n.cac-shadow-lg {\n --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);\n --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)\n}\n.cac-shadow-xl {\n --tw-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);\n --tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)\n}\n.cac-transition-colors {\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms\n}\n.hover\\:cac-bg-neutral-200:hover {\n --tw-bg-opacity: 1;\n background-color: rgb(229 229 229 / var(--tw-bg-opacity))\n}\n.hover\\:cac-bg-opacity-50:hover {\n --tw-bg-opacity: 0.5\n}\n@media (prefers-color-scheme: dark) {\n .dark\\:cac-fill-neutral-300 {\n fill: #d4d4d4\n }\n .dark\\:cac-text-neutral-600 {\n --tw-text-opacity: 1;\n color: rgb(82 82 82 / var(--tw-text-opacity))\n }\n}\n"],"mappings":";AAAA;AAAG;AAAU;AACT,yBAAuB;AACvB,yBAAuB;AACvB,oBAAkB;AAClB,oBAAkB;AAClB,eAAa;AACb,eAAa;AACb,eAAa;AACb,gBAAc;AACd,gBAAc;AACd;AACA;AACA;AACA,+BAA6B;AAC7B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,0BAAwB;AACxB,0BAAwB;AACxB,mBAAiB,IAAI,GAAG,IAAI,IAAI,EAAE;AAClC,2BAAyB,EAAE,EAAE;AAC7B,oBAAkB,EAAE,EAAE;AACtB,eAAa,EAAE,EAAE;AACjB,uBAAqB,EAAE,EAAE;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACJ;AACA;AACI,yBAAuB;AACvB,yBAAuB;AACvB,oBAAkB;AAClB,oBAAkB;AAClB,eAAa;AACb,eAAa;AACb,eAAa;AACb,gBAAc;AACd,gBAAc;AACd;AACA;AACA;AACA,+BAA6B;AAC7B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,0BAAwB;AACxB,0BAAwB;AACxB,mBAAiB,IAAI,GAAG,IAAI,IAAI,EAAE;AAClC,2BAAyB,EAAE,EAAE;AAC7B,oBAAkB,EAAE,EAAE;AACtB,eAAa,EAAE,EAAE;AACjB,uBAAqB,EAAE,EAAE;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACJ;AACA,CAAC;AACG,YAAU;AACV,SAAO;AACP,UAAQ;AACR,WAAS;AACT,UAAQ;AACR,YAAU;AACV,QAAM,KAAK,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE;AACpB,eAAa;AACb,gBAAc;AAClB;AACA,CAAC;AACG,YAAU;AACd;AACA,CAAC;AACG,YAAU;AACd;AACA,CAAC;AACG,SAAO;AACX;AACA,CAAC;AACG,QAAM;AACV;AACA,CAAC;AACG,SAAO;AACX;AACA,CAAC;AACG,SAAO;AACX;AACA,CAAC;AACG,OAAK;AACT;AACA,CAAC;AACG,OAAK;AACT;AACA,CAAC;AACG,WAAS;AACb;AACA,CAAC;AACG,cAAY;AAChB;AACA,CAAC;AACG,WAAS;AACb;AACA,CAAC;AACG,WAAS;AACb;AACA,CAAC;AACG,WAAS;AACb;AACA,CAAC;AACG,WAAS;AACb;AACA,CAAC;AACG,UAAQ;AACZ;AACA,CAAC;AACG,UAAQ;AACZ;AACA,CAAC;AACG,UAAQ;AACZ;AACA,CAAC;AACG,UAAQ;AACZ;AACA,CAAC;AACG,UAAQ;AACZ;AACA,CAAC;AACG,SAAO;AACX;AACA,CAAC;AACG,SAAO;AACX;AACA,CAAC;AACG,SAAO;AACX;AACA,CAAC;AACG,SAAO;AACX;AACA,CAAC;AACG,SAAO;AACX;AACA,CAAC;AACG,eAAa;AACjB;AACA,WAAW;AACP;AACI,eAAW,OAAO;AACtB;AACJ;AACA,CAAC;AACG,aAAW,SAAS,GAAG,OAAO;AAClC;AACA,CAAC;AACG,UAAQ;AACZ;AACA,CAAC;AACG,eAAa;AACjB;AACA,CAAC;AACG,mBAAiB;AACrB;AACA,CAAC;AACG,mBAAiB;AACrB;AACA,CAAC;AACG,OAAK;AACT;AACA,CAAC;AACG,YAAU;AACd;AACA,CAAC;AACG,iBAAe;AACnB;AACA,CAAC;AACG,iBAAe;AACnB;AACA,CAAC;AACG,iBAAe;AACnB;AACA,CAAC;AACG,gBAAc;AAClB;AACA,CAAC;AACG,gBAAc;AAClB;AACA,CAAC;AACG,uBAAqB;AACrB,gBAAc,IAAI,IAAI,IAAI,IAAI,EAAE,IAAI;AACxC;AACA,CAAC;AACG,mBAAiB;AACjB,oBAAkB,IAAI,IAAI,IAAI,IAAI,EAAE,IAAI;AAC5C;A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,KAAK,KAAK,IAAI,kBAAkB,EAAE,EAAE,IAAI,KAAK,KAAK,IAAI;AAClF;AAAA,IAAY,IAAI,uBAAuB,EAAE,EAAE,EAAE,MAAM;AAAA,IAAE,IAAI,gBAAgB,EAAE,EAAE,EAAE,MAAM;AAAA,IAAE,IAAI;AAC/F;AACA,CAAC;AACG;AAAA,IAAqB,KAAK;AAAA,IAAE,gBAAgB;AAAA,IAAE,YAAY;AAAA,IAAE,qBAAqB;AAAA,IAAE,IAAI;AAAA,IAAE;AACzF,8BAA4B,aAAa,GAAG,EAAE,CAAC,EAAE,GAAG,EAAE;AACtD,uBAAqB;AACzB;AACA,CAAC,yBAAyB;AACtB,mBAAiB;AACjB,oBAAkB,IAAI,IAAI,IAAI,IAAI,EAAE,IAAI;AAC5C;AACA,CAAC,wBAAwB;AACrB,mBAAiB;AACrB;AACA,OAAO,CAAC,oBAAoB,EAAE;AAC1B,GAAC;AACG,UAAM;AACV;AACA,GAAC;AACG,uBAAmB;AACnB,WAAO,IAAI,GAAG,GAAG,GAAG,EAAE,IAAI;AAC9B;AACJ;","names":[]}
|
package/dist/index.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { C as Config, D as DisplayMode, E as Endpoints, F as ForwardedTokens, T as Tokens, U as User } from './index-
|
|
2
|
-
import 'oslo/
|
|
1
|
+
export { A as AuthStorage, C as Config, D as DisplayMode, E as Endpoints, F as ForwardedTokens, T as Tokens, U as User } from './index-Bfi0hVMZ.mjs';
|
|
2
|
+
import 'oslo/oauth2';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { C as Config, D as DisplayMode, E as Endpoints, F as ForwardedTokens, T as Tokens, U as User } from './index-
|
|
2
|
-
import 'oslo/
|
|
1
|
+
export { A as AuthStorage, C as Config, D as DisplayMode, E as Endpoints, F as ForwardedTokens, T as Tokens, U as User } from './index-Bfi0hVMZ.js';
|
|
2
|
+
import 'oslo/oauth2';
|
package/dist/index.js
CHANGED
|
@@ -1,20 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
"use strict";
|
|
3
|
-
var __defProp = Object.defineProperty;
|
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
-
var __copyProps = (to, from, except, desc) => {
|
|
8
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
9
|
-
for (let key of __getOwnPropNames(from))
|
|
10
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
11
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
12
|
-
}
|
|
13
|
-
return to;
|
|
14
|
-
};
|
|
15
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
16
|
-
|
|
17
|
-
// src/index.ts
|
|
18
|
-
var src_exports = {};
|
|
19
|
-
module.exports = __toCommonJS(src_exports);
|
|
1
|
+
"use strict";require('./chunk-CRTRMMJ7.js');
|
|
20
2
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["/Users/kevincolgan/code/civic-auth/packages/civic-auth-client/dist/index.js"],"names":[],"mappings":"AAAA,4CAA4B","file":"/Users/kevincolgan/code/civic-auth/packages/civic-auth-client/dist/index.js"}
|
package/dist/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import "./chunk-RGHW4PYM.mjs";
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
package/dist/nextjs.d.mts
CHANGED
|
@@ -1,8 +1,224 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as next_dist_shared_lib_image_config from 'next/dist/shared/lib/image-config';
|
|
2
|
+
import * as next_dist_lib_load_custom_routes from 'next/dist/lib/load-custom-routes';
|
|
3
|
+
import * as next_dist_server_config_shared from 'next/dist/server/config-shared';
|
|
4
|
+
import { NextConfig } from 'next';
|
|
5
|
+
import { U as User } from './index-Bfi0hVMZ.mjs';
|
|
6
|
+
import { NextRequest, NextResponse } from 'next/server.js';
|
|
7
|
+
import 'oslo/oauth2';
|
|
2
8
|
|
|
3
|
-
|
|
9
|
+
interface CookieConfig {
|
|
10
|
+
secure?: boolean;
|
|
11
|
+
sameSite?: "strict" | "lax" | "none";
|
|
12
|
+
domain?: string;
|
|
13
|
+
path?: string;
|
|
14
|
+
maxAge?: number;
|
|
15
|
+
}
|
|
16
|
+
type AuthConfigWithDefaults = {
|
|
17
|
+
clientId: string;
|
|
18
|
+
oauthServer: string;
|
|
19
|
+
callbackUrl: string;
|
|
4
20
|
loginUrl: string;
|
|
21
|
+
logoutUrl: string;
|
|
22
|
+
appUrl?: string;
|
|
23
|
+
challengeUrl: string;
|
|
24
|
+
include: string[];
|
|
25
|
+
exclude: string[];
|
|
26
|
+
cookies: {
|
|
27
|
+
tokens: CookieConfig;
|
|
28
|
+
user: CookieConfig;
|
|
29
|
+
};
|
|
5
30
|
};
|
|
6
|
-
|
|
31
|
+
type AuthConfig = Partial<AuthConfigWithDefaults>;
|
|
32
|
+
/**
|
|
33
|
+
* Creates a Next.js plugin that handles auth configuration.
|
|
34
|
+
*
|
|
35
|
+
* This is the main configuration point for the auth system.
|
|
36
|
+
* Do not set _civic_auth_* environment variables directly - instead,
|
|
37
|
+
* pass your configuration here:
|
|
38
|
+
*
|
|
39
|
+
* @example
|
|
40
|
+
* ```js
|
|
41
|
+
* // next.config.js
|
|
42
|
+
* export default createCivicAuthPlugin({
|
|
43
|
+
* clientId: 'my-client-id',
|
|
44
|
+
* callbackUrl: '/custom/callback',
|
|
45
|
+
* loginUrl: '/custom/login',
|
|
46
|
+
* logoutUrl: '/custom/logout',
|
|
47
|
+
* include: ['/protected/*'],
|
|
48
|
+
* exclude: ['/public/*']
|
|
49
|
+
* })
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
52
|
+
* The plugin sets internal environment variables that are used by
|
|
53
|
+
* the auth system. These variables should not be set manually.
|
|
54
|
+
*/
|
|
55
|
+
declare const createCivicAuthPlugin: (clientId: string, authConfig?: AuthConfig) => (nextConfig?: NextConfig) => {
|
|
56
|
+
env: {
|
|
57
|
+
_civic_auth_client_id: string;
|
|
58
|
+
_civic_oauth_server: string;
|
|
59
|
+
_civic_auth_callback_url: string;
|
|
60
|
+
_civic_auth_challenge_url: string;
|
|
61
|
+
_civic_auth_login_url: string;
|
|
62
|
+
_civic_auth_logout_url: string;
|
|
63
|
+
_civic_auth_app_url: string | undefined;
|
|
64
|
+
_civic_auth_includes: string;
|
|
65
|
+
_civic_auth_excludes: string;
|
|
66
|
+
_civic_auth_cookie_config: string;
|
|
67
|
+
};
|
|
68
|
+
exportPathMap?: (defaultMap: next_dist_server_config_shared.ExportPathMap, ctx: {
|
|
69
|
+
dev: boolean;
|
|
70
|
+
dir: string;
|
|
71
|
+
outDir: string | null;
|
|
72
|
+
distDir: string;
|
|
73
|
+
buildId: string;
|
|
74
|
+
}) => Promise<next_dist_server_config_shared.ExportPathMap> | next_dist_server_config_shared.ExportPathMap;
|
|
75
|
+
i18n?: next_dist_server_config_shared.I18NConfig | null;
|
|
76
|
+
eslint?: next_dist_server_config_shared.ESLintConfig;
|
|
77
|
+
typescript?: next_dist_server_config_shared.TypeScriptConfig;
|
|
78
|
+
headers?: () => Promise<next_dist_lib_load_custom_routes.Header[]>;
|
|
79
|
+
rewrites?: () => Promise<next_dist_lib_load_custom_routes.Rewrite[] | {
|
|
80
|
+
beforeFiles: next_dist_lib_load_custom_routes.Rewrite[];
|
|
81
|
+
afterFiles: next_dist_lib_load_custom_routes.Rewrite[];
|
|
82
|
+
fallback: next_dist_lib_load_custom_routes.Rewrite[];
|
|
83
|
+
}>;
|
|
84
|
+
redirects?: () => Promise<next_dist_lib_load_custom_routes.Redirect[]>;
|
|
85
|
+
excludeDefaultMomentLocales?: boolean;
|
|
86
|
+
webpack?: next_dist_server_config_shared.NextJsWebpackConfig | null;
|
|
87
|
+
trailingSlash?: boolean;
|
|
88
|
+
distDir?: string;
|
|
89
|
+
cleanDistDir?: boolean;
|
|
90
|
+
assetPrefix?: string;
|
|
91
|
+
cacheHandler?: string | undefined;
|
|
92
|
+
cacheMaxMemorySize?: number;
|
|
93
|
+
useFileSystemPublicRoutes?: boolean;
|
|
94
|
+
generateBuildId?: () => string | null | Promise<string | null>;
|
|
95
|
+
generateEtags?: boolean;
|
|
96
|
+
pageExtensions?: string[];
|
|
97
|
+
compress?: boolean;
|
|
98
|
+
analyticsId?: string;
|
|
99
|
+
poweredByHeader?: boolean;
|
|
100
|
+
images?: next_dist_shared_lib_image_config.ImageConfig;
|
|
101
|
+
devIndicators?: {
|
|
102
|
+
buildActivity?: boolean;
|
|
103
|
+
buildActivityPosition?: "bottom-right" | "bottom-left" | "top-right" | "top-left";
|
|
104
|
+
};
|
|
105
|
+
onDemandEntries?: {
|
|
106
|
+
maxInactiveAge?: number;
|
|
107
|
+
pagesBufferLength?: number;
|
|
108
|
+
};
|
|
109
|
+
amp?: {
|
|
110
|
+
canonicalBase?: string;
|
|
111
|
+
};
|
|
112
|
+
deploymentId?: string;
|
|
113
|
+
basePath?: string;
|
|
114
|
+
sassOptions?: {
|
|
115
|
+
[key: string]: any;
|
|
116
|
+
};
|
|
117
|
+
productionBrowserSourceMaps?: boolean;
|
|
118
|
+
optimizeFonts?: boolean;
|
|
119
|
+
reactProductionProfiling?: boolean;
|
|
120
|
+
reactStrictMode?: boolean | null;
|
|
121
|
+
publicRuntimeConfig?: {
|
|
122
|
+
[key: string]: any;
|
|
123
|
+
};
|
|
124
|
+
serverRuntimeConfig?: {
|
|
125
|
+
[key: string]: any;
|
|
126
|
+
};
|
|
127
|
+
httpAgentOptions?: {
|
|
128
|
+
keepAlive?: boolean;
|
|
129
|
+
};
|
|
130
|
+
outputFileTracing?: boolean;
|
|
131
|
+
staticPageGenerationTimeout?: number;
|
|
132
|
+
crossOrigin?: "anonymous" | "use-credentials";
|
|
133
|
+
swcMinify?: boolean;
|
|
134
|
+
compiler?: {
|
|
135
|
+
reactRemoveProperties?: boolean | {
|
|
136
|
+
properties?: string[];
|
|
137
|
+
};
|
|
138
|
+
relay?: {
|
|
139
|
+
src: string;
|
|
140
|
+
artifactDirectory?: string;
|
|
141
|
+
language?: "typescript" | "javascript" | "flow";
|
|
142
|
+
eagerEsModules?: boolean;
|
|
143
|
+
};
|
|
144
|
+
removeConsole?: boolean | {
|
|
145
|
+
exclude?: string[];
|
|
146
|
+
};
|
|
147
|
+
styledComponents?: boolean | next_dist_server_config_shared.StyledComponentsConfig;
|
|
148
|
+
emotion?: boolean | next_dist_server_config_shared.EmotionConfig;
|
|
149
|
+
styledJsx?: boolean | {
|
|
150
|
+
useLightningcss?: boolean;
|
|
151
|
+
};
|
|
152
|
+
};
|
|
153
|
+
output?: "standalone" | "export";
|
|
154
|
+
transpilePackages?: string[];
|
|
155
|
+
skipMiddlewareUrlNormalize?: boolean;
|
|
156
|
+
skipTrailingSlashRedirect?: boolean;
|
|
157
|
+
modularizeImports?: Record<string, {
|
|
158
|
+
transform: string | Record<string, string>;
|
|
159
|
+
preventFullImport?: boolean;
|
|
160
|
+
skipDefaultConversion?: boolean;
|
|
161
|
+
}>;
|
|
162
|
+
logging?: {
|
|
163
|
+
fetches?: {
|
|
164
|
+
fullUrl?: boolean;
|
|
165
|
+
};
|
|
166
|
+
};
|
|
167
|
+
experimental?: next_dist_server_config_shared.ExperimentalConfig;
|
|
168
|
+
};
|
|
169
|
+
|
|
170
|
+
/**
|
|
171
|
+
* Used on the server-side to get the user object from the cookie
|
|
172
|
+
*/
|
|
173
|
+
|
|
174
|
+
declare const getUser: () => User | null;
|
|
175
|
+
|
|
176
|
+
type Middleware = (request: NextRequest) => Promise<NextResponse> | NextResponse;
|
|
177
|
+
/**
|
|
178
|
+
*
|
|
179
|
+
* Use this when auth is the only middleware you need.
|
|
180
|
+
* Usage:
|
|
181
|
+
*
|
|
182
|
+
* export default authMiddleware({ loginUrl = '/login' }); // or just authMiddleware();
|
|
183
|
+
*
|
|
184
|
+
*/
|
|
185
|
+
declare const authMiddleware: (authConfig?: Omit<AuthConfigWithDefaults, "clientId">) => (request: NextRequest) => Promise<NextResponse>;
|
|
186
|
+
/**
|
|
187
|
+
* Usage:
|
|
188
|
+
*
|
|
189
|
+
* export default withAuth(async (request) => {
|
|
190
|
+
* console.log('my middleware');
|
|
191
|
+
* return NextResponse.next();
|
|
192
|
+
* })
|
|
193
|
+
*/
|
|
194
|
+
declare function withAuth(middleware: Middleware): (request: NextRequest) => Promise<NextResponse>;
|
|
195
|
+
/**
|
|
196
|
+
* Use this when you want to configure the middleware here (an alternative is to do it in the next.config file)
|
|
197
|
+
*
|
|
198
|
+
* Usage:
|
|
199
|
+
*
|
|
200
|
+
* const withAuth = auth({ loginUrl = '/login' }); // or just auth();
|
|
201
|
+
*
|
|
202
|
+
* export default withAuth(async (request) => {
|
|
203
|
+
* console.log('my middleware');
|
|
204
|
+
* return NextResponse.next();
|
|
205
|
+
* })
|
|
206
|
+
*
|
|
207
|
+
*/
|
|
208
|
+
declare function auth(authConfig?: AuthConfig): (middleware: Middleware) => ((request: NextRequest) => Promise<NextResponse>);
|
|
209
|
+
|
|
210
|
+
/**
|
|
211
|
+
* Creates an authentication handler for Next.js API routes
|
|
212
|
+
*
|
|
213
|
+
* Usage:
|
|
214
|
+
* ```ts
|
|
215
|
+
* // app/api/auth/[...civicauth]/route.ts
|
|
216
|
+
* import { handler } from '@civic/auth/nextjs'
|
|
217
|
+
* export const GET = handler({
|
|
218
|
+
* // optional config overrides
|
|
219
|
+
* })
|
|
220
|
+
* ```
|
|
221
|
+
*/
|
|
222
|
+
declare const handler: (authConfig?: {}) => (request: NextRequest) => Promise<NextResponse>;
|
|
7
223
|
|
|
8
|
-
export {
|
|
224
|
+
export { auth, authMiddleware, createCivicAuthPlugin, getUser, handler, withAuth };
|