@better-auth-ui/heroui 1.6.9 → 1.6.10

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 (191) hide show
  1. package/dist/components/auth/additional-field.d.ts +2 -2
  2. package/dist/components/auth/api-key/api-key.d.ts +1 -1
  3. package/dist/components/auth/api-key/api-keys.d.ts +1 -1
  4. package/dist/components/auth/api-key/delete-api-key-dialog.d.ts +1 -1
  5. package/dist/components/auth/api-key/organization-api-keys.d.ts +1 -1
  6. package/dist/components/auth/auth-provider.d.ts +1 -1
  7. package/dist/components/auth/auth.d.ts +3 -3
  8. package/dist/components/auth/delete-user/danger-zone.d.ts +2 -2
  9. package/dist/components/auth/delete-user/delete-account.d.ts +1 -1
  10. package/dist/components/auth/email/email-changed-email.d.ts +2 -2
  11. package/dist/components/auth/email/email-verification-email.d.ts +2 -2
  12. package/dist/components/auth/email/magic-link-email.d.ts +2 -2
  13. package/dist/components/auth/email/new-device-email.d.ts +2 -2
  14. package/dist/components/auth/email/organization-invitation-email.d.ts +2 -2
  15. package/dist/components/auth/email/otp-email.d.ts +2 -2
  16. package/dist/components/auth/email/password-changed-email.d.ts +2 -2
  17. package/dist/components/auth/email/reset-password-email.d.ts +2 -2
  18. package/dist/components/auth/field-separator.d.ts +1 -1
  19. package/dist/components/auth/forgot-password.d.ts +1 -1
  20. package/dist/components/auth/magic-link/magic-link-button.d.ts +1 -1
  21. package/dist/components/auth/magic-link/magic-link.d.ts +2 -2
  22. package/dist/components/auth/multi-session/manage-account.d.ts +1 -1
  23. package/dist/components/auth/multi-session/manage-accounts.d.ts +1 -1
  24. package/dist/components/auth/multi-session/switch-account-submenu-item.d.ts +1 -1
  25. package/dist/components/auth/organization/delete-organization-dialog.d.ts +1 -1
  26. package/dist/components/auth/organization/leave-organization-dialog.d.ts +1 -1
  27. package/dist/components/auth/organization/organization-danger-zone.d.ts +2 -2
  28. package/dist/components/auth/organization/organization-invitation-row.d.ts +1 -1
  29. package/dist/components/auth/organization/organization-invitations.d.ts +1 -1
  30. package/dist/components/auth/organization/organization-logo.d.ts +3 -3
  31. package/dist/components/auth/organization/organization-member-row.d.ts +1 -1
  32. package/dist/components/auth/organization/organization-members.d.ts +1 -1
  33. package/dist/components/auth/organization/organization-people.d.ts +1 -1
  34. package/dist/components/auth/organization/organization-profile.d.ts +1 -1
  35. package/dist/components/auth/organization/organization-row.d.ts +1 -1
  36. package/dist/components/auth/organization/organization-settings.d.ts +2 -2
  37. package/dist/components/auth/organization/organization-switcher.d.ts +3 -3
  38. package/dist/components/auth/organization/organization-view-skeleton.d.ts +2 -2
  39. package/dist/components/auth/organization/organization-view.d.ts +3 -3
  40. package/dist/components/auth/organization/organization.d.ts +3 -3
  41. package/dist/components/auth/organization/organizations-settings.d.ts +2 -2
  42. package/dist/components/auth/organization/organizations.d.ts +1 -1
  43. package/dist/components/auth/organization/remove-member-dialog.d.ts +1 -1
  44. package/dist/components/auth/organization/slug-field.d.ts +1 -1
  45. package/dist/components/auth/organization/user-invitation-row.d.ts +1 -1
  46. package/dist/components/auth/organization/user-invitations.d.ts +1 -1
  47. package/dist/components/auth/passkey/passkey-button.d.ts +1 -1
  48. package/dist/components/auth/passkey/passkey.d.ts +1 -1
  49. package/dist/components/auth/passkey/passkeys.d.ts +1 -1
  50. package/dist/components/auth/provider-button.d.ts +2 -2
  51. package/dist/components/auth/reset-password.d.ts +1 -1
  52. package/dist/components/auth/settings/account/account-settings.d.ts +2 -2
  53. package/dist/components/auth/settings/account/change-email.d.ts +1 -1
  54. package/dist/components/auth/settings/account/user-profile.d.ts +1 -1
  55. package/dist/components/auth/settings/security/active-session.d.ts +1 -1
  56. package/dist/components/auth/settings/security/active-sessions.d.ts +1 -1
  57. package/dist/components/auth/settings/security/change-password.d.ts +1 -1
  58. package/dist/components/auth/settings/security/linked-account.d.ts +1 -1
  59. package/dist/components/auth/settings/security/linked-accounts.d.ts +1 -1
  60. package/dist/components/auth/settings/security/security-settings.d.ts +2 -2
  61. package/dist/components/auth/settings/settings.d.ts +3 -3
  62. package/dist/components/auth/sign-in.d.ts +2 -2
  63. package/dist/components/auth/sign-up.d.ts +2 -2
  64. package/dist/components/auth/theme/appearance.d.ts +1 -1
  65. package/dist/components/auth/user/user-avatar.d.ts +3 -3
  66. package/dist/components/auth/user/user-button.d.ts +2 -2
  67. package/dist/components/auth/user/user-view.d.ts +3 -3
  68. package/dist/components/auth/username/sign-in-username.d.ts +2 -2
  69. package/dist/components/auth/username/username-field.d.ts +1 -1
  70. package/dist/email.d.ts +8 -8
  71. package/dist/email.js +211 -8
  72. package/dist/index.d.ts +21 -21
  73. package/dist/index.js +1682 -21
  74. package/dist/lib/auth/api-key-plugin.d.ts +3 -3
  75. package/dist/lib/auth/auth-plugin.d.ts +5 -5
  76. package/dist/lib/auth/delete-user-plugin.d.ts +2 -2
  77. package/dist/lib/auth/magic-link-plugin.d.ts +3 -3
  78. package/dist/lib/auth/multi-session-plugin.d.ts +3 -3
  79. package/dist/lib/auth/organization-plugin.d.ts +2 -2
  80. package/dist/lib/auth/passkey-plugin.d.ts +3 -3
  81. package/dist/lib/auth/theme-plugin.d.ts +3 -3
  82. package/dist/lib/auth/username-plugin.d.ts +3 -3
  83. package/dist/plugins.d.ts +46 -46
  84. package/dist/plugins.js +2824 -47
  85. package/dist/user-view--47tVtJ3.js +113 -0
  86. package/package.json +2 -3
  87. package/dist/components/auth/additional-field.js +0 -137
  88. package/dist/components/auth/api-key/api-key-skeleton.js +0 -5
  89. package/dist/components/auth/api-key/api-key.js +0 -17
  90. package/dist/components/auth/api-key/api-keys-empty.js +0 -9
  91. package/dist/components/auth/api-key/api-keys.js +0 -22
  92. package/dist/components/auth/api-key/create-api-key-dialog.js +0 -44
  93. package/dist/components/auth/api-key/delete-api-key-dialog.js +0 -17
  94. package/dist/components/auth/api-key/new-api-key-dialog.js +0 -24
  95. package/dist/components/auth/api-key/organization-api-keys.js +0 -22
  96. package/dist/components/auth/auth-provider.js +0 -11
  97. package/dist/components/auth/auth.js +0 -88
  98. package/dist/components/auth/delete-user/danger-zone.js +0 -12
  99. package/dist/components/auth/delete-user/delete-account.js +0 -50
  100. package/dist/components/auth/email/email-changed-email.js +0 -23
  101. package/dist/components/auth/email/email-verification-email.js +0 -23
  102. package/dist/components/auth/email/magic-link-email.js +0 -23
  103. package/dist/components/auth/email/new-device-email.js +0 -23
  104. package/dist/components/auth/email/organization-invitation-email.js +0 -23
  105. package/dist/components/auth/email/otp-email.js +0 -22
  106. package/dist/components/auth/email/password-changed-email.js +0 -23
  107. package/dist/components/auth/email/reset-password-email.js +0 -23
  108. package/dist/components/auth/error-toaster.js +0 -33
  109. package/dist/components/auth/field-separator.js +0 -5
  110. package/dist/components/auth/forgot-password.js +0 -37
  111. package/dist/components/auth/magic-link/magic-link-button.js +0 -34
  112. package/dist/components/auth/magic-link/magic-link.js +0 -40
  113. package/dist/components/auth/multi-session/manage-account.js +0 -33
  114. package/dist/components/auth/multi-session/manage-accounts.js +0 -33
  115. package/dist/components/auth/multi-session/switch-account-submenu-content.js +0 -25
  116. package/dist/components/auth/multi-session/switch-account-submenu-item.js +0 -17
  117. package/dist/components/auth/multi-session/switch-account-submenu.js +0 -24
  118. package/dist/components/auth/organization/change-organization-logo.js +0 -69
  119. package/dist/components/auth/organization/create-organization-dialog.js +0 -37
  120. package/dist/components/auth/organization/delete-organization-dialog.js +0 -25
  121. package/dist/components/auth/organization/delete-organization-skeleton.js +0 -8
  122. package/dist/components/auth/organization/delete-organization.js +0 -27
  123. package/dist/components/auth/organization/invite-member-dialog.js +0 -47
  124. package/dist/components/auth/organization/leave-organization-dialog.js +0 -21
  125. package/dist/components/auth/organization/leave-organization.js +0 -16
  126. package/dist/components/auth/organization/organization-danger-zone.js +0 -23
  127. package/dist/components/auth/organization/organization-invitation-row-skeleton.js +0 -9
  128. package/dist/components/auth/organization/organization-invitation-row.js +0 -31
  129. package/dist/components/auth/organization/organization-invitations-empty.js +0 -13
  130. package/dist/components/auth/organization/organization-invitations.js +0 -66
  131. package/dist/components/auth/organization/organization-logo.js +0 -14
  132. package/dist/components/auth/organization/organization-member-row-skeleton.js +0 -9
  133. package/dist/components/auth/organization/organization-member-row.js +0 -34
  134. package/dist/components/auth/organization/organization-members.js +0 -67
  135. package/dist/components/auth/organization/organization-people.js +0 -11
  136. package/dist/components/auth/organization/organization-profile.js +0 -34
  137. package/dist/components/auth/organization/organization-row.js +0 -31
  138. package/dist/components/auth/organization/organization-settings.js +0 -13
  139. package/dist/components/auth/organization/organization-switcher.js +0 -48
  140. package/dist/components/auth/organization/organization-view-skeleton.js +0 -9
  141. package/dist/components/auth/organization/organization-view.js +0 -31
  142. package/dist/components/auth/organization/organization.js +0 -60
  143. package/dist/components/auth/organization/organizations-empty.js +0 -9
  144. package/dist/components/auth/organization/organizations-settings.js +0 -17
  145. package/dist/components/auth/organization/organizations.js +0 -21
  146. package/dist/components/auth/organization/remove-member-dialog.js +0 -20
  147. package/dist/components/auth/organization/slug-field.js +0 -38
  148. package/dist/components/auth/organization/user-invitation-row-skeleton.js +0 -8
  149. package/dist/components/auth/organization/user-invitation-row.js +0 -22
  150. package/dist/components/auth/organization/user-invitations-empty.js +0 -12
  151. package/dist/components/auth/organization/user-invitations.js +0 -18
  152. package/dist/components/auth/passkey/add-passkey-dialog.js +0 -22
  153. package/dist/components/auth/passkey/delete-passkey-dialog.js +0 -14
  154. package/dist/components/auth/passkey/passkey-button.js +0 -25
  155. package/dist/components/auth/passkey/passkey-skeleton.js +0 -5
  156. package/dist/components/auth/passkey/passkey.js +0 -17
  157. package/dist/components/auth/passkey/passkeys-empty.js +0 -9
  158. package/dist/components/auth/passkey/passkeys.js +0 -16
  159. package/dist/components/auth/provider-button.js +0 -29
  160. package/dist/components/auth/provider-buttons.js +0 -29
  161. package/dist/components/auth/reset-password.js +0 -57
  162. package/dist/components/auth/settings/account/account-settings.js +0 -22
  163. package/dist/components/auth/settings/account/change-avatar.js +0 -54
  164. package/dist/components/auth/settings/account/change-email.js +0 -28
  165. package/dist/components/auth/settings/account/user-profile.js +0 -65
  166. package/dist/components/auth/settings/security/active-session.js +0 -52
  167. package/dist/components/auth/settings/security/active-sessions.js +0 -23
  168. package/dist/components/auth/settings/security/change-password.js +0 -79
  169. package/dist/components/auth/settings/security/linked-account.js +0 -38
  170. package/dist/components/auth/settings/security/linked-accounts.js +0 -36
  171. package/dist/components/auth/settings/security/security-settings.js +0 -20
  172. package/dist/components/auth/settings/settings.js +0 -53
  173. package/dist/components/auth/sign-in.js +0 -64
  174. package/dist/components/auth/sign-out.js +0 -33
  175. package/dist/components/auth/sign-up.js +0 -98
  176. package/dist/components/auth/theme/appearance.js +0 -24
  177. package/dist/components/auth/theme/theme-toggle-item.js +0 -57
  178. package/dist/components/auth/user/user-avatar.js +0 -32
  179. package/dist/components/auth/user/user-button.js +0 -40
  180. package/dist/components/auth/user/user-view.js +0 -27
  181. package/dist/components/auth/username/sign-in-username.js +0 -88
  182. package/dist/components/auth/username/username-field.js +0 -45
  183. package/dist/lib/auth/api-key-plugin.js +0 -12
  184. package/dist/lib/auth/auth-plugin.js +0 -1
  185. package/dist/lib/auth/delete-user-plugin.js +0 -7
  186. package/dist/lib/auth/magic-link-plugin.js +0 -18
  187. package/dist/lib/auth/multi-session-plugin.js +0 -9
  188. package/dist/lib/auth/organization-plugin.js +0 -19
  189. package/dist/lib/auth/passkey-plugin.js +0 -9
  190. package/dist/lib/auth/theme-plugin.js +0 -26
  191. package/dist/lib/auth/username-plugin.js +0 -19
