hazo_auth 1.4.0 → 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 (262) hide show
  1. package/README.md +41 -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 +35 -19
  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/routes/index.ts +4 -4
  257. package/src/server/config/config_loader.ts +2 -2
  258. package/src/server/index.ts +2 -2
  259. package/src/server/logging/logger_service.ts +1 -1
  260. package/src/server/server.ts +2 -2
  261. package/src/server/types/express.d.ts +1 -1
  262. package/tsconfig.build.json +0 -3
@@ -10,14 +10,14 @@ import {
10
10
  DialogHeader,
11
11
  DialogTitle,
12
12
  DialogDescription,
13
- } from "hazo_auth/components/ui/dialog";
14
- import { Button } from "hazo_auth/components/ui/button";
15
- import { Tabs, TabsContent, TabsList, TabsTrigger } from "hazo_auth/components/ui/tabs";
16
- import { ProfilePictureUploadTab } from "hazo_auth/components/layouts/my_settings/components/profile_picture_upload_tab";
17
- import { ProfilePictureLibraryTab } from "hazo_auth/components/layouts/my_settings/components/profile_picture_library_tab";
18
- import { ProfilePictureGravatarTab } from "hazo_auth/components/layouts/my_settings/components/profile_picture_gravatar_tab";
13
+ } from "../../../ui/dialog";
14
+ import { Button } from "../../../ui/button";
15
+ import { Tabs, TabsContent, TabsList, TabsTrigger } from "../../../ui/tabs";
16
+ import { ProfilePictureUploadTab } from "./profile_picture_upload_tab";
17
+ import { ProfilePictureLibraryTab } from "./profile_picture_library_tab";
18
+ import { ProfilePictureGravatarTab } from "./profile_picture_gravatar_tab";
19
19
  import { toast } from "sonner";
20
- import { cn } from "hazo_auth/lib/utils";
20
+ import { cn } from "../../../../lib/utils";
21
21
 
22
22
  // section: types
23
23
  export type ProfilePictureDialogProps = {
@@ -3,8 +3,8 @@
3
3
  "use client";
4
4
 
5
5
  // section: imports
6
- import { Avatar, AvatarImage, AvatarFallback } from "hazo_auth/components/ui/avatar";
7
- import { Button } from "hazo_auth/components/ui/button";
6
+ import { Avatar, AvatarImage, AvatarFallback } from "../../../ui/avatar";
7
+ import { Button } from "../../../ui/button";
8
8
  import { Pencil } from "lucide-react";
9
9
 
10
10
  // section: types
@@ -4,9 +4,9 @@
4
4
 
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
 
@@ -4,12 +4,12 @@
4
4
 
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, VerticalTabsContent } 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, VerticalTabsContent } 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
 
14
14
  // section: types
15
15
  export type ProfilePictureLibraryTabProps = {
@@ -4,11 +4,11 @@
4
4
 
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
 
14
14
  // section: types
@@ -1,12 +1,12 @@
1
1
  // file_description: my settings layout specific configuration helpers
2
2
  // section: imports
3
- import type { LayoutFieldMap } from "hazo_auth/components/layouts/shared/config/layout_customization";
3
+ import type { LayoutFieldMap } from "../../shared/config/layout_customization";
4
4
  import {
5
5
  resolveButtonPalette,
6
6
  type ButtonPaletteDefaults,
7
7
  type ButtonPaletteOverrides,
8
8
  type PasswordRequirementOptions,
9
- } from "hazo_auth/components/layouts/shared/config/layout_customization";
9
+ } from "../../shared/config/layout_customization";
10
10
 
11
11
  // section: field_identifiers
