@authagonal/login 0.1.97

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 (73) hide show
  1. package/README.md +348 -0
  2. package/dist/App.d.ts +1 -0
  3. package/dist/api.d.ts +35 -0
  4. package/dist/branding.d.ts +22 -0
  5. package/dist/branding.json +8 -0
  6. package/dist/components/AuthLayout.d.ts +7 -0
  7. package/dist/components/ui/alert.d.ts +9 -0
  8. package/dist/components/ui/button.d.ts +11 -0
  9. package/dist/components/ui/card.d.ts +8 -0
  10. package/dist/components/ui/input.d.ts +3 -0
  11. package/dist/components/ui/label.d.ts +3 -0
  12. package/dist/components/ui/separator.d.ts +6 -0
  13. package/dist/favicon.svg +1 -0
  14. package/dist/hooks/useDarkMode.d.ts +6 -0
  15. package/dist/i18n/index.d.ts +2 -0
  16. package/dist/icons.svg +24 -0
  17. package/dist/index.css +3 -0
  18. package/dist/index.d.ts +23 -0
  19. package/dist/index.js +6332 -0
  20. package/dist/lib/utils.d.ts +2 -0
  21. package/dist/main.d.ts +2 -0
  22. package/dist/pages/ConsentPage.d.ts +1 -0
  23. package/dist/pages/DevicePage.d.ts +1 -0
  24. package/dist/pages/ForgotPasswordPage.d.ts +1 -0
  25. package/dist/pages/GrantsPage.d.ts +1 -0
  26. package/dist/pages/LoginPage.d.ts +1 -0
  27. package/dist/pages/MfaChallengePage.d.ts +1 -0
  28. package/dist/pages/MfaSetupPage.d.ts +1 -0
  29. package/dist/pages/RegisterPage.d.ts +1 -0
  30. package/dist/pages/ResetPasswordPage.d.ts +1 -0
  31. package/dist/types.d.ts +91 -0
  32. package/index.html +13 -0
  33. package/package.json +65 -0
  34. package/public/branding.json +8 -0
  35. package/public/favicon.svg +1 -0
  36. package/public/icons.svg +24 -0
  37. package/src/App.tsx +32 -0
  38. package/src/api.ts +156 -0
  39. package/src/branding.ts +55 -0
  40. package/src/components/AuthLayout.tsx +107 -0
  41. package/src/components/ui/alert.tsx +31 -0
  42. package/src/components/ui/button.tsx +51 -0
  43. package/src/components/ui/card.tsx +50 -0
  44. package/src/components/ui/input.tsx +21 -0
  45. package/src/components/ui/label.tsx +17 -0
  46. package/src/components/ui/separator.tsx +16 -0
  47. package/src/hooks/useDarkMode.ts +39 -0
  48. package/src/i18n/de.json +111 -0
  49. package/src/i18n/en.json +136 -0
  50. package/src/i18n/es.json +111 -0
  51. package/src/i18n/fr.json +111 -0
  52. package/src/i18n/index.ts +39 -0
  53. package/src/i18n/pt.json +111 -0
  54. package/src/i18n/tlh.json +111 -0
  55. package/src/i18n/vi.json +111 -0
  56. package/src/i18n/zh-Hans.json +111 -0
  57. package/src/index.ts +44 -0
  58. package/src/lib/utils.ts +6 -0
  59. package/src/main.tsx +19 -0
  60. package/src/pages/ConsentPage.tsx +144 -0
  61. package/src/pages/DevicePage.tsx +145 -0
  62. package/src/pages/ForgotPasswordPage.tsx +90 -0
  63. package/src/pages/GrantsPage.tsx +87 -0
  64. package/src/pages/LoginPage.tsx +423 -0
  65. package/src/pages/MfaChallengePage.tsx +246 -0
  66. package/src/pages/MfaSetupPage.tsx +366 -0
  67. package/src/pages/RegisterPage.tsx +161 -0
  68. package/src/pages/ResetPasswordPage.tsx +219 -0
  69. package/src/styles.css +33 -0
  70. package/src/types.ts +112 -0
  71. package/tsconfig.app.json +37 -0
  72. package/tsconfig.json +7 -0
  73. package/vite.config.ts +54 -0
