@dynamic-labs/sdk-react-core 1.1.0-alpha.0 → 1.1.0-alpha.10

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 (662) hide show
  1. package/CHANGELOG.md +106 -0
  2. package/package.cjs +3 -3
  3. package/package.js +3 -3
  4. package/package.json +14 -13
  5. package/src/index.cjs +30 -7
  6. package/src/index.d.ts +2 -1
  7. package/src/index.js +18 -5
  8. package/src/lib/Main.cjs +5 -5
  9. package/src/lib/Main.js +5 -5
  10. package/src/lib/components/Accordion/components/AccordionItem/AccordionItem.cjs +2 -1
  11. package/src/lib/components/Accordion/components/AccordionItem/AccordionItem.js +2 -1
  12. package/src/lib/components/Alert/Alert.types.d.ts +2 -1
  13. package/src/lib/components/AnimatePresence/AnimatePresence.cjs +2 -1
  14. package/src/lib/components/AnimatePresence/AnimatePresence.js +2 -1
  15. package/src/lib/components/AuthProviderIcon/AuthProviderIcon.cjs +2 -1
  16. package/src/lib/components/AuthProviderIcon/AuthProviderIcon.js +2 -1
  17. package/src/lib/components/Button/Button.cjs +2 -2
  18. package/src/lib/components/Button/Button.d.ts +2 -1
  19. package/src/lib/components/Button/Button.js +2 -2
  20. package/src/lib/components/ChainCard/ChainCard.d.ts +2 -2
  21. package/src/lib/components/CopyButton/CopyButton.d.ts +2 -1
  22. package/src/lib/components/Divider/Divider.cjs +3 -2
  23. package/src/lib/components/Divider/Divider.js +3 -2
  24. package/src/lib/components/DynamicBaseWidget/DynamicBaseWidget.cjs +13 -0
  25. package/src/lib/components/DynamicBaseWidget/DynamicBaseWidget.d.ts +7 -0
  26. package/src/lib/components/DynamicBaseWidget/DynamicBaseWidget.js +9 -0
  27. package/src/lib/components/DynamicBaseWidget/index.d.ts +1 -0
  28. package/src/lib/components/DynamicConnectButton/DynamicConnectButton.cjs +2 -2
  29. package/src/lib/components/DynamicConnectButton/DynamicConnectButton.d.ts +3 -2
  30. package/src/lib/components/DynamicConnectButton/DynamicConnectButton.js +2 -2
  31. package/src/lib/components/DynamicConnectButton/components/ConnectButton.cjs +1 -1
  32. package/src/lib/components/DynamicConnectButton/components/ConnectButton.d.ts +2 -1
  33. package/src/lib/components/DynamicConnectButton/components/ConnectButton.js +1 -1
  34. package/src/lib/components/ErrorContainer/ErrorContainer.cjs +2 -2
  35. package/src/lib/components/ErrorContainer/ErrorContainer.d.ts +2 -1
  36. package/src/lib/components/ErrorContainer/ErrorContainer.js +2 -2
  37. package/src/lib/components/Input/Input.types.d.ts +2 -1
  38. package/src/lib/components/ListTile/ListTile.cjs +1 -1
  39. package/src/lib/components/ListTile/ListTile.js +1 -1
  40. package/src/lib/components/ListTile/ListTile.types.d.ts +2 -1
  41. package/src/lib/components/MenuList/Dropdown/Dropdown.cjs +2 -1
  42. package/src/lib/components/MenuList/Dropdown/Dropdown.js +2 -1
  43. package/src/lib/components/Modal/Modal.cjs +2 -1
  44. package/src/lib/components/Modal/Modal.d.ts +1 -2
  45. package/src/lib/components/Modal/Modal.js +2 -1
  46. package/src/lib/components/Modal/index.d.ts +1 -1
  47. package/src/lib/components/ModalHeaderBanner/ModalHeaderBanner.cjs +9 -5
  48. package/src/lib/components/ModalHeaderBanner/ModalHeaderBanner.d.ts +1 -1
  49. package/src/lib/components/ModalHeaderBanner/ModalHeaderBanner.js +9 -5
  50. package/src/lib/components/NeedHelpSection/NeedHelpSection.cjs +5 -4
  51. package/src/lib/components/NeedHelpSection/NeedHelpSection.js +5 -4
  52. package/src/lib/components/NetworkPicker/NetworkPicker.cjs +2 -1
  53. package/src/lib/components/NetworkPicker/NetworkPicker.js +2 -1
  54. package/src/lib/components/NetworkPicker/components/EvmNetworkControl/EvmNetworkControl.cjs +3 -2
  55. package/src/lib/components/NetworkPicker/components/EvmNetworkControl/EvmNetworkControl.js +3 -2
  56. package/src/lib/components/NetworkPicker/components/Network/Network.cjs +3 -2
  57. package/src/lib/components/NetworkPicker/components/Network/Network.js +3 -2
  58. package/src/lib/components/NetworkPicker/components/NonNetworkSwitchingSupportedControl/NonNetworkSwitchingSupportedControl.cjs +3 -2
  59. package/src/lib/components/NetworkPicker/components/NonNetworkSwitchingSupportedControl/NonNetworkSwitchingSupportedControl.js +3 -2
  60. package/src/lib/components/NetworkPicker/components/UnsupportedNetwork/UnsupportedNetwork.cjs +1 -1
  61. package/src/lib/components/NetworkPicker/components/UnsupportedNetwork/UnsupportedNetwork.js +1 -1
  62. package/src/lib/components/OTPVerificationView/OTPVerificationView.cjs +10 -8
  63. package/src/lib/components/OTPVerificationView/OTPVerificationView.d.ts +1 -1
  64. package/src/lib/components/OTPVerificationView/OTPVerificationView.js +10 -8
  65. package/src/lib/components/OverlayCard/OverlayCard.cjs +2 -1
  66. package/src/lib/components/OverlayCard/OverlayCard.js +2 -1
  67. package/src/lib/components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.cjs +3 -2
  68. package/src/lib/components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.js +3 -2
  69. package/src/lib/components/Portal/Portal.cjs +2 -1
  70. package/src/lib/components/Portal/Portal.js +2 -1
  71. package/src/lib/components/Search/Search.cjs +1 -1
  72. package/src/lib/components/Search/Search.d.ts +2 -1
  73. package/src/lib/components/Search/Search.js +1 -1
  74. package/src/lib/components/SecureTurnkeyWalletCard/SecureTurnkeyWalletCard.cjs +2 -2
  75. package/src/lib/components/SecureTurnkeyWalletCard/SecureTurnkeyWalletCard.js +2 -2
  76. package/src/lib/components/SelectWalletChainLayout/SelectWalletChainLayout.cjs +5 -1
  77. package/src/lib/components/SelectWalletChainLayout/SelectWalletChainLayout.js +5 -1
  78. package/src/lib/components/SendBalanceForm/SendBalanceForm.cjs +3 -3
  79. package/src/lib/components/SendBalanceForm/SendBalanceForm.js +3 -3
  80. package/src/lib/components/SendBalancePageLayout/SendBalancePageLayout.cjs +1 -1
  81. package/src/lib/components/SendBalancePageLayout/SendBalancePageLayout.js +1 -1
  82. package/src/lib/components/SendBalancePageLayout/components/TokenBalanceCard/TokenBalanceCard.cjs +1 -1
  83. package/src/lib/components/SendBalancePageLayout/components/TokenBalanceCard/TokenBalanceCard.js +1 -1
  84. package/src/lib/components/ShadowDOM/index.d.ts +1 -1
  85. package/src/lib/components/SocialSignIn/SocialSignIn.cjs +2 -1
  86. package/src/lib/components/SocialSignIn/SocialSignIn.js +2 -1
  87. package/src/lib/components/SyncPasskeyFlow/SyncPasskeyFlow.cjs +2 -1
  88. package/src/lib/components/SyncPasskeyFlow/SyncPasskeyFlow.js +2 -1
  89. package/src/lib/components/TextButton/TextButton.d.ts +2 -1
  90. package/src/lib/components/Toggle/Toggle.cjs +14 -0
  91. package/src/lib/components/Toggle/Toggle.d.ts +7 -0
  92. package/src/lib/components/Toggle/Toggle.js +10 -0
  93. package/src/lib/components/Toggle/index.d.ts +1 -0
  94. package/src/lib/components/Tooltip/Tooltip.cjs +4 -3
  95. package/src/lib/components/Tooltip/Tooltip.d.ts +2 -1
  96. package/src/lib/components/Tooltip/Tooltip.js +4 -3
  97. package/src/lib/components/TransactionConfirmationPageLayout/TransactionConfirmationPageLayout.cjs +3 -3
  98. package/src/lib/components/TransactionConfirmationPageLayout/TransactionConfirmationPageLayout.d.ts +2 -1
  99. package/src/lib/components/TransactionConfirmationPageLayout/TransactionConfirmationPageLayout.js +3 -3
  100. package/src/lib/components/TransactionConfirmationPageLayout/components/TransactionRow/TransactionRow.cjs +1 -1
  101. package/src/lib/components/TransactionConfirmationPageLayout/components/TransactionRow/TransactionRow.d.ts +2 -1
  102. package/src/lib/components/TransactionConfirmationPageLayout/components/TransactionRow/TransactionRow.js +1 -1
  103. package/src/lib/components/TransactionStatusLayout/TransactionStatusLayout.cjs +3 -2
  104. package/src/lib/components/TransactionStatusLayout/TransactionStatusLayout.js +3 -2
  105. package/src/lib/components/Transition/VerticalDrawerTransition/VerticalDrawerTransition.cjs +2 -1
  106. package/src/lib/components/Transition/VerticalDrawerTransition/VerticalDrawerTransition.js +2 -1
  107. package/src/lib/components/Typography/Typography.types.d.ts +2 -1
  108. package/src/lib/components/UserAddress/UserAddress.cjs +2 -1
  109. package/src/lib/components/UserAddress/UserAddress.js +2 -1
  110. package/src/lib/components/UserProfile/UserProfile.cjs +2 -2
  111. package/src/lib/components/UserProfile/UserProfile.d.ts +1 -0
  112. package/src/lib/components/UserProfile/UserProfile.js +2 -2
  113. package/src/lib/components/UserProfile/parts/UserProfileField/UserProfileField.cjs +5 -4
  114. package/src/lib/components/UserProfile/parts/UserProfileField/UserProfileField.d.ts +3 -2
  115. package/src/lib/components/UserProfile/parts/UserProfileField/UserProfileField.js +5 -4
  116. package/src/lib/components/UserProfile/parts/UserProfileSection/UserProfileSection.cjs +3 -2
  117. package/src/lib/components/UserProfile/parts/UserProfileSection/UserProfileSection.js +3 -2
  118. package/src/lib/components/UserProfile/parts/UserProfileSocialAccount/UserProfileSocialAccount.cjs +3 -2
  119. package/src/lib/components/UserProfile/parts/UserProfileSocialAccount/UserProfileSocialAccount.js +3 -2
  120. package/src/lib/components/index.d.ts +1 -0
  121. package/src/lib/context/ConnectWithEmailOtpContext/ConnectWithEmailOtpProvider.cjs +122 -0
  122. package/src/lib/context/ConnectWithEmailOtpContext/ConnectWithEmailOtpProvider.d.ts +2 -0
  123. package/src/lib/context/ConnectWithEmailOtpContext/ConnectWithEmailOtpProvider.js +118 -0
  124. package/src/lib/context/ConnectWithEmailOtpContext/connectWithEmailOtpContext.cjs +9 -0
  125. package/src/lib/context/ConnectWithEmailOtpContext/connectWithEmailOtpContext.d.ts +3 -0
  126. package/src/lib/context/ConnectWithEmailOtpContext/connectWithEmailOtpContext.js +5 -0
  127. package/src/lib/context/ConnectWithEmailOtpContext/constants.cjs +15 -0
  128. package/src/lib/context/ConnectWithEmailOtpContext/constants.d.ts +4 -0
  129. package/src/lib/context/ConnectWithEmailOtpContext/constants.js +10 -0
  130. package/src/lib/context/ConnectWithEmailOtpContext/index.d.ts +2 -0
  131. package/src/lib/context/ConnectWithEmailOtpContext/types.d.ts +13 -0
  132. package/src/lib/context/ConnectWithEmailOtpContext/useConnectWithEmailOtp.cjs +19 -0
  133. package/src/lib/context/ConnectWithEmailOtpContext/useConnectWithEmailOtp.d.ts +6 -0
  134. package/src/lib/context/ConnectWithEmailOtpContext/useConnectWithEmailOtp.js +15 -0
  135. package/src/lib/context/ConnectWithEmailOtpContext/utils/createEmailHandler.cjs +27 -0
  136. package/src/lib/context/ConnectWithEmailOtpContext/utils/createEmailHandler.d.ts +2 -0
  137. package/src/lib/context/ConnectWithEmailOtpContext/utils/createEmailHandler.js +23 -0
  138. package/src/lib/context/ConnectWithEmailOtpContext/utils/createMagicHandler.cjs +21 -0
  139. package/src/lib/context/ConnectWithEmailOtpContext/utils/createMagicHandler.d.ts +3 -0
  140. package/src/lib/context/ConnectWithEmailOtpContext/utils/createMagicHandler.js +17 -0
  141. package/src/lib/context/ConnectWithEmailOtpContext/utils/findEmailProvider.cjs +20 -0
  142. package/src/lib/context/ConnectWithEmailOtpContext/utils/findEmailProvider.d.ts +2 -0
  143. package/src/lib/context/ConnectWithEmailOtpContext/utils/findEmailProvider.js +16 -0
  144. package/src/lib/context/DynamicContext/DynamicContext.cjs +55 -55
  145. package/src/lib/context/DynamicContext/DynamicContext.js +56 -56
  146. package/src/lib/context/DynamicContext/hooks/index.d.ts +3 -2
  147. package/src/lib/context/DynamicContext/hooks/useDisplayOrderState/useDisplayOrderState.cjs +16 -16
  148. package/src/lib/context/DynamicContext/hooks/useDisplayOrderState/useDisplayOrderState.js +17 -17
  149. package/src/lib/context/DynamicContext/hooks/useSetShowLinkNewWalletModal/index.d.ts +1 -0
  150. package/src/lib/context/DynamicContext/hooks/useSetShowLinkNewWalletModal/useSetShowLinkNewWalletModal.cjs +48 -0
  151. package/src/lib/context/DynamicContext/hooks/{useSetShowAuthFlowWithInit/useSetShowAuthFlowWithInit.d.ts → useSetShowLinkNewWalletModal/useSetShowLinkNewWalletModal.d.ts} +4 -7
  152. package/src/lib/context/DynamicContext/hooks/useSetShowLinkNewWalletModal/useSetShowLinkNewWalletModal.js +44 -0
  153. package/src/lib/context/DynamicContext/hooks/useShowAuthFlow/index.d.ts +1 -0
  154. package/src/lib/context/DynamicContext/hooks/useShowAuthFlow/useShowAuthFlow.cjs +59 -0
  155. package/src/lib/context/DynamicContext/hooks/useShowAuthFlow/useShowAuthFlow.d.ts +37 -0
  156. package/src/lib/context/DynamicContext/hooks/useShowAuthFlow/useShowAuthFlow.js +55 -0
  157. package/src/lib/context/DynamicContext/hooks/useTieCallbacksToEvents/index.d.ts +1 -0
  158. package/src/lib/context/DynamicContext/hooks/useTieCallbacksToEvents/useTieCallbacksToEvents.cjs +76 -0
  159. package/src/lib/context/DynamicContext/hooks/useTieCallbacksToEvents/useTieCallbacksToEvents.d.ts +3 -0
  160. package/src/lib/context/DynamicContext/hooks/useTieCallbacksToEvents/useTieCallbacksToEvents.js +72 -0
  161. package/src/lib/context/DynamicContext/types/index.d.ts +11 -10
  162. package/src/lib/context/DynamicContext/useCustomerCallbacks/types.d.ts +3 -5
  163. package/src/lib/context/DynamicContext/useCustomerCallbacks/useCustomerAuthFlowCallbacks.cjs +2 -1
  164. package/src/lib/context/DynamicContext/useCustomerCallbacks/useCustomerAuthFlowCallbacks.js +2 -1
  165. package/src/lib/context/DynamicContext/useCustomerCallbacks/useCustomerCallbacks.cjs +4 -24
  166. package/src/lib/context/DynamicContext/useCustomerCallbacks/useCustomerCallbacks.d.ts +1 -1
  167. package/src/lib/context/DynamicContext/useCustomerCallbacks/useCustomerCallbacks.js +4 -24
  168. package/src/lib/context/DynamicContext/useDynamicContext.cjs +9 -2
  169. package/src/lib/context/DynamicContext/useDynamicContext.d.ts +4 -1
  170. package/src/lib/context/DynamicContext/useDynamicContext.js +9 -2
  171. package/src/lib/context/FundingContext/FundingContext.cjs +4 -1
  172. package/src/lib/context/FundingContext/FundingContext.js +4 -1
  173. package/src/lib/context/LoadingContext/LoadingContext.cjs +55 -15
  174. package/src/lib/context/LoadingContext/LoadingContext.d.ts +1 -1
  175. package/src/lib/context/LoadingContext/LoadingContext.js +56 -16
  176. package/src/lib/context/MockContext/MockContext.cjs +1 -0
  177. package/src/lib/context/MockContext/MockContext.js +1 -0
  178. package/src/lib/context/QrCodeContext/QrCodeContext.cjs +2 -1
  179. package/src/lib/context/QrCodeContext/QrCodeContext.js +2 -1
  180. package/src/lib/context/SendBalanceContext/SendBalanceContext.cjs +2 -1
  181. package/src/lib/context/SendBalanceContext/SendBalanceContext.js +2 -1
  182. package/src/lib/context/SocialRedirectContext/SocialRedirectContext.cjs +6 -16
  183. package/src/lib/context/SocialRedirectContext/SocialRedirectContext.js +7 -17
  184. package/src/lib/context/UserFieldEditorContext/UserFieldEditorContext.cjs +2 -1
  185. package/src/lib/context/UserFieldEditorContext/UserFieldEditorContext.js +2 -1
  186. package/src/lib/context/ViewContext/ViewContext.cjs +4 -15
  187. package/src/lib/context/ViewContext/ViewContext.d.ts +2 -4
  188. package/src/lib/context/ViewContext/ViewContext.js +5 -16
  189. package/src/lib/data/api.cjs +15 -13
  190. package/src/lib/data/api.d.ts +7 -2
  191. package/src/lib/data/api.js +16 -14
  192. package/src/lib/{context/DynamicContext/internalEvents/internalEvents.cjs → events/dynamicEvents.cjs} +2 -3
  193. package/src/lib/events/dynamicEvents.d.ts +18 -0
  194. package/src/lib/events/dynamicEvents.js +5 -0
  195. package/src/lib/events/index.d.ts +1 -0
  196. package/src/lib/layout/DynamicAuthLayout/DynamicAuthLayout.cjs +4 -3
  197. package/src/lib/layout/DynamicAuthLayout/DynamicAuthLayout.js +4 -3
  198. package/src/lib/layout/DynamicAuthLayout/Header/header.cjs +5 -4
  199. package/src/lib/layout/DynamicAuthLayout/Header/header.d.ts +2 -2
  200. package/src/lib/layout/DynamicAuthLayout/Header/header.js +5 -4
  201. package/src/lib/layout/DynamicAuthLayout/HelpContent/HelpHeader/HelpHeader.cjs +4 -3
  202. package/src/lib/layout/DynamicAuthLayout/HelpContent/HelpHeader/HelpHeader.js +4 -3
  203. package/src/lib/layout/DynamicAuthLayout/HelpContent/PasskeyInfoHelper/PasskeyInfoHelper.cjs +4 -3
  204. package/src/lib/layout/DynamicAuthLayout/HelpContent/PasskeyInfoHelper/PasskeyInfoHelper.js +4 -3
  205. package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/Item/Item.cjs +3 -2
  206. package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/Item/Item.js +3 -2
  207. package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/WalletExtensionOrAppContinueButton/WalletExtensionOrAppContinueButton.cjs +5 -4
  208. package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/WalletExtensionOrAppContinueButton/WalletExtensionOrAppContinueButton.js +5 -4
  209. package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/WalletListHelpContent.cjs +8 -7
  210. package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/WalletListHelpContent.js +8 -7
  211. package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletMoreInfoContent/WalletMoreInfoContent.cjs +3 -2
  212. package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletMoreInfoContent/WalletMoreInfoContent.js +3 -2
  213. package/src/lib/layout/DynamicAuthLayout/ToSFooter/ToSFooter.cjs +3 -2
  214. package/src/lib/layout/DynamicAuthLayout/ToSFooter/ToSFooter.js +3 -2
  215. package/src/lib/layout/DynamicAuthLayout/WalletProgressStepper/WalletProgressStepper.cjs +3 -2
  216. package/src/lib/layout/DynamicAuthLayout/WalletProgressStepper/WalletProgressStepper.js +3 -2
  217. package/src/lib/layout/DynamicUserProfileLayout/DynamicUserProfileLayout.cjs +2 -0
  218. package/src/lib/layout/DynamicUserProfileLayout/DynamicUserProfileLayout.js +3 -1
  219. package/src/lib/layouts/BridgeNextWalletToConnectLayout/BridgeNextWalletToConnectLayout.cjs +3 -2
  220. package/src/lib/layouts/BridgeNextWalletToConnectLayout/BridgeNextWalletToConnectLayout.js +3 -2
  221. package/src/lib/layouts/BridgeWelcomeLayout/BridgeWelcomeLayout.cjs +5 -4
  222. package/src/lib/layouts/BridgeWelcomeLayout/BridgeWelcomeLayout.d.ts +2 -1
  223. package/src/lib/layouts/BridgeWelcomeLayout/BridgeWelcomeLayout.js +5 -4
  224. package/src/lib/layouts/ConnectedWalletsListLayout/ConnectedWalletsListLayout.cjs +5 -4
  225. package/src/lib/layouts/ConnectedWalletsListLayout/ConnectedWalletsListLayout.d.ts +2 -1
  226. package/src/lib/layouts/ConnectedWalletsListLayout/ConnectedWalletsListLayout.js +5 -4
  227. package/src/lib/locale/en/translation.cjs +248 -3
  228. package/src/lib/locale/en/translation.d.ts +247 -2
  229. package/src/lib/locale/en/translation.js +248 -3
  230. package/src/lib/modals/DynamicAuthModal/DynamicAuthModal.cjs +5 -4
  231. package/src/lib/modals/DynamicAuthModal/DynamicAuthModal.js +5 -4
  232. package/src/lib/modals/SendBalanceModal/SendBalanceModal.cjs +5 -4
  233. package/src/lib/modals/SendBalanceModal/SendBalanceModal.js +5 -4
  234. package/src/lib/modals/SignMessageConfirmationModal/SignMessageConfirmationModal.cjs +7 -6
  235. package/src/lib/modals/SignMessageConfirmationModal/SignMessageConfirmationModal.js +7 -6
  236. package/src/lib/modals/TransactionConfirmationModal/TransactionConfirmationModal.cjs +7 -6
  237. package/src/lib/modals/TransactionConfirmationModal/TransactionConfirmationModal.js +7 -6
  238. package/src/lib/modals/TransactionConfirmationModal/TransactionConfirmationModal.types.d.ts +2 -1
  239. package/src/lib/modals/UserFieldEditorModal/UserFieldEditorModal.cjs +5 -4
  240. package/src/lib/modals/UserFieldEditorModal/UserFieldEditorModal.js +5 -4
  241. package/src/lib/shared/assets/alt-embedded-wallet.cjs +54 -0
  242. package/src/lib/shared/assets/alt-embedded-wallet.js +30 -0
  243. package/src/lib/shared/assets/alt-key.cjs +54 -0
  244. package/src/lib/shared/assets/alt-key.js +30 -0
  245. package/src/lib/shared/assets/export-embedded-hero.cjs +90 -0
  246. package/src/lib/shared/assets/export-embedded-hero.js +66 -0
  247. package/src/lib/shared/assets/eye-off-icon.cjs +53 -0
  248. package/src/lib/shared/assets/eye-off-icon.js +29 -0
  249. package/src/lib/shared/assets/face-id.cjs +53 -0
  250. package/src/lib/shared/assets/face-id.js +29 -0
  251. package/src/lib/shared/assets/index.d.ts +7 -0
  252. package/src/lib/shared/assets/lock.cjs +54 -0
  253. package/src/lib/shared/assets/lock.js +30 -0
  254. package/src/lib/shared/assets/wallet-v2.cjs +53 -0
  255. package/src/lib/shared/assets/wallet-v2.js +29 -0
  256. package/src/lib/shared/consts/index.cjs +1 -0
  257. package/src/lib/shared/consts/index.js +1 -0
  258. package/src/lib/shared/types/index.d.ts +8 -1
  259. package/src/lib/shared/utils/functions/chain/getChainIcon.cjs +1 -0
  260. package/src/lib/shared/utils/functions/chain/getChainIcon.js +2 -1
  261. package/src/lib/shared/utils/hooks/useOnClickOutside/index.cjs +4 -2
  262. package/src/lib/shared/utils/hooks/useOnClickOutside/index.js +5 -3
  263. package/src/lib/shared/utils/hooks/usePreventPageScroll/usePreventPageScroll.cjs +32 -16
  264. package/src/lib/shared/utils/hooks/usePreventPageScroll/usePreventPageScroll.js +32 -16
  265. package/src/lib/styles/index.shadow.cjs +1 -1
  266. package/src/lib/styles/index.shadow.js +1 -1
  267. package/src/lib/utils/functions/getVerifyArgs/getVerifyArgs.d.ts +1 -1
  268. package/src/lib/utils/functions/index.d.ts +1 -0
  269. package/src/lib/utils/functions/isEmailValid/index.d.ts +1 -0
  270. package/src/lib/utils/functions/isEmailValid/isEmailValid.cjs +8 -0
  271. package/src/lib/utils/functions/isEmailValid/isEmailValid.d.ts +1 -0
  272. package/src/lib/utils/functions/isEmailValid/isEmailValid.js +4 -0
  273. package/src/lib/utils/functions/isProviderEnabled/isProviderEnabled.cjs +9 -1
  274. package/src/lib/utils/functions/isProviderEnabled/isProviderEnabled.js +9 -1
  275. package/src/lib/utils/functions/isSelectedWalletAlreadyConnected/isSelectedWalletAlreadyConnected.cjs +2 -4
  276. package/src/lib/utils/functions/isSelectedWalletAlreadyConnected/isSelectedWalletAlreadyConnected.js +2 -4
  277. package/src/lib/utils/functions/walletListBuilder/utils/filterConnectedWallets/filterConnectedWallets.cjs +13 -2
  278. package/src/lib/utils/functions/walletListBuilder/utils/filterConnectedWallets/filterConnectedWallets.js +13 -2
  279. package/src/lib/utils/functions/walletListBuilder/utils/groupWalletOptions/groupWalletOptions.cjs +5 -3
  280. package/src/lib/utils/functions/walletListBuilder/utils/groupWalletOptions/groupWalletOptions.js +5 -3
  281. package/src/lib/utils/functions/walletListBuilder/walletListBuilder.cjs +3 -3
  282. package/src/lib/utils/functions/walletListBuilder/walletListBuilder.js +4 -4
  283. package/src/lib/utils/hooks/authenticationHooks/useConnectAndSignSplitSteps/useConnectAndSignSplitSteps.cjs +16 -9
  284. package/src/lib/utils/hooks/authenticationHooks/useConnectAndSignSplitSteps/useConnectAndSignSplitSteps.js +16 -9
  285. package/src/lib/utils/hooks/authenticationHooks/useEmailVerificationRequest/useEmailVerificationRequest.cjs +28 -1
  286. package/src/lib/utils/hooks/authenticationHooks/useEmailVerificationRequest/useEmailVerificationRequest.js +28 -1
  287. package/src/lib/utils/hooks/authenticationHooks/useSignConnectOnlyUser/useSignConnectOnlyUser.cjs +1 -1
  288. package/src/lib/utils/hooks/authenticationHooks/useSignConnectOnlyUser/useSignConnectOnlyUser.js +1 -1
  289. package/src/lib/utils/hooks/events/index.d.ts +3 -0
  290. package/src/lib/utils/hooks/events/types.d.ts +14 -0
  291. package/src/lib/utils/hooks/events/useDynamicEvents/index.d.ts +1 -0
  292. package/src/lib/utils/hooks/events/useDynamicEvents/useDynamicEvents.cjs +21 -0
  293. package/src/lib/utils/hooks/events/useDynamicEvents/useDynamicEvents.d.ts +8 -0
  294. package/src/lib/utils/hooks/events/useDynamicEvents/useDynamicEvents.js +17 -0
  295. package/src/lib/utils/hooks/{useWalletConnectorEvent → events/useWalletConnectorEvent}/useWalletConnectorEvent.cjs +1 -0
  296. package/src/lib/utils/hooks/{useWalletConnectorEvent → events/useWalletConnectorEvent}/useWalletConnectorEvent.d.ts +2 -11
  297. package/src/lib/utils/hooks/{useWalletConnectorEvent → events/useWalletConnectorEvent}/useWalletConnectorEvent.js +1 -0
  298. package/src/lib/utils/hooks/index.d.ts +3 -2
  299. package/src/lib/utils/hooks/multiWallet/useMultiWallet/useMultiWallet.cjs +3 -2
  300. package/src/lib/utils/hooks/multiWallet/useMultiWallet/useMultiWallet.d.ts +6 -1
  301. package/src/lib/utils/hooks/multiWallet/useMultiWallet/useMultiWallet.js +3 -2
  302. package/src/lib/utils/hooks/useAuthLayoutChecks/useAuthLayoutChecks.cjs +5 -1
  303. package/src/lib/utils/hooks/useAuthLayoutChecks/useAuthLayoutChecks.d.ts +1 -0
  304. package/src/lib/utils/hooks/useAuthLayoutChecks/useAuthLayoutChecks.js +5 -1
  305. package/src/lib/utils/hooks/useClearWalletConnectSessions/useClearWalletConnectSessions.cjs +3 -3
  306. package/src/lib/utils/hooks/useClearWalletConnectSessions/useClearWalletConnectSessions.js +3 -3
  307. package/src/lib/utils/hooks/useConnectWallet/useConnectWallet.cjs +3 -5
  308. package/src/lib/utils/hooks/useConnectWallet/useConnectWallet.d.ts +2 -2
  309. package/src/lib/utils/hooks/useConnectWallet/useConnectWallet.js +3 -5
  310. package/src/lib/utils/hooks/useCreateDynamicEmbeddedWalletMutation/useCreateDynamicEmbeddedWalletMutation.cjs +57 -48
  311. package/src/lib/utils/hooks/useCreateDynamicEmbeddedWalletMutation/useCreateDynamicEmbeddedWalletMutation.d.ts +1 -1
  312. package/src/lib/utils/hooks/useCreateDynamicEmbeddedWalletMutation/useCreateDynamicEmbeddedWalletMutation.js +57 -48
  313. package/src/lib/utils/hooks/useDynamicLayoutData/useDynamicLayoutData.cjs +51 -7
  314. package/src/lib/utils/hooks/useDynamicLayoutData/useDynamicLayoutData.d.ts +3 -0
  315. package/src/lib/utils/hooks/useDynamicLayoutData/useDynamicLayoutData.js +51 -7
  316. package/src/lib/utils/hooks/useEmailProvider/useEmailProvider.cjs +3 -3
  317. package/src/lib/utils/hooks/useEmailProvider/useEmailProvider.js +3 -3
  318. package/src/lib/utils/hooks/useEmbeddedReveal/index.d.ts +1 -0
  319. package/src/lib/utils/hooks/useEmbeddedReveal/useEmbeddedReveal.cjs +70 -0
  320. package/src/lib/utils/hooks/useEmbeddedReveal/useEmbeddedReveal.d.ts +4 -0
  321. package/src/lib/utils/hooks/useEmbeddedReveal/useEmbeddedReveal.js +66 -0
  322. package/src/lib/utils/hooks/useEmbeddedWallet/useEmbeddedWallet.cjs +18 -12
  323. package/src/lib/utils/hooks/useEmbeddedWallet/useEmbeddedWallet.js +18 -12
  324. package/src/lib/utils/hooks/useHandleUnlinkWallet/useHandleUnlinkWallet.cjs +5 -3
  325. package/src/lib/utils/hooks/useHandleUnlinkWallet/useHandleUnlinkWallet.js +5 -3
  326. package/src/lib/utils/hooks/useIsTurnkeyWallet/useIsTurnkeyWallet.cjs +1 -1
  327. package/src/lib/utils/hooks/useIsTurnkeyWallet/useIsTurnkeyWallet.js +1 -1
  328. package/src/lib/utils/hooks/usePasskeyRecovery/usePasskeyRecovery.cjs +9 -13
  329. package/src/lib/utils/hooks/usePasskeyRecovery/usePasskeyRecovery.js +9 -13
  330. package/src/lib/utils/hooks/useProcessNetworkConfigurations/index.d.ts +1 -0
  331. package/src/lib/utils/hooks/{useFetchNetworkConfigurations/useFetchNetworkConfigurations.cjs → useProcessNetworkConfigurations/useProcessNetworkConfigurations.cjs} +53 -67
  332. package/src/lib/utils/hooks/{useFetchNetworkConfigurations/useFetchNetworkConfigurations.d.ts → useProcessNetworkConfigurations/useProcessNetworkConfigurations.d.ts} +3 -2
  333. package/src/lib/utils/hooks/{useFetchNetworkConfigurations/useFetchNetworkConfigurations.js → useProcessNetworkConfigurations/useProcessNetworkConfigurations.js} +53 -67
  334. package/src/lib/utils/hooks/useSocialAuth/useSocialAuth.cjs +20 -14
  335. package/src/lib/utils/hooks/useSocialAuth/useSocialAuth.js +20 -14
  336. package/src/lib/utils/hooks/useUserUpdateRequest/useUpdateUser/useUpdateUser.cjs +26 -4
  337. package/src/lib/utils/hooks/useUserUpdateRequest/useUpdateUser/useUpdateUser.js +26 -4
  338. package/src/lib/utils/hooks/useUserUpdateRequest/useUpdateUserWithModal/useUpdateUserWithModal.cjs +10 -7
  339. package/src/lib/utils/hooks/useUserUpdateRequest/useUpdateUserWithModal/useUpdateUserWithModal.js +10 -7
  340. package/src/lib/utils/hooks/useVerifyWallet/useVerifyWallet.cjs +2 -2
  341. package/src/lib/utils/hooks/useVerifyWallet/useVerifyWallet.js +2 -2
  342. package/src/lib/utils/hooks/useWalletConnectorNetwork/index.d.ts +1 -0
  343. package/src/lib/utils/hooks/useWalletConnectorNetwork/useWalletConnectorNetwork.cjs +42 -0
  344. package/src/lib/utils/hooks/useWalletConnectorNetwork/useWalletConnectorNetwork.d.ts +18 -0
  345. package/src/lib/utils/hooks/useWalletConnectorNetwork/useWalletConnectorNetwork.js +38 -0
  346. package/src/lib/utils/hooks/useWalletConnectors/useWalletConnectors.cjs +2 -2
  347. package/src/lib/utils/hooks/useWalletConnectors/useWalletConnectors.js +2 -2
  348. package/src/lib/utils/hooks/useWalletConnectors/utils/findWallet/findWallet.cjs +5 -2
  349. package/src/lib/utils/hooks/useWalletConnectors/utils/findWallet/findWallet.js +5 -2
  350. package/src/lib/utils/hooks/useWalletEventListeners/useWalletEventListeners.cjs +2 -1
  351. package/src/lib/utils/hooks/useWalletEventListeners/useWalletEventListeners.d.ts +1 -1
  352. package/src/lib/utils/hooks/useWalletEventListeners/useWalletEventListeners.js +2 -1
  353. package/src/lib/utils/hooks/useWalletUiUtils/useWalletUiUtils.cjs +3 -2
  354. package/src/lib/utils/hooks/useWalletUiUtils/useWalletUiUtils.js +3 -2
  355. package/src/lib/utils/hooks/useWalletsConnectionState/useWalletsConnectionState.cjs +3 -2
  356. package/src/lib/utils/hooks/useWalletsConnectionState/useWalletsConnectionState.js +3 -2
  357. package/src/lib/views/AccountExistsView/AccountExistsView.cjs +5 -4
  358. package/src/lib/views/AccountExistsView/AccountExistsView.js +5 -4
  359. package/src/lib/views/BridgeNextWalletConnectionView/BridgeNextWalletConnectionView.cjs +1 -1
  360. package/src/lib/views/BridgeNextWalletConnectionView/BridgeNextWalletConnectionView.js +1 -1
  361. package/src/lib/views/BridgeSummaryView/BridgeSummaryView.cjs +2 -2
  362. package/src/lib/views/BridgeSummaryView/BridgeSummaryView.js +2 -2
  363. package/src/lib/views/BridgeWelcomeView/BridgeWelcomeView.cjs +1 -1
  364. package/src/lib/views/BridgeWelcomeView/BridgeWelcomeView.js +1 -1
  365. package/src/lib/views/CaptchaVerifyUser/CaptchaVerifyUser.cjs +6 -4
  366. package/src/lib/views/CaptchaVerifyUser/CaptchaVerifyUser.js +6 -4
  367. package/src/lib/views/CollectUserDataView/CollectUserDataView.cjs +7 -6
  368. package/src/lib/views/CollectUserDataView/CollectUserDataView.js +7 -6
  369. package/src/lib/views/CollectUserDataView/OnboardingUserDataForm/OnboardingUserDataForm.cjs +3 -2
  370. package/src/lib/views/CollectUserDataView/OnboardingUserDataForm/OnboardingUserDataForm.js +3 -2
  371. package/src/lib/views/CollectUserDataView/UserDataFields/index.cjs +12 -10
  372. package/src/lib/views/CollectUserDataView/UserDataFields/index.js +12 -10
  373. package/src/lib/views/CollectUserDataView/useFields.cjs +11 -0
  374. package/src/lib/views/CollectUserDataView/useFields.d.ts +11 -0
  375. package/src/lib/views/CollectUserDataView/useFields.js +11 -0
  376. package/src/lib/views/CollectUserDataViewLoginWithEmail/CollectUserDataViewLoginWithEmail.cjs +6 -5
  377. package/src/lib/views/CollectUserDataViewLoginWithEmail/CollectUserDataViewLoginWithEmail.js +6 -5
  378. package/src/lib/views/EmailConfirmationWaitingView/EmailConfirmationWaitingView.cjs +4 -3
  379. package/src/lib/views/EmailConfirmationWaitingView/EmailConfirmationWaitingView.js +4 -3
  380. package/src/lib/views/EmailUpdate/EmailUpdate.cjs +5 -4
  381. package/src/lib/views/EmailUpdate/EmailUpdate.js +5 -4
  382. package/src/lib/views/EmailVerification/EmailVerification.cjs +39 -30
  383. package/src/lib/views/EmailVerification/EmailVerification.js +39 -30
  384. package/src/lib/views/EmailWalletOTPVerificationView/EmailWalletOTPVerificationView.cjs +12 -6
  385. package/src/lib/views/EmailWalletOTPVerificationView/EmailWalletOTPVerificationView.js +12 -6
  386. package/src/lib/views/EmbeddedReveal/EmbeddedRevealView/EmbeddedRevealView.cjs +160 -0
  387. package/src/lib/views/EmbeddedReveal/EmbeddedRevealView/EmbeddedRevealView.d.ts +2 -0
  388. package/src/lib/views/EmbeddedReveal/EmbeddedRevealView/EmbeddedRevealView.js +156 -0
  389. package/src/lib/views/EmbeddedReveal/EmbeddedRevealView/index.d.ts +1 -0
  390. package/src/lib/views/EmbeddedReveal/constants.cjs +9 -0
  391. package/src/lib/views/EmbeddedReveal/constants.d.ts +2 -0
  392. package/src/lib/views/EmbeddedReveal/constants.js +4 -0
  393. package/src/lib/views/EmbeddedReveal/index.d.ts +1 -0
  394. package/src/lib/views/EmbeddedReveal/utils/turnkeyExport/index.d.ts +1 -0
  395. package/src/lib/views/EmbeddedReveal/utils/turnkeyExport/turnkeyExport.cjs +139 -0
  396. package/src/lib/views/EmbeddedReveal/utils/turnkeyExport/turnkeyExport.d.ts +21 -0
  397. package/src/lib/views/EmbeddedReveal/utils/turnkeyExport/turnkeyExport.js +132 -0
  398. package/src/lib/views/LoginView/LoginView.cjs +60 -7
  399. package/src/lib/views/LoginView/LoginView.js +60 -7
  400. package/src/lib/views/LoginView/sections/EmailSignInSection/LoginEmailForm.cjs +8 -9
  401. package/src/lib/views/LoginView/sections/EmailSignInSection/LoginEmailForm.d.ts +0 -1
  402. package/src/lib/views/LoginView/sections/EmailSignInSection/LoginEmailForm.js +9 -9
  403. package/src/lib/views/LoginView/sections/SocialSignInSection/DynamicSocialSignIn/DynamicSocialSignIn.cjs +3 -2
  404. package/src/lib/views/LoginView/sections/SocialSignInSection/DynamicSocialSignIn/DynamicSocialSignIn.js +3 -2
  405. package/src/lib/views/LoginView/sections/SocialSignInSection/MagicSocialSignIn/MagicSocialSignIn.cjs +4 -3
  406. package/src/lib/views/LoginView/sections/SocialSignInSection/MagicSocialSignIn/MagicSocialSignIn.js +4 -3
  407. package/src/lib/views/LoginView/sections/WalletSignInSection/ListItemButton/ListItemButton.cjs +5 -4
  408. package/src/lib/views/LoginView/sections/WalletSignInSection/ListItemButton/ListItemButton.d.ts +3 -2
  409. package/src/lib/views/LoginView/sections/WalletSignInSection/ListItemButton/ListItemButton.js +5 -4
  410. package/src/lib/views/LoginView/sections/WalletSignInSection/WalletSignInSection.cjs +4 -3
  411. package/src/lib/views/LoginView/sections/WalletSignInSection/WalletSignInSection.js +4 -3
  412. package/src/lib/views/LoginView/sections/WalletSignInSection/WalletSimpleSignIn/WalletSimpleSignIn.cjs +1 -1
  413. package/src/lib/views/LoginView/sections/WalletSignInSection/WalletSimpleSignIn/WalletSimpleSignIn.js +1 -1
  414. package/src/lib/views/MergeUserAccountsView/MergeUserAccountsView.cjs +7 -6
  415. package/src/lib/views/MergeUserAccountsView/MergeUserAccountsView.js +7 -6
  416. package/src/lib/views/NetworkNotSupported/NetworkNotSupported.cjs +8 -8
  417. package/src/lib/views/NetworkNotSupported/NetworkNotSupported.js +8 -8
  418. package/src/lib/views/NetworkNotSupportedSwitchManual/NetworkNotSupportedSwitchManual.cjs +9 -9
  419. package/src/lib/views/NetworkNotSupportedSwitchManual/NetworkNotSupportedSwitchManual.js +9 -9
  420. package/src/lib/views/NoAccess/NoAccess.cjs +4 -3
  421. package/src/lib/views/NoAccess/NoAccess.js +4 -3
  422. package/src/lib/views/NoQrNotInstalledView/NoQrNotInstalledView.cjs +9 -4
  423. package/src/lib/views/NoQrNotInstalledView/NoQrNotInstalledView.js +9 -4
  424. package/src/lib/views/NoQrNotInstalledView/WalletHelpLink.cjs +13 -7
  425. package/src/lib/views/NoQrNotInstalledView/WalletHelpLink.js +13 -7
  426. package/src/lib/views/Passkey/PasskeyDeviceIcon/PasskeyDeviceIcon.cjs +3 -2
  427. package/src/lib/views/Passkey/PasskeyDeviceIcon/PasskeyDeviceIcon.js +3 -2
  428. package/src/lib/views/Passkey/PasskeyIntroView/PasskeyIntroView.cjs +6 -5
  429. package/src/lib/views/Passkey/PasskeyIntroView/PasskeyIntroView.js +6 -5
  430. package/src/lib/views/Passkey/PasskeyRecovery/BundleValidation/PasskeyBundleRecovery.cjs +4 -3
  431. package/src/lib/views/Passkey/PasskeyRecovery/BundleValidation/PasskeyBundleRecovery.js +4 -3
  432. package/src/lib/views/Passkey/PasskeyRecovery/CompleteRecovery/PasskeyCompleteRecovery.cjs +8 -7
  433. package/src/lib/views/Passkey/PasskeyRecovery/CompleteRecovery/PasskeyCompleteRecovery.js +8 -7
  434. package/src/lib/views/Passkey/PasskeyRecovery/InitRecovery/PasskeyInitRecovery.cjs +9 -8
  435. package/src/lib/views/Passkey/PasskeyRecovery/InitRecovery/PasskeyInitRecovery.js +9 -8
  436. package/src/lib/views/Passkey/utils/findEmailOtpWalletConnector/findEmailOtpWalletConnector.cjs +17 -0
  437. package/src/lib/views/Passkey/utils/findEmailOtpWalletConnector/findEmailOtpWalletConnector.d.ts +3 -0
  438. package/src/lib/views/Passkey/utils/findEmailOtpWalletConnector/findEmailOtpWalletConnector.js +13 -0
  439. package/src/lib/views/Passkey/utils/findEmailOtpWalletConnector/index.d.ts +1 -0
  440. package/src/lib/views/Passkey/utils/index.d.ts +1 -0
  441. package/src/lib/views/Passkey/utils/passkeyRecovery/passkeyRecovery.cjs +2 -2
  442. package/src/lib/views/Passkey/utils/passkeyRecovery/passkeyRecovery.d.ts +2 -2
  443. package/src/lib/views/Passkey/utils/passkeyRecovery/passkeyRecovery.js +2 -2
  444. package/src/lib/views/PendingConnectView/PendingConnectView.cjs +10 -6
  445. package/src/lib/views/PendingConnectView/PendingConnectView.js +10 -6
  446. package/src/lib/views/PendingSignatureView/PendingSignatureView.cjs +11 -7
  447. package/src/lib/views/PendingSignatureView/PendingSignatureView.js +11 -7
  448. package/src/lib/views/QrCodeView/QRCode.cjs +3 -3
  449. package/src/lib/views/QrCodeView/QRCode.js +3 -3
  450. package/src/lib/views/QrCodeView/QrCodeContainer/QrCodeContainer.cjs +13 -9
  451. package/src/lib/views/QrCodeView/QrCodeContainer/QrCodeContainer.js +13 -9
  452. package/src/lib/views/QrCodeView/QrCodeView.cjs +2 -1
  453. package/src/lib/views/QrCodeView/QrCodeView.js +2 -1
  454. package/src/lib/views/SendBalanceView/SendBalanceView.cjs +3 -2
  455. package/src/lib/views/SendBalanceView/SendBalanceView.js +3 -2
  456. package/src/lib/views/SendBalanceView/components/TransactionStage/TransactionStage.cjs +2 -1
  457. package/src/lib/views/SendBalanceView/components/TransactionStage/TransactionStage.d.ts +2 -1
  458. package/src/lib/views/SendBalanceView/components/TransactionStage/TransactionStage.js +2 -1
  459. package/src/lib/views/SocialRedirectView/SocialRedirectView.cjs +4 -3
  460. package/src/lib/views/SocialRedirectView/SocialRedirectView.js +4 -3
  461. package/src/lib/views/SocialWrongAccountView/SocialWrongAccountView.cjs +7 -5
  462. package/src/lib/views/SocialWrongAccountView/SocialWrongAccountView.js +7 -5
  463. package/src/lib/views/TransactionConfirmationView/TransactionConfirmationView.cjs +11 -8
  464. package/src/lib/views/TransactionConfirmationView/TransactionConfirmationView.d.ts +2 -1
  465. package/src/lib/views/TransactionConfirmationView/TransactionConfirmationView.js +11 -8
  466. package/src/lib/views/TransactionConfirmationView/hooks/useTransactionGas/useTransactionGas.cjs +2 -1
  467. package/src/lib/views/TransactionConfirmationView/hooks/useTransactionGas/useTransactionGas.js +2 -1
  468. package/src/lib/views/UserFieldEditorView/UserFieldEditorView.cjs +3 -2
  469. package/src/lib/views/UserFieldEditorView/UserFieldEditorView.js +3 -2
  470. package/src/lib/views/WalletCannotBeTransferredView/WalletCannotBeTransferredView.cjs +4 -3
  471. package/src/lib/views/WalletCannotBeTransferredView/WalletCannotBeTransferredView.js +4 -3
  472. package/src/lib/views/WalletGroupView/WalletGroupView.cjs +72 -1
  473. package/src/lib/views/WalletGroupView/WalletGroupView.js +73 -2
  474. package/src/lib/views/WalletGroupView/components/HardwareWalletToggle/HardwareWalletToggle.cjs +74 -0
  475. package/src/lib/views/WalletGroupView/components/HardwareWalletToggle/HardwareWalletToggle.d.ts +7 -0
  476. package/src/lib/views/WalletGroupView/components/HardwareWalletToggle/HardwareWalletToggle.js +70 -0
  477. package/src/lib/views/WalletGroupView/components/HardwareWalletToggle/index.d.ts +1 -0
  478. package/src/lib/views/WalletGroupView/components/WalletGroupItem/WalletGroupItem.cjs +2 -4
  479. package/src/lib/views/WalletGroupView/components/WalletGroupItem/WalletGroupItem.d.ts +2 -1
  480. package/src/lib/views/WalletGroupView/components/WalletGroupItem/WalletGroupItem.js +2 -4
  481. package/src/lib/views/WalletList/SearchNotFoundMessage/SearchNotFoundMessage.cjs +4 -3
  482. package/src/lib/views/WalletList/SearchNotFoundMessage/SearchNotFoundMessage.js +4 -3
  483. package/src/lib/views/WalletList/WalletList.cjs +6 -9
  484. package/src/lib/views/WalletList/WalletList.js +6 -9
  485. package/src/lib/views/WalletList/WalletListItem/WalletListItem.cjs +3 -2
  486. package/src/lib/views/WalletList/WalletListItem/WalletListItem.js +3 -2
  487. package/src/lib/views/WalletList/data.d.ts +1 -1
  488. package/src/lib/views/WalletLockedView/WalletLockedView.cjs +6 -4
  489. package/src/lib/views/WalletLockedView/WalletLockedView.js +6 -4
  490. package/src/lib/views/WalletSignSpinnerView/WalletSignSpinnerView.cjs +7 -5
  491. package/src/lib/views/WalletSignSpinnerView/WalletSignSpinnerView.js +7 -5
  492. package/src/lib/views/WalletUsedView/WalletUsedView.cjs +9 -8
  493. package/src/lib/views/WalletUsedView/WalletUsedView.js +9 -8
  494. package/src/lib/views/viewToComponentMap.cjs +3 -0
  495. package/src/lib/views/viewToComponentMap.js +3 -0
  496. package/src/lib/widgets/DynamicBridgeWidget/DynamicBridgeWidget.cjs +3 -2
  497. package/src/lib/widgets/DynamicBridgeWidget/DynamicBridgeWidget.js +3 -2
  498. package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeUserProfile/DynamicBridgeUserProfile.cjs +3 -2
  499. package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeUserProfile/DynamicBridgeUserProfile.js +3 -2
  500. package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCard/DynamicBridgeWalletCard.cjs +3 -2
  501. package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCard/DynamicBridgeWalletCard.js +3 -2
  502. package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCardBody/DynamicBridgeWalletCardBody.cjs +3 -2
  503. package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCardBody/DynamicBridgeWalletCardBody.js +3 -2
  504. package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWidgetEmptyCard/DynamicBridgeWidgetEmptyCard.cjs +3 -2
  505. package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWidgetEmptyCard/DynamicBridgeWidgetEmptyCard.js +3 -2
  506. package/src/lib/widgets/DynamicBridgeWidget/views/EditProfileView/EditProfileView.cjs +6 -3
  507. package/src/lib/widgets/DynamicBridgeWidget/views/EditProfileView/EditProfileView.js +6 -3
  508. package/src/lib/widgets/DynamicBridgeWidget/views/WalletsView/WalletsView.cjs +3 -2
  509. package/src/lib/widgets/DynamicBridgeWidget/views/WalletsView/WalletsView.js +3 -2
  510. package/src/lib/widgets/DynamicEmbeddedWidget/DynamicEmbeddedAuthFlow/DynamicEmbeddedAuthFlow.cjs +8 -8
  511. package/src/lib/widgets/DynamicEmbeddedWidget/DynamicEmbeddedAuthFlow/DynamicEmbeddedAuthFlow.js +8 -8
  512. package/src/lib/widgets/DynamicEmbeddedWidget/DynamicEmbeddedUserProfile/DynamicEmbeddedUserProfile.cjs +1 -0
  513. package/src/lib/widgets/DynamicEmbeddedWidget/DynamicEmbeddedUserProfile/DynamicEmbeddedUserProfile.js +1 -0
  514. package/src/lib/widgets/DynamicMultiWalletPromptsWidget/DynamicMultiWalletPromptsWidget.cjs +33 -0
  515. package/src/lib/widgets/DynamicMultiWalletPromptsWidget/DynamicMultiWalletPromptsWidget.d.ts +2 -0
  516. package/src/lib/widgets/DynamicMultiWalletPromptsWidget/DynamicMultiWalletPromptsWidget.js +29 -0
  517. package/src/lib/widgets/DynamicMultiWalletPromptsWidget/index.d.ts +1 -0
  518. package/src/lib/widgets/DynamicWidget/DynamicWidget.cjs +4 -3
  519. package/src/lib/widgets/DynamicWidget/DynamicWidget.js +4 -3
  520. package/src/lib/widgets/DynamicWidget/components/AccountControl/AccountControl.cjs +3 -2
  521. package/src/lib/widgets/DynamicWidget/components/AccountControl/AccountControl.js +3 -2
  522. package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveBitcoinWalletAddresses/ActiveBitcoinWalletAddresses.cjs +76 -0
  523. package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveBitcoinWalletAddresses/ActiveBitcoinWalletAddresses.d.ts +9 -0
  524. package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveBitcoinWalletAddresses/ActiveBitcoinWalletAddresses.js +72 -0
  525. package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveBitcoinWalletAddresses/index.d.ts +1 -0
  526. package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletAddress/ActiveWalletAddress.cjs +67 -0
  527. package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletAddress/ActiveWalletAddress.d.ts +9 -0
  528. package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletAddress/ActiveWalletAddress.js +63 -0
  529. package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletAddress/index.d.ts +1 -0
  530. package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletInformation.cjs +14 -12
  531. package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletInformation.js +14 -12
  532. package/src/lib/widgets/DynamicWidget/components/Balance/Balance.cjs +3 -2
  533. package/src/lib/widgets/DynamicWidget/components/Balance/Balance.js +3 -2
  534. package/src/lib/widgets/DynamicWidget/components/DotsMenu/DotsMenu.cjs +3 -2
  535. package/src/lib/widgets/DynamicWidget/components/DotsMenu/DotsMenu.js +3 -2
  536. package/src/lib/widgets/DynamicWidget/components/DotsMenuDropdown/DotsMenuDropdown.cjs +3 -2
  537. package/src/lib/widgets/DynamicWidget/components/DotsMenuDropdown/DotsMenuDropdown.js +3 -2
  538. package/src/lib/widgets/DynamicWidget/components/DynamicNav/DynamicNav.cjs +3 -2
  539. package/src/lib/widgets/DynamicWidget/components/DynamicNav/DynamicNav.js +3 -2
  540. package/src/lib/widgets/DynamicWidget/components/DynamicUserProfile/DynamicUserProfile.cjs +1 -0
  541. package/src/lib/widgets/DynamicWidget/components/DynamicUserProfile/DynamicUserProfile.js +1 -0
  542. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.cjs +2 -1
  543. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.js +2 -1
  544. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetWalletHeader/DynamicWidgetWalletHeader.cjs +7 -3
  545. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetWalletHeader/DynamicWidgetWalletHeader.js +7 -3
  546. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetPrompts/DynamicWidgetPrompts.cjs +17 -40
  547. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetPrompts/DynamicWidgetPrompts.d.ts +1 -1
  548. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetPrompts/DynamicWidgetPrompts.js +23 -46
  549. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetDropdown/DynamicWidgetDropdown.cjs +2 -1
  550. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetDropdown/DynamicWidgetDropdown.js +2 -1
  551. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetModal/DynamicWidgetModal.cjs +3 -2
  552. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetModal/DynamicWidgetModal.js +3 -2
  553. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetViews/DynamicWidgetViews.cjs +2 -0
  554. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetViews/DynamicWidgetViews.js +2 -0
  555. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetWallets/DynamicWidgetWallets.cjs +8 -5
  556. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetWallets/DynamicWidgetWallets.js +8 -5
  557. package/src/lib/widgets/DynamicWidget/components/EmailConnectorPendingSignModalContent/EmailConnectorPendingSignModalContent.cjs +3 -2
  558. package/src/lib/widgets/DynamicWidget/components/EmailConnectorPendingSignModalContent/EmailConnectorPendingSignModalContent.js +3 -2
  559. package/src/lib/widgets/DynamicWidget/components/EmailOTPConnectorPendingSignModalContent/EmailOTPConnectorPendingSignModalContent.cjs +9 -4
  560. package/src/lib/widgets/DynamicWidget/components/EmailOTPConnectorPendingSignModalContent/EmailOTPConnectorPendingSignModalContent.js +9 -4
  561. package/src/lib/widgets/DynamicWidget/components/EmptyWallets/EmptyWallets.cjs +5 -4
  562. package/src/lib/widgets/DynamicWidget/components/EmptyWallets/EmptyWallets.d.ts +3 -2
  563. package/src/lib/widgets/DynamicWidget/components/EmptyWallets/EmptyWallets.js +5 -4
  564. package/src/lib/widgets/DynamicWidget/components/PromptModal/PromptModal.cjs +71 -0
  565. package/src/lib/widgets/DynamicWidget/components/PromptModal/PromptModal.d.ts +7 -0
  566. package/src/lib/widgets/DynamicWidget/components/PromptModal/PromptModal.js +67 -0
  567. package/src/lib/widgets/DynamicWidget/components/PromptModal/index.d.ts +1 -0
  568. package/src/lib/widgets/DynamicWidget/components/SingleWalletButtons/SingleWalletButtons.cjs +3 -2
  569. package/src/lib/widgets/DynamicWidget/components/SingleWalletButtons/SingleWalletButtons.js +3 -2
  570. package/src/lib/widgets/DynamicWidget/components/UnknownWalletInformation/UnknownWalletInformation.cjs +3 -2
  571. package/src/lib/widgets/DynamicWidget/components/UnknownWalletInformation/UnknownWalletInformation.js +3 -2
  572. package/src/lib/widgets/DynamicWidget/components/Wallet/Wallet.cjs +3 -2
  573. package/src/lib/widgets/DynamicWidget/components/Wallet/Wallet.js +3 -2
  574. package/src/lib/widgets/DynamicWidget/components/WidgetPortal/WidgetPortal.cjs +3 -2
  575. package/src/lib/widgets/DynamicWidget/components/WidgetPortal/WidgetPortal.js +3 -2
  576. package/src/lib/widgets/DynamicWidget/context/DynamicWidgetContext.cjs +2 -1
  577. package/src/lib/widgets/DynamicWidget/context/DynamicWidgetContext.js +2 -1
  578. package/src/lib/widgets/DynamicWidget/context/DynamicWidgetContext.types.cjs +2 -0
  579. package/src/lib/widgets/DynamicWidget/context/DynamicWidgetContext.types.d.ts +3 -1
  580. package/src/lib/widgets/DynamicWidget/context/DynamicWidgetContext.types.js +2 -1
  581. package/src/lib/widgets/DynamicWidget/hooks/useFetchBalance/useFetchBalance.cjs +66 -21
  582. package/src/lib/widgets/DynamicWidget/hooks/useFetchBalance/useFetchBalance.d.ts +1 -1
  583. package/src/lib/widgets/DynamicWidget/hooks/useFetchBalance/useFetchBalance.js +67 -22
  584. package/src/lib/widgets/DynamicWidget/hooks/useMultiWalletPromptState/index.d.ts +1 -0
  585. package/src/lib/widgets/DynamicWidget/hooks/useMultiWalletPromptState/useMultiWalletPromptState.cjs +40 -0
  586. package/src/lib/widgets/DynamicWidget/hooks/useMultiWalletPromptState/useMultiWalletPromptState.d.ts +2 -0
  587. package/src/lib/widgets/DynamicWidget/hooks/useMultiWalletPromptState/useMultiWalletPromptState.js +36 -0
  588. package/src/lib/widgets/DynamicWidget/prompts/AwaitingConnectionModal/AwaitingConnectionModal.cjs +51 -0
  589. package/src/lib/widgets/DynamicWidget/prompts/AwaitingConnectionModal/AwaitingConnectionModal.d.ts +3 -0
  590. package/src/lib/widgets/DynamicWidget/prompts/AwaitingConnectionModal/AwaitingConnectionModal.js +46 -0
  591. package/src/lib/widgets/DynamicWidget/prompts/AwaitingConnectionModal/index.d.ts +1 -0
  592. package/src/lib/widgets/DynamicWidget/prompts/DefaultPromptModal/DefaultPromptModal.cjs +7 -4
  593. package/src/lib/widgets/DynamicWidget/prompts/DefaultPromptModal/DefaultPromptModal.d.ts +1 -0
  594. package/src/lib/widgets/DynamicWidget/prompts/DefaultPromptModal/DefaultPromptModal.js +8 -6
  595. package/src/lib/widgets/DynamicWidget/prompts/DetectedNewWalletModal/DetectedNewWalletModal.cjs +14 -6
  596. package/src/lib/widgets/DynamicWidget/prompts/DetectedNewWalletModal/DetectedNewWalletModal.d.ts +1 -0
  597. package/src/lib/widgets/DynamicWidget/prompts/DetectedNewWalletModal/DetectedNewWalletModal.js +14 -7
  598. package/src/lib/widgets/DynamicWidget/prompts/NoQrNotInstalledModalView/NoQrNotInstalledModalView.cjs +3 -2
  599. package/src/lib/widgets/DynamicWidget/prompts/NoQrNotInstalledModalView/NoQrNotInstalledModalView.js +3 -2
  600. package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/PendingAccountSwitchModal.cjs +7 -2
  601. package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/PendingAccountSwitchModal.d.ts +1 -0
  602. package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/PendingAccountSwitchModal.js +8 -4
  603. package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchAccountView/SwitchAccountView.cjs +3 -2
  604. package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchAccountView/SwitchAccountView.js +3 -2
  605. package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchOrUseActiveAccountView/SwitchOrUseActiveAccountView.cjs +3 -2
  606. package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchOrUseActiveAccountView/SwitchOrUseActiveAccountView.js +3 -2
  607. package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchToLinkModal/PendingAccountSwitchToLinkModal.cjs +9 -3
  608. package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchToLinkModal/PendingAccountSwitchToLinkModal.d.ts +1 -0
  609. package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchToLinkModal/PendingAccountSwitchToLinkModal.js +10 -5
  610. package/src/lib/widgets/DynamicWidget/prompts/PendingConnectionModal/PendingConnectionModal.cjs +10 -4
  611. package/src/lib/widgets/DynamicWidget/prompts/PendingConnectionModal/PendingConnectionModal.d.ts +1 -0
  612. package/src/lib/widgets/DynamicWidget/prompts/PendingConnectionModal/PendingConnectionModal.js +12 -7
  613. package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/DefaultPendingSignModalContent/DefaultPendingSignModalContent.cjs +3 -2
  614. package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/DefaultPendingSignModalContent/DefaultPendingSignModalContent.js +3 -2
  615. package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/PendingSignModal.cjs +22 -8
  616. package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/PendingSignModal.d.ts +1 -0
  617. package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/PendingSignModal.js +22 -9
  618. package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/index.d.ts +1 -1
  619. package/src/lib/widgets/DynamicWidget/prompts/PrimaryNotConnectedModal/PrimaryNotConnectedModal.cjs +9 -3
  620. package/src/lib/widgets/DynamicWidget/prompts/PrimaryNotConnectedModal/PrimaryNotConnectedModal.d.ts +1 -0
  621. package/src/lib/widgets/DynamicWidget/prompts/PrimaryNotConnectedModal/PrimaryNotConnectedModal.js +11 -6
  622. package/src/lib/widgets/DynamicWidget/prompts/QrCodeModalView/QrCodeModalView.cjs +4 -3
  623. package/src/lib/widgets/DynamicWidget/prompts/QrCodeModalView/QrCodeModalView.js +4 -3
  624. package/src/lib/widgets/DynamicWidget/prompts/UnlinkWalletPopUp/UnlinkWalletPopUp.cjs +39 -13
  625. package/src/lib/widgets/DynamicWidget/prompts/UnlinkWalletPopUp/UnlinkWalletPopUp.d.ts +2 -5
  626. package/src/lib/widgets/DynamicWidget/prompts/UnlinkWalletPopUp/UnlinkWalletPopUp.js +38 -13
  627. package/src/lib/widgets/DynamicWidget/prompts/UnlinkWalletPopUp/index.d.ts +1 -1
  628. package/src/lib/widgets/DynamicWidget/views/EditProfileView/EditProfileView.cjs +10 -5
  629. package/src/lib/widgets/DynamicWidget/views/EditProfileView/EditProfileView.js +10 -5
  630. package/src/lib/widgets/DynamicWidget/views/ManagePasskeysWidgetView/ManagePasskeysWidgetView.cjs +7 -6
  631. package/src/lib/widgets/DynamicWidget/views/ManagePasskeysWidgetView/ManagePasskeysWidgetView.js +7 -6
  632. package/src/lib/widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.cjs +4 -3
  633. package/src/lib/widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.js +4 -3
  634. package/src/lib/widgets/DynamicWidget/views/ProfileView/ProfileView.cjs +3 -2
  635. package/src/lib/widgets/DynamicWidget/views/ProfileView/ProfileView.js +3 -2
  636. package/src/lib/widgets/DynamicWidget/views/WalletSettingsView/WalletSettingsView.cjs +95 -0
  637. package/src/lib/widgets/DynamicWidget/views/WalletSettingsView/WalletSettingsView.d.ts +2 -0
  638. package/src/lib/widgets/DynamicWidget/views/WalletSettingsView/WalletSettingsView.js +91 -0
  639. package/src/lib/widgets/DynamicWidget/views/WalletSettingsView/index.d.ts +1 -0
  640. package/src/lib/widgets/DynamicWidget/views/WalletsView/WalletsView.cjs +5 -4
  641. package/src/lib/widgets/DynamicWidget/views/WalletsView/WalletsView.js +5 -4
  642. package/src/lib/widgets/DynamicWidget/views/index.d.ts +1 -0
  643. package/src/lib/widgets/FundingWidget/views/FundWalletView/FundWalletView.cjs +3 -2
  644. package/src/lib/widgets/FundingWidget/views/FundWalletView/FundWalletView.js +3 -2
  645. package/src/lib/widgets/index.d.ts +1 -0
  646. package/src/lib/context/DynamicContext/hooks/useSetShowAuthFlowWithInit/index.d.ts +0 -1
  647. package/src/lib/context/DynamicContext/hooks/useSetShowAuthFlowWithInit/useSetShowAuthFlowWithInit.cjs +0 -33
  648. package/src/lib/context/DynamicContext/hooks/useSetShowAuthFlowWithInit/useSetShowAuthFlowWithInit.js +0 -29
  649. package/src/lib/context/DynamicContext/internalEvents/index.d.ts +0 -1
  650. package/src/lib/context/DynamicContext/internalEvents/internalEvents.d.ts +0 -13
  651. package/src/lib/context/DynamicContext/internalEvents/internalEvents.js +0 -6
  652. package/src/lib/utils/hooks/useFetchNetworkConfigurations/index.d.ts +0 -1
  653. /package/src/lib/utils/hooks/{useEventListener → events/useEventListener}/index.d.ts +0 -0
  654. /package/src/lib/utils/hooks/{useEventListener → events/useEventListener}/useEventListener.cjs +0 -0
  655. /package/src/lib/utils/hooks/{useEventListener → events/useEventListener}/useEventListener.d.ts +0 -0
  656. /package/src/lib/utils/hooks/{useEventListener → events/useEventListener}/useEventListener.js +0 -0
  657. /package/src/lib/utils/hooks/{useWalletConnectorEvent → events/useWalletConnectorEvent}/index.d.ts +0 -0
  658. /package/src/lib/utils/hooks/{useFetchNetworkConfigurations → useProcessNetworkConfigurations}/utils/index.d.ts +0 -0
  659. /package/src/lib/utils/hooks/{useFetchNetworkConfigurations → useProcessNetworkConfigurations}/utils/mergeCustomerEvmNetworksWithServerNetworks/index.d.ts +0 -0
  660. /package/src/lib/utils/hooks/{useFetchNetworkConfigurations → useProcessNetworkConfigurations}/utils/mergeCustomerEvmNetworksWithServerNetworks/mergeCustomerEvmNetworksWithServerNetworks.cjs +0 -0
  661. /package/src/lib/utils/hooks/{useFetchNetworkConfigurations → useProcessNetworkConfigurations}/utils/mergeCustomerEvmNetworksWithServerNetworks/mergeCustomerEvmNetworksWithServerNetworks.d.ts +0 -0
  662. /package/src/lib/utils/hooks/{useFetchNetworkConfigurations → useProcessNetworkConfigurations}/utils/mergeCustomerEvmNetworksWithServerNetworks/mergeCustomerEvmNetworksWithServerNetworks.js +0 -0