12
12
  export const MY_SETTINGS_FIELD_IDS = {
@@ -4,9 +4,9 @@
4
4
 
5
5
  // section: imports
6
6
  import { useState, useEffect, useCallback } from "react";
7
- import { use_auth_status, trigger_auth_status_refresh } from "hazo_auth/components/layouts/shared/hooks/use_auth_status";
7
+ import { use_auth_status, trigger_auth_status_refresh } from "../../shared/hooks/use_auth_status";
8
8
  import { toast } from "sonner";
9
- import type { PasswordRequirementOptions } from "hazo_auth/components/layouts/shared/config/layout_customization";
9
+ import type { PasswordRequirementOptions } from "../../shared/config/layout_customization";
10
10
 
11
11
  // section: types
12
12
  export type PasswordFields = {
@@ -3,24 +3,24 @@
3
3
  "use client";
4
4
 
5
5
  // section: imports
6
- import { Button } from "hazo_auth/components/ui/button";
7
- import { EditableField } from "hazo_auth/components/layouts/my_settings/components/editable_field";
8
- import { ProfilePictureDisplay } from "hazo_auth/components/layouts/my_settings/components/profile_picture_display";
9
- import { ProfilePictureDialog } from "hazo_auth/components/layouts/my_settings/components/profile_picture_dialog";
10
- import { UnauthorizedGuard } from "hazo_auth/components/layouts/shared/components/unauthorized_guard";
11
- import { use_my_settings } from "hazo_auth/components/layouts/my_settings/hooks/use_my_settings";
6
+ import { Button } from "../../ui/button";
7
+ import { EditableField } from "./components/editable_field";
8
+ import { ProfilePictureDisplay } from "./components/profile_picture_display";
9
+ import { ProfilePictureDialog } from "./components/profile_picture_dialog";
10
+ import { UnauthorizedGuard } from "../shared/components/unauthorized_guard";
11
+ import { use_my_settings } from "./hooks/use_my_settings";
12
12
  import {
13
13
  resolveMySettingsLabels,
14
14
  resolveMySettingsButtonPalette,
15
15
  type MySettingsLabelOverrides,
16
- } from "hazo_auth/components/layouts/my_settings/config/my_settings_field_config";
16
+ } from "./config/my_settings_field_config";
17
17
  import type {
18
18
  PasswordRequirementOptions,
19
19
  ButtonPaletteOverrides,
20
- } from "hazo_auth/components/layouts/shared/config/layout_customization";
20
+ } from "../shared/config/layout_customization";
21
21
  import { formatDistanceToNow } from "date-fns";
22
- import { PasswordField } from "hazo_auth/components/layouts/shared/components/password_field";
23
- import { FormFieldWrapper } from "hazo_auth/components/layouts/shared/components/form_field_wrapper";
22
+ import { PasswordField } from "../shared/components/password_field";
23
+ import { FormFieldWrapper } from "../shared/components/form_field_wrapper";
24
24
  import { Pencil, Trash2 } from "lucide-react";
25
25
 
26
26
  // section: types
@@ -1,6 +1,6 @@
1
1
  // file_description: register layout specific configuration helpers
2
2
  // section: imports
3
- import type { LayoutFieldMap, LayoutFieldMapOverrides } from "hazo_auth/components/layouts/shared/config/layout_customization";
3
+ import type { LayoutFieldMap, LayoutFieldMapOverrides } from "../../shared/config/layout_customization";
4
4
  import {
5
5
  resolveButtonPalette,
6
6
  resolveFieldDefinitions,
@@ -12,7 +12,7 @@ import {
12
12
  type LayoutLabelOverrides,
13
13
  type PasswordRequirementOptions,
14
14
  type PasswordRequirementOverrides,
15
- } from "hazo_auth/components/layouts/shared/config/layout_customization";
15
+ } from "../../shared/config/layout_customization";
16
16
 
17
17
  // section: field_identifiers
