hazo_auth 1.4.1 → 1.4.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 (261) hide show
  1. package/README.md +25 -38
  2. package/dist/components/layouts/email_verification/config/email_verification_field_config.d.ts +2 -2
  3. package/dist/components/layouts/email_verification/config/email_verification_field_config.d.ts.map +1 -1
  4. package/dist/components/layouts/email_verification/config/email_verification_field_config.js +1 -1
  5. package/dist/components/layouts/email_verification/hooks/use_email_verification.d.ts +2 -2
  6. package/dist/components/layouts/email_verification/hooks/use_email_verification.d.ts.map +1 -1
  7. package/dist/components/layouts/email_verification/hooks/use_email_verification.js +2 -2
  8. package/dist/components/layouts/email_verification/index.d.ts +3 -3
  9. package/dist/components/layouts/email_verification/index.d.ts.map +1 -1
  10. package/dist/components/layouts/email_verification/index.js +9 -9
  11. package/dist/components/layouts/forgot_password/config/forgot_password_field_config.d.ts +2 -2
  12. package/dist/components/layouts/forgot_password/config/forgot_password_field_config.d.ts.map +1 -1
  13. package/dist/components/layouts/forgot_password/config/forgot_password_field_config.js +1 -1
  14. package/dist/components/layouts/forgot_password/hooks/use_forgot_password_form.d.ts +2 -2
  15. package/dist/components/layouts/forgot_password/hooks/use_forgot_password_form.d.ts.map +1 -1
  16. package/dist/components/layouts/forgot_password/hooks/use_forgot_password_form.js +2 -2
  17. package/dist/components/layouts/forgot_password/index.d.ts +2 -2
  18. package/dist/components/layouts/forgot_password/index.d.ts.map +1 -1
  19. package/dist/components/layouts/forgot_password/index.js +8 -8
  20. package/dist/components/layouts/login/config/login_field_config.d.ts +2 -2
  21. package/dist/components/layouts/login/config/login_field_config.d.ts.map +1 -1
  22. package/dist/components/layouts/login/config/login_field_config.js +1 -1
  23. package/dist/components/layouts/login/hooks/use_login_form.d.ts +2 -2
  24. package/dist/components/layouts/login/hooks/use_login_form.d.ts.map +1 -1
  25. package/dist/components/layouts/login/hooks/use_login_form.js +4 -4
  26. package/dist/components/layouts/login/index.d.ts +2 -2
  27. package/dist/components/layouts/login/index.d.ts.map +1 -1
  28. package/dist/components/layouts/login/index.js +9 -9
  29. package/dist/components/layouts/my_settings/components/editable_field.js +3 -3
  30. package/dist/components/layouts/my_settings/components/password_change_dialog.d.ts +1 -1
  31. package/dist/components/layouts/my_settings/components/password_change_dialog.d.ts.map +1 -1
  32. package/dist/components/layouts/my_settings/components/password_change_dialog.js +4 -4
  33. package/dist/components/layouts/my_settings/components/profile_picture_dialog.js +7 -7
  34. package/dist/components/layouts/my_settings/components/profile_picture_display.js +1 -1
  35. package/dist/components/layouts/my_settings/components/profile_picture_gravatar_tab.js +3 -3
  36. package/dist/components/layouts/my_settings/components/profile_picture_library_tab.js +5 -5
  37. package/dist/components/layouts/my_settings/components/profile_picture_upload_tab.js +4 -4
  38. package/dist/components/layouts/my_settings/config/my_settings_field_config.d.ts +1 -1
  39. package/dist/components/layouts/my_settings/config/my_settings_field_config.d.ts.map +1 -1
  40. package/dist/components/layouts/my_settings/config/my_settings_field_config.js +1 -1
  41. package/dist/components/layouts/my_settings/hooks/use_my_settings.d.ts +1 -1
  42. package/dist/components/layouts/my_settings/hooks/use_my_settings.d.ts.map +1 -1
  43. package/dist/components/layouts/my_settings/hooks/use_my_settings.js +1 -1
  44. package/dist/components/layouts/my_settings/index.d.ts +2 -2
  45. package/dist/components/layouts/my_settings/index.d.ts.map +1 -1
  46. package/dist/components/layouts/my_settings/index.js +9 -9
  47. package/dist/components/layouts/register/config/register_field_config.d.ts +2 -2
  48. package/dist/components/layouts/register/config/register_field_config.d.ts.map +1 -1
  49. package/dist/components/layouts/register/config/register_field_config.js +1 -1
  50. package/dist/components/layouts/register/hooks/use_register_form.d.ts +3 -3
  51. package/dist/components/layouts/register/hooks/use_register_form.d.ts.map +1 -1
  52. package/dist/components/layouts/register/hooks/use_register_form.js +2 -2
  53. package/dist/components/layouts/register/index.d.ts +2 -2
  54. package/dist/components/layouts/register/index.d.ts.map +1 -1
  55. package/dist/components/layouts/register/index.js +9 -9
  56. package/dist/components/layouts/reset_password/config/reset_password_field_config.d.ts +2 -2
  57. package/dist/components/layouts/reset_password/config/reset_password_field_config.d.ts.map +1 -1
  58. package/dist/components/layouts/reset_password/config/reset_password_field_config.js +1 -1
  59. package/dist/components/layouts/reset_password/hooks/use_reset_password_form.d.ts +3 -3
  60. package/dist/components/layouts/reset_password/hooks/use_reset_password_form.d.ts.map +1 -1
  61. package/dist/components/layouts/reset_password/hooks/use_reset_password_form.js +2 -2
  62. package/dist/components/layouts/reset_password/index.d.ts +2 -2
  63. package/dist/components/layouts/reset_password/index.d.ts.map +1 -1
  64. package/dist/components/layouts/reset_password/index.js +8 -8
  65. package/dist/components/layouts/shared/components/already_logged_in_guard.js +4 -4
  66. package/dist/components/layouts/shared/components/auth_page_shell.js +3 -3
  67. package/dist/components/layouts/shared/components/form_action_buttons.d.ts +1 -1
  68. package/dist/components/layouts/shared/components/form_action_buttons.d.ts.map +1 -1
  69. package/dist/components/layouts/shared/components/form_action_buttons.js +1 -1
  70. package/dist/components/layouts/shared/components/form_field_wrapper.js +2 -2
  71. package/dist/components/layouts/shared/components/logout_button.js +2 -2
  72. package/dist/components/layouts/shared/components/password_field.js +3 -3
  73. package/dist/components/layouts/shared/components/profile_pic_menu.d.ts +1 -1
  74. package/dist/components/layouts/shared/components/profile_pic_menu.d.ts.map +1 -1
  75. package/dist/components/layouts/shared/components/profile_pic_menu.js +4 -4
  76. package/dist/components/layouts/shared/components/profile_pic_menu_wrapper.js +2 -2
  77. package/dist/components/layouts/shared/components/sidebar_layout_wrapper.js +3 -3
  78. package/dist/components/layouts/shared/components/standalone_layout_wrapper.js +1 -1
  79. package/dist/components/layouts/shared/components/two_column_auth_layout.js +1 -1
  80. package/dist/components/layouts/shared/components/unauthorized_guard.js +2 -2
  81. package/dist/components/layouts/shared/hooks/use_hazo_auth.d.ts +1 -1
  82. package/dist/components/layouts/shared/hooks/use_hazo_auth.d.ts.map +1 -1
  83. package/dist/components/layouts/shared/utils/validation.d.ts +1 -1
  84. package/dist/components/layouts/shared/utils/validation.d.ts.map +1 -1
  85. package/dist/components/layouts/user_management/components/roles_matrix.js +7 -7
  86. package/dist/components/layouts/user_management/index.js +11 -11
  87. package/dist/components/ui/alert-dialog.js +2 -2
  88. package/dist/components/ui/avatar.js +1 -1
  89. package/dist/components/ui/button.js +1 -1
  90. package/dist/components/ui/checkbox.js +1 -1
  91. package/dist/components/ui/dialog.js +1 -1
  92. package/dist/components/ui/dropdown-menu.js +1 -1
  93. package/dist/components/ui/hazo_ui_tooltip.js +1 -1
  94. package/dist/components/ui/input.js +1 -1
  95. package/dist/components/ui/label.js +1 -1
  96. package/dist/components/ui/separator.js +1 -1
  97. package/dist/components/ui/sheet.js +1 -1
  98. package/dist/components/ui/sidebar.d.ts +2 -2
  99. package/dist/components/ui/sidebar.d.ts.map +1 -1
  100. package/dist/components/ui/sidebar.js +8 -8
  101. package/dist/components/ui/skeleton.js +1 -1
  102. package/dist/components/ui/switch.js +1 -1
  103. package/dist/components/ui/table.js +1 -1
  104. package/dist/components/ui/tabs.js +1 -1
  105. package/dist/components/ui/tooltip.js +1 -1
  106. package/dist/components/ui/vertical-tabs.js +1 -1
  107. package/dist/lib/already_logged_in_config.server.js +1 -1
  108. package/dist/lib/app_logger.js +1 -1
  109. package/dist/lib/auth/auth_cache.d.ts +1 -1
  110. package/dist/lib/auth/auth_cache.d.ts.map +1 -1
  111. package/dist/lib/auth/auth_utils.server.js +2 -2
  112. package/dist/lib/auth/hazo_get_auth.server.d.ts +1 -1
  113. package/dist/lib/auth/hazo_get_auth.server.d.ts.map +1 -1
  114. package/dist/lib/auth/hazo_get_auth.server.js +7 -7
  115. package/dist/lib/auth/server_auth.js +2 -2
  116. package/dist/lib/auth_utility_config.server.js +1 -1
  117. package/dist/lib/config/config_loader.server.js +1 -1
  118. package/dist/lib/email_verification_config.server.js +1 -1
  119. package/dist/lib/file_types_config.server.js +1 -1
  120. package/dist/lib/forgot_password_config.server.js +1 -1
  121. package/dist/lib/hazo_connect_instance.server.js +2 -2
  122. package/dist/lib/hazo_connect_setup.server.js +2 -2
  123. package/dist/lib/login_config.server.js +2 -2
  124. package/dist/lib/messages_config.server.js +1 -1
  125. package/dist/lib/my_settings_config.server.js +7 -7
  126. package/dist/lib/password_requirements_config.server.js +1 -1
  127. package/dist/lib/profile_pic_menu_config.server.js +1 -1
  128. package/dist/lib/profile_picture_config.server.js +2 -2
  129. package/dist/lib/register_config.server.js +4 -4
  130. package/dist/lib/reset_password_config.server.js +3 -3
  131. package/dist/lib/services/email_service.js +2 -2
  132. package/dist/lib/services/email_verification_service.js +3 -3
  133. package/dist/lib/services/login_service.js +3 -3
  134. package/dist/lib/services/password_change_service.js +3 -3
  135. package/dist/lib/services/password_reset_service.js +3 -3
  136. package/dist/lib/services/profile_picture_remove_service.js +3 -3
  137. package/dist/lib/services/profile_picture_service.d.ts +1 -1
  138. package/dist/lib/services/profile_picture_service.d.ts.map +1 -1
  139. package/dist/lib/services/profile_picture_service.js +5 -5
  140. package/dist/lib/services/registration_service.js +8 -8
  141. package/dist/lib/services/token_service.js +2 -2
  142. package/dist/lib/services/user_profiles_service.js +2 -2
  143. package/dist/lib/services/user_update_service.d.ts +1 -1
  144. package/dist/lib/services/user_update_service.d.ts.map +1 -1
  145. package/dist/lib/services/user_update_service.js +4 -4
  146. package/dist/lib/ui_shell_config.server.js +1 -1
  147. package/dist/lib/ui_sizes_config.server.js +1 -1
  148. package/dist/lib/user_fields_config.server.js +1 -1
  149. package/dist/lib/user_management_config.server.js +1 -1
  150. package/dist/lib/utils/error_sanitizer.d.ts +1 -1
  151. package/dist/lib/utils/error_sanitizer.d.ts.map +1 -1
  152. package/dist/server/config/config_loader.d.ts +1 -1
  153. package/dist/server/config/config_loader.d.ts.map +1 -1
  154. package/dist/server/config/config_loader.js +1 -1
  155. package/dist/server/index.js +2 -2
  156. package/dist/server/logging/logger_service.d.ts +1 -1
  157. package/dist/server/logging/logger_service.d.ts.map +1 -1
  158. package/dist/server/server.js +2 -2
  159. package/package.json +4 -100
  160. package/src/components/layouts/email_verification/config/email_verification_field_config.ts +2 -2
  161. package/src/components/layouts/email_verification/hooks/use_email_verification.ts +3 -3
  162. package/src/components/layouts/email_verification/index.tsx +11 -11
  163. package/src/components/layouts/forgot_password/config/forgot_password_field_config.ts +2 -2
  164. package/src/components/layouts/forgot_password/hooks/use_forgot_password_form.ts +3 -3
  165. package/src/components/layouts/forgot_password/index.tsx +10 -10
  166. package/src/components/layouts/login/config/login_field_config.ts +2 -2
  167. package/src/components/layouts/login/hooks/use_login_form.ts +5 -5
  168. package/src/components/layouts/login/index.tsx +11 -11
  169. package/src/components/layouts/my_settings/components/editable_field.tsx +3 -3
  170. package/src/components/layouts/my_settings/components/password_change_dialog.tsx +5 -5
  171. package/src/components/layouts/my_settings/components/profile_picture_dialog.tsx +7 -7
  172. package/src/components/layouts/my_settings/components/profile_picture_display.tsx +2 -2
  173. package/src/components/layouts/my_settings/components/profile_picture_gravatar_tab.tsx +3 -3
  174. package/src/components/layouts/my_settings/components/profile_picture_library_tab.tsx +5 -5
  175. package/src/components/layouts/my_settings/components/profile_picture_upload_tab.tsx +4 -4
  176. package/src/components/layouts/my_settings/config/my_settings_field_config.ts +2 -2
  177. package/src/components/layouts/my_settings/hooks/use_my_settings.ts +2 -2
  178. package/src/components/layouts/my_settings/index.tsx +10 -10
  179. package/src/components/layouts/register/config/register_field_config.ts +2 -2
  180. package/src/components/layouts/register/hooks/use_register_form.ts +4 -4
  181. package/src/components/layouts/register/index.tsx +11 -11
  182. package/src/components/layouts/reset_password/config/reset_password_field_config.ts +2 -2
  183. package/src/components/layouts/reset_password/hooks/use_reset_password_form.ts +4 -4
  184. package/src/components/layouts/reset_password/index.tsx +10 -10
  185. package/src/components/layouts/shared/components/already_logged_in_guard.tsx +4 -4
  186. package/src/components/layouts/shared/components/auth_page_shell.tsx +3 -3
  187. package/src/components/layouts/shared/components/form_action_buttons.tsx +2 -2
  188. package/src/components/layouts/shared/components/form_field_wrapper.tsx +2 -2
  189. package/src/components/layouts/shared/components/logout_button.tsx +2 -2
  190. package/src/components/layouts/shared/components/password_field.tsx +3 -3
  191. package/src/components/layouts/shared/components/profile_pic_menu.tsx +5 -5
  192. package/src/components/layouts/shared/components/profile_pic_menu_wrapper.tsx +2 -2
  193. package/src/components/layouts/shared/components/sidebar_layout_wrapper.tsx +3 -3
  194. package/src/components/layouts/shared/components/standalone_layout_wrapper.tsx +1 -1
  195. package/src/components/layouts/shared/components/two_column_auth_layout.tsx +1 -1
  196. package/src/components/layouts/shared/components/unauthorized_guard.tsx +2 -2
  197. package/src/components/layouts/shared/hooks/use_hazo_auth.ts +1 -1
  198. package/src/components/layouts/shared/utils/validation.ts +1 -1
  199. package/src/components/layouts/user_management/components/roles_matrix.tsx +7 -7
  200. package/src/components/layouts/user_management/index.tsx +11 -11
  201. package/src/components/ui/alert-dialog.tsx +2 -2
  202. package/src/components/ui/avatar.tsx +1 -1
  203. package/src/components/ui/button.tsx +1 -1
  204. package/src/components/ui/checkbox.tsx +1 -1
  205. package/src/components/ui/dialog.tsx +1 -1
  206. package/src/components/ui/dropdown-menu.tsx +1 -1
  207. package/src/components/ui/hazo_ui_tooltip.tsx +1 -1
  208. package/src/components/ui/input.tsx +1 -1
  209. package/src/components/ui/label.tsx +1 -1
  210. package/src/components/ui/separator.tsx +1 -1
  211. package/src/components/ui/sheet.tsx +1 -1
  212. package/src/components/ui/sidebar.tsx +8 -8
  213. package/src/components/ui/skeleton.tsx +1 -1
  214. package/src/components/ui/switch.tsx +1 -1
  215. package/src/components/ui/table.tsx +1 -1
  216. package/src/components/ui/tabs.tsx +1 -1
  217. package/src/components/ui/tooltip.tsx +1 -1
  218. package/src/components/ui/vertical-tabs.tsx +1 -1
  219. package/src/lib/already_logged_in_config.server.ts +1 -1
  220. package/src/lib/app_logger.ts +1 -1
  221. package/src/lib/auth/auth_cache.ts +1 -1
  222. package/src/lib/auth/auth_utils.server.ts +2 -2
  223. package/src/lib/auth/hazo_get_auth.server.ts +8 -8
  224. package/src/lib/auth/server_auth.ts +2 -2
  225. package/src/lib/auth_utility_config.server.ts +1 -1
  226. package/src/lib/config/config_loader.server.ts +1 -1
  227. package/src/lib/email_verification_config.server.ts +1 -1
  228. package/src/lib/file_types_config.server.ts +1 -1
  229. package/src/lib/forgot_password_config.server.ts +1 -1
  230. package/src/lib/hazo_connect_instance.server.ts +2 -2
  231. package/src/lib/hazo_connect_setup.server.ts +2 -2
  232. package/src/lib/login_config.server.ts +2 -2
  233. package/src/lib/messages_config.server.ts +1 -1
  234. package/src/lib/my_settings_config.server.ts +7 -7
  235. package/src/lib/password_requirements_config.server.ts +1 -1
  236. package/src/lib/profile_pic_menu_config.server.ts +1 -1
  237. package/src/lib/profile_picture_config.server.ts +2 -2
  238. package/src/lib/register_config.server.ts +4 -4
  239. package/src/lib/reset_password_config.server.ts +3 -3
  240. package/src/lib/services/email_service.ts +2 -2
  241. package/src/lib/services/email_verification_service.ts +3 -3
  242. package/src/lib/services/login_service.ts +3 -3
  243. package/src/lib/services/password_change_service.ts +3 -3
  244. package/src/lib/services/password_reset_service.ts +3 -3
  245. package/src/lib/services/profile_picture_remove_service.ts +3 -3
  246. package/src/lib/services/profile_picture_service.ts +5 -5
  247. package/src/lib/services/registration_service.ts +8 -8
  248. package/src/lib/services/token_service.ts +2 -2
  249. package/src/lib/services/user_profiles_service.ts +2 -2
  250. package/src/lib/services/user_update_service.ts +4 -4
  251. package/src/lib/ui_shell_config.server.ts +1 -1
  252. package/src/lib/ui_sizes_config.server.ts +1 -1
  253. package/src/lib/user_fields_config.server.ts +1 -1
  254. package/src/lib/user_management_config.server.ts +1 -1
  255. package/src/lib/utils/error_sanitizer.ts +1 -1
  256. package/src/server/config/config_loader.ts +2 -2
  257. package/src/server/index.ts +2 -2
  258. package/src/server/logging/logger_service.ts +1 -1
  259. package/src/server/server.ts +2 -2
  260. package/src/server/types/express.d.ts +1 -1
  261. package/tsconfig.build.json +0 -3
