@funkit/connect 1.0.24 → 1.0.26
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 +25 -0
- package/dist/{chunk-2GFNZKMA.js → chunk-4SROXH24.js} +3 -3
- package/dist/{chunk-RA4J3G3B.js → chunk-EYTYHIPM.js} +3 -3
- package/dist/components/ChainModal/Chain.d.ts +5 -0
- package/dist/components/FunButton/FunButton.css.d.ts +1 -0
- package/dist/components/FunButton/FunIconButton.d.ts +2 -1
- package/dist/components/FunCheckoutHistoryModal/FunCheckoutHistoryContent.d.ts +8 -0
- package/dist/components/FunCheckoutHistoryModal/FunCheckoutHistoryDetail.d.ts +2 -2
- package/dist/components/FunCheckoutHistoryModal/FunCheckoutHistoryModal.d.ts +2 -2
- package/dist/components/FunCheckoutModal/FunCheckoutPrimaryInfo.d.ts +4 -2
- package/dist/components/FunNotification/FunCheckoutNotification.d.ts +3 -2
- package/dist/components/FunNotification/FunNotification.d.ts +5 -1
- package/dist/components/FunTransactionSummary/FunTxSummaryComponents.d.ts +9 -0
- package/dist/components/FunTransactionSummary/FunTxSummaryHistory.d.ts +5 -0
- package/dist/components/FunkitProvider/FunkitCheckoutContext.d.ts +2 -0
- package/dist/components/FunkitProvider/GeneralWalletProvider.d.ts +70 -0
- package/dist/components/Icons/StatusIcons.d.ts +4 -0
- package/dist/components/Icons/SwitchIcon.d.ts +2 -0
- package/dist/components/ProfileDetails/ActivityTraversalContext.d.ts +40 -0
- package/dist/components/ProfileDetails/FunProfileViews/ActivityHistory/ActivityHistory.d.ts +9 -1
- package/dist/components/ProfileDetails/FunProfileViews/Home/HomeCheckoutSection.d.ts +3 -2
- package/dist/components/ProfileDetails/FunProfileViews/Home/index.d.ts +9 -1
- package/dist/components/ProfileDetails/ProfileDetails.d.ts +2 -1
- package/dist/index.css +89 -58
- package/dist/index.d.ts +1 -1
- package/dist/index.js +10005 -9619
- package/dist/themes/darkTheme.js +1 -1
- package/dist/themes/lightTheme.js +1 -1
- package/dist/utils/checkoutHistory.d.ts +3 -3
- package/dist/utils/deposit.d.ts +1 -0
- package/dist/wallets/walletConnectors/bifrostWallet/bifrostWallet.js +2 -2
- package/dist/wallets/walletConnectors/bitgetWallet/bitgetWallet.js +2 -2
- package/dist/wallets/walletConnectors/bybitWallet/bybitWallet.js +2 -2
- package/dist/wallets/walletConnectors/chunk-75A2U7T7.js +100 -0
- package/dist/wallets/walletConnectors/chunk-N3VZE65M.js +98 -0
- package/dist/wallets/walletConnectors/chunk-OAEJQOAV.js +105 -0
- package/dist/wallets/walletConnectors/chunk-OR3PU2W4.js +95 -0
- package/dist/wallets/walletConnectors/chunk-RCWZ4KBR.js +73 -0
- package/dist/wallets/walletConnectors/chunk-SL4VH23R.js +71 -0
- package/dist/wallets/walletConnectors/chunk-VSZ7PAHS.js +94 -0
- package/dist/wallets/walletConnectors/chunk-VWZEDVW6.js +27 -0
- package/dist/wallets/walletConnectors/chunk-XNNLZXHE.js +102 -0
- package/dist/wallets/walletConnectors/chunk-XRMAVTK7.js +178 -0
- package/dist/wallets/walletConnectors/chunk-XSSD5ZVD.js +96 -0
- package/dist/wallets/walletConnectors/chunk-YC7XNS7C.js +98 -0
- package/dist/wallets/walletConnectors/clvWallet/clvWallet.js +2 -2
- package/dist/wallets/walletConnectors/coin98Wallet/coin98Wallet.js +2 -2
- package/dist/wallets/walletConnectors/coreWallet/coreWallet.js +2 -2
- package/dist/wallets/walletConnectors/foxWallet/foxWallet.js +2 -2
- package/dist/wallets/walletConnectors/frontierWallet/frontierWallet.js +2 -2
- package/dist/wallets/walletConnectors/gateWallet/gateWallet.js +2 -2
- package/dist/wallets/walletConnectors/index.js +77 -77
- package/dist/wallets/walletConnectors/metaMaskWallet/metaMaskWallet.js +2 -2
- package/dist/wallets/walletConnectors/okxWallet/okxWallet.js +2 -2
- package/dist/wallets/walletConnectors/rainbowWallet/rainbowWallet.js +2 -2
- package/dist/wallets/walletConnectors/roninWallet/roninWallet.js +2 -2
- package/dist/wallets/walletConnectors/safepalWallet/safepalWallet.js +2 -2
- package/dist/wallets/walletConnectors/subWallet/subWallet.js +2 -2
- package/dist/wallets/walletConnectors/tokenPocketWallet/tokenPocketWallet.js +2 -2
- package/dist/wallets/walletConnectors/trustWallet/trustWallet.js +2 -2
- package/dist/wallets/walletConnectors/zerionWallet/zerionWallet.js +2 -2
- package/package.json +6 -6
- package/dist/components/ProfileDetails/ProfileDetailsAction.d.ts +0 -10
- package/dist/hooks/useFunkitSwitchChain.d.ts +0 -7
- package/dist/wallets/walletConnectors/{chunk-ZNXQ4V6G.js → chunk-2B3SPBRY.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-ZBAQFL6G.js → chunk-2GAW2UBU.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-V45EXW7A.js → chunk-2PC2XXUH.js} +4 -4
- package/dist/wallets/walletConnectors/{chunk-2UXZAUWT.js → chunk-7KDOXASH.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-Z2DGDHHZ.js → chunk-CRSPGVPF.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-ZUAHWUEL.js → chunk-CUKVUCIP.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-NGXIHASN.js → chunk-DV3SI63E.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-O5NKWWEG.js → chunk-FDIIMYTB.js} +4 -4
- package/dist/wallets/walletConnectors/{chunk-LVRXH33E.js → chunk-GW6EF4G2.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-AM4SSLAP.js → chunk-HD5VYJNC.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-JLQ5HJYV.js → chunk-IBWFKX7P.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-6LTLPR2Q.js → chunk-KGTZ6E7L.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-Q4RLUJJD.js → chunk-OKWOB3DN.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-SYELB4QO.js → chunk-RTW6PVQI.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-7CQPABJG.js → chunk-SQGFKNNZ.js} +4 -4
- package/dist/wallets/walletConnectors/{chunk-MIWCKFYE.js → chunk-T6JVHES7.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-3WZRNEZH.js → chunk-X255T3C4.js} +4 -4
- package/dist/wallets/walletConnectors/{chunk-4FQLUQNA.js → chunk-Z2HIQYVN.js} +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,30 @@
|
|
|
1
1
|
# @funkit/connect
|
|
2
2
|
|
|
3
|
+
## 1.0.26
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 92447ae: feat: checkout history traversal & route memory
|
|
8
|
+
- c84cb9d: feat: deprecate direct execution flow
|
|
9
|
+
- fa2bb25: feat: new `useFunkitAccount` hook
|
|
10
|
+
- c84cb9d: feat: new fees display
|
|
11
|
+
- Updated dependencies [49ec685]
|
|
12
|
+
- Updated dependencies [185b90c]
|
|
13
|
+
- @funkit/core@1.0.10
|
|
14
|
+
- @funkit/wagmi-tools@1.0.11
|
|
15
|
+
|
|
16
|
+
## 1.0.25
|
|
17
|
+
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
20
|
+
- f27a1fc: feat: absolute to usd input switcher
|
|
21
|
+
- 286c947: refactor: notification animations
|
|
22
|
+
- f27a1fc: refactor: more animations
|
|
23
|
+
- 286c947: feat: payment selection flow improvements
|
|
24
|
+
- a441de2: feat: new purchase history notification
|
|
25
|
+
- 18a9e56: feat: custom funkit wagmi hook `useFunkitSwitchChain`
|
|
26
|
+
- bbdf020: feat: checkout history v2
|
|
27
|
+
|
|
3
28
|
## 1.0.24
|
|
4
29
|
|
|
5
30
|
### Patch Changes
|
|
@@ -53,7 +53,7 @@ var darkTheme = ({
|
|
|
53
53
|
solidLine: "#FFF",
|
|
54
54
|
rightTranslucentLine: "linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.5))",
|
|
55
55
|
leftTranslucentLine: "linear-gradient(to right, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0))",
|
|
56
|
-
standby: "#
|
|
56
|
+
standby: "#F6851B",
|
|
57
57
|
loadingBase: "rgba(255, 255, 255, 0.05)",
|
|
58
58
|
loadingAccent: "rgba(255, 255, 255, 0.2)",
|
|
59
59
|
modalBackdrop: "rgba(0, 0, 0, 0.4)",
|
|
@@ -76,8 +76,8 @@ var darkTheme = ({
|
|
|
76
76
|
buttonTextPrimary: "#000000",
|
|
77
77
|
buttonTextSecondary: "#FFFFFF",
|
|
78
78
|
buttonTextDisabled: "#000000",
|
|
79
|
-
buttonWarning: "#
|
|
80
|
-
buttonSuccess: "#
|
|
79
|
+
buttonWarning: "#F34126",
|
|
80
|
+
buttonSuccess: "#2EA200",
|
|
81
81
|
buttonTextWarning: "#FFFFFF",
|
|
82
82
|
buttonTextSuccess: "#FFFFFF",
|
|
83
83
|
transparent: "transparent",
|
|
@@ -53,7 +53,7 @@ var lightTheme = ({
|
|
|
53
53
|
solidLine: "#000",
|
|
54
54
|
rightTranslucentLine: "linear-gradient(to right, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0.5))",
|
|
55
55
|
leftTranslucentLine: "linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))",
|
|
56
|
-
standby: "#
|
|
56
|
+
standby: "#F6851B",
|
|
57
57
|
loadingBase: "rgba(0, 0, 0, 0.05)",
|
|
58
58
|
loadingAccent: "rgba(0, 0, 0, 0.2)",
|
|
59
59
|
modalBackdrop: "rgba(0, 0, 0, 0.4)",
|
|
@@ -73,8 +73,8 @@ var lightTheme = ({
|
|
|
73
73
|
buttonPrimary: accentColor,
|
|
74
74
|
buttonProcessing: accentColorForeground,
|
|
75
75
|
buttonDisabled: "#31A3F826",
|
|
76
|
-
buttonWarning: "#
|
|
77
|
-
buttonSuccess: "#
|
|
76
|
+
buttonWarning: "#F34126",
|
|
77
|
+
buttonSuccess: "#2EA200",
|
|
78
78
|
buttonTextWarning: "#FFFFFF",
|
|
79
79
|
buttonTextSuccess: "#FFFFFF",
|
|
80
80
|
buttonTextPrimary: "#FFFFFF",
|
|
@@ -13,5 +13,10 @@ interface ChainProps {
|
|
|
13
13
|
src: string | AsyncImageSrc | undefined | null;
|
|
14
14
|
idx: number;
|
|
15
15
|
}
|
|
16
|
+
export declare function ChainLineItem({ chainId, chainIconSize, gap, }: {
|
|
17
|
+
chainId: number;
|
|
18
|
+
chainIconSize: BoxProps['height'];
|
|
19
|
+
gap?: BoxProps['gap'];
|
|
20
|
+
}): React.JSX.Element | null;
|
|
16
21
|
declare const Chain: ({ chainId, currentChainId, switchChain, chainIconSize, isLoading, src, name, iconBackground, idx, }: ChainProps) => React.JSX.Element;
|
|
17
22
|
export default Chain;
|
|
@@ -3,7 +3,7 @@ import { BoxProps } from '../Box/Box';
|
|
|
3
3
|
/**
|
|
4
4
|
* Circular icon button with dynamic height and width
|
|
5
5
|
*/
|
|
6
|
-
export declare const FunIconButton: ({ onClick, icon, size, showBorder, paddingX, paddingY, borderRadius, ariaLabel, color, background, width, }: {
|
|
6
|
+
export declare const FunIconButton: ({ onClick, icon, size, showBorder, paddingX, paddingY, borderRadius, ariaLabel, color, background, width, rotateIconAnimation, }: {
|
|
7
7
|
onClick: () => void;
|
|
8
8
|
icon: React.ReactNode;
|
|
9
9
|
size?: BoxProps['height'];
|
|
@@ -15,4 +15,5 @@ export declare const FunIconButton: ({ onClick, icon, size, showBorder, paddingX
|
|
|
15
15
|
color?: BoxProps['color'];
|
|
16
16
|
background?: BoxProps['background'];
|
|
17
17
|
width?: BoxProps['width'];
|
|
18
|
+
rotateIconAnimation?: boolean | undefined;
|
|
18
19
|
}) => React.JSX.Element;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { HistoryContentPages } from '../../utils/checkoutHistory';
|
|
3
|
+
export declare function FunCheckoutHistoryContent({ onClose, depositAddress, initialPage, onBackFromDetailPage, }: {
|
|
4
|
+
depositAddress: `0x${string}`;
|
|
5
|
+
initialPage: HistoryContentPages;
|
|
6
|
+
onClose: () => void;
|
|
7
|
+
onBackFromDetailPage: undefined | (() => void);
|
|
8
|
+
}): React.JSX.Element;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { CheckoutHistoryItem } from '@funkit/core';
|
|
2
2
|
import React, { Dispatch, SetStateAction } from 'react';
|
|
3
|
-
import {
|
|
3
|
+
import { HistoryContentPages } from '../../utils/checkoutHistory';
|
|
4
4
|
/**
|
|
5
5
|
* Processing info about a checkout history item (already created in backend)
|
|
6
6
|
*/
|
|
7
7
|
export declare function FunCheckoutHistoryDetail({ checkoutHistoryInfo, setCurrentPage, animateOut, }: {
|
|
8
8
|
checkoutHistoryInfo: CheckoutHistoryItem;
|
|
9
|
-
setCurrentPage: Dispatch<SetStateAction<
|
|
9
|
+
setCurrentPage: Dispatch<SetStateAction<HistoryContentPages>>;
|
|
10
10
|
animateOut: boolean;
|
|
11
11
|
}): React.JSX.Element;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { HistoryContentPages } from '../../utils/checkoutHistory';
|
|
3
3
|
interface FunCheckoutHistoryModalProps {
|
|
4
4
|
open: boolean;
|
|
5
5
|
onClose: () => void;
|
|
6
6
|
depositAddress: `0x${string}`;
|
|
7
|
-
initialPage:
|
|
7
|
+
initialPage: HistoryContentPages;
|
|
8
8
|
}
|
|
9
9
|
export declare function FunCheckoutHistoryModal({ onClose, open, depositAddress, initialPage, }: FunCheckoutHistoryModalProps): React.JSX.Element;
|
|
10
10
|
export {};
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { FunkitActiveCheckoutItem } from '../FunkitProvider/FunkitCheckoutContext';
|
|
3
3
|
import { FunCheckoutStep } from './FunCheckoutModal';
|
|
4
|
-
export declare function CheckoutPrimaryInfoSnapshot({ checkoutItem, isLoading, isEditable, onConfirmEdit, }: {
|
|
4
|
+
export declare function CheckoutPrimaryInfoSnapshot({ checkoutItem, isLoading, isEditable, onConfirmEdit, prioritizeDraftValue, }: {
|
|
5
5
|
checkoutItem: FunkitActiveCheckoutItem;
|
|
6
6
|
isLoading: boolean;
|
|
7
7
|
isEditable: boolean;
|
|
8
8
|
onConfirmEdit?: (newValue: number) => void;
|
|
9
|
+
prioritizeDraftValue: boolean;
|
|
9
10
|
}): React.JSX.Element;
|
|
10
|
-
export declare function CheckoutPrimaryInfo({ checkoutId, checkoutStep, }: {
|
|
11
|
+
export declare function CheckoutPrimaryInfo({ checkoutId, checkoutStep, prioritizeDraftValue, }: {
|
|
11
12
|
checkoutId: string | null;
|
|
12
13
|
checkoutStep: FunCheckoutStep;
|
|
14
|
+
prioritizeDraftValue: boolean;
|
|
13
15
|
}): React.JSX.Element | null;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { CheckoutHistoryItem } from '@funkit/core';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
|
|
3
|
+
import { HistoryContentPages } from '../../utils/checkoutHistory';
|
|
4
|
+
export declare function FunCheckoutNotification({ checkoutHistoryItem, onSelect, }: {
|
|
4
5
|
checkoutHistoryItem: CheckoutHistoryItem;
|
|
5
|
-
|
|
6
|
+
onSelect: (depositAddress: `0x${string}`, initialPage: HistoryContentPages) => void;
|
|
6
7
|
}): React.JSX.Element;
|
|
@@ -1,12 +1,16 @@
|
|
|
1
|
+
import './FunNotification.css';
|
|
1
2
|
import React, { ReactNode } from 'react';
|
|
2
3
|
import { Box } from '../Box/Box';
|
|
3
4
|
import { TextProps } from '../Text/Text';
|
|
4
5
|
interface FunNotificationProps {
|
|
5
6
|
type?: FunNotificationType;
|
|
6
7
|
description: string | ReactNode;
|
|
8
|
+
actionText?: string;
|
|
9
|
+
onAction?: () => void;
|
|
7
10
|
textProps?: Omit<TextProps, 'color'>;
|
|
8
11
|
containerProps?: React.ComponentProps<typeof Box>;
|
|
12
|
+
isVisible?: boolean;
|
|
9
13
|
}
|
|
10
14
|
type FunNotificationType = 'default' | 'error';
|
|
11
|
-
export declare function FunNotification({ type, description, textProps, containerProps, }: FunNotificationProps): React.JSX.Element;
|
|
15
|
+
export declare function FunNotification({ type, description, actionText, onAction, textProps, containerProps, isVisible, }: FunNotificationProps): React.JSX.Element;
|
|
12
16
|
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare function FunTxSummaryBox({ children }: {
|
|
3
|
+
children: any;
|
|
4
|
+
}): React.JSX.Element;
|
|
5
|
+
export declare function FunTxSummaryLineItem({ children, ...otherProps }: any): React.JSX.Element;
|
|
6
|
+
export declare function FunTxSummaryLineItemKeyText({ text }: {
|
|
7
|
+
text: string;
|
|
8
|
+
}): React.JSX.Element;
|
|
9
|
+
export declare function FunTxSummaryDivider(): React.JSX.Element;
|
|
@@ -102,6 +102,8 @@ export interface FunkitActiveCheckoutItem {
|
|
|
102
102
|
isDrafting: boolean;
|
|
103
103
|
/** The draft dollar value estimate of the checkout. Not the actual quote. **/
|
|
104
104
|
draftDollarValue: null | number;
|
|
105
|
+
/** The final dollar value of the checkout. Derived from latestQuote. **/
|
|
106
|
+
finalDollarValue: null | number;
|
|
105
107
|
/** Whether the checkout quote is being fetched **/
|
|
106
108
|
isQuoting: boolean;
|
|
107
109
|
/** Latest checkout estimated fees and time **/
|
|
@@ -23,6 +23,66 @@ interface GeneralWalletContextProps {
|
|
|
23
23
|
}
|
|
24
24
|
export declare function GeneralWalletProvider({ children }: any): React.JSX.Element;
|
|
25
25
|
export declare const useGeneralWallet: () => GeneralWalletContextProps;
|
|
26
|
+
/**
|
|
27
|
+
* Replacement for wagmi's `useAccount`
|
|
28
|
+
*/
|
|
29
|
+
export declare const useFunkitAccount: () => {
|
|
30
|
+
account: string;
|
|
31
|
+
isConnected: boolean;
|
|
32
|
+
isWeb2Login: boolean;
|
|
33
|
+
isWeb3Login: boolean;
|
|
34
|
+
address: undefined;
|
|
35
|
+
addresses: undefined;
|
|
36
|
+
chain: undefined;
|
|
37
|
+
chainId: undefined;
|
|
38
|
+
connector: undefined;
|
|
39
|
+
isReconnecting: false;
|
|
40
|
+
isConnecting: false;
|
|
41
|
+
isDisconnected: true;
|
|
42
|
+
status: "disconnected";
|
|
43
|
+
} | {
|
|
44
|
+
account: string;
|
|
45
|
+
isConnected: boolean;
|
|
46
|
+
isWeb2Login: boolean;
|
|
47
|
+
isWeb3Login: boolean;
|
|
48
|
+
address: `0x${string}`;
|
|
49
|
+
addresses: readonly [`0x${string}`, ...`0x${string}`[]];
|
|
50
|
+
chain: import("viem").Chain | undefined;
|
|
51
|
+
chainId: number;
|
|
52
|
+
connector: import("wagmi").Connector;
|
|
53
|
+
isConnecting: false;
|
|
54
|
+
isDisconnected: false;
|
|
55
|
+
isReconnecting: false;
|
|
56
|
+
status: "connected";
|
|
57
|
+
} | {
|
|
58
|
+
account: string;
|
|
59
|
+
isConnected: boolean;
|
|
60
|
+
isWeb2Login: boolean;
|
|
61
|
+
isWeb3Login: boolean;
|
|
62
|
+
address: `0x${string}` | undefined;
|
|
63
|
+
addresses: readonly `0x${string}`[] | undefined;
|
|
64
|
+
chain: import("viem").Chain | undefined;
|
|
65
|
+
chainId: number | undefined;
|
|
66
|
+
connector: import("wagmi").Connector | undefined;
|
|
67
|
+
isConnecting: false;
|
|
68
|
+
isDisconnected: false;
|
|
69
|
+
isReconnecting: true;
|
|
70
|
+
status: "reconnecting";
|
|
71
|
+
} | {
|
|
72
|
+
account: string;
|
|
73
|
+
isConnected: boolean;
|
|
74
|
+
isWeb2Login: boolean;
|
|
75
|
+
isWeb3Login: boolean;
|
|
76
|
+
address: `0x${string}` | undefined;
|
|
77
|
+
addresses: readonly `0x${string}`[] | undefined;
|
|
78
|
+
chain: import("viem").Chain | undefined;
|
|
79
|
+
chainId: number | undefined;
|
|
80
|
+
connector: import("wagmi").Connector | undefined;
|
|
81
|
+
isReconnecting: false;
|
|
82
|
+
isConnecting: true;
|
|
83
|
+
isDisconnected: false;
|
|
84
|
+
status: "connecting";
|
|
85
|
+
};
|
|
26
86
|
/**
|
|
27
87
|
* Replacement for wagmi's `disconnect` from `useDisconnect`
|
|
28
88
|
*/
|
|
@@ -99,4 +159,14 @@ export declare const useFunkitDisconnect: () => {
|
|
|
99
159
|
submittedAt: number;
|
|
100
160
|
connectors: readonly import("wagmi").Connector[];
|
|
101
161
|
};
|
|
162
|
+
/**
|
|
163
|
+
* Replacement for wagmi's useSwitchChains
|
|
164
|
+
*/
|
|
165
|
+
export declare const useFunkitSwitchChains: ({ onSettled, }: {
|
|
166
|
+
onSettled?: (() => void) | undefined;
|
|
167
|
+
}) => {
|
|
168
|
+
switchChain: (params: any) => void;
|
|
169
|
+
switchChainAsync: (params: any) => Promise<void>;
|
|
170
|
+
pendingChainId: number | null;
|
|
171
|
+
};
|
|
102
172
|
export {};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { HistoryContentPages } from '../../utils/checkoutHistory';
|
|
3
|
+
import { FunProfileView } from './ProfileDetails';
|
|
4
|
+
export declare const ActivityTraversalContext: React.Context<{
|
|
5
|
+
selectedPurchaseId: `0x${string}` | undefined;
|
|
6
|
+
selectedPurchaseInitView: HistoryContentPages | undefined;
|
|
7
|
+
returnView: FunProfileView | undefined;
|
|
8
|
+
returnViewPresets: {
|
|
9
|
+
[x: string]: any;
|
|
10
|
+
};
|
|
11
|
+
onSelectActivity: ({ depositAddress, initialPage, returnView, returnViewPresets, onRedirect, }: {
|
|
12
|
+
depositAddress: `0x${string}`;
|
|
13
|
+
initialPage: HistoryContentPages;
|
|
14
|
+
returnView: FunProfileView;
|
|
15
|
+
returnViewPresets: {
|
|
16
|
+
[x: string]: any;
|
|
17
|
+
};
|
|
18
|
+
onRedirect: () => void;
|
|
19
|
+
}) => void;
|
|
20
|
+
resetActivityTraversal: () => void;
|
|
21
|
+
}>;
|
|
22
|
+
export declare const ActivityTraversalProvider: ({ children }: any) => React.JSX.Element;
|
|
23
|
+
export declare const useActivityTraversal: () => {
|
|
24
|
+
selectedPurchaseId: `0x${string}` | undefined;
|
|
25
|
+
selectedPurchaseInitView: HistoryContentPages | undefined;
|
|
26
|
+
returnView: FunProfileView | undefined;
|
|
27
|
+
returnViewPresets: {
|
|
28
|
+
[x: string]: any;
|
|
29
|
+
};
|
|
30
|
+
onSelectActivity: ({ depositAddress, initialPage, returnView, returnViewPresets, onRedirect, }: {
|
|
31
|
+
depositAddress: `0x${string}`;
|
|
32
|
+
initialPage: HistoryContentPages;
|
|
33
|
+
returnView: FunProfileView;
|
|
34
|
+
returnViewPresets: {
|
|
35
|
+
[x: string]: any;
|
|
36
|
+
};
|
|
37
|
+
onRedirect: () => void;
|
|
38
|
+
}) => void;
|
|
39
|
+
resetActivityTraversal: () => void;
|
|
40
|
+
};
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
|
|
2
|
+
import { HistoryContentPages } from '../../../../utils/checkoutHistory';
|
|
3
|
+
export declare function ActivityHistory({ onBack, onClose, onSelectActivity, }: {
|
|
3
4
|
onClose: () => void;
|
|
4
5
|
onBack: () => void;
|
|
6
|
+
onSelectActivity: ({ depositAddress, initialPage, returnViewPresets, }: {
|
|
7
|
+
depositAddress: `0x${string}`;
|
|
8
|
+
initialPage: HistoryContentPages;
|
|
9
|
+
returnViewPresets: {
|
|
10
|
+
[x: string]: any;
|
|
11
|
+
};
|
|
12
|
+
}) => void;
|
|
5
13
|
}): React.JSX.Element;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
import { HistoryContentPages } from '../../../../utils/checkoutHistory';
|
|
3
|
+
export declare function HomeCheckoutSection({ onSelectActivity, }: {
|
|
4
|
+
onSelectActivity: (depositAddress: `0x${string}`, initialPage: HistoryContentPages) => void;
|
|
4
5
|
}): React.JSX.Element | null;
|
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { HistoryContentPages } from '../../../../utils/checkoutHistory';
|
|
2
3
|
import { FunProfileView } from '../../ProfileDetails';
|
|
3
|
-
export declare function Home({ onClose, onChangeView, }: {
|
|
4
|
+
export declare function Home({ onClose, onChangeView, onSelectActivity, }: {
|
|
4
5
|
onClose: () => void;
|
|
5
6
|
onChangeView: (newView: FunProfileView) => void;
|
|
7
|
+
onSelectActivity: ({ depositAddress, initialPage, returnViewPresets, }: {
|
|
8
|
+
depositAddress: `0x${string}`;
|
|
9
|
+
initialPage: HistoryContentPages;
|
|
10
|
+
returnViewPresets: {
|
|
11
|
+
[x: string]: any;
|
|
12
|
+
};
|
|
13
|
+
}) => void;
|
|
6
14
|
}): React.JSX.Element;
|
package/dist/index.css
CHANGED
|
@@ -4541,57 +4541,33 @@
|
|
|
4541
4541
|
min-width: 100%;
|
|
4542
4542
|
}
|
|
4543
4543
|
|
|
4544
|
-
/* vanilla-extract-css-ns:src/
|
|
4545
|
-
@keyframes
|
|
4544
|
+
/* vanilla-extract-css-ns:src/components/FunButton/FunButton.css.ts.vanilla.css?source=QGtleWZyYW1lcyBfMXR5eDVudTIgewogIDAlIHsKICAgIHRyYW5zZm9ybTogcm90YXRlKDBkZWcpOwogIH0KICAzMyUgewogICAgdHJhbnNmb3JtOiByb3RhdGUoMTVkZWcpOwogIH0KICA2NiUgewogICAgdHJhbnNmb3JtOiByb3RhdGUoLTE1ZGVnKTsKICB9CiAgMTAwJSB7CiAgICB0cmFuc2Zvcm06IHJvdGF0ZSgwZGVnKTsKICB9Cn0KQGtleWZyYW1lcyBfMXR5eDVudTUgewogIDAlIHsKICAgIHRyYW5zZm9ybTogcm90YXRlKDBkZWcpOwogIH0KICAzMyUgewogICAgdHJhbnNmb3JtOiByb3RhdGUoMjAwZGVnKTsKICB9CiAgNjYlIHsKICAgIHRyYW5zZm9ybTogcm90YXRlKDE2MGRlZyk7CiAgfQogIDEwMCUgewogICAgdHJhbnNmb3JtOiByb3RhdGUoMTgwZGVnKTsKICB9Cn0KLl8xdHl4NW51MSB7CiAgY3Vyc29yOiBwb2ludGVyOwp9Ci5fMXR5eDVudTE6aG92ZXIgewogIHRleHQtZGVjb3JhdGlvbi1saW5lOiB1bmRlcmxpbmU7Cn0KLl8xdHl4NW51MyB7CiAgY3Vyc29yOiBwb2ludGVyOwp9Ci5fMXR5eDVudTM6aG92ZXIgLl8xdHl4NW51NCB7CiAgYW5pbWF0aW9uOiBfMXR5eDVudTIgMC42cyBlYXNlLWluLW91dDsKfQouXzF0eXg1bnU2IHsKICBhbmltYXRpb246IF8xdHl4NW51NSAxczsKfQ== */
|
|
4545
|
+
@keyframes _1tyx5nu2 {
|
|
4546
4546
|
0% {
|
|
4547
|
-
transform:
|
|
4548
|
-
opacity: 0.2;
|
|
4549
|
-
}
|
|
4550
|
-
100% {
|
|
4551
|
-
transform: scale(1);
|
|
4552
|
-
opacity: 1;
|
|
4547
|
+
transform: rotate(0deg);
|
|
4553
4548
|
}
|
|
4554
|
-
|
|
4555
|
-
|
|
4556
|
-
0% {
|
|
4557
|
-
transform: scale(1);
|
|
4558
|
-
opacity: 1;
|
|
4549
|
+
33% {
|
|
4550
|
+
transform: rotate(15deg);
|
|
4559
4551
|
}
|
|
4560
|
-
|
|
4561
|
-
transform:
|
|
4562
|
-
opacity: 0.2;
|
|
4552
|
+
66% {
|
|
4553
|
+
transform: rotate(-15deg);
|
|
4563
4554
|
}
|
|
4564
4555
|
100% {
|
|
4565
|
-
transform:
|
|
4566
|
-
opacity: 0;
|
|
4556
|
+
transform: rotate(0deg);
|
|
4567
4557
|
}
|
|
4568
4558
|
}
|
|
4569
|
-
|
|
4570
|
-
animation-duration: 150ms;
|
|
4571
|
-
animation-timing-function: linear;
|
|
4572
|
-
animation-fill-mode: forwards;
|
|
4573
|
-
animation-name: stgjxl0;
|
|
4574
|
-
}
|
|
4575
|
-
[data-rk] .stgjxl3 {
|
|
4576
|
-
animation-duration: 150ms;
|
|
4577
|
-
animation-timing-function: linear;
|
|
4578
|
-
animation-fill-mode: forwards;
|
|
4579
|
-
animation-name: stgjxl1;
|
|
4580
|
-
}
|
|
4581
|
-
|
|
4582
|
-
/* vanilla-extract-css-ns:src/components/FunButton/FunButton.css.ts.vanilla.css?source=QGtleWZyYW1lcyBfMXR5eDVudTIgewogIDAlIHsKICAgIHRyYW5zZm9ybTogcm90YXRlKDBkZWcpOwogIH0KICAzMyUgewogICAgdHJhbnNmb3JtOiByb3RhdGUoMTVkZWcpOwogIH0KICA2NiUgewogICAgdHJhbnNmb3JtOiByb3RhdGUoLTE1ZGVnKTsKICB9CiAgMTAwJSB7CiAgICB0cmFuc2Zvcm06IHJvdGF0ZSgwZGVnKTsKICB9Cn0KLl8xdHl4NW51MSB7CiAgY3Vyc29yOiBwb2ludGVyOwp9Ci5fMXR5eDVudTE6aG92ZXIgewogIHRleHQtZGVjb3JhdGlvbi1saW5lOiB1bmRlcmxpbmU7Cn0KLl8xdHl4NW51MyB7CiAgY3Vyc29yOiBwb2ludGVyOwp9Ci5fMXR5eDVudTM6aG92ZXIgLl8xdHl4NW51NCB7CiAgYW5pbWF0aW9uOiBfMXR5eDVudTIgMC42cyBlYXNlLWluLW91dDsKfQ== */
|
|
4583
|
-
@keyframes _1tyx5nu2 {
|
|
4559
|
+
@keyframes _1tyx5nu5 {
|
|
4584
4560
|
0% {
|
|
4585
4561
|
transform: rotate(0deg);
|
|
4586
4562
|
}
|
|
4587
4563
|
33% {
|
|
4588
|
-
transform: rotate(
|
|
4564
|
+
transform: rotate(200deg);
|
|
4589
4565
|
}
|
|
4590
4566
|
66% {
|
|
4591
|
-
transform: rotate(
|
|
4567
|
+
transform: rotate(160deg);
|
|
4592
4568
|
}
|
|
4593
4569
|
100% {
|
|
4594
|
-
transform: rotate(
|
|
4570
|
+
transform: rotate(180deg);
|
|
4595
4571
|
}
|
|
4596
4572
|
}
|
|
4597
4573
|
[data-rk] ._1tyx5nu1 {
|
|
@@ -4606,6 +4582,9 @@
|
|
|
4606
4582
|
[data-rk] ._1tyx5nu3:hover ._1tyx5nu4 {
|
|
4607
4583
|
animation: _1tyx5nu2 0.6s ease-in-out;
|
|
4608
4584
|
}
|
|
4585
|
+
[data-rk] ._1tyx5nu6 {
|
|
4586
|
+
animation: _1tyx5nu5 1s;
|
|
4587
|
+
}
|
|
4609
4588
|
|
|
4610
4589
|
/* vanilla-extract-css-ns:src/components/FunModalTitleSection/FunModalTitleSection.css.ts.vanilla.css?source=QGtleWZyYW1lcyBfN2psZ3g3MCB7CiAgMCUgewogICAgb3BhY2l0eTogMC4yOwogIH0KICAxMDAlIHsKICAgIG9wYWNpdHk6IDE7CiAgfQp9CkBrZXlmcmFtZXMgXzdqbGd4NzEgewogIDAlIHsKICAgIG9wYWNpdHk6IDE7CiAgfQogIDEwMCUgewogICAgb3BhY2l0eTogMC4yOwogIH0KfQouXzdqbGd4NzIgewogIGFuaW1hdGlvbi1kdXJhdGlvbjogMzAwbXM7CiAgYW5pbWF0aW9uLXRpbWluZy1mdW5jdGlvbjogbGluZWFyOwogIGFuaW1hdGlvbi1maWxsLW1vZGU6IGZvcndhcmRzOwogIGFuaW1hdGlvbi1uYW1lOiBfN2psZ3g3MDsKfQouXzdqbGd4NzMgewogIGFuaW1hdGlvbi1kdXJhdGlvbjogMzAwbXM7CiAgYW5pbWF0aW9uLXRpbWluZy1mdW5jdGlvbjogbGluZWFyOwogIGFuaW1hdGlvbi1maWxsLW1vZGU6IGZvcndhcmRzOwogIGFuaW1hdGlvbi1uYW1lOiBfN2psZ3g3MTsKfQ== */
|
|
4611
4590
|
@keyframes _7jlgx70 {
|
|
@@ -4655,6 +4634,54 @@
|
|
|
4655
4634
|
width: 21px;
|
|
4656
4635
|
}
|
|
4657
4636
|
|
|
4637
|
+
/* vanilla-extract-css-ns:src/css/modalTransitionStyles.css.ts.vanilla.css?source=QGtleWZyYW1lcyBzdGdqeGwwIHsKICAwJSB7CiAgICB0cmFuc2Zvcm06IHNjYWxlKDAuNyk7CiAgICBvcGFjaXR5OiAwLjI7CiAgfQogIDEwMCUgewogICAgdHJhbnNmb3JtOiBzY2FsZSgxKTsKICAgIG9wYWNpdHk6IDE7CiAgfQp9CkBrZXlmcmFtZXMgc3RnanhsMSB7CiAgMCUgewogICAgdHJhbnNmb3JtOiBzY2FsZSgxKTsKICAgIG9wYWNpdHk6IDE7CiAgfQogIDkwJSB7CiAgICB0cmFuc2Zvcm06IHNjYWxlKDAuOCk7CiAgICBvcGFjaXR5OiAwLjI7CiAgfQogIDEwMCUgewogICAgdHJhbnNmb3JtOiBzY2FsZSgwLjUpOwogICAgb3BhY2l0eTogMDsKICB9Cn0KLnN0Z2p4bDIgewogIGFuaW1hdGlvbi1kdXJhdGlvbjogMTUwbXM7CiAgYW5pbWF0aW9uLXRpbWluZy1mdW5jdGlvbjogbGluZWFyOwogIGFuaW1hdGlvbi1maWxsLW1vZGU6IGZvcndhcmRzOwogIGFuaW1hdGlvbi1uYW1lOiBzdGdqeGwwOwp9Ci5zdGdqeGwzIHsKICBhbmltYXRpb24tZHVyYXRpb246IDE1MG1zOwogIGFuaW1hdGlvbi10aW1pbmctZnVuY3Rpb246IGxpbmVhcjsKICBhbmltYXRpb24tZmlsbC1tb2RlOiBmb3J3YXJkczsKICBhbmltYXRpb24tbmFtZTogc3RnanhsMTsKfQ== */
|
|
4638
|
+
@keyframes stgjxl0 {
|
|
4639
|
+
0% {
|
|
4640
|
+
transform: scale(0.7);
|
|
4641
|
+
opacity: 0.2;
|
|
4642
|
+
}
|
|
4643
|
+
100% {
|
|
4644
|
+
transform: scale(1);
|
|
4645
|
+
opacity: 1;
|
|
4646
|
+
}
|
|
4647
|
+
}
|
|
4648
|
+
@keyframes stgjxl1 {
|
|
4649
|
+
0% {
|
|
4650
|
+
transform: scale(1);
|
|
4651
|
+
opacity: 1;
|
|
4652
|
+
}
|
|
4653
|
+
90% {
|
|
4654
|
+
transform: scale(0.8);
|
|
4655
|
+
opacity: 0.2;
|
|
4656
|
+
}
|
|
4657
|
+
100% {
|
|
4658
|
+
transform: scale(0.5);
|
|
4659
|
+
opacity: 0;
|
|
4660
|
+
}
|
|
4661
|
+
}
|
|
4662
|
+
[data-rk] .stgjxl2 {
|
|
4663
|
+
animation-duration: 150ms;
|
|
4664
|
+
animation-timing-function: linear;
|
|
4665
|
+
animation-fill-mode: forwards;
|
|
4666
|
+
animation-name: stgjxl0;
|
|
4667
|
+
}
|
|
4668
|
+
[data-rk] .stgjxl3 {
|
|
4669
|
+
animation-duration: 150ms;
|
|
4670
|
+
animation-timing-function: linear;
|
|
4671
|
+
animation-fill-mode: forwards;
|
|
4672
|
+
animation-name: stgjxl1;
|
|
4673
|
+
}
|
|
4674
|
+
|
|
4675
|
+
/* vanilla-extract-css-ns:src/components/FunAssetAvatar/FunAssetAvatar.css.ts.vanilla.css?source=LnV3cmRjMjAgewogIHBvc2l0aW9uOiByZWxhdGl2ZTsKfQoudXdyZGMyMiB7CiAgcG9zaXRpb246IGFic29sdXRlOwogIGJvdHRvbTogMDsKICByaWdodDogMDsKfQ== */
|
|
4676
|
+
[data-rk] .uwrdc20 {
|
|
4677
|
+
position: relative;
|
|
4678
|
+
}
|
|
4679
|
+
[data-rk] .uwrdc22 {
|
|
4680
|
+
position: absolute;
|
|
4681
|
+
bottom: 0;
|
|
4682
|
+
right: 0;
|
|
4683
|
+
}
|
|
4684
|
+
|
|
4658
4685
|
/* src/components/FunInput/FunInputBase.css */
|
|
4659
4686
|
input::-webkit-outer-spin-button,
|
|
4660
4687
|
input::-webkit-inner-spin-button {
|
|
@@ -4703,38 +4730,47 @@ input[type=number] {
|
|
|
4703
4730
|
color: inputFieldPrimary;
|
|
4704
4731
|
}
|
|
4705
4732
|
|
|
4733
|
+
/* src/components/FunNotification/FunNotification.css */
|
|
4734
|
+
.fun-notification-expanded {
|
|
4735
|
+
transition: all 0.3s, opacity 0.3s;
|
|
4736
|
+
overflow: hidden;
|
|
4737
|
+
}
|
|
4738
|
+
.fun-notification-collapsed {
|
|
4739
|
+
max-height: 0px;
|
|
4740
|
+
opacity: 0;
|
|
4741
|
+
padding-top: 0px !important;
|
|
4742
|
+
padding-bottom: 0px !important;
|
|
4743
|
+
transition: all 0.3s, opacity 0.2s;
|
|
4744
|
+
overflow: hidden;
|
|
4745
|
+
}
|
|
4746
|
+
|
|
4747
|
+
/* vanilla-extract-css-ns:src/components/MenuButton/MenuButton.css.ts.vanilla.css?source=Ll8xMHB3NXg2MDpob3ZlciB7CiAgYmFja2dyb3VuZDogdW5zZXQ7Cn0= */
|
|
4748
|
+
[data-rk] ._10pw5x60:hover {
|
|
4749
|
+
background: unset;
|
|
4750
|
+
}
|
|
4751
|
+
|
|
4752
|
+
/* vanilla-extract-css-ns:src/css/scrollStyles.css.ts.vanilla.css?source=Ll8xNjNlaG1rMDo6LXdlYmtpdC1zY3JvbGxiYXIgewogIGRpc3BsYXk6IG5vbmU7Cn0= */
|
|
4753
|
+
[data-rk] ._163ehmk0::-webkit-scrollbar {
|
|
4754
|
+
display: none;
|
|
4755
|
+
}
|
|
4756
|
+
|
|
4706
4757
|
/* src/components/FunTransactionSummary/FunTransactionSummary.css */
|
|
4707
4758
|
.fun-container-content-expanded {
|
|
4708
|
-
transition:
|
|
4759
|
+
transition: all 0.5s ease-in-out;
|
|
4709
4760
|
max-height: 200px;
|
|
4710
4761
|
overflow: hidden;
|
|
4711
4762
|
}
|
|
4712
4763
|
.fun-container-content-collapsed {
|
|
4713
4764
|
max-height: 0px;
|
|
4714
|
-
transition:
|
|
4765
|
+
transition: all 0.4s ease-out;
|
|
4715
4766
|
overflow: hidden;
|
|
4716
4767
|
}
|
|
4717
4768
|
|
|
4718
|
-
/* vanilla-extract-css-ns:src/components/FunAssetAvatar/FunAssetAvatar.css.ts.vanilla.css?source=LnV3cmRjMjAgewogIHBvc2l0aW9uOiByZWxhdGl2ZTsKfQoudXdyZGMyMiB7CiAgcG9zaXRpb246IGFic29sdXRlOwogIGJvdHRvbTogMDsKICByaWdodDogMDsKfQ== */
|
|
4719
|
-
[data-rk] .uwrdc20 {
|
|
4720
|
-
position: relative;
|
|
4721
|
-
}
|
|
4722
|
-
[data-rk] .uwrdc22 {
|
|
4723
|
-
position: absolute;
|
|
4724
|
-
bottom: 0;
|
|
4725
|
-
right: 0;
|
|
4726
|
-
}
|
|
4727
|
-
|
|
4728
4769
|
/* vanilla-extract-css-ns:src/components/FunPayments/FunPaymentMoonpayType.css.ts.vanilla.css?source=Ll8xa21wZXlmMCBpZnJhbWUgewogIGJvcmRlcjogbm9uZTsKfQ== */
|
|
4729
4770
|
[data-rk] ._1kmpeyf0 iframe {
|
|
4730
4771
|
border: none;
|
|
4731
4772
|
}
|
|
4732
4773
|
|
|
4733
|
-
/* vanilla-extract-css-ns:src/css/scrollStyles.css.ts.vanilla.css?source=Ll8xNjNlaG1rMDo6LXdlYmtpdC1zY3JvbGxiYXIgewogIGRpc3BsYXk6IG5vbmU7Cn0= */
|
|
4734
|
-
[data-rk] ._163ehmk0::-webkit-scrollbar {
|
|
4735
|
-
display: none;
|
|
4736
|
-
}
|
|
4737
|
-
|
|
4738
4774
|
/* vanilla-extract-css-ns:src/components/SkeletalLoader/SkeletalLoader.css.ts.vanilla.css?source=QGtleWZyYW1lcyBhaG55YjEwIHsKICAwJSB7CiAgICBvcGFjaXR5OiAwLjY7CiAgICB0cmFuc2Zvcm06IHNjYWxlKDEpOwogIH0KICA1MCUgewogICAgb3BhY2l0eTogMTsKICAgIHRyYW5zZm9ybTogc2NhbGUoMSwgMS4wMSk7CiAgfQogIDEwMCUgewogICAgb3BhY2l0eTogMC40OwogICAgdHJhbnNmb3JtOiBzY2FsZSgxKTsKICB9Cn0KLmFobnliMTEgewogIGFuaW1hdGlvbjogYWhueWIxMCAxcyBpbmZpbml0ZTsKfQ== */
|
|
4739
4775
|
@keyframes ahnyb10 {
|
|
4740
4776
|
0% {
|
|
@@ -4859,11 +4895,6 @@ input[type=number] {
|
|
|
4859
4895
|
animation-name: _1x1d6jx5;
|
|
4860
4896
|
}
|
|
4861
4897
|
|
|
4862
|
-
/* vanilla-extract-css-ns:src/components/MenuButton/MenuButton.css.ts.vanilla.css?source=Ll8xMHB3NXg2MDpob3ZlciB7CiAgYmFja2dyb3VuZDogdW5zZXQ7Cn0= */
|
|
4863
|
-
[data-rk] ._10pw5x60:hover {
|
|
4864
|
-
background: unset;
|
|
4865
|
-
}
|
|
4866
|
-
|
|
4867
4898
|
/* vanilla-extract-css-ns:src/components/ChainModal/ChainModal.css.ts.vanilla.css?source=Ll8xMTA3aXhjMCB7CiAgbWF4LWhlaWdodDogNDU2cHg7CiAgb3ZlcmZsb3cteTogYXV0bzsKICBvdmVyZmxvdy14OiBoaWRkZW47Cn0KLl8xMTA3aXhjMSB7CiAgbWF4LWhlaWdodDogNDU2cHg7CiAgb3ZlcmZsb3cteTogYXV0bzsKICBvdmVyZmxvdy14OiBoaWRkZW47CiAgc2Nyb2xsYmFyLXdpZHRoOiBub25lOwp9Ci5fMTEwN2l4YzE6Oi13ZWJraXQtc2Nyb2xsYmFyIHsKICBkaXNwbGF5OiBub25lOwp9 */
|
|
4868
4899
|
[data-rk] ._1107ixc0 {
|
|
4869
4900
|
max-height: 456px;
|
package/dist/index.d.ts
CHANGED
|
@@ -23,4 +23,4 @@ export { darkTheme } from './themes/darkTheme';
|
|
|
23
23
|
export { lightTheme } from './themes/lightTheme';
|
|
24
24
|
export { useAddRecentTransaction } from './transactions/useAddRecentTransaction';
|
|
25
25
|
export type { FunkitConnectWalletConnectParameters, Wallet, WalletDetailsParams, WalletList, } from './wallets/Wallet';
|
|
26
|
-
export { useFunkitDisconnect } from './components/FunkitProvider/GeneralWalletProvider';
|
|
26
|
+
export { useFunkitAccount, useFunkitDisconnect, useFunkitSwitchChains, } from './components/FunkitProvider/GeneralWalletProvider';
|