@@ -3,9 +3,13 @@
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 Typography = require('../Typography/Typography.cjs');
7
8
  var IconWithSpinner = require('../IconWithSpinner/IconWithSpinner.cjs');
8
9
 
9
- const SelectWalletChainLayout = ({ children, HeaderIcon }) => (jsxRuntime.jsxs("div", { className: 'select-wallet-chain-layout__container', children: [jsxRuntime.jsx(IconWithSpinner.IconWithSpinner, { className: 'select-wallet-chain-layout__icon', Icon: HeaderIcon, iconSize: 96 }), jsxRuntime.jsxs("div", { className: 'select-wallet-chain-layout__body', children: [jsxRuntime.jsx(Typography.Typography, { className: 'select-wallet-chain-layout__text', as: 'p', color: 'secondary', variant: 'body_normal', children: "This wallet supports multiple chains. Select which chain you'd like to connect to" }), jsxRuntime.jsx("div", { className: 'select-wallet-chain-layout__list', children: children })] })] }));
10
+ const SelectWalletChainLayout = ({ children, HeaderIcon }) => {
11
+ const { t } = reactI18next.useTranslation();
12
+ return (jsxRuntime.jsxs("div", { className: 'select-wallet-chain-layout__container', children: [jsxRuntime.jsx(IconWithSpinner.IconWithSpinner, { className: 'select-wallet-chain-layout__icon', Icon: HeaderIcon, iconSize: 96 }), jsxRuntime.jsxs("div", { className: 'select-wallet-chain-layout__body', children: [jsxRuntime.jsx(Typography.Typography, { className: 'select-wallet-chain-layout__text', as: 'p', color: 'secondary', variant: 'body_normal', copykey: 'dyn_select_chain.description', children: t('dyn_select_chain.description') }), jsxRuntime.jsx("div", { className: 'select-wallet-chain-layout__list', children: children })] })] }));
13
+ };
10
14
 
