@clerk/ui 1.0.0-snapshot.v20251215212157 → 1.0.0-snapshot.v20251216175437

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 (206) hide show
  1. package/dist/{207_ui_3321de_1.0.0-snapshot.v20251215212157.js → 207_ui_338113_1.0.0-snapshot.v20251216175437.js} +1 -1
  2. package/dist/{217_ui_3321de_1.0.0-snapshot.v20251215212157.js → 217_ui_338113_1.0.0-snapshot.v20251216175437.js} +1 -1
  3. package/dist/{360_ui_3321de_1.0.0-snapshot.v20251215212157.js → 360_ui_338113_1.0.0-snapshot.v20251216175437.js} +1 -1
  4. package/dist/{444_ui_3321de_1.0.0-snapshot.v20251215212157.js → 444_ui_338113_1.0.0-snapshot.v20251216175437.js} +1 -1
  5. package/dist/{573_ui_3321de_1.0.0-snapshot.v20251215212157.js → 573_ui_338113_1.0.0-snapshot.v20251216175437.js} +1 -1
  6. package/dist/{970_ui_3321de_1.0.0-snapshot.v20251215212157.js → 970_ui_338113_1.0.0-snapshot.v20251216175437.js} +1 -1
  7. package/dist/ClerkUi.js +2 -2
  8. package/dist/Components.js +0 -7
  9. package/dist/Components.js.map +1 -1
  10. package/dist/{apiKeys_ui_3321de_1.0.0-snapshot.v20251215212157.js → apiKeys_ui_338113_1.0.0-snapshot.v20251216175437.js} +1 -1
  11. package/dist/{checkout_ui_3321de_1.0.0-snapshot.v20251215212157.js → checkout_ui_338113_1.0.0-snapshot.v20251216175437.js} +2 -2
  12. package/dist/common/EmailLinkVerify.js +1 -1
  13. package/dist/common/Gate.js +1 -1
  14. package/dist/common/RemoveResourceForm.js +1 -1
  15. package/dist/common/SSOCallback.js +1 -1
  16. package/dist/common/withRedirect.js +1 -1
  17. package/dist/components/APIKeys/APIKeys.js +1 -1
  18. package/dist/components/APIKeys/RevokeAPIKeyConfirmationModal.js +1 -1
  19. package/dist/components/Checkout/CheckoutComplete.js +1 -1
  20. package/dist/components/Checkout/CheckoutForm.js +1 -1
  21. package/dist/components/Checkout/CheckoutPage.js +1 -1
  22. package/dist/components/Checkout/parts.js +1 -1
  23. package/dist/components/CreateOrganization/CreateOrganizationForm.js +1 -1
  24. package/dist/components/CreateOrganization/CreateOrganizationPage.js +1 -1
  25. package/dist/components/ImpersonationFab/index.js +1 -1
  26. package/dist/components/OAuthConsent/OAuthConsent.js +1 -1
  27. package/dist/components/OrganizationList/UserInvitationList.js +1 -1
  28. package/dist/components/OrganizationList/UserMembershipList.js +1 -1
  29. package/dist/components/OrganizationList/UserSuggestionList.js +1 -1
  30. package/dist/components/OrganizationProfile/ActionConfirmationPage.js +1 -1
  31. package/dist/components/OrganizationProfile/ActiveMembersList.js +1 -1
  32. package/dist/components/OrganizationProfile/AddDomainForm.js +1 -1
  33. package/dist/components/OrganizationProfile/DomainList.js +1 -1
  34. package/dist/components/OrganizationProfile/InviteMembersForm.js +1 -1
  35. package/dist/components/OrganizationProfile/InviteMembersScreen.js +1 -1
  36. package/dist/components/OrganizationProfile/InvitedMembersList.js +1 -1
  37. package/dist/components/OrganizationProfile/OrganizationAPIKeysPage.js +1 -1
  38. package/dist/components/OrganizationProfile/OrganizationGeneralPage.js +1 -1
  39. package/dist/components/OrganizationProfile/OrganizationMembers.js +1 -1
  40. package/dist/components/OrganizationProfile/OrganizationProfileNavbar.js +1 -1
  41. package/dist/components/OrganizationProfile/ProfileForm.js +1 -1
  42. package/dist/components/OrganizationProfile/RemoveDomainForm.js +1 -1
  43. package/dist/components/OrganizationProfile/RequestToJoinList.js +1 -1
  44. package/dist/components/OrganizationProfile/VerifiedDomainForm.js +1 -1
  45. package/dist/components/OrganizationProfile/VerifyDomainForm.js +1 -1
  46. package/dist/components/OrganizationProfile/index.js +1 -1
  47. package/dist/components/OrganizationSwitcher/OrganizationSwitcherPopover.js +3 -6
  48. package/dist/components/OrganizationSwitcher/OrganizationSwitcherPopover.js.map +1 -1
  49. package/dist/components/OrganizationSwitcher/OrganizationSwitcherTrigger.js +1 -1
  50. package/dist/components/OrganizationSwitcher/UserInvitationSuggestionList.js +1 -1
  51. package/dist/components/OrganizationSwitcher/UserMembershipList.js +1 -1
  52. package/dist/components/PaymentMethods/AddPaymentMethod.js +1 -1
  53. package/dist/components/PaymentMethods/PaymentMethods.js +1 -1
  54. package/dist/components/PricingTable/PricingTable.js +2 -3
  55. package/dist/components/PricingTable/PricingTable.js.map +1 -1
  56. package/dist/components/PricingTable/PricingTableDefault.js +1 -1
  57. package/dist/components/SessionTasks/index.js +1 -1
  58. package/dist/components/SessionTasks/tasks/TaskChooseOrganization/ChooseOrganizationScreen.js +1 -1
  59. package/dist/components/SessionTasks/tasks/TaskChooseOrganization/CreateOrganizationScreen.js +1 -1
  60. package/dist/components/SessionTasks/tasks/TaskChooseOrganization/index.js +1 -1
  61. package/dist/components/SessionTasks/tasks/TaskResetPassword/index.js +1 -1
  62. package/dist/components/SignIn/SignInFactorOne.js +1 -1
  63. package/dist/components/SignIn/SignInFactorOneAlternativeChannelCodeForm.js +1 -1
  64. package/dist/components/SignIn/SignInFactorOneCodeForm.js +1 -1
  65. package/dist/components/SignIn/SignInFactorOneEmailLinkCard.js +1 -1
  66. package/dist/components/SignIn/SignInFactorOnePasswordCard.js +1 -1
  67. package/dist/components/SignIn/SignInFactorTwoBackupCodeCard.js +1 -1
  68. package/dist/components/SignIn/SignInFactorTwoCodeForm.js +1 -1
  69. package/dist/components/SignIn/SignInFactorTwoEmailLinkCard.js +1 -1
  70. package/dist/components/SignIn/SignInSocialButtons.js +1 -1
  71. package/dist/components/SignIn/SignInStart.js +1 -1
  72. package/dist/components/SignIn/index.js +1 -1
  73. package/dist/components/SignIn/shared.js +1 -1
  74. package/dist/components/SignUp/SignUpContinue.js +1 -1
  75. package/dist/components/SignUp/SignUpEmailLinkCard.js +1 -1
  76. package/dist/components/SignUp/SignUpRestrictedAccess.js +1 -1
  77. package/dist/components/SignUp/SignUpSocialButtons.js +1 -1
  78. package/dist/components/SignUp/SignUpStart.js +1 -1
  79. package/dist/components/SignUp/SignUpVerificationCodeForm.js +1 -1
  80. package/dist/components/SignUp/index.js +1 -1
  81. package/dist/components/SubscriptionDetails/index.js +1 -1
  82. package/dist/components/UserButton/UserButtonPopover.js +1 -1
  83. package/dist/components/UserButton/UserButtonTopLevelIdentifier.js +1 -1
  84. package/dist/components/UserButton/UserButtonTrigger.js +1 -1
  85. package/dist/components/UserButton/useMultisessionActions.js +2 -7
  86. package/dist/components/UserButton/useMultisessionActions.js.map +1 -1
  87. package/dist/components/UserProfile/APIKeysPage.js +1 -1
  88. package/dist/components/UserProfile/AccountPage.js +1 -1
  89. package/dist/components/UserProfile/ActiveDevicesSection.js +1 -1
  90. package/dist/components/UserProfile/AddAuthenticatorApp.js +1 -1
  91. package/dist/components/UserProfile/ConnectedAccountsMenu.js +1 -1
  92. package/dist/components/UserProfile/ConnectedAccountsSection.js +1 -1
  93. package/dist/components/UserProfile/DeleteUserForm.js +1 -1
  94. package/dist/components/UserProfile/EmailForm.js +1 -1
  95. package/dist/components/UserProfile/EmailsSection.js +1 -1
  96. package/dist/components/UserProfile/EnterpriseAccountsSection.js +1 -1
  97. package/dist/components/UserProfile/MfaBackupCodeCreateForm.js +1 -1
  98. package/dist/components/UserProfile/MfaBackupCodeList.js +1 -1
  99. package/dist/components/UserProfile/MfaForm.js +1 -1
  100. package/dist/components/UserProfile/MfaPhoneCodeScreen.js +1 -1
  101. package/dist/components/UserProfile/MfaSection.js +1 -1
  102. package/dist/components/UserProfile/PasskeySection.js +1 -1
  103. package/dist/components/UserProfile/PasswordForm.js +1 -1
  104. package/dist/components/UserProfile/PasswordSection.js +1 -1
  105. package/dist/components/UserProfile/PhoneForm.js +1 -1
  106. package/dist/components/UserProfile/PhoneSection.js +1 -1
  107. package/dist/components/UserProfile/ProfileForm.js +1 -1
  108. package/dist/components/UserProfile/RemoveResourceForm.js +1 -1
  109. package/dist/components/UserProfile/SecurityPage.js +1 -1
  110. package/dist/components/UserProfile/UserProfileSection.js +1 -1
  111. package/dist/components/UserProfile/UsernameForm.js +1 -1
  112. package/dist/components/UserProfile/UsernameSection.js +1 -1
  113. package/dist/components/UserProfile/VerifyTOTP.js +1 -1
  114. package/dist/components/UserProfile/Web3Form.js +1 -1
  115. package/dist/components/UserProfile/Web3Section.js +1 -1
  116. package/dist/components/UserVerification/UVFactorOneCodeForm.js +1 -1
  117. package/dist/components/UserVerification/UVFactorOnePasskeysCard.js +1 -1
  118. package/dist/components/UserVerification/UVFactorTwoBackupCodeCard.js +1 -1
  119. package/dist/components/UserVerification/UVFactorTwoCodeForm.js +1 -1
  120. package/dist/components/UserVerification/UVFactorTwoPhoneCodeCard.js +1 -1
  121. package/dist/components/UserVerification/UserVerificationFactorOnePassword.js +1 -1
  122. package/dist/components/UserVerification/useUserVerificationSession.js +1 -1
  123. package/dist/components/Waitlist/WaitlistForm.js +1 -1
  124. package/dist/components/Waitlist/index.js +1 -1
  125. package/dist/components/devPrompts/EnableOrganizationsPrompt/index.js +1 -1
  126. package/dist/components/devPrompts/KeylessPrompt/index.js +1 -1
  127. package/dist/contexts/CoreClerkContextWrapper.js +1 -1
  128. package/dist/contexts/CoreSessionContext.js +1 -1
  129. package/dist/contexts/CoreUserContext.js +1 -1
  130. package/dist/{createorganization_ui_3321de_1.0.0-snapshot.v20251215212157.js → createorganization_ui_338113_1.0.0-snapshot.v20251216175437.js} +1 -1
  131. package/dist/customizables/AppearanceContext.js +1 -1
  132. package/dist/elements/Action/ActionRoot.js +1 -1
  133. package/dist/elements/CodeControl.js +1 -1
  134. package/dist/elements/Drawer.js +2 -8
  135. package/dist/elements/Drawer.js.map +1 -1
  136. package/dist/elements/Form.js +1 -1
  137. package/dist/elements/Menu.js +2 -3
  138. package/dist/elements/Menu.js.map +1 -1
  139. package/dist/elements/Modal.js +2 -3
  140. package/dist/elements/Modal.js.map +1 -1
  141. package/dist/elements/Navbar.js +1 -1
  142. package/dist/elements/PhoneInput/index.js +1 -1
  143. package/dist/elements/Popover.js +1 -4
  144. package/dist/elements/Popover.js.map +1 -1
  145. package/dist/elements/Select.js +1 -1
  146. package/dist/elements/SocialButtons.js +1 -1
  147. package/dist/elements/Tabs.js +1 -1
  148. package/dist/elements/TimerButton.js +1 -1
  149. package/dist/elements/Tooltip.js +24 -29
  150. package/dist/elements/Tooltip.js.map +1 -1
  151. package/dist/elements/contexts/index.js +1 -1
  152. package/dist/{enableOrganizationsPrompt_ui_3321de_1.0.0-snapshot.v20251215212157.js → enableOrganizationsPrompt_ui_338113_1.0.0-snapshot.v20251216175437.js} +1 -1
  153. package/dist/foundations/defaultFoundations.d.ts +153 -153
  154. package/dist/{impersonationfab_ui_3321de_1.0.0-snapshot.v20251215212157.js → impersonationfab_ui_338113_1.0.0-snapshot.v20251216175437.js} +1 -1
  155. package/dist/index.js +1 -1
  156. package/dist/internal/index.js +1 -1
  157. package/dist/{keylessPrompt_ui_3321de_1.0.0-snapshot.v20251215212157.js → keylessPrompt_ui_338113_1.0.0-snapshot.v20251216175437.js} +1 -1
  158. package/dist/lazyModules/MountedCheckoutDrawer.js +1 -1
  159. package/dist/lazyModules/MountedPlanDetailDrawer.js +1 -1
  160. package/dist/lazyModules/MountedSubscriptionDetailDrawer.js +1 -1
  161. package/dist/lazyModules/components.d.ts +20 -20
  162. package/dist/lazyModules/providers.js +17 -24
  163. package/dist/lazyModules/providers.js.map +1 -1
  164. package/dist/{oauthConsent_ui_3321de_1.0.0-snapshot.v20251215212157.js → oauthConsent_ui_338113_1.0.0-snapshot.v20251216175437.js} +1 -1
  165. package/dist/{onetap_ui_3321de_1.0.0-snapshot.v20251215212157.js → onetap_ui_338113_1.0.0-snapshot.v20251216175437.js} +1 -1
  166. package/dist/{op-api-keys-page_ui_3321de_1.0.0-snapshot.v20251215212157.js → op-api-keys-page_ui_338113_1.0.0-snapshot.v20251216175437.js} +1 -1
  167. package/dist/{organizationlist_ui_3321de_1.0.0-snapshot.v20251215212157.js → organizationlist_ui_338113_1.0.0-snapshot.v20251216175437.js} +1 -1
  168. package/dist/{organizationprofile_ui_3321de_1.0.0-snapshot.v20251215212157.js → organizationprofile_ui_338113_1.0.0-snapshot.v20251216175437.js} +1 -1
  169. package/dist/organizationswitcher_ui_338113_1.0.0-snapshot.v20251216175437.js +1 -0
  170. package/dist/{payment-attempt-page_ui_3321de_1.0.0-snapshot.v20251215212157.js → payment-attempt-page_ui_338113_1.0.0-snapshot.v20251216175437.js} +1 -1
  171. package/dist/{planDetails_ui_3321de_1.0.0-snapshot.v20251215212157.js → planDetails_ui_338113_1.0.0-snapshot.v20251216175437.js} +1 -1
  172. package/dist/{prefetchorganizationlist_ui_3321de_1.0.0-snapshot.v20251215212157.js → prefetchorganizationlist_ui_338113_1.0.0-snapshot.v20251216175437.js} +1 -1
  173. package/dist/{pricingTable_ui_3321de_1.0.0-snapshot.v20251215212157.js → pricingTable_ui_338113_1.0.0-snapshot.v20251216175437.js} +1 -1
  174. package/dist/primitives/hooks/useFormField.js +1 -1
  175. package/dist/{revoke-api-key-modal_ui_3321de_1.0.0-snapshot.v20251215212157.js → revoke-api-key-modal_ui_338113_1.0.0-snapshot.v20251216175437.js} +1 -1
  176. package/dist/router/BaseRouter.js +1 -1
  177. package/dist/router/PathRouter.js +1 -1
  178. package/dist/router/Route.js +1 -1
  179. package/dist/router/VirtualRouter.js +1 -1
  180. package/dist/{sessionTasks_ui_3321de_1.0.0-snapshot.v20251215212157.js → sessionTasks_ui_338113_1.0.0-snapshot.v20251216175437.js} +1 -1
  181. package/dist/{signin_ui_3321de_1.0.0-snapshot.v20251215212157.js → signin_ui_338113_1.0.0-snapshot.v20251216175437.js} +1 -1
  182. package/dist/{signup_ui_3321de_1.0.0-snapshot.v20251215212157.js → signup_ui_338113_1.0.0-snapshot.v20251216175437.js} +1 -1
  183. package/dist/{statement-page_ui_3321de_1.0.0-snapshot.v20251215212157.js → statement-page_ui_338113_1.0.0-snapshot.v20251216175437.js} +1 -1
  184. package/dist/{subscriptionDetails_ui_3321de_1.0.0-snapshot.v20251215212157.js → subscriptionDetails_ui_338113_1.0.0-snapshot.v20251216175437.js} +1 -1
  185. package/dist/{taskChooseOrganization_ui_3321de_1.0.0-snapshot.v20251215212157.js → taskChooseOrganization_ui_338113_1.0.0-snapshot.v20251216175437.js} +1 -1
  186. package/dist/{taskResetPassword_ui_3321de_1.0.0-snapshot.v20251215212157.js → taskResetPassword_ui_338113_1.0.0-snapshot.v20251216175437.js} +1 -1
  187. package/dist/ui-common_ui_338113_1.0.0-snapshot.v20251216175437.js +139 -0
  188. package/dist/ui.browser.js +3 -20
  189. package/dist/{up-api-keys-page_ui_3321de_1.0.0-snapshot.v20251215212157.js → up-api-keys-page_ui_338113_1.0.0-snapshot.v20251216175437.js} +1 -1
  190. package/dist/{useravatar_ui_3321de_1.0.0-snapshot.v20251215212157.js → useravatar_ui_338113_1.0.0-snapshot.v20251216175437.js} +1 -1
  191. package/dist/{userbutton_ui_3321de_1.0.0-snapshot.v20251215212157.js → userbutton_ui_338113_1.0.0-snapshot.v20251216175437.js} +1 -1
  192. package/dist/{userprofile_ui_3321de_1.0.0-snapshot.v20251215212157.js → userprofile_ui_338113_1.0.0-snapshot.v20251216175437.js} +2 -2
  193. package/dist/{userverification_ui_3321de_1.0.0-snapshot.v20251215212157.js → userverification_ui_338113_1.0.0-snapshot.v20251216175437.js} +1 -1
  194. package/dist/vendors_ui_338113_1.0.0-snapshot.v20251216175437.js +20 -0
  195. package/dist/{waitlist_ui_3321de_1.0.0-snapshot.v20251215212157.js → waitlist_ui_338113_1.0.0-snapshot.v20251216175437.js} +1 -1
  196. package/package.json +3 -3
  197. package/dist/organizationswitcher_ui_3321de_1.0.0-snapshot.v20251215212157.js +0 -1
  198. package/dist/ui-common_ui_3321de_1.0.0-snapshot.v20251215212157.js +0 -122
  199. package/dist/vendors_ui_3321de_1.0.0-snapshot.v20251215212157.js +0 -20
  200. /package/dist/{blankcaptcha_ui_3321de_1.0.0-snapshot.v20251215212157.js → blankcaptcha_ui_338113_1.0.0-snapshot.v20251216175437.js} +0 -0
  201. /package/dist/{copy-api-key-modal_ui_3321de_1.0.0-snapshot.v20251215212157.js → copy-api-key-modal_ui_338113_1.0.0-snapshot.v20251216175437.js} +0 -0
  202. /package/dist/{framework_ui_3321de_1.0.0-snapshot.v20251215212157.js → framework_ui_338113_1.0.0-snapshot.v20251216175437.js} +0 -0
  203. /package/dist/{op-billing-page_ui_3321de_1.0.0-snapshot.v20251215212157.js → op-billing-page_ui_338113_1.0.0-snapshot.v20251216175437.js} +0 -0
  204. /package/dist/{op-plans-page_ui_3321de_1.0.0-snapshot.v20251215212157.js → op-plans-page_ui_338113_1.0.0-snapshot.v20251216175437.js} +0 -0
  205. /package/dist/{up-billing-page_ui_3321de_1.0.0-snapshot.v20251215212157.js → up-billing-page_ui_338113_1.0.0-snapshot.v20251216175437.js} +0 -0
  206. /package/dist/{up-plans-page_ui_3321de_1.0.0-snapshot.v20251215212157.js → up-plans-page_ui_338113_1.0.0-snapshot.v20251216175437.js} +0 -0
