@funkit/connect 3.5.1 → 4.0.0
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.
- package/CHANGELOG.md +32 -3
- package/dist/{chunk-77C753LI.js → chunk-3F3EYDDR.js} +2 -1
- package/dist/{chunk-XWW5QOD4.js → chunk-LTOE4GIY.js} +2 -1
- package/dist/{chunk-BY224HGT.js → chunk-OMAXDH7G.js} +2 -1
- package/dist/components/AsyncImage/AsyncImage.d.ts +3 -3
- package/dist/components/AsyncImage/useAsyncImage.d.ts +1 -1
- package/dist/components/Avatar/EmojiAvatar.d.ts +1 -1
- package/dist/components/Box/Box.d.ts +8 -8
- package/dist/components/CloseButton/CloseButton.d.ts +1 -1
- package/dist/components/ConnectButton/ConnectButton.d.ts +1 -1
- package/dist/components/ConnectButton/ConnectButtonRenderer.d.ts +2 -2
- package/dist/components/ConnectButton/formatENS.d.ts +1 -1
- package/dist/components/CopyAddress/CopyAddress.d.ts +1 -1
- package/dist/components/Dialog/Dialog.d.ts +4 -4
- package/dist/components/Dropdown/BaseDropdown.d.ts +1 -1
- package/dist/components/Dropdown/ChainDropdown.d.ts +1 -1
- package/dist/components/Dropdown/TokenDropdown.d.ts +1 -1
- package/dist/components/DydxSwitchModalTab/DydxSwitchModalTab.d.ts +1 -1
- package/dist/components/ErrorBoundary/ErrorBoundary.d.ts +1 -1
- package/dist/components/FunAlert/FunAlert.d.ts +2 -2
- package/dist/components/FunAsset/FunAssetBadge.d.ts +1 -1
- package/dist/components/FunAsset/FunAssetItem.d.ts +1 -1
- package/dist/components/FunAssetAvatar/FunAssetAvatar.d.ts +1 -1
- package/dist/components/FunBadge/FunBadge.d.ts +1 -1
- package/dist/components/FunBottomBar/FunBottomBar.d.ts +1 -1
- package/dist/components/FunButton/FunBackButton.d.ts +1 -1
- package/dist/components/FunButton/FunButton.d.ts +1 -1
- package/dist/components/FunButton/FunIconButton.d.ts +1 -1
- package/dist/components/FunButton/FunLinkButton.d.ts +1 -1
- package/dist/components/FunButton/FunRedirectButton.d.ts +1 -1
- package/dist/components/FunButton/FunSignInButton.d.ts +1 -1
- package/dist/components/FunConnectOptions/ConnectDetails.d.ts +1 -1
- package/dist/components/FunConnectOptions/FunConnectResultStep.d.ts +1 -1
- package/dist/components/FunConnectOptions/FunSignInStep.d.ts +2 -2
- package/dist/components/FunConnectOptions/FunWeb3ConnectingStep.d.ts +1 -1
- package/dist/components/FunCountdown/FunCountdown.d.ts +1 -1
- package/dist/components/FunDivider/FunDivider.d.ts +1 -1
- package/dist/components/FunGuarantees/FunGuarantees.d.ts +3 -3
- package/dist/components/FunInput/FunInput.d.ts +2 -2
- package/dist/components/FunInput/FunTextAreaInput.d.ts +1 -1
- package/dist/components/FunKeyValue/FunKeyValue.d.ts +3 -3
- package/dist/components/FunMessage/FunMessage.d.ts +1 -1
- package/dist/components/FunNoResults/FunNoResults.d.ts +1 -1
- package/dist/components/FunNotification/FunCheckoutNotification.d.ts +1 -1
- package/dist/components/FunNotification/FunNotification.d.ts +2 -2
- package/dist/components/FunOptionBox/FunOptionBox.d.ts +2 -2
- package/dist/components/FunPaymentMethodItem/FunPaymentMethodItem.d.ts +1 -1
- package/dist/components/FunPayments/FunPaymentMethods.d.ts +2 -2
- package/dist/components/FunPayments/FunPaymentMoonpayType.d.ts +1 -1
- package/dist/components/FunSelect/FunClickOutside.d.ts +1 -1
- package/dist/components/FunSelect/FunSelect.d.ts +1 -1
- package/dist/components/FunSelectBrokerage/FunBrokerageItem.d.ts +2 -2
- package/dist/components/FunSelectBrokerage/FunSelectBrokerage.d.ts +4 -4
- package/dist/components/FunSkeletonLoader/FunSkeletonBlock.d.ts +1 -1
- package/dist/components/FunSkeletonLoader/FunSkeletonCircle.d.ts +1 -1
- package/dist/components/FunSocials/FunSocials.d.ts +2 -2
- package/dist/components/FunTooltip/FunTooltip.css.d.ts +3 -0
- package/dist/components/FunTooltip/FunTooltip.d.ts +7 -0
- package/dist/components/FunTransactionSummary/FunTxSummaryComponents.d.ts +2 -2
- package/dist/components/FunTransactionSummary/PaymentFeesSummary.d.ts +1 -1
- package/dist/components/FunTransactionSummary/PaymentMethodSummary.d.ts +3 -3
- package/dist/components/Icons/FunkitPaymentsIconLine.d.ts +1 -1
- package/dist/components/QRCode/QRCode.d.ts +1 -1
- package/dist/components/Text/Text.d.ts +1 -1
- package/dist/config/getDefaultConfig.d.ts +3 -3
- package/dist/consts/funkit.d.ts +3 -3
- package/dist/consts/mesh.d.ts +45 -4
- package/dist/css/atoms.d.ts +1 -1
- package/dist/css/cssObjectFromTheme.d.ts +1 -1
- package/dist/css/cssStringFromTheme.d.ts +1 -1
- package/dist/css/sprinkles.css.d.ts +10 -8
- package/dist/domains/asset.d.ts +2 -2
- package/dist/domains/checkoutFees.d.ts +3 -3
- package/dist/domains/clientMetadata.d.ts +3 -2
- package/dist/domains/paymentMethods.d.ts +9 -6
- package/dist/domains/quote.d.ts +9 -14
- package/dist/hooks/useCheckoutModalTitle.d.ts +1 -1
- package/dist/hooks/useCheckoutTransferDepositAddress.d.ts +2 -2
- package/dist/hooks/useCheckoutType.d.ts +1 -1
- package/dist/hooks/useCountdown.d.ts +2 -2
- package/dist/hooks/useEnabledTokenTransferChainTokens.d.ts +1 -1
- package/dist/hooks/useFunListeners.d.ts +1 -1
- package/dist/hooks/useIsCheckoutRisky.d.ts +1 -1
- package/dist/hooks/useMainnetEnsAvatar.d.ts +1 -1
- package/dist/hooks/useMainnetEnsName.d.ts +1 -1
- package/dist/hooks/useMesh.d.ts +4 -8
- package/dist/hooks/usePaymentMethodIcon.d.ts +2 -2
- package/dist/hooks/useUsableWalletAssetsForCheckout.d.ts +1 -4
- package/dist/hooks/useWalletAssets.d.ts +1 -1
- package/dist/index.css +484 -463
- package/dist/index.d.ts +4 -1
- package/dist/index.js +9121 -9271
- package/dist/modals/AccountModal/AccountModal.d.ts +1 -1
- package/dist/modals/ChainModal/Chain.d.ts +2 -2
- package/dist/modals/CheckoutModal/{CheckoutComplete.d.ts → CheckoutComplete/CheckoutComplete.d.ts} +2 -2
- package/dist/modals/CheckoutModal/{useRedirectToCheckoutHistory.d.ts → CheckoutComplete/useRedirectToCheckoutHistory.d.ts} +2 -2
- package/dist/modals/CheckoutModal/{ConfirmationStep.d.ts → ConfirmationStep/ConfirmationStep.d.ts} +3 -3
- package/dist/modals/CheckoutModal/{useAccountBalancePostCheckout.d.ts → ConfirmationStep/useAccountBalanceTransfer.d.ts} +1 -1
- package/dist/modals/CheckoutModal/ConfirmationStep/useCheckoutConfirmation.d.ts +2 -2
- package/dist/modals/CheckoutModal/ConfirmationStep/usePostCheckout.d.ts +3 -3
- package/dist/modals/CheckoutModal/ConfirmationStep/useQuoteRefresh.d.ts +1 -1
- package/dist/modals/CheckoutModal/ConnectExchange.d.ts +4 -4
- package/dist/modals/CheckoutModal/InputAmount/AvailableBalance.d.ts +1 -1
- package/dist/modals/CheckoutModal/{InputAmount.d.ts → InputAmount/InputAmount.d.ts} +3 -3
- package/dist/modals/CheckoutModal/InputAmount/InputAmountLayout.d.ts +3 -3
- package/dist/modals/CheckoutModal/InputAmount/InputAmountLoaded.d.ts +5 -5
- package/dist/modals/CheckoutModal/InputAmount/state.d.ts +4 -4
- package/dist/modals/CheckoutModal/InputAmount/useAmountInput.d.ts +1 -1
- package/dist/modals/CheckoutModal/{useAssetPrice.d.ts → InputAmount/useAssetPrice.d.ts} +1 -1
- package/dist/modals/CheckoutModal/{useAvailableBalanceForCheckout.d.ts → InputAmount/useAvailableBalanceForCheckout.d.ts} +3 -3
- package/dist/modals/CheckoutModal/InputAmount/utils.d.ts +0 -9
- package/dist/modals/CheckoutModal/LoadingAccount.d.ts +2 -2
- package/dist/modals/CheckoutModal/MeshVerification.d.ts +4 -4
- package/dist/modals/CheckoutModal/MoonpaySetup.d.ts +2 -2
- package/dist/modals/CheckoutModal/SelectAsset.d.ts +2 -2
- package/dist/modals/CheckoutModal/SelectBrokerage.d.ts +4 -4
- package/dist/modals/CheckoutModal/{SourceChange.d.ts → SourceChange/SourceChange.d.ts} +2 -2
- package/dist/modals/CheckoutModal/TransferToken.d.ts +2 -2
- package/dist/modals/CheckoutModal/stepTransition.d.ts +14 -14
- package/dist/modals/CheckoutModal/useCheckoutQuote.d.ts +2 -2
- package/dist/modals/CheckoutModal/useSourceAssetConfirm.d.ts +3 -3
- package/dist/modals/CheckoutModal/useWalletAssetHoldings.d.ts +1 -1
- package/dist/modals/FunCheckoutHistoryModal/FunCheckoutHistoryContent.d.ts +1 -1
- package/dist/modals/FunCheckoutHistoryModal/FunCheckoutHistoryDetail.d.ts +1 -1
- package/dist/modals/FunCheckoutHistoryModal/FunCheckoutHistoryHelp.d.ts +1 -1
- package/dist/modals/FunCheckoutHistoryModal/FunCheckoutHistoryTransaction.d.ts +1 -1
- package/dist/modals/FunCheckoutHistoryModal/FunCheckoutStatus.d.ts +1 -1
- package/dist/modals/ProfileDetails/ActivityTraversalContext.d.ts +2 -2
- package/dist/modals/ProfileDetails/FunProfileViews/ActivityHistory/ActivityHistory.d.ts +1 -1
- package/dist/modals/ProfileDetails/FunProfileViews/Home/HomeCheckoutDisplayRow.d.ts +1 -1
- package/dist/modals/ProfileDetails/FunProfileViews/Home/index.d.ts +1 -1
- package/dist/providers/AppContext.d.ts +1 -1
- package/dist/providers/AuthenticationContext.d.ts +1 -1
- package/dist/providers/FunkitCheckoutContext.d.ts +24 -34
- package/dist/providers/FunkitConfigContext.d.ts +3 -2
- package/dist/providers/FunkitConnectChainContext.d.ts +1 -1
- package/dist/providers/FunkitFlagsProvider.d.ts +3 -3
- package/dist/providers/FunkitHistoryContext.d.ts +5 -5
- package/dist/providers/FunkitMeshProvider.d.ts +9 -9
- package/dist/providers/FunkitMoonpayProvider.d.ts +2 -2
- package/dist/providers/FunkitProvider.d.ts +9 -13
- package/dist/providers/FunkitThemeProvider.d.ts +27 -156
- package/dist/providers/FunkitWeb2Provider.d.ts +3 -3
- package/dist/providers/GeneralWalletProvider.d.ts +3 -3
- package/dist/providers/I18nContext.d.ts +2 -2
- package/dist/providers/ModalContext.d.ts +2 -2
- package/dist/providers/ModalSizeContext.d.ts +1 -1
- package/dist/providers/ShowBalanceContext.d.ts +2 -2
- package/dist/providers/provideFunkitConnectChains.d.ts +1 -1
- package/dist/themes/baseTheme.d.ts +3 -1
- package/dist/themes/baseTheme.js +5 -3
- package/dist/themes/darkTheme.d.ts +3 -144
- package/dist/themes/darkTheme.js +2 -2
- package/dist/themes/lightTheme.d.ts +3 -144
- package/dist/themes/lightTheme.js +2 -2
- package/dist/types/utils.d.ts +1 -1
- package/dist/utils/address.d.ts +1 -3
- package/dist/utils/assets.d.ts +5 -4
- package/dist/utils/checkout.d.ts +10 -6
- package/dist/utils/flags/config.d.ts +7 -1
- package/dist/utils/funkitProvider.d.ts +1 -1
- package/dist/utils/isMainnetUsdt.d.ts +1 -1
- package/dist/utils/mesh.d.ts +8 -8
- package/dist/utils/payment.d.ts +1 -1
- package/dist/utils/purifyCheckoutHistoryItem.d.ts +1 -1
- package/dist/wallets/Wallet.d.ts +4 -4
- package/dist/wallets/computeWalletConnectMetaData.d.ts +1 -1
- package/dist/wallets/downloadUrls.d.ts +1 -1
- package/dist/wallets/getDefaultWallets.d.ts +1 -1
- package/dist/wallets/getInjectedConnector.d.ts +2 -2
- package/dist/wallets/groupedWallets.d.ts +1 -1
- package/dist/wallets/useWalletConnectors.d.ts +3 -3
- package/dist/wallets/walletConnectors/argentWallet/argentWallet.d.ts +1 -1
- package/dist/wallets/walletConnectors/argentWallet/argentWallet.js +1 -2
- package/dist/wallets/walletConnectors/bifrostWallet/bifrostWallet.d.ts +1 -2
- package/dist/wallets/walletConnectors/bifrostWallet/bifrostWallet.js +1 -2
- package/dist/wallets/walletConnectors/bitgetWallet/bitgetWallet.d.ts +1 -1
- package/dist/wallets/walletConnectors/bitgetWallet/bitgetWallet.js +1 -2
- package/dist/wallets/walletConnectors/bitskiWallet/bitskiWallet.d.ts +1 -1
- package/dist/wallets/walletConnectors/bitverseWallet/bitverseWallet.d.ts +1 -1
- package/dist/wallets/walletConnectors/bloomWallet/bloomWallet.d.ts +1 -1
- package/dist/wallets/walletConnectors/bloomWallet/bloomWallet.js +1 -2
- package/dist/wallets/walletConnectors/braveWallet/braveWallet.d.ts +1 -1
- package/dist/wallets/walletConnectors/bybitWallet/bybitWallet.d.ts +1 -1
- package/dist/wallets/walletConnectors/{chunk-MATWQVQM.js → chunk-2UCNRD7H.js} +1 -4
- package/dist/wallets/walletConnectors/{chunk-E2VPHAWU.js → chunk-3S2U24BJ.js} +1 -3
- package/dist/wallets/walletConnectors/{chunk-5HXH52SO.js → chunk-4WEHDI4Y.js} +1 -3
- package/dist/wallets/walletConnectors/{chunk-24OBTKSN.js → chunk-7CUY5G6R.js} +1 -3
- package/dist/wallets/walletConnectors/{chunk-PFRM52PK.js → chunk-A5APNTGL.js} +1 -3
- package/dist/wallets/walletConnectors/{chunk-UJVBNAKM.js → chunk-ADIXAKUL.js} +1 -3
- package/dist/wallets/walletConnectors/{chunk-KN5BJYWQ.js → chunk-AXWP3GD4.js} +1 -3
- package/dist/wallets/walletConnectors/{chunk-GDXRZB7A.js → chunk-BRBKM4PW.js} +1 -3
- package/dist/wallets/walletConnectors/{chunk-FGLYJDAL.js → chunk-G73C6P5P.js} +1 -4
- package/dist/wallets/walletConnectors/{chunk-CTBFNNME.js → chunk-GSOYKKIS.js} +1 -3
- package/dist/wallets/walletConnectors/{chunk-BDI5G6GA.js → chunk-H4IRCEZN.js} +1 -3
- package/dist/wallets/walletConnectors/{chunk-EHDKQOCG.js → chunk-IDKVN5CF.js} +1 -3
- package/dist/wallets/walletConnectors/{chunk-UQAC373E.js → chunk-ISIBREBO.js} +1 -3
- package/dist/wallets/walletConnectors/{chunk-IKPUD375.js → chunk-LN7OD5EC.js} +1 -3
- package/dist/wallets/walletConnectors/{chunk-CV5FY7VL.js → chunk-S27IADFU.js} +1 -3
- package/dist/wallets/walletConnectors/{chunk-7GGVFQBD.js → chunk-SLOIIJGP.js} +1 -5
- package/dist/wallets/walletConnectors/{chunk-LVBXKMWP.js → chunk-W6N74MS3.js} +1 -3
- package/dist/wallets/walletConnectors/{chunk-HRDRUWYF.js → chunk-WSQ2YJO2.js} +1 -3
- package/dist/wallets/walletConnectors/clvWallet/clvWallet.d.ts +1 -1
- package/dist/wallets/walletConnectors/coin98Wallet/coin98Wallet.d.ts +1 -1
- package/dist/wallets/walletConnectors/coinbaseWallet/coinbaseWallet.d.ts +2 -2
- package/dist/wallets/walletConnectors/coinbaseWallet/coinbaseWallet.js +1 -2
- package/dist/wallets/walletConnectors/coreWallet/coreWallet.d.ts +1 -1
- package/dist/wallets/walletConnectors/dawnWallet/dawnWallet.d.ts +1 -1
- package/dist/wallets/walletConnectors/dawnWallet/dawnWallet.js +1 -2
- package/dist/wallets/walletConnectors/desigWallet/desigWallet.d.ts +1 -1
- package/dist/wallets/walletConnectors/foxWallet/foxWallet.d.ts +1 -1
- package/dist/wallets/walletConnectors/frameWallet/frameWallet.d.ts +1 -1
- package/dist/wallets/walletConnectors/frontierWallet/frontierWallet.d.ts +1 -2
- package/dist/wallets/walletConnectors/frontierWallet/frontierWallet.js +1 -2
- package/dist/wallets/walletConnectors/funkitConnectWallet/funkitConnectWallet.d.ts +1 -1
- package/dist/wallets/walletConnectors/gateWallet/gateWallet.d.ts +1 -1
- package/dist/wallets/walletConnectors/gateWallet/gateWallet.js +1 -2
- package/dist/wallets/walletConnectors/imTokenWallet/imTokenWallet.d.ts +1 -1
- package/dist/wallets/walletConnectors/index.d.ts +2 -2
- package/dist/wallets/walletConnectors/index.js +55 -56
- package/dist/wallets/walletConnectors/injectedWallet/injectedWallet.d.ts +1 -1
- package/dist/wallets/walletConnectors/kresusWallet/kresusWallet.d.ts +1 -1
- package/dist/wallets/walletConnectors/ledgerWallet/ledgerWallet.d.ts +1 -1
- package/dist/wallets/walletConnectors/ledgerWallet/ledgerWallet.js +1 -2
- package/dist/wallets/walletConnectors/metaMaskWallet/metaMaskWallet.d.ts +1 -1
- package/dist/wallets/walletConnectors/metaMaskWallet/metaMaskWallet.js +1 -2
- package/dist/wallets/walletConnectors/mewWallet/mewWallet.d.ts +1 -1
- package/dist/wallets/walletConnectors/oktoWallet/oktoWallet.d.ts +1 -1
- package/dist/wallets/walletConnectors/oktoWallet/oktoWallet.js +1 -2
- package/dist/wallets/walletConnectors/okxWallet/okxWallet.d.ts +1 -1
- package/dist/wallets/walletConnectors/okxWallet/okxWallet.js +1 -2
- package/dist/wallets/walletConnectors/omniWallet/omniWallet.d.ts +1 -1
- package/dist/wallets/walletConnectors/omniWallet/omniWallet.js +1 -2
- package/dist/wallets/walletConnectors/oneInchWallet/oneInchWallet.d.ts +1 -1
- package/dist/wallets/walletConnectors/oneKeyWallet/oneKeyWallet.d.ts +1 -1
- package/dist/wallets/walletConnectors/phantomWallet/phantomWallet.d.ts +1 -1
- package/dist/wallets/walletConnectors/rabbyWallet/rabbyWallet.d.ts +1 -1
- package/dist/wallets/walletConnectors/rainbowWallet/rainbowWallet.d.ts +1 -1
- package/dist/wallets/walletConnectors/rainbowWallet/rainbowWallet.js +1 -2
- package/dist/wallets/walletConnectors/ramperWallet/ramperWallet.d.ts +1 -1
- package/dist/wallets/walletConnectors/roninWallet/roninWallet.d.ts +1 -1
- package/dist/wallets/walletConnectors/safeWallet/safeWallet.d.ts +1 -1
- package/dist/wallets/walletConnectors/safeheronWallet/safeheronWallet.d.ts +1 -1
- package/dist/wallets/walletConnectors/safepalWallet/safepalWallet.d.ts +1 -1
- package/dist/wallets/walletConnectors/subWallet/subWallet.d.ts +1 -1
- package/dist/wallets/walletConnectors/tahoWallet/tahoWallet.d.ts +1 -1
- package/dist/wallets/walletConnectors/talismanWallet/talismanWallet.d.ts +1 -1
- package/dist/wallets/walletConnectors/tokenPocketWallet/tokenPocketWallet.js +1 -2
- package/dist/wallets/walletConnectors/tokenaryWallet/tokenaryWallet.d.ts +1 -1
- package/dist/wallets/walletConnectors/tokenaryWallet/tokenaryWallet.js +1 -1
- package/dist/wallets/walletConnectors/trustWallet/trustWallet.d.ts +1 -1
- package/dist/wallets/walletConnectors/trustWallet/trustWallet.js +1 -2
- package/dist/wallets/walletConnectors/uniswapWallet/uniswapWallet.d.ts +2 -2
- package/dist/wallets/walletConnectors/walletConnectWallet/walletConnectWallet.d.ts +1 -1
- package/dist/wallets/walletConnectors/xdefiWallet/xdefiWallet.d.ts +1 -1
- package/dist/wallets/walletConnectors/zealWallet/zealWallet.d.ts +1 -1
- package/dist/wallets/walletConnectors/zerionWallet/zerionWallet.d.ts +1 -2
- package/dist/wallets/walletConnectors/zerionWallet/zerionWallet.js +1 -2
- package/package.json +17 -17
- package/dist/assets-36PRD6ZI.js +0 -7
- package/dist/components/FunPayments/FunPaymentTransferType.d.ts +0 -5
- package/dist/components/Icons/Assets.d.ts +0 -3
- package/dist/components/Icons/BridgeIcon.d.ts +0 -2
- package/dist/components/Icons/Cancel.d.ts +0 -2
- package/dist/components/Icons/ClockIcon.d.ts +0 -4
- package/dist/components/Icons/CoinIcon.d.ts +0 -4
- package/dist/components/Icons/Connect.d.ts +0 -3
- package/dist/components/Icons/Copy.d.ts +0 -2
- package/dist/components/Icons/Create.d.ts +0 -3
- package/dist/components/Icons/CreditCardDots.d.ts +0 -2
- package/dist/components/Icons/Disconnect.d.ts +0 -2
- package/dist/components/Icons/Dropdown.d.ts +0 -2
- package/dist/components/Icons/EditIcon.d.ts +0 -4
- package/dist/components/Icons/EthereumIcon.d.ts +0 -4
- package/dist/components/Icons/Explore.d.ts +0 -2
- package/dist/components/Icons/ExternalLink.d.ts +0 -2
- package/dist/components/Icons/FunArrows.d.ts +0 -3
- package/dist/components/Icons/LightningIcon.d.ts +0 -4
- package/dist/components/Icons/LinkIcon.d.ts +0 -2
- package/dist/components/Icons/Login.d.ts +0 -3
- package/dist/components/Icons/MmFox.d.ts +0 -2
- package/dist/components/Icons/MoonPayLogoIcon.d.ts +0 -2
- package/dist/components/Icons/PasskeyIcon.d.ts +0 -2
- package/dist/components/Icons/PhoneIcon.d.ts +0 -2
- package/dist/components/Icons/PlusIcon.d.ts +0 -2
- package/dist/components/Icons/ProfileIcon.d.ts +0 -2
- package/dist/components/Icons/ReceiptIcon.d.ts +0 -4
- package/dist/components/Icons/Refresh.d.ts +0 -3
- package/dist/components/Icons/Scan.d.ts +0 -3
- package/dist/components/Icons/StEthIcon.d.ts +0 -2
- package/dist/components/Icons/SuccessNoBorder.d.ts +0 -2
- package/dist/components/Icons/SwapIcon.d.ts +0 -2
- package/dist/components/Icons/SwitchAccount.d.ts +0 -2
- package/dist/components/Icons/TransferIcon.d.ts +0 -2
- package/dist/components/Icons/USDCIcon.d.ts +0 -2
- package/dist/components/Icons/WhiteDotIcon.d.ts +0 -2
- package/dist/login-XDVWJKUQ.js +0 -7
- package/dist/utils/browsers.d.ts +0 -13
- package/dist/utils/colors.d.ts +0 -3
- package/dist/utils/debounce.d.ts +0 -1
- package/dist/utils/deepMerge.d.ts +0 -5
- package/dist/utils/exhaustiveCheck.d.ts +0 -1
- package/dist/utils/formatFees.d.ts +0 -12
- package/dist/utils/formatNumber.d.ts +0 -57
- package/dist/utils/formatTimestamp.d.ts +0 -28
- package/dist/utils/groupBy.d.ts +0 -1
- package/dist/utils/indexBy.d.ts +0 -1
- package/dist/utils/isMobile.d.ts +0 -5
- package/dist/utils/isNotNullish.d.ts +0 -1
- package/dist/utils/locale.d.ts +0 -1
- package/dist/utils/mobile.d.ts +0 -1
- package/dist/utils/noop.d.ts +0 -1
- package/dist/utils/omitUndefinedValues.d.ts +0 -1
- package/dist/wallets/walletConnectors/chunk-RETKWSKD.js +0 -24
- /package/dist/components/Icons/{Coinbase.d.ts → CoinbaseIcon.d.ts} +0 -0
- /package/dist/components/Icons/{DisconnectSq.d.ts → DisconnectSqIcon.d.ts} +0 -0
- /package/dist/components/Icons/{Info.d.ts → FunInfoIcon.d.ts} +0 -0
- /package/dist/components/Icons/{Gas.d.ts → GasIcon.d.ts} +0 -0
- /package/dist/components/Icons/{GateIo.d.ts → GateIoIcon.d.ts} +0 -0
- /package/dist/components/Icons/{Spinner.d.ts → SpinnerIcon.d.ts} +0 -0
- /package/dist/components/Icons/{TwoFactor.d.ts → TwoFactorIcon.d.ts} +0 -0
- /package/dist/modals/CheckoutModal/{CheckoutPrimaryInfo.d.ts → ConfirmationStep/CheckoutPrimaryInfo.d.ts} +0 -0
- /package/dist/modals/CheckoutModal/{useUpdateSourceAssetForCard.d.ts → SourceChange/useUpdateSourceAssetForCard.d.ts} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Wallet } from '../../Wallet';
|
|
1
|
+
import type { Wallet } from '../../Wallet';
|
|
2
2
|
export declare const tokenaryWallet: () => Wallet;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { DefaultWalletOptions, Wallet } from '../../Wallet';
|
|
1
|
+
import type { DefaultWalletOptions, Wallet } from '../../Wallet';
|
|
2
2
|
export type TrustWalletOptions = DefaultWalletOptions;
|
|
3
3
|
export declare const trustWallet: ({ projectId, walletConnectParameters, }: TrustWalletOptions) => Wallet;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Wallet } from '../../Wallet';
|
|
2
|
-
import { DefaultWalletOptions } from './../../Wallet';
|
|
1
|
+
import type { Wallet } from '../../Wallet';
|
|
2
|
+
import type { DefaultWalletOptions } from './../../Wallet';
|
|
3
3
|
export type UniswapWalletOptions = DefaultWalletOptions;
|
|
4
4
|
export declare const uniswapWallet: ({ projectId, walletConnectParameters, }: UniswapWalletOptions) => Wallet;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FunkitConnectWalletConnectParameters, Wallet } from '../../Wallet';
|
|
1
|
+
import type { FunkitConnectWalletConnectParameters, Wallet } from '../../Wallet';
|
|
2
2
|
export interface WalletConnectWalletOptions {
|
|
3
3
|
projectId: string;
|
|
4
4
|
options?: FunkitConnectWalletConnectParameters;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Wallet } from '../../Wallet';
|
|
1
|
+
import type { Wallet } from '../../Wallet';
|
|
2
2
|
export declare const xdefiWallet: () => Wallet;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Wallet } from '../../Wallet';
|
|
1
|
+
import type { Wallet } from '../../Wallet';
|
|
2
2
|
export declare const zealWallet: () => Wallet;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Wallet } from '../../Wallet';
|
|
2
|
-
import { DefaultWalletOptions } from './../../Wallet';
|
|
1
|
+
import type { DefaultWalletOptions, Wallet } from '../../Wallet';
|
|
3
2
|
export type ZerionWalletOptions = DefaultWalletOptions;
|
|
4
3
|
export declare const zerionWallet: ({ projectId, walletConnectParameters, }: ZerionWalletOptions) => Wallet;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@funkit/connect",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0",
|
|
4
4
|
"description": "Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -45,15 +45,15 @@
|
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@aws-sdk/client-s3": "^3.600.0",
|
|
48
|
-
"@chromatic-com/storybook": "^
|
|
49
|
-
"@
|
|
50
|
-
"@storybook/addon-essentials": "^8.
|
|
51
|
-
"@storybook/addon-interactions": "^8.
|
|
52
|
-
"@storybook/addon-links": "^8.
|
|
53
|
-
"@storybook/blocks": "^8.
|
|
54
|
-
"@storybook/react": "^8.
|
|
55
|
-
"@storybook/react-vite": "^8.
|
|
56
|
-
"@storybook/test": "^8.
|
|
48
|
+
"@chromatic-com/storybook": "^3.2.2",
|
|
49
|
+
"@meshconnect/node-api": "2.0.9",
|
|
50
|
+
"@storybook/addon-essentials": "^8.4.4",
|
|
51
|
+
"@storybook/addon-interactions": "^8.4.4",
|
|
52
|
+
"@storybook/addon-links": "^8.4.4",
|
|
53
|
+
"@storybook/blocks": "^8.4.4",
|
|
54
|
+
"@storybook/react": "^8.4.4",
|
|
55
|
+
"@storybook/react-vite": "^8.4.4",
|
|
56
|
+
"@storybook/test": "^8.4.4",
|
|
57
57
|
"@testing-library/jest-dom": "^6.2.0",
|
|
58
58
|
"@testing-library/react": "^16.0.1",
|
|
59
59
|
"@testing-library/user-event": "^14.5.2",
|
|
@@ -64,13 +64,12 @@
|
|
|
64
64
|
"@vanilla-extract/vite-plugin": "^4.0.13",
|
|
65
65
|
"@vitejs/plugin-react": "^4.3.1",
|
|
66
66
|
"autoprefixer": "^10.4.16",
|
|
67
|
-
"eslint": "^8.57.0",
|
|
68
67
|
"jsdom": "^23.0.1",
|
|
69
68
|
"nock": "^13.4.0",
|
|
70
69
|
"postcss": "^8.4.32",
|
|
71
70
|
"prop-types": "^15.8.1",
|
|
72
71
|
"react": "^18.3.0",
|
|
73
|
-
"storybook": "^8.
|
|
72
|
+
"storybook": "^8.4.4",
|
|
74
73
|
"tsx": "^4.15.7",
|
|
75
74
|
"vitest": "^2.0.5"
|
|
76
75
|
},
|
|
@@ -91,9 +90,10 @@
|
|
|
91
90
|
"react-virtuoso": "4.10.1",
|
|
92
91
|
"ua-parser-js": "^1.0.37",
|
|
93
92
|
"uuid": "^9.0.1",
|
|
94
|
-
"@funkit/
|
|
95
|
-
"@funkit/
|
|
96
|
-
"@funkit/
|
|
93
|
+
"@funkit/utils": "1.0.0",
|
|
94
|
+
"@funkit/api-base": "1.3.4",
|
|
95
|
+
"@funkit/core": "2.2.6",
|
|
96
|
+
"@funkit/wagmi-tools": "3.0.17"
|
|
97
97
|
},
|
|
98
98
|
"repository": {
|
|
99
99
|
"type": "git",
|
|
@@ -110,8 +110,8 @@
|
|
|
110
110
|
"typecheck": "pnpm tsc --project tsconfig.test.json --noEmit",
|
|
111
111
|
"typegen": "tsc --emitDeclarationOnly || true",
|
|
112
112
|
"typegen:watch": "tsc --emitDeclarationOnly --watch",
|
|
113
|
-
"lint": "
|
|
114
|
-
"lint:fix": "
|
|
113
|
+
"lint": "biome check",
|
|
114
|
+
"lint:fix": "biome check --fix",
|
|
115
115
|
"storybook": "storybook dev -p 6006",
|
|
116
116
|
"build-storybook": "storybook build"
|
|
117
117
|
}
|
package/dist/assets-36PRD6ZI.js
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
|
|
3
|
-
// src/components/Icons/assets.svg
|
|
4
|
-
var assets_default = 'data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 48 48"><path fill="url(%23a)" d="M1.09 5.46C0 7.6 0 10.4 0 16v16c0 5.6 0 8.4 1.09 10.54a10 10 0 0 0 4.37 4.37C7.6 48 10.4 48 16 48h16c1.752 0 3.23 0 4.5-.033 0-1.362 0-2.044.066-2.616a10 10 0 0 1 8.785-8.785c.572-.066 1.254-.066 2.616-.066C48 35.23 48 33.752 48 32V16c0-5.6 0-8.4-1.09-10.54a10 10 0 0 0-4.37-4.37C40.4 0 37.6 0 32 0H16C10.4 0 7.6 0 5.46 1.09a10 10 0 0 0-4.37 4.37"/><path fill="url(%23b)" d="M1.09 5.46C0 7.6 0 10.4 0 16v16c0 5.6 0 8.4 1.09 10.54a10 10 0 0 0 4.37 4.37C7.6 48 10.4 48 16 48h16c1.752 0 3.23 0 4.5-.033 0-1.362 0-2.044.066-2.616a10 10 0 0 1 8.785-8.785c.572-.066 1.254-.066 2.616-.066C48 35.23 48 33.752 48 32V16c0-5.6 0-8.4-1.09-10.54a10 10 0 0 0-4.37-4.37C40.4 0 37.6 0 32 0H16C10.4 0 7.6 0 5.46 1.09a10 10 0 0 0-4.37 4.37"/><path fill="%23000" fill-opacity=".04" fill-rule="evenodd" d="M35.5 35.5h11.486C47 34.475 47 33.32 47 32V16c0-2.817 0-4.87-.133-6.487-.131-1.605-.387-2.694-.848-3.599a9 9 0 0 0-3.933-3.933c-.905-.461-1.994-.717-3.6-.848C36.87 1 34.816 1 32 1H16c-2.817 0-4.87 0-6.487.133-1.605.131-2.694.387-3.599.848a9 9 0 0 0-3.933 3.933c-.461.905-.717 1.994-.848 3.6C1 11.13 1 13.183 1 16v16c0 2.817 0 4.87.133 6.486.131 1.606.387 2.695.848 3.6a9 9 0 0 0 3.933 3.933c.905.461 1.994.717 3.6.848C11.13 47 13.183 47 16 47h16c1.32 0 2.475 0 3.5-.014zm1 12.467C35.23 48 33.752 48 32 48H16c-5.6 0-8.4 0-10.54-1.09a10 10 0 0 1-4.37-4.37C0 40.4 0 37.6 0 32V16c0-5.6 0-8.4 1.09-10.54a10 10 0 0 1 4.37-4.37C7.6 0 10.4 0 16 0h16c5.6 0 8.4 0 10.54 1.09a10 10 0 0 1 4.37 4.37C48 7.6 48 10.4 48 16v16c0 1.752 0 3.23-.033 4.5H36.5z" clip-rule="evenodd"/><path fill="%23000" fill-opacity=".8" d="M3 14.2c0-3.92 0-5.88.763-7.378a7 7 0 0 1 3.06-3.059C8.318 3 10.28 3 14.2 3h19.6c3.92 0 5.88 0 7.378.763a7 7 0 0 1 3.059 3.06C45 8.318 45 10.28 45 14.2v19.6c0 3.92 0 5.88-.763 7.378a7 7 0 0 1-3.06 3.059C39.682 45 37.72 45 33.8 45H14.2c-3.92 0-5.88 0-7.378-.763a7 7 0 0 1-3.059-3.06C3 39.682 3 37.72 3 33.8z"/><path fill="%23000" fill-rule="evenodd" d="M33.8 3.5H14.2c-1.968 0-3.415 0-4.557.094-1.136.093-1.927.275-2.594.614A6.5 6.5 0 0 0 4.21 7.05c-.34.667-.522 1.458-.615 2.594C3.5 10.785 3.5 12.232 3.5 14.2v19.6c0 1.968 0 3.415.094 4.557.093 1.136.275 1.928.614 2.594a6.5 6.5 0 0 0 2.841 2.84c.667.34 1.458.522 2.594.615 1.142.094 2.589.094 4.557.094h19.6c1.968 0 3.415 0 4.557-.094 1.136-.093 1.928-.275 2.594-.614a6.5 6.5 0 0 0 2.84-2.841c.34-.666.522-1.458.615-2.594.094-1.142.094-2.589.094-4.557V14.2c0-1.968 0-3.415-.094-4.557-.093-1.136-.275-1.927-.614-2.594a6.5 6.5 0 0 0-2.841-2.84c-.666-.34-1.458-.522-2.594-.615C37.215 3.5 35.768 3.5 33.8 3.5M3.763 6.822C3 8.32 3 10.28 3 14.2v19.6c0 3.92 0 5.88.763 7.378a7 7 0 0 0 3.06 3.059C8.318 45 10.28 45 14.2 45h19.6c3.92 0 5.88 0 7.378-.763a7 7 0 0 0 3.059-3.06C45 39.682 45 37.72 45 33.8V14.2c0-3.92 0-5.88-.763-7.378a7 7 0 0 0-3.06-3.059C39.682 3 37.72 3 33.8 3H14.2c-3.92 0-5.88 0-7.378.763a7 7 0 0 0-3.059 3.06Z" clip-rule="evenodd"/><path fill="%23DFD7D5" d="M25 13c0-2.8 0-4.2.545-5.27a5 5 0 0 1 2.185-2.185C28.8 5 30.2 5 33 5h2c2.8 0 4.2 0 5.27.545a5 5 0 0 1 2.185 2.185C43 8.8 43 10.2 43 13v2c0 2.8 0 4.2-.545 5.27a5 5 0 0 1-2.185 2.185C39.2 23 37.8 23 35 23h-2c-2.8 0-4.2 0-5.27-.545a5 5 0 0 1-2.185-2.185C25 19.2 25 17.8 25 15z"/><path fill="%23E1D7D5" d="M38 5h-8a5 5 0 0 0-5 5v8a5 5 0 0 0 5 5h8a5 5 0 0 0 5-5v-8a5 5 0 0 0-5-5"/><path fill="%23D22209" d="M37.938 16.813h-7.876v.562h7.875v-.563Zm0 .562h-7.876v.563h7.875v-.563Z"/><path fill="%23D22209" d="M37.938 17.938h-7.876v.562h7.875v-.563Zm0 .562h-7.876v.563h7.875V18.5Zm-6.75.563h-1.125v.562h1.125zm6.75 0H31.75v.562h6.188zm-6.75.562h-1.125v.563h1.125zm6.75 0H31.75v.563h6.188zm-6.75.563h-1.125v.562h1.125zm6.75 0H31.75v.562h6.188zm-6.75.562h-1.125v.563h1.125zm6.75 0H31.75v.563h6.188zm-6.75.563h-1.125v.562h1.125zm6.75 0H31.75v.562h6.188zm-6.75.562h-1.125v.563h1.125zm6.75 0H31.75v.563h6.188zm-6.75.563h-1.125V23h1.125zm6.75 0H31.75V23h6.188z"/><path fill="%23fff" d="M32.875 17.938h-.563v.562h.563zm2.25 0H34v.562h1.125zm1.125 0h-.563v.562h.563zm-3.375.562h-.563v.563h.563zm2.25 0H34v.563h1.125zm1.125 0h-.563v.563h.563zm-2.812.563h-1.126v.562h1.126zm1.687 0H34v.562h1.125zm1.688 0h-1.126v.562h1.126z"/><path fill="%23C16710" d="M33.438 8.375h-.563v.563h.563zm1.687 0H34v.563h1.125z"/><path fill="%23D4A015" d="M31.75 8.938h-1.688V9.5h1.688v-.563Z"/><path fill="%23C16710" d="M35.688 8.938h-3.376V9.5h3.376v-.563Z"/><path fill="%23D4A015" d="M37.938 8.938H36.25V9.5h1.688v-.563Z"/><path fill="%23C16710" d="M30.063 9.5h-1.125v.563h1.125z"/><path fill="%23D4A015" d="M31.75 9.5h-1.688v.563h1.688z"/><path fill="%23C16710" d="M35.125 9.5H31.75v.563h3.375z"/><path fill="%23D4A015" d="M37.938 9.5H36.25v.563h1.688z"/><path fill="%23C16710" d="M30.063 10.063h-1.125v.562h1.125v-.563Z"/><path fill="%23D4A015" d="M34 10.063h-3.938v.562H34v-.563Z"/><path fill="%23C16710" d="M34.563 10.063H34v.562h.563v-.563Z"/><path fill="%23D4A015" d="M37.938 10.063h-3.376v.562h3.376v-.563Z"/><path fill="%23C16710" d="M30.063 10.625h-1.688v.563h1.688z"/><path fill="%23D4A015" d="M33.438 10.625h-3.376v.563h3.375v-.563Z"/><path fill="%23FFE939" d="M35.125 10.625h-1.688v.563h1.688z"/><path fill="%23D4A015" d="M37.938 10.625h-2.813v.563h2.813z"/><path fill="%23C16710" d="M30.063 11.188h-1.125v.562h1.125v-.563Z"/><path fill="%23D4A015" d="M34 11.188h-3.938v.562H34v-.563Z"/><path fill="%23FFE939" d="M34.563 11.188H34v.562h.563v-.563Z"/><path fill="%23D4A015" d="M37.938 11.188h-3.376v.562h3.376v-.563Z"/><path fill="%23C16710" d="M30.063 11.75h-1.125v.563h1.125z"/><path fill="%23D4A015" d="M34 11.75h-3.938v.563H34z"/><path fill="%23FFE939" d="M34.563 11.75H34v.563h.563z"/><path fill="%23D4A015" d="M37.938 11.75h-3.376v.563h3.376z"/><path fill="%23C16710" d="M30.063 12.313h-1.688v.562h1.688v-.563Z"/><path fill="%23D4A015" d="M34 12.313h-3.938v.562H34v-.563Z"/><path fill="%23FFE939" d="M34.563 12.313H34v.562h.563v-.563Z"/><path fill="%23D4A015" d="M37.938 12.313h-3.376v.562h3.376v-.563Z"/><path fill="%23C16710" d="M30.063 12.875h-1.125v.563h1.125z"/><path fill="%23D4A015" d="M34 12.875h-3.938v.563H34z"/><path fill="%23FFE939" d="M34.563 12.875H34v.563h.563z"/><path fill="%23D4A015" d="M37.938 12.875h-3.376v.563h3.376z"/><path fill="%23C16710" d="M30.063 13.438h-1.125V14h1.125v-.563Z"/><path fill="%23D4A015" d="M34 13.438h-3.938V14H34v-.563Z"/><path fill="%23FFE939" d="M34.563 13.438H34V14h.563v-.563Z"/><path fill="%23D4A015" d="M37.938 13.438h-3.376V14h3.376v-.563Z"/><path fill="%23C16710" d="M30.063 14h-1.688v.563h1.688z"/><path fill="%23D08B11" d="M40.188 14H30.062v.563h10.125V14Z"/><path fill="%23C16710" d="M30.063 14.563h-1.125v.562h1.125v-.563Z"/><path fill="%23D08B11" d="M37.938 14.563h-7.876v.562h7.875v-.563Z"/><path fill="%23000" d="M38.5 14.563h-.563v.562h.563v-.563Z"/><path fill="%23D08B11" d="M39.063 14.563H38.5v.562h.563v-.563Z"/><path fill="%23000" d="M39.625 14.563h-.563v.562h.563v-.563Z"/><path fill="%23D08B11" d="M40.188 14.563h-.563v.562h.563v-.563Z"/><path fill="%23C16710" d="M30.063 15.125h-1.688v.563h1.688z"/><path fill="%23D08B11" d="M31.188 15.125h-1.125v.563h1.125z"/><path fill="%23FFE939" d="M31.75 15.125h-.563v.563h.563z"/><path fill="%23000" d="M32.313 15.125h-.563v.563h.563z"/><path fill="%23FFE939" d="M32.875 15.125h-.563v.563h.563z"/><path fill="%23000" d="M33.438 15.125h-.563v.563h.563z"/><path fill="%23FFE939" d="M34 15.125h-.563v.563H34z"/><path fill="%23000" d="M34.563 15.125H34v.563h.563z"/><path fill="%23FFE939" d="M35.125 15.125h-.563v.563h.563z"/><path fill="%23D08B11" d="M40.188 15.125h-5.063v.563h5.063z"/><path fill="%23C16710" d="M30.063 15.688h-2.25v.562h2.25v-.563Z"/><path fill="%23D08B11" d="M40.188 15.688H30.062v.562h10.125v-.563Z"/><path fill="%23C16710" d="M30.063 16.25h-1.688v.563h1.688z"/><path fill="%23D08B11" d="M40.188 16.25H30.062v.563h10.125v-.563Z"/><path fill="%23C16710" d="M28.938 16.813h-.563v.562h.563zm1.125 0H29.5v.562h.563z"/><path fill="%23D08B11" d="M37.938 16.813h-7.876v.562h7.875v-.563Z"/><path fill="%23B9185C" d="M34 11.188h-3.375v.562H34v-.563Zm3.938 0h-3.376v.562h3.376v-.563Zm-6.75.562h-.563v.563h.563z"/><path fill="%23fff" d="M32.313 11.75h-1.126v.563h1.125v-.563Z"/><path fill="%23000" d="M33.438 11.75h-1.126v.563h1.126z"/><path fill="%23B9185C" d="M34 11.75h-.563v.563H34zm1.125 0h-.563v.563h.563z"/><path fill="%23fff" d="M36.25 11.75h-1.125v.563h1.125z"/><path fill="%23000" d="M37.375 11.75H36.25v.563h1.125z"/><path fill="%23B9185C" d="M37.938 11.75h-.563v.563h.563zm-6.75.563h-2.25v.562h2.25v-.563Z"/><path fill="%23fff" d="M32.313 12.313h-1.126v.562h1.125v-.563Z"/><path fill="%23000" d="M33.438 12.313h-1.126v.562h1.126v-.563Z"/><path fill="%23B9185C" d="M35.125 12.313h-1.688v.562h1.688v-.563Z"/><path fill="%23fff" d="M36.25 12.313h-1.125v.562h1.125v-.563Z"/><path fill="%23000" d="M37.375 12.313H36.25v.562h1.125v-.563Z"/><path fill="%23B9185C" d="M37.938 12.313h-.563v.562h.563v-.563Zm-8.438.562h-.563v.563h.563zm1.688 0h-.563v.563h.563z"/><path fill="%23fff" d="M32.313 12.875h-1.126v.563h1.125v-.563Z"/><path fill="%23000" d="M33.438 12.875h-1.126v.563h1.126z"/><path fill="%23B9185C" d="M34 12.875h-.563v.563H34zm1.125 0h-.563v.563h.563z"/><path fill="%23fff" d="M36.25 12.875h-1.125v.563h1.125z"/><path fill="%23000" d="M37.375 12.875H36.25v.563h1.125z"/><path fill="%23B9185C" d="M37.938 12.875h-.563v.563h.563zm-8.438.563h-.563V14h.563v-.563Zm1.688 0h-.563V14h.563v-.563Z"/><path fill="%23fff" d="M32.313 13.438h-1.126V14h1.125v-.563Z"/><path fill="%23000" d="M33.438 13.438h-1.126V14h1.126v-.563Z"/><path fill="%23B9185C" d="M34 13.438h-.563V14H34v-.563Zm1.125 0h-.563V14h.563v-.563Z"/><path fill="%23fff" d="M36.25 13.438h-1.125V14h1.125v-.563Z"/><path fill="%23000" d="M37.375 13.438H36.25V14h1.125v-.563Z"/><path fill="%23B9185C" d="M37.938 13.438h-.563V14h.563v-.563ZM34 14h-3.375v.563H34zm3.938 0h-3.376v.563h3.376z"/><path fill="%23fff" fill-opacity=".3" fill-rule="evenodd" d="M35 5.5h-2c-1.408 0-2.435 0-3.243.066-.803.066-1.347.194-1.8.424a4.5 4.5 0 0 0-1.966 1.967c-.231.453-.359.997-.424 1.8-.067.808-.067 1.835-.067 3.243v2c0 1.408 0 2.435.067 3.243.065.803.193 1.347.424 1.8a4.5 4.5 0 0 0 1.966 1.966c.453.231.997.359 1.8.424.808.067 1.835.067 3.243.067h2c1.408 0 2.435 0 3.243-.067.803-.065 1.347-.193 1.8-.424a4.5 4.5 0 0 0 1.967-1.966c.23-.453.358-.997.424-1.8.066-.808.066-1.835.066-3.243v-2c0-1.408 0-2.435-.066-3.243-.066-.803-.194-1.347-.424-1.8a4.5 4.5 0 0 0-1.967-1.967c-.453-.23-.997-.358-1.8-.424C37.435 5.5 36.408 5.5 35 5.5m-9.455 2.23C25 8.8 25 10.2 25 13v2c0 2.8 0 4.2.545 5.27a5 5 0 0 0 2.185 2.185C28.8 23 30.2 23 33 23h2c2.8 0 4.2 0 5.27-.545a5 5 0 0 0 2.185-2.185C43 19.2 43 17.8 43 15v-2c0-2.8 0-4.2-.545-5.27a5 5 0 0 0-2.185-2.185C39.2 5 37.8 5 35 5h-2c-2.8 0-4.2 0-5.27.545a5 5 0 0 0-2.185 2.185" clip-rule="evenodd"/><path fill="%23564CBF" d="M5 33c0-2.8 0-4.2.545-5.27a5 5 0 0 1 2.185-2.185C8.8 25 10.2 25 13 25h2c2.8 0 4.2 0 5.27.545a5 5 0 0 1 2.185 2.185C23 28.8 23 30.2 23 33v2c0 2.8 0 4.2-.545 5.27a5 5 0 0 1-2.185 2.185C19.2 43 17.8 43 15 43h-2c-2.8 0-4.2 0-5.27-.545a5 5 0 0 1-2.185-2.185C5 39.2 5 37.8 5 35z"/><path fill="%23FF66B3" d="M11.188 26.125h.562v2.813h.563v-2.813h.562V29.5h.563v-3.375H14V29.5h.563v-3.375h.562v2.813h.563v-2.813h.562v2.25h.563v-1.688h.562v2.25h-.563v.563h-.562v.563h-1.125v.562h-2.813v-.563h-1.124V29.5h-.563v-.563h-.563v-2.25h.563v1.688h.563z"/><path fill="%23B3FFCC" d="M13.438 30.625H14v.563h1.125v2.25h1.125v-.563h.563V34h-1.688v1.125h-.563v1.125h.563v5.625h-.563v-5.063H14v-.562h-1.688v-1.125h.563v.563H14v-1.126h.563V31.75h-1.126z"/><path fill="%23000" fill-opacity=".9" d="M16.25 26.125h.563v2.25h-.563zm-5.625.563h.563v1.687h-.563z"/><path fill="%23000" fill-opacity=".9" d="M17.938 26.688h-.563v2.25h-.563v.562h-.562v.563h.563V29.5h.562v-.563h.563zm-6.188-.563h.563v2.813h-.563zm3.938 0h-.563v2.813h.563zm-2.813 0h.563V29.5h-.563zm1.688 0H14V29.5h.563zm.562 3.938h.563v.562h-.563zm-.562.562H14v.563h.563zm.562.563h.563v2.25h-.563zm2.25 1.687h-.563V34h.563zM15.125 34h.563v1.125h-.563zm0 2.25v-1.125h-.563v1.125zm0 0v5.625h.563V36.25zm-2.25-1.125h.563v.563h-.563z"/><path fill="%23fff" fill-opacity=".12" fill-rule="evenodd" d="M15 25.5h-2c-1.408 0-2.435 0-3.243.067-.803.065-1.347.193-1.8.424a4.5 4.5 0 0 0-1.967 1.966c-.23.453-.358.997-.424 1.8C5.5 30.565 5.5 31.592 5.5 33v2c0 1.408 0 2.435.066 3.243.066.803.194 1.347.424 1.8a4.5 4.5 0 0 0 1.967 1.967c.453.23.997.358 1.8.424.808.066 1.835.066 3.243.066h2c1.408 0 2.435 0 3.243-.066.803-.066 1.347-.194 1.8-.424a4.5 4.5 0 0 0 1.966-1.967c.231-.453.359-.997.424-1.8.067-.808.067-1.835.067-3.243v-2c0-1.408 0-2.435-.067-3.243-.065-.803-.193-1.347-.424-1.8a4.5 4.5 0 0 0-1.966-1.966c-.453-.231-.997-.359-1.8-.424-.808-.067-1.835-.067-3.243-.067m-9.455 2.23C5 28.8 5 30.2 5 33v2c0 2.8 0 4.2.545 5.27a5 5 0 0 0 2.185 2.185C8.8 43 10.2 43 13 43h2c2.8 0 4.2 0 5.27-.545a5 5 0 0 0 2.185-2.185C23 39.2 23 37.8 23 35v-2c0-2.8 0-4.2-.545-5.27a5 5 0 0 0-2.185-2.185C19.2 25 17.8 25 15 25h-2c-2.8 0-4.2 0-5.27.545a5 5 0 0 0-2.185 2.185" clip-rule="evenodd"/><path fill="%23172D99" d="M5 13c0-2.8 0-4.2.545-5.27A5 5 0 0 1 7.73 5.545C8.8 5 10.2 5 13 5h2c2.8 0 4.2 0 5.27.545a5 5 0 0 1 2.185 2.185C23 8.8 23 10.2 23 13v2c0 2.8 0 4.2-.545 5.27a5 5 0 0 1-2.185 2.185C19.2 23 17.8 23 15 23h-2c-2.8 0-4.2 0-5.27-.545a5 5 0 0 1-2.185-2.185C5 19.2 5 17.8 5 15z"/><path fill="%2300A2D8" fill-rule="evenodd" d="M11.3 13.1H8.6v.9h2.7zm0 .9h1.8v.9h.9v1.8h-.9v-.9h-.9v-.9h-.9zm2.7 2.7h.9v2.7H14z" clip-rule="evenodd"/><path fill="%2300DE6F" fill-rule="evenodd" d="M11.3 12.2H8.6v.9h2.7zm0 .9h1.8v.9h-1.8zm2.7 1.8h-.9V14h.9zm.9 1.8H14v-1.8h.9zm0 0h.9v2.7h-.9z" clip-rule="evenodd"/><path fill="%23FFEB00" fill-rule="evenodd" d="M11.3 11.3H8.6v.9h2.7zm0 .9h1.8v.9h-1.8zM14 14h-.9v-.9h.9zm.9.9H14V14h.9zm.9 1.8h-.9v-1.8h.9zm0 0h.9v2.7h-.9z" clip-rule="evenodd"/><path fill="%23FA0" fill-rule="evenodd" d="M11.3 10.4H8.6v.9h2.7zm0 .9H14v.9h.9v.9h.9v.9h.9v1.8h.9v3.6h-.9v-2.7h-.9v-1.8h-.9V14H14v-.9h-.9v-.9h-1.8z" clip-rule="evenodd"/><path fill="%23DD3D1C" fill-rule="evenodd" d="M12.2 9.5H8.6v.9h2.7v.9H14v.9h.9v.9h.9v.9h.9v1.8h.9v3.6h.9v-3.6h-.9V14h-.9v-.9h-.9v-.9h-.9v-.9H14v-.9h-1.8z" clip-rule="evenodd"/><path fill="%23C03078" fill-rule="evenodd" d="M12.2 8.6H8.6v.9h3.6zm0 .9H14v.9h-1.8zm5.4 4.5h-.9v-.9h-.9v-.9h-.9v-.9H14v-.9h1.8v.9h.9v.9h.9zm.9 1.8h-.9V14h.9zm0 0h.9v3.6h-.9z" clip-rule="evenodd"/><path fill="%23fff" fill-opacity=".12" fill-rule="evenodd" d="M15 5.5h-2c-1.408 0-2.435 0-3.243.066-.803.066-1.347.194-1.8.424A4.5 4.5 0 0 0 5.99 7.957c-.23.453-.358.997-.424 1.8C5.5 10.565 5.5 11.592 5.5 13v2c0 1.408 0 2.435.066 3.243.066.803.194 1.347.424 1.8a4.5 4.5 0 0 0 1.967 1.966c.453.231.997.359 1.8.424.808.067 1.835.067 3.243.067h2c1.408 0 2.435 0 3.243-.067.803-.065 1.347-.193 1.8-.424a4.5 4.5 0 0 0 1.966-1.966c.231-.453.359-.997.424-1.8.067-.808.067-1.835.067-3.243v-2c0-1.408 0-2.435-.067-3.243-.065-.803-.193-1.347-.424-1.8a4.5 4.5 0 0 0-1.966-1.967c-.453-.23-.997-.358-1.8-.424C17.435 5.5 16.408 5.5 15 5.5M5.545 7.73C5 8.8 5 10.2 5 13v2c0 2.8 0 4.2.545 5.27a5 5 0 0 0 2.185 2.185C8.8 23 10.2 23 13 23h2c2.8 0 4.2 0 5.27-.545a5 5 0 0 0 2.185-2.185C23 19.2 23 17.8 23 15v-2c0-2.8 0-4.2-.545-5.27a5 5 0 0 0-2.185-2.185C19.2 5 17.8 5 15 5h-2c-2.8 0-4.2 0-5.27.545A5 5 0 0 0 5.545 7.73" clip-rule="evenodd"/><path fill="%2399B3FF" d="M48 36.5C48 42.851 42.851 48 36.5 48S25 42.851 25 36.5 30.149 25 36.5 25 48 30.149 48 36.5"/><path fill="%23000" fill-opacity=".12" fill-rule="evenodd" d="M36.5 47.5c6.075 0 11-4.925 11-11s-4.925-11-11-11-11 4.925-11 11 4.925 11 11 11m0 .5C42.851 48 48 42.851 48 36.5S42.851 25 36.5 25 25 30.149 25 36.5 30.149 48 36.5 48" clip-rule="evenodd"/><path fill="%237F91EB" d="M46 36.5a9.5 9.5 0 1 1-19 0 9.5 9.5 0 0 1 19 0"/><path fill="%23000" fill-opacity=".12" fill-rule="evenodd" d="M36.5 45.5a9 9 0 1 0 0-18 9 9 0 0 0 0 18m0 .5a9.5 9.5 0 1 0 0-19 9.5 9.5 0 0 0 0 19" clip-rule="evenodd"/><path fill="%23fff" fill-opacity=".2" fill-rule="evenodd" d="M31.912 37.037a.5.5 0 0 1-.139-.665l4.298-7.13a.5.5 0 0 1 .856 0l4.297 7.13a.5.5 0 0 1-.137.664.5.5 0 0 1 .119.698l-4.3 6.055a.5.5 0 0 1-.815 0l-4.297-6.055a.5.5 0 0 1 .118-.697m.29.408 4.297 2.538 4.3-2.538-4.3 6.055zm0-.815 4.297-7.13 4.297 7.13-4.297 2.54z" clip-rule="evenodd"/><path fill="%23000" fill-opacity=".55" d="M36.499 29.5v9.67l4.297-2.54z"/><path fill="%23000" fill-opacity=".3" d="m36.499 29.5-4.297 7.13 4.297 2.54z"/><path fill="%23000" fill-opacity=".55" d="M36.499 39.983V43.5l4.3-6.055z"/><path fill="%23000" fill-opacity=".3" d="M36.499 43.5v-3.517l-4.297-2.538z"/><path fill="%23000" d="m36.499 39.17 4.297-2.54-4.297-1.953z"/><path fill="%23000" fill-opacity=".6" d="m32.202 36.63 4.297 2.54v-4.493z"/><defs><linearGradient id="a" x1="24" x2="24" y1="0" y2="48" gradientUnits="userSpaceOnUse"><stop stop-color="%23174299"/><stop offset="1" stop-color="%23001E59"/></linearGradient><linearGradient id="b" x1="24" x2="24" y1="0" y2="48" gradientUnits="userSpaceOnUse"><stop stop-color="%23D2D8E4"/><stop offset="1" stop-color="%23C2C9D6"/></linearGradient></defs></svg>';
|
|
5
|
-
export {
|
|
6
|
-
assets_default as default
|
|
7
|
-
};
|
package/dist/login-XDVWJKUQ.js
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
|
|
3
|
-
// src/components/Icons/login.svg
|
|
4
|
-
var login_default = 'data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 48 48"><path fill="url(%23a)" d="M0 16c0-5.6 0-8.4 1.09-10.54a10 10 0 0 1 4.37-4.37C7.6 0 10.4 0 16 0h16c5.6 0 8.4 0 10.54 1.09a10 10 0 0 1 4.37 4.37C48 7.6 48 10.4 48 16v16c0 5.6 0 8.4-1.09 10.54a10 10 0 0 1-4.37 4.37C40.4 48 37.6 48 32 48H16c-5.6 0-8.4 0-10.54-1.09a10 10 0 0 1-4.37-4.37C0 40.4 0 37.6 0 32z"/><path fill="url(%23b)" d="M0 16c0-5.6 0-8.4 1.09-10.54a10 10 0 0 1 4.37-4.37C7.6 0 10.4 0 16 0h16c5.6 0 8.4 0 10.54 1.09a10 10 0 0 1 4.37 4.37C48 7.6 48 10.4 48 16v16c0 5.6 0 8.4-1.09 10.54a10 10 0 0 1-4.37 4.37C40.4 48 37.6 48 32 48H16c-5.6 0-8.4 0-10.54-1.09a10 10 0 0 1-4.37-4.37C0 40.4 0 37.6 0 32z"/><path fill="%23000" fill-opacity=".04" fill-rule="evenodd" d="M1.133 9.513C1 11.131 1 13.183 1 16v16c0 2.817 0 4.87.133 6.486.131 1.606.387 2.695.848 3.6a9 9 0 0 0 3.933 3.933c.905.461 1.994.717 3.6.848C11.13 47 13.183 47 16 47h16c2.817 0 4.87 0 6.486-.133 1.606-.131 2.695-.387 3.6-.848a9 9 0 0 0 3.933-3.933c.461-.905.717-1.994.848-3.6C47 36.87 47 34.816 47 32V16c0-2.817 0-4.87-.133-6.487-.131-1.605-.387-2.694-.848-3.599a9 9 0 0 0-3.933-3.933c-.905-.461-1.994-.717-3.6-.848C36.87 1 34.816 1 32 1H16c-2.817 0-4.87 0-6.487.133-1.605.131-2.694.387-3.599.848a9 9 0 0 0-3.933 3.933c-.461.905-.717 1.994-.848 3.6ZM1.09 5.46C0 7.6 0 10.4 0 16v16c0 5.6 0 8.4 1.09 10.54a10 10 0 0 0 4.37 4.37C7.6 48 10.4 48 16 48h16c5.6 0 8.4 0 10.54-1.09a10 10 0 0 0 4.37-4.37C48 40.4 48 37.6 48 32V16c0-5.6 0-8.4-1.09-10.54a10 10 0 0 0-4.37-4.37C40.4 0 37.6 0 32 0H16C10.4 0 7.6 0 5.46 1.09a10 10 0 0 0-4.37 4.37" clip-rule="evenodd"/><path fill="url(%23c)" d="M3 14.2c0-3.92 0-5.88.763-7.378a7 7 0 0 1 3.06-3.059C8.318 3 10.28 3 14.2 3h19.6c3.92 0 5.88 0 7.378.763a7 7 0 0 1 3.059 3.06C45 8.318 45 10.28 45 14.2v19.6c0 3.92 0 5.88-.763 7.378a7 7 0 0 1-3.06 3.059C39.682 45 37.72 45 33.8 45H14.2c-3.92 0-5.88 0-7.378-.763a7 7 0 0 1-3.059-3.06C3 39.682 3 37.72 3 33.8z"/><path fill="url(%23d)" fill-opacity=".7" d="M3 14.2c0-3.92 0-5.88.763-7.378a7 7 0 0 1 3.06-3.059C8.318 3 10.28 3 14.2 3h19.6c3.92 0 5.88 0 7.378.763a7 7 0 0 1 3.059 3.06C45 8.318 45 10.28 45 14.2v19.6c0 3.92 0 5.88-.763 7.378a7 7 0 0 1-3.06 3.059C39.682 45 37.72 45 33.8 45H14.2c-3.92 0-5.88 0-7.378-.763a7 7 0 0 1-3.059-3.06C3 39.682 3 37.72 3 33.8z" style="mix-blend-mode:screen"/><path fill="%23000" fill-opacity=".2" fill-rule="evenodd" d="M3.594 9.643C3.5 10.785 3.5 12.232 3.5 14.2v19.6c0 1.968 0 3.415.094 4.557.093 1.136.275 1.928.614 2.594a6.5 6.5 0 0 0 2.841 2.84c.667.34 1.458.522 2.594.615 1.142.094 2.589.094 4.557.094h19.6c1.968 0 3.415 0 4.557-.094 1.136-.093 1.928-.275 2.594-.614a6.5 6.5 0 0 0 2.84-2.841c.34-.666.522-1.458.615-2.594.094-1.142.094-2.589.094-4.557V14.2c0-1.968 0-3.415-.094-4.557-.093-1.136-.275-1.927-.614-2.594a6.5 6.5 0 0 0-2.841-2.84c-.666-.34-1.458-.522-2.594-.615C37.215 3.5 35.768 3.5 33.8 3.5H14.2c-1.968 0-3.415 0-4.557.094-1.136.093-1.927.275-2.594.614A6.5 6.5 0 0 0 4.21 7.05c-.34.667-.522 1.458-.615 2.594Zm.169-2.82C3 8.318 3 10.28 3 14.2v19.6c0 3.92 0 5.88.763 7.378a7 7 0 0 0 3.06 3.059C8.318 45 10.28 45 14.2 45h19.6c3.92 0 5.88 0 7.378-.763a7 7 0 0 0 3.059-3.06C45 39.682 45 37.72 45 33.8V14.2c0-3.92 0-5.88-.763-7.378a7 7 0 0 0-3.06-3.059C39.682 3 37.72 3 33.8 3H14.2c-3.92 0-5.88 0-7.378.763a7 7 0 0 0-3.059 3.06" clip-rule="evenodd"/><path fill="%23fff" fill-opacity=".2" fill-rule="evenodd" d="M4.585 9.712C4.501 10.746 4.5 12.063 4.5 13.9v20.2c0 1.837 0 3.154.085 4.188.084 1.022.244 1.678.514 2.209A5.5 5.5 0 0 0 7.503 42.9c.53.27 1.187.43 2.21.514 1.033.084 2.35.085 4.187.085h20.2c1.837 0 3.154 0 4.188-.085 1.022-.084 1.678-.244 2.209-.514a5.5 5.5 0 0 0 2.404-2.404c.27-.53.43-1.187.514-2.21.084-1.033.085-2.35.085-4.187V13.9c0-1.837 0-3.154-.085-4.188-.084-1.022-.244-1.678-.514-2.209A5.5 5.5 0 0 0 40.496 5.1c-.53-.27-1.187-.43-2.21-.514-1.033-.084-2.35-.085-4.187-.085H13.9c-1.837 0-3.154 0-4.188.085-1.022.084-1.678.244-2.209.514A5.5 5.5 0 0 0 5.1 7.503c-.27.53-.43 1.187-.514 2.21ZM4.208 7.05C3.5 8.44 3.5 10.26 3.5 13.9v20.2c0 3.64 0 5.46.708 6.85a6.5 6.5 0 0 0 2.841 2.841c1.39.709 3.21.709 6.851.709h20.2c3.64 0 5.46 0 6.85-.709a6.5 6.5 0 0 0 2.841-2.84c.709-1.39.709-3.21.709-6.851V13.9c0-3.64 0-5.46-.709-6.85a6.5 6.5 0 0 0-2.84-2.842C39.56 3.5 37.74 3.5 34.1 3.5H13.9c-3.64 0-5.46 0-6.85.708A6.5 6.5 0 0 0 4.207 7.05Z" clip-rule="evenodd" style="mix-blend-mode:overlay"/><path fill="url(%23e)" d="M18 11.347c-4.73 2.247-8 7.068-8 12.653s3.27 10.406 8 12.653V23.908c0-.3 0-.565.047-.829q.061-.349.204-.674c.107-.245.254-.465.42-.715l.905-1.357a7 7 0 0 0 .212-.327L19.79 20l-.003-.006a7 7 0 0 0-.212-.327l-.904-1.357c-.167-.25-.314-.47-.421-.715a3 3 0 0 1-.204-.674C18 16.657 18 16.392 18 16.092z"/><path fill="url(%23f)" d="M30 36.653c4.73-2.247 8-7.068 8-12.653s-3.27-10.406-8-12.653v12.745c0 .3 0 .565-.047.829q-.061.349-.204.674c-.107.245-.254.465-.42.715l-.905 1.357a7 7 0 0 0-.212.327L28.21 28l.003.006c.039.067.098.156.212.327l.904 1.357c.167.25.314.47.421.715q.142.325.204.674c.047.264.047.529.047.829v4.745Z"/><path fill="%23fff" fill-opacity=".2" fill-rule="evenodd" d="M20.092 39.782a2 2 0 0 1-.874-.874C19 38.48 19 37.92 19 36.8V23.969c0-.36 0-.54.031-.714q.042-.233.136-.45c.07-.162.17-.311.37-.611l.871-1.306c.214-.321.321-.482.363-.655a1 1 0 0 0 0-.466c-.042-.173-.149-.334-.363-.654l-.87-1.307c-.2-.3-.3-.45-.37-.611a2 2 0 0 1-.137-.45c-.03-.174-.03-.354-.03-.714V11.2c0-1.12 0-1.68.217-2.108a2 2 0 0 1 .874-.874C20.52 8 21.08 8 22.2 8h3.6c1.12 0 1.68 0 2.108.218a2 2 0 0 1 .874.874C29 9.52 29 10.08 29 11.2v12.831c0 .36 0 .54-.031.714a2 2 0 0 1-.136.45c-.07.162-.17.311-.37.611l-.871 1.306c-.214.321-.321.482-.363.655a1 1 0 0 0 0 .466c.042.173.149.334.363.654l.87 1.307c.2.3.3.45.371.611q.095.217.136.45c.031.174.031.354.031.714V36.8c0 1.12 0 1.68-.218 2.108a2 2 0 0 1-.874.874C27.48 40 26.92 40 25.8 40h-3.6c-1.12 0-1.68 0-2.108-.218M19.791 20l-.003-.006a7 7 0 0 0-.212-.327l-.87-1.306-.034-.05c-.167-.25-.314-.471-.421-.716a3 3 0 0 1-.204-.674C18 16.657 18 16.392 18 16.092v-4.93c0-.528 0-.982.03-1.357.033-.395.104-.789.297-1.167a3 3 0 0 1 1.311-1.311c.378-.193.772-.264 1.167-.296C21.18 7 21.635 7 22.162 7h3.677c.527 0 .982 0 1.356.03.395.033.789.104 1.167.297a3 3 0 0 1 1.311 1.311c.193.378.264.772.297 1.167.03.375.03.83.03 1.357v12.93c0 .3 0 .565-.047.829a3 3 0 0 1-.203.674c-.108.245-.255.465-.422.715l-.033.05-.871 1.307a7 7 0 0 0-.211.327l-.004.006.004.006c.038.067.097.156.21.327l.872 1.306.033.05c.167.25.314.471.422.716a3 3 0 0 1 .203.674c.047.264.047.529.047.829v4.93c0 .528 0 .983-.03 1.357-.033.395-.104.789-.297 1.167a3 3 0 0 1-1.311 1.311c-.378.193-.772.264-1.167.296-.375.031-.83.031-1.356.031h-3.677c-.528 0-.982 0-1.357-.03-.395-.033-.788-.104-1.167-.297a3 3 0 0 1-1.311-1.311c-.193-.378-.264-.772-.296-1.167a17 17 0 0 1-.03-1.356v-12.87L18 23.908c0-.3 0-.565.047-.829a3 3 0 0 1 .204-.674c.107-.245.254-.465.42-.715l.034-.05.871-1.307a7 7 0 0 0 .212-.327L19.79 20Z" clip-rule="evenodd" style="mix-blend-mode:overlay"/><path fill="%23000" fill-opacity=".7" d="M19 11.2c0-1.12 0-1.68.218-2.108a2 2 0 0 1 .874-.874C20.52 8 21.08 8 22.2 8h3.6c1.12 0 1.68 0 2.108.218a2 2 0 0 1 .874.874C29 9.52 29 10.08 29 11.2v12.831c0 .36 0 .54-.031.714a2 2 0 0 1-.136.45c-.07.162-.17.311-.37.611l-.871 1.306c-.214.321-.321.482-.363.655a1 1 0 0 0 0 .466c.042.173.149.334.363.654l.87 1.307c.2.3.3.45.371.611q.094.217.136.45c.031.174.031.354.031.714V36.8c0 1.12 0 1.68-.218 2.108a2 2 0 0 1-.874.874C27.48 40 26.92 40 25.8 40h-3.6c-1.12 0-1.68 0-2.108-.218a2 2 0 0 1-.874-.874C19 38.48 19 37.92 19 36.8V23.969c0-.36 0-.54.031-.714q.042-.233.136-.45c.07-.162.17-.311.37-.611l.871-1.306c.214-.321.321-.482.363-.655a1 1 0 0 0 0-.466c-.042-.173-.149-.334-.363-.654l-.87-1.307c-.2-.3-.3-.45-.371-.611a2 2 0 0 1-.136-.45C19 16.571 19 16.391 19 16.031z"/><defs><linearGradient id="a" x1="24" x2="24" y1="0" y2="48" gradientUnits="userSpaceOnUse"><stop stop-color="%23174299"/><stop offset="1" stop-color="%23001E59"/></linearGradient><linearGradient id="b" x1="24" x2="24" y1="0" y2="48" gradientUnits="userSpaceOnUse"><stop stop-color="%23D2D8E4"/><stop offset="1" stop-color="%23C2C9D6"/></linearGradient><linearGradient id="e" x1="24" x2="24" y1="10" y2="38" gradientUnits="userSpaceOnUse"><stop stop-opacity=".12"/><stop offset="1" stop-opacity=".04"/></linearGradient><linearGradient id="f" x1="24" x2="24" y1="10" y2="38" gradientUnits="userSpaceOnUse"><stop stop-opacity=".12"/><stop offset="1" stop-opacity=".04"/></linearGradient><radialGradient id="c" cx="0" cy="0" r="1" gradientTransform="rotate(-40.077 69.815 48.665)scale(82.9048)" gradientUnits="userSpaceOnUse"><stop offset=".276" stop-color="%2320FF4D"/><stop offset=".464" stop-color="%231499FF"/><stop offset=".755" stop-color="%23FF6FC6"/><stop offset="1" stop-color="%23BC67FF"/></radialGradient><radialGradient id="d" cx="0" cy="0" r="1" gradientTransform="rotate(45 2.52 -6.082)scale(68.6777)" gradientUnits="userSpaceOnUse"><stop stop-color="red"/><stop offset="1" stop-color="%2300A3FF"/></radialGradient></defs></svg>';
|
|
5
|
-
export {
|
|
6
|
-
login_default as default
|
|
7
|
-
};
|
package/dist/utils/browsers.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export declare function isSafari(): boolean;
|
|
2
|
-
export declare function isArc(): boolean;
|
|
3
|
-
export declare enum BrowserType {
|
|
4
|
-
Arc = "Arc",
|
|
5
|
-
Brave = "Brave",
|
|
6
|
-
Browser = "Browser",
|
|
7
|
-
Chrome = "Chrome",
|
|
8
|
-
Edge = "Edge",
|
|
9
|
-
Firefox = "Firefox",
|
|
10
|
-
Opera = "Opera",
|
|
11
|
-
Safari = "Safari"
|
|
12
|
-
}
|
|
13
|
-
export declare function getBrowser(): BrowserType;
|
package/dist/utils/colors.d.ts
DELETED
package/dist/utils/debounce.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function debounce(fn: () => void, ms: number): () => void;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export type DeepPartial<T> = T extends number | string | boolean | null | undefined ? T : {
|
|
2
|
-
[P in keyof T]?: DeepPartial<T[P]>;
|
|
3
|
-
};
|
|
4
|
-
/** NOTE: merging arrays is undefined behavior */
|
|
5
|
-
export declare function deepMerge<T extends object>(origin: T, ...objects: DeepPartial<T>[]): T;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function exhaustiveCheck(_value: never): any;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export interface FormatDynamicFeeUsdOptions {
|
|
2
|
-
/**
|
|
3
|
-
* Threshold in USD above which the fee should be displayed in %
|
|
4
|
-
*
|
|
5
|
-
* Defauls to 2.5
|
|
6
|
-
*
|
|
7
|
-
* Pass null to disable % format altogether
|
|
8
|
-
*/
|
|
9
|
-
percentThreshold?: number | null;
|
|
10
|
-
}
|
|
11
|
-
export declare function formatDynamicFeeUsd(fee: number, total: number, options?: FormatDynamicFeeUsdOptions): string;
|
|
12
|
-
export declare function formatDynamicFeeToken(fee: number, symbol: string): string;
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
interface FormatNumberOptions {
|
|
2
|
-
/** Numbers smaller than this will be converted to scientific notation */
|
|
3
|
-
minBeforeUseScientific?: number;
|
|
4
|
-
/** If the number part for suffixed # is >= this, will use sci notation (e.g. 1,000M -> 1E3M) */
|
|
5
|
-
maxNumberPartSizeForSuffix?: number;
|
|
6
|
-
/** The amount of decimal places to truncate to when softly truncating (to specify decimal places for suffix-truncation, e.g. 1.23M, use decimalPrecisionForSuffix) */
|
|
7
|
-
softDecimalPrecision?: number;
|
|
8
|
-
/** Numbers >= this will have their decimals truncated aggressively */
|
|
9
|
-
maxBeforeAggresiveDecimalTruncation?: number;
|
|
10
|
-
/** The amount of decimal places to truncate to when aggressively truncating (to specify decimal places for suffix-truncation, e.g. 1.23M, use decimalPrecisionForSuffix) */
|
|
11
|
-
aggresiveDecimalPrecision?: number;
|
|
12
|
-
/** Numbers >= this will have a suffix added during truncation (e.g. 1.23M) */
|
|
13
|
-
maxBeforeUseSuffix?: number;
|
|
14
|
-
/** The amount of decimal places to truncate suffix-truncated numbers to (e.g. 1.23M vs 1.2312M)*/
|
|
15
|
-
decimalPrecisionForSuffix?: number;
|
|
16
|
-
/** The largest suffix to use (e.g. if 1000000, we will stop at M and not use the B suffix) */
|
|
17
|
-
maxSuffixSize?: 1e3 | 1e6 | 1e9 | 1e12;
|
|
18
|
-
numberFormatOptions?: Intl.NumberFormatOptions;
|
|
19
|
-
/** Adds minimum significant digits value to force numbers to show decimal precision even when there are none 5 -> 5.00 */
|
|
20
|
-
minimumSignificantDigits?: number;
|
|
21
|
-
}
|
|
22
|
-
/**
|
|
23
|
-
* Formats a number with conditional truncation, suffixation, and scientific notation.
|
|
24
|
-
* @param number
|
|
25
|
-
* @param options Customize the formatting conditions/behavior
|
|
26
|
-
* @example Visualization, using default values:
|
|
27
|
-
* ```
|
|
28
|
-
* <--(1.23E-7)---0.00001------(0.12121)-------1-------(123,423.26)---1,000,000---(1.22M)--(100.23M)-->
|
|
29
|
-
* _______<-minBeforeScientific maxBeforeAggressive-> maxBeforeUseSuffix-> ^ w/ maxSuffixSize
|
|
30
|
-
* ```
|
|
31
|
-
*/
|
|
32
|
-
export declare function formatNumberAndStringify(number: number, options?: FormatNumberOptions, numberFormatOptions?: {}): string;
|
|
33
|
-
/** Formats a number for currency (default $) display */
|
|
34
|
-
export declare function formatCurrencyAndStringify(amount: number,
|
|
35
|
-
/** Options to pass `formatNumberAndStringify */
|
|
36
|
-
options?: FormatNumberOptions,
|
|
37
|
-
/** Options to pass toLocaleString */
|
|
38
|
-
numberFormatOptions?: Intl.NumberFormatOptions): string;
|
|
39
|
-
export declare function formatPercent(percent: number, decimalPlaces?: number): string;
|
|
40
|
-
/**
|
|
41
|
-
* Formats a cryptocurrency amount as a string for display.
|
|
42
|
-
*
|
|
43
|
-
* Can customize with options and whether to display currency abbreviation.
|
|
44
|
-
*/
|
|
45
|
-
export declare function formatCryptoAndStringify(
|
|
46
|
-
/** The currency amount **/
|
|
47
|
-
amount: number,
|
|
48
|
-
/** The currency abbreviation e.g. ETH, USDC, ... **/
|
|
49
|
-
platform?: string,
|
|
50
|
-
/** Displays abbreviation after amount, e.g. '1.25 ETH'; default true **/
|
|
51
|
-
useCurrencyAbbreviation?: boolean,
|
|
52
|
-
/** Used to format the number, can be used to customize decimal truncation etc. **/
|
|
53
|
-
options?: FormatNumberOptions): string;
|
|
54
|
-
export declare function parseInputToNumber(input: string | number | undefined): number;
|
|
55
|
-
export declare function roundUpToXDecimalPlaces(inputNumber: string, decimalPlaces: number): number;
|
|
56
|
-
export declare function normalizeSmallUsdNumber(usdNumber: string | number | null): number;
|
|
57
|
-
export {};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
export declare const fullMonthNames: string[];
|
|
2
|
-
interface FormatDateOption {
|
|
3
|
-
year?: 'full' | 'short' | 'none';
|
|
4
|
-
month?: 'full' | 'short';
|
|
5
|
-
}
|
|
6
|
-
export declare function formatTimestampToDate(date: Date, { year, month }?: FormatDateOption): string;
|
|
7
|
-
interface FormatTimeOption extends FormatDateOption {
|
|
8
|
-
hours?: '24hr' | '12hr';
|
|
9
|
-
seconds?: 'none';
|
|
10
|
-
}
|
|
11
|
-
export declare function formatTimestamp(date: Date, opt?: FormatTimeOption): string;
|
|
12
|
-
/**
|
|
13
|
-
* Formats seconds to mins and seconds string
|
|
14
|
-
* - seconds = 10, output = '10 seconds'
|
|
15
|
-
* - seconds = 20.3, output = '21 seconds'
|
|
16
|
-
* - seconds = 20.3, specifyUnderMinute=true, output = '< 1min'
|
|
17
|
-
* - seconds = 60, output = '1min'
|
|
18
|
-
* - seconds = 61, output = '1min 1s'
|
|
19
|
-
* - seconds = 300, output = '5min'
|
|
20
|
-
* - seconds = 320, output = '5min 20s'
|
|
21
|
-
* - seconds = 320, omitSeconds=true, output = '6min'
|
|
22
|
-
* - seconds = 3600, output = '1h'
|
|
23
|
-
* - seconds = 3900, output = '1h 5min'
|
|
24
|
-
* - seconds = 3920, output = '1h 5min 20s'
|
|
25
|
-
*/
|
|
26
|
-
export declare function formatSecondsToReadableForm(seconds: number, specifyUnderMinute?: boolean, omitSeconds?: boolean): string;
|
|
27
|
-
export declare function formatSecondsToCountdownForm(seconds: number): string;
|
|
28
|
-
export {};
|
package/dist/utils/groupBy.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function groupBy<Item>(items: Item[], getKey: (item: Item) => string): Record<string, Item[]>;
|
package/dist/utils/indexBy.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function indexBy<Item>(items: Item[], getKey: (item: Item) => string): Record<string, Item>;
|
package/dist/utils/isMobile.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function isNotNullish<T>(value: T | null | undefined): value is T;
|
package/dist/utils/locale.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const detectedBrowserLocale: () => string | undefined;
|
package/dist/utils/mobile.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function redirectInMobile(mobileUri: string): void;
|
package/dist/utils/noop.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const noop: () => undefined;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function omitUndefinedValues<T>(obj: T): T;
|