@better-auth-ui/react 1.6.17 → 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.
Files changed (51) hide show
  1. package/dist/components/auth/auth-provider.d.ts +1 -1
  2. package/dist/components/auth/email/email-changed.d.ts +1 -1
  3. package/dist/components/auth/email/email-styles.d.ts +1 -1
  4. package/dist/components/auth/email/email-verification.d.ts +1 -1
  5. package/dist/components/auth/email/magic-link.d.ts +1 -1
  6. package/dist/components/auth/email/new-device.d.ts +1 -1
  7. package/dist/components/auth/email/organization-invitation.d.ts +1 -1
  8. package/dist/components/auth/email/otp-email.d.ts +1 -1
  9. package/dist/components/auth/email/password-changed.d.ts +1 -1
  10. package/dist/components/auth/email/reset-password.d.ts +1 -1
  11. package/dist/components/auth/fetch-options-provider.d.ts +1 -1
  12. package/dist/components/icons/apple.d.ts +1 -1
  13. package/dist/components/icons/atlassian.d.ts +1 -1
  14. package/dist/components/icons/cognito.d.ts +1 -1
  15. package/dist/components/icons/discord.d.ts +1 -1
  16. package/dist/components/icons/dropbox.d.ts +1 -1
  17. package/dist/components/icons/facebook.d.ts +1 -1
  18. package/dist/components/icons/figma.d.ts +1 -1
  19. package/dist/components/icons/github.d.ts +1 -1
  20. package/dist/components/icons/gitlab.d.ts +1 -1
  21. package/dist/components/icons/google.d.ts +1 -1
  22. package/dist/components/icons/huggingface.d.ts +1 -1
  23. package/dist/components/icons/kakao.d.ts +1 -1
  24. package/dist/components/icons/kick.d.ts +1 -1
  25. package/dist/components/icons/line.d.ts +1 -1
  26. package/dist/components/icons/linear.d.ts +1 -1
  27. package/dist/components/icons/linkedin.d.ts +1 -1
  28. package/dist/components/icons/microsoft.d.ts +1 -1
  29. package/dist/components/icons/naver.d.ts +1 -1
  30. package/dist/components/icons/notion.d.ts +1 -1
  31. package/dist/components/icons/paybin.d.ts +1 -1
  32. package/dist/components/icons/paypal.d.ts +1 -1
  33. package/dist/components/icons/polar.d.ts +1 -1
  34. package/dist/components/icons/railway.d.ts +1 -1
  35. package/dist/components/icons/reddit.d.ts +1 -1
  36. package/dist/components/icons/roblox.d.ts +1 -1
  37. package/dist/components/icons/salesforce.d.ts +1 -1
  38. package/dist/components/icons/slack.d.ts +1 -1
  39. package/dist/components/icons/spotify.d.ts +1 -1
  40. package/dist/components/icons/tiktok.d.ts +1 -1
  41. package/dist/components/icons/twitch.d.ts +1 -1
  42. package/dist/components/icons/vercel.d.ts +1 -1
  43. package/dist/components/icons/vk.d.ts +1 -1
  44. package/dist/components/icons/wechat.d.ts +1 -1
  45. package/dist/components/icons/x.d.ts +1 -1
  46. package/dist/components/icons/zoom.d.ts +1 -1
  47. package/dist/components/settings/account/theme-preview.d.ts +3 -3
  48. package/dist/plugins/captcha-plugin.d.ts +1 -1
  49. package/dist/queries/settings/account-info-query.d.ts +8 -0
  50. package/dist/server/queries/settings/account-info-query.d.ts +8 -0
  51. package/package.json +1 -1
@@ -34,7 +34,7 @@ export type AuthProviderProps<TAuthClient = AuthClient> = PropsWithChildren<Deep
34
34
  *
35
35
  * @returns The children wrapped with AuthContext.Provider and QueryClientProvider configured for auth.
36
36
  */
37
- export declare function AuthProvider({ children, queryClient, ...config }: AuthProviderProps): import("react/jsx-runtime").JSX.Element;
37
+ export declare function AuthProvider({ children, queryClient, ...config }: AuthProviderProps): import("react").JSX.Element;
38
38
  /**
39
39
  * Accesses the current authentication configuration from AuthContext.
40
40
  *
@@ -78,7 +78,7 @@ export interface EmailChangedEmailProps {
78
78
  * ```
79
79
  */
