@lifi/widget 3.0.0-beta.4 → 3.0.1
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 +9 -0
- package/README.md +5 -3
- package/_esm/App.d.ts +0 -1
- package/_esm/AppDrawer.d.ts +1 -2
- package/_esm/AppDrawer.style.d.ts +1 -2
- package/_esm/AppDrawerContext.d.ts +0 -1
- package/_esm/AppRoutes.d.ts +0 -1
- package/_esm/components/ActiveTransactions/ActiveTransactionItem.d.ts +0 -1
- package/_esm/components/ActiveTransactions/ActiveTransactions.d.ts +0 -1
- package/_esm/components/ActiveTransactions/ActiveTransactions.style.d.ts +4 -5
- package/_esm/components/AlertMessage/AlertMessage.style.d.ts +2 -3
- package/_esm/components/AmountInput/AmountInput.style.d.ts +2 -3
- package/_esm/components/AmountInput/AmountInputAdornment.style.d.ts +2 -3
- package/_esm/components/AmountInput/AmountInputStartAdornment.d.ts +0 -1
- package/_esm/components/AmountInput/PriceFormHelperText.d.ts +0 -1
- package/_esm/components/AppContainer.d.ts +5 -5
- package/_esm/components/Avatar/Avatar.d.ts +0 -1
- package/_esm/components/Avatar/Avatar.style.d.ts +4 -5
- package/_esm/components/Avatar/TokenAvatar.d.ts +0 -1
- package/_esm/components/BaseTransactionButton/BaseTransactionButton.d.ts +0 -1
- package/_esm/components/BottomSheet/BottomSheet.d.ts +0 -1
- package/_esm/components/ButtonTertiary.d.ts +1 -2
- package/_esm/components/Card/Card.d.ts +1 -2
- package/_esm/components/Card/CardButton.style.d.ts +4 -5
- package/_esm/components/Card/CardHeader.d.ts +1 -2
- package/_esm/components/Card/CardIconButton.d.ts +1 -2
- package/_esm/components/Card/CardLabel.d.ts +4 -5
- package/_esm/components/Card/CardTitle.d.ts +2 -3
- package/_esm/components/Card/InputCard.d.ts +1 -2
- package/_esm/components/ChainSelect/ChainSelect.style.d.ts +2 -3
- package/_esm/components/ContractComponent/ItemPrice.d.ts +0 -1
- package/_esm/components/ContractComponent/NFT/NFT.d.ts +0 -1
- package/_esm/components/ContractComponent/NFT/NFT.style.d.ts +1 -2
- package/_esm/components/ContractComponent/NFT/NFTBase.d.ts +0 -1
- package/_esm/components/GasMessage/GasMessage.d.ts +0 -1
- package/_esm/components/GasMessage/GasRefuelMessage.d.ts +0 -1
- package/_esm/components/GasMessage/GasSufficiencyMessage.d.ts +0 -1
- package/_esm/components/Header/BackButton.d.ts +0 -1
- package/_esm/components/Header/Header.style.d.ts +8 -9
- package/_esm/components/Header/NavigationHeader.d.ts +0 -1
- package/_esm/components/Header/SettingsButton.style.d.ts +2 -3
- package/_esm/components/Header/WalletHeader.d.ts +0 -1
- package/_esm/components/Initializer.d.ts +0 -1
- package/_esm/components/Insurance/Insurance.d.ts +0 -1
- package/_esm/components/Insurance/InsuranceCard.d.ts +0 -1
- package/_esm/components/Insurance/InsuranceCollapsed.d.ts +0 -1
- package/_esm/components/ListItem/ListItem.d.ts +2 -3
- package/_esm/components/ListItem/ListItemButton.d.ts +1 -2
- package/_esm/components/ListItemButton.d.ts +1 -2
- package/_esm/components/ListItemText.d.ts +0 -1
- package/_esm/components/NotFound.d.ts +0 -1
- package/_esm/components/PageContainer.d.ts +1 -2
- package/_esm/components/PoweredBy/PoweredBy.d.ts +0 -1
- package/_esm/components/PoweredBy/PoweredBy.style.d.ts +1 -2
- package/_esm/components/ProgressToNextUpdate.d.ts +0 -1
- package/_esm/components/ReverseTokensButton/ReverseTokensButton.d.ts +0 -1
- package/_esm/components/ReverseTokensButton/ReverseTokensButton.style.d.ts +3 -4
- package/_esm/components/RouteCard/RouteCard.d.ts +0 -1
- package/_esm/components/RouteCard/RouteCard.style.d.ts +2 -3
- package/_esm/components/RouteCard/RouteCardEssentials.d.ts +0 -1
- package/_esm/components/RouteCard/RouteCardEssentialsExpanded.d.ts +0 -1
- package/_esm/components/RouteCard/RouteCardSkeleton.d.ts +0 -1
- package/_esm/components/RouteCard/RouteNotFoundCard.d.ts +0 -1
- package/_esm/components/Routes/Routes.d.ts +0 -1
- package/_esm/components/Routes/RoutesExpanded.style.d.ts +4 -5
- package/_esm/components/Select.d.ts +1 -1
- package/_esm/components/SelectChainAndToken.d.ts +0 -1
- package/_esm/components/SelectTokenButton/SelectTokenButton.d.ts +0 -1
- package/_esm/components/SelectTokenButton/SelectTokenButton.style.d.ts +5 -6
- package/_esm/components/SendToWallet/SendToWallet.style.d.ts +2 -3
- package/_esm/components/SendToWallet/SendToWalletButton.d.ts +0 -1
- package/_esm/components/SendToWallet/SendToWalletExpandButton.d.ts +0 -1
- package/_esm/components/SettingsListItemButton.d.ts +1 -2
- package/_esm/components/Skeleton/WidgetSkeleton.style.d.ts +10 -11
- package/_esm/components/SmallAvatar.d.ts +3 -4
- package/_esm/components/Step/CircularProgress.style.d.ts +3 -4
- package/_esm/components/Step/DestinationWalletAddress.d.ts +0 -1
- package/_esm/components/Step/Step.d.ts +0 -1
- package/_esm/components/Step/StepProcess.d.ts +0 -1
- package/_esm/components/Step/StepProcess.style.d.ts +4 -5
- package/_esm/components/Step/StepTimer.d.ts +0 -1
- package/_esm/components/StepActions/StepActions.d.ts +0 -1
- package/_esm/components/StepActions/StepActions.style.d.ts +4 -5
- package/_esm/components/StepActions/StepFeeBreakdown.d.ts +0 -1
- package/_esm/components/StepActions/StepFees.d.ts +0 -1
- package/_esm/components/StepDivider/StepDivider.d.ts +0 -1
- package/_esm/components/StepDivider/StepDivider.style.d.ts +1 -2
- package/_esm/components/Tabs/Tabs.style.d.ts +4 -5
- package/_esm/components/ToAddressRequiredMessage.d.ts +0 -1
- package/_esm/components/Token/Token.style.d.ts +4 -5
- package/_esm/components/TokenList/TokenList.style.d.ts +6 -7
- package/_esm/components/TokenList/TokenListItem.d.ts +0 -1
- package/_esm/components/TokenList/TokenNotFound.d.ts +0 -1
- package/_esm/config/version.d.ts +1 -1
- package/_esm/config/version.js +1 -1
- package/_esm/config/version.js.map +1 -1
- package/_esm/hooks/useChains.d.ts +1 -1
- package/_esm/hooks/useDebouncedWatch.d.ts +2 -1
- package/_esm/hooks/useProcessMessage.d.ts +2 -2
- package/_esm/hooks/useRoutes.d.ts +1 -1
- package/_esm/hooks/useRoutes.js +24 -13
- package/_esm/hooks/useRoutes.js.map +1 -1
- package/_esm/hooks/useTokenAddressBalance.d.ts +1 -1
- package/_esm/hooks/useTokenBalance.d.ts +1 -1
- package/_esm/hooks/useTokenBalances.d.ts +1 -1
- package/_esm/pages/ActiveTransactionsPage/ActiveTransactionsEmpty.d.ts +0 -1
- package/_esm/pages/LanguagesPage.d.ts +0 -1
- package/_esm/pages/MainPage/MainMessages.d.ts +0 -1
- package/_esm/pages/MainPage/MainPage.d.ts +0 -1
- package/_esm/pages/MainPage/MainPage.style.d.ts +1 -2
- package/_esm/pages/MainPage/ReviewButton.d.ts +0 -1
- package/_esm/pages/RoutesPage/RoutesPage.d.ts +0 -1
- package/_esm/pages/RoutesPage/RoutesPage.style.d.ts +1 -2
- package/_esm/pages/SelectChainPage/SelectChainPage.d.ts +0 -1
- package/_esm/pages/SelectEnabledToolsPage.d.ts +0 -1
- package/_esm/pages/SelectEnabledToolsPage.js +1 -1
- package/_esm/pages/SelectEnabledToolsPage.js.map +1 -1
- package/_esm/pages/SelectNativeTokenPage.d.ts +0 -1
- package/_esm/pages/SendToWallet/BookmarkAddressSheet.d.ts +0 -1
- package/_esm/pages/SendToWallet/ConfirmAddressSheet.d.ts +0 -1
- package/_esm/pages/SendToWallet/SendToWalletPage.style.d.ts +13 -14
- package/_esm/pages/SettingsPage/BridgeAndExchangeSettings.d.ts +0 -1
- package/_esm/pages/SettingsPage/GasPriceSettings.d.ts +0 -1
- package/_esm/pages/SettingsPage/LanguageSetting.d.ts +0 -1
- package/_esm/pages/SettingsPage/ResetSettingsButton.d.ts +0 -1
- package/_esm/pages/SettingsPage/ResetSettingsButton.style.d.ts +1 -2
- package/_esm/pages/SettingsPage/RoutePrioritySettings.d.ts +0 -1
- package/_esm/pages/SettingsPage/SettingsCard/SettingCard.style.d.ts +2 -3
- package/_esm/pages/SettingsPage/SlippageSettings/SlippageSettings.d.ts +0 -1
- package/_esm/pages/SettingsPage/SlippageSettings/SlippageSettings.style.d.ts +3 -4
- package/_esm/pages/SettingsPage/ThemeSettings.d.ts +0 -1
- package/_esm/pages/TransactionDetailsPage/TransactionDetailsPage.d.ts +0 -1
- package/_esm/pages/TransactionHistoryPage/TransactionHistoryEmpty.d.ts +0 -1
- package/_esm/pages/TransactionHistoryPage/TransactionHistoryItem.d.ts +0 -1
- package/_esm/pages/TransactionHistoryPage/TransactionHistoryPage.d.ts +0 -1
- package/_esm/pages/TransactionPage/ExchangeRateBottomSheet.d.ts +0 -1
- package/_esm/pages/TransactionPage/StartTransactionButton.d.ts +0 -1
- package/_esm/pages/TransactionPage/StatusBottomSheet.d.ts +0 -1
- package/_esm/pages/TransactionPage/StatusBottomSheet.style.d.ts +3 -4
- package/_esm/pages/TransactionPage/TokenValueBottomSheet.d.ts +0 -1
- package/_esm/pages/TransactionPage/TransactionPage.d.ts +0 -1
- package/_esm/providers/I18nProvider/I18nProvider.d.ts +0 -1
- package/_esm/providers/ThemeProvider/ThemeProvider.d.ts +0 -1
- package/_esm/providers/WalletProvider/EVMExternalContext.d.ts +0 -1
- package/_esm/providers/WalletProvider/SVMExternalContext.d.ts +0 -1
- package/_esm/providers/WidgetProvider/WidgetProvider.d.ts +0 -1
- package/_esm/stores/bookmarks/BookmarkStore.d.ts +0 -1
- package/_esm/stores/chains/ChainOrderStore.d.ts +0 -1
- package/_esm/stores/form/FormStoreContext.d.ts +0 -1
- package/_esm/stores/form/FormUpdater.d.ts +0 -1
- package/_esm/stores/form/types.d.ts +3 -3
- package/_esm/stores/form/useFieldValues.d.ts +2 -2
- package/_esm/stores/form/useValidation.d.ts +1 -1
- package/_esm/stores/header/types.d.ts +0 -1
- package/_esm/stores/header/useHeaderStore.d.ts +0 -1
- package/_esm/stores/routes/RouteExecutionStore.d.ts +0 -1
- package/_esm/stores/routes/useSetExecutableRoute.d.ts +1 -1
- package/_esm/stores/settings/types.d.ts +4 -2
- package/_esm/stores/settings/useAppearance.d.ts +1 -4
- package/_esm/stores/settings/useSettings.d.ts +1 -1
- package/_esm/stores/settings/useSettingsStore.js +23 -14
- package/_esm/stores/settings/useSettingsStore.js.map +1 -1
- package/_esm/stores/settings/useSplitSubvariantStore.d.ts +0 -1
- package/config/version.ts +1 -1
- package/hooks/useRoutes.ts +30 -11
- package/package.json +15 -15
- package/pages/SelectEnabledToolsPage.tsx +1 -1
- package/stores/settings/types.ts +4 -2
- package/stores/settings/useSettingsStore.ts +44 -20
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" resolution-mode="require"/>
|
|
2
1
|
import type { TokenListItemButtonProps, TokenListItemProps } from './types.js';
|
|
3
2
|
export declare const TokenListItem: React.FC<TokenListItemProps>;
|
|
4
3
|
export declare const TokenListItemButton: React.FC<TokenListItemButtonProps>;
|
package/_esm/config/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export declare const name = "@lifi/widget";
|
|
2
|
-
export declare const version = "3.0.
|
|
2
|
+
export declare const version = "3.0.1";
|
package/_esm/config/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.js","sourceRoot":"","sources":["../../config/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,IAAI,GAAG,cAAc,CAAC;AACnC,MAAM,CAAC,MAAM,OAAO,GAAG,
|
|
1
|
+
{"version":3,"file":"version.js","sourceRoot":"","sources":["../../config/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,IAAI,GAAG,cAAc,CAAC;AACnC,MAAM,CAAC,MAAM,OAAO,GAAG,OAAO,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { FormType } from '../stores/form/types.js';
|
|
2
2
|
export declare const useChains: (type?: FormType) => {
|
|
3
3
|
chains: import("@lifi/types").ExtendedChain[] | undefined;
|
|
4
|
-
getChainById: (chainId?: number
|
|
4
|
+
getChainById: (chainId?: number, chains?: import("@lifi/types").ExtendedChain[] | undefined) => import("@lifi/types").ExtendedChain | undefined;
|
|
5
5
|
isLoading: boolean;
|
|
6
6
|
};
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import type { FormFieldNames } from '../stores/form/types.js';
|
|
2
|
+
export declare const useDebouncedWatch: <T extends FormFieldNames[]>(delay: number, ...name: T) => import("../stores/form/types.js").FormFieldArray<T>;
|
|
@@ -2,8 +2,8 @@ import type { EVMChain, LiFiStep, Process } from '@lifi/sdk';
|
|
|
2
2
|
import type { TFunction } from 'i18next';
|
|
3
3
|
import type { SubvariantOptions, WidgetSubvariant } from '../types/widget.js';
|
|
4
4
|
export declare const useProcessMessage: (step?: LiFiStep, process?: Process) => {
|
|
5
|
-
title?: string
|
|
6
|
-
message?: string
|
|
5
|
+
title?: string;
|
|
6
|
+
message?: string;
|
|
7
7
|
};
|
|
8
8
|
export declare function getProcessMessage(t: TFunction, getChainById: (chainId: number) => EVMChain | undefined, step: LiFiStep, process: Process, subvariant?: WidgetSubvariant, subvariantOptions?: SubvariantOptions): {
|
|
9
9
|
title?: string;
|
|
@@ -9,7 +9,7 @@ export declare const useRoutes: ({ insurableRoute }?: RoutesProps) => {
|
|
|
9
9
|
isFetched: boolean;
|
|
10
10
|
dataUpdatedAt: number;
|
|
11
11
|
refetchTime: number;
|
|
12
|
-
refetch: (options?: import("@tanstack/react-query").RefetchOptions
|
|
12
|
+
refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<RoutesResponse, Error>>;
|
|
13
13
|
fromChain: import("@lifi/sdk").ExtendedChain | undefined;
|
|
14
14
|
toChain: import("@lifi/sdk").ExtendedChain | undefined;
|
|
15
15
|
};
|
package/_esm/hooks/useRoutes.js
CHANGED
|
@@ -17,13 +17,15 @@ import { useToken } from './useToken.js';
|
|
|
17
17
|
import { useWidgetEvents } from './useWidgetEvents.js';
|
|
18
18
|
const refetchTime = 60000;
|
|
19
19
|
export const useRoutes = ({ insurableRoute } = {}) => {
|
|
20
|
-
const { subvariant, sdkConfig, insurance, contractTool } = useWidgetConfig();
|
|
20
|
+
const { subvariant, sdkConfig, insurance, contractTool, bridges, exchanges } = useWidgetConfig();
|
|
21
21
|
const queryClient = useQueryClient();
|
|
22
22
|
const emitter = useWidgetEvents();
|
|
23
23
|
const swapOnly = useSwapOnly();
|
|
24
|
-
const { disabledBridges, disabledExchanges, enabledAutoRefuel, routePriority, slippage, } = useSettings([
|
|
24
|
+
const { disabledBridges, disabledExchanges, enabledBridges, enabledExchanges, enabledAutoRefuel, routePriority, slippage, } = useSettings([
|
|
25
25
|
'disabledBridges',
|
|
26
26
|
'disabledExchanges',
|
|
27
|
+
'enabledBridges',
|
|
28
|
+
'enabledExchanges',
|
|
27
29
|
'enabledAutoRefuel',
|
|
28
30
|
'routePriority',
|
|
29
31
|
'slippage',
|
|
@@ -49,6 +51,13 @@ export const useRoutes = ({ insurableRoute } = {}) => {
|
|
|
49
51
|
: true;
|
|
50
52
|
// toAddress might be an empty string, but we need to pass undefined if there is no value
|
|
51
53
|
const toWalletAddress = toAddress || undefined;
|
|
54
|
+
// We need to send the full allowed tools array if custom tool settings are applied
|
|
55
|
+
const allowedBridges = bridges?.allow?.length || bridges?.deny?.length
|
|
56
|
+
? enabledBridges
|
|
57
|
+
: undefined;
|
|
58
|
+
const allowedExchanges = exchanges?.allow?.length || exchanges?.deny?.length
|
|
59
|
+
? enabledExchanges
|
|
60
|
+
: undefined;
|
|
52
61
|
const isEnabled = Boolean(Number(fromChainId)) &&
|
|
53
62
|
Boolean(Number(toChainId)) &&
|
|
54
63
|
Boolean(fromToken?.address) &&
|
|
@@ -73,6 +82,8 @@ export const useRoutes = ({ insurableRoute } = {}) => {
|
|
|
73
82
|
swapOnly,
|
|
74
83
|
disabledBridges,
|
|
75
84
|
disabledExchanges,
|
|
85
|
+
allowedBridges,
|
|
86
|
+
allowedExchanges,
|
|
76
87
|
routePriority,
|
|
77
88
|
subvariant,
|
|
78
89
|
sdkConfig?.routeOptions?.allowSwitchChain,
|
|
@@ -83,10 +94,10 @@ export const useRoutes = ({ insurableRoute } = {}) => {
|
|
|
83
94
|
];
|
|
84
95
|
const { data, isLoading, isFetching, isFetched, dataUpdatedAt, refetch } = useQuery({
|
|
85
96
|
queryKey,
|
|
86
|
-
queryFn: async ({ queryKey: [_, fromAddress, fromChainId, fromTokenAddress, fromTokenAmount, toAddress, toChainId, toTokenAddress, toTokenAmount, contractCalls, slippage = defaultSlippage, swapOnly, disabledBridges, disabledExchanges, routePriority, subvariant, allowSwitchChain, enabledRefuel, gasRecommendationFromAmount, insurance, insurableRouteId,], signal, }) => {
|
|
97
|
+
queryFn: async ({ queryKey: [_, fromAddress, fromChainId, fromTokenAddress, fromTokenAmount, toAddress, toChainId, toTokenAddress, toTokenAmount, contractCalls, slippage = defaultSlippage, swapOnly, disabledBridges, disabledExchanges, allowedBridges, allowedExchanges, routePriority, subvariant, allowSwitchChain, enabledRefuel, gasRecommendationFromAmount, insurance, insurableRouteId,], signal, }) => {
|
|
87
98
|
const fromAmount = parseUnits(fromTokenAmount, fromToken.decimals).toString();
|
|
88
99
|
const formattedSlippage = parseFloat(slippage) / 100;
|
|
89
|
-
const
|
|
100
|
+
const allowBridges = swapOnly
|
|
90
101
|
? []
|
|
91
102
|
: insurableRoute
|
|
92
103
|
? insurableRoute.steps.flatMap((step) => step.includedSteps.reduce((toolKeys, includedStep) => {
|
|
@@ -95,15 +106,15 @@ export const useRoutes = ({ insurableRoute } = {}) => {
|
|
|
95
106
|
}
|
|
96
107
|
return toolKeys;
|
|
97
108
|
}, []))
|
|
98
|
-
:
|
|
99
|
-
const
|
|
109
|
+
: allowedBridges;
|
|
110
|
+
const allowExchanges = insurableRoute
|
|
100
111
|
? insurableRoute.steps.flatMap((step) => step.includedSteps.reduce((toolKeys, includedStep) => {
|
|
101
112
|
if (includedStep.type === 'swap') {
|
|
102
113
|
toolKeys.push(includedStep.toolDetails.key);
|
|
103
114
|
}
|
|
104
115
|
return toolKeys;
|
|
105
116
|
}, []))
|
|
106
|
-
:
|
|
117
|
+
: allowedExchanges;
|
|
107
118
|
if (subvariant === 'custom' && contractCalls && toTokenAmount) {
|
|
108
119
|
const contractCallQuote = await getContractCallsQuote({
|
|
109
120
|
// Contract calls are enabled only when fromAddress is set
|
|
@@ -118,8 +129,8 @@ export const useRoutes = ({ insurableRoute } = {}) => {
|
|
|
118
129
|
denyExchanges: disabledExchanges.length
|
|
119
130
|
? disabledExchanges
|
|
120
131
|
: undefined,
|
|
121
|
-
allowBridges
|
|
122
|
-
allowExchanges
|
|
132
|
+
allowBridges,
|
|
133
|
+
allowExchanges,
|
|
123
134
|
toFallbackAddress: toAddress,
|
|
124
135
|
slippage: formattedSlippage,
|
|
125
136
|
}, { signal });
|
|
@@ -169,17 +180,17 @@ export const useRoutes = ({ insurableRoute } = {}) => {
|
|
|
169
180
|
: undefined,
|
|
170
181
|
options: {
|
|
171
182
|
allowSwitchChain: subvariant === 'refuel' ? false : allowSwitchChain,
|
|
172
|
-
bridges:
|
|
183
|
+
bridges: allowBridges?.length || disabledBridges.length
|
|
173
184
|
? {
|
|
174
|
-
allow:
|
|
185
|
+
allow: allowBridges,
|
|
175
186
|
deny: disabledBridges.length
|
|
176
187
|
? disabledBridges
|
|
177
188
|
: undefined,
|
|
178
189
|
}
|
|
179
190
|
: undefined,
|
|
180
|
-
exchanges:
|
|
191
|
+
exchanges: allowExchanges?.length || disabledExchanges.length
|
|
181
192
|
? {
|
|
182
|
-
allow:
|
|
193
|
+
allow: allowExchanges,
|
|
183
194
|
deny: disabledExchanges.length
|
|
184
195
|
? disabledExchanges
|
|
185
196
|
: undefined,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useRoutes.js","sourceRoot":"","sources":["../../hooks/useRoutes.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,qBAAqB,EAAE,S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,CAAC;YACD,OAAO,IAAI,CAAC;QACd,CAAC;KACF,CAAC,CAAC;IAEL,OAAO;QACL,MAAM,EAAE,IAAI,EAAE,MAAM;QACpB,SAAS,EAAE,SAAS,IAAI,SAAS;QACjC,UAAU;QACV,SAAS;QACT,aAAa;QACb,WAAW;QACX,OAAO;QACP,SAAS;QACT,OAAO;KACR,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -3,5 +3,5 @@ export declare const useTokenAddressBalance: (chainId?: number, tokenAddress?: s
|
|
|
3
3
|
token: TokenAmount | undefined;
|
|
4
4
|
chain: import("@lifi/types").ExtendedChain | undefined;
|
|
5
5
|
isLoading: boolean;
|
|
6
|
-
refetch: (options?: import("@tanstack/query-core").RefetchOptions
|
|
6
|
+
refetch: (options?: import("@tanstack/query-core").RefetchOptions) => Promise<import("@tanstack/query-core").QueryObserverResult<TokenAmount[], Error>>;
|
|
7
7
|
};
|
|
@@ -3,7 +3,7 @@ import { type Token, type TokenAmount } from '@lifi/sdk';
|
|
|
3
3
|
export declare const useTokenBalance: (accountAddress?: string, token?: Token, chain?: ExtendedChain) => {
|
|
4
4
|
token: TokenAmount | undefined;
|
|
5
5
|
isLoading: boolean;
|
|
6
|
-
refetch: (options?: import("@tanstack/react-query").RefetchOptions
|
|
6
|
+
refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<TokenAmount, Error>>;
|
|
7
7
|
refetchNewBalance: () => void;
|
|
8
8
|
refetchAllBalances: () => void;
|
|
9
9
|
getTokenBalancesWithRetry: (accountAddress: string, tokens: Token[], depth?: number) => Promise<TokenAmount[] | undefined>;
|
|
@@ -7,5 +7,5 @@ export declare const useTokenBalances: (selectedChainId?: number) => {
|
|
|
7
7
|
chain: import("@lifi/sdk").ExtendedChain | undefined;
|
|
8
8
|
isLoading: boolean;
|
|
9
9
|
isBalanceLoading: boolean;
|
|
10
|
-
refetch: (options?: import("@tanstack/react-query").RefetchOptions
|
|
10
|
+
refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<TokenAmount[], Error>>;
|
|
11
11
|
};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" resolution-mode="require"/>
|
|
2
1
|
export declare const FormContainer: import("@emotion/styled").StyledComponent<import("@mui/material").ContainerOwnProps & import("@mui/material/OverridableComponent.js").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
3
|
-
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
2
|
+
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
4
3
|
}, "fixed" | "maxWidth" | "children" | "sx" | "style" | "className" | "classes" | "disableGutters"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" resolution-mode="require"/>
|
|
2
1
|
export declare const Stack: import("@emotion/styled").StyledComponent<import("@mui/material").StackOwnProps & import("@mui/material/OverridableComponent.js").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
3
|
-
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
2
|
+
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
4
3
|
}, keyof import("@mui/material/OverridableComponent.js").CommonProps | keyof import("@mui/material").StackOwnProps> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
@@ -22,7 +22,7 @@ export const SelectEnabledToolsPage = ({ type }) => {
|
|
|
22
22
|
const typeKey = type.toLowerCase();
|
|
23
23
|
const { tools } = useTools();
|
|
24
24
|
const [enabledTools, disabledTools, setToolValue, toggleTools] = useSettingsStore((state) => [
|
|
25
|
-
state[`
|
|
25
|
+
state[`_enabled${type}`],
|
|
26
26
|
state[`disabled${type}`],
|
|
27
27
|
state.setToolValue,
|
|
28
28
|
state.toggleTools,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectEnabledToolsPage.js","sourceRoot":"","sources":["../../pages/SelectEnabledToolsPage.tsx"],"names":[],"mappings":";AAAA,OAAO,EACL,KAAK,EACL,4BAA4B,EAC5B,gBAAgB,EAChB,6BAA6B,GAC9B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,MAAM,EACN,UAAU,EACV,IAAI,EACJ,cAAc,EACd,OAAO,EACP,QAAQ,GACT,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAC/C,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAC7D,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAC/D,OAAO,EAAE,sBAAsB,EAAE,MAAM,yCAAyC,CAAC;AACjF,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAC;AAQ1E,MAAM,iBAAiB,GAAqC,CAAC,EAC3D,q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AC,aAAa,IAAC,cAAc,kBAC3B,KAAC,IAAI,IACH,EAAE,EAAE;gBACF,UAAU,EAAE,CAAC;gBACb,WAAW,EAAE,GAAG;gBAChB,YAAY,EAAE,GAAG;gBACjB,aAAa,EAAE,GAAG;aACnB,YAEA,KAAK,EAAE,CAAC,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAC9B,MAAC,sBAAsB,IAErB,OAAO,EAAE,GAAG,EAAE,CAAC,WAAW,CAAC,IAAI,CAAC,GAAG,CAAC,aAEpC,KAAC,cAAc,cACb,KAAC,MAAM,IAAC,GAAG,EAAE,IAAI,CAAC,OAAO,EAAE,GAAG,EAAE,IAAI,CAAC,IAAI,YACtC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,GACN,GACM,EACjB,KAAC,YAAY,IAAC,OAAO,EAAE,IAAI,CAAC,IAAI,GAAI,EACnC,YAAY,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,KAAC,KAAK,IAAC,KAAK,EAAC,SAAS,GAAG,KAT/C,IAAI,CAAC,IAAI,CAUS,CAC1B,CAAC,GACG,GACO,CACjB,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -1,43 +1,42 @@
|
|
|
1
|
-
/// <reference types="react" resolution-mode="require"/>
|
|
2
1
|
import type { PageContainerProps } from '../../components/PageContainer.js';
|
|
3
2
|
export declare const AddressInput: import("@emotion/styled").StyledComponent<import("@mui/material").InputBaseProps & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
4
3
|
export declare const BookmarkInputFields: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
5
|
-
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
4
|
+
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
6
5
|
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
7
6
|
export declare const SendToWalletPageContainer: import("@emotion/styled").StyledComponent<import("@mui/material").ContainerOwnProps & import("@mui/material/OverridableComponent.js").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
8
|
-
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
7
|
+
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
9
8
|
}, "fixed" | "maxWidth" | "children" | "sx" | "style" | "className" | "classes" | "disableGutters"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & PageContainerProps, {}, {}>;
|
|
10
9
|
export declare const SendToWalletCard: import("@emotion/styled").StyledComponent<Pick<import("@mui/material").CardOwnProps & import("@mui/material/OverridableComponent.js").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
11
|
-
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
10
|
+
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
12
11
|
}, "children" | "sx" | "style" | "className" | "elevation" | "classes" | "variant" | "square" | "raised"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & import("../../components/Card/Card.js").CardProps, "title" | "theme" | "color" | "content" | "translate" | "children" | "component" | "ref" | "sx" | "slot" | "style" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "type" | "elevation" | "as" | "classes" | "variant" | "square" | "raised" | "selectionColor" | "indented"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
13
12
|
export declare const SendToWalletSheetContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
14
|
-
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
13
|
+
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
15
14
|
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
16
15
|
export declare const SendToWalletButtonRow: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
17
|
-
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
16
|
+
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
18
17
|
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
19
18
|
export declare const SendToWalletIconButton: import("@emotion/styled").StyledComponent<import("@mui/lab").LoadingButtonOwnProps & Omit<import("@mui/material").ButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes">, "classes"> & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent.js").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
20
|
-
ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
|
19
|
+
ref?: ((instance: HTMLButtonElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
|
21
20
|
}, "color" | "children" | "sx" | "style" | "className" | "tabIndex" | "href" | "disabled" | "action" | "loading" | "size" | "classes" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableElevation" | "disableFocusRipple" | "endIcon" | "fullWidth" | "startIcon" | "loadingIndicator" | "loadingPosition"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
22
21
|
export declare const IconContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
23
|
-
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
22
|
+
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
24
23
|
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
25
24
|
export declare const SheetTitle: import("@emotion/styled").StyledComponent<import("@mui/material").TypographyOwnProps & import("@mui/material/OverridableComponent.js").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
26
|
-
ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
|
|
25
|
+
ref?: ((instance: HTMLSpanElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLSpanElement> | null | undefined;
|
|
27
26
|
}, "border" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "borderColor" | "borderRadius" | "display" | "displayPrint" | "overflow" | "textOverflow" | "visibility" | "whiteSpace" | "flexBasis" | "flexDirection" | "flexWrap" | "justifyContent" | "alignItems" | "alignContent" | "order" | "flex" | "flexGrow" | "flexShrink" | "alignSelf" | "justifyItems" | "justifySelf" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "bgcolor" | "color" | "zIndex" | "position" | "top" | "right" | "bottom" | "left" | "boxShadow" | "width" | "maxWidth" | "minWidth" | "height" | "maxHeight" | "minHeight" | "boxSizing" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginX" | "marginY" | "marginInline" | "marginInlineStart" | "marginInlineEnd" | "marginBlock" | "marginBlockStart" | "marginBlockEnd" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "paddingInline" | "paddingInlineStart" | "paddingInlineEnd" | "paddingBlock" | "paddingBlockStart" | "paddingBlockEnd" | "typography" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "letterSpacing" | "lineHeight" | "textAlign" | "textTransform" | "children" | "sx" | "style" | "className" | "align" | "classes" | "gutterBottom" | "noWrap" | "paragraph" | "variant" | "variantMapping"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
28
27
|
export declare const SheetAddressContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
29
|
-
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
28
|
+
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
30
29
|
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
31
30
|
export declare const ListContainer: import("@emotion/styled").StyledComponent<import("@mui/material").ListOwnProps & import("@mui/material/OverridableComponent.js").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & {
|
|
32
|
-
ref?: ((instance: HTMLUListElement | null) => void) | import("react").RefObject<HTMLUListElement> | null | undefined;
|
|
31
|
+
ref?: ((instance: HTMLUListElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLUListElement> | null | undefined;
|
|
33
32
|
}, "children" | "sx" | "style" | "className" | "classes" | "dense" | "disablePadding" | "subheader"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
34
33
|
export declare const BookmarkButtonContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
35
|
-
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
34
|
+
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
36
35
|
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
37
36
|
export declare const EmptyContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
38
|
-
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
37
|
+
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
39
38
|
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
40
39
|
export declare const ValidationAlert: import("@emotion/styled").StyledComponent<import("@mui/material").AlertProps & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
41
40
|
export declare const OptionsMenuButton: import("@emotion/styled").StyledComponent<import("@mui/material").IconButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent.js").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
42
|
-
ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
|
41
|
+
ref?: ((instance: HTMLButtonElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
|
43
42
|
}, "color" | "children" | "sx" | "style" | "className" | "tabIndex" | "disabled" | "action" | "size" | "classes" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" resolution-mode="require"/>
|
|
2
1
|
export declare const ResetButtonContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
3
|
-
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
2
|
+
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
4
3
|
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
/// <reference types="react" resolution-mode="require"/>
|
|
2
1
|
export declare const SettingsList: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
3
|
-
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
2
|
+
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
4
3
|
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
5
4
|
export declare const Badge: import("@emotion/styled").StyledComponent<import("@mui/material").BadgeOwnProps & import("@mui/material/OverridableComponent.js").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
6
|
-
ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
|
|
5
|
+
ref?: ((instance: HTMLSpanElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLSpanElement> | null | undefined;
|
|
7
6
|
}, "max" | "color" | "children" | "sx" | "style" | "className" | "classes" | "variant" | "slots" | "slotProps" | "componentsProps" | "anchorOrigin" | "badgeContent" | "components" | "invisible" | "overlap" | "showZero"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
/// <reference types="react" resolution-mode="require"/>
|
|
2
1
|
import type { Theme } from '@mui/material';
|
|
3
2
|
export declare const SettingsFieldSet: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
4
|
-
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
3
|
+
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
5
4
|
}, keyof import("@mui/system").BoxOwnProps<Theme>> & import("@mui/system").MUIStyledCommonProps<Theme>, {}, {}>;
|
|
6
5
|
interface SlippageDefaultProps {
|
|
7
6
|
selected?: boolean;
|
|
8
7
|
}
|
|
9
8
|
export declare const SlippageDefaultButton: import("@emotion/styled").StyledComponent<import("@mui/material").ButtonBaseOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent.js").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
10
|
-
ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
|
9
|
+
ref?: ((instance: HTMLButtonElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
|
11
10
|
}, "children" | "sx" | "style" | "className" | "tabIndex" | "disabled" | "action" | "classes" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef"> & import("@mui/system").MUIStyledCommonProps<Theme> & SlippageDefaultProps, {}, {}>;
|
|
12
11
|
export declare const SlippageCustomInput: import("@emotion/styled").StyledComponent<import("@mui/material").InputBaseProps & import("@mui/system").MUIStyledCommonProps<Theme> & SlippageDefaultProps, {}, {}>;
|
|
13
12
|
export declare const SlippageLimitsWarningContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
14
|
-
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
13
|
+
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
15
14
|
}, keyof import("@mui/system").BoxOwnProps<Theme>> & import("@mui/system").MUIStyledCommonProps<Theme>, {}, {}>;
|
|
16
15
|
export {};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" resolution-mode="require"/>
|
|
2
1
|
import type { StartTransactionButtonProps } from './types.js';
|
|
3
2
|
export declare const StartTransactionButton: React.FC<StartTransactionButtonProps>;
|
|
4
3
|
export declare const StartInsurableTransactionButton: React.FC<StartTransactionButtonProps>;
|