@@ -1,4 +1,4 @@
1
- import type { AdditionalFieldProps } from "../../lib/auth/auth-plugin";
2
- export type { AdditionalFieldProps } from "../../lib/auth/auth-plugin";
1
+ import { AdditionalFieldProps } from '../../lib/auth/auth-plugin';
2
+ export type { AdditionalFieldProps } from '../../lib/auth/auth-plugin';
3
3
  /** Renders a single additional user field via HeroUI v3 components. */
4
4
  export declare function AdditionalField({ name, field, isPending, variant }: AdditionalFieldProps): import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,4 @@
1
- import { type ListedApiKey } from "@better-auth-ui/react";
1
+ import { ListedApiKey } from '@better-auth-ui/react';
2
2
  export type ApiKeyProps = {
3
3
  apiKey: ListedApiKey;
4
4
  /** Hide the row's delete button (e.g., when caller lacks `apiKey:delete`). */
@@ -1,4 +1,4 @@
1
- import { type CardProps } from "@heroui/react";
1
+ import { CardProps } from '@heroui/react';
2
2
  export type ApiKeysProps = {
3
3
  className?: string;
4
4
  variant?: CardProps["variant"];
@@ -1,4 +1,4 @@
1
- import { type ListedApiKey } from "@better-auth-ui/react";
1
+ import { ListedApiKey } from '@better-auth-ui/react';
2
2
  export type DeleteApiKeyDialogProps = {
3
3
  isOpen: boolean;
4
4
  onOpenChange: (open: boolean) => void;
@@ -1,4 +1,4 @@
1
- import type { CardProps } from "@heroui/react";
1
+ import { CardProps } from '@heroui/react';
2
2
  export type OrganizationApiKeysProps = {
3
3
  className?: string;
4
4
  variant?: CardProps["variant"];
@@ -1,4 +1,4 @@
1
- import { type AuthClient, type AuthProviderProps as AuthProviderPropsPrimitive } from "@better-auth-ui/react";
1
+ import { AuthClient, AuthProviderProps as AuthProviderPropsPrimitive } from '@better-auth-ui/react';
2
2
  export type AuthProviderProps<TAuthClient = AuthClient> = AuthProviderPropsPrimitive<TAuthClient>;
3
3
  /**
4
4
  * Heroui-flavored `AuthProvider`. Wraps the primitive provider with a
@@ -1,6 +1,6 @@
1
- import type { AuthView } from "@better-auth-ui/core";
2
- import type { CardProps } from "@heroui/react";
3
- import type { SocialLayout } from "./provider-buttons";
1
+ import { AuthView } from '@better-auth-ui/core';
2
+ import { CardProps } from '@heroui/react';
3
+ import { SocialLayout } from './provider-buttons';
4
4
  export type AuthProps = {
5
5
  className?: string;
6
6
  path?: string;
@@ -1,5 +1,5 @@
1
- import { type CardProps } from "@heroui/react";
2
- import type { ComponentProps } from "react";
1
+ import { CardProps } from '@heroui/react';
2
+ import { ComponentProps } from 'react';
3
3
  export type DangerZoneProps = {
4
4
  className?: string;
5
5
  variant?: CardProps["variant"];
@@ -1,4 +1,4 @@
1
- import { type CardProps } from "@heroui/react";
1
+ import { CardProps } from '@heroui/react';
2
2
  export type DeleteAccountProps = {
3
3
  className?: string;
4
4
  variant?: CardProps["variant"];
@@ -1,3 +1,3 @@
1
- import { type EmailChangedEmailProps } from "@better-auth-ui/react/email";
2
- export type { EmailChangedEmailProps } from "@better-auth-ui/react/email";
1
+ import { EmailChangedEmailProps } from '@better-auth-ui/react/email';
2
+ export type { EmailChangedEmailProps } from '@better-auth-ui/react/email';
3
3
  export declare function EmailChangedEmail({ colors, classNames, ...props }: EmailChangedEmailProps): import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,3 @@
1
- import { type EmailVerificationEmailProps } from "@better-auth-ui/react/email";
2
- export type { EmailVerificationEmailProps } from "@better-auth-ui/react/email";
1
+ import { EmailVerificationEmailProps } from '@better-auth-ui/react/email';
2
+ export type { EmailVerificationEmailProps } from '@better-auth-ui/react/email';
3
3
  export declare function EmailVerificationEmail({ colors, classNames, ...props }: EmailVerificationEmailProps): import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,3 @@
1
- import { type MagicLinkEmailProps } from "@better-auth-ui/react/email";
2
- export type { MagicLinkEmailProps } from "@better-auth-ui/react/email";
1
+ import { MagicLinkEmailProps } from '@better-auth-ui/react/email';
2
+ export type { MagicLinkEmailProps } from '@better-auth-ui/react/email';
3
3
  export declare function MagicLinkEmail({ colors, classNames, ...props }: MagicLinkEmailProps): import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,3 @@
1
- import { type NewDeviceEmailProps } from "@better-auth-ui/react/email";
2
- export type { NewDeviceEmailProps } from "@better-auth-ui/react/email";
1
+ import { NewDeviceEmailProps } from '@better-auth-ui/react/email';
2
+ export type { NewDeviceEmailProps } from '@better-auth-ui/react/email';
3
3
  export declare function NewDeviceEmail({ colors, classNames, ...props }: NewDeviceEmailProps): import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,3 @@
1
- import { type OrganizationInvitationEmailProps } from "@better-auth-ui/react/email";
2
- export type { OrganizationInvitationEmailProps } from "@better-auth-ui/react/email";
1
+ import { OrganizationInvitationEmailProps } from '@better-auth-ui/react/email';
2
+ export type { OrganizationInvitationEmailProps } from '@better-auth-ui/react/email';
3
3
  export declare function OrganizationInvitationEmail({ colors, classNames, ...props }: OrganizationInvitationEmailProps): import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,3 @@
1
- import { type OtpEmailProps } from "@better-auth-ui/react/email";
2
- export type { OtpEmailProps } from "@better-auth-ui/react/email";
1
+ import { OtpEmailProps } from '@better-auth-ui/react/email';
2
+ export type { OtpEmailProps } from '@better-auth-ui/react/email';
3
3
  export declare function OtpEmail({ colors, classNames, ...props }: OtpEmailProps): import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,3 @@
1
- import { type PasswordChangedEmailProps } from "@better-auth-ui/react/email";
2
- export type { PasswordChangedEmailProps } from "@better-auth-ui/react/email";
1
+ import { PasswordChangedEmailProps } from '@better-auth-ui/react/email';
2
+ export type { PasswordChangedEmailProps } from '@better-auth-ui/react/email';
3
3
  export declare function PasswordChangedEmail({ colors, classNames, ...props }: PasswordChangedEmailProps): import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,3 @@
1
- import { type ResetPasswordEmailProps } from "@better-auth-ui/react/email";
2
- export type { ResetPasswordEmailProps } from "@better-auth-ui/react/email";
1
+ import { ResetPasswordEmailProps } from '@better-auth-ui/react/email';
2
+ export type { ResetPasswordEmailProps } from '@better-auth-ui/react/email';
3
3
  export declare function ResetPasswordEmail({ colors, classNames, ...props }: ResetPasswordEmailProps): import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,4 @@
1
- import type { ReactNode } from "react";
1
+ import { ReactNode } from 'react';
2
2
  export declare function FieldSeparator({ children }: {
3
3
  children: ReactNode;
4
4
  }): import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,4 @@
1
- import { type CardProps } from "@heroui/react";
1
+ import { CardProps } from '@heroui/react';
2
2
  export type ForgotPasswordProps = {
3
3
  className?: string;
4
4
  variant?: CardProps["variant"];
@@ -1,4 +1,4 @@
1
- import { type AuthView } from "@better-auth-ui/core";
1
+ import { AuthView } from '@better-auth-ui/core';
2
2
  export type MagicLinkButtonProps = {
3
3
  /** @remarks `AuthView` */
4
4
  view?: AuthView;
@@ -1,5 +1,5 @@
1
- import { type CardProps } from "@heroui/react";
2
- import { type SocialLayout } from "../provider-buttons";
1
+ import { CardProps } from '@heroui/react';
2
+ import { SocialLayout } from '../provider-buttons';
3
3
  export type MagicLinkProps = {
4
4
  className?: string;
5
5
  socialLayout?: SocialLayout;
@@ -1,4 +1,4 @@
1
- import { type ListDeviceSession } from "@better-auth-ui/react";
1
+ import { ListDeviceSession } from '@better-auth-ui/react';
2
2
  export type ManageAccountProps = {
3
3
  deviceSession?: ListDeviceSession | null;
4
4
  isPending?: boolean;
@@ -1,4 +1,4 @@
1
- import { type CardProps } from "@heroui/react";
1
+ import { CardProps } from '@heroui/react';
2
2
  export type ManageAccountsProps = {
3
3
  className?: string;
4
4
  variant?: CardProps["variant"];
@@ -1,4 +1,4 @@
1
- import type { Session, User } from "better-auth";
1
+ import { Session, User } from 'better-auth';
2
2
  type DeviceSession = {
3
3
  session: Session;
4
4
  user: User;
@@ -1,4 +1,4 @@
1
- import type { Organization } from "better-auth/client";
1
+ import { Organization } from 'better-auth/client';
2
2
  export type DeleteOrganizationDialogProps = {
3
3
  isOpen: boolean;
4
4
  onOpenChange: (open: boolean) => void;
@@ -1,4 +1,4 @@
1
- import type { Organization } from "better-auth/client";
1
+ import { Organization } from 'better-auth/client';
2
2
  export type LeaveOrganizationDialogProps = {
3
3
  isOpen: boolean;
4
4
  onOpenChange: (open: boolean) => void;
@@ -1,5 +1,5 @@
1
- import { type CardProps } from "@heroui/react";
2
- import type { ComponentProps } from "react";
1
+ import { CardProps } from '@heroui/react';
2
+ import { ComponentProps } from 'react';
3
3
  export type OrganizationDangerZoneProps = {
4
4
  className?: string;
5
5
  variant?: CardProps["variant"];
@@ -1,4 +1,4 @@
1
- import type { Invitation } from "better-auth/client";
1
+ import { Invitation } from 'better-auth/client';
2
2
  export type OrganizationInvitationTableRowProps = {
3
3
  invitation: Invitation;
4
4
  };
@@ -1,4 +1,4 @@
1
- import { type ComponentProps } from "react";
1
+ import { ComponentProps } from 'react';
2
2
  /** Props for the {@link OrganizationInvitations} component. */
3
3
  export type OrganizationInvitationsProps = {
4
4
  className?: string;
@@ -1,6 +1,6 @@
1
- import { type AvatarProps } from "@heroui/react";
2
- import type { Organization } from "better-auth/client";
3
- import type { ReactNode } from "react";
1
+ import { AvatarProps } from '@heroui/react';
2
+ import { Organization } from 'better-auth/client';
3
+ import { ReactNode } from 'react';
4
4
  export type OrganizationLogoProps = {
5
5
  className?: string;
6
6
  fallback?: ReactNode;
@@ -1,4 +1,4 @@
1
- import type { Member, Organization, User } from "better-auth/client";
1
+ import { Member, Organization, User } from 'better-auth/client';
2
2
  export type OrganizationMemberRowProps = {
3
3
  member: Member & {
4
4
  user: Partial<User>;
@@ -1,4 +1,4 @@
1
- import { type ComponentProps } from "react";
1
+ import { ComponentProps } from 'react';
2
2
  /** Props for the {@link OrganizationMembers} component. */
3
3
  export type OrganizationMembersProps = {
4
4
  className?: string;
@@ -1,4 +1,4 @@
1
- import type { ComponentProps } from "react";
1
+ import { ComponentProps } from 'react';
2
2
  /** Props for the {@link OrganizationPeople} component. */
3
3
  export type OrganizationPeopleProps = {
4
4
  className?: string;
@@ -1,4 +1,4 @@
1
- import { type CardProps } from "@heroui/react";
1
+ import { CardProps } from '@heroui/react';
2
2
  export type OrganizationProfileProps = {
3
3
  className?: string;
4
4
  variant?: CardProps["variant"];
@@ -1,4 +1,4 @@
1
- import type { Organization } from "better-auth/client";
1
+ import { Organization } from 'better-auth/client';
2
2
  export type OrganizationRowProps = {
3
3
  organization: Organization;
4
4
  };
@@ -1,5 +1,5 @@
1
- import { type CardProps } from "@heroui/react";
2
- import type { ComponentProps } from "react";
1
+ import { CardProps } from '@heroui/react';
2
+ import { ComponentProps } from 'react';
3
3
  /** Props for the {@link OrganizationSettings} component. */
4
4
  export type OrganizationSettingsProps = {
5
5
  className?: string;
@@ -1,6 +1,6 @@
1
- import { type ButtonProps, type DropdownPopoverProps } from "@heroui/react";
2
- import type { Organization } from "better-auth/client";
3
- import { type ReactNode } from "react";
1
+ import { ButtonProps, DropdownPopoverProps } from '@heroui/react';
2
+ import { Organization } from 'better-auth/client';
3
+ import { ReactNode } from 'react';
4
4
  /** Props for the {@link OrganizationSwitcher} component. */
5
5
  export type OrganizationSwitcherProps = {
6
6
  className?: string;
@@ -1,5 +1,5 @@
1
- import type { ComponentProps } from "react";
2
- import type { OrganizationViewProps } from "./organization-view";
1
+ import { ComponentProps } from 'react';
2
+ import { OrganizationViewProps } from './organization-view';
3
3
  /**
4
4
  * Placeholder matching {@link OrganizationView} while organization data loads.
5
5
  */
@@ -1,6 +1,6 @@
1
- import { type AvatarProps } from "@heroui/react";
2
- import type { Organization } from "better-auth/client";
3
- import type { ComponentProps } from "react";
1
+ import { AvatarProps } from '@heroui/react';
2
+ import { Organization } from 'better-auth/client';
3
+ import { ComponentProps } from 'react';
4
4
  export type OrganizationViewProps = {
5
5
  className?: string;
6
6
  isPending?: boolean;
@@ -1,6 +1,6 @@
1
- import type { OrganizationView } from "@better-auth-ui/core/plugins";
2
- import { type CardProps } from "@heroui/react";
3
- import { type ComponentProps } from "react";
1
+ import { OrganizationView } from '@better-auth-ui/core/plugins';
2
+ import { CardProps } from '@heroui/react';
3
+ import { ComponentProps } from 'react';
4
4
  export type OrganizationProps = {
5
5
  className?: string;
6
6
  hideNav?: boolean;
@@ -1,5 +1,5 @@
1
- import { type CardProps } from "@heroui/react";
2
- import type { ComponentProps } from "react";
1
+ import { CardProps } from '@heroui/react';
2
+ import { ComponentProps } from 'react';
3
3
  export type OrganizationsSettingsProps = {
4
4
  className?: string;
5
5
  variant?: CardProps["variant"];
@@ -1,4 +1,4 @@
1
- import { type CardProps } from "@heroui/react";
1
+ import { CardProps } from '@heroui/react';
2
2
  export type OrganizationsProps = {
3
3
  variant?: CardProps["variant"];
4
4
  };
@@ -1,4 +1,4 @@
1
- import type { Member, User } from "better-auth/client";
1
+ import { Member, User } from 'better-auth/client';
2
2
  export type RemoveMemberDialogProps = {
3
3
  isOpen: boolean;
4
4
  onOpenChange: (open: boolean) => void;
@@ -1,4 +1,4 @@
1
- import { type InputProps, type TextFieldProps } from "@heroui/react";
1
+ import { InputProps, TextFieldProps } from '@heroui/react';
2
2
  /** Props for the {@link SlugField} component. */
3
3
  export type SlugFieldProps = {
4
4
  value: string;
@@ -1,4 +1,4 @@
1
- import type { Invitation } from "better-auth/client";
1
+ import { Invitation } from 'better-auth/client';
2
2
  export type UserInvitationRowProps = {
3
3
  invitation: Invitation & {
4
4
  organizationName?: string;
@@ -1,4 +1,4 @@
1
- import { type CardProps } from "@heroui/react";
1
+ import { CardProps } from '@heroui/react';
2
2
  export type UserInvitationsProps = {
3
3
  variant?: CardProps["variant"];
4
4
  };
@@ -1,4 +1,4 @@
1
- import { type AuthView } from "@better-auth-ui/core";
1
+ import { AuthView } from '@better-auth-ui/core';
2
2
  export type PasskeyButtonProps = {
3
3
  /** @remarks `AuthView` */
4
4
  view?: AuthView;
@@ -1,4 +1,4 @@
1
- import { type ListedPasskey } from "./delete-passkey-dialog";
1
+ import { ListedPasskey } from './delete-passkey-dialog';
2
2
  export type PasskeyProps = {
3
3
  passkey: ListedPasskey;
4
4
  };
@@ -1,4 +1,4 @@
1
- import { type CardProps } from "@heroui/react";
1
+ import { CardProps } from '@heroui/react';
2
2
  export type PasskeysProps = {
3
3
  className?: string;
4
4
  variant?: CardProps["variant"];
@@ -1,5 +1,5 @@
1
- import { type ButtonProps } from "@heroui/react";
2
- import type { SocialProvider } from "better-auth/social-providers";
1
+ import { ButtonProps } from '@heroui/react';
2
+ import { SocialProvider } from 'better-auth/social-providers';
3
3
  export type ProviderButtonProps = {
4
4
  provider: SocialProvider;
5
5
  display?: "full" | "name" | "icon";
@@ -1,4 +1,4 @@
1
- import { type CardProps } from "@heroui/react";
1
+ import { CardProps } from '@heroui/react';
2
2
  export type ResetPasswordProps = {
3
3
  className?: string;
4
4
  variant?: CardProps["variant"];
@@ -1,5 +1,5 @@
1
- import { type CardProps } from "@heroui/react";
2
- import type { ComponentProps } from "react";
1
+ import { CardProps } from '@heroui/react';
2
+ import { ComponentProps } from 'react';
3
3
  export type AccountSettingsProps = {
4
4
  className?: string;
5
5
  variant?: CardProps["variant"];
@@ -1,4 +1,4 @@
1
- import { type CardProps } from "@heroui/react";
1
+ import { CardProps } from '@heroui/react';
2
2
  export type ChangeEmailProps = {
3
3
  className?: string;
4
4
  variant?: CardProps["variant"];
@@ -1,4 +1,4 @@
1
- import { type CardProps } from "@heroui/react";
1
+ import { CardProps } from '@heroui/react';
2
2
  export type UserProfileProps = {
3
3
  className?: string;
4
4
  variant?: CardProps["variant"];
@@ -1,4 +1,4 @@
1
- import type { Session } from "better-auth";
1
+ import { Session } from 'better-auth';
2
2
  export type ActiveSessionProps = {
3
3
  activeSession: Session;
4
4
  };
@@ -1,4 +1,4 @@
1
- import { type CardProps } from "@heroui/react";
1
+ import { CardProps } from '@heroui/react';
2
2
  export type ActiveSessionsProps = {
3
3
  className?: string;
4
4
  variant?: CardProps["variant"];
@@ -1,4 +1,4 @@
1
- import { type CardProps } from "@heroui/react";
1
+ import { CardProps } from '@heroui/react';
2
2
  export type ChangePasswordProps = {
3
3
  className?: string;
4
4
  variant?: CardProps["variant"];
@@ -1,4 +1,4 @@
1
- import type { Account, SocialProvider } from "better-auth";
1
+ import { Account, SocialProvider } from 'better-auth';
2
2
  export type LinkedAccountProps = {
3
3
  account?: Account;
4
4
  provider: SocialProvider;
@@ -1,4 +1,4 @@
1
- import { type CardProps } from "@heroui/react";
1
+ import { CardProps } from '@heroui/react';
2
2
  export type LinkedAccountsProps = {
3
3
  className?: string;
4
4
  variant?: CardProps["variant"];
@@ -1,5 +1,5 @@
1
- import { type CardProps } from "@heroui/react";
2
- import type { ComponentProps } from "react";
1
+ import { CardProps } from '@heroui/react';
2
+ import { ComponentProps } from 'react';
3
3
  export type SecuritySettingsProps = {
4
4
  className?: string;
5
5
  variant?: CardProps["variant"];
@@ -1,6 +1,6 @@
1
- import type { SettingsView } from "@better-auth-ui/core";
2
- import { type CardProps } from "@heroui/react";
3
- import { type ComponentProps } from "react";
1
+ import { SettingsView } from '@better-auth-ui/core';
2
+ import { CardProps } from '@heroui/react';
3
+ import { ComponentProps } from 'react';
4
4
  export type SettingsProps = {
5
5
  className?: string;
6
6
  hideNav?: boolean;
@@ -1,5 +1,5 @@
1
- import { type CardProps } from "@heroui/react";
2
- import { type SocialLayout } from "./provider-buttons";
1
+ import { CardProps } from '@heroui/react';
2
+ import { SocialLayout } from './provider-buttons';
3
3
  export interface SignInProps {
4
4
  className?: string;
5
5
  socialLayout?: SocialLayout;
@@ -1,5 +1,5 @@
1
- import { type CardProps } from "@heroui/react";
2
- import { type SocialLayout } from "./provider-buttons";
1
+ import { CardProps } from '@heroui/react';
2
+ import { SocialLayout } from './provider-buttons';
3
3
  export type SignUpProps = {
4
4
  className?: string;
5
5
  socialLayout?: SocialLayout;
@@ -1,4 +1,4 @@
1
- import { type CardProps } from "@heroui/react";
1
+ import { CardProps } from '@heroui/react';
2
2
  export type AppearanceProps = {
3
3
  className?: string;
4
4
  variant?: CardProps["variant"];
@@ -1,6 +1,6 @@
1
- import { type AvatarProps } from "@heroui/react";
2
- import type { User } from "better-auth";
3
- import type { ReactNode } from "react";
1
+ import { AvatarProps } from '@heroui/react';
2
+ import { User } from 'better-auth';
3
+ import { ReactNode } from 'react';
4
4
  export type UserAvatarProps = {
5
5
  className?: string;
6
6
  fallback?: ReactNode;
@@ -1,5 +1,5 @@
1
- import { type ButtonProps, type DropdownItemProps, type DropdownPopoverProps } from "@heroui/react";
2
- import { type ReactElement, type ReactNode } from "react";
1
+ import { ButtonProps, DropdownItemProps, DropdownPopoverProps } from '@heroui/react';
2
+ import { ReactElement, ReactNode } from 'react';
3
3
  /** Auth states a `UserButton` link can be visible in. */
4
4
  export type UserButtonLinkVisibility = "authenticated" | "unauthenticated" | "always";
5
5
  /** A simple link entry rendered as a `Dropdown.Item` in the `UserButton` menu. */
@@ -1,6 +1,6 @@
1
- import { type AvatarProps } from "@heroui/react";
2
- import type { User } from "better-auth";
3
- import type { ComponentProps } from "react";
1
+ import { AvatarProps } from '@heroui/react';
2
+ import { User } from 'better-auth';
3
+ import { ComponentProps } from 'react';
4
4
  export type UserViewProps = {
5
5
  className?: string;
6
6
  isPending?: boolean;
@@ -1,5 +1,5 @@
1
- import { type CardProps } from "@heroui/react";
2
- import { type SocialLayout } from "../provider-buttons";
1
+ import { CardProps } from '@heroui/react';
2
+ import { SocialLayout } from '../provider-buttons';
3
3
  export interface SignInUsernameProps {
4
4
  className?: string;
5
5
  socialLayout?: SocialLayout;
@@ -1,4 +1,4 @@
1
- import type { AdditionalFieldProps } from "../additional-field";
1
+ import { AdditionalFieldProps } from '../additional-field';
2
2
  /**
3
3
  * Renderer for the `username` additional field. Owns availability checking,
4
4
  * length limits, and visual indicators. `FieldError` automatically surfaces
package/dist/email.d.ts CHANGED
@@ -1,8 +1,8 @@
1
- export * from "./components/auth/email/email-changed-email";
2
- export * from "./components/auth/email/email-verification-email";
3
- export * from "./components/auth/email/magic-link-email";
4
- export * from "./components/auth/email/new-device-email";
5
- export * from "./components/auth/email/organization-invitation-email";
6
- export * from "./components/auth/email/otp-email";
7
- export * from "./components/auth/email/password-changed-email";
8
- export * from "./components/auth/email/reset-password-email";
1
+ export * from './components/auth/email/email-changed-email';
2
+ export * from './components/auth/email/email-verification-email';
3
+ export * from './components/auth/email/magic-link-email';
4
+ export * from './components/auth/email/new-device-email';
5
+ export * from './components/auth/email/organization-invitation-email';
6
+ export * from './components/auth/email/otp-email';
7
+ export * from './components/auth/email/password-changed-email';
8
+ export * from './components/auth/email/reset-password-email';