11
15
  exports.SelectWalletChainLayout = SelectWalletChainLayout;
@@ -1,7 +1,11 @@
1
1
  import { jsxs, jsx } from 'react/jsx-runtime';
2
+ import { useTranslation } from 'react-i18next';
2
3
  import { Typography } from '../Typography/Typography.js';
3
4
  import { IconWithSpinner } from '../IconWithSpinner/IconWithSpinner.js';
4
5
 
5
- const SelectWalletChainLayout = ({ children, HeaderIcon }) => (jsxs("div", { className: 'select-wallet-chain-layout__container', children: [jsx(IconWithSpinner, { className: 'select-wallet-chain-layout__icon', Icon: HeaderIcon, iconSize: 96 }), jsxs("div", { className: 'select-wallet-chain-layout__body', children: [jsx(Typography, { className: 'select-wallet-chain-layout__text', as: 'p', color: 'secondary', variant: 'body_normal', children: "This wallet supports multiple chains. Select which chain you'd like to connect to" }), jsx("div", { className: 'select-wallet-chain-layout__list', children: children })] })] }));
6
+ const SelectWalletChainLayout = ({ children, HeaderIcon }) => {
7
+ const { t } = useTranslation();
8
+ return (jsxs("div", { className: 'select-wallet-chain-layout__container', children: [jsx(IconWithSpinner, { className: 'select-wallet-chain-layout__icon', Icon: HeaderIcon, iconSize: 96 }), jsxs("div", { className: 'select-wallet-chain-layout__body', children: [jsx(Typography, { className: 'select-wallet-chain-layout__text', as: 'p', color: 'secondary', variant: 'body_normal', copykey: 'dyn_select_chain.description', children: t('dyn_select_chain.description') }), jsx("div", { className: 'select-wallet-chain-layout__list', children: children })] })] }));
9
+ };
6
10
 
