@dynamic-labs/sdk-react-core 0.19.0-alpha.6 → 0.19.0-alpha.7

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 (365) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/package.cjs +6 -4
  3. package/package.js +6 -4
  4. package/package.json +13 -11
  5. package/src/index.cjs +3 -0
  6. package/src/index.js +2 -0
  7. package/src/lib/Main.cjs +1 -0
  8. package/src/lib/Main.js +1 -0
  9. package/src/lib/components/Accordion/components/AccordionItem/AccordionItem.cjs +1 -0
  10. package/src/lib/components/Accordion/components/AccordionItem/AccordionItem.js +1 -0
  11. package/src/lib/components/AnimatePresence/AnimatePresence.cjs +1 -0
  12. package/src/lib/components/AnimatePresence/AnimatePresence.js +1 -0
  13. package/src/lib/components/AuthProviderIcon/AuthProviderIcon.cjs +1 -0
  14. package/src/lib/components/AuthProviderIcon/AuthProviderIcon.js +1 -0
  15. package/src/lib/components/Divider/Divider.cjs +1 -0
  16. package/src/lib/components/Divider/Divider.js +1 -0
  17. package/src/lib/components/IconWithSpinner/IconWithSpinner.cjs +3 -2
  18. package/src/lib/components/IconWithSpinner/IconWithSpinner.d.ts +4 -2
  19. package/src/lib/components/IconWithSpinner/IconWithSpinner.js +3 -2
  20. package/src/lib/components/MenuList/Dropdown/Dropdown.cjs +1 -0
  21. package/src/lib/components/MenuList/Dropdown/Dropdown.js +1 -0
  22. package/src/lib/components/Modal/Modal.cjs +1 -0
  23. package/src/lib/components/Modal/Modal.js +1 -0
  24. package/src/lib/components/NetworkPicker/NetworkPicker.cjs +1 -0
  25. package/src/lib/components/NetworkPicker/NetworkPicker.js +1 -0
  26. package/src/lib/components/NetworkPicker/components/EvmNetworkControl/EvmNetworkControl.cjs +1 -0
  27. package/src/lib/components/NetworkPicker/components/EvmNetworkControl/EvmNetworkControl.js +1 -0
  28. package/src/lib/components/NetworkPicker/components/Network/Network.cjs +1 -0
  29. package/src/lib/components/NetworkPicker/components/Network/Network.d.ts +0 -1
  30. package/src/lib/components/NetworkPicker/components/Network/Network.js +1 -0
  31. package/src/lib/components/NetworkPicker/components/NonNetworkSwitchingSupportedControl/NonNetworkSwitchingSupportedControl.cjs +1 -0
  32. package/src/lib/components/NetworkPicker/components/NonNetworkSwitchingSupportedControl/NonNetworkSwitchingSupportedControl.js +1 -0
  33. package/src/lib/components/OTPVerificationView/OTPVerificationView.cjs +9 -3
  34. package/src/lib/components/OTPVerificationView/OTPVerificationView.js +9 -3
  35. package/src/lib/components/OverlayCard/OverlayCard.cjs +1 -1
  36. package/src/lib/components/OverlayCard/OverlayCard.js +1 -1
  37. package/src/lib/components/Portal/Portal.cjs +1 -0
  38. package/src/lib/components/Portal/Portal.js +1 -0
  39. package/src/lib/components/Search/Search.d.ts +0 -1
  40. package/src/lib/components/SocialSignIn/SocialSignIn.cjs +86 -0
  41. package/src/lib/components/SocialSignIn/SocialSignIn.d.ts +11 -0
  42. package/src/lib/components/SocialSignIn/SocialSignIn.js +82 -0
  43. package/src/lib/components/Switch/Switch.d.ts +0 -1
  44. package/src/lib/components/Toolkit/components/AuthModeSwitch.d.ts +0 -1
  45. package/src/lib/components/Toolkit/components/LoginWithEmailSwitch.d.ts +0 -1
  46. package/src/lib/components/Toolkit/components/LoginWithEmailViewDisplayPriorityOrderSwitch.d.ts +0 -1
  47. package/src/lib/components/Toolkit/components/MultiWalletSwitch.d.ts +0 -1
  48. package/src/lib/components/Toolkit/components/TemplateSelect.d.ts +0 -1
  49. package/src/lib/components/Toolkit/components/ThemeSwitch.d.ts +0 -1
  50. package/src/lib/components/Tooltip/Tooltip.cjs +1 -0
  51. package/src/lib/components/Tooltip/Tooltip.js +1 -0
  52. package/src/lib/components/TosAndPp/TosAndPp.d.ts +0 -1
  53. package/src/lib/components/TransactionStatusLayout/TransactionStatusLayout.cjs +1 -0
  54. package/src/lib/components/TransactionStatusLayout/TransactionStatusLayout.js +1 -0
  55. package/src/lib/components/Transition/VerticalDrawerTransition/VerticalDrawerTransition.cjs +1 -0
  56. package/src/lib/components/Transition/VerticalDrawerTransition/VerticalDrawerTransition.js +1 -0
  57. package/src/lib/components/UserAddress/UserAddress.cjs +1 -0
  58. package/src/lib/components/UserAddress/UserAddress.js +1 -0
  59. package/src/lib/components/UserProfile/parts/UserProfileField/UserProfileField.cjs +1 -0
  60. package/src/lib/components/UserProfile/parts/UserProfileField/UserProfileField.js +1 -0
  61. package/src/lib/components/UserProfile/parts/UserProfileSection/UserProfileSection.cjs +1 -0
  62. package/src/lib/components/UserProfile/parts/UserProfileSection/UserProfileSection.js +1 -0
  63. package/src/lib/components/UserProfile/parts/UserProfileSocialAccount/UserProfileSocialAccount.cjs +1 -0
  64. package/src/lib/components/UserProfile/parts/UserProfileSocialAccount/UserProfileSocialAccount.js +1 -0
  65. package/src/lib/components/index.d.ts +1 -0
  66. package/src/lib/context/DynamicContext/DynamicContext.cjs +36 -18
  67. package/src/lib/context/DynamicContext/DynamicContext.d.ts +14 -2
  68. package/src/lib/context/DynamicContext/DynamicContext.js +36 -18
  69. package/src/lib/context/DynamicContext/helpers.cjs +30 -3
  70. package/src/lib/context/DynamicContext/helpers.d.ts +5 -1
  71. package/src/lib/context/DynamicContext/helpers.js +28 -4
  72. package/src/lib/context/DynamicContext/hooks/useSetShowAuthFlowWithInit/useSetShowAuthFlowWithInit.cjs +5 -2
  73. package/src/lib/context/DynamicContext/hooks/useSetShowAuthFlowWithInit/useSetShowAuthFlowWithInit.d.ts +4 -2
  74. package/src/lib/context/DynamicContext/hooks/useSetShowAuthFlowWithInit/useSetShowAuthFlowWithInit.js +5 -2
  75. package/src/lib/context/DynamicContext/internalEvents/internalEvents.d.ts +1 -1
  76. package/src/lib/context/DynamicContext/types/index.d.ts +6 -0
  77. package/src/lib/context/DynamicContext/useCustomerCallbacks/useCustomerAuthFlowCallbacks.cjs +1 -0
  78. package/src/lib/context/DynamicContext/useCustomerCallbacks/useCustomerAuthFlowCallbacks.js +1 -0
  79. package/src/lib/context/DynamicContext/useDynamicContext.cjs +2 -1
  80. package/src/lib/context/DynamicContext/useDynamicContext.d.ts +1 -1
  81. package/src/lib/context/DynamicContext/useDynamicContext.js +2 -1
  82. package/src/lib/context/ErrorContext/ErrorContext.cjs +1 -0
  83. package/src/lib/context/ErrorContext/ErrorContext.js +1 -0
  84. package/src/lib/context/MockContext/MockContext.cjs +1 -0
  85. package/src/lib/context/MockContext/MockContext.js +1 -0
  86. package/src/lib/context/QrCodeContext/QrCodeContext.cjs +1 -0
  87. package/src/lib/context/QrCodeContext/QrCodeContext.js +1 -0
  88. package/src/lib/context/SendBalanceContext/SendBalanceContext.cjs +1 -0
  89. package/src/lib/context/SendBalanceContext/SendBalanceContext.js +1 -0
  90. package/src/lib/context/SocialRedirectContext/SocialRedirectContext.cjs +1 -0
  91. package/src/lib/context/SocialRedirectContext/SocialRedirectContext.js +1 -0
  92. package/src/lib/context/UserFieldEditorContext/UserFieldEditorContext.cjs +1 -0
  93. package/src/lib/context/UserFieldEditorContext/UserFieldEditorContext.js +1 -0
  94. package/src/lib/context/ViewContext/ViewContext.d.ts +1 -1
  95. package/src/lib/context/WalletContext/WalletContext.cjs +2 -16
  96. package/src/lib/context/WalletContext/WalletContext.js +2 -16
  97. package/src/lib/data/api.cjs +7 -0
  98. package/src/lib/data/api.js +7 -0
  99. package/src/lib/layout/DynamicAuthLayout/DynamicAuthLayout.cjs +2 -2
  100. package/src/lib/layout/DynamicAuthLayout/DynamicAuthLayout.js +2 -2
  101. package/src/lib/layout/DynamicAuthLayout/Header/header.cjs +1 -0
  102. package/src/lib/layout/DynamicAuthLayout/Header/header.d.ts +0 -1
  103. package/src/lib/layout/DynamicAuthLayout/Header/header.js +1 -0
  104. package/src/lib/layout/DynamicAuthLayout/HelpContent/HelpHeader/HelpHeader.cjs +3 -2
  105. package/src/lib/layout/DynamicAuthLayout/HelpContent/HelpHeader/HelpHeader.js +3 -2
  106. package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/Item/Item.cjs +1 -0
  107. package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/Item/Item.js +1 -0
  108. package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/WalletExtensionOrAppContinueButton/WalletExtensionOrAppContinueButton.cjs +1 -0
  109. package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/WalletExtensionOrAppContinueButton/WalletExtensionOrAppContinueButton.js +1 -0
  110. package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/WalletListHelpContent.cjs +1 -0
  111. package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/WalletListHelpContent.d.ts +0 -1
  112. package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/WalletListHelpContent.js +1 -0
  113. package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletMoreInfoContent/WalletMoreInfoContent.cjs +1 -0
  114. package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletMoreInfoContent/WalletMoreInfoContent.d.ts +0 -1
  115. package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletMoreInfoContent/WalletMoreInfoContent.js +1 -0
  116. package/src/lib/layout/DynamicAuthLayout/ToSFooter/ToSFooter.cjs +1 -0
  117. package/src/lib/layout/DynamicAuthLayout/ToSFooter/ToSFooter.js +1 -0
  118. package/src/lib/layout/DynamicAuthLayout/WalletProgressStepper/WalletProgressStepper.cjs +1 -0
  119. package/src/lib/layout/DynamicAuthLayout/WalletProgressStepper/WalletProgressStepper.js +1 -0
  120. package/src/lib/layouts/BridgeNextWalletToConnectLayout/BridgeNextWalletToConnectLayout.cjs +1 -0
  121. package/src/lib/layouts/BridgeNextWalletToConnectLayout/BridgeNextWalletToConnectLayout.js +1 -0
  122. package/src/lib/layouts/BridgeWelcomeLayout/BridgeWelcomeLayout.cjs +1 -0
  123. package/src/lib/layouts/BridgeWelcomeLayout/BridgeWelcomeLayout.js +1 -0
  124. package/src/lib/layouts/ConnectedWalletsListLayout/ConnectedWalletsListLayout.cjs +1 -0
  125. package/src/lib/layouts/ConnectedWalletsListLayout/ConnectedWalletsListLayout.js +1 -0
  126. package/src/lib/locale/en/translation.cjs +92 -0
  127. package/src/lib/locale/en/translation.js +79 -0
  128. package/src/lib/locale/index.d.ts +1 -0
  129. package/src/lib/locale/locale.cjs +55 -0
  130. package/src/lib/locale/locale.d.ts +13 -0
  131. package/src/lib/locale/locale.js +46 -0
  132. package/src/lib/modals/SendBalanceModal/SendBalanceModal.cjs +1 -0
  133. package/src/lib/modals/SendBalanceModal/SendBalanceModal.js +1 -0
  134. package/src/lib/modals/SignMessageConfirmationModal/SignMessageConfirmationModal.cjs +1 -0
  135. package/src/lib/modals/SignMessageConfirmationModal/SignMessageConfirmationModal.js +1 -0
  136. package/src/lib/modals/TransactionConfirmationModal/TransactionConfirmationModal.cjs +1 -0
  137. package/src/lib/modals/TransactionConfirmationModal/TransactionConfirmationModal.js +1 -0
  138. package/src/lib/modals/UserFieldEditorModal/UserFieldEditorModal.cjs +1 -0
  139. package/src/lib/modals/UserFieldEditorModal/UserFieldEditorModal.js +1 -0
  140. package/src/lib/shared/assets/index.d.ts +1 -0
  141. package/src/lib/shared/assets/sign-in-with-email.cjs +59 -0
  142. package/src/lib/shared/assets/sign-in-with-email.js +35 -0
  143. package/src/lib/styles/index.shadow.cjs +1 -1
  144. package/src/lib/styles/index.shadow.js +1 -1
  145. package/src/lib/utils/constants/localStorage.cjs +3 -1
  146. package/src/lib/utils/constants/localStorage.d.ts +1 -0
  147. package/src/lib/utils/constants/localStorage.js +3 -2
  148. package/src/lib/utils/hooks/authenticationHooks/useConnectAndSign/useConnectAndSign.cjs +31 -16
  149. package/src/lib/utils/hooks/authenticationHooks/useConnectAndSign/useConnectAndSign.js +31 -16
  150. package/src/lib/utils/hooks/authenticationHooks/useSignConnectOnlyUser/useSignConnectOnlyUser.cjs +6 -2
  151. package/src/lib/utils/hooks/authenticationHooks/useSignConnectOnlyUser/useSignConnectOnlyUser.js +6 -2
  152. package/src/lib/utils/hooks/multiWallet/useSyncPrimaryWallet/useSyncPrimaryWallet.cjs +9 -4
  153. package/src/lib/utils/hooks/multiWallet/useSyncPrimaryWallet/useSyncPrimaryWallet.d.ts +1 -19
  154. package/src/lib/utils/hooks/multiWallet/useSyncPrimaryWallet/useSyncPrimaryWallet.js +9 -4
  155. package/src/lib/utils/hooks/useAuthLayoutChecks/useAuthLayoutChecks.cjs +2 -2
  156. package/src/lib/utils/hooks/useAuthLayoutChecks/useAuthLayoutChecks.js +2 -2
  157. package/src/lib/utils/hooks/useConnectWallet/useConnectWallet.cjs +8 -12
  158. package/src/lib/utils/hooks/useConnectWallet/useConnectWallet.d.ts +1 -2
  159. package/src/lib/utils/hooks/useConnectWallet/useConnectWallet.js +8 -12
  160. package/src/lib/utils/hooks/useDynamicLayoutData/useDynamicLayoutData.cjs +74 -0
  161. package/src/lib/utils/{functions/getDynamicLayoutData/getDynamicLayoutData.d.ts → hooks/useDynamicLayoutData/useDynamicLayoutData.d.ts} +2 -2
  162. package/src/lib/utils/hooks/useDynamicLayoutData/useDynamicLayoutData.js +70 -0
  163. package/src/lib/utils/hooks/useUserUpdateRequest/useUpdateUserWithModal/useUpdateUserWithModal.cjs +8 -6
  164. package/src/lib/utils/hooks/useUserUpdateRequest/useUpdateUserWithModal/useUpdateUserWithModal.js +8 -6
  165. package/src/lib/utils/hooks/useWalletConnectorEvent/useWalletConnectorEvent.cjs +0 -5
  166. package/src/lib/utils/hooks/useWalletConnectorEvent/useWalletConnectorEvent.js +0 -5
  167. package/src/lib/utils/hooks/useWalletConnectors/useWalletConnectors.cjs +0 -2
  168. package/src/lib/utils/hooks/useWalletConnectors/useWalletConnectors.js +0 -2
  169. package/src/lib/utils/hooks/useWalletEventListeners/useWalletEventListeners.cjs +7 -0
  170. package/src/lib/utils/hooks/useWalletEventListeners/useWalletEventListeners.js +7 -0
  171. package/src/lib/utils/hooks/useWalletUiUtils/useWalletUiUtils.cjs +1 -0
  172. package/src/lib/utils/hooks/useWalletUiUtils/useWalletUiUtils.js +1 -0
  173. package/src/lib/utils/hooks/useWallets/useWallets.cjs +3 -1
  174. package/src/lib/utils/hooks/useWallets/useWallets.d.ts +3 -2
  175. package/src/lib/utils/hooks/useWallets/useWallets.js +3 -1
  176. package/src/lib/views/AccountExistsView/AccountExistsView.cjs +2 -1
  177. package/src/lib/views/AccountExistsView/AccountExistsView.js +2 -1
  178. package/src/lib/views/CaptchaVerifyUser/CaptchaVerifyUser.cjs +1 -0
  179. package/src/lib/views/CaptchaVerifyUser/CaptchaVerifyUser.js +1 -0
  180. package/src/lib/views/CollectUserDataView/CollectUserDataView.cjs +1 -0
  181. package/src/lib/views/CollectUserDataView/CollectUserDataView.js +1 -0
  182. package/src/lib/views/CollectUserDataView/OnboardingUserDataForm/OnboardingUserDataForm.cjs +4 -3
  183. package/src/lib/views/CollectUserDataView/OnboardingUserDataForm/OnboardingUserDataForm.js +4 -3
  184. package/src/lib/views/CollectUserDataView/UserDataFields/index.cjs +1 -0
  185. package/src/lib/views/CollectUserDataView/UserDataFields/index.js +1 -0
  186. package/src/lib/views/CollectUserDataViewLoginWithEmail/CollectUserDataViewLoginWithEmail.cjs +1 -0
  187. package/src/lib/views/CollectUserDataViewLoginWithEmail/CollectUserDataViewLoginWithEmail.js +1 -0
  188. package/src/lib/views/EmailConfirmationWaitingView/EmailConfirmationWaitingView.cjs +1 -0
  189. package/src/lib/views/EmailConfirmationWaitingView/EmailConfirmationWaitingView.js +1 -0
  190. package/src/lib/views/EmailUpdate/EmailUpdate.cjs +1 -0
  191. package/src/lib/views/EmailUpdate/EmailUpdate.js +1 -0
  192. package/src/lib/views/EmailVerification/EmailVerification.cjs +10 -3
  193. package/src/lib/views/EmailVerification/EmailVerification.js +11 -4
  194. package/src/lib/views/EmailWalletOTPVerificationView/EmailWalletOTPVerificationView.cjs +1 -0
  195. package/src/lib/views/EmailWalletOTPVerificationView/EmailWalletOTPVerificationView.js +1 -0
  196. package/src/lib/views/LoginView/LoginView.cjs +6 -6
  197. package/src/lib/views/LoginView/LoginView.js +6 -6
  198. package/src/lib/views/LoginView/{components/EmailSignIn → sections/EmailSignInSection}/LoginEmailForm.cjs +1 -0
  199. package/src/lib/views/LoginView/{components/EmailSignIn → sections/EmailSignInSection}/LoginEmailForm.js +1 -0
  200. package/src/lib/views/LoginView/sections/SocialSignInSection/MagicSocialSignIn/MagicSocialSignIn.cjs +64 -0
  201. package/src/lib/views/LoginView/sections/SocialSignInSection/MagicSocialSignIn/MagicSocialSignIn.d.ts +2 -0
  202. package/src/lib/views/LoginView/sections/SocialSignInSection/MagicSocialSignIn/MagicSocialSignIn.js +60 -0
  203. package/src/lib/views/LoginView/sections/SocialSignInSection/MagicSocialSignIn/index.d.ts +1 -0
  204. package/src/lib/views/LoginView/sections/SocialSignInSection/SocialSignInSection.cjs +35 -0
  205. package/src/lib/views/LoginView/sections/SocialSignInSection/SocialSignInSection.d.ts +2 -0
  206. package/src/lib/views/LoginView/sections/SocialSignInSection/SocialSignInSection.js +31 -0
  207. package/src/lib/views/LoginView/sections/SocialSignInSection/index.d.ts +1 -0
  208. package/src/lib/views/LoginView/{components/WalletSignIn → sections/WalletSignInSection}/ListItemButton/ListItemButton.cjs +1 -0
  209. package/src/lib/views/LoginView/{components/WalletSignIn → sections/WalletSignInSection}/ListItemButton/ListItemButton.js +1 -0
  210. package/src/lib/views/LoginView/{components/WalletSignIn/WalletSignIn.cjs → sections/WalletSignInSection/WalletSignInSection.cjs} +7 -2
  211. package/src/lib/views/LoginView/{components/WalletSignIn/WalletSignIn.d.ts → sections/WalletSignInSection/WalletSignInSection.d.ts} +1 -1
  212. package/src/lib/views/LoginView/{components/WalletSignIn/WalletSignIn.js → sections/WalletSignInSection/WalletSignInSection.js} +7 -2
  213. package/src/lib/views/LoginView/{components/WalletSignIn → sections/WalletSignInSection}/WalletSimpleSignIn/WalletSimpleSignIn.cjs +3 -1
  214. package/src/lib/views/LoginView/{components/WalletSignIn → sections/WalletSignInSection}/WalletSimpleSignIn/WalletSimpleSignIn.js +3 -1
  215. package/src/lib/views/LoginView/sections/WalletSignInSection/index.d.ts +1 -0
  216. package/src/lib/views/LoginView/sections/index.d.ts +4 -0
  217. package/src/lib/views/LoginView/useLoginView.cjs +6 -2
  218. package/src/lib/views/LoginView/useLoginView.js +6 -2
  219. package/src/lib/views/MergeUserAccountsView/MergeUserAccountsView.cjs +1 -0
  220. package/src/lib/views/MergeUserAccountsView/MergeUserAccountsView.js +1 -0
  221. package/src/lib/views/NetworkNotSupported/NetworkNotSupported.cjs +1 -0
  222. package/src/lib/views/NetworkNotSupported/NetworkNotSupported.js +1 -0
  223. package/src/lib/views/NetworkNotSupportedSwitchManual/NetworkNotSupportedSwitchManual.cjs +1 -0
  224. package/src/lib/views/NetworkNotSupportedSwitchManual/NetworkNotSupportedSwitchManual.js +1 -0
  225. package/src/lib/views/NoAccess/NoAccess.cjs +1 -0
  226. package/src/lib/views/NoAccess/NoAccess.js +1 -0
  227. package/src/lib/views/NoQrNotInstalledView/NoQrNotInstalledView.cjs +1 -0
  228. package/src/lib/views/NoQrNotInstalledView/NoQrNotInstalledView.js +1 -0
  229. package/src/lib/views/NoQrNotInstalledView/WalletHelpLink.cjs +1 -0
  230. package/src/lib/views/NoQrNotInstalledView/WalletHelpLink.js +1 -0
  231. package/src/lib/views/PendingConnectView/PendingConnectView.cjs +1 -0
  232. package/src/lib/views/PendingConnectView/PendingConnectView.js +1 -0
  233. package/src/lib/views/PendingSignatureView/PendingSignatureView.cjs +1 -0
  234. package/src/lib/views/PendingSignatureView/PendingSignatureView.js +1 -0
  235. package/src/lib/views/QrCodeView/QRCode.cjs +1 -0
  236. package/src/lib/views/QrCodeView/QRCode.js +1 -0
  237. package/src/lib/views/QrCodeView/QrCodeContainer/QrCodeContainer.cjs +1 -0
  238. package/src/lib/views/QrCodeView/QrCodeContainer/QrCodeContainer.js +1 -0
  239. package/src/lib/views/QrCodeView/QrCodeView.cjs +1 -0
  240. package/src/lib/views/QrCodeView/QrCodeView.js +1 -0
  241. package/src/lib/views/SendBalanceView/SendBalanceView.cjs +1 -0
  242. package/src/lib/views/SendBalanceView/SendBalanceView.js +1 -0
  243. package/src/lib/views/SendBalanceView/components/TransactionStage/TransactionStage.cjs +1 -0
  244. package/src/lib/views/SendBalanceView/components/TransactionStage/TransactionStage.js +1 -0
  245. package/src/lib/views/SocialRedirectView/SocialRedirectView.cjs +1 -0
  246. package/src/lib/views/SocialRedirectView/SocialRedirectView.js +1 -0
  247. package/src/lib/views/SocialWrongAccountView/SocialWrongAccountView.cjs +1 -0
  248. package/src/lib/views/SocialWrongAccountView/SocialWrongAccountView.js +1 -0
  249. package/src/lib/views/TransactionConfirmationView/TransactionConfirmationView.cjs +1 -0
  250. package/src/lib/views/TransactionConfirmationView/TransactionConfirmationView.js +1 -0
  251. package/src/lib/views/TransactionConfirmationView/hooks/useTransactionGas/useTransactionGas.cjs +1 -0
  252. package/src/lib/views/TransactionConfirmationView/hooks/useTransactionGas/useTransactionGas.js +1 -0
  253. package/src/lib/views/UserFieldEditorView/UserFieldEditorView.cjs +1 -0
  254. package/src/lib/views/UserFieldEditorView/UserFieldEditorView.js +1 -0
  255. package/src/lib/views/WalletCannotBeTransferredView/WalletCannotBeTransferredView.cjs +1 -0
  256. package/src/lib/views/WalletCannotBeTransferredView/WalletCannotBeTransferredView.js +1 -0
  257. package/src/lib/views/WalletList/SearchNotFoundMessage/SearchNotFoundMessage.cjs +1 -0
  258. package/src/lib/views/WalletList/SearchNotFoundMessage/SearchNotFoundMessage.js +1 -0
  259. package/src/lib/views/WalletList/WalletListItem/WalletListItem.cjs +1 -0
  260. package/src/lib/views/WalletList/WalletListItem/WalletListItem.js +1 -0
  261. package/src/lib/views/WalletLockedView/WalletLockedView.cjs +1 -0
  262. package/src/lib/views/WalletLockedView/WalletLockedView.js +1 -0
  263. package/src/lib/views/WalletSignSpinnerView/WalletSignSpinnerView.cjs +1 -0
  264. package/src/lib/views/WalletSignSpinnerView/WalletSignSpinnerView.js +1 -0
  265. package/src/lib/views/WalletUsedView/WalletUsedView.cjs +1 -0
  266. package/src/lib/views/WalletUsedView/WalletUsedView.js +1 -0
  267. package/src/lib/views/viewToComponentMap.cjs +1 -0
  268. package/src/lib/views/viewToComponentMap.js +1 -0
  269. package/src/lib/widgets/DynamicBridgeWidget/DynamicBridgeWidget.cjs +1 -0
  270. package/src/lib/widgets/DynamicBridgeWidget/DynamicBridgeWidget.js +1 -0
  271. package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeUserProfile/DynamicBridgeUserProfile.cjs +1 -0
  272. package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeUserProfile/DynamicBridgeUserProfile.js +1 -0
  273. package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCard/DynamicBridgeWalletCard.cjs +1 -0
  274. package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCard/DynamicBridgeWalletCard.js +1 -0
  275. package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCardBody/DynamicBridgeWalletCardBody.cjs +1 -0
  276. package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCardBody/DynamicBridgeWalletCardBody.js +1 -0
  277. package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWidgetEmptyCard/DynamicBridgeWidgetEmptyCard.cjs +1 -0
  278. package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWidgetEmptyCard/DynamicBridgeWidgetEmptyCard.js +1 -0
  279. package/src/lib/widgets/DynamicBridgeWidget/views/EditProfileView/EditProfileView.cjs +3 -3
  280. package/src/lib/widgets/DynamicBridgeWidget/views/EditProfileView/EditProfileView.js +3 -3
  281. package/src/lib/widgets/DynamicBridgeWidget/views/WalletsView/WalletsView.cjs +1 -0
  282. package/src/lib/widgets/DynamicBridgeWidget/views/WalletsView/WalletsView.js +1 -0
  283. package/src/lib/widgets/DynamicWidget/DynamicWidget.cjs +7 -1
  284. package/src/lib/widgets/DynamicWidget/DynamicWidget.js +7 -1
  285. package/src/lib/widgets/DynamicWidget/components/AccountControl/AccountControl.cjs +1 -0
  286. package/src/lib/widgets/DynamicWidget/components/AccountControl/AccountControl.js +1 -0
  287. package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletInformation.cjs +1 -0
  288. package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletInformation.js +1 -0
  289. package/src/lib/widgets/DynamicWidget/components/Balance/Balance.cjs +1 -0
  290. package/src/lib/widgets/DynamicWidget/components/Balance/Balance.js +1 -0
  291. package/src/lib/widgets/DynamicWidget/components/DotsMenu/DotsMenu.cjs +1 -0
  292. package/src/lib/widgets/DynamicWidget/components/DotsMenu/DotsMenu.js +1 -0
  293. package/src/lib/widgets/DynamicWidget/components/DotsMenuDropdown/DotsMenuDropdown.cjs +1 -0
  294. package/src/lib/widgets/DynamicWidget/components/DotsMenuDropdown/DotsMenuDropdown.js +1 -0
  295. package/src/lib/widgets/DynamicWidget/components/DynamicUserProfile/DynamicUserProfile.cjs +2 -2
  296. package/src/lib/widgets/DynamicWidget/components/DynamicUserProfile/DynamicUserProfile.js +2 -2
  297. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.cjs +1 -0
  298. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.js +1 -0
  299. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetWalletHeader/DynamicWidgetWalletHeader.cjs +1 -0
  300. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetWalletHeader/DynamicWidgetWalletHeader.js +1 -0
  301. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetDropdown/DynamicWidgetDropdown.cjs +1 -0
  302. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetDropdown/DynamicWidgetDropdown.js +1 -0
  303. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetModal/DynamicWidgetModal.cjs +1 -0
  304. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetModal/DynamicWidgetModal.js +1 -0
  305. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetWallets/DynamicWidgetWallets.cjs +4 -1
  306. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetWallets/DynamicWidgetWallets.js +4 -1
  307. package/src/lib/widgets/DynamicWidget/components/EmailConnectorPendingSignModalContent/EmailConnectorPendingSignModalContent.cjs +1 -0
  308. package/src/lib/widgets/DynamicWidget/components/EmailConnectorPendingSignModalContent/EmailConnectorPendingSignModalContent.js +1 -0
  309. package/src/lib/widgets/DynamicWidget/components/EmailOTPConnectorPendingSignModalContent/EmailOTPConnectorPendingSignModalContent.cjs +1 -0
  310. package/src/lib/widgets/DynamicWidget/components/EmailOTPConnectorPendingSignModalContent/EmailOTPConnectorPendingSignModalContent.js +1 -0
  311. package/src/lib/widgets/DynamicWidget/components/EmptyWallets/EmptyWallets.cjs +1 -0
  312. package/src/lib/widgets/DynamicWidget/components/EmptyWallets/EmptyWallets.js +1 -0
  313. package/src/lib/widgets/DynamicWidget/components/SingleWalletButtons/SingleWalletButtons.cjs +1 -0
  314. package/src/lib/widgets/DynamicWidget/components/SingleWalletButtons/SingleWalletButtons.js +1 -0
  315. package/src/lib/widgets/DynamicWidget/components/Wallet/Wallet.cjs +1 -0
  316. package/src/lib/widgets/DynamicWidget/components/Wallet/Wallet.js +1 -0
  317. package/src/lib/widgets/DynamicWidget/components/WidgetPortal/WidgetPortal.cjs +1 -0
  318. package/src/lib/widgets/DynamicWidget/components/WidgetPortal/WidgetPortal.js +1 -0
  319. package/src/lib/widgets/DynamicWidget/context/DynamicWidgetContext.cjs +1 -0
  320. package/src/lib/widgets/DynamicWidget/context/DynamicWidgetContext.js +1 -0
  321. package/src/lib/widgets/DynamicWidget/prompts/DefaultPromptModal/DefaultPromptModal.cjs +1 -0
  322. package/src/lib/widgets/DynamicWidget/prompts/DefaultPromptModal/DefaultPromptModal.js +1 -0
  323. package/src/lib/widgets/DynamicWidget/prompts/DetectedNewWalletModal/DetectedNewWalletModal.cjs +1 -0
  324. package/src/lib/widgets/DynamicWidget/prompts/DetectedNewWalletModal/DetectedNewWalletModal.js +1 -0
  325. package/src/lib/widgets/DynamicWidget/prompts/NoQrNotInstalledModalView/NoQrNotInstalledModalView.cjs +1 -0
  326. package/src/lib/widgets/DynamicWidget/prompts/NoQrNotInstalledModalView/NoQrNotInstalledModalView.js +1 -0
  327. package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchAccountView/SwitchAccountView.cjs +1 -0
  328. package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchAccountView/SwitchAccountView.js +1 -0
  329. package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchOrUseActiveAccountView/SwitchOrUseActiveAccountView.cjs +1 -0
  330. package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchOrUseActiveAccountView/SwitchOrUseActiveAccountView.js +1 -0
  331. package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchToLinkModal/PendingAccountSwitchToLinkModal.cjs +1 -0
  332. package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchToLinkModal/PendingAccountSwitchToLinkModal.js +1 -0
  333. package/src/lib/widgets/DynamicWidget/prompts/PendingConnectionModal/PendingConnectionModal.cjs +1 -0
  334. package/src/lib/widgets/DynamicWidget/prompts/PendingConnectionModal/PendingConnectionModal.js +1 -0
  335. package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/DefaultPendingSignModalContent/DefaultPendingSignModalContent.cjs +1 -0
  336. package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/DefaultPendingSignModalContent/DefaultPendingSignModalContent.js +1 -0
  337. package/src/lib/widgets/DynamicWidget/prompts/PrimaryNotConnectedModal/PrimaryNotConnectedModal.cjs +1 -0
  338. package/src/lib/widgets/DynamicWidget/prompts/PrimaryNotConnectedModal/PrimaryNotConnectedModal.js +1 -0
  339. package/src/lib/widgets/DynamicWidget/prompts/QrCodeModalView/QrCodeModalView.cjs +1 -0
  340. package/src/lib/widgets/DynamicWidget/prompts/QrCodeModalView/QrCodeModalView.js +1 -0
  341. package/src/lib/widgets/DynamicWidget/prompts/UnlinkWalletPopUp/UnlinkWalletPopUp.cjs +1 -0
  342. package/src/lib/widgets/DynamicWidget/prompts/UnlinkWalletPopUp/UnlinkWalletPopUp.js +1 -0
  343. package/src/lib/widgets/DynamicWidget/views/EditProfileView/EditProfileView.cjs +4 -3
  344. package/src/lib/widgets/DynamicWidget/views/EditProfileView/EditProfileView.js +4 -3
  345. package/src/lib/widgets/DynamicWidget/views/ProfileView/ProfileView.cjs +1 -0
  346. package/src/lib/widgets/DynamicWidget/views/ProfileView/ProfileView.js +1 -0
  347. package/src/lib/widgets/DynamicWidget/views/WalletsView/WalletsView.cjs +1 -0
  348. package/src/lib/widgets/DynamicWidget/views/WalletsView/WalletsView.js +1 -0
  349. package/src/lib/widgets/FundingWidget/views/FundWalletView/FundWalletView.cjs +1 -0
  350. package/src/lib/widgets/FundingWidget/views/FundWalletView/FundWalletView.js +1 -0
  351. package/src/lib/utils/functions/getDynamicLayoutData/getDynamicLayoutData.cjs +0 -67
  352. package/src/lib/utils/functions/getDynamicLayoutData/getDynamicLayoutData.js +0 -63
  353. package/src/lib/views/LoginView/components/SocialSignIn/SocialSignIn.cjs +0 -88
  354. package/src/lib/views/LoginView/components/SocialSignIn/SocialSignIn.d.ts +0 -2
  355. package/src/lib/views/LoginView/components/SocialSignIn/SocialSignIn.js +0 -84
  356. package/src/lib/views/LoginView/components/WalletSignIn/index.d.ts +0 -1
  357. package/src/lib/views/LoginView/components/index.d.ts +0 -3
  358. /package/src/lib/{views/LoginView/components → components}/SocialSignIn/index.d.ts +0 -0
  359. /package/src/lib/views/LoginView/{components/EmailSignIn → sections/EmailSignInSection}/LoginEmailForm.d.ts +0 -0
  360. /package/src/lib/views/LoginView/{components/EmailSignIn → sections/EmailSignInSection}/index.d.ts +0 -0
  361. /package/src/lib/views/LoginView/{components → sections}/LoginWidget.d.ts +0 -0
  362. /package/src/lib/views/LoginView/{components/WalletSignIn → sections/WalletSignInSection}/ListItemButton/ListItemButton.d.ts +0 -0
  363. /package/src/lib/views/LoginView/{components/WalletSignIn → sections/WalletSignInSection}/ListItemButton/index.d.ts +0 -0
  364. /package/src/lib/views/LoginView/{components/WalletSignIn → sections/WalletSignInSection}/WalletSimpleSignIn/WalletSimpleSignIn.d.ts +0 -0
  365. /package/src/lib/views/LoginView/{components/WalletSignIn → sections/WalletSignInSection}/WalletSimpleSignIn/index.d.ts +0 -0
