@better-auth-ui/heroui 1.6.18 → 1.6.20

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 (109) hide show
  1. package/dist/components/auth/additional-field.d.ts +1 -1
  2. package/dist/components/auth/api-key/api-key-skeleton.d.ts +1 -1
  3. package/dist/components/auth/api-key/api-key.d.ts +1 -1
  4. package/dist/components/auth/api-key/api-keys-empty.d.ts +1 -1
  5. package/dist/components/auth/api-key/api-keys.d.ts +1 -1
  6. package/dist/components/auth/api-key/create-api-key-dialog.d.ts +1 -1
  7. package/dist/components/auth/api-key/delete-api-key-dialog.d.ts +1 -1
  8. package/dist/components/auth/api-key/new-api-key-dialog.d.ts +1 -1
  9. package/dist/components/auth/api-key/organization-api-keys.d.ts +1 -1
  10. package/dist/components/auth/auth-provider.d.ts +1 -1
  11. package/dist/components/auth/auth.d.ts +2 -1
  12. package/dist/components/auth/delete-user/danger-zone.d.ts +1 -1
  13. package/dist/components/auth/delete-user/delete-account.d.ts +1 -1
  14. package/dist/components/auth/email/email-changed-email.d.ts +1 -1
  15. package/dist/components/auth/email/email-verification-email.d.ts +1 -1
  16. package/dist/components/auth/email/magic-link-email.d.ts +1 -1
  17. package/dist/components/auth/email/new-device-email.d.ts +1 -1
  18. package/dist/components/auth/email/organization-invitation-email.d.ts +1 -1
  19. package/dist/components/auth/email/otp-email.d.ts +1 -1
  20. package/dist/components/auth/email/password-changed-email.d.ts +1 -1
  21. package/dist/components/auth/email/reset-password-email.d.ts +1 -1
  22. package/dist/components/auth/field-separator.d.ts +1 -1
  23. package/dist/components/auth/forgot-password.d.ts +1 -1
  24. package/dist/components/auth/magic-link/magic-link-button.d.ts +1 -1
  25. package/dist/components/auth/magic-link/magic-link.d.ts +1 -1
  26. package/dist/components/auth/multi-session/manage-account.d.ts +1 -1
  27. package/dist/components/auth/multi-session/manage-accounts.d.ts +1 -1
  28. package/dist/components/auth/multi-session/switch-account-submenu-content.d.ts +1 -1
  29. package/dist/components/auth/multi-session/switch-account-submenu-item.d.ts +1 -1
  30. package/dist/components/auth/multi-session/switch-account-submenu.d.ts +1 -1
  31. package/dist/components/auth/organization/change-organization-logo.d.ts +1 -1
  32. package/dist/components/auth/organization/create-organization-dialog.d.ts +1 -1
  33. package/dist/components/auth/organization/delete-organization-dialog.d.ts +1 -1
  34. package/dist/components/auth/organization/delete-organization-skeleton.d.ts +1 -1
  35. package/dist/components/auth/organization/delete-organization.d.ts +1 -1
  36. package/dist/components/auth/organization/invite-member-dialog.d.ts +1 -1
  37. package/dist/components/auth/organization/leave-organization-dialog.d.ts +1 -1
  38. package/dist/components/auth/organization/leave-organization.d.ts +1 -1
  39. package/dist/components/auth/organization/organization-danger-zone.d.ts +1 -1
  40. package/dist/components/auth/organization/organization-invitation-row-skeleton.d.ts +1 -1
  41. package/dist/components/auth/organization/organization-invitation-row.d.ts +1 -1
  42. package/dist/components/auth/organization/organization-invitations-empty.d.ts +1 -1
  43. package/dist/components/auth/organization/organization-invitations.d.ts +1 -1
  44. package/dist/components/auth/organization/organization-logo.d.ts +1 -1
  45. package/dist/components/auth/organization/organization-member-row-skeleton.d.ts +1 -1
  46. package/dist/components/auth/organization/organization-member-row.d.ts +1 -1
  47. package/dist/components/auth/organization/organization-members.d.ts +1 -1
  48. package/dist/components/auth/organization/organization-people.d.ts +1 -1
  49. package/dist/components/auth/organization/organization-profile.d.ts +1 -1
  50. package/dist/components/auth/organization/organization-row.d.ts +1 -1
  51. package/dist/components/auth/organization/organization-settings.d.ts +1 -1
  52. package/dist/components/auth/organization/organization-switcher.d.ts +1 -1
  53. package/dist/components/auth/organization/organization-view-skeleton.d.ts +1 -1
  54. package/dist/components/auth/organization/organization-view.d.ts +1 -1
  55. package/dist/components/auth/organization/organization.d.ts +1 -1
  56. package/dist/components/auth/organization/organizations-empty.d.ts +1 -1
  57. package/dist/components/auth/organization/organizations-settings.d.ts +1 -1
  58. package/dist/components/auth/organization/organizations.d.ts +1 -1
  59. package/dist/components/auth/organization/remove-member-dialog.d.ts +1 -1
  60. package/dist/components/auth/organization/slug-field.d.ts +1 -1
  61. package/dist/components/auth/organization/user-invitation-row-skeleton.d.ts +1 -1
  62. package/dist/components/auth/organization/user-invitation-row.d.ts +1 -1
  63. package/dist/components/auth/organization/user-invitations-empty.d.ts +1 -1
  64. package/dist/components/auth/organization/user-invitations.d.ts +1 -1
  65. package/dist/components/auth/passkey/add-passkey-dialog.d.ts +1 -1
  66. package/dist/components/auth/passkey/delete-passkey-dialog.d.ts +1 -1
  67. package/dist/components/auth/passkey/passkey-button.d.ts +1 -1
  68. package/dist/components/auth/passkey/passkey-skeleton.d.ts +1 -1
  69. package/dist/components/auth/passkey/passkey.d.ts +1 -1
  70. package/dist/components/auth/passkey/passkeys-empty.d.ts +1 -1
  71. package/dist/components/auth/passkey/passkeys.d.ts +1 -1
  72. package/dist/components/auth/provider-button.d.ts +1 -1
  73. package/dist/components/auth/provider-buttons.d.ts +1 -1
  74. package/dist/components/auth/reset-password.d.ts +1 -1
  75. package/dist/components/auth/settings/account/account-settings.d.ts +1 -1
  76. package/dist/components/auth/settings/account/change-avatar.d.ts +1 -1
  77. package/dist/components/auth/settings/account/change-email.d.ts +1 -1
  78. package/dist/components/auth/settings/account/user-profile.d.ts +1 -1
  79. package/dist/components/auth/settings/security/active-session.d.ts +1 -1
  80. package/dist/components/auth/settings/security/active-sessions.d.ts +1 -1
  81. package/dist/components/auth/settings/security/change-password.d.ts +1 -1
  82. package/dist/components/auth/settings/security/linked-account.d.ts +1 -1
  83. package/dist/components/auth/settings/security/linked-accounts.d.ts +1 -1
  84. package/dist/components/auth/settings/security/security-settings.d.ts +1 -1
  85. package/dist/components/auth/settings/settings.d.ts +1 -1
  86. package/dist/components/auth/sign-in.d.ts +1 -1
  87. package/dist/components/auth/sign-out.d.ts +1 -1
  88. package/dist/components/auth/sign-up.d.ts +1 -1
  89. package/dist/components/auth/theme/appearance.d.ts +1 -1
  90. package/dist/components/auth/theme/theme-toggle-item.d.ts +1 -1
  91. package/dist/components/auth/user/user-avatar.d.ts +1 -1
  92. package/dist/components/auth/user/user-button.d.ts +1 -1
  93. package/dist/components/auth/user/user-view.d.ts +1 -1
  94. package/dist/components/auth/username/sign-in-username.d.ts +1 -1
  95. package/dist/components/auth/username/username-field.d.ts +1 -1
  96. package/dist/index.js +446 -447
  97. package/dist/lib/auth/auth-plugin.d.ts +4 -2
  98. package/dist/lib/auth/organization-plugin.d.ts +1 -1
  99. package/dist/plugins.js +925 -927
  100. package/package.json +3 -3
  101. package/src/components/auth/auth.tsx +11 -6
  102. package/src/components/auth/forgot-password.tsx +1 -6
  103. package/src/components/auth/magic-link/magic-link.tsx +2 -4
  104. package/src/components/auth/reset-password.tsx +1 -6
  105. package/src/components/auth/sign-in.tsx +2 -4
  106. package/src/components/auth/sign-up.tsx +2 -4
  107. package/src/components/auth/user/user-button.tsx +2 -2
  108. package/src/components/auth/username/sign-in-username.tsx +2 -4
  109. package/src/lib/auth/auth-plugin.ts +4 -2
