@lifi/widget 2.2.7 → 2.3.0
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/cjs/components/ProgressToNextUpdate/ProgressToNextUpdate.js +0 -1
- package/cjs/components/SendToWallet/SendToWalletButton.js +3 -0
- package/cjs/components/Step/Step.js +2 -1
- package/cjs/components/TokenList/useTokenSelect.js +10 -1
- package/cjs/config/version.d.ts +1 -1
- package/cjs/config/version.js +1 -1
- package/cjs/fonts/inter.css +75 -58
- package/cjs/types/events.d.ts +3 -1
- package/cjs/types/events.js +1 -0
- package/components/ProgressToNextUpdate/ProgressToNextUpdate.js +1 -2
- package/components/SendToWallet/SendToWalletButton.js +4 -1
- package/components/Step/Step.js +2 -1
- package/components/TokenList/useTokenSelect.js +10 -1
- package/config/version.d.ts +1 -1
- package/config/version.js +1 -1
- package/fonts/inter.css +75 -58
- package/package.json +2 -2
- package/tsconfig.cjs.tsbuildinfo +1 -1
- package/types/events.d.ts +3 -1
- package/types/events.js +1 -0
package/fonts/inter.css
CHANGED
|
@@ -1,154 +1,172 @@
|
|
|
1
1
|
@font-face {
|
|
2
2
|
font-family: 'Inter';
|
|
3
|
-
font-style:
|
|
3
|
+
font-style: normal;
|
|
4
4
|
font-weight: 100;
|
|
5
5
|
font-display: swap;
|
|
6
|
-
src:
|
|
7
|
-
|
|
6
|
+
src:
|
|
7
|
+
url('Inter-Thin.woff2?v=3.19') format('woff2'),
|
|
8
|
+
url('Inter-Thin.woff?v=3.19') format('woff');
|
|
8
9
|
}
|
|
9
10
|
@font-face {
|
|
10
11
|
font-family: 'Inter';
|
|
11
|
-
font-style:
|
|
12
|
+
font-style: italic;
|
|
12
13
|
font-weight: 100;
|
|
13
14
|
font-display: swap;
|
|
14
|
-
src:
|
|
15
|
-
|
|
15
|
+
src:
|
|
16
|
+
url('Inter-ThinItalic.woff2?v=3.19') format('woff2'),
|
|
17
|
+
url('Inter-ThinItalic.woff?v=3.19') format('woff');
|
|
16
18
|
}
|
|
17
19
|
|
|
18
20
|
@font-face {
|
|
19
21
|
font-family: 'Inter';
|
|
20
|
-
font-style:
|
|
22
|
+
font-style: normal;
|
|
21
23
|
font-weight: 200;
|
|
22
24
|
font-display: swap;
|
|
23
|
-
src:
|
|
24
|
-
|
|
25
|
+
src:
|
|
26
|
+
url('Inter-ExtraLight.woff2?v=3.19') format('woff2'),
|
|
27
|
+
url('Inter-ExtraLight.woff?v=3.19') format('woff');
|
|
25
28
|
}
|
|
26
29
|
@font-face {
|
|
27
30
|
font-family: 'Inter';
|
|
28
|
-
font-style:
|
|
31
|
+
font-style: italic;
|
|
29
32
|
font-weight: 200;
|
|
30
33
|
font-display: swap;
|
|
31
|
-
src:
|
|
32
|
-
|
|
34
|
+
src:
|
|
35
|
+
url('Inter-ExtraLightItalic.woff2?v=3.19') format('woff2'),
|
|
36
|
+
url('Inter-ExtraLightItalic.woff?v=3.19') format('woff');
|
|
33
37
|
}
|
|
34
38
|
|
|
35
39
|
@font-face {
|
|
36
40
|
font-family: 'Inter';
|
|
37
|
-
font-style:
|
|
41
|
+
font-style: normal;
|
|
38
42
|
font-weight: 300;
|
|
39
43
|
font-display: swap;
|
|
40
|
-
src:
|
|
41
|
-
|
|
44
|
+
src:
|
|
45
|
+
url('Inter-Light.woff2?v=3.19') format('woff2'),
|
|
46
|
+
url('Inter-Light.woff?v=3.19') format('woff');
|
|
42
47
|
}
|
|
43
48
|
@font-face {
|
|
44
49
|
font-family: 'Inter';
|
|
45
|
-
font-style:
|
|
50
|
+
font-style: italic;
|
|
46
51
|
font-weight: 300;
|
|
47
52
|
font-display: swap;
|
|
48
|
-
src:
|
|
49
|
-
|
|
53
|
+
src:
|
|
54
|
+
url('Inter-LightItalic.woff2?v=3.19') format('woff2'),
|
|
55
|
+
url('Inter-LightItalic.woff?v=3.19') format('woff');
|
|
50
56
|
}
|
|
51
57
|
|
|
52
58
|
@font-face {
|
|
53
59
|
font-family: 'Inter';
|
|
54
|
-
font-style:
|
|
60
|
+
font-style: normal;
|
|
55
61
|
font-weight: 400;
|
|
56
62
|
font-display: swap;
|
|
57
|
-
src:
|
|
58
|
-
|
|
63
|
+
src:
|
|
64
|
+
url('Inter-Regular.woff2?v=3.19') format('woff2'),
|
|
65
|
+
url('Inter-Regular.woff?v=3.19') format('woff');
|
|
59
66
|
}
|
|
60
67
|
@font-face {
|
|
61
68
|
font-family: 'Inter';
|
|
62
|
-
font-style:
|
|
69
|
+
font-style: italic;
|
|
63
70
|
font-weight: 400;
|
|
64
71
|
font-display: swap;
|
|
65
|
-
src:
|
|
66
|
-
|
|
72
|
+
src:
|
|
73
|
+
url('Inter-Italic.woff2?v=3.19') format('woff2'),
|
|
74
|
+
url('Inter-Italic.woff?v=3.19') format('woff');
|
|
67
75
|
}
|
|
68
76
|
|
|
69
77
|
@font-face {
|
|
70
78
|
font-family: 'Inter';
|
|
71
|
-
font-style:
|
|
79
|
+
font-style: normal;
|
|
72
80
|
font-weight: 500;
|
|
73
81
|
font-display: swap;
|
|
74
|
-
src:
|
|
75
|
-
|
|
82
|
+
src:
|
|
83
|
+
url('Inter-Medium.woff2?v=3.19') format('woff2'),
|
|
84
|
+
url('Inter-Medium.woff?v=3.19') format('woff');
|
|
76
85
|
}
|
|
77
86
|
@font-face {
|
|
78
87
|
font-family: 'Inter';
|
|
79
|
-
font-style:
|
|
88
|
+
font-style: italic;
|
|
80
89
|
font-weight: 500;
|
|
81
90
|
font-display: swap;
|
|
82
|
-
src:
|
|
83
|
-
|
|
91
|
+
src:
|
|
92
|
+
url('Inter-MediumItalic.woff2?v=3.19') format('woff2'),
|
|
93
|
+
url('Inter-MediumItalic.woff?v=3.19') format('woff');
|
|
84
94
|
}
|
|
85
95
|
|
|
86
96
|
@font-face {
|
|
87
97
|
font-family: 'Inter';
|
|
88
|
-
font-style:
|
|
98
|
+
font-style: normal;
|
|
89
99
|
font-weight: 600;
|
|
90
100
|
font-display: swap;
|
|
91
|
-
src:
|
|
92
|
-
|
|
101
|
+
src:
|
|
102
|
+
url('Inter-SemiBold.woff2?v=3.19') format('woff2'),
|
|
103
|
+
url('Inter-SemiBold.woff?v=3.19') format('woff');
|
|
93
104
|
}
|
|
94
105
|
@font-face {
|
|
95
106
|
font-family: 'Inter';
|
|
96
|
-
font-style:
|
|
107
|
+
font-style: italic;
|
|
97
108
|
font-weight: 600;
|
|
98
109
|
font-display: swap;
|
|
99
|
-
src:
|
|
100
|
-
|
|
110
|
+
src:
|
|
111
|
+
url('Inter-SemiBoldItalic.woff2?v=3.19') format('woff2'),
|
|
112
|
+
url('Inter-SemiBoldItalic.woff?v=3.19') format('woff');
|
|
101
113
|
}
|
|
102
114
|
|
|
103
115
|
@font-face {
|
|
104
116
|
font-family: 'Inter';
|
|
105
|
-
font-style:
|
|
117
|
+
font-style: normal;
|
|
106
118
|
font-weight: 700;
|
|
107
119
|
font-display: swap;
|
|
108
|
-
src:
|
|
109
|
-
|
|
120
|
+
src:
|
|
121
|
+
url('Inter-Bold.woff2?v=3.19') format('woff2'),
|
|
122
|
+
url('Inter-Bold.woff?v=3.19') format('woff');
|
|
110
123
|
}
|
|
111
124
|
@font-face {
|
|
112
125
|
font-family: 'Inter';
|
|
113
|
-
font-style:
|
|
126
|
+
font-style: italic;
|
|
114
127
|
font-weight: 700;
|
|
115
128
|
font-display: swap;
|
|
116
|
-
src:
|
|
117
|
-
|
|
129
|
+
src:
|
|
130
|
+
url('Inter-BoldItalic.woff2?v=3.19') format('woff2'),
|
|
131
|
+
url('Inter-BoldItalic.woff?v=3.19') format('woff');
|
|
118
132
|
}
|
|
119
133
|
|
|
120
134
|
@font-face {
|
|
121
135
|
font-family: 'Inter';
|
|
122
|
-
font-style:
|
|
136
|
+
font-style: normal;
|
|
123
137
|
font-weight: 800;
|
|
124
138
|
font-display: swap;
|
|
125
|
-
src:
|
|
126
|
-
|
|
139
|
+
src:
|
|
140
|
+
url('Inter-ExtraBold.woff2?v=3.19') format('woff2'),
|
|
141
|
+
url('Inter-ExtraBold.woff?v=3.19') format('woff');
|
|
127
142
|
}
|
|
128
143
|
@font-face {
|
|
129
144
|
font-family: 'Inter';
|
|
130
|
-
font-style:
|
|
145
|
+
font-style: italic;
|
|
131
146
|
font-weight: 800;
|
|
132
147
|
font-display: swap;
|
|
133
|
-
src:
|
|
134
|
-
|
|
148
|
+
src:
|
|
149
|
+
url('Inter-ExtraBoldItalic.woff2?v=3.19') format('woff2'),
|
|
150
|
+
url('Inter-ExtraBoldItalic.woff?v=3.19') format('woff');
|
|
135
151
|
}
|
|
136
152
|
|
|
137
153
|
@font-face {
|
|
138
154
|
font-family: 'Inter';
|
|
139
|
-
font-style:
|
|
155
|
+
font-style: normal;
|
|
140
156
|
font-weight: 900;
|
|
141
157
|
font-display: swap;
|
|
142
|
-
src:
|
|
143
|
-
|
|
158
|
+
src:
|
|
159
|
+
url('Inter-Black.woff2?v=3.19') format('woff2'),
|
|
160
|
+
url('Inter-Black.woff?v=3.19') format('woff');
|
|
144
161
|
}
|
|
145
162
|
@font-face {
|
|
146
163
|
font-family: 'Inter';
|
|
147
|
-
font-style:
|
|
164
|
+
font-style: italic;
|
|
148
165
|
font-weight: 900;
|
|
149
166
|
font-display: swap;
|
|
150
|
-
src:
|
|
151
|
-
|
|
167
|
+
src:
|
|
168
|
+
url('Inter-BlackItalic.woff2?v=3.19') format('woff2'),
|
|
169
|
+
url('Inter-BlackItalic.woff?v=3.19') format('woff');
|
|
152
170
|
}
|
|
153
171
|
|
|
154
172
|
/* -------------------------------------------------------
|
|
@@ -166,7 +184,7 @@ Usage:
|
|
|
166
184
|
font-display: swap;
|
|
167
185
|
font-style: normal;
|
|
168
186
|
font-named-instance: 'Regular';
|
|
169
|
-
src: url(
|
|
187
|
+
src: url('Inter-roman.var.woff2?v=3.19') format('woff2');
|
|
170
188
|
}
|
|
171
189
|
@font-face {
|
|
172
190
|
font-family: 'Inter var';
|
|
@@ -174,10 +192,9 @@ Usage:
|
|
|
174
192
|
font-display: swap;
|
|
175
193
|
font-style: italic;
|
|
176
194
|
font-named-instance: 'Italic';
|
|
177
|
-
src: url(
|
|
195
|
+
src: url('Inter-italic.var.woff2?v=3.19') format('woff2');
|
|
178
196
|
}
|
|
179
197
|
|
|
180
|
-
|
|
181
198
|
/* --------------------------------------------------------------------------
|
|
182
199
|
[EXPERIMENTAL] Multi-axis, single variable font.
|
|
183
200
|
|
|
@@ -196,5 +213,5 @@ explicitly, e.g.
|
|
|
196
213
|
font-weight: 100 900;
|
|
197
214
|
font-display: swap;
|
|
198
215
|
font-style: oblique 0deg 10deg;
|
|
199
|
-
src: url(
|
|
216
|
+
src: url('Inter.var.woff2?v=3.19') format('woff2');
|
|
200
217
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lifi/widget",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.3.0",
|
|
4
4
|
"description": "LI.FI Widget for cross-chain bridging and swapping. It will drive your multi-chain strategy and attract new users from everywhere.",
|
|
5
5
|
"main": "./cjs/index.js",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"@ethersproject/experimental": "^5.7.0",
|
|
45
45
|
"@ethersproject/providers": "^5.7.2",
|
|
46
46
|
"@lifi/sdk": "^2.2.1",
|
|
47
|
-
"@lifi/wallet-management": "^2.2.
|
|
47
|
+
"@lifi/wallet-management": "^2.2.5",
|
|
48
48
|
"@mui/icons-material": "^5.14.1",
|
|
49
49
|
"@mui/lab": "^5.0.0-alpha.137",
|
|
50
50
|
"@mui/material": "^5.14.2",
|