hazo_auth 10.22.2 → 10.23.1
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.
- package/cli-src/lib/services/password_change_service.ts +4 -30
- package/cli-src/lib/utils/password_validator.ts +20 -12
- package/dist/admin-issues/plugin.client.d.ts.map +1 -1
- package/dist/admin-issues/plugin.client.js +7 -5
- package/dist/components/layouts/my_settings/components/password_change_dialog.d.ts.map +1 -1
- package/dist/components/layouts/my_settings/components/password_change_dialog.js +5 -20
- package/dist/components/layouts/my_settings/components/set_password_section.d.ts.map +1 -1
- package/dist/components/layouts/my_settings/components/set_password_section.js +7 -27
- package/dist/components/layouts/my_settings/hooks/use_my_settings.d.ts +3 -1
- package/dist/components/layouts/my_settings/hooks/use_my_settings.d.ts.map +1 -1
- package/dist/components/layouts/my_settings/hooks/use_my_settings.js +25 -44
- package/dist/components/layouts/my_settings/index.d.ts.map +1 -1
- package/dist/components/layouts/my_settings/index.js +2 -1
- package/dist/components/layouts/scope_management/components/branding_editor.d.ts.map +1 -1
- package/dist/components/layouts/scope_management/components/branding_editor.js +16 -15
- package/dist/components/layouts/user_management/components/app_user_data_editor.d.ts.map +1 -1
- package/dist/components/layouts/user_management/components/app_user_data_editor.js +13 -12
- package/dist/components/layouts/user_management/components/user_signup_stats_cards.d.ts.map +1 -1
- package/dist/components/layouts/user_management/components/user_signup_stats_cards.js +11 -7
- package/dist/components/otp/OTPRequestForm.js +1 -1
- package/dist/consent/cookie_consent_banner.d.ts.map +1 -1
- package/dist/consent/cookie_consent_banner.js +3 -1
- package/dist/consent/manage_modal.d.ts.map +1 -1
- package/dist/consent/manage_modal.js +3 -1
- package/dist/lib/services/password_change_service.d.ts.map +1 -1
- package/dist/lib/services/password_change_service.js +4 -26
- package/dist/lib/utils/password_validator.d.ts.map +1 -1
- package/dist/lib/utils/password_validator.js +17 -6
- package/dist/locales/en.json +96 -12
- package/package.json +6 -6
package/dist/locales/en.json
CHANGED
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
"validation.password_missing_lowercase": "Password must include at least one lowercase letter.",
|
|
6
6
|
"validation.password_missing_number": "Password must include at least one number.",
|
|
7
7
|
"validation.password_missing_special": "Password must include at least one special character.",
|
|
8
|
+
"validation.password_required": "Password is required",
|
|
8
9
|
"validation.passwords_do_not_match": "Passwords do not match",
|
|
9
10
|
"shared.field.email.label": "Email address",
|
|
10
11
|
"shared.field.email.placeholder": "Enter your email address",
|
|
@@ -264,11 +265,10 @@
|
|
|
264
265
|
"my_settings.name_field.placeholder_default": "Enter your full name",
|
|
265
266
|
"my_settings.name_field.aria_label_default": "Full name input field",
|
|
266
267
|
"my_settings.name_field.validation_empty_default": "Name cannot be empty",
|
|
267
|
-
"my_settings.email_field.label_default": "Email Address",
|
|
268
|
-
"my_settings.email_field.placeholder_default": "Enter your email address",
|
|
269
|
-
"my_settings.email_field.aria_label_default": "Email address input field",
|
|
270
268
|
"my_settings.email_field.validation_required_default": "Email is required",
|
|
271
269
|
"my_settings.email_field.validation_invalid_format_default": "Invalid email address format",
|
|
270
|
+
"my_settings.email_field.update_success_verify": "Email updated successfully. Please verify your new email address.",
|
|
271
|
+
"my_settings.email_field.update_success": "Email updated successfully",
|
|
272
272
|
"my_settings.password_change_dialog.title": "Change Password",
|
|
273
273
|
"my_settings.password_change_dialog.description": "Enter your current password and choose a new password.",
|
|
274
274
|
"my_settings.password_change_dialog.current_password_label_default": "Current password",
|
|
@@ -340,14 +340,7 @@
|
|
|
340
340
|
"my_settings.set_password.new_password_placeholder": "Enter your new password",
|
|
341
341
|
"my_settings.set_password.confirm_password_placeholder": "Confirm your new password",
|
|
342
342
|
"my_settings.set_password.submitting": "Setting password...",
|
|
343
|
-
"my_settings.set_password.validation.min_length": "Password must be at least {{length}} characters long",
|
|
344
|
-
"my_settings.set_password.validation.uppercase_item": "uppercase letter",
|
|
345
|
-
"my_settings.set_password.validation.lowercase_item": "lowercase letter",
|
|
346
|
-
"my_settings.set_password.validation.number_item": "number",
|
|
347
|
-
"my_settings.set_password.validation.special_item": "special character",
|
|
348
|
-
"my_settings.set_password.validation.missing_requirements": "Password must contain at least one: {{list}}",
|
|
349
343
|
"my_settings.set_password.validation.confirm_required": "Please confirm your new password",
|
|
350
|
-
"my_settings.set_password.validation.mismatch": "Passwords do not match",
|
|
351
344
|
"my_settings.set_password.error.default": "Failed to set password",
|
|
352
345
|
"my_settings.set_password.success": "Password set successfully! You can now sign in with your email and password.",
|
|
353
346
|
"my_settings.connected_accounts.heading": "Connected Accounts",
|
|
@@ -357,7 +350,6 @@
|
|
|
357
350
|
"my_settings.connected_accounts.not_connected": "Not connected",
|
|
358
351
|
"my_settings.connected_accounts.help_connected": "Your Google account is linked. You can sign in using either your password or Google.",
|
|
359
352
|
"my_settings.connected_accounts.help_not_connected": "Link your Google account to enable quick sign-in with Google.",
|
|
360
|
-
"otp.request.email_label": "Email address",
|
|
361
353
|
"otp.request.submit_label": "Send code",
|
|
362
354
|
"otp.request.pending_label": "Sending…",
|
|
363
355
|
"otp.request.aria_form": "Request sign-in code",
|
|
@@ -513,5 +505,97 @@
|
|
|
513
505
|
"my_settings.profile_picture_dialog.select_library_photo": "Please select a photo from the library",
|
|
514
506
|
"my_settings.profile_picture_dialog.tab_upload": "Upload",
|
|
515
507
|
"my_settings.profile_picture_dialog.tab_library": "Library",
|
|
516
|
-
"my_settings.profile_picture_dialog.tab_gravatar": "Gravatar"
|
|
508
|
+
"my_settings.profile_picture_dialog.tab_gravatar": "Gravatar",
|
|
509
|
+
"consent.banner_body": "We use cookies to improve your experience. By continuing, you agree to our use of cookies.",
|
|
510
|
+
"consent.decline_all": "Decline all",
|
|
511
|
+
"consent.manage": "Manage",
|
|
512
|
+
"consent.accept_all": "Accept all",
|
|
513
|
+
"consent.preferences_title": "Cookie preferences",
|
|
514
|
+
"consent.category_necessary": "Necessary",
|
|
515
|
+
"consent.category_necessary_desc": "Required for the site to function",
|
|
516
|
+
"consent.category_functional": "Functional",
|
|
517
|
+
"consent.category_functional_desc": "Remembers your preferences",
|
|
518
|
+
"consent.category_analytics": "Analytics",
|
|
519
|
+
"consent.category_analytics_desc": "Helps us understand how you use the site",
|
|
520
|
+
"consent.category_marketing": "Marketing",
|
|
521
|
+
"consent.category_marketing_desc": "Used for targeted advertising",
|
|
522
|
+
"consent.save_preferences": "Save preferences",
|
|
523
|
+
"admin_issues.error.role_id_required": "Please enter a role ID.",
|
|
524
|
+
"admin_issues.error.grant_failed": "Grant failed",
|
|
525
|
+
"admin_issues.error.reason_required": "Please provide a reason.",
|
|
526
|
+
"admin_issues.error.deny_failed": "Deny failed",
|
|
527
|
+
"admin_issues.needs_label": "Needs: ",
|
|
528
|
+
"admin_issues.tried_to_label": "Tried to: ",
|
|
529
|
+
"admin_issues.from_label": "From: ",
|
|
530
|
+
"admin_issues.occurred_count": "Occurred {{count}}× (first: {{date}})",
|
|
531
|
+
"admin_issues.grant_button": "Grant",
|
|
532
|
+
"admin_issues.deny_button": "Deny",
|
|
533
|
+
"admin_issues.grant_form_heading": "Grant access — enter the role ID to assign:",
|
|
534
|
+
"admin_issues.role_id_placeholder": "Role ID (UUID)",
|
|
535
|
+
"admin_issues.granting": "Granting…",
|
|
536
|
+
"admin_issues.confirm_grant": "Confirm Grant",
|
|
537
|
+
"admin_issues.deny_form_heading": "Deny request — provide a reason:",
|
|
538
|
+
"admin_issues.deny_reason_placeholder": "Reason for denial",
|
|
539
|
+
"admin_issues.denying": "Denying…",
|
|
540
|
+
"admin_issues.confirm_deny": "Confirm Deny",
|
|
541
|
+
"admin_issues.resolution_granted": "✓ Granted",
|
|
542
|
+
"admin_issues.resolution_denied": "✗ Denied",
|
|
543
|
+
"branding.toast.load_failed": "Failed to load branding",
|
|
544
|
+
"branding.toast.upload_failed": "Failed to upload logo",
|
|
545
|
+
"branding.toast.upload_success": "Logo uploaded successfully",
|
|
546
|
+
"branding.toast.invalid_primary_color": "Invalid primary color format (use #RRGGBB)",
|
|
547
|
+
"branding.toast.invalid_secondary_color": "Invalid secondary color format (use #RRGGBB)",
|
|
548
|
+
"branding.toast.save_success": "Branding saved successfully",
|
|
549
|
+
"branding.toast.save_failed": "Failed to save branding",
|
|
550
|
+
"branding.toast.clear_success": "Branding cleared",
|
|
551
|
+
"branding.toast.clear_failed": "Failed to clear branding",
|
|
552
|
+
"branding.dialog_title": "Firm Branding",
|
|
553
|
+
"branding.dialog_description": "Customize branding for \"{{scopeName}}\"",
|
|
554
|
+
"branding.logo_label": "Logo",
|
|
555
|
+
"branding.upload_logo_button": "Upload Logo",
|
|
556
|
+
"branding.uploading": "Uploading...",
|
|
557
|
+
"branding.remove_button": "Remove",
|
|
558
|
+
"branding.logo_hint": "PNG, JPG, SVG or WebP. Max 500KB.",
|
|
559
|
+
"branding.primary_color_label": "Primary Color",
|
|
560
|
+
"branding.secondary_color_label": "Secondary Color",
|
|
561
|
+
"branding.tagline_label": "Tagline",
|
|
562
|
+
"branding.tagline_placeholder": "Your trusted partner",
|
|
563
|
+
"branding.tagline_hint": "A short company tagline (max 200 characters)",
|
|
564
|
+
"branding.app_title_label": "App Title",
|
|
565
|
+
"branding.app_title_placeholder": "Acme Portal",
|
|
566
|
+
"branding.app_title_hint": "Title shown in the app chrome (browser tab, header)",
|
|
567
|
+
"branding.footer_label": "Footer",
|
|
568
|
+
"branding.public_footer_copyright_label": "Public Footer Copyright",
|
|
569
|
+
"branding.footer_copyright_placeholder": "© 2026 Acme Inc.",
|
|
570
|
+
"branding.public_footer_links_label": "Public Footer Links",
|
|
571
|
+
"branding.link_label_placeholder": "Label",
|
|
572
|
+
"branding.link_href_placeholder": "/privacy",
|
|
573
|
+
"branding.add_link_button": "Add Link",
|
|
574
|
+
"branding.app_footer_copyright_label": "App Footer Copyright",
|
|
575
|
+
"branding.preview_label": "Preview",
|
|
576
|
+
"branding.clear_all_button": "Clear All",
|
|
577
|
+
"branding.saving": "Saving...",
|
|
578
|
+
"app_user_data.heading": "App User Data",
|
|
579
|
+
"app_user_data.edit_button": "Edit",
|
|
580
|
+
"app_user_data.clear_button": "Clear",
|
|
581
|
+
"app_user_data.empty_state": "No app user data",
|
|
582
|
+
"app_user_data.boolean_yes": "Yes",
|
|
583
|
+
"app_user_data.boolean_no": "No",
|
|
584
|
+
"app_user_data.toast.save_success": "App user data saved",
|
|
585
|
+
"app_user_data.toast.save_failed": "Failed to save",
|
|
586
|
+
"app_user_data.toast.clear_success": "App user data cleared",
|
|
587
|
+
"app_user_data.toast.clear_failed": "Failed to clear",
|
|
588
|
+
"app_user_data.clear_dialog.title": "Clear App User Data?",
|
|
589
|
+
"app_user_data.clear_dialog.description": "This will permanently delete all app user data for this user. This action cannot be undone.",
|
|
590
|
+
"app_user_data.clear_dialog.confirm": "Clear Data",
|
|
591
|
+
"app_user_data.clear_dialog.confirming": "Clearing...",
|
|
592
|
+
"user_management.signup_stats.vs_previous": "vs. previous equal period",
|
|
593
|
+
"user_management.signup_stats.prev_count": "prev {{count}}",
|
|
594
|
+
"user_management.signup_stats.total_users": "total users",
|
|
595
|
+
"user_management.signup_stats.ytd_title": "Signups by month (YTD)",
|
|
596
|
+
"user_management.signup_stats.ytd_aria": "Year-to-date signups by month: {{list}}",
|
|
597
|
+
"user_management.signup_stats.tooltip_suffix": "signups",
|
|
598
|
+
"branding.logo_alt": "Firm logo",
|
|
599
|
+
"branding.pick_color_title": "Pick color",
|
|
600
|
+
"branding.logo_preview_alt": "Logo preview"
|
|
517
601
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hazo_auth",
|
|
3
|
-
"version": "10.
|
|
3
|
+
"version": "10.23.1",
|
|
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",
|
|
@@ -276,14 +276,14 @@
|
|
|
276
276
|
},
|
|
277
277
|
"peerDependencies": {
|
|
278
278
|
"hazo_config": "^2.6.0",
|
|
279
|
-
"hazo_connect": "^4.3.
|
|
279
|
+
"hazo_connect": "^4.3.1",
|
|
280
280
|
"hazo_core": "^2.4.0",
|
|
281
|
-
"hazo_i18n": "^0.
|
|
281
|
+
"hazo_i18n": "^0.7.1",
|
|
282
282
|
"hazo_logs": "^2.3.0",
|
|
283
283
|
"hazo_notify": "^6.5.0",
|
|
284
284
|
"hazo_secure": "^1.8.1",
|
|
285
285
|
"hazo_theme": "^1.4.0",
|
|
286
|
-
"hazo_ui": "^6.12.
|
|
286
|
+
"hazo_ui": "^6.12.4",
|
|
287
287
|
"next": "^14.0.0 || ^15.0.0 || ^16.0.0",
|
|
288
288
|
"next-auth": "^4.24.0",
|
|
289
289
|
"react": "^18.0.0 || ^19.0.0",
|
|
@@ -363,12 +363,12 @@
|
|
|
363
363
|
"eslint-plugin-storybook": "^10.0.6",
|
|
364
364
|
"hazo_api": "^2.8.0",
|
|
365
365
|
"hazo_config": "^2.6.0",
|
|
366
|
-
"hazo_connect": "^4.3.
|
|
366
|
+
"hazo_connect": "^4.3.1",
|
|
367
367
|
"hazo_core": "^2.4.0",
|
|
368
368
|
"hazo_logs": "^2.3.0",
|
|
369
369
|
"hazo_notify": "^6.5.0",
|
|
370
370
|
"hazo_theme": "^1.4.0",
|
|
371
|
-
"hazo_ui": "^6.12.
|
|
371
|
+
"hazo_ui": "^6.12.4",
|
|
372
372
|
"input-otp": "^1.4.0",
|
|
373
373
|
"jest": "^30.2.0",
|
|
374
374
|
"jest-environment-jsdom": "^30.0.0",
|