7
11
  export { SelectWalletChainLayout };
@@ -78,9 +78,9 @@ const SendBalanceForm = ({ initialValues, onSubmit, balance, decimals = 18, }) =
78
78
  .matches(/^0x[0-9a-fA-F]{40}$/, 'invalidFormat'),
79
79
  });
80
80
  }, [balance, decimals]);
81
- return (jsxRuntime.jsx(formik.Formik, { initialValues: initialValues || sendBalanceFormInitialValues, validationSchema: sendBalanceFormValidationSchema, onSubmit: (values) => onSubmit(values), validateOnChange: false, validateOnBlur: false, children: ({ errors, touched }) => (jsxRuntime.jsxs(formik.Form, { className: 'send-balance-form', children: [jsxRuntime.jsx(formik.Field, { variant: 'regular', className: 'send-balance-form__field', name: 'amount', label: t('dyn_send_transaction.data.amount.label'), placeholder: t('dyn_send_transaction.data.amount.placeholder'), as: Input.Input, error: errors['amount'], message: touched['amount'] &&
82
- getDisplayErrorMessage(errors, t, 'amount', decimals) }), jsxRuntime.jsx(formik.Field, { variant: 'regular', className: 'send-balance-form__field', placeholder: t('dyn_send_transaction.data.recipient.placeholder'), label: t('dyn_send_transaction.data.recipient.label'), id: 'recipient', name: 'recipient', as: Input.Input, error: errors['recipient'], message: touched['recipient'] &&
83
- getDisplayErrorMessage(errors, t, 'recipient') }), jsxRuntime.jsx(SecureTurnkeyWalletCard.SecureTurnkeyWalletCard, { className: 'send-balance-form__secure-wallet' }), jsxRuntime.jsx(Button.Button, { dataTestId: 'sendBalanceFormSubmitButton', expanded: true, type: 'submit', buttonVariant: 'primary', buttonPadding: 'medium', disabled: isTurnkeyWalletWithoutAuthenticator, buttonClassName: 'send-balance-form__button', children: t('dyn_send_transaction.send_button') })] })) }));
81
+ return (jsxRuntime.jsx(formik.Formik, { initialValues: initialValues || sendBalanceFormInitialValues, validationSchema: sendBalanceFormValidationSchema, onSubmit: (values) => onSubmit(values), validateOnChange: false, validateOnBlur: false, children: ({ errors, touched }) => (jsxRuntime.jsxs(formik.Form, { className: 'send-balance-form', children: [jsxRuntime.jsx(formik.Field, { variant: 'regular', className: 'send-balance-form__field', name: 'amount', label: t('dyn_send_transaction.data.amount.label'), placeholder: t('dyn_send_transaction.data.amount.placeholder'), as: Input.Input, error: errors['amount'], copykey: 'dyn_send_transaction.data.amount.label', message: touched['amount'] &&
82
+ getDisplayErrorMessage(errors, t, 'amount', decimals) }), jsxRuntime.jsx(formik.Field, { variant: 'regular', className: 'send-balance-form__field', placeholder: t('dyn_send_transaction.data.recipient.placeholder'), label: t('dyn_send_transaction.data.recipient.label'), id: 'recipient', name: 'recipient', as: Input.Input, error: errors['recipient'], copykey: 'dyn_send_transaction.data.recipient.label', message: touched['recipient'] &&
83
+ getDisplayErrorMessage(errors, t, 'recipient') }), jsxRuntime.jsx(SecureTurnkeyWalletCard.SecureTurnkeyWalletCard, { className: 'send-balance-form__secure-wallet' }), jsxRuntime.jsx(Button.Button, { dataTestId: 'sendBalanceFormSubmitButton', expanded: true, type: 'submit', buttonVariant: 'primary', buttonPadding: 'medium', disabled: isTurnkeyWalletWithoutAuthenticator, buttonClassName: 'send-balance-form__button', copykey: 'dyn_send_transaction.send_button', children: t('dyn_send_transaction.send_button') })] })) }));
84
84
  };
