@funkit/connect 3.0.0 → 3.0.2
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 +29 -0
- package/dist/__private__/index.d.ts +1 -1
- package/dist/{arbitrum-EB6UHB7R.js → arbitrum-7TAKMNTY.js} +1 -1
- package/dist/{avalanche-GTIW2NZO.js → avalanche-DP4OGWPS.js} +1 -1
- package/dist/{base-DSVASA5E.js → base-JKDU5GAC.js} +1 -1
- package/dist/{blast-T4B7OICF.js → blast-OXCCKFNZ.js} +1 -1
- package/dist/{bsc-D3LSG6XI.js → bsc-3D3KFEXX.js} +1 -1
- package/dist/components/Avatar/EmojiAvatar.d.ts +1 -1
- package/dist/components/ConnectButton/ConnectButtonRenderer.d.ts +1 -1
- package/dist/components/Dialog/Dialog.css.d.ts +1 -0
- package/dist/components/Dialog/Dialog.d.ts +4 -2
- package/dist/components/DydxSwitchModalTab/DydxSwitchModalTab.d.ts +2 -2
- package/dist/components/FunButton/FunIconButton.d.ts +1 -0
- package/dist/components/FunCheckoutBlocked/FunCheckoutBlocked.css.d.ts +1 -0
- package/dist/components/FunCheckoutBlocked/FunCheckoutBlocked.d.ts +2 -0
- package/dist/components/FunPayments/FunPaymentMethods.d.ts +2 -1
- package/dist/components/index.d.ts +1 -1
- package/dist/config/getDefaultConfig.d.ts +429 -3149
- package/dist/consts/customers.d.ts +1 -0
- package/dist/{cronos-7AZSHGK7.js → cronos-5OEAMVEV.js} +1 -1
- package/dist/{dydx-B46RMDPA.js → dydx-IANKGTOD.js} +1 -1
- package/dist/{ethereum-NOZIKDN4.js → ethereum-VZBBHP2I.js} +1 -1
- package/dist/{hardhat-63UZQ2D2.js → hardhat-KGYIXSL3.js} +1 -1
- package/dist/hooks/useCheckoutType.d.ts +1 -1
- package/dist/hooks/useUsableWalletAssetsForCheckout.d.ts +1 -1
- package/dist/index.css +147 -127
- package/dist/index.d.ts +13 -12
- package/dist/index.js +4471 -4342
- package/dist/{klaytn-NDCZPHVS.js → klaytn-VYNHNZBE.js} +1 -1
- package/dist/{manta-VVKV27TG.js → manta-2J6LNNQO.js} +1 -1
- package/dist/{mantle-UYR6COHH.js → mantle-4HPADCAY.js} +1 -1
- package/dist/{components → modals}/ChainModal/Chain.d.ts +1 -1
- package/dist/{components → modals}/FunCheckoutHistoryModal/FunCheckoutHistoryTransaction.css.d.ts +2 -0
- package/dist/{components → modals}/FunCheckoutModal/FunCheckoutInputAmountStep.d.ts +2 -1
- package/dist/{components → modals}/FunCheckoutModal/FunCheckoutModal.d.ts +5 -1
- package/dist/{components → modals}/FunCheckoutModal/FunCheckoutPrimaryInfo.d.ts +1 -1
- package/dist/{components → modals}/FunCheckoutModal/FunCheckoutVerifyDetailsStep.d.ts +5 -2
- package/dist/{components → modals}/ProfileDetails/ProfileDetails.d.ts +1 -0
- package/dist/{optimism-XW773SJ7.js → optimism-7SXPPT5B.js} +1 -1
- package/dist/{polygon-CTDRND6O.js → polygon-KTSHZSJE.js} +1 -1
- package/dist/{components/FunkitProvider → providers}/FunToastProvider.d.ts +1 -1
- package/dist/{components/FunkitProvider → providers}/FunkitCheckoutContext.d.ts +5 -3
- package/dist/{components/FunkitProvider → providers}/FunkitConfigContext.d.ts +1 -1
- package/dist/{components/FunkitProvider → providers}/FunkitMeshProvider.d.ts +1 -1
- package/dist/{components/FunkitProvider → providers}/FunkitMoonpayProvider.d.ts +1 -0
- package/dist/{components/FunkitProvider → providers}/FunkitProvider.d.ts +3 -3
- package/dist/{components/FunkitProvider → providers}/FunkitThemeProvider.d.ts +1 -1
- package/dist/{components/FunkitProvider → providers}/FunkitWeb2Provider.d.ts +1 -1
- package/dist/{components/FunkitProvider → providers}/GeneralWalletProvider.d.ts +14 -14
- package/dist/{components/FunkitProvider → providers}/I18nContext.d.ts +1 -1
- package/dist/{components/FunkitProvider → providers}/ModalContext.d.ts +1 -1
- package/dist/{components/FunkitProvider → providers}/ShowBalanceContext.d.ts +1 -1
- package/dist/{ronin-O2PUII26.js → ronin-NDQSRHAA.js} +1 -1
- package/dist/utils/assetAbort.d.ts +9 -0
- package/dist/utils/assets.d.ts +1 -1
- package/dist/utils/checkout.d.ts +1 -1
- package/dist/utils/flags/config.d.ts +4 -1
- package/dist/utils/flags/index.d.ts +1 -0
- package/dist/utils/funkitProvider.d.ts +1 -1
- package/dist/utils/mesh.d.ts +1 -1
- package/dist/wallets/walletConnectors/index.js +61 -61
- package/dist/{xdc-GR4FVKJB.js → xdc-DOOU3NNX.js} +1 -1
- package/dist/{zetachain-HP3BWJBU.js → zetachain-2J22B4NG.js} +1 -1
- package/dist/{zkSync-UPIELHYI.js → zkSync-YDZI4H7P.js} +1 -1
- package/dist/{zora-DMM6D4R4.js → zora-54FXXQHV.js} +1 -1
- package/package.json +6 -6
- /package/dist/{components → modals}/AccountModal/AccountModal.d.ts +0 -0
- /package/dist/{components → modals}/ChainModal/ChainModal.css.d.ts +0 -0
- /package/dist/{components → modals}/ChainModal/ChainModal.d.ts +0 -0
- /package/dist/{components → modals}/ConnectModal/ConnectModal.d.ts +0 -0
- /package/dist/{components → modals}/DevTest/DevEmbed.d.ts +0 -0
- /package/dist/{components → modals}/DevTest/FunDevTestModal.d.ts +0 -0
- /package/dist/{components → modals}/FunCheckoutHistoryModal/FunCheckoutHistoryContent.d.ts +0 -0
- /package/dist/{components → modals}/FunCheckoutHistoryModal/FunCheckoutHistoryDetail.d.ts +0 -0
- /package/dist/{components → modals}/FunCheckoutHistoryModal/FunCheckoutHistoryHelp.d.ts +0 -0
- /package/dist/{components → modals}/FunCheckoutHistoryModal/FunCheckoutHistoryModal.d.ts +0 -0
- /package/dist/{components → modals}/FunCheckoutHistoryModal/FunCheckoutHistoryTransaction.d.ts +0 -0
- /package/dist/{components → modals}/FunCheckoutHistoryModal/FunCheckoutStatus.d.ts +0 -0
- /package/dist/{components → modals}/FunCheckoutModal/FunCheckoutConfirmationStep.d.ts +0 -0
- /package/dist/{components → modals}/FunCheckoutModal/FunCheckoutConnectExchangeStep.d.ts +0 -0
- /package/dist/{components → modals}/FunCheckoutModal/FunCheckoutSelectAssetStep.d.ts +0 -0
- /package/dist/{components → modals}/ProfileDetails/ActivityTraversalContext.d.ts +0 -0
- /package/dist/{components → modals}/ProfileDetails/FunProfileViews/ActivityHistory/ActivityHistory.d.ts +0 -0
- /package/dist/{components → modals}/ProfileDetails/FunProfileViews/Home/Home.css.d.ts +0 -0
- /package/dist/{components → modals}/ProfileDetails/FunProfileViews/Home/HomeCheckoutDisplayRow.css.d.ts +0 -0
- /package/dist/{components → modals}/ProfileDetails/FunProfileViews/Home/HomeCheckoutDisplayRow.d.ts +0 -0
- /package/dist/{components → modals}/ProfileDetails/FunProfileViews/Home/HomeTokenDisplayRow.d.ts +0 -0
- /package/dist/{components → modals}/ProfileDetails/FunProfileViews/Home/index.d.ts +0 -0
- /package/dist/{components → modals}/ProfileDetails/FunProfileViews/Settings/Settings.d.ts +0 -0
- /package/dist/{components/FunkitProvider → providers}/AppContext.d.ts +0 -0
- /package/dist/{components/FunkitProvider → providers}/AuthenticationContext.d.ts +0 -0
- /package/dist/{components/FunkitProvider → providers}/AvatarContext.d.ts +0 -0
- /package/dist/{components/FunkitProvider → providers}/FunkitConnectChainContext.d.ts +0 -0
- /package/dist/{components/FunkitProvider → providers}/FunkitSandboxContext.d.ts +0 -0
- /package/dist/{components/FunkitProvider → providers}/ModalSizeContext.d.ts +0 -0
- /package/dist/{components/FunkitProvider → providers}/provideFunkitConnectChains.d.ts +0 -0
- /package/dist/{components/FunkitProvider → providers}/useFingerprint.d.ts +0 -0
- /package/dist/{components/FunkitProvider → providers}/usePreloadImages.d.ts +0 -0
- /package/dist/{components/FunkitProvider → providers}/walletConnectDeepLink.d.ts +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,34 @@
|
|
|
1
1
|
# @funkit/connect
|
|
2
2
|
|
|
3
|
+
## 3.0.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 71be090: feat: new flag show_powered_tagline
|
|
8
|
+
- 24eef94: feat: add modalTitleMeta config option to Checkout configuration
|
|
9
|
+
- f0b1a1f: feat: add separate coinbase exchange icon
|
|
10
|
+
- 769a8d1: fix: hanging focus state on disconnect button
|
|
11
|
+
- 3842a42: chore: update wagmi dependencies
|
|
12
|
+
- Updated dependencies [3842a42]
|
|
13
|
+
- @funkit/wagmi-tools@3.0.6
|
|
14
|
+
- @funkit/core@2.1.4
|
|
15
|
+
|
|
16
|
+
## 3.0.1
|
|
17
|
+
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
20
|
+
- 4cec99b: feat: add checkout geolocation blocks
|
|
21
|
+
- 0139ee1: refactor: change mesh integration id type
|
|
22
|
+
- 9e46890: feat: abort controller for asset calls
|
|
23
|
+
- 1064d91: fix(connect): use original enum text for Okx
|
|
24
|
+
- 1d81269: feat(connect): auto-select express payment method option
|
|
25
|
+
- 1c6edc0: fix(connect): fixed asset list skeleton loader
|
|
26
|
+
- 1064d91: refactor(connect): move modals and providers to standalone folders for internal sdk
|
|
27
|
+
- Updated dependencies [9e46890]
|
|
28
|
+
- @funkit/api-base@1.0.3
|
|
29
|
+
- @funkit/core@2.1.3
|
|
30
|
+
- @funkit/wagmi-tools@3.0.5
|
|
31
|
+
|
|
3
32
|
## 3.0.0
|
|
4
33
|
|
|
5
34
|
### Major Changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
|
|
3
|
-
// src/
|
|
3
|
+
// src/providers/chainIcons/arbitrum.svg
|
|
4
4
|
var arbitrum_default = 'data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" fill="none"><rect width="26.6" height="26.6" x=".7" y=".7" fill="%232D374B" stroke="%2396BEDC" stroke-width="1.4" rx="13.3"/><mask id="a" width="28" height="28" x="0" y="0" maskUnits="userSpaceOnUse" style="mask-type:alpha"><rect width="28" height="28" fill="%23C4C4C4" rx="14"/></mask><g mask="url(%23a)"><path fill="%2328A0F0" d="m14.0861 18.6041 6.5014 10.2239 4.0057-2.3213-7.86-12.3943-2.6471 4.4917Zm13.0744 3.4692-.003-1.8599-7.3064-11.407-2.3087 3.9173 7.091 11.4303 2.172-1.2586a.9628.9628 0 0 0 .3555-.7009l-.0004-.1212Z"/><rect width="25.9" height="25.9" x="1.05" y="1.05" fill="url(%23b)" fill-opacity=".3" stroke="%2396BEDC" stroke-width="2.1" rx="12.95"/><path fill="%23fff" d="m.3634 28.2207-3.07-1.7674-.234-.8333L7.7461 9.0194c.7298-1.1913 2.3197-1.575 3.7957-1.5541l1.7323.0457L.3634 28.2207ZM19.1655 7.511l-4.5653.0166L2.24 27.9533l3.6103 2.0788.9818-1.6652L19.1655 7.511Z"/></g><defs><linearGradient id="b" x1="0" x2="14" y1="0" y2="28" gradientUnits="userSpaceOnUse"><stop stop-color="%23fff"/><stop offset="1" stop-color="%23fff" stop-opacity="0"/></linearGradient></defs></svg>%0A';
|
|
5
5
|
export {
|
|
6
6
|
arbitrum_default as default
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
|
|
3
|
-
// src/
|
|
3
|
+
// src/providers/chainIcons/avalanche.svg
|
|
4
4
|
var avalanche_default = 'data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" fill="none"><path fill="%23fff" d="M23 5H5v18h18V5Z"/><path fill="%23E84142" fill-rule="evenodd" d="M14 28c-7.513.008-14-6.487-14-14C0 6.196 6.043-.008 14 0c7.95.008 14 6.196 14 14 0 7.505-6.495 13.992-14 14Zm-3.971-7.436H7.315c-.57 0-.851 0-1.023-.11a.69.69 0 0 1-.313-.54c-.01-.202.13-.45.412-.944l6.7-11.809c.285-.501.43-.752.612-.845.195-.1.429-.1.625 0 .182.093.326.344.611.845l1.377 2.404.007.013c.308.538.464.81.533 1.097a2.04 2.04 0 0 1 0 .954c-.07.289-.224.564-.536 1.11l-3.52 6.22-.009.017c-.31.542-.467.817-.684 1.024a2.048 2.048 0 0 1-.835.485c-.285.079-.604.079-1.243.079Zm6.852 0h3.888c.574 0 .862 0 1.034-.113a.687.687 0 0 0 .313-.543c.01-.196-.128-.434-.398-.9a8.198 8.198 0 0 1-.028-.048l-1.948-3.332-.022-.037c-.274-.463-.412-.697-.59-.787a.684.684 0 0 0-.621 0c-.179.093-.323.337-.608.828l-1.94 3.331-.007.012c-.284.49-.426.735-.416.936.014.22.127.423.313.543.168.11.456.11 1.03.11Z" clip-rule="evenodd"/></svg>%0A';
|
|
5
5
|
export {
|
|
6
6
|
avalanche_default as default
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
|
|
3
|
-
// src/
|
|
3
|
+
// src/providers/chainIcons/base.svg
|
|
4
4
|
var base_default = 'data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28"><g fill="none" fill-rule="evenodd"><path fill="%230052FF" fill-rule="nonzero" d="M14 28a14 14 0 1 0 0-28 14 14 0 0 0 0 28Z"/><path fill="%23FFF" d="M13.967 23.86c5.445 0 9.86-4.415 9.86-9.86 0-5.445-4.415-9.86-9.86-9.86-5.166 0-9.403 3.974-9.825 9.03h14.63v1.642H4.142c.413 5.065 4.654 9.047 9.826 9.047Z"/></g></svg>';
|
|
5
5
|
export {
|
|
6
6
|
base_default as default
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
|
|
3
|
-
// src/
|
|
3
|
+
// src/providers/chainIcons/blast.svg
|
|
4
4
|
var blast_default = 'data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 28 28"><rect width="28" height="28" fill="%23000" rx="14"/><rect width="28" height="28" fill="url(%23a)" fill-opacity=".1" rx="14"/><path fill="%23FCFC03" d="M7.735 7.836 5.581 9.73c-.163.137-.065.447.163.447h13.773c.163 0 .261.173.229.345l-.686 2.1a.247.247 0 0 1-.228.173h-5.353a.247.247 0 0 0-.228.172l-.555 1.515a.253.253 0 0 0 .228.345h5.19c.163 0 .26.172.228.344l-.816 2.652a.247.247 0 0 1-.228.172H9.563c-.163 0-.261-.172-.229-.31l1.534-5.786c.033-.103-.032-.24-.098-.275l-1.631-.999c-.131-.069-.294 0-.36.138l-2.545 9.16c-.065.173.065.31.228.31h10.346c.033 0 .066 0 .098-.034l2.579-1.309a.262.262 0 0 0 .13-.137l1.012-3.134c.033-.07 0-.207-.065-.242l-1.208-1.274c-.098-.103-.065-.344.065-.413l1.86-.93c.066-.034.099-.069.099-.137l1.11-3.134c.032-.104 0-.241-.066-.276l-1.534-1.377c-.065-.035-.065-.07-.163-.07H7.898a.535.535 0 0 0-.163.07Z"/><defs><linearGradient id="a" x1="0" x2="14" y1="0" y2="28" gradientUnits="userSpaceOnUse"><stop stop-color="%23fff"/><stop offset="1" stop-color="%23fff" stop-opacity="0"/></linearGradient></defs></svg>';
|
|
5
5
|
export {
|
|
6
6
|
blast_default as default
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
|
|
3
|
-
// src/
|
|
3
|
+
// src/providers/chainIcons/bsc.svg
|
|
4
4
|
var bsc_default = 'data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" fill="none"><g clip-path="url(%23a)"><path fill="%23F0B90B" fill-rule="evenodd" d="M14 0c7.733 0 14 6.267 14 14s-6.267 14-14 14S0 21.733 0 14 6.267 0 14 0Z" clip-rule="evenodd"/><path fill="%23fff" d="m7.694 14 .01 3.702 3.146 1.85v2.168l-4.986-2.924v-5.878L7.694 14Zm0-3.702v2.157l-1.832-1.083V9.214l1.832-1.083 1.841 1.083-1.84 1.084Zm4.47-1.084 1.832-1.083 1.84 1.083-1.84 1.084-1.832-1.084Z"/><path fill="%23fff" d="M9.018 16.935v-2.168l1.832 1.084v2.157l-1.832-1.073Zm3.146 3.394 1.832 1.084 1.84-1.084v2.157l-1.84 1.084-1.832-1.084V20.33Zm6.3-11.115 1.832-1.083 1.84 1.083v2.158l-1.84 1.083v-2.157l-1.832-1.084Zm1.832 8.488.01-3.702 1.831-1.084v5.879l-4.986 2.924v-2.167l3.145-1.85Z"/><path fill="%23fff" d="m18.982 16.935-1.832 1.073v-2.157l1.832-1.084v2.168Z"/><path fill="%23fff" d="m18.982 11.065.01 2.168-3.155 1.85v3.712l-1.831 1.073-1.832-1.073v-3.711l-3.155-1.851v-2.168l1.84-1.083 3.135 1.86 3.155-1.86 1.84 1.083h-.007Zm-9.964-3.7 4.977-2.935 4.987 2.935-1.832 1.083-3.154-1.86-3.146 1.86-1.832-1.083Z"/></g><defs><clipPath id="a"><path fill="%23fff" d="M0 0h28v28H0z"/></clipPath></defs></svg>';
|
|
5
5
|
export {
|
|
6
6
|
bsc_default as default
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { AvatarComponent } from '
|
|
1
|
+
import { AvatarComponent } from '../../providers/AvatarContext';
|
|
2
2
|
export declare const EmojiAvatar: AvatarComponent;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
|
-
import { AuthenticationStatus } from '
|
|
2
|
+
import { AuthenticationStatus } from '../../providers/AuthenticationContext';
|
|
3
3
|
export interface ConnectButtonRendererProps {
|
|
4
4
|
children: (renderProps: {
|
|
5
5
|
account?: {
|
|
@@ -16,8 +16,8 @@ interface DialogProps {
|
|
|
16
16
|
*/
|
|
17
17
|
export declare function Dialog({ children, onClose, open, titleId, isHidden, isSmartCloseable, }: DialogProps): React.JSX.Element;
|
|
18
18
|
export declare namespace Dialog {
|
|
19
|
-
var Title: ({ title, hasCloseButton: hasCloseButtonProp, isCloseDisabled, onClose, hasBackButton: hasBackButtonProp, isBackDisabled, onBack, backAnimation, skipBackDelay, countdownSeconds, countdownKey, delayCountdownReturnByBuffer, dydxHideBack, }: DialogTitleProps) => React.JSX.Element;
|
|
20
|
-
var Content: ({ children, fullHeight, paddingLeft, paddingBottom, className, withTopDivider, withBottomDivider, ...boxProps }: DialogContentProps) => React.JSX.Element;
|
|
19
|
+
var Title: ({ title, titleMeta, hasCloseButton: hasCloseButtonProp, isCloseDisabled, onClose, hasBackButton: hasBackButtonProp, isBackDisabled, onBack, backAnimation, skipBackDelay, countdownSeconds, countdownKey, delayCountdownReturnByBuffer, dydxHideBack, }: DialogTitleProps) => React.JSX.Element;
|
|
20
|
+
var Content: ({ children, fullHeight, paddingLeft, paddingBottom, className, withTopDivider, withBottomDivider, id, ...boxProps }: DialogContentProps) => React.JSX.Element;
|
|
21
21
|
var BottomSection: ({ paddingX, ...boxProps }: Omit<BoxProps, "children">) => React.JSX.Element;
|
|
22
22
|
var BottomBar: ({ topSection, actionButtonProps, bottomSection, }: import("../FunBottomBar/FunBottomBar").FunBottomBarProps) => React.JSX.Element;
|
|
23
23
|
}
|
|
@@ -27,9 +27,11 @@ interface DialogContentProps extends BoxProps {
|
|
|
27
27
|
fullHeight?: boolean;
|
|
28
28
|
withTopDivider?: boolean;
|
|
29
29
|
withBottomDivider?: boolean;
|
|
30
|
+
id?: string;
|
|
30
31
|
}
|
|
31
32
|
export interface DialogTitleProps {
|
|
32
33
|
title?: string;
|
|
34
|
+
titleMeta?: string;
|
|
33
35
|
hasCloseButton?: boolean;
|
|
34
36
|
isCloseDisabled?: boolean;
|
|
35
37
|
onClose?: (p?: any) => void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { FunCheckoutStep } from '
|
|
3
|
-
import { FunkitActiveCheckoutItem } from '
|
|
2
|
+
import { FunCheckoutStep } from '../../modals/FunCheckoutModal/FunCheckoutModal';
|
|
3
|
+
import { FunkitActiveCheckoutItem } from '../../providers/FunkitCheckoutContext';
|
|
4
4
|
interface DydxSwitchTabProps {
|
|
5
5
|
checkoutItem: FunkitActiveCheckoutItem | null;
|
|
6
6
|
checkoutStep: FunCheckoutStep;
|
|
@@ -4,6 +4,7 @@ export interface FunIconButtonProps {
|
|
|
4
4
|
onClick?: () => void;
|
|
5
5
|
onMouseEnter?: () => void;
|
|
6
6
|
onMouseLeave?: () => void;
|
|
7
|
+
onBlur?: () => void;
|
|
7
8
|
icon: React.ReactNode;
|
|
8
9
|
/** Total height and width of the clickable area (including borders) */
|
|
9
10
|
size?: BoxProps['height'];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const funCheckoutBlockedStyle: string;
|
|
@@ -6,10 +6,11 @@ export declare function ExistingPaymentMethodItem({ paymentMethodInfo, }: {
|
|
|
6
6
|
/**
|
|
7
7
|
* Handle selection and adding of payment methods
|
|
8
8
|
*/
|
|
9
|
-
export declare function FunPaymentMethods({ primaryInfo, checkoutId, onSelect, isDisabled, depositAmount, }: {
|
|
9
|
+
export declare function FunPaymentMethods({ primaryInfo, checkoutId, onSelect, isDisabled, depositAmount, isLoadingGeoCheck, }: {
|
|
10
10
|
primaryInfo: React.ReactNode;
|
|
11
11
|
checkoutId: string;
|
|
12
12
|
onSelect: (paymentMethodInfo: PaymentMethodInfo) => void;
|
|
13
13
|
isDisabled?: boolean;
|
|
14
14
|
depositAmount: string;
|
|
15
|
+
isLoadingGeoCheck: boolean;
|
|
15
16
|
}): React.JSX.Element;
|