@clerk/react 6.3.0 → 6.4.0-snapshot.v20260413204347

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.
@@ -4,7 +4,7 @@ import {
4
4
  safeExecute,
5
5
  useAuth,
6
6
  withClerk
7
- } from "./chunk-A7DRZKIX.mjs";
7
+ } from "./chunk-MRQEENKP.mjs";
8
8
  import "./chunk-RQWALB2R.mjs";
9
9
  import "./chunk-E5QRIS4Z.mjs";
10
10
 
package/dist/index.d.mts CHANGED
@@ -1,10 +1,10 @@
1
1
  import { Theme, Ui } from '@clerk/ui/internal';
2
+ export { A as APIKeys, i as AuthenticateWithRedirectCallback, j as ClerkDegraded, k as ClerkFailed, l as ClerkLoaded, m as ClerkLoading, C as CreateOrganization, G as GoogleOneTap, a as OrganizationList, b as OrganizationProfile, c as OrganizationSwitcher, P as PricingTable, R as RedirectToCreateOrganization, n as RedirectToOrganizationProfile, o as RedirectToSignIn, p as RedirectToSignUp, q as RedirectToTasks, r as RedirectToUserProfile, s as Show, t as ShowProps, S as SignIn, d as SignUp, T as TaskChooseOrganization, e as TaskResetPassword, f as TaskSetupMFA, U as UserAvatar, g as UserButton, h as UserProfile, W as Waitlist, v as useAuth } from './useAuth-BbaIEAB3.mjs';
2
3
  import * as _clerk_shared_types from '@clerk/shared/types';
3
- import { Without, APIKeysProps, CreateOrganizationProps, OrganizationListProps, OrganizationProfileProps, OrganizationSwitcherProps, SignInProps, SignUpProps, TaskChooseOrganizationProps, TaskResetPasswordProps, TaskSetupMFAProps, UserAvatarProps, UserButtonProps, UserProfileProps, WaitlistProps, SignInButtonProps, SignOutOptions, SignUpButtonProps, SetActiveNavigate, SignInResource, CreateEmailLinkFlowReturn, SignInStartEmailLinkFlowParams, SignUpResource, StartEmailLinkFlowParams, EmailAddressResource, SignInSignalValue, SignUpSignalValue, WaitlistSignalValue } from '@clerk/shared/types';
4
+ import { SignInButtonProps, SignOutOptions, SignUpButtonProps, SetActiveNavigate, SignInResource, CreateEmailLinkFlowReturn, SignInStartEmailLinkFlowParams, SignUpResource, StartEmailLinkFlowParams, EmailAddressResource, SignInSignalValue, SignUpSignalValue, WaitlistSignalValue } from '@clerk/shared/types';
4
5
  export { BrowserClerk, BrowserClerkConstructor, ClerkProp, HeadlessBrowserClerk, HeadlessBrowserClerkConstructor, IsomorphicClerkOptions } from '@clerk/shared/types';
5
- import React, { ReactNode, PropsWithChildren } from 'react';
6
- import { WithClerkProp, OrganizationProfilePageProps, OrganizationProfileLinkProps, UserProfilePageProps, UserProfileLinkProps, UserButtonActionProps, UserButtonLinkProps, SignInWithMetamaskButtonProps, ClerkProviderProps } from './types.mjs';
7
- export { A as AuthenticateWithRedirectCallback, C as ClerkDegraded, a as ClerkFailed, b as ClerkLoaded, c as ClerkLoading, R as RedirectToCreateOrganization, d as RedirectToOrganizationProfile, e as RedirectToSignIn, f as RedirectToSignUp, g as RedirectToTasks, h as RedirectToUserProfile, S as Show, i as ShowProps, j as useAuth } from './useAuth-BYiDKD-3.mjs';
6
+ import React, { ReactNode } from 'react';
7
+ import { WithClerkProp, SignInWithMetamaskButtonProps, ClerkProviderProps } from './types.mjs';
8
8
  export { UNSAFE_PortalProvider, __experimental_CheckoutProvider, __experimental_PaymentElement, __experimental_PaymentElementProvider, __experimental_useCheckout, __experimental_usePaymentElement, useAPIKeys, useClerk, useOrganization, useOrganizationCreationDefaults, useOrganizationList, useReverification, useSession, useSessionList, useUser } from '@clerk/shared/react';
9
9
  export { getToken } from '@clerk/shared/getToken';