85
85
 
86
86
  exports.SendBalanceForm = SendBalanceForm;
@@ -74,9 +74,9 @@ const SendBalanceForm = ({ initialValues, onSubmit, balance, decimals = 18, }) =
74
74
  .matches(/^0x[0-9a-fA-F]{40}$/, 'invalidFormat'),
75
75
  });
76
76
  }, [balance, decimals]);
77
- return (jsx(Formik, { initialValues: initialValues || sendBalanceFormInitialValues, validationSchema: sendBalanceFormValidationSchema, onSubmit: (values) => onSubmit(values), validateOnChange: false, validateOnBlur: false, children: ({ errors, touched }) => (jsxs(Form, { className: 'send-balance-form', children: [jsx(Field, { variant: 'regular', className: 'send-balance-form__field', name: 'amount', label: t('dyn_send_transaction.data.amount.label'), placeholder: t('dyn_send_transaction.data.amount.placeholder'), as: Input, error: errors['amount'], message: touched['amount'] &&
78
- getDisplayErrorMessage(errors, t, 'amount', decimals) }), jsx(Field, { variant: 'regular', className: 'send-balance-form__field', placeholder: t('dyn_send_transaction.data.recipient.placeholder'), label: t('dyn_send_transaction.data.recipient.label'), id: 'recipient', name: 'recipient', as: Input, error: errors['recipient'], message: touched['recipient'] &&
79
- getDisplayErrorMessage(errors, t, 'recipient') }), jsx(SecureTurnkeyWalletCard, { className: 'send-balance-form__secure-wallet' }), jsx(Button, { dataTestId: 'sendBalanceFormSubmitButton', expanded: true, type: 'submit', buttonVariant: 'primary', buttonPadding: 'medium', disabled: isTurnkeyWalletWithoutAuthenticator, buttonClassName: 'send-balance-form__button', children: t('dyn_send_transaction.send_button') })] })) }));
77
+ return (jsx(Formik, { initialValues: initialValues || sendBalanceFormInitialValues, validationSchema: sendBalanceFormValidationSchema, onSubmit: (values) => onSubmit(values), validateOnChange: false, validateOnBlur: false, children: ({ errors, touched }) => (jsxs(Form, { className: 'send-balance-form', children: [jsx(Field, { variant: 'regular', className: 'send-balance-form__field', name: 'amount', label: t('dyn_send_transaction.data.amount.label'), placeholder: t('dyn_send_transaction.data.amount.placeholder'), as: Input, error: errors['amount'], copykey: 'dyn_send_transaction.data.amount.label', message: touched['amount'] &&
78
+ getDisplayErrorMessage(errors, t, 'amount', decimals) }), jsx(Field, { variant: 'regular', className: 'send-balance-form__field', placeholder: t('dyn_send_transaction.data.recipient.placeholder'), label: t('dyn_send_transaction.data.recipient.label'), id: 'recipient', name: 'recipient', as: Input, error: errors['recipient'], copykey: 'dyn_send_transaction.data.recipient.label', message: touched['recipient'] &&
79
+ getDisplayErrorMessage(errors, t, 'recipient') }), jsx(SecureTurnkeyWalletCard, { className: 'send-balance-form__secure-wallet' }), jsx(Button, { dataTestId: 'sendBalanceFormSubmitButton', expanded: true, type: 'submit', buttonVariant: 'primary', buttonPadding: 'medium', disabled: isTurnkeyWalletWithoutAuthenticator, buttonClassName: 'send-balance-form__button', copykey: 'dyn_send_transaction.send_button', children: t('dyn_send_transaction.send_button') })] })) }));
80
80
  };
81
81
 
82
82
  export { SendBalanceForm };
@@ -47,7 +47,7 @@ const SendBalancePageLayout = ({ error, walletAddress, onClickClose, onClickBack
47
47
  return;
48
48
  return parseFloat(balance);
49
49
  }, [balance]);
50
- return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(ModalHeader.ModalHeader, { leading: backButton, trailing: closeButton, children: jsxRuntime.jsxs("div", { className: 'send-balance-page-layout__header-content', children: [jsxRuntime.jsx(Typography.Typography, { variant: 'body_normal', color: 'primary', as: 'p', children: t('dyn_send_transaction.data.from') }), walletKey && (jsxRuntime.jsx(Icon.Icon, { size: 'small', children: jsxRuntime.jsx(walletBook.WalletIcon, { walletKey: walletKey }) })), jsxRuntime.jsx(Typography.Typography, { variant: 'body_normal', color: 'primary', as: 'p', children: shortenWalletAddress.shortenWalletAddress(walletAddress, 3, 3) })] }) }), jsxRuntime.jsxs("div", { className: 'send-balance-page-layout__body', children: [jsxRuntime.jsx(AnimatePresence.AnimatePresence, { animationComponent: jsxRuntime.jsx(VerticalDrawerTransition.VerticalDrawerTransition, {}), children: error && (jsxRuntime.jsx("div", { className: 'send-balance-page-layout__error', children: jsxRuntime.jsx(Alert.Alert, { icon: 'error', variant: 'error', children: error }) })) }), networkName && networkIcon && (jsxRuntime.jsx("div", { className: 'send-balance-page-layout__network-container', children: jsxRuntime.jsx(Chip.Chip, { icon: networkIcon, children: networkName }) })), jsxRuntime.jsxs("div", { className: 'send-balance-page-layout__balance-container', children: [jsxRuntime.jsx(FormFieldLabel.FormFieldLabel, { divider: true, children: "Token" }), jsxRuntime.jsx(TokenBalanceCard.TokenBalanceCard, { chainIcon: networkIcon, currencySymbol: currencySymbol, balance: balance })] }), jsxRuntime.jsx(SendBalanceForm.SendBalanceForm, { onSubmit: onSubmit, initialValues: initialValues, balance: balanceNumber, decimals: networkCurrencyDecimals }), displayPoweredByDynamicFooter && (jsxRuntime.jsx(PoweredByDynamic.PoweredByDynamic, { classNameRoot: 'send-balance-page-layout__footer' }))] })] }));
50
+ return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(ModalHeader.ModalHeader, { leading: backButton, trailing: closeButton, children: jsxRuntime.jsxs("div", { className: 'send-balance-page-layout__header-content', children: [jsxRuntime.jsx(Typography.Typography, { variant: 'body_normal', color: 'primary', as: 'p', copykey: 'dyn_send_transaction.data.from', children: t('dyn_send_transaction.data.from') }), walletKey && (jsxRuntime.jsx(Icon.Icon, { size: 'small', children: jsxRuntime.jsx(walletBook.WalletIcon, { walletKey: walletKey }) })), jsxRuntime.jsx(Typography.Typography, { variant: 'body_normal', color: 'primary', as: 'p', children: shortenWalletAddress.shortenWalletAddress(walletAddress, 3, 3) })] }) }), jsxRuntime.jsxs("div", { className: 'send-balance-page-layout__body', children: [jsxRuntime.jsx(AnimatePresence.AnimatePresence, { animationComponent: jsxRuntime.jsx(VerticalDrawerTransition.VerticalDrawerTransition, {}), children: error && (jsxRuntime.jsx("div", { className: 'send-balance-page-layout__error', children: jsxRuntime.jsx(Alert.Alert, { icon: 'error', variant: 'error', children: error }) })) }), networkName && networkIcon && (jsxRuntime.jsx("div", { className: 'send-balance-page-layout__network-container', children: jsxRuntime.jsx(Chip.Chip, { icon: networkIcon, children: networkName }) })), jsxRuntime.jsxs("div", { className: 'send-balance-page-layout__balance-container', children: [jsxRuntime.jsx(FormFieldLabel.FormFieldLabel, { divider: true, children: "Token" }), jsxRuntime.jsx(TokenBalanceCard.TokenBalanceCard, { chainIcon: networkIcon, currencySymbol: currencySymbol, balance: balance })] }), jsxRuntime.jsx(SendBalanceForm.SendBalanceForm, { onSubmit: onSubmit, initialValues: initialValues, balance: balanceNumber, decimals: networkCurrencyDecimals }), displayPoweredByDynamicFooter && (jsxRuntime.jsx(PoweredByDynamic.PoweredByDynamic, { classNameRoot: 'send-balance-page-layout__footer' }))] })] }));
51
51
  };
52
52
 
53
53
  exports.SendBalancePageLayout = SendBalancePageLayout;
@@ -43,7 +43,7 @@ const SendBalancePageLayout = ({ error, walletAddress, onClickClose, onClickBack
43
43
  return;
44
44
  return parseFloat(balance);
45
45
  }, [balance]);
46
- return (jsxs(Fragment, { children: [jsx(ModalHeader, { leading: backButton, trailing: closeButton, children: jsxs("div", { className: 'send-balance-page-layout__header-content', children: [jsx(Typography, { variant: 'body_normal', color: 'primary', as: 'p', children: t('dyn_send_transaction.data.from') }), walletKey && (jsx(Icon, { size: 'small', children: jsx(WalletIcon, { walletKey: walletKey }) })), jsx(Typography, { variant: 'body_normal', color: 'primary', as: 'p', children: shortenWalletAddress(walletAddress, 3, 3) })] }) }), jsxs("div", { className: 'send-balance-page-layout__body', children: [jsx(AnimatePresence, { animationComponent: jsx(VerticalDrawerTransition, {}), children: error && (jsx("div", { className: 'send-balance-page-layout__error', children: jsx(Alert, { icon: 'error', variant: 'error', children: error }) })) }), networkName && networkIcon && (jsx("div", { className: 'send-balance-page-layout__network-container', children: jsx(Chip, { icon: networkIcon, children: networkName }) })), jsxs("div", { className: 'send-balance-page-layout__balance-container', children: [jsx(FormFieldLabel, { divider: true, children: "Token" }), jsx(TokenBalanceCard, { chainIcon: networkIcon, currencySymbol: currencySymbol, balance: balance })] }), jsx(SendBalanceForm, { onSubmit: onSubmit, initialValues: initialValues, balance: balanceNumber, decimals: networkCurrencyDecimals }), displayPoweredByDynamicFooter && (jsx(PoweredByDynamic, { classNameRoot: 'send-balance-page-layout__footer' }))] })] }));
46
+ return (jsxs(Fragment, { children: [jsx(ModalHeader, { leading: backButton, trailing: closeButton, children: jsxs("div", { className: 'send-balance-page-layout__header-content', children: [jsx(Typography, { variant: 'body_normal', color: 'primary', as: 'p', copykey: 'dyn_send_transaction.data.from', children: t('dyn_send_transaction.data.from') }), walletKey && (jsx(Icon, { size: 'small', children: jsx(WalletIcon, { walletKey: walletKey }) })), jsx(Typography, { variant: 'body_normal', color: 'primary', as: 'p', children: shortenWalletAddress(walletAddress, 3, 3) })] }) }), jsxs("div", { className: 'send-balance-page-layout__body', children: [jsx(AnimatePresence, { animationComponent: jsx(VerticalDrawerTransition, {}), children: error && (jsx("div", { className: 'send-balance-page-layout__error', children: jsx(Alert, { icon: 'error', variant: 'error', children: error }) })) }), networkName && networkIcon && (jsx("div", { className: 'send-balance-page-layout__network-container', children: jsx(Chip, { icon: networkIcon, children: networkName }) })), jsxs("div", { className: 'send-balance-page-layout__balance-container', children: [jsx(FormFieldLabel, { divider: true, children: "Token" }), jsx(TokenBalanceCard, { chainIcon: networkIcon, currencySymbol: currencySymbol, balance: balance })] }), jsx(SendBalanceForm, { onSubmit: onSubmit, initialValues: initialValues, balance: balanceNumber, decimals: networkCurrencyDecimals }), displayPoweredByDynamicFooter && (jsx(PoweredByDynamic, { classNameRoot: 'send-balance-page-layout__footer' }))] })] }));
47
47
  };