@@ -8,9 +8,9 @@ import { useAuthLayoutChecks } from '../../utils/hooks/useAuthLayoutChecks/useAu
8
8
  import { classNames } from '../../utils/functions/classNames/classNames.js';
9
9
  import { useViewContext } from '../../context/ViewContext/ViewContext.js';
10
10
  import { WalletList } from '../WalletList/WalletList.js';
11
- import { SocialSignIn } from './components/SocialSignIn/SocialSignIn.js';
12
- import { WalletSignIn } from './components/WalletSignIn/WalletSignIn.js';
13
- import { LoginEmailForm } from './components/EmailSignIn/LoginEmailForm.js';
11
+ import { LoginEmailForm } from './sections/EmailSignInSection/LoginEmailForm.js';
12
+ import { WalletSignInSection } from './sections/WalletSignInSection/WalletSignInSection.js';
13
+ import { SocialSignInSection } from './sections/SocialSignInSection/SocialSignInSection.js';
14
14
  import { useLoginView } from './useLoginView.js';
15
15
 
16
16
  const LoginView = () => {
@@ -45,14 +45,14 @@ const LoginView = () => {
45
45
  case 'email':
46
46
  return (jsx(LoginEmailForm, { onSubmit: () => setIsLoading(true), onSubmitError: () => setIsLoading(false), isLoading: isLoading }, `${viewSection.type}_${index}`));
47
47
  case 'wallet':
48
- return (jsx(WalletSignIn, { numberOfItensToShow: viewSection.numOfItemsToDisplay || 0, onSubmit: () => {
48
+ return (jsx(WalletSignInSection, { numberOfItensToShow: viewSection.numOfItemsToDisplay || 0, onSubmit: () => {
49
49
  setView('login-with-email-or-wallet-full-wallet-list'); // this view is just to show the back button
50
50
  setShowWalletList(true);
51
51
  }, isLoading: isLoading }, `${viewSection.type}_${index}`));
52
52
  case 'social':
53
- return jsx(SocialSignIn, {}, `${viewSection.type}_${index}`);
53
+ return jsx(SocialSignInSection, {}, `${viewSection.type}_${index}`);
54
54
  default:
55
- return;
55
+ return null;
56
56
  }
57
57
  }), [logingViewSections, isLoading, setView]);
58
58
  if (showWalletList) {
@@ -48,6 +48,7 @@ require('../../../../components/Popper/Popper/Popper.cjs');
48
48
  require('../../../../components/Popper/PopperContext/PopperContext.cjs');
49
49
  require('../../../../components/InlineWidget/InlineWidget.cjs');
50
50
  require('../../../../components/MenuList/Dropdown/Dropdown.cjs');
51
+ require('../../../../components/OverlayCard/OverlayCard.context.cjs');
51
52
  var useEmailProvider = require('../../../../utils/hooks/useEmailProvider/useEmailProvider.cjs');
52
53
 
53
54
  const EMAIL_REGEX = /^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,}$/i;
@@ -44,6 +44,7 @@ import '../../../../components/Popper/Popper/Popper.js';
44
44
  import '../../../../components/Popper/PopperContext/PopperContext.js';
45
45
  import '../../../../components/InlineWidget/InlineWidget.js';
46
46
  import '../../../../components/MenuList/Dropdown/Dropdown.js';
47
+ import '../../../../components/OverlayCard/OverlayCard.context.js';
47
48
  import { useEmailProvider } from '../../../../utils/hooks/useEmailProvider/useEmailProvider.js';
48
49
 
49
50
  const EMAIL_REGEX = /^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,}$/i;
@@ -0,0 +1,64 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var _tslib = require('../../../../../../../_virtual/_tslib.cjs');
6
+ var jsxRuntime = require('react/jsx-runtime');
7
+ require('react');
8
+ require('@dynamic-labs/sdk-api');
9
+ require('../../../../../shared/logger.cjs');
10
+ require('@dynamic-labs/iconic');
11
+ require('@dynamic-labs/wallet-connector-core');
12
+ require('../../../../../context/ViewContext/ViewContext.cjs');
13
+ require('@dynamic-labs/wallet-book');
14
+ require('@dynamic-labs/utils');
15
+ require('../../../../../utils/constants/colors.cjs');
16
+ require('../../../../../shared/utils/classes/storage/localStorage.cjs');
17
+ require('ethers');
18
+ require('../../../../../shared/consts/index.cjs');
19
+ var useInternalDynamicContext = require('../../../../../context/DynamicContext/useInternalDynamicContext.cjs');
20
+ require('@dynamic-labs/multi-wallet');
21
+ require('../../../../../components/ShadowDOM/ShadowDOM.cjs');
22
+ require('../../../../../context/ThemeContext/ThemeContext.cjs');
23
+ require('react-dom');
24
+ require('react-focus-lock');
25
+ require('../../../../../components/Transition/ZoomTransition/ZoomTransition.cjs');
26
+ require('../../../../../components/Transition/SlideInUpTransition/SlideInUpTransition.cjs');
27
+ require('../../../../../components/Transition/OpacityTransition/OpacityTransition.cjs');
28
+ require('../../../../../config/ApiEndpoint.cjs');
29
+ require('@dynamic-labs/rpc-providers');
30
+ require('../../../../../utils/hooks/useWallets/utils/verifyMagicIsSetup/verifyMagicIsSetup.cjs');
31
+ require('../../../../../context/ErrorContext/ErrorContext.cjs');
32
+ require('../../../../../context/AccessDeniedContext/AccessDeniedContext.cjs');
33
+ require('../../../../../context/AccountExistsContext/AccountExistsContext.cjs');
34
+ require('../../../../../components/IconButton/IconButton.cjs');
35
+ require('../../../../../components/Alert/Alert.cjs');
36
+ require('formik');
37
+ require('yup');
38
+ require('../../../../CollectUserDataView/fieldsConfig.cjs');
39
+ require('../../../../../context/MockContext/MockContext.cjs');
40
+ require('../../../../../context/CaptchaContext/CaptchaContext.cjs');
41
+ require('../../../../../context/EmailVerificationContext/EmailVerificationContext.cjs');
42
+ var useMutation = require('../../../../../utils/hooks/useMutation/useMutation.cjs');
43
+ require('@dynamic-labs/types');
44
+ require('../../../../../utils/hooks/useUserUpdateRequest/useUpdateUser/useUpdateUser.cjs');
45
+ require('../../../../../context/UserFieldEditorContext/UserFieldEditorContext.cjs');
46
+ require('../../../../../components/Popper/Popper/Popper.cjs');
47
+ require('../../../../../components/Popper/PopperContext/PopperContext.cjs');
48
+ require('../../../../../components/InlineWidget/InlineWidget.cjs');
49
+ require('../../../../../components/MenuList/Dropdown/Dropdown.cjs');
50
+ var SocialSignIn = require('../../../../../components/SocialSignIn/SocialSignIn.cjs');
51
+ var SocialRedirectContext = require('../../../../../context/SocialRedirectContext/SocialRedirectContext.cjs');
52
+
53
+ const MagicSocialSignIn = () => {
54
+ const { socialProvidersFilter = (providers) => providers } = useInternalDynamicContext.useInternalDynamicContext();
55
+ const { socialProvider, setSocialProvider, socialWalletConnector, enabledSocialProviders, } = SocialRedirectContext.useSocialRedirectContext();
56
+ const socialProviders = socialProvidersFilter(enabledSocialProviders);
57
+ const { mutate: onClickProvider, isLoading } = useMutation.useMutation((provider) => _tslib.__awaiter(void 0, void 0, void 0, function* () {
58
+ yield (socialWalletConnector === null || socialWalletConnector === void 0 ? void 0 : socialWalletConnector.endSession());
59
+ return socialWalletConnector === null || socialWalletConnector === void 0 ? void 0 : socialWalletConnector.connect(provider);
60
+ }));
61
+ return (jsxRuntime.jsx(SocialSignIn.SocialSignIn, { onClick: onClickProvider, providers: socialProviders, selectedProvider: socialProvider, setSelectedProvider: setSocialProvider, isLoading: isLoading, testId: 'magic-social-sign-in' }));
62
+ };
63
+
64
+ exports.MagicSocialSignIn = MagicSocialSignIn;
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare const MagicSocialSignIn: () => JSX.Element;
@@ -0,0 +1,60 @@
1
+ import { __awaiter } from '../../../../../../../_virtual/_tslib.js';
2
+ import { jsx } from 'react/jsx-runtime';
3
+ import 'react';
4
+ import '@dynamic-labs/sdk-api';
5
+ import '../../../../../shared/logger.js';
6
+ import '@dynamic-labs/iconic';
7
+ import '@dynamic-labs/wallet-connector-core';
8
+ import '../../../../../context/ViewContext/ViewContext.js';
9
+ import '@dynamic-labs/wallet-book';
10
+ import '@dynamic-labs/utils';
11
+ import '../../../../../utils/constants/colors.js';
12
+ import '../../../../../shared/utils/classes/storage/localStorage.js';
13
+ import 'ethers';
14
+ import '../../../../../shared/consts/index.js';
15
+ import { useInternalDynamicContext } from '../../../../../context/DynamicContext/useInternalDynamicContext.js';
16
+ import '@dynamic-labs/multi-wallet';
17
+ import '../../../../../components/ShadowDOM/ShadowDOM.js';
18
+ import '../../../../../context/ThemeContext/ThemeContext.js';
19
+ import 'react-dom';
20
+ import 'react-focus-lock';
21
+ import '../../../../../components/Transition/ZoomTransition/ZoomTransition.js';
22
+ import '../../../../../components/Transition/SlideInUpTransition/SlideInUpTransition.js';
23
+ import '../../../../../components/Transition/OpacityTransition/OpacityTransition.js';
24
+ import '../../../../../config/ApiEndpoint.js';
25
+ import '@dynamic-labs/rpc-providers';
26
+ import '../../../../../utils/hooks/useWallets/utils/verifyMagicIsSetup/verifyMagicIsSetup.js';
27
+ import '../../../../../context/ErrorContext/ErrorContext.js';
28
+ import '../../../../../context/AccessDeniedContext/AccessDeniedContext.js';
29
+ import '../../../../../context/AccountExistsContext/AccountExistsContext.js';
30
+ import '../../../../../components/IconButton/IconButton.js';
31
+ import '../../../../../components/Alert/Alert.js';
32
+ import 'formik';
33
+ import 'yup';
34
+ import '../../../../CollectUserDataView/fieldsConfig.js';
35
+ import '../../../../../context/MockContext/MockContext.js';
36
+ import '../../../../../context/CaptchaContext/CaptchaContext.js';
37
+ import '../../../../../context/EmailVerificationContext/EmailVerificationContext.js';
38
+ import { useMutation } from '../../../../../utils/hooks/useMutation/useMutation.js';
39
+ import '@dynamic-labs/types';
40
+ import '../../../../../utils/hooks/useUserUpdateRequest/useUpdateUser/useUpdateUser.js';
41
+ import '../../../../../context/UserFieldEditorContext/UserFieldEditorContext.js';
42
+ import '../../../../../components/Popper/Popper/Popper.js';
43
+ import '../../../../../components/Popper/PopperContext/PopperContext.js';
44
+ import '../../../../../components/InlineWidget/InlineWidget.js';
45
+ import '../../../../../components/MenuList/Dropdown/Dropdown.js';
46
+ import { SocialSignIn } from '../../../../../components/SocialSignIn/SocialSignIn.js';
47
+ import { useSocialRedirectContext } from '../../../../../context/SocialRedirectContext/SocialRedirectContext.js';
48
+
49
+ const MagicSocialSignIn = () => {
50
+ const { socialProvidersFilter = (providers) => providers } = useInternalDynamicContext();
51
+ const { socialProvider, setSocialProvider, socialWalletConnector, enabledSocialProviders, } = useSocialRedirectContext();
52
+ const socialProviders = socialProvidersFilter(enabledSocialProviders);
53
+ const { mutate: onClickProvider, isLoading } = useMutation((provider) => __awaiter(void 0, void 0, void 0, function* () {
54
+ yield (socialWalletConnector === null || socialWalletConnector === void 0 ? void 0 : socialWalletConnector.endSession());
55
+ return socialWalletConnector === null || socialWalletConnector === void 0 ? void 0 : socialWalletConnector.connect(provider);
56
+ }));
57
+ return (jsx(SocialSignIn, { onClick: onClickProvider, providers: socialProviders, selectedProvider: socialProvider, setSelectedProvider: setSocialProvider, isLoading: isLoading, testId: 'magic-social-sign-in' }));
58
+ };
59
+
60
+ export { MagicSocialSignIn };
@@ -0,0 +1 @@
1
+ export * from './MagicSocialSignIn';
@@ -0,0 +1,35 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var jsxRuntime = require('react/jsx-runtime');
6
+ var sdkApi = require('@dynamic-labs/sdk-api');
7
+ var useInternalDynamicContext = require('../../../../context/DynamicContext/useInternalDynamicContext.cjs');
8
+ require('../../../../shared/logger.cjs');
9
+ require('@dynamic-labs/iconic');
10
+ require('@dynamic-labs/wallet-connector-core');
11
+ require('../../../../context/ViewContext/ViewContext.cjs');
12
+ require('react');
13
+ require('@dynamic-labs/wallet-book');
14
+ require('@dynamic-labs/utils');
15
+ require('../../../../utils/constants/colors.cjs');
16
+ require('../../../../shared/utils/classes/storage/localStorage.cjs');
17
+ require('ethers');
18
+ require('../../../../shared/consts/index.cjs');
19
+ require('@dynamic-labs/multi-wallet');
20
+ var isProviderEnabled = require('../../../../utils/functions/isProviderEnabled/isProviderEnabled.cjs');
21
+ var MagicSocialSignIn = require('./MagicSocialSignIn/MagicSocialSignIn.cjs');
22
+
23
+ const SocialSignInSection = () => {
24
+ var _a, _b;
25
+ const { projectSettings } = useInternalDynamicContext.useInternalDynamicContext();
26
+ const isMagicEnabled = isProviderEnabled.isProviderEnabled((_a = projectSettings === null || projectSettings === void 0 ? void 0 : projectSettings.providers) !== null && _a !== void 0 ? _a : [], sdkApi.ProviderEnum.MagicLink);
27
+ if (isMagicEnabled &&
28
+ ((_b = projectSettings === null || projectSettings === void 0 ? void 0 : projectSettings.sdk.socialSignIn) === null || _b === void 0 ? void 0 : _b.signInProvider) ===
29
+ sdkApi.SignInProviderEnum.MagicLink) {
30
+ return jsxRuntime.jsx(MagicSocialSignIn.MagicSocialSignIn, {});
31
+ }
32
+ return null;
33
+ };
34
+
35
+ exports.SocialSignInSection = SocialSignInSection;
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare const SocialSignInSection: () => JSX.Element | null;
@@ -0,0 +1,31 @@
1
+ import { jsx } from 'react/jsx-runtime';
2
+ import { ProviderEnum, SignInProviderEnum } from '@dynamic-labs/sdk-api';
3
+ import { useInternalDynamicContext } from '../../../../context/DynamicContext/useInternalDynamicContext.js';
4
+ import '../../../../shared/logger.js';
5
+ import '@dynamic-labs/iconic';
6
+ import '@dynamic-labs/wallet-connector-core';
7
+ import '../../../../context/ViewContext/ViewContext.js';
8
+ import 'react';
9
+ import '@dynamic-labs/wallet-book';
10
+ import '@dynamic-labs/utils';
11
+ import '../../../../utils/constants/colors.js';
12
+ import '../../../../shared/utils/classes/storage/localStorage.js';
13
+ import 'ethers';
14
+ import '../../../../shared/consts/index.js';
15
+ import '@dynamic-labs/multi-wallet';
16
+ import { isProviderEnabled } from '../../../../utils/functions/isProviderEnabled/isProviderEnabled.js';
17
+ import { MagicSocialSignIn } from './MagicSocialSignIn/MagicSocialSignIn.js';
18
+
19
+ const SocialSignInSection = () => {
20
+ var _a, _b;
21
+ const { projectSettings } = useInternalDynamicContext();
22
+ const isMagicEnabled = isProviderEnabled((_a = projectSettings === null || projectSettings === void 0 ? void 0 : projectSettings.providers) !== null && _a !== void 0 ? _a : [], ProviderEnum.MagicLink);
23
+ if (isMagicEnabled &&
24
+ ((_b = projectSettings === null || projectSettings === void 0 ? void 0 : projectSettings.sdk.socialSignIn) === null || _b === void 0 ? void 0 : _b.signInProvider) ===
25
+ SignInProviderEnum.MagicLink) {
26
+ return jsx(MagicSocialSignIn, {});
27
+ }
28
+ return null;
29
+ };
30
+
31
+ export { SocialSignInSection };
@@ -0,0 +1 @@
1
+ export * from './SocialSignInSection';
@@ -49,6 +49,7 @@ require('../../../../../components/Popper/Popper/Popper.cjs');
49
49
  require('../../../../../components/Popper/PopperContext/PopperContext.cjs');
50
50
  require('../../../../../components/InlineWidget/InlineWidget.cjs');
51
51
  require('../../../../../components/MenuList/Dropdown/Dropdown.cjs');
52
+ require('../../../../../components/OverlayCard/OverlayCard.context.cjs');
52
53
  var Badge = require('../../../../../components/Badge/Badge.cjs');
53
54
 
54
55
  const ListItemButton = ({ text, onClick, numberOfWallets, disabled = false, }) => {
@@ -45,6 +45,7 @@ import '../../../../../components/Popper/Popper/Popper.js';
45
45
  import '../../../../../components/Popper/PopperContext/PopperContext.js';
46
46
  import '../../../../../components/InlineWidget/InlineWidget.js';
47
47
  import '../../../../../components/MenuList/Dropdown/Dropdown.js';
48
+ import '../../../../../components/OverlayCard/OverlayCard.context.js';
48
49
  import { Badge } from '../../../../../components/Badge/Badge.js';
49
50
 
50
51
  const ListItemButton = ({ text, onClick, numberOfWallets, disabled = false, }) => {
@@ -3,6 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var jsxRuntime = require('react/jsx-runtime');
6
+ var reactI18next = require('react-i18next');
6
7
  require('react');
7
8
  require('@dynamic-labs/sdk-api');
8
9
  require('../../../../shared/logger.cjs');
@@ -46,8 +47,12 @@ require('../../../../components/Popper/Popper/Popper.cjs');
46
47
  require('../../../../components/Popper/PopperContext/PopperContext.cjs');
47
48
  require('../../../../components/InlineWidget/InlineWidget.cjs');
48
49
  require('../../../../components/MenuList/Dropdown/Dropdown.cjs');
50
+ require('../../../../components/OverlayCard/OverlayCard.context.cjs');
49
51
  var WalletSimpleSignIn = require('./WalletSimpleSignIn/WalletSimpleSignIn.cjs');
50
52
 
51
- const WalletSignIn = ({ numberOfItensToShow, isLoading, onSubmit, }) => numberOfItensToShow > 0 ? (jsxRuntime.jsx(WalletSimpleSignIn.WalletSimpleSignIn, { previewWalletsNumber: numberOfItensToShow, onshowAllWallets: () => onSubmit === null || onSubmit === void 0 ? void 0 : onSubmit(), disabled: isLoading })) : (jsxRuntime.jsx(Button.Button, Object.assign({ disabled: isLoading, onClick: () => onSubmit === null || onSubmit === void 0 ? void 0 : onSubmit(), buttonVariant: 'primary', buttonPadding: 'large' }, { children: "Connect with Wallet" })));
53
+ const WalletSignInSection = ({ numberOfItensToShow, isLoading, onSubmit, }) => {
54
+ const { t } = reactI18next.useTranslation();
55
+ return numberOfItensToShow > 0 ? (jsxRuntime.jsx(WalletSimpleSignIn.WalletSimpleSignIn, { previewWalletsNumber: numberOfItensToShow, onshowAllWallets: () => onSubmit === null || onSubmit === void 0 ? void 0 : onSubmit(), disabled: isLoading })) : (jsxRuntime.jsx(Button.Button, Object.assign({ disabled: isLoading, onClick: () => onSubmit === null || onSubmit === void 0 ? void 0 : onSubmit(), buttonVariant: 'primary', buttonPadding: 'large' }, { children: t('dyn_login.wallet_list.button_only') })));
56
+ };
52
57
 
53
- exports.WalletSignIn = WalletSignIn;
58
+ exports.WalletSignInSection = WalletSignInSection;
@@ -3,5 +3,5 @@ import { LoginWidgetProps } from '../LoginWidget';
3
3
  interface WalletLoginProps extends LoginWidgetProps {
4
4
  numberOfItensToShow: number;
5
5
  }
6
- export declare const WalletSignIn: React.FC<WalletLoginProps>;
6
+ export declare const WalletSignInSection: React.FC<WalletLoginProps>;
7
7
  export {};
@@ -1,4 +1,5 @@
1
1
  import { jsx } from 'react/jsx-runtime';
2
+ import { useTranslation } from 'react-i18next';
2
3
  import 'react';
3
4
  import '@dynamic-labs/sdk-api';
4
5
  import '../../../../shared/logger.js';
@@ -42,8 +43,12 @@ import '../../../../components/Popper/Popper/Popper.js';
42
43
  import '../../../../components/Popper/PopperContext/PopperContext.js';
43
44
  import '../../../../components/InlineWidget/InlineWidget.js';
44
45
  import '../../../../components/MenuList/Dropdown/Dropdown.js';
46
+ import '../../../../components/OverlayCard/OverlayCard.context.js';
45
47
  import { WalletSimpleSignIn } from './WalletSimpleSignIn/WalletSimpleSignIn.js';
46
48
 
47
- const WalletSignIn = ({ numberOfItensToShow, isLoading, onSubmit, }) => numberOfItensToShow > 0 ? (jsx(WalletSimpleSignIn, { previewWalletsNumber: numberOfItensToShow, onshowAllWallets: () => onSubmit === null || onSubmit === void 0 ? void 0 : onSubmit(), disabled: isLoading })) : (jsx(Button, Object.assign({ disabled: isLoading, onClick: () => onSubmit === null || onSubmit === void 0 ? void 0 : onSubmit(), buttonVariant: 'primary', buttonPadding: 'large' }, { children: "Connect with Wallet" })));
49
+ const WalletSignInSection = ({ numberOfItensToShow, isLoading, onSubmit, }) => {
50
+ const { t } = useTranslation();
51
+ return numberOfItensToShow > 0 ? (jsx(WalletSimpleSignIn, { previewWalletsNumber: numberOfItensToShow, onshowAllWallets: () => onSubmit === null || onSubmit === void 0 ? void 0 : onSubmit(), disabled: isLoading })) : (jsx(Button, Object.assign({ disabled: isLoading, onClick: () => onSubmit === null || onSubmit === void 0 ? void 0 : onSubmit(), buttonVariant: 'primary', buttonPadding: 'large' }, { children: t('dyn_login.wallet_list.button_only') })));
52
+ };
48
53
 
49
- export { WalletSignIn };
54
+ export { WalletSignInSection };
@@ -3,6 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var jsxRuntime = require('react/jsx-runtime');
6
+ var reactI18next = require('react-i18next');
6
7
  var walletBook = require('@dynamic-labs/wallet-book');
7
8
  var Skeleton = require('../../../../../components/Skeleton/Skeleton.cjs');
8
9
  var useInternalDynamicContext = require('../../../../../context/DynamicContext/useInternalDynamicContext.cjs');
@@ -23,6 +24,7 @@ var ListItemButton = require('../ListItemButton/ListItemButton.cjs');
23
24
  var walletListBuilder = require('../../../../../utils/functions/walletListBuilder/walletListBuilder.cjs');
24
25
 
25
26
  const WalletSimpleSignIn = ({ previewWalletsNumber, disabled = false, onshowAllWallets, }) => {
27
+ const { t } = reactI18next.useTranslation();
26
28
  const { wallets, projectSettings, walletsFilter, signWithEmailWalletName } = useInternalDynamicContext.useInternalDynamicContext();
27
29
  const { walletBook: walletBook$1 } = walletBook.useWalletBookContext();
28
30
  const { numberOfWallets, walletsList } = walletListBuilder.walletListBuilder({
@@ -41,7 +43,7 @@ const WalletSimpleSignIn = ({ previewWalletsNumber, disabled = false, onshowAllW
41
43
  return !projectSettings ? (jsxRuntime.jsx(Skeleton.Skeleton, { count: previewWalletsNumber + 1, className: 'login-with-email-wallet-list__skeleton' })) : (jsxRuntime.jsxs("div", Object.assign({ className: 'login-with-email-wallet-list__container', "data-testid": 'top-wallets-list' }, { children: [walletsList.map((wallet) => {
42
44
  var _a;
43
45
  return (jsxRuntime.jsx(WalletListItem.WalletListItem, { wallet: wallet, usingMultiWallet: isUsingMultiWallet, disabled: disabled }, wallet.key + ((_a = wallet.groupedWallets) === null || _a === void 0 ? void 0 : _a.length)));
44
- }), jsxRuntime.jsx(ListItemButton.ListItemButton, { text: 'View all wallets', onClick: onshowAllWallets, numberOfWallets: numberOfWallets, disabled: disabled })] })));
46
+ }), jsxRuntime.jsx(ListItemButton.ListItemButton, { text: t('dyn_wallet_list.view_all'), onClick: onshowAllWallets, numberOfWallets: numberOfWallets, disabled: disabled })] })));
45
47
  };