package/README.md CHANGED
@@ -57,12 +57,13 @@ Run the database setup SQL script (see [Database Setup](#database-setup)).
57
57
  // Import layout components
58
58
  import { LoginLayout } from "hazo_auth/components/layouts/login";
59
59
  import { RegisterLayout } from "hazo_auth/components/layouts/register";
60
+ import { ForgotPasswordLayout } from "hazo_auth/components/layouts/forgot_password";
61
+ import { ResetPasswordLayout } from "hazo_auth/components/layouts/reset_password";
62
+ import { EmailVerificationLayout } from "hazo_auth/components/layouts/email_verification";
63
+ import { MySettingsLayout } from "hazo_auth/components/layouts/my_settings";
64
+ import { UserManagementLayout } from "hazo_auth/components/layouts/user_management";
60
65
 
61
- // Import UI components
62
- import { Button } from "hazo_auth/components/ui/button";
63
- import { Input } from "hazo_auth/components/ui/input";
64
-
65
- // Import shared components and hooks (recommended - uses barrel exports)
66
+ // Import shared components and hooks from barrel export
66
67
  import {
67
68
  ProfilePicMenu,
68
69
  ProfilePicMenuWrapper,
@@ -70,13 +71,8 @@ import {
70
71
  use_auth_status
71
72
  } from "hazo_auth/components/layouts/shared";
72
73
 
73
- // OR import hooks directly
74
- import { use_hazo_auth } from "hazo_auth/components/layouts/shared/hooks/use_hazo_auth";
75
- import { use_auth_status } from "hazo_auth/components/layouts/shared/hooks/use_auth_status";
76
-
77
74
  // Import server-side utilities
78
75
  import { hazo_get_auth } from "hazo_auth/lib/auth/hazo_get_auth.server";
79
- import { get_authenticated_user } from "hazo_auth/lib/auth/auth_utils.server";
80
76
  ```
81
77
 
82
78
  ---
@@ -419,21 +415,15 @@ The package exports components through these paths:
419
415
  // Main entry point - exports all public APIs
420
416
  import { ... } from "hazo_auth";
421
417
 
422
- // Layout components
418
+ // Layout components - one export per auth flow
423
419
  import { LoginLayout } from "hazo_auth/components/layouts/login";
424
420
  import { RegisterLayout } from "hazo_auth/components/layouts/register";
425
421
  import { ForgotPasswordLayout } from "hazo_auth/components/layouts/forgot_password";
426
422
  import { ResetPasswordLayout } from "hazo_auth/components/layouts/reset_password";
427
- import { EmailVerificationLayout } from "hazo_auth/components/layouts/verify_email";
423
+ import { EmailVerificationLayout } from "hazo_auth/components/layouts/email_verification";
428
424
  import { MySettingsLayout } from "hazo_auth/components/layouts/my_settings";
429
425
  import { UserManagementLayout } from "hazo_auth/components/layouts/user_management";
430
426
 
431
- // UI components
432
- import { Button } from "hazo_auth/components/ui/button";
433
- import { Input } from "hazo_auth/components/ui/input";
434
- import { Avatar } from "hazo_auth/components/ui/avatar";
435
- // ... and more shadcn-based components
436
-
437
427
  // Shared layout components and hooks (barrel import - recommended)
438
428
  import {
439
429
  ProfilePicMenu,
@@ -443,24 +433,15 @@ import {
443
433
  use_auth_status
444
434
  } from "hazo_auth/components/layouts/shared";
445
435
 
446
- // OR import individual components directly
447
- import { ProfilePicMenu } from "hazo_auth/components/layouts/shared/components/profile_pic_menu";
448
- import { ProfilePicMenuWrapper } from "hazo_auth/components/layouts/shared/components/profile_pic_menu_wrapper";
449
- import { FormActionButtons } from "hazo_auth/components/layouts/shared/components/form_action_buttons";
450
-
451
- // OR import hooks directly
452
- import { use_hazo_auth } from "hazo_auth/components/layouts/shared/hooks/use_hazo_auth";
453
- import { use_auth_status } from "hazo_auth/components/layouts/shared/hooks/use_auth_status";
454
-
455
- // Library utilities
436
+ // Server-side authentication utility
456
437
  import { hazo_get_auth } from "hazo_auth/lib/auth/hazo_get_auth.server";
457
- import { get_authenticated_user } from "hazo_auth/lib/auth/auth_utils.server";
458
- import { get_server_auth_user } from "hazo_auth/lib/auth/server_auth";
459
438
 
460
439
  // Server utilities
461
- import { get_hazo_connect_instance } from "hazo_auth/server/hazo_connect_instance.server";
440
+ import { ... } from "hazo_auth/server";
462
441
  ```
463
442
 
443
+ **Note:** The package uses relative imports internally. Consumers should only import from the exposed entry points listed above. Do not import from internal paths like `hazo_auth/components/ui/*` - these are internal modules.
444
+
464
445
  ### Using Layout Components
465
446
 
466
447
  Prefer to drop the forms into your own routes without using the pre-built pages? Import the layouts directly and feed them a `data_client` plus any label/button overrides:
@@ -922,22 +903,28 @@ This compiles the `src/` directory to `dist/` with:
922
903
 
923
904
  ### Package Exports
924
905
 
925
- The `package.json` exports field defines the public API:
906
+ The `package.json` exports field defines the public API. The package exposes only the main entry points:
926
907
 
927
908
  ```json
928
909
  {
929
910
  "exports": {
930
911
  ".": "./dist/index.js",
931
- "./components/*": "./dist/components/*.js",
932
- "./components/ui/*": "./dist/components/ui/*.js",
933
- "./components/layouts/*": "./dist/components/layouts/*.js",
934
- "./lib/*": "./dist/lib/*.js",
935
- "./hooks/*": "./dist/hooks/*.js",
936
- "./server/*": "./dist/server/*.js"
912
+ "./components/layouts/login": "./dist/components/layouts/login/index.js",
913
+ "./components/layouts/register": "./dist/components/layouts/register/index.js",
914
+ "./components/layouts/forgot_password": "./dist/components/layouts/forgot_password/index.js",
915
+ "./components/layouts/reset_password": "./dist/components/layouts/reset_password/index.js",
916
+ "./components/layouts/email_verification": "./dist/components/layouts/email_verification/index.js",
917
+ "./components/layouts/my_settings": "./dist/components/layouts/my_settings/index.js",
918
+ "./components/layouts/user_management": "./dist/components/layouts/user_management/index.js",
919
+ "./components/layouts/shared": "./dist/components/layouts/shared/index.js",
920
+ "./lib/auth/hazo_get_auth.server": "./dist/lib/auth/hazo_get_auth.server.js",
921
+ "./server": "./dist/server/index.js"
937
922
  }
938
923
  }
939
924
  ```
940
925
 
926
+ **Important:** The package uses relative imports internally, so consuming projects do not need to configure webpack aliases or TypeScript paths. Simply install the package and import from the exposed entry points.
927
+
941
928
  ### Next Steps
942
929
 
943
930
  - Use `npx shadcn@latest add <component>` to scaffold new UI primitives.
@@ -1,5 +1,5 @@
1
- import type { LayoutFieldMap, LayoutFieldMapOverrides } from "hazo_auth/components/layouts/shared/config/layout_customization";
2
- import { type ButtonPaletteDefaults, type ButtonPaletteOverrides, type LayoutLabelDefaults, type LayoutLabelOverrides } from "hazo_auth/components/layouts/shared/config/layout_customization";
1
+ import type { LayoutFieldMap, LayoutFieldMapOverrides } from "../../shared/config/layout_customization";
2
+ import { type ButtonPaletteDefaults, type ButtonPaletteOverrides, type LayoutLabelDefaults, type LayoutLabelOverrides } from "../../shared/config/layout_customization";
3
3
  export declare const EMAIL_VERIFICATION_FIELD_IDS: {
4
4
  readonly EMAIL: "email_address";
5
5
  };
@@ -1 +1 @@
1
- {"version":3,"file":"email_verification_field_config.d.ts","sourceRoot":"","sources":["../../../../../src/components/layouts/email_verification/config/email_verification_field_config.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,uBAAuB,EAAE,MAAM,iEAAiE,CAAC;AAC/H,OAAO,EAIL,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAC3B,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EAC1B,MAAM,iEAAiE,CAAC;AAGzE,eAAO,MAAM,4BAA4B;;CAE/B,CAAC;AAEX,MAAM,MAAM,wBAAwB,GAAG,CAAC,OAAO,4BAA4B,CAAC,CAAC,MAAM,OAAO,4BAA4B,CAAC,CAAC;AAcxH,eAAO,MAAM,uCAAuC,GAClD,YAAY,uBAAuB,mBACwC,CAAC;AAU9E,eAAO,MAAM,8BAA8B,GAAI,YAAY,oBAAoB,wBAClB,CAAC;AAU9D,eAAO,MAAM,qCAAqC,GAAI,YAAY,sBAAsB,0BACX,CAAC;AAG9E,MAAM,MAAM,8BAA8B,GAAG;IAC3C,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,eAAe,EAAE,MAAM,CAAC;IACxB,eAAe,EAAE,MAAM,CAAC;CACzB,CAAC;AAEF,eAAO,MAAM,yCAAyC,EAAE,8BAKvD,CAAC;AAGF,MAAM,MAAM,4BAA4B,GAAG;IACzC,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,iBAAiB,EAAE,MAAM,CAAC;CAC3B,CAAC;AAEF,eAAO,MAAM,uCAAuC,EAAE,4BAIrD,CAAC"}
1
+ {"version":3,"file":"email_verification_field_config.d.ts","sourceRoot":"","sources":["../../../../../src/components/layouts/email_verification/config/email_verification_field_config.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,uBAAuB,EAAE,MAAM,0CAA0C,CAAC;AACxG,OAAO,EAIL,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAC3B,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EAC1B,MAAM,0CAA0C,CAAC;AAGlD,eAAO,MAAM,4BAA4B;;CAE/B,CAAC;AAEX,MAAM,MAAM,wBAAwB,GAAG,CAAC,OAAO,4BAA4B,CAAC,CAAC,MAAM,OAAO,4BAA4B,CAAC,CAAC;AAcxH,eAAO,MAAM,uCAAuC,GAClD,YAAY,uBAAuB,mBACwC,CAAC;AAU9E,eAAO,MAAM,8BAA8B,GAAI,YAAY,oBAAoB,wBAClB,CAAC;AAU9D,eAAO,MAAM,qCAAqC,GAAI,YAAY,sBAAsB,0BACX,CAAC;AAG9E,MAAM,MAAM,8BAA8B,GAAG;IAC3C,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,eAAe,EAAE,MAAM,CAAC;IACxB,eAAe,EAAE,MAAM,CAAC;CACzB,CAAC;AAEF,eAAO,MAAM,yCAAyC,EAAE,8BAKvD,CAAC;AAGF,MAAM,MAAM,4BAA4B,GAAG;IACzC,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,iBAAiB,EAAE,MAAM,CAAC;CAC3B,CAAC;AAEF,eAAO,MAAM,uCAAuC,EAAE,4BAIrD,CAAC"}
@@ -1,4 +1,4 @@
1
- import { resolveButtonPalette, resolveFieldDefinitions, resolveLabels, } from "hazo_auth/components/layouts/shared/config/layout_customization";
1
+ import { resolveButtonPalette, resolveFieldDefinitions, resolveLabels, } from "../../shared/config/layout_customization";
2
2
  // section: field_identifiers
3
3
  export const EMAIL_VERIFICATION_FIELD_IDS = {
4
4
  EMAIL: "email_address",
@@ -1,5 +1,5 @@
1
- import type { LayoutDataClient } from "hazo_auth/components/layouts/shared/data/layout_data_client";
2
- import { type EmailVerificationFieldId } from "hazo_auth/components/layouts/email_verification/config/email_verification_field_config";
1
+ import type { LayoutDataClient } from "../../shared/data/layout_data_client";
2
+ import { type EmailVerificationFieldId } from "../config/email_verification_field_config";
3
3
  export type EmailVerificationFormValues = Record<EmailVerificationFieldId, string>;
4
4
  export type EmailVerificationFormErrors = Partial<Record<EmailVerificationFieldId, string>> & {
5
5
  submit?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"use_email_verification.d.ts","sourceRoot":"","sources":["../../../../../src/components/layouts/email_verification/hooks/use_email_verification.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6DAA6D,CAAC;AACpG,OAAO,EAAgC,KAAK,wBAAwB,EAAE,MAAM,wFAAwF,CAAC;AAIrK,MAAM,MAAM,2BAA2B,GAAG,MAAM,CAAC,wBAAwB,EAAE,MAAM,CAAC,CAAC;AACnF,MAAM,MAAM,2BAA2B,GAAG,OAAO,CAAC,MAAM,CAAC,wBAAwB,EAAE,MAAM,CAAC,CAAC,GAAG;IAC5F,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,0BAA0B,CAAC,OAAO,GAAG,OAAO,IAAI;IAC1D,UAAU,EAAE,gBAAgB,CAAC,OAAO,CAAC,CAAC;IACtC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG;IACvC,WAAW,EAAE,OAAO,CAAC;IACrB,UAAU,EAAE,OAAO,CAAC;IACpB,OAAO,EAAE,OAAO,CAAC;IACjB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,2BAA2B,CAAC;IACpC,MAAM,EAAE,2BAA2B,CAAC;IACpC,gBAAgB,EAAE,OAAO,CAAC;IAC1B,YAAY,EAAE,OAAO,CAAC;IACtB,YAAY,EAAE,OAAO,CAAC;IACtB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,iBAAiB,EAAE,CAAC,OAAO,EAAE,wBAAwB,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9E,eAAe,EAAE,MAAM,IAAI,CAAC;IAC5B,kBAAkB,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC,eAAe,CAAC,KAAK,IAAI,CAAC;IACtE,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,eAAe,EAAE,MAAM,IAAI,CAAC;CAC7B,CAAC;AAQF,eAAO,MAAM,sBAAsB,GAAI,OAAO,EAAG,2CAI9C,0BAA0B,CAAC,OAAO,CAAC,KAAG,0BAqPxC,CAAC"}
1
+ {"version":3,"file":"use_email_verification.d.ts","sourceRoot":"","sources":["../../../../../src/components/layouts/email_verification/hooks/use_email_verification.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AAC7E,OAAO,EAAgC,KAAK,wBAAwB,EAAE,MAAM,2CAA2C,CAAC;AAIxH,MAAM,MAAM,2BAA2B,GAAG,MAAM,CAAC,wBAAwB,EAAE,MAAM,CAAC,CAAC;AACnF,MAAM,MAAM,2BAA2B,GAAG,OAAO,CAAC,MAAM,CAAC,wBAAwB,EAAE,MAAM,CAAC,CAAC,GAAG;IAC5F,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,0BAA0B,CAAC,OAAO,GAAG,OAAO,IAAI;IAC1D,UAAU,EAAE,gBAAgB,CAAC,OAAO,CAAC,CAAC;IACtC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG;IACvC,WAAW,EAAE,OAAO,CAAC;IACrB,UAAU,EAAE,OAAO,CAAC;IACpB,OAAO,EAAE,OAAO,CAAC;IACjB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,2BAA2B,CAAC;IACpC,MAAM,EAAE,2BAA2B,CAAC;IACpC,gBAAgB,EAAE,OAAO,CAAC;IAC1B,YAAY,EAAE,OAAO,CAAC;IACtB,YAAY,EAAE,OAAO,CAAC;IACtB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,iBAAiB,EAAE,CAAC,OAAO,EAAE,wBAAwB,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9E,eAAe,EAAE,MAAM,IAAI,CAAC;IAC5B,kBAAkB,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC,eAAe,CAAC,KAAK,IAAI,CAAC;IACtE,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,eAAe,EAAE,MAAM,IAAI,CAAC;CAC7B,CAAC;AAQF,eAAO,MAAM,sBAAsB,GAAI,OAAO,EAAG,2CAI9C,0BAA0B,CAAC,OAAO,CAAC,KAAG,0BAqPxC,CAAC"}
@@ -3,8 +3,8 @@
3
3
  import { useCallback, useEffect, useMemo, useState } from "react";
4
4
  import { useRouter, useSearchParams } from "next/navigation";
5
5
  import { toast } from "sonner";
6
- import { EMAIL_VERIFICATION_FIELD_IDS } from "hazo_auth/components/layouts/email_verification/config/email_verification_field_config";
7
- import { validateEmail } from "hazo_auth/components/layouts/shared/utils/validation";
6
+ import { EMAIL_VERIFICATION_FIELD_IDS } from "../config/email_verification_field_config";
7
+ import { validateEmail } from "../../shared/utils/validation";
8
8
  // section: helpers
9
9
  const buildInitialValues = (initialEmail) => ({
10
10
  [EMAIL_VERIFICATION_FIELD_IDS.EMAIL]: initialEmail || "",
@@ -1,6 +1,6 @@
1
- import { type ButtonPaletteOverrides, type LayoutFieldMapOverrides, type LayoutLabelOverrides } from "hazo_auth/components/layouts/shared/config/layout_customization";
2
- import { type EmailVerificationSuccessLabels, type EmailVerificationErrorLabels } from "hazo_auth/components/layouts/email_verification/config/email_verification_field_config";
3
- import { type LayoutDataClient } from "hazo_auth/components/layouts/shared/data/layout_data_client";
1
+ import { type ButtonPaletteOverrides, type LayoutFieldMapOverrides, type LayoutLabelOverrides } from "../shared/config/layout_customization";
2
+ import { type EmailVerificationSuccessLabels, type EmailVerificationErrorLabels } from "./config/email_verification_field_config";
3
+ import { type LayoutDataClient } from "../shared/data/layout_data_client";
4
4
  export type EmailVerificationLayoutProps<TClient = unknown> = {
5
5
  image_src: string;
6
6
  image_alt: string;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/layouts/email_verification/index.tsx"],"names":[],"mappings":"AAWA,OAAO,EACL,KAAK,sBAAsB,EAC3B,KAAK,uBAAuB,EAC5B,KAAK,oBAAoB,EAC1B,MAAM,iEAAiE,CAAC;AACzE,OAAO,EAOL,KAAK,8BAA8B,EACnC,KAAK,4BAA4B,EAClC,MAAM,wFAAwF,CAAC;AAKhG,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,6DAA6D,CAAC;AAKpG,MAAM,MAAM,4BAA4B,CAAC,OAAO,GAAG,OAAO,IAAI;IAC5D,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,eAAe,CAAC,EAAE,uBAAuB,CAAC;IAC1C,MAAM,CAAC,EAAE,oBAAoB,CAAC;IAC9B,aAAa,CAAC,EAAE,sBAAsB,CAAC;IACvC,cAAc,CAAC,EAAE,OAAO,CAAC,8BAA8B,CAAC,CAAC;IACzD,YAAY,CAAC,EAAE,OAAO,CAAC,4BAA4B,CAAC,CAAC;IACrD,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,WAAW,EAAE,gBAAgB,CAAC,OAAO,CAAC,CAAC;CACxC,CAAC;AASF,MAAM,CAAC,OAAO,UAAU,yBAAyB,CAAC,OAAO,EAAE,EACzD,SAAS,EACT,SAAS,EACT,sBAAkC,EAClC,eAAe,EACf,MAAM,EACN,aAAa,EACb,cAAc,EACd,YAAY,EACZ,cAAkB,EAClB,UAA+B,EAC/B,WAAW,EACX,yBAAyB,EACzB,gBAAuB,EACvB,oBAA4B,EAC5B,qBAAqC,EACrC,cAAoB,GACrB,EAAE,4BAA4B,CAAC,OAAO,CAAC,2CAyNvC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/layouts/email_verification/index.tsx"],"names":[],"mappings":"AAWA,OAAO,EACL,KAAK,sBAAsB,EAC3B,KAAK,uBAAuB,EAC5B,KAAK,oBAAoB,EAC1B,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAOL,KAAK,8BAA8B,EACnC,KAAK,4BAA4B,EAClC,MAAM,0CAA0C,CAAC;AAKlD,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AAK1E,MAAM,MAAM,4BAA4B,CAAC,OAAO,GAAG,OAAO,IAAI;IAC5D,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,eAAe,CAAC,EAAE,uBAAuB,CAAC;IAC1C,MAAM,CAAC,EAAE,oBAAoB,CAAC;IAC9B,aAAa,CAAC,EAAE,sBAAsB,CAAC;IACvC,cAAc,CAAC,EAAE,OAAO,CAAC,8BAA8B,CAAC,CAAC;IACzD,YAAY,CAAC,EAAE,OAAO,CAAC,4BAA4B,CAAC,CAAC;IACrD,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,WAAW,EAAE,gBAAgB,CAAC,OAAO,CAAC,CAAC;CACxC,CAAC;AASF,MAAM,CAAC,OAAO,UAAU,yBAAyB,CAAC,OAAO,EAAE,EACzD,SAAS,EACT,SAAS,EACT,sBAAkC,EAClC,eAAe,EACf,MAAM,EACN,aAAa,EACb,cAAc,EACd,YAAY,EACZ,cAAkB,EAClB,UAA+B,EAC/B,WAAW,EACX,yBAAyB,EACzB,gBAAuB,EACvB,oBAA4B,EAC5B,qBAAqC,EACrC,cAAoB,GACrB,EAAE,4BAA4B,CAAC,OAAO,CAAC,2CAyNvC"}
@@ -3,16 +3,16 @@
3
3
  "use client";
4
4
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
5
5
  // section: imports
6
- import { Input } from "hazo_auth/components/ui/input";
7
- import { Button } from "hazo_auth/components/ui/button";
8
- import { FormFieldWrapper } from "hazo_auth/components/layouts/shared/components/form_field_wrapper";
9
- import { FormHeader } from "hazo_auth/components/layouts/shared/components/form_header";
10
- import { FormActionButtons } from "hazo_auth/components/layouts/shared/components/form_action_buttons";
11
- import { TwoColumnAuthLayout } from "hazo_auth/components/layouts/shared/components/two_column_auth_layout";
12
- import { EMAIL_VERIFICATION_FIELD_IDS, createEmailVerificationFieldDefinitions, resolveEmailVerificationButtonPalette, resolveEmailVerificationLabels, EMAIL_VERIFICATION_SUCCESS_LABEL_DEFAULTS, EMAIL_VERIFICATION_ERROR_LABEL_DEFAULTS, } from "hazo_auth/components/layouts/email_verification/config/email_verification_field_config";
13
- import { use_email_verification, } from "hazo_auth/components/layouts/email_verification/hooks/use_email_verification";
6
+ import { Input } from "../../ui/input";
7
+ import { Button } from "../../ui/button";
8
+ import { FormFieldWrapper } from "../shared/components/form_field_wrapper";
9
+ import { FormHeader } from "../shared/components/form_header";
10
+ import { FormActionButtons } from "../shared/components/form_action_buttons";
11
+ import { TwoColumnAuthLayout } from "../shared/components/two_column_auth_layout";
12
+ import { EMAIL_VERIFICATION_FIELD_IDS, createEmailVerificationFieldDefinitions, resolveEmailVerificationButtonPalette, resolveEmailVerificationLabels, EMAIL_VERIFICATION_SUCCESS_LABEL_DEFAULTS, EMAIL_VERIFICATION_ERROR_LABEL_DEFAULTS, } from "./config/email_verification_field_config";
13
+ import { use_email_verification, } from "./hooks/use_email_verification";
14
14
  import { CheckCircle, XCircle, Loader2 } from "lucide-react";
15
- import { AlreadyLoggedInGuard } from "hazo_auth/components/layouts/shared/components/already_logged_in_guard";
15
+ import { AlreadyLoggedInGuard } from "../shared/components/already_logged_in_guard";
16
16
  const ORDERED_FIELDS = [
17
17
  EMAIL_VERIFICATION_FIELD_IDS.EMAIL,
18
18
  ];
@@ -1,5 +1,5 @@
1
- import type { LayoutFieldMap, LayoutFieldMapOverrides } from "hazo_auth/components/layouts/shared/config/layout_customization";
2
- import { type ButtonPaletteDefaults, type ButtonPaletteOverrides, type LayoutLabelDefaults, type LayoutLabelOverrides } from "hazo_auth/components/layouts/shared/config/layout_customization";
1
+ import type { LayoutFieldMap, LayoutFieldMapOverrides } from "../../shared/config/layout_customization";
2
+ import { type ButtonPaletteDefaults, type ButtonPaletteOverrides, type LayoutLabelDefaults, type LayoutLabelOverrides } from "../../shared/config/layout_customization";
3
3
  export declare const FORGOT_PASSWORD_FIELD_IDS: {
4
4
  readonly EMAIL: "email_address";
5
5
  };
@@ -1 +1 @@
1
- {"version":3,"file":"forgot_password_field_config.d.ts","sourceRoot":"","sources":["../../../../../src/components/layouts/forgot_password/config/forgot_password_field_config.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,uBAAuB,EAAE,MAAM,iEAAiE,CAAC;AAC/H,OAAO,EAIL,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAC3B,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EAC1B,MAAM,iEAAiE,CAAC;AAGzE,eAAO,MAAM,yBAAyB;;CAE5B,CAAC;AAEX,MAAM,MAAM,qBAAqB,GAAG,CAAC,OAAO,yBAAyB,CAAC,CAAC,MAAM,OAAO,yBAAyB,CAAC,CAAC;AAc/G,eAAO,MAAM,oCAAoC,GAC/C,YAAY,uBAAuB,mBACqC,CAAC;AAU3E,eAAO,MAAM,2BAA2B,GAAI,YAAY,oBAAoB,wBAClB,CAAC;AAU3D,eAAO,MAAM,kCAAkC,GAAI,YAAY,sBAAsB,0BACX,CAAC"}
1
+ {"version":3,"file":"forgot_password_field_config.d.ts","sourceRoot":"","sources":["../../../../../src/components/layouts/forgot_password/config/forgot_password_field_config.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,uBAAuB,EAAE,MAAM,0CAA0C,CAAC;AACxG,OAAO,EAIL,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAC3B,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EAC1B,MAAM,0CAA0C,CAAC;AAGlD,eAAO,MAAM,yBAAyB;;CAE5B,CAAC;AAEX,MAAM,MAAM,qBAAqB,GAAG,CAAC,OAAO,yBAAyB,CAAC,CAAC,MAAM,OAAO,yBAAyB,CAAC,CAAC;AAc/G,eAAO,MAAM,oCAAoC,GAC/C,YAAY,uBAAuB,mBACqC,CAAC;AAU3E,eAAO,MAAM,2BAA2B,GAAI,YAAY,oBAAoB,wBAClB,CAAC;AAU3D,eAAO,MAAM,kCAAkC,GAAI,YAAY,sBAAsB,0BACX,CAAC"}
@@ -1,4 +1,4 @@
1
- import { resolveButtonPalette, resolveFieldDefinitions, resolveLabels, } from "hazo_auth/components/layouts/shared/config/layout_customization";
1
+ import { resolveButtonPalette, resolveFieldDefinitions, resolveLabels, } from "../../shared/config/layout_customization";
2
2
  // section: field_identifiers
3
3
  export const FORGOT_PASSWORD_FIELD_IDS = {
4
4
  EMAIL: "email_address",
@@ -1,5 +1,5 @@
1
- import type { LayoutDataClient } from "hazo_auth/components/layouts/shared/data/layout_data_client";
2
- import { type ForgotPasswordFieldId } from "hazo_auth/components/layouts/forgot_password/config/forgot_password_field_config";
1
+ import type { LayoutDataClient } from "../../shared/data/layout_data_client";
2
+ import { type ForgotPasswordFieldId } from "../config/forgot_password_field_config";
3
3
  export type ForgotPasswordFormValues = Record<ForgotPasswordFieldId, string>;
4
4
  export type ForgotPasswordFormErrors = Partial<Record<ForgotPasswordFieldId, string>> & {
5
5
  submit?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"use_forgot_password_form.d.ts","sourceRoot":"","sources":["../../../../../src/components/layouts/forgot_password/hooks/use_forgot_password_form.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6DAA6D,CAAC;AACpG,OAAO,EAA6B,KAAK,qBAAqB,EAAE,MAAM,kFAAkF,CAAC;AAIzJ,MAAM,MAAM,wBAAwB,GAAG,MAAM,CAAC,qBAAqB,EAAE,MAAM,CAAC,CAAC;AAC7E,MAAM,MAAM,wBAAwB,GAAG,OAAO,CAAC,MAAM,CAAC,qBAAqB,EAAE,MAAM,CAAC,CAAC,GAAG;IACtF,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,2BAA2B,CAAC,OAAO,GAAG,OAAO,IAAI;IAC3D,UAAU,EAAE,gBAAgB,CAAC,OAAO,CAAC,CAAC;CACvC,CAAC;AAEF,MAAM,MAAM,2BAA2B,GAAG;IACxC,MAAM,EAAE,wBAAwB,CAAC;IACjC,MAAM,EAAE,wBAAwB,CAAC;IACjC,gBAAgB,EAAE,OAAO,CAAC;IAC1B,YAAY,EAAE,OAAO,CAAC;IACtB,YAAY,EAAE,OAAO,CAAC;IACtB,iBAAiB,EAAE,CAAC,OAAO,EAAE,qBAAqB,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3E,eAAe,EAAE,MAAM,IAAI,CAAC;IAC5B,YAAY,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC,eAAe,CAAC,KAAK,IAAI,CAAC;IAChE,YAAY,EAAE,MAAM,IAAI,CAAC;CAC1B,CAAC;AAQF,eAAO,MAAM,wBAAwB,GAAI,OAAO,EAAG,iBAEhD,2BAA2B,CAAC,OAAO,CAAC,KAAG,2BA2IzC,CAAC"}
1
+ {"version":3,"file":"use_forgot_password_form.d.ts","sourceRoot":"","sources":["../../../../../src/components/layouts/forgot_password/hooks/use_forgot_password_form.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AAC7E,OAAO,EAA6B,KAAK,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAI/G,MAAM,MAAM,wBAAwB,GAAG,MAAM,CAAC,qBAAqB,EAAE,MAAM,CAAC,CAAC;AAC7E,MAAM,MAAM,wBAAwB,GAAG,OAAO,CAAC,MAAM,CAAC,qBAAqB,EAAE,MAAM,CAAC,CAAC,GAAG;IACtF,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,2BAA2B,CAAC,OAAO,GAAG,OAAO,IAAI;IAC3D,UAAU,EAAE,gBAAgB,CAAC,OAAO,CAAC,CAAC;CACvC,CAAC;AAEF,MAAM,MAAM,2BAA2B,GAAG;IACxC,MAAM,EAAE,wBAAwB,CAAC;IACjC,MAAM,EAAE,wBAAwB,CAAC;IACjC,gBAAgB,EAAE,OAAO,CAAC;IAC1B,YAAY,EAAE,OAAO,CAAC;IACtB,YAAY,EAAE,OAAO,CAAC;IACtB,iBAAiB,EAAE,CAAC,OAAO,EAAE,qBAAqB,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3E,eAAe,EAAE,MAAM,IAAI,CAAC;IAC5B,YAAY,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC,eAAe,CAAC,KAAK,IAAI,CAAC;IAChE,YAAY,EAAE,MAAM,IAAI,CAAC;CAC1B,CAAC;AAQF,eAAO,MAAM,wBAAwB,GAAI,OAAO,EAAG,iBAEhD,2BAA2B,CAAC,OAAO,CAAC,KAAG,2BA2IzC,CAAC"}
@@ -2,8 +2,8 @@
2
2
  // section: imports
3
3
  import { useCallback, useMemo, useState } from "react";
4
4
  import { toast } from "sonner";
5
- import { FORGOT_PASSWORD_FIELD_IDS } from "hazo_auth/components/layouts/forgot_password/config/forgot_password_field_config";
6
- import { validateEmail } from "hazo_auth/components/layouts/shared/utils/validation";
5
+ import { FORGOT_PASSWORD_FIELD_IDS } from "../config/forgot_password_field_config";
6
+ import { validateEmail } from "../../shared/utils/validation";
7
7
  // section: helpers
8
8
  const buildInitialValues = () => ({
9
9
  [FORGOT_PASSWORD_FIELD_IDS.EMAIL]: "",
@@ -1,5 +1,5 @@
1
- import { type ButtonPaletteOverrides, type LayoutFieldMapOverrides, type LayoutLabelOverrides } from "hazo_auth/components/layouts/shared/config/layout_customization";
2
- import { type LayoutDataClient } from "hazo_auth/components/layouts/shared/data/layout_data_client";
1
+ import { type ButtonPaletteOverrides, type LayoutFieldMapOverrides, type LayoutLabelOverrides } from "../shared/config/layout_customization";
2
+ import { type LayoutDataClient } from "../shared/data/layout_data_client";
3
3
  export type ForgotPasswordLayoutProps<TClient = unknown> = {
4
4
  image_src: string;
5
5
  image_alt: string;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/layouts/forgot_password/index.tsx"],"names":[],"mappings":"AAWA,OAAO,EACL,KAAK,sBAAsB,EAC3B,KAAK,uBAAuB,EAC5B,KAAK,oBAAoB,EAC1B,MAAM,iEAAiE,CAAC;AAWzE,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,6DAA6D,CAAC;AAGpG,MAAM,MAAM,yBAAyB,CAAC,OAAO,GAAG,OAAO,IAAI;IACzD,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,eAAe,CAAC,EAAE,uBAAuB,CAAC;IAC1C,MAAM,CAAC,EAAE,oBAAoB,CAAC;IAC9B,aAAa,CAAC,EAAE,sBAAsB,CAAC;IACvC,WAAW,EAAE,gBAAgB,CAAC,OAAO,CAAC,CAAC;IACvC,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB,CAAC;AASF,MAAM,CAAC,OAAO,UAAU,sBAAsB,CAAC,OAAO,EAAE,EACtD,SAAS,EACT,SAAS,EACT,sBAAkC,EAClC,eAAe,EACf,MAAM,EACN,aAAa,EACb,WAAW,EACX,sBAAoD,EACpD,gBAAuB,EACvB,oBAA4B,EAC5B,qBAAqC,EACrC,cAAoB,GACrB,EAAE,yBAAyB,CAAC,OAAO,CAAC,2CAsGpC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/layouts/forgot_password/index.tsx"],"names":[],"mappings":"AAWA,OAAO,EACL,KAAK,sBAAsB,EAC3B,KAAK,uBAAuB,EAC5B,KAAK,oBAAoB,EAC1B,MAAM,uCAAuC,CAAC;AAW/C,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AAG1E,MAAM,MAAM,yBAAyB,CAAC,OAAO,GAAG,OAAO,IAAI;IACzD,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,eAAe,CAAC,EAAE,uBAAuB,CAAC;IAC1C,MAAM,CAAC,EAAE,oBAAoB,CAAC;IAC9B,aAAa,CAAC,EAAE,sBAAsB,CAAC;IACvC,WAAW,EAAE,gBAAgB,CAAC,OAAO,CAAC,CAAC;IACvC,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB,CAAC;AASF,MAAM,CAAC,OAAO,UAAU,sBAAsB,CAAC,OAAO,EAAE,EACtD,SAAS,EACT,SAAS,EACT,sBAAkC,EAClC,eAAe,EACf,MAAM,EACN,aAAa,EACb,WAAW,EACX,sBAAoD,EACpD,gBAAuB,EACvB,oBAA4B,EAC5B,qBAAqC,EACrC,cAAoB,GACrB,EAAE,yBAAyB,CAAC,OAAO,CAAC,2CAsGpC"}
@@ -3,14 +3,14 @@
3
3
  "use client";
4
4
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
5
5
  // section: imports
6
- import { Input } from "hazo_auth/components/ui/input";
7
- import { FormFieldWrapper } from "hazo_auth/components/layouts/shared/components/form_field_wrapper";
8
- import { FormHeader } from "hazo_auth/components/layouts/shared/components/form_header";
9
- import { FormActionButtons } from "hazo_auth/components/layouts/shared/components/form_action_buttons";
10
- import { TwoColumnAuthLayout } from "hazo_auth/components/layouts/shared/components/two_column_auth_layout";
11
- import { AlreadyLoggedInGuard } from "hazo_auth/components/layouts/shared/components/already_logged_in_guard";
12
- import { FORGOT_PASSWORD_FIELD_IDS, createForgotPasswordFieldDefinitions, resolveForgotPasswordButtonPalette, resolveForgotPasswordLabels, } from "hazo_auth/components/layouts/forgot_password/config/forgot_password_field_config";
13
- import { use_forgot_password_form, } from "hazo_auth/components/layouts/forgot_password/hooks/use_forgot_password_form";
6
+ import { Input } from "../../ui/input";
7
+ import { FormFieldWrapper } from "../shared/components/form_field_wrapper";
8
+ import { FormHeader } from "../shared/components/form_header";
9
+ import { FormActionButtons } from "../shared/components/form_action_buttons";
10
+ import { TwoColumnAuthLayout } from "../shared/components/two_column_auth_layout";
11
+ import { AlreadyLoggedInGuard } from "../shared/components/already_logged_in_guard";
12
+ import { FORGOT_PASSWORD_FIELD_IDS, createForgotPasswordFieldDefinitions, resolveForgotPasswordButtonPalette, resolveForgotPasswordLabels, } from "./config/forgot_password_field_config";
13
+ import { use_forgot_password_form, } from "./hooks/use_forgot_password_form";
14
14
  const ORDERED_FIELDS = [
15
15
  FORGOT_PASSWORD_FIELD_IDS.EMAIL,
16
16
  ];
@@ -1,5 +1,5 @@
1
- import type { LayoutFieldMap, LayoutFieldMapOverrides } from "hazo_auth/components/layouts/shared/config/layout_customization";
2
- import { type ButtonPaletteDefaults, type ButtonPaletteOverrides, type LayoutLabelDefaults, type LayoutLabelOverrides } from "hazo_auth/components/layouts/shared/config/layout_customization";
1
+ import type { LayoutFieldMap, LayoutFieldMapOverrides } from "../../shared/config/layout_customization";
2
+ import { type ButtonPaletteDefaults, type ButtonPaletteOverrides, type LayoutLabelDefaults, type LayoutLabelOverrides } from "../../shared/config/layout_customization";
3
3
  export declare const LOGIN_FIELD_IDS: {
4
4
  readonly EMAIL: "email_address";
5
5
  readonly PASSWORD: "password";
@@ -1 +1 @@
1
- {"version":3,"file":"login_field_config.d.ts","sourceRoot":"","sources":["../../../../../src/components/layouts/login/config/login_field_config.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,uBAAuB,EAAE,MAAM,iEAAiE,CAAC;AAC/H,OAAO,EAIL,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAC3B,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EAC1B,MAAM,iEAAiE,CAAC;AAGzE,eAAO,MAAM,eAAe;;;CAGlB,CAAC;AAEX,MAAM,MAAM,YAAY,GAAG,CAAC,OAAO,eAAe,CAAC,CAAC,MAAM,OAAO,eAAe,CAAC,CAAC;AAsBlF,eAAO,MAAM,2BAA2B,GACtC,YAAY,uBAAuB,mBAC2B,CAAC;AAUjE,eAAO,MAAM,kBAAkB,GAAI,YAAY,oBAAoB,wBACnB,CAAC;AAUjD,eAAO,MAAM,yBAAyB,GAAI,YAAY,sBAAsB,0BACZ,CAAC"}
1
+ {"version":3,"file":"login_field_config.d.ts","sourceRoot":"","sources":["../../../../../src/components/layouts/login/config/login_field_config.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,uBAAuB,EAAE,MAAM,0CAA0C,CAAC;AACxG,OAAO,EAIL,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAC3B,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EAC1B,MAAM,0CAA0C,CAAC;AAGlD,eAAO,MAAM,eAAe;;;CAGlB,CAAC;AAEX,MAAM,MAAM,YAAY,GAAG,CAAC,OAAO,eAAe,CAAC,CAAC,MAAM,OAAO,eAAe,CAAC,CAAC;AAsBlF,eAAO,MAAM,2BAA2B,GACtC,YAAY,uBAAuB,mBAC2B,CAAC;AAUjE,eAAO,MAAM,kBAAkB,GAAI,YAAY,oBAAoB,wBACnB,CAAC;AAUjD,eAAO,MAAM,yBAAyB,GAAI,YAAY,sBAAsB,0BACZ,CAAC"}
@@ -1,4 +1,4 @@
1
- import { resolveButtonPalette, resolveFieldDefinitions, resolveLabels, } from "hazo_auth/components/layouts/shared/config/layout_customization";
1
+ import { resolveButtonPalette, resolveFieldDefinitions, resolveLabels, } from "../../shared/config/layout_customization";
2
2
  // section: field_identifiers
3
3
  export const LOGIN_FIELD_IDS = {
4
4
  EMAIL: "email_address",
@@ -1,5 +1,5 @@
1
- import type { LayoutDataClient } from "hazo_auth/components/layouts/shared/data/layout_data_client";
2
- import { type LoginFieldId } from "hazo_auth/components/layouts/login/config/login_field_config";
1
+ import type { LayoutDataClient } from "../../shared/data/layout_data_client";
2
+ import { type LoginFieldId } from "../config/login_field_config";
3
3
  export type LoginFormValues = Record<LoginFieldId, string>;
4
4
  export type LoginFormErrors = Partial<Record<LoginFieldId, string>>;
5
5
  export type PasswordVisibilityState = {
@@ -1 +1 @@
1
- {"version":3,"file":"use_login_form.d.ts","sourceRoot":"","sources":["../../../../../src/components/layouts/login/hooks/use_login_form.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6DAA6D,CAAC;AACpG,OAAO,EAAmB,KAAK,YAAY,EAAE,MAAM,8DAA8D,CAAC;AAMlH,MAAM,MAAM,eAAe,GAAG,MAAM,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC;AAC3D,MAAM,MAAM,eAAe,GAAG,OAAO,CAAC,MAAM,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC,CAAC;AACpE,MAAM,MAAM,uBAAuB,GAAG;IACpC,QAAQ,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,kBAAkB,CAAC,OAAO,GAAG,OAAO,IAAI;IAClD,UAAU,EAAE,gBAAgB,CAAC,OAAO,CAAC,CAAC;IACtC,MAAM,CAAC,EAAE;QACP,IAAI,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,IAAI,CAAC;QAChE,KAAK,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,IAAI,CAAC;QACjE,IAAI,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,IAAI,CAAC;QAChE,KAAK,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,IAAI,CAAC;KAClE,CAAC;IACF,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,MAAM,EAAE,eAAe,CAAC;IACxB,MAAM,EAAE,eAAe,CAAC;IACxB,kBAAkB,EAAE,uBAAuB,CAAC;IAC5C,gBAAgB,EAAE,OAAO,CAAC;IAC1B,YAAY,EAAE,OAAO,CAAC;IACtB,SAAS,EAAE,OAAO,CAAC;IACnB,iBAAiB,EAAE,CAAC,OAAO,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClE,eAAe,EAAE,MAAM,IAAI,CAAC;IAC5B,wBAAwB,EAAE,MAAM,IAAI,CAAC;IACrC,YAAY,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC,eAAe,CAAC,KAAK,IAAI,CAAC;IAChE,YAAY,EAAE,MAAM,IAAI,CAAC;CAC1B,CAAC;AAkBF,eAAO,MAAM,cAAc,GAAI,OAAO,EAAG,oEAMtC,kBAAkB,CAAC,OAAO,CAAC,KAAG,kBA0NhC,CAAC"}
1
+ {"version":3,"file":"use_login_form.d.ts","sourceRoot":"","sources":["../../../../../src/components/layouts/login/hooks/use_login_form.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AAC7E,OAAO,EAAmB,KAAK,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAMlF,MAAM,MAAM,eAAe,GAAG,MAAM,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC;AAC3D,MAAM,MAAM,eAAe,GAAG,OAAO,CAAC,MAAM,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC,CAAC;AACpE,MAAM,MAAM,uBAAuB,GAAG;IACpC,QAAQ,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,kBAAkB,CAAC,OAAO,GAAG,OAAO,IAAI;IAClD,UAAU,EAAE,gBAAgB,CAAC,OAAO,CAAC,CAAC;IACtC,MAAM,CAAC,EAAE;QACP,IAAI,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,IAAI,CAAC;QAChE,KAAK,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,IAAI,CAAC;QACjE,IAAI,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,IAAI,CAAC;QAChE,KAAK,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,IAAI,CAAC;KAClE,CAAC;IACF,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,MAAM,EAAE,eAAe,CAAC;IACxB,MAAM,EAAE,eAAe,CAAC;IACxB,kBAAkB,EAAE,uBAAuB,CAAC;IAC5C,gBAAgB,EAAE,OAAO,CAAC;IAC1B,YAAY,EAAE,OAAO,CAAC;IACtB,SAAS,EAAE,OAAO,CAAC;IACnB,iBAAiB,EAAE,CAAC,OAAO,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClE,eAAe,EAAE,MAAM,IAAI,CAAC;IAC5B,wBAAwB,EAAE,MAAM,IAAI,CAAC;IACrC,YAAY,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC,eAAe,CAAC,KAAK,IAAI,CAAC;IAChE,YAAY,EAAE,MAAM,IAAI,CAAC;CAC1B,CAAC;AAkBF,eAAO,MAAM,cAAc,GAAI,OAAO,EAAG,oEAMtC,kBAAkB,CAAC,OAAO,CAAC,KAAG,kBA0NhC,CAAC"}
@@ -2,10 +2,10 @@
2
2
  // section: imports
3
3
  import { useCallback, useMemo, useState, useEffect } from "react";
4
4
  import { useRouter } from "next/navigation";
5
- import { LOGIN_FIELD_IDS } from "hazo_auth/components/layouts/login/config/login_field_config";
6
- import { validateEmail } from "hazo_auth/components/layouts/shared/utils/validation";
7
- import { get_client_ip } from "hazo_auth/components/layouts/shared/utils/ip_address";
8
- import { trigger_auth_status_refresh } from "hazo_auth/components/layouts/shared/hooks/use_auth_status";
5
+ import { LOGIN_FIELD_IDS } from "../config/login_field_config";
6
+ import { validateEmail } from "../../shared/utils/validation";
7
+ import { get_client_ip } from "../../shared/utils/ip_address";
8
+ import { trigger_auth_status_refresh } from "../../shared/hooks/use_auth_status";
9
9
  // section: helpers
10
10
  const buildInitialValues = () => ({
11
11
  [LOGIN_FIELD_IDS.EMAIL]: "",
@@ -1,5 +1,5 @@
1
- import { type ButtonPaletteOverrides, type LayoutFieldMapOverrides, type LayoutLabelOverrides } from "hazo_auth/components/layouts/shared/config/layout_customization";
2
- import { type LayoutDataClient } from "hazo_auth/components/layouts/shared/data/layout_data_client";
1
+ import { type ButtonPaletteOverrides, type LayoutFieldMapOverrides, type LayoutLabelOverrides } from "../shared/config/layout_customization";
2
+ import { type LayoutDataClient } from "../shared/data/layout_data_client";
3
3
  export type LoginLayoutProps<TClient = unknown> = {
4
4
  image_src: string;
5
5
  image_alt: string;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/layouts/login/index.tsx"],"names":[],"mappings":"AAcA,OAAO,EACL,KAAK,sBAAsB,EAC3B,KAAK,uBAAuB,EAC5B,KAAK,oBAAoB,EAC1B,MAAM,iEAAiE,CAAC;AAWzE,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,6DAA6D,CAAC;AAGpG,MAAM,MAAM,gBAAgB,CAAC,OAAO,GAAG,OAAO,IAAI;IAChD,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,eAAe,CAAC,EAAE,uBAAuB,CAAC;IAC1C,MAAM,CAAC,EAAE,oBAAoB,CAAC;IAC9B,aAAa,CAAC,EAAE,sBAAsB,CAAC;IACvC,WAAW,EAAE,gBAAgB,CAAC,OAAO,CAAC,CAAC;IACvC,MAAM,CAAC,EAAE;QACP,IAAI,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,IAAI,CAAC;QAChE,KAAK,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,IAAI,CAAC;QACjE,IAAI,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,IAAI,CAAC;QAChE,KAAK,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,IAAI,CAAC;KAClE,CAAC;IACF,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAUF,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,OAAO,EAAE,EAC5C,SAAS,EACT,SAAS,EACT,sBAAkC,EAClC,eAAe,EACf,MAAM,EACN,aAAa,EACb,WAAW,EACX,MAAM,EACN,aAAa,EACb,cAAyC,EACzC,sBAAoD,EACpD,gBAAuB,EACvB,oBAA4B,EAC5B,qBAAqC,EACrC,cAAoB,EACpB,oBAAmD,EACnD,qBAA0C,EAC1C,mBAA2C,EAC3C,oBAAuC,EACvC,UAAU,GACX,EAAE,gBAAgB,CAAC,OAAO,CAAC,2CAiK3B"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/layouts/login/index.tsx"],"names":[],"mappings":"AAcA,OAAO,EACL,KAAK,sBAAsB,EAC3B,KAAK,uBAAuB,EAC5B,KAAK,oBAAoB,EAC1B,MAAM,uCAAuC,CAAC;AAW/C,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AAG1E,MAAM,MAAM,gBAAgB,CAAC,OAAO,GAAG,OAAO,IAAI;IAChD,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,eAAe,CAAC,EAAE,uBAAuB,CAAC;IAC1C,MAAM,CAAC,EAAE,oBAAoB,CAAC;IAC9B,aAAa,CAAC,EAAE,sBAAsB,CAAC;IACvC,WAAW,EAAE,gBAAgB,CAAC,OAAO,CAAC,CAAC;IACvC,MAAM,CAAC,EAAE;QACP,IAAI,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,IAAI,CAAC;QAChE,KAAK,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,IAAI,CAAC;QACjE,IAAI,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,IAAI,CAAC;QAChE,KAAK,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,IAAI,CAAC;KAClE,CAAC;IACF,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAUF,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,OAAO,EAAE,EAC5C,SAAS,EACT,SAAS,EACT,sBAAkC,EAClC,eAAe,EACf,MAAM,EACN,aAAa,EACb,WAAW,EACX,MAAM,EACN,aAAa,EACb,cAAyC,EACzC,sBAAoD,EACpD,gBAAuB,EACvB,oBAA4B,EAC5B,qBAAqC,EACrC,cAAoB,EACpB,oBAAmD,EACnD,qBAA0C,EAC1C,mBAA2C,EAC3C,oBAAuC,EACvC,UAAU,GACX,EAAE,gBAAgB,CAAC,OAAO,CAAC,2CAiK3B"}
@@ -4,16 +4,16 @@
4
4
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
5
5
  // section: imports
6
6
  import Link from "next/link";
7
- import { Input } from "hazo_auth/components/ui/input";
8
- import { PasswordField } from "hazo_auth/components/layouts/shared/components/password_field";
9
- import { FormFieldWrapper } from "hazo_auth/components/layouts/shared/components/form_field_wrapper";
10
- import { FormHeader } from "hazo_auth/components/layouts/shared/components/form_header";
11
- import { FormActionButtons } from "hazo_auth/components/layouts/shared/components/form_action_buttons";
12
- import { TwoColumnAuthLayout } from "hazo_auth/components/layouts/shared/components/two_column_auth_layout";
7
+ import { Input } from "../../ui/input";
8
+ import { PasswordField } from "../shared/components/password_field";
9
+ import { FormFieldWrapper } from "../shared/components/form_field_wrapper";
10
+ import { FormHeader } from "../shared/components/form_header";
11
+ import { FormActionButtons } from "../shared/components/form_action_buttons";
12
+ import { TwoColumnAuthLayout } from "../shared/components/two_column_auth_layout";
13
13
  import { CheckCircle } from "lucide-react";
14
- import { AlreadyLoggedInGuard } from "hazo_auth/components/layouts/shared/components/already_logged_in_guard";
15
- import { LOGIN_FIELD_IDS, createLoginFieldDefinitions, resolveLoginButtonPalette, resolveLoginLabels, } from "hazo_auth/components/layouts/login/config/login_field_config";
16
- import { use_login_form, } from "hazo_auth/components/layouts/login/hooks/use_login_form";
14
+ import { AlreadyLoggedInGuard } from "../shared/components/already_logged_in_guard";
15
+ import { LOGIN_FIELD_IDS, createLoginFieldDefinitions, resolveLoginButtonPalette, resolveLoginLabels, } from "./config/login_field_config";
16
+ import { use_login_form, } from "./hooks/use_login_form";
17
17
  const ORDERED_FIELDS = [
18
18
  LOGIN_FIELD_IDS.EMAIL,
19
19
  LOGIN_FIELD_IDS.PASSWORD,
@@ -4,9 +4,9 @@
4
4
  import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
5
5
  // section: imports
6
6
  import { useState } from "react";
7
- import { Input } from "hazo_auth/components/ui/input";
8
- import { Label } from "hazo_auth/components/ui/label";
9
- import { Button } from "hazo_auth/components/ui/button";
7
+ import { Input } from "../../../ui/input";
8
+ import { Label } from "../../../ui/label";
9
+ import { Button } from "../../../ui/button";
10
10
  import { Pencil, CheckCircle2, XCircle } from "lucide-react";
11
11
  // section: component
12
12
  /**
@@ -1,4 +1,4 @@
1
- import type { PasswordRequirementOptions } from "hazo_auth/components/layouts/shared/config/layout_customization";
1
+ import type { PasswordRequirementOptions } from "../../shared/config/layout_customization";
2
2
  export type ButtonPalette = {
3
3
  submitBackground: string;
4
4
  submitText: string;
@@ -1 +1 @@
1
- {"version":3,"file":"password_change_dialog.d.ts","sourceRoot":"","sources":["../../../../../src/components/layouts/my_settings/components/password_change_dialog.tsx"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,iEAAiE,CAAC;AAGlH,MAAM,MAAM,aAAa,GAAG;IAC1B,gBAAgB,EAAE,MAAM,CAAC;IACzB,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,yBAAyB,GAAG;IACtC,IAAI,EAAE,OAAO,CAAC;IACd,YAAY,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACtC,MAAM,EAAE,CAAC,eAAe,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACxE,oBAAoB,EAAE,0BAA0B,CAAC;IACjD,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B,CAAC;AAGF;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAAC,EACnC,IAAI,EACJ,YAAY,EACZ,MAAM,EACN,oBAAoB,EACpB,aAAa,EACb,oBAAyC,EACzC,gBAAiC,EACjC,oBAA6C,EAC7C,eAAwB,EACxB,iBAA4B,GAC7B,EAAE,yBAAyB,2CAiP3B"}
1
+ {"version":3,"file":"password_change_dialog.d.ts","sourceRoot":"","sources":["../../../../../src/components/layouts/my_settings/components/password_change_dialog.tsx"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,0CAA0C,CAAC;AAG3F,MAAM,MAAM,aAAa,GAAG;IAC1B,gBAAgB,EAAE,MAAM,CAAC;IACzB,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,yBAAyB,GAAG;IACtC,IAAI,EAAE,OAAO,CAAC;IACd,YAAY,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACtC,MAAM,EAAE,CAAC,eAAe,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACxE,oBAAoB,EAAE,0BAA0B,CAAC;IACjD,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B,CAAC;AAGF;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAAC,EACnC,IAAI,EACJ,YAAY,EACZ,MAAM,EACN,oBAAoB,EACpB,aAAa,EACb,oBAAyC,EACzC,gBAAiC,EACjC,oBAA6C,EAC7C,eAAwB,EACxB,iBAA4B,GAC7B,EAAE,yBAAyB,2CAiP3B"}
@@ -4,10 +4,10 @@
4
4
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
5
5
  // section: imports
6
6
  import { useState } from "react";
7
- import { Dialog, DialogContent, DialogHeader, DialogTitle, DialogDescription, } from "hazo_auth/components/ui/dialog";
8
- import { Button } from "hazo_auth/components/ui/button";
9
- import { PasswordField } from "hazo_auth/components/layouts/shared/components/password_field";
10
- import { FormFieldWrapper } from "hazo_auth/components/layouts/shared/components/form_field_wrapper";
7
+ import { Dialog, DialogContent, DialogHeader, DialogTitle, DialogDescription, } from "../../../ui/dialog";
8
+ import { Button } from "../../../ui/button";
9
+ import { PasswordField } from "../../shared/components/password_field";
10
+ import { FormFieldWrapper } from "../../shared/components/form_field_wrapper";
11
11
  // section: component
12
12
  /**
13
13
  * Dialog component for changing password
@@ -4,14 +4,14 @@
4
4
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
5
5
  // section: imports
6
6
  import { useState, useEffect } from "react";
7
- import { Dialog, DialogContent, DialogHeader, DialogTitle, DialogDescription, } from "hazo_auth/components/ui/dialog";
8
- import { Button } from "hazo_auth/components/ui/button";
9
- import { Tabs, TabsContent, TabsList, TabsTrigger } from "hazo_auth/components/ui/tabs";
10
- import { ProfilePictureUploadTab } from "hazo_auth/components/layouts/my_settings/components/profile_picture_upload_tab";
11
- import { ProfilePictureLibraryTab } from "hazo_auth/components/layouts/my_settings/components/profile_picture_library_tab";
12
- import { ProfilePictureGravatarTab } from "hazo_auth/components/layouts/my_settings/components/profile_picture_gravatar_tab";
7
+ import { Dialog, DialogContent, DialogHeader, DialogTitle, DialogDescription, } from "../../../ui/dialog";
8
+ import { Button } from "../../../ui/button";
9
+ import { Tabs, TabsContent, TabsList, TabsTrigger } from "../../../ui/tabs";
10
+ import { ProfilePictureUploadTab } from "./profile_picture_upload_tab";
11
+ import { ProfilePictureLibraryTab } from "./profile_picture_library_tab";
12
+ import { ProfilePictureGravatarTab } from "./profile_picture_gravatar_tab";
13
13
  import { toast } from "sonner";
14
- import { cn } from "hazo_auth/lib/utils";
14
+ import { cn } from "../../../../lib/utils";
15
15
  // section: component
16
16
  /**
17
17
  * Profile picture dialog component with tabs for Upload, Library, and Gravatar
@@ -3,7 +3,7 @@
3
3
  "use client";
4
4
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
5
5
  // section: imports
6
- import { Avatar, AvatarImage, AvatarFallback } from "hazo_auth/components/ui/avatar";
6
+ import { Avatar, AvatarImage, AvatarFallback } from "../../../ui/avatar";
7
7
  // section: component
8
8
  /**
9
9
  * Profile picture display component
@@ -4,9 +4,9 @@
4
4
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
5
5
  // section: imports
6
6
  import { useState, useEffect } from "react";
7
- import { Switch } from "hazo_auth/components/ui/switch";
8
- import { Label } from "hazo_auth/components/ui/label";
9
- import { Avatar, AvatarImage, AvatarFallback } from "hazo_auth/components/ui/avatar";
7
+ import { Switch } from "../../../ui/switch";
8
+ import { Label } from "../../../ui/label";
9
+ import { Avatar, AvatarImage, AvatarFallback } from "../../../ui/avatar";
10
10
  import { Info } from "lucide-react";
11
11
  import gravatarUrl from "gravatar-url";
12
12
  // section: component
@@ -4,12 +4,12 @@
4
4
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
5
5
  // section: imports
6
6
  import { useState, useEffect } from "react";
7
- import { Switch } from "hazo_auth/components/ui/switch";
8
- import { Label } from "hazo_auth/components/ui/label";
9
- import { Avatar, AvatarFallback } from "hazo_auth/components/ui/avatar";
10
- import { VerticalTabs, VerticalTabsList, VerticalTabsTrigger } from "hazo_auth/components/ui/vertical-tabs";
7
+ import { Switch } from "../../../ui/switch";
8
+ import { Label } from "../../../ui/label";
9
+ import { Avatar, AvatarFallback } from "../../../ui/avatar";
10
+ import { VerticalTabs, VerticalTabsList, VerticalTabsTrigger } from "../../../ui/vertical-tabs";
11
11
  import { Loader2 } from "lucide-react";
12
- import { HazoUITooltip } from "hazo_auth/components/ui/hazo_ui_tooltip";
12
+ import { HazoUITooltip } from "../../../ui/hazo_ui_tooltip";
13
13
  // section: component
14
14
  /**
15
15
  * Library tab component for profile picture dialog
@@ -4,11 +4,11 @@
4
4
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
5
5
  // section: imports
6
6
  import { useState, useCallback, useEffect } from "react";
7
- import { Switch } from "hazo_auth/components/ui/switch";
8
- import { Label } from "hazo_auth/components/ui/label";
9
- import { Avatar, AvatarImage, AvatarFallback } from "hazo_auth/components/ui/avatar";
7
+ import { Switch } from "../../../ui/switch";
8
+ import { Label } from "../../../ui/label";
9
+ import { Avatar, AvatarImage, AvatarFallback } from "../../../ui/avatar";
10
10
  import { Upload, X, Loader2, Info } from "lucide-react";
11
- import { Button } from "hazo_auth/components/ui/button";
11
+ import { Button } from "../../../ui/button";
12
12
  import imageCompression from "browser-image-compression";
13
13
  // section: component
14
14
  /**
@@ -1,4 +1,4 @@
1
- import { type ButtonPaletteDefaults, type ButtonPaletteOverrides } from "hazo_auth/components/layouts/shared/config/layout_customization";
1
+ import { type ButtonPaletteDefaults, type ButtonPaletteOverrides } from "../../shared/config/layout_customization";
2
2
  export declare const MY_SETTINGS_FIELD_IDS: {
3
3
  readonly NAME: "name";
4
4
  readonly EMAIL: "email_address";
@@ -1 +1 @@
1
- {"version":3,"file":"my_settings_field_config.d.ts","sourceRoot":"","sources":["../../../../../src/components/layouts/my_settings/config/my_settings_field_config.ts"],"names":[],"mappings":"AAGA,OAAO,EAEL,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAE5B,MAAM,iEAAiE,CAAC;AAGzE,eAAO,MAAM,qBAAqB;;;;CAIxB,CAAC;AAEX,MAAM,MAAM,iBAAiB,GAAG,CAAC,OAAO,qBAAqB,CAAC,CAAC,MAAM,OAAO,qBAAqB,CAAC,CAAC;AAGnG,MAAM,MAAM,uBAAuB,GAAG;IACpC,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,mBAAmB,EAAE,MAAM,CAAC;IAC5B,oBAAoB,EAAE,MAAM,CAAC;CAC9B,CAAC;AAWF,MAAM,MAAM,wBAAwB,GAAG,OAAO,CAAC,uBAAuB,CAAC,CAAC;AAExE,eAAO,MAAM,uBAAuB,GAClC,YAAY,wBAAwB,KACnC,uBAKF,CAAC;AAUF,eAAO,MAAM,8BAA8B,GACzC,YAAY,sBAAsB,0BACqC,CAAC"}
1
+ {"version":3,"file":"my_settings_field_config.d.ts","sourceRoot":"","sources":["../../../../../src/components/layouts/my_settings/config/my_settings_field_config.ts"],"names":[],"mappings":"AAGA,OAAO,EAEL,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAE5B,MAAM,0CAA0C,CAAC;AAGlD,eAAO,MAAM,qBAAqB;;;;CAIxB,CAAC;AAEX,MAAM,MAAM,iBAAiB,GAAG,CAAC,OAAO,qBAAqB,CAAC,CAAC,MAAM,OAAO,qBAAqB,CAAC,CAAC;AAGnG,MAAM,MAAM,uBAAuB,GAAG;IACpC,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,mBAAmB,EAAE,MAAM,CAAC;IAC5B,oBAAoB,EAAE,MAAM,CAAC;CAC9B,CAAC;AAWF,MAAM,MAAM,wBAAwB,GAAG,OAAO,CAAC,uBAAuB,CAAC,CAAC;AAExE,eAAO,MAAM,uBAAuB,GAClC,YAAY,wBAAwB,KACnC,uBAKF,CAAC;AAUF,eAAO,MAAM,8BAA8B,GACzC,YAAY,sBAAsB,0BACqC,CAAC"}