@@ -1,4 +1,4 @@
1
1
  import { AdditionalFieldProps } from '../../lib/auth/auth-plugin';
2
2
  export type { AdditionalFieldProps } from '../../lib/auth/auth-plugin';
3
3
  /** Renders a single additional user field via HeroUI v3 components. */
4
- export declare function AdditionalField({ name, field, isPending, variant }: AdditionalFieldProps): import("react/jsx-runtime").JSX.Element;
4
+ export declare function AdditionalField({ name, field, isPending, variant }: AdditionalFieldProps): import("react").JSX.Element;
@@ -1 +1 @@
1
- export declare function ApiKeySkeleton(): import("react/jsx-runtime").JSX.Element;
1
+ export declare function ApiKeySkeleton(): import("react").JSX.Element;
@@ -6,4 +6,4 @@ export type ApiKeyProps = {
6
6
  /** Scope the delete payload to an organization (sets `configId`). */
7
7
  organizationId?: string;
8
8
  };
9
- export declare function ApiKey({ apiKey, hideDelete, organizationId }: ApiKeyProps): import("react/jsx-runtime").JSX.Element;
9
+ export declare function ApiKey({ apiKey, hideDelete, organizationId }: ApiKeyProps): import("react").JSX.Element;
@@ -3,4 +3,4 @@ export type ApiKeysEmptyProps = {
3
3
  /** Hide the empty-state "Create API key" button. */
4
4
  hideCreate?: boolean;
5
5
  };
6
- export declare function ApiKeysEmpty({ onCreatePress, hideCreate }: ApiKeysEmptyProps): import("react/jsx-runtime").JSX.Element;
6
+ export declare function ApiKeysEmpty({ onCreatePress, hideCreate }: ApiKeysEmptyProps): import("react").JSX.Element;
@@ -11,4 +11,4 @@ export type ApiKeysProps = {
11
11
  /** Hide the per-row delete button on listed keys. */
12
12
  hideDelete?: boolean;
13
13
  };
14
- export declare function ApiKeys({ className, variant, organizationId, isPending: isPendingProp, hideCreate, hideDelete }: ApiKeysProps): import("react/jsx-runtime").JSX.Element;
14
+ export declare function ApiKeys({ className, variant, organizationId, isPending: isPendingProp, hideCreate, hideDelete }: ApiKeysProps): import("react").JSX.Element;
@@ -4,4 +4,4 @@ export type CreateApiKeyDialogProps = {
4
4
  /** Create an organization-owned key by passing the organization id. */
5
5
  organizationId?: string;
6
6
  };
7
- export declare function CreateApiKeyDialog({ isOpen, onOpenChange, organizationId }: CreateApiKeyDialogProps): import("react/jsx-runtime").JSX.Element;
7
+ export declare function CreateApiKeyDialog({ isOpen, onOpenChange, organizationId }: CreateApiKeyDialogProps): import("react").JSX.Element;
@@ -6,4 +6,4 @@ export type DeleteApiKeyDialogProps = {
6
6
  /** Scope the delete payload to an organization (sets `configId`). */
7
7
  organizationId?: string;
8
8
  };