10
10
  import '@clerk/shared/ui';
@@ -20,158 +20,6 @@ declare global {
20
20
  }
21
21
  }
22
22
 
23
- type FallbackProp = {
24
- /**
25
- * An optional element to render while the component is mounting.
26
- */
27
- fallback?: ReactNode;
28
- };
29
- type UserProfileExportType = typeof _UserProfile & {
30
- Page: typeof UserProfilePage;
31
- Link: typeof UserProfileLink;
32
- };
33
- type UserButtonExportType = typeof _UserButton & {
34
- UserProfilePage: typeof UserProfilePage;
35
- UserProfileLink: typeof UserProfileLink;
36
- MenuItems: typeof MenuItems;
37
- Action: typeof MenuAction;
38
- Link: typeof MenuLink;
39
- /**
40
- * The `<Outlet />` component can be used in conjunction with `asProvider` in order to control rendering
41
- * of the `<UserButton />` without affecting its configuration or any custom pages that could be mounted
42
- * @experimental This API is experimental and may change at any moment.
43
- */
44
- __experimental_Outlet: typeof UserButtonOutlet;
45
- };
46
- type UserButtonPropsWithoutCustomPages = Without<UserButtonProps, 'userProfileProps' | '__experimental_asStandalone'> & {
47
- userProfileProps?: Pick<UserProfileProps, 'additionalOAuthScopes' | 'appearance' | 'apiKeysProps'>;
48
- /**
49
- * Adding `asProvider` will defer rendering until the `<Outlet />` component is mounted.
50
- *
51
- * @experimental This API is experimental and may change at any moment.
52
- * @default undefined
53
- */
54
- __experimental_asProvider?: boolean;
55
- };
56
- type OrganizationProfileExportType = typeof _OrganizationProfile & {
57
- Page: typeof OrganizationProfilePage;
58
- Link: typeof OrganizationProfileLink;
59
- };
60
- type OrganizationSwitcherExportType = typeof _OrganizationSwitcher & {
61
- OrganizationProfilePage: typeof OrganizationProfilePage;
62
- OrganizationProfileLink: typeof OrganizationProfileLink;
63
- /**
64
- * The `<Outlet />` component can be used in conjunction with `asProvider` in order to control rendering
65
- * of the `<OrganizationSwitcher />` without affecting its configuration or any custom pages that could be mounted
66
- *
67
- * @experimental This API is experimental and may change at any moment.
68
- */
69
- __experimental_Outlet: typeof OrganizationSwitcherOutlet;
70
- };
71
- type OrganizationSwitcherPropsWithoutCustomPages = Without<OrganizationSwitcherProps, 'organizationProfileProps' | '__experimental_asStandalone'> & {
72
- organizationProfileProps?: Pick<OrganizationProfileProps, 'appearance'>;
73
- /**
74
- * Adding `asProvider` will defer rendering until the `<Outlet />` component is mounted.
75
- *
76
- * @experimental This API is experimental and may change at any moment.
77
- * @default undefined
78
- */
79
- __experimental_asProvider?: boolean;
80
- };
81
- declare const SignIn: {
82
- (props: Without<WithClerkProp<SignInProps & FallbackProp>, "clerk">): React.JSX.Element | null;
83
- displayName: string;
84
- };
85
- declare const SignUp: {
86
- (props: Without<WithClerkProp<SignUpProps & FallbackProp>, "clerk">): React.JSX.Element | null;
87
- displayName: string;
88
- };
89
- declare function UserProfilePage({ children }: PropsWithChildren<UserProfilePageProps>): React.JSX.Element;
90
- declare function UserProfileLink({ children }: PropsWithChildren<UserProfileLinkProps>): React.JSX.Element;
91
- declare const _UserProfile: {
92
- (props: Without<WithClerkProp<PropsWithChildren<Without<UserProfileProps, "customPages">> & FallbackProp>, "clerk">): React.JSX.Element | null;
93
- displayName: string;
94
- };
95
- declare const UserProfile: UserProfileExportType;
96
- declare const _UserButton: {
97
- (props: Without<WithClerkProp<PropsWithChildren<UserButtonPropsWithoutCustomPages> & FallbackProp>, "clerk">): React.JSX.Element | null;
98
- displayName: string;
99
- };
100
- declare function MenuItems({ children }: PropsWithChildren): React.JSX.Element;
101
- declare function MenuAction({ children }: PropsWithChildren<UserButtonActionProps>): React.JSX.Element;
102
- declare function MenuLink({ children }: PropsWithChildren<UserButtonLinkProps>): React.JSX.Element;
103
- declare function UserButtonOutlet(outletProps: Without<UserButtonProps, 'userProfileProps'>): React.JSX.Element;
104
- declare const UserButton: UserButtonExportType;
105
- declare function OrganizationProfilePage({ children }: PropsWithChildren<OrganizationProfilePageProps>): React.JSX.Element;
106
- declare function OrganizationProfileLink({ children }: PropsWithChildren<OrganizationProfileLinkProps>): React.JSX.Element;
107
- declare const _OrganizationProfile: {
108
- (props: Without<WithClerkProp<PropsWithChildren<Without<OrganizationProfileProps, "customPages">> & FallbackProp>, "clerk">): React.JSX.Element | null;
109
- displayName: string;
110
- };
111
- declare const OrganizationProfile: OrganizationProfileExportType;
112
- declare const CreateOrganization: {
113
- (props: Without<WithClerkProp<CreateOrganizationProps & FallbackProp>, "clerk">): React.JSX.Element | null;
114
- displayName: string;
115
- };
116
- declare const _OrganizationSwitcher: {
117
- (props: Without<WithClerkProp<PropsWithChildren<OrganizationSwitcherPropsWithoutCustomPages> & FallbackProp>, "clerk">): React.JSX.Element | null;
118
- displayName: string;
119
- };
120
- declare function OrganizationSwitcherOutlet(outletProps: Without<OrganizationSwitcherProps, 'organizationProfileProps'>): React.JSX.Element;
121
- declare const OrganizationSwitcher: OrganizationSwitcherExportType;
122
- declare const OrganizationList: {
123
- (props: Without<WithClerkProp<OrganizationListProps & FallbackProp>, "clerk">): React.JSX.Element | null;
124
- displayName: string;
125
- };
126
- declare const GoogleOneTap: {
127
- (props: Without<WithClerkProp<_clerk_shared_types.SignInForceRedirectUrl & _clerk_shared_types.SignUpForceRedirectUrl & {
128
- cancelOnTapOutside?: boolean;
129
- itpSupport?: boolean;
130
- fedCmSupport?: boolean;
131
- appearance?: _clerk_shared_types.ClerkAppearanceTheme;
132
- } & FallbackProp>, "clerk">): React.JSX.Element | null;
133
- displayName: string;
134
- };
135
- declare const Waitlist: {
136
- (props: Without<WithClerkProp<WaitlistProps & FallbackProp>, "clerk">): React.JSX.Element | null;
137
- displayName: string;
138
- };
139
- declare const PricingTable: {
140
- (props: Without<WithClerkProp<{
141
- for?: _clerk_shared_types.ForPayerType;
142
- appearance?: _clerk_shared_types.ClerkAppearanceTheme;
143
- checkoutProps?: Pick<_clerk_shared_types.__internal_CheckoutProps, "appearance">;
144
- } & {
145
- ctaPosition?: "top" | "bottom";
146
- collapseFeatures?: boolean;
147
- newSubscriptionRedirectUrl?: string;
148
- } & FallbackProp>, "clerk">): React.JSX.Element | null;
149
- displayName: string;
150
- };
151
- /**
152
- * @experimental This component is in early access and may change in future releases.
153
- */
154
- declare const APIKeys: {
155
- (props: Without<WithClerkProp<APIKeysProps & FallbackProp>, "clerk">): React.JSX.Element | null;
156
- displayName: string;
157
- };
158
- declare const UserAvatar: {
159
- (props: Without<WithClerkProp<UserAvatarProps & FallbackProp>, "clerk">): React.JSX.Element | null;
160
- displayName: string;
161
- };
162
- declare const TaskChooseOrganization: {
163
- (props: Without<WithClerkProp<TaskChooseOrganizationProps & FallbackProp>, "clerk">): React.JSX.Element | null;
164
- displayName: string;
165
- };
166
- declare const TaskResetPassword: {
167
- (props: Without<WithClerkProp<TaskResetPasswordProps & FallbackProp>, "clerk">): React.JSX.Element | null;
168
- displayName: string;
169
- };
170
- declare const TaskSetupMFA: {
171
- (props: Without<WithClerkProp<TaskSetupMFAProps & FallbackProp>, "clerk">): React.JSX.Element | null;
172
- displayName: string;
173
- };
174
-
175
23
  declare const SignInButton: {
176
24
  (props: _clerk_shared_types.Without<WithClerkProp<React.PropsWithChildren<SignInButtonProps>>, "clerk">): React.JSX.Element | null;
177
25
  displayName: string;
@@ -311,4 +159,4 @@ declare const useSignUp: () => SignUpSignalValue;
311
159
  */
312
160
  declare function useWaitlist(): WaitlistSignalValue;
313
161
 
314
- export { APIKeys, ClerkProvider, ClerkProviderProps, CreateOrganization, GoogleOneTap, HandleSSOCallback, OrganizationList, OrganizationProfile, OrganizationSwitcher, PricingTable, SignIn, SignInButton, SignInWithMetamaskButton, SignOutButton, SignUp, SignUpButton, TaskChooseOrganization, TaskResetPassword, TaskSetupMFA, UserAvatar, UserButton, UserProfile, Waitlist, useEmailLink, useSignIn, useSignUp, useWaitlist };
162
+ export { ClerkProvider, ClerkProviderProps, HandleSSOCallback, SignInButton, SignInWithMetamaskButton, SignOutButton, SignUpButton, useEmailLink, useSignIn, useSignUp, useWaitlist };
package/dist/index.d.ts CHANGED
@@ -1,10 +1,10 @@
1
1
  import { Theme, Ui } from '@clerk/ui/internal';
2
+ export { A as APIKeys, i as AuthenticateWithRedirectCallback, j as ClerkDegraded, k as ClerkFailed, l as ClerkLoaded, m as ClerkLoading, C as CreateOrganization, G as GoogleOneTap, a as OrganizationList, b as OrganizationProfile, c as OrganizationSwitcher, P as PricingTable, R as RedirectToCreateOrganization, n as RedirectToOrganizationProfile, o as RedirectToSignIn, p as RedirectToSignUp, q as RedirectToTasks, r as RedirectToUserProfile, s as Show, t as ShowProps, S as SignIn, d as SignUp, T as TaskChooseOrganization, e as TaskResetPassword, f as TaskSetupMFA, U as UserAvatar, g as UserButton, h as UserProfile, W as Waitlist, v as useAuth } from './useAuth-DFblXGN7.js';
2
3
  import * as _clerk_shared_types from '@clerk/shared/types';
3
- import { Without, APIKeysProps, CreateOrganizationProps, OrganizationListProps, OrganizationProfileProps, OrganizationSwitcherProps, SignInProps, SignUpProps, TaskChooseOrganizationProps, TaskResetPasswordProps, TaskSetupMFAProps, UserAvatarProps, UserButtonProps, UserProfileProps, WaitlistProps, SignInButtonProps, SignOutOptions, SignUpButtonProps, SetActiveNavigate, SignInResource, CreateEmailLinkFlowReturn, SignInStartEmailLinkFlowParams, SignUpResource, StartEmailLinkFlowParams, EmailAddressResource, SignInSignalValue, SignUpSignalValue, WaitlistSignalValue } from '@clerk/shared/types';
4
+ import { SignInButtonProps, SignOutOptions, SignUpButtonProps, SetActiveNavigate, SignInResource, CreateEmailLinkFlowReturn, SignInStartEmailLinkFlowParams, SignUpResource, StartEmailLinkFlowParams, EmailAddressResource, SignInSignalValue, SignUpSignalValue, WaitlistSignalValue } from '@clerk/shared/types';
4
5
  export { BrowserClerk, BrowserClerkConstructor, ClerkProp, HeadlessBrowserClerk, HeadlessBrowserClerkConstructor, IsomorphicClerkOptions } from '@clerk/shared/types';
5
- import React, { ReactNode, PropsWithChildren } from 'react';
6
- import { WithClerkProp, OrganizationProfilePageProps, OrganizationProfileLinkProps, UserProfilePageProps, UserProfileLinkProps, UserButtonActionProps, UserButtonLinkProps, SignInWithMetamaskButtonProps, ClerkProviderProps } from './types.js';
7
- export { A as AuthenticateWithRedirectCallback, C as ClerkDegraded, a as ClerkFailed, b as ClerkLoaded, c as ClerkLoading, R as RedirectToCreateOrganization, d as RedirectToOrganizationProfile, e as RedirectToSignIn, f as RedirectToSignUp, g as RedirectToTasks, h as RedirectToUserProfile, S as Show, i as ShowProps, j as useAuth } from './useAuth-DcwU7ADV.js';
6
+ import React, { ReactNode } from 'react';
7
+ import { WithClerkProp, SignInWithMetamaskButtonProps, ClerkProviderProps } from './types.js';
8
8
  export { UNSAFE_PortalProvider, __experimental_CheckoutProvider, __experimental_PaymentElement, __experimental_PaymentElementProvider, __experimental_useCheckout, __experimental_usePaymentElement, useAPIKeys, useClerk, useOrganization, useOrganizationCreationDefaults, useOrganizationList, useReverification, useSession, useSessionList, useUser } from '@clerk/shared/react';
9
9
  export { getToken } from '@clerk/shared/getToken';
10
10
  import '@clerk/shared/ui';
@@ -20,158 +20,6 @@ declare global {
20
20
  }
21
21
  }
