@rango-dev/ui 0.22.1-next.8 → 0.23.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/CHANGELOG.md +89 -0
- package/dist/index.js +6 -6
- package/dist/index.js.map +4 -4
- package/dist/translations/en.d.ts.map +1 -1
- package/dist/translations/es.d.ts.map +1 -1
- package/dist/translations/fr.d.ts.map +1 -1
- package/dist/translations/ja.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Alert/Alert.styles.d.ts +157 -0
- package/dist/widget/ui/src/components/Alert/Alert.styles.d.ts.map +1 -1
- package/dist/widget/ui/src/components/BlockchainsChip/BlockchainsChip.styles.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Button/Button.d.ts +54 -54
- package/dist/widget/ui/src/components/Button/Button.styles.d.ts.map +1 -1
- package/dist/widget/ui/src/components/ListItem/ListItem.styles.d.ts.map +1 -1
- package/dist/widget/ui/src/components/ListItemButton/ListItemButton.styles.d.ts.map +1 -1
- package/dist/widget/ui/src/components/PriceImpact/PriceImpact.styles.d.ts +158 -0
- package/dist/widget/ui/src/components/PriceImpact/PriceImpact.styles.d.ts.map +1 -1
- package/dist/widget/ui/src/components/QuoteCost/QuoteCost.d.ts.map +1 -1
- package/dist/widget/ui/src/components/QuoteCost/QuoteCost.styles.d.ts +314 -0
- package/dist/widget/ui/src/components/QuoteCost/QuoteCost.styles.d.ts.map +1 -1
- package/dist/widget/ui/src/components/SelectableCategoryList/SelectableCategoryList.d.ts.map +1 -1
- package/dist/widget/ui/src/components/SelectableCategoryList/SelectableCategoryList.helpers.d.ts +16 -2
- package/dist/widget/ui/src/components/SelectableCategoryList/SelectableCategoryList.helpers.d.ts.map +1 -1
- package/dist/widget/ui/src/components/SelectableCategoryList/index.d.ts +1 -0
- package/dist/widget/ui/src/components/SelectableCategoryList/index.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Skeleton/Skeleton.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Skeleton/Skeleton.types.d.ts +1 -1
- package/dist/widget/ui/src/components/Skeleton/Skeleton.types.d.ts.map +1 -1
- package/dist/widget/ui/src/components/StepDetails/StepDetails.d.ts.map +1 -1
- package/dist/widget/ui/src/components/StepDetails/StepDetails.styles.d.ts +6 -0
- package/dist/widget/ui/src/components/StepDetails/StepDetails.styles.d.ts.map +1 -1
- package/dist/widget/ui/src/components/SwapListItem/mock.d.ts +1 -1
- package/dist/widget/ui/src/components/SwapListItem/mock.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Switch/Switch.styles.d.ts.map +1 -1
- package/dist/widget/ui/src/components/TextField/TextField.d.ts.map +1 -1
- package/dist/widget/ui/src/components/TokenAmount/TokenAmount.d.ts.map +1 -1
- package/dist/widget/ui/src/components/TokenAmount/TokenAmount.styles.d.ts +471 -1
- package/dist/widget/ui/src/components/TokenAmount/TokenAmount.styles.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Tooltip/Tooltip.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Tooltip/Tooltip.styles.d.ts +2 -2
- package/dist/widget/ui/src/components/Tooltip/Tooltip.styles.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Wallet/Wallet.types.d.ts +3 -17
- package/dist/widget/ui/src/components/Wallet/Wallet.types.d.ts.map +1 -1
- package/dist/widget/ui/src/components/common/Image.d.ts +157 -0
- package/dist/widget/ui/src/components/common/Image.d.ts.map +1 -1
- package/dist/widget/ui/src/components/common/index.d.ts +1 -1
- package/dist/widget/ui/src/components/common/index.d.ts.map +1 -1
- package/dist/widget/ui/src/containers/SwapHistory/SwapHistory.d.ts +1 -1
- package/dist/widget/ui/src/containers/SwapHistory/SwapHistory.d.ts.map +1 -1
- package/dist/widget/ui/src/containers/SwapHistory/SwapHistory.stories.d.ts +2 -2
- package/dist/widget/ui/src/containers/SwapHistory/SwapHistory.stories.d.ts.map +1 -1
- package/dist/widget/ui/src/containers/SwapHistory/mock.d.ts +1 -1
- package/dist/widget/ui/src/containers/SwapHistory/mock.d.ts.map +1 -1
- package/dist/widget/ui/src/containers/SwapInput/SwapInput.d.ts.map +1 -1
- package/dist/widget/ui/src/containers/SwapInput/SwapInput.styles.d.ts +1154 -54
- package/dist/widget/ui/src/containers/SwapInput/SwapInput.styles.d.ts.map +1 -1
- package/dist/widget/ui/src/containers/SwapInput/SwapInput.types.d.ts +2 -0
- package/dist/widget/ui/src/containers/SwapInput/SwapInput.types.d.ts.map +1 -1
- package/dist/widget/ui/src/containers/SwapInput/TokenSection.d.ts.map +1 -1
- package/dist/widget/ui/src/containers/SwapInput/TokenSection.styles.d.ts +525 -54
- package/dist/widget/ui/src/containers/SwapInput/TokenSection.styles.d.ts.map +1 -1
- package/dist/widget/ui/src/icons/CosmosCategory.d.ts +5 -0
- package/dist/widget/ui/src/icons/CosmosCategory.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/EvmCategory.d.ts +5 -0
- package/dist/widget/ui/src/icons/EvmCategory.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/Icons.stories.d.ts +1 -1
- package/dist/widget/ui/src/icons/OtherCategory.d.ts +5 -0
- package/dist/widget/ui/src/icons/OtherCategory.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/UtxoCategory.d.ts +5 -0
- package/dist/widget/ui/src/icons/UtxoCategory.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/index.d.ts +4 -0
- package/dist/widget/ui/src/icons/index.d.ts.map +1 -1
- package/dist/widget/ui/src/types/index.d.ts +0 -1
- package/dist/widget/ui/src/types/index.d.ts.map +1 -1
- package/dist/widget/ui/src/types/swaps.d.ts +1 -27
- package/dist/widget/ui/src/types/swaps.d.ts.map +1 -1
- package/package.json +6 -5
- package/src/components/Alert/Alert.styles.ts +8 -7
- package/src/components/Alert/Alert.tsx +2 -2
- package/src/components/BlockchainsChip/BlockchainsChip.styles.ts +2 -1
- package/src/components/Button/Button.styles.tsx +1 -0
- package/src/components/ListItem/ListItem.styles.ts +2 -0
- package/src/components/ListItemButton/ListItemButton.styles.ts +1 -0
- package/src/components/PriceImpact/PriceImpact.styles.ts +9 -1
- package/src/components/PriceImpact/PriceImpact.tsx +3 -3
- package/src/components/QuoteCost/QuoteCost.styles.ts +14 -12
- package/src/components/QuoteCost/QuoteCost.tsx +12 -7
- package/src/components/SelectableCategoryList/SelectableCategoryList.helpers.ts +40 -13
- package/src/components/SelectableCategoryList/SelectableCategoryList.tsx +47 -46
- package/src/components/SelectableCategoryList/index.ts +1 -0
- package/src/components/Skeleton/Skeleton.tsx +3 -2
- package/src/components/Skeleton/Skeleton.types.ts +1 -1
- package/src/components/StepDetails/StepDetails.styles.ts +34 -26
- package/src/components/StepDetails/StepDetails.tsx +8 -4
- package/src/components/SwapListItem/mock.ts +21 -6
- package/src/components/Switch/Switch.styles.tsx +3 -5
- package/src/components/TextField/TextField.tsx +3 -5
- package/src/components/TokenAmount/TokenAmount.styles.ts +12 -10
- package/src/components/TokenAmount/TokenAmount.tsx +23 -17
- package/src/components/Tooltip/Tooltip.styles.ts +8 -5
- package/src/components/Tooltip/Tooltip.tsx +2 -3
- package/src/components/Wallet/Wallet.styles.ts +1 -1
- package/src/components/Wallet/Wallet.types.ts +3 -23
- package/src/components/common/Image.tsx +1 -2
- package/src/components/common/index.ts +1 -1
- package/src/containers/SwapHistory/SwapHistory.stories.tsx +5 -2
- package/src/containers/SwapHistory/SwapHistory.tsx +1 -1
- package/src/containers/SwapHistory/mock.ts +24 -8
- package/src/containers/SwapInput/SwapInput.styles.ts +48 -30
- package/src/containers/SwapInput/SwapInput.tsx +26 -15
- package/src/containers/SwapInput/SwapInput.types.ts +2 -0
- package/src/containers/SwapInput/TokenSection.styles.ts +22 -14
- package/src/containers/SwapInput/TokenSection.tsx +12 -6
- package/src/icons/CosmosCategory.tsx +137 -0
- package/src/icons/EvmCategory.tsx +74 -0
- package/src/icons/OtherCategory.tsx +72 -0
- package/src/icons/UtxoCategory.tsx +44 -0
- package/src/icons/index.ts +4 -0
- package/src/types/index.ts +0 -1
- package/src/types/swaps.ts +0 -38
- package/dist/widget/ui/src/containers/History/types.d.ts +0 -2
- package/dist/widget/ui/src/containers/History/types.d.ts.map +0 -1
- package/src/containers/History/types.tsx +0 -1
|
@@ -1,5 +1,475 @@
|
|
|
1
1
|
export declare const Container: import("@stitches/react/types/styled-component").StyledComponent<"div", {
|
|
2
2
|
direction?: "vertical" | "horizontal" | undefined;
|
|
3
3
|
centerAlign?: boolean | "true" | undefined;
|
|
4
|
-
}, {
|
|
4
|
+
}, {
|
|
5
|
+
sm: string;
|
|
6
|
+
md: string;
|
|
7
|
+
lg: string;
|
|
8
|
+
}, import("@stitches/react/types/css-util").CSS<{
|
|
9
|
+
sm: string;
|
|
10
|
+
md: string;
|
|
11
|
+
lg: string;
|
|
12
|
+
}, {
|
|
13
|
+
colors: {
|
|
14
|
+
primary: string;
|
|
15
|
+
primary500: string;
|
|
16
|
+
primary600: string;
|
|
17
|
+
secondary: string;
|
|
18
|
+
secondary100: string;
|
|
19
|
+
secondary200: string;
|
|
20
|
+
secondary300: string;
|
|
21
|
+
secondary400: string;
|
|
22
|
+
secondary500: string;
|
|
23
|
+
secondary600: string;
|
|
24
|
+
secondary700: string;
|
|
25
|
+
secondary800: string;
|
|
26
|
+
secondary900: string;
|
|
27
|
+
neutral: string;
|
|
28
|
+
neutral100: string;
|
|
29
|
+
neutral200: string;
|
|
30
|
+
neutral300: string;
|
|
31
|
+
neutral400: string;
|
|
32
|
+
neutral500: string;
|
|
33
|
+
neutral600: string;
|
|
34
|
+
neutral700: string;
|
|
35
|
+
neutral800: string;
|
|
36
|
+
neutral900: string;
|
|
37
|
+
error100: string;
|
|
38
|
+
error300: string;
|
|
39
|
+
error500: string;
|
|
40
|
+
error600: string;
|
|
41
|
+
error700: string;
|
|
42
|
+
warning100: string;
|
|
43
|
+
warning300: string;
|
|
44
|
+
warning500: string;
|
|
45
|
+
warning600: string;
|
|
46
|
+
warning700: string;
|
|
47
|
+
info: string;
|
|
48
|
+
info100: string;
|
|
49
|
+
info300: string;
|
|
50
|
+
info500: string;
|
|
51
|
+
info600: string;
|
|
52
|
+
info700: string;
|
|
53
|
+
success100: string;
|
|
54
|
+
success300: string;
|
|
55
|
+
success500: string;
|
|
56
|
+
success600: string;
|
|
57
|
+
success700: string;
|
|
58
|
+
background: string;
|
|
59
|
+
foreground: string;
|
|
60
|
+
};
|
|
61
|
+
space: {
|
|
62
|
+
0: string;
|
|
63
|
+
5: string;
|
|
64
|
+
10: string;
|
|
65
|
+
15: string;
|
|
66
|
+
20: string;
|
|
67
|
+
25: string;
|
|
68
|
+
30: string;
|
|
69
|
+
40: string;
|
|
70
|
+
46: string;
|
|
71
|
+
50: string;
|
|
72
|
+
60: string;
|
|
73
|
+
70: string;
|
|
74
|
+
80: string;
|
|
75
|
+
90: string;
|
|
76
|
+
100: string;
|
|
77
|
+
2: string;
|
|
78
|
+
4: string;
|
|
79
|
+
6: string;
|
|
80
|
+
8: string;
|
|
81
|
+
12: string;
|
|
82
|
+
16: string;
|
|
83
|
+
24: string;
|
|
84
|
+
28: string;
|
|
85
|
+
32: string;
|
|
86
|
+
};
|
|
87
|
+
radii: {
|
|
88
|
+
xs: string;
|
|
89
|
+
sm: string;
|
|
90
|
+
xm: string;
|
|
91
|
+
md: string;
|
|
92
|
+
xl: string;
|
|
93
|
+
lg: string;
|
|
94
|
+
primary: string;
|
|
95
|
+
secondary: string;
|
|
96
|
+
};
|
|
97
|
+
fontSizes: {
|
|
98
|
+
10: string;
|
|
99
|
+
12: string;
|
|
100
|
+
14: string;
|
|
101
|
+
16: string;
|
|
102
|
+
18: string;
|
|
103
|
+
20: string;
|
|
104
|
+
22: string;
|
|
105
|
+
24: string;
|
|
106
|
+
28: string;
|
|
107
|
+
32: string;
|
|
108
|
+
36: string;
|
|
109
|
+
40: string;
|
|
110
|
+
48: string;
|
|
111
|
+
};
|
|
112
|
+
fonts: {
|
|
113
|
+
primary: string;
|
|
114
|
+
widget: string;
|
|
115
|
+
};
|
|
116
|
+
fontWeights: {
|
|
117
|
+
regular: number;
|
|
118
|
+
medium: number;
|
|
119
|
+
semiBold: number;
|
|
120
|
+
bold: number;
|
|
121
|
+
};
|
|
122
|
+
lineHeights: {
|
|
123
|
+
12: string;
|
|
124
|
+
16: string;
|
|
125
|
+
20: string;
|
|
126
|
+
24: string;
|
|
127
|
+
26: string;
|
|
128
|
+
28: string;
|
|
129
|
+
30: string;
|
|
130
|
+
36: string;
|
|
131
|
+
40: string;
|
|
132
|
+
44: string;
|
|
133
|
+
52: string;
|
|
134
|
+
64: string;
|
|
135
|
+
};
|
|
136
|
+
letterSpacings: {};
|
|
137
|
+
sizes: {
|
|
138
|
+
4: string;
|
|
139
|
+
6: string;
|
|
140
|
+
8: string;
|
|
141
|
+
12: string;
|
|
142
|
+
16: string;
|
|
143
|
+
18: string;
|
|
144
|
+
20: string;
|
|
145
|
+
24: string;
|
|
146
|
+
28: string;
|
|
147
|
+
32: string;
|
|
148
|
+
36: string;
|
|
149
|
+
40: string;
|
|
150
|
+
45: string;
|
|
151
|
+
48: string;
|
|
152
|
+
};
|
|
153
|
+
borderWidths: {};
|
|
154
|
+
borderStyles: {};
|
|
155
|
+
shadows: {
|
|
156
|
+
s: string;
|
|
157
|
+
};
|
|
158
|
+
zIndices: {};
|
|
159
|
+
transitions: {};
|
|
160
|
+
}, import("@stitches/react/types/config").DefaultThemeMap, {}>>;
|
|
161
|
+
export declare const tokenAmountStyles: import("@stitches/react/types/styled-component").CssComponent<never, {}, {
|
|
162
|
+
sm: string;
|
|
163
|
+
md: string;
|
|
164
|
+
lg: string;
|
|
165
|
+
}, import("@stitches/react/types/css-util").CSS<{
|
|
166
|
+
sm: string;
|
|
167
|
+
md: string;
|
|
168
|
+
lg: string;
|
|
169
|
+
}, {
|
|
170
|
+
colors: {
|
|
171
|
+
primary: string;
|
|
172
|
+
primary500: string;
|
|
173
|
+
primary600: string;
|
|
174
|
+
secondary: string;
|
|
175
|
+
secondary100: string;
|
|
176
|
+
secondary200: string;
|
|
177
|
+
secondary300: string;
|
|
178
|
+
secondary400: string;
|
|
179
|
+
secondary500: string;
|
|
180
|
+
secondary600: string;
|
|
181
|
+
secondary700: string;
|
|
182
|
+
secondary800: string;
|
|
183
|
+
secondary900: string;
|
|
184
|
+
neutral: string;
|
|
185
|
+
neutral100: string;
|
|
186
|
+
neutral200: string;
|
|
187
|
+
neutral300: string;
|
|
188
|
+
neutral400: string;
|
|
189
|
+
neutral500: string;
|
|
190
|
+
neutral600: string;
|
|
191
|
+
neutral700: string;
|
|
192
|
+
neutral800: string;
|
|
193
|
+
neutral900: string;
|
|
194
|
+
error100: string;
|
|
195
|
+
error300: string;
|
|
196
|
+
error500: string;
|
|
197
|
+
error600: string;
|
|
198
|
+
error700: string;
|
|
199
|
+
warning100: string;
|
|
200
|
+
warning300: string;
|
|
201
|
+
warning500: string;
|
|
202
|
+
warning600: string;
|
|
203
|
+
warning700: string;
|
|
204
|
+
info: string;
|
|
205
|
+
info100: string;
|
|
206
|
+
info300: string;
|
|
207
|
+
info500: string;
|
|
208
|
+
info600: string;
|
|
209
|
+
info700: string;
|
|
210
|
+
success100: string;
|
|
211
|
+
success300: string;
|
|
212
|
+
success500: string;
|
|
213
|
+
success600: string;
|
|
214
|
+
success700: string;
|
|
215
|
+
background: string;
|
|
216
|
+
foreground: string;
|
|
217
|
+
};
|
|
218
|
+
space: {
|
|
219
|
+
0: string;
|
|
220
|
+
5: string;
|
|
221
|
+
10: string;
|
|
222
|
+
15: string;
|
|
223
|
+
20: string;
|
|
224
|
+
25: string;
|
|
225
|
+
30: string;
|
|
226
|
+
40: string;
|
|
227
|
+
46: string;
|
|
228
|
+
50: string;
|
|
229
|
+
60: string;
|
|
230
|
+
70: string;
|
|
231
|
+
80: string;
|
|
232
|
+
90: string;
|
|
233
|
+
100: string;
|
|
234
|
+
2: string;
|
|
235
|
+
4: string;
|
|
236
|
+
6: string;
|
|
237
|
+
8: string;
|
|
238
|
+
12: string;
|
|
239
|
+
16: string;
|
|
240
|
+
24: string;
|
|
241
|
+
28: string;
|
|
242
|
+
32: string;
|
|
243
|
+
};
|
|
244
|
+
radii: {
|
|
245
|
+
xs: string;
|
|
246
|
+
sm: string;
|
|
247
|
+
xm: string;
|
|
248
|
+
md: string;
|
|
249
|
+
xl: string;
|
|
250
|
+
lg: string;
|
|
251
|
+
primary: string;
|
|
252
|
+
secondary: string;
|
|
253
|
+
};
|
|
254
|
+
fontSizes: {
|
|
255
|
+
10: string;
|
|
256
|
+
12: string;
|
|
257
|
+
14: string;
|
|
258
|
+
16: string;
|
|
259
|
+
18: string;
|
|
260
|
+
20: string;
|
|
261
|
+
22: string;
|
|
262
|
+
24: string;
|
|
263
|
+
28: string;
|
|
264
|
+
32: string;
|
|
265
|
+
36: string;
|
|
266
|
+
40: string;
|
|
267
|
+
48: string;
|
|
268
|
+
};
|
|
269
|
+
fonts: {
|
|
270
|
+
primary: string;
|
|
271
|
+
widget: string;
|
|
272
|
+
};
|
|
273
|
+
fontWeights: {
|
|
274
|
+
regular: number;
|
|
275
|
+
medium: number;
|
|
276
|
+
semiBold: number;
|
|
277
|
+
bold: number;
|
|
278
|
+
};
|
|
279
|
+
lineHeights: {
|
|
280
|
+
12: string;
|
|
281
|
+
16: string;
|
|
282
|
+
20: string;
|
|
283
|
+
24: string;
|
|
284
|
+
26: string;
|
|
285
|
+
28: string;
|
|
286
|
+
30: string;
|
|
287
|
+
36: string;
|
|
288
|
+
40: string;
|
|
289
|
+
44: string;
|
|
290
|
+
52: string;
|
|
291
|
+
64: string;
|
|
292
|
+
};
|
|
293
|
+
letterSpacings: {};
|
|
294
|
+
sizes: {
|
|
295
|
+
4: string;
|
|
296
|
+
6: string;
|
|
297
|
+
8: string;
|
|
298
|
+
12: string;
|
|
299
|
+
16: string;
|
|
300
|
+
18: string;
|
|
301
|
+
20: string;
|
|
302
|
+
24: string;
|
|
303
|
+
28: string;
|
|
304
|
+
32: string;
|
|
305
|
+
36: string;
|
|
306
|
+
40: string;
|
|
307
|
+
45: string;
|
|
308
|
+
48: string;
|
|
309
|
+
};
|
|
310
|
+
borderWidths: {};
|
|
311
|
+
borderStyles: {};
|
|
312
|
+
shadows: {
|
|
313
|
+
s: string;
|
|
314
|
+
};
|
|
315
|
+
zIndices: {};
|
|
316
|
+
transitions: {};
|
|
317
|
+
}, import("@stitches/react/types/config").DefaultThemeMap, {}>>;
|
|
318
|
+
export declare const usdValueStyles: import("@stitches/react/types/styled-component").CssComponent<never, {}, {
|
|
319
|
+
sm: string;
|
|
320
|
+
md: string;
|
|
321
|
+
lg: string;
|
|
322
|
+
}, import("@stitches/react/types/css-util").CSS<{
|
|
323
|
+
sm: string;
|
|
324
|
+
md: string;
|
|
325
|
+
lg: string;
|
|
326
|
+
}, {
|
|
327
|
+
colors: {
|
|
328
|
+
primary: string;
|
|
329
|
+
primary500: string;
|
|
330
|
+
primary600: string;
|
|
331
|
+
secondary: string;
|
|
332
|
+
secondary100: string;
|
|
333
|
+
secondary200: string;
|
|
334
|
+
secondary300: string;
|
|
335
|
+
secondary400: string;
|
|
336
|
+
secondary500: string;
|
|
337
|
+
secondary600: string;
|
|
338
|
+
secondary700: string;
|
|
339
|
+
secondary800: string;
|
|
340
|
+
secondary900: string;
|
|
341
|
+
neutral: string;
|
|
342
|
+
neutral100: string;
|
|
343
|
+
neutral200: string;
|
|
344
|
+
neutral300: string;
|
|
345
|
+
neutral400: string;
|
|
346
|
+
neutral500: string;
|
|
347
|
+
neutral600: string;
|
|
348
|
+
neutral700: string;
|
|
349
|
+
neutral800: string;
|
|
350
|
+
neutral900: string;
|
|
351
|
+
error100: string;
|
|
352
|
+
error300: string;
|
|
353
|
+
error500: string;
|
|
354
|
+
error600: string;
|
|
355
|
+
error700: string;
|
|
356
|
+
warning100: string;
|
|
357
|
+
warning300: string;
|
|
358
|
+
warning500: string;
|
|
359
|
+
warning600: string;
|
|
360
|
+
warning700: string;
|
|
361
|
+
info: string;
|
|
362
|
+
info100: string;
|
|
363
|
+
info300: string;
|
|
364
|
+
info500: string;
|
|
365
|
+
info600: string;
|
|
366
|
+
info700: string;
|
|
367
|
+
success100: string;
|
|
368
|
+
success300: string;
|
|
369
|
+
success500: string;
|
|
370
|
+
success600: string;
|
|
371
|
+
success700: string;
|
|
372
|
+
background: string;
|
|
373
|
+
foreground: string;
|
|
374
|
+
};
|
|
375
|
+
space: {
|
|
376
|
+
0: string;
|
|
377
|
+
5: string;
|
|
378
|
+
10: string;
|
|
379
|
+
15: string;
|
|
380
|
+
20: string;
|
|
381
|
+
25: string;
|
|
382
|
+
30: string;
|
|
383
|
+
40: string;
|
|
384
|
+
46: string;
|
|
385
|
+
50: string;
|
|
386
|
+
60: string;
|
|
387
|
+
70: string;
|
|
388
|
+
80: string;
|
|
389
|
+
90: string;
|
|
390
|
+
100: string;
|
|
391
|
+
2: string;
|
|
392
|
+
4: string;
|
|
393
|
+
6: string;
|
|
394
|
+
8: string;
|
|
395
|
+
12: string;
|
|
396
|
+
16: string;
|
|
397
|
+
24: string;
|
|
398
|
+
28: string;
|
|
399
|
+
32: string;
|
|
400
|
+
};
|
|
401
|
+
radii: {
|
|
402
|
+
xs: string;
|
|
403
|
+
sm: string;
|
|
404
|
+
xm: string;
|
|
405
|
+
md: string;
|
|
406
|
+
xl: string;
|
|
407
|
+
lg: string;
|
|
408
|
+
primary: string;
|
|
409
|
+
secondary: string;
|
|
410
|
+
};
|
|
411
|
+
fontSizes: {
|
|
412
|
+
10: string;
|
|
413
|
+
12: string;
|
|
414
|
+
14: string;
|
|
415
|
+
16: string;
|
|
416
|
+
18: string;
|
|
417
|
+
20: string;
|
|
418
|
+
22: string;
|
|
419
|
+
24: string;
|
|
420
|
+
28: string;
|
|
421
|
+
32: string;
|
|
422
|
+
36: string;
|
|
423
|
+
40: string;
|
|
424
|
+
48: string;
|
|
425
|
+
};
|
|
426
|
+
fonts: {
|
|
427
|
+
primary: string;
|
|
428
|
+
widget: string;
|
|
429
|
+
};
|
|
430
|
+
fontWeights: {
|
|
431
|
+
regular: number;
|
|
432
|
+
medium: number;
|
|
433
|
+
semiBold: number;
|
|
434
|
+
bold: number;
|
|
435
|
+
};
|
|
436
|
+
lineHeights: {
|
|
437
|
+
12: string;
|
|
438
|
+
16: string;
|
|
439
|
+
20: string;
|
|
440
|
+
24: string;
|
|
441
|
+
26: string;
|
|
442
|
+
28: string;
|
|
443
|
+
30: string;
|
|
444
|
+
36: string;
|
|
445
|
+
40: string;
|
|
446
|
+
44: string;
|
|
447
|
+
52: string;
|
|
448
|
+
64: string;
|
|
449
|
+
};
|
|
450
|
+
letterSpacings: {};
|
|
451
|
+
sizes: {
|
|
452
|
+
4: string;
|
|
453
|
+
6: string;
|
|
454
|
+
8: string;
|
|
455
|
+
12: string;
|
|
456
|
+
16: string;
|
|
457
|
+
18: string;
|
|
458
|
+
20: string;
|
|
459
|
+
24: string;
|
|
460
|
+
28: string;
|
|
461
|
+
32: string;
|
|
462
|
+
36: string;
|
|
463
|
+
40: string;
|
|
464
|
+
45: string;
|
|
465
|
+
48: string;
|
|
466
|
+
};
|
|
467
|
+
borderWidths: {};
|
|
468
|
+
borderStyles: {};
|
|
469
|
+
shadows: {
|
|
470
|
+
s: string;
|
|
471
|
+
};
|
|
472
|
+
zIndices: {};
|
|
473
|
+
transitions: {};
|
|
474
|
+
}, import("@stitches/react/types/config").DefaultThemeMap, {}>>;
|
|
5
475
|
//# sourceMappingURL=TokenAmount.styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TokenAmount.styles.d.ts","sourceRoot":"","sources":["../../../../../../src/components/TokenAmount/TokenAmount.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"TokenAmount.styles.d.ts","sourceRoot":"","sources":["../../../../../../src/components/TokenAmount/TokenAmount.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAepB,CAAC;AAEH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAI5B,CAAC;AAEH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAGzB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Tooltip/Tooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAG/C,OAAO,KAAK,MAAM,OAAO,CAAC;AAQ1B,wBAAgB,OAAO,CAAC,KAAK,EAAE,iBAAiB,CAAC,SAAS,CAAC,
|
|
1
|
+
{"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Tooltip/Tooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAG/C,OAAO,KAAK,MAAM,OAAO,CAAC;AAQ1B,wBAAgB,OAAO,CAAC,KAAK,EAAE,iBAAiB,CAAC,SAAS,CAAC,qBA0B1D"}
|
|
@@ -158,7 +158,7 @@ export declare const TooltipContent: import("@stitches/react/types/styled-compon
|
|
|
158
158
|
zIndices: {};
|
|
159
159
|
transitions: {};
|
|
160
160
|
}, import("@stitches/react/types/config").DefaultThemeMap, {}>>;
|
|
161
|
-
export declare const
|
|
161
|
+
export declare const TooltipTypography: import("@stitches/react/types/styled-component").StyledComponent<typeof Typography, {}, {
|
|
162
162
|
sm: string;
|
|
163
163
|
md: string;
|
|
164
164
|
lg: string;
|
|
@@ -315,7 +315,7 @@ export declare const TooltipArrow: import("@stitches/react/types/styled-componen
|
|
|
315
315
|
zIndices: {};
|
|
316
316
|
transitions: {};
|
|
317
317
|
}, import("@stitches/react/types/config").DefaultThemeMap, {}>>;
|
|
318
|
-
export declare const
|
|
318
|
+
export declare const TriggerContent: import("@stitches/react/types/styled-component").StyledComponent<"div", {}, {
|
|
319
319
|
sm: string;
|
|
320
320
|
md: string;
|
|
321
321
|
lg: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tooltip.styles.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Tooltip/Tooltip.styles.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,YAAY,MAAM,yBAAyB,CAAC;AAGxD,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAEzB,CAAC;AAEH,eAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"Tooltip.styles.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Tooltip/Tooltip.styles.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,YAAY,MAAM,yBAAyB,CAAC;AAGxD,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAEzB,CAAC;AAEH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAM5B,CAAC;AAEH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAIzB,CAAC"}
|
|
@@ -17,29 +17,17 @@ export interface Info {
|
|
|
17
17
|
description: string;
|
|
18
18
|
tooltipText: string;
|
|
19
19
|
}
|
|
20
|
-
interface StateConnected {
|
|
21
|
-
state: WalletState.CONNECTED;
|
|
22
|
-
}
|
|
23
|
-
interface StateDisconnected {
|
|
24
|
-
state: WalletState.DISCONNECTED;
|
|
25
|
-
}
|
|
26
|
-
interface StateConnecting {
|
|
27
|
-
state: WalletState.CONNECTING;
|
|
28
|
-
}
|
|
29
|
-
interface StateNotInstalled {
|
|
30
|
-
state: WalletState.NOT_INSTALLED;
|
|
31
|
-
link: InstallObjects | string;
|
|
32
|
-
}
|
|
33
|
-
type State = StateConnected | StateDisconnected | StateConnecting | StateNotInstalled;
|
|
34
20
|
export interface ContentProps {
|
|
35
21
|
image: string;
|
|
36
22
|
title: string;
|
|
37
23
|
description: string;
|
|
38
24
|
descriptionColor?: string;
|
|
39
25
|
}
|
|
40
|
-
interface
|
|
26
|
+
export interface WalletPropTypes {
|
|
27
|
+
state: WalletState;
|
|
41
28
|
title: string;
|
|
42
29
|
image: string;
|
|
30
|
+
link: InstallObjects | string;
|
|
43
31
|
type: WalletType;
|
|
44
32
|
onClick: (type: WalletType) => void;
|
|
45
33
|
selected?: boolean;
|
|
@@ -47,9 +35,7 @@ interface WalletProps {
|
|
|
47
35
|
isLoading?: boolean;
|
|
48
36
|
container?: HTMLElement;
|
|
49
37
|
}
|
|
50
|
-
export type WalletPropTypes = State & WalletProps;
|
|
51
38
|
export type SelectablePropTypes = WalletPropTypes & {
|
|
52
39
|
selected: boolean;
|
|
53
40
|
};
|
|
54
|
-
export {};
|
|
55
41
|
//# sourceMappingURL=Wallet.types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Wallet.types.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Wallet/Wallet.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAE5E,oBAAY,WAAW;IACrB,aAAa,kBAAkB;IAC/B,YAAY,iBAAiB;IAC7B,UAAU,eAAe;IACzB,SAAS,cAAc;CACxB;AAED,MAAM,MAAM,UAAU,GAAG;IACvB,KAAK,EAAE,WAAW,CAAC;IACnB,IAAI,EAAE,cAAc,GAAG,MAAM,CAAC;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,MAAM,WAAW,IAAI;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,
|
|
1
|
+
{"version":3,"file":"Wallet.types.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Wallet/Wallet.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAE5E,oBAAY,WAAW;IACrB,aAAa,kBAAkB;IAC/B,YAAY,iBAAiB;IAC7B,UAAU,eAAe;IACzB,SAAS,cAAc;CACxB;AAED,MAAM,MAAM,UAAU,GAAG;IACvB,KAAK,EAAE,WAAW,CAAC;IACnB,IAAI,EAAE,cAAc,GAAG,MAAM,CAAC;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,MAAM,WAAW,IAAI;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,WAAW,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,cAAc,GAAG,MAAM,CAAC;IAC9B,IAAI,EAAE,UAAU,CAAC;IACjB,OAAO,EAAE,CAAC,IAAI,EAAE,UAAU,KAAK,IAAI,CAAC;IACpC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,WAAW,CAAC;CACzB;AAED,MAAM,MAAM,mBAAmB,GAAG,eAAe,GAAG;IAClD,QAAQ,EAAE,OAAO,CAAC;CACnB,CAAC"}
|