@better-auth-ui/heroui 1.6.18 → 1.6.19
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/dist/components/auth/additional-field.d.ts +1 -1
- package/dist/components/auth/api-key/api-key-skeleton.d.ts +1 -1
- package/dist/components/auth/api-key/api-key.d.ts +1 -1
- package/dist/components/auth/api-key/api-keys-empty.d.ts +1 -1
- package/dist/components/auth/api-key/api-keys.d.ts +1 -1
- package/dist/components/auth/api-key/create-api-key-dialog.d.ts +1 -1
- package/dist/components/auth/api-key/delete-api-key-dialog.d.ts +1 -1
- package/dist/components/auth/api-key/new-api-key-dialog.d.ts +1 -1
- package/dist/components/auth/api-key/organization-api-keys.d.ts +1 -1
- package/dist/components/auth/auth-provider.d.ts +1 -1
- package/dist/components/auth/auth.d.ts +1 -1
- package/dist/components/auth/delete-user/danger-zone.d.ts +1 -1
- package/dist/components/auth/delete-user/delete-account.d.ts +1 -1
- package/dist/components/auth/email/email-changed-email.d.ts +1 -1
- package/dist/components/auth/email/email-verification-email.d.ts +1 -1
- package/dist/components/auth/email/magic-link-email.d.ts +1 -1
- package/dist/components/auth/email/new-device-email.d.ts +1 -1
- package/dist/components/auth/email/organization-invitation-email.d.ts +1 -1
- package/dist/components/auth/email/otp-email.d.ts +1 -1
- package/dist/components/auth/email/password-changed-email.d.ts +1 -1
- package/dist/components/auth/email/reset-password-email.d.ts +1 -1
- package/dist/components/auth/field-separator.d.ts +1 -1
- package/dist/components/auth/forgot-password.d.ts +1 -1
- package/dist/components/auth/magic-link/magic-link-button.d.ts +1 -1
- package/dist/components/auth/magic-link/magic-link.d.ts +1 -1
- package/dist/components/auth/multi-session/manage-account.d.ts +1 -1
- package/dist/components/auth/multi-session/manage-accounts.d.ts +1 -1
- package/dist/components/auth/multi-session/switch-account-submenu-content.d.ts +1 -1
- package/dist/components/auth/multi-session/switch-account-submenu-item.d.ts +1 -1
- package/dist/components/auth/multi-session/switch-account-submenu.d.ts +1 -1
- package/dist/components/auth/organization/change-organization-logo.d.ts +1 -1
- package/dist/components/auth/organization/create-organization-dialog.d.ts +1 -1
- package/dist/components/auth/organization/delete-organization-dialog.d.ts +1 -1
- package/dist/components/auth/organization/delete-organization-skeleton.d.ts +1 -1
- package/dist/components/auth/organization/delete-organization.d.ts +1 -1
- package/dist/components/auth/organization/invite-member-dialog.d.ts +1 -1
- package/dist/components/auth/organization/leave-organization-dialog.d.ts +1 -1
- package/dist/components/auth/organization/leave-organization.d.ts +1 -1
- package/dist/components/auth/organization/organization-danger-zone.d.ts +1 -1
- package/dist/components/auth/organization/organization-invitation-row-skeleton.d.ts +1 -1
- package/dist/components/auth/organization/organization-invitation-row.d.ts +1 -1
- package/dist/components/auth/organization/organization-invitations-empty.d.ts +1 -1
- package/dist/components/auth/organization/organization-invitations.d.ts +1 -1
- package/dist/components/auth/organization/organization-logo.d.ts +1 -1
- package/dist/components/auth/organization/organization-member-row-skeleton.d.ts +1 -1
- package/dist/components/auth/organization/organization-member-row.d.ts +1 -1
- package/dist/components/auth/organization/organization-members.d.ts +1 -1
- package/dist/components/auth/organization/organization-people.d.ts +1 -1
- package/dist/components/auth/organization/organization-profile.d.ts +1 -1
- package/dist/components/auth/organization/organization-row.d.ts +1 -1
- package/dist/components/auth/organization/organization-settings.d.ts +1 -1
- package/dist/components/auth/organization/organization-switcher.d.ts +1 -1
- package/dist/components/auth/organization/organization-view-skeleton.d.ts +1 -1
- package/dist/components/auth/organization/organization-view.d.ts +1 -1
- package/dist/components/auth/organization/organization.d.ts +1 -1
- package/dist/components/auth/organization/organizations-empty.d.ts +1 -1
- package/dist/components/auth/organization/organizations-settings.d.ts +1 -1
- package/dist/components/auth/organization/organizations.d.ts +1 -1
- package/dist/components/auth/organization/remove-member-dialog.d.ts +1 -1
- package/dist/components/auth/organization/slug-field.d.ts +1 -1
- package/dist/components/auth/organization/user-invitation-row-skeleton.d.ts +1 -1
- package/dist/components/auth/organization/user-invitation-row.d.ts +1 -1
- package/dist/components/auth/organization/user-invitations-empty.d.ts +1 -1
- package/dist/components/auth/organization/user-invitations.d.ts +1 -1
- package/dist/components/auth/passkey/add-passkey-dialog.d.ts +1 -1
- package/dist/components/auth/passkey/delete-passkey-dialog.d.ts +1 -1
- package/dist/components/auth/passkey/passkey-button.d.ts +1 -1
- package/dist/components/auth/passkey/passkey-skeleton.d.ts +1 -1
- package/dist/components/auth/passkey/passkey.d.ts +1 -1
- package/dist/components/auth/passkey/passkeys-empty.d.ts +1 -1
- package/dist/components/auth/passkey/passkeys.d.ts +1 -1
- package/dist/components/auth/provider-button.d.ts +1 -1
- package/dist/components/auth/provider-buttons.d.ts +1 -1
- package/dist/components/auth/reset-password.d.ts +1 -1
- package/dist/components/auth/settings/account/account-settings.d.ts +1 -1
- package/dist/components/auth/settings/account/change-avatar.d.ts +1 -1
- package/dist/components/auth/settings/account/change-email.d.ts +1 -1
- package/dist/components/auth/settings/account/user-profile.d.ts +1 -1
- package/dist/components/auth/settings/security/active-session.d.ts +1 -1
- package/dist/components/auth/settings/security/active-sessions.d.ts +1 -1
- package/dist/components/auth/settings/security/change-password.d.ts +1 -1
- package/dist/components/auth/settings/security/linked-account.d.ts +1 -1
- package/dist/components/auth/settings/security/linked-accounts.d.ts +1 -1
- package/dist/components/auth/settings/security/security-settings.d.ts +1 -1
- package/dist/components/auth/settings/settings.d.ts +1 -1
- package/dist/components/auth/sign-in.d.ts +1 -1
- package/dist/components/auth/sign-out.d.ts +1 -1
- package/dist/components/auth/sign-up.d.ts +1 -1
- package/dist/components/auth/theme/appearance.d.ts +1 -1
- package/dist/components/auth/theme/theme-toggle-item.d.ts +1 -1
- package/dist/components/auth/user/user-avatar.d.ts +1 -1
- package/dist/components/auth/user/user-button.d.ts +1 -1
- package/dist/components/auth/user/user-view.d.ts +1 -1
- package/dist/components/auth/username/sign-in-username.d.ts +1 -1
- package/dist/components/auth/username/username-field.d.ts +1 -1
- package/dist/lib/auth/organization-plugin.d.ts +1 -1
- package/package.json +1 -1
|
@@ -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
|
|
4
|
+
export declare function AdditionalField({ name, field, isPending, variant }: AdditionalFieldProps): import("react").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function ApiKeySkeleton(): import("react
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
7
|
+
export declare function AuthProvider({ children, navigate, ...config }: AuthProviderProps): import("react").JSX.Element;
|
|
@@ -20,4 +20,4 @@ export type AuthProps = {
|
|
|
20
20
|
* @param view - Explicit auth view to render (e.g., "signIn", "signUp")
|
|
21
21
|
* @returns The React element for the resolved authentication view
|
|
22
22
|
*/
|
|
23
|
-
export declare function Auth({ path, socialLayout, socialPosition, view, ...props }: AuthProps & Omit<CardProps, "children">): import("react
|
|
23
|
+
export declare function Auth({ path, socialLayout, socialPosition, view, ...props }: AuthProps & Omit<CardProps, "children">): 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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
3
|
+
export declare function ResetPasswordEmail({ colors, classNames, ...props }: ResetPasswordEmailProps): 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
|
|
15
|
+
export declare function ForgotPassword({ className, variant, ...props }: ForgotPasswordProps & Omit<CardProps, "children">): 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
|
|
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
|
|
16
|
+
export declare function MagicLink({ className, socialLayout, socialPosition, variant, ...props }: MagicLinkProps & Omit<CardProps, "children">): 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
|
|
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
|
|
14
|
+
export declare function ManageAccounts({ className, variant, ...props }: ManageAccountsProps & Omit<CardProps, "children">): 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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
7
|
+
export declare function LeaveOrganizationDialog({ isOpen, onOpenChange, organization }: LeaveOrganizationDialogProps): 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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
19
|
+
export declare function SlugField({ value, onChange, currentSlug, variant, ...props }: SlugFieldProps & TextFieldProps): 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
|
|
10
|
+
export declare function UserInvitationRow({ invitation }: UserInvitationRowProps): 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
|
|
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
|
|
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
|
|
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
|
|
6
|
+
export declare function PasskeyButton({ view }: PasskeyButtonProps): import("react").JSX.Element | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function PasskeySkeleton(): import("react
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
11
|
+
export declare function ResetPassword({ className, variant, ...props }: ResetPasswordProps & Omit<CardProps, "children">): 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
|
|
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
|
|
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
|
|
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
|
|
10
|
+
export declare function UserProfile({ className, variant, ...props }: UserProfileProps & Omit<CardProps, "children">): import("react").JSX.Element;
|
|
@@ -11,4 +11,4 @@ export type ActiveSessionProps = {
|
|
|
11
11
|
* @param session - The session object containing id, token, userAgent, ipAddress, and createdAt
|
|
12
12
|
* @returns A JSX element containing the active session row
|
|
13
13
|
*/
|
|
14
|
-
export declare function ActiveSession({ activeSession }: ActiveSessionProps): import("react
|
|
14
|
+
export declare function ActiveSession({ activeSession }: ActiveSessionProps): import("react").JSX.Element;
|
|
@@ -11,4 +11,4 @@ export type ActiveSessionsProps = {
|
|
|
11
11
|
*
|
|
12
12
|
* @returns A JSX element containing the sessions card
|
|
13
13
|
*/
|
|
14
|
-
export declare function ActiveSessions({ className, variant, ...props }: ActiveSessionsProps & Omit<CardProps, "children">): import("react
|
|
14
|
+
export declare function ActiveSessions({ className, variant, ...props }: ActiveSessionsProps & Omit<CardProps, "children">): import("react").JSX.Element;
|
|
@@ -12,4 +12,4 @@ export type ChangePasswordProps = {
|
|
|
12
12
|
*
|
|
13
13
|
* @returns A JSX element containing the change-password or set-password card
|
|
14
14
|
*/
|
|
15
|
-
export declare function ChangePassword({ className, variant, ...props }: ChangePasswordProps & Omit<CardProps, "children">): import("react
|
|
15
|
+
export declare function ChangePassword({ className, variant, ...props }: ChangePasswordProps & Omit<CardProps, "children">): import("react").JSX.Element;
|
|
@@ -13,4 +13,4 @@ export type LinkedAccountProps = {
|
|
|
13
13
|
* @param provider - The provider id
|
|
14
14
|
* @returns A JSX element containing the linked account row
|
|
15
15
|
*/
|
|
16
|
-
export declare function LinkedAccount({ account, provider }: LinkedAccountProps): import("react
|
|
16
|
+
export declare function LinkedAccount({ account, provider }: LinkedAccountProps): import("react").JSX.Element;
|
|
@@ -12,4 +12,4 @@ export type LinkedAccountsProps = {
|
|
|
12
12
|
*
|
|
13
13
|
* @returns A JSX element containing the linked accounts card
|
|
14
14
|
*/
|
|
15
|
-
export declare function LinkedAccounts({ className, variant, ...props }: LinkedAccountsProps & Omit<CardProps, "children">): import("react
|
|
15
|
+
export declare function LinkedAccounts({ className, variant, ...props }: LinkedAccountsProps & Omit<CardProps, "children">): import("react").JSX.Element;
|
|
@@ -14,4 +14,4 @@ export type SecuritySettingsProps = {
|
|
|
14
14
|
* @param variant - Card variant forwarded to each security settings card.
|
|
15
15
|
* @returns The security settings container as a JSX element.
|
|
16
16
|
*/
|
|
17
|
-
export declare function SecuritySettings({ className, variant, ...props }: SecuritySettingsProps & ComponentProps<"div">): import("react
|
|
17
|
+
export declare function SecuritySettings({ className, variant, ...props }: SecuritySettingsProps & ComponentProps<"div">): import("react").JSX.Element;
|
|
@@ -21,4 +21,4 @@ export type SettingsProps = {
|
|
|
21
21
|
*
|
|
22
22
|
* @throws Error if neither `view` nor `path` is provided, or if `path` does not match any settings view
|
|
23
23
|
*/
|
|
24
|
-
export declare function Settings({ className, hideNav, path, variant, view, ...props }: SettingsProps & ComponentProps<"div">): import("react
|
|
24
|
+
export declare function Settings({ className, hideNav, path, variant, view, ...props }: SettingsProps & ComponentProps<"div">): import("react").JSX.Element;
|
|
@@ -11,4 +11,4 @@ export interface SignInProps {
|
|
|
11
11
|
*
|
|
12
12
|
* @returns The sign-in JSX element containing email/password fields, optional magic-link button, and social provider buttons.
|
|
13
13
|
*/
|
|
14
|
-
export declare function SignIn({ className, socialLayout, socialPosition, variant, ...props }: SignInProps & Omit<CardProps, "children">): import("react
|
|
14
|
+
export declare function SignIn({ className, socialLayout, socialPosition, variant, ...props }: SignInProps & Omit<CardProps, "children">): import("react").JSX.Element;
|
|
@@ -6,4 +6,4 @@ export type SignOutProps = {
|
|
|
6
6
|
*
|
|
7
7
|
* @returns A Card containing a centered Spinner shown during the sign-out process
|
|
8
8
|
*/
|
|
9
|
-
export declare function SignOut({ className }: SignOutProps): import("react
|
|
9
|
+
export declare function SignOut({ className }: SignOutProps): import("react").JSX.Element;
|
|
@@ -16,4 +16,4 @@ export type SignUpProps = {
|
|
|
16
16
|
* @param socialPosition - Position of social provider buttons relative to the form; `"top"` or `"bottom"` (default `"bottom"`)
|
|
17
17
|
* @returns The sign-up form React element
|
|
18
18
|
*/
|
|
19
|
-
export declare function SignUp({ className, socialLayout, socialPosition, variant, ...props }: SignUpProps & Omit<CardProps, "children">): import("react
|
|
19
|
+
export declare function SignUp({ className, socialLayout, socialPosition, variant, ...props }: SignUpProps & Omit<CardProps, "children">): import("react").JSX.Element;
|
|
@@ -10,4 +10,4 @@ export type AppearanceProps = {
|
|
|
10
10
|
* and dark themes. Each option shows a visual preview of the theme. Theme options
|
|
11
11
|
* are conditionally shown based on the `themes` array provided via the theme plugin.
|
|
12
12
|
*/
|
|
13
|
-
export declare function Appearance({ className, variant, ...props }: AppearanceProps & Omit<CardProps, "children">): import("react
|
|
13
|
+
export declare function Appearance({ className, variant, ...props }: AppearanceProps & Omit<CardProps, "children">): import("react").JSX.Element;
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* Theme toggle dropdown item used inside `UserButton`. Callers are responsible
|
|
3
3
|
* for ensuring theming is configured before rendering this component.
|
|
4
4
|
*/
|
|
5
|
-
export declare function ThemeToggleItem(): import("react
|
|
5
|
+
export declare function ThemeToggleItem(): import("react").JSX.Element;
|
|
@@ -22,4 +22,4 @@ export type UserAvatarProps = {
|
|
|
22
22
|
* @param size - Visual size of the avatar; one of `"sm"`, `"md"`, or `"lg"` (default: `"sm"`)
|
|
23
23
|
* @returns A React element that displays the user's avatar image, initials, or the provided fallback; renders a circular skeleton while loading
|
|
24
24
|
*/
|
|
25
|
-
export declare function UserAvatar({ className, fallback, isPending, user, size, style, ...props }: UserAvatarProps & AvatarProps): import("react
|
|
25
|
+
export declare function UserAvatar({ className, fallback, isPending, user, size, style, ...props }: UserAvatarProps & AvatarProps): import("react").JSX.Element;
|
|
@@ -42,4 +42,4 @@ export type UserButtonProps = {
|
|
|
42
42
|
* @param hideSettings - Hide the built-in "Settings" link
|
|
43
43
|
* @returns The user button and its dropdown menu as a JSX element
|
|
44
44
|
*/
|
|
45
|
-
export declare function UserButton({ className, placement, size, variant, links, hideSettings, hideSubtitle }: UserButtonProps): import("react
|
|
45
|
+
export declare function UserButton({ className, placement, size, variant, links, hideSettings, hideSubtitle }: UserButtonProps): import("react").JSX.Element;
|
|
@@ -25,4 +25,4 @@ export type UserViewProps = {
|
|
|
25
25
|
* @param user - Optional user to display; when omitted the current session user is used if available
|
|
26
26
|
* @returns A React element containing the user's avatar and text labels
|
|
27
27
|
*/
|
|
28
|
-
export declare function UserView({ className, isPending, size, hideSubtitle, user, ...props }: UserViewProps & ComponentProps<"div">): import("react
|
|
28
|
+
export declare function UserView({ className, isPending, size, hideSubtitle, user, ...props }: UserViewProps & ComponentProps<"div">): import("react").JSX.Element;
|
|
@@ -11,4 +11,4 @@ export interface SignInUsernameProps {
|
|
|
11
11
|
*
|
|
12
12
|
* @returns The sign-in JSX element containing username/password fields, optional magic-link button, and social provider buttons.
|
|
13
13
|
*/
|
|
14
|
-
export declare function SignInUsername({ className, socialLayout, socialPosition, variant, ...props }: SignInUsernameProps & Omit<CardProps, "children">): import("react
|
|
14
|
+
export declare function SignInUsername({ className, socialLayout, socialPosition, variant, ...props }: SignInUsernameProps & Omit<CardProps, "children">): import("react").JSX.Element;
|
|
@@ -5,4 +5,4 @@ import { AdditionalFieldProps } from '../additional-field';
|
|
|
5
5
|
* native validation messages. Availability feedback is shown via the icon and
|
|
6
6
|
* aria-label without affecting the field's invalid state.
|
|
7
7
|
*/
|
|
8
|
-
export declare function UsernameField({ name, field, isPending, variant }: AdditionalFieldProps): import("react
|
|
8
|
+
export declare function UsernameField({ name, field, isPending, variant }: AdditionalFieldProps): import("react").JSX.Element;
|
|
@@ -4,7 +4,7 @@ export declare const organizationPlugin: ((options?: OrganizationPluginOptions |
|
|
|
4
4
|
localization: OrganizationLocalization;
|
|
5
5
|
settingsTabs: {
|
|
6
6
|
view: "organizations";
|
|
7
|
-
label: import("react
|
|
7
|
+
label: import("react").JSX.Element;
|
|
8
8
|
component: typeof OrganizationsSettings;
|
|
9
9
|
}[];
|
|
10
10
|
slug: string | null | undefined;
|