@lifi/widget 1.13.4 → 1.13.7
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/App.d.ts +1 -1
- package/AppDrawer.d.ts +3 -3
- package/AppProvider.d.ts +2 -2
- package/AppProvider.js +1 -3
- package/cjs/App.d.ts +1 -1
- package/cjs/AppDrawer.d.ts +3 -3
- package/cjs/AppProvider.d.ts +2 -2
- package/cjs/AppProvider.js +0 -2
- package/cjs/components/AppContainer.d.ts +1 -1
- package/cjs/components/BottomSheet/BottomSheet.d.ts +1 -1
- package/cjs/components/BottomSheet/types.d.ts +2 -2
- package/cjs/components/Card/Card.d.ts +1 -1
- package/cjs/components/Dialog.d.ts +2 -2
- package/cjs/components/GasSufficiencyMessage/GasSufficiencyMessage.d.ts +2 -2
- package/cjs/components/Header/Header.d.ts +1 -1
- package/cjs/components/Header/useHeaderActionStore.d.ts +1 -1
- package/cjs/components/LiFiLogo.d.ts +1 -1
- package/cjs/components/ProgressToNextUpdate/ProgressToNextUpdate.d.ts +1 -1
- package/cjs/components/SelectChainAndToken.d.ts +1 -1
- package/cjs/components/SelectTokenButton/SelectTokenButton.d.ts +1 -1
- package/cjs/components/Step/CircularProgress.d.ts +1 -1
- package/cjs/components/Step/CircularProgress.style.d.ts +2 -2
- package/cjs/components/Step/Step.d.ts +1 -1
- package/cjs/components/Step/StepProcess.d.ts +1 -1
- package/cjs/components/Step/StepTimer.d.ts +1 -1
- package/cjs/components/Step/utils.d.ts +2 -2
- package/cjs/components/StepActions/StepActions.d.ts +2 -2
- package/cjs/components/StepActions/types.d.ts +2 -2
- package/cjs/components/SwapButton/SwapButton.d.ts +1 -1
- package/cjs/components/SwapInProgress/SwapInProgress.d.ts +1 -1
- package/cjs/components/SwapInput/FormPriceHelperText.d.ts +1 -1
- package/cjs/components/SwapInput/SwapInput.d.ts +1 -1
- package/cjs/components/SwapInput/SwapInputAdornment.d.ts +1 -1
- package/cjs/components/SwapRouteCard/SwapRouteCard.d.ts +2 -2
- package/cjs/components/SwapRouteCard/SwapRouteCardSkeleton.d.ts +2 -2
- package/cjs/components/SwapRouteCard/SwapRouteNotFoundCard.d.ts +2 -2
- package/cjs/components/SwapRouteCard/types.d.ts +1 -1
- package/cjs/components/TextFitter/TextFitter.d.ts +2 -2
- package/cjs/components/TextFitter/types.d.ts +1 -1
- package/cjs/components/Token/Token.d.ts +2 -2
- package/cjs/components/TokenAvatar/TokenAvatar.d.ts +2 -2
- package/cjs/components/TokenList/TokenList.d.ts +2 -2
- package/cjs/components/TokenList/TokenListItem.d.ts +1 -1
- package/cjs/components/TokenList/VirtualizedTokenList.d.ts +2 -2
- package/cjs/components/TokenList/types.d.ts +4 -4
- package/cjs/config/lifi.d.ts +2 -1
- package/cjs/config/theme.d.ts +2 -2
- package/cjs/config/theme.js +4 -4
- package/cjs/config/version.d.ts +1 -1
- package/cjs/config/version.js +1 -1
- package/cjs/fonts/Inter-Black.woff +0 -0
- package/cjs/fonts/Inter-Black.woff2 +0 -0
- package/cjs/fonts/Inter-BlackItalic.woff +0 -0
- package/cjs/fonts/Inter-BlackItalic.woff2 +0 -0
- package/cjs/fonts/Inter-Bold.woff +0 -0
- package/cjs/fonts/Inter-Bold.woff2 +0 -0
- package/cjs/fonts/Inter-BoldItalic.woff +0 -0
- package/cjs/fonts/Inter-BoldItalic.woff2 +0 -0
- package/cjs/fonts/Inter-ExtraBold.woff +0 -0
- package/cjs/fonts/Inter-ExtraBold.woff2 +0 -0
- package/cjs/fonts/Inter-ExtraBoldItalic.woff +0 -0
- package/cjs/fonts/Inter-ExtraBoldItalic.woff2 +0 -0
- package/cjs/fonts/Inter-ExtraLight.woff +0 -0
- package/cjs/fonts/Inter-ExtraLight.woff2 +0 -0
- package/cjs/fonts/Inter-ExtraLightItalic.woff +0 -0
- package/cjs/fonts/Inter-ExtraLightItalic.woff2 +0 -0
- package/cjs/fonts/Inter-Italic.woff +0 -0
- package/cjs/fonts/Inter-Italic.woff2 +0 -0
- package/cjs/fonts/Inter-Light.woff +0 -0
- package/cjs/fonts/Inter-Light.woff2 +0 -0
- package/cjs/fonts/Inter-LightItalic.woff +0 -0
- package/cjs/fonts/Inter-LightItalic.woff2 +0 -0
- package/cjs/fonts/Inter-Medium.woff +0 -0
- package/cjs/fonts/Inter-Medium.woff2 +0 -0
- package/cjs/fonts/Inter-MediumItalic.woff +0 -0
- package/cjs/fonts/Inter-MediumItalic.woff2 +0 -0
- package/cjs/fonts/Inter-Regular.woff +0 -0
- package/cjs/fonts/Inter-Regular.woff2 +0 -0
- package/cjs/fonts/Inter-SemiBold.woff +0 -0
- package/cjs/fonts/Inter-SemiBold.woff2 +0 -0
- package/cjs/fonts/Inter-SemiBoldItalic.woff +0 -0
- package/cjs/fonts/Inter-SemiBoldItalic.woff2 +0 -0
- package/cjs/fonts/Inter-Thin.woff +0 -0
- package/cjs/fonts/Inter-Thin.woff2 +0 -0
- package/cjs/fonts/Inter-ThinItalic.woff +0 -0
- package/cjs/fonts/Inter-ThinItalic.woff2 +0 -0
- package/cjs/fonts/Inter-italic.var.woff2 +0 -0
- package/cjs/fonts/Inter-roman.var.woff2 +0 -0
- package/cjs/fonts/Inter.var.woff2 +0 -0
- package/cjs/fonts/inter.css +200 -0
- package/cjs/hooks/useGasSufficiency.d.ts +1 -1
- package/cjs/hooks/useRouteExecution.d.ts +1 -1
- package/cjs/hooks/useTokenBalances.d.ts +1 -1
- package/cjs/hooks/useTokenSearch.d.ts +1 -1
- package/cjs/hooks/useTokens.d.ts +1 -1
- package/cjs/hooks/useTools.d.ts +1 -1
- package/cjs/i18n/en/translation.json +167 -167
- package/cjs/icons/LiFiFullLogo.d.ts +1 -1
- package/cjs/icons/LiFiLogo.d.ts +1 -1
- package/cjs/icons/LiFiToolLogo.d.ts +1 -1
- package/cjs/pages/MainPage/SwapRoutes.d.ts +1 -1
- package/cjs/pages/SelectTokenPage/ChainSelect.d.ts +1 -1
- package/cjs/pages/SelectTokenPage/SelectTokenPage.d.ts +2 -2
- package/cjs/pages/SwapHistoryPage/SwapHistoryItem.d.ts +1 -1
- package/cjs/pages/SwapPage/StatusBottomSheet.d.ts +1 -1
- package/cjs/pages/SwapPage/StatusBottomSheet.style.d.ts +2 -2
- package/cjs/pages/SwapPage/utils.d.ts +2 -2
- package/cjs/pages/SwapRoutesPage/SwapRoutesPage.d.ts +1 -1
- package/cjs/providers/WalletProvider/WalletProvider.d.ts +3 -3
- package/cjs/providers/WalletProvider/types.d.ts +3 -3
- package/cjs/providers/WidgetProvider/types.d.ts +1 -1
- package/cjs/stores/route/types.d.ts +1 -1
- package/cjs/stores/route/useExecutingRoutes.d.ts +1 -1
- package/cjs/stores/route/useSwapHistory.d.ts +1 -1
- package/cjs/stores/settings/types.d.ts +2 -2
- package/cjs/stores/settings/useAppearance.d.ts +1 -1
- package/cjs/stores/settings/useSetSettings.d.ts +1 -1
- package/cjs/stores/settings/useSettings.d.ts +1 -1
- package/cjs/stores/settings/useSettingsStore.d.ts +1 -1
- package/cjs/types/token.d.ts +1 -1
- package/cjs/types/widget.d.ts +5 -5
- package/cjs/utils/colors.d.ts +2 -2
- package/cjs/utils/colors.js +4 -4
- package/components/AppContainer.d.ts +1 -1
- package/components/BottomSheet/BottomSheet.d.ts +1 -1
- package/components/BottomSheet/types.d.ts +2 -2
- package/components/Card/Card.d.ts +1 -1
- package/components/Dialog.d.ts +2 -2
- package/components/GasSufficiencyMessage/GasSufficiencyMessage.d.ts +2 -2
- package/components/Header/Header.d.ts +1 -1
- package/components/Header/useHeaderActionStore.d.ts +1 -1
- package/components/LiFiLogo.d.ts +1 -1
- package/components/ProgressToNextUpdate/ProgressToNextUpdate.d.ts +1 -1
- package/components/ProgressToNextUpdate/ProgressToNextUpdate.js +1 -1
- package/components/SelectChainAndToken.d.ts +1 -1
- package/components/SelectTokenButton/SelectTokenButton.d.ts +1 -1
- package/components/SelectTokenButton/SelectTokenButton.js +1 -1
- package/components/Step/CircularProgress.d.ts +1 -1
- package/components/Step/CircularProgress.style.d.ts +2 -2
- package/components/Step/Step.d.ts +1 -1
- package/components/Step/StepProcess.d.ts +1 -1
- package/components/Step/StepTimer.d.ts +1 -1
- package/components/Step/utils.d.ts +2 -2
- package/components/Step/utils.js +1 -1
- package/components/StepActions/StepActions.d.ts +2 -2
- package/components/StepActions/StepActions.js +1 -1
- package/components/StepActions/types.d.ts +2 -2
- package/components/SwapButton/SwapButton.d.ts +1 -1
- package/components/SwapInProgress/SwapInProgress.d.ts +1 -1
- package/components/SwapInput/FormPriceHelperText.d.ts +1 -1
- package/components/SwapInput/FormPriceHelperText.js +1 -1
- package/components/SwapInput/SwapInput.d.ts +1 -1
- package/components/SwapInput/SwapInput.js +1 -1
- package/components/SwapInput/SwapInputAdornment.d.ts +1 -1
- package/components/SwapInput/SwapInputAdornment.js +1 -1
- package/components/SwapRouteCard/SwapRouteCard.d.ts +2 -2
- package/components/SwapRouteCard/SwapRouteCardSkeleton.d.ts +2 -2
- package/components/SwapRouteCard/SwapRouteNotFoundCard.d.ts +2 -2
- package/components/SwapRouteCard/types.d.ts +1 -1
- package/components/TextFitter/TextFitter.d.ts +2 -2
- package/components/TextFitter/TextFitter.js +1 -1
- package/components/TextFitter/types.d.ts +1 -1
- package/components/Token/Token.d.ts +2 -2
- package/components/TokenAvatar/TokenAvatar.d.ts +2 -2
- package/components/TokenList/TokenList.d.ts +2 -2
- package/components/TokenList/TokenListItem.d.ts +1 -1
- package/components/TokenList/VirtualizedTokenList.d.ts +2 -2
- package/components/TokenList/types.d.ts +4 -4
- package/config/lifi.d.ts +2 -1
- package/config/theme.d.ts +2 -2
- package/config/theme.js +4 -4
- package/config/version.d.ts +1 -1
- package/config/version.js +1 -1
- package/hooks/useGasSufficiency.d.ts +1 -1
- package/hooks/useRouteExecution.d.ts +1 -1
- package/hooks/useTokenBalances.d.ts +1 -1
- package/hooks/useTokenSearch.d.ts +1 -1
- package/hooks/useTokens.d.ts +1 -1
- package/hooks/useTools.d.ts +1 -1
- package/icons/LiFiFullLogo.d.ts +1 -1
- package/icons/LiFiLogo.d.ts +1 -1
- package/icons/LiFiToolLogo.d.ts +1 -1
- package/package.json +5 -5
- package/pages/MainPage/SwapRoutes.d.ts +1 -1
- package/pages/SelectTokenPage/ChainSelect.d.ts +1 -1
- package/pages/SelectTokenPage/SelectTokenPage.d.ts +2 -2
- package/pages/SwapHistoryPage/SwapHistoryItem.d.ts +1 -1
- package/pages/SwapPage/StatusBottomSheet.d.ts +1 -1
- package/pages/SwapPage/StatusBottomSheet.style.d.ts +2 -2
- package/pages/SwapPage/utils.d.ts +2 -2
- package/pages/SwapPage/utils.js +1 -1
- package/pages/SwapRoutesPage/SwapRoutesPage.d.ts +1 -1
- package/providers/WalletProvider/WalletProvider.d.ts +3 -3
- package/providers/WalletProvider/types.d.ts +3 -3
- package/providers/WidgetProvider/types.d.ts +1 -1
- package/stores/route/types.d.ts +1 -1
- package/stores/route/useExecutingRoutes.d.ts +1 -1
- package/stores/route/useSwapHistory.d.ts +1 -1
- package/stores/settings/types.d.ts +2 -2
- package/stores/settings/useAppearance.d.ts +1 -1
- package/stores/settings/useSetSettings.d.ts +1 -1
- package/stores/settings/useSettings.d.ts +1 -1
- package/stores/settings/useSettingsStore.d.ts +1 -1
- package/tsconfig.cjs.tsbuildinfo +1 -1
- package/types/token.d.ts +1 -1
- package/types/widget.d.ts +5 -5
- package/utils/colors.d.ts +2 -2
- package/utils/colors.js +4 -4
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
@font-face {
|
|
2
|
+
font-family: 'Inter';
|
|
3
|
+
font-style: normal;
|
|
4
|
+
font-weight: 100;
|
|
5
|
+
font-display: swap;
|
|
6
|
+
src: url("Inter-Thin.woff2?v=3.19") format("woff2"),
|
|
7
|
+
url("Inter-Thin.woff?v=3.19") format("woff");
|
|
8
|
+
}
|
|
9
|
+
@font-face {
|
|
10
|
+
font-family: 'Inter';
|
|
11
|
+
font-style: italic;
|
|
12
|
+
font-weight: 100;
|
|
13
|
+
font-display: swap;
|
|
14
|
+
src: url("Inter-ThinItalic.woff2?v=3.19") format("woff2"),
|
|
15
|
+
url("Inter-ThinItalic.woff?v=3.19") format("woff");
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
@font-face {
|
|
19
|
+
font-family: 'Inter';
|
|
20
|
+
font-style: normal;
|
|
21
|
+
font-weight: 200;
|
|
22
|
+
font-display: swap;
|
|
23
|
+
src: url("Inter-ExtraLight.woff2?v=3.19") format("woff2"),
|
|
24
|
+
url("Inter-ExtraLight.woff?v=3.19") format("woff");
|
|
25
|
+
}
|
|
26
|
+
@font-face {
|
|
27
|
+
font-family: 'Inter';
|
|
28
|
+
font-style: italic;
|
|
29
|
+
font-weight: 200;
|
|
30
|
+
font-display: swap;
|
|
31
|
+
src: url("Inter-ExtraLightItalic.woff2?v=3.19") format("woff2"),
|
|
32
|
+
url("Inter-ExtraLightItalic.woff?v=3.19") format("woff");
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
@font-face {
|
|
36
|
+
font-family: 'Inter';
|
|
37
|
+
font-style: normal;
|
|
38
|
+
font-weight: 300;
|
|
39
|
+
font-display: swap;
|
|
40
|
+
src: url("Inter-Light.woff2?v=3.19") format("woff2"),
|
|
41
|
+
url("Inter-Light.woff?v=3.19") format("woff");
|
|
42
|
+
}
|
|
43
|
+
@font-face {
|
|
44
|
+
font-family: 'Inter';
|
|
45
|
+
font-style: italic;
|
|
46
|
+
font-weight: 300;
|
|
47
|
+
font-display: swap;
|
|
48
|
+
src: url("Inter-LightItalic.woff2?v=3.19") format("woff2"),
|
|
49
|
+
url("Inter-LightItalic.woff?v=3.19") format("woff");
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
@font-face {
|
|
53
|
+
font-family: 'Inter';
|
|
54
|
+
font-style: normal;
|
|
55
|
+
font-weight: 400;
|
|
56
|
+
font-display: swap;
|
|
57
|
+
src: url("Inter-Regular.woff2?v=3.19") format("woff2"),
|
|
58
|
+
url("Inter-Regular.woff?v=3.19") format("woff");
|
|
59
|
+
}
|
|
60
|
+
@font-face {
|
|
61
|
+
font-family: 'Inter';
|
|
62
|
+
font-style: italic;
|
|
63
|
+
font-weight: 400;
|
|
64
|
+
font-display: swap;
|
|
65
|
+
src: url("Inter-Italic.woff2?v=3.19") format("woff2"),
|
|
66
|
+
url("Inter-Italic.woff?v=3.19") format("woff");
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
@font-face {
|
|
70
|
+
font-family: 'Inter';
|
|
71
|
+
font-style: normal;
|
|
72
|
+
font-weight: 500;
|
|
73
|
+
font-display: swap;
|
|
74
|
+
src: url("Inter-Medium.woff2?v=3.19") format("woff2"),
|
|
75
|
+
url("Inter-Medium.woff?v=3.19") format("woff");
|
|
76
|
+
}
|
|
77
|
+
@font-face {
|
|
78
|
+
font-family: 'Inter';
|
|
79
|
+
font-style: italic;
|
|
80
|
+
font-weight: 500;
|
|
81
|
+
font-display: swap;
|
|
82
|
+
src: url("Inter-MediumItalic.woff2?v=3.19") format("woff2"),
|
|
83
|
+
url("Inter-MediumItalic.woff?v=3.19") format("woff");
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
@font-face {
|
|
87
|
+
font-family: 'Inter';
|
|
88
|
+
font-style: normal;
|
|
89
|
+
font-weight: 600;
|
|
90
|
+
font-display: swap;
|
|
91
|
+
src: url("Inter-SemiBold.woff2?v=3.19") format("woff2"),
|
|
92
|
+
url("Inter-SemiBold.woff?v=3.19") format("woff");
|
|
93
|
+
}
|
|
94
|
+
@font-face {
|
|
95
|
+
font-family: 'Inter';
|
|
96
|
+
font-style: italic;
|
|
97
|
+
font-weight: 600;
|
|
98
|
+
font-display: swap;
|
|
99
|
+
src: url("Inter-SemiBoldItalic.woff2?v=3.19") format("woff2"),
|
|
100
|
+
url("Inter-SemiBoldItalic.woff?v=3.19") format("woff");
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
@font-face {
|
|
104
|
+
font-family: 'Inter';
|
|
105
|
+
font-style: normal;
|
|
106
|
+
font-weight: 700;
|
|
107
|
+
font-display: swap;
|
|
108
|
+
src: url("Inter-Bold.woff2?v=3.19") format("woff2"),
|
|
109
|
+
url("Inter-Bold.woff?v=3.19") format("woff");
|
|
110
|
+
}
|
|
111
|
+
@font-face {
|
|
112
|
+
font-family: 'Inter';
|
|
113
|
+
font-style: italic;
|
|
114
|
+
font-weight: 700;
|
|
115
|
+
font-display: swap;
|
|
116
|
+
src: url("Inter-BoldItalic.woff2?v=3.19") format("woff2"),
|
|
117
|
+
url("Inter-BoldItalic.woff?v=3.19") format("woff");
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
@font-face {
|
|
121
|
+
font-family: 'Inter';
|
|
122
|
+
font-style: normal;
|
|
123
|
+
font-weight: 800;
|
|
124
|
+
font-display: swap;
|
|
125
|
+
src: url("Inter-ExtraBold.woff2?v=3.19") format("woff2"),
|
|
126
|
+
url("Inter-ExtraBold.woff?v=3.19") format("woff");
|
|
127
|
+
}
|
|
128
|
+
@font-face {
|
|
129
|
+
font-family: 'Inter';
|
|
130
|
+
font-style: italic;
|
|
131
|
+
font-weight: 800;
|
|
132
|
+
font-display: swap;
|
|
133
|
+
src: url("Inter-ExtraBoldItalic.woff2?v=3.19") format("woff2"),
|
|
134
|
+
url("Inter-ExtraBoldItalic.woff?v=3.19") format("woff");
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
@font-face {
|
|
138
|
+
font-family: 'Inter';
|
|
139
|
+
font-style: normal;
|
|
140
|
+
font-weight: 900;
|
|
141
|
+
font-display: swap;
|
|
142
|
+
src: url("Inter-Black.woff2?v=3.19") format("woff2"),
|
|
143
|
+
url("Inter-Black.woff?v=3.19") format("woff");
|
|
144
|
+
}
|
|
145
|
+
@font-face {
|
|
146
|
+
font-family: 'Inter';
|
|
147
|
+
font-style: italic;
|
|
148
|
+
font-weight: 900;
|
|
149
|
+
font-display: swap;
|
|
150
|
+
src: url("Inter-BlackItalic.woff2?v=3.19") format("woff2"),
|
|
151
|
+
url("Inter-BlackItalic.woff?v=3.19") format("woff");
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
/* -------------------------------------------------------
|
|
155
|
+
Variable font.
|
|
156
|
+
Usage:
|
|
157
|
+
|
|
158
|
+
html { font-family: 'Inter', sans-serif; }
|
|
159
|
+
@supports (font-variation-settings: normal) {
|
|
160
|
+
html { font-family: 'Inter var', sans-serif; }
|
|
161
|
+
}
|
|
162
|
+
*/
|
|
163
|
+
@font-face {
|
|
164
|
+
font-family: 'Inter var';
|
|
165
|
+
font-weight: 100 900;
|
|
166
|
+
font-display: swap;
|
|
167
|
+
font-style: normal;
|
|
168
|
+
font-named-instance: 'Regular';
|
|
169
|
+
src: url("Inter-roman.var.woff2?v=3.19") format("woff2");
|
|
170
|
+
}
|
|
171
|
+
@font-face {
|
|
172
|
+
font-family: 'Inter var';
|
|
173
|
+
font-weight: 100 900;
|
|
174
|
+
font-display: swap;
|
|
175
|
+
font-style: italic;
|
|
176
|
+
font-named-instance: 'Italic';
|
|
177
|
+
src: url("Inter-italic.var.woff2?v=3.19") format("woff2");
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
/* --------------------------------------------------------------------------
|
|
182
|
+
[EXPERIMENTAL] Multi-axis, single variable font.
|
|
183
|
+
|
|
184
|
+
Slant axis is not yet widely supported (as of February 2019) and thus this
|
|
185
|
+
multi-axis single variable font is opt-in rather than the default.
|
|
186
|
+
|
|
187
|
+
When using this, you will probably need to set font-variation-settings
|
|
188
|
+
explicitly, e.g.
|
|
189
|
+
|
|
190
|
+
* { font-variation-settings: "slnt" 0deg }
|
|
191
|
+
.italic { font-variation-settings: "slnt" 10deg }
|
|
192
|
+
|
|
193
|
+
*/
|
|
194
|
+
@font-face {
|
|
195
|
+
font-family: 'Inter var experimental';
|
|
196
|
+
font-weight: 100 900;
|
|
197
|
+
font-display: swap;
|
|
198
|
+
font-style: oblique 0deg 10deg;
|
|
199
|
+
src: url("Inter.var.woff2?v=3.19") format("woff2");
|
|
200
|
+
}
|
package/cjs/hooks/useTokens.d.ts
CHANGED
package/cjs/hooks/useTools.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Bridge, Exchange } from '@lifi/sdk';
|
|
1
|
+
import type { Bridge, Exchange } from '@lifi/sdk';
|
|
2
2
|
declare type FormattedTool<T, K extends keyof T> = Record<string, Pick<T, K>>;
|
|
3
3
|
export declare const useTools: () => {
|
|
4
4
|
tools: import("@lifi/sdk").ToolsResponse | undefined;
|
|
@@ -1,175 +1,175 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
2
|
+
"header": {
|
|
3
|
+
"walletConnected": "Wallet connected",
|
|
4
|
+
"connectWallet": "Connect wallet",
|
|
5
|
+
"selectWallet": "Select your wallet",
|
|
6
|
+
"swap": "Swap",
|
|
7
|
+
"from": "Swap from",
|
|
8
|
+
"to": "Swap to",
|
|
9
|
+
"settings": "Settings",
|
|
10
|
+
"routes": "You get",
|
|
11
|
+
"swapHistory": "Swap history",
|
|
12
|
+
"swapDetails": "Swap details"
|
|
13
|
+
},
|
|
14
|
+
"button": {
|
|
15
|
+
"connectWallet": "Connect wallet",
|
|
16
|
+
"switchChain": "Switch chain",
|
|
17
|
+
"swap": "Swap",
|
|
18
|
+
"reviewSwap": "Review swap",
|
|
19
|
+
"startSwap": "Start swap",
|
|
20
|
+
"restartSwap": "Restart swap",
|
|
21
|
+
"removeSwap": "Remove swap",
|
|
22
|
+
"done": "Done",
|
|
23
|
+
"okay": "Okay",
|
|
24
|
+
"seeDetails": "See details",
|
|
25
|
+
"tryAgain": "Try again",
|
|
26
|
+
"light": "Light",
|
|
27
|
+
"dark": "Dark",
|
|
28
|
+
"auto": "Auto",
|
|
29
|
+
"ok": "Ok",
|
|
30
|
+
"cancel": "Cancel",
|
|
31
|
+
"delete": "Delete",
|
|
32
|
+
"hide": "Hide",
|
|
33
|
+
"max": "max",
|
|
34
|
+
"contactSupport": "Contact support",
|
|
35
|
+
"lifiSwap": "LI.FI Swap"
|
|
36
|
+
},
|
|
37
|
+
"swap": {
|
|
38
|
+
"from": "From",
|
|
39
|
+
"to": "To",
|
|
40
|
+
"amount": "You pay",
|
|
41
|
+
"maxAmount": "/ {{amount}}",
|
|
42
|
+
"routes": "You get",
|
|
43
|
+
"approximateCurrency": "\u2248 {{value, currency(currency: USD)}}",
|
|
44
|
+
"currency": "{{value, currency(currency: USD)}}",
|
|
45
|
+
"sendToRecipient": "Send to recipient",
|
|
46
|
+
"addressConfirmation": "I confirm that the address above is correct",
|
|
47
|
+
"gas": "gas fee",
|
|
48
|
+
"minutes": "minutes",
|
|
49
|
+
"tokenSearch": "Search your token",
|
|
50
|
+
"selectChain": "Chain",
|
|
51
|
+
"selectToken": "Token",
|
|
52
|
+
"selectChainAndToken": "Select chain and token",
|
|
53
|
+
"featuredTokens": "Featured tokens",
|
|
54
|
+
"otherTokens": "Other tokens",
|
|
55
|
+
"inProgress": "In progress",
|
|
56
|
+
"couldntFindTokens": "We couldn't find tokens on this chain or you don't have any.",
|
|
57
|
+
"stepSwap": "Swap",
|
|
58
|
+
"stepBridge": "Bridge",
|
|
59
|
+
"stepSwapAndBridge": "Swap and bridge",
|
|
60
|
+
"estimatedTime": "~{{value}} min.",
|
|
61
|
+
"networkIsBusy": "Network is busy...",
|
|
62
|
+
"crossStepDetails": "Bridge from {{from}} to {{to}} via {{tool}}",
|
|
63
|
+
"swapStepDetails": "Swap on {{chain}} via {{tool}}",
|
|
64
|
+
"tokenOnChain": "{{tokenSymbol}} on {{chainName}}",
|
|
65
|
+
"tokenOnChainAmount": "{{amount}} {{tokenSymbol}} on {{chainName}}",
|
|
66
|
+
"routeId": "Route ID",
|
|
67
|
+
"tags": {
|
|
68
|
+
"recommended": "Recommended",
|
|
69
|
+
"fastest": "Fast",
|
|
70
|
+
"cheapest": "Cheap",
|
|
71
|
+
"safest": "Safe",
|
|
72
|
+
"general": "General"
|
|
13
73
|
},
|
|
14
|
-
"
|
|
15
|
-
|
|
16
|
-
"
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
"
|
|
20
|
-
|
|
21
|
-
"removeSwap": "Remove swap",
|
|
22
|
-
"done": "Done",
|
|
23
|
-
"okay": "Okay",
|
|
24
|
-
"seeDetails": "See details",
|
|
25
|
-
"tryAgain": "Try again",
|
|
26
|
-
"light": "Light",
|
|
27
|
-
"dark": "Dark",
|
|
28
|
-
"auto": "Auto",
|
|
29
|
-
"ok": "Ok",
|
|
30
|
-
"cancel": "Cancel",
|
|
31
|
-
"delete": "Delete",
|
|
32
|
-
"hide": "Hide",
|
|
33
|
-
"max": "max",
|
|
34
|
-
"contactSupport": "Contact support",
|
|
35
|
-
"lifiSwap": "LI.FI Swap"
|
|
74
|
+
"success": {
|
|
75
|
+
"title": {
|
|
76
|
+
"fundsReceived": "Funds received"
|
|
77
|
+
},
|
|
78
|
+
"message": {
|
|
79
|
+
"fundsReceived": "You now have {{amount}} {{tokenSymbol}} in your wallet on {{chainName}} chain."
|
|
80
|
+
}
|
|
36
81
|
},
|
|
37
|
-
"
|
|
38
|
-
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
|
|
46
|
-
"addressConfirmation": "I confirm that the address above is correct",
|
|
47
|
-
"gas": "gas fee",
|
|
48
|
-
"minutes": "minutes",
|
|
49
|
-
"tokenSearch": "Search your token",
|
|
50
|
-
"selectChain": "Chain",
|
|
51
|
-
"selectToken": "Token",
|
|
52
|
-
"selectChainAndToken": "Select chain and token",
|
|
53
|
-
"featuredTokens": "Featured tokens",
|
|
54
|
-
"otherTokens": "Other tokens",
|
|
55
|
-
"inProgress": "In progress",
|
|
56
|
-
"couldntFindTokens": "We couldn't find tokens on this chain or you don't have any.",
|
|
57
|
-
"stepSwap": "Swap",
|
|
58
|
-
"stepBridge": "Bridge",
|
|
59
|
-
"stepSwapAndBridge": "Swap and bridge",
|
|
60
|
-
"estimatedTime": "~{{value}} min.",
|
|
61
|
-
"networkIsBusy": "Network is busy...",
|
|
62
|
-
"crossStepDetails": "Bridge from {{from}} to {{to}} via {{tool}}",
|
|
63
|
-
"swapStepDetails": "Swap on {{chain}} via {{tool}}",
|
|
64
|
-
"tokenOnChain": "{{tokenSymbol}} on {{chainName}}",
|
|
65
|
-
"tokenOnChainAmount": "{{amount}} {{tokenSymbol}} on {{chainName}}",
|
|
66
|
-
"routeId": "Route ID",
|
|
67
|
-
"tags": {
|
|
68
|
-
"recommended": "Recommended",
|
|
69
|
-
"fastest": "Fast",
|
|
70
|
-
"cheapest": "Cheap",
|
|
71
|
-
"safest": "Safe",
|
|
72
|
-
"general": "General"
|
|
73
|
-
},
|
|
74
|
-
"success": {
|
|
75
|
-
"title": {
|
|
76
|
-
"fundsReceived": "Funds received"
|
|
77
|
-
},
|
|
78
|
-
"message": {
|
|
79
|
-
"fundsReceived": "You now have {{amount}} {{tokenSymbol}} in your wallet on {{chainName}} chain."
|
|
80
|
-
}
|
|
81
|
-
},
|
|
82
|
-
"info": {
|
|
83
|
-
"title": {
|
|
84
|
-
"routeNotFound": "No routes available",
|
|
85
|
-
"emptySwapHistory": "No recent swaps"
|
|
86
|
-
},
|
|
87
|
-
"message": {
|
|
88
|
-
"routeNotFound": "Try another token combination.",
|
|
89
|
-
"emptySwapHistory": "Swap history is only stored locally and will be deleted if you clear your browser data."
|
|
90
|
-
}
|
|
91
|
-
},
|
|
92
|
-
"warning": {
|
|
93
|
-
"title": {
|
|
94
|
-
"insufficientGas": "Insufficient gas",
|
|
95
|
-
"deleteSwap": "Delete this swap?",
|
|
96
|
-
"deleteSwapHistory": "Delete swap history?"
|
|
97
|
-
},
|
|
98
|
-
"message": {
|
|
99
|
-
"insufficientFunds": "You don't have enough funds to execute the swap.",
|
|
100
|
-
"insufficientGas": "You need to add at least:",
|
|
101
|
-
"deleteSwap": "Swap history is only stored locally and can't be recovered if you delete it."
|
|
102
|
-
}
|
|
103
|
-
},
|
|
104
|
-
"error": {
|
|
105
|
-
"title": {
|
|
106
|
-
"chainSwitch": "Chain switch required.",
|
|
107
|
-
"transactionFailed": "Transaction has failed.",
|
|
108
|
-
"transactionUnderpriced": "Transaction is underpriced.",
|
|
109
|
-
"transactionUnprepared": "Unable to prepare transaction.",
|
|
110
|
-
"unknown": "Something went wrong.",
|
|
111
|
-
"userRejectedSignatureRequest": "Signature required.",
|
|
112
|
-
"slippageTooLarge": "Slippage too large."
|
|
113
|
-
},
|
|
114
|
-
"message": {
|
|
115
|
-
"signatureRequired": "Your signature is required to complete the transaction. {{amount}} {{tokenSymbol}} on {{chainName}} remain in your wallet.",
|
|
116
|
-
"transactionFailed": "Please check the block explorer for more information.",
|
|
117
|
-
"transactionNotSent": "Transaction was not sent, your funds are still in your wallet ({{amount}} {{tokenSymbol}} on {{chainName}}).",
|
|
118
|
-
"slippageTooLarge": "The slippage is larger than the defined threshold. Please request a new route to get a fresh quote."
|
|
119
|
-
}
|
|
120
|
-
},
|
|
121
|
-
"process": {
|
|
122
|
-
"tokenAllowance": {
|
|
123
|
-
"started": "Setting token allowance.",
|
|
124
|
-
"pending": "Waiting for token allowance.",
|
|
125
|
-
"done": "Token allowance approved."
|
|
126
|
-
},
|
|
127
|
-
"switchChain": {
|
|
128
|
-
"pending": "Chain switch required.",
|
|
129
|
-
"done": "Chain switched successfully."
|
|
130
|
-
},
|
|
131
|
-
"swap": {
|
|
132
|
-
"started": "Preparing swap.",
|
|
133
|
-
"actionRequired": "Please sign the transaction.",
|
|
134
|
-
"pending": "Swapping.",
|
|
135
|
-
"done": "Swap completed."
|
|
136
|
-
},
|
|
137
|
-
"crossChain": {
|
|
138
|
-
"started": "Preparing transaction.",
|
|
139
|
-
"actionRequired": "Please sign the transaction.",
|
|
140
|
-
"pending": "Waiting for transaction.",
|
|
141
|
-
"done": "Transaction approved."
|
|
142
|
-
},
|
|
143
|
-
"receivingChain": {
|
|
144
|
-
"pending": "Waiting for receiving chain.",
|
|
145
|
-
"done": "Funds received."
|
|
146
|
-
}
|
|
147
|
-
}
|
|
82
|
+
"info": {
|
|
83
|
+
"title": {
|
|
84
|
+
"routeNotFound": "No routes available",
|
|
85
|
+
"emptySwapHistory": "No recent swaps"
|
|
86
|
+
},
|
|
87
|
+
"message": {
|
|
88
|
+
"routeNotFound": "Try another token combination.",
|
|
89
|
+
"emptySwapHistory": "Swap history is only stored locally and will be deleted if you clear your browser data."
|
|
90
|
+
}
|
|
148
91
|
},
|
|
149
|
-
"
|
|
150
|
-
|
|
151
|
-
"
|
|
152
|
-
"
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
"
|
|
159
|
-
|
|
160
|
-
"selectEnabledBridges": "Select enabled bridges",
|
|
161
|
-
"enabledExchanges": "Enabled exchanges",
|
|
162
|
-
"selectEnabledExchanges": "Select enabled exchanges",
|
|
163
|
-
"resetToDefault": "Reset to default"
|
|
92
|
+
"warning": {
|
|
93
|
+
"title": {
|
|
94
|
+
"insufficientGas": "Insufficient gas",
|
|
95
|
+
"deleteSwap": "Delete this swap?",
|
|
96
|
+
"deleteSwapHistory": "Delete swap history?"
|
|
97
|
+
},
|
|
98
|
+
"message": {
|
|
99
|
+
"insufficientFunds": "You don't have enough funds to execute the swap.",
|
|
100
|
+
"insufficientGas": "You need to add at least:",
|
|
101
|
+
"deleteSwap": "Swap history is only stored locally and can't be recovered if you delete it."
|
|
102
|
+
}
|
|
164
103
|
},
|
|
165
|
-
"
|
|
166
|
-
|
|
104
|
+
"error": {
|
|
105
|
+
"title": {
|
|
106
|
+
"chainSwitch": "Chain switch required.",
|
|
107
|
+
"transactionFailed": "Transaction has failed.",
|
|
108
|
+
"transactionUnderpriced": "Transaction is underpriced.",
|
|
109
|
+
"transactionUnprepared": "Unable to prepare transaction.",
|
|
110
|
+
"unknown": "Something went wrong.",
|
|
111
|
+
"userRejectedSignatureRequest": "Signature required.",
|
|
112
|
+
"slippageTooLarge": "Slippage too large."
|
|
113
|
+
},
|
|
114
|
+
"message": {
|
|
115
|
+
"signatureRequired": "Your signature is required to complete the transaction. {{amount}} {{tokenSymbol}} on {{chainName}} remain in your wallet.",
|
|
116
|
+
"transactionFailed": "Please check the block explorer for more information.",
|
|
117
|
+
"transactionNotSent": "Transaction was not sent, your funds are still in your wallet ({{amount}} {{tokenSymbol}} on {{chainName}}).",
|
|
118
|
+
"slippageTooLarge": "The slippage is larger than the defined threshold. Please request a new route to get a fresh quote."
|
|
119
|
+
}
|
|
167
120
|
},
|
|
168
|
-
"
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
121
|
+
"process": {
|
|
122
|
+
"tokenAllowance": {
|
|
123
|
+
"started": "Setting token allowance.",
|
|
124
|
+
"pending": "Waiting for token allowance.",
|
|
125
|
+
"done": "Token allowance approved."
|
|
126
|
+
},
|
|
127
|
+
"switchChain": {
|
|
128
|
+
"pending": "Chain switch required.",
|
|
129
|
+
"done": "Chain switched successfully."
|
|
130
|
+
},
|
|
131
|
+
"swap": {
|
|
132
|
+
"started": "Preparing swap.",
|
|
133
|
+
"actionRequired": "Please sign the transaction.",
|
|
134
|
+
"pending": "Swapping.",
|
|
135
|
+
"done": "Swap completed."
|
|
136
|
+
},
|
|
137
|
+
"crossChain": {
|
|
138
|
+
"started": "Preparing transaction.",
|
|
139
|
+
"actionRequired": "Please sign the transaction.",
|
|
140
|
+
"pending": "Waiting for transaction.",
|
|
141
|
+
"done": "Transaction approved."
|
|
142
|
+
},
|
|
143
|
+
"receivingChain": {
|
|
144
|
+
"pending": "Waiting for receiving chain.",
|
|
145
|
+
"done": "Funds received."
|
|
146
|
+
}
|
|
174
147
|
}
|
|
148
|
+
},
|
|
149
|
+
"settings": {
|
|
150
|
+
"routePriority": "Route priority",
|
|
151
|
+
"slippage": "Slippage",
|
|
152
|
+
"gasPrice": {
|
|
153
|
+
"title": "Gas price",
|
|
154
|
+
"slow": "Slow",
|
|
155
|
+
"normal": "Normal",
|
|
156
|
+
"fast": "Fast"
|
|
157
|
+
},
|
|
158
|
+
"advancedPreferences": "Advanced preferences",
|
|
159
|
+
"enabledBridges": "Enabled bridges",
|
|
160
|
+
"selectEnabledBridges": "Select enabled bridges",
|
|
161
|
+
"enabledExchanges": "Enabled exchanges",
|
|
162
|
+
"selectEnabledExchanges": "Select enabled exchanges",
|
|
163
|
+
"resetToDefault": "Reset to default"
|
|
164
|
+
},
|
|
165
|
+
"wallet": {
|
|
166
|
+
"extensionNotFound": "Please make sure that only the {{name}} browser extension is active before choosing this wallet."
|
|
167
|
+
},
|
|
168
|
+
"tooltip": {
|
|
169
|
+
"notFound": {
|
|
170
|
+
"title": "404",
|
|
171
|
+
"text": "We couldn't find this page."
|
|
172
|
+
},
|
|
173
|
+
"progressToNextUpdate": "Displayed data will auto-refresh after {{value}} seconds. Click this circle to update manually."
|
|
174
|
+
}
|
|
175
175
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { SVGProps } from 'react';
|
|
1
|
+
import type { SVGProps } from 'react';
|
|
2
2
|
export declare const LiFiFullLogo: (props: SVGProps<SVGSVGElement>) => JSX.Element;
|
package/cjs/icons/LiFiLogo.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { SVGProps } from 'react';
|
|
1
|
+
import type { SVGProps } from 'react';
|
|
2
2
|
export declare const LiFiLogo: (props: SVGProps<SVGSVGElement>) => JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { SVGProps } from 'react';
|
|
1
|
+
import type { SVGProps } from 'react';
|
|
2
2
|
export declare const LiFiToolLogo: (props: SVGProps<SVGSVGElement>) => JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { SwapFormDirection } from '../../providers/SwapFormProvider';
|
|
1
|
+
import type { FC } from 'react';
|
|
2
|
+
import type { SwapFormDirection } from '../../providers/SwapFormProvider';
|
|
3
3
|
export declare const SelectTokenPage: FC<{
|
|
4
4
|
formType: SwapFormDirection;
|
|
5
5
|
}>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { Theme } from '@mui/material';
|
|
3
|
-
import { RouteExecutionStatus } from '../../stores';
|
|
2
|
+
import type { Theme } from '@mui/material';
|
|
3
|
+
import type { RouteExecutionStatus } from '../../stores';
|
|
4
4
|
export declare const IconContainer: import("@emotion/styled").StyledComponent<import("@mui/system").SystemProps<Theme> & {
|
|
5
5
|
children?: import("react").ReactNode;
|
|
6
6
|
component?: import("react").ElementType<any> | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { EVMChain, Process, Step } from '@lifi/sdk';
|
|
2
|
-
import { TFunction } from 'react-i18next';
|
|
1
|
+
import type { EVMChain, Process, Step } from '@lifi/sdk';
|
|
2
|
+
import type { TFunction } from 'react-i18next';
|
|
3
3
|
export declare function getProcessMessage(t: TFunction<'translation', undefined>, getChainById: (chainId: number) => EVMChain | undefined, step: Step, process: Process): {
|
|
4
4
|
title?: string;
|
|
5
5
|
message?: string;
|