18
18
  export const REGISTER_FIELD_IDS = {
@@ -2,10 +2,10 @@
2
2
  // section: imports
3
3
  import { useCallback, useMemo, useState } from "react";
4
4
  import { toast } from "sonner";
5
- import type { LayoutDataClient } from "hazo_auth/components/layouts/shared/data/layout_data_client";
6
- import type { PasswordRequirementOptions, PasswordRequirementOverrides } from "hazo_auth/components/layouts/shared/config/layout_customization";
7
- import { REGISTER_FIELD_IDS, type RegisterFieldId } from "hazo_auth/components/layouts/register/config/register_field_config";
8
- import { validateEmail, validatePassword } from "hazo_auth/components/layouts/shared/utils/validation";
5
+ import type { LayoutDataClient } from "../../shared/data/layout_data_client";
6
+ import type { PasswordRequirementOptions, PasswordRequirementOverrides } from "../../shared/config/layout_customization";
7
+ import { REGISTER_FIELD_IDS, type RegisterFieldId } from "../config/register_field_config";
8
+ import { validateEmail, validatePassword } from "../../shared/utils/validation";
9
9
 
10
10
  // section: constants
11
11
  const PASSWORD_FIELDS: Array<RegisterFieldId> = [
@@ -4,31 +4,31 @@
4
4
 
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";
13
- import { AlreadyLoggedInGuard } from "hazo_auth/components/layouts/shared/components/already_logged_in_guard";
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
+ import { AlreadyLoggedInGuard } from "../shared/components/already_logged_in_guard";
14
14
  import {
15
15
  type ButtonPaletteOverrides,
16
16
  type LayoutFieldMapOverrides,
17
17
  type LayoutLabelOverrides,
18
18
  type PasswordRequirementOverrides,
19
- } from "hazo_auth/components/layouts/shared/config/layout_customization";
19
+ } from "../shared/config/layout_customization";
20
20
  import {
21
21
  REGISTER_FIELD_IDS,
22
22
  createRegisterFieldDefinitions,
23
23
  resolveRegisterButtonPalette,
24
24
  resolveRegisterLabels,
25
25
  resolveRegisterPasswordRequirements,
26
- } from "hazo_auth/components/layouts/register/config/register_field_config";
26
+ } from "./config/register_field_config";
27
27
  import {
28
28
  use_register_form,
29
29
  type UseRegisterFormResult,
30
- } from "hazo_auth/components/layouts/register/hooks/use_register_form";
31
- import { type LayoutDataClient } from "hazo_auth/components/layouts/shared/data/layout_data_client";
30
+ } from "./hooks/use_register_form";
31
+ import { type LayoutDataClient } from "../shared/data/layout_data_client";
32
32
 
33
33
  // section: types
34
34
  export type RegisterLayoutProps<TClient = unknown> = {
@@ -1,6 +1,6 @@
1
1
  // file_description: reset password layout specific configuration helpers
2
2
  // section: imports
3
- import type { LayoutFieldMap, LayoutFieldMapOverrides } from "hazo_auth/components/layouts/shared/config/layout_customization";
3
+ import type { LayoutFieldMap, LayoutFieldMapOverrides } from "../../shared/config/layout_customization";
4
4
  import {
5
5
  resolveButtonPalette,
6
6
  resolveFieldDefinitions,
@@ -12,7 +12,7 @@ import {
12
12
  type PasswordRequirementOptions,
13
13
  type PasswordRequirementOverrides,
14
14
  resolvePasswordRequirements,
15
- } from "hazo_auth/components/layouts/shared/config/layout_customization";
15
+ } from "../../shared/config/layout_customization";
16
16
 
17
17
  // section: field_identifiers
18
18
  export const RESET_PASSWORD_FIELD_IDS = {
@@ -3,10 +3,10 @@
3
3
  import { useCallback, useMemo, useState, useEffect } from "react";
4
4
  import { useSearchParams, useRouter } from "next/navigation";
5
5
  import { toast } from "sonner";
6
- import type { LayoutDataClient } from "hazo_auth/components/layouts/shared/data/layout_data_client";
7
- import type { PasswordRequirementOptions } from "hazo_auth/components/layouts/shared/config/layout_customization";
8
- import { RESET_PASSWORD_FIELD_IDS, type ResetPasswordFieldId } from "hazo_auth/components/layouts/reset_password/config/reset_password_field_config";
9
- import { validatePassword } from "hazo_auth/components/layouts/shared/utils/validation";
6
+ import type { LayoutDataClient } from "../../shared/data/layout_data_client";
7
+ import type { PasswordRequirementOptions } from "../../shared/config/layout_customization";
8
+ import { RESET_PASSWORD_FIELD_IDS, type ResetPasswordFieldId } from "../config/reset_password_field_config";
9
+ import { validatePassword } from "../../shared/utils/validation";
10
10
 
11
11
  // section: constants
12
12
  const PASSWORD_FIELDS: Array<ResetPasswordFieldId> = [
@@ -3,31 +3,31 @@
3
3
  "use client";
4
4
 
5
5
  // section: imports
6
- import { PasswordField } from "hazo_auth/components/layouts/shared/components/password_field";
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";
6
+ import { PasswordField } from "../shared/components/password_field";
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
11
  import { CheckCircle, XCircle, Loader2 } from "lucide-react";
12
- import { AlreadyLoggedInGuard } from "hazo_auth/components/layouts/shared/components/already_logged_in_guard";
12
+ import { AlreadyLoggedInGuard } from "../shared/components/already_logged_in_guard";
13
13
  import {
14
14
  type ButtonPaletteOverrides,
15
15
  type LayoutFieldMapOverrides,
16
16
  type LayoutLabelOverrides,
17
17
  type PasswordRequirementOverrides,
18
- } from "hazo_auth/components/layouts/shared/config/layout_customization";
18
+ } from "../shared/config/layout_customization";
19
19
  import {
20
20
  RESET_PASSWORD_FIELD_IDS,
21
21
  createResetPasswordFieldDefinitions,
22
22
  resolveResetPasswordButtonPalette,
23
23
  resolveResetPasswordLabels,
24
24
  resolveResetPasswordPasswordRequirements,
25
- } from "hazo_auth/components/layouts/reset_password/config/reset_password_field_config";
25
+ } from "./config/reset_password_field_config";
26
26
  import {
27
27
  use_reset_password_form,
28
28
  type UseResetPasswordFormResult,
29
- } from "hazo_auth/components/layouts/reset_password/hooks/use_reset_password_form";
30
- import { type LayoutDataClient } from "hazo_auth/components/layouts/shared/data/layout_data_client";
29
+ } from "./hooks/use_reset_password_form";
30
+ import { type LayoutDataClient } from "../shared/data/layout_data_client";
31
31
  import Link from "next/link";