46
48
 
47
49
  exports.WalletSimpleSignIn = WalletSimpleSignIn;
@@ -1,4 +1,5 @@
1
1
  import { jsx, jsxs } from 'react/jsx-runtime';
2
+ import { useTranslation } from 'react-i18next';
2
3
  import { useWalletBookContext } from '@dynamic-labs/wallet-book';
3
4
  import { Skeleton } from '../../../../../components/Skeleton/Skeleton.js';
4
5
  import { useInternalDynamicContext } from '../../../../../context/DynamicContext/useInternalDynamicContext.js';
@@ -19,6 +20,7 @@ import { ListItemButton } from '../ListItemButton/ListItemButton.js';
19
20
  import { walletListBuilder } from '../../../../../utils/functions/walletListBuilder/walletListBuilder.js';
20
21
 
21
22
  const WalletSimpleSignIn = ({ previewWalletsNumber, disabled = false, onshowAllWallets, }) => {
23
+ const { t } = useTranslation();
22
24
  const { wallets, projectSettings, walletsFilter, signWithEmailWalletName } = useInternalDynamicContext();
23
25
  const { walletBook } = useWalletBookContext();
24
26
  const { numberOfWallets, walletsList } = walletListBuilder({
@@ -37,7 +39,7 @@ const WalletSimpleSignIn = ({ previewWalletsNumber, disabled = false, onshowAllW
37
39
  return !projectSettings ? (jsx(Skeleton, { count: previewWalletsNumber + 1, className: 'login-with-email-wallet-list__skeleton' })) : (jsxs("div", Object.assign({ className: 'login-with-email-wallet-list__container', "data-testid": 'top-wallets-list' }, { children: [walletsList.map((wallet) => {
38
40
  var _a;
39
41
  return (jsx(WalletListItem, { wallet: wallet, usingMultiWallet: isUsingMultiWallet, disabled: disabled }, wallet.key + ((_a = wallet.groupedWallets) === null || _a === void 0 ? void 0 : _a.length)));
40
- }), jsx(ListItemButton, { text: 'View all wallets', onClick: onshowAllWallets, numberOfWallets: numberOfWallets, disabled: disabled })] })));
42
+ }), jsx(ListItemButton, { text: t('dyn_wallet_list.view_all'), onClick: onshowAllWallets, numberOfWallets: numberOfWallets, disabled: disabled })] })));
41
43
  };
