hazo_auth 10.9.0 → 10.14.0

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 (60) hide show
  1. package/README.md +52 -0
  2. package/cli-src/cli/generate.ts +1 -0
  3. package/cli-src/lib/auth/hazo_get_tenant_auth.server.ts +12 -3
  4. package/cli-src/lib/auth/index.ts +2 -0
  5. package/cli-src/lib/cookies_config.server.ts +50 -0
  6. package/cli-src/lib/my_settings_config.server.ts +5 -1
  7. package/cli-src/lib/otp_config.server.ts +11 -0
  8. package/cli-src/lib/services/account_deletion_service.ts +67 -0
  9. package/cli-src/lib/services/index.ts +1 -0
  10. package/config/hazo_auth_config.example.ini +33 -19
  11. package/dist/cli/generate.d.ts.map +1 -1
  12. package/dist/cli/generate.js +1 -0
  13. package/dist/components/layouts/my_settings/components/danger_zone_section.d.ts +34 -0
  14. package/dist/components/layouts/my_settings/components/danger_zone_section.d.ts.map +1 -0
  15. package/dist/components/layouts/my_settings/components/danger_zone_section.js +93 -0
  16. package/dist/components/layouts/my_settings/index.d.ts +6 -1
  17. package/dist/components/layouts/my_settings/index.d.ts.map +1 -1
  18. package/dist/components/layouts/my_settings/index.js +3 -2
  19. package/dist/components/ui/button.d.ts +1 -1
  20. package/dist/hooks.d.ts +5 -0
  21. package/dist/hooks.d.ts.map +1 -0
  22. package/dist/hooks.js +29 -0
  23. package/dist/lib/auth/hazo_get_tenant_auth.server.d.ts +10 -0
  24. package/dist/lib/auth/hazo_get_tenant_auth.server.d.ts.map +1 -1
  25. package/dist/lib/auth/hazo_get_tenant_auth.server.js +11 -3
  26. package/dist/lib/auth/index.d.ts +1 -1
  27. package/dist/lib/auth/index.d.ts.map +1 -1
  28. package/dist/lib/auth/index.js +1 -1
  29. package/dist/lib/cookies_config.server.d.ts +20 -0
  30. package/dist/lib/cookies_config.server.d.ts.map +1 -1
  31. package/dist/lib/cookies_config.server.js +43 -0
  32. package/dist/lib/my_settings_config.server.d.ts +2 -0
  33. package/dist/lib/my_settings_config.server.d.ts.map +1 -1
  34. package/dist/lib/my_settings_config.server.js +3 -1
  35. package/dist/lib/otp_config.server.d.ts +6 -0
  36. package/dist/lib/otp_config.server.d.ts.map +1 -1
  37. package/dist/lib/otp_config.server.js +7 -0
  38. package/dist/lib/services/account_deletion_service.d.ts +22 -0
  39. package/dist/lib/services/account_deletion_service.d.ts.map +1 -0
  40. package/dist/lib/services/account_deletion_service.js +55 -0
  41. package/dist/lib/services/index.d.ts +1 -0
  42. package/dist/lib/services/index.d.ts.map +1 -1
  43. package/dist/lib/services/index.js +1 -0
  44. package/dist/page_components/my_settings.d.ts +6 -1
  45. package/dist/page_components/my_settings.d.ts.map +1 -1
  46. package/dist/page_components/my_settings.js +2 -2
  47. package/dist/server/routes/delete_account.d.ts +17 -0
  48. package/dist/server/routes/delete_account.d.ts.map +1 -0
  49. package/dist/server/routes/delete_account.js +107 -0
  50. package/dist/server/routes/index.d.ts +1 -0
  51. package/dist/server/routes/index.d.ts.map +1 -1
  52. package/dist/server/routes/index.js +1 -0
  53. package/dist/server/routes/logout.d.ts.map +1 -1
  54. package/dist/server/routes/logout.js +4 -40
  55. package/dist/server_pages/my_settings.d.ts.map +1 -1
  56. package/dist/server_pages/my_settings.js +1 -1
  57. package/dist/server_pages/otp.d.ts +12 -1
  58. package/dist/server_pages/otp.d.ts.map +1 -1
  59. package/dist/server_pages/otp.js +12 -2
  60. package/package.json +35 -89
@@ -17,6 +17,7 @@ export { POST as resendVerificationPOST } from "./resend_verification.js";
17
17
  export { PATCH as updateUserPATCH } from "./update_user.js";
