@funkit/connect 8.5.0 → 9.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 +73 -0
- package/dist/__generated__/default_configs.d.ts +4 -1
- package/dist/{chunk-G4ZF44OO.js → chunk-SC53AFEE.js} +11 -1
- package/dist/{chunk-K4YHIQ6O.js → chunk-WSCXOKCX.js} +1 -1
- package/dist/{chunk-GOGXF6NC.js → chunk-XCM74QX2.js} +1 -1
- package/dist/clients/fanatics.css +3750 -3688
- package/dist/clients/fanatics.js +3 -3
- package/dist/components/Box/Box.d.ts +22 -22
- package/dist/components/ConnectButton/abbreviateETHBalance.d.ts +0 -1
- package/dist/components/Dialog/Dialog.css.d.ts +0 -1
- package/dist/components/Dialog/Dialog.d.ts +3 -1
- package/dist/components/Dialog/DialogContent.css.d.ts +2 -0
- package/dist/components/Dialog/FocusTrap.d.ts +1 -1
- package/dist/components/ErrorBoundary/ErrorBoundary.d.ts +1 -1
- package/dist/components/FunNotification/FunNotification.d.ts +2 -2
- package/dist/components/FunPayments/FunPaymentMethods.d.ts +2 -1
- package/dist/components/FunTooltip/FunTooltip.d.ts +2 -2
- package/dist/components/Icons/{New/BlueCircularWalletIcon.d.ts → FunWarningIcon.d.ts} +1 -1
- package/dist/components/ModalHeightAnimationLayer/ModalHeightAnimationLayer.d.ts +7 -0
- package/dist/components/ModalHeightAnimationLayer/WithdrawalModalHeightAnimationWrapper.d.ts +8 -0
- package/dist/components/Tabs/tabs.css.d.ts +4 -0
- package/dist/config/getDefaultConfig.d.ts +2 -2
- package/dist/consts/bluvo.d.ts +3 -2
- package/dist/css/atoms.d.ts +1 -0
- package/dist/css/sprinkles.css.d.ts +27 -21
- package/dist/domains/fees.d.ts +1 -1
- package/dist/domains/quote.d.ts +1 -1
- package/dist/domains/swapped.d.ts +16 -0
- package/dist/domains/wallet.d.ts +0 -7
- package/dist/hooks/queries/useFops.d.ts +202 -13
- package/dist/hooks/track/CheckoutModalEvent.d.ts +2 -0
- package/dist/hooks/useCheckoutTransferInit.d.ts +1 -0
- package/dist/hooks/useIframePool.d.ts +38 -0
- package/dist/hooks/usePaymentMethodIcon.d.ts +1 -1
- package/dist/hooks/useScrollDivider.d.ts +1 -1
- package/dist/hooks/useSwappedPreload.d.ts +7 -0
- package/dist/hooks/useTextMeasurer.d.ts +1 -1
- package/dist/index.css +3819 -3693
- package/dist/index.js +3584 -2942
- package/dist/modals/ChainModal/Chain.d.ts +1 -1
- package/dist/modals/CheckoutModal/Brokerage/BrokerageTwoFA.d.ts +0 -28
- package/dist/modals/CheckoutModal/ConfirmationStep/useCheckoutConfirmation.d.ts +7 -3
- package/dist/modals/CheckoutModal/InputAmount/useAmountInput.d.ts +1 -1
- package/dist/modals/CheckoutModal/SwappedIframe/SwappedIframe.d.ts +1 -1
- package/dist/modals/CheckoutModal/SwappedIframe/SwappedIframePool.d.ts +14 -0
- package/dist/modals/ProfileDetails/FunProfileViews/Home/ProfileTitleSection.d.ts +1 -1
- package/dist/modals/WithdrwalModal/WithdrawalModal.d.ts +0 -5
- package/dist/modals/WithdrwalModal/types.d.ts +5 -0
- package/dist/providers/AuthenticationContext.d.ts +0 -1
- package/dist/providers/FunkitConfigContext.d.ts +1 -3
- package/dist/providers/FunkitConnectChainContext.d.ts +1 -1
- package/dist/providers/FunkitProvider.d.ts +1 -1
- package/dist/providers/FunkitThemeProvider.d.ts +9 -0
- package/dist/providers/GeneralWalletProvider.d.ts +6 -6
- package/dist/providers/SwappedProvider.d.ts +29 -0
- package/dist/themes/baseTheme.d.ts +3 -1
- package/dist/themes/baseTheme.js +1 -1
- package/dist/themes/darkTheme.js +2 -2
- package/dist/themes/lightTheme.js +2 -2
- package/dist/types/utils.d.ts +1 -1
- package/dist/utils/checkout.d.ts +1 -8
- package/dist/utils/flags/config.d.ts +8 -0
- package/dist/utils/polygonRpcCheck.d.ts +12 -0
- package/dist/utils/swapped.d.ts +28 -0
- package/dist/wagmi/actions.d.ts +10 -0
- package/dist/wagmi/chains.d.ts +2 -0
- package/dist/wagmi/connectors.d.ts +2 -0
- package/dist/wagmi/hooks.d.ts +4 -0
- package/dist/wagmi/query.d.ts +1 -0
- package/dist/wallets/Wallet.d.ts +2 -2
- package/dist/wallets/connectorsForWallets.d.ts +1 -1
- package/dist/wallets/getDefaultWallets.d.ts +1 -1
- package/dist/wallets/walletConnectors/argentWallet/argentWallet.js +3 -2
- package/dist/wallets/walletConnectors/bifrostWallet/bifrostWallet.js +4 -3
- package/dist/wallets/walletConnectors/bitgetWallet/bitgetWallet.js +4 -3
- package/dist/wallets/walletConnectors/bitskiWallet/bitskiWallet.js +3 -2
- package/dist/wallets/walletConnectors/bitverseWallet/bitverseWallet.js +3 -2
- package/dist/wallets/walletConnectors/bloomWallet/bloomWallet.js +3 -2
- package/dist/wallets/walletConnectors/braveWallet/braveWallet.js +3 -2
- package/dist/wallets/walletConnectors/bybitWallet/bybitWallet.js +4 -3
- package/dist/wallets/walletConnectors/{chunk-M2HGGTFE.js → chunk-34LO6Q7A.js} +1 -1
- package/dist/wallets/walletConnectors/{chunk-TNZJRXUQ.js → chunk-4BMUFNMT.js} +1 -1
- package/dist/wallets/walletConnectors/{chunk-LGT6IAXI.js → chunk-4C7ER452.js} +4 -4
- package/dist/wallets/walletConnectors/{chunk-QS2XIZEH.js → chunk-4R4AARTG.js} +1 -1
- package/dist/wallets/walletConnectors/{chunk-WNQ3NPHX.js → chunk-53VYSPXK.js} +4 -4
- package/dist/wallets/walletConnectors/{chunk-JTLLKY2O.js → chunk-6MFOL6EB.js} +1 -1
- package/dist/wallets/walletConnectors/{chunk-5AV2NSL3.js → chunk-6UCI7GM6.js} +4 -4
- package/dist/wallets/walletConnectors/{chunk-TLOROKED.js → chunk-6YO27XOM.js} +4 -4
- package/dist/wallets/walletConnectors/{chunk-75A4Q5E5.js → chunk-7OARWILZ.js} +4 -4
- package/dist/wallets/walletConnectors/{chunk-YMUSFW44.js → chunk-A7FNGC4A.js} +1 -1
- package/dist/wallets/walletConnectors/{chunk-ARYAYQ7Z.js → chunk-BAVE62IL.js} +4 -2
- package/dist/wallets/walletConnectors/{chunk-ADIXAKUL.js → chunk-BVX22N7L.js} +1 -1
- package/dist/wallets/walletConnectors/{chunk-3ZWIUCOI.js → chunk-CJJT7LMT.js} +4 -4
- package/dist/wallets/walletConnectors/{chunk-6677RKVT.js → chunk-EKJHJFRN.js} +4 -4
- package/dist/wallets/walletConnectors/{chunk-MJXPRJZT.js → chunk-G4V5B6YC.js} +1 -1
- package/dist/wallets/walletConnectors/{chunk-RNIMZDHW.js → chunk-GH4M6FTK.js} +4 -4
- package/dist/wallets/walletConnectors/{chunk-3HZRRP4Y.js → chunk-GROWFRGP.js} +1 -1
- package/dist/wallets/walletConnectors/{chunk-4SC3PZVM.js → chunk-GSHSWVEG.js} +4 -4
- package/dist/wallets/walletConnectors/{chunk-PRGCIJ7Y.js → chunk-GVOQTORD.js} +4 -4
- package/dist/wallets/walletConnectors/{chunk-VU2RNIQG.js → chunk-HE2LMIPD.js} +1 -1
- package/dist/wallets/walletConnectors/{chunk-35Q4HKAM.js → chunk-HE5J5T7X.js} +1 -1
- package/dist/wallets/walletConnectors/{chunk-5FWURLPF.js → chunk-HETS3KKI.js} +4 -4
- package/dist/wallets/walletConnectors/{chunk-CF5HOLH2.js → chunk-HKVDCVCG.js} +1 -1
- package/dist/wallets/walletConnectors/{chunk-O6YFVGVQ.js → chunk-HOPH3TQ3.js} +4 -4
- package/dist/wallets/walletConnectors/{chunk-N7475PGA.js → chunk-IICWJWGZ.js} +4 -4
- package/dist/wallets/walletConnectors/{chunk-7CUY5G6R.js → chunk-INNF7G5X.js} +1 -1
- package/dist/wallets/walletConnectors/{chunk-COZ7MIQS.js → chunk-IUVO4IN3.js} +1 -1
- package/dist/wallets/walletConnectors/{chunk-NP5QGWNL.js → chunk-J34FG3W4.js} +1 -1
- package/dist/wallets/walletConnectors/{chunk-QHC4I2FM.js → chunk-JYVLYSH3.js} +1 -1
- package/dist/wallets/walletConnectors/{chunk-GEMN6DM5.js → chunk-KO56HCTI.js} +4 -4
- package/dist/wallets/walletConnectors/chunk-KV4HGYM3.js +37 -0
- package/dist/wallets/walletConnectors/{chunk-ENLR4LXN.js → chunk-LI6QY2B5.js} +4 -4
- package/dist/wallets/walletConnectors/{chunk-23WIEY36.js → chunk-MAPXJUOO.js} +4 -2
- package/dist/wallets/walletConnectors/{chunk-LH7BMNFZ.js → chunk-NHLG5PVD.js} +1 -1
- package/dist/wallets/walletConnectors/{chunk-TMFH6GXS.js → chunk-O7RSASRH.js} +1 -1
- package/dist/wallets/walletConnectors/{chunk-OCM5YHT5.js → chunk-PKMAPNN6.js} +4 -4
- package/dist/wallets/walletConnectors/{chunk-FCG5Q6JX.js → chunk-R4S234FL.js} +1 -1
- package/dist/wallets/walletConnectors/{chunk-OESTDX6I.js → chunk-RVWLP4IM.js} +1 -1
- package/dist/wallets/walletConnectors/{chunk-H4IRCEZN.js → chunk-RZXMOPIV.js} +8 -8
- package/dist/wallets/walletConnectors/{chunk-EMBU4RXK.js → chunk-TFVCCI2D.js} +1 -1
- package/dist/wallets/walletConnectors/{chunk-GXTI2PZD.js → chunk-TTHM3WUR.js} +4 -4
- package/dist/wallets/walletConnectors/{chunk-S27IADFU.js → chunk-UB2SSFH7.js} +1 -1
- package/dist/wallets/walletConnectors/{chunk-WSQ2YJO2.js → chunk-VUOAIUZE.js} +1 -1
- package/dist/wallets/walletConnectors/{chunk-MQSCN4BO.js → chunk-W6MXINYY.js} +1 -1
- package/dist/wallets/walletConnectors/{chunk-ABQKUIUD.js → chunk-W6TXXLCO.js} +1 -1
- package/dist/wallets/walletConnectors/{chunk-AI55G5DD.js → chunk-WDTNOIMF.js} +1 -1
- package/dist/wallets/walletConnectors/{chunk-LW6S43RE.js → chunk-WFNPWKU3.js} +1 -1
- package/dist/wallets/walletConnectors/{chunk-BRBKM4PW.js → chunk-WKCCLGHJ.js} +1 -1
- package/dist/wallets/walletConnectors/{chunk-FT5BX7TL.js → chunk-XBLHZICW.js} +4 -4
- package/dist/wallets/walletConnectors/{chunk-3IYE623P.js → chunk-XMNVOYSJ.js} +1 -1
- package/dist/wallets/walletConnectors/{chunk-BQQQL6UD.js → chunk-YKVWTGU7.js} +4 -2
- package/dist/wallets/walletConnectors/{chunk-4ZXII3UA.js → chunk-ZRNBHLUU.js} +1 -1
- package/dist/wallets/walletConnectors/clvWallet/clvWallet.js +4 -3
- package/dist/wallets/walletConnectors/coin98Wallet/coin98Wallet.js +4 -3
- package/dist/wallets/walletConnectors/coinbaseWallet/coinbaseWallet.d.ts +1 -1
- package/dist/wallets/walletConnectors/coinbaseWallet/coinbaseWallet.js +2 -1
- package/dist/wallets/walletConnectors/coreWallet/coreWallet.js +4 -3
- package/dist/wallets/walletConnectors/dawnWallet/dawnWallet.js +3 -2
- package/dist/wallets/walletConnectors/desigWallet/desigWallet.js +3 -2
- package/dist/wallets/walletConnectors/enkryptWallet/enkryptWallet.js +3 -2
- package/dist/wallets/walletConnectors/foxWallet/foxWallet.js +4 -3
- package/dist/wallets/walletConnectors/frameWallet/frameWallet.js +3 -2
- package/dist/wallets/walletConnectors/frontierWallet/frontierWallet.js +4 -3
- package/dist/wallets/walletConnectors/gateWallet/gateWallet.js +4 -3
- package/dist/wallets/walletConnectors/imTokenWallet/imTokenWallet.js +3 -2
- package/dist/wallets/walletConnectors/index.js +67 -66
- package/dist/wallets/walletConnectors/injectedWallet/injectedWallet.js +3 -2
- package/dist/wallets/walletConnectors/kresusWallet/kresusWallet.js +3 -2
- package/dist/wallets/walletConnectors/ledgerWallet/ledgerWallet.js +3 -2
- package/dist/wallets/walletConnectors/metaMaskWallet/metaMaskWallet.js +4 -3
- package/dist/wallets/walletConnectors/mewWallet/mewWallet.js +3 -2
- package/dist/wallets/walletConnectors/oktoWallet/oktoWallet.js +3 -2
- package/dist/wallets/walletConnectors/okxWallet/okxWallet.js +4 -3
- package/dist/wallets/walletConnectors/omniWallet/omniWallet.js +3 -2
- package/dist/wallets/walletConnectors/oneInchWallet/oneInchWallet.js +3 -2
- package/dist/wallets/walletConnectors/oneKeyWallet/oneKeyWallet.js +3 -2
- package/dist/wallets/walletConnectors/phantomWallet/phantomWallet.js +3 -2
- package/dist/wallets/walletConnectors/rabbyWallet/rabbyWallet.js +3 -2
- package/dist/wallets/walletConnectors/rainbowWallet/rainbowWallet.js +4 -3
- package/dist/wallets/walletConnectors/ramperWallet/ramperWallet.js +3 -2
- package/dist/wallets/walletConnectors/roninWallet/roninWallet.js +4 -3
- package/dist/wallets/walletConnectors/safeWallet/safeWallet.js +2 -1
- package/dist/wallets/walletConnectors/safeheronWallet/safeheronWallet.js +3 -2
- package/dist/wallets/walletConnectors/safepalWallet/safepalWallet.js +4 -3
- package/dist/wallets/walletConnectors/subWallet/subWallet.js +4 -3
- package/dist/wallets/walletConnectors/tahoWallet/tahoWallet.js +3 -2
- package/dist/wallets/walletConnectors/talismanWallet/talismanWallet.js +3 -2
- package/dist/wallets/walletConnectors/tokenPocketWallet/tokenPocketWallet.js +4 -3
- package/dist/wallets/walletConnectors/tokenaryWallet/tokenaryWallet.js +3 -2
- package/dist/wallets/walletConnectors/trustWallet/trustWallet.js +4 -3
- package/dist/wallets/walletConnectors/uniswapWallet/uniswapWallet.js +3 -2
- package/dist/wallets/walletConnectors/walletConnectWallet/walletConnectWallet.js +3 -2
- package/dist/wallets/walletConnectors/xdefiWallet/xdefiWallet.js +3 -2
- package/dist/wallets/walletConnectors/zealWallet/zealWallet.js +3 -2
- package/dist/wallets/walletConnectors/zerionWallet/zerionWallet.js +4 -3
- package/package.json +21 -21
- package/dist/components/ConnectButton/formatAccountName.d.ts +0 -14
- package/dist/components/FunButton/FunSignInButton.d.ts +0 -8
- package/dist/components/FunCheckoutHistory/FunCheckoutStatus.css.d.ts +0 -1
- package/dist/components/FunInput/FunTextAreaInput.css copy.d.ts +0 -1
- package/dist/components/FunKeyValue/FunKeyValue.d.ts +0 -32
- package/dist/components/FunTransactionSummary/FunTxSummaryComponents.css.d.ts +0 -2
- package/dist/components/Icons/New/HelpIcon.d.ts +0 -2
- package/dist/components/Icons/New/UserIcon.d.ts +0 -4
- package/dist/components/index.d.ts +0 -2
- package/dist/hooks/queries/useClientId.d.ts +0 -3
- package/dist/hooks/useDynamicFont.d.ts +0 -5
- package/dist/modals/CheckoutModal/ConfirmationStep/DirectExecutionBrokerageAndCardAlert.d.ts +0 -2
- package/dist/modals/CheckoutModal/InputAmount/AvailableBalance.d.ts +0 -8
- /package/dist/components/{FunCheckoutModalHeightAnimationWrapper → ModalHeightAnimationLayer}/FunCheckoutModalHeightAnimationWrapper.d.ts +0 -0
|
@@ -139,6 +139,8 @@ declare const themeContractValues: {
|
|
|
139
139
|
modalBottomBarButtonHeight: string;
|
|
140
140
|
modalBottomBarCloseButtonHeight: string;
|
|
141
141
|
modalTopBarHeight: string;
|
|
142
|
+
modalTopbarIconSize: string;
|
|
143
|
+
modalTopbarIconWrapperSize: string;
|
|
142
144
|
paymentAmountSkeletonBlockHeight: string;
|
|
143
145
|
paymentAmountSkeletonBlockWidth: string;
|
|
144
146
|
paymentAmountSkeletonCircleSize: string;
|
|
@@ -429,6 +431,7 @@ declare const themeContractValues: {
|
|
|
429
431
|
modalOverlay: string;
|
|
430
432
|
};
|
|
431
433
|
moonpayTheme: string;
|
|
434
|
+
modalZIndex: string;
|
|
432
435
|
};
|
|
433
436
|
export declare const validColorNames: string[];
|
|
434
437
|
export type ThemeVars = typeof themeContractValues;
|
|
@@ -571,6 +574,8 @@ export declare const themeVars: {
|
|
|
571
574
|
modalBottomBarButtonHeight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
572
575
|
modalBottomBarCloseButtonHeight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
573
576
|
modalTopBarHeight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
577
|
+
modalTopbarIconSize: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
578
|
+
modalTopbarIconWrapperSize: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
574
579
|
paymentAmountSkeletonBlockHeight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
575
580
|
paymentAmountSkeletonBlockWidth: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
576
581
|
paymentAmountSkeletonCircleSize: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
@@ -861,6 +866,7 @@ export declare const themeVars: {
|
|
|
861
866
|
modalOverlay: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
862
867
|
};
|
|
863
868
|
moonpayTheme: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
869
|
+
modalZIndex: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
864
870
|
};
|
|
865
871
|
export declare const largeScreenMinWidth = 768;
|
|
866
872
|
declare const responsiveProperties: {
|
|
@@ -1112,36 +1118,36 @@ export declare const sprinkles: ((props: {
|
|
|
1112
1118
|
readonly fontFamily?: "buttonTextPrimary" | "buttonTextTertiary" | "buttonTextSecondary" | "amountValue" | "body" | "header" | "inputAmount" | "txStatusDescription" | "txStatusTitle" | undefined;
|
|
1113
1119
|
readonly fontSize?: "inherit" | "buttonTextPrimary" | "buttonTextTertiary" | "buttonTextSecondary" | "body" | "inputAmount" | "txStatusDescription" | "txStatusTitle" | "cryptoCashToggle" | "modalTopbarTitle" | "modalBottomBarButtonText" | "paymentMethodItemSubtitle" | "paymentMethodItemTitle" | "selectAssetItemSubtitle" | "selectAssetItemTitle" | "txBreakdown" | "txSummaryLabel" | "txSummaryValue" | "10" | "12" | "13" | "14" | "16" | "18" | "20" | "21" | "40" | "57" | "header-14" | "header-36" | "dollarValue" | "modalTopbarSubtitle" | "youPayYouReceivePrimaryFontSize" | "youPayYouReceiveSecondaryFontSize" | "transferTokenLabelFontSize" | "depositAddressFontSize" | "funFeatureListItemFontSize" | "dropdownItemFontSize" | "sourceListSectionLabelFontSize" | "formOfPaymentsListSectionLabelFontSize" | undefined;
|
|
1114
1120
|
readonly fontWeight?: "inherit" | "medium" | "bold" | "inputAmount" | "txStatusDescription" | "txStatusTitle" | "regular" | "semibold" | "heavy" | "cryptoCashToggle" | "modalTopbarTitle" | "modalBottomBarButtonText" | "paymentMethodItemSubtitle" | "paymentMethodItemTitle" | "selectAssetItemSubtitle" | "selectAssetItemTitle" | "transferTokenLabelFontWeight" | "txBreakdown" | "txSummaryLabel" | "txSummaryValue" | "sourceListSectionLabelFontWeight" | "formOfPaymentsListSectionLabelFontWeight" | undefined;
|
|
1115
|
-
readonly gap?: "0" | "1" | "10" | "12" | "13" | "14" | "16" | "18" | "20" | "40" | "confirmationStepMarginTop" | "confirmationStepVerticalGap" | "cryptoCashToggleContainerPadding" | "cryptoCashToggleMarginBottom" | "cryptoCashToggleMarginTop" | "cryptoCashToggleTabPaddingY" | "modalBaseHorizontalPadding" | "modalBottomHorizontalPadding" | "modalPaddingBottomUpper" | "modalPaddingBottomLower" | "modalTopBarVerticalTextSpacing" | "modalBottomBarButtonPaddingY" | "selectAssetItemPaddingX" | "selectAssetItemPaddingY" | "selectAssetItemTextGap" | "selectBrokerageItemPaddingX" | "selectBrokerageItemPaddingY" | "txBreakdownMarginY" | "txBreakdownPaddingX" | "txSummaryBoxPaddingX" | "txSummaryBoxPaddingY" | "txSummaryLineItemPadding" | "txSummaryDividerMarginX" | "txSummaryDividerMarginY" | "verticalSectionGap" | "youPayYouReceivePaddingLeft" | "youPayYouReceivePaddingRight" | "youPayYouReceivePaddingY" | "2" | "3" | "4" | "6" | "8" | "11" | "24" | "30" | "15" | "28" | "32" | "36" | "44" | "-1" | "5" | "7" | "9" | "64" | undefined;
|
|
1116
|
-
readonly height?: "1" | "connectExchangeIconSize" | "cryptoCashToggleIconSize" | "dollarValueSkeletonHeight" | "dollarValueSkeletonWidth" | "inputAmountQuickOptionButtonHeight" | "inputAmountMinHeight" | "modalBottomBarButtonHeight" | "modalBottomBarCloseButtonHeight" | "modalTopBarHeight" | "paymentAmountSkeletonBlockHeight" | "paymentAmountSkeletonBlockWidth" | "paymentAmountSkeletonCircleSize" | "paymentMethodItemIconSize" | "selectAssetItemIconSize" | "txBreakdownSkeletonWidth" | "txSummaryLineSkeletonHeight" | "txSummaryLineSkeletonWidth" | "10" | "12" | "13" | "14" | "16" | "18" | "20" | "40" | "57" | "2" | "4" | "8" | "11" | "24" | "30" | "full" | "15" | "28" | "32" | "34" | "36" | "44" | "48" | "50" | "54" | "60" | "72" | "76" | "93" | "96" | "100" | "108" | "120" | "160" | "180" | "200" | "240" | "300" | "half" | "max" | undefined;
|
|
1121
|
+
readonly gap?: "0" | "1" | "10" | "12" | "13" | "14" | "16" | "18" | "20" | "40" | "confirmationStepMarginTop" | "confirmationStepVerticalGap" | "cryptoCashToggleContainerPadding" | "cryptoCashToggleMarginBottom" | "cryptoCashToggleMarginTop" | "cryptoCashToggleTabPaddingY" | "modalBaseHorizontalPadding" | "modalBottomHorizontalPadding" | "modalPaddingBottomUpper" | "modalPaddingBottomLower" | "modalTopBarVerticalTextSpacing" | "modalBottomBarButtonPaddingY" | "selectAssetItemPaddingX" | "selectAssetItemPaddingY" | "selectAssetItemTextGap" | "selectBrokerageItemPaddingX" | "selectBrokerageItemPaddingY" | "txBreakdownMarginY" | "txBreakdownPaddingX" | "txSummaryBoxPaddingX" | "txSummaryBoxPaddingY" | "txSummaryLineItemPadding" | "txSummaryDividerMarginX" | "txSummaryDividerMarginY" | "verticalSectionGap" | "youPayYouReceivePaddingLeft" | "youPayYouReceivePaddingRight" | "youPayYouReceivePaddingY" | "2" | "3" | "4" | "6" | "8" | "11" | "24" | "30" | "15" | "28" | "32" | "36" | "44" | "-1" | "5" | "7" | "9" | "22" | "64" | undefined;
|
|
1122
|
+
readonly height?: "1" | "connectExchangeIconSize" | "cryptoCashToggleIconSize" | "dollarValueSkeletonHeight" | "dollarValueSkeletonWidth" | "inputAmountQuickOptionButtonHeight" | "inputAmountMinHeight" | "modalBottomBarButtonHeight" | "modalBottomBarCloseButtonHeight" | "modalTopBarHeight" | "modalTopbarIconSize" | "modalTopbarIconWrapperSize" | "paymentAmountSkeletonBlockHeight" | "paymentAmountSkeletonBlockWidth" | "paymentAmountSkeletonCircleSize" | "paymentMethodItemIconSize" | "selectAssetItemIconSize" | "txBreakdownSkeletonWidth" | "txSummaryLineSkeletonHeight" | "txSummaryLineSkeletonWidth" | "10" | "12" | "13" | "14" | "16" | "18" | "20" | "40" | "57" | "2" | "4" | "8" | "11" | "24" | "30" | "full" | "15" | "28" | "32" | "34" | "36" | "44" | "48" | "50" | "54" | "60" | "72" | "76" | "93" | "96" | "100" | "108" | "120" | "160" | "180" | "200" | "240" | "300" | "half" | "max" | undefined;
|
|
1117
1123
|
readonly justifyContent?: "center" | "space-around" | "space-between" | "flex-end" | "flex-start" | undefined;
|
|
1118
1124
|
readonly textAlign?: "inherit" | "left" | "right" | "center" | undefined;
|
|
1119
|
-
readonly marginBottom?: "auto" | "0" | "1" | "10" | "12" | "13" | "14" | "16" | "18" | "20" | "40" | "confirmationStepMarginTop" | "confirmationStepVerticalGap" | "cryptoCashToggleContainerPadding" | "cryptoCashToggleMarginBottom" | "cryptoCashToggleMarginTop" | "cryptoCashToggleTabPaddingY" | "modalBaseHorizontalPadding" | "modalBottomHorizontalPadding" | "modalPaddingBottomUpper" | "modalPaddingBottomLower" | "modalTopBarVerticalTextSpacing" | "modalBottomBarButtonPaddingY" | "selectAssetItemPaddingX" | "selectAssetItemPaddingY" | "selectAssetItemTextGap" | "selectBrokerageItemPaddingX" | "selectBrokerageItemPaddingY" | "txBreakdownMarginY" | "txBreakdownPaddingX" | "txSummaryBoxPaddingX" | "txSummaryBoxPaddingY" | "txSummaryLineItemPadding" | "txSummaryDividerMarginX" | "txSummaryDividerMarginY" | "verticalSectionGap" | "youPayYouReceivePaddingLeft" | "youPayYouReceivePaddingRight" | "youPayYouReceivePaddingY" | "2" | "3" | "4" | "6" | "8" | "11" | "24" | "30" | "15" | "28" | "32" | "36" | "44" | "-1" | "5" | "7" | "9" | "64" | "-18" | "-12" | undefined;
|
|
1120
|
-
readonly marginLeft?: "auto" | "0" | "1" | "10" | "12" | "13" | "14" | "16" | "18" | "20" | "40" | "confirmationStepMarginTop" | "confirmationStepVerticalGap" | "cryptoCashToggleContainerPadding" | "cryptoCashToggleMarginBottom" | "cryptoCashToggleMarginTop" | "cryptoCashToggleTabPaddingY" | "modalBaseHorizontalPadding" | "modalBottomHorizontalPadding" | "modalPaddingBottomUpper" | "modalPaddingBottomLower" | "modalTopBarVerticalTextSpacing" | "modalBottomBarButtonPaddingY" | "selectAssetItemPaddingX" | "selectAssetItemPaddingY" | "selectAssetItemTextGap" | "selectBrokerageItemPaddingX" | "selectBrokerageItemPaddingY" | "txBreakdownMarginY" | "txBreakdownPaddingX" | "txSummaryBoxPaddingX" | "txSummaryBoxPaddingY" | "txSummaryLineItemPadding" | "txSummaryDividerMarginX" | "txSummaryDividerMarginY" | "verticalSectionGap" | "youPayYouReceivePaddingLeft" | "youPayYouReceivePaddingRight" | "youPayYouReceivePaddingY" | "2" | "3" | "4" | "6" | "8" | "11" | "24" | "30" | "15" | "28" | "32" | "36" | "44" | "-1" | "5" | "7" | "9" | "64" | "-18" | "-12" | undefined;
|
|
1121
|
-
readonly marginRight?: "auto" | "0" | "1" | "10" | "12" | "13" | "14" | "16" | "18" | "20" | "40" | "confirmationStepMarginTop" | "confirmationStepVerticalGap" | "cryptoCashToggleContainerPadding" | "cryptoCashToggleMarginBottom" | "cryptoCashToggleMarginTop" | "cryptoCashToggleTabPaddingY" | "modalBaseHorizontalPadding" | "modalBottomHorizontalPadding" | "modalPaddingBottomUpper" | "modalPaddingBottomLower" | "modalTopBarVerticalTextSpacing" | "modalBottomBarButtonPaddingY" | "selectAssetItemPaddingX" | "selectAssetItemPaddingY" | "selectAssetItemTextGap" | "selectBrokerageItemPaddingX" | "selectBrokerageItemPaddingY" | "txBreakdownMarginY" | "txBreakdownPaddingX" | "txSummaryBoxPaddingX" | "txSummaryBoxPaddingY" | "txSummaryLineItemPadding" | "txSummaryDividerMarginX" | "txSummaryDividerMarginY" | "verticalSectionGap" | "youPayYouReceivePaddingLeft" | "youPayYouReceivePaddingRight" | "youPayYouReceivePaddingY" | "2" | "3" | "4" | "6" | "8" | "11" | "24" | "30" | "15" | "28" | "32" | "36" | "44" | "-1" | "5" | "7" | "9" | "64" | "-18" | "-12" | undefined;
|
|
1122
|
-
readonly marginTop?: "auto" | "0" | "1" | "10" | "12" | "13" | "14" | "16" | "18" | "20" | "40" | "confirmationStepMarginTop" | "confirmationStepVerticalGap" | "cryptoCashToggleContainerPadding" | "cryptoCashToggleMarginBottom" | "cryptoCashToggleMarginTop" | "cryptoCashToggleTabPaddingY" | "modalBaseHorizontalPadding" | "modalBottomHorizontalPadding" | "modalPaddingBottomUpper" | "modalPaddingBottomLower" | "modalTopBarVerticalTextSpacing" | "modalBottomBarButtonPaddingY" | "selectAssetItemPaddingX" | "selectAssetItemPaddingY" | "selectAssetItemTextGap" | "selectBrokerageItemPaddingX" | "selectBrokerageItemPaddingY" | "txBreakdownMarginY" | "txBreakdownPaddingX" | "txSummaryBoxPaddingX" | "txSummaryBoxPaddingY" | "txSummaryLineItemPadding" | "txSummaryDividerMarginX" | "txSummaryDividerMarginY" | "verticalSectionGap" | "youPayYouReceivePaddingLeft" | "youPayYouReceivePaddingRight" | "youPayYouReceivePaddingY" | "2" | "3" | "4" | "6" | "8" | "11" | "24" | "30" | "15" | "28" | "32" | "36" | "44" | "-1" | "5" | "7" | "9" | "64" | "-18" | "-12" | undefined;
|
|
1123
|
-
readonly minHeight?: "1" | "connectExchangeIconSize" | "cryptoCashToggleIconSize" | "dollarValueSkeletonHeight" | "dollarValueSkeletonWidth" | "inputAmountQuickOptionButtonHeight" | "inputAmountMinHeight" | "modalBottomBarButtonHeight" | "modalBottomBarCloseButtonHeight" | "modalTopBarHeight" | "paymentAmountSkeletonBlockHeight" | "paymentAmountSkeletonBlockWidth" | "paymentAmountSkeletonCircleSize" | "paymentMethodItemIconSize" | "selectAssetItemIconSize" | "txBreakdownSkeletonWidth" | "txSummaryLineSkeletonHeight" | "txSummaryLineSkeletonWidth" | "10" | "12" | "13" | "14" | "16" | "18" | "20" | "40" | "57" | "2" | "4" | "8" | "11" | "24" | "30" | "full" | "15" | "28" | "32" | "34" | "36" | "44" | "48" | "50" | "54" | "60" | "72" | "76" | "93" | "96" | "100" | "108" | "120" | "160" | "180" | "200" | "240" | "300" | "half" | "max" | undefined;
|
|
1124
|
-
readonly maxHeight?: "1" | "connectExchangeIconSize" | "cryptoCashToggleIconSize" | "dollarValueSkeletonHeight" | "dollarValueSkeletonWidth" | "inputAmountQuickOptionButtonHeight" | "inputAmountMinHeight" | "modalBottomBarButtonHeight" | "modalBottomBarCloseButtonHeight" | "modalTopBarHeight" | "paymentAmountSkeletonBlockHeight" | "paymentAmountSkeletonBlockWidth" | "paymentAmountSkeletonCircleSize" | "paymentMethodItemIconSize" | "selectAssetItemIconSize" | "txBreakdownSkeletonWidth" | "txSummaryLineSkeletonHeight" | "txSummaryLineSkeletonWidth" | "10" | "12" | "13" | "14" | "16" | "18" | "20" | "40" | "57" | "2" | "4" | "8" | "11" | "24" | "30" | "full" | "15" | "28" | "32" | "34" | "36" | "44" | "48" | "50" | "54" | "60" | "72" | "76" | "93" | "96" | "100" | "108" | "120" | "160" | "180" | "200" | "240" | "300" | "half" | "max" | undefined;
|
|
1125
|
-
readonly maxWidth?: "1" | "connectExchangeIconSize" | "cryptoCashToggleIconSize" | "dollarValueSkeletonHeight" | "dollarValueSkeletonWidth" | "inputAmountQuickOptionButtonHeight" | "inputAmountMinHeight" | "modalBottomBarButtonHeight" | "modalBottomBarCloseButtonHeight" | "modalTopBarHeight" | "paymentAmountSkeletonBlockHeight" | "paymentAmountSkeletonBlockWidth" | "paymentAmountSkeletonCircleSize" | "paymentMethodItemIconSize" | "selectAssetItemIconSize" | "txBreakdownSkeletonWidth" | "txSummaryLineSkeletonHeight" | "txSummaryLineSkeletonWidth" | "10" | "12" | "13" | "14" | "16" | "18" | "20" | "40" | "57" | "2" | "4" | "8" | "11" | "24" | "30" | "full" | "15" | "28" | "32" | "34" | "36" | "44" | "48" | "50" | "54" | "60" | "72" | "76" | "93" | "96" | "100" | "108" | "120" | "160" | "180" | "200" | "240" | "300" | "half" | "max" | undefined;
|
|
1126
|
-
readonly minWidth?: "1" | "connectExchangeIconSize" | "cryptoCashToggleIconSize" | "dollarValueSkeletonHeight" | "dollarValueSkeletonWidth" | "inputAmountQuickOptionButtonHeight" | "inputAmountMinHeight" | "modalBottomBarButtonHeight" | "modalBottomBarCloseButtonHeight" | "modalTopBarHeight" | "paymentAmountSkeletonBlockHeight" | "paymentAmountSkeletonBlockWidth" | "paymentAmountSkeletonCircleSize" | "paymentMethodItemIconSize" | "selectAssetItemIconSize" | "txBreakdownSkeletonWidth" | "txSummaryLineSkeletonHeight" | "txSummaryLineSkeletonWidth" | "10" | "12" | "13" | "14" | "16" | "18" | "20" | "40" | "57" | "2" | "4" | "8" | "11" | "24" | "30" | "full" | "15" | "28" | "32" | "34" | "36" | "44" | "48" | "50" | "54" | "60" | "72" | "76" | "93" | "96" | "100" | "108" | "120" | "160" | "180" | "200" | "240" | "300" | "half" | "max" | undefined;
|
|
1125
|
+
readonly marginBottom?: "auto" | "0" | "1" | "10" | "12" | "13" | "14" | "16" | "18" | "20" | "40" | "confirmationStepMarginTop" | "confirmationStepVerticalGap" | "cryptoCashToggleContainerPadding" | "cryptoCashToggleMarginBottom" | "cryptoCashToggleMarginTop" | "cryptoCashToggleTabPaddingY" | "modalBaseHorizontalPadding" | "modalBottomHorizontalPadding" | "modalPaddingBottomUpper" | "modalPaddingBottomLower" | "modalTopBarVerticalTextSpacing" | "modalBottomBarButtonPaddingY" | "selectAssetItemPaddingX" | "selectAssetItemPaddingY" | "selectAssetItemTextGap" | "selectBrokerageItemPaddingX" | "selectBrokerageItemPaddingY" | "txBreakdownMarginY" | "txBreakdownPaddingX" | "txSummaryBoxPaddingX" | "txSummaryBoxPaddingY" | "txSummaryLineItemPadding" | "txSummaryDividerMarginX" | "txSummaryDividerMarginY" | "verticalSectionGap" | "youPayYouReceivePaddingLeft" | "youPayYouReceivePaddingRight" | "youPayYouReceivePaddingY" | "2" | "3" | "4" | "6" | "8" | "11" | "24" | "30" | "15" | "28" | "32" | "36" | "44" | "-1" | "5" | "7" | "9" | "22" | "64" | "-18" | "-12" | undefined;
|
|
1126
|
+
readonly marginLeft?: "auto" | "0" | "1" | "10" | "12" | "13" | "14" | "16" | "18" | "20" | "40" | "confirmationStepMarginTop" | "confirmationStepVerticalGap" | "cryptoCashToggleContainerPadding" | "cryptoCashToggleMarginBottom" | "cryptoCashToggleMarginTop" | "cryptoCashToggleTabPaddingY" | "modalBaseHorizontalPadding" | "modalBottomHorizontalPadding" | "modalPaddingBottomUpper" | "modalPaddingBottomLower" | "modalTopBarVerticalTextSpacing" | "modalBottomBarButtonPaddingY" | "selectAssetItemPaddingX" | "selectAssetItemPaddingY" | "selectAssetItemTextGap" | "selectBrokerageItemPaddingX" | "selectBrokerageItemPaddingY" | "txBreakdownMarginY" | "txBreakdownPaddingX" | "txSummaryBoxPaddingX" | "txSummaryBoxPaddingY" | "txSummaryLineItemPadding" | "txSummaryDividerMarginX" | "txSummaryDividerMarginY" | "verticalSectionGap" | "youPayYouReceivePaddingLeft" | "youPayYouReceivePaddingRight" | "youPayYouReceivePaddingY" | "2" | "3" | "4" | "6" | "8" | "11" | "24" | "30" | "15" | "28" | "32" | "36" | "44" | "-1" | "5" | "7" | "9" | "22" | "64" | "-18" | "-12" | undefined;
|
|
1127
|
+
readonly marginRight?: "auto" | "0" | "1" | "10" | "12" | "13" | "14" | "16" | "18" | "20" | "40" | "confirmationStepMarginTop" | "confirmationStepVerticalGap" | "cryptoCashToggleContainerPadding" | "cryptoCashToggleMarginBottom" | "cryptoCashToggleMarginTop" | "cryptoCashToggleTabPaddingY" | "modalBaseHorizontalPadding" | "modalBottomHorizontalPadding" | "modalPaddingBottomUpper" | "modalPaddingBottomLower" | "modalTopBarVerticalTextSpacing" | "modalBottomBarButtonPaddingY" | "selectAssetItemPaddingX" | "selectAssetItemPaddingY" | "selectAssetItemTextGap" | "selectBrokerageItemPaddingX" | "selectBrokerageItemPaddingY" | "txBreakdownMarginY" | "txBreakdownPaddingX" | "txSummaryBoxPaddingX" | "txSummaryBoxPaddingY" | "txSummaryLineItemPadding" | "txSummaryDividerMarginX" | "txSummaryDividerMarginY" | "verticalSectionGap" | "youPayYouReceivePaddingLeft" | "youPayYouReceivePaddingRight" | "youPayYouReceivePaddingY" | "2" | "3" | "4" | "6" | "8" | "11" | "24" | "30" | "15" | "28" | "32" | "36" | "44" | "-1" | "5" | "7" | "9" | "22" | "64" | "-18" | "-12" | undefined;
|
|
1128
|
+
readonly marginTop?: "auto" | "0" | "1" | "10" | "12" | "13" | "14" | "16" | "18" | "20" | "40" | "confirmationStepMarginTop" | "confirmationStepVerticalGap" | "cryptoCashToggleContainerPadding" | "cryptoCashToggleMarginBottom" | "cryptoCashToggleMarginTop" | "cryptoCashToggleTabPaddingY" | "modalBaseHorizontalPadding" | "modalBottomHorizontalPadding" | "modalPaddingBottomUpper" | "modalPaddingBottomLower" | "modalTopBarVerticalTextSpacing" | "modalBottomBarButtonPaddingY" | "selectAssetItemPaddingX" | "selectAssetItemPaddingY" | "selectAssetItemTextGap" | "selectBrokerageItemPaddingX" | "selectBrokerageItemPaddingY" | "txBreakdownMarginY" | "txBreakdownPaddingX" | "txSummaryBoxPaddingX" | "txSummaryBoxPaddingY" | "txSummaryLineItemPadding" | "txSummaryDividerMarginX" | "txSummaryDividerMarginY" | "verticalSectionGap" | "youPayYouReceivePaddingLeft" | "youPayYouReceivePaddingRight" | "youPayYouReceivePaddingY" | "2" | "3" | "4" | "6" | "8" | "11" | "24" | "30" | "15" | "28" | "32" | "36" | "44" | "-1" | "5" | "7" | "9" | "22" | "64" | "-18" | "-12" | undefined;
|
|
1129
|
+
readonly minHeight?: "1" | "connectExchangeIconSize" | "cryptoCashToggleIconSize" | "dollarValueSkeletonHeight" | "dollarValueSkeletonWidth" | "inputAmountQuickOptionButtonHeight" | "inputAmountMinHeight" | "modalBottomBarButtonHeight" | "modalBottomBarCloseButtonHeight" | "modalTopBarHeight" | "modalTopbarIconSize" | "modalTopbarIconWrapperSize" | "paymentAmountSkeletonBlockHeight" | "paymentAmountSkeletonBlockWidth" | "paymentAmountSkeletonCircleSize" | "paymentMethodItemIconSize" | "selectAssetItemIconSize" | "txBreakdownSkeletonWidth" | "txSummaryLineSkeletonHeight" | "txSummaryLineSkeletonWidth" | "10" | "12" | "13" | "14" | "16" | "18" | "20" | "40" | "57" | "2" | "4" | "8" | "11" | "24" | "30" | "full" | "15" | "28" | "32" | "34" | "36" | "44" | "48" | "50" | "54" | "60" | "72" | "76" | "93" | "96" | "100" | "108" | "120" | "160" | "180" | "200" | "240" | "300" | "half" | "max" | undefined;
|
|
1130
|
+
readonly maxHeight?: "1" | "connectExchangeIconSize" | "cryptoCashToggleIconSize" | "dollarValueSkeletonHeight" | "dollarValueSkeletonWidth" | "inputAmountQuickOptionButtonHeight" | "inputAmountMinHeight" | "modalBottomBarButtonHeight" | "modalBottomBarCloseButtonHeight" | "modalTopBarHeight" | "modalTopbarIconSize" | "modalTopbarIconWrapperSize" | "paymentAmountSkeletonBlockHeight" | "paymentAmountSkeletonBlockWidth" | "paymentAmountSkeletonCircleSize" | "paymentMethodItemIconSize" | "selectAssetItemIconSize" | "txBreakdownSkeletonWidth" | "txSummaryLineSkeletonHeight" | "txSummaryLineSkeletonWidth" | "10" | "12" | "13" | "14" | "16" | "18" | "20" | "40" | "57" | "2" | "4" | "8" | "11" | "24" | "30" | "full" | "15" | "28" | "32" | "34" | "36" | "44" | "48" | "50" | "54" | "60" | "72" | "76" | "93" | "96" | "100" | "108" | "120" | "160" | "180" | "200" | "240" | "300" | "half" | "max" | undefined;
|
|
1131
|
+
readonly maxWidth?: "1" | "connectExchangeIconSize" | "cryptoCashToggleIconSize" | "dollarValueSkeletonHeight" | "dollarValueSkeletonWidth" | "inputAmountQuickOptionButtonHeight" | "inputAmountMinHeight" | "modalBottomBarButtonHeight" | "modalBottomBarCloseButtonHeight" | "modalTopBarHeight" | "modalTopbarIconSize" | "modalTopbarIconWrapperSize" | "paymentAmountSkeletonBlockHeight" | "paymentAmountSkeletonBlockWidth" | "paymentAmountSkeletonCircleSize" | "paymentMethodItemIconSize" | "selectAssetItemIconSize" | "txBreakdownSkeletonWidth" | "txSummaryLineSkeletonHeight" | "txSummaryLineSkeletonWidth" | "10" | "12" | "13" | "14" | "16" | "18" | "20" | "40" | "57" | "2" | "4" | "8" | "11" | "24" | "30" | "full" | "15" | "28" | "32" | "34" | "36" | "44" | "48" | "50" | "54" | "60" | "72" | "76" | "93" | "96" | "100" | "108" | "120" | "160" | "180" | "200" | "240" | "300" | "half" | "max" | undefined;
|
|
1132
|
+
readonly minWidth?: "1" | "connectExchangeIconSize" | "cryptoCashToggleIconSize" | "dollarValueSkeletonHeight" | "dollarValueSkeletonWidth" | "inputAmountQuickOptionButtonHeight" | "inputAmountMinHeight" | "modalBottomBarButtonHeight" | "modalBottomBarCloseButtonHeight" | "modalTopBarHeight" | "modalTopbarIconSize" | "modalTopbarIconWrapperSize" | "paymentAmountSkeletonBlockHeight" | "paymentAmountSkeletonBlockWidth" | "paymentAmountSkeletonCircleSize" | "paymentMethodItemIconSize" | "selectAssetItemIconSize" | "txBreakdownSkeletonWidth" | "txSummaryLineSkeletonHeight" | "txSummaryLineSkeletonWidth" | "10" | "12" | "13" | "14" | "16" | "18" | "20" | "40" | "57" | "2" | "4" | "8" | "11" | "24" | "30" | "full" | "15" | "28" | "32" | "34" | "36" | "44" | "48" | "50" | "54" | "60" | "72" | "76" | "93" | "96" | "100" | "108" | "120" | "160" | "180" | "200" | "240" | "300" | "half" | "max" | undefined;
|
|
1127
1133
|
readonly overflow?: "hidden" | undefined;
|
|
1128
|
-
readonly paddingBottom?: "0" | "1" | "10" | "12" | "13" | "14" | "16" | "18" | "20" | "40" | "confirmationStepMarginTop" | "confirmationStepVerticalGap" | "cryptoCashToggleContainerPadding" | "cryptoCashToggleMarginBottom" | "cryptoCashToggleMarginTop" | "cryptoCashToggleTabPaddingY" | "modalBaseHorizontalPadding" | "modalBottomHorizontalPadding" | "modalPaddingBottomUpper" | "modalPaddingBottomLower" | "modalTopBarVerticalTextSpacing" | "modalBottomBarButtonPaddingY" | "selectAssetItemPaddingX" | "selectAssetItemPaddingY" | "selectAssetItemTextGap" | "selectBrokerageItemPaddingX" | "selectBrokerageItemPaddingY" | "txBreakdownMarginY" | "txBreakdownPaddingX" | "txSummaryBoxPaddingX" | "txSummaryBoxPaddingY" | "txSummaryLineItemPadding" | "txSummaryDividerMarginX" | "txSummaryDividerMarginY" | "verticalSectionGap" | "youPayYouReceivePaddingLeft" | "youPayYouReceivePaddingRight" | "youPayYouReceivePaddingY" | "2" | "3" | "4" | "6" | "8" | "11" | "24" | "30" | "15" | "28" | "32" | "36" | "44" | "-1" | "5" | "7" | "9" | "64" | undefined;
|
|
1129
|
-
readonly paddingLeft?: "0" | "1" | "10" | "12" | "13" | "14" | "16" | "18" | "20" | "40" | "confirmationStepMarginTop" | "confirmationStepVerticalGap" | "cryptoCashToggleContainerPadding" | "cryptoCashToggleMarginBottom" | "cryptoCashToggleMarginTop" | "cryptoCashToggleTabPaddingY" | "modalBaseHorizontalPadding" | "modalBottomHorizontalPadding" | "modalPaddingBottomUpper" | "modalPaddingBottomLower" | "modalTopBarVerticalTextSpacing" | "modalBottomBarButtonPaddingY" | "selectAssetItemPaddingX" | "selectAssetItemPaddingY" | "selectAssetItemTextGap" | "selectBrokerageItemPaddingX" | "selectBrokerageItemPaddingY" | "txBreakdownMarginY" | "txBreakdownPaddingX" | "txSummaryBoxPaddingX" | "txSummaryBoxPaddingY" | "txSummaryLineItemPadding" | "txSummaryDividerMarginX" | "txSummaryDividerMarginY" | "verticalSectionGap" | "youPayYouReceivePaddingLeft" | "youPayYouReceivePaddingRight" | "youPayYouReceivePaddingY" | "2" | "3" | "4" | "6" | "8" | "11" | "24" | "30" | "15" | "28" | "32" | "36" | "44" | "-1" | "5" | "7" | "9" | "64" | undefined;
|
|
1130
|
-
readonly paddingRight?: "0" | "1" | "10" | "12" | "13" | "14" | "16" | "18" | "20" | "40" | "confirmationStepMarginTop" | "confirmationStepVerticalGap" | "cryptoCashToggleContainerPadding" | "cryptoCashToggleMarginBottom" | "cryptoCashToggleMarginTop" | "cryptoCashToggleTabPaddingY" | "modalBaseHorizontalPadding" | "modalBottomHorizontalPadding" | "modalPaddingBottomUpper" | "modalPaddingBottomLower" | "modalTopBarVerticalTextSpacing" | "modalBottomBarButtonPaddingY" | "selectAssetItemPaddingX" | "selectAssetItemPaddingY" | "selectAssetItemTextGap" | "selectBrokerageItemPaddingX" | "selectBrokerageItemPaddingY" | "txBreakdownMarginY" | "txBreakdownPaddingX" | "txSummaryBoxPaddingX" | "txSummaryBoxPaddingY" | "txSummaryLineItemPadding" | "txSummaryDividerMarginX" | "txSummaryDividerMarginY" | "verticalSectionGap" | "youPayYouReceivePaddingLeft" | "youPayYouReceivePaddingRight" | "youPayYouReceivePaddingY" | "2" | "3" | "4" | "6" | "8" | "11" | "24" | "30" | "15" | "28" | "32" | "36" | "44" | "-1" | "5" | "7" | "9" | "64" | undefined;
|
|
1131
|
-
readonly paddingTop?: "0" | "1" | "10" | "12" | "13" | "14" | "16" | "18" | "20" | "40" | "confirmationStepMarginTop" | "confirmationStepVerticalGap" | "cryptoCashToggleContainerPadding" | "cryptoCashToggleMarginBottom" | "cryptoCashToggleMarginTop" | "cryptoCashToggleTabPaddingY" | "modalBaseHorizontalPadding" | "modalBottomHorizontalPadding" | "modalPaddingBottomUpper" | "modalPaddingBottomLower" | "modalTopBarVerticalTextSpacing" | "modalBottomBarButtonPaddingY" | "selectAssetItemPaddingX" | "selectAssetItemPaddingY" | "selectAssetItemTextGap" | "selectBrokerageItemPaddingX" | "selectBrokerageItemPaddingY" | "txBreakdownMarginY" | "txBreakdownPaddingX" | "txSummaryBoxPaddingX" | "txSummaryBoxPaddingY" | "txSummaryLineItemPadding" | "txSummaryDividerMarginX" | "txSummaryDividerMarginY" | "verticalSectionGap" | "youPayYouReceivePaddingLeft" | "youPayYouReceivePaddingRight" | "youPayYouReceivePaddingY" | "2" | "3" | "4" | "6" | "8" | "11" | "24" | "30" | "15" | "28" | "32" | "36" | "44" | "-1" | "5" | "7" | "9" | "64" | undefined;
|
|
1134
|
+
readonly paddingBottom?: "0" | "1" | "10" | "12" | "13" | "14" | "16" | "18" | "20" | "40" | "confirmationStepMarginTop" | "confirmationStepVerticalGap" | "cryptoCashToggleContainerPadding" | "cryptoCashToggleMarginBottom" | "cryptoCashToggleMarginTop" | "cryptoCashToggleTabPaddingY" | "modalBaseHorizontalPadding" | "modalBottomHorizontalPadding" | "modalPaddingBottomUpper" | "modalPaddingBottomLower" | "modalTopBarVerticalTextSpacing" | "modalBottomBarButtonPaddingY" | "selectAssetItemPaddingX" | "selectAssetItemPaddingY" | "selectAssetItemTextGap" | "selectBrokerageItemPaddingX" | "selectBrokerageItemPaddingY" | "txBreakdownMarginY" | "txBreakdownPaddingX" | "txSummaryBoxPaddingX" | "txSummaryBoxPaddingY" | "txSummaryLineItemPadding" | "txSummaryDividerMarginX" | "txSummaryDividerMarginY" | "verticalSectionGap" | "youPayYouReceivePaddingLeft" | "youPayYouReceivePaddingRight" | "youPayYouReceivePaddingY" | "2" | "3" | "4" | "6" | "8" | "11" | "24" | "30" | "15" | "28" | "32" | "36" | "44" | "-1" | "5" | "7" | "9" | "22" | "64" | undefined;
|
|
1135
|
+
readonly paddingLeft?: "0" | "1" | "10" | "12" | "13" | "14" | "16" | "18" | "20" | "40" | "confirmationStepMarginTop" | "confirmationStepVerticalGap" | "cryptoCashToggleContainerPadding" | "cryptoCashToggleMarginBottom" | "cryptoCashToggleMarginTop" | "cryptoCashToggleTabPaddingY" | "modalBaseHorizontalPadding" | "modalBottomHorizontalPadding" | "modalPaddingBottomUpper" | "modalPaddingBottomLower" | "modalTopBarVerticalTextSpacing" | "modalBottomBarButtonPaddingY" | "selectAssetItemPaddingX" | "selectAssetItemPaddingY" | "selectAssetItemTextGap" | "selectBrokerageItemPaddingX" | "selectBrokerageItemPaddingY" | "txBreakdownMarginY" | "txBreakdownPaddingX" | "txSummaryBoxPaddingX" | "txSummaryBoxPaddingY" | "txSummaryLineItemPadding" | "txSummaryDividerMarginX" | "txSummaryDividerMarginY" | "verticalSectionGap" | "youPayYouReceivePaddingLeft" | "youPayYouReceivePaddingRight" | "youPayYouReceivePaddingY" | "2" | "3" | "4" | "6" | "8" | "11" | "24" | "30" | "15" | "28" | "32" | "36" | "44" | "-1" | "5" | "7" | "9" | "22" | "64" | undefined;
|
|
1136
|
+
readonly paddingRight?: "0" | "1" | "10" | "12" | "13" | "14" | "16" | "18" | "20" | "40" | "confirmationStepMarginTop" | "confirmationStepVerticalGap" | "cryptoCashToggleContainerPadding" | "cryptoCashToggleMarginBottom" | "cryptoCashToggleMarginTop" | "cryptoCashToggleTabPaddingY" | "modalBaseHorizontalPadding" | "modalBottomHorizontalPadding" | "modalPaddingBottomUpper" | "modalPaddingBottomLower" | "modalTopBarVerticalTextSpacing" | "modalBottomBarButtonPaddingY" | "selectAssetItemPaddingX" | "selectAssetItemPaddingY" | "selectAssetItemTextGap" | "selectBrokerageItemPaddingX" | "selectBrokerageItemPaddingY" | "txBreakdownMarginY" | "txBreakdownPaddingX" | "txSummaryBoxPaddingX" | "txSummaryBoxPaddingY" | "txSummaryLineItemPadding" | "txSummaryDividerMarginX" | "txSummaryDividerMarginY" | "verticalSectionGap" | "youPayYouReceivePaddingLeft" | "youPayYouReceivePaddingRight" | "youPayYouReceivePaddingY" | "2" | "3" | "4" | "6" | "8" | "11" | "24" | "30" | "15" | "28" | "32" | "36" | "44" | "-1" | "5" | "7" | "9" | "22" | "64" | undefined;
|
|
1137
|
+
readonly paddingTop?: "0" | "1" | "10" | "12" | "13" | "14" | "16" | "18" | "20" | "40" | "confirmationStepMarginTop" | "confirmationStepVerticalGap" | "cryptoCashToggleContainerPadding" | "cryptoCashToggleMarginBottom" | "cryptoCashToggleMarginTop" | "cryptoCashToggleTabPaddingY" | "modalBaseHorizontalPadding" | "modalBottomHorizontalPadding" | "modalPaddingBottomUpper" | "modalPaddingBottomLower" | "modalTopBarVerticalTextSpacing" | "modalBottomBarButtonPaddingY" | "selectAssetItemPaddingX" | "selectAssetItemPaddingY" | "selectAssetItemTextGap" | "selectBrokerageItemPaddingX" | "selectBrokerageItemPaddingY" | "txBreakdownMarginY" | "txBreakdownPaddingX" | "txSummaryBoxPaddingX" | "txSummaryBoxPaddingY" | "txSummaryLineItemPadding" | "txSummaryDividerMarginX" | "txSummaryDividerMarginY" | "verticalSectionGap" | "youPayYouReceivePaddingLeft" | "youPayYouReceivePaddingRight" | "youPayYouReceivePaddingY" | "2" | "3" | "4" | "6" | "8" | "11" | "24" | "30" | "15" | "28" | "32" | "36" | "44" | "-1" | "5" | "7" | "9" | "22" | "64" | undefined;
|
|
1132
1138
|
readonly position?: "fixed" | "absolute" | "relative" | undefined;
|
|
1133
1139
|
readonly right?: "0" | undefined;
|
|
1134
1140
|
readonly textTransform?: "none" | "capitalize" | "lowercase" | "uppercase" | "txStatusTitle" | "inputAmountQuickOptionButton" | undefined;
|
|
1135
1141
|
readonly transition?: "transform" | "default" | undefined;
|
|
1136
1142
|
readonly userSelect?: "none" | undefined;
|
|
1137
|
-
readonly width?: "1" | "connectExchangeIconSize" | "cryptoCashToggleIconSize" | "dollarValueSkeletonHeight" | "dollarValueSkeletonWidth" | "inputAmountQuickOptionButtonHeight" | "inputAmountMinHeight" | "modalBottomBarButtonHeight" | "modalBottomBarCloseButtonHeight" | "modalTopBarHeight" | "paymentAmountSkeletonBlockHeight" | "paymentAmountSkeletonBlockWidth" | "paymentAmountSkeletonCircleSize" | "paymentMethodItemIconSize" | "selectAssetItemIconSize" | "txBreakdownSkeletonWidth" | "txSummaryLineSkeletonHeight" | "txSummaryLineSkeletonWidth" | "10" | "12" | "13" | "14" | "16" | "18" | "20" | "40" | "57" | "2" | "4" | "8" | "11" | "24" | "30" | "full" | "15" | "28" | "32" | "34" | "36" | "44" | "48" | "50" | "54" | "60" | "72" | "76" | "93" | "96" | "100" | "108" | "120" | "160" | "180" | "200" | "240" | "300" | "half" | "max" | undefined;
|
|
1143
|
+
readonly width?: "1" | "connectExchangeIconSize" | "cryptoCashToggleIconSize" | "dollarValueSkeletonHeight" | "dollarValueSkeletonWidth" | "inputAmountQuickOptionButtonHeight" | "inputAmountMinHeight" | "modalBottomBarButtonHeight" | "modalBottomBarCloseButtonHeight" | "modalTopBarHeight" | "modalTopbarIconSize" | "modalTopbarIconWrapperSize" | "paymentAmountSkeletonBlockHeight" | "paymentAmountSkeletonBlockWidth" | "paymentAmountSkeletonCircleSize" | "paymentMethodItemIconSize" | "selectAssetItemIconSize" | "txBreakdownSkeletonWidth" | "txSummaryLineSkeletonHeight" | "txSummaryLineSkeletonWidth" | "10" | "12" | "13" | "14" | "16" | "18" | "20" | "40" | "57" | "2" | "4" | "8" | "11" | "24" | "30" | "full" | "15" | "28" | "32" | "34" | "36" | "44" | "48" | "50" | "54" | "60" | "72" | "76" | "93" | "96" | "100" | "108" | "120" | "160" | "180" | "200" | "240" | "300" | "half" | "max" | undefined;
|
|
1138
1144
|
readonly backdropFilter?: "modalOverlay" | undefined;
|
|
1139
|
-
margin?: "auto" | "0" | "1" | "10" | "12" | "13" | "14" | "16" | "18" | "20" | "40" | "confirmationStepMarginTop" | "confirmationStepVerticalGap" | "cryptoCashToggleContainerPadding" | "cryptoCashToggleMarginBottom" | "cryptoCashToggleMarginTop" | "cryptoCashToggleTabPaddingY" | "modalBaseHorizontalPadding" | "modalBottomHorizontalPadding" | "modalPaddingBottomUpper" | "modalPaddingBottomLower" | "modalTopBarVerticalTextSpacing" | "modalBottomBarButtonPaddingY" | "selectAssetItemPaddingX" | "selectAssetItemPaddingY" | "selectAssetItemTextGap" | "selectBrokerageItemPaddingX" | "selectBrokerageItemPaddingY" | "txBreakdownMarginY" | "txBreakdownPaddingX" | "txSummaryBoxPaddingX" | "txSummaryBoxPaddingY" | "txSummaryLineItemPadding" | "txSummaryDividerMarginX" | "txSummaryDividerMarginY" | "verticalSectionGap" | "youPayYouReceivePaddingLeft" | "youPayYouReceivePaddingRight" | "youPayYouReceivePaddingY" | "2" | "3" | "4" | "6" | "8" | "11" | "24" | "30" | "15" | "28" | "32" | "36" | "44" | "-1" | "5" | "7" | "9" | "64" | "-18" | "-12" | undefined;
|
|
1140
|
-
marginX?: "auto" | "0" | "1" | "10" | "12" | "13" | "14" | "16" | "18" | "20" | "40" | "confirmationStepMarginTop" | "confirmationStepVerticalGap" | "cryptoCashToggleContainerPadding" | "cryptoCashToggleMarginBottom" | "cryptoCashToggleMarginTop" | "cryptoCashToggleTabPaddingY" | "modalBaseHorizontalPadding" | "modalBottomHorizontalPadding" | "modalPaddingBottomUpper" | "modalPaddingBottomLower" | "modalTopBarVerticalTextSpacing" | "modalBottomBarButtonPaddingY" | "selectAssetItemPaddingX" | "selectAssetItemPaddingY" | "selectAssetItemTextGap" | "selectBrokerageItemPaddingX" | "selectBrokerageItemPaddingY" | "txBreakdownMarginY" | "txBreakdownPaddingX" | "txSummaryBoxPaddingX" | "txSummaryBoxPaddingY" | "txSummaryLineItemPadding" | "txSummaryDividerMarginX" | "txSummaryDividerMarginY" | "verticalSectionGap" | "youPayYouReceivePaddingLeft" | "youPayYouReceivePaddingRight" | "youPayYouReceivePaddingY" | "2" | "3" | "4" | "6" | "8" | "11" | "24" | "30" | "15" | "28" | "32" | "36" | "44" | "-1" | "5" | "7" | "9" | "64" | "-18" | "-12" | undefined;
|
|
1141
|
-
marginY?: "auto" | "0" | "1" | "10" | "12" | "13" | "14" | "16" | "18" | "20" | "40" | "confirmationStepMarginTop" | "confirmationStepVerticalGap" | "cryptoCashToggleContainerPadding" | "cryptoCashToggleMarginBottom" | "cryptoCashToggleMarginTop" | "cryptoCashToggleTabPaddingY" | "modalBaseHorizontalPadding" | "modalBottomHorizontalPadding" | "modalPaddingBottomUpper" | "modalPaddingBottomLower" | "modalTopBarVerticalTextSpacing" | "modalBottomBarButtonPaddingY" | "selectAssetItemPaddingX" | "selectAssetItemPaddingY" | "selectAssetItemTextGap" | "selectBrokerageItemPaddingX" | "selectBrokerageItemPaddingY" | "txBreakdownMarginY" | "txBreakdownPaddingX" | "txSummaryBoxPaddingX" | "txSummaryBoxPaddingY" | "txSummaryLineItemPadding" | "txSummaryDividerMarginX" | "txSummaryDividerMarginY" | "verticalSectionGap" | "youPayYouReceivePaddingLeft" | "youPayYouReceivePaddingRight" | "youPayYouReceivePaddingY" | "2" | "3" | "4" | "6" | "8" | "11" | "24" | "30" | "15" | "28" | "32" | "36" | "44" | "-1" | "5" | "7" | "9" | "64" | "-18" | "-12" | undefined;
|
|
1142
|
-
padding?: "0" | "1" | "10" | "12" | "13" | "14" | "16" | "18" | "20" | "40" | "confirmationStepMarginTop" | "confirmationStepVerticalGap" | "cryptoCashToggleContainerPadding" | "cryptoCashToggleMarginBottom" | "cryptoCashToggleMarginTop" | "cryptoCashToggleTabPaddingY" | "modalBaseHorizontalPadding" | "modalBottomHorizontalPadding" | "modalPaddingBottomUpper" | "modalPaddingBottomLower" | "modalTopBarVerticalTextSpacing" | "modalBottomBarButtonPaddingY" | "selectAssetItemPaddingX" | "selectAssetItemPaddingY" | "selectAssetItemTextGap" | "selectBrokerageItemPaddingX" | "selectBrokerageItemPaddingY" | "txBreakdownMarginY" | "txBreakdownPaddingX" | "txSummaryBoxPaddingX" | "txSummaryBoxPaddingY" | "txSummaryLineItemPadding" | "txSummaryDividerMarginX" | "txSummaryDividerMarginY" | "verticalSectionGap" | "youPayYouReceivePaddingLeft" | "youPayYouReceivePaddingRight" | "youPayYouReceivePaddingY" | "2" | "3" | "4" | "6" | "8" | "11" | "24" | "30" | "15" | "28" | "32" | "36" | "44" | "-1" | "5" | "7" | "9" | "64" | undefined;
|
|
1143
|
-
paddingX?: "0" | "1" | "10" | "12" | "13" | "14" | "16" | "18" | "20" | "40" | "confirmationStepMarginTop" | "confirmationStepVerticalGap" | "cryptoCashToggleContainerPadding" | "cryptoCashToggleMarginBottom" | "cryptoCashToggleMarginTop" | "cryptoCashToggleTabPaddingY" | "modalBaseHorizontalPadding" | "modalBottomHorizontalPadding" | "modalPaddingBottomUpper" | "modalPaddingBottomLower" | "modalTopBarVerticalTextSpacing" | "modalBottomBarButtonPaddingY" | "selectAssetItemPaddingX" | "selectAssetItemPaddingY" | "selectAssetItemTextGap" | "selectBrokerageItemPaddingX" | "selectBrokerageItemPaddingY" | "txBreakdownMarginY" | "txBreakdownPaddingX" | "txSummaryBoxPaddingX" | "txSummaryBoxPaddingY" | "txSummaryLineItemPadding" | "txSummaryDividerMarginX" | "txSummaryDividerMarginY" | "verticalSectionGap" | "youPayYouReceivePaddingLeft" | "youPayYouReceivePaddingRight" | "youPayYouReceivePaddingY" | "2" | "3" | "4" | "6" | "8" | "11" | "24" | "30" | "15" | "28" | "32" | "36" | "44" | "-1" | "5" | "7" | "9" | "64" | undefined;
|
|
1144
|
-
paddingY?: "0" | "1" | "10" | "12" | "13" | "14" | "16" | "18" | "20" | "40" | "confirmationStepMarginTop" | "confirmationStepVerticalGap" | "cryptoCashToggleContainerPadding" | "cryptoCashToggleMarginBottom" | "cryptoCashToggleMarginTop" | "cryptoCashToggleTabPaddingY" | "modalBaseHorizontalPadding" | "modalBottomHorizontalPadding" | "modalPaddingBottomUpper" | "modalPaddingBottomLower" | "modalTopBarVerticalTextSpacing" | "modalBottomBarButtonPaddingY" | "selectAssetItemPaddingX" | "selectAssetItemPaddingY" | "selectAssetItemTextGap" | "selectBrokerageItemPaddingX" | "selectBrokerageItemPaddingY" | "txBreakdownMarginY" | "txBreakdownPaddingX" | "txSummaryBoxPaddingX" | "txSummaryBoxPaddingY" | "txSummaryLineItemPadding" | "txSummaryDividerMarginX" | "txSummaryDividerMarginY" | "verticalSectionGap" | "youPayYouReceivePaddingLeft" | "youPayYouReceivePaddingRight" | "youPayYouReceivePaddingY" | "2" | "3" | "4" | "6" | "8" | "11" | "24" | "30" | "15" | "28" | "32" | "36" | "44" | "-1" | "5" | "7" | "9" | "64" | undefined;
|
|
1145
|
+
margin?: "auto" | "0" | "1" | "10" | "12" | "13" | "14" | "16" | "18" | "20" | "40" | "confirmationStepMarginTop" | "confirmationStepVerticalGap" | "cryptoCashToggleContainerPadding" | "cryptoCashToggleMarginBottom" | "cryptoCashToggleMarginTop" | "cryptoCashToggleTabPaddingY" | "modalBaseHorizontalPadding" | "modalBottomHorizontalPadding" | "modalPaddingBottomUpper" | "modalPaddingBottomLower" | "modalTopBarVerticalTextSpacing" | "modalBottomBarButtonPaddingY" | "selectAssetItemPaddingX" | "selectAssetItemPaddingY" | "selectAssetItemTextGap" | "selectBrokerageItemPaddingX" | "selectBrokerageItemPaddingY" | "txBreakdownMarginY" | "txBreakdownPaddingX" | "txSummaryBoxPaddingX" | "txSummaryBoxPaddingY" | "txSummaryLineItemPadding" | "txSummaryDividerMarginX" | "txSummaryDividerMarginY" | "verticalSectionGap" | "youPayYouReceivePaddingLeft" | "youPayYouReceivePaddingRight" | "youPayYouReceivePaddingY" | "2" | "3" | "4" | "6" | "8" | "11" | "24" | "30" | "15" | "28" | "32" | "36" | "44" | "-1" | "5" | "7" | "9" | "22" | "64" | "-18" | "-12" | undefined;
|
|
1146
|
+
marginX?: "auto" | "0" | "1" | "10" | "12" | "13" | "14" | "16" | "18" | "20" | "40" | "confirmationStepMarginTop" | "confirmationStepVerticalGap" | "cryptoCashToggleContainerPadding" | "cryptoCashToggleMarginBottom" | "cryptoCashToggleMarginTop" | "cryptoCashToggleTabPaddingY" | "modalBaseHorizontalPadding" | "modalBottomHorizontalPadding" | "modalPaddingBottomUpper" | "modalPaddingBottomLower" | "modalTopBarVerticalTextSpacing" | "modalBottomBarButtonPaddingY" | "selectAssetItemPaddingX" | "selectAssetItemPaddingY" | "selectAssetItemTextGap" | "selectBrokerageItemPaddingX" | "selectBrokerageItemPaddingY" | "txBreakdownMarginY" | "txBreakdownPaddingX" | "txSummaryBoxPaddingX" | "txSummaryBoxPaddingY" | "txSummaryLineItemPadding" | "txSummaryDividerMarginX" | "txSummaryDividerMarginY" | "verticalSectionGap" | "youPayYouReceivePaddingLeft" | "youPayYouReceivePaddingRight" | "youPayYouReceivePaddingY" | "2" | "3" | "4" | "6" | "8" | "11" | "24" | "30" | "15" | "28" | "32" | "36" | "44" | "-1" | "5" | "7" | "9" | "22" | "64" | "-18" | "-12" | undefined;
|
|
1147
|
+
marginY?: "auto" | "0" | "1" | "10" | "12" | "13" | "14" | "16" | "18" | "20" | "40" | "confirmationStepMarginTop" | "confirmationStepVerticalGap" | "cryptoCashToggleContainerPadding" | "cryptoCashToggleMarginBottom" | "cryptoCashToggleMarginTop" | "cryptoCashToggleTabPaddingY" | "modalBaseHorizontalPadding" | "modalBottomHorizontalPadding" | "modalPaddingBottomUpper" | "modalPaddingBottomLower" | "modalTopBarVerticalTextSpacing" | "modalBottomBarButtonPaddingY" | "selectAssetItemPaddingX" | "selectAssetItemPaddingY" | "selectAssetItemTextGap" | "selectBrokerageItemPaddingX" | "selectBrokerageItemPaddingY" | "txBreakdownMarginY" | "txBreakdownPaddingX" | "txSummaryBoxPaddingX" | "txSummaryBoxPaddingY" | "txSummaryLineItemPadding" | "txSummaryDividerMarginX" | "txSummaryDividerMarginY" | "verticalSectionGap" | "youPayYouReceivePaddingLeft" | "youPayYouReceivePaddingRight" | "youPayYouReceivePaddingY" | "2" | "3" | "4" | "6" | "8" | "11" | "24" | "30" | "15" | "28" | "32" | "36" | "44" | "-1" | "5" | "7" | "9" | "22" | "64" | "-18" | "-12" | undefined;
|
|
1148
|
+
padding?: "0" | "1" | "10" | "12" | "13" | "14" | "16" | "18" | "20" | "40" | "confirmationStepMarginTop" | "confirmationStepVerticalGap" | "cryptoCashToggleContainerPadding" | "cryptoCashToggleMarginBottom" | "cryptoCashToggleMarginTop" | "cryptoCashToggleTabPaddingY" | "modalBaseHorizontalPadding" | "modalBottomHorizontalPadding" | "modalPaddingBottomUpper" | "modalPaddingBottomLower" | "modalTopBarVerticalTextSpacing" | "modalBottomBarButtonPaddingY" | "selectAssetItemPaddingX" | "selectAssetItemPaddingY" | "selectAssetItemTextGap" | "selectBrokerageItemPaddingX" | "selectBrokerageItemPaddingY" | "txBreakdownMarginY" | "txBreakdownPaddingX" | "txSummaryBoxPaddingX" | "txSummaryBoxPaddingY" | "txSummaryLineItemPadding" | "txSummaryDividerMarginX" | "txSummaryDividerMarginY" | "verticalSectionGap" | "youPayYouReceivePaddingLeft" | "youPayYouReceivePaddingRight" | "youPayYouReceivePaddingY" | "2" | "3" | "4" | "6" | "8" | "11" | "24" | "30" | "15" | "28" | "32" | "36" | "44" | "-1" | "5" | "7" | "9" | "22" | "64" | undefined;
|
|
1149
|
+
paddingX?: "0" | "1" | "10" | "12" | "13" | "14" | "16" | "18" | "20" | "40" | "confirmationStepMarginTop" | "confirmationStepVerticalGap" | "cryptoCashToggleContainerPadding" | "cryptoCashToggleMarginBottom" | "cryptoCashToggleMarginTop" | "cryptoCashToggleTabPaddingY" | "modalBaseHorizontalPadding" | "modalBottomHorizontalPadding" | "modalPaddingBottomUpper" | "modalPaddingBottomLower" | "modalTopBarVerticalTextSpacing" | "modalBottomBarButtonPaddingY" | "selectAssetItemPaddingX" | "selectAssetItemPaddingY" | "selectAssetItemTextGap" | "selectBrokerageItemPaddingX" | "selectBrokerageItemPaddingY" | "txBreakdownMarginY" | "txBreakdownPaddingX" | "txSummaryBoxPaddingX" | "txSummaryBoxPaddingY" | "txSummaryLineItemPadding" | "txSummaryDividerMarginX" | "txSummaryDividerMarginY" | "verticalSectionGap" | "youPayYouReceivePaddingLeft" | "youPayYouReceivePaddingRight" | "youPayYouReceivePaddingY" | "2" | "3" | "4" | "6" | "8" | "11" | "24" | "30" | "15" | "28" | "32" | "36" | "44" | "-1" | "5" | "7" | "9" | "22" | "64" | undefined;
|
|
1150
|
+
paddingY?: "0" | "1" | "10" | "12" | "13" | "14" | "16" | "18" | "20" | "40" | "confirmationStepMarginTop" | "confirmationStepVerticalGap" | "cryptoCashToggleContainerPadding" | "cryptoCashToggleMarginBottom" | "cryptoCashToggleMarginTop" | "cryptoCashToggleTabPaddingY" | "modalBaseHorizontalPadding" | "modalBottomHorizontalPadding" | "modalPaddingBottomUpper" | "modalPaddingBottomLower" | "modalTopBarVerticalTextSpacing" | "modalBottomBarButtonPaddingY" | "selectAssetItemPaddingX" | "selectAssetItemPaddingY" | "selectAssetItemTextGap" | "selectBrokerageItemPaddingX" | "selectBrokerageItemPaddingY" | "txBreakdownMarginY" | "txBreakdownPaddingX" | "txSummaryBoxPaddingX" | "txSummaryBoxPaddingY" | "txSummaryLineItemPadding" | "txSummaryDividerMarginX" | "txSummaryDividerMarginY" | "verticalSectionGap" | "youPayYouReceivePaddingLeft" | "youPayYouReceivePaddingRight" | "youPayYouReceivePaddingY" | "2" | "3" | "4" | "6" | "8" | "11" | "24" | "30" | "15" | "28" | "32" | "36" | "44" | "-1" | "5" | "7" | "9" | "22" | "64" | undefined;
|
|
1145
1151
|
}) => string) & {
|
|
1146
1152
|
properties: Set<"alignItems" | "alignSelf" | "backdropFilter" | "backgroundSize" | "boxShadow" | "color" | "cursor" | "display" | "flexDirection" | "fontFamily" | "fontSize" | "fontWeight" | "height" | "justifyContent" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "textAlign" | "textTransform" | "userSelect" | "width" | "background" | "borderColor" | "borderRadius" | "borderStyle" | "borderWidth" | "gap" | "margin" | "overflow" | "padding" | "transition" | "marginX" | "marginY" | "paddingX" | "paddingY">;
|
|
1147
1153
|
};
|
package/dist/domains/fees.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { CheckoutQuoteResponse } from '@funkit/utils';
|
|
2
|
-
import type { Config } from 'wagmi';
|
|
3
2
|
import type { BluvoBrokerageQuote } from '../hooks/useBluvo';
|
|
4
3
|
import { LoginType } from '../providers/GeneralWalletProvider';
|
|
4
|
+
import type { Config } from '../wagmi/hooks';
|
|
5
5
|
import type { FunkitActiveCheckoutItem } from '../providers/FunkitCheckoutContext';
|
|
6
6
|
import { PaymentMethod, type PaymentMethodInfo } from './paymentMethods';
|
|
7
7
|
export interface BrokerageDetails {
|
package/dist/domains/quote.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ApiFunkitCheckoutQuoteResult, CheckoutQuoteResponse } from '@funkit/utils';
|
|
2
2
|
import type { Address } from 'viem';
|
|
3
|
-
import type { Config } from 'wagmi';
|
|
3
|
+
import type { Config } from '../wagmi/hooks';
|
|
4
4
|
import type { BluvoBrokerageQuote } from '../hooks/useBluvo';
|
|
5
5
|
import type { FunkitDirectExecutionInfo } from '../hooks/useCheckoutDirectExecution';
|
|
6
6
|
import type { FunkitActiveCheckoutItem } from '../providers/FunkitCheckoutContext';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { ExchangeRates, SwappedFormOfPayment } from '@funkit/api-base';
|
|
2
|
+
export declare function sortFops<T extends SwappedFormOfPayment>(fops: T[]): T[];
|
|
3
|
+
/**
|
|
4
|
+
* Rounds down to:
|
|
5
|
+
* - >= $1M: nearest $100,000
|
|
6
|
+
* - >= $1,000: nearest $1,000
|
|
7
|
+
* - >= $100: nearest $100
|
|
8
|
+
* - >= $10: nearest $10
|
|
9
|
+
* - < $10: nearest $1 (floored to whole number)
|
|
10
|
+
*/
|
|
11
|
+
export declare function roundFopsLimit(value: number): number;
|
|
12
|
+
/**
|
|
13
|
+
* Get the limit for a given form of payment in USD.
|
|
14
|
+
* Backend returns min/max in Euros - we convert to USD and round down
|
|
15
|
+
*/
|
|
16
|
+
export declare function getFopsLimit(fop: SwappedFormOfPayment, exchangeRates: ExchangeRates | undefined, defaultMaxLimit?: string): string;
|
package/dist/domains/wallet.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { FunkitActiveCheckoutItem } from '../providers/FunkitCheckoutContext';
|
|
2
1
|
export interface AssetHoldingsItem {
|
|
3
2
|
iconSrc: string | undefined;
|
|
4
3
|
symbol: string;
|
|
@@ -25,9 +24,3 @@ export declare function getTotalAssetBalance(assets: AssetHoldingsMap): number;
|
|
|
25
24
|
export declare const isPolygonEcosystemToken: (chainId: string, tokenAddress: string) => boolean;
|
|
26
25
|
export declare const L2_COST_MARGIN_MULTIPLIER = 1.2;
|
|
27
26
|
export declare const ASSETS_LOW_VALUE_THRESHOLD = 0.1;
|
|
28
|
-
type RecommendedAsset = {
|
|
29
|
-
chainSymbolKey: string;
|
|
30
|
-
label: string | null;
|
|
31
|
-
};
|
|
32
|
-
export declare const getRecommendedAsset: (checkoutItem: FunkitActiveCheckoutItem, accountHoldings: KnownAssetHoldingsItem[]) => RecommendedAsset | null;
|
|
33
|
-
export {};
|
|
@@ -1,17 +1,206 @@
|
|
|
1
|
-
import { type GetFopsResponse } from '@funkit/api-base';
|
|
2
|
-
export interface UseFopsParams {
|
|
3
|
-
/** User's email for Swapped integration */
|
|
4
|
-
email?: string;
|
|
5
|
-
/** Whether the query is enabled */
|
|
6
|
-
enabled?: boolean;
|
|
7
|
-
/** Theme configuration for embedded flow iframes (key-value pairs for URL params) */
|
|
8
|
-
themeConfig?: Record<string, string>;
|
|
9
|
-
}
|
|
10
1
|
/**
|
|
11
2
|
* Hook to fetch available forms of payment from the /fops API.
|
|
12
3
|
* Returns generic and saved payment options from providers like Swapped.
|
|
13
|
-
*
|
|
14
|
-
* @param params - Optional parameters including email, enabled state, and themeConfig
|
|
15
|
-
* @returns Query result with genericFormsOfPayments and savedFormsOfPayments
|
|
16
4
|
*/
|
|
17
|
-
export declare const useFops: (
|
|
5
|
+
export declare const useFops: () => {
|
|
6
|
+
isLoading: boolean;
|
|
7
|
+
data: {
|
|
8
|
+
genericFormsOfPayments: import("@funkit/api-base").GenericFormOfPayment[];
|
|
9
|
+
savedFormsOfPayments: import("@funkit/api-base").SavedFormOfPayment[];
|
|
10
|
+
};
|
|
11
|
+
error: Error;
|
|
12
|
+
isError: true;
|
|
13
|
+
isPending: false;
|
|
14
|
+
isLoadingError: false;
|
|
15
|
+
isRefetchError: true;
|
|
16
|
+
isSuccess: false;
|
|
17
|
+
isPlaceholderData: false;
|
|
18
|
+
status: "error";
|
|
19
|
+
dataUpdatedAt: number;
|
|
20
|
+
errorUpdatedAt: number;
|
|
21
|
+
failureCount: number;
|
|
22
|
+
failureReason: Error | null;
|
|
23
|
+
errorUpdateCount: number;
|
|
24
|
+
isFetched: boolean;
|
|
25
|
+
isFetchedAfterMount: boolean;
|
|
26
|
+
isFetching: boolean;
|
|
27
|
+
isInitialLoading: boolean;
|
|
28
|
+
isPaused: boolean;
|
|
29
|
+
isRefetching: boolean;
|
|
30
|
+
isStale: boolean;
|
|
31
|
+
refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<{
|
|
32
|
+
genericFormsOfPayments: import("@funkit/api-base").GenericFormOfPayment[];
|
|
33
|
+
savedFormsOfPayments: import("@funkit/api-base").SavedFormOfPayment[];
|
|
34
|
+
}, Error>>;
|
|
35
|
+
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
36
|
+
promise: Promise<{
|
|
37
|
+
genericFormsOfPayments: import("@funkit/api-base").GenericFormOfPayment[];
|
|
38
|
+
savedFormsOfPayments: import("@funkit/api-base").SavedFormOfPayment[];
|
|
39
|
+
}>;
|
|
40
|
+
} | {
|
|
41
|
+
isLoading: boolean;
|
|
42
|
+
data: {
|
|
43
|
+
genericFormsOfPayments: import("@funkit/api-base").GenericFormOfPayment[];
|
|
44
|
+
savedFormsOfPayments: import("@funkit/api-base").SavedFormOfPayment[];
|
|
45
|
+
};
|
|
46
|
+
error: null;
|
|
47
|
+
isError: false;
|
|
48
|
+
isPending: false;
|
|
49
|
+
isLoadingError: false;
|
|
50
|
+
isRefetchError: false;
|
|
51
|
+
isSuccess: true;
|
|
52
|
+
isPlaceholderData: false;
|
|
53
|
+
status: "success";
|
|
54
|
+
dataUpdatedAt: number;
|
|
55
|
+
errorUpdatedAt: number;
|
|
56
|
+
failureCount: number;
|
|
57
|
+
failureReason: Error | null;
|
|
58
|
+
errorUpdateCount: number;
|
|
59
|
+
isFetched: boolean;
|
|
60
|
+
isFetchedAfterMount: boolean;
|
|
61
|
+
isFetching: boolean;
|
|
62
|
+
isInitialLoading: boolean;
|
|
63
|
+
isPaused: boolean;
|
|
64
|
+
isRefetching: boolean;
|
|
65
|
+
isStale: boolean;
|
|
66
|
+
refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<{
|
|
67
|
+
genericFormsOfPayments: import("@funkit/api-base").GenericFormOfPayment[];
|
|
68
|
+
savedFormsOfPayments: import("@funkit/api-base").SavedFormOfPayment[];
|
|
69
|
+
}, Error>>;
|
|
70
|
+
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
71
|
+
promise: Promise<{
|
|
72
|
+
genericFormsOfPayments: import("@funkit/api-base").GenericFormOfPayment[];
|
|
73
|
+
savedFormsOfPayments: import("@funkit/api-base").SavedFormOfPayment[];
|
|
74
|
+
}>;
|
|
75
|
+
} | {
|
|
76
|
+
isLoading: boolean;
|
|
77
|
+
data: undefined;
|
|
78
|
+
error: Error;
|
|
79
|
+
isError: true;
|
|
80
|
+
isPending: false;
|
|
81
|
+
isLoadingError: true;
|
|
82
|
+
isRefetchError: false;
|
|
83
|
+
isSuccess: false;
|
|
84
|
+
isPlaceholderData: false;
|
|
85
|
+
status: "error";
|
|
86
|
+
dataUpdatedAt: number;
|
|
87
|
+
errorUpdatedAt: number;
|
|
88
|
+
failureCount: number;
|
|
89
|
+
failureReason: Error | null;
|
|
90
|
+
errorUpdateCount: number;
|
|
91
|
+
isFetched: boolean;
|
|
92
|
+
isFetchedAfterMount: boolean;
|
|
93
|
+
isFetching: boolean;
|
|
94
|
+
isInitialLoading: boolean;
|
|
95
|
+
isPaused: boolean;
|
|
96
|
+
isRefetching: boolean;
|
|
97
|
+
isStale: boolean;
|
|
98
|
+
refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<{
|
|
99
|
+
genericFormsOfPayments: import("@funkit/api-base").GenericFormOfPayment[];
|
|
100
|
+
savedFormsOfPayments: import("@funkit/api-base").SavedFormOfPayment[];
|
|
101
|
+
}, Error>>;
|
|
102
|
+
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
103
|
+
promise: Promise<{
|
|
104
|
+
genericFormsOfPayments: import("@funkit/api-base").GenericFormOfPayment[];
|
|
105
|
+
savedFormsOfPayments: import("@funkit/api-base").SavedFormOfPayment[];
|
|
106
|
+
}>;
|
|
107
|
+
} | {
|
|
108
|
+
isLoading: boolean;
|
|
109
|
+
data: undefined;
|
|
110
|
+
error: null;
|
|
111
|
+
isError: false;
|
|
112
|
+
isPending: true;
|
|
113
|
+
isLoadingError: false;
|
|
114
|
+
isRefetchError: false;
|
|
115
|
+
isSuccess: false;
|
|
116
|
+
isPlaceholderData: false;
|
|
117
|
+
status: "pending";
|
|
118
|
+
dataUpdatedAt: number;
|
|
119
|
+
errorUpdatedAt: number;
|
|
120
|
+
failureCount: number;
|
|
121
|
+
failureReason: Error | null;
|
|
122
|
+
errorUpdateCount: number;
|
|
123
|
+
isFetched: boolean;
|
|
124
|
+
isFetchedAfterMount: boolean;
|
|
125
|
+
isFetching: boolean;
|
|
126
|
+
isInitialLoading: boolean;
|
|
127
|
+
isPaused: boolean;
|
|
128
|
+
isRefetching: boolean;
|
|
129
|
+
isStale: boolean;
|
|
130
|
+
refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<{
|
|
131
|
+
genericFormsOfPayments: import("@funkit/api-base").GenericFormOfPayment[];
|
|
132
|
+
savedFormsOfPayments: import("@funkit/api-base").SavedFormOfPayment[];
|
|
133
|
+
}, Error>>;
|
|
134
|
+
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
135
|
+
promise: Promise<{
|
|
136
|
+
genericFormsOfPayments: import("@funkit/api-base").GenericFormOfPayment[];
|
|
137
|
+
savedFormsOfPayments: import("@funkit/api-base").SavedFormOfPayment[];
|
|
138
|
+
}>;
|
|
139
|
+
} | {
|
|
140
|
+
isLoading: boolean;
|
|
141
|
+
data: undefined;
|
|
142
|
+
error: null;
|
|
143
|
+
isError: false;
|
|
144
|
+
isPending: true;
|
|
145
|
+
isLoadingError: false;
|
|
146
|
+
isRefetchError: false;
|
|
147
|
+
isSuccess: false;
|
|
148
|
+
isPlaceholderData: false;
|
|
149
|
+
status: "pending";
|
|
150
|
+
dataUpdatedAt: number;
|
|
151
|
+
errorUpdatedAt: number;
|
|
152
|
+
failureCount: number;
|
|
153
|
+
failureReason: Error | null;
|
|
154
|
+
errorUpdateCount: number;
|
|
155
|
+
isFetched: boolean;
|
|
156
|
+
isFetchedAfterMount: boolean;
|
|
157
|
+
isFetching: boolean;
|
|
158
|
+
isInitialLoading: boolean;
|
|
159
|
+
isPaused: boolean;
|
|
160
|
+
isRefetching: boolean;
|
|
161
|
+
isStale: boolean;
|
|
162
|
+
refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<{
|
|
163
|
+
genericFormsOfPayments: import("@funkit/api-base").GenericFormOfPayment[];
|
|
164
|
+
savedFormsOfPayments: import("@funkit/api-base").SavedFormOfPayment[];
|
|
165
|
+
}, Error>>;
|
|
166
|
+
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
167
|
+
promise: Promise<{
|
|
168
|
+
genericFormsOfPayments: import("@funkit/api-base").GenericFormOfPayment[];
|
|
169
|
+
savedFormsOfPayments: import("@funkit/api-base").SavedFormOfPayment[];
|
|
170
|
+
}>;
|
|
171
|
+
} | {
|
|
172
|
+
isLoading: boolean;
|
|
173
|
+
data: {
|
|
174
|
+
genericFormsOfPayments: import("@funkit/api-base").GenericFormOfPayment[];
|
|
175
|
+
savedFormsOfPayments: import("@funkit/api-base").SavedFormOfPayment[];
|
|
176
|
+
};
|
|
177
|
+
isError: false;
|
|
178
|
+
error: null;
|
|
179
|
+
isPending: false;
|
|
180
|
+
isLoadingError: false;
|
|
181
|
+
isRefetchError: false;
|
|
182
|
+
isSuccess: true;
|
|
183
|
+
isPlaceholderData: true;
|
|
184
|
+
status: "success";
|
|
185
|
+
dataUpdatedAt: number;
|
|
186
|
+
errorUpdatedAt: number;
|
|
187
|
+
failureCount: number;
|
|
188
|
+
failureReason: Error | null;
|
|
189
|
+
errorUpdateCount: number;
|
|
190
|
+
isFetched: boolean;
|
|
191
|
+
isFetchedAfterMount: boolean;
|
|
192
|
+
isFetching: boolean;
|
|
193
|
+
isInitialLoading: boolean;
|
|
194
|
+
isPaused: boolean;
|
|
195
|
+
isRefetching: boolean;
|
|
196
|
+
isStale: boolean;
|
|
197
|
+
refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<{
|
|
198
|
+
genericFormsOfPayments: import("@funkit/api-base").GenericFormOfPayment[];
|
|
199
|
+
savedFormsOfPayments: import("@funkit/api-base").SavedFormOfPayment[];
|
|
200
|
+
}, Error>>;
|
|
201
|
+
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
202
|
+
promise: Promise<{
|
|
203
|
+
genericFormsOfPayments: import("@funkit/api-base").GenericFormOfPayment[];
|
|
204
|
+
savedFormsOfPayments: import("@funkit/api-base").SavedFormOfPayment[];
|
|
205
|
+
}>;
|
|
206
|
+
};
|
|
@@ -46,5 +46,7 @@ export declare enum CheckoutModalEvent {
|
|
|
46
46
|
SWAPPED_IFRAME_NAVIGATION = "fc::swapped_iframe::navigation",
|
|
47
47
|
SWAPPED_IFRAME_COMPLETE = "fc::swapped_iframe::complete",
|
|
48
48
|
SWAPPED_IFRAME_ERROR = "fc::swapped_iframe::error",
|
|
49
|
+
SWAPPED_IFRAME_BACK = "fc::swapped_iframe::back",
|
|
50
|
+
SWAPPED_IFRAME_NEW_DEPOSIT_BACK = "fc::swapped_iframe::new_deposit_back",
|
|
49
51
|
SWAPPED_IFRAME_EXIT = "fc::swapped_iframe::exit"
|
|
50
52
|
}
|
|
@@ -4,6 +4,7 @@ import { type UDAConfig } from './useUDAParams';
|
|
|
4
4
|
interface UseCheckoutTransferInitResponse {
|
|
5
5
|
transferInit: CheckoutInitTokenTransferResponse | undefined;
|
|
6
6
|
recipientAddr: FunAddress;
|
|
7
|
+
isLoading: boolean;
|
|
7
8
|
}
|
|
8
9
|
type CheckoutTokenTransferParams = Omit<CheckoutInitTokenTransferAddressParams, 'logger' | 'clientMetadata'>;
|
|
9
10
|
export declare function checkoutTransferFetch(params: CheckoutTokenTransferParams): Promise<CheckoutInitTokenTransferResponse>;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
interface UseIframePoolOptions {
|
|
2
|
+
maxSize?: number;
|
|
3
|
+
}
|
|
4
|
+
interface IframePool {
|
|
5
|
+
/** URLs in the pool, ordered by priority (most important first) */
|
|
6
|
+
urls: string[];
|
|
7
|
+
/** The currently active/visible URL */
|
|
8
|
+
activeUrl: string | null;
|
|
9
|
+
/** Bulk-set preload URLs (priority order: most important first). Respects maxSize. */
|
|
10
|
+
setPreloadUrls: (urls: string[]) => void;
|
|
11
|
+
/** Activate a URL — marks it as active and adds it to the pool (evicting tail if full). */
|
|
12
|
+
activate: (url: string) => void;
|
|
13
|
+
/** Deactivate the current URL (hides overlay, but URL stays in pool). */
|
|
14
|
+
deactivate: () => void;
|
|
15
|
+
/** URLs that have finished loading (state — use for rendering). */
|
|
16
|
+
loadedUrls: string[];
|
|
17
|
+
/** Ref to loaded URLs (use in callbacks to avoid stale closures). */
|
|
18
|
+
loadedUrlsRef: React.RefObject<string[]>;
|
|
19
|
+
/** Mark an iframe as loaded. */
|
|
20
|
+
setLoaded: (url: string) => void;
|
|
21
|
+
/** Remove all URLs from the pool, clearing all associated state. */
|
|
22
|
+
clear: () => void;
|
|
23
|
+
/** Store/remove an iframe element ref. */
|
|
24
|
+
setRef: (url: string, el: HTMLIFrameElement | null) => void;
|
|
25
|
+
/** Get the iframe element for a URL (internal use). */
|
|
26
|
+
getRef: (url: string) => HTMLIFrameElement | null;
|
|
27
|
+
/** Ref to the active URL (for use in stable callbacks without re-registration). */
|
|
28
|
+
activeUrlRef: React.RefObject<string | null>;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Bounded iframe pool with tail eviction.
|
|
32
|
+
*
|
|
33
|
+
* URLs are stored in priority order (most important first, matching fops order).
|
|
34
|
+
* When the pool exceeds `maxSize`, the last (least important) non-active URL
|
|
35
|
+
* is evicted.
|
|
36
|
+
*/
|
|
37
|
+
export declare function useIframePool({ maxSize, }?: UseIframePoolOptions): IframePool;
|
|
38
|
+
export {};
|
|
@@ -8,7 +8,7 @@ export declare const PAYMENT_METHOD_ICONS: Record<Exclude<PaymentMethod, Payment
|
|
|
8
8
|
* if no SDK icons available, show icon from wagmi
|
|
9
9
|
* otherwise show fallback icon EVM
|
|
10
10
|
*/
|
|
11
|
-
export declare function usePaymentMethodIcon(paymentMethod: PaymentMethod, iconSize?: number): string | number | boolean | Iterable<React.ReactNode> | React.JSX.Element | null | undefined;
|
|
11
|
+
export declare function usePaymentMethodIcon(paymentMethod: PaymentMethod, iconSize?: number): string | number | bigint | boolean | Iterable<React.ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | null | undefined> | React.JSX.Element | null | undefined;
|
|
12
12
|
interface PaymentMethodInfoLabel {
|
|
13
13
|
text: string;
|
|
14
14
|
icon: ReactNode;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @returns information about which dividers to display based on whether an observed content is scrolled to the top or bottom
|
|
3
3
|
*/
|
|
4
4
|
export declare const useScrollDivider: () => {
|
|
5
|
-
ref: import("react").RefObject<HTMLInputElement>;
|
|
5
|
+
ref: import("react").RefObject<HTMLInputElement | null>;
|
|
6
6
|
hasTopDivider: boolean;
|
|
7
7
|
hasBottomDivider: boolean;
|
|
8
8
|
isScrolling: boolean;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { GetFopsResponse } from '@funkit/api-base';
|
|
2
|
+
/**
|
|
3
|
+
* Feeds fops data into the SwappedProvider iframe pool.
|
|
4
|
+
* Extracts iframe URLs in priority order (saved first, then generic)
|
|
5
|
+
* and passes them to the pool for background preloading.
|
|
6
|
+
*/
|
|
7
|
+
export declare function useSwappedPreload(fopsData: GetFopsResponse | undefined): void;
|