22
22
 
23
- type FallbackProp = {
24
- /**
25
- * An optional element to render while the component is mounting.
26
- */
27
- fallback?: ReactNode;
28
- };
29
- type UserProfileExportType = typeof _UserProfile & {
30
- Page: typeof UserProfilePage;
31
- Link: typeof UserProfileLink;
32
- };
33
- type UserButtonExportType = typeof _UserButton & {
34
- UserProfilePage: typeof UserProfilePage;
35
- UserProfileLink: typeof UserProfileLink;
36
- MenuItems: typeof MenuItems;
37
- Action: typeof MenuAction;
38
- Link: typeof MenuLink;
39
- /**
40
- * The `<Outlet />` component can be used in conjunction with `asProvider` in order to control rendering
41
- * of the `<UserButton />` without affecting its configuration or any custom pages that could be mounted
42
- * @experimental This API is experimental and may change at any moment.
43
- */
44
- __experimental_Outlet: typeof UserButtonOutlet;
45
- };
46
- type UserButtonPropsWithoutCustomPages = Without<UserButtonProps, 'userProfileProps' | '__experimental_asStandalone'> & {
47
- userProfileProps?: Pick<UserProfileProps, 'additionalOAuthScopes' | 'appearance' | 'apiKeysProps'>;
48
- /**
49
- * Adding `asProvider` will defer rendering until the `<Outlet />` component is mounted.
50
- *
51
- * @experimental This API is experimental and may change at any moment.
52
- * @default undefined
53
- */
54
- __experimental_asProvider?: boolean;
55
- };
56
- type OrganizationProfileExportType = typeof _OrganizationProfile & {
57
- Page: typeof OrganizationProfilePage;
58
- Link: typeof OrganizationProfileLink;
59
- };
60
- type OrganizationSwitcherExportType = typeof _OrganizationSwitcher & {
61
- OrganizationProfilePage: typeof OrganizationProfilePage;
62
- OrganizationProfileLink: typeof OrganizationProfileLink;
63
- /**
64
- * The `<Outlet />` component can be used in conjunction with `asProvider` in order to control rendering
65
- * of the `<OrganizationSwitcher />` without affecting its configuration or any custom pages that could be mounted
66
- *
67
- * @experimental This API is experimental and may change at any moment.
68
- */
69
- __experimental_Outlet: typeof OrganizationSwitcherOutlet;
70
- };
71
- type OrganizationSwitcherPropsWithoutCustomPages = Without<OrganizationSwitcherProps, 'organizationProfileProps' | '__experimental_asStandalone'> & {
72
- organizationProfileProps?: Pick<OrganizationProfileProps, 'appearance'>;
73
- /**
74
- * Adding `asProvider` will defer rendering until the `<Outlet />` component is mounted.
75
- *
76
- * @experimental This API is experimental and may change at any moment.
77
- * @default undefined
78
- */
79
- __experimental_asProvider?: boolean;
80
- };
81
- declare const SignIn: {
82
- (props: Without<WithClerkProp<SignInProps & FallbackProp>, "clerk">): React.JSX.Element | null;
83
- displayName: string;
84
- };
85
- declare const SignUp: {
86
- (props: Without<WithClerkProp<SignUpProps & FallbackProp>, "clerk">): React.JSX.Element | null;
87
- displayName: string;
88
- };
89
- declare function UserProfilePage({ children }: PropsWithChildren<UserProfilePageProps>): React.JSX.Element;
90
- declare function UserProfileLink({ children }: PropsWithChildren<UserProfileLinkProps>): React.JSX.Element;
91
- declare const _UserProfile: {
92
- (props: Without<WithClerkProp<PropsWithChildren<Without<UserProfileProps, "customPages">> & FallbackProp>, "clerk">): React.JSX.Element | null;
93
- displayName: string;
94
- };
95
- declare const UserProfile: UserProfileExportType;
96
- declare const _UserButton: {
97
- (props: Without<WithClerkProp<PropsWithChildren<UserButtonPropsWithoutCustomPages> & FallbackProp>, "clerk">): React.JSX.Element | null;
98
- displayName: string;
99
- };
100
- declare function MenuItems({ children }: PropsWithChildren): React.JSX.Element;
101
- declare function MenuAction({ children }: PropsWithChildren<UserButtonActionProps>): React.JSX.Element;
102
- declare function MenuLink({ children }: PropsWithChildren<UserButtonLinkProps>): React.JSX.Element;
103
- declare function UserButtonOutlet(outletProps: Without<UserButtonProps, 'userProfileProps'>): React.JSX.Element;
104
- declare const UserButton: UserButtonExportType;
105
- declare function OrganizationProfilePage({ children }: PropsWithChildren<OrganizationProfilePageProps>): React.JSX.Element;
106
- declare function OrganizationProfileLink({ children }: PropsWithChildren<OrganizationProfileLinkProps>): React.JSX.Element;
107
- declare const _OrganizationProfile: {
108
- (props: Without<WithClerkProp<PropsWithChildren<Without<OrganizationProfileProps, "customPages">> & FallbackProp>, "clerk">): React.JSX.Element | null;
109
- displayName: string;
110
- };
111
- declare const OrganizationProfile: OrganizationProfileExportType;
112
- declare const CreateOrganization: {
113
- (props: Without<WithClerkProp<CreateOrganizationProps & FallbackProp>, "clerk">): React.JSX.Element | null;
114
- displayName: string;
115
- };
116
- declare const _OrganizationSwitcher: {
117
- (props: Without<WithClerkProp<PropsWithChildren<OrganizationSwitcherPropsWithoutCustomPages> & FallbackProp>, "clerk">): React.JSX.Element | null;
118
- displayName: string;
119
- };
120
- declare function OrganizationSwitcherOutlet(outletProps: Without<OrganizationSwitcherProps, 'organizationProfileProps'>): React.JSX.Element;
121
- declare const OrganizationSwitcher: OrganizationSwitcherExportType;
122
- declare const OrganizationList: {
123
- (props: Without<WithClerkProp<OrganizationListProps & FallbackProp>, "clerk">): React.JSX.Element | null;
124
- displayName: string;
125
- };
126
- declare const GoogleOneTap: {
127
- (props: Without<WithClerkProp<_clerk_shared_types.SignInForceRedirectUrl & _clerk_shared_types.SignUpForceRedirectUrl & {
128
- cancelOnTapOutside?: boolean;
129
- itpSupport?: boolean;
130
- fedCmSupport?: boolean;
131
- appearance?: _clerk_shared_types.ClerkAppearanceTheme;
132
- } & FallbackProp>, "clerk">): React.JSX.Element | null;
133
- displayName: string;
134
- };
135
- declare const Waitlist: {
136
- (props: Without<WithClerkProp<WaitlistProps & FallbackProp>, "clerk">): React.JSX.Element | null;
137
- displayName: string;
138
- };
139
- declare const PricingTable: {
140
- (props: Without<WithClerkProp<{
141
- for?: _clerk_shared_types.ForPayerType;
142
- appearance?: _clerk_shared_types.ClerkAppearanceTheme;
143
- checkoutProps?: Pick<_clerk_shared_types.__internal_CheckoutProps, "appearance">;
144
- } & {
145
- ctaPosition?: "top" | "bottom";
146
- collapseFeatures?: boolean;
147
- newSubscriptionRedirectUrl?: string;
148
- } & FallbackProp>, "clerk">): React.JSX.Element | null;
149
- displayName: string;
150
- };
151
- /**
152
- * @experimental This component is in early access and may change in future releases.
153
- */
154
- declare const APIKeys: {
155
- (props: Without<WithClerkProp<APIKeysProps & FallbackProp>, "clerk">): React.JSX.Element | null;
156
- displayName: string;
157
- };
158
- declare const UserAvatar: {
159
- (props: Without<WithClerkProp<UserAvatarProps & FallbackProp>, "clerk">): React.JSX.Element | null;
160
- displayName: string;
161
- };
162
- declare const TaskChooseOrganization: {
163
- (props: Without<WithClerkProp<TaskChooseOrganizationProps & FallbackProp>, "clerk">): React.JSX.Element | null;
164
- displayName: string;
165
- };
166
- declare const TaskResetPassword: {
167
- (props: Without<WithClerkProp<TaskResetPasswordProps & FallbackProp>, "clerk">): React.JSX.Element | null;
168
- displayName: string;
169
- };
170
- declare const TaskSetupMFA: {
171
- (props: Without<WithClerkProp<TaskSetupMFAProps & FallbackProp>, "clerk">): React.JSX.Element | null;
172
- displayName: string;
173
- };
174
-
175
23
  declare const SignInButton: {
176
24
  (props: _clerk_shared_types.Without<WithClerkProp<React.PropsWithChildren<SignInButtonProps>>, "clerk">): React.JSX.Element | null;
177
25
  displayName: string;
@@ -311,4 +159,4 @@ declare const useSignUp: () => SignUpSignalValue;
311
159
  */
312
160
  declare function useWaitlist(): WaitlistSignalValue;
313
161
 
314
- export { APIKeys, ClerkProvider, ClerkProviderProps, CreateOrganization, GoogleOneTap, HandleSSOCallback, OrganizationList, OrganizationProfile, OrganizationSwitcher, PricingTable, SignIn, SignInButton, SignInWithMetamaskButton, SignOutButton, SignUp, SignUpButton, TaskChooseOrganization, TaskResetPassword, TaskSetupMFA, UserAvatar, UserButton, UserProfile, Waitlist, useEmailLink, useSignIn, useSignUp, useWaitlist };
162
+ export { ClerkProvider, ClerkProviderProps, HandleSSOCallback, SignInButton, SignInWithMetamaskButton, SignOutButton, SignUpButton, useEmailLink, useSignIn, useSignUp, useWaitlist };
package/dist/index.js CHANGED
@@ -1143,6 +1143,27 @@ var APIKeys = withClerk(
1143
1143
  },
1144
1144
  { component: "ApiKeys", renderWhileLoading: true }
1145
1145
  );