48
48
 
49
49
  export { SendBalancePageLayout };
@@ -9,7 +9,7 @@ var helpers = require('../../../../widgets/DynamicWidget/helpers/helpers.cjs');
9
9
 
10
10
  const TokenBalanceCard = ({ chainIcon, currencySymbol, balance, }) => {
11
11
  const { t } = reactI18next.useTranslation();
12
- return (jsxRuntime.jsxs("div", { className: 'token-balance-card', children: [jsxRuntime.jsxs("div", { className: 'token-balance-card__chain', children: [Boolean(chainIcon) && (jsxRuntime.jsx("div", { className: 'token-balance-card__chain__icon', children: chainIcon })), jsxRuntime.jsx(Typography.Typography, { variant: 'body_normal', color: 'primary', children: currencySymbol })] }), balance !== undefined && (jsxRuntime.jsxs("div", { className: 'token-balance-card__balance-container', children: [jsxRuntime.jsx(Typography.Typography, { variant: 'body_small', color: 'tertiary', children: t('dyn_send_transaction.data.balance.label') }), jsxRuntime.jsxs("div", { className: 'token-balance-card__balance', children: [jsxRuntime.jsx(Typography.Typography, { variant: 'body_small', color: 'secondary', children: helpers.roundBalance(balance, 6) }), jsxRuntime.jsx(Typography.Typography, { variant: 'body_small', color: 'tertiary', children: currencySymbol })] })] }))] }));
12
+ return (jsxRuntime.jsxs("div", { className: 'token-balance-card', children: [jsxRuntime.jsxs("div", { className: 'token-balance-card__chain', children: [Boolean(chainIcon) && (jsxRuntime.jsx("div", { className: 'token-balance-card__chain__icon', children: chainIcon })), jsxRuntime.jsx(Typography.Typography, { variant: 'body_normal', color: 'primary', children: currencySymbol })] }), balance !== undefined && (jsxRuntime.jsxs("div", { className: 'token-balance-card__balance-container', children: [jsxRuntime.jsx(Typography.Typography, { variant: 'body_small', color: 'tertiary', copykey: 'dyn_send_transaction.data.balance.label', children: t('dyn_send_transaction.data.balance.label') }), jsxRuntime.jsxs("div", { className: 'token-balance-card__balance', children: [jsxRuntime.jsx(Typography.Typography, { variant: 'body_small', color: 'secondary', children: helpers.roundBalance(balance, 6) }), jsxRuntime.jsx(Typography.Typography, { variant: 'body_small', color: 'tertiary', children: currencySymbol })] })] }))] }));
13
13
  };
14
14
 
15
15
  exports.TokenBalanceCard = TokenBalanceCard;
@@ -5,7 +5,7 @@ import { roundBalance } from '../../../../widgets/DynamicWidget/helpers/helpers.
5
5
 
6
6
  const TokenBalanceCard = ({ chainIcon, currencySymbol, balance, }) => {
7
7
  const { t } = useTranslation();
8
- return (jsxs("div", { className: 'token-balance-card', children: [jsxs("div", { className: 'token-balance-card__chain', children: [Boolean(chainIcon) && (jsx("div", { className: 'token-balance-card__chain__icon', children: chainIcon })), jsx(Typography, { variant: 'body_normal', color: 'primary', children: currencySymbol })] }), balance !== undefined && (jsxs("div", { className: 'token-balance-card__balance-container', children: [jsx(Typography, { variant: 'body_small', color: 'tertiary', children: t('dyn_send_transaction.data.balance.label') }), jsxs("div", { className: 'token-balance-card__balance', children: [jsx(Typography, { variant: 'body_small', color: 'secondary', children: roundBalance(balance, 6) }), jsx(Typography, { variant: 'body_small', color: 'tertiary', children: currencySymbol })] })] }))] }));
8
+ return (jsxs("div", { className: 'token-balance-card', children: [jsxs("div", { className: 'token-balance-card__chain', children: [Boolean(chainIcon) && (jsx("div", { className: 'token-balance-card__chain__icon', children: chainIcon })), jsx(Typography, { variant: 'body_normal', color: 'primary', children: currencySymbol })] }), balance !== undefined && (jsxs("div", { className: 'token-balance-card__balance-container', children: [jsx(Typography, { variant: 'body_small', color: 'tertiary', copykey: 'dyn_send_transaction.data.balance.label', children: t('dyn_send_transaction.data.balance.label') }), jsxs("div", { className: 'token-balance-card__balance', children: [jsx(Typography, { variant: 'body_small', color: 'secondary', children: roundBalance(balance, 6) }), jsx(Typography, { variant: 'body_small', color: 'tertiary', children: currencySymbol })] })] }))] }));
9
9
  };
10
10
 
11
11
  export { TokenBalanceCard };
@@ -1 +1 @@
1
- export { ShadowDOM } from './ShadowDOM';
1
+ export { ShadowDOM, type ShadowDOMProps } from './ShadowDOM';
@@ -19,6 +19,7 @@ require('@dynamic-labs/utils');
19
19
  require('../../shared/consts/index.cjs');
20
20
  var capitalize = require('../../shared/utils/functions/capitalize/capitalize.cjs');
21
21
  var classNames = require('../../utils/functions/classNames/classNames.cjs');
22
+ require('../../events/dynamicEvents.cjs');
22
23
  require('../../context/DynamicContext/DynamicContext.cjs');
23
24
  require('../../context/CaptchaContext/CaptchaContext.cjs');
24
25
  require('../../context/ErrorContext/ErrorContext.cjs');
@@ -62,8 +63,8 @@ require('../../context/FooterAnimationContext/index.cjs');
62
63
  require('../../context/QrCodeContext/QrCodeContext.cjs');
63
64
  require('../../context/WalletGroupContext/WalletGroupContext.cjs');
64
65
  require('../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.cjs');
65
- require('qrcode');
66
66
  require('../../context/LoadingContext/LoadingContext.cjs');
67
+ require('qrcode');
67
68
  require('../../widgets/DynamicWidget/context/DynamicWidgetContext.cjs');
68
69
  require('../UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.cjs');
69
70
  require('@dynamic-labs/viem-utils');
@@ -15,6 +15,7 @@ import '@dynamic-labs/utils';
15
15
  import '../../shared/consts/index.js';
16
16
  import { capitalize } from '../../shared/utils/functions/capitalize/capitalize.js';
17
17
  import { classNames } from '../../utils/functions/classNames/classNames.js';
18
+ import '../../events/dynamicEvents.js';
18
19
  import '../../context/DynamicContext/DynamicContext.js';
19
20
  import '../../context/CaptchaContext/CaptchaContext.js';
20
21
  import '../../context/ErrorContext/ErrorContext.js';
@@ -58,8 +59,8 @@ import '../../context/FooterAnimationContext/index.js';
58
59
  import '../../context/QrCodeContext/QrCodeContext.js';
59
60
  import '../../context/WalletGroupContext/WalletGroupContext.js';
60
61
  import '../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.js';
61
- import 'qrcode';
62
62
  import '../../context/LoadingContext/LoadingContext.js';
63
+ import 'qrcode';
63
64
  import '../../widgets/DynamicWidget/context/DynamicWidgetContext.js';
64
65
  import '../UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.js';
65
66
  import '@dynamic-labs/viem-utils';
@@ -18,6 +18,7 @@ var localStorage = require('../../shared/utils/classes/storage/localStorage.cjs'
18
18
  require('viem');
19
19
  require('@dynamic-labs/utils');
20
20
  require('../../shared/consts/index.cjs');
21
+ require('../../events/dynamicEvents.cjs');
21
22
  require('../../context/CaptchaContext/CaptchaContext.cjs');
22
23
  require('../../context/ErrorContext/ErrorContext.cjs');
23
24
  require('@dynamic-labs/multi-wallet');
@@ -55,8 +56,8 @@ require('../../context/FooterAnimationContext/index.cjs');
55
56
  require('../../context/QrCodeContext/QrCodeContext.cjs');
56
57
  require('../../context/WalletGroupContext/WalletGroupContext.cjs');
57
58
  require('../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.cjs');
58
- require('qrcode');
59
59
  require('../../context/LoadingContext/LoadingContext.cjs');
60
+ require('qrcode');
60
61
  require('../../widgets/DynamicWidget/context/DynamicWidgetContext.cjs');
61
62
  require('../UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.cjs');
62
63
  require('@dynamic-labs/viem-utils');
@@ -14,6 +14,7 @@ import { LocalStorage } from '../../shared/utils/classes/storage/localStorage.js
14
14
  import 'viem';
15
15
  import '@dynamic-labs/utils';
16
16
  import '../../shared/consts/index.js';
17
+ import '../../events/dynamicEvents.js';
17
18
  import '../../context/CaptchaContext/CaptchaContext.js';
18
19
  import '../../context/ErrorContext/ErrorContext.js';
19
20
  import '@dynamic-labs/multi-wallet';
@@ -51,8 +52,8 @@ import '../../context/FooterAnimationContext/index.js';
51
52
  import '../../context/QrCodeContext/QrCodeContext.js';
52
53
  import '../../context/WalletGroupContext/WalletGroupContext.js';
53
54
  import '../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.js';
54
- import 'qrcode';
55
55
  import '../../context/LoadingContext/LoadingContext.js';
56
+ import 'qrcode';
56
57
  import '../../widgets/DynamicWidget/context/DynamicWidgetContext.js';
57
58
  import '../UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.js';
58
59
  import '@dynamic-labs/viem-utils';
@@ -1,2 +1,3 @@
1
1
  import { ComponentPropsWithoutRef } from 'react';
2
- export declare const TextButton: ({ className, ...props }: ComponentPropsWithoutRef<'button'>) => JSX.Element;
2
+ import { CopyKey } from '../../shared';
3
+ export declare const TextButton: ({ className, ...props }: ComponentPropsWithoutRef<'button'> & CopyKey) => JSX.Element;
@@ -0,0 +1,14 @@
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
+ var classNames = require('../../utils/functions/classNames/classNames.cjs');
8
+
9
+ const Toggle = (_a) => {
10
+ var { icon, variant = 'primary', className } = _a, props = _tslib.__rest(_a, ["icon", "variant", "className"]);
11
+ return (jsxRuntime.jsxs("label", { className: classNames.classNames('toggle', className), children: [jsxRuntime.jsx("input", Object.assign({ type: 'checkbox', className: 'toggle--input' }, props)), jsxRuntime.jsx("div", { className: classNames.classNames('toggle--content', `toggle--content__variant-${variant}`), children: jsxRuntime.jsx("div", { className: 'toggle--knob', children: icon }) })] }));
12
+ };
13
+
14
+ exports.Toggle = Toggle;
@@ -0,0 +1,7 @@
1
+ import { ComponentPropsWithoutRef, FC } from 'react';
2
+ type ToggleProps = ComponentPropsWithoutRef<'input'> & {
3
+ icon?: JSX.Element;
4
+ variant?: 'primary';
5
+ };
6
+ export declare const Toggle: FC<ToggleProps>;
7
+ export {};
@@ -0,0 +1,10 @@
1
+ import { __rest } from '../../../../_virtual/_tslib.js';
2
+ import { jsxs, jsx } from 'react/jsx-runtime';
3
+ import { classNames } from '../../utils/functions/classNames/classNames.js';
4
+
5
+ const Toggle = (_a) => {
6
+ var { icon, variant = 'primary', className } = _a, props = __rest(_a, ["icon", "variant", "className"]);
7
+ return (jsxs("label", { className: classNames('toggle', className), children: [jsx("input", Object.assign({ type: 'checkbox', className: 'toggle--input' }, props)), jsx("div", { className: classNames('toggle--content', `toggle--content__variant-${variant}`), children: jsx("div", { className: 'toggle--knob', children: icon }) })] }));
8
+ };
9
+
10
+ export { Toggle };
@@ -0,0 +1 @@
1
+ export { Toggle } from './Toggle';
@@ -19,6 +19,7 @@ require('viem');
19
19
  require('@dynamic-labs/utils');
20
20
  var index = require('../../shared/consts/index.cjs');
21
21
  var classNames = require('../../utils/functions/classNames/classNames.cjs');
22
+ require('../../events/dynamicEvents.cjs');
22
23
  require('../../context/DynamicContext/DynamicContext.cjs');
23
24
  require('../../context/CaptchaContext/CaptchaContext.cjs');
24
25
  require('../../context/ErrorContext/ErrorContext.cjs');
@@ -57,14 +58,14 @@ require('../../context/FooterAnimationContext/index.cjs');
57
58
  require('../../context/QrCodeContext/QrCodeContext.cjs');
58
59
  require('../../context/WalletGroupContext/WalletGroupContext.cjs');
59
60
  require('../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.cjs');
60
- require('qrcode');
61
61
  require('../../context/LoadingContext/LoadingContext.cjs');
62
+ require('qrcode');
62
63
  require('../../widgets/DynamicWidget/context/DynamicWidgetContext.cjs');
63
64
  require('../UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.cjs');
64
65
  require('@dynamic-labs/viem-utils');
65
66
  require('../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.cjs');
66
67
 
67
- const Tooltip = ({ children, content, className, as: Tag = 'span', }) => {
68
+ const Tooltip = ({ children, content, className, as: Tag = 'span', copykey, }) => {
68
69
  const portalRoot = useElementById.useElementById('dynamic-tooltips');
69
70
  const [childrenHover, childrenHoverHandlers] = useHover.useHover(false, true);
70
71
  const [hoversTooltip, setHoversTooltip] = React.useState(false);
@@ -120,7 +121,7 @@ const Tooltip = ({ children, content, className, as: Tag = 'span', }) => {
120
121
  });
121
122
  return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [reactDom.createPortal(jsxRuntime.jsx(ShadowDOM.ShadowDOM, { zIndex: index.tooltipZIndex, children: jsxRuntime.jsxs("div", { "data-testid": 'dynamicTooltip', className: classNames.classNames('dynamic-tooltip', {
122
123
  'dynamic-tooltip--visible': visible,
123
- }, className), style: { left: vector[0], top: vector[1] }, ref: tooltipRef, children: [content, jsxRuntime.jsx(tooltipArrow.ReactComponent, { className: 'dynamic-tooltip__arrow' })] }) }), portalRoot.current), jsxRuntime.jsx(Tag, Object.assign({ ref: childrenRef }, childrenHoverHandlers, { children: children }))] }));
124
+ }, className), style: { left: vector[0], top: vector[1] }, ref: tooltipRef, copykey: copykey, children: [content, jsxRuntime.jsx(tooltipArrow.ReactComponent, { className: 'dynamic-tooltip__arrow' })] }) }), portalRoot.current), jsxRuntime.jsx(Tag, Object.assign({ ref: childrenRef }, childrenHoverHandlers, { children: children }))] }));
124
125
  };
125
126
 
126
127
  exports.Tooltip = Tooltip;
@@ -1,7 +1,8 @@
1
1
  import { FC, PropsWithChildren, ReactElement, ElementType } from 'react';
2
+ import { CopyKey } from '../../shared';
2
3
  export type TooltipProps = {
3
4
  as?: ElementType;
4
5
  className?: string;
5
6
  content: string | ReactElement;
6
- };
7
+ } & CopyKey;
7
8
  export declare const Tooltip: FC<PropsWithChildren<TooltipProps>>;
@@ -15,6 +15,7 @@ import 'viem';
15
15
  import '@dynamic-labs/utils';
16
16
  import { tooltipZIndex } from '../../shared/consts/index.js';
17
17
  import { classNames } from '../../utils/functions/classNames/classNames.js';
18
+ import '../../events/dynamicEvents.js';
18
19
  import '../../context/DynamicContext/DynamicContext.js';
19
20
  import '../../context/CaptchaContext/CaptchaContext.js';
20
21
  import '../../context/ErrorContext/ErrorContext.js';
@@ -53,14 +54,14 @@ import '../../context/FooterAnimationContext/index.js';
53
54
  import '../../context/QrCodeContext/QrCodeContext.js';
54
55
  import '../../context/WalletGroupContext/WalletGroupContext.js';
55
56
  import '../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.js';
56
- import 'qrcode';
57
57
  import '../../context/LoadingContext/LoadingContext.js';
58
+ import 'qrcode';
58
59
  import '../../widgets/DynamicWidget/context/DynamicWidgetContext.js';
59
60
  import '../UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.js';
60
61
  import '@dynamic-labs/viem-utils';
61
62
  import '../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.js';
62
63
 