80
80
  export declare const EmailChangedEmail: {
81
- ({ oldEmail, newEmail, revertURL, appName, supportEmail, logoURL, colors, classNames, darkMode, poweredBy, head, ...props }: EmailChangedEmailProps): import("react/jsx-runtime").JSX.Element;
81
+ ({ oldEmail, newEmail, revertURL, appName, supportEmail, logoURL, colors, classNames, darkMode, poweredBy, head, ...props }: EmailChangedEmailProps): import("react").JSX.Element;
82
82
  localization: {
83
83
  YOUR_EMAIL_ADDRESS_HAS_BEEN_CHANGED: string;
84
84
  LOGO: string;
@@ -85,5 +85,5 @@ interface EmailStylesProps {
85
85
  * />
86
86
  * ```
87
87
  */
88
- export declare const EmailStyles: ({ colors, darkMode }: EmailStylesProps) => import("react/jsx-runtime").JSX.Element;
88
+ export declare const EmailStyles: ({ colors, darkMode }: EmailStylesProps) => import("react").JSX.Element;
89
89
  export default EmailStyles;
@@ -73,7 +73,7 @@ export interface EmailVerificationEmailProps {
73
73
  * ```
74
74
  */
75
75
  export declare const EmailVerificationEmail: {
76
- ({ url, email, appName, expirationMinutes, logoURL, colors, classNames, darkMode, poweredBy, head, ...props }: EmailVerificationEmailProps): import("react/jsx-runtime").JSX.Element;
76
+ ({ url, email, appName, expirationMinutes, logoURL, colors, classNames, darkMode, poweredBy, head, ...props }: EmailVerificationEmailProps): import("react").JSX.Element;
77
77
  /**
78
78
  * Default localization strings for the email verification template.
79
79
  * Can be overridden via the `localization` prop.
@@ -75,7 +75,7 @@ export interface MagicLinkEmailProps {
75
75
  * ```
76
76
  */
77
77
  export declare const MagicLinkEmail: {
78
- ({ url, email, appName, expirationMinutes, logoURL, colors, classNames, darkMode, poweredBy, head, ...props }: MagicLinkEmailProps): import("react/jsx-runtime").JSX.Element;
78
+ ({ url, email, appName, expirationMinutes, logoURL, colors, classNames, darkMode, poweredBy, head, ...props }: MagicLinkEmailProps): import("react").JSX.Element;
79
79
  localization: {
80
80
  SIGN_IN_TO_APP_NAME: string;
81
81
  SIGN_IN_TO_YOUR_ACCOUNT: string;
@@ -101,7 +101,7 @@ export interface NewDeviceEmailProps {
101
101
  * ```
102
102
  */
103
103
  export declare const NewDeviceEmail: {
104
- ({ userEmail, deviceInfo, secureAccountLink, appName, supportEmail, logoURL, colors, classNames, darkMode, poweredBy, head, ...props }: NewDeviceEmailProps): import("react/jsx-runtime").JSX.Element;
104
+ ({ userEmail, deviceInfo, secureAccountLink, appName, supportEmail, logoURL, colors, classNames, darkMode, poweredBy, head, ...props }: NewDeviceEmailProps): import("react").JSX.Element;
105
105
  localization: {
106
106
  NEW_SIGN_IN_DETECTED: string;
107
107
  LOGO: string;
@@ -101,7 +101,7 @@ export interface OrganizationInvitationEmailProps {
101
101
  * ```
102
102
  */
103
103
  export declare const OrganizationInvitationEmail: {
104
- ({ url, email, inviterName, inviterEmail, organizationName, organizationLogoURL, role, appName, expirationHours, logoURL, colors, classNames, darkMode, poweredBy, head, ...props }: OrganizationInvitationEmailProps): import("react/jsx-runtime").JSX.Element;
104
+ ({ url, email, inviterName, inviterEmail, organizationName, organizationLogoURL, role, appName, expirationHours, logoURL, colors, classNames, darkMode, poweredBy, head, ...props }: OrganizationInvitationEmailProps): import("react").JSX.Element;
105
105
  localization: {
106
106
  YOU_RE_INVITED_TO_ORGANIZATION: string;
107
107
  YOU_RE_INVITED: string;
@@ -72,7 +72,7 @@ export interface OtpEmailProps {
72
72
  * ```
73
73
  */
74
74
  export declare const OtpEmail: {
75
- ({ verificationCode, email, appName, expirationMinutes, logoURL, colors, classNames, darkMode, poweredBy, head, ...props }: OtpEmailProps): import("react/jsx-runtime").JSX.Element;
75
+ ({ verificationCode, email, appName, expirationMinutes, logoURL, colors, classNames, darkMode, poweredBy, head, ...props }: OtpEmailProps): import("react").JSX.Element;
76
76
  localization: {
77
77
  YOUR_VERIFICATION_CODE_IS_CODE: string;
78
78
  LOGO: string;
@@ -78,7 +78,7 @@ export interface PasswordChangedEmailProps {
78
78
  * ```
79
79
  */
80
80
  export declare const PasswordChangedEmail: {
81
- ({ email, timestamp, secureAccountURL, appName, supportEmail, logoURL, colors, classNames, darkMode, poweredBy, head, ...props }: PasswordChangedEmailProps): import("react/jsx-runtime").JSX.Element;
81
+ ({ email, timestamp, secureAccountURL, appName, supportEmail, logoURL, colors, classNames, darkMode, poweredBy, head, ...props }: PasswordChangedEmailProps): import("react").JSX.Element;
82
82
  localization: {
83
83
  YOUR_PASSWORD_HAS_BEEN_CHANGED: string;
84
84
  LOGO: string;
@@ -73,7 +73,7 @@ export interface ResetPasswordEmailProps {
73
73
  * ```
74
74
  */
75
75
  export declare const ResetPasswordEmail: {
76
- ({ url, email, appName, expirationMinutes, logoURL, colors, classNames, darkMode, poweredBy, head, ...props }: ResetPasswordEmailProps): import("react/jsx-runtime").JSX.Element;
76
+ ({ url, email, appName, expirationMinutes, logoURL, colors, classNames, darkMode, poweredBy, head, ...props }: ResetPasswordEmailProps): import("react").JSX.Element;
77
77
  localization: {
78
78
  RESET_YOUR_PASSWORD: string;
79
79
  LOGO: string;
@@ -14,6 +14,6 @@ type FetchOptionsContextValue = {
14
14
  /** Register a reset handler. Used by `captchaPlugin`. Pass `null` to clear. */
15
15
  registerReset: (reset: (() => void) | null) => void;
16
16
  };
17
- export declare function FetchOptionsProvider({ children }: PropsWithChildren): import("react/jsx-runtime").JSX.Element;
17
+ export declare function FetchOptionsProvider({ children }: PropsWithChildren): import("react").JSX.Element;
18
18
  export declare function useFetchOptions(): FetchOptionsContextValue;
19
19
  export {};
@@ -5,4 +5,4 @@ import { ComponentPropsWithRef } from 'react';
5
5
  * @param props - Props forwarded to the root `<svg>` element; they are spread onto the element and can override attributes such as `width`, `height`, `className`, and `aria-label`.
6
6
  * @returns The SVG element for the Apple icon.
7
7
  */
8
- export declare function Apple(props: ComponentPropsWithRef<"svg">): import("react/jsx-runtime").JSX.Element;
8
+ export declare function Apple(props: ComponentPropsWithRef<"svg">): import("react").JSX.Element;
@@ -7,4 +7,4 @@ import { ComponentPropsWithRef } from 'react';
7
7
  * @param props - Props forwarded to the root SVG element.
8
8
  * @returns An SVG element representing the Atlassian icon.
9
9
  */
10
- export declare function Atlassian(props: ComponentPropsWithRef<"svg">): import("react/jsx-runtime").JSX.Element;
10
+ export declare function Atlassian(props: ComponentPropsWithRef<"svg">): import("react").JSX.Element;
@@ -5,4 +5,4 @@ import { ComponentPropsWithRef } from 'react';
5
5
  * @param props - Props passed through to the underlying `svg` element (accepts standard SVG attributes and ref).
6
6
  * @returns A React `svg` element displaying the Cognito icon
7
7
  */
8
- export declare function Cognito(props: ComponentPropsWithRef<"svg">): import("react/jsx-runtime").JSX.Element;
8
+ export declare function Cognito(props: ComponentPropsWithRef<"svg">): import("react").JSX.Element;
@@ -5,4 +5,4 @@ import { ComponentPropsWithRef } from 'react';
5
5
  * @param props - Props forwarded to the root `<svg>` element (e.g., `className`, `style`, `aria-*`, event handlers)
6
6
  * @returns The SVG element for the Discord icon
7
7
  */
8
- export declare function Discord(props: ComponentPropsWithRef<"svg">): import("react/jsx-runtime").JSX.Element;
8
+ export declare function Discord(props: ComponentPropsWithRef<"svg">): import("react").JSX.Element;
@@ -5,4 +5,4 @@ import { ComponentPropsWithRef } from 'react';
5
5
  * @param props - Props to apply to the root `<svg>` element; all props are forwarded to the SVG.
6
6
  * @returns An SVG element containing the Dropbox logo
7
7
  */
8
- export declare function Dropbox(props: ComponentPropsWithRef<"svg">): import("react/jsx-runtime").JSX.Element;
8
+ export declare function Dropbox(props: ComponentPropsWithRef<"svg">): import("react").JSX.Element;
@@ -7,4 +7,4 @@ import { ComponentPropsWithRef } from 'react';
7
7
  * @param props - Props to spread onto the root SVG element (e.g., `className`, `style`, `ref`, event handlers)
8
8
  * @returns The SVG element representing the Facebook logo
9
9
  */
10
- export declare function Facebook(props: ComponentPropsWithRef<"svg">): import("react/jsx-runtime").JSX.Element;
10
+ export declare function Facebook(props: ComponentPropsWithRef<"svg">): import("react").JSX.Element;
@@ -8,4 +8,4 @@ import { ComponentPropsWithRef } from 'react';
8
8
  * @param props - Props forwarded to the root `<svg>` element
9
9
  * @returns An accessible SVG element containing the multicolor Figma logo
10
10
  */
11
- export declare function Figma(props: ComponentPropsWithRef<"svg">): import("react/jsx-runtime").JSX.Element;
11
+ export declare function Figma(props: ComponentPropsWithRef<"svg">): import("react").JSX.Element;
@@ -7,4 +7,4 @@ import { ComponentPropsWithRef } from 'react';
7
7
  * @param props - Props spread onto the root `<svg>` element (standard SVG attributes and event handlers).
8
8
  * @returns The SVG element for the GitHub mark.
9
9
  */
10
- export declare function GitHub(props: ComponentPropsWithRef<"svg">): import("react/jsx-runtime").JSX.Element;
10
+ export declare function GitHub(props: ComponentPropsWithRef<"svg">): import("react").JSX.Element;
@@ -5,4 +5,4 @@ import { ComponentPropsWithRef } from 'react';
5
5
  * @param props - Props forwarded to the root SVG element (e.g., `className`, `style`, `width`, `height`, `aria-*`)
6
6
  * @returns An SVG element representing the GitLab logo
7
7
  */
8
- export declare function GitLab(props: ComponentPropsWithRef<"svg">): import("react/jsx-runtime").JSX.Element;
8
+ export declare function GitLab(props: ComponentPropsWithRef<"svg">): import("react").JSX.Element;
@@ -5,4 +5,4 @@ import { ComponentPropsWithRef } from 'react';
5
5
  * @param props - Props applied to the root `<svg>` element (e.g., `className`, `style`, `width`, `height`, event handlers).
6
6
  * @returns The `<svg>` element representing the Google logo.
7
7
  */
8
- export declare function Google(props: ComponentPropsWithRef<"svg">): import("react/jsx-runtime").JSX.Element;
8
+ export declare function Google(props: ComponentPropsWithRef<"svg">): import("react").JSX.Element;
@@ -5,4 +5,4 @@ import { ComponentPropsWithRef } from 'react';
5
5
  * @param props - Props forwarded to the root `<svg>` element (for example `className`, `width`, `height`, `ref`)
6
6
  * @returns The SVG element for the Hugging Face icon
7
7
  */
8
- export declare function HuggingFace(props: ComponentPropsWithRef<"svg">): import("react/jsx-runtime").JSX.Element;
8
+ export declare function HuggingFace(props: ComponentPropsWithRef<"svg">): import("react").JSX.Element;
@@ -7,4 +7,4 @@ import { ComponentPropsWithRef } from 'react';
7
7
  * @param props - Standard SVG attributes and ref forwarded to the root element
8
8
  * @returns The SVG element representing the Kakao logo
9
9
  */
10
- export declare function Kakao(props: ComponentPropsWithRef<"svg">): import("react/jsx-runtime").JSX.Element;
10
+ export declare function Kakao(props: ComponentPropsWithRef<"svg">): import("react").JSX.Element;
@@ -7,4 +7,4 @@ import { ComponentPropsWithRef } from 'react';
7
7
  * @param props - Props forwarded to the root SVG element
8
8
  * @returns The SVG element for the Kick icon
9
9
  */
10
- export declare function Kick(props: ComponentPropsWithRef<"svg">): import("react/jsx-runtime").JSX.Element;
10
+ export declare function Kick(props: ComponentPropsWithRef<"svg">): import("react").JSX.Element;
@@ -5,4 +5,4 @@ import { ComponentPropsWithRef } from 'react';
5
5
  * @param props - Props spread onto the root `<svg>` element (e.g., `className`, `style`, `ref`, event handlers) to customize the icon.
6
6
  * @returns The SVG element for the Line icon.
7
7
  */
8
- export declare function Line(props: ComponentPropsWithRef<"svg">): import("react/jsx-runtime").JSX.Element;
8
+ export declare function Line(props: ComponentPropsWithRef<"svg">): import("react").JSX.Element;
@@ -5,4 +5,4 @@ import { ComponentPropsWithRef } from 'react';
5
5
  * @param props - Props applied to and forwarded onto the underlying `<svg>` element.
6
6
  * @returns The SVG element representing the Linear icon.
7
7
  */
8
- export declare function Linear(props: ComponentPropsWithRef<"svg">): import("react/jsx-runtime").JSX.Element;
8
+ export declare function Linear(props: ComponentPropsWithRef<"svg">): import("react").JSX.Element;
@@ -5,4 +5,4 @@ import { ComponentPropsWithRef } from 'react';
5
5
  * @param props - SVG attributes, event handlers, and refs applied to the root <svg>
6
6
  * @returns The LinkedIn SVG element
7
7
  */
8
- export declare function LinkedIn(props: ComponentPropsWithRef<"svg">): import("react/jsx-runtime").JSX.Element;
8
+ export declare function LinkedIn(props: ComponentPropsWithRef<"svg">): import("react").JSX.Element;
@@ -5,4 +5,4 @@ import { ComponentPropsWithRef } from 'react';
5
5
  * @param props - Props forwarded to the root `<svg>` element (ComponentPropsWithRef<"svg">), e.g., `className`, `style`, and other SVG attributes.
6
6
  * @returns An `svg` element containing the four colored paths that form the Microsoft logo.
7
7
  */
8
- export declare function Microsoft(props: ComponentPropsWithRef<"svg">): import("react/jsx-runtime").JSX.Element;
8
+ export declare function Microsoft(props: ComponentPropsWithRef<"svg">): import("react").JSX.Element;
@@ -5,4 +5,4 @@ import { ComponentPropsWithRef } from 'react';
5
5
  * @param props - Props applied to the root `<svg>` element (standard SVG attributes and event handlers are supported)
6
6
  * @returns An SVG element representing the Naver logo
7
7
  */
8
- export declare function Naver(props: ComponentPropsWithRef<"svg">): import("react/jsx-runtime").JSX.Element;
8
+ export declare function Naver(props: ComponentPropsWithRef<"svg">): import("react").JSX.Element;
@@ -5,4 +5,4 @@ import { ComponentPropsWithRef } from 'react';
5
5
  * @param props - Props forwarded to the root `svg` element; attributes such as `className`, `style`, and `aria-*` can be overridden.
6
6
  * @returns The SVG element for the Notion logo.
7
7
  */
8
- export declare function Notion(props: ComponentPropsWithRef<"svg">): import("react/jsx-runtime").JSX.Element;
8
+ export declare function Notion(props: ComponentPropsWithRef<"svg">): import("react").JSX.Element;
@@ -4,4 +4,4 @@ import { ComponentPropsWithRef } from 'react';
4
4
  *
5
5
  * @returns The SVG element for the Paybin icon
6
6
  */
7
- export declare function Paybin(props: ComponentPropsWithRef<"svg">): import("react/jsx-runtime").JSX.Element;
7
+ export declare function Paybin(props: ComponentPropsWithRef<"svg">): import("react").JSX.Element;
@@ -5,4 +5,4 @@ import { ComponentPropsWithRef } from 'react';
5
5
  * @param props - Props forwarded to the root SVG element (standard SVG/DOM attributes such as `className`, `style`, `width`, `height`, and ARIA attributes).
6
6
  * @returns The SVG element representing the PayPal logo.
7
7
  */
8
- export declare function PayPal(props: ComponentPropsWithRef<"svg">): import("react/jsx-runtime").JSX.Element;
8
+ export declare function PayPal(props: ComponentPropsWithRef<"svg">): import("react").JSX.Element;
@@ -5,4 +5,4 @@ import { ComponentPropsWithRef } from 'react';
5
5
  * @param props - Props spread onto the root `<svg>` element (for example `className`, `style`, `ref`, and event handlers)
6
6
  * @returns The SVG element representing the Polar icon
7
7
  */
8
- export declare function Polar(props: ComponentPropsWithRef<"svg">): import("react/jsx-runtime").JSX.Element;
8
+ export declare function Polar(props: ComponentPropsWithRef<"svg">): import("react").JSX.Element;
@@ -5,4 +5,4 @@ import { ComponentPropsWithRef } from 'react';
5
5
  * @param props - Props forwarded to the root `<svg>` element; they are spread onto the element and can override attributes such as `width`, `height`, `className`, and `aria-label`.
6
6
  * @returns The SVG element for the Railway icon.
7
7
  */
8
- export declare function Railway(props: ComponentPropsWithRef<"svg">): import("react/jsx-runtime").JSX.Element;
8
+ export declare function Railway(props: ComponentPropsWithRef<"svg">): import("react").JSX.Element;
@@ -5,4 +5,4 @@ import { ComponentPropsWithRef } from 'react';
5
5
  * @param props - Props forwarded to the root `<svg>` element (e.g., className, style, aria-*, ref)
6
6
  * @returns The SVG element representing the Reddit logo with provided props applied
7
7
  */
8
- export declare function Reddit(props: ComponentPropsWithRef<"svg">): import("react/jsx-runtime").JSX.Element;
8
+ export declare function Reddit(props: ComponentPropsWithRef<"svg">): import("react").JSX.Element;
@@ -8,4 +8,4 @@ import { ComponentPropsWithRef } from 'react';
8
8
  * @param props - Props are spread onto the root `<svg>` element to allow customization (className, style, width, height, etc.).
9
9
  * @returns An SVG element containing the Roblox icon
10
10
  */
11
- export declare function Roblox(props: ComponentPropsWithRef<"svg">): import("react/jsx-runtime").JSX.Element;
11
+ export declare function Roblox(props: ComponentPropsWithRef<"svg">): import("react").JSX.Element;
@@ -5,4 +5,4 @@ import { ComponentPropsWithRef } from 'react';
5
5
  * @param props - Props forwarded to the SVG element (for example: `className`, `style`, `ref`, and `aria-*` attributes).
6
6
  * @returns An SVG element representing the Salesforce logo.
7
7
  */
8
- export declare function Salesforce(props: ComponentPropsWithRef<"svg">): import("react/jsx-runtime").JSX.Element;
8
+ export declare function Salesforce(props: ComponentPropsWithRef<"svg">): import("react").JSX.Element;
@@ -5,4 +5,4 @@ import { ComponentPropsWithRef } from 'react';
5
5
  * @param props - Props to spread onto the underlying `svg` element (e.g., `className`, `style`, `width`, `height`, event handlers).
6
6
  * @returns The `svg` element containing the Slack logo paths
7
7
  */
8
- export declare function Slack(props: ComponentPropsWithRef<"svg">): import("react/jsx-runtime").JSX.Element;
8
+ export declare function Slack(props: ComponentPropsWithRef<"svg">): import("react").JSX.Element;
@@ -5,4 +5,4 @@ import { ComponentPropsWithRef } from 'react';
5
5
  * @param props - Props forwarded to the root `<svg>` element.
6
6
  * @returns The root `<svg>` element for the Spotify logo.
7
7
  */
8
- export declare function Spotify(props: ComponentPropsWithRef<"svg">): import("react/jsx-runtime").JSX.Element;
8
+ export declare function Spotify(props: ComponentPropsWithRef<"svg">): import("react").JSX.Element;
@@ -6,4 +6,4 @@ import { ComponentPropsWithRef } from 'react';
6
6
  *
7
7
  * @returns The SVG element representing the TikTok logo.
8
8
  */
9
- export declare function TikTok(props: ComponentPropsWithRef<"svg">): import("react/jsx-runtime").JSX.Element;
9
+ export declare function TikTok(props: ComponentPropsWithRef<"svg">): import("react").JSX.Element;
@@ -5,4 +5,4 @@ import { ComponentPropsWithRef } from 'react';
5
5
  * @param props - Props spread onto the root `<svg>` element for customization (e.g., className, style, width, height, aria attributes).
6
6
  * @returns The SVG element representing the Twitch logo.
7
7
  */
8
- export declare function Twitch(props: ComponentPropsWithRef<"svg">): import("react/jsx-runtime").JSX.Element;
8
+ export declare function Twitch(props: ComponentPropsWithRef<"svg">): import("react").JSX.Element;
@@ -5,4 +5,4 @@ import { ComponentPropsWithRef } from 'react';
5
5
  * @param props - Props forwarded to the root `<svg>` element (e.g., className, style, width, height, aria-*).
6
6
  * @returns An SVG element representing the Vercel logo.
7
7
  */
8
- export declare function Vercel(props: ComponentPropsWithRef<"svg">): import("react/jsx-runtime").JSX.Element;
8
+ export declare function Vercel(props: ComponentPropsWithRef<"svg">): import("react").JSX.Element;
@@ -5,4 +5,4 @@ import { ComponentPropsWithRef } from 'react';
5
5
  * @param props - SVG attributes and ref forwarded to the root `<svg>` element
6
6
  * @returns An `<svg>` element containing the VK icon path
7
7
  */
8
- export declare function VK(props: ComponentPropsWithRef<"svg">): import("react/jsx-runtime").JSX.Element;
8
+ export declare function VK(props: ComponentPropsWithRef<"svg">): import("react").JSX.Element;
@@ -5,4 +5,4 @@ import { ComponentPropsWithRef } from 'react';
5
5
  * @param props - Props to spread onto the underlying `svg` element (e.g., className, style, ref).
6
6
  * @returns The SVG element representing the "X" icon with its path filled by `currentColor`.
7
7
  */
8
- export declare function WeChat(props: ComponentPropsWithRef<"svg">): import("react/jsx-runtime").JSX.Element;
8
+ export declare function WeChat(props: ComponentPropsWithRef<"svg">): import("react").JSX.Element;
@@ -5,4 +5,4 @@ import { ComponentPropsWithRef } from 'react';
5
5
  * @param props - Props to spread onto the underlying `svg` element (e.g., className, style, ref).
6
6
  * @returns The SVG element representing the "X" icon with its path filled by `currentColor`.
7
7
  */
8
- export declare function X(props: ComponentPropsWithRef<"svg">): import("react/jsx-runtime").JSX.Element;
8
+ export declare function X(props: ComponentPropsWithRef<"svg">): import("react").JSX.Element;
@@ -5,4 +5,4 @@ import { ComponentPropsWithRef } from 'react';
5
5
  * @param props - Props are forwarded to the root `<svg>` element (e.g., className, style, width, height, aria-*).
6
6
  * @returns The SVG element for the Zoom icon.
7
7
  */
8
- export declare function Zoom(props: ComponentPropsWithRef<"svg">): import("react/jsx-runtime").JSX.Element;
8
+ export declare function Zoom(props: ComponentPropsWithRef<"svg">): import("react").JSX.Element;
@@ -1,3 +1,3 @@
1
- export declare function ThemePreviewSystem(props: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
2
- export declare function ThemePreviewLight(props: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
3
- export declare function ThemePreviewDark(props: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
1
+ export declare function ThemePreviewSystem(props: React.SVGProps<SVGSVGElement>): import("react").JSX.Element;
2
+ export declare function ThemePreviewLight(props: React.SVGProps<SVGSVGElement>): import("react").JSX.Element;
3
+ export declare function ThemePreviewDark(props: React.SVGProps<SVGSVGElement>): import("react").JSX.Element;
@@ -21,7 +21,7 @@ export type CaptchaPluginOptions = {
21
21
  */
22
22
  export declare const captchaPlugin: ((args_0: CaptchaPluginOptions) => {
23
23
  render: ComponentType<CaptchaRenderProps>;
24
- captchaComponent: import("react/jsx-runtime").JSX.Element;
24
+ captchaComponent: import("react").JSX.Element;
25
25
  } & {
26
26
  id: "captcha";
27
27
  }) & {
@@ -14,13 +14,19 @@ export type AccountInfoOptions<TAuthClient extends AuthClient> = Omit<ReturnType
14
14
  */
15
15
  export declare function accountInfoOptions<TAuthClient extends AuthClient>(authClient: TAuthClient, userId: string | undefined, params?: AccountInfoParams<TAuthClient>): (import('@tanstack/react-query').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<InferData<TAuthClient["accountInfo"]>, BetterFetchError, InferData<TAuthClient["accountInfo"]>, readonly ["auth", "user", string | undefined, "accountInfo", {
16
16
  accountId?: string | undefined;
17
+ providerId?: string | undefined;
18
+ userId?: string | undefined;
17
19
  } | null]>, "queryFn"> & {
18
20
  queryFn?: import('@tanstack/react-query').QueryFunction<InferData<TAuthClient["accountInfo"]>, readonly ["auth", "user", string | undefined, "accountInfo", {
19
21
  accountId?: string | undefined;
22
+ providerId?: string | undefined;
23
+ userId?: string | undefined;
20
24
  } | null], never> | undefined;
21
25
  } & {
22
26
  queryKey: readonly ["auth", "user", string | undefined, "accountInfo", {
23
27
  accountId?: string | undefined;
28
+ providerId?: string | undefined;
29
+ userId?: string | undefined;
24
30
  } | null] & {
25
31
  [dataTagSymbol]: InferData<TAuthClient["accountInfo"]>;
26
32
  [dataTagErrorSymbol]: BetterFetchError;
@@ -28,6 +34,8 @@ export declare function accountInfoOptions<TAuthClient extends AuthClient>(authC
28
34
  }) & {
29
35
  queryKey: DataTag<readonly ["auth", "user", string | undefined, "accountInfo", {
30
36
  accountId?: string | undefined;
37
+ providerId?: string | undefined;
38
+ userId?: string | undefined;
31
39
  } | null], InferData<TAuthClient["accountInfo"]>, BetterFetchError>;
32
40
  };
33
41
  /**
@@ -14,13 +14,19 @@ export type AccountInfo<TAuth extends AuthServer = AuthServer> = NonNullable<Acc
14
14
  */
15
15
  export declare function accountInfoOptions<TAuth extends AuthServer>(auth: TAuth, userId: string, params: AccountInfoParams<TAuth>): (import('@tanstack/react-query').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<Awaited<ReturnType<TAuth["api"]["accountInfo"]>>, APIError, Awaited<ReturnType<TAuth["api"]["accountInfo"]>>, readonly ["auth", "user", string | undefined, "accountInfo", {
16
16
  accountId?: string | undefined;
17
+ providerId?: string | undefined;
18
+ userId?: string | undefined;
17
19
  } | null]>, "queryFn"> & {
18
20
  queryFn?: import('@tanstack/react-query').QueryFunction<Awaited<ReturnType<TAuth["api"]["accountInfo"]>>, readonly ["auth", "user", string | undefined, "accountInfo", {
19
21
  accountId?: string | undefined;
22
+ providerId?: string | undefined;
23
+ userId?: string | undefined;
20
24
  } | null], never> | undefined;
21
25
  } & {
22
26
  queryKey: readonly ["auth", "user", string | undefined, "accountInfo", {
23
27
  accountId?: string | undefined;
28
+ providerId?: string | undefined;
29
+ userId?: string | undefined;
24
30
  } | null] & {
25
31
  [dataTagSymbol]: Awaited<ReturnType<TAuth["api"]["accountInfo"]>>;
26
32
  [dataTagErrorSymbol]: APIError;
@@ -28,6 +34,8 @@ export declare function accountInfoOptions<TAuth extends AuthServer>(auth: TAuth
28
34
  }) & {
29
35
  queryKey: DataTag<readonly ["auth", "user", string | undefined, "accountInfo", {
30
36
  accountId?: string | undefined;
37
+ providerId?: string | undefined;
38
+ userId?: string | undefined;
31
39
  } | null], Awaited<ReturnType<TAuth["api"]["accountInfo"]>>, APIError>;
32
40
  };
33
41
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@better-auth-ui/react",
3
- "version": "1.6.17",
3
+ "version": "1.6.19",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "build": "vite build",