@dynamic-labs/sdk-react-core 0.18.0-RC.3 → 0.18.0-RC.5

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 (259) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/package.cjs +1 -1
  3. package/package.js +1 -1
  4. package/package.json +8 -8
  5. package/src/index.cjs +1 -0
  6. package/src/index.js +1 -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/Badge/Badge.cjs +1 -1
  16. package/src/lib/components/Badge/Badge.js +1 -1
  17. package/src/lib/components/ChainCard/ChainCard.cjs +11 -0
  18. package/src/lib/components/ChainCard/ChainCard.d.ts +4 -2
  19. package/src/lib/components/ChainCard/ChainCard.js +7 -0
  20. package/src/lib/components/Divider/Divider.cjs +1 -0
  21. package/src/lib/components/Divider/Divider.js +1 -0
  22. package/src/lib/components/NetworkPicker/components/ActionList/ActionList.cjs +1 -0
  23. package/src/lib/components/NetworkPicker/components/ActionList/ActionList.js +1 -0
  24. package/src/lib/components/NetworkPicker/components/EvmNetworkControl/EvmNetworkControl.cjs +1 -0
  25. package/src/lib/components/NetworkPicker/components/EvmNetworkControl/EvmNetworkControl.js +1 -0
  26. package/src/lib/components/NetworkPicker/components/Network/Network.cjs +1 -0
  27. package/src/lib/components/NetworkPicker/components/Network/Network.js +1 -0
  28. package/src/lib/components/NetworkPicker/components/NonNetworkSwitchingSupportedControl/NonNetworkSwitchingSupportedControl.cjs +1 -0
  29. package/src/lib/components/NetworkPicker/components/NonNetworkSwitchingSupportedControl/NonNetworkSwitchingSupportedControl.js +1 -0
  30. package/src/lib/components/OTPVerificationView/OTPVerificationView.cjs +1 -0
  31. package/src/lib/components/OTPVerificationView/OTPVerificationView.js +1 -0
  32. package/src/lib/components/OverlayCard/OverlayCard.cjs +1 -0
  33. package/src/lib/components/OverlayCard/OverlayCard.js +1 -0
  34. package/src/lib/components/Portal/Portal.cjs +1 -0
  35. package/src/lib/components/Portal/Portal.js +1 -0
  36. package/src/lib/components/SelectWalletChainLayout/SelectWalletChainLayout.cjs +11 -0
  37. package/src/lib/components/SelectWalletChainLayout/SelectWalletChainLayout.d.ts +0 -2
  38. package/src/lib/components/SelectWalletChainLayout/SelectWalletChainLayout.js +7 -0
  39. package/src/lib/components/Tooltip/Tooltip.cjs +1 -0
  40. package/src/lib/components/Tooltip/Tooltip.js +1 -0
  41. package/src/lib/components/TransactionStatusLayout/TransactionStatusLayout.cjs +1 -0
  42. package/src/lib/components/TransactionStatusLayout/TransactionStatusLayout.js +1 -0
  43. package/src/lib/components/Transition/VerticalDrawerTransition/VerticalDrawerTransition.cjs +1 -0
  44. package/src/lib/components/Transition/VerticalDrawerTransition/VerticalDrawerTransition.js +1 -0
  45. package/src/lib/components/UserProfile/parts/UserProfileField/UserProfileField.cjs +1 -0
  46. package/src/lib/components/UserProfile/parts/UserProfileField/UserProfileField.js +1 -0
  47. package/src/lib/components/UserProfile/parts/UserProfileSection/UserProfileSection.cjs +1 -0
  48. package/src/lib/components/UserProfile/parts/UserProfileSection/UserProfileSection.js +1 -0
  49. package/src/lib/components/UserProfile/parts/UserProfileSocialAccount/UserProfileSocialAccount.cjs +1 -0
  50. package/src/lib/components/UserProfile/parts/UserProfileSocialAccount/UserProfileSocialAccount.js +1 -0
  51. package/src/lib/context/DynamicContext/DynamicContext.cjs +2 -1
  52. package/src/lib/context/DynamicContext/DynamicContext.js +2 -1
  53. package/src/lib/context/DynamicContext/useCustomerCallbacks/useCustomerAuthFlowCallbacks.cjs +1 -0
  54. package/src/lib/context/DynamicContext/useCustomerCallbacks/useCustomerAuthFlowCallbacks.js +1 -0
  55. package/src/lib/context/QrCodeContext/QrCodeContext.cjs +1 -0
  56. package/src/lib/context/QrCodeContext/QrCodeContext.js +1 -0
  57. package/src/lib/context/SendBalanceContext/SendBalanceContext.cjs +1 -0
  58. package/src/lib/context/SendBalanceContext/SendBalanceContext.js +1 -0
  59. package/src/lib/context/SocialRedirectContext/SocialRedirectContext.cjs +1 -0
  60. package/src/lib/context/SocialRedirectContext/SocialRedirectContext.js +1 -0
  61. package/src/lib/context/ViewContext/ViewContext.d.ts +1 -1
  62. package/src/lib/context/WalletGroupContext/WalletGroupContext.cjs +37 -0
  63. package/src/lib/context/WalletGroupContext/WalletGroupContext.d.ts +9 -0
  64. package/src/lib/context/WalletGroupContext/WalletGroupContext.js +27 -0
  65. package/src/lib/layout/DynamicAuthLayout/DynamicAuthLayout.cjs +1 -0
  66. package/src/lib/layout/DynamicAuthLayout/DynamicAuthLayout.js +1 -0
  67. package/src/lib/layout/DynamicAuthLayout/Footer/Footer.cjs +1 -0
  68. package/src/lib/layout/DynamicAuthLayout/Footer/Footer.js +1 -0
  69. package/src/lib/layout/DynamicAuthLayout/FooterContent/WalletListFooterContent/Item/Item.cjs +1 -0
  70. package/src/lib/layout/DynamicAuthLayout/FooterContent/WalletListFooterContent/Item/Item.js +1 -0
  71. package/src/lib/layout/DynamicAuthLayout/FooterContent/WalletListFooterContent/WalletExtensionOrAppContinueButton/WalletExtensionOrAppContinueButton.cjs +1 -0
  72. package/src/lib/layout/DynamicAuthLayout/FooterContent/WalletListFooterContent/WalletExtensionOrAppContinueButton/WalletExtensionOrAppContinueButton.js +1 -0
  73. package/src/lib/layout/DynamicAuthLayout/FooterContent/WalletListFooterContent/WalletListFooterContent.cjs +1 -0
  74. package/src/lib/layout/DynamicAuthLayout/FooterContent/WalletListFooterContent/WalletListFooterContent.js +1 -0
  75. package/src/lib/layout/DynamicAuthLayout/FooterContent/WalletMoreInfoContent/WalletMoreInfoContent.cjs +1 -0
  76. package/src/lib/layout/DynamicAuthLayout/FooterContent/WalletMoreInfoContent/WalletMoreInfoContent.js +1 -0
  77. package/src/lib/layout/DynamicAuthLayout/Header/header.cjs +2 -0
  78. package/src/lib/layout/DynamicAuthLayout/Header/header.js +2 -0
  79. package/src/lib/layouts/BridgeWelcomeLayout/BridgeWelcomeLayout.cjs +1 -0
  80. package/src/lib/layouts/BridgeWelcomeLayout/BridgeWelcomeLayout.js +1 -0
  81. package/src/lib/layouts/ConnectedWalletsListLayout/ConnectedWalletsListLayout.cjs +1 -0
  82. package/src/lib/layouts/ConnectedWalletsListLayout/ConnectedWalletsListLayout.js +1 -0
  83. package/src/lib/layouts/SelectWalletListLayout/SelectWalletListLayout.cjs +1 -0
  84. package/src/lib/layouts/SelectWalletListLayout/SelectWalletListLayout.js +1 -0
  85. package/src/lib/modals/MultiWalletStepSelectorModal/views/ResumeView/ResumeView.cjs +1 -0
  86. package/src/lib/modals/MultiWalletStepSelectorModal/views/ResumeView/ResumeView.js +1 -0
  87. package/src/lib/modals/MultiWalletStepSelectorModal/views/WelcomeView/WelcomeView.cjs +1 -0
  88. package/src/lib/modals/MultiWalletStepSelectorModal/views/WelcomeView/WelcomeView.js +1 -0
  89. package/src/lib/modals/SendBalanceModal/SendBalanceModal.cjs +1 -0
  90. package/src/lib/modals/SendBalanceModal/SendBalanceModal.js +1 -0
  91. package/src/lib/modals/SignMessageConfirmationModal/SignMessageConfirmationModal.cjs +1 -0
  92. package/src/lib/modals/SignMessageConfirmationModal/SignMessageConfirmationModal.js +1 -0
  93. package/src/lib/modals/TransactionConfirmationModal/TransactionConfirmationModal.cjs +1 -0
  94. package/src/lib/modals/TransactionConfirmationModal/TransactionConfirmationModal.js +1 -0
  95. package/src/lib/shared/types/index.d.ts +3 -0
  96. package/src/lib/styles/index.shadow.cjs +1 -1
  97. package/src/lib/styles/index.shadow.js +1 -1
  98. package/src/lib/utils/functions/walletListBuilder/utils/isWalletGroup/isWalletGroup.d.ts +2 -4
  99. package/src/lib/utils/hooks/useWalletUiUtils/useWalletUiUtils.cjs +1 -0
  100. package/src/lib/utils/hooks/useWalletUiUtils/useWalletUiUtils.js +1 -0
  101. package/src/lib/views/CaptchaVerifyUser/CaptchaVerifyUser.cjs +1 -0
  102. package/src/lib/views/CaptchaVerifyUser/CaptchaVerifyUser.js +1 -0
  103. package/src/lib/views/CollectUserDataView/CollectUserDataView.cjs +1 -0
  104. package/src/lib/views/CollectUserDataView/CollectUserDataView.js +1 -0
  105. package/src/lib/views/CollectUserDataView/OnboardingUserDataForm/OnboardingUserDataForm.cjs +1 -0
  106. package/src/lib/views/CollectUserDataView/OnboardingUserDataForm/OnboardingUserDataForm.js +1 -0
  107. package/src/lib/views/CollectUserDataView/UserDataFields/index.cjs +1 -0
  108. package/src/lib/views/CollectUserDataView/UserDataFields/index.js +1 -0
  109. package/src/lib/views/CollectUserDataViewLoginWithEmail/CollectUserDataViewLoginWithEmail.cjs +1 -0
  110. package/src/lib/views/CollectUserDataViewLoginWithEmail/CollectUserDataViewLoginWithEmail.js +1 -0
  111. package/src/lib/views/EmailConfirmationWaitingView/EmailConfirmationWaitingView.cjs +1 -0
  112. package/src/lib/views/EmailConfirmationWaitingView/EmailConfirmationWaitingView.js +1 -0
  113. package/src/lib/views/EmailUpdate/EmailUpdate.cjs +1 -0
  114. package/src/lib/views/EmailUpdate/EmailUpdate.js +1 -0
  115. package/src/lib/views/EmailVerification/EmailVerification.cjs +1 -0
  116. package/src/lib/views/EmailVerification/EmailVerification.js +1 -0
  117. package/src/lib/views/EmailWalletOTPVerificationView/EmailWalletOTPVerificationView.cjs +1 -0
  118. package/src/lib/views/EmailWalletOTPVerificationView/EmailWalletOTPVerificationView.js +1 -0
  119. package/src/lib/views/LoginWithEmailView/LoginWithEmailView.cjs +1 -2
  120. package/src/lib/views/LoginWithEmailView/LoginWithEmailView.js +1 -2
  121. package/src/lib/views/LoginWithEmailView/components/ListItemButton/ListItemButton.cjs +1 -0
  122. package/src/lib/views/LoginWithEmailView/components/ListItemButton/ListItemButton.js +1 -0
  123. package/src/lib/views/LoginWithEmailView/components/LoginWithEmailForm/LoginWithEmailForm.cjs +1 -0
  124. package/src/lib/views/LoginWithEmailView/components/LoginWithEmailForm/LoginWithEmailForm.js +1 -0
  125. package/src/lib/views/LoginWithEmailView/components/SocialSignIn/SocialSignIn.cjs +1 -0
  126. package/src/lib/views/LoginWithEmailView/components/SocialSignIn/SocialSignIn.js +1 -0
  127. package/src/lib/views/NetworkNotSupported/NetworkNotSupported.cjs +1 -0
  128. package/src/lib/views/NetworkNotSupported/NetworkNotSupported.js +1 -0
  129. package/src/lib/views/NetworkNotSupportedSwitchManual/NetworkNotSupportedSwitchManual.cjs +1 -0
  130. package/src/lib/views/NetworkNotSupportedSwitchManual/NetworkNotSupportedSwitchManual.js +1 -0
  131. package/src/lib/views/NoAccess/NoAccess.cjs +1 -0
  132. package/src/lib/views/NoAccess/NoAccess.js +1 -0
  133. package/src/lib/views/NoQrNotInstalledView/NoQrNotInstalledView.cjs +1 -0
  134. package/src/lib/views/NoQrNotInstalledView/NoQrNotInstalledView.js +1 -0
  135. package/src/lib/views/NoQrNotInstalledView/WalletHelpLink.cjs +1 -0
  136. package/src/lib/views/NoQrNotInstalledView/WalletHelpLink.js +1 -0
  137. package/src/lib/views/PendingConnectView/PendingConnectView.cjs +1 -0
  138. package/src/lib/views/PendingConnectView/PendingConnectView.js +1 -0
  139. package/src/lib/views/PendingSignatureView/PendingSignatureView.cjs +1 -0
  140. package/src/lib/views/PendingSignatureView/PendingSignatureView.js +1 -0
  141. package/src/lib/views/QrCodeView/QrCodeContainer/QrCodeContainer.cjs +1 -0
  142. package/src/lib/views/QrCodeView/QrCodeContainer/QrCodeContainer.js +1 -0
  143. package/src/lib/views/QrCodeView/QrCodeView.cjs +1 -0
  144. package/src/lib/views/QrCodeView/QrCodeView.js +1 -0
  145. package/src/lib/views/SendBalanceView/SendBalanceView.cjs +1 -0
  146. package/src/lib/views/SendBalanceView/SendBalanceView.js +1 -0
  147. package/src/lib/views/SocialRedirectView/SocialRedirectView.cjs +1 -0
  148. package/src/lib/views/SocialRedirectView/SocialRedirectView.js +1 -0
  149. package/src/lib/views/SocialWrongAccountView/SocialWrongAccountView.cjs +1 -0
  150. package/src/lib/views/SocialWrongAccountView/SocialWrongAccountView.js +1 -0
  151. package/src/lib/views/TransactionConfirmationView/TransactionConfirmationView.cjs +1 -0
  152. package/src/lib/views/TransactionConfirmationView/TransactionConfirmationView.js +1 -0
  153. package/src/lib/views/TransactionConfirmationView/hooks/useTransactionData/useTransactionData.cjs +1 -0
  154. package/src/lib/views/TransactionConfirmationView/hooks/useTransactionData/useTransactionData.js +1 -0
  155. package/src/lib/views/WalletGroupView/WalletGroupView.cjs +21 -0
  156. package/src/lib/views/WalletGroupView/WalletGroupView.d.ts +2 -0
  157. package/src/lib/views/WalletGroupView/WalletGroupView.js +17 -0
  158. package/src/lib/views/WalletGroupView/components/WalletGroupItem/WalletGroupItem.cjs +55 -0
  159. package/src/lib/views/WalletGroupView/components/WalletGroupItem/WalletGroupItem.d.ts +6 -0
  160. package/src/lib/views/WalletGroupView/components/WalletGroupItem/WalletGroupItem.js +51 -0
  161. package/src/lib/views/WalletList/SearchInstead/SearchInstead.cjs +1 -0
  162. package/src/lib/views/WalletList/SearchInstead/SearchInstead.js +1 -0
  163. package/src/lib/views/WalletList/WalletList.cjs +1 -2
  164. package/src/lib/views/WalletList/WalletList.js +1 -2
  165. package/src/lib/views/WalletList/WalletListItem/WalletListItem.cjs +5 -0
  166. package/src/lib/views/WalletList/WalletListItem/WalletListItem.js +5 -0
  167. package/src/lib/views/WalletSignSpinnerView/WalletSignSpinnerView.cjs +1 -0
  168. package/src/lib/views/WalletSignSpinnerView/WalletSignSpinnerView.js +1 -0
  169. package/src/lib/views/WalletUsedView/WalletUsedView.cjs +1 -0
  170. package/src/lib/views/WalletUsedView/WalletUsedView.js +1 -0
  171. package/src/lib/views/viewToComponentMap.cjs +2 -0
  172. package/src/lib/views/viewToComponentMap.js +2 -0
  173. package/src/lib/widgets/DynamicBridgeWidget/DynamicBridgeWidget.cjs +1 -0
  174. package/src/lib/widgets/DynamicBridgeWidget/DynamicBridgeWidget.js +1 -0
  175. package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeUserProfile/DynamicBridgeUserProfile.cjs +1 -0
  176. package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeUserProfile/DynamicBridgeUserProfile.js +1 -0
  177. package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCard/DynamicBridgeWalletCard.cjs +1 -0
  178. package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCard/DynamicBridgeWalletCard.js +1 -0
  179. package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCardBody/DynamicBridgeWalletCardBody.cjs +1 -0
  180. package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCardBody/DynamicBridgeWalletCardBody.js +1 -0
  181. package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWidgetNav/DynamicBridgeWidgetNav.cjs +1 -0
  182. package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWidgetNav/DynamicBridgeWidgetNav.js +1 -0
  183. package/src/lib/widgets/DynamicBridgeWidget/views/WalletsView/WalletsView.cjs +1 -0
  184. package/src/lib/widgets/DynamicBridgeWidget/views/WalletsView/WalletsView.js +1 -0
  185. package/src/lib/widgets/DynamicWidget/DynamicWidget.cjs +1 -0
  186. package/src/lib/widgets/DynamicWidget/DynamicWidget.js +1 -0
  187. package/src/lib/widgets/DynamicWidget/components/AccountControl/AccountControl.cjs +1 -0
  188. package/src/lib/widgets/DynamicWidget/components/AccountControl/AccountControl.js +1 -0
  189. package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletInformation.cjs +3 -0
  190. package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletInformation.js +3 -0
  191. package/src/lib/widgets/DynamicWidget/components/Balance/Balance.cjs +1 -0
  192. package/src/lib/widgets/DynamicWidget/components/Balance/Balance.js +1 -0
  193. package/src/lib/widgets/DynamicWidget/components/DotsMenu/DotsMenu.cjs +1 -0
  194. package/src/lib/widgets/DynamicWidget/components/DotsMenu/DotsMenu.d.ts +1 -0
  195. package/src/lib/widgets/DynamicWidget/components/DotsMenu/DotsMenu.js +1 -0
  196. package/src/lib/widgets/DynamicWidget/components/DotsMenuDropdown/DotsMenuDropdown.cjs +2 -1
  197. package/src/lib/widgets/DynamicWidget/components/DotsMenuDropdown/DotsMenuDropdown.js +2 -1
  198. package/src/lib/widgets/DynamicWidget/components/DotsMenuDropdown/DotsMenuDropdown.types.d.ts +2 -7
  199. package/src/lib/widgets/DynamicWidget/components/DynamicUserProfile/DynamicUserProfile.cjs +1 -0
  200. package/src/lib/widgets/DynamicWidget/components/DynamicUserProfile/DynamicUserProfile.js +1 -0
  201. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.cjs +1 -0
  202. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.js +1 -0
  203. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetWalletHeader/DynamicWidgetWalletHeader.cjs +1 -0
  204. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetWalletHeader/DynamicWidgetWalletHeader.js +1 -0
  205. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetDropdown/DynamicWidgetDropdown.cjs +1 -0
  206. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetDropdown/DynamicWidgetDropdown.js +1 -0
  207. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetModal/DynamicWidgetModal.cjs +1 -0
  208. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetModal/DynamicWidgetModal.js +1 -0
  209. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetWallets/DynamicWidgetWallets.cjs +1 -0
  210. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetWallets/DynamicWidgetWallets.js +1 -0
  211. package/src/lib/widgets/DynamicWidget/components/EmailConnectorPendingSignModalContent/EmailConnectorPendingSignModalContent.cjs +1 -0
  212. package/src/lib/widgets/DynamicWidget/components/EmailConnectorPendingSignModalContent/EmailConnectorPendingSignModalContent.js +1 -0
  213. package/src/lib/widgets/DynamicWidget/components/EmailOTPConnectorPendingSignModalContent/EmailOTPConnectorPendingSignModalContent.cjs +1 -0
  214. package/src/lib/widgets/DynamicWidget/components/EmailOTPConnectorPendingSignModalContent/EmailOTPConnectorPendingSignModalContent.js +1 -0
  215. package/src/lib/widgets/DynamicWidget/components/EmptyWallets/EmptyWallets.cjs +1 -0
  216. package/src/lib/widgets/DynamicWidget/components/EmptyWallets/EmptyWallets.js +1 -0
  217. package/src/lib/widgets/DynamicWidget/components/SingleWalletButtons/SingleWalletButtons.cjs +1 -0
  218. package/src/lib/widgets/DynamicWidget/components/SingleWalletButtons/SingleWalletButtons.js +1 -0
  219. package/src/lib/widgets/DynamicWidget/components/Wallet/Wallet.cjs +1 -0
  220. package/src/lib/widgets/DynamicWidget/components/Wallet/Wallet.js +1 -0
  221. package/src/lib/widgets/DynamicWidget/components/WidgetPortal/WidgetPortal.cjs +1 -0
  222. package/src/lib/widgets/DynamicWidget/components/WidgetPortal/WidgetPortal.js +1 -0
  223. package/src/lib/widgets/DynamicWidget/context/DynamicWidgetContext.cjs +1 -0
  224. package/src/lib/widgets/DynamicWidget/context/DynamicWidgetContext.js +1 -0
  225. package/src/lib/widgets/DynamicWidget/prompts/DefaultPromptModal/DefaultPromptModal.cjs +1 -0
  226. package/src/lib/widgets/DynamicWidget/prompts/DefaultPromptModal/DefaultPromptModal.js +1 -0
  227. package/src/lib/widgets/DynamicWidget/prompts/DetectedNewWalletModal/DetectedNewWalletModal.cjs +1 -0
  228. package/src/lib/widgets/DynamicWidget/prompts/DetectedNewWalletModal/DetectedNewWalletModal.js +1 -0
  229. package/src/lib/widgets/DynamicWidget/prompts/NoQrNotInstalledModalView/NoQrNotInstalledModalView.cjs +1 -0
  230. package/src/lib/widgets/DynamicWidget/prompts/NoQrNotInstalledModalView/NoQrNotInstalledModalView.js +1 -0
  231. package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchAccountView/SwitchAccountView.cjs +1 -0
  232. package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchAccountView/SwitchAccountView.js +1 -0
  233. package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchOrUseActiveAccountView/SwitchOrUseActiveAccountView.cjs +1 -0
  234. package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchOrUseActiveAccountView/SwitchOrUseActiveAccountView.js +1 -0
  235. package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchToLinkModal/PendingAccountSwitchToLinkModal.cjs +1 -0
  236. package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchToLinkModal/PendingAccountSwitchToLinkModal.js +1 -0
  237. package/src/lib/widgets/DynamicWidget/prompts/PendingConnectionModal/PendingConnectionModal.cjs +1 -0
  238. package/src/lib/widgets/DynamicWidget/prompts/PendingConnectionModal/PendingConnectionModal.js +1 -0
  239. package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/DefaultPendingSignModalContent/DefaultPendingSignModalContent.cjs +1 -0
  240. package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/DefaultPendingSignModalContent/DefaultPendingSignModalContent.js +1 -0
  241. package/src/lib/widgets/DynamicWidget/prompts/PrimaryNotConnectedModal/PrimaryNotConnectedModal.cjs +1 -0
  242. package/src/lib/widgets/DynamicWidget/prompts/PrimaryNotConnectedModal/PrimaryNotConnectedModal.js +1 -0
  243. package/src/lib/widgets/DynamicWidget/prompts/QrCodeModalView/QrCodeModalView.cjs +1 -0
  244. package/src/lib/widgets/DynamicWidget/prompts/QrCodeModalView/QrCodeModalView.js +1 -0
  245. package/src/lib/widgets/DynamicWidget/prompts/UnlinkWalletPopUp/UnlinkWalletPopUp.cjs +1 -0
  246. package/src/lib/widgets/DynamicWidget/prompts/UnlinkWalletPopUp/UnlinkWalletPopUp.js +1 -0
  247. package/src/lib/widgets/DynamicWidget/views/EditProfileView/EditProfileView.cjs +1 -0
  248. package/src/lib/widgets/DynamicWidget/views/EditProfileView/EditProfileView.js +1 -0
  249. package/src/lib/widgets/DynamicWidget/views/ProfileView/ProfileView.cjs +1 -0
  250. package/src/lib/widgets/DynamicWidget/views/ProfileView/ProfileView.js +1 -0
  251. package/src/lib/widgets/DynamicWidget/views/WalletsView/WalletsView.cjs +1 -0
  252. package/src/lib/widgets/DynamicWidget/views/WalletsView/WalletsView.js +1 -0
  253. package/src/lib/widgets/FundingWidget/views/FundWalletView/FundWalletView.cjs +1 -0
  254. package/src/lib/widgets/FundingWidget/views/FundWalletView/FundWalletView.js +1 -0
  255. package/src/polyfills.cjs +1 -2
  256. package/src/polyfills.js +1 -2
  257. package/src/lib/utils/functions/hasWalletGroupFlag/hasWalletGroupFlag.cjs +0 -12
  258. package/src/lib/utils/functions/hasWalletGroupFlag/hasWalletGroupFlag.d.ts +0 -1
  259. package/src/lib/utils/functions/hasWalletGroupFlag/hasWalletGroupFlag.js +0 -8
