@crossmint/client-sdk-react-ui 1.11.0 → 1.11.1

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 (753) hide show
  1. package/dist/chunk-2POV64LQ.js +1 -0
  2. package/dist/chunk-2U6DCZSI.js +1 -0
  3. package/dist/chunk-2VILTRL5.js +1 -0
  4. package/dist/chunk-2VQLMU5A.cjs +1 -0
  5. package/dist/chunk-2WSEHVNP.cjs +1 -0
  6. package/dist/chunk-33OQI6MO.js +1 -0
  7. package/dist/chunk-3BUVHV54.js +0 -0
  8. package/dist/chunk-3EQVCVCE.cjs +1 -0
  9. package/dist/chunk-3FQDW3IU.js +1 -0
  10. package/dist/chunk-3GIMVKF3.js +1 -0
  11. package/dist/chunk-4IHRWQWT.js +1 -0
  12. package/dist/chunk-4ITU7JF2.js +1 -0
  13. package/dist/chunk-56YL3XJW.cjs +1 -0
  14. package/dist/chunk-5IFQJPBE.cjs +1 -0
  15. package/dist/chunk-5M3BWY6T.cjs +1 -0
  16. package/dist/chunk-6IRIZUTM.cjs +1 -0
  17. package/dist/chunk-6M5OP7SM.js +1 -0
  18. package/dist/chunk-72MMCJ2E.js +0 -0
  19. package/dist/chunk-72P3JMXX.js +1 -0
  20. package/dist/chunk-77PBG2JJ.js +1 -0
  21. package/dist/chunk-7ANJ2GZG.cjs +1 -0
  22. package/dist/chunk-7ASOCI4Q.js +1 -0
  23. package/dist/chunk-7B364FBM.cjs +1 -0
  24. package/dist/chunk-7VI5AXX5.cjs +1 -0
  25. package/dist/chunk-AUSETHZ3.cjs +1 -0
  26. package/dist/chunk-AXMHJC73.cjs +1 -0
  27. package/dist/chunk-BR77Q3PK.cjs +1 -0
  28. package/dist/chunk-BV7CQ2QS.js +1 -0
  29. package/dist/chunk-C3JRTLQP.js +1 -0
  30. package/dist/chunk-CW33KBH3.cjs +1 -0
  31. package/dist/chunk-D3255LVM.cjs +1 -0
  32. package/dist/chunk-D4K2AGJK.cjs +1 -0
  33. package/dist/chunk-DGZQUCSD.js +1 -0
  34. package/dist/chunk-DPUG72P3.cjs +1 -0
  35. package/dist/chunk-E4TBJMOO.js +1 -0
  36. package/dist/chunk-EA7H4AXL.js +1 -0
  37. package/dist/chunk-EUXGP4IN.cjs +1 -0
  38. package/dist/chunk-EVADF7QA.js +1 -0
  39. package/dist/chunk-FON43I6G.cjs +1 -0
  40. package/dist/chunk-G4LT7I7W.js +1 -0
  41. package/dist/chunk-GPGY5B6G.js +1 -0
  42. package/dist/chunk-GPQZG7HC.cjs +1 -0
  43. package/dist/chunk-HG5ML6KX.cjs +1 -0
  44. package/dist/chunk-HJ4ZXU2X.js +1 -0
  45. package/dist/chunk-I4GMMHQR.cjs +1 -0
  46. package/dist/chunk-IAJBYU5C.js +1 -0
  47. package/dist/chunk-IMRZHYQK.cjs +1 -0
  48. package/dist/chunk-IMV35JZB.cjs +1 -0
  49. package/dist/chunk-IV4ACZQE.js +1 -0
  50. package/dist/chunk-IZGR67ZI.js +1 -0
  51. package/dist/chunk-JDYEU555.cjs +1 -0
  52. package/dist/chunk-JGM3G5E2.js +1 -0
  53. package/dist/chunk-JSNUJJQJ.js +1 -0
  54. package/dist/chunk-KFL42A3A.js +1 -0
  55. package/dist/chunk-KI4HRYHD.cjs +1 -0
  56. package/dist/chunk-LMSKJDGS.js +1 -0
  57. package/dist/chunk-M42BIIZJ.cjs +1 -0
  58. package/dist/chunk-N7OESP3W.js +1 -0
  59. package/dist/chunk-NB7AJIPT.js +0 -0
  60. package/dist/chunk-NBJIJZGO.js +1 -0
  61. package/dist/chunk-NCDVID2B.js +1 -0
  62. package/dist/chunk-NEKICGOA.cjs +1 -0
  63. package/dist/chunk-NFLGT52C.cjs +1 -0
  64. package/dist/chunk-NRN4WNQL.cjs +1 -0
  65. package/dist/chunk-NU6UB76I.cjs +1 -0
  66. package/dist/chunk-NZQIZ4ZY.cjs +1 -0
  67. package/dist/chunk-O5J2ZIJ6.cjs +1 -0
  68. package/dist/chunk-O73L7XWQ.js +1 -0
  69. package/dist/chunk-OOLXYAO7.js +1 -0
  70. package/dist/chunk-PDEAWPX3.cjs +1 -0
  71. package/dist/chunk-PW7TOKQ2.cjs +1 -0
  72. package/dist/chunk-PXDN3KFO.js +1 -0
  73. package/dist/chunk-QASKWI5Y.js +1 -0
  74. package/dist/chunk-QYQERFYL.cjs +1 -0
  75. package/dist/chunk-ROJ6HFVK.js +1 -0
  76. package/dist/chunk-RYQRCUKB.js +1 -0
  77. package/dist/chunk-S73E6EBO.cjs +1 -0
  78. package/dist/chunk-SFDQPSSP.js +1 -0
  79. package/dist/chunk-SRQAQHYK.cjs +1 -0
  80. package/dist/chunk-T6FFMX2I.js +1 -0
  81. package/dist/chunk-TD56X3VP.js +1 -0
  82. package/dist/chunk-TM7WDKYR.cjs +1 -0
  83. package/dist/chunk-TNCETEEL.js +1 -0
  84. package/dist/chunk-TXOVDTYK.cjs +1 -0
  85. package/dist/chunk-UAFW3OWA.js +1 -0
  86. package/dist/chunk-UEC3RXWE.cjs +1 -0
  87. package/dist/chunk-UHKWPOFV.js +1 -0
  88. package/dist/chunk-UP4F7YLI.cjs +1 -0
  89. package/dist/chunk-UYSB2EMS.cjs +1 -0
  90. package/dist/chunk-VHNBXIOC.js +1 -0
  91. package/dist/chunk-VI6TW7JT.cjs +1 -0
  92. package/dist/chunk-VLDE23JX.js +1 -0
  93. package/dist/chunk-VWBAHXIO.cjs +1 -0
  94. package/dist/chunk-VWL76U5G.js +1 -0
  95. package/dist/chunk-W4UPIFFS.cjs +1 -0
  96. package/dist/chunk-WABJHG6B.cjs +1 -0
  97. package/dist/chunk-WECMBN4Z.cjs +1 -0
  98. package/dist/chunk-WHFUW3W3.js +0 -0
  99. package/dist/chunk-WW3LYPGC.cjs +1 -0
  100. package/dist/chunk-X5BBXO27.cjs +1 -0
  101. package/dist/chunk-XIVIIEY5.js +1 -0
  102. package/dist/chunk-XUQK2ILL.cjs +1 -0
  103. package/dist/chunk-XUT4N66R.cjs +1 -0
  104. package/dist/chunk-YV6LD2NU.js +1 -0
  105. package/dist/chunk-YXF74MVI.cjs +1 -0
  106. package/dist/chunk-Z2FGFHRQ.cjs +1 -0
  107. package/dist/chunk-Z5PEH5AD.js +1 -0
  108. package/dist/chunk-ZUZEZZX7.js +1 -0
  109. package/dist/components/CrossmintNFTCollectionView.cjs +1 -9
  110. package/dist/components/CrossmintNFTCollectionView.js +1 -9
  111. package/dist/components/CrossmintNFTDetail.cjs +1 -9
  112. package/dist/components/CrossmintNFTDetail.js +1 -9
  113. package/dist/components/auth/AuthForm.cjs +1 -30
  114. package/dist/components/auth/AuthForm.js +1 -30
  115. package/dist/components/auth/AuthFormBackButton.cjs +1 -30
  116. package/dist/components/auth/AuthFormBackButton.js +1 -30
  117. package/dist/components/auth/AuthFormDialog.cjs +1 -30
  118. package/dist/components/auth/AuthFormDialog.js +1 -30
  119. package/dist/components/auth/EmbeddedAuthForm.cjs +1 -31
  120. package/dist/components/auth/EmbeddedAuthForm.js +1 -31
  121. package/dist/components/auth/PasskeyPrompt.cjs +1 -14
  122. package/dist/components/auth/PasskeyPrompt.js +1 -14
  123. package/dist/components/auth/methods/email/EmailAuthFlow.cjs +1 -30
  124. package/dist/components/auth/methods/email/EmailAuthFlow.js +1 -30
  125. package/dist/components/auth/methods/email/EmailOTPInput.cjs +1 -32
  126. package/dist/components/auth/methods/email/EmailOTPInput.js +1 -32
  127. package/dist/components/auth/methods/email/EmailSignIn.cjs +1 -30
  128. package/dist/components/auth/methods/email/EmailSignIn.js +1 -30
  129. package/dist/components/auth/methods/farcaster/FarcasterSignIn.cjs +1 -30
  130. package/dist/components/auth/methods/farcaster/FarcasterSignIn.js +1 -30
  131. package/dist/components/auth/methods/google/GoogleSignIn.cjs +1 -30
  132. package/dist/components/auth/methods/google/GoogleSignIn.js +1 -30
  133. package/dist/components/auth/methods/web3/Web3AuthFlow.cjs +1 -67
  134. package/dist/components/auth/methods/web3/Web3AuthFlow.js +1 -67
  135. package/dist/components/auth/methods/web3/Web3AuthFlowButton.cjs +1 -33
  136. package/dist/components/auth/methods/web3/Web3AuthFlowButton.js +1 -33
  137. package/dist/components/auth/methods/web3/Web3Connector.cjs +1 -65
  138. package/dist/components/auth/methods/web3/Web3Connector.js +1 -65
  139. package/dist/components/auth/methods/web3/Web3ConnectorButton.cjs +1 -53
  140. package/dist/components/auth/methods/web3/Web3ConnectorButton.js +1 -53
  141. package/dist/components/auth/methods/web3/Web3Connectors.cjs +1 -31
  142. package/dist/components/auth/methods/web3/Web3Connectors.js +1 -31
  143. package/dist/components/common/CrossmintLogoV2/CrossmintLogoV2.cjs +1 -9
  144. package/dist/components/common/CrossmintLogoV2/CrossmintLogoV2.js +1 -9
  145. package/dist/components/common/CrossmintLogoV2/consts.cjs +1 -12
  146. package/dist/components/common/CrossmintLogoV2/consts.js +1 -12
  147. package/dist/components/common/CrossmintLogoV2/schemas.cjs +1 -34
  148. package/dist/components/common/CrossmintLogoV2/schemas.js +1 -34
  149. package/dist/components/common/Dialog.cjs +1 -26
  150. package/dist/components/common/Dialog.js +1 -26
  151. package/dist/components/common/Divider.cjs +1 -30
  152. package/dist/components/common/Divider.js +1 -30
  153. package/dist/components/common/InputOTP.cjs +1 -14
  154. package/dist/components/common/InputOTP.js +1 -14
  155. package/dist/components/common/PoweredByCrossmint.cjs +1 -10
  156. package/dist/components/common/PoweredByCrossmint.js +1 -10
  157. package/dist/components/common/Spinner.cjs +1 -9
  158. package/dist/components/common/Spinner.js +1 -9
  159. package/dist/components/dynamic-xyz/DynamicContextProviderWrapper.cjs +1 -8
  160. package/dist/components/dynamic-xyz/DynamicContextProviderWrapper.js +1 -8
  161. package/dist/components/embed/EmbeddedCheckoutIFrame.cjs +1 -8
  162. package/dist/components/embed/EmbeddedCheckoutIFrame.js +1 -8
  163. package/dist/components/embed/crypto/CryptoEmbeddedCheckout.cjs +1 -11
  164. package/dist/components/embed/crypto/CryptoEmbeddedCheckout.js +1 -11
  165. package/dist/components/embed/crypto/CryptoEmbeddedCheckoutIFrame.cjs +1 -10
  166. package/dist/components/embed/crypto/CryptoEmbeddedCheckoutIFrame.js +1 -10
  167. package/dist/components/embed/fiat/FiatEmbeddedCheckout.cjs +1 -11
  168. package/dist/components/embed/fiat/FiatEmbeddedCheckout.js +1 -11
  169. package/dist/components/embed/fiat/FiatEmbeddedCheckoutIFrame.cjs +1 -10
  170. package/dist/components/embed/fiat/FiatEmbeddedCheckoutIFrame.js +1 -10
  171. package/dist/components/embed/fiat/FiatPaymentElement_OLD.cjs +1 -75
  172. package/dist/components/embed/fiat/FiatPaymentElement_OLD.js +1 -75
  173. package/dist/components/embed/index.cjs +1 -14
  174. package/dist/components/embed/index.js +1 -14
  175. package/dist/components/embed/v3/CrossmintEmbeddedCheckoutV3.cjs +1 -32
  176. package/dist/components/embed/v3/CrossmintEmbeddedCheckoutV3.js +1 -32
  177. package/dist/components/embed/v3/EmbeddedCheckoutV3IFrame.cjs +1 -31
  178. package/dist/components/embed/v3/EmbeddedCheckoutV3IFrame.js +1 -31
  179. package/dist/components/embed/v3/crypto/CryptoWalletConnectionHandler.cjs +1 -142
  180. package/dist/components/embed/v3/crypto/CryptoWalletConnectionHandler.js +1 -142
  181. package/dist/components/embed/v3/crypto/utils/handleEvmTransaction.cjs +1 -70
  182. package/dist/components/embed/v3/crypto/utils/handleEvmTransaction.js +1 -70
  183. package/dist/components/embed/v3/crypto/utils/handleSendTransaction.cjs +1 -8
  184. package/dist/components/embed/v3/crypto/utils/handleSendTransaction.js +1 -8
  185. package/dist/components/embed/v3/crypto/utils/handleSolanaTransaction.cjs +1 -52
  186. package/dist/components/embed/v3/crypto/utils/handleSolanaTransaction.js +1 -52
  187. package/dist/components/embed/v3/index.cjs +1 -33
  188. package/dist/components/embed/v3/index.js +1 -33
  189. package/dist/components/hosted/CrossmintPayButton.cjs +1 -11
  190. package/dist/components/hosted/CrossmintPayButton.js +1 -11
  191. package/dist/components/hosted/index.cjs +1 -21
  192. package/dist/components/hosted/index.js +1 -21
  193. package/dist/components/hosted/styles.cjs +1 -10
  194. package/dist/components/hosted/styles.js +1 -10
  195. package/dist/components/hosted/v3/CrossmintHostedCheckoutV3.cjs +1 -13
  196. package/dist/components/hosted/v3/CrossmintHostedCheckoutV3.js +1 -13
  197. package/dist/components/hosted/v3/index.cjs +1 -14
  198. package/dist/components/hosted/v3/index.js +1 -14
  199. package/dist/components/index.cjs +1 -70
  200. package/dist/components/index.js +1 -70
  201. package/dist/consts/version.cjs +1 -8
  202. package/dist/consts/version.js +1 -8
  203. package/dist/hooks/index.cjs +1 -42
  204. package/dist/hooks/index.js +1 -42
  205. package/dist/hooks/useAuth.cjs +1 -30
  206. package/dist/hooks/useAuth.js +1 -30
  207. package/dist/hooks/useCrossmint.cjs +1 -10
  208. package/dist/hooks/useCrossmint.js +1 -10
  209. package/dist/hooks/useCrossmintAuth.cjs +1 -30
  210. package/dist/hooks/useCrossmintAuth.js +1 -30
  211. package/dist/hooks/useCrossmintCheckout.cjs +1 -13
  212. package/dist/hooks/useCrossmintCheckout.js +1 -13
  213. package/dist/hooks/useDeepEffect.cjs +1 -8
  214. package/dist/hooks/useDeepEffect.js +1 -8
  215. package/dist/hooks/useEnvironment.cjs +1 -8
  216. package/dist/hooks/useEnvironment.js +1 -8
  217. package/dist/hooks/useOAuthWindowListener.cjs +1 -30
  218. package/dist/hooks/useOAuthWindowListener.js +1 -30
  219. package/dist/hooks/useWallet.cjs +1 -30
  220. package/dist/hooks/useWallet.js +1 -30
  221. package/dist/icons/alert.cjs +1 -8
  222. package/dist/icons/alert.js +1 -8
  223. package/dist/icons/base64Icons.cjs +1 -12
  224. package/dist/icons/base64Icons.js +1 -12
  225. package/dist/icons/chevronRight.cjs +1 -8
  226. package/dist/icons/chevronRight.js +1 -8
  227. package/dist/icons/discord.cjs +1 -29
  228. package/dist/icons/discord.js +1 -29
  229. package/dist/icons/emailOTP.cjs +1 -8
  230. package/dist/icons/emailOTP.js +1 -8
  231. package/dist/icons/farcaster.cjs +1 -8
  232. package/dist/icons/farcaster.js +1 -8
  233. package/dist/icons/fingerprint.cjs +1 -8
  234. package/dist/icons/fingerprint.js +1 -8
  235. package/dist/icons/google.cjs +1 -8
  236. package/dist/icons/google.js +1 -8
  237. package/dist/icons/leftArrow.cjs +1 -8
  238. package/dist/icons/leftArrow.js +1 -8
  239. package/dist/icons/passkey.cjs +1 -8
  240. package/dist/icons/passkey.js +1 -8
  241. package/dist/icons/passkeyPromptLogo.cjs +1 -8
  242. package/dist/icons/passkeyPromptLogo.js +1 -8
  243. package/dist/icons/poweredByLeaf.cjs +1 -8
  244. package/dist/icons/poweredByLeaf.js +1 -8
  245. package/dist/icons/wallet.cjs +1 -8
  246. package/dist/icons/wallet.js +1 -8
  247. package/dist/icons/x.cjs +1 -29
  248. package/dist/icons/x.js +1 -29
  249. package/dist/index.cjs +1 -126
  250. package/dist/index.js +1 -126
  251. package/dist/providers/CrossmintAuthProvider.cjs +1 -32
  252. package/dist/providers/CrossmintAuthProvider.js +1 -32
  253. package/dist/providers/CrossmintWalletProvider.cjs +1 -32
  254. package/dist/providers/CrossmintWalletProvider.js +1 -32
  255. package/dist/providers/TwindProvider.cjs +1 -9
  256. package/dist/providers/TwindProvider.js +1 -9
  257. package/dist/providers/auth/AuthFormProvider.cjs +1 -32
  258. package/dist/providers/auth/AuthFormProvider.js +1 -32
  259. package/dist/providers/auth/FarcasterProvider.cjs +1 -8
  260. package/dist/providers/auth/FarcasterProvider.js +1 -8
  261. package/dist/providers/auth/web3/DynamicWeb3WalletConnect.cjs +1 -33
  262. package/dist/providers/auth/web3/DynamicWeb3WalletConnect.js +1 -33
  263. package/dist/providers/index.cjs +1 -36
  264. package/dist/providers/index.js +1 -36
  265. package/dist/testUtils.cjs +1 -8
  266. package/dist/testUtils.js +1 -8
  267. package/dist/twind.config.cjs +1 -8
  268. package/dist/twind.config.js +1 -8
  269. package/dist/types/auth.cjs +1 -1
  270. package/dist/types/auth.js +0 -1
  271. package/dist/utils/classNames.cjs +1 -8
  272. package/dist/utils/classNames.js +1 -8
  273. package/dist/utils/createCrossmintApiClient.cjs +1 -9
  274. package/dist/utils/createCrossmintApiClient.js +1 -9
  275. package/dist/utils/dynamic/dynamicChainToCrossmintChain.cjs +1 -8
  276. package/dist/utils/dynamic/dynamicChainToCrossmintChain.js +1 -8
  277. package/package.json +7 -8
  278. package/dist/chunk-2T2VCED7.js +0 -17
  279. package/dist/chunk-2T2VCED7.js.map +0 -1
  280. package/dist/chunk-33WZFL2D.js +0 -80
  281. package/dist/chunk-33WZFL2D.js.map +0 -1
  282. package/dist/chunk-35RV5AOT.cjs +0 -70
  283. package/dist/chunk-35RV5AOT.cjs.map +0 -1
  284. package/dist/chunk-3DNABH3U.cjs +0 -87
  285. package/dist/chunk-3DNABH3U.cjs.map +0 -1
  286. package/dist/chunk-3J6CUUWT.js +0 -50
  287. package/dist/chunk-3J6CUUWT.js.map +0 -1
  288. package/dist/chunk-3KR4GYLF.js +0 -26
  289. package/dist/chunk-3KR4GYLF.js.map +0 -1
  290. package/dist/chunk-3PV5EK7P.cjs +0 -153
  291. package/dist/chunk-3PV5EK7P.cjs.map +0 -1
  292. package/dist/chunk-43P7QWBK.cjs +0 -17
  293. package/dist/chunk-43P7QWBK.cjs.map +0 -1
  294. package/dist/chunk-4DAZAO6Y.cjs +0 -59
  295. package/dist/chunk-4DAZAO6Y.cjs.map +0 -1
  296. package/dist/chunk-4F4YOWCE.cjs +0 -14
  297. package/dist/chunk-4F4YOWCE.cjs.map +0 -1
  298. package/dist/chunk-4S3T65XY.cjs +0 -1111
  299. package/dist/chunk-4S3T65XY.cjs.map +0 -1
  300. package/dist/chunk-5KK3YQWD.cjs +0 -1
  301. package/dist/chunk-5KK3YQWD.cjs.map +0 -1
  302. package/dist/chunk-5RX5WFEW.cjs +0 -11
  303. package/dist/chunk-5RX5WFEW.cjs.map +0 -1
  304. package/dist/chunk-6CPZDD6Y.js +0 -29
  305. package/dist/chunk-6CPZDD6Y.js.map +0 -1
  306. package/dist/chunk-6FG6NL44.js +0 -30
  307. package/dist/chunk-6FG6NL44.js.map +0 -1
  308. package/dist/chunk-6HYESP6N.cjs +0 -81
  309. package/dist/chunk-6HYESP6N.cjs.map +0 -1
  310. package/dist/chunk-6JDOBNKD.cjs +0 -64
  311. package/dist/chunk-6JDOBNKD.cjs.map +0 -1
  312. package/dist/chunk-6LO4NSRH.cjs +0 -21
  313. package/dist/chunk-6LO4NSRH.cjs.map +0 -1
  314. package/dist/chunk-7GWCNJOK.cjs +0 -31
  315. package/dist/chunk-7GWCNJOK.cjs.map +0 -1
  316. package/dist/chunk-7KIY6DLW.js +0 -28
  317. package/dist/chunk-7KIY6DLW.js.map +0 -1
  318. package/dist/chunk-7UXIFMNO.js +0 -1
  319. package/dist/chunk-7UXIFMNO.js.map +0 -1
  320. package/dist/chunk-A2JCJ2OV.cjs +0 -119
  321. package/dist/chunk-A2JCJ2OV.cjs.map +0 -1
  322. package/dist/chunk-A6Q4Z5TO.js +0 -31
  323. package/dist/chunk-A6Q4Z5TO.js.map +0 -1
  324. package/dist/chunk-A7J4DAE7.js +0 -16
  325. package/dist/chunk-A7J4DAE7.js.map +0 -1
  326. package/dist/chunk-ATHR4S2P.js +0 -48
  327. package/dist/chunk-ATHR4S2P.js.map +0 -1
  328. package/dist/chunk-AUCL5NPW.cjs +0 -31
  329. package/dist/chunk-AUCL5NPW.cjs.map +0 -1
  330. package/dist/chunk-AUEQQ4D3.js +0 -119
  331. package/dist/chunk-AUEQQ4D3.js.map +0 -1
  332. package/dist/chunk-AXZLLRBU.cjs +0 -26
  333. package/dist/chunk-AXZLLRBU.cjs.map +0 -1
  334. package/dist/chunk-B7LYPQ4K.cjs +0 -38
  335. package/dist/chunk-B7LYPQ4K.cjs.map +0 -1
  336. package/dist/chunk-BE2ZLB3L.cjs +0 -19
  337. package/dist/chunk-BE2ZLB3L.cjs.map +0 -1
  338. package/dist/chunk-C2VARNXL.js +0 -70
  339. package/dist/chunk-C2VARNXL.js.map +0 -1
  340. package/dist/chunk-CPYPI45H.js +0 -98
  341. package/dist/chunk-CPYPI45H.js.map +0 -1
  342. package/dist/chunk-CRTRMMJ7.js +0 -59
  343. package/dist/chunk-CRTRMMJ7.js.map +0 -1
  344. package/dist/chunk-DZ5MGN25.js +0 -147
  345. package/dist/chunk-DZ5MGN25.js.map +0 -1
  346. package/dist/chunk-E4SMHCKA.cjs +0 -31
  347. package/dist/chunk-E4SMHCKA.cjs.map +0 -1
  348. package/dist/chunk-EAEMD3DY.cjs +0 -34
  349. package/dist/chunk-EAEMD3DY.cjs.map +0 -1
  350. package/dist/chunk-ENCR5SUW.cjs +0 -51
  351. package/dist/chunk-ENCR5SUW.cjs.map +0 -1
  352. package/dist/chunk-EOWJ7775.js +0 -18
  353. package/dist/chunk-EOWJ7775.js.map +0 -1
  354. package/dist/chunk-FKIMKZ4Y.js +0 -17
  355. package/dist/chunk-FKIMKZ4Y.js.map +0 -1
  356. package/dist/chunk-FKLRSMKS.js +0 -87
  357. package/dist/chunk-FKLRSMKS.js.map +0 -1
  358. package/dist/chunk-H4F7UVPT.js +0 -34
  359. package/dist/chunk-H4F7UVPT.js.map +0 -1
  360. package/dist/chunk-HATQVB6H.js +0 -19
  361. package/dist/chunk-HATQVB6H.js.map +0 -1
  362. package/dist/chunk-HCW4RO2O.cjs +0 -29
  363. package/dist/chunk-HCW4RO2O.cjs.map +0 -1
  364. package/dist/chunk-HPOZ6I54.cjs +0 -44
  365. package/dist/chunk-HPOZ6I54.cjs.map +0 -1
  366. package/dist/chunk-I63FQCIV.js +0 -189
  367. package/dist/chunk-I63FQCIV.js.map +0 -1
  368. package/dist/chunk-IDJ7FOHB.js +0 -34
  369. package/dist/chunk-IDJ7FOHB.js.map +0 -1
  370. package/dist/chunk-IP4HQL5I.cjs +0 -147
  371. package/dist/chunk-IP4HQL5I.cjs.map +0 -1
  372. package/dist/chunk-IQPA3QOV.js +0 -27
  373. package/dist/chunk-IQPA3QOV.js.map +0 -1
  374. package/dist/chunk-J3UJX77B.js +0 -31
  375. package/dist/chunk-J3UJX77B.js.map +0 -1
  376. package/dist/chunk-JD2M6AS5.js +0 -10
  377. package/dist/chunk-JD2M6AS5.js.map +0 -1
  378. package/dist/chunk-JWEEEVCE.js +0 -83
  379. package/dist/chunk-JWEEEVCE.js.map +0 -1
  380. package/dist/chunk-KEF5UBVQ.js +0 -31
  381. package/dist/chunk-KEF5UBVQ.js.map +0 -1
  382. package/dist/chunk-KEKBOJCF.cjs +0 -50
  383. package/dist/chunk-KEKBOJCF.cjs.map +0 -1
  384. package/dist/chunk-KLWDDALZ.cjs +0 -14
  385. package/dist/chunk-KLWDDALZ.cjs.map +0 -1
  386. package/dist/chunk-KNOUJZN5.cjs +0 -32
  387. package/dist/chunk-KNOUJZN5.cjs.map +0 -1
  388. package/dist/chunk-KPQDVXHK.js +0 -105
  389. package/dist/chunk-KPQDVXHK.js.map +0 -1
  390. package/dist/chunk-KPTRUNFA.js +0 -81
  391. package/dist/chunk-KPTRUNFA.js.map +0 -1
  392. package/dist/chunk-L3FKENHU.js +0 -14
  393. package/dist/chunk-L3FKENHU.js.map +0 -1
  394. package/dist/chunk-LBGALVRW.js +0 -1111
  395. package/dist/chunk-LBGALVRW.js.map +0 -1
  396. package/dist/chunk-LDTLGSZB.cjs +0 -83
  397. package/dist/chunk-LDTLGSZB.cjs.map +0 -1
  398. package/dist/chunk-LGY5FQOZ.cjs +0 -29
  399. package/dist/chunk-LGY5FQOZ.cjs.map +0 -1
  400. package/dist/chunk-M7QMNNHL.cjs +0 -31
  401. package/dist/chunk-M7QMNNHL.cjs.map +0 -1
  402. package/dist/chunk-MARIDIHZ.js +0 -50
  403. package/dist/chunk-MARIDIHZ.js.map +0 -1
  404. package/dist/chunk-MH37OJT2.cjs +0 -80
  405. package/dist/chunk-MH37OJT2.cjs.map +0 -1
  406. package/dist/chunk-MJHLKJ6X.cjs +0 -212
  407. package/dist/chunk-MJHLKJ6X.cjs.map +0 -1
  408. package/dist/chunk-MUS7DUPS.cjs +0 -98
  409. package/dist/chunk-MUS7DUPS.cjs.map +0 -1
  410. package/dist/chunk-NLGUTNQM.js +0 -22
  411. package/dist/chunk-NLGUTNQM.js.map +0 -1
  412. package/dist/chunk-NMXFWIFA.js +0 -133
  413. package/dist/chunk-NMXFWIFA.js.map +0 -1
  414. package/dist/chunk-ODL7X7KV.cjs +0 -17
  415. package/dist/chunk-ODL7X7KV.cjs.map +0 -1
  416. package/dist/chunk-PBSL6JOF.cjs +0 -17
  417. package/dist/chunk-PBSL6JOF.cjs.map +0 -1
  418. package/dist/chunk-PCY3N6C2.js +0 -1
  419. package/dist/chunk-PCY3N6C2.js.map +0 -1
  420. package/dist/chunk-PHCGCJSA.js +0 -107
  421. package/dist/chunk-PHCGCJSA.js.map +0 -1
  422. package/dist/chunk-Q3M4UH5U.cjs +0 -48
  423. package/dist/chunk-Q3M4UH5U.cjs.map +0 -1
  424. package/dist/chunk-QCOHQSZM.js +0 -31
  425. package/dist/chunk-QCOHQSZM.js.map +0 -1
  426. package/dist/chunk-QDKAU3H2.js +0 -31
  427. package/dist/chunk-QDKAU3H2.js.map +0 -1
  428. package/dist/chunk-QFVOIF7B.cjs +0 -50
  429. package/dist/chunk-QFVOIF7B.cjs.map +0 -1
  430. package/dist/chunk-QP2A7HRU.cjs +0 -22
  431. package/dist/chunk-QP2A7HRU.cjs.map +0 -1
  432. package/dist/chunk-QQXBYOKA.cjs +0 -16
  433. package/dist/chunk-QQXBYOKA.cjs.map +0 -1
  434. package/dist/chunk-QT7UEJZG.cjs +0 -133
  435. package/dist/chunk-QT7UEJZG.cjs.map +0 -1
  436. package/dist/chunk-QTL5I5C2.js +0 -38
  437. package/dist/chunk-QTL5I5C2.js.map +0 -1
  438. package/dist/chunk-R6IL3WOE.cjs +0 -31
  439. package/dist/chunk-R6IL3WOE.cjs.map +0 -1
  440. package/dist/chunk-RU4ZOZP5.cjs +0 -1
  441. package/dist/chunk-RU4ZOZP5.cjs.map +0 -1
  442. package/dist/chunk-RZPQIRIY.js +0 -11
  443. package/dist/chunk-RZPQIRIY.js.map +0 -1
  444. package/dist/chunk-RZT2J42J.js +0 -29
  445. package/dist/chunk-RZT2J42J.js.map +0 -1
  446. package/dist/chunk-SBA6FMFT.cjs +0 -18
  447. package/dist/chunk-SBA6FMFT.cjs.map +0 -1
  448. package/dist/chunk-SBTNHVSD.cjs +0 -30
  449. package/dist/chunk-SBTNHVSD.cjs.map +0 -1
  450. package/dist/chunk-SZA3XDJ5.cjs +0 -1
  451. package/dist/chunk-SZA3XDJ5.cjs.map +0 -1
  452. package/dist/chunk-UASNCH3A.cjs +0 -27
  453. package/dist/chunk-UASNCH3A.cjs.map +0 -1
  454. package/dist/chunk-UD3UTFV3.cjs +0 -1
  455. package/dist/chunk-UD3UTFV3.cjs.map +0 -1
  456. package/dist/chunk-UQAKJ4T7.cjs +0 -29
  457. package/dist/chunk-UQAKJ4T7.cjs.map +0 -1
  458. package/dist/chunk-URKPLEPV.cjs +0 -189
  459. package/dist/chunk-URKPLEPV.cjs.map +0 -1
  460. package/dist/chunk-VZIXXIU5.js +0 -32
  461. package/dist/chunk-VZIXXIU5.js.map +0 -1
  462. package/dist/chunk-W3P2I3UE.cjs +0 -10
  463. package/dist/chunk-W3P2I3UE.cjs.map +0 -1
  464. package/dist/chunk-X4GDZRHJ.js +0 -14
  465. package/dist/chunk-X4GDZRHJ.js.map +0 -1
  466. package/dist/chunk-XDJ6F7N4.cjs +0 -107
  467. package/dist/chunk-XDJ6F7N4.cjs.map +0 -1
  468. package/dist/chunk-XEZF7G64.js +0 -212
  469. package/dist/chunk-XEZF7G64.js.map +0 -1
  470. package/dist/chunk-XQOEKZSB.js +0 -64
  471. package/dist/chunk-XQOEKZSB.js.map +0 -1
  472. package/dist/chunk-XXJ7LQ44.js +0 -1
  473. package/dist/chunk-XXJ7LQ44.js.map +0 -1
  474. package/dist/chunk-XYMYRPVT.js +0 -1
  475. package/dist/chunk-XYMYRPVT.js.map +0 -1
  476. package/dist/chunk-XZPSXJOK.js +0 -17
  477. package/dist/chunk-XZPSXJOK.js.map +0 -1
  478. package/dist/chunk-YE55IKBP.cjs +0 -34
  479. package/dist/chunk-YE55IKBP.cjs.map +0 -1
  480. package/dist/chunk-YWVQCHQF.js +0 -51
  481. package/dist/chunk-YWVQCHQF.js.map +0 -1
  482. package/dist/chunk-Z6QSH522.cjs +0 -105
  483. package/dist/chunk-Z6QSH522.cjs.map +0 -1
  484. package/dist/chunk-ZAW535DG.js +0 -153
  485. package/dist/chunk-ZAW535DG.js.map +0 -1
  486. package/dist/chunk-ZDQGQY7Z.js +0 -29
  487. package/dist/chunk-ZDQGQY7Z.js.map +0 -1
  488. package/dist/chunk-ZIHCLVCD.js +0 -44
  489. package/dist/chunk-ZIHCLVCD.js.map +0 -1
  490. package/dist/chunk-ZMSST6ZZ.cjs +0 -28
  491. package/dist/chunk-ZMSST6ZZ.cjs.map +0 -1
  492. package/dist/chunk-ZUIS3FET.js +0 -21
  493. package/dist/chunk-ZUIS3FET.js.map +0 -1
  494. package/dist/components/CrossmintNFTCollectionView.cjs.map +0 -1
  495. package/dist/components/CrossmintNFTCollectionView.js.map +0 -1
  496. package/dist/components/CrossmintNFTDetail.cjs.map +0 -1
  497. package/dist/components/CrossmintNFTDetail.js.map +0 -1
  498. package/dist/components/auth/AuthForm.cjs.map +0 -1
  499. package/dist/components/auth/AuthForm.js.map +0 -1
  500. package/dist/components/auth/AuthFormBackButton.cjs.map +0 -1
  501. package/dist/components/auth/AuthFormBackButton.js.map +0 -1
  502. package/dist/components/auth/AuthFormDialog.cjs.map +0 -1
  503. package/dist/components/auth/AuthFormDialog.js.map +0 -1
  504. package/dist/components/auth/EmbeddedAuthForm.cjs.map +0 -1
  505. package/dist/components/auth/EmbeddedAuthForm.js.map +0 -1
  506. package/dist/components/auth/PasskeyPrompt.cjs.map +0 -1
  507. package/dist/components/auth/PasskeyPrompt.js.map +0 -1
  508. package/dist/components/auth/methods/email/EmailAuthFlow.cjs.map +0 -1
  509. package/dist/components/auth/methods/email/EmailAuthFlow.js.map +0 -1
  510. package/dist/components/auth/methods/email/EmailOTPInput.cjs.map +0 -1
  511. package/dist/components/auth/methods/email/EmailOTPInput.js.map +0 -1
  512. package/dist/components/auth/methods/email/EmailSignIn.cjs.map +0 -1
  513. package/dist/components/auth/methods/email/EmailSignIn.js.map +0 -1
  514. package/dist/components/auth/methods/farcaster/FarcasterSignIn.cjs.map +0 -1
  515. package/dist/components/auth/methods/farcaster/FarcasterSignIn.js.map +0 -1
  516. package/dist/components/auth/methods/google/GoogleSignIn.cjs.map +0 -1
  517. package/dist/components/auth/methods/google/GoogleSignIn.js.map +0 -1
  518. package/dist/components/auth/methods/web3/Web3AuthFlow.cjs.map +0 -1
  519. package/dist/components/auth/methods/web3/Web3AuthFlow.js.map +0 -1
  520. package/dist/components/auth/methods/web3/Web3AuthFlowButton.cjs.map +0 -1
  521. package/dist/components/auth/methods/web3/Web3AuthFlowButton.js.map +0 -1
  522. package/dist/components/auth/methods/web3/Web3Connector.cjs.map +0 -1
  523. package/dist/components/auth/methods/web3/Web3Connector.js.map +0 -1
  524. package/dist/components/auth/methods/web3/Web3ConnectorButton.cjs.map +0 -1
  525. package/dist/components/auth/methods/web3/Web3ConnectorButton.js.map +0 -1
  526. package/dist/components/auth/methods/web3/Web3Connectors.cjs.map +0 -1
  527. package/dist/components/auth/methods/web3/Web3Connectors.js.map +0 -1
  528. package/dist/components/common/CrossmintLogoV2/CrossmintLogoV2.cjs.map +0 -1
  529. package/dist/components/common/CrossmintLogoV2/CrossmintLogoV2.js.map +0 -1
  530. package/dist/components/common/CrossmintLogoV2/consts.cjs.map +0 -1
  531. package/dist/components/common/CrossmintLogoV2/consts.js.map +0 -1
  532. package/dist/components/common/CrossmintLogoV2/schemas.cjs.map +0 -1
  533. package/dist/components/common/CrossmintLogoV2/schemas.js.map +0 -1
  534. package/dist/components/common/Dialog.cjs.map +0 -1
  535. package/dist/components/common/Dialog.js.map +0 -1
  536. package/dist/components/common/Divider.cjs.map +0 -1
  537. package/dist/components/common/Divider.js.map +0 -1
  538. package/dist/components/common/InputOTP.cjs.map +0 -1
  539. package/dist/components/common/InputOTP.js.map +0 -1
  540. package/dist/components/common/PoweredByCrossmint.cjs.map +0 -1
  541. package/dist/components/common/PoweredByCrossmint.js.map +0 -1
  542. package/dist/components/common/Spinner.cjs.map +0 -1
  543. package/dist/components/common/Spinner.js.map +0 -1
  544. package/dist/components/dynamic-xyz/DynamicContextProviderWrapper.cjs.map +0 -1
  545. package/dist/components/dynamic-xyz/DynamicContextProviderWrapper.js.map +0 -1
  546. package/dist/components/embed/EmbeddedCheckoutIFrame.cjs.map +0 -1
  547. package/dist/components/embed/EmbeddedCheckoutIFrame.js.map +0 -1
  548. package/dist/components/embed/crypto/CryptoEmbeddedCheckout.cjs.map +0 -1
  549. package/dist/components/embed/crypto/CryptoEmbeddedCheckout.js.map +0 -1
  550. package/dist/components/embed/crypto/CryptoEmbeddedCheckoutIFrame.cjs.map +0 -1
  551. package/dist/components/embed/crypto/CryptoEmbeddedCheckoutIFrame.js.map +0 -1
  552. package/dist/components/embed/fiat/FiatEmbeddedCheckout.cjs.map +0 -1
  553. package/dist/components/embed/fiat/FiatEmbeddedCheckout.js.map +0 -1
  554. package/dist/components/embed/fiat/FiatEmbeddedCheckoutIFrame.cjs.map +0 -1
  555. package/dist/components/embed/fiat/FiatEmbeddedCheckoutIFrame.js.map +0 -1
  556. package/dist/components/embed/fiat/FiatPaymentElement_OLD.cjs.map +0 -1
  557. package/dist/components/embed/fiat/FiatPaymentElement_OLD.js.map +0 -1
  558. package/dist/components/embed/index.cjs.map +0 -1
  559. package/dist/components/embed/index.js.map +0 -1
  560. package/dist/components/embed/v3/CrossmintEmbeddedCheckoutV3.cjs.map +0 -1
  561. package/dist/components/embed/v3/CrossmintEmbeddedCheckoutV3.js.map +0 -1
  562. package/dist/components/embed/v3/EmbeddedCheckoutV3IFrame.cjs.map +0 -1
  563. package/dist/components/embed/v3/EmbeddedCheckoutV3IFrame.js.map +0 -1
  564. package/dist/components/embed/v3/crypto/CryptoWalletConnectionHandler.cjs.map +0 -1
  565. package/dist/components/embed/v3/crypto/CryptoWalletConnectionHandler.js.map +0 -1
  566. package/dist/components/embed/v3/crypto/utils/handleEvmTransaction.cjs.map +0 -1
  567. package/dist/components/embed/v3/crypto/utils/handleEvmTransaction.js.map +0 -1
  568. package/dist/components/embed/v3/crypto/utils/handleSendTransaction.cjs.map +0 -1
  569. package/dist/components/embed/v3/crypto/utils/handleSendTransaction.js.map +0 -1
  570. package/dist/components/embed/v3/crypto/utils/handleSolanaTransaction.cjs.map +0 -1
  571. package/dist/components/embed/v3/crypto/utils/handleSolanaTransaction.js.map +0 -1
  572. package/dist/components/embed/v3/index.cjs.map +0 -1
  573. package/dist/components/embed/v3/index.js.map +0 -1
  574. package/dist/components/hosted/CrossmintPayButton.cjs.map +0 -1
  575. package/dist/components/hosted/CrossmintPayButton.js.map +0 -1
  576. package/dist/components/hosted/index.cjs.map +0 -1
  577. package/dist/components/hosted/index.js.map +0 -1
  578. package/dist/components/hosted/styles.cjs.map +0 -1
  579. package/dist/components/hosted/styles.js.map +0 -1
  580. package/dist/components/hosted/v3/CrossmintHostedCheckoutV3.cjs.map +0 -1
  581. package/dist/components/hosted/v3/CrossmintHostedCheckoutV3.js.map +0 -1
  582. package/dist/components/hosted/v3/index.cjs.map +0 -1
  583. package/dist/components/hosted/v3/index.js.map +0 -1
  584. package/dist/components/index.cjs.map +0 -1
  585. package/dist/components/index.js.map +0 -1
  586. package/dist/consts/version.cjs.map +0 -1
  587. package/dist/consts/version.js.map +0 -1
  588. package/dist/hooks/index.cjs.map +0 -1
  589. package/dist/hooks/index.js.map +0 -1
  590. package/dist/hooks/useAuth.cjs.map +0 -1
  591. package/dist/hooks/useAuth.js.map +0 -1
  592. package/dist/hooks/useCrossmint.cjs.map +0 -1
  593. package/dist/hooks/useCrossmint.js.map +0 -1
  594. package/dist/hooks/useCrossmintAuth.cjs.map +0 -1
  595. package/dist/hooks/useCrossmintAuth.js.map +0 -1
  596. package/dist/hooks/useCrossmintCheckout.cjs.map +0 -1
  597. package/dist/hooks/useCrossmintCheckout.js.map +0 -1
  598. package/dist/hooks/useDeepEffect.cjs.map +0 -1
  599. package/dist/hooks/useDeepEffect.js.map +0 -1
  600. package/dist/hooks/useEnvironment.cjs.map +0 -1
  601. package/dist/hooks/useEnvironment.js.map +0 -1
  602. package/dist/hooks/useOAuthWindowListener.cjs.map +0 -1
  603. package/dist/hooks/useOAuthWindowListener.js.map +0 -1
  604. package/dist/hooks/useWallet.cjs.map +0 -1
  605. package/dist/hooks/useWallet.js.map +0 -1
  606. package/dist/icons/alert.cjs.map +0 -1
  607. package/dist/icons/alert.js.map +0 -1
  608. package/dist/icons/base64Icons.cjs.map +0 -1
  609. package/dist/icons/base64Icons.js.map +0 -1
  610. package/dist/icons/chevronRight.cjs.map +0 -1
  611. package/dist/icons/chevronRight.js.map +0 -1
  612. package/dist/icons/discord.cjs.map +0 -1
  613. package/dist/icons/discord.js.map +0 -1
  614. package/dist/icons/emailOTP.cjs.map +0 -1
  615. package/dist/icons/emailOTP.js.map +0 -1
  616. package/dist/icons/farcaster.cjs.map +0 -1
  617. package/dist/icons/farcaster.js.map +0 -1
  618. package/dist/icons/fingerprint.cjs.map +0 -1
  619. package/dist/icons/fingerprint.js.map +0 -1
  620. package/dist/icons/google.cjs.map +0 -1
  621. package/dist/icons/google.js.map +0 -1
  622. package/dist/icons/leftArrow.cjs.map +0 -1
  623. package/dist/icons/leftArrow.js.map +0 -1
  624. package/dist/icons/passkey.cjs.map +0 -1
  625. package/dist/icons/passkey.js.map +0 -1
  626. package/dist/icons/passkeyPromptLogo.cjs.map +0 -1
  627. package/dist/icons/passkeyPromptLogo.js.map +0 -1
  628. package/dist/icons/poweredByLeaf.cjs.map +0 -1
  629. package/dist/icons/poweredByLeaf.js.map +0 -1
  630. package/dist/icons/wallet.cjs.map +0 -1
  631. package/dist/icons/wallet.js.map +0 -1
  632. package/dist/icons/x.cjs.map +0 -1
  633. package/dist/icons/x.js.map +0 -1
  634. package/dist/index.cjs.map +0 -1
  635. package/dist/index.js.map +0 -1
  636. package/dist/providers/CrossmintAuthProvider.cjs.map +0 -1
  637. package/dist/providers/CrossmintAuthProvider.js.map +0 -1
  638. package/dist/providers/CrossmintWalletProvider.cjs.map +0 -1
  639. package/dist/providers/CrossmintWalletProvider.js.map +0 -1
  640. package/dist/providers/TwindProvider.cjs.map +0 -1
  641. package/dist/providers/TwindProvider.js.map +0 -1
  642. package/dist/providers/auth/AuthFormProvider.cjs.map +0 -1
  643. package/dist/providers/auth/AuthFormProvider.js.map +0 -1
  644. package/dist/providers/auth/FarcasterProvider.cjs.map +0 -1
  645. package/dist/providers/auth/FarcasterProvider.js.map +0 -1
  646. package/dist/providers/auth/web3/DynamicWeb3WalletConnect.cjs.map +0 -1
  647. package/dist/providers/auth/web3/DynamicWeb3WalletConnect.js.map +0 -1
  648. package/dist/providers/index.cjs.map +0 -1
  649. package/dist/providers/index.js.map +0 -1
  650. package/dist/testUtils.cjs.map +0 -1
  651. package/dist/testUtils.js.map +0 -1
  652. package/dist/twind.config.cjs.map +0 -1
  653. package/dist/twind.config.js.map +0 -1
  654. package/dist/types/auth.cjs.map +0 -1
  655. package/dist/types/auth.js.map +0 -1
  656. package/dist/utils/classNames.cjs.map +0 -1
  657. package/dist/utils/classNames.js.map +0 -1
  658. package/dist/utils/createCrossmintApiClient.cjs.map +0 -1
  659. package/dist/utils/createCrossmintApiClient.js.map +0 -1
  660. package/dist/utils/dynamic/dynamicChainToCrossmintChain.cjs.map +0 -1
  661. package/dist/utils/dynamic/dynamicChainToCrossmintChain.js.map +0 -1
  662. package/src/components/CrossmintCollectionView.test.tsx +0 -36
  663. package/src/components/CrossmintNFTCollectionView.tsx +0 -25
  664. package/src/components/CrossmintNFTDetail.test.tsx +0 -38
  665. package/src/components/CrossmintNFTDetail.tsx +0 -25
  666. package/src/components/auth/AuthForm.tsx +0 -84
  667. package/src/components/auth/AuthFormBackButton.tsx +0 -30
  668. package/src/components/auth/AuthFormDialog.tsx +0 -38
  669. package/src/components/auth/EmbeddedAuthForm.tsx +0 -5
  670. package/src/components/auth/PasskeyPrompt.tsx +0 -258
  671. package/src/components/auth/methods/email/EmailAuthFlow.tsx +0 -19
  672. package/src/components/auth/methods/email/EmailOTPInput.tsx +0 -124
  673. package/src/components/auth/methods/email/EmailSignIn.tsx +0 -110
  674. package/src/components/auth/methods/farcaster/FarcasterSignIn.tsx +0 -169
  675. package/src/components/auth/methods/google/GoogleSignIn.tsx +0 -53
  676. package/src/components/auth/methods/web3/Web3AuthFlow.tsx +0 -35
  677. package/src/components/auth/methods/web3/Web3AuthFlowButton.tsx +0 -44
  678. package/src/components/auth/methods/web3/Web3Connector.tsx +0 -62
  679. package/src/components/auth/methods/web3/Web3ConnectorButton.tsx +0 -38
  680. package/src/components/auth/methods/web3/Web3Connectors.tsx +0 -28
  681. package/src/components/common/CrossmintLogoV2/CrossmintLogoV2.tsx +0 -98
  682. package/src/components/common/CrossmintLogoV2/consts.ts +0 -28
  683. package/src/components/common/CrossmintLogoV2/schemas.ts +0 -34
  684. package/src/components/common/Dialog.tsx +0 -122
  685. package/src/components/common/Divider.tsx +0 -25
  686. package/src/components/common/InputOTP.tsx +0 -94
  687. package/src/components/common/PoweredByCrossmint.tsx +0 -10
  688. package/src/components/common/Spinner.tsx +0 -22
  689. package/src/components/dynamic-xyz/DynamicContextProviderWrapper.tsx +0 -31
  690. package/src/components/embed/CrossmintPaymentElement.test.tsx +0 -79
  691. package/src/components/embed/EmbeddedCheckoutIFrame.tsx +0 -71
  692. package/src/components/embed/crypto/CryptoEmbeddedCheckout.tsx +0 -11
  693. package/src/components/embed/crypto/CryptoEmbeddedCheckoutIFrame.tsx +0 -108
  694. package/src/components/embed/fiat/FiatEmbeddedCheckout.tsx +0 -7
  695. package/src/components/embed/fiat/FiatEmbeddedCheckoutIFrame.tsx +0 -21
  696. package/src/components/embed/fiat/FiatPaymentElement_OLD.tsx +0 -73
  697. package/src/components/embed/index.tsx +0 -19
  698. package/src/components/embed/v3/CrossmintEmbeddedCheckoutV3.tsx +0 -7
  699. package/src/components/embed/v3/EmbeddedCheckoutV3IFrame.tsx +0 -83
  700. package/src/components/embed/v3/crypto/CryptoWalletConnectionHandler.tsx +0 -144
  701. package/src/components/embed/v3/crypto/utils/handleEvmTransaction.ts +0 -78
  702. package/src/components/embed/v3/crypto/utils/handleSendTransaction.ts +0 -29
  703. package/src/components/embed/v3/crypto/utils/handleSolanaTransaction.ts +0 -54
  704. package/src/components/embed/v3/index.ts +0 -1
  705. package/src/components/hosted/CrossmintPayButton.test.tsx +0 -188
  706. package/src/components/hosted/CrossmintPayButton.tsx +0 -132
  707. package/src/components/hosted/index.ts +0 -3
  708. package/src/components/hosted/styles.ts +0 -58
  709. package/src/components/hosted/v3/CrossmintHostedCheckoutV3.tsx +0 -74
  710. package/src/components/hosted/v3/index.ts +0 -1
  711. package/src/components/index.ts +0 -8
  712. package/src/consts/version.ts +0 -3
  713. package/src/hooks/index.ts +0 -4
  714. package/src/hooks/useAuth.ts +0 -11
  715. package/src/hooks/useCrossmint.test.tsx +0 -103
  716. package/src/hooks/useCrossmint.tsx +0 -57
  717. package/src/hooks/useCrossmintAuth.ts +0 -12
  718. package/src/hooks/useCrossmintCheckout.tsx +0 -56
  719. package/src/hooks/useDeepEffect.ts +0 -15
  720. package/src/hooks/useEnvironment.ts +0 -10
  721. package/src/hooks/useOAuthWindowListener.ts +0 -84
  722. package/src/hooks/useWallet.ts +0 -13
  723. package/src/icons/alert.tsx +0 -19
  724. package/src/icons/base64Icons.ts +0 -8
  725. package/src/icons/chevronRight.tsx +0 -21
  726. package/src/icons/discord.tsx +0 -18
  727. package/src/icons/emailOTP.tsx +0 -147
  728. package/src/icons/farcaster.tsx +0 -26
  729. package/src/icons/fingerprint.tsx +0 -25
  730. package/src/icons/google.tsx +0 -30
  731. package/src/icons/leftArrow.tsx +0 -20
  732. package/src/icons/passkey.tsx +0 -18
  733. package/src/icons/passkeyPromptLogo.tsx +0 -76
  734. package/src/icons/poweredByLeaf.tsx +0 -85
  735. package/src/icons/wallet.tsx +0 -23
  736. package/src/icons/x.tsx +0 -19
  737. package/src/index.ts +0 -23
  738. package/src/providers/CrossmintAuthProvider.test.tsx +0 -269
  739. package/src/providers/CrossmintAuthProvider.tsx +0 -211
  740. package/src/providers/CrossmintWalletProvider.test.tsx +0 -218
  741. package/src/providers/CrossmintWalletProvider.tsx +0 -155
  742. package/src/providers/TwindProvider.tsx +0 -14
  743. package/src/providers/auth/AuthFormProvider.test.tsx +0 -142
  744. package/src/providers/auth/AuthFormProvider.tsx +0 -109
  745. package/src/providers/auth/FarcasterProvider.tsx +0 -12
  746. package/src/providers/auth/web3/DynamicWeb3WalletConnect.tsx +0 -73
  747. package/src/providers/index.ts +0 -2
  748. package/src/testUtils.ts +0 -1
  749. package/src/twind.config.ts +0 -114
  750. package/src/types/auth.ts +0 -4
  751. package/src/utils/classNames.ts +0 -12
  752. package/src/utils/createCrossmintApiClient.ts +0 -17
  753. package/src/utils/dynamic/dynamicChainToCrossmintChain.ts +0 -20