42
44
 
43
45
  export { WalletSimpleSignIn };
@@ -0,0 +1 @@
1
+ export { WalletSignInSection } from './WalletSignInSection';
@@ -0,0 +1,4 @@
1
+ export * from './EmailSignInSection';
2
+ export * from './LoginWidget';
3
+ export * from './WalletSignInSection';
4
+ export * from './SocialSignInSection';
@@ -3,12 +3,14 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var React = require('react');
6
+ var reactI18next = require('react-i18next');
6
7
  var sdkApi = require('@dynamic-labs/sdk-api');
7
8
  var useInternalDynamicContext = require('../../context/DynamicContext/useInternalDynamicContext.cjs');
8
9
 
9
10
  const NUMBER_OF_WALLETS = 3;
10
11
  const useLoginView = () => {
11
12
  const { projectSettings, authorizationViewDisplayOrder, loginWithEmail, wallets, } = useInternalDynamicContext.useInternalDynamicContext();
13
+ const { t } = reactI18next.useTranslation();
12
14
  const isWalletOnly = React.useMemo(() => {
13
15
  var _a, _b, _c, _d, _e, _f;
14
16
  if (!projectSettings) {
@@ -45,7 +47,7 @@ const useLoginView = () => {
45
47
  });
46
48
  if ((_c = projectSettings === null || projectSettings === void 0 ? void 0 : projectSettings.design.modal) === null || _c === void 0 ? void 0 : _c.splitEmailAndSocial) {
47
49
  loginViewSections.splice(1, 0, {
48
- label: 'Or',
50
+ label: t('dyn_login.separators.email_or_social'),
49
51
  type: sdkApi.SdkViewSectionType.Separator,
50
52
  });
51
53
  }
@@ -77,7 +79,9 @@ const useLoginView = () => {
77
79
  !((_a = projectSettings === null || projectSettings === void 0 ? void 0 : projectSettings.providers) === null || _a === void 0 ? void 0 : _a.length)) {
78
80
  return [];
79
81
  }
80
- const label = loginItem === 'email' ? 'Or continue with a wallet' : 'Or continue with';
82
+ const label = loginItem === 'email'
83
+ ? t('dyn_login.separators.email_or_wallets')
84
+ : t('dyn_login.separators.wallets_or_email');
81
85
  return [
82
86
  {
83
87
  label,
@@ -1,10 +1,12 @@
1
1
  import { useMemo } from 'react';
2
+ import { useTranslation } from 'react-i18next';
2
3
  import { SdkViewType, SdkViewSectionType } from '@dynamic-labs/sdk-api';
3
4
  import { useInternalDynamicContext } from '../../context/DynamicContext/useInternalDynamicContext.js';
4
5
 
5
6
  const NUMBER_OF_WALLETS = 3;
6
7
  const useLoginView = () => {
7
8
  const { projectSettings, authorizationViewDisplayOrder, loginWithEmail, wallets, } = useInternalDynamicContext();
9
+ const { t } = useTranslation();
8
10
  const isWalletOnly = useMemo(() => {
9
11
  var _a, _b, _c, _d, _e, _f;
10
12
  if (!projectSettings) {
@@ -41,7 +43,7 @@ const useLoginView = () => {
41
43
  });
42
44
  if ((_c = projectSettings === null || projectSettings === void 0 ? void 0 : projectSettings.design.modal) === null || _c === void 0 ? void 0 : _c.splitEmailAndSocial) {
43
45
  loginViewSections.splice(1, 0, {
44
- label: 'Or',
46
+ label: t('dyn_login.separators.email_or_social'),
45
47
  type: SdkViewSectionType.Separator,
46
48
  });
47
49
  }
@@ -73,7 +75,9 @@ const useLoginView = () => {
73
75
  !((_a = projectSettings === null || projectSettings === void 0 ? void 0 : projectSettings.providers) === null || _a === void 0 ? void 0 : _a.length)) {
74
76
  return [];
75
77
  }
76
- const label = loginItem === 'email' ? 'Or continue with a wallet' : 'Or continue with';
78
+ const label = loginItem === 'email'
79
+ ? t('dyn_login.separators.email_or_wallets')
80
+ : t('dyn_login.separators.wallets_or_email');
77
81
  return [
78
82
  {
79
83
  label,
@@ -55,6 +55,7 @@ require('../../components/Popper/Popper/Popper.cjs');
55
55
  require('../../components/Popper/PopperContext/PopperContext.cjs');
56
56
  require('../../components/InlineWidget/InlineWidget.cjs');
57
57
  require('../../components/MenuList/Dropdown/Dropdown.cjs');
58
+ require('../../components/OverlayCard/OverlayCard.context.cjs');
58
59
 
59
60
  const MergeUserAccountsView = () => {
60
61
  const { environmentId, setUser, setOnboardingOnlyJwt, setShowAuthFlow, setCallback, primaryWallet, user, authToken, onboardingOnlyJwt, } = useInternalDynamicContext.useInternalDynamicContext();
@@ -51,6 +51,7 @@ import '../../components/Popper/Popper/Popper.js';
51
51
  import '../../components/Popper/PopperContext/PopperContext.js';
52
52
  import '../../components/InlineWidget/InlineWidget.js';
53
53
  import '../../components/MenuList/Dropdown/Dropdown.js';
54
+ import '../../components/OverlayCard/OverlayCard.context.js';
54
55
 
55
56
  const MergeUserAccountsView = () => {
56
57
  const { environmentId, setUser, setOnboardingOnlyJwt, setShowAuthFlow, setCallback, primaryWallet, user, authToken, onboardingOnlyJwt, } = useInternalDynamicContext();
@@ -51,6 +51,7 @@ require('../../components/Popper/Popper/Popper.cjs');
51
51
  require('../../components/Popper/PopperContext/PopperContext.cjs');
52
52
  require('../../components/InlineWidget/InlineWidget.cjs');
53
53
  require('../../components/MenuList/Dropdown/Dropdown.cjs');
54
+ require('../../components/OverlayCard/OverlayCard.context.cjs');
54
55
  var NetworkPicker = require('../../components/NetworkPicker/NetworkPicker.cjs');
55
56
  var UserAddress = require('../../components/UserAddress/UserAddress.cjs');
56
57
  var SelectNetworkButton = require('../../components/SelectNetworkButton/SelectNetworkButton.cjs');
@@ -47,6 +47,7 @@ import '../../components/Popper/Popper/Popper.js';
47
47
  import '../../components/Popper/PopperContext/PopperContext.js';
48
48
  import '../../components/InlineWidget/InlineWidget.js';
49
49
  import '../../components/MenuList/Dropdown/Dropdown.js';
50
+ import '../../components/OverlayCard/OverlayCard.context.js';
50
51
  import { NetworkPicker } from '../../components/NetworkPicker/NetworkPicker.js';
51
52
  import { UserAddress } from '../../components/UserAddress/UserAddress.js';
52
53
  import { SelectNetworkButton } from '../../components/SelectNetworkButton/SelectNetworkButton.js';
@@ -52,6 +52,7 @@ require('../../components/Popper/Popper/Popper.cjs');
52
52
  require('../../components/Popper/PopperContext/PopperContext.cjs');
53
53
  require('../../components/InlineWidget/InlineWidget.cjs');
54
54
  require('../../components/MenuList/Dropdown/Dropdown.cjs');
55
+ require('../../components/OverlayCard/OverlayCard.context.cjs');
55
56
  var useApplyWalletConnectorNetwork = require('../../utils/hooks/useApplyWalletConnectorNetwork/useApplyWalletConnectorNetwork.cjs');
56
57
 
57
58
  // The component notifies the user about the required manual network change,
@@ -48,6 +48,7 @@ import '../../components/Popper/Popper/Popper.js';
48
48
  import '../../components/Popper/PopperContext/PopperContext.js';
49
49
  import '../../components/InlineWidget/InlineWidget.js';
50
50
  import '../../components/MenuList/Dropdown/Dropdown.js';
51
+ import '../../components/OverlayCard/OverlayCard.context.js';
51
52
  import { useApplyWalletConnectorNetwork } from '../../utils/hooks/useApplyWalletConnectorNetwork/useApplyWalletConnectorNetwork.js';
52
53
 
53
54
  // The component notifies the user about the required manual network change,
@@ -51,6 +51,7 @@ require('../../components/Popper/Popper/Popper.cjs');
51
51
  require('../../components/Popper/PopperContext/PopperContext.cjs');
52
52
  require('../../components/InlineWidget/InlineWidget.cjs');
53
53
  require('../../components/MenuList/Dropdown/Dropdown.cjs');
54
+ require('../../components/OverlayCard/OverlayCard.context.cjs');
54
55
  var StatusDot = require('../../components/StatusDot/StatusDot.cjs');
55
56
  var getSocialNetworkIcon = require('../../utils/functions/getSocialNetworkIcon/getSocialNetworkIcon.cjs');
56
57
  var AuthProviderIcon = require('../../components/AuthProviderIcon/AuthProviderIcon.cjs');
@@ -47,6 +47,7 @@ import '../../components/Popper/Popper/Popper.js';
47
47
  import '../../components/Popper/PopperContext/PopperContext.js';
48
48
  import '../../components/InlineWidget/InlineWidget.js';
49
49
  import '../../components/MenuList/Dropdown/Dropdown.js';
50
+ import '../../components/OverlayCard/OverlayCard.context.js';
50
51
  import { StatusDot } from '../../components/StatusDot/StatusDot.js';
51
52
  import { getSocialNetworkIcon } from '../../utils/functions/getSocialNetworkIcon/getSocialNetworkIcon.js';
52
53
  import { AuthProviderIcon } from '../../components/AuthProviderIcon/AuthProviderIcon.js';
@@ -47,6 +47,7 @@ require('../../components/Popper/Popper/Popper.cjs');
47
47
  require('../../components/Popper/PopperContext/PopperContext.cjs');
48
48
  require('../../components/InlineWidget/InlineWidget.cjs');
49
49
  require('../../components/MenuList/Dropdown/Dropdown.cjs');
50
+ require('../../components/OverlayCard/OverlayCard.context.cjs');
50
51
  var getBrowserIcon = require('../../shared/utils/functions/getBrowserIcon/getBrowserIcon.cjs');
51
52
  var WalletHelpLink = require('./WalletHelpLink.cjs');
52
53
 
@@ -43,6 +43,7 @@ import '../../components/Popper/Popper/Popper.js';
43
43
  import '../../components/Popper/PopperContext/PopperContext.js';
44
44
  import '../../components/InlineWidget/InlineWidget.js';
45
45
  import '../../components/MenuList/Dropdown/Dropdown.js';
46
+ import '../../components/OverlayCard/OverlayCard.context.js';
46
47
  import { getBrowserIcon } from '../../shared/utils/functions/getBrowserIcon/getBrowserIcon.js';
47
48
  import { WalletHelpLink } from './WalletHelpLink.js';
48
49
 
@@ -46,6 +46,7 @@ require('../../components/Popper/Popper/Popper.cjs');
46
46
  require('../../components/Popper/PopperContext/PopperContext.cjs');
47
47
  require('../../components/InlineWidget/InlineWidget.cjs');
48
48
  require('../../components/MenuList/Dropdown/Dropdown.cjs');
49
+ require('../../components/OverlayCard/OverlayCard.context.cjs');
49
50
 
50
51
  const capitalize = (value) => value[0].toUpperCase() + value.slice(1);
51
52
  const WalletHelpLink = ({ name, link, Icon }) => (jsxRuntime.jsx("div", Object.assign({ className: 'wallet-help-link' }, { children: jsxRuntime.jsxs("a", Object.assign({ className: 'wallet-help-link__anchor', href: link, target: '_blank', rel: 'noreferrer' }, { children: [jsxRuntime.jsx(Icon, { style: {
@@ -42,6 +42,7 @@ import '../../components/Popper/Popper/Popper.js';
42
42
  import '../../components/Popper/PopperContext/PopperContext.js';
43
43
  import '../../components/InlineWidget/InlineWidget.js';
44
44
  import '../../components/MenuList/Dropdown/Dropdown.js';
45
+ import '../../components/OverlayCard/OverlayCard.context.js';
45
46
 
46
47
  const capitalize = (value) => value[0].toUpperCase() + value.slice(1);
47
48
  const WalletHelpLink = ({ name, link, Icon }) => (jsx("div", Object.assign({ className: 'wallet-help-link' }, { children: jsxs("a", Object.assign({ className: 'wallet-help-link__anchor', href: link, target: '_blank', rel: 'noreferrer' }, { children: [jsx(Icon, { style: {
@@ -49,6 +49,7 @@ require('../../components/Popper/Popper/Popper.cjs');
49
49
  require('../../components/Popper/PopperContext/PopperContext.cjs');
50
50
  require('../../components/InlineWidget/InlineWidget.cjs');
51
51
  require('../../components/MenuList/Dropdown/Dropdown.cjs');
52
+ require('../../components/OverlayCard/OverlayCard.context.cjs');
52
53
 
53
54
  const PendingConnectView = () => {
54
55
  const { selectedWalletConnector: walletConnector } = useInternalDynamicContext.useInternalDynamicContext();
@@ -45,6 +45,7 @@ import '../../components/Popper/Popper/Popper.js';
45
45
  import '../../components/Popper/PopperContext/PopperContext.js';
46
46
  import '../../components/InlineWidget/InlineWidget.js';
47
47
  import '../../components/MenuList/Dropdown/Dropdown.js';
48
+ import '../../components/OverlayCard/OverlayCard.context.js';
48
49
 
49
50
  const PendingConnectView = () => {
50
51
  const { selectedWalletConnector: walletConnector } = useInternalDynamicContext();