doct-ui-auth-kit 1.0.0 → 1.0.2

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 (42) hide show
  1. package/dist/auth/index.d.ts +23 -0
  2. package/dist/auth-methods/google.d.ts +3 -63
  3. package/dist/auth-methods/index.d.ts +1 -2
  4. package/dist/auth-methods/use-google-auth.d.ts +69 -0
  5. package/dist/components/layout/auth-layout-preset.d.ts +25 -0
  6. package/dist/components/layout/auth-layout-public.d.ts +17 -0
  7. package/dist/components/layout/auth-layout-wrapper.d.ts +23 -0
  8. package/dist/components/layout/index.d.ts +5 -3
  9. package/dist/constants/demo-slider.d.ts +0 -2
  10. package/dist/constants/index.d.ts +2 -1
  11. package/dist/constants/layout-presets.d.ts +10 -0
  12. package/dist/core/auth-context.d.ts +4 -8
  13. package/dist/core/auth-flow.d.ts +2 -2
  14. package/dist/core/auth-types.d.ts +3 -1
  15. package/dist/core/sso-session.d.ts +0 -16
  16. package/dist/core/use-auth-flow.d.ts +22 -19
  17. package/dist/hooks/index.d.ts +1 -1
  18. package/dist/hooks/use-otp-verification.d.ts +9 -2
  19. package/dist/hooks/use-signup-form.d.ts +18 -8
  20. package/dist/index.d.ts +2 -1
  21. package/dist/index.js +3275 -3067
  22. package/dist/main-logo.svg +3 -0
  23. package/dist/pages/index.d.ts +0 -2
  24. package/dist/pages/main-login.d.ts +1 -11
  25. package/dist/pages/otp-verification.d.ts +3 -1
  26. package/dist/pages/signup.d.ts +14 -6
  27. package/dist/pages.js +6 -8
  28. package/dist/signup-x-Jm7XKn.js +668 -0
  29. package/dist/stories/components/default-footer.d.ts +5 -0
  30. package/dist/stories/components/enterprise-header.d.ts +5 -0
  31. package/dist/stories/components/index.d.ts +2 -0
  32. package/dist/types/forms.d.ts +3 -87
  33. package/dist/types/index.d.ts +5 -4
  34. package/dist/types/layout-presets.d.ts +29 -0
  35. package/package.json +1 -1
  36. package/dist/components/auth/repeat-login.d.ts +0 -24
  37. package/dist/components/form/rhf-password-field.d.ts +0 -2
  38. package/dist/pages/conflict.d.ts +0 -12
  39. package/dist/pages/foreign-email-collect.d.ts +0 -16
  40. package/dist/signup-Cnybfnhd.js +0 -720
  41. package/dist/types/common.d.ts +0 -25
  42. package/dist/types/user.d.ts +0 -31
@@ -1,25 +0,0 @@
1
- /**
2
- * Common utility types and interfaces used across the application
3
- */
4
- export type Nullable<T> = T | null;
5
- export type Optional<T> = T | undefined;
6
- export type Maybe<T> = T | null | undefined;
7
- export type ID = string | number;
8
- export interface BaseEntity {
9
- id: ID;
10
- createdAt?: string;
11
- updatedAt?: string;
12
- }
13
- export type Status = 'idle' | 'loading' | 'success' | 'error';
14
- export interface ApiResponse<T> {
15
- data: T;
16
- message?: string;
17
- success: boolean;
18
- }
19
- export interface PaginatedResponse<T> {
20
- data: T[];
21
- total: number;
22
- page: number;
23
- limit: number;
24
- totalPages: number;
25
- }
@@ -1,31 +0,0 @@
1
- /**
2
- * User-related types and interfaces
3
- */
4
- import type { BaseEntity } from './common';
5
- export interface User extends BaseEntity {
6
- name: string;
7
- email: string;
8
- avatar?: string;
9
- role?: UserRole;
10
- }
11
- export type UserRole = 'admin' | 'user' | 'guest';
12
- export interface UserProfile extends User {
13
- bio?: string;
14
- phone?: string;
15
- address?: Address;
16
- }
17
- export interface Address {
18
- street?: string;
19
- city?: string;
20
- state?: string;
21
- zipCode?: string;
22
- country?: string;
23
- }
24
- export interface LoginCredentials {
25
- email: string;
26
- password: string;
27
- }
28
- export interface RegisterData extends LoginCredentials {
29
- name: string;
30
- confirmPassword: string;
31
- }