32
32
 
33
33
  // section: types
@@ -3,10 +3,10 @@
3
3
  "use client";
4
4
 
5
5
  // section: imports
6
- import { use_auth_status } from "hazo_auth/components/layouts/shared/hooks/use_auth_status";
7
- import { LogoutButton } from "hazo_auth/components/layouts/shared/components/logout_button";
8
- import { Button } from "hazo_auth/components/ui/button";
9
- import { TwoColumnAuthLayout } from "hazo_auth/components/layouts/shared/components/two_column_auth_layout";
6
+ import { use_auth_status } from "../hooks/use_auth_status";
7
+ import { LogoutButton } from "./logout_button";
8
+ import { Button } from "../../../ui/button";
9
+ import { TwoColumnAuthLayout } from "./two_column_auth_layout";
10
10
  import { useRouter } from "next/navigation";
11
11
  import { Home } from "lucide-react";
12
12
 
@@ -1,9 +1,9 @@
1
1
  // file_description: server component that chooses between sidebar shell and standalone shell
2
2
  // section: imports
3
3
  import type { ReactNode } from "react";
4
- import { SidebarLayoutWrapper } from "hazo_auth/components/layouts/shared/components/sidebar_layout_wrapper";
5
- import { StandaloneLayoutWrapper } from "hazo_auth/components/layouts/shared/components/standalone_layout_wrapper";
6
- import { get_ui_shell_config } from "hazo_auth/lib/ui_shell_config.server";
4
+ import { SidebarLayoutWrapper } from "./sidebar_layout_wrapper";
5
+ import { StandaloneLayoutWrapper } from "./standalone_layout_wrapper";
6
+ import { get_ui_shell_config } from "../../../../lib/ui_shell_config.server";
7
7
 
8
8
  // section: types