63
- const Tooltip = ({ children, content, className, as: Tag = 'span', }) => {
64
+ const Tooltip = ({ children, content, className, as: Tag = 'span', copykey, }) => {
64
65
  const portalRoot = useElementById('dynamic-tooltips');
65
66
  const [childrenHover, childrenHoverHandlers] = useHover(false, true);
66
67
  const [hoversTooltip, setHoversTooltip] = useState(false);
@@ -116,7 +117,7 @@ const Tooltip = ({ children, content, className, as: Tag = 'span', }) => {
116
117
  });
117
118
  return (jsxs(Fragment, { children: [createPortal(jsx(ShadowDOM, { zIndex: tooltipZIndex, children: jsxs("div", { "data-testid": 'dynamicTooltip', className: classNames('dynamic-tooltip', {
118
119
  'dynamic-tooltip--visible': visible,
119
- }, className), style: { left: vector[0], top: vector[1] }, ref: tooltipRef, children: [content, jsx(SvgTooltipArrow, { className: 'dynamic-tooltip__arrow' })] }) }), portalRoot.current), jsx(Tag, Object.assign({ ref: childrenRef }, childrenHoverHandlers, { children: children }))] }));
120
+ }, className), style: { left: vector[0], top: vector[1] }, ref: tooltipRef, copykey: copykey, children: [content, jsx(SvgTooltipArrow, { className: 'dynamic-tooltip__arrow' })] }) }), portalRoot.current), jsx(Tag, Object.assign({ ref: childrenRef }, childrenHoverHandlers, { children: children }))] }));
120
121
  };
121
122
 
122
123
  export { Tooltip };
@@ -37,14 +37,14 @@ var useIsTurnkeyWallet = require('../../utils/hooks/useIsTurnkeyWallet/useIsTurn
37
37
  var SecureTurnkeyWalletCard = require('../SecureTurnkeyWalletCard/SecureTurnkeyWalletCard.cjs');
38
38
  var PasskeyCreatedSuccessBanner = require('../PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.cjs');
39
39
 
40
- const TransactionConfirmationPageLayout = ({ onClickClose, isLoading, onClickBack, title, error, appOrigin, appLogoUrl, appName, onClickSend, disableSendButton, displayPoweredByDynamicFooter = false, alert, children, }) => {
40
+ const TransactionConfirmationPageLayout = ({ onClickClose, isLoading, onClickBack, copykey, title, error, appOrigin, appLogoUrl, appName, onClickSend, disableSendButton, displayPoweredByDynamicFooter = false, alert, children, }) => {
41
41
  const { t } = reactI18next.useTranslation();
42
42
  const { isTurnkeyWalletWithoutAuthenticator } = useIsTurnkeyWallet.useIsTurnkeyWallet();
43
43
  const closeButton = onClickClose && (jsxRuntime.jsx(IconButton.IconButton, { type: 'button', onClick: onClickClose, "data-testid": 'close', disabled: isLoading, children: jsxRuntime.jsx(close.ReactComponent, {}) }));
44
44
  const backButton = onClickBack && (jsxRuntime.jsx(IconButton.IconButton, { type: 'button', onClick: onClickBack, "data-testid": 'back-button', children: jsxRuntime.jsx(chevronLeft.ReactComponent, {}) }));
45
- return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(ModalHeader.ModalHeader, { trailing: closeButton, leading: backButton, alignContent: 'bottom', children: jsxRuntime.jsx(IconWithSpinner.IconWithSpinner, { Icon: (props) => (jsxRuntime.jsx(Icon.Icon, { color: 'brand-primary', children: jsxRuntime.jsx(signCircle.ReactComponent, Object.assign({}, props)) })), iconSize: 64, isSpinning: true }) }), jsxRuntime.jsx(PasskeyCreatedSuccessBanner.PasskeyCreatedSuccessBanner, {}), jsxRuntime.jsxs("div", { className: 'transaction-confirmation__body', children: [jsxRuntime.jsx(Typography.Typography, { variant: 'title', color: 'primary', className: 'transaction-confirmation__title', children: title }), jsxRuntime.jsx(AnimatePresence.AnimatePresence, { animationComponent: jsxRuntime.jsx(VerticalDrawerTransition.VerticalDrawerTransition, {}), children: error && (jsxRuntime.jsx("div", { className: 'transaction-confirmation__error', children: jsxRuntime.jsx(Alert.Alert, { icon: 'error', variant: 'error', children: error }) })) }), jsxRuntime.jsxs("div", { className: 'transaction-confirmation__content', children: [jsxRuntime.jsx("div", { className: 'transaction-confirmation__app-origin-tile', children: jsxRuntime.jsx(AppOriginTile.AppOriginTile, { appLogoUrl: appLogoUrl, appName: appName, appOrigin: appOrigin }) }), jsxRuntime.jsx("div", { className: 'transaction-confirmation__rows', children: children })] }), jsxRuntime.jsx(AnimatePresence.AnimatePresence, { animationComponent: jsxRuntime.jsx(VerticalDrawerTransition.VerticalDrawerTransition, {}), children: alert && (jsxRuntime.jsx("div", { className: 'transaction-confirmation__warning', children: alert })) }), jsxRuntime.jsx(SecureTurnkeyWalletCard.SecureTurnkeyWalletCard, { className: 'transaction-confirmation__secure-wallet' }), jsxRuntime.jsxs("div", { className: 'transaction-confirmation__actions', children: [onClickClose && (jsxRuntime.jsx(Button.Button, { buttonVariant: 'secondary', onClick: onClickClose, expanded: true, buttonPadding: 'large', disabled: isLoading, children: t('dyn_send_transaction.confirmation.cancel_button') })), jsxRuntime.jsx(Button.Button, { buttonVariant: 'primary', buttonPadding: 'large', onClick: (event) => {
45
+ return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(ModalHeader.ModalHeader, { trailing: closeButton, leading: backButton, alignContent: 'bottom', children: jsxRuntime.jsx(IconWithSpinner.IconWithSpinner, { Icon: (props) => (jsxRuntime.jsx(Icon.Icon, { color: 'brand-primary', children: jsxRuntime.jsx(signCircle.ReactComponent, Object.assign({}, props)) })), iconSize: 64, isSpinning: true }) }), jsxRuntime.jsx(PasskeyCreatedSuccessBanner.PasskeyCreatedSuccessBanner, {}), jsxRuntime.jsxs("div", { className: 'transaction-confirmation__body', children: [jsxRuntime.jsx(Typography.Typography, { variant: 'title', color: 'primary', className: 'transaction-confirmation__title', copykey: copykey, children: title }), jsxRuntime.jsx(AnimatePresence.AnimatePresence, { animationComponent: jsxRuntime.jsx(VerticalDrawerTransition.VerticalDrawerTransition, {}), children: error && (jsxRuntime.jsx("div", { className: 'transaction-confirmation__error', children: jsxRuntime.jsx(Alert.Alert, { icon: 'error', variant: 'error', children: error }) })) }), jsxRuntime.jsxs("div", { className: 'transaction-confirmation__content', children: [jsxRuntime.jsx("div", { className: 'transaction-confirmation__app-origin-tile', children: jsxRuntime.jsx(AppOriginTile.AppOriginTile, { appLogoUrl: appLogoUrl, appName: appName, appOrigin: appOrigin }) }), jsxRuntime.jsx("div", { className: 'transaction-confirmation__rows', children: children })] }), jsxRuntime.jsx(AnimatePresence.AnimatePresence, { animationComponent: jsxRuntime.jsx(VerticalDrawerTransition.VerticalDrawerTransition, {}), children: alert && (jsxRuntime.jsx("div", { className: 'transaction-confirmation__warning', children: alert })) }), jsxRuntime.jsx(SecureTurnkeyWalletCard.SecureTurnkeyWalletCard, { className: 'transaction-confirmation__secure-wallet' }), jsxRuntime.jsxs("div", { className: 'transaction-confirmation__actions', children: [onClickClose && (jsxRuntime.jsx(Button.Button, { buttonVariant: 'secondary', onClick: onClickClose, expanded: true, buttonPadding: 'large', disabled: isLoading, copykey: 'dyn_send_transaction.confirmation.cancel_button', children: t('dyn_send_transaction.confirmation.cancel_button') })), jsxRuntime.jsx(Button.Button, { buttonVariant: 'primary', buttonPadding: 'large', onClick: (event) => {
46
46
  onClickSend === null || onClickSend === void 0 ? void 0 : onClickSend(event);
47
- }, expanded: true, loading: isLoading, disabled: disableSendButton || isTurnkeyWalletWithoutAuthenticator, children: t('dyn_send_transaction.confirmation.confirm_button') })] }), displayPoweredByDynamicFooter && (jsxRuntime.jsx(PoweredByDynamic.PoweredByDynamic, { classNameRoot: 'transaction-confirmation__footer' }))] })] }));
47
+ }, expanded: true, loading: isLoading, disabled: disableSendButton || isTurnkeyWalletWithoutAuthenticator, copykey: 'dyn_send_transaction.confirmation.confirm_button', children: t('dyn_send_transaction.confirmation.confirm_button') })] }), displayPoweredByDynamicFooter && (jsxRuntime.jsx(PoweredByDynamic.PoweredByDynamic, { classNameRoot: 'transaction-confirmation__footer' }))] })] }));
48
48
  };
49
49
 
50
50
  exports.TransactionConfirmationPageLayout = TransactionConfirmationPageLayout;
@@ -1,4 +1,5 @@
1
1
  import { FC, MouseEventHandler, PropsWithChildren, ReactNode } from 'react';
2
+ import { CopyKey } from '../../shared';
2
3
  type TransactionConfirmationPageLayoutProps = {
3
4
  appLogoUrl?: string;
4
5
  appName?: string;
@@ -12,6 +13,6 @@ type TransactionConfirmationPageLayoutProps = {
12
13
  onClickSend: MouseEventHandler<HTMLButtonElement>;
13
14
  title?: ReactNode;
14
15
  alert?: ReactNode;
15
- };
16
+ } & CopyKey;
16
17
  export declare const TransactionConfirmationPageLayout: FC<PropsWithChildren<TransactionConfirmationPageLayoutProps>>;
17
18
  export {};
@@ -33,14 +33,14 @@ import { useIsTurnkeyWallet } from '../../utils/hooks/useIsTurnkeyWallet/useIsTu
33
33
  import { SecureTurnkeyWalletCard } from '../SecureTurnkeyWalletCard/SecureTurnkeyWalletCard.js';
34
34
  import { PasskeyCreatedSuccessBanner } from '../PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.js';
35
35
 
36
- const TransactionConfirmationPageLayout = ({ onClickClose, isLoading, onClickBack, title, error, appOrigin, appLogoUrl, appName, onClickSend, disableSendButton, displayPoweredByDynamicFooter = false, alert, children, }) => {
36
+ const TransactionConfirmationPageLayout = ({ onClickClose, isLoading, onClickBack, copykey, title, error, appOrigin, appLogoUrl, appName, onClickSend, disableSendButton, displayPoweredByDynamicFooter = false, alert, children, }) => {
37
37
  const { t } = useTranslation();
38
38
  const { isTurnkeyWalletWithoutAuthenticator } = useIsTurnkeyWallet();
39
39
  const closeButton = onClickClose && (jsx(IconButton, { type: 'button', onClick: onClickClose, "data-testid": 'close', disabled: isLoading, children: jsx(SvgClose, {}) }));
40
40
  const backButton = onClickBack && (jsx(IconButton, { type: 'button', onClick: onClickBack, "data-testid": 'back-button', children: jsx(SvgChevronLeft, {}) }));
41
- return (jsxs(Fragment, { children: [jsx(ModalHeader, { trailing: closeButton, leading: backButton, alignContent: 'bottom', children: jsx(IconWithSpinner, { Icon: (props) => (jsx(Icon, { color: 'brand-primary', children: jsx(SvgSignCircle, Object.assign({}, props)) })), iconSize: 64, isSpinning: true }) }), jsx(PasskeyCreatedSuccessBanner, {}), jsxs("div", { className: 'transaction-confirmation__body', children: [jsx(Typography, { variant: 'title', color: 'primary', className: 'transaction-confirmation__title', children: title }), jsx(AnimatePresence, { animationComponent: jsx(VerticalDrawerTransition, {}), children: error && (jsx("div", { className: 'transaction-confirmation__error', children: jsx(Alert, { icon: 'error', variant: 'error', children: error }) })) }), jsxs("div", { className: 'transaction-confirmation__content', children: [jsx("div", { className: 'transaction-confirmation__app-origin-tile', children: jsx(AppOriginTile, { appLogoUrl: appLogoUrl, appName: appName, appOrigin: appOrigin }) }), jsx("div", { className: 'transaction-confirmation__rows', children: children })] }), jsx(AnimatePresence, { animationComponent: jsx(VerticalDrawerTransition, {}), children: alert && (jsx("div", { className: 'transaction-confirmation__warning', children: alert })) }), jsx(SecureTurnkeyWalletCard, { className: 'transaction-confirmation__secure-wallet' }), jsxs("div", { className: 'transaction-confirmation__actions', children: [onClickClose && (jsx(Button, { buttonVariant: 'secondary', onClick: onClickClose, expanded: true, buttonPadding: 'large', disabled: isLoading, children: t('dyn_send_transaction.confirmation.cancel_button') })), jsx(Button, { buttonVariant: 'primary', buttonPadding: 'large', onClick: (event) => {
41
+ return (jsxs(Fragment, { children: [jsx(ModalHeader, { trailing: closeButton, leading: backButton, alignContent: 'bottom', children: jsx(IconWithSpinner, { Icon: (props) => (jsx(Icon, { color: 'brand-primary', children: jsx(SvgSignCircle, Object.assign({}, props)) })), iconSize: 64, isSpinning: true }) }), jsx(PasskeyCreatedSuccessBanner, {}), jsxs("div", { className: 'transaction-confirmation__body', children: [jsx(Typography, { variant: 'title', color: 'primary', className: 'transaction-confirmation__title', copykey: copykey, children: title }), jsx(AnimatePresence, { animationComponent: jsx(VerticalDrawerTransition, {}), children: error && (jsx("div", { className: 'transaction-confirmation__error', children: jsx(Alert, { icon: 'error', variant: 'error', children: error }) })) }), jsxs("div", { className: 'transaction-confirmation__content', children: [jsx("div", { className: 'transaction-confirmation__app-origin-tile', children: jsx(AppOriginTile, { appLogoUrl: appLogoUrl, appName: appName, appOrigin: appOrigin }) }), jsx("div", { className: 'transaction-confirmation__rows', children: children })] }), jsx(AnimatePresence, { animationComponent: jsx(VerticalDrawerTransition, {}), children: alert && (jsx("div", { className: 'transaction-confirmation__warning', children: alert })) }), jsx(SecureTurnkeyWalletCard, { className: 'transaction-confirmation__secure-wallet' }), jsxs("div", { className: 'transaction-confirmation__actions', children: [onClickClose && (jsx(Button, { buttonVariant: 'secondary', onClick: onClickClose, expanded: true, buttonPadding: 'large', disabled: isLoading, copykey: 'dyn_send_transaction.confirmation.cancel_button', children: t('dyn_send_transaction.confirmation.cancel_button') })), jsx(Button, { buttonVariant: 'primary', buttonPadding: 'large', onClick: (event) => {
42
42
  onClickSend === null || onClickSend === void 0 ? void 0 : onClickSend(event);
43
- }, expanded: true, loading: isLoading, disabled: disableSendButton || isTurnkeyWalletWithoutAuthenticator, children: t('dyn_send_transaction.confirmation.confirm_button') })] }), displayPoweredByDynamicFooter && (jsx(PoweredByDynamic, { classNameRoot: 'transaction-confirmation__footer' }))] })] }));
43
+ }, expanded: true, loading: isLoading, disabled: disableSendButton || isTurnkeyWalletWithoutAuthenticator, copykey: 'dyn_send_transaction.confirmation.confirm_button', children: t('dyn_send_transaction.confirmation.confirm_button') })] }), displayPoweredByDynamicFooter && (jsx(PoweredByDynamic, { classNameRoot: 'transaction-confirmation__footer' }))] })] }));
44
44
  };
45
45
 
46
46
  export { TransactionConfirmationPageLayout };
@@ -6,6 +6,6 @@ var jsxRuntime = require('react/jsx-runtime');
6
6
  var Typography = require('../../../Typography/Typography.cjs');
7
7
  var Skeleton = require('../../../Skeleton/Skeleton.cjs');
8
8
 
9
- const TransactionRow = ({ label, title, children, isEmpty = false, isLoading = false, suffix, dataTestId, icon, }) => (jsxRuntime.jsxs("div", { className: 'transaction-row', children: [jsxRuntime.jsx(Typography.Typography, { color: 'secondary', variant: 'body_normal', weight: 'regular', className: 'transaction-row__label', children: label }), jsxRuntime.jsxs("div", { className: 'transaction-row__content', "data-testid": dataTestId, children: [isLoading && (jsxRuntime.jsx(Skeleton.Skeleton, { count: 1, className: 'transaction-row__skeleton' })), isLoading === false && children !== undefined && (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(Typography.Typography, { title: title, color: isEmpty ? 'secondary' : 'primary', variant: 'body_normal', weight: isEmpty ? 'regular' : 'medium', truncate: true, children: children }), suffix && (jsxRuntime.jsx(Typography.Typography, { as: 'span', color: 'secondary', weight: 'regular', children: suffix })), icon] }))] })] }));
9
+ const TransactionRow = ({ label, title, children, isEmpty = false, isLoading = false, suffix, dataTestId, icon, copykey, }) => (jsxRuntime.jsxs("div", { className: 'transaction-row', children: [jsxRuntime.jsx(Typography.Typography, { color: 'secondary', variant: 'body_normal', weight: 'regular', className: 'transaction-row__label', copykey: copykey, children: label }), jsxRuntime.jsxs("div", { className: 'transaction-row__content', "data-testid": dataTestId, children: [isLoading && (jsxRuntime.jsx(Skeleton.Skeleton, { count: 1, className: 'transaction-row__skeleton' })), isLoading === false && children !== undefined && (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(Typography.Typography, { title: title, color: isEmpty ? 'secondary' : 'primary', variant: 'body_normal', weight: isEmpty ? 'regular' : 'medium', truncate: true, children: children }), suffix && (jsxRuntime.jsx(Typography.Typography, { as: 'span', color: 'secondary', weight: 'regular', children: suffix })), icon] }))] })] }));
10
10
 
11
11
  exports.TransactionRow = TransactionRow;