@@ -1,110 +0,0 @@
1
- import { type FormEvent, useState } from "react";
2
- import Color from "color";
3
-
4
- import { Spinner } from "@/components/common/Spinner";
5
- import { classNames } from "@/utils/classNames";
6
- import { AlertIcon } from "../../../../icons/alert";
7
- import { isEmailValid } from "@crossmint/common-sdk-auth";
8
- import { useAuthForm } from "@/providers/auth/AuthFormProvider";
9
- import type { OtpEmailPayload } from "@/types/auth";
10
- import { useCrossmintAuth } from "@/hooks/useCrossmintAuth";
11
-
12
- export function EmailSignIn({ setOtpEmailData }: { setOtpEmailData: (data: OtpEmailPayload) => void }) {
13
- const { crossmintAuth } = useCrossmintAuth();
14
- const { appearance, setStep, setError } = useAuthForm();
15
-
16
- const [emailInput, setEmailInput] = useState("");
17
- const [emailError, setEmailError] = useState("");
18
- const [isLoading, setIsLoading] = useState(false);
19
-
20
- async function handleOnSubmit(e: FormEvent<HTMLFormElement>) {
21
- e.preventDefault();
22
-
23
- if (!isEmailValid(emailInput)) {
24
- setEmailError("Please enter a valid email address");
25
- return;
26
- }
27
-
28
- setIsLoading(true);
29
-
30
- try {
31
- const trimmedEmailInput = emailInput.trim().toLowerCase();
32
- const emailSignInRes = (await crossmintAuth?.sendEmailOtp(trimmedEmailInput)) as { emailId: string };
33
-
34
- setOtpEmailData({ email: trimmedEmailInput, emailId: emailSignInRes.emailId });
35
- setStep("otp");
36
- } catch (_e: unknown) {
37
- setIsLoading(false);
38
- setError("Failed to send email. Please try again or contact support.");
39
- }
40
- }
41
-
42
- return (
43
- <>
44
- <div className="flex flex-col items-start justify-start w-full rounded-lg">
45
- <div className="w-full">
46
- <form
47
- role="form"
48
- className="relative"
49
- onSubmit={handleOnSubmit}
50
- noValidate // we want to handle validation ourselves
51
- >
52
- <label htmlFor="emailInput" className="sr-only">
53
- Email
54
- </label>
55
- <input
56
- className={classNames(
57
- "flex-grow text-cm-text-secondary text-left pl-[16px] pr-[80px] h-[58px] w-full border border-cm-border rounded-xl bg-cm-background-primary placeholder:text-sm placeholder:text-opacity-60",
58
- "transition-none duration-200 ease-in-out",
59
- "focus:outline-none focus-ring-custom", // Add focus ring
60
- emailError ? "border-red-500" : ""
61
- )}
62
- style={{
63
- color: appearance?.colors?.textPrimary,
64
- borderRadius: appearance?.borderRadius,
65
- borderColor: emailError ? appearance?.colors?.danger : appearance?.colors?.border,
66
- backgroundColor: appearance?.colors?.inputBackground,
67
- // @ts-expect-error Add custom ring color to tailwind
68
- "--focus-ring-color": new Color(appearance?.colors?.accent ?? "#04AA6D")
69
- .alpha(0.18)
70
- .toString(),
71
- }}
72
- type="email"
73
- placeholder="Enter email"
74
- value={emailInput}
75
- onChange={(e) => {
76
- setEmailInput(e.target.value);
77
- setEmailError("");
78
- setError(null);
79
- }}
80
- readOnly={isLoading}
81
- aria-describedby="emailError"
82
- />
83
- <div className="absolute inset-y-0 right-0 flex items-center pr-4">
84
- {emailError && <AlertIcon customColor={appearance?.colors?.danger} />}
85
- {isLoading && (
86
- <Spinner
87
- style={{
88
- color: appearance?.colors?.textSecondary,
89
- fill: appearance?.colors?.textPrimary,
90
- }}
91
- />
92
- )}
93
- {!emailError && !isLoading && (
94
- <button
95
- type="submit"
96
- className={classNames("cursor-pointer font-medium text-cm-accent text-nowrap")}
97
- style={{ color: appearance?.colors?.accent }}
98
- disabled={!emailInput}
99
- >
100
- Sign in
101
- </button>
102
- )}
103
- </div>
104
- </form>
105
- {emailError && <p className="text-xs text-red-500 mb-2 pt-2">{emailError}</p>}
106
- </div>
107
- </div>
108
- </>
109
- );
110
- }
@@ -1,169 +0,0 @@
1
- import { useEffect, useMemo, useState } from "react";
2
- import { useSignIn, QRCode, type UseSignInData } from "@farcaster/auth-kit";
3
- import { FarcasterIcon } from "@/icons/farcaster";
4
- import { useAuthForm } from "@/providers/auth/AuthFormProvider";
5
- import { Spinner } from "@/components/common/Spinner";
6
- import { classNames } from "@/utils/classNames";
7
- import { AuthFormBackButton } from "../../AuthFormBackButton";
8
- import { useCrossmintAuth } from "@/hooks/useCrossmintAuth";
9
- export function FarcasterSignIn() {
10
- const { step, appearance, setStep, setError } = useAuthForm();
11
-
12
- if (step === "initial") {
13
- return (
14
- <div>
15
- <button
16
- className={classNames(
17
- "relative flex text-base p-4 bg-cm-muted-primary text-cm-text-primary items-center w-full rounded-xl justify-center",
18
- "transition-colors duration-200 ease-in-out",
19
- "hover:bg-cm-hover focus:bg-cm-hover outline-none"
20
- )}
21
- style={{
22
- borderRadius: appearance?.borderRadius,
23
- backgroundColor: appearance?.colors?.buttonBackground,
24
- }}
25
- onClick={() => {
26
- setStep("qrCode");
27
- setError(null);
28
- }}
29
- >
30
- <FarcasterIcon className="h-[25px] w-[25px] absolute left-[18px]" />
31
- <span
32
- className="font-medium"
33
- style={{ margin: "0px 32px", color: appearance?.colors?.textPrimary }}
34
- >
35
- Sign in with Farcaster
36
- </span>
37
- <span className="sr-only">Sign in with Farcaster</span>
38
- </button>
39
- </div>
40
- );
41
- }
42
-
43
- if (step === "qrCode") {
44
- return <FarcasterQRCode />;
45
- }
46
-
47
- return null;
48
- }
49
-
50
- // We want this to be a separate component so it can completely un-render when the user goes back to the initial screen
51
- function FarcasterQRCode() {
52
- const { crossmintAuth } = useCrossmintAuth();
53
- const { appearance, setStep, setDialogOpen, setError } = useAuthForm();
54
- const [farcasterData, setFarcasterData] = useState<UseSignInData | null>(null);
55
-
56
- const farcasterProps = useMemo(
57
- () => ({
58
- onSuccess: (data: UseSignInData) => {
59
- // Step 3. set the farcaster data once the sign in is successful
60
- setFarcasterData(data);
61
- },
62
- }),
63
- []
64
- );
65
-
66
- const { signIn, url: qrCodeUrl, connect, signOut, isConnected } = useSignIn(farcasterProps);
67
-
68
- const handleFarcasterSignIn = async (data: UseSignInData) => {
69
- setError(null);
70
- try {
71
- const oneTimeSecret = await crossmintAuth?.signInWithFarcaster(data);
72
- // Step 5. fetch the auth material, close the dialog, and unrender any farcaster client stuff
73
- await crossmintAuth?.handleRefreshAuthMaterial(oneTimeSecret as string);
74
- setDialogOpen(false);
75
- setStep("initial");
76
- } catch (error) {
77
- console.error("Error during Farcaster sign-in:", error);
78
- setError("Failed to sign in with Farcaster");
79
- }
80
- };
81
-
82
- useEffect(() => {
83
- if (farcasterData != null) {
84
- // Step 4. call the handleFarcasterSignInfunction to handle the sign in
85
- handleFarcasterSignIn(farcasterData);
86
- }
87
- }, [farcasterData]);
88
-
89
- useEffect(() => {
90
- if (isConnected) {
91
- // Step 2. once connected, call the signIn function to start the sign in process
92
- signIn();
93
- }
94
- }, [isConnected]);
95
-
96
- useEffect(() => {
97
- // Step 1. call the connect function to initialize the connection
98
- connect();
99
- }, []);
100
-
101
- return (
102
- <div>
103
- <AuthFormBackButton
104
- onClick={() => {
105
- signOut();
106
- setStep("initial");
107
- }}
108
- iconColor={appearance?.colors?.textPrimary}
109
- ringColor={appearance?.colors?.accent}
110
- />
111
-
112
- <div className="flex flex-col items-center gap-4">
113
- <div className="text-center">
114
- <h3
115
- className="text-lg font-semibold text-cm-text-primary mb-2"
116
- style={{ color: appearance?.colors?.textPrimary }}
117
- >
118
- Sign in with Farcaster
119
- </h3>
120
- <p
121
- className="text-base font-normal text-cm-text-secondary"
122
- style={{ color: appearance?.colors?.textSecondary }}
123
- >
124
- Scan with your phone's camera to continue.
125
- </p>
126
- </div>
127
- <div
128
- className="bg-white aspect-square rounded-lg p-4"
129
- style={{
130
- backgroundColor: appearance?.colors?.inputBackground,
131
- borderRadius: appearance?.borderRadius,
132
- }}
133
- >
134
- {qrCodeUrl != null ? (
135
- <QRCode uri={qrCodeUrl} size={280} />
136
- ) : (
137
- <div className="min-h-[246px] flex items-center justify-center">
138
- <Spinner
139
- style={{
140
- color: appearance?.colors?.textSecondary,
141
- fill: appearance?.colors?.textPrimary,
142
- }}
143
- />
144
- </div>
145
- )}
146
- </div>
147
- {qrCodeUrl ? (
148
- <>
149
- <p
150
- className="text-base text-center font-normal text-cm-text-secondary"
151
- style={{ color: appearance?.colors?.textSecondary }}
152
- >
153
- Alternatively, click on this link to open Warpcast.
154
- </p>
155
- <a
156
- href={qrCodeUrl}
157
- rel="noopener noreferrer"
158
- target="_blank"
159
- className="text-base font-normal text-cm-link"
160
- style={{ color: appearance?.colors?.textLink }}
161
- >
162
- Open Warpcast
163
- </a>
164
- </>
165
- ) : null}
166
- </div>
167
- </div>
168
- );
169
- }
@@ -1,53 +0,0 @@
1
- import type { ButtonHTMLAttributes } from "react";
2
- import { GoogleIcon } from "@/icons/google";
3
- import { useOAuthWindowListener } from "@/hooks/useOAuthWindowListener";
4
- import { Spinner } from "@/components/common/Spinner";
5
- import { useAuthForm } from "@/providers/auth/AuthFormProvider";
6
- import { classNames } from "@/utils/classNames";
7
-
8
- export function GoogleSignIn({ ...props }: ButtonHTMLAttributes<HTMLButtonElement>) {
9
- const { step, appearance, isLoadingOauthUrlMap } = useAuthForm();
10
- const { createPopupAndSetupListeners, isLoading: isLoadingOAuthWindow } = useOAuthWindowListener("google");
11
- const isLoading = isLoadingOauthUrlMap || isLoadingOAuthWindow;
12
-
13
- if (step !== "initial") {
14
- return null;
15
- }
16
-
17
- return (
18
- <button
19
- className={classNames(
20
- "relative flex text-base p-4 bg-cm-muted-primary text-cm-text-primary items-center w-full rounded-xl justify-center",
21
- "transition-colors duration-200 ease-in-out",
22
- "hover:bg-cm-hover focus:bg-cm-hover outline-none",
23
- isLoading ? "cursor-not-allowed hover:bg-cm-muted-primary" : ""
24
- )}
25
- style={{
26
- borderRadius: appearance?.borderRadius,
27
- backgroundColor: appearance?.colors?.buttonBackground,
28
- }}
29
- onClick={isLoading ? undefined : createPopupAndSetupListeners}
30
- {...props}
31
- >
32
- <>
33
- <GoogleIcon className="h-[25px] w-[25px] absolute left-[18px]" />
34
- {isLoading ? (
35
- <Spinner
36
- style={{
37
- color: appearance?.colors?.textSecondary,
38
- fill: appearance?.colors?.textPrimary,
39
- }}
40
- />
41
- ) : (
42
- <span
43
- className="font-medium"
44
- style={{ margin: "0px 32px", color: appearance?.colors?.textPrimary }}
45
- >
46
- Sign in with Google
47
- </span>
48
- )}
49
- </>
50
- <span className="sr-only">Sign in with Google</span>
51
- </button>
52
- );
53
- }
@@ -1,35 +0,0 @@
1
- import { useAuthForm } from "@/providers/auth/AuthFormProvider";
2
- import { Web3AuthFlowButton } from "./Web3AuthFlowButton";
3
- import { Web3Connectors } from "./Web3Connectors";
4
- import { useCrossmint } from "@/hooks";
5
- import { createCrossmintApiClient } from "@/utils/createCrossmintApiClient";
6
- import { DynamicWeb3WalletConnect } from "@/providers/auth/web3/DynamicWeb3WalletConnect";
7
-
8
- export function Web3AuthFlow() {
9
- const { crossmint } = useCrossmint();
10
- const apiClient = createCrossmintApiClient(crossmint, {
11
- usageOrigin: "client",
12
- });
13
-
14
- return (
15
- <DynamicWeb3WalletConnect apiKeyEnvironment={apiClient["parsedAPIKey"].environment}>
16
- <Web3AuthFlowContent />
17
- </DynamicWeb3WalletConnect>
18
- );
19
- }
20
-
21
- function Web3AuthFlowContent() {
22
- const { step } = useAuthForm();
23
-
24
- // Show wallet connectors when in any web3 step
25
- if (step.startsWith("web3")) {
26
- return <Web3Connectors />;
27
- }
28
-
29
- // Show initial connect button on first step
30
- if (step === "initial") {
31
- return <Web3AuthFlowButton />;
32
- }
33
-
34
- return null;
35
- }
@@ -1,44 +0,0 @@
1
- import { ChevronRightIcon } from "@/icons/chevronRight";
2
- import { WalletIcon } from "@/icons/wallet";
3
- import { useAuthForm } from "@/providers/auth/AuthFormProvider";
4
- import { classNames } from "@/utils/classNames";
5
-
6
- export function Web3AuthFlowButton() {
7
- const { step, appearance, setStep, setError } = useAuthForm();
8
-
9
- if (step !== "initial") {
10
- return null;
11
- }
12
-
13
- return (
14
- <button
15
- className={classNames(
16
- "relative flex text-base p-4 bg-cm-muted-primary text-cm-text-primary items-center w-full rounded-xl justify-center",
17
- "transition-colors duration-200 ease-in-out",
18
- "hover:bg-cm-hover focus:bg-cm-hover outline-none"
19
- )}
20
- style={{
21
- borderRadius: appearance?.borderRadius,
22
- borderColor: appearance?.colors?.border,
23
- backgroundColor: appearance?.colors?.buttonBackground,
24
- }}
25
- onClick={() => {
26
- setStep("web3");
27
- setError(null);
28
- }}
29
- >
30
- <WalletIcon
31
- className="h-[21px] w-[21px] absolute left-[20px]"
32
- style={{ color: appearance?.colors?.textPrimary }}
33
- />
34
- <span className="font-medium" style={{ margin: "0px 32px", color: appearance?.colors?.textPrimary }}>
35
- Continue with a wallet
36
- </span>
37
- <ChevronRightIcon
38
- className="h-[21px] w-[21px] absolute right-[20px]"
39
- style={{ color: appearance?.colors?.textSecondary }}
40
- />
41
- <span className="sr-only">Continue with a wallet</span>
42
- </button>
43
- );
44
- }
@@ -1,62 +0,0 @@
1
- import type { UIConfig } from "@crossmint/common-sdk-base";
2
- import { PoweredByCrossmint } from "@/components/common/PoweredByCrossmint";
3
- import { classNames } from "@/utils/classNames";
4
-
5
- export function Web3Connector({
6
- icon,
7
- appearance,
8
- isLoading,
9
- onConnectClick,
10
- headingText,
11
- buttonText,
12
- }: {
13
- icon: string;
14
- appearance?: UIConfig;
15
- isLoading: boolean;
16
- onConnectClick: () => void;
17
- headingText: string;
18
- buttonText: string;
19
- }) {
20
- return (
21
- <>
22
- <div className="flex flex-col items-center text-center mt-8 mb-4 gap-2">
23
- <img src={icon} alt={"metamask"} className="h-[74px] w-[74px]" />
24
- <h3
25
- className="text-lg font-semibold text-cm-text-primary"
26
- style={{ color: appearance?.colors?.textPrimary }}
27
- >
28
- {headingText}
29
- </h3>
30
- <p
31
- className="text-base font-normal text-cm-text-primary"
32
- style={{ color: appearance?.colors?.textPrimary }}
33
- >
34
- Don’t see your wallet? Check your other browser windows.
35
- </p>
36
- </div>
37
-
38
- <button
39
- className={classNames(
40
- "relative flex text-base p-4 bg-cm-muted-primary text-cm-text-primary items-center w-full rounded-xl justify-center",
41
- "transition-colors duration-200 ease-in-out",
42
- "hover:bg-cm-hover focus:bg-cm-hover outline-none",
43
- isLoading ? "cursor-not-allowed bg-cm-muted-primary" : ""
44
- )}
45
- style={{
46
- borderRadius: appearance?.borderRadius,
47
- borderColor: appearance?.colors?.border,
48
- backgroundColor: appearance?.colors?.buttonBackground,
49
- }}
50
- onClick={isLoading ? undefined : onConnectClick}
51
- >
52
- <span className="font-medium" style={{ color: appearance?.colors?.textPrimary }}>
53
- {buttonText}
54
- </span>
55
- </button>
56
-
57
- <div className="flex justify-center pt-4">
58
- <PoweredByCrossmint color={appearance?.colors?.textSecondary} />
59
- </div>
60
- </>
61
- );
62
- }
@@ -1,38 +0,0 @@
1
- import type { UIConfig } from "@crossmint/common-sdk-base";
2
- import type React from "react";
3
- import { classNames } from "../../../../utils/classNames";
4
-
5
- export function Web3ConnectorButton({
6
- title,
7
- appearance,
8
- img,
9
- ...props
10
- }: {
11
- title: string;
12
- appearance?: UIConfig;
13
- img: string;
14
- } & React.ButtonHTMLAttributes<HTMLButtonElement>) {
15
- return (
16
- <button
17
- className={classNames(
18
- "relative flex text-base p-4 bg-cm-muted-primary text-cm-text-primary items-center w-full rounded-xl justify-center",
19
- "transition-colors duration-200 ease-in-out",
20
- "hover:bg-cm-hover focus:bg-cm-hover outline-none"
21
- )}
22
- style={{
23
- borderRadius: appearance?.borderRadius,
24
- borderColor: appearance?.colors?.border,
25
- backgroundColor: appearance?.colors?.buttonBackground,
26
- }}
27
- {...props}
28
- >
29
- <>
30
- <img src={img} alt={title} className="h-[25px] w-[25px] absolute left-[18px]" />
31
- <span className="font-medium" style={{ color: appearance?.colors?.textPrimary }}>
32
- {title}
33
- </span>
34
- </>
35
- <span className="sr-only">Sign in with {title}</span>
36
- </button>
37
- );
38
- }
@@ -1,28 +0,0 @@
1
- import { useAuthForm } from "@/providers/auth/AuthFormProvider";
2
- import { AuthFormBackButton } from "../../AuthFormBackButton";
3
- import { DynamicEmbeddedWidget } from "@dynamic-labs/sdk-react-core";
4
-
5
- export function Web3Connectors() {
6
- const { appearance, step, setStep } = useAuthForm();
7
-
8
- if (step === "web3") {
9
- return (
10
- <>
11
- <AuthFormBackButton
12
- onClick={() => setStep("initial")}
13
- iconColor={appearance?.colors?.textPrimary}
14
- ringColor={appearance?.colors?.accent}
15
- />
16
- <div className="flex flex-col items-center">
17
- <div className="flex flex-col gap-[10px] w-full">
18
- <div className="widget-container">
19
- <DynamicEmbeddedWidget background="none" />
20
- </div>
21
- </div>
22
- </div>
23
- </>
24
- );
25
- }
26
-
27
- return null;
28
- }
@@ -1,98 +0,0 @@
1
- import type { z } from "zod";
2
- import type { CrossmintLogoColorsAndDisplayType, crossmintLogoColorsAndDisplayTypeSchema } from "./schemas";
3
- import { CROSSMINT_LOGO_DEFAULTS, CROSSMINT_LOGO_DEFAULT_COLORS, CROSSMINT_LOGO_VIEWBOXES } from "./consts";
4
- import { useId, type JSX } from "react";
5
-
6
- export type CrossmintLogoV2Props = Omit<JSX.IntrinsicElements["svg"], "viewBox"> &
7
- z.input<typeof crossmintLogoColorsAndDisplayTypeSchema>;
8
-
9
- export function CrossmintLogoV2({ colors, displayType = "icon-and-text", ...props }: CrossmintLogoV2Props) {
10
- const { icon: iconColor, text: textColor } = {
11
- icon: colors?.icon || CROSSMINT_LOGO_DEFAULTS.colors.icon,
12
- text: colors?.text || CROSSMINT_LOGO_DEFAULT_COLORS.light.text,
13
- };
14
-
15
- const colorsAndDisplayType: CrossmintLogoColorsAndDisplayType = {
16
- colors: { icon: iconColor, text: textColor },
17
- displayType,
18
- };
19
-
20
- // We must only set a default width if both width and height are not provided
21
- if (props.width == null && props.height == null) {
22
- props.width = 144;
23
- }
24
-
25
- const gradientId = useId();
26
-
27
- const Logo = (
28
- <svg viewBox={CROSSMINT_LOGO_VIEWBOXES[displayType]} {...props}>
29
- {getSvgGradientDefinition(colorsAndDisplayType, gradientId)}
30
- <g>
31
- <g>
32
- {getSvgText(colorsAndDisplayType)}
33
- {getSvgIcon(colorsAndDisplayType, gradientId)}
34
- </g>
35
- </g>
36
- </svg>
37
- );
38
-
39
- return Logo;
40
- }
41
-
42
- function getSvgGradientDefinition(props: CrossmintLogoColorsAndDisplayType, gradientId: string) {
43
- const { icon: iconColor } = props.colors;
44
- if (iconColor.type !== "gradient") {
45
- return null;
46
- }
47
- return (
48
- <defs>
49
- <linearGradient
50
- id={`logoGradient-${gradientId}`}
51
- className={`logoGradient`}
52
- x1=".1"
53
- y1=".1"
54
- x2="85.8"
55
- y2="85.8"
56
- gradientUnits="userSpaceOnUse"
57
- >
58
- <stop className="stop-0" offset="0" stopColor={iconColor.from} />
59
- <stop className="stop-1" offset="1" stopColor={iconColor.to} />
60
- </linearGradient>
61
- </defs>
62
- );
63
- }
64
-
65
- function getSvgText({ colors, displayType }: CrossmintLogoColorsAndDisplayType) {
66
- if (displayType === "icon-only") {
67
- return null;
68
- }
69
- const { text: textColor } = colors;
70
- return (
71
- <>
72
- <path
73
- fill={textColor}
74
- d="M372.7 9.5c0-3.4 2.7-6.1 6-6.1S385 6 385 9.5s-2.8 6-6.2 6-6-2.6-6-6m77.7 1.9V24h8.6v8.8h-8.6V52q-.1 5.4 5.3 5.2c1.3 0 3-.2 3.4-.3v8.2c-.6.2-2.5 1-6 1-7.7 0-12.5-4.7-12.5-12.5V33H433v-9h8.5V11.4zm-338 44.4q3 5 7.8 7.9 5 2.8 11.3 2.8 4.5 0 8.4-1.5 3.7-1.7 6.6-4.4 2.8-2.9 4-6.4l-8.9-4a10.5 10.5 0 0 1-10.1 7 11 11 0 0 1-6-1.5q-2.4-1.7-4-4.5-1.5-2.9-1.4-6.6a12 12 0 0 1 1.4-6.5q1.5-3 4-4.5a11 11 0 0 1 6-1.6q3.5 0 6.2 2 2.8 1.9 4 5l8.8-3.8q-1.2-3.9-4-6.5-2.9-2.8-6.7-4.3-3.9-1.6-8.3-1.6-6.3 0-11.3 2.8a21 21 0 0 0-7.8 7.8q-2.8 5-2.8 11.2c0 6.2 1 7.9 2.8 11.2m53-32.1h-9.4v41.9h10V42.3q0-4.8 2.7-7.4 2.5-2.7 6.9-2.7h3.6v-9H177q-4.5 0-7.6 1.9a10 10 0 0 0-3.8 4.5z"
75
- />
76
- <path
77
- d="M202.9 22.8c12.4 0 21.6 9.3 21.6 22s-9.1 22-21.6 22-21.5-9.2-21.5-22 9.1-22 21.5-22m0 35.2c6.1 0 11.6-4.5 11.6-13.2s-5.5-13-11.6-13-11.6 4.4-11.6 13S196.8 58 203 58"
78
- fillRule="evenodd"
79
- fill={textColor}
80
- />
81
- <path
82
- fill={textColor}
83
- d="m236.4 52-8.6 2.4c.5 4.6 5 12.5 17.1 12.5 10.6 0 15.7-7 15.7-13.3s-4.1-11-12-12.6l-6.3-1.3q-4-1-4.1-4.4c0-2.5 2.4-4.7 6-4.7 5.5 0 7.3 3.8 7.6 6.2l8.4-2.4c-.7-4.1-4.5-11.6-16-11.6-8.7 0-15.3 6.1-15.3 13.4 0 5.7 3.8 10.5 11.1 12l6.2 1.4q4.9 1.2 4.8 4.6c0 2.6-2 4.8-6.2 4.8-5.3 0-8-3.3-8.4-7m27.6 2.4 8.5-2.4c.4 3.7 3.2 7 8.5 7 4 0 6.2-2.2 6.2-4.7q.1-3.6-4.9-4.6l-6.1-1.4c-7.3-1.6-11.2-6.4-11.2-12.1 0-7.2 6.7-13.4 15.3-13.4 11.6 0 15.3 7.5 16 11.6l-8.4 2.4c-.3-2.4-2-6.2-7.6-6.2-3.5 0-6 2.2-6 4.7q.2 3.5 4.2 4.4l6.3 1.3c7.8 1.7 12 6.5 12 12.6s-5.2 13.3-15.8 13.3c-12 0-16.6-7.8-17-12.5m48.6-30.7h-9.5v41.9h10.1V41q0-2.7 1-4.8a8 8 0 0 1 7-4.2 8 8 0 0 1 7.2 4.2q1 2.1 1 4.8v24.6h10.1V41q0-2.7 1-4.8a8 8 0 0 1 7-4.2q2.6 0 4.4 1.2 1.8 1 2.8 3 1 2.1 1 4.8v24.6h10v-27q0-4.5-2-8.2a14 14 0 0 0-5.5-5.6q-3.5-2-8-2-5 0-8.8 2.5-2.4 1.6-4.1 4.2-1.4-2.3-3.9-4a16 16 0 0 0-9-2.7q-4.8 0-8.3 2.2-2.2 1.5-3.5 4zm71.1 41.9h-9.8V24.1h9.8zm8.8-41.6v41.6h10V41.3q0-2.8 1.1-4.8a8 8 0 0 1 7.3-4.2 8 8 0 0 1 7.4 4.2q1 2 1 4.7v24.4h10V38.9q0-4.6-2-8.2a14 14 0 0 0-5.5-5.6q-3.4-2-8.1-2c-4.7 0-5.5.7-7.8 2q-2.5 1.6-4 4v-5z"
84
- />
85
- </>
86
- );
87
- }
88
-
89
- function getSvgIcon(props: CrossmintLogoColorsAndDisplayType, gradientId: string) {
90
- const { icon: iconColor } = props.colors;
91
- return (
92
- <path
93
- d="M70 48.3A62 62 0 0 0 47.5 43c7.7-.6 22.8-2.7 29-10.4C86.6 25.2 86 .3 86 .3S62.3-2.4 52 9.4c-6.5 6.4-8.4 17.5-9 25.2-.6-7.7-2.6-18.8-9-25.2C23.7-2.4 0 .3 0 .3S-.3 15.8 4.4 26C6.8 31 11 35.1 16 37.6c7.2 3.7 16.8 5 22.4 5.4-5.6.4-15.2 1.7-22.4 5.3C11 51 6.8 55 4.4 60-.3 70.2 0 85.7 0 85.7s23.7 2.6 34-9.2c6.4-6.3 8.4-17.5 9-25.2.6 7.8 2.6 18.9 9 25.3 10.3 11.7 34 9.1 34 9.1s.3-15.6-4.5-25.7A25 25 0 0 0 70 48.3m.8 21.9c-.1 0-12.5-3.6-28.3-24.7A195 195 0 0 0 15 71.8l-.5.6.2-.8c0-.1 3.7-12.8 25.7-29C38.3 39.4 33.3 32.2 14 15l-.4-.4.6.1c.4 0 10.3 1.6 28.5 25l.6 1c2.6-1.8 10-7.1 26.7-26l.4-.4-.1.6c0 .4-1.6 10.3-24.9 28.4A193 193 0 0 0 71 69.9l.6.5z"
94
- fill={iconColor.type === "gradient" ? `url(#logoGradient-${gradientId})` : iconColor.color}
95
- fillRule="evenodd"
96
- />
97
- );
98
- }
@@ -1,28 +0,0 @@
1
- export const CROSSMINT_LOGO_DEFAULT_COLORS = {
2
- light: {
3
- icon: {
4
- type: "gradient",
5
- from: "#5edd4d",
6
- to: "#05ce6c",
7
- },
8
- text: "#222",
9
- },
10
- dark: {
11
- icon: {
12
- type: "gradient",
13
- from: "#5edd4d",
14
- to: "#05ce6c",
15
- },
16
- text: "#fff",
17
- },
18
- } as const;
19
-
20
- export const CROSSMINT_LOGO_DEFAULTS = {
21
- colors: CROSSMINT_LOGO_DEFAULT_COLORS.light,
22
- displayType: "icon-and-text",
23
- } as const;
24
-
25
- export const CROSSMINT_LOGO_VIEWBOXES = {
26
- "icon-only": "0 0 86 86",
27
- "icon-and-text": "0 0 459.2 86",
28
- } as const;