package/README.md ADDED
@@ -0,0 +1,348 @@
1
+ # @drawboard/authagonal-login
2
+
3
+ Default login UI for [Authagonal](https://github.com/DrawboardLtd/authagonal) — an OAuth 2.0 / OpenID Connect authentication server backed by Azure Table Storage.
4
+
5
+ Use as a standalone app (built into the Authagonal Docker image) or as an npm package to build a custom login experience while reusing the API client, branding, i18n, and base components.
6
+
7
+ ## Installation
8
+
9
+ ```bash
10
+ npm install @drawboard/authagonal-login
11
+ ```
12
+
13
+ `react`, `react-dom`, and `react-router-dom` are externalized at build time — your app must provide them.
14
+
15
+ ## Quick start
16
+
17
+ Import the base components and styles, then mount the router:
18
+
19
+ ```tsx
20
+ import { BrowserRouter, Routes, Route } from 'react-router-dom';
21
+ import { AuthLayout, LoginPage, ForgotPasswordPage, ResetPasswordPage } from '@drawboard/authagonal-login';
22
+ import '@drawboard/authagonal-login/styles.css';
23
+
24
+ function App() {
25
+ return (
26
+ <BrowserRouter>
27
+ <Routes>
28
+ <Route element={<AuthLayout />}>
29
+ <Route path="/login" element={<LoginPage />} />
30
+ <Route path="/forgot-password" element={<ForgotPasswordPage />} />
31
+ <Route path="/reset-password" element={<ResetPasswordPage />} />
32
+ </Route>
33
+ </Routes>
34
+ </BrowserRouter>
35
+ );
36
+ }
37
+ ```
38
+
39
+ ## Customizing pages
40
+
41
+ Override individual pages while keeping the rest. Your custom page has access to the same API client, branding hooks, and i18n as the built-in pages:
42
+
43
+ ```tsx
44
+ import { AuthLayout, ForgotPasswordPage, ResetPasswordPage } from '@drawboard/authagonal-login';
45
+ import { login, useBranding, useTranslation, ApiRequestError } from '@drawboard/authagonal-login';
46
+ import '@drawboard/authagonal-login/styles.css';
47
+
48
+ function MyLoginPage() {
49
+ const { t } = useTranslation();
50
+ const branding = useBranding();
51
+ const [agreedToTerms, setAgreedToTerms] = useState(false);
52
+
53
+ async function handleSubmit(email: string, password: string) {
54
+ if (!agreedToTerms) throw new Error('You must agree to the Terms of Service');
55
+ await login(email, password);
56
+ window.location.href = '/';
57
+ }
58
+
59
+ return (
60
+ <form onSubmit={/* ... */}>
61
+ {/* Your custom UI using t(), branding, login(), etc. */}
62
+ </form>
63
+ );
64
+ }
65
+
66
+ function App() {
67
+ return (
68
+ <BrowserRouter>
69
+ <Routes>
70
+ <Route element={<AuthLayout />}>
71
+ <Route path="/login" element={<MyLoginPage />} />
72
+ <Route path="/forgot-password" element={<ForgotPasswordPage />} />
73
+ <Route path="/reset-password" element={<ResetPasswordPage />} />
74
+ </Route>
75
+ </Routes>
76
+ </BrowserRouter>
77
+ );
78
+ }
79
+ ```
80
+
81
+ See [`demos/custom-server/login-app`](https://github.com/DrawboardLtd/authagonal/tree/master/demos/custom-server/login-app) for a complete working example with a Terms of Service checkbox and branded footer.
82
+
83
+ ## API client
84
+
85
+ All functions call the Authagonal auth API with cookie credentials. Set `VITE_API_URL` to point to a different origin during development.
86
+
87
+ ```ts
88
+ import { login, logout, forgotPassword, resetPassword, getSession, ssoCheck, getProviders, getPasswordPolicy, ApiRequestError } from '@drawboard/authagonal-login';
89
+
90
+ // Password login — sets a session cookie
91
+ await login('user@example.com', 'password');
92
+
93
+ // End the session
94
+ await logout();
95
+
96
+ // Check if the user has an active session
97
+ const session = await getSession();
98
+ // → { authenticated: true, userId, email, name }
99
+
100
+ // Check if an email domain requires SSO
101
+ const sso = await ssoCheck('user@corp.com');
102
+ // → { ssoRequired: true, redirectUrl: '/oidc/azure/login' }
103
+
104
+ // List configured external providers (Google, Azure AD, etc.)
105
+ const { providers } = await getProviders();
106
+ // → [{ connectionId: 'google', name: 'Google', loginUrl: '/oidc/google/login' }]
107
+
108
+ // Password reset flow
109
+ await forgotPassword('user@example.com');
110
+ await resetPassword(token, newPassword);
111
+
112
+ // Fetch password policy rules for frontend validation
113
+ const { rules } = await getPasswordPolicy();
114
+ // → [{ rule: 'MinLength', value: 8, label: 'At least 8 characters' }, ...]
115
+
116
+ // Error handling
117
+ try {
118
+ await login(email, password);
119
+ } catch (err) {
120
+ if (err instanceof ApiRequestError) {
121
+ switch (err.error) {
122
+ case 'invalid_credentials': /* wrong email/password */ break;
123
+ case 'locked_out': /* account locked, err.retryAfter has seconds */ break;
124
+ case 'email_not_confirmed': /* email verification pending */ break;
125
+ case 'sso_required': /* must use SSO, err.redirectUrl has the URL */ break;
126
+ }
127
+ }
128
+ }
129
+ ```
130
+
131
+ ## Branding
132
+
133
+ Place a `branding.json` in your public directory. The `AuthLayout` component loads it automatically.
134
+
135
+ ```json
136
+ {
137
+ "appName": "My App",
138
+ "logoUrl": "/logo.png",
139
+ "primaryColor": "#2563eb",
140
+ "supportEmail": "help@example.com",
141
+ "showForgotPassword": true,
142
+ "customCssUrl": "/custom.css",
143
+ "welcomeTitle": "Welcome to My App",
144
+ "welcomeSubtitle": "Sign in to continue"
145
+ }
146
+ ```
147
+
148
+ ### BrandingConfig fields
149
+
150
+ | Field | Type | Default | Description |
151
+ |---|---|---|---|
152
+ | `appName` | `string` | `"Authagonal"` | Shown in the header and page title |
153
+ | `logoUrl` | `string \| null` | `null` | Image URL replacing the text header |
154
+ | `primaryColor` | `string` | `"#2563eb"` | Buttons, links, focus rings via CSS custom properties |
155
+ | `supportEmail` | `string \| null` | `null` | Contact email shown in the footer |
156
+ | `showForgotPassword` | `boolean` | `true` | Toggle the forgot password link |
157
+ | `customCssUrl` | `string \| null` | `null` | URL to additional CSS for deeper styling |
158
+ | `welcomeTitle` | `LocalizedString` | `null` | Override the login page title |
159
+ | `welcomeSubtitle` | `LocalizedString` | `null` | Override the login page subtitle |
160
+
161
+ ### Localized strings
162
+
163
+ `welcomeTitle` and `welcomeSubtitle` accept either a plain string or an object mapping language codes to strings:
164
+
165
+ ```json
166
+ {
167
+ "welcomeTitle": {
168
+ "en": "Welcome to Acme",
169
+ "es": "Bienvenido a Acme",
170
+ "de": "Willkommen bei Acme"
171
+ }
172
+ }
173
+ ```
174
+
175
+ Use `resolveLocalized()` to resolve these in your own components:
176
+
177
+ ```ts
178
+ import { resolveLocalized, useBranding, useTranslation } from '@drawboard/authagonal-login';
179
+
180
+ const branding = useBranding();
181
+ const { i18n } = useTranslation();
182
+ const title = resolveLocalized(branding.welcomeTitle, i18n.language) ?? 'Default Title';
183
+ ```
184
+
185
+ ## i18n
186
+
187
+ Built-in support for 8 languages:
188
+
189
+ | Code | Language |
190
+ |---|---|
191
+ | `en` | English |
192
+ | `zh-Hans` | Chinese (Simplified) |
193
+ | `de` | German |
194
+ | `fr` | French |
195
+ | `es` | Spanish |
196
+ | `vi` | Vietnamese |
197
+ | `pt` | Portuguese |
198
+ | `tlh` | Klingon |
199
+
200
+ Language is auto-detected from the browser and persisted to `localStorage`. Force a language via query string: `?lng=es`.
201
+
202
+ The `useTranslation` hook is re-exported from this package to avoid React context duplication. Always import it from `@drawboard/authagonal-login`, not directly from `react-i18next`:
203
+
204
+ ```ts
205
+ // Correct
206
+ import { useTranslation } from '@drawboard/authagonal-login';
207
+
208
+ // Wrong — will get a different i18n instance
209
+ import { useTranslation } from 'react-i18next';
210
+ ```
211
+
212
+ ## Exports
213
+
214
+ ### Components
215
+
216
+ | Export | Description |
217
+ |---|---|
218
+ | `AuthLayout` | Layout wrapper — loads branding, renders language selector, wraps `<Outlet />` |
219
+ | `LoginPage` | Login form with SSO check, external providers, session detection |
220
+ | `ForgotPasswordPage` | Email input → sends reset link |
221
+ | `ResetPasswordPage` | Token + new password form with policy validation |
222
+ | `MfaChallengePage` | TOTP/passkey/recovery code verification |
223
+ | `MfaSetupPage` | QR code scanning, passkey registration, recovery code generation |
224
+ | `RegisterPage` | Self-service registration form with email/password |
225
+ | `App` | Standalone SPA with full routing (login, register, forgot/reset password, MFA) |
226
+
227
+ ### UI Components
228
+
229
+ | Export | Description |
230
+ |---|---|
231
+ | `Button` | Styled button with variants (`default`, `outline`, `ghost`, etc.) |
232
+ | `Input` | Styled text input |
233
+ | `Label` | Form label |
234
+ | `Card`, `CardHeader`, `CardTitle`, `CardDescription`, `CardContent`, `CardFooter` | Card layout primitives |
235
+ | `Alert` | Alert/notification banner |
236
+ | `Separator` | Visual divider |
237
+ | `cn` | Tailwind class merge utility |
238
+
239
+ ### API client
240
+
241
+ | Export | Description |
242
+ |---|---|
243
+ | `login(email, password)` | Password login |
244
+ | `logout()` | End session |
245
+ | `forgotPassword(email)` | Request password reset |
246
+ | `resetPassword(token, password)` | Complete password reset |
247
+ | `getSession()` | Check current session |
248
+ | `ssoCheck(email)` | Check SSO requirement for email domain |
249
+ | `getProviders()` | List external identity providers |
250
+ | `getPasswordPolicy()` | Fetch password rules |
251
+ | `ApiRequestError` | Error class with `.error`, `.retryAfter`, `.redirectUrl` |
252
+ | `mfaVerify(challengeId, method, code)` | Verify MFA challenge |
253
+ | `mfaStatus()` | Get enrolled MFA methods |
254
+ | `mfaTotpSetup()` | Start TOTP enrollment |
255
+ | `mfaTotpConfirm(setupToken, code)` | Confirm TOTP enrollment |
256
+ | `mfaWebAuthnSetup()` | Start WebAuthn/passkey enrollment |
257
+ | `mfaWebAuthnConfirm(setupToken, attestation)` | Confirm passkey enrollment |
258
+ | `mfaRecoveryGenerate()` | Generate recovery codes |
259
+ | `mfaDeleteCredential(credentialId)` | Remove an MFA credential |
260
+
261
+ ### Branding
262
+
263
+ | Export | Description |
264
+ |---|---|
265
+ | `loadBranding()` | Fetch and parse `/branding.json` |
266
+ | `BrandingContext` | React context for branding config |
267
+ | `useBranding()` | Hook to read branding config |
268
+ | `resolveLocalized(value, lang)` | Resolve a `LocalizedString` for a language |
269
+
270
+ ### i18n
271
+
272
+ | Export | Description |
273
+ |---|---|
274
+ | `i18n` | Pre-configured i18next instance |
275
+ | `useTranslation` | Re-exported from `react-i18next` — always import from this package to avoid context duplication |
276
+
277
+ ### Types
278
+
279
+ ```ts
280
+ type LocalizedString = string | Record<string, string> | null;
281
+
282
+ interface BrandingConfig {
283
+ appName: string;
284
+ logoUrl: string | null;
285
+ primaryColor: string;
286
+ supportEmail: string | null;
287
+ showForgotPassword: boolean;
288
+ showRegistration: boolean;
289
+ customCssUrl: string | null;
290
+ welcomeTitle: LocalizedString;
291
+ welcomeSubtitle: LocalizedString;
292
+ languages: { code: string; label: string }[] | null;
293
+ }
294
+
295
+ interface ExternalProvider {
296
+ connectionId: string;
297
+ name: string;
298
+ loginUrl: string;
299
+ }
300
+
301
+ interface SessionResponse {
302
+ authenticated: boolean;
303
+ userId: string;
304
+ email: string;
305
+ name: string;
306
+ }
307
+
308
+ interface SsoCheckResponse {
309
+ ssoRequired: boolean;
310
+ providerType?: string;
311
+ connectionId?: string;
312
+ redirectUrl?: string;
313
+ }
314
+
315
+ interface PasswordPolicyRule {
316
+ rule: string;
317
+ value: number | null;
318
+ label: string;
319
+ }
320
+
321
+ interface LoginResponse {
322
+ userId?: string;
323
+ email?: string;
324
+ name?: string;
325
+ mfaRequired?: boolean;
326
+ challengeId?: string;
327
+ methods?: string[];
328
+ webAuthn?: object;
329
+ mfaSetupRequired?: boolean;
330
+ setupToken?: string;
331
+ mfaAvailable?: boolean;
332
+ }
333
+
334
+ interface MfaStatusResponse {
335
+ enabled: boolean;
336
+ methods: { id: string; type: string; name: string; createdAt: string; lastUsedAt: string }[];
337
+ }
338
+
339
+ interface MfaTotpSetupResponse {
340
+ setupToken: string;
341
+ qrCodeDataUri: string;
342
+ manualKey: string;
343
+ }
344
+ ```
345
+
346
+ ## License
347
+
348
+ [MIT](../../LICENSE)
package/dist/App.d.ts ADDED
@@ -0,0 +1 @@
1
+ export default function App(): import("react/jsx-runtime").JSX.Element;
package/dist/api.d.ts ADDED
@@ -0,0 +1,35 @@
1
+ import type { ApiError, SessionResponse, SsoCheckResponse, ProvidersResponse, PasswordPolicyResponse, MfaLoginResponse, MfaVerifyResponse, MfaStatusResponse, MfaTotpSetupResponse, MfaRecoveryGenerateResponse, MfaWebAuthnSetupResponse, MfaWebAuthnConfirmResponse, RegisterResponse } from './types';
2
+ declare class ApiRequestError extends Error {
3
+ error: string;
4
+ retryAfter?: number;
5
+ redirectUrl?: string;
6
+ constructor(apiError: ApiError);
7
+ }
8
+ export declare function login(email: string, password: string, returnUrl?: string): Promise<MfaLoginResponse>;
9
+ export declare function register(email: string, password: string, firstName?: string, lastName?: string): Promise<RegisterResponse>;
10
+ export declare function logout(): Promise<{
11
+ success: true;
12
+ }>;
13
+ export declare function forgotPassword(email: string): Promise<{
14
+ success: true;
15
+ }>;
16
+ export declare function resetPassword(token: string, newPassword: string): Promise<{
17
+ success: true;
18
+ }>;
19
+ export declare function getSession(): Promise<SessionResponse>;
20
+ export declare function ssoCheck(email: string): Promise<SsoCheckResponse>;
21
+ export declare function getProviders(): Promise<ProvidersResponse>;
22
+ export declare function getPasswordPolicy(): Promise<PasswordPolicyResponse>;
23
+ export declare function mfaVerify(challengeId: string, method: string, code?: string, assertion?: string): Promise<MfaVerifyResponse>;
24
+ export declare function mfaStatus(mfaSetupToken?: string): Promise<MfaStatusResponse>;
25
+ export declare function mfaTotpSetup(mfaSetupToken?: string): Promise<MfaTotpSetupResponse>;
26
+ export declare function mfaTotpConfirm(setupToken: string, code: string, mfaSetupToken?: string): Promise<{
27
+ success: true;
28
+ }>;
29
+ export declare function mfaRecoveryGenerate(mfaSetupToken?: string): Promise<MfaRecoveryGenerateResponse>;
30
+ export declare function mfaWebAuthnSetup(mfaSetupToken?: string): Promise<MfaWebAuthnSetupResponse>;
31
+ export declare function mfaWebAuthnConfirm(setupToken: string, attestationResponse: string, mfaSetupToken?: string): Promise<MfaWebAuthnConfirmResponse>;
32
+ export declare function mfaDeleteCredential(credentialId: string, mfaSetupToken?: string): Promise<{
33
+ success: true;
34
+ }>;
35
+ export { ApiRequestError };
@@ -0,0 +1,22 @@
1
+ /** A localizable string — either a plain string or an object mapping language codes to strings. */
2
+ export type LocalizedString = string | Record<string, string> | null;
3
+ export interface BrandingConfig {
4
+ appName: string;
5
+ logoUrl: string | null;
6
+ primaryColor: string;
7
+ supportEmail: string | null;
8
+ showForgotPassword: boolean;
9
+ showRegistration: boolean;
10
+ customCssUrl: string | null;
11
+ welcomeTitle: LocalizedString;
12
+ welcomeSubtitle: LocalizedString;
13
+ languages: {
14
+ code: string;
15
+ label: string;
16
+ }[] | null;
17
+ }
18
+ export declare function loadBranding(): Promise<BrandingConfig>;
19
+ export declare const BrandingContext: import("react").Context<BrandingConfig>;
20
+ export declare function useBranding(): BrandingConfig;
21
+ /** Resolve a LocalizedString to a concrete string for the given language, or null if not set. */
22
+ export declare function resolveLocalized(value: LocalizedString, language: string): string | null;
@@ -0,0 +1,8 @@
1
+ {
2
+ "appName": "Authagonal",
3
+ "logoUrl": null,
4
+ "primaryColor": "#2563eb",
5
+ "supportEmail": null,
6
+ "showForgotPassword": true,
7
+ "customCssUrl": null
8
+ }
@@ -0,0 +1,7 @@
1
+ import { type ReactNode } from 'react';
2
+ import '../i18n';
3
+ interface AuthLayoutProps {
4
+ children: ReactNode;
5
+ }
6
+ export default function AuthLayout({ children }: AuthLayoutProps): import("react/jsx-runtime").JSX.Element;
7
+ export {};
@@ -0,0 +1,9 @@
1
+ import { type HTMLAttributes } from 'react';
2
+ import { type VariantProps } from 'class-variance-authority';
3
+ declare const alertVariants: (props?: ({
4
+ variant?: "error" | "success" | null | undefined;
5
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
6
+ export interface AlertProps extends HTMLAttributes<HTMLDivElement>, VariantProps<typeof alertVariants> {
7
+ }
8
+ declare const Alert: import("react").ForwardRefExoticComponent<AlertProps & import("react").RefAttributes<HTMLDivElement>>;
9
+ export { Alert, alertVariants };
@@ -0,0 +1,11 @@
1
+ import { type ButtonHTMLAttributes } from 'react';
2
+ import { type VariantProps } from 'class-variance-authority';
3
+ declare const buttonVariants: (props?: ({
4
+ variant?: "link" | "default" | "secondary" | "ghost" | null | undefined;
5
+ size?: "default" | "sm" | null | undefined;
6
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
7
+ export interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
8
+ loading?: boolean;
9
+ }
10
+ declare const Button: import("react").ForwardRefExoticComponent<ButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
11
+ export { Button, buttonVariants };
@@ -0,0 +1,8 @@
1
+ import { type HTMLAttributes } from 'react';
2
+ declare const Card: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
3
+ declare const CardHeader: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
4
+ declare const CardTitle: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLHeadingElement> & import("react").RefAttributes<HTMLHeadingElement>>;
5
+ declare const CardDescription: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLParagraphElement> & import("react").RefAttributes<HTMLParagraphElement>>;
6
+ declare const CardContent: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
7
+ declare const CardFooter: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
8
+ export { Card, CardHeader, CardTitle, CardDescription, CardContent, CardFooter };
@@ -0,0 +1,3 @@
1
+ import { type InputHTMLAttributes } from 'react';
2
+ declare const Input: import("react").ForwardRefExoticComponent<InputHTMLAttributes<HTMLInputElement> & import("react").RefAttributes<HTMLInputElement>>;
3
+ export { Input };
@@ -0,0 +1,3 @@
1
+ import { type LabelHTMLAttributes } from 'react';
2
+ declare const Label: import("react").ForwardRefExoticComponent<LabelHTMLAttributes<HTMLLabelElement> & import("react").RefAttributes<HTMLLabelElement>>;
3
+ export { Label };
@@ -0,0 +1,6 @@
1
+ interface SeparatorProps {
2
+ label?: string;
3
+ className?: string;
4
+ }
5
+ export declare function Separator({ label, className }: SeparatorProps): import("react/jsx-runtime").JSX.Element;
6
+ export {};
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="48" height="46" fill="none" viewBox="0 0 48 46"><path fill="#863bff" d="M25.946 44.938c-.664.845-2.021.375-2.021-.698V33.937a2.26 2.26 0 0 0-2.262-2.262H10.287c-.92 0-1.456-1.04-.92-1.788l7.48-10.471c1.07-1.497 0-3.578-1.842-3.578H1.237c-.92 0-1.456-1.04-.92-1.788L10.013.474c.214-.297.556-.474.92-.474h28.894c.92 0 1.456 1.04.92 1.788l-7.48 10.471c-1.07 1.498 0 3.579 1.842 3.579h11.377c.943 0 1.473 1.088.89 1.83L25.947 44.94z" style="fill:#863bff;fill:color(display-p3 .5252 .23 1);fill-opacity:1"/><mask id="a" width="48" height="46" x="0" y="0" maskUnits="userSpaceOnUse" style="mask-type:alpha"><path fill="#000" d="M25.842 44.938c-.664.844-2.021.375-2.021-.698V33.937a2.26 2.26 0 0 0-2.262-2.262H10.183c-.92 0-1.456-1.04-.92-1.788l7.48-10.471c1.07-1.498 0-3.579-1.842-3.579H1.133c-.92 0-1.456-1.04-.92-1.787L9.91.473c.214-.297.556-.474.92-.474h28.894c.92 0 1.456 1.04.92 1.788l-7.48 10.471c-1.07 1.498 0 3.578 1.842 3.578h11.377c.943 0 1.473 1.088.89 1.832L25.843 44.94z" style="fill:#000;fill-opacity:1"/></mask><g mask="url(#a)"><g filter="url(#b)"><ellipse cx="5.508" cy="14.704" fill="#ede6ff" rx="5.508" ry="14.704" style="fill:#ede6ff;fill:color(display-p3 .9275 .9033 1);fill-opacity:1" transform="matrix(.00324 1 1 -.00324 -4.47 31.516)"/></g><g filter="url(#c)"><ellipse cx="10.399" cy="29.851" fill="#ede6ff" rx="10.399" ry="29.851" style="fill:#ede6ff;fill:color(display-p3 .9275 .9033 1);fill-opacity:1" transform="matrix(.00324 1 1 -.00324 -39.328 7.883)"/></g><g filter="url(#d)"><ellipse cx="5.508" cy="30.487" fill="#7e14ff" rx="5.508" ry="30.487" style="fill:#7e14ff;fill:color(display-p3 .4922 .0767 1);fill-opacity:1" transform="rotate(89.814 -25.913 -14.639)scale(1 -1)"/></g><g filter="url(#e)"><ellipse cx="5.508" cy="30.599" fill="#7e14ff" rx="5.508" ry="30.599" style="fill:#7e14ff;fill:color(display-p3 .4922 .0767 1);fill-opacity:1" transform="rotate(89.814 -32.644 -3.334)scale(1 -1)"/></g><g filter="url(#f)"><ellipse cx="5.508" cy="30.599" fill="#7e14ff" rx="5.508" ry="30.599" style="fill:#7e14ff;fill:color(display-p3 .4922 .0767 1);fill-opacity:1" transform="matrix(.00324 1 1 -.00324 -34.34 30.47)"/></g><g filter="url(#g)"><ellipse cx="14.072" cy="22.078" fill="#ede6ff" rx="14.072" ry="22.078" style="fill:#ede6ff;fill:color(display-p3 .9275 .9033 1);fill-opacity:1" transform="rotate(93.35 24.506 48.493)scale(-1 1)"/></g><g filter="url(#h)"><ellipse cx="3.47" cy="21.501" fill="#7e14ff" rx="3.47" ry="21.501" style="fill:#7e14ff;fill:color(display-p3 .4922 .0767 1);fill-opacity:1" transform="rotate(89.009 28.708 47.59)scale(-1 1)"/></g><g filter="url(#i)"><ellipse cx="3.47" cy="21.501" fill="#7e14ff" rx="3.47" ry="21.501" style="fill:#7e14ff;fill:color(display-p3 .4922 .0767 1);fill-opacity:1" transform="rotate(89.009 28.708 47.59)scale(-1 1)"/></g><g filter="url(#j)"><ellipse cx=".387" cy="8.972" fill="#7e14ff" rx="4.407" ry="29.108" style="fill:#7e14ff;fill:color(display-p3 .4922 .0767 1);fill-opacity:1" transform="rotate(39.51 .387 8.972)"/></g><g filter="url(#k)"><ellipse cx="47.523" cy="-6.092" fill="#7e14ff" rx="4.407" ry="29.108" style="fill:#7e14ff;fill:color(display-p3 .4922 .0767 1);fill-opacity:1" transform="rotate(37.892 47.523 -6.092)"/></g><g filter="url(#l)"><ellipse cx="41.412" cy="6.333" fill="#47bfff" rx="5.971" ry="9.665" style="fill:#47bfff;fill:color(display-p3 .2799 .748 1);fill-opacity:1" transform="rotate(37.892 41.412 6.333)"/></g><g filter="url(#m)"><ellipse cx="-1.879" cy="38.332" fill="#7e14ff" rx="4.407" ry="29.108" style="fill:#7e14ff;fill:color(display-p3 .4922 .0767 1);fill-opacity:1" transform="rotate(37.892 -1.88 38.332)"/></g><g filter="url(#n)"><ellipse cx="-1.879" cy="38.332" fill="#7e14ff" rx="4.407" ry="29.108" style="fill:#7e14ff;fill:color(display-p3 .4922 .0767 1);fill-opacity:1" transform="rotate(37.892 -1.88 38.332)"/></g><g filter="url(#o)"><ellipse cx="35.651" cy="29.907" fill="#7e14ff" rx="4.407" ry="29.108" style="fill:#7e14ff;fill:color(display-p3 .4922 .0767 1);fill-opacity:1" transform="rotate(37.892 35.651 29.907)"/></g><g filter="url(#p)"><ellipse cx="38.418" cy="32.4" fill="#47bfff" rx="5.971" ry="15.297" style="fill:#47bfff;fill:color(display-p3 .2799 .748 1);fill-opacity:1" transform="rotate(37.892 38.418 32.4)"/></g></g><defs><filter id="b" width="60.045" height="41.654" x="-19.77" y="16.149" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17158" stdDeviation="7.659"/></filter><filter id="c" width="90.34" height="51.437" x="-54.613" y="-7.533" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17158" stdDeviation="7.659"/></filter><filter id="d" width="79.355" height="29.4" x="-49.64" y="2.03" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17158" stdDeviation="4.596"/></filter><filter id="e" width="79.579" height="29.4" x="-45.045" y="20.029" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17158" stdDeviation="4.596"/></filter><filter id="f" width="79.579" height="29.4" x="-43.513" y="21.178" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17158" stdDeviation="4.596"/></filter><filter id="g" width="74.749" height="58.852" x="15.756" y="-17.901" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17158" stdDeviation="7.659"/></filter><filter id="h" width="61.377" height="25.362" x="23.548" y="2.284" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17158" stdDeviation="4.596"/></filter><filter id="i" width="61.377" height="25.362" x="23.548" y="2.284" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17158" stdDeviation="4.596"/></filter><filter id="j" width="56.045" height="63.649" x="-27.636" y="-22.853" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17158" stdDeviation="4.596"/></filter><filter id="k" width="54.814" height="64.646" x="20.116" y="-38.415" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17158" stdDeviation="4.596"/></filter><filter id="l" width="33.541" height="35.313" x="24.641" y="-11.323" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17158" stdDeviation="4.596"/></filter><filter id="m" width="54.814" height="64.646" x="-29.286" y="6.009" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17158" stdDeviation="4.596"/></filter><filter id="n" width="54.814" height="64.646" x="-29.286" y="6.009" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17158" stdDeviation="4.596"/></filter><filter id="o" width="54.814" height="64.646" x="8.244" y="-2.416" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17158" stdDeviation="4.596"/></filter><filter id="p" width="39.409" height="43.623" x="18.713" y="10.588" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17158" stdDeviation="4.596"/></filter></defs></svg>
@@ -0,0 +1,6 @@
1
+ type Theme = 'light' | 'dark' | 'system';
2
+ export declare function useDarkMode(): {
3
+ theme: Theme;
4
+ setTheme: (t: Theme) => void;
5
+ };
6
+ export {};
@@ -0,0 +1,2 @@
1
+ import i18n from 'i18next';
2
+ export default i18n;
package/dist/icons.svg ADDED
@@ -0,0 +1,24 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg">
2
+ <symbol id="bluesky-icon" viewBox="0 0 16 17">
3
+ <g clip-path="url(#bluesky-clip)"><path fill="#08060d" d="M7.75 7.735c-.693-1.348-2.58-3.86-4.334-5.097-1.68-1.187-2.32-.981-2.74-.79C.188 2.065.1 2.812.1 3.251s.241 3.602.398 4.13c.52 1.744 2.367 2.333 4.07 2.145-2.495.37-4.71 1.278-1.805 4.512 3.196 3.309 4.38-.71 4.987-2.746.608 2.036 1.307 5.91 4.93 2.746 2.72-2.746.747-4.143-1.747-4.512 1.702.189 3.55-.4 4.07-2.145.156-.528.397-3.691.397-4.13s-.088-1.186-.575-1.406c-.42-.19-1.06-.395-2.741.79-1.755 1.24-3.64 3.752-4.334 5.099"/></g>
4
+ <defs><clipPath id="bluesky-clip"><path fill="#fff" d="M.1.85h15.3v15.3H.1z"/></clipPath></defs>
5
+ </symbol>
6
+ <symbol id="discord-icon" viewBox="0 0 20 19">
7
+ <path fill="#08060d" d="M16.224 3.768a14.5 14.5 0 0 0-3.67-1.153c-.158.286-.343.67-.47.976a13.5 13.5 0 0 0-4.067 0c-.128-.306-.317-.69-.476-.976A14.4 14.4 0 0 0 3.868 3.77C1.546 7.28.916 10.703 1.231 14.077a14.7 14.7 0 0 0 4.5 2.306q.545-.748.965-1.587a9.5 9.5 0 0 1-1.518-.74q.191-.14.372-.293c2.927 1.369 6.107 1.369 8.999 0q.183.152.372.294-.723.437-1.52.74.418.838.963 1.588a14.6 14.6 0 0 0 4.504-2.308c.37-3.911-.63-7.302-2.644-10.309m-9.13 8.234c-.878 0-1.599-.82-1.599-1.82 0-.998.705-1.82 1.6-1.82.894 0 1.614.82 1.599 1.82.001 1-.705 1.82-1.6 1.82m5.91 0c-.878 0-1.599-.82-1.599-1.82 0-.998.705-1.82 1.6-1.82.893 0 1.614.82 1.599 1.82 0 1-.706 1.82-1.6 1.82"/>
8
+ </symbol>
9
+ <symbol id="documentation-icon" viewBox="0 0 21 20">
10
+ <path fill="none" stroke="#aa3bff" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.35" d="m15.5 13.333 1.533 1.322c.645.555.967.833.967 1.178s-.322.623-.967 1.179L15.5 18.333m-3.333-5-1.534 1.322c-.644.555-.966.833-.966 1.178s.322.623.966 1.179l1.534 1.321"/>
11
+ <path fill="none" stroke="#aa3bff" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.35" d="M17.167 10.836v-4.32c0-1.41 0-2.117-.224-2.68-.359-.906-1.118-1.621-2.08-1.96-.599-.21-1.349-.21-2.848-.21-2.623 0-3.935 0-4.983.369-1.684.591-3.013 1.842-3.641 3.428C3 6.449 3 7.684 3 10.154v2.122c0 2.558 0 3.838.706 4.726q.306.383.713.671c.76.536 1.79.64 3.581.66"/>
12
+ <path fill="none" stroke="#aa3bff" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.35" d="M3 10a2.78 2.78 0 0 1 2.778-2.778c.555 0 1.209.097 1.748-.047.48-.129.854-.503.982-.982.145-.54.048-1.194.048-1.749a2.78 2.78 0 0 1 2.777-2.777"/>
13
+ </symbol>
14
+ <symbol id="github-icon" viewBox="0 0 19 19">
15
+ <path fill="#08060d" fill-rule="evenodd" d="M9.356 1.85C5.05 1.85 1.57 5.356 1.57 9.694a7.84 7.84 0 0 0 5.324 7.44c.387.079.528-.168.528-.376 0-.182-.013-.805-.013-1.454-2.165.467-2.616-.935-2.616-.935-.349-.91-.864-1.143-.864-1.143-.71-.48.051-.48.051-.48.787.051 1.2.805 1.2.805.695 1.194 1.817.857 2.268.649.064-.507.27-.857.49-1.052-1.728-.182-3.545-.857-3.545-3.87 0-.857.31-1.558.8-2.104-.078-.195-.349-1 .077-2.078 0 0 .657-.208 2.14.805a7.5 7.5 0 0 1 1.946-.26c.657 0 1.328.092 1.946.26 1.483-1.013 2.14-.805 2.14-.805.426 1.078.155 1.883.078 2.078.502.546.799 1.247.799 2.104 0 3.013-1.818 3.675-3.558 3.87.284.247.528.714.528 1.454 0 1.052-.012 1.896-.012 2.156 0 .208.142.455.528.377a7.84 7.84 0 0 0 5.324-7.441c.013-4.338-3.48-7.844-7.773-7.844" clip-rule="evenodd"/>
16
+ </symbol>
17
+ <symbol id="social-icon" viewBox="0 0 20 20">
18
+ <path fill="none" stroke="#aa3bff" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.35" d="M12.5 6.667a4.167 4.167 0 1 0-8.334 0 4.167 4.167 0 0 0 8.334 0"/>
19
+ <path fill="none" stroke="#aa3bff" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.35" d="M2.5 16.667a5.833 5.833 0 0 1 8.75-5.053m3.837.474.513 1.035c.07.144.257.282.414.309l.93.155c.596.1.736.536.307.965l-.723.73a.64.64 0 0 0-.152.531l.207.903c.164.715-.213.991-.84.618l-.872-.52a.63.63 0 0 0-.577 0l-.872.52c-.624.373-1.003.094-.84-.618l.207-.903a.64.64 0 0 0-.152-.532l-.723-.729c-.426-.43-.289-.864.306-.964l.93-.156a.64.64 0 0 0 .412-.31l.513-1.034c.28-.562.735-.562 1.012 0"/>
20
+ </symbol>
21
+ <symbol id="x-icon" viewBox="0 0 19 19">
22
+ <path fill="#08060d" fill-rule="evenodd" d="M1.893 1.98c.052.072 1.245 1.769 2.653 3.77l2.892 4.114c.183.261.333.48.333.486s-.068.089-.152.183l-.522.593-.765.867-3.597 4.087c-.375.426-.734.834-.798.905a1 1 0 0 0-.118.148c0 .01.236.017.664.017h.663l.729-.83c.4-.457.796-.906.879-.999a692 692 0 0 0 1.794-2.038c.034-.037.301-.34.594-.675l.551-.624.345-.392a7 7 0 0 1 .34-.374c.006 0 .93 1.306 2.052 2.903l2.084 2.965.045.063h2.275c1.87 0 2.273-.003 2.266-.021-.008-.02-1.098-1.572-3.894-5.547-2.013-2.862-2.28-3.246-2.273-3.266.008-.019.282-.332 2.085-2.38l2-2.274 1.567-1.782c.022-.028-.016-.03-.65-.03h-.674l-.3.342a871 871 0 0 1-1.782 2.025c-.067.075-.405.458-.75.852a100 100 0 0 1-.803.91c-.148.172-.299.344-.99 1.127-.304.343-.32.358-.345.327-.015-.019-.904-1.282-1.976-2.808L6.365 1.85H1.8zm1.782.91 8.078 11.294c.772 1.08 1.413 1.973 1.425 1.984.016.017.241.02 1.05.017l1.03-.004-2.694-3.766L7.796 5.75 5.722 2.852l-1.039-.004-1.039-.004z" clip-rule="evenodd"/>
23
+ </symbol>
24
+ </svg>
package/dist/index.css ADDED
@@ -0,0 +1,3 @@
1
+ /*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */
2
+ @layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-border-style:solid;--tw-font-weight:initial;--tw-tracking:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--color-red-50:oklch(97.1% .013 17.38);--color-red-200:oklch(88.5% .062 18.334);--color-red-300:oklch(80.8% .114 19.571);--color-red-400:oklch(70.4% .191 22.216);--color-red-800:oklch(44.4% .177 26.899);--color-red-900:oklch(39.6% .141 25.723);--color-red-950:oklch(25.8% .092 26.042);--color-green-50:oklch(98.2% .018 155.826);--color-green-100:oklch(96.2% .044 156.743);--color-green-200:oklch(92.5% .084 155.995);--color-green-300:oklch(87.1% .15 154.449);--color-green-400:oklch(79.2% .209 151.711);--color-green-600:oklch(62.7% .194 149.214);--color-green-800:oklch(44.8% .119 151.328);--color-green-900:oklch(39.3% .095 152.535);--color-green-950:oklch(26.6% .065 152.934);--color-gray-50:oklch(98.5% .002 247.839);--color-gray-100:oklch(96.7% .003 264.542);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-400:oklch(70.7% .022 261.325);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-600:oklch(44.6% .03 256.802);--color-gray-700:oklch(37.3% .034 259.733);--color-gray-800:oklch(27.8% .033 256.848);--color-gray-900:oklch(21% .034 264.665);--color-white:#fff;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--text-base:1rem;--text-base--line-height:calc(1.5 / 1);--text-xl:1.25rem;--text-xl--line-height:calc(1.75 / 1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2 / 1.5);--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--tracking-tight:-.025em;--tracking-widest:.1em;--radius-md:.375rem;--radius-lg:.5rem;--animate-spin:spin 1s linear infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-primary:var(--brand-primary,#2563eb)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.relative{position:relative}.start{inset-inline-start:var(--spacing)}.mx-auto{margin-inline:auto}.my-4{margin-block:calc(var(--spacing) * 4)}.mt-0\.5{margin-top:calc(var(--spacing) * .5)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mt-4{margin-top:calc(var(--spacing) * 4)}.mt-6{margin-top:calc(var(--spacing) * 6)}.mb-1{margin-bottom:calc(var(--spacing) * 1)}.mb-1\.5{margin-bottom:calc(var(--spacing) * 1.5)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-3{margin-bottom:calc(var(--spacing) * 3)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.mb-5{margin-bottom:calc(var(--spacing) * 5)}.mb-6{margin-bottom:calc(var(--spacing) * 6)}.block{display:block}.flex{display:flex}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.h-2{height:calc(var(--spacing) * 2)}.h-3\.5{height:calc(var(--spacing) * 3.5)}.h-4{height:calc(var(--spacing) * 4)}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-11{height:calc(var(--spacing) * 11)}.h-12{height:calc(var(--spacing) * 12)}.h-16{height:calc(var(--spacing) * 16)}.h-\[200px\]{height:200px}.h-auto{height:auto}.h-px{height:1px}.max-h-12{max-height:calc(var(--spacing) * 12)}.min-h-screen{min-height:100vh}.w-2{width:calc(var(--spacing) * 2)}.w-3\.5{width:calc(var(--spacing) * 3.5)}.w-4{width:calc(var(--spacing) * 4)}.w-8{width:calc(var(--spacing) * 8)}.w-12{width:calc(var(--spacing) * 12)}.w-16{width:calc(var(--spacing) * 16)}.w-\[200px\]{width:200px}.w-auto{width:auto}.w-full{width:100%}.max-w-\[420px\]{max-width:420px}.max-w-full{max-width:100%}.flex-1{flex:1}.shrink-0{flex-shrink:0}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.animate-spin{animation:var(--animate-spin)}.cursor-pointer{cursor:pointer}.list-disc{list-style-type:disc}.list-none{list-style-type:none}.columns-2{columns:2}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-0\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:calc(var(--spacing) * 1)}.gap-1\.5{gap:calc(var(--spacing) * 1.5)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-6{gap:calc(var(--spacing) * 6)}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 2) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 2) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 3) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 3) * calc(1 - var(--tw-space-y-reverse)))}.rounded{border-radius:.25rem}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.border{border-style:var(--tw-border-style);border-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-none{--tw-border-style:none;border-style:none}.border-gray-100{border-color:var(--color-gray-100)}.border-gray-200{border-color:var(--color-gray-200)}.border-gray-300{border-color:var(--color-gray-300)}.border-green-200{border-color:var(--color-green-200)}.border-red-200{border-color:var(--color-red-200)}.bg-gray-50{background-color:var(--color-gray-50)}.bg-gray-100{background-color:var(--color-gray-100)}.bg-gray-200{background-color:var(--color-gray-200)}.bg-green-50{background-color:var(--color-green-50)}.bg-green-100{background-color:var(--color-green-100)}.bg-primary{background-color:var(--color-primary)}.bg-red-50{background-color:var(--color-red-50)}.bg-transparent{background-color:#0000}.bg-white{background-color:var(--color-white)}.object-contain{object-fit:contain}.p-0{padding:calc(var(--spacing) * 0)}.p-1{padding:calc(var(--spacing) * 1)}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.p-8{padding:calc(var(--spacing) * 8)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:calc(var(--spacing) * 1)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\.5{padding-block:calc(var(--spacing) * 2.5)}.py-10{padding-block:calc(var(--spacing) * 10)}.pt-4{padding-top:calc(var(--spacing) * 4)}.pl-5{padding-left:calc(var(--spacing) * 5)}.text-center{text-align:center}.font-mono{font-family:var(--font-mono)}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\[13px\]{font-size:13px}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-tight{--tw-tracking:var(--tracking-tight);letter-spacing:var(--tracking-tight)}.tracking-widest{--tw-tracking:var(--tracking-widest);letter-spacing:var(--tracking-widest)}.break-all{word-break:break-all}.text-gray-400{color:var(--color-gray-400)}.text-gray-500{color:var(--color-gray-500)}.text-gray-600{color:var(--color-gray-600)}.text-gray-700{color:var(--color-gray-700)}.text-gray-900{color:var(--color-gray-900)}.text-green-600{color:var(--color-green-600)}.text-green-800{color:var(--color-green-800)}.text-primary{color:var(--color-primary)}.text-red-800{color:var(--color-red-800)}.text-white{color:var(--color-white)}.lowercase{text-transform:lowercase}.uppercase{text-transform:uppercase}.no-underline{text-decoration-line:none}.underline-offset-4{text-underline-offset:4px}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.select-all{-webkit-user-select:all;user-select:all}.placeholder\:text-gray-400::placeholder{color:var(--color-gray-400)}@media (hover:hover){.hover\:border-gray-400:hover{border-color:var(--color-gray-400)}.hover\:bg-gray-50:hover{background-color:var(--color-gray-50)}.hover\:bg-gray-100:hover{background-color:var(--color-gray-100)}.hover\:bg-primary\/85:hover{background-color:var(--color-primary)}@supports (color:color-mix(in lab, red, red)){.hover\:bg-primary\/85:hover{background-color:color-mix(in oklab, var(--color-primary) 85%, transparent)}}.hover\:text-gray-600:hover{color:var(--color-gray-600)}.hover\:text-gray-700:hover{color:var(--color-gray-700)}.hover\:underline:hover{text-decoration-line:underline}}.focus-visible\:border-primary:focus-visible{border-color:var(--color-primary)}.focus-visible\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-\[3px\]:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-primary\/15:focus-visible{--tw-ring-color:var(--color-primary)}@supports (color:color-mix(in lab, red, red)){.focus-visible\:ring-primary\/15:focus-visible{--tw-ring-color:color-mix(in oklab, var(--color-primary) 15%, transparent)}}.focus-visible\:ring-primary\/30:focus-visible{--tw-ring-color:var(--color-primary)}@supports (color:color-mix(in lab, red, red)){.focus-visible\:ring-primary\/30:focus-visible{--tw-ring-color:color-mix(in oklab, var(--color-primary) 30%, transparent)}}.focus-visible\:outline-none:focus-visible{--tw-outline-style:none;outline-style:none}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:opacity-50:disabled{opacity:.5}.dark\:border-gray-700:where(.dark,.dark *){border-color:var(--color-gray-700)}.dark\:border-gray-800:where(.dark,.dark *){border-color:var(--color-gray-800)}.dark\:border-green-900:where(.dark,.dark *){border-color:var(--color-green-900)}.dark\:border-red-900:where(.dark,.dark *){border-color:var(--color-red-900)}.dark\:bg-gray-800:where(.dark,.dark *){background-color:var(--color-gray-800)}.dark\:bg-gray-800\/60:where(.dark,.dark *){background-color:#1e293999}@supports (color:color-mix(in lab, red, red)){.dark\:bg-gray-800\/60:where(.dark,.dark *){background-color:color-mix(in oklab, var(--color-gray-800) 60%, transparent)}}.dark\:bg-gray-900:where(.dark,.dark *){background-color:var(--color-gray-900)}.dark\:bg-green-900\/40:where(.dark,.dark *){background-color:#0d542b66}@supports (color:color-mix(in lab, red, red)){.dark\:bg-green-900\/40:where(.dark,.dark *){background-color:color-mix(in oklab, var(--color-green-900) 40%, transparent)}}.dark\:bg-green-950\/40:where(.dark,.dark *){background-color:#032e1566}@supports (color:color-mix(in lab, red, red)){.dark\:bg-green-950\/40:where(.dark,.dark *){background-color:color-mix(in oklab, var(--color-green-950) 40%, transparent)}}.dark\:bg-red-950\/40:where(.dark,.dark *){background-color:#46080966}@supports (color:color-mix(in lab, red, red)){.dark\:bg-red-950\/40:where(.dark,.dark *){background-color:color-mix(in oklab, var(--color-red-950) 40%, transparent)}}.dark\:text-gray-100:where(.dark,.dark *){color:var(--color-gray-100)}.dark\:text-gray-200:where(.dark,.dark *){color:var(--color-gray-200)}.dark\:text-gray-300:where(.dark,.dark *){color:var(--color-gray-300)}.dark\:text-gray-400:where(.dark,.dark *){color:var(--color-gray-400)}.dark\:text-gray-500:where(.dark,.dark *){color:var(--color-gray-500)}.dark\:text-green-300:where(.dark,.dark *){color:var(--color-green-300)}.dark\:text-green-400:where(.dark,.dark *){color:var(--color-green-400)}.dark\:text-red-300:where(.dark,.dark *){color:var(--color-red-300)}.dark\:text-red-400:where(.dark,.dark *){color:var(--color-red-400)}.dark\:placeholder\:text-gray-500:where(.dark,.dark *)::placeholder{color:var(--color-gray-500)}@media (hover:hover){.dark\:hover\:border-gray-600:where(.dark,.dark *):hover{border-color:var(--color-gray-600)}.dark\:hover\:bg-gray-700:where(.dark,.dark *):hover{background-color:var(--color-gray-700)}.dark\:hover\:bg-gray-800:where(.dark,.dark *):hover{background-color:var(--color-gray-800)}.dark\:hover\:text-gray-200:where(.dark,.dark *):hover{color:var(--color-gray-200)}.dark\:hover\:text-gray-300:where(.dark,.dark *):hover{color:var(--color-gray-300)}}}:root{--brand-primary:#2563eb;--auth-bg:#f3f4f6;--auth-card-bg:#fff;--auth-heading:#111827}.dark{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--auth-bg:#030712;--auth-card-bg:#111827;--auth-heading:#f9fafb}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@keyframes spin{to{transform:rotate(360deg)}}
3
+ /*$vite$:1*/
@@ -0,0 +1,23 @@
1
+ export { default as AuthLayout } from './components/AuthLayout';
2
+ export { Button } from './components/ui/button';
3
+ export type { ButtonProps } from './components/ui/button';
4
+ export { Input } from './components/ui/input';
5
+ export { Label } from './components/ui/label';
6
+ export { Card, CardHeader, CardTitle, CardDescription, CardContent, CardFooter } from './components/ui/card';
7
+ export { Alert } from './components/ui/alert';
8
+ export { Separator } from './components/ui/separator';
9
+ export { cn } from './lib/utils';
10
+ export { default as LoginPage } from './pages/LoginPage';
11
+ export { default as RegisterPage } from './pages/RegisterPage';
12
+ export { default as ForgotPasswordPage } from './pages/ForgotPasswordPage';
13
+ export { default as ResetPasswordPage } from './pages/ResetPasswordPage';
14
+ export { default as MfaChallengePage } from './pages/MfaChallengePage';
15
+ export { default as MfaSetupPage } from './pages/MfaSetupPage';
16
+ export { default as App } from './App';
17
+ export { loadBranding, BrandingContext, useBranding, resolveLocalized } from './branding';
18
+ export type { BrandingConfig, LocalizedString } from './branding';
19
+ export { login, logout, forgotPassword, resetPassword, getSession, ssoCheck, getProviders, getPasswordPolicy, mfaVerify, mfaStatus, mfaTotpSetup, mfaTotpConfirm, mfaWebAuthnSetup, mfaWebAuthnConfirm, mfaRecoveryGenerate, mfaDeleteCredential, ApiRequestError } from './api';
20
+ export type { LoginResponse, ApiError, SessionResponse, SsoCheckResponse, ExternalProvider, ProvidersResponse, PasswordPolicyRule, PasswordPolicyResponse, MfaLoginResponse, MfaVerifyResponse, MfaStatusResponse, MfaMethod, MfaTotpSetupResponse, MfaRecoveryGenerateResponse, MfaWebAuthnSetupResponse, MfaWebAuthnConfirmResponse } from './types';
21
+ export { default as i18n } from './i18n';
22
+ export { useTranslation } from 'react-i18next';
23
+ import './styles.css';