18
18
  export { POST as uploadProfilePicturePOST } from "./upload_profile_picture.js";
19
19
  export { DELETE as removeProfilePictureDELETE } from "./remove_profile_picture.js";
20
+ export { DELETE as deleteAccountDELETE } from "./delete_account.js";
20
21
  export { GET as libraryPhotosGET } from "./library_photos.js";
21
22
  export { GET as libraryPhotoGET } from "./library_photo.js";
22
23
  export { GET as profilePictureFilenameGET } from "./profile_picture_filename.js";
@@ -1 +1 @@
1
- {"version":3,"file":"logout.d.ts","sourceRoot":"","sources":["../../../src/server/routes/logout.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAQxD,wBAAsB,IAAI,CAAC,OAAO,EAAE,WAAW;;;;;IA8G9C"}
1
+ {"version":3,"file":"logout.d.ts","sourceRoot":"","sources":["../../../src/server/routes/logout.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAQxD,wBAAsB,IAAI,CAAC,OAAO,EAAE,WAAW;;;;;IA0E9C"}
@@ -5,7 +5,7 @@ import { create_app_logger } from "../../lib/app_logger.js";
5
5
  import { get_filename, get_line_number } from "../../lib/utils/api_route_helpers.js";
6
6
  import { get_auth_cache } from "../../lib/auth/auth_cache.js";
7
7
  import { get_auth_utility_config } from "../../lib/auth_utility_config.server.js";
8
- import { get_cookie_name, get_cookie_options, BASE_COOKIE_NAMES } from "../../lib/cookies_config.server.js";
8
+ import { get_cookie_name, BASE_COOKIE_NAMES, clear_session_cookies, clear_nextauth_cookies } from "../../lib/cookies_config.server.js";
9
9
  // section: api_handler
10
10
  export async function POST(request) {
11
11
  var _a, _b;
@@ -19,46 +19,10 @@ export async function POST(request) {
19
19
  success: true,
20
20
  message: "Logout successful",
21
21
  }, { status: 200 });
22
- // Clear cookies by setting them to expire in the past (with configurable domain)
23
- const clear_cookie_options = get_cookie_options({
24
- expires: new Date(0),
25
- path: "/",
26
- });
27
- response.cookies.set(get_cookie_name(BASE_COOKIE_NAMES.USER_EMAIL), "", clear_cookie_options);
28
- response.cookies.set(get_cookie_name(BASE_COOKIE_NAMES.USER_ID), "", clear_cookie_options);
29
- // Clear JWT session token cookie
30
- response.cookies.set(get_cookie_name(BASE_COOKIE_NAMES.SESSION), "", clear_cookie_options);
22
+ // Clear the three core hazo_auth session cookies (USER_EMAIL, USER_ID, SESSION)
23
+ clear_session_cookies(response);
31
24
  // Clear NextAuth session cookies (for OAuth users)
32
- response.cookies.set("next-auth.session-token", "", {
33
- expires: new Date(0),
34
- path: "/",
35
- });
36
- response.cookies.set("next-auth.csrf-token", "", {
37
- expires: new Date(0),
38
- path: "/",
39
- });
40
- response.cookies.set("next-auth.callback-url", "", {
41
- expires: new Date(0),
42
- path: "/",
43
- });
44
- // Also clear secure cookie variants (used in production with HTTPS)
45
- response.cookies.set("__Secure-next-auth.session-token", "", {
46
- expires: new Date(0),
47
- path: "/",
48
- });
49
- response.cookies.set("__Secure-next-auth.csrf-token", "", {
50
- expires: new Date(0),
51
- path: "/",
52
- });
53
- response.cookies.set("__Secure-next-auth.callback-url", "", {
54
- expires: new Date(0),
55
- path: "/",
56
- });
57
- // Host-prefixed variants (for some NextAuth configurations)
58
- response.cookies.set("__Host-next-auth.csrf-token", "", {
59
- expires: new Date(0),
60
- path: "/",
61
- });
25
+ clear_nextauth_cookies(response);
62
26
  // Invalidate user cache
63
27
  if (user_id) {
64
28
  try {
@@ -1 +1 @@
1
- {"version":3,"file":"my_settings.d.ts","sourceRoot":"","sources":["../../src/server_pages/my_settings.tsx"],"names":[],"mappings":"AAEA,OAAO,aAAa,CAAC;AAQrB,MAAM,MAAM,mBAAmB,GAAG;IAChC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAGF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,EACrC,SAAS,GACV,GAAE,mBAAwB,+BAgC1B;AAGD,OAAO,EAAE,cAAc,EAAE,CAAC"}
1
+ {"version":3,"file":"my_settings.d.ts","sourceRoot":"","sources":["../../src/server_pages/my_settings.tsx"],"names":[],"mappings":"AAEA,OAAO,aAAa,CAAC;AAQrB,MAAM,MAAM,mBAAmB,GAAG;IAChC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAGF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,EACrC,SAAS,GACV,GAAE,mBAAwB,+BAiC1B;AAGD,OAAO,EAAE,cAAc,EAAE,CAAC"}
@@ -56,7 +56,7 @@ export default function MySettingsPage({ className, } = {}) {
56
56
  // Load configuration from INI file (with defaults)
57
57
  const config = get_my_settings_config();
58
58
  // Render layout with all server-initialized configuration, wrapped in AuthPageShell for navbar support
59
- return (_jsx(AuthPageShell, { children: _jsx(MySettingsLayout, { className: className, password_requirements: config.passwordRequirements, profilePicture: config.profilePicture, userFields: config.userFields, unauthorizedMessage: config.unauthorizedMessage, loginButtonLabel: config.loginButtonLabel, loginPath: config.loginPath, heading: config.heading, subHeading: config.subHeading, profilePhotoLabel: config.profilePhotoLabel, profilePhotoRecommendation: config.profilePhotoRecommendation, uploadPhotoButtonLabel: config.uploadPhotoButtonLabel, removePhotoButtonLabel: config.removePhotoButtonLabel, profileInformationLabel: config.profileInformationLabel, passwordLabel: config.passwordLabel, currentPasswordLabel: config.currentPasswordLabel, newPasswordLabel: config.newPasswordLabel, confirmPasswordLabel: config.confirmPasswordLabel, messages: config.messages, uiSizes: config.uiSizes, fileTypes: config.fileTypes }) }));
59
+ return (_jsx(AuthPageShell, { children: _jsx(MySettingsLayout, { className: className, password_requirements: config.passwordRequirements, profilePicture: config.profilePicture, userFields: config.userFields, unauthorizedMessage: config.unauthorizedMessage, loginButtonLabel: config.loginButtonLabel, loginPath: config.loginPath, enableAccountDeletion: config.enableAccountDeletion, heading: config.heading, subHeading: config.subHeading, profilePhotoLabel: config.profilePhotoLabel, profilePhotoRecommendation: config.profilePhotoRecommendation, uploadPhotoButtonLabel: config.uploadPhotoButtonLabel, removePhotoButtonLabel: config.removePhotoButtonLabel, profileInformationLabel: config.profileInformationLabel, passwordLabel: config.passwordLabel, currentPasswordLabel: config.currentPasswordLabel, newPasswordLabel: config.newPasswordLabel, confirmPasswordLabel: config.confirmPasswordLabel, messages: config.messages, uiSizes: config.uiSizes, fileTypes: config.fileTypes }) }));
60
60
  }
61
61
  // Named export for direct imports
62
62
  export { MySettingsPage };
@@ -29,6 +29,17 @@ export type OTPPageProps = {
29
29
  * with the brand panel on the left.
30
30
  */
31
31
  theme?: import("../theme/theme_types").HazoAuthTheme;
32
+ /**
33
+ * Image shown in the visual panel beside the form.
34
+ * Falls back to `[hazo_auth__otp] otp_image_src` in hazo_auth_config.ini,
35
+ * then to the packaged default login illustration.
36
+ */
37
+ image_src?: string;
38
+ /**
39
+ * Alt text for the visual panel image.
40
+ * Falls back to `[hazo_auth__otp] otp_image_alt`, then to a packaged default.
41
+ */
42
+ image_alt?: string;
32
43
  };
33
44
  /**
34
45
  * Zero-config OTPPage server component
@@ -51,6 +62,6 @@ export type OTPPageProps = {
51
62
  * @param props - Optional searchParams and title
52
63
  * @returns Server-rendered OTP sign-in page
53
64
  */
54
- export default function OTPPage({ searchParams, title, subtitle, ctaText, theme, }?: OTPPageProps): Promise<React.ReactElement>;
65
+ export default function OTPPage({ searchParams, title, subtitle, ctaText, theme, image_src, image_alt, }?: OTPPageProps): Promise<React.ReactElement>;
55
66
  export { OTPPage };
56
67
  //# sourceMappingURL=otp.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"otp.d.ts","sourceRoot":"","sources":["../../src/server_pages/otp.tsx"],"names":[],"mappings":"AAEA,OAAO,aAAa,CAAC;AAGrB,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,MAAM,MAAM,YAAY,GAAG;IACzB;;;OAGG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;QAAE,QAAQ,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,GAAG;QAAE,QAAQ,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IAEtE;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;;;OAIG;IACH,KAAK,CAAC,EAAE,OAAO,sBAAsB,EAAE,aAAa,CAAC;CACtD,CAAC;AAGF;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAA8B,OAAO,CAAC,EACpC,YAAY,EACZ,KAAK,EACL,QAAQ,EACR,OAAO,EACP,KAAK,GACN,GAAE,YAAiB,GAAG,OAAO,CAAC,KAAK,CAAC,YAAY,CAAC,CAyBjD;AAGD,OAAO,EAAE,OAAO,EAAE,CAAC"}
1
+ {"version":3,"file":"otp.d.ts","sourceRoot":"","sources":["../../src/server_pages/otp.tsx"],"names":[],"mappings":"AAEA,OAAO,aAAa,CAAC;AAGrB,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAO/B,MAAM,MAAM,YAAY,GAAG;IACzB;;;OAGG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;QAAE,QAAQ,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,GAAG;QAAE,QAAQ,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IAEtE;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;;;OAIG;IACH,KAAK,CAAC,EAAE,OAAO,sBAAsB,EAAE,aAAa,CAAC;IAErD;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAGF;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAA8B,OAAO,CAAC,EACpC,YAAY,EACZ,KAAK,EACL,QAAQ,EACR,OAAO,EACP,KAAK,EACL,SAAS,EACT,SAAS,GACV,GAAE,YAAiB,GAAG,OAAO,CAAC,KAAK,CAAC,YAAY,CAAC,CAqCjD;AAGD,OAAO,EAAE,OAAO,EAAE,CAAC"}
@@ -5,6 +5,7 @@ import "server-only";
5
5
  import { OTPLayout } from "../components/layouts/otp/index.js";
6
6
  import { AuthPageShell } from "../components/layouts/shared/components/auth_page_shell.js";
7
7
  import { DEFAULT_STRINGS, readStrings } from "../strings.js";
8
+ import { get_otp_config } from "../lib/otp_config.server.js";
8
9
  // section: component
9
10
  /**
10
11
  * Zero-config OTPPage server component
@@ -27,7 +28,7 @@ import { DEFAULT_STRINGS, readStrings } from "../strings.js";
27
28
  * @param props - Optional searchParams and title
28
29
  * @returns Server-rendered OTP sign-in page
29
30
  */
30
- export default async function OTPPage({ searchParams, title, subtitle, ctaText, theme, } = {}) {
31
+ export default async function OTPPage({ searchParams, title, subtitle, ctaText, theme, image_src, image_alt, } = {}) {
31
32
  var _a, _b, _c, _d;
32
33
  const params = searchParams instanceof Promise
33
34
  ? await searchParams
@@ -39,7 +40,16 @@ export default async function OTPPage({ searchParams, title, subtitle, ctaText,
39
40
  const resolved_title = (_b = title !== null && title !== void 0 ? title : otp_strings.title) !== null && _b !== void 0 ? _b : DEFAULT_STRINGS.otp.title;
40
41
  const resolved_subtitle = (_c = subtitle !== null && subtitle !== void 0 ? subtitle : otp_strings.subtitle) !== null && _c !== void 0 ? _c : DEFAULT_STRINGS.otp.subtitle;
41
42
  const resolved_cta = (_d = ctaText !== null && ctaText !== void 0 ? ctaText : otp_strings.ctaText) !== null && _d !== void 0 ? _d : DEFAULT_STRINGS.otp.ctaText;
42
- return (_jsx(AuthPageShell, { children: _jsx(OTPLayout, { redirect_url: redirect_url, title: resolved_title, subtitle: resolved_subtitle, ctaText: resolved_cta, theme: theme }) }));
43
+ // Resolve the visual-panel image: prop > [hazo_auth__otp] config > default.
44
+ // Without this the OTPLayout default (/hazo_auth/images/login_default.jpg)
45
+ // was unreachable from consuming apps, so any app that serves its auth
46
+ // images from somewhere else — e.g. the packaged /api/hazo_auth/assets/
47
+ // route rather than a copied-out public/ directory — rendered this page with
48
+ // an empty visual panel and a 404 in the console.
49
+ const otp_config = get_otp_config();
50
+ const resolved_image_src = image_src !== null && image_src !== void 0 ? image_src : otp_config.image_src;
51
+ const resolved_image_alt = image_alt !== null && image_alt !== void 0 ? image_alt : otp_config.image_alt;
52
+ return (_jsx(AuthPageShell, { children: _jsx(OTPLayout, { redirect_url: redirect_url, title: resolved_title, subtitle: resolved_subtitle, ctaText: resolved_cta, theme: theme, image_src: resolved_image_src, image_alt: resolved_image_alt }) }));
43
53
  }
44
54
  // Named export for direct imports
45
55
  export { OTPPage };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hazo_auth",
3
- "version": "10.9.0",
3
+ "version": "10.14.0",
4
4
  "description": "Zero-config authentication UI components for Next.js with RBAC, OAuth, scope-based multi-tenancy, and invitations",
5
5
  "keywords": [
6
6
  "authentication",
@@ -41,6 +41,10 @@
41
41
  "types": "./dist/client.d.ts",
42
42
  "import": "./dist/client.js"
43
43
  },
44
+ "./hooks": {
45
+ "types": "./dist/hooks.d.ts",
46
+ "import": "./dist/hooks.js"
47
+ },
44
48
  "./server-lib": {
45
49
  "types": "./dist/server-lib.d.ts",
46
50
  "import": "./dist/server-lib.js"
@@ -220,6 +224,20 @@
220
224
  "test:watch": "cross-env NODE_ENV=test jest --watch"
221
225
  },
222
226
  "dependencies": {
227
+ "@radix-ui/react-accordion": "^1.2.0",
228
+ "@radix-ui/react-alert-dialog": "^1.1.0",
229
+ "@radix-ui/react-avatar": "^1.1.0",
230
+ "@radix-ui/react-checkbox": "^1.3.0",
231
+ "@radix-ui/react-dialog": "^1.1.0",
232
+ "@radix-ui/react-dropdown-menu": "^2.1.0",
233
+ "@radix-ui/react-hover-card": "^1.1.0",
234
+ "@radix-ui/react-label": "^2.1.0",
235
+ "@radix-ui/react-select": "^2.2.0",
236
+ "@radix-ui/react-separator": "^1.1.0",
237
+ "@radix-ui/react-slot": "^1.2.0",
238
+ "@radix-ui/react-switch": "^1.2.0",
239
+ "@radix-ui/react-tabs": "^1.1.0",
240
+ "@radix-ui/react-tooltip": "^1.2.0",
223
241
  "axios": "^1.13.2",
224
242
  "browser-image-compression": "^2.0.2",
225
243
  "class-variance-authority": "^0.7.1",
@@ -227,11 +245,15 @@
227
245
  "date-fns": "^4.1.0",
228
246
  "gravatar-url": "^4.0.1",
229
247
  "ini": "^6.0.0",
248
+ "input-otp": "^1.4.0",
230
249
  "jose": "^5.9.6",
231
250
  "jsonwebtoken": "^9.0.2",
251
+ "lucide-react": "^0.553.0",
232
252
  "mime-types": "^3.0.1",
253
+ "next-themes": "^0.4.0",
233
254
  "react-markdown": "^10.1.0",
234
255
  "server-only": "^0.0.1",
256
+ "sonner": "^2.0.7",
235
257
  "tailwind-merge": "^3.5.0",
236
258
  "tw-animate-css": "^1.4.0",
237
259
  "zod": "^4.1.12"
@@ -248,42 +270,20 @@
248
270
  "multer": "^2.0.2"
249
271
  },
250
272
  "peerDependencies": {
251
- "@radix-ui/react-accordion": "^1.2.0",
252
- "@radix-ui/react-alert-dialog": "^1.1.0",
253
- "@radix-ui/react-avatar": "^1.1.0",
254
- "@radix-ui/react-checkbox": "^1.3.0",
255
- "@radix-ui/react-dialog": "^1.1.0",
256
- "@radix-ui/react-dropdown-menu": "^2.1.0",
257
- "@radix-ui/react-hover-card": "^1.1.0",
258
- "@radix-ui/react-label": "^2.1.0",
259
- "@radix-ui/react-select": "^2.2.0",
260
- "@radix-ui/react-separator": "^1.1.0",
261
- "@radix-ui/react-slot": "^1.2.0",
262
- "@radix-ui/react-switch": "^1.2.0",
263
- "@radix-ui/react-tabs": "^1.1.0",
264
- "@radix-ui/react-tooltip": "^1.2.0",
265
- "hazo_api": "^2.6.0",
266
273
  "hazo_config": "^2.4.1",
267
274
  "hazo_connect": "^3.9.2",
268
- "hazo_core": "^1.2.1",
275
+ "hazo_core": "^1.3.0",
269
276
  "hazo_logs": "^2.1.1",
270
277
  "hazo_notify": "^6.1.4",
271
- "hazo_secure": "^1.4.0",
278
+ "hazo_secure": "^1.7.0",
272
279
  "hazo_theme": "^1.0.1",
273
- "hazo_ui": "^6.1.0",
274
- "input-otp": "^1.4.0",
275
- "lucide-react": "^0.553.0",
276
- "next": "^14.0.0",
280
+ "hazo_ui": "^6.3.1",
281
+ "next": "^14.0.0 || ^15.0.0 || ^16.0.0",
277
282
  "next-auth": "^4.24.0",
278
- "next-themes": "^0.4.0",
279
283
  "react": "^18.0.0 || ^19.0.0",
280
- "react-dom": "^18.0.0 || ^19.0.0",
281
- "sonner": "^2.0.7"
284
+ "react-dom": "^18.0.0 || ^19.0.0"
282
285
  },
283
286
  "peerDependenciesMeta": {
284
- "hazo_api": {
285
- "optional": true
286
- },
287
287
  "hazo_config": {
288
288
  "optional": false
289
289
  },
@@ -307,60 +307,6 @@
307
307
  },
308
308
  "hazo_ui": {
309
309
  "optional": true
310
- },
311
- "next-themes": {
312
- "optional": true
313
- },
314
- "sonner": {
315
- "optional": true
316
- },
317
- "@radix-ui/react-accordion": {
318
- "optional": true
319
- },
320
- "@radix-ui/react-alert-dialog": {
321
- "optional": true
322
- },
323
- "@radix-ui/react-avatar": {
324
- "optional": true
325
- },
326
- "@radix-ui/react-checkbox": {
327
- "optional": true
328
- },
329
- "@radix-ui/react-dialog": {
330
- "optional": true
331
- },
332
- "@radix-ui/react-dropdown-menu": {
333
- "optional": true
334
- },
335
- "@radix-ui/react-hover-card": {
336
- "optional": true
337
- },
338
- "@radix-ui/react-label": {
339
- "optional": true
340
- },
341
- "@radix-ui/react-select": {
342
- "optional": true
343
- },
344
- "@radix-ui/react-separator": {
345
- "optional": true
346
- },
347
- "@radix-ui/react-slot": {
348
- "optional": true
349
- },
350
- "@radix-ui/react-switch": {
351
- "optional": true
352
- },
353
- "@radix-ui/react-tabs": {
354
- "optional": true
355
- },
356
- "@radix-ui/react-tooltip": {
357
- "optional": true
358
- },
359
- "lucide-react": {
360
- "optional": true
361
- },
362
- "input-otp": {
363
- "optional": true
364
310
  }
365
311
  },
366
312
  "devDependencies": {
@@ -407,13 +353,13 @@
407
353
  "eslint-config-next": "^16.0.4",
408
354
  "eslint-plugin-storybook": "^10.0.6",
409
355
  "hazo_api": "^2.6.0",
410
- "hazo_config": "^2.4.1",
411
- "hazo_connect": "^3.9.2",
412
- "hazo_core": "^1.2.1",
413
- "hazo_logs": "^2.1.1",
414
- "hazo_notify": "^6.1.4",
415
- "hazo_theme": "^1.0.1",
416
- "hazo_ui": "^6.1.0",
356
+ "hazo_config": "^2.4.2",
357
+ "hazo_connect": "^3.10.1",
358
+ "hazo_core": "^1.3.1",
359
+ "hazo_logs": "^2.2.0",
360
+ "hazo_notify": "^6.1.5",
361
+ "hazo_theme": "^1.3.0",
362
+ "hazo_ui": "^6.8.0",
417
363
  "input-otp": "^1.4.0",
418
364
  "jest": "^30.2.0",
419
365
  "jest-environment-jsdom": "^30.0.0",