9
9
  type AuthPageShellProps = {
@@ -1,8 +1,8 @@
1
1
  // file_description: reusable form action buttons component with submit (positive, left) and cancel (negative, right) buttons
2
2
  // section: imports
3
3
  import { CircleCheckBig, CircleX } from "lucide-react";
4
- import { Button } from "hazo_auth/components/ui/button";
5
- import type { ButtonPaletteDefaults } from "hazo_auth/components/layouts/shared/config/layout_customization";
4
+ import { Button } from "../../../ui/button";
5
+ import type { ButtonPaletteDefaults } from "../config/layout_customization";
6
6
 
7
7
  // section: types
8
8
  type FormActionButtonsProps = {
@@ -1,7 +1,7 @@
1
1
  // file_description: reusable wrapper component for form fields that standardizes label, input, and error message structure
2
2
  // section: imports
3
- import { Label } from "hazo_auth/components/ui/label";
4
- import { FieldErrorMessage } from "hazo_auth/components/layouts/shared/components/field_error_message";
3
+ import { Label } from "../../../ui/label";
4
+ import { FieldErrorMessage } from "./field_error_message";
5
5
 
6
6
  // section: types
7
7
  type FormFieldWrapperProps = {
@@ -5,10 +5,10 @@
5
5
  // section: imports
6
6
  import { useState } from "react";
7
7
  import { useRouter } from "next/navigation";
8
- import { Button } from "hazo_auth/components/ui/button";
8
+ import { Button } from "../../../ui/button";
9
9
  import { LogOut } from "lucide-react";
10
10
  import { toast } from "sonner";
11
- import { trigger_auth_status_refresh } from "hazo_auth/components/layouts/shared/hooks/use_auth_status";
11
+ import { trigger_auth_status_refresh } from "../hooks/use_auth_status";
12
12
 
13
13
  // section: types
14
14
  export type LogoutButtonProps = {
@@ -4,9 +4,9 @@
4
4
 
5
5
  // section: imports
6
6
  import { Eye, EyeOff } from "lucide-react";
7
- import { Button } from "hazo_auth/components/ui/button";
8
- import { Input } from "hazo_auth/components/ui/input";
9
- import { FieldErrorMessage } from "hazo_auth/components/layouts/shared/components/field_error_message";
7
+ import { Button } from "../../../ui/button";
8
+ import { Input } from "../../../ui/input";
9
+ import { FieldErrorMessage } from "./field_error_message";
10
10
 
11
11
  // section: types
12
12
  export type PasswordFieldProps = {
@@ -6,20 +6,20 @@
6
6
  import { useState, useMemo } from "react";
7
7
  import { useRouter } from "next/navigation";
8
8
  import Link from "next/link";
9
- import { Avatar, AvatarImage, AvatarFallback } from "hazo_auth/components/ui/avatar";
10
- import { Button } from "hazo_auth/components/ui/button";
9
+ import { Avatar, AvatarImage, AvatarFallback } from "../../../ui/avatar";
10
+ import { Button } from "../../../ui/button";
11
11
  import {
12
12
  DropdownMenu,
13
13
  DropdownMenuContent,
14
14
  DropdownMenuItem,
15
15
  DropdownMenuSeparator,
16
16
  DropdownMenuTrigger,
17
- } from "hazo_auth/components/ui/dropdown-menu";
17
+ } from "../../../ui/dropdown-menu";
18
18
  import { Settings, LogOut } from "lucide-react";
19
19
  import { toast } from "sonner";
20
- import { use_auth_status, trigger_auth_status_refresh } from "hazo_auth/components/layouts/shared/hooks/use_auth_status";
20
+ import { use_auth_status, trigger_auth_status_refresh } from "../hooks/use_auth_status";
21
21
  // Type-only import from server file is safe (types are erased at runtime)
22
- import type { ProfilePicMenuMenuItem } from "hazo_auth/lib/profile_pic_menu_config.server";
22
+ import type { ProfilePicMenuMenuItem } from "../../../../lib/profile_pic_menu_config.server";
23
23
 
24
24
  // section: types
25
25
  export type ProfilePicMenuProps = {
@@ -1,7 +1,7 @@
1
1
  // file_description: server wrapper component that loads profile picture menu configuration and passes to client component
2
2
  // section: imports
3
- import { ProfilePicMenu } from "hazo_auth/components/layouts/shared/components/profile_pic_menu";
4
- import { get_profile_pic_menu_config } from "hazo_auth/lib/profile_pic_menu_config.server";
3
+ import { ProfilePicMenu } from "./profile_pic_menu";
4
+ import { get_profile_pic_menu_config } from "../../../../lib/profile_pic_menu_config.server";
5
5
 
6
6
  // section: types
7
7
  export type ProfilePicMenuWrapperProps = {
@@ -16,10 +16,10 @@ import {
16
16
  SidebarProvider,
17
17
  SidebarTrigger,
18
18
  SidebarInset,
19
- } from "hazo_auth/components/ui/sidebar";
19
+ } from "../../../ui/sidebar";
20
20
  import { LogIn, UserPlus, BookOpen, ExternalLink, Database, KeyRound, MailCheck, Key, Settings, User } from "lucide-react";
21
- import { use_auth_status } from "hazo_auth/components/layouts/shared/hooks/use_auth_status";
22
- import { ProfilePicMenu } from "hazo_auth/components/layouts/shared/components/profile_pic_menu";
21
+ import { use_auth_status } from "../hooks/use_auth_status";
22
+ import { ProfilePicMenu } from "./profile_pic_menu";
23
23
 
24
24
  // section: types
25
25
  type SidebarLayoutWrapperProps = {
@@ -3,7 +3,7 @@
3
3
  "use client";
4
4
 
5
5
  // section: imports
6
- import { cn } from "hazo_auth/lib/utils";
6
+ import { cn } from "../../../../lib/utils";
7
7
 
8
8
  // section: types
9
9
  export type StandaloneLayoutWrapperProps = {
@@ -1,6 +1,6 @@
1
1
  // file_description: reusable two-column authentication layout shell that combines visual panel and form content
2
2
  // section: imports
3
- import { VisualPanel } from "hazo_auth/components/layouts/shared/components/visual_panel";
3
+ import { VisualPanel } from "./visual_panel";
4
4
 
5
5
  // section: types
6
6
  type TwoColumnAuthLayoutProps = {
@@ -3,8 +3,8 @@
3
3
  "use client";
4
4
 
5
5
  // section: imports
6
- import { use_auth_status } from "hazo_auth/components/layouts/shared/hooks/use_auth_status";
7
- import { Button } from "hazo_auth/components/ui/button";
6
+ import { use_auth_status } from "../hooks/use_auth_status";
7
+ import { Button } from "../../../ui/button";
8
8
  import { useRouter } from "next/navigation";
9
9
  import { LogIn } from "lucide-react";
10
10
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  // section: imports
6
6
  import { useState, useEffect, useCallback } from "react";
7
- import type { HazoAuthResult } from "hazo_auth/lib/auth/auth_types";
7
+ import type { HazoAuthResult } from "../../../../lib/auth/auth_types";
8
8
 
9
9
  // section: types
10
10
 
@@ -1,6 +1,6 @@
1
1
  // file_description: provide shared validation utilities for email and password fields across layout components
2
2
  // section: imports
3
- import type { PasswordRequirementOptions } from "hazo_auth/components/layouts/shared/config/layout_customization";
3
+ import type { PasswordRequirementOptions } from "../config/layout_customization";
4
4
 
5
5
  // section: constants
6
6
  const EMAIL_PATTERN = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
@@ -4,8 +4,8 @@
4
4
 
5
5
  // section: imports
6
6
  import { useState, useEffect, useMemo } from "react";
7
- import { Button } from "hazo_auth/components/ui/button";
8
- import { Checkbox } from "hazo_auth/components/ui/checkbox";
7
+ import { Button } from "../../../ui/button";
8
+ import { Checkbox } from "../../../ui/checkbox";
9
9
  import {
10
10
  Table,
11
11
  TableBody,
@@ -13,7 +13,7 @@ import {
13
13
  TableHead,
14
14
  TableHeader,
15
15
  TableRow,
16
- } from "hazo_auth/components/ui/table";
16
+ } from "../../../ui/table";
17
17
  import {
18
18
  Dialog,
19
19
  DialogContent,
@@ -21,12 +21,12 @@ import {
21
21
  DialogFooter,
22
22
  DialogHeader,
23
23
  DialogTitle,
24
- } from "hazo_auth/components/ui/dialog";
25
- import { Input } from "hazo_auth/components/ui/input";
26
- import { Label } from "hazo_auth/components/ui/label";
24
+ } from "../../../ui/dialog";
25
+ import { Input } from "../../../ui/input";
26
+ import { Label } from "../../../ui/label";
27
27
  import { Plus, Save, Loader2, CircleCheck, CircleX } from "lucide-react";
28
28
  import { toast } from "sonner";
29
- import { Avatar, AvatarImage, AvatarFallback } from "hazo_auth/components/ui/avatar";
29
+ import { Avatar, AvatarImage, AvatarFallback } from "../../../ui/avatar";
30
30
 
31
31
  // section: types
32
32
  export type RolesMatrixData = {
@@ -4,8 +4,8 @@
4
4
 
5
5
  // section: imports
6
6
  import { useState, useEffect, useCallback } from "react";
7
- import { Tabs, TabsContent, TabsList, TabsTrigger } from "hazo_auth/components/ui/tabs";
8
- import { use_hazo_auth } from "hazo_auth/components/layouts/shared/hooks/use_hazo_auth";
7
+ import { Tabs, TabsContent, TabsList, TabsTrigger } from "../../ui/tabs";
8
+ import { use_hazo_auth } from "../shared/hooks/use_hazo_auth";
9
9
  import {
10
10
  Table,
11
11
  TableBody,
@@ -13,9 +13,9 @@ import {
13
13
  TableHead,
14
14
  TableHeader,
15
15
  TableRow,
16
- } from "hazo_auth/components/ui/table";
17
- import { Button } from "hazo_auth/components/ui/button";
18
- import { Avatar, AvatarImage, AvatarFallback } from "hazo_auth/components/ui/avatar";
16
+ } from "../../ui/table";
17
+ import { Button } from "../../ui/button";
18
+ import { Avatar, AvatarImage, AvatarFallback } from "../../ui/avatar";
19
19
  import {
20
20
  AlertDialog,
21
21
  AlertDialogAction,
@@ -25,7 +25,7 @@ import {
25
25
  AlertDialogFooter,
26
26
  AlertDialogHeader,
27
27
  AlertDialogTitle,
28
- } from "hazo_auth/components/ui/alert-dialog";
28
+ } from "../../ui/alert-dialog";
29
29
  import {
30
30
  Dialog,
31
31
  DialogContent,
@@ -33,13 +33,13 @@ import {
33
33
  DialogFooter,
34
34
  DialogHeader,
35
35
  DialogTitle,
36
- } from "hazo_auth/components/ui/dialog";
37
- import { Input } from "hazo_auth/components/ui/input";
38
- import { Label } from "hazo_auth/components/ui/label";
39
- import { RolesMatrix } from "hazo_auth/components/layouts/user_management/components/roles_matrix";
36
+ } from "../../ui/dialog";
37
+ import { Input } from "../../ui/input";
38
+ import { Label } from "../../ui/label";
39
+ import { RolesMatrix } from "./components/roles_matrix";
40
40
  import { UserX, KeyRound, Edit, Trash2, Loader2, CircleCheck, CircleX, Plus, UserPlus } from "lucide-react";
41
41
  import { toast } from "sonner";
42
- import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from "hazo_auth/components/ui/tooltip";
42
+ import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from "../../ui/tooltip";
43
43
 
44
44
  // section: types
45
45
  export type UserManagementLayoutProps = {
@@ -3,8 +3,8 @@
3
3
  import * as React from "react"
4
4
  import * as AlertDialogPrimitive from "@radix-ui/react-alert-dialog"
5
5
 
6
- import { cn } from "hazo_auth/lib/utils"
7
- import { buttonVariants } from "hazo_auth/components/ui/button"
6
+ import { cn } from "../../lib/utils"
7
+ import { buttonVariants } from "./button"
8
8
 
9
9
  const AlertDialog = AlertDialogPrimitive.Root
10
10
 
@@ -3,7 +3,7 @@
3
3
  import * as React from "react"
4
4
  import * as AvatarPrimitive from "@radix-ui/react-avatar"
5
5
 
6
- import { cn } from "hazo_auth/lib/utils"
6
+ import { cn } from "../../lib/utils"
7
7
 
8
8
  const Avatar = React.forwardRef<
9
9
  React.ElementRef<typeof AvatarPrimitive.Root>,
@@ -2,7 +2,7 @@ import * as React from "react"
2
2
  import { Slot } from "@radix-ui/react-slot"
3
3
  import { cva, type VariantProps } from "class-variance-authority"
4
4
 
5
- import { cn } from "hazo_auth/lib/utils"
5
+ import { cn } from "../../lib/utils"
6
6
 
7
7
  const buttonVariants = cva(
8
8
  "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",