@@ -9,8 +9,8 @@ import { Card } from "../../elements/Card/index.js";
9
9
  import { Header } from "../../elements/Header.js";
10
10
  import { useSupportEmail } from "../../hooks/useSupportEmail.js";
11
11
  import { SIGN_UP_MODES } from "@clerk/shared/internal/clerk-js/constants";
12
- import { useClerk } from "@clerk/shared/react";
13
12
  import { jsx, jsxs } from "@emotion/react/jsx-runtime";
13
+ import { useClerk } from "@clerk/shared/react";
14
14
 
15
15
  //#region src/components/SignUp/SignUpRestrictedAccess.tsx
16
16
  const SignUpRestrictedAccess = () => {
@@ -7,8 +7,8 @@ import { originPrefersPopup } from "../../utils/originPrefersPopup.js";
7
7
  import { web3CallbackErrorHandler } from "../../utils/web3CallbackErrorHandler.js";
8
8
  import { SocialButtons } from "../../elements/SocialButtons.js";
9
9
  import React from "react";
10
- import { useClerk } from "@clerk/shared/react";
11
10
  import { jsx } from "@emotion/react/jsx-runtime";
11
+ import { useClerk } from "@clerk/shared/react";
12
12
 
13
13
  //#region src/components/SignUp/SignUpSocialButtons.tsx
14
14
  const SignUpSocialButtons = React.memo((props) => {
@@ -31,9 +31,9 @@ import { SignUpStartAlternativePhoneCodePhoneNumberCard } from "./SignUpStartAlt
31
31
  import React from "react";
32
32
  import { ERROR_CODES, SIGN_UP_MODES } from "@clerk/shared/internal/clerk-js/constants";
33
33
  import { getClerkQueryParam, removeClerkQueryParam } from "@clerk/shared/internal/clerk-js/queryParams";
34
- import { useClerk } from "@clerk/shared/react";
35
34
  import { jsx, jsxs } from "@emotion/react/jsx-runtime";
36
35
  import { isClerkAPIResponseError } from "@clerk/shared/error";
36
+ import { useClerk } from "@clerk/shared/react";
37
37
  import { getAlternativePhoneCodeProviderData } from "@clerk/shared/alternativePhoneCode";
38
38
 
39
39
  //#region src/components/SignUp/SignUpStart.tsx
@@ -5,8 +5,8 @@ import { VerificationCodeCard } from "../../elements/VerificationCodeCard.js";
5
5
  import { completeSignUpFlow } from "./util.js";
6
6
  import React from "react";
7
7
  import { forwardClerkQueryParams } from "@clerk/shared/internal/clerk-js/queryParams";
8
- import { useClerk } from "@clerk/shared/react";
9
8
  import { jsx } from "@emotion/react/jsx-runtime";
9
+ import { useClerk } from "@clerk/shared/react";
10
10
 
11
11
  //#region src/components/SignUp/SignUpVerificationCodeForm.tsx
12
12
  const SignUpVerificationCodeForm = (props) => {
@@ -14,8 +14,8 @@ import { SignUpStart } from "./SignUpStart.js";
14
14
  import { SignUpVerifyEmail } from "./SignUpVerifyEmail.js";
15
15
  import { SignUpVerifyPhone } from "./SignUpVerifyPhone.js";
16
16
  import React from "react";
17
- import { useClerk } from "@clerk/shared/react";
18
17
  import { jsx, jsxs } from "@emotion/react/jsx-runtime";
18
+ import { useClerk } from "@clerk/shared/react";
19
19
 
20
20
  //#region src/components/SignUp/index.tsx
21
21
  function RedirectToSignUp() {
@@ -17,8 +17,8 @@ import { SubscriptionBadge } from "../Subscriptions/badge.js";
17
17
  import { Avatar } from "../../elements/Avatar.js";
18
18
  import * as React$1 from "react";
19
19
  import { useCallback, useContext, useState } from "react";
20
- import { useClerk, useOrganizationContext } from "@clerk/shared/react";
21
20
  import { Fragment as Fragment$1, jsx, jsxs } from "@emotion/react/jsx-runtime";
21
+ import { useClerk, useOrganizationContext } from "@clerk/shared/react";
22
22
 
23
23
  //#region src/components/SubscriptionDetails/index.tsx
24
24
  const isFreePlan = (plan) => !plan.hasBaseFee;
@@ -7,8 +7,8 @@ import { RootBox } from "../../elements/RootBox.js";
7
7
  import { MultiSessionActions, SignOutAllActions, SingleSessionActions } from "./SessionActions.js";
8
8
  import { useMultisessionActions } from "./useMultisessionActions.js";
9
9
  import React from "react";
10
- import { useSession, useUser } from "@clerk/shared/react";
11
10
  import { jsx, jsxs } from "@emotion/react/jsx-runtime";
11
+ import { useSession, useUser } from "@clerk/shared/react";
12
12
 
13
13
  //#region src/components/UserButton/UserButtonPopover.tsx
14
14
  const UserButtonPopover = React.forwardRef((props, ref) => {
@@ -1,7 +1,7 @@
1
1
  import { descriptors } from "../../customizables/elementDescriptors.js";
2
2
  import { Text } from "../../customizables/index.js";
3
- import { useUser } from "@clerk/shared/react";
4
3
  import { jsx } from "@emotion/react/jsx-runtime";
4
+ import { useUser } from "@clerk/shared/react";
5
5
  import { getFullName, getIdentifier } from "@clerk/shared/internal/clerk-js/user";
6
6
 
7
7
  //#region src/components/UserButton/UserButtonTopLevelIdentifier.tsx
@@ -7,8 +7,8 @@ import { UserAvatar } from "../../elements/UserAvatar.js";
7
7
  import { withAvatarShimmer } from "../../elements/withAvatarShimmer.js";
8
8
  import { UserButtonTopLevelIdentifier } from "./UserButtonTopLevelIdentifier.js";
9
9
  import { forwardRef } from "react";
10
- import { useUser } from "@clerk/shared/react";
11
10
  import { jsx, jsxs } from "@emotion/react/jsx-runtime";
11
+ import { useUser } from "@clerk/shared/react";
12
12
 
13
13
  //#region src/components/UserButton/UserButtonTrigger.tsx
14
14
  const UserButtonTrigger = withAvatarShimmer(forwardRef((props, ref) => {
@@ -3,7 +3,7 @@ import { useEnvironment } from "../../contexts/EnvironmentContext.js";
3
3
  import { useCardState } from "../../elements/contexts/index.js";
4
4
  import { sleep } from "../../utils/sleep.js";
5
5
  import { useMultipleSessions } from "../../hooks/useMultipleSessions.js";
6
- import { useClerk, usePortalRoot } from "@clerk/shared/react";
6
+ import { useClerk } from "@clerk/shared/react";
7
7
  import { navigateIfTaskExists } from "@clerk/shared/internal/clerk-js/sessionTasks";
8
8
  import { windowNavigate } from "@clerk/shared/internal/clerk-js/windowNavigate";
9
9
 
@@ -14,7 +14,6 @@ const useMultisessionActions = (opts) => {
14
14
  const { signedInSessions, otherSessions } = useMultipleSessions({ user: opts.user });
15
15
  const { navigate } = useRouter();
16
16
  const { displayConfig } = useEnvironment();
17
- const getContainer = usePortalRoot();
18
17
  const handleSignOutSessionClicked = (session) => () => {
19
18
  if (otherSessions.length === 0) return signOut(opts.navigateAfterSignOut);
20
19
  return signOut(opts.navigateAfterMultiSessionSingleSignOut, { sessionId: session.id }).finally(() => card.setIdle());
@@ -26,10 +25,7 @@ const useMultisessionActions = (opts) => {
26
25
  opts.actionCompleteCallback?.();
27
26
  })();
28
27
  });
29
- openUserProfile({
30
- getContainer,
31
- ...opts.userProfileProps
32
- });
28
+ openUserProfile(opts.userProfileProps);
33
29
  return opts.actionCompleteCallback?.();
34
30
  };
35
31
  const handleUserProfileActionClicked = (__experimental_startPath) => {
@@ -40,7 +36,6 @@ const useMultisessionActions = (opts) => {
40
36
  })();
41
37
  });
42
38
  openUserProfile({
43
- getContainer,
44
39
  ...opts.userProfileProps,
45
40
  ...__experimental_startPath && { __experimental_startPath }
46
41
  });
@@ -1 +1 @@
1
- {"version":3,"file":"useMultisessionActions.js","names":["session"],"sources":["../../../src/components/UserButton/useMultisessionActions.tsx"],"sourcesContent":["import { navigateIfTaskExists } from '@clerk/shared/internal/clerk-js/sessionTasks';\nimport { windowNavigate } from '@clerk/shared/internal/clerk-js/windowNavigate';\nimport { useClerk, usePortalRoot } from '@clerk/shared/react';\nimport type { SignedInSessionResource, UserButtonProps, UserResource } from '@clerk/shared/types';\n\nimport { useEnvironment } from '@/ui/contexts';\nimport { useCardState } from '@/ui/elements/contexts';\nimport { sleep } from '@/ui/utils/sleep';\n\nimport { useMultipleSessions } from '../../hooks/useMultipleSessions';\nimport { useRouter } from '../../router';\n\ntype UseMultisessionActionsParams = {\n user: UserResource | null | undefined;\n actionCompleteCallback?: () => void;\n navigateAfterSignOut?: () => any;\n navigateAfterMultiSessionSingleSignOut?: () => any;\n afterSwitchSessionUrl?: string;\n userProfileUrl?: string;\n signInUrl?: string;\n taskUrl?: string | null;\n} & Pick<UserButtonProps, 'userProfileMode' | 'appearance' | 'userProfileProps'>;\n\nexport const useMultisessionActions = (opts: UseMultisessionActionsParams) => {\n const { setActive, signOut, openUserProfile } = useClerk();\n const card = useCardState();\n const { signedInSessions, otherSessions } = useMultipleSessions({ user: opts.user });\n const { navigate } = useRouter();\n const { displayConfig } = useEnvironment();\n const getContainer = usePortalRoot();\n\n const handleSignOutSessionClicked = (session: SignedInSessionResource) => () => {\n if (otherSessions.length === 0) {\n return signOut(opts.navigateAfterSignOut);\n }\n return signOut(opts.navigateAfterMultiSessionSingleSignOut, { sessionId: session.id }).finally(() =>\n card.setIdle(),\n );\n };\n\n const handleManageAccountClicked = () => {\n if (opts.userProfileMode === 'navigation') {\n return navigate(opts.userProfileUrl || '').finally(() => {\n void (async () => {\n await sleep(300);\n opts.actionCompleteCallback?.();\n })();\n });\n }\n openUserProfile({ getContainer, ...opts.userProfileProps });\n return opts.actionCompleteCallback?.();\n };\n\n const handleUserProfileActionClicked = (__experimental_startPath?: string) => {\n if (opts.userProfileMode === 'navigation') {\n return navigate(opts.userProfileUrl || '').finally(() => {\n void (async () => {\n await sleep(300);\n opts.actionCompleteCallback?.();\n })();\n });\n }\n openUserProfile({\n getContainer,\n ...opts.userProfileProps,\n ...(__experimental_startPath && { __experimental_startPath }),\n });\n\n return opts.actionCompleteCallback?.();\n };\n\n const handleSignOutAllClicked = () => {\n return signOut(opts.navigateAfterSignOut);\n };\n\n const handleSessionClicked = (session: SignedInSessionResource) => async () => {\n card.setLoading();\n\n return setActive({\n session,\n navigate: async ({ session }) => {\n if (!session.currentTask && opts.afterSwitchSessionUrl) {\n await navigate(opts.afterSwitchSessionUrl);\n return;\n }\n\n if (opts.taskUrl) {\n await navigate(opts.taskUrl);\n return;\n }\n\n await navigateIfTaskExists(session, {\n baseUrl: opts.signInUrl ?? displayConfig.signInUrl,\n navigate,\n });\n },\n }).finally(() => {\n card.setIdle();\n opts.actionCompleteCallback?.();\n });\n };\n\n const handleAddAccountClicked = () => {\n windowNavigate(opts.signInUrl || window.location.href);\n return sleep(2000);\n };\n\n return {\n handleSignOutSessionClicked,\n handleManageAccountClicked,\n handleUserProfileActionClicked,\n handleSignOutAllClicked,\n handleSessionClicked,\n handleAddAccountClicked,\n otherSessions,\n signedInSessions,\n };\n};\n"],"mappings":";;;;;;;;;;AAuBA,MAAa,0BAA0B,SAAuC;CAC5E,MAAM,EAAE,WAAW,SAAS,oBAAoB,UAAU;CAC1D,MAAM,OAAO,cAAc;CAC3B,MAAM,EAAE,kBAAkB,kBAAkB,oBAAoB,EAAE,MAAM,KAAK,MAAM,CAAC;CACpF,MAAM,EAAE,aAAa,WAAW;CAChC,MAAM,EAAE,kBAAkB,gBAAgB;CAC1C,MAAM,eAAe,eAAe;CAEpC,MAAM,+BAA+B,kBAA2C;AAC9E,MAAI,cAAc,WAAW,EAC3B,QAAO,QAAQ,KAAK,qBAAqB;AAE3C,SAAO,QAAQ,KAAK,wCAAwC,EAAE,WAAW,QAAQ,IAAI,CAAC,CAAC,cACrF,KAAK,SAAS,CACf;;CAGH,MAAM,mCAAmC;AACvC,MAAI,KAAK,oBAAoB,aAC3B,QAAO,SAAS,KAAK,kBAAkB,GAAG,CAAC,cAAc;AACvD,IAAM,YAAY;AAChB,UAAM,MAAM,IAAI;AAChB,SAAK,0BAA0B;OAC7B;IACJ;AAEJ,kBAAgB;GAAE;GAAc,GAAG,KAAK;GAAkB,CAAC;AAC3D,SAAO,KAAK,0BAA0B;;CAGxC,MAAM,kCAAkC,6BAAsC;AAC5E,MAAI,KAAK,oBAAoB,aAC3B,QAAO,SAAS,KAAK,kBAAkB,GAAG,CAAC,cAAc;AACvD,IAAM,YAAY;AAChB,UAAM,MAAM,IAAI;AAChB,SAAK,0BAA0B;OAC7B;IACJ;AAEJ,kBAAgB;GACd;GACA,GAAG,KAAK;GACR,GAAI,4BAA4B,EAAE,0BAA0B;GAC7D,CAAC;AAEF,SAAO,KAAK,0BAA0B;;CAGxC,MAAM,gCAAgC;AACpC,SAAO,QAAQ,KAAK,qBAAqB;;CAG3C,MAAM,wBAAwB,YAAqC,YAAY;AAC7E,OAAK,YAAY;AAEjB,SAAO,UAAU;GACf;GACA,UAAU,OAAO,EAAE,yBAAc;AAC/B,QAAI,CAACA,UAAQ,eAAe,KAAK,uBAAuB;AACtD,WAAM,SAAS,KAAK,sBAAsB;AAC1C;;AAGF,QAAI,KAAK,SAAS;AAChB,WAAM,SAAS,KAAK,QAAQ;AAC5B;;AAGF,UAAM,qBAAqBA,WAAS;KAClC,SAAS,KAAK,aAAa,cAAc;KACzC;KACD,CAAC;;GAEL,CAAC,CAAC,cAAc;AACf,QAAK,SAAS;AACd,QAAK,0BAA0B;IAC/B;;CAGJ,MAAM,gCAAgC;AACpC,iBAAe,KAAK,aAAa,OAAO,SAAS,KAAK;AACtD,SAAO,MAAM,IAAK;;AAGpB,QAAO;EACL;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACD"}
1
+ {"version":3,"file":"useMultisessionActions.js","names":["session"],"sources":["../../../src/components/UserButton/useMultisessionActions.tsx"],"sourcesContent":["import { navigateIfTaskExists } from '@clerk/shared/internal/clerk-js/sessionTasks';\nimport { windowNavigate } from '@clerk/shared/internal/clerk-js/windowNavigate';\nimport { useClerk } from '@clerk/shared/react';\nimport type { SignedInSessionResource, UserButtonProps, UserResource } from '@clerk/shared/types';\n\nimport { useEnvironment } from '@/ui/contexts';\nimport { useCardState } from '@/ui/elements/contexts';\nimport { sleep } from '@/ui/utils/sleep';\n\nimport { useMultipleSessions } from '../../hooks/useMultipleSessions';\nimport { useRouter } from '../../router';\n\ntype UseMultisessionActionsParams = {\n user: UserResource | null | undefined;\n actionCompleteCallback?: () => void;\n navigateAfterSignOut?: () => any;\n navigateAfterMultiSessionSingleSignOut?: () => any;\n afterSwitchSessionUrl?: string;\n userProfileUrl?: string;\n signInUrl?: string;\n taskUrl?: string | null;\n} & Pick<UserButtonProps, 'userProfileMode' | 'appearance' | 'userProfileProps'>;\n\nexport const useMultisessionActions = (opts: UseMultisessionActionsParams) => {\n const { setActive, signOut, openUserProfile } = useClerk();\n const card = useCardState();\n const { signedInSessions, otherSessions } = useMultipleSessions({ user: opts.user });\n const { navigate } = useRouter();\n const { displayConfig } = useEnvironment();\n\n const handleSignOutSessionClicked = (session: SignedInSessionResource) => () => {\n if (otherSessions.length === 0) {\n return signOut(opts.navigateAfterSignOut);\n }\n return signOut(opts.navigateAfterMultiSessionSingleSignOut, { sessionId: session.id }).finally(() =>\n card.setIdle(),\n );\n };\n\n const handleManageAccountClicked = () => {\n if (opts.userProfileMode === 'navigation') {\n return navigate(opts.userProfileUrl || '').finally(() => {\n void (async () => {\n await sleep(300);\n opts.actionCompleteCallback?.();\n })();\n });\n }\n openUserProfile(opts.userProfileProps);\n return opts.actionCompleteCallback?.();\n };\n\n const handleUserProfileActionClicked = (__experimental_startPath?: string) => {\n if (opts.userProfileMode === 'navigation') {\n return navigate(opts.userProfileUrl || '').finally(() => {\n void (async () => {\n await sleep(300);\n opts.actionCompleteCallback?.();\n })();\n });\n }\n openUserProfile({\n ...opts.userProfileProps,\n ...(__experimental_startPath && { __experimental_startPath }),\n });\n\n return opts.actionCompleteCallback?.();\n };\n\n const handleSignOutAllClicked = () => {\n return signOut(opts.navigateAfterSignOut);\n };\n\n const handleSessionClicked = (session: SignedInSessionResource) => async () => {\n card.setLoading();\n\n return setActive({\n session,\n navigate: async ({ session }) => {\n if (!session.currentTask && opts.afterSwitchSessionUrl) {\n await navigate(opts.afterSwitchSessionUrl);\n return;\n }\n\n if (opts.taskUrl) {\n await navigate(opts.taskUrl);\n return;\n }\n\n await navigateIfTaskExists(session, {\n baseUrl: opts.signInUrl ?? displayConfig.signInUrl,\n navigate,\n });\n },\n }).finally(() => {\n card.setIdle();\n opts.actionCompleteCallback?.();\n });\n };\n\n const handleAddAccountClicked = () => {\n windowNavigate(opts.signInUrl || window.location.href);\n return sleep(2000);\n };\n\n return {\n handleSignOutSessionClicked,\n handleManageAccountClicked,\n handleUserProfileActionClicked,\n handleSignOutAllClicked,\n handleSessionClicked,\n handleAddAccountClicked,\n otherSessions,\n signedInSessions,\n };\n};\n"],"mappings":";;;;;;;;;;AAuBA,MAAa,0BAA0B,SAAuC;CAC5E,MAAM,EAAE,WAAW,SAAS,oBAAoB,UAAU;CAC1D,MAAM,OAAO,cAAc;CAC3B,MAAM,EAAE,kBAAkB,kBAAkB,oBAAoB,EAAE,MAAM,KAAK,MAAM,CAAC;CACpF,MAAM,EAAE,aAAa,WAAW;CAChC,MAAM,EAAE,kBAAkB,gBAAgB;CAE1C,MAAM,+BAA+B,kBAA2C;AAC9E,MAAI,cAAc,WAAW,EAC3B,QAAO,QAAQ,KAAK,qBAAqB;AAE3C,SAAO,QAAQ,KAAK,wCAAwC,EAAE,WAAW,QAAQ,IAAI,CAAC,CAAC,cACrF,KAAK,SAAS,CACf;;CAGH,MAAM,mCAAmC;AACvC,MAAI,KAAK,oBAAoB,aAC3B,QAAO,SAAS,KAAK,kBAAkB,GAAG,CAAC,cAAc;AACvD,IAAM,YAAY;AAChB,UAAM,MAAM,IAAI;AAChB,SAAK,0BAA0B;OAC7B;IACJ;AAEJ,kBAAgB,KAAK,iBAAiB;AACtC,SAAO,KAAK,0BAA0B;;CAGxC,MAAM,kCAAkC,6BAAsC;AAC5E,MAAI,KAAK,oBAAoB,aAC3B,QAAO,SAAS,KAAK,kBAAkB,GAAG,CAAC,cAAc;AACvD,IAAM,YAAY;AAChB,UAAM,MAAM,IAAI;AAChB,SAAK,0BAA0B;OAC7B;IACJ;AAEJ,kBAAgB;GACd,GAAG,KAAK;GACR,GAAI,4BAA4B,EAAE,0BAA0B;GAC7D,CAAC;AAEF,SAAO,KAAK,0BAA0B;;CAGxC,MAAM,gCAAgC;AACpC,SAAO,QAAQ,KAAK,qBAAqB;;CAG3C,MAAM,wBAAwB,YAAqC,YAAY;AAC7E,OAAK,YAAY;AAEjB,SAAO,UAAU;GACf;GACA,UAAU,OAAO,EAAE,yBAAc;AAC/B,QAAI,CAACA,UAAQ,eAAe,KAAK,uBAAuB;AACtD,WAAM,SAAS,KAAK,sBAAsB;AAC1C;;AAGF,QAAI,KAAK,SAAS;AAChB,WAAM,SAAS,KAAK,QAAQ;AAC5B;;AAGF,UAAM,qBAAqBA,WAAS;KAClC,SAAS,KAAK,aAAa,cAAc;KACzC;KACD,CAAC;;GAEL,CAAC,CAAC,cAAc;AACf,QAAK,SAAS;AACd,QAAK,0BAA0B;IAC/B;;CAGJ,MAAM,gCAAgC;AACpC,iBAAe,KAAK,aAAa,OAAO,SAAS,KAAK;AACtD,SAAO,MAAM,IAAK;;AAGpB,QAAO;EACL;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACD"}
@@ -6,8 +6,8 @@ import { Col } from "../../customizables/index.js";
6
6
  import { Header } from "../../elements/Header.js";
7
7
  import { APIKeysPage as APIKeysPage$1 } from "../APIKeys/APIKeys.js";
8
8
  import { useUnsafeNavbarContext } from "../../elements/Navbar.js";
9
- import { useUser } from "@clerk/shared/react";
10
9
  import { jsx, jsxs } from "@emotion/react/jsx-runtime";
10
+ import { useUser } from "@clerk/shared/react";
11
11
 
12
12
  //#region src/components/UserProfile/APIKeysPage.tsx
13
13
  const APIKeysPage = () => {
@@ -13,8 +13,8 @@ import { PhoneSection } from "./PhoneSection.js";
13
13
  import { UsernameSection } from "./UsernameSection.js";
14
14
  import { UserProfileSection } from "./UserProfileSection.js";
15
15
  import { Web3Section } from "./Web3Section.js";
16
- import { useUser } from "@clerk/shared/react";
17
16
  import { jsx, jsxs } from "@emotion/react/jsx-runtime";
17
+ import { useUser } from "@clerk/shared/react";
18
18
 
19
19
  //#region src/components/UserProfile/AccountPage.tsx
20
20
  const AccountPage = withCardStateProvider(() => {
@@ -13,8 +13,8 @@ import { FullHeightLoader } from "../../elements/FullHeightLoader.js";
13
13
  import { ProfileSection } from "../../elements/Section.js";
14
14
  import { currentSessionFirst } from "./utils.js";
15
15
  import { getRelativeToNowDateKey } from "../../utils/getRelativeToNowDateKey.js";
16
- import { useReverification, useSession, useUser } from "@clerk/shared/react";
17
16
  import { Fragment, jsx, jsxs } from "@emotion/react/jsx-runtime";
17
+ import { useReverification, useSession, useUser } from "@clerk/shared/react";
18
18
 
19
19
  //#region src/components/UserProfile/ActiveDevicesSection.tsx
20
20
  const ActiveDevicesSection = () => {
@@ -10,9 +10,9 @@ import { useActionContext } from "../../elements/Action/ActionRoot.js";
10
10
  import { ClipboardInput } from "../../elements/ClipboardInput.js";
11
11
  import { FullHeightLoader } from "../../elements/FullHeightLoader.js";
12
12
  import React from "react";
13
- import { useReverification, useUser } from "@clerk/shared/react";
14
13
  import { Fragment as Fragment$1, jsx, jsxs } from "@emotion/react/jsx-runtime";
15
14
  import { isClerkRuntimeError } from "@clerk/shared/error";
15
+ import { useReverification, useUser } from "@clerk/shared/react";
16
16
 
17
17
  //#region src/components/UserProfile/AddAuthenticatorApp.tsx
18
18
  const AddAuthenticatorApp = withCardStateProvider((props) => {
@@ -10,8 +10,8 @@ import { ProviderInitialIcon } from "../../common/ProviderInitialIcon.js";
10
10
  import { handleError } from "../../utils/errorHandler.js";
11
11
  import { ProfileSection } from "../../elements/Section.js";
12
12
  import { appendModalState } from "@clerk/shared/internal/clerk-js/queryStateParams";
13
- import { useReverification, useUser } from "@clerk/shared/react";
14
13
  import { jsx } from "@emotion/react/jsx-runtime";
14
+ import { useReverification, useUser } from "@clerk/shared/react";
15
15
 
16
16
  //#region src/components/UserProfile/ConnectedAccountsMenu.tsx
17
17
  const ConnectMenuButton = (props) => {
@@ -16,8 +16,8 @@ import { AddConnectedAccount } from "./ConnectedAccountsMenu.js";
16
16
  import { RemoveConnectedAccountForm } from "./RemoveResourceForm.js";
17
17
  import { Fragment, useState } from "react";
18
18
  import { appendModalState } from "@clerk/shared/internal/clerk-js/queryStateParams";
19
- import { useReverification, useUser } from "@clerk/shared/react";
20
19
  import { jsx, jsxs } from "@emotion/react/jsx-runtime";
20
+ import { useReverification, useUser } from "@clerk/shared/react";
21
21
 
22
22
  //#region src/components/UserProfile/ConnectedAccountsSection.tsx
23
23
  const RemoveConnectedAccountScreen = (props) => {
@@ -9,8 +9,8 @@ import { Form } from "../../elements/Form.js";
9
9
  import { FormButtons } from "../../elements/FormButtons.js";
10
10
  import { FormContainer } from "../../elements/FormContainer.js";
11
11
  import { useMultipleSessions } from "../../hooks/useMultipleSessions.js";
12
- import { useClerk, useReverification, useUser } from "@clerk/shared/react";
13
12
  import { jsx, jsxs } from "@emotion/react/jsx-runtime";
13
+ import { useClerk, useReverification, useUser } from "@clerk/shared/react";
14
14
 
15
15
  //#region src/components/UserProfile/DeleteUserForm.tsx
16
16
  const DeleteUserForm = withCardStateProvider((props) => {
@@ -11,8 +11,8 @@ import { VerifyWithCode } from "./VerifyWithCode.js";
11
11
  import { VerifyWithEnterpriseConnection } from "./VerifyWithEnterpriseConnection.js";
12
12
  import { VerifyWithLink } from "./VerifyWithLink.js";
13
13
  import React from "react";
14
- import { useReverification, useUser } from "@clerk/shared/react";
15
14
  import { jsx, jsxs } from "@emotion/react/jsx-runtime";
15
+ import { useReverification, useUser } from "@clerk/shared/react";
16
16
 
17
17
  //#region src/components/UserProfile/EmailForm.tsx
18
18
  const EmailForm = withCardStateProvider((props) => {
@@ -10,8 +10,8 @@ import { ProfileSection } from "../../elements/Section.js";
10
10
  import { RemoveEmailForm } from "./RemoveResourceForm.js";
11
11
  import { sortIdentificationBasedOnVerification } from "./utils.js";
12
12
  import { Fragment } from "react";
13
- import { useReverification, useUser } from "@clerk/shared/react";
14
13
  import { Fragment as Fragment$1, jsx, jsxs } from "@emotion/react/jsx-runtime";
14
+ import { useReverification, useUser } from "@clerk/shared/react";
15
15
 
16
16
  //#region src/components/UserProfile/EmailsSection.tsx
17
17
  const RemoveEmailScreen = (props) => {
@@ -3,8 +3,8 @@ import { descriptors } from "../../customizables/elementDescriptors.js";
3
3
  import { Badge, Box, Flex, Image, Text } from "../../customizables/index.js";
4
4
  import { ProviderInitialIcon } from "../../common/ProviderInitialIcon.js";
5
5
  import { ProfileSection } from "../../elements/Section.js";
6
- import { useUser } from "@clerk/shared/react";
7
6
  import { jsx, jsxs } from "@emotion/react/jsx-runtime";
7
+ import { useUser } from "@clerk/shared/react";
8
8
 
9
9
  //#region src/components/UserProfile/EnterpriseAccountsSection.tsx
10
10
  const EnterpriseAccountsSection = () => {
@@ -8,9 +8,9 @@ import { FormContainer } from "../../elements/FormContainer.js";
8
8
  import { FullHeightLoader } from "../../elements/FullHeightLoader.js";
9
9
  import { MfaBackupCodeList } from "./MfaBackupCodeList.js";
10
10
  import React from "react";
11
- import { useReverification, useUser } from "@clerk/shared/react";
12
11
  import { Fragment as Fragment$1, jsx, jsxs } from "@emotion/react/jsx-runtime";
13
12
  import { isReverificationCancelledError } from "@clerk/shared/error";
13
+ import { useReverification, useUser } from "@clerk/shared/react";
14
14
 
15
15
  //#region src/components/UserProfile/MfaBackupCodeCreateForm.tsx
16
16
  const MfaBackupCodeCreateForm = withCardStateProvider((props) => {
@@ -8,8 +8,8 @@ import print_default from "../../icons/print.js";
8
8
  import { Box, Button, Col, Grid, Heading, Icon, Text } from "../../customizables/index.js";
9
9
  import { PrintableComponent, usePrintable } from "../../common/PrintableComponent.js";
10
10
  import { MfaBackupCodeTile } from "./MfaBackupCodeTile.js";
11
- import { useUser } from "@clerk/shared/react";
12
11
  import { Fragment, jsx, jsxs } from "@emotion/react/jsx-runtime";
12
+ import { useUser } from "@clerk/shared/react";
13
13
  import { getIdentifier } from "@clerk/shared/internal/clerk-js/user";
14
14
 
15
15
  //#region src/components/UserProfile/MfaBackupCodeList.tsx
@@ -7,8 +7,8 @@ import { MfaBackupCodeScreen } from "./MfaBackupCodeScreen.js";
7
7
  import { MfaPhoneCodeScreen } from "./MfaPhoneCodeScreen.js";
8
8
  import { MfaTOTPScreen } from "./MfaTOTPScreen.js";
9
9
  import React from "react";
10
- import { useUser } from "@clerk/shared/react";
11
10
  import { jsx } from "@emotion/react/jsx-runtime";
11
+ import { useUser } from "@clerk/shared/react";
12
12
 
13
13
  //#region src/components/UserProfile/MfaForm.tsx
14
14
  const MfaForm = withCardStateProvider((props) => {
@@ -14,8 +14,8 @@ import { SuccessPage } from "../../elements/SuccessPage.js";
14
14
  import { AddPhone } from "./PhoneForm.js";
15
15
  import { MfaBackupCodeList } from "./MfaBackupCodeList.js";
16
16
  import React from "react";
17
- import { useReverification, useUser } from "@clerk/shared/react";
18
17
  import { jsx, jsxs } from "@emotion/react/jsx-runtime";
18
+ import { useReverification, useUser } from "@clerk/shared/react";
19
19
 
20
20
  //#region src/components/UserProfile/MfaPhoneCodeScreen.tsx
21
21
  const MfaPhoneCodeScreen = withCardStateProvider((props) => {
@@ -14,8 +14,8 @@ import { defaultFirst, getSecondFactors, getSecondFactorsAvailableToAdd } from "
14
14
  import { FormattedPhoneNumberText } from "../../elements/FormattedPhoneNumber.js";
15
15
  import { MfaBackupCodeCreateScreen, MfaScreen, RemoveMfaPhoneCodeScreen, RemoveMfaTOTPScreen } from "./MfaScreens.js";
16
16
  import React, { Fragment, useState } from "react";
17
- import { useUser } from "@clerk/shared/react";
18
17
  import { Fragment as Fragment$1, jsx, jsxs } from "@emotion/react/jsx-runtime";
18
+ import { useUser } from "@clerk/shared/react";
19
19
 
20
20
  //#region src/components/UserProfile/MfaSection.tsx
21
21
  const MfaSection = () => {
@@ -15,8 +15,8 @@ import { ProfileSection } from "../../elements/Section.js";
15
15
  import { RemovePasskeyForm } from "./RemoveResourceForm.js";
16
16
  import { getRelativeToNowDateKey } from "../../utils/getRelativeToNowDateKey.js";
17
17
  import React, { Fragment, useState } from "react";
18
- import { useClerk, useReverification, useUser } from "@clerk/shared/react";
19
18
  import { jsx, jsxs } from "@emotion/react/jsx-runtime";
19
+ import { useClerk, useReverification, useUser } from "@clerk/shared/react";
20
20
 
21
21
  //#region src/components/UserProfile/PasskeySection.tsx
22
22
  const RemovePasskeyScreen = (props) => {
@@ -11,8 +11,8 @@ import { FormButtonContainer, FormButtons } from "../../elements/FormButtons.js"
11
11
  import { FormContainer } from "../../elements/FormContainer.js";
12
12
  import { InformationBox } from "../../elements/InformationBox.js";
13
13
  import { useRef } from "react";
14
- import { useReverification, useSession, useUser } from "@clerk/shared/react";
15
14
  import { jsx, jsxs } from "@emotion/react/jsx-runtime";
15
+ import { useReverification, useSession, useUser } from "@clerk/shared/react";
16
16
 
17
17
  //#region src/components/UserProfile/PasswordForm.tsx
18
18
  const generateSuccessPageText = (userHasPassword, sessionSignOut) => {
@@ -4,8 +4,8 @@ import { useActionContext } from "../../elements/Action/ActionRoot.js";
4
4
  import { Action } from "../../elements/Action/index.js";
5
5
  import { ProfileSection } from "../../elements/Section.js";
6
6
  import { PasswordForm } from "./PasswordForm.js";
7
- import { useUser } from "@clerk/shared/react";
8
7
  import { jsx, jsxs } from "@emotion/react/jsx-runtime";
8
+ import { useUser } from "@clerk/shared/react";
9
9
 
10
10
  //#region src/components/UserProfile/PasswordSection.tsx
11
11
  const PasswordScreen = () => {
@@ -9,8 +9,8 @@ import { FormContainer } from "../../elements/FormContainer.js";
9
9
  import { Wizard, useWizard } from "../../common/Wizard.js";
10
10
  import { VerifyWithCode } from "./VerifyWithCode.js";
11
11
  import React from "react";
12
- import { useReverification, useUser } from "@clerk/shared/react";
13
12
  import { jsx, jsxs } from "@emotion/react/jsx-runtime";
13
+ import { useReverification, useUser } from "@clerk/shared/react";
14
14
 
15
15
  //#region src/components/UserProfile/PhoneForm.tsx
16
16
  const PhoneForm = withCardStateProvider((props) => {
@@ -11,8 +11,8 @@ import { RemovePhoneForm } from "./RemoveResourceForm.js";
11
11
  import { sortIdentificationBasedOnVerification } from "./utils.js";
12
12
  import { PhoneForm } from "./PhoneForm.js";
13
13
  import { Fragment } from "react";
14
- import { useReverification, useUser } from "@clerk/shared/react";
15
14
  import { Fragment as Fragment$1, jsx, jsxs } from "@emotion/react/jsx-runtime";
15
+ import { useReverification, useUser } from "@clerk/shared/react";
16
16
 
17
17
  //#region src/components/UserProfile/PhoneSection.tsx
18
18
  const RemovePhoneScreen = (props) => {
@@ -10,8 +10,8 @@ import { isDefaultImage } from "../../utils/image.js";
10
10
  import { InformationBox } from "../../elements/InformationBox.js";
11
11
  import { UserProfileAvatarUploader } from "./UserProfileAvatarUploader.js";
12
12
  import React from "react";
13
- import { useUser } from "@clerk/shared/react";
14
13
  import { jsx, jsxs } from "@emotion/react/jsx-runtime";
14
+ import { useUser } from "@clerk/shared/react";
15
15
 
16
16
  //#region src/components/UserProfile/ProfileForm.tsx
17
17
  const ProfileForm = withCardStateProvider((props) => {
@@ -2,8 +2,8 @@ import { useEnabledThirdPartyProviders } from "../../hooks/useEnabledThirdPartyP
2
2
  import { localizationKeys } from "../../localization/localizationKeys.js";
3
3
  import { RemoveResourceForm } from "../../common/RemoveResourceForm.js";
4
4
  import React from "react";
5
- import { useUser } from "@clerk/shared/react";
6
5
  import { jsx } from "@emotion/react/jsx-runtime";
6
+ import { useUser } from "@clerk/shared/react";
7
7
 
8
8
  //#region src/components/UserProfile/RemoveResourceForm.tsx
9
9
  const RemoveEmailForm = (props) => {
@@ -12,8 +12,8 @@ import { DeleteSection } from "./DeleteSection.js";
12
12
  import { MfaSection } from "./MfaSection.js";
13
13
  import { PasskeySection } from "./PasskeySection.js";
14
14
  import { PasswordSection } from "./PasswordSection.js";
15
- import { useUser } from "@clerk/shared/react";
16
15
  import { jsx, jsxs } from "@emotion/react/jsx-runtime";
16
+ import { useUser } from "@clerk/shared/react";
17
17
 
18
18
  //#region src/components/UserProfile/SecurityPage.tsx
19
19
  const SecurityPage = withCardStateProvider(() => {
@@ -5,8 +5,8 @@ import { Action } from "../../elements/Action/index.js";
5
5
  import { UserPreview } from "../../elements/UserPreview.js";
6
6
  import { ProfileSection } from "../../elements/Section.js";
7
7
  import { ProfileForm } from "./ProfileForm.js";
8
- import { useUser } from "@clerk/shared/react";
9
8
  import { jsx, jsxs } from "@emotion/react/jsx-runtime";
9
+ import { useUser } from "@clerk/shared/react";
10
10
 
11
11
  //#region src/components/UserProfile/UserProfileSection.tsx
12
12
  const ProfileScreen = () => {
@@ -8,8 +8,8 @@ import { Form } from "../../elements/Form.js";
8
8
  import { FormButtons } from "../../elements/FormButtons.js";
9
9
  import { FormContainer } from "../../elements/FormContainer.js";
10
10
  import { createUsernameError } from "../../utils/usernameUtils.js";
11
- import { useReverification, useUser } from "@clerk/shared/react";
12
11
  import { jsx, jsxs } from "@emotion/react/jsx-runtime";
12
+ import { useReverification, useUser } from "@clerk/shared/react";
13
13
 
14
14
  //#region src/components/UserProfile/UsernameForm.tsx
15
15
  const UsernameForm = withCardStateProvider((props) => {
@@ -5,8 +5,8 @@ import { useActionContext } from "../../elements/Action/ActionRoot.js";
5
5
  import { Action } from "../../elements/Action/index.js";
6
6
  import { ProfileSection } from "../../elements/Section.js";
7
7
  import { UsernameForm } from "./UsernameForm.js";
8
- import { useUser } from "@clerk/shared/react";
9
8
  import { jsx, jsxs } from "@emotion/react/jsx-runtime";
9
+ import { useUser } from "@clerk/shared/react";
10
10
 
11
11
  //#region src/components/UserProfile/UsernameSection.tsx
12
12
  const UsernameScreen = () => {
@@ -7,8 +7,8 @@ import { Form } from "../../elements/Form.js";
7
7
  import { FormButtonContainer } from "../../elements/FormButtons.js";
8
8
  import { FormContainer } from "../../elements/FormContainer.js";
9
9
  import React from "react";
10
- import { useUser } from "@clerk/shared/react";
11
10
  import { jsx, jsxs } from "@emotion/react/jsx-runtime";
11
+ import { useUser } from "@clerk/shared/react";
12
12
 
13
13
  //#region src/components/UserProfile/VerifyTOTP.tsx
14
14
  const VerifyTOTP = withCardStateProvider((props) => {
@@ -6,8 +6,8 @@ import { useCardState, withCardStateProvider } from "../../elements/contexts/ind
6
6
  import { Image, Text } from "../../customizables/index.js";
7
7
  import { getFieldError, handleError } from "../../utils/errorHandler.js";
8
8
  import { ProfileSection } from "../../elements/Section.js";
9
- import { useReverification, useUser } from "@clerk/shared/react";
10
9
  import { Fragment, jsx, jsxs } from "@emotion/react/jsx-runtime";
10
+ import { useReverification, useUser } from "@clerk/shared/react";
11
11
  import { createWeb3 } from "@clerk/shared/internal/clerk-js/web3";
12
12
 
13
13
  //#region src/components/UserProfile/Web3Form.tsx
@@ -12,8 +12,8 @@ import { RemoveWeb3WalletForm } from "./RemoveResourceForm.js";
12
12
  import { sortIdentificationBasedOnVerification } from "./utils.js";
13
13
  import { AddWeb3WalletActionMenu } from "./Web3Form.js";
14
14
  import { Fragment, useState } from "react";
15
- import { useReverification, useUser } from "@clerk/shared/react";
16
15
  import { jsx, jsxs } from "@emotion/react/jsx-runtime";
16
+ import { useReverification, useUser } from "@clerk/shared/react";
17
17
 
18
18
  //#region src/components/UserProfile/Web3Section.tsx
19
19
  const RemoveWeb3WalletScreen = (props) => {
@@ -3,8 +3,8 @@ import { handleError } from "../../utils/errorHandler.js";
3
3
  import { VerificationCodeCard } from "../../elements/VerificationCodeCard.js";
4
4
  import { useAfterVerification } from "./use-after-verification.js";
5
5
  import React from "react";
6
- import { useSession } from "@clerk/shared/react";
7
6
  import { jsx } from "@emotion/react/jsx-runtime";
7
+ import { useSession } from "@clerk/shared/react";
8
8
 
9
9
  //#region src/components/UserVerification/UVFactorOneCodeForm.tsx
10
10
  const UVFactorOneCodeForm = (props) => {
@@ -8,8 +8,8 @@ import { handleError } from "../../utils/errorHandler.js";
8
8
  import { Form } from "../../elements/Form.js";
9
9
  import { useAfterVerification } from "./use-after-verification.js";
10
10
  import React from "react";
11
- import { useClerk, useSession } from "@clerk/shared/react";
12
11
  import { jsx, jsxs } from "@emotion/react/jsx-runtime";
12
+ import { useClerk, useSession } from "@clerk/shared/react";
13
13
 
14
14
  //#region src/components/UserVerification/UVFactorOnePasskeysCard.tsx
15
15
  const UVFactorOnePasskeysCard = (props) => {
@@ -9,8 +9,8 @@ import { handleError } from "../../utils/errorHandler.js";
9
9
  import { Form } from "../../elements/Form.js";
10
10
  import { useAfterVerification } from "./use-after-verification.js";
11
11
  import React from "react";
12
- import { useSession } from "@clerk/shared/react";
13
12
  import { jsx, jsxs } from "@emotion/react/jsx-runtime";
13
+ import { useSession } from "@clerk/shared/react";
14
14
 
15
15
  //#region src/components/UserVerification/UVFactorTwoBackupCodeCard.tsx
16
16
  const UVFactorTwoBackupCodeCard = (props) => {
@@ -3,8 +3,8 @@ import { handleError } from "../../utils/errorHandler.js";
3
3
  import { VerificationCodeCard } from "../../elements/VerificationCodeCard.js";
4
4
  import { useAfterVerification } from "./use-after-verification.js";
5
5
  import React from "react";
6
- import { useSession } from "@clerk/shared/react";
7
6
  import { jsx } from "@emotion/react/jsx-runtime";
7
+ import { useSession } from "@clerk/shared/react";
8
8
 
9
9
  //#region src/components/UserVerification/UVFactorTwoCodeForm.tsx
10
10
  const UVFactorTwoCodeForm = (props) => {
@@ -1,8 +1,8 @@
1
1
  import { localizationKeys } from "../../localization/localizationKeys.js";
2
2
  import { Flow } from "../../customizables/Flow.js";
3
3
  import { UVFactorTwoCodeForm } from "./UVFactorTwoCodeForm.js";
4
- import { useSession } from "@clerk/shared/react";
5
4
  import { jsx } from "@emotion/react/jsx-runtime";
5
+ import { useSession } from "@clerk/shared/react";
6
6
 
7
7
  //#region src/components/UserVerification/UVFactorTwoPhoneCodeCard.tsx
8
8
  const UVFactorTwoPhoneCodeCard = (props) => {
@@ -11,8 +11,8 @@ import { Form } from "../../elements/Form.js";
11
11
  import { HavingTrouble } from "../SignIn/HavingTrouble.js";
12
12
  import { useAfterVerification } from "./use-after-verification.js";
13
13
  import React from "react";
14
- import { useSession } from "@clerk/shared/react";
15
14
  import { jsx, jsxs } from "@emotion/react/jsx-runtime";
15
+ import { useSession } from "@clerk/shared/react";
16
16
 
17
17
  //#region src/components/UserVerification/UserVerificationFactorOnePassword.tsx
18
18
  function UserVerificationFactorOnePasswordCard(props) {
@@ -2,8 +2,8 @@ import { useFetch } from "../../hooks/useFetch.js";
2
2
  import { useUserVerification } from "../../contexts/components/UserVerification.js";
3
3
  import { LoadingCard } from "../../elements/LoadingCard.js";
4
4
  import { useMemo } from "react";
5
- import { useSession } from "@clerk/shared/react";
6
5
  import { jsx } from "@emotion/react/jsx-runtime";
6
+ import { useSession } from "@clerk/shared/react";
7
7
 
8
8
  //#region src/components/UserVerification/useUserVerificationSession.tsx
9
9
  const useUserVerificationSessionKey = () => {
@@ -12,8 +12,8 @@ import { Header } from "../../elements/Header.js";
12
12
  import { handleError } from "../../utils/errorHandler.js";
13
13
  import { Form } from "../../elements/Form.js";
14
14
  import { Wizard, useWizard } from "../../common/Wizard.js";
15
- import { useClerk } from "@clerk/shared/react";
16
15
  import { jsx, jsxs } from "@emotion/react/jsx-runtime";
16
+ import { useClerk } from "@clerk/shared/react";
17
17
 
18
18
  //#region src/components/Waitlist/WaitlistForm.tsx
19
19
  const WaitlistForm = (props) => {
@@ -7,8 +7,8 @@ import { withCardStateProvider } from "../../elements/contexts/index.js";
7
7
  import { Flow } from "../../customizables/Flow.js";
8
8
  import { Card } from "../../elements/Card/index.js";
9
9
  import { WaitlistForm } from "./WaitlistForm.js";
10
- import { useClerk } from "@clerk/shared/react";
11
10
  import { jsx, jsxs } from "@emotion/react/jsx-runtime";
11
+ import { useClerk } from "@clerk/shared/react";
12
12
 
13
13
  //#region src/components/Waitlist/index.tsx
14
14
  const _Waitlist = () => {