9
- export declare function DeleteApiKeyDialog({ isOpen, onOpenChange, apiKey, organizationId }: DeleteApiKeyDialogProps): import("react/jsx-runtime").JSX.Element;
9
+ export declare function DeleteApiKeyDialog({ isOpen, onOpenChange, apiKey, organizationId }: DeleteApiKeyDialogProps): import("react").JSX.Element;
@@ -4,4 +4,4 @@ export type NewApiKeyDialogProps = {
4
4
  name: string | null;
5
5
  secretKey: string | null;
6
6
  };
7
- export declare function NewApiKeyDialog({ isOpen, onOpenChange, name, secretKey }: NewApiKeyDialogProps): import("react/jsx-runtime").JSX.Element;
7
+ export declare function NewApiKeyDialog({ isOpen, onOpenChange, name, secretKey }: NewApiKeyDialogProps): import("react").JSX.Element;
@@ -11,4 +11,4 @@ export type OrganizationApiKeysProps = {
11
11
  * (it doesn't pass `allowCreatorAllPermissions` and the default org AC has no
12
12
  * `apiKey` statements), so we gate on role directly.
13
13
  */
14
- export declare function OrganizationApiKeys({ className, variant }: OrganizationApiKeysProps): import("react/jsx-runtime").JSX.Element | null;
14
+ export declare function OrganizationApiKeys({ className, variant }: OrganizationApiKeysProps): import("react").JSX.Element | null;
@@ -4,4 +4,4 @@ export type AuthProviderProps<TAuthClient = AuthClient> = AuthProviderPropsPrimi
4
4
  * Heroui-flavored `AuthProvider`. Wraps the primitive provider with a
5
5
  * heroui `RouterProvider` and the heroui `ErrorToaster`.
6
6
  */
7
- export declare function AuthProvider({ children, navigate, ...config }: AuthProviderProps): import("react/jsx-runtime").JSX.Element;
7
+ export declare function AuthProvider({ children, navigate, ...config }: AuthProviderProps): import("react").JSX.Element;
@@ -13,6 +13,7 @@ export type AuthProps = {
13
13
  /**
14
14
  * Render the appropriate authentication view based on the provided `view` or `path`.
15
15
  *
16
+ * @param className - Class name applied to the rendered view's card
16
17
  * @param path - Route path used to resolve an auth view when `view` is not provided
17
18
  * @param socialLayout - Social layout to apply to sign-in/sign-up/magic-link views
18
19
  * @param socialPosition - Position for social buttons ("top" or "bottom")
@@ -20,4 +21,4 @@ export type AuthProps = {
20
21
  * @param view - Explicit auth view to render (e.g., "signIn", "signUp")
21
22
  * @returns The React element for the resolved authentication view
22
23
  */
23
- export declare function Auth({ path, socialLayout, socialPosition, view, ...props }: AuthProps & Omit<CardProps, "children">): import("react/jsx-runtime").JSX.Element | null;
24
+ export declare function Auth({ className, path, socialLayout, socialPosition, variant, view }: AuthProps): import("react").JSX.Element | null;
@@ -8,4 +8,4 @@ export type DangerZoneProps = {
8
8
  * Renders the danger zone heading and {@link DeleteAccount}.
9
9
  * Registered as a `securityCard` by `deleteUserPlugin()`; gate by registering the plugin.
10
10
  */
11
- export declare function DangerZone({ className, variant, ...props }: DangerZoneProps & ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
11
+ export declare function DangerZone({ className, variant, ...props }: DangerZoneProps & ComponentProps<"div">): import("react").JSX.Element;
@@ -6,4 +6,4 @@ export type DeleteAccountProps = {
6
6
  /**
7
7
  * Danger-zone card to delete the authenticated account, with a confirmation dialog and toasts.
8
8
  */
9
- export declare function DeleteAccount({ className, variant, ...props }: DeleteAccountProps & Omit<CardProps, "children">): import("react/jsx-runtime").JSX.Element;
9
+ export declare function DeleteAccount({ className, variant, ...props }: DeleteAccountProps & Omit<CardProps, "children">): import("react").JSX.Element;
@@ -1,3 +1,3 @@
1
1
  import { EmailChangedEmailProps } from '@better-auth-ui/react/email';
2
2
  export type { EmailChangedEmailProps } from '@better-auth-ui/react/email';
3
- export declare function EmailChangedEmail({ colors, classNames, ...props }: EmailChangedEmailProps): import("react/jsx-runtime").JSX.Element;
3
+ export declare function EmailChangedEmail({ colors, classNames, ...props }: EmailChangedEmailProps): import("react").JSX.Element;
@@ -1,3 +1,3 @@
1
1
  import { EmailVerificationEmailProps } from '@better-auth-ui/react/email';
2
2
  export type { EmailVerificationEmailProps } from '@better-auth-ui/react/email';
3
- export declare function EmailVerificationEmail({ colors, classNames, ...props }: EmailVerificationEmailProps): import("react/jsx-runtime").JSX.Element;
3
+ export declare function EmailVerificationEmail({ colors, classNames, ...props }: EmailVerificationEmailProps): import("react").JSX.Element;
@@ -1,3 +1,3 @@
1
1
  import { MagicLinkEmailProps } from '@better-auth-ui/react/email';
2
2
  export type { MagicLinkEmailProps } from '@better-auth-ui/react/email';
3
- export declare function MagicLinkEmail({ colors, classNames, ...props }: MagicLinkEmailProps): import("react/jsx-runtime").JSX.Element;
3
+ export declare function MagicLinkEmail({ colors, classNames, ...props }: MagicLinkEmailProps): import("react").JSX.Element;
@@ -1,3 +1,3 @@
1
1
  import { NewDeviceEmailProps } from '@better-auth-ui/react/email';
2
2
  export type { NewDeviceEmailProps } from '@better-auth-ui/react/email';
3
- export declare function NewDeviceEmail({ colors, classNames, ...props }: NewDeviceEmailProps): import("react/jsx-runtime").JSX.Element;
3
+ export declare function NewDeviceEmail({ colors, classNames, ...props }: NewDeviceEmailProps): import("react").JSX.Element;
@@ -1,3 +1,3 @@
1
1
  import { OrganizationInvitationEmailProps } from '@better-auth-ui/react/email';
2
2
  export type { OrganizationInvitationEmailProps } from '@better-auth-ui/react/email';
3
- export declare function OrganizationInvitationEmail({ colors, classNames, ...props }: OrganizationInvitationEmailProps): import("react/jsx-runtime").JSX.Element;
3
+ export declare function OrganizationInvitationEmail({ colors, classNames, ...props }: OrganizationInvitationEmailProps): import("react").JSX.Element;
@@ -1,3 +1,3 @@
1
1
  import { OtpEmailProps } from '@better-auth-ui/react/email';
2
2
  export type { OtpEmailProps } from '@better-auth-ui/react/email';
3
- export declare function OtpEmail({ colors, classNames, ...props }: OtpEmailProps): import("react/jsx-runtime").JSX.Element;
3
+ export declare function OtpEmail({ colors, classNames, ...props }: OtpEmailProps): import("react").JSX.Element;
@@ -1,3 +1,3 @@
1
1
  import { PasswordChangedEmailProps } from '@better-auth-ui/react/email';
2
2
  export type { PasswordChangedEmailProps } from '@better-auth-ui/react/email';
3
- export declare function PasswordChangedEmail({ colors, classNames, ...props }: PasswordChangedEmailProps): import("react/jsx-runtime").JSX.Element;
3
+ export declare function PasswordChangedEmail({ colors, classNames, ...props }: PasswordChangedEmailProps): import("react").JSX.Element;
@@ -1,3 +1,3 @@
1
1
  import { ResetPasswordEmailProps } from '@better-auth-ui/react/email';
2
2
  export type { ResetPasswordEmailProps } from '@better-auth-ui/react/email';
3
- export declare function ResetPasswordEmail({ colors, classNames, ...props }: ResetPasswordEmailProps): import("react/jsx-runtime").JSX.Element;
3
+ export declare function ResetPasswordEmail({ colors, classNames, ...props }: ResetPasswordEmailProps): import("react").JSX.Element;
@@ -1,4 +1,4 @@
1
1
  import { ReactNode } from 'react';
2
2
  export declare function FieldSeparator({ children }: {
3
3
  children: ReactNode;
4
- }): import("react/jsx-runtime").JSX.Element;
4
+ }): import("react").JSX.Element;
@@ -12,4 +12,4 @@ export type ForgotPasswordProps = {
12
12
  * @param className - Optional additional CSS class names applied to the card
13
13
  * @returns The forgot-password form UI as a JSX element
14
14
  */
15
- export declare function ForgotPassword({ className, variant, ...props }: ForgotPasswordProps & Omit<CardProps, "children">): import("react/jsx-runtime").JSX.Element;
15
+ export declare function ForgotPassword({ className, variant }: ForgotPasswordProps): import("react").JSX.Element;
@@ -8,4 +8,4 @@ export type MagicLinkButtonProps = {
8
8
  *
9
9
  * @param view - Current auth view. On `"magicLink"` this links back to password sign-in.
10
10
  */
11
- export declare function MagicLinkButton({ view }: MagicLinkButtonProps): import("react/jsx-runtime").JSX.Element | null;
11
+ export declare function MagicLinkButton({ view }: MagicLinkButtonProps): import("react").JSX.Element | null;
@@ -13,4 +13,4 @@ export type MagicLinkProps = {
13
13
  * @param socialPosition - `"top"` or `"bottom"`. Defaults to `"bottom"`.
14
14
  * @param variant - Card variant.
15
15
  */
16
- export declare function MagicLink({ className, socialLayout, socialPosition, variant, ...props }: MagicLinkProps & Omit<CardProps, "children">): import("react/jsx-runtime").JSX.Element;
16
+ export declare function MagicLink({ className, socialLayout, socialPosition, variant }: MagicLinkProps): import("react").JSX.Element;
@@ -12,4 +12,4 @@ export type ManageAccountProps = {
12
12
  * @param deviceSession - The device session object containing session and user data
13
13
  * @returns A JSX element containing the account row
14
14
  */
15
- export declare function ManageAccount({ deviceSession, isPending }: ManageAccountProps): import("react/jsx-runtime").JSX.Element;
15
+ export declare function ManageAccount({ deviceSession, isPending }: ManageAccountProps): import("react").JSX.Element;
@@ -11,4 +11,4 @@ export type ManageAccountsProps = {
11
11
  *
12
12
  * @returns A JSX element containing the accounts management card
13
13
  */
14
- export declare function ManageAccounts({ className, variant, ...props }: ManageAccountsProps & Omit<CardProps, "children">): import("react/jsx-runtime").JSX.Element;
14
+ export declare function ManageAccounts({ className, variant, ...props }: ManageAccountsProps & Omit<CardProps, "children">): import("react").JSX.Element;
@@ -9,4 +9,4 @@
9
9
  */
10
10
  export declare function SwitchAccountSubmenuContent({ hideSubtitle }: {
11
11
  hideSubtitle?: boolean;
12
- }): import("react/jsx-runtime").JSX.Element;
12
+ }): import("react").JSX.Element;
@@ -13,5 +13,5 @@ export type SwitchAccountSubmenuItemProps = {
13
13
  * @param deviceSession - The device session to display and switch to when pressed
14
14
  * @returns The switch account dropdown item as a JSX element
15
15
  */
16
- export declare function SwitchAccountSubmenuItem({ deviceSession, hideSubtitle }: SwitchAccountSubmenuItemProps): import("react/jsx-runtime").JSX.Element;
16
+ export declare function SwitchAccountSubmenuItem({ deviceSession, hideSubtitle }: SwitchAccountSubmenuItemProps): import("react").JSX.Element;
17
17
  export {};
@@ -11,4 +11,4 @@ export type SwitchAccountSubmenuProps = {
11
11
  * @param className - Optional additional CSS class names
12
12
  * @returns The switch account submenu as a JSX element
13
13
  */
14
- export declare function SwitchAccountSubmenu({ className, hideSubtitle }: SwitchAccountSubmenuProps): import("react/jsx-runtime").JSX.Element | null;
14
+ export declare function SwitchAccountSubmenu({ className, hideSubtitle }: SwitchAccountSubmenuProps): import("react").JSX.Element | null;
@@ -1,4 +1,4 @@
1
1
  export type ChangeOrganizationLogoProps = {
2
2
  className?: string;
3
3
  };
4
- export declare function ChangeOrganizationLogo({ className }: ChangeOrganizationLogoProps): import("react/jsx-runtime").JSX.Element | null;
4
+ export declare function ChangeOrganizationLogo({ className }: ChangeOrganizationLogoProps): import("react").JSX.Element | null;
@@ -10,4 +10,4 @@ export type CreateOrganizationDialogProps = {
10
10
  * @param onOpenChange - Callback for when the dialog open state changes
11
11
  * @returns The create organization dialog as a JSX element
12
12
  */
13
- export declare function CreateOrganizationDialog({ isOpen, onOpenChange }: CreateOrganizationDialogProps): import("react/jsx-runtime").JSX.Element;
13
+ export declare function CreateOrganizationDialog({ isOpen, onOpenChange }: CreateOrganizationDialogProps): import("react").JSX.Element;
@@ -4,4 +4,4 @@ export type DeleteOrganizationDialogProps = {
4
4
  onOpenChange: (open: boolean) => void;
5
5
  organization: Organization;
6
6
  };
7
- export declare function DeleteOrganizationDialog({ isOpen, onOpenChange, organization }: DeleteOrganizationDialogProps): import("react/jsx-runtime").JSX.Element;
7
+ export declare function DeleteOrganizationDialog({ isOpen, onOpenChange, organization }: DeleteOrganizationDialogProps): import("react").JSX.Element;
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * Placeholder matching {@link DeleteOrganization} while the delete permission resolves.
3
3
  */
4
- export declare function DeleteOrganizationSkeleton(): import("react/jsx-runtime").JSX.Element;
4
+ export declare function DeleteOrganizationSkeleton(): import("react").JSX.Element;
@@ -2,4 +2,4 @@
2
2
  * Danger-zone row to delete the active organization. Hidden for members without
3
3
  * the `organization:delete` permission.
4
4
  */
5
- export declare function DeleteOrganization(): import("react/jsx-runtime").JSX.Element | null;
5
+ export declare function DeleteOrganization(): import("react").JSX.Element | null;
@@ -10,4 +10,4 @@ export type InviteMemberDialogProps = {
10
10
  * @param onOpenChange - Callback for when the dialog open state changes
11
11
  * @returns The invite member dialog as a JSX element
12
12
  */
13
- export declare function InviteMemberDialog({ isOpen, onOpenChange }: InviteMemberDialogProps): import("react/jsx-runtime").JSX.Element;
13
+ export declare function InviteMemberDialog({ isOpen, onOpenChange }: InviteMemberDialogProps): import("react").JSX.Element;
@@ -4,4 +4,4 @@ export type LeaveOrganizationDialogProps = {
4
4
  onOpenChange: (open: boolean) => void;
5
5
  organization: Organization;
6
6
  };
7
- export declare function LeaveOrganizationDialog({ isOpen, onOpenChange, organization }: LeaveOrganizationDialogProps): import("react/jsx-runtime").JSX.Element;
7
+ export declare function LeaveOrganizationDialog({ isOpen, onOpenChange, organization }: LeaveOrganizationDialogProps): import("react").JSX.Element;
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * Danger-zone row to leave the active organization.
3
3
  */
4
- export declare function LeaveOrganization(): import("react/jsx-runtime").JSX.Element;
4
+ export declare function LeaveOrganization(): import("react").JSX.Element;
@@ -13,4 +13,4 @@ export type OrganizationDangerZoneProps = {
13
13
  * delete row appears or disappears. Inner {@link DeleteOrganization} also
14
14
  * self-gates so it stays safe to use standalone.
15
15
  */
16
- export declare function OrganizationDangerZone({ className, variant, ...props }: OrganizationDangerZoneProps & ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
16
+ export declare function OrganizationDangerZone({ className, variant, ...props }: OrganizationDangerZoneProps & ComponentProps<"div">): import("react").JSX.Element;
@@ -2,4 +2,4 @@
2
2
  * Placeholder row matching {@link OrganizationInvitationTableRow} while
3
3
  * invitations load.
4
4
  */
5
- export declare function OrganizationInvitationRowSkeleton(): import("react/jsx-runtime").JSX.Element;
5
+ export declare function OrganizationInvitationRowSkeleton(): import("react").JSX.Element;
@@ -2,4 +2,4 @@ import { Invitation } from 'better-auth/client';
2
2
  export type OrganizationInvitationTableRowProps = {
3
3
  invitation: Invitation;
4
4
  };
5
- export declare function OrganizationInvitationTableRow({ invitation }: OrganizationInvitationTableRowProps): import("react/jsx-runtime").JSX.Element;
5
+ export declare function OrganizationInvitationTableRow({ invitation }: OrganizationInvitationTableRowProps): import("react").JSX.Element;
@@ -5,4 +5,4 @@ export type OrganizationInvitationsEmptyProps = {
5
5
  * Empty state for {@link OrganizationInvitations} — mirrors `ApiKeysEmpty`
6
6
  * (icon, title, description) with an "Invite member" call to action.
7
7
  */
8
- export declare function OrganizationInvitationsEmpty({ onInvitePress }: OrganizationInvitationsEmptyProps): import("react/jsx-runtime").JSX.Element;
8
+ export declare function OrganizationInvitationsEmpty({ onInvitePress }: OrganizationInvitationsEmptyProps): import("react").JSX.Element;
@@ -6,4 +6,4 @@ export type OrganizationInvitationsProps = {
6
6
  /**
7
7
  * Organization invitations table with invite control and per-row actions.
8
8
  */
9
- export declare function OrganizationInvitations({ className, ...props }: OrganizationInvitationsProps & ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
9
+ export declare function OrganizationInvitations({ className, ...props }: OrganizationInvitationsProps & ComponentProps<"div">): import("react").JSX.Element;
@@ -12,4 +12,4 @@ export type OrganizationLogoProps = {
12
12
  * Renders an organization logo image, initials fallback, or a briefcase icon;
13
13
  * shows a circular skeleton while loading when `isPending` is set and `organization` is undefined.
14
14
  */
15
- export declare function OrganizationLogo({ className, fallback, isPending, organization, size, style, ...props }: OrganizationLogoProps & AvatarProps): import("react/jsx-runtime").JSX.Element;
15
+ export declare function OrganizationLogo({ className, fallback, isPending, organization, size, style, ...props }: OrganizationLogoProps & AvatarProps): import("react").JSX.Element;
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * Placeholder row matching {@link OrganizationMemberRow} while members load.
3
3
  */
4
- export declare function OrganizationMemberRowSkeleton(): import("react/jsx-runtime").JSX.Element;
4
+ export declare function OrganizationMemberRowSkeleton(): import("react").JSX.Element;
@@ -6,4 +6,4 @@ export type OrganizationMemberRowProps = {
6
6
  isOwner?: boolean;
7
7
  organization: Organization;
8
8
  };
9
- export declare function OrganizationMemberRow({ member, isOwner, organization }: OrganizationMemberRowProps): import("react/jsx-runtime").JSX.Element;
9
+ export declare function OrganizationMemberRow({ member, isOwner, organization }: OrganizationMemberRowProps): import("react").JSX.Element;
@@ -6,4 +6,4 @@ export type OrganizationMembersProps = {
6
6
  /**
7
7
  * Organization members table with title, invite control, and per-row actions.
8
8
  */
9
- export declare function OrganizationMembers({ className, ...props }: OrganizationMembersProps & ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
9
+ export declare function OrganizationMembers({ className, ...props }: OrganizationMembersProps & ComponentProps<"div">): import("react").JSX.Element;
@@ -7,4 +7,4 @@ export type OrganizationPeopleProps = {
7
7
  * Organization people UI: members table (see {@link OrganizationMembers}), then org
8
8
  * invitations.
9
9
  */
10
- export declare function OrganizationPeople({ className, ...props }: OrganizationPeopleProps & ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
10
+ export declare function OrganizationPeople({ className, ...props }: OrganizationPeopleProps & ComponentProps<"div">): import("react").JSX.Element;
@@ -6,4 +6,4 @@ export type OrganizationProfileProps = {
6
6
  /**
7
7
  * Profile card for the active organization: logo (when enabled), display name, and slug.
8
8
  */
9
- export declare function OrganizationProfile({ className, variant, ...props }: OrganizationProfileProps & Omit<CardProps, "children">): import("react/jsx-runtime").JSX.Element;
9
+ export declare function OrganizationProfile({ className, variant, ...props }: OrganizationProfileProps & Omit<CardProps, "children">): import("react").JSX.Element;
@@ -5,4 +5,4 @@ export type OrganizationRowProps = {
5
5
  /**
6
6
  * Single organization row: logo and labels via {@link OrganizationView}, plus Manage.
7
7
  */
8
- export declare function OrganizationRow({ organization }: OrganizationRowProps): import("react/jsx-runtime").JSX.Element;
8
+ export declare function OrganizationRow({ organization }: OrganizationRowProps): import("react").JSX.Element;
@@ -9,4 +9,4 @@ export type OrganizationSettingsProps = {
9
9
  * Organization settings UI: profile card, plugin-contributed cards
10
10
  * (`organizationCards`), then danger zone.
11
11
  */
12
- export declare function OrganizationSettings({ className, variant, ...props }: OrganizationSettingsProps & ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
12
+ export declare function OrganizationSettings({ className, variant, ...props }: OrganizationSettingsProps & ComponentProps<"div">): import("react").JSX.Element;
@@ -17,4 +17,4 @@ export type OrganizationSwitcherProps = {
17
17
  * Renders an organizations dropdown with a trigger button,
18
18
  * header summary, and a menu of organizations to switch to.
19
19
  */
20
- export declare function OrganizationSwitcher({ className, hideCreate, hidePersonal, hideSettings, hideSlug, setActive, placement, variant, size, trigger, ...props }: OrganizationSwitcherProps & ButtonProps): import("react/jsx-runtime").JSX.Element;
20
+ export declare function OrganizationSwitcher({ className, hideCreate, hidePersonal, hideSettings, hideSlug, setActive, placement, variant, size, trigger, ...props }: OrganizationSwitcherProps & ButtonProps): import("react").JSX.Element;
@@ -3,4 +3,4 @@ import { OrganizationViewProps } from './organization-view';
3
3
  /**
4
4
  * Placeholder matching {@link OrganizationView} while organization data loads.
5
5
  */
6
- export declare function OrganizationViewSkeleton({ className, hideSlug, size, ...props }: OrganizationViewProps & ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
6
+ export declare function OrganizationViewSkeleton({ className, hideSlug, size, ...props }: OrganizationViewProps & ComponentProps<"div">): import("react").JSX.Element;
@@ -12,4 +12,4 @@ export type OrganizationViewProps = {
12
12
  /**
13
13
  * Compact organization row: logo, primary name, secondary slug — analogous to {@link UserView}.
14
14
  */
15
- export declare function OrganizationView({ className, isPending, size, hideSlug, hideRole, organization, ...props }: OrganizationViewProps & ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
15
+ export declare function OrganizationView({ className, isPending, size, hideSlug, hideRole, organization, ...props }: OrganizationViewProps & ComponentProps<"div">): import("react").JSX.Element;
@@ -14,4 +14,4 @@ export type OrganizationProps = {
14
14
  * people (members / invitations). Path segments come from
15
15
  * `useAuthPlugin(organizationPlugin).viewPaths.organization`.
16
16
  */
17
- export declare function Organization({ className, hideNav, path, variant, view, ...props }: OrganizationProps & ComponentProps<"div">): import("react/jsx-runtime").JSX.Element | null;
17
+ export declare function Organization({ className, hideNav, path, variant, view, ...props }: OrganizationProps & ComponentProps<"div">): import("react").JSX.Element | null;
@@ -1,4 +1,4 @@
1
1
  export type OrganizationsEmptyProps = {
2
2
  onCreatePress: () => void;
3
3
  };
4
- export declare function OrganizationsEmpty({ onCreatePress }: OrganizationsEmptyProps): import("react/jsx-runtime").JSX.Element;
4
+ export declare function OrganizationsEmpty({ onCreatePress }: OrganizationsEmptyProps): import("react").JSX.Element;
@@ -14,4 +14,4 @@ export type OrganizationsSettingsProps = {
14
14
  * @param variant - Card variant forwarded to each card.
15
15
  * @returns The organizations settings UI as a JSX element.
16
16
  */
17
- export declare function OrganizationsSettings({ className, variant, ...props }: OrganizationsSettingsProps & ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
17
+ export declare function OrganizationsSettings({ className, variant, ...props }: OrganizationsSettingsProps & ComponentProps<"div">): import("react").JSX.Element;
@@ -7,4 +7,4 @@ export type OrganizationsProps = {
7
7
  * empty state with create, or a card of rows with a Manage control per organization.
8
8
  * Owns {@link CreateOrganizationDialog} open state and the create actions.
9
9
  */
10
- export declare function Organizations({ variant }: OrganizationsProps): import("react/jsx-runtime").JSX.Element;
10
+ export declare function Organizations({ variant }: OrganizationsProps): import("react").JSX.Element;
@@ -6,4 +6,4 @@ export type RemoveMemberDialogProps = {
6
6
  user: Partial<User>;
7
7
  };
8
8
  };
9
- export declare function RemoveMemberDialog({ isOpen, onOpenChange, member }: RemoveMemberDialogProps): import("react/jsx-runtime").JSX.Element;
9
+ export declare function RemoveMemberDialog({ isOpen, onOpenChange, member }: RemoveMemberDialogProps): import("react").JSX.Element;
@@ -16,4 +16,4 @@ export declare function sanitizeSlug(value: string): string;
16
16
  /**
17
17
  * Organization slug field with debounced availability checking.
18
18
  */
19
- export declare function SlugField({ value, onChange, currentSlug, variant, ...props }: SlugFieldProps & TextFieldProps): import("react/jsx-runtime").JSX.Element;
19
+ export declare function SlugField({ value, onChange, currentSlug, variant, ...props }: SlugFieldProps & TextFieldProps): import("react").JSX.Element;
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * Placeholder row matching {@link UserInvitationRow} while invitations load.
3
3
  */
4
- export declare function UserInvitationRowSkeleton(): import("react/jsx-runtime").JSX.Element;
4
+ export declare function UserInvitationRowSkeleton(): import("react").JSX.Element;
@@ -7,4 +7,4 @@ export type UserInvitationRowProps = {
7
7
  /**
8
8
  * Single invitation row with accept/reject actions for the current user.
9
9
  */
10
- export declare function UserInvitationRow({ invitation }: UserInvitationRowProps): import("react/jsx-runtime").JSX.Element;
10
+ export declare function UserInvitationRow({ invitation }: UserInvitationRowProps): import("react").JSX.Element;
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * Empty state for `UserInvitations`
3
3
  */
4
- export declare function UserInvitationsEmpty(): import("react/jsx-runtime").JSX.Element;
4
+ export declare function UserInvitationsEmpty(): import("react").JSX.Element;
@@ -7,4 +7,4 @@ export type UserInvitationsProps = {
7
7
  * {@link useListUserInvitations}). Always renders the section card; uses
8
8
  * {@link UserInvitationsEmpty} when there are no pending invitations.
9
9
  */
10
- export declare function UserInvitations({ variant }: UserInvitationsProps): import("react/jsx-runtime").JSX.Element;
10
+ export declare function UserInvitations({ variant }: UserInvitationsProps): import("react").JSX.Element;
@@ -2,4 +2,4 @@ export type AddPasskeyDialogProps = {
2
2
  isOpen: boolean;
3
3
  onOpenChange: (open: boolean) => void;
4
4
  };
5
- export declare function AddPasskeyDialog({ isOpen, onOpenChange }: AddPasskeyDialogProps): import("react/jsx-runtime").JSX.Element;
5
+ export declare function AddPasskeyDialog({ isOpen, onOpenChange }: AddPasskeyDialogProps): import("react").JSX.Element;
@@ -8,4 +8,4 @@ export type DeletePasskeyDialogProps = {
8
8
  onOpenChange: (open: boolean) => void;
9
9
  passkey: ListedPasskey;
10
10
  };
11
- export declare function DeletePasskeyDialog({ isOpen, onOpenChange, passkey }: DeletePasskeyDialogProps): import("react/jsx-runtime").JSX.Element;
11
+ export declare function DeletePasskeyDialog({ isOpen, onOpenChange, passkey }: DeletePasskeyDialogProps): import("react").JSX.Element;
@@ -3,4 +3,4 @@ export type PasskeyButtonProps = {
3
3
  /** @remarks `AuthView` */
4
4
  view?: AuthView;
5
5
  };
6
- export declare function PasskeyButton({ view }: PasskeyButtonProps): import("react/jsx-runtime").JSX.Element | null;
6
+ export declare function PasskeyButton({ view }: PasskeyButtonProps): import("react").JSX.Element | null;
@@ -1 +1 @@
1
- export declare function PasskeySkeleton(): import("react/jsx-runtime").JSX.Element;
1
+ export declare function PasskeySkeleton(): import("react").JSX.Element;
@@ -2,4 +2,4 @@ import { ListedPasskey } from './delete-passkey-dialog';
2
2
  export type PasskeyProps = {
3
3
  passkey: ListedPasskey;
4
4
  };
5
- export declare function Passkey({ passkey }: PasskeyProps): import("react/jsx-runtime").JSX.Element;
5
+ export declare function Passkey({ passkey }: PasskeyProps): import("react").JSX.Element;
@@ -1,4 +1,4 @@
1
1
  export type PasskeysEmptyProps = {
2
2
  onAddPress: () => void;
3
3
  };
4
- export declare function PasskeysEmpty({ onAddPress }: PasskeysEmptyProps): import("react/jsx-runtime").JSX.Element;
4
+ export declare function PasskeysEmpty({ onAddPress }: PasskeysEmptyProps): import("react").JSX.Element;
@@ -3,4 +3,4 @@ export type PasskeysProps = {
3
3
  className?: string;
4
4
  variant?: CardProps["variant"];
5
5
  };
6
- export declare function Passkeys({ className, variant, ...props }: PasskeysProps & Omit<CardProps, "children">): import("react/jsx-runtime").JSX.Element;
6
+ export declare function Passkeys({ className, variant, ...props }: PasskeysProps & Omit<CardProps, "children">): import("react").JSX.Element;
@@ -10,4 +10,4 @@ export type ProviderButtonProps = {
10
10
  * @param provider - Provider to sign in with.
11
11
  * @param display - `"full"` (e.g. "Continue with Google"), `"name"` (just the provider name), or `"icon"` (icon only).
12
12
  */
13
- export declare function ProviderButton({ provider, display, variant, ...props }: ProviderButtonProps): import("react/jsx-runtime").JSX.Element;
13
+ export declare function ProviderButton({ provider, display, variant, ...props }: ProviderButtonProps): import("react").JSX.Element;
@@ -9,4 +9,4 @@ export type SocialLayout = "auto" | "horizontal" | "vertical" | "grid";
9
9
  * @param socialLayout - Preferred layout for the buttons; `"auto"` picks `"horizontal"` when there are four or more providers, otherwise `"vertical"`.
10
10
  * @returns The JSX element that renders the configured social provider buttons.
11
11
  */
12
- export declare function ProviderButtons({ socialLayout }: ProviderButtonsProps): import("react/jsx-runtime").JSX.Element;
12
+ export declare function ProviderButtons({ socialLayout }: ProviderButtonsProps): import("react").JSX.Element;
@@ -8,4 +8,4 @@ export type ResetPasswordProps = {
8
8
  *
9
9
  * Renders password (and optional confirm-password) inputs with visibility toggles, applies min/max length constraints from the auth configuration, shows field errors, and submits the new password to the auth client.
10
10
  */
11
- export declare function ResetPassword({ className, variant, ...props }: ResetPasswordProps & Omit<CardProps, "children">): import("react/jsx-runtime").JSX.Element;
11
+ export declare function ResetPassword({ className, variant }: ResetPasswordProps): import("react").JSX.Element;
@@ -16,4 +16,4 @@ export type AccountSettingsProps = {
16
16
  * @param variant - Card variant forwarded to each account settings card.
17
17
  * @returns The account settings container as a JSX element.
18
18
  */
19
- export declare function AccountSettings({ className, variant, ...props }: AccountSettingsProps & ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
19
+ export declare function AccountSettings({ className, variant, ...props }: AccountSettingsProps & ComponentProps<"div">): import("react").JSX.Element;
@@ -1,4 +1,4 @@
1
1
  export type ChangeAvatarProps = {
2
2
  className?: string;
3
3
  };
4
- export declare function ChangeAvatar({ className }: ChangeAvatarProps): import("react/jsx-runtime").JSX.Element;
4
+ export declare function ChangeAvatar({ className }: ChangeAvatarProps): import("react").JSX.Element;
@@ -12,4 +12,4 @@ export type ChangeEmailProps = {
12
12
  *
13
13
  * @returns A JSX element rendering the change-email card and form
14
14
  */
15
- export declare function ChangeEmail({ className, variant, ...props }: ChangeEmailProps & Omit<CardProps, "children">): import("react/jsx-runtime").JSX.Element;
15
+ export declare function ChangeEmail({ className, variant, ...props }: ChangeEmailProps & Omit<CardProps, "children">): import("react").JSX.Element;
@@ -7,4 +7,4 @@ export type UserProfileProps = {
7
7
  * Render a profile card that lets the authenticated user view and update their
8
8
  * display name, avatar, and any plugin- or user-supplied additional fields.
9
9
  */
10
- export declare function UserProfile({ className, variant, ...props }: UserProfileProps & Omit<CardProps, "children">): import("react/jsx-runtime").JSX.Element;
10
+ export declare function UserProfile({ className, variant, ...props }: UserProfileProps & Omit<CardProps, "children">): import("react").JSX.Element;