@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.
- 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 +2 -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/index.js +446 -447
- package/dist/lib/auth/auth-plugin.d.ts +4 -2
- package/dist/lib/auth/organization-plugin.d.ts +1 -1
- package/dist/plugins.js +925 -927
- package/package.json +3 -3
- package/src/components/auth/auth.tsx +11 -6
- package/src/components/auth/forgot-password.tsx +1 -6
- package/src/components/auth/magic-link/magic-link.tsx +2 -4
- package/src/components/auth/reset-password.tsx +1 -6
- package/src/components/auth/sign-in.tsx +2 -4
- package/src/components/auth/sign-up.tsx +2 -4
- package/src/components/auth/user/user-button.tsx +2 -2
- package/src/components/auth/username/sign-in-username.tsx +2 -4
- package/src/lib/auth/auth-plugin.ts +4 -2
|
@@ -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
|
|
14
|
+
export declare function SignIn({ className, socialLayout, socialPosition, variant }: SignInProps): 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
|
|
19
|
+
export declare function SignUp({ className, socialLayout, socialPosition, variant }: SignUpProps): 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
|
|
14
|
+
export declare function SignInUsername({ className, socialLayout, socialPosition, variant }: SignInUsernameProps): 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;
|