1146
+ var OAuthConsent = withClerk(
1147
+ ({ clerk, component, fallback, ...props }) => {
1148
+ const mountingStatus = useWaitForComponentMount(component);
1149
+ const shouldShowFallback = mountingStatus === "rendering" || !clerk.loaded;
1150
+ const rendererRootProps = {
1151
+ ...shouldShowFallback && fallback && { style: { display: "none" } }
1152
+ };
1153
+ return /* @__PURE__ */ import_react14.default.createElement(import_react14.default.Fragment, null, shouldShowFallback && fallback, clerk.loaded && /* @__PURE__ */ import_react14.default.createElement(
1154
+ ClerkHostRenderer,
1155
+ {
1156
+ component,
1157
+ mount: clerk.__internal_mountOAuthConsent,
1158
+ unmount: clerk.__internal_unmountOAuthConsent,
1159
+ updateProps: clerk.__internal_updateProps,
1160
+ props,
1161
+ rootProps: rendererRootProps
1162
+ }
1163
+ ));
1164
+ },
1165
+ { component: "OAuthConsent", renderWhileLoading: true }
1166
+ );
1146
1167
  var UserAvatar = withClerk(
1147
1168
  ({ clerk, component, fallback, ...props }) => {
1148
1169
  const mountingStatus = useWaitForComponentMount(component);
@@ -2306,7 +2327,7 @@ if (typeof globalThis.__BUILD_DISABLE_RHC__ === "undefined") {
2306
2327
  }
2307
2328
  var SDK_METADATA = {
2308
2329
  name: "@clerk/react",
2309
- version: "6.3.0",
2330
+ version: "6.4.0-snapshot.v20260413204347",
2310
2331
  environment: process.env.NODE_ENV
2311
2332
  };
2312
2333
  var _status, _domain, _proxyUrl, _publishableKey, _eventBus, _stateProxy, _instance, _IsomorphicClerk_instances, waitForClerkJS_fn;