@@ -31,6 +31,7 @@ import '../../../components/Popper/Popper/Popper.js';
31
31
  import '../../../components/Popper/PopperContext/PopperContext.js';
32
32
  import 'formik';
33
33
  import 'yup';
34
+ import '../../WalletGroupContext/WalletGroupContext.js';
34
35
  import '../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
35
36
  import '../../MockContext/MockContext.js';
36
37
  import '../../CaptchaContext/CaptchaContext.js';
@@ -34,6 +34,7 @@ require('../../components/Popper/Popper/Popper.cjs');
34
34
  require('../../components/Popper/PopperContext/PopperContext.cjs');
35
35
  require('formik');
36
36
  require('yup');
37
+ require('../WalletGroupContext/WalletGroupContext.cjs');
37
38
  require('../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
38
39
  var useDefaultQrCode = require('../../utils/hooks/useDefaultQrCode/useDefaultQrCode.cjs');
39
40
  require('../MockContext/MockContext.cjs');
@@ -30,6 +30,7 @@ import '../../components/Popper/Popper/Popper.js';
30
30
  import '../../components/Popper/PopperContext/PopperContext.js';
31
31
  import 'formik';
32
32
  import 'yup';
33
+ import '../WalletGroupContext/WalletGroupContext.js';
33
34
  import '../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
34
35
  import { useDefaultQrCode } from '../../utils/hooks/useDefaultQrCode/useDefaultQrCode.js';
35
36
  import '../MockContext/MockContext.js';
@@ -37,6 +37,7 @@ require('../../components/Popper/PopperContext/PopperContext.cjs');
37
37
  require('formik');
38
38
  require('yup');
39
39
  var SendBalanceModal = require('../../modals/SendBalanceModal/SendBalanceModal.cjs');
40
+ require('../WalletGroupContext/WalletGroupContext.cjs');
40
41
  require('../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
41
42
  require('../MockContext/MockContext.cjs');
42
43
  require('../CaptchaContext/CaptchaContext.cjs');
@@ -33,6 +33,7 @@ import '../../components/Popper/PopperContext/PopperContext.js';
33
33
  import 'formik';
34
34
  import 'yup';
35
35
  import { SendBalanceModal } from '../../modals/SendBalanceModal/SendBalanceModal.js';
36
+ import '../WalletGroupContext/WalletGroupContext.js';
36
37
  import '../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
37
38
  import '../MockContext/MockContext.js';
38
39
  import '../CaptchaContext/CaptchaContext.js';
@@ -35,6 +35,7 @@ require('../../components/Popper/Popper/Popper.cjs');
35
35
  require('../../components/Popper/PopperContext/PopperContext.cjs');
36
36
  require('formik');
37
37
  require('yup');
38
+ require('../WalletGroupContext/WalletGroupContext.cjs');
38
39
  require('../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
39
40
  require('../MockContext/MockContext.cjs');
40
41
  var ErrorContext = require('../ErrorContext/ErrorContext.cjs');
@@ -31,6 +31,7 @@ import '../../components/Popper/Popper/Popper.js';
31
31
  import '../../components/Popper/PopperContext/PopperContext.js';
32
32
  import 'formik';
33
33
  import 'yup';
34
+ import '../WalletGroupContext/WalletGroupContext.js';
34
35
  import '../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
35
36
  import '../MockContext/MockContext.js';
36
37
  import { useErrorContext } from '../ErrorContext/ErrorContext.js';
@@ -1,5 +1,5 @@
1
1
  import { SetStateAction, Dispatch, PropsWithChildren, FC } from 'react';
2
- export type ViewType = 'captcha' | 'chainalysis-blocked-wallet' | 'collect-user-data' | 'collect-user-data-login-with-email' | 'login-with-email-or-wallet-full-wallet-list' | 'login-with-email-or-wallet' | 'login-with-email-verification' | 'network-not-supported' | 'network-not-supported-manual' | 'no-access' | 'no-qr-not-installed' | 'pending-connect' | 'pending-signature-without-back-button' | 'pending-signature' | 'qr-code' | 'update-email' | 'verify-email' | 'wallet-connect-mobile-wallets-list' | 'wallet-list' | 'wallet-sign' | 'wallet-used' | 'wait-for-email-confirmation-view' | 'email-wallet-otp-verification-view' | 'social-redirect-view' | 'social-wrong-account';
2
+ export type ViewType = 'captcha' | 'chainalysis-blocked-wallet' | 'collect-user-data' | 'collect-user-data-login-with-email' | 'login-with-email-or-wallet-full-wallet-list' | 'login-with-email-or-wallet' | 'login-with-email-verification' | 'network-not-supported' | 'network-not-supported-manual' | 'no-access' | 'no-qr-not-installed' | 'pending-connect' | 'pending-signature-without-back-button' | 'pending-signature' | 'qr-code' | 'update-email' | 'verify-email' | 'wallet-connect-mobile-wallets-list' | 'wallet-list' | 'wallet-sign' | 'wallet-used' | 'wallet-group' | 'wait-for-email-confirmation-view' | 'email-wallet-otp-verification-view' | 'social-redirect-view' | 'social-wrong-account';
3
3
  export type ViewContextProps = {
4
4
  setView: Dispatch<SetStateAction<ViewType>>;
5
5
  view: ViewType;
@@ -0,0 +1,37 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var jsxRuntime = require('react/jsx-runtime');
6
+ var React = require('react');
7
+ var ViewContext = require('../ViewContext/ViewContext.cjs');
8
+
9
+ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
10
+
11
+ var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
12
+
13
+ const WalletGroupContext = React__default["default"].createContext(undefined);
14
+ const useWalletGroupContext = () => {
15
+ const context = React__default["default"].useContext(WalletGroupContext);
16
+ if (context === undefined) {
17
+ throw new Error('usage of useWalletGroupContext not wrapped in `WalletGroupContextProvider`.');
18
+ }
19
+ return context;
20
+ };
21
+ const WalletGroupContextProvider = ({ children, }) => {
22
+ const [selectedWalletGroup, setselectedWalletGroup] = React__default["default"].useState();
23
+ const { setView } = ViewContext.useViewContext();
24
+ const navigateToWalletGroup = React__default["default"].useCallback((walletGroup) => {
25
+ setselectedWalletGroup(walletGroup);
26
+ setView('wallet-group');
27
+ }, []);
28
+ const contextValue = {
29
+ navigateToWalletGroup,
30
+ selectedWalletGroup,
31
+ };
32
+ return (jsxRuntime.jsx(WalletGroupContext.Provider, Object.assign({ value: contextValue }, { children: children })));
33
+ };
34
+
35
+ exports.WalletGroupContext = WalletGroupContext;
36
+ exports.WalletGroupContextProvider = WalletGroupContextProvider;
37
+ exports.useWalletGroupContext = useWalletGroupContext;
@@ -0,0 +1,9 @@
1
+ import React, { FC, PropsWithChildren } from 'react';
2
+ import { WalletGroupOption } from '../../shared';
3
+ export type WalletGroupContextType = {
4
+ selectedWalletGroup?: WalletGroupOption;
5
+ navigateToWalletGroup: (walletGroup: WalletGroupOption) => void;
6
+ };
7
+ export declare const WalletGroupContext: React.Context<WalletGroupContextType | undefined>;
8
+ export declare const useWalletGroupContext: () => WalletGroupContextType;
9
+ export declare const WalletGroupContextProvider: FC<PropsWithChildren>;
@@ -0,0 +1,27 @@
1
+ import { jsx } from 'react/jsx-runtime';
2
+ import React__default from 'react';
3
+ import { useViewContext } from '../ViewContext/ViewContext.js';
4
+
5
+ const WalletGroupContext = React__default.createContext(undefined);
6
+ const useWalletGroupContext = () => {
7
+ const context = React__default.useContext(WalletGroupContext);
8
+ if (context === undefined) {
9
+ throw new Error('usage of useWalletGroupContext not wrapped in `WalletGroupContextProvider`.');
10
+ }
11
+ return context;
12
+ };
13
+ const WalletGroupContextProvider = ({ children, }) => {
14
+ const [selectedWalletGroup, setselectedWalletGroup] = React__default.useState();
15
+ const { setView } = useViewContext();
16
+ const navigateToWalletGroup = React__default.useCallback((walletGroup) => {
17
+ setselectedWalletGroup(walletGroup);
18
+ setView('wallet-group');
19
+ }, []);
20
+ const contextValue = {
21
+ navigateToWalletGroup,
22
+ selectedWalletGroup,
23
+ };
24
+ return (jsx(WalletGroupContext.Provider, Object.assign({ value: contextValue }, { children: children })));
25
+ };
26
+
27
+ export { WalletGroupContext, WalletGroupContextProvider, useWalletGroupContext };
@@ -35,6 +35,7 @@ require('../../context/AccessDeniedContext/AccessDeniedContext.cjs');
35
35
  require('../../components/IconButton/IconButton.cjs');
36
36
  var AnimatePresence = require('../../components/AnimatePresence/AnimatePresence.cjs');
37
37
  require('../../components/Alert/Alert.cjs');
38
+ require('../../context/WalletGroupContext/WalletGroupContext.cjs');
38
39
  require('../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
39
40
  var MockContext = require('../../context/MockContext/MockContext.cjs');
40
41
  require('../../context/CaptchaContext/CaptchaContext.cjs');
@@ -31,6 +31,7 @@ import '../../context/AccessDeniedContext/AccessDeniedContext.js';
31
31
  import '../../components/IconButton/IconButton.js';
32
32
  import { AnimatePresence } from '../../components/AnimatePresence/AnimatePresence.js';
33
33
  import '../../components/Alert/Alert.js';
34
+ import '../../context/WalletGroupContext/WalletGroupContext.js';
34
35
  import '../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
35
36
  import { useMockContext } from '../../context/MockContext/MockContext.js';
36
37
  import '../../context/CaptchaContext/CaptchaContext.js';
@@ -35,6 +35,7 @@ require('../../../context/ErrorContext/ErrorContext.cjs');
35
35
  require('../../../context/AccessDeniedContext/AccessDeniedContext.cjs');
36
36
  require('../../../components/IconButton/IconButton.cjs');
37
37
  require('../../../components/Alert/Alert.cjs');
38
+ require('../../../context/WalletGroupContext/WalletGroupContext.cjs');
38
39
  require('../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
39
40
  require('../../../context/MockContext/MockContext.cjs');
40
41
  require('../../../context/CaptchaContext/CaptchaContext.cjs');
@@ -31,6 +31,7 @@ import '../../../context/ErrorContext/ErrorContext.js';
31
31
  import '../../../context/AccessDeniedContext/AccessDeniedContext.js';
32
32
  import '../../../components/IconButton/IconButton.js';
33
33
  import '../../../components/Alert/Alert.js';
34
+ import '../../../context/WalletGroupContext/WalletGroupContext.js';
34
35
  import '../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
35
36
  import '../../../context/MockContext/MockContext.js';
36
37
  import '../../../context/CaptchaContext/CaptchaContext.js';
@@ -31,6 +31,7 @@ require('../../../../../context/ErrorContext/ErrorContext.cjs');
31
31
  require('../../../../../context/AccessDeniedContext/AccessDeniedContext.cjs');
32
32
  require('../../../../../components/IconButton/IconButton.cjs');
33
33
  require('../../../../../components/Alert/Alert.cjs');
34
+ require('../../../../../context/WalletGroupContext/WalletGroupContext.cjs');
34
35
  require('../../../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
35
36
  require('../../../../../context/MockContext/MockContext.cjs');
36
37
  require('../../../../../context/CaptchaContext/CaptchaContext.cjs');
@@ -27,6 +27,7 @@ import '../../../../../context/ErrorContext/ErrorContext.js';
27
27
  import '../../../../../context/AccessDeniedContext/AccessDeniedContext.js';
28
28
  import '../../../../../components/IconButton/IconButton.js';
29
29
  import '../../../../../components/Alert/Alert.js';
30
+ import '../../../../../context/WalletGroupContext/WalletGroupContext.js';
30
31
  import '../../../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
31
32
  import '../../../../../context/MockContext/MockContext.js';
32
33
  import '../../../../../context/CaptchaContext/CaptchaContext.js';
@@ -32,6 +32,7 @@ require('../../../../../context/ErrorContext/ErrorContext.cjs');
32
32
  require('../../../../../context/AccessDeniedContext/AccessDeniedContext.cjs');
33
33
  require('../../../../../components/IconButton/IconButton.cjs');
34
34
  require('../../../../../components/Alert/Alert.cjs');
35
+ require('../../../../../context/WalletGroupContext/WalletGroupContext.cjs');
35
36
  require('../../../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
36
37
  require('../../../../../context/MockContext/MockContext.cjs');
37
38
  require('../../../../../context/CaptchaContext/CaptchaContext.cjs');
@@ -28,6 +28,7 @@ import '../../../../../context/ErrorContext/ErrorContext.js';
28
28
  import '../../../../../context/AccessDeniedContext/AccessDeniedContext.js';
29
29
  import '../../../../../components/IconButton/IconButton.js';
30
30
  import '../../../../../components/Alert/Alert.js';
31
+ import '../../../../../context/WalletGroupContext/WalletGroupContext.js';
31
32
  import '../../../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
32
33
  import '../../../../../context/MockContext/MockContext.js';
33
34
  import '../../../../../context/CaptchaContext/CaptchaContext.js';
@@ -36,6 +36,7 @@ require('../../../../context/AccessDeniedContext/AccessDeniedContext.cjs');
36
36
  require('../../../../components/IconButton/IconButton.cjs');
37
37
  require('../../../../components/Alert/Alert.cjs');
38
38
  var Skeleton = require('../../../../components/Skeleton/Skeleton.cjs');
39
+ require('../../../../context/WalletGroupContext/WalletGroupContext.cjs');
39
40
  require('../../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
40
41
  require('../../../../context/MockContext/MockContext.cjs');
41
42
  require('../../../../context/CaptchaContext/CaptchaContext.cjs');
@@ -32,6 +32,7 @@ import '../../../../context/AccessDeniedContext/AccessDeniedContext.js';
32
32
  import '../../../../components/IconButton/IconButton.js';
33
33
  import '../../../../components/Alert/Alert.js';
34
34
  import { Skeleton } from '../../../../components/Skeleton/Skeleton.js';
35
+ import '../../../../context/WalletGroupContext/WalletGroupContext.js';
35
36
  import '../../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
36
37
  import '../../../../context/MockContext/MockContext.js';
37
38
  import '../../../../context/CaptchaContext/CaptchaContext.js';
@@ -36,6 +36,7 @@ require('../../../../context/AccessDeniedContext/AccessDeniedContext.cjs');
36
36
  require('../../../../components/IconButton/IconButton.cjs');
37
37
  var PoweredByDynamic = require('../../../../components/PoweredByDynamic/PoweredByDynamic.cjs');
38
38
  require('../../../../components/Alert/Alert.cjs');
39
+ require('../../../../context/WalletGroupContext/WalletGroupContext.cjs');
39
40
  require('../../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
40
41
  require('../../../../context/MockContext/MockContext.cjs');
41
42
  require('../../../../context/CaptchaContext/CaptchaContext.cjs');
@@ -32,6 +32,7 @@ import '../../../../context/AccessDeniedContext/AccessDeniedContext.js';
32
32
  import '../../../../components/IconButton/IconButton.js';
33
33
  import { PoweredByDynamic } from '../../../../components/PoweredByDynamic/PoweredByDynamic.js';
34
34
  import '../../../../components/Alert/Alert.js';
35
+ import '../../../../context/WalletGroupContext/WalletGroupContext.js';
35
36
  import '../../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
36
37
  import '../../../../context/MockContext/MockContext.js';
37
38
  import '../../../../context/CaptchaContext/CaptchaContext.js';
@@ -35,6 +35,7 @@ var ModalHeader = require('../../../components/ModalHeader/ModalHeader.cjs');
35
35
  var IconButton = require('../../../components/IconButton/IconButton.cjs');
36
36
  require('../../../components/Alert/Alert.cjs');
37
37
  var Skeleton = require('../../../components/Skeleton/Skeleton.cjs');
38
+ require('../../../context/WalletGroupContext/WalletGroupContext.cjs');
38
39
  require('../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
39
40
  require('../../../context/MockContext/MockContext.cjs');
40
41
  require('../../../context/CaptchaContext/CaptchaContext.cjs');
@@ -65,6 +66,7 @@ const Header = ({ onClose: handleClose, heading, projectSettings, }) => {
65
66
  view === 'wallet-connect-mobile-wallets-list' ||
66
67
  view === 'login-with-email-verification' ||
67
68
  view === 'login-with-email-or-wallet-full-wallet-list' ||
69
+ view === 'wallet-group' ||
68
70
  view === 'pending-connect') && (jsxRuntime.jsx(IconButton.IconButton, Object.assign({ type: 'button', onClick: handleBackClick, "data-testid": 'back-button' }, { children: jsxRuntime.jsx(chevronLeft.ReactComponent, {}) })));
69
71
  const closeButton = showCloseButton && (jsxRuntime.jsx(IconButton.IconButton, Object.assign({ onClick: handleClose, type: 'button', id: 'close-button', "data-testid": 'close-button' }, { children: jsxRuntime.jsx(close.ReactComponent, {}) })));
70
72
  const qrCodePreHeader = (jsxRuntime.jsxs("div", Object.assign({ className: 'qr-code-view__scan-issue-message' }, { children: [jsxRuntime.jsx(Typography.Typography, Object.assign({ color: 'primary', variant: 'body_small' }, { children: "If you're having issues scanning, click\u00A0" })), jsxRuntime.jsx("button", Object.assign({ className: 'qr-code-view__scan-issue-button', onClick: () => setShowQrCodeImage(true) }, { children: "here" }))] })));
@@ -31,6 +31,7 @@ import { ModalHeader } from '../../../components/ModalHeader/ModalHeader.js';
31
31
  import { IconButton } from '../../../components/IconButton/IconButton.js';
32
32
  import '../../../components/Alert/Alert.js';
33
33
  import { Skeleton } from '../../../components/Skeleton/Skeleton.js';
34
+ import '../../../context/WalletGroupContext/WalletGroupContext.js';
34
35
  import '../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
35
36
  import '../../../context/MockContext/MockContext.js';
36
37
  import '../../../context/CaptchaContext/CaptchaContext.js';
@@ -61,6 +62,7 @@ const Header = ({ onClose: handleClose, heading, projectSettings, }) => {
61
62
  view === 'wallet-connect-mobile-wallets-list' ||
62
63
  view === 'login-with-email-verification' ||
63
64
  view === 'login-with-email-or-wallet-full-wallet-list' ||
65
+ view === 'wallet-group' ||
64
66
  view === 'pending-connect') && (jsx(IconButton, Object.assign({ type: 'button', onClick: handleBackClick, "data-testid": 'back-button' }, { children: jsx(SvgChevronLeft, {}) })));
65
67
  const closeButton = showCloseButton && (jsx(IconButton, Object.assign({ onClick: handleClose, type: 'button', id: 'close-button', "data-testid": 'close-button' }, { children: jsx(SvgClose, {}) })));
66
68
  const qrCodePreHeader = (jsxs("div", Object.assign({ className: 'qr-code-view__scan-issue-message' }, { children: [jsx(Typography, Object.assign({ color: 'primary', variant: 'body_small' }, { children: "If you're having issues scanning, click\u00A0" })), jsx("button", Object.assign({ className: 'qr-code-view__scan-issue-button', onClick: () => setShowQrCodeImage(true) }, { children: "here" }))] })));
@@ -34,6 +34,7 @@ var ModalHeader = require('../../components/ModalHeader/ModalHeader.cjs');
34
34
  var IconButton = require('../../components/IconButton/IconButton.cjs');
35
35
  var Button = require('../../components/Button/Button.cjs');
36
36
  require('../../components/Alert/Alert.cjs');
37
+ require('../../context/WalletGroupContext/WalletGroupContext.cjs');
37
38
  require('../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
38
39
  require('../../context/MockContext/MockContext.cjs');
39
40
  require('../../context/CaptchaContext/CaptchaContext.cjs');
@@ -30,6 +30,7 @@ import { ModalHeader } from '../../components/ModalHeader/ModalHeader.js';
30
30
  import { IconButton } from '../../components/IconButton/IconButton.js';
31
31
  import { Button } from '../../components/Button/Button.js';
32
32
  import '../../components/Alert/Alert.js';
33
+ import '../../context/WalletGroupContext/WalletGroupContext.js';
33
34
  import '../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
34
35
  import '../../context/MockContext/MockContext.js';
35
36
  import '../../context/CaptchaContext/CaptchaContext.js';
@@ -35,6 +35,7 @@ var ModalHeader = require('../../components/ModalHeader/ModalHeader.cjs');
35
35
  var IconButton = require('../../components/IconButton/IconButton.cjs');
36
36
  var Button = require('../../components/Button/Button.cjs');
37
37
  require('../../components/Alert/Alert.cjs');
38
+ require('../../context/WalletGroupContext/WalletGroupContext.cjs');
38
39
  require('../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
39
40
  require('../../context/MockContext/MockContext.cjs');
40
41
  require('../../context/CaptchaContext/CaptchaContext.cjs');
@@ -31,6 +31,7 @@ import { ModalHeader } from '../../components/ModalHeader/ModalHeader.js';
31
31
  import { IconButton } from '../../components/IconButton/IconButton.js';
32
32
  import { Button } from '../../components/Button/Button.js';
33
33
  import '../../components/Alert/Alert.js';
34
+ import '../../context/WalletGroupContext/WalletGroupContext.js';
34
35
  import '../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
35
36
  import '../../context/MockContext/MockContext.js';
36
37
  import '../../context/CaptchaContext/CaptchaContext.js';
@@ -34,6 +34,7 @@ require('../../context/AccessDeniedContext/AccessDeniedContext.cjs');
34
34
  var ModalHeader = require('../../components/ModalHeader/ModalHeader.cjs');
35
35
  var IconButton = require('../../components/IconButton/IconButton.cjs');
36
36
  require('../../components/Alert/Alert.cjs');
37
+ require('../../context/WalletGroupContext/WalletGroupContext.cjs');
37
38
  require('../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
38
39
  require('../../context/MockContext/MockContext.cjs');
39
40
  require('../../context/CaptchaContext/CaptchaContext.cjs');
@@ -30,6 +30,7 @@ import '../../context/AccessDeniedContext/AccessDeniedContext.js';
30
30
  import { ModalHeader } from '../../components/ModalHeader/ModalHeader.js';
31
31
  import { IconButton } from '../../components/IconButton/IconButton.js';
32
32
  import '../../components/Alert/Alert.js';
33
+ import '../../context/WalletGroupContext/WalletGroupContext.js';
33
34
  import '../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
34
35
  import '../../context/MockContext/MockContext.js';
35
36
  import '../../context/CaptchaContext/CaptchaContext.js';
@@ -31,6 +31,7 @@ require('../../../../context/ErrorContext/ErrorContext.cjs');
31
31
  require('../../../../context/AccessDeniedContext/AccessDeniedContext.cjs');
32
32
  require('../../../../components/IconButton/IconButton.cjs');
33
33
  require('../../../../components/Alert/Alert.cjs');
34
+ require('../../../../context/WalletGroupContext/WalletGroupContext.cjs');
34
35
  var ConnectedWalletsListLayout = require('../../../../layouts/ConnectedWalletsListLayout/ConnectedWalletsListLayout.cjs');
35
36
  var DynamicBridgeWalletCard = require('../../../../widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCard/DynamicBridgeWalletCard.cjs');
36
37
  var DynamicBridgeWalletCardBody = require('../../../../widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCardBody/DynamicBridgeWalletCardBody.cjs');
@@ -27,6 +27,7 @@ import '../../../../context/ErrorContext/ErrorContext.js';
27
27
  import '../../../../context/AccessDeniedContext/AccessDeniedContext.js';
28
28
  import '../../../../components/IconButton/IconButton.js';
29
29
  import '../../../../components/Alert/Alert.js';
30
+ import '../../../../context/WalletGroupContext/WalletGroupContext.js';
30
31
  import { ConnectedWalletsListLayout } from '../../../../layouts/ConnectedWalletsListLayout/ConnectedWalletsListLayout.js';
31
32
  import { DynamicBridgeWalletCard } from '../../../../widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCard/DynamicBridgeWalletCard.js';
32
33
  import { DynamicBridgeWalletCardBody } from '../../../../widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCardBody/DynamicBridgeWalletCardBody.js';
@@ -32,6 +32,7 @@ require('../../../../context/ErrorContext/ErrorContext.cjs');
32
32
  require('../../../../context/AccessDeniedContext/AccessDeniedContext.cjs');
33
33
  require('../../../../components/IconButton/IconButton.cjs');
34
34
  require('../../../../components/Alert/Alert.cjs');
35
+ require('../../../../context/WalletGroupContext/WalletGroupContext.cjs');
35
36
  require('../../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
36
37
  require('../../../../context/MockContext/MockContext.cjs');
37
38
  require('../../../../context/CaptchaContext/CaptchaContext.cjs');
@@ -28,6 +28,7 @@ import '../../../../context/ErrorContext/ErrorContext.js';
28
28
  import '../../../../context/AccessDeniedContext/AccessDeniedContext.js';
29
29
  import '../../../../components/IconButton/IconButton.js';
30
30
  import '../../../../components/Alert/Alert.js';
31
+ import '../../../../context/WalletGroupContext/WalletGroupContext.js';
31
32
  import '../../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
32
33
  import '../../../../context/MockContext/MockContext.js';
33
34
  import '../../../../context/CaptchaContext/CaptchaContext.js';
@@ -27,6 +27,7 @@ require('@dynamic-labs/rpc-providers');
27
27
  require('../../context/ErrorContext/ErrorContext.cjs');
28
28
  require('../../context/AccessDeniedContext/AccessDeniedContext.cjs');
29
29
  var SendBalanceView = require('../../views/SendBalanceView/SendBalanceView.cjs');
30
+ require('../../context/WalletGroupContext/WalletGroupContext.cjs');
30
31
  require('../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
31
32
  require('../../context/MockContext/MockContext.cjs');
32
33
  require('../../context/CaptchaContext/CaptchaContext.cjs');
@@ -23,6 +23,7 @@ import '@dynamic-labs/rpc-providers';
23
23
  import '../../context/ErrorContext/ErrorContext.js';
24
24
  import '../../context/AccessDeniedContext/AccessDeniedContext.js';
25
25
  import { SendBalanceView } from '../../views/SendBalanceView/SendBalanceView.js';
26
+ import '../../context/WalletGroupContext/WalletGroupContext.js';
26
27
  import '../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
27
28
  import '../../context/MockContext/MockContext.js';
28
29
  import '../../context/CaptchaContext/CaptchaContext.js';
@@ -42,6 +42,7 @@ require('../../components/Transition/OpacityTransition/OpacityTransition.cjs');
42
42
  var VerticalDrawerTransition = require('../../components/Transition/VerticalDrawerTransition/VerticalDrawerTransition.cjs');
43
43
  require('../../components/Alert/Alert.cjs');
44
44
  var AppOriginTile = require('../../components/AppOriginTile/AppOriginTile.cjs');
45
+ require('../../context/WalletGroupContext/WalletGroupContext.cjs');
45
46
  require('../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
46
47
  require('../../context/MockContext/MockContext.cjs');
47
48
  require('../../context/CaptchaContext/CaptchaContext.cjs');
@@ -38,6 +38,7 @@ import '../../components/Transition/OpacityTransition/OpacityTransition.js';
38
38
  import { VerticalDrawerTransition } from '../../components/Transition/VerticalDrawerTransition/VerticalDrawerTransition.js';
39
39
  import '../../components/Alert/Alert.js';
40
40
  import { AppOriginTile } from '../../components/AppOriginTile/AppOriginTile.js';
41
+ import '../../context/WalletGroupContext/WalletGroupContext.js';
41
42
  import '../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
42
43
  import '../../context/MockContext/MockContext.js';
43
44
  import '../../context/CaptchaContext/CaptchaContext.js';
@@ -32,6 +32,7 @@ require('../../components/Transition/ZoomTransition/ZoomTransition.cjs');
32
32
  require('../../components/Transition/SlideInUpTransition/SlideInUpTransition.cjs');
33
33
  require('../../components/Transition/OpacityTransition/OpacityTransition.cjs');
34
34
  require('../../components/Alert/Alert.cjs');
35
+ require('../../context/WalletGroupContext/WalletGroupContext.cjs');
35
36
  require('../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
36
37
  require('../../context/MockContext/MockContext.cjs');
37
38
  require('../../context/CaptchaContext/CaptchaContext.cjs');
@@ -28,6 +28,7 @@ import '../../components/Transition/ZoomTransition/ZoomTransition.js';
28
28
  import '../../components/Transition/SlideInUpTransition/SlideInUpTransition.js';
29
29
  import '../../components/Transition/OpacityTransition/OpacityTransition.js';
30
30
  import '../../components/Alert/Alert.js';
31
+ import '../../context/WalletGroupContext/WalletGroupContext.js';
31
32
  import '../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
32
33
  import '../../context/MockContext/MockContext.js';
33
34
  import '../../context/CaptchaContext/CaptchaContext.js';
@@ -42,6 +42,9 @@ export interface WalletOption {
42
42
  group?: string;
43
43
  groupedWallets?: WalletOption[];
44
44
  }
45
+ export type WalletGroupOption = WalletOption & {
46
+ groupedWallets: WalletOption[];
47
+ };
45
48
  export type ErrorWithCode = Error & {
46
49
  code: string;
47
50
  };