@funkit/connect 1.0.25 → 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 +13 -0
- 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/FunkitProvider/FunkitCheckoutContext.d.ts +2 -0
- package/dist/components/FunkitProvider/GeneralWalletProvider.d.ts +60 -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 +72 -72
- package/dist/index.d.ts +1 -2
- package/dist/index.js +9984 -9825
- package/dist/utils/checkoutHistory.d.ts +3 -3
- package/dist/wallets/walletConnectors/bifrostWallet/bifrostWallet.js +2 -2
- package/dist/wallets/walletConnectors/bitgetWallet/bitgetWallet.js +2 -2
- package/dist/wallets/walletConnectors/coinbaseWallet/coinbaseWallet.js +2 -2
- package/dist/wallets/walletConnectors/dawnWallet/dawnWallet.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 +80 -80
- 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/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/wallets/walletConnectors/chunk-4FQLUQNA.js +0 -96
- package/dist/wallets/walletConnectors/chunk-AJKRYTH2.js +0 -92
- package/dist/wallets/walletConnectors/chunk-CVGDYGHA.js +0 -60
- package/dist/wallets/walletConnectors/chunk-JLQ5HJYV.js +0 -94
- package/dist/wallets/walletConnectors/chunk-LVRXH33E.js +0 -92
- package/dist/wallets/walletConnectors/chunk-MIWCKFYE.js +0 -87
- package/dist/wallets/walletConnectors/chunk-OKZSWAPF.js +0 -60
- package/dist/wallets/walletConnectors/chunk-OYKWP3N3.js +0 -60
- package/dist/wallets/walletConnectors/chunk-OYW4TIA3.js +0 -81
- package/dist/wallets/walletConnectors/chunk-Q4RLUJJD.js +0 -66
- package/dist/wallets/walletConnectors/chunk-SYELB4QO.js +0 -107
- package/dist/wallets/walletConnectors/chunk-ZBAQFL6G.js +0 -102
- package/dist/wallets/walletConnectors/chunk-ZUAHWUEL.js +0 -98
- package/dist/wallets/walletConnectors/{chunk-RYO26XSK.js → chunk-2B3SPBRY.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-PPFSHJTA.js → chunk-7KDOXASH.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-ZFXXHGAS.js → chunk-CRSPGVPF.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-2LY3WMXK.js → chunk-DV3SI63E.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-SPLW3CCH.js → chunk-HD5VYJNC.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-MU35GKP3.js → chunk-KGTZ6E7L.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-DNOEX5NF.js → chunk-RCWZ4KBR.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-HXYRONSJ.js → chunk-VSZ7PAHS.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-MCTPLICE.js → chunk-XNNLZXHE.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-2XQJ2NQ4.js → chunk-XRMAVTK7.js} +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
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
|
+
|
|
3
16
|
## 1.0.25
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
|
@@ -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;
|
|
@@ -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
|
*/
|
|
@@ -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,44 +4541,6 @@
|
|
|
4541
4541
|
min-width: 100%;
|
|
4542
4542
|
}
|
|
4543
4543
|
|
|
4544
|
-
/* vanilla-extract-css-ns:src/css/modalTransitionStyles.css.ts.vanilla.css?source=QGtleWZyYW1lcyBzdGdqeGwwIHsKICAwJSB7CiAgICB0cmFuc2Zvcm06IHNjYWxlKDAuNyk7CiAgICBvcGFjaXR5OiAwLjI7CiAgfQogIDEwMCUgewogICAgdHJhbnNmb3JtOiBzY2FsZSgxKTsKICAgIG9wYWNpdHk6IDE7CiAgfQp9CkBrZXlmcmFtZXMgc3RnanhsMSB7CiAgMCUgewogICAgdHJhbnNmb3JtOiBzY2FsZSgxKTsKICAgIG9wYWNpdHk6IDE7CiAgfQogIDkwJSB7CiAgICB0cmFuc2Zvcm06IHNjYWxlKDAuOCk7CiAgICBvcGFjaXR5OiAwLjI7CiAgfQogIDEwMCUgewogICAgdHJhbnNmb3JtOiBzY2FsZSgwLjUpOwogICAgb3BhY2l0eTogMDsKICB9Cn0KLnN0Z2p4bDIgewogIGFuaW1hdGlvbi1kdXJhdGlvbjogMTUwbXM7CiAgYW5pbWF0aW9uLXRpbWluZy1mdW5jdGlvbjogbGluZWFyOwogIGFuaW1hdGlvbi1maWxsLW1vZGU6IGZvcndhcmRzOwogIGFuaW1hdGlvbi1uYW1lOiBzdGdqeGwwOwp9Ci5zdGdqeGwzIHsKICBhbmltYXRpb24tZHVyYXRpb246IDE1MG1zOwogIGFuaW1hdGlvbi10aW1pbmctZnVuY3Rpb246IGxpbmVhcjsKICBhbmltYXRpb24tZmlsbC1tb2RlOiBmb3J3YXJkczsKICBhbmltYXRpb24tbmFtZTogc3RnanhsMTsKfQ== */
|
|
4545
|
-
@keyframes stgjxl0 {
|
|
4546
|
-
0% {
|
|
4547
|
-
transform: scale(0.7);
|
|
4548
|
-
opacity: 0.2;
|
|
4549
|
-
}
|
|
4550
|
-
100% {
|
|
4551
|
-
transform: scale(1);
|
|
4552
|
-
opacity: 1;
|
|
4553
|
-
}
|
|
4554
|
-
}
|
|
4555
|
-
@keyframes stgjxl1 {
|
|
4556
|
-
0% {
|
|
4557
|
-
transform: scale(1);
|
|
4558
|
-
opacity: 1;
|
|
4559
|
-
}
|
|
4560
|
-
90% {
|
|
4561
|
-
transform: scale(0.8);
|
|
4562
|
-
opacity: 0.2;
|
|
4563
|
-
}
|
|
4564
|
-
100% {
|
|
4565
|
-
transform: scale(0.5);
|
|
4566
|
-
opacity: 0;
|
|
4567
|
-
}
|
|
4568
|
-
}
|
|
4569
|
-
[data-rk] .stgjxl2 {
|
|
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
4544
|
/* vanilla-extract-css-ns:src/components/FunButton/FunButton.css.ts.vanilla.css?source=QGtleWZyYW1lcyBfMXR5eDVudTIgewogIDAlIHsKICAgIHRyYW5zZm9ybTogcm90YXRlKDBkZWcpOwogIH0KICAzMyUgewogICAgdHJhbnNmb3JtOiByb3RhdGUoMTVkZWcpOwogIH0KICA2NiUgewogICAgdHJhbnNmb3JtOiByb3RhdGUoLTE1ZGVnKTsKICB9CiAgMTAwJSB7CiAgICB0cmFuc2Zvcm06IHJvdGF0ZSgwZGVnKTsKICB9Cn0KQGtleWZyYW1lcyBfMXR5eDVudTUgewogIDAlIHsKICAgIHRyYW5zZm9ybTogcm90YXRlKDBkZWcpOwogIH0KICAzMyUgewogICAgdHJhbnNmb3JtOiByb3RhdGUoMjAwZGVnKTsKICB9CiAgNjYlIHsKICAgIHRyYW5zZm9ybTogcm90YXRlKDE2MGRlZyk7CiAgfQogIDEwMCUgewogICAgdHJhbnNmb3JtOiByb3RhdGUoMTgwZGVnKTsKICB9Cn0KLl8xdHl4NW51MSB7CiAgY3Vyc29yOiBwb2ludGVyOwp9Ci5fMXR5eDVudTE6aG92ZXIgewogIHRleHQtZGVjb3JhdGlvbi1saW5lOiB1bmRlcmxpbmU7Cn0KLl8xdHl4NW51MyB7CiAgY3Vyc29yOiBwb2ludGVyOwp9Ci5fMXR5eDVudTM6aG92ZXIgLl8xdHl4NW51NCB7CiAgYW5pbWF0aW9uOiBfMXR5eDVudTIgMC42cyBlYXNlLWluLW91dDsKfQouXzF0eXg1bnU2IHsKICBhbmltYXRpb246IF8xdHl4NW51NSAxczsKfQ== */
|
|
4583
4545
|
@keyframes _1tyx5nu2 {
|
|
4584
4546
|
0% {
|
|
@@ -4654,30 +4616,6 @@
|
|
|
4654
4616
|
animation-name: _7jlgx71;
|
|
4655
4617
|
}
|
|
4656
4618
|
|
|
4657
|
-
/* vanilla-extract-css-ns:src/components/FunAssetAvatar/FunAssetAvatar.css.ts.vanilla.css?source=LnV3cmRjMjAgewogIHBvc2l0aW9uOiByZWxhdGl2ZTsKfQoudXdyZGMyMiB7CiAgcG9zaXRpb246IGFic29sdXRlOwogIGJvdHRvbTogMDsKICByaWdodDogMDsKfQ== */
|
|
4658
|
-
[data-rk] .uwrdc20 {
|
|
4659
|
-
position: relative;
|
|
4660
|
-
}
|
|
4661
|
-
[data-rk] .uwrdc22 {
|
|
4662
|
-
position: absolute;
|
|
4663
|
-
bottom: 0;
|
|
4664
|
-
right: 0;
|
|
4665
|
-
}
|
|
4666
|
-
|
|
4667
|
-
/* src/components/FunNotification/FunNotification.css */
|
|
4668
|
-
.fun-notification-expanded {
|
|
4669
|
-
transition: all 0.3s, opacity 0.3s;
|
|
4670
|
-
overflow: hidden;
|
|
4671
|
-
}
|
|
4672
|
-
.fun-notification-collapsed {
|
|
4673
|
-
max-height: 0px;
|
|
4674
|
-
opacity: 0;
|
|
4675
|
-
padding-top: 0px !important;
|
|
4676
|
-
padding-bottom: 0px !important;
|
|
4677
|
-
transition: all 0.3s, opacity 0.2s;
|
|
4678
|
-
overflow: hidden;
|
|
4679
|
-
}
|
|
4680
|
-
|
|
4681
4619
|
/* vanilla-extract-css-ns:src/components/Icons/Icons.css.ts.vanilla.css?source=QGtleWZyYW1lcyBxZTIyMWExIHsKICAwJSB7CiAgICB0cmFuc2Zvcm06IHJvdGF0ZSgwZGVnKTsKICB9CiAgMTAwJSB7CiAgICB0cmFuc2Zvcm06IHJvdGF0ZSgzNjBkZWcpOwogIH0KfQoucWUyMjFhMiB7CiAgYW5pbWF0aW9uOiBxZTIyMWExIDNzIGluZmluaXRlIGxpbmVhcjsKfQoucWUyMjFhMyB7CiAgYmFja2dyb3VuZDogY29uaWMtZ3JhZGllbnQoZnJvbSAxODBkZWcgYXQgNTAlIDUwJSwgcmdiYSg3MiwgMTQ2LCAyNTQsIDApIDBkZWcsIGN1cnJlbnRDb2xvciAyODIuMDRkZWcsIHJnYmEoNzIsIDE0NiwgMjU0LCAwKSAzMTkuODZkZWcsIHJnYmEoNzIsIDE0NiwgMjU0LCAwKSAzNjBkZWcpOwogIGhlaWdodDogMjFweDsKICB3aWR0aDogMjFweDsKfQ== */
|
|
4682
4620
|
@keyframes qe221a1 {
|
|
4683
4621
|
0% {
|
|
@@ -4696,6 +4634,54 @@
|
|
|
4696
4634
|
width: 21px;
|
|
4697
4635
|
}
|
|
4698
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
|
+
|
|
4699
4685
|
/* src/components/FunInput/FunInputBase.css */
|
|
4700
4686
|
input::-webkit-outer-spin-button,
|
|
4701
4687
|
input::-webkit-inner-spin-button {
|
|
@@ -4744,6 +4730,30 @@ input[type=number] {
|
|
|
4744
4730
|
color: inputFieldPrimary;
|
|
4745
4731
|
}
|
|
4746
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
|
+
|
|
4747
4757
|
/* src/components/FunTransactionSummary/FunTransactionSummary.css */
|
|
4748
4758
|
.fun-container-content-expanded {
|
|
4749
4759
|
transition: all 0.5s ease-in-out;
|
|
@@ -4761,11 +4771,6 @@ input[type=number] {
|
|
|
4761
4771
|
border: none;
|
|
4762
4772
|
}
|
|
4763
4773
|
|
|
4764
|
-
/* vanilla-extract-css-ns:src/css/scrollStyles.css.ts.vanilla.css?source=Ll8xNjNlaG1rMDo6LXdlYmtpdC1zY3JvbGxiYXIgewogIGRpc3BsYXk6IG5vbmU7Cn0= */
|
|
4765
|
-
[data-rk] ._163ehmk0::-webkit-scrollbar {
|
|
4766
|
-
display: none;
|
|
4767
|
-
}
|
|
4768
|
-
|
|
4769
4774
|
/* vanilla-extract-css-ns:src/components/SkeletalLoader/SkeletalLoader.css.ts.vanilla.css?source=QGtleWZyYW1lcyBhaG55YjEwIHsKICAwJSB7CiAgICBvcGFjaXR5OiAwLjY7CiAgICB0cmFuc2Zvcm06IHNjYWxlKDEpOwogIH0KICA1MCUgewogICAgb3BhY2l0eTogMTsKICAgIHRyYW5zZm9ybTogc2NhbGUoMSwgMS4wMSk7CiAgfQogIDEwMCUgewogICAgb3BhY2l0eTogMC40OwogICAgdHJhbnNmb3JtOiBzY2FsZSgxKTsKICB9Cn0KLmFobnliMTEgewogIGFuaW1hdGlvbjogYWhueWIxMCAxcyBpbmZpbml0ZTsKfQ== */
|
|
4770
4775
|
@keyframes ahnyb10 {
|
|
4771
4776
|
0% {
|
|
@@ -4890,11 +4895,6 @@ input[type=number] {
|
|
|
4890
4895
|
animation-name: _1x1d6jx5;
|
|
4891
4896
|
}
|
|
4892
4897
|
|
|
4893
|
-
/* vanilla-extract-css-ns:src/components/MenuButton/MenuButton.css.ts.vanilla.css?source=Ll8xMHB3NXg2MDpob3ZlciB7CiAgYmFja2dyb3VuZDogdW5zZXQ7Cn0= */
|
|
4894
|
-
[data-rk] ._10pw5x60:hover {
|
|
4895
|
-
background: unset;
|
|
4896
|
-
}
|
|
4897
|
-
|
|
4898
4898
|
/* vanilla-extract-css-ns:src/components/ChainModal/ChainModal.css.ts.vanilla.css?source=Ll8xMTA3aXhjMCB7CiAgbWF4LWhlaWdodDogNDU2cHg7CiAgb3ZlcmZsb3cteTogYXV0bzsKICBvdmVyZmxvdy14OiBoaWRkZW47Cn0KLl8xMTA3aXhjMSB7CiAgbWF4LWhlaWdodDogNDU2cHg7CiAgb3ZlcmZsb3cteTogYXV0bzsKICBvdmVyZmxvdy14OiBoaWRkZW47CiAgc2Nyb2xsYmFyLXdpZHRoOiBub25lOwp9Ci5fMTEwN2l4YzE6Oi13ZWJraXQtc2Nyb2xsYmFyIHsKICBkaXNwbGF5OiBub25lOwp9 */
|
|
4899
4899
|
[data-rk] ._1107ixc0 {
|
|
4900
4900
|
max-height: 456px;
|
package/dist/index.d.ts
CHANGED
|
@@ -23,5 +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';
|
|
27
|
-
export { useFunkitSwitchChains } from './components/FunkitProvider/GeneralWalletProvider';
|
|
26
|
+
export { useFunkitAccount, useFunkitDisconnect, useFunkitSwitchChains, } from './components/FunkitProvider/GeneralWalletProvider';
|