@@ -1,4 +1,5 @@
1
1
  import { FC, PropsWithChildren, ReactNode } from 'react';
2
+ import { CopyKey } from '../../../../shared';
2
3
  type TransactionRowProps = {
3
4
  dataTestId?: string;
4
5
  icon?: ReactNode;
@@ -7,6 +8,6 @@ type TransactionRowProps = {
7
8
  label: ReactNode;
8
9
  suffix?: ReactNode;
9
10
  title?: string;
10
- };
11
+ } & CopyKey;
11
12
  export declare const TransactionRow: FC<PropsWithChildren<TransactionRowProps>>;
12
13
  export {};
@@ -2,6 +2,6 @@ import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
2
2
  import { Typography } from '../../../Typography/Typography.js';
3
3
  import { Skeleton } from '../../../Skeleton/Skeleton.js';
4
4
 
5
- const TransactionRow = ({ label, title, children, isEmpty = false, isLoading = false, suffix, dataTestId, icon, }) => (jsxs("div", { className: 'transaction-row', children: [jsx(Typography, { color: 'secondary', variant: 'body_normal', weight: 'regular', className: 'transaction-row__label', children: label }), jsxs("div", { className: 'transaction-row__content', "data-testid": dataTestId, children: [isLoading && (jsx(Skeleton, { count: 1, className: 'transaction-row__skeleton' })), isLoading === false && children !== undefined && (jsxs(Fragment, { children: [jsx(Typography, { title: title, color: isEmpty ? 'secondary' : 'primary', variant: 'body_normal', weight: isEmpty ? 'regular' : 'medium', truncate: true, children: children }), suffix && (jsx(Typography, { as: 'span', color: 'secondary', weight: 'regular', children: suffix })), icon] }))] })] }));
5
+ const TransactionRow = ({ label, title, children, isEmpty = false, isLoading = false, suffix, dataTestId, icon, copykey, }) => (jsxs("div", { className: 'transaction-row', children: [jsx(Typography, { color: 'secondary', variant: 'body_normal', weight: 'regular', className: 'transaction-row__label', copykey: copykey, children: label }), jsxs("div", { className: 'transaction-row__content', "data-testid": dataTestId, children: [isLoading && (jsx(Skeleton, { count: 1, className: 'transaction-row__skeleton' })), isLoading === false && children !== undefined && (jsxs(Fragment, { children: [jsx(Typography, { title: title, color: isEmpty ? 'secondary' : 'primary', variant: 'body_normal', weight: isEmpty ? 'regular' : 'medium', truncate: true, children: children }), suffix && (jsx(Typography, { as: 'span', color: 'secondary', weight: 'regular', children: suffix })), icon] }))] })] }));
6
6
 
7
7
  export { TransactionRow };
@@ -28,6 +28,7 @@ var PoweredByDynamic = require('../PoweredByDynamic/PoweredByDynamic.cjs');
28
28
  var Button = require('../Button/Button.cjs');
29
29
  require('@dynamic-labs/multi-wallet');
30
30
  require('../../context/ThemeContext/ThemeContext.cjs');
31
+ require('../../events/dynamicEvents.cjs');
31
32
  require('../../context/DynamicContext/DynamicContext.cjs');
32
33
  require('../../context/CaptchaContext/CaptchaContext.cjs');
33
34
  require('../../context/ErrorContext/ErrorContext.cjs');
@@ -60,8 +61,8 @@ require('../../context/FooterAnimationContext/index.cjs');
60
61
  require('../../context/QrCodeContext/QrCodeContext.cjs');
61
62
  require('../../context/WalletGroupContext/WalletGroupContext.cjs');
62
63
  require('../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.cjs');
63
- require('qrcode');
64
64
  require('../../context/LoadingContext/LoadingContext.cjs');
65
+ require('qrcode');
65
66
  require('../../widgets/DynamicWidget/context/DynamicWidgetContext.cjs');
66
67
  require('../UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.cjs');
67
68
  require('@dynamic-labs/viem-utils');
@@ -72,7 +73,7 @@ const TransactionStatusLayout = ({ destinationAddress, amount, networkName, netw
72
73
  const { t } = reactI18next.useTranslation();
73
74
  const closeButton = onClickClose && (jsxRuntime.jsx(IconButton.IconButton, { type: 'button', onClick: onClickClose, "data-testid": 'close', children: jsxRuntime.jsx(close.ReactComponent, {}) }));
74
75
  const networkIcon = (jsxRuntime.jsx("span", { className: 'transaction-status-layout__network-icon', children: NetworkIcon }));
75
- return (jsxRuntime.jsxs("div", { className: 'transaction-status-layout', children: [jsxRuntime.jsx(ModalHeader.ModalHeader, { trailing: closeButton, alignContent: 'bottom', children: jsxRuntime.jsx(IconWithStatus.IconWithStatus, { containerClassName: 'transaction-status-layout__status-icon', iconSize: 50, Icon: signCircle.ReactComponent, InnerIcon: check.ReactComponent }) }), jsxRuntime.jsxs("div", { className: 'transaction-status-layout__body', children: [jsxRuntime.jsx(Typography.Typography, { weight: 'medium', variant: 'title', color: 'primary', className: 'transaction-status-layout__title', children: t('dyn_send_transaction.succeeded.title') }), jsxRuntime.jsx("div", { className: 'transaction-status-layout__content', children: jsxRuntime.jsxs("div", { className: 'transaction-status-layout__rows', children: [jsxRuntime.jsx(TransactionRow.TransactionRow, { label: t('dyn_send_transaction.succeeded.recipient.label'), children: shortenWalletAddress.shortenWalletAddress(destinationAddress, 3, 3) }), jsxRuntime.jsxs(TransactionRow.TransactionRow, { label: t('dyn_send_transaction.succeeded.network.label'), children: [networkIcon, jsxRuntime.jsx("span", { className: 'transaction-status-layout__network-name', children: networkName })] }), jsxRuntime.jsxs(TransactionRow.TransactionRow, { label: t('dyn_send_transaction.succeeded.total_amount.label'), children: [amount, jsxRuntime.jsx(Typography.Typography, { as: 'span', color: 'secondary', className: 'transaction-status-layout__network-currency', children: networkCurrency })] })] }) }), jsxRuntime.jsx("div", { className: 'transaction-status-layout__actions', children: jsxRuntime.jsx(Button.Button, { buttonVariant: 'primary', buttonPadding: 'large', expanded: true, onClick: onDone, loading: false, children: t('dyn_send_transaction.succeeded.continue_button') }) }), displayPoweredByDynamicFooter && (jsxRuntime.jsx(PoweredByDynamic.PoweredByDynamic, { classNameRoot: 'transaction-status-layout__footer' }))] })] }));
76
+ return (jsxRuntime.jsxs("div", { className: 'transaction-status-layout', children: [jsxRuntime.jsx(ModalHeader.ModalHeader, { trailing: closeButton, alignContent: 'bottom', children: jsxRuntime.jsx(IconWithStatus.IconWithStatus, { containerClassName: 'transaction-status-layout__status-icon', iconSize: 50, Icon: signCircle.ReactComponent, InnerIcon: check.ReactComponent }) }), jsxRuntime.jsxs("div", { className: 'transaction-status-layout__body', children: [jsxRuntime.jsx(Typography.Typography, { weight: 'medium', variant: 'title', color: 'primary', className: 'transaction-status-layout__title', copykey: 'dyn_send_transaction.succeeded.title', children: t('dyn_send_transaction.succeeded.title') }), jsxRuntime.jsx("div", { className: 'transaction-status-layout__content', children: jsxRuntime.jsxs("div", { className: 'transaction-status-layout__rows', children: [jsxRuntime.jsx(TransactionRow.TransactionRow, { copykey: 'dyn_send_transaction.succeeded.recipient.label', label: t('dyn_send_transaction.succeeded.recipient.label'), children: shortenWalletAddress.shortenWalletAddress(destinationAddress, 3, 3) }), jsxRuntime.jsxs(TransactionRow.TransactionRow, { copykey: 'dyn_send_transaction.succeeded.network.label', label: t('dyn_send_transaction.succeeded.network.label'), children: [networkIcon, jsxRuntime.jsx("span", { className: 'transaction-status-layout__network-name', children: networkName })] }), jsxRuntime.jsxs(TransactionRow.TransactionRow, { copykey: 'dyn_send_transaction.succeeded.total_amount.label', label: t('dyn_send_transaction.succeeded.total_amount.label'), children: [amount, jsxRuntime.jsx(Typography.Typography, { as: 'span', color: 'secondary', className: 'transaction-status-layout__network-currency', children: networkCurrency })] })] }) }), jsxRuntime.jsx("div", { className: 'transaction-status-layout__actions', children: jsxRuntime.jsx(Button.Button, { buttonVariant: 'primary', buttonPadding: 'large', expanded: true, onClick: onDone, loading: false, copykey: 'dyn_send_transaction.succeeded.continue_button', children: t('dyn_send_transaction.succeeded.continue_button') }) }), displayPoweredByDynamicFooter && (jsxRuntime.jsx(PoweredByDynamic.PoweredByDynamic, { classNameRoot: 'transaction-status-layout__footer' }))] })] }));
76
77
  };
77
78
 
78
79
  exports.TransactionStatusLayout = TransactionStatusLayout;
@@ -24,6 +24,7 @@ import { PoweredByDynamic } from '../PoweredByDynamic/PoweredByDynamic.js';
24
24
  import { Button } from '../Button/Button.js';
25
25
  import '@dynamic-labs/multi-wallet';
26
26
  import '../../context/ThemeContext/ThemeContext.js';
27
+ import '../../events/dynamicEvents.js';
27
28
  import '../../context/DynamicContext/DynamicContext.js';
28
29
  import '../../context/CaptchaContext/CaptchaContext.js';
29
30
  import '../../context/ErrorContext/ErrorContext.js';
@@ -56,8 +57,8 @@ import '../../context/FooterAnimationContext/index.js';
56
57
  import '../../context/QrCodeContext/QrCodeContext.js';
57
58
  import '../../context/WalletGroupContext/WalletGroupContext.js';
58
59
  import '../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.js';
59
- import 'qrcode';
60
60
  import '../../context/LoadingContext/LoadingContext.js';
61
+ import 'qrcode';
61
62
  import '../../widgets/DynamicWidget/context/DynamicWidgetContext.js';
62
63
  import '../UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.js';
63
64
  import '@dynamic-labs/viem-utils';
@@ -68,7 +69,7 @@ const TransactionStatusLayout = ({ destinationAddress, amount, networkName, netw
68
69
  const { t } = useTranslation();
69
70
  const closeButton = onClickClose && (jsx(IconButton, { type: 'button', onClick: onClickClose, "data-testid": 'close', children: jsx(SvgClose, {}) }));
70
71
  const networkIcon = (jsx("span", { className: 'transaction-status-layout__network-icon', children: NetworkIcon }));
71
- return (jsxs("div", { className: 'transaction-status-layout', children: [jsx(ModalHeader, { trailing: closeButton, alignContent: 'bottom', children: jsx(IconWithStatus, { containerClassName: 'transaction-status-layout__status-icon', iconSize: 50, Icon: SvgSignCircle, InnerIcon: SvgCheck }) }), jsxs("div", { className: 'transaction-status-layout__body', children: [jsx(Typography, { weight: 'medium', variant: 'title', color: 'primary', className: 'transaction-status-layout__title', children: t('dyn_send_transaction.succeeded.title') }), jsx("div", { className: 'transaction-status-layout__content', children: jsxs("div", { className: 'transaction-status-layout__rows', children: [jsx(TransactionRow, { label: t('dyn_send_transaction.succeeded.recipient.label'), children: shortenWalletAddress(destinationAddress, 3, 3) }), jsxs(TransactionRow, { label: t('dyn_send_transaction.succeeded.network.label'), children: [networkIcon, jsx("span", { className: 'transaction-status-layout__network-name', children: networkName })] }), jsxs(TransactionRow, { label: t('dyn_send_transaction.succeeded.total_amount.label'), children: [amount, jsx(Typography, { as: 'span', color: 'secondary', className: 'transaction-status-layout__network-currency', children: networkCurrency })] })] }) }), jsx("div", { className: 'transaction-status-layout__actions', children: jsx(Button, { buttonVariant: 'primary', buttonPadding: 'large', expanded: true, onClick: onDone, loading: false, children: t('dyn_send_transaction.succeeded.continue_button') }) }), displayPoweredByDynamicFooter && (jsx(PoweredByDynamic, { classNameRoot: 'transaction-status-layout__footer' }))] })] }));
72
+ return (jsxs("div", { className: 'transaction-status-layout', children: [jsx(ModalHeader, { trailing: closeButton, alignContent: 'bottom', children: jsx(IconWithStatus, { containerClassName: 'transaction-status-layout__status-icon', iconSize: 50, Icon: SvgSignCircle, InnerIcon: SvgCheck }) }), jsxs("div", { className: 'transaction-status-layout__body', children: [jsx(Typography, { weight: 'medium', variant: 'title', color: 'primary', className: 'transaction-status-layout__title', copykey: 'dyn_send_transaction.succeeded.title', children: t('dyn_send_transaction.succeeded.title') }), jsx("div", { className: 'transaction-status-layout__content', children: jsxs("div", { className: 'transaction-status-layout__rows', children: [jsx(TransactionRow, { copykey: 'dyn_send_transaction.succeeded.recipient.label', label: t('dyn_send_transaction.succeeded.recipient.label'), children: shortenWalletAddress(destinationAddress, 3, 3) }), jsxs(TransactionRow, { copykey: 'dyn_send_transaction.succeeded.network.label', label: t('dyn_send_transaction.succeeded.network.label'), children: [networkIcon, jsx("span", { className: 'transaction-status-layout__network-name', children: networkName })] }), jsxs(TransactionRow, { copykey: 'dyn_send_transaction.succeeded.total_amount.label', label: t('dyn_send_transaction.succeeded.total_amount.label'), children: [amount, jsx(Typography, { as: 'span', color: 'secondary', className: 'transaction-status-layout__network-currency', children: networkCurrency })] })] }) }), jsx("div", { className: 'transaction-status-layout__actions', children: jsx(Button, { buttonVariant: 'primary', buttonPadding: 'large', expanded: true, onClick: onDone, loading: false, copykey: 'dyn_send_transaction.succeeded.continue_button', children: t('dyn_send_transaction.succeeded.continue_button') }) }), displayPoweredByDynamicFooter && (jsx(PoweredByDynamic, { classNameRoot: 'transaction-status-layout__footer' }))] })] }));
72
73
  };
73
74
 
74
75
  export { TransactionStatusLayout };
@@ -5,6 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  var _tslib = require('../../../../../_virtual/_tslib.cjs');
6
6
  var jsxRuntime = require('react/jsx-runtime');
7
7
  var React = require('react');
8
+ require('../../../events/dynamicEvents.cjs');
8
9
  require('@dynamic-labs/utils');
9
10
  require('../../../context/DynamicContext/DynamicContext.cjs');
10
11
  require('@dynamic-labs/wallet-connector-core');
@@ -55,8 +56,8 @@ require('../../../context/FooterAnimationContext/index.cjs');
55
56
  require('../../../context/QrCodeContext/QrCodeContext.cjs');
56
57
  require('../../../context/WalletGroupContext/WalletGroupContext.cjs');
57
58
  require('../../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.cjs');
58
- require('qrcode');
59
59
  require('../../../context/LoadingContext/LoadingContext.cjs');
60
+ require('qrcode');
60
61
  require('../../../widgets/DynamicWidget/context/DynamicWidgetContext.cjs');
61
62
  require('../../UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.cjs');
62
63
  require('@dynamic-labs/viem-utils');
@@ -1,6 +1,7 @@
1
1
  import { __rest } from '../../../../../_virtual/_tslib.js';
2
2
  import { jsx } from 'react/jsx-runtime';
3
3
  import { useRef, useMemo } from 'react';
4
+ import '../../../events/dynamicEvents.js';
4
5
  import '@dynamic-labs/utils';
5
6
  import '../../../context/DynamicContext/DynamicContext.js';
6
7
  import '@dynamic-labs/wallet-connector-core';
@@ -51,8 +52,8 @@ import '../../../context/FooterAnimationContext/index.js';
51
52
  import '../../../context/QrCodeContext/QrCodeContext.js';
52
53
  import '../../../context/WalletGroupContext/WalletGroupContext.js';
53
54
  import '../../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.js';
54
- import 'qrcode';
55
55
  import '../../../context/LoadingContext/LoadingContext.js';
56
+ import 'qrcode';
56
57
  import '../../../widgets/DynamicWidget/context/DynamicWidgetContext.js';
57
58
  import '../../UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.js';
58
59
  import '@dynamic-labs/viem-utils';
@@ -1,4 +1,5 @@
1
1
  import { ComponentPropsWithoutRef, ElementType, ReactElement } from 'react';
2
+ import { CopyKey } from '../../shared';
2
3
  export type TypographyTag = ElementType;
3
4
  export type TypographyVariant = 'title' | 'body_normal' | 'body_small' | 'body_mini' | 'button_primary' | 'button_secondary' | 'button_tertiary' | 'numbers_big' | 'numbers_medium';
4
5
  export type TypographyColor = 'primary' | 'secondary' | 'brand-primary' | 'tertiary' | 'link' | 'error-1' | 'error-2' | 'tooltip' | 'green-1' | 'inherit';
@@ -12,5 +13,5 @@ export type TypographyProps<TAG extends ElementType = 'p'> = {
12
13
  truncate?: boolean;
13
14
  variant?: TypographyVariant;
14
15
  weight?: TypographyWeight;
15
- } & ComponentPropsWithoutRef<TAG>;
16
+ } & ComponentPropsWithoutRef<TAG> & CopyKey;
16
17
  export type TypographyComponent = <TAG extends ElementType>(props: TypographyProps<TAG>, ref?: any) => ReactElement;