@rango-dev/widget-embedded 0.12.1-next.11 → 0.12.1-next.13
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/dist/Widget.d.ts.map +1 -1
- package/dist/components/BlockchainList/BlockchainList.d.ts.map +1 -1
- package/dist/components/BlockchainList/BlockchainList.styles.d.ts +14 -4
- package/dist/components/BlockchainList/BlockchainList.styles.d.ts.map +1 -1
- package/dist/components/BlockchainsChip/BlockchainsChip.styles.d.ts +6 -1
- package/dist/components/BlockchainsChip/BlockchainsChip.styles.d.ts.map +1 -1
- package/dist/components/BlockchainsSection/BlockchainsSection.styles.d.ts +6 -1
- package/dist/components/BlockchainsSection/BlockchainsSection.styles.d.ts.map +1 -1
- package/dist/components/ConfirmWalletsModal/ConfirmWallets.helpers.d.ts.map +1 -1
- package/dist/components/ConfirmWalletsModal/ConfirmWallets.styles.d.ts +90 -15
- package/dist/components/ConfirmWalletsModal/ConfirmWallets.styles.d.ts.map +1 -1
- package/dist/components/ConfirmWalletsModal/WalletList.styles.d.ts +18 -3
- package/dist/components/ConfirmWalletsModal/WalletList.styles.d.ts.map +1 -1
- package/dist/components/HeaderButtons/HeaderButtons.styles.d.ts +24 -4
- package/dist/components/HeaderButtons/HeaderButtons.styles.d.ts.map +1 -1
- package/dist/components/Layout/Layout.styles.d.ts +18 -3
- package/dist/components/Layout/Layout.styles.d.ts.map +1 -1
- package/dist/components/LoadingLiquiditySourceList/LoadingLiquiditySourceList.styles.d.ts +6 -1
- package/dist/components/LoadingLiquiditySourceList/LoadingLiquiditySourceList.styles.d.ts.map +1 -1
- package/dist/components/NoRoutes/NoRoutes.styles.d.ts +18 -3
- package/dist/components/NoRoutes/NoRoutes.styles.d.ts.map +1 -1
- package/dist/components/NotificationContent/NotificationContent.styles.d.ts +24 -4
- package/dist/components/NotificationContent/NotificationContent.styles.d.ts.map +1 -1
- package/dist/components/RouteErrors/RouteErrors.d.ts.map +1 -1
- package/dist/components/RouteErrors/RouteErrors.styles.d.ts +24 -4
- package/dist/components/RouteErrors/RouteErrors.styles.d.ts.map +1 -1
- package/dist/components/RouteErrors/RouteErrors.types.d.ts +3 -1
- package/dist/components/RouteErrors/RouteErrors.types.d.ts.map +1 -1
- package/dist/components/RouteErrors/RouteErrorsModal.d.ts.map +1 -1
- package/dist/components/SearchInput/SearchInput.styles.d.ts +6 -1
- package/dist/components/SearchInput/SearchInput.styles.d.ts.map +1 -1
- package/dist/components/SelectableCategoryList/SelectableCategoryList.styles.d.ts +18 -3
- package/dist/components/SelectableCategoryList/SelectableCategoryList.styles.d.ts.map +1 -1
- package/dist/components/SettingsContainer/SettingsContainer.style.d.ts +30 -5
- package/dist/components/SettingsContainer/SettingsContainer.style.d.ts.map +1 -1
- package/dist/components/Slippage/Slippage.styles.d.ts +24 -4
- package/dist/components/Slippage/Slippage.styles.d.ts.map +1 -1
- package/dist/components/SwapDetails/SwapDetails.d.ts.map +1 -1
- package/dist/components/SwapDetails/SwapDetails.helpers.d.ts +1 -8
- package/dist/components/SwapDetails/SwapDetails.helpers.d.ts.map +1 -1
- package/dist/components/SwapDetails/SwapDetails.styles.d.ts +35 -153
- package/dist/components/SwapDetails/SwapDetails.styles.d.ts.map +1 -1
- package/dist/components/SwapDetailsAlerts/SwapDetailsAlerts.styles.d.ts +6 -1
- package/dist/components/SwapDetailsAlerts/SwapDetailsAlerts.styles.d.ts.map +1 -1
- package/dist/components/SwapDetailsModal/SwapDetailsModal.WalletState.d.ts +1 -1
- package/dist/components/SwapDetailsModal/SwapDetailsModal.WalletState.d.ts.map +1 -1
- package/dist/components/SwapDetailsModal/SwapDetailsModal.d.ts.map +1 -1
- package/dist/components/SwapDetailsModal/SwapDetailsModal.styles.d.ts +6 -1
- package/dist/components/SwapDetailsModal/SwapDetailsModal.styles.d.ts.map +1 -1
- package/dist/components/SwapDetailsModal/SwapDetailsModal.types.d.ts +1 -0
- package/dist/components/SwapDetailsModal/SwapDetailsModal.types.d.ts.map +1 -1
- package/dist/components/SwapsGroup/SwapsGroup.styles.d.ts +24 -4
- package/dist/components/SwapsGroup/SwapsGroup.styles.d.ts.map +1 -1
- package/dist/components/TokenList/TokenList.d.ts.map +1 -1
- package/dist/components/TokenList/TokenList.styles.d.ts +207 -9
- package/dist/components/TokenList/TokenList.styles.d.ts.map +1 -1
- package/dist/components/WalletModal/WalletModalContent.styles.d.ts +24 -4
- package/dist/components/WalletModal/WalletModalContent.styles.d.ts.map +1 -1
- package/dist/constants/errors.d.ts +2 -2
- package/dist/constants/routing.d.ts +12 -2
- package/dist/constants/routing.d.ts.map +1 -1
- package/dist/globalStyles.d.ts +1 -1
- package/dist/globalStyles.d.ts.map +1 -1
- package/dist/hooks/useSwapInput.d.ts.map +1 -1
- package/dist/hooks/useTheme.d.ts +3 -6
- package/dist/hooks/useTheme.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +4 -4
- package/dist/pages/ConfirmSwapPage.d.ts.map +1 -1
- package/dist/pages/Home.d.ts.map +1 -1
- package/dist/types/config.d.ts +3 -0
- package/dist/types/config.d.ts.map +1 -1
- package/dist/utils/configs.d.ts +2 -0
- package/dist/utils/configs.d.ts.map +1 -1
- package/dist/utils/routing.d.ts +4 -2
- package/dist/utils/routing.d.ts.map +1 -1
- package/dist/utils/swap.d.ts +1 -1
- package/dist/utils/swap.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/Widget.tsx +2 -1
- package/src/components/BlockchainList/BlockchainList.styles.ts +6 -5
- package/src/components/BlockchainList/BlockchainList.tsx +5 -8
- package/src/components/ConfirmWalletsModal/ConfirmWallets.helpers.ts +26 -4
- package/src/components/ConfirmWalletsModal/ConfirmWalletsModal.tsx +1 -1
- package/src/components/Layout/Layout.styles.ts +1 -2
- package/src/components/Layout/Layout.tsx +2 -2
- package/src/components/RouteErrors/RouteErrors.styles.ts +2 -1
- package/src/components/RouteErrors/RouteErrors.tsx +37 -26
- package/src/components/RouteErrors/RouteErrors.types.ts +3 -1
- package/src/components/RouteErrors/RouteErrorsModal.tsx +38 -11
- package/src/components/SwapDetails/SwapDetails.helpers.tsx +9 -26
- package/src/components/SwapDetails/SwapDetails.styles.ts +1 -9
- package/src/components/SwapDetails/SwapDetails.tsx +99 -73
- package/src/components/SwapDetailsModal/SwapDetailsModal.WalletState.tsx +3 -7
- package/src/components/SwapDetailsModal/SwapDetailsModal.tsx +3 -0
- package/src/components/SwapDetailsModal/SwapDetailsModal.types.ts +1 -0
- package/src/components/TokenList/TokenList.styles.ts +7 -1
- package/src/components/TokenList/TokenList.tsx +3 -2
- package/src/constants/errors.ts +2 -2
- package/src/constants/routing.ts +17 -2
- package/src/globalStyles.ts +1 -4
- package/src/hooks/useFetchBestRoute.ts +2 -2
- package/src/hooks/useSwapInput.ts +10 -1
- package/src/hooks/useTheme.ts +37 -75
- package/src/pages/ConfirmSwapPage.tsx +47 -19
- package/src/pages/Home.tsx +90 -42
- package/src/types/config.ts +3 -0
- package/src/utils/configs.ts +3 -0
- package/src/utils/routing.ts +56 -13
- package/src/utils/swap.ts +35 -19
|
@@ -1,4 +1,157 @@
|
|
|
1
1
|
import { Typography } from '@rango-dev/ui';
|
|
2
|
+
export declare const Container: import("@stitches/react/types/styled-component").StyledComponent<"div", {}, {
|
|
3
|
+
sm: string;
|
|
4
|
+
md: string;
|
|
5
|
+
lg: string;
|
|
6
|
+
}, import("@stitches/react/types/css-util").CSS<{
|
|
7
|
+
sm: string;
|
|
8
|
+
md: string;
|
|
9
|
+
lg: string;
|
|
10
|
+
}, {
|
|
11
|
+
colors: {
|
|
12
|
+
primary500: string;
|
|
13
|
+
primary600: string;
|
|
14
|
+
secondary100: string;
|
|
15
|
+
secondary200: string;
|
|
16
|
+
secondary300: string;
|
|
17
|
+
secondary400: string;
|
|
18
|
+
secondary500: string;
|
|
19
|
+
secondary600: string;
|
|
20
|
+
secondary700: string;
|
|
21
|
+
secondary800: string;
|
|
22
|
+
secondary900: string;
|
|
23
|
+
neutral100: string;
|
|
24
|
+
neutral200: string;
|
|
25
|
+
neutral300: string;
|
|
26
|
+
neutral400: string;
|
|
27
|
+
neutral500: string;
|
|
28
|
+
neutral600: string;
|
|
29
|
+
neutral700: string;
|
|
30
|
+
neutral800: string;
|
|
31
|
+
neutral900: string;
|
|
32
|
+
error100: string;
|
|
33
|
+
error300: string;
|
|
34
|
+
error500: string;
|
|
35
|
+
error600: string;
|
|
36
|
+
error700: string;
|
|
37
|
+
warning100: string;
|
|
38
|
+
warning300: string;
|
|
39
|
+
warning500: string;
|
|
40
|
+
warning600: string;
|
|
41
|
+
warning700: string;
|
|
42
|
+
info100: string;
|
|
43
|
+
info300: string;
|
|
44
|
+
info500: string;
|
|
45
|
+
info600: string;
|
|
46
|
+
info700: string;
|
|
47
|
+
success100: string;
|
|
48
|
+
success300: string;
|
|
49
|
+
success500: string;
|
|
50
|
+
success600: string;
|
|
51
|
+
success700: string;
|
|
52
|
+
background: string;
|
|
53
|
+
foreground: string;
|
|
54
|
+
};
|
|
55
|
+
space: {
|
|
56
|
+
0: string;
|
|
57
|
+
5: string;
|
|
58
|
+
10: string;
|
|
59
|
+
15: string;
|
|
60
|
+
20: string;
|
|
61
|
+
25: string;
|
|
62
|
+
30: string;
|
|
63
|
+
40: string;
|
|
64
|
+
46: string;
|
|
65
|
+
50: string;
|
|
66
|
+
60: string;
|
|
67
|
+
70: string;
|
|
68
|
+
80: string;
|
|
69
|
+
90: string;
|
|
70
|
+
100: string;
|
|
71
|
+
2: string;
|
|
72
|
+
4: string;
|
|
73
|
+
6: string;
|
|
74
|
+
8: string;
|
|
75
|
+
12: string;
|
|
76
|
+
16: string;
|
|
77
|
+
24: string;
|
|
78
|
+
28: string;
|
|
79
|
+
32: string;
|
|
80
|
+
};
|
|
81
|
+
radii: {
|
|
82
|
+
xs: string;
|
|
83
|
+
sm: string;
|
|
84
|
+
xm: string;
|
|
85
|
+
md: string;
|
|
86
|
+
xl: string;
|
|
87
|
+
lg: string;
|
|
88
|
+
primary: string;
|
|
89
|
+
secondary: string;
|
|
90
|
+
};
|
|
91
|
+
fontSizes: {
|
|
92
|
+
10: string;
|
|
93
|
+
12: string;
|
|
94
|
+
14: string;
|
|
95
|
+
16: string;
|
|
96
|
+
18: string;
|
|
97
|
+
20: string;
|
|
98
|
+
22: string;
|
|
99
|
+
24: string;
|
|
100
|
+
28: string;
|
|
101
|
+
32: string;
|
|
102
|
+
36: string;
|
|
103
|
+
40: string;
|
|
104
|
+
48: string;
|
|
105
|
+
};
|
|
106
|
+
fonts: {
|
|
107
|
+
primary: string;
|
|
108
|
+
widget: string;
|
|
109
|
+
};
|
|
110
|
+
fontWeights: {
|
|
111
|
+
regular: number;
|
|
112
|
+
medium: number;
|
|
113
|
+
semiBold: number;
|
|
114
|
+
bold: number;
|
|
115
|
+
};
|
|
116
|
+
lineHeights: {
|
|
117
|
+
12: string;
|
|
118
|
+
16: string;
|
|
119
|
+
20: string;
|
|
120
|
+
24: string;
|
|
121
|
+
26: string;
|
|
122
|
+
28: string;
|
|
123
|
+
30: string;
|
|
124
|
+
36: string;
|
|
125
|
+
40: string;
|
|
126
|
+
44: string;
|
|
127
|
+
52: string;
|
|
128
|
+
64: string;
|
|
129
|
+
};
|
|
130
|
+
letterSpacings: {};
|
|
131
|
+
sizes: {
|
|
132
|
+
4: string;
|
|
133
|
+
6: string;
|
|
134
|
+
8: string;
|
|
135
|
+
12: string;
|
|
136
|
+
16: string;
|
|
137
|
+
18: string;
|
|
138
|
+
20: string;
|
|
139
|
+
24: string;
|
|
140
|
+
28: string;
|
|
141
|
+
32: string;
|
|
142
|
+
36: string;
|
|
143
|
+
40: string;
|
|
144
|
+
45: string;
|
|
145
|
+
48: string;
|
|
146
|
+
};
|
|
147
|
+
borderWidths: {};
|
|
148
|
+
borderStyles: {};
|
|
149
|
+
shadows: {
|
|
150
|
+
s: string;
|
|
151
|
+
};
|
|
152
|
+
zIndices: {};
|
|
153
|
+
transitions: {};
|
|
154
|
+
}, import("@stitches/react/types/config").DefaultThemeMap, {}>>;
|
|
2
155
|
export declare const Title: import("@stitches/react/types/styled-component").StyledComponent<"div", {}, {
|
|
3
156
|
sm: string;
|
|
4
157
|
md: string;
|
|
@@ -85,6 +238,8 @@ export declare const Title: import("@stitches/react/types/styled-component").Sty
|
|
|
85
238
|
md: string;
|
|
86
239
|
xl: string;
|
|
87
240
|
lg: string;
|
|
241
|
+
primary: string;
|
|
242
|
+
secondary: string;
|
|
88
243
|
};
|
|
89
244
|
fontSizes: {
|
|
90
245
|
10: string;
|
|
@@ -101,7 +256,10 @@ export declare const Title: import("@stitches/react/types/styled-component").Sty
|
|
|
101
256
|
40: string;
|
|
102
257
|
48: string;
|
|
103
258
|
};
|
|
104
|
-
fonts: {
|
|
259
|
+
fonts: {
|
|
260
|
+
primary: string;
|
|
261
|
+
widget: string;
|
|
262
|
+
};
|
|
105
263
|
fontWeights: {
|
|
106
264
|
regular: number;
|
|
107
265
|
medium: number;
|
|
@@ -233,6 +391,8 @@ export declare const List: import("@stitches/react/types/styled-component").Styl
|
|
|
233
391
|
md: string;
|
|
234
392
|
xl: string;
|
|
235
393
|
lg: string;
|
|
394
|
+
primary: string;
|
|
395
|
+
secondary: string;
|
|
236
396
|
};
|
|
237
397
|
fontSizes: {
|
|
238
398
|
10: string;
|
|
@@ -249,7 +409,10 @@ export declare const List: import("@stitches/react/types/styled-component").Styl
|
|
|
249
409
|
40: string;
|
|
250
410
|
48: string;
|
|
251
411
|
};
|
|
252
|
-
fonts: {
|
|
412
|
+
fonts: {
|
|
413
|
+
primary: string;
|
|
414
|
+
widget: string;
|
|
415
|
+
};
|
|
253
416
|
fontWeights: {
|
|
254
417
|
regular: number;
|
|
255
418
|
medium: number;
|
|
@@ -381,6 +544,8 @@ export declare const Tag: import("@stitches/react/types/styled-component").Style
|
|
|
381
544
|
md: string;
|
|
382
545
|
xl: string;
|
|
383
546
|
lg: string;
|
|
547
|
+
primary: string;
|
|
548
|
+
secondary: string;
|
|
384
549
|
};
|
|
385
550
|
fontSizes: {
|
|
386
551
|
10: string;
|
|
@@ -397,7 +562,10 @@ export declare const Tag: import("@stitches/react/types/styled-component").Style
|
|
|
397
562
|
40: string;
|
|
398
563
|
48: string;
|
|
399
564
|
};
|
|
400
|
-
fonts: {
|
|
565
|
+
fonts: {
|
|
566
|
+
primary: string;
|
|
567
|
+
widget: string;
|
|
568
|
+
};
|
|
401
569
|
fontWeights: {
|
|
402
570
|
regular: number;
|
|
403
571
|
medium: number;
|
|
@@ -529,6 +697,8 @@ export declare const TagTitle: import("@stitches/react/types/styled-component").
|
|
|
529
697
|
md: string;
|
|
530
698
|
xl: string;
|
|
531
699
|
lg: string;
|
|
700
|
+
primary: string;
|
|
701
|
+
secondary: string;
|
|
532
702
|
};
|
|
533
703
|
fontSizes: {
|
|
534
704
|
10: string;
|
|
@@ -545,7 +715,10 @@ export declare const TagTitle: import("@stitches/react/types/styled-component").
|
|
|
545
715
|
40: string;
|
|
546
716
|
48: string;
|
|
547
717
|
};
|
|
548
|
-
fonts: {
|
|
718
|
+
fonts: {
|
|
719
|
+
primary: string;
|
|
720
|
+
widget: string;
|
|
721
|
+
};
|
|
549
722
|
fontWeights: {
|
|
550
723
|
regular: number;
|
|
551
724
|
medium: number;
|
|
@@ -677,6 +850,8 @@ export declare const BalanceContainer: import("@stitches/react/types/styled-comp
|
|
|
677
850
|
md: string;
|
|
678
851
|
xl: string;
|
|
679
852
|
lg: string;
|
|
853
|
+
primary: string;
|
|
854
|
+
secondary: string;
|
|
680
855
|
};
|
|
681
856
|
fontSizes: {
|
|
682
857
|
10: string;
|
|
@@ -693,7 +868,10 @@ export declare const BalanceContainer: import("@stitches/react/types/styled-comp
|
|
|
693
868
|
40: string;
|
|
694
869
|
48: string;
|
|
695
870
|
};
|
|
696
|
-
fonts: {
|
|
871
|
+
fonts: {
|
|
872
|
+
primary: string;
|
|
873
|
+
widget: string;
|
|
874
|
+
};
|
|
697
875
|
fontWeights: {
|
|
698
876
|
regular: number;
|
|
699
877
|
medium: number;
|
|
@@ -825,6 +1003,8 @@ export declare const End: import("@stitches/react/types/styled-component").Style
|
|
|
825
1003
|
md: string;
|
|
826
1004
|
xl: string;
|
|
827
1005
|
lg: string;
|
|
1006
|
+
primary: string;
|
|
1007
|
+
secondary: string;
|
|
828
1008
|
};
|
|
829
1009
|
fontSizes: {
|
|
830
1010
|
10: string;
|
|
@@ -841,7 +1021,10 @@ export declare const End: import("@stitches/react/types/styled-component").Style
|
|
|
841
1021
|
40: string;
|
|
842
1022
|
48: string;
|
|
843
1023
|
};
|
|
844
|
-
fonts: {
|
|
1024
|
+
fonts: {
|
|
1025
|
+
primary: string;
|
|
1026
|
+
widget: string;
|
|
1027
|
+
};
|
|
845
1028
|
fontWeights: {
|
|
846
1029
|
regular: number;
|
|
847
1030
|
medium: number;
|
|
@@ -973,6 +1156,8 @@ export declare const Description: import("@stitches/react/types/styled-component
|
|
|
973
1156
|
md: string;
|
|
974
1157
|
xl: string;
|
|
975
1158
|
lg: string;
|
|
1159
|
+
primary: string;
|
|
1160
|
+
secondary: string;
|
|
976
1161
|
};
|
|
977
1162
|
fontSizes: {
|
|
978
1163
|
10: string;
|
|
@@ -989,7 +1174,10 @@ export declare const Description: import("@stitches/react/types/styled-component
|
|
|
989
1174
|
40: string;
|
|
990
1175
|
48: string;
|
|
991
1176
|
};
|
|
992
|
-
fonts: {
|
|
1177
|
+
fonts: {
|
|
1178
|
+
primary: string;
|
|
1179
|
+
widget: string;
|
|
1180
|
+
};
|
|
993
1181
|
fontWeights: {
|
|
994
1182
|
regular: number;
|
|
995
1183
|
medium: number;
|
|
@@ -1121,6 +1309,8 @@ export declare const ImageSection: import("@stitches/react/types/styled-componen
|
|
|
1121
1309
|
md: string;
|
|
1122
1310
|
xl: string;
|
|
1123
1311
|
lg: string;
|
|
1312
|
+
primary: string;
|
|
1313
|
+
secondary: string;
|
|
1124
1314
|
};
|
|
1125
1315
|
fontSizes: {
|
|
1126
1316
|
10: string;
|
|
@@ -1137,7 +1327,10 @@ export declare const ImageSection: import("@stitches/react/types/styled-componen
|
|
|
1137
1327
|
40: string;
|
|
1138
1328
|
48: string;
|
|
1139
1329
|
};
|
|
1140
|
-
fonts: {
|
|
1330
|
+
fonts: {
|
|
1331
|
+
primary: string;
|
|
1332
|
+
widget: string;
|
|
1333
|
+
};
|
|
1141
1334
|
fontWeights: {
|
|
1142
1335
|
regular: number;
|
|
1143
1336
|
medium: number;
|
|
@@ -1269,6 +1462,8 @@ export declare const Pin: import("@stitches/react/types/styled-component").Style
|
|
|
1269
1462
|
md: string;
|
|
1270
1463
|
xl: string;
|
|
1271
1464
|
lg: string;
|
|
1465
|
+
primary: string;
|
|
1466
|
+
secondary: string;
|
|
1272
1467
|
};
|
|
1273
1468
|
fontSizes: {
|
|
1274
1469
|
10: string;
|
|
@@ -1285,7 +1480,10 @@ export declare const Pin: import("@stitches/react/types/styled-component").Style
|
|
|
1285
1480
|
40: string;
|
|
1286
1481
|
48: string;
|
|
1287
1482
|
};
|
|
1288
|
-
fonts: {
|
|
1483
|
+
fonts: {
|
|
1484
|
+
primary: string;
|
|
1485
|
+
widget: string;
|
|
1486
|
+
};
|
|
1289
1487
|
fontWeights: {
|
|
1290
1488
|
regular: number;
|
|
1291
1489
|
medium: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TokenList.styles.d.ts","sourceRoot":"","sources":["../../../src/components/TokenList/TokenList.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,UAAU,EAAE,MAAM,eAAe,CAAC;AAEnD,eAAO,MAAM,KAAK
|
|
1
|
+
{"version":3,"file":"TokenList.styles.d.ts","sourceRoot":"","sources":["../../../src/components/TokenList/TokenList.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,UAAU,EAAE,MAAM,eAAe,CAAC;AAEnD,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAIpB,CAAC;AAEH,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAShB,CAAC;AACH,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DA8Df,CAAC;AAEH,eAAO,MAAM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAMd,CAAC;AAEH,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAAyB,CAAC;AAE/C,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAE3B,CAAC;AAEH,eAAO,MAAM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAId,CAAC;AAEH,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAGtB,CAAC;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAMvB,CAAC;AACH,eAAO,MAAM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAOd,CAAC"}
|
|
@@ -84,6 +84,8 @@ export declare const IconContainer: import("@stitches/react/types/styled-compone
|
|
|
84
84
|
md: string;
|
|
85
85
|
xl: string;
|
|
86
86
|
lg: string;
|
|
87
|
+
primary: string;
|
|
88
|
+
secondary: string;
|
|
87
89
|
};
|
|
88
90
|
fontSizes: {
|
|
89
91
|
10: string;
|
|
@@ -100,7 +102,10 @@ export declare const IconContainer: import("@stitches/react/types/styled-compone
|
|
|
100
102
|
40: string;
|
|
101
103
|
48: string;
|
|
102
104
|
};
|
|
103
|
-
fonts: {
|
|
105
|
+
fonts: {
|
|
106
|
+
primary: string;
|
|
107
|
+
widget: string;
|
|
108
|
+
};
|
|
104
109
|
fontWeights: {
|
|
105
110
|
regular: number;
|
|
106
111
|
medium: number;
|
|
@@ -232,6 +237,8 @@ export declare const LogoContainer: import("@stitches/react/types/styled-compone
|
|
|
232
237
|
md: string;
|
|
233
238
|
xl: string;
|
|
234
239
|
lg: string;
|
|
240
|
+
primary: string;
|
|
241
|
+
secondary: string;
|
|
235
242
|
};
|
|
236
243
|
fontSizes: {
|
|
237
244
|
10: string;
|
|
@@ -248,7 +255,10 @@ export declare const LogoContainer: import("@stitches/react/types/styled-compone
|
|
|
248
255
|
40: string;
|
|
249
256
|
48: string;
|
|
250
257
|
};
|
|
251
|
-
fonts: {
|
|
258
|
+
fonts: {
|
|
259
|
+
primary: string;
|
|
260
|
+
widget: string;
|
|
261
|
+
};
|
|
252
262
|
fontWeights: {
|
|
253
263
|
regular: number;
|
|
254
264
|
medium: number;
|
|
@@ -380,6 +390,8 @@ export declare const Spinner: import("@stitches/react/types/styled-component").S
|
|
|
380
390
|
md: string;
|
|
381
391
|
xl: string;
|
|
382
392
|
lg: string;
|
|
393
|
+
primary: string;
|
|
394
|
+
secondary: string;
|
|
383
395
|
};
|
|
384
396
|
fontSizes: {
|
|
385
397
|
10: string;
|
|
@@ -396,7 +408,10 @@ export declare const Spinner: import("@stitches/react/types/styled-component").S
|
|
|
396
408
|
40: string;
|
|
397
409
|
48: string;
|
|
398
410
|
};
|
|
399
|
-
fonts: {
|
|
411
|
+
fonts: {
|
|
412
|
+
primary: string;
|
|
413
|
+
widget: string;
|
|
414
|
+
};
|
|
400
415
|
fontWeights: {
|
|
401
416
|
regular: number;
|
|
402
417
|
medium: number;
|
|
@@ -528,6 +543,8 @@ export declare const WalletImageContainer: import("@stitches/react/types/styled-
|
|
|
528
543
|
md: string;
|
|
529
544
|
xl: string;
|
|
530
545
|
lg: string;
|
|
546
|
+
primary: string;
|
|
547
|
+
secondary: string;
|
|
531
548
|
};
|
|
532
549
|
fontSizes: {
|
|
533
550
|
10: string;
|
|
@@ -544,7 +561,10 @@ export declare const WalletImageContainer: import("@stitches/react/types/styled-
|
|
|
544
561
|
40: string;
|
|
545
562
|
48: string;
|
|
546
563
|
};
|
|
547
|
-
fonts: {
|
|
564
|
+
fonts: {
|
|
565
|
+
primary: string;
|
|
566
|
+
widget: string;
|
|
567
|
+
};
|
|
548
568
|
fontWeights: {
|
|
549
569
|
regular: number;
|
|
550
570
|
medium: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WalletModalContent.styles.d.ts","sourceRoot":"","sources":["../../../src/components/WalletModal/WalletModalContent.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"WalletModalContent.styles.d.ts","sourceRoot":"","sources":["../../../src/components/WalletModal/WalletModalContent.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAQxB,CAAC;AAEH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAExB,CAAC;AAWH,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAYlB,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAI/B,CAAC"}
|
|
@@ -14,7 +14,7 @@ export declare const errorMessages: {
|
|
|
14
14
|
decreaseAmount: string;
|
|
15
15
|
};
|
|
16
16
|
highValueLossError: {
|
|
17
|
-
|
|
17
|
+
impactTitle: string;
|
|
18
18
|
title: string;
|
|
19
19
|
description: string;
|
|
20
20
|
confirmMessage: string;
|
|
@@ -23,7 +23,7 @@ export declare const errorMessages: {
|
|
|
23
23
|
title: string;
|
|
24
24
|
};
|
|
25
25
|
unknownPriceError: {
|
|
26
|
-
|
|
26
|
+
impactTitle: string;
|
|
27
27
|
title: string;
|
|
28
28
|
description: string;
|
|
29
29
|
confirmMessage: string;
|
|
@@ -1,3 +1,13 @@
|
|
|
1
|
-
export declare const LOW_PRICE_IMPACT = 3;
|
|
2
|
-
export declare const HIGHT_PRICE_IMPACT = 10;
|
|
1
|
+
export declare const LOW_PRICE_IMPACT = -3;
|
|
2
|
+
export declare const HIGHT_PRICE_IMPACT = -10;
|
|
3
|
+
export declare const TOKEN_AMOUNT_MIN_DECIMALS = 6;
|
|
4
|
+
export declare const TOKEN_AMOUNT_MAX_DECIMALS = 6;
|
|
5
|
+
export declare const USD_VALUE_MIN_DECIMALS = 4;
|
|
6
|
+
export declare const USD_VALUE_MAX_DECIMALS = 4;
|
|
7
|
+
export declare const GAS_FEE_MIN_DECIMALS = 2;
|
|
8
|
+
export declare const GAS_FEE_MAX_DECIMALS = 2;
|
|
9
|
+
export declare const PERCENTAGE_CHANGE_MIN_DECIMALS = 2;
|
|
10
|
+
export declare const PERCENTAGE_CHANGE_MAX_DECIMALS = 2;
|
|
11
|
+
export declare const BALANCE_MIN_DECIMALS = 8;
|
|
12
|
+
export declare const BALANCE_MAX_DECIMALS = 8;
|
|
3
13
|
//# sourceMappingURL=routing.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"routing.d.ts","sourceRoot":"","sources":["../../src/constants/routing.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,
|
|
1
|
+
{"version":3,"file":"routing.d.ts","sourceRoot":"","sources":["../../src/constants/routing.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,KAAK,CAAC;AACnC,eAAO,MAAM,kBAAkB,MAAM,CAAC;AAEtC,eAAO,MAAM,yBAAyB,IAAI,CAAC;AAC3C,eAAO,MAAM,yBAAyB,IAAI,CAAC;AAE3C,eAAO,MAAM,sBAAsB,IAAI,CAAC;AACxC,eAAO,MAAM,sBAAsB,IAAI,CAAC;AAExC,eAAO,MAAM,oBAAoB,IAAI,CAAC;AACtC,eAAO,MAAM,oBAAoB,IAAI,CAAC;AAEtC,eAAO,MAAM,8BAA8B,IAAI,CAAC;AAChD,eAAO,MAAM,8BAA8B,IAAI,CAAC;AAEhD,eAAO,MAAM,oBAAoB,IAAI,CAAC;AACtC,eAAO,MAAM,oBAAoB,IAAI,CAAC"}
|
package/dist/globalStyles.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const globalFont: (
|
|
1
|
+
export declare const globalFont: () => string;
|
|
2
2
|
//# sourceMappingURL=globalStyles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"globalStyles.d.ts","sourceRoot":"","sources":["../src/globalStyles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"globalStyles.d.ts","sourceRoot":"","sources":["../src/globalStyles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU,cAMjB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useSwapInput.d.ts","sourceRoot":"","sources":["../../src/hooks/useSwapInput.ts"],"names":[],"mappings":"AAaA,KAAK,YAAY,GAAG;IAClB,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF;;;GAGG;AACH,wBAAgB,YAAY,IAAI,YAAY,
|
|
1
|
+
{"version":3,"file":"useSwapInput.d.ts","sourceRoot":"","sources":["../../src/hooks/useSwapInput.ts"],"names":[],"mappings":"AAaA,KAAK,YAAY,GAAG;IAClB,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF;;;GAGG;AACH,wBAAgB,YAAY,IAAI,YAAY,CAuF3C"}
|
package/dist/hooks/useTheme.d.ts
CHANGED
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
import { WidgetTheme } from '../types';
|
|
2
|
-
export declare function useTheme({ fontFamily, mode, }: WidgetTheme): {
|
|
3
|
-
activeTheme: string
|
|
4
|
-
className: string;
|
|
5
|
-
selector: string;
|
|
6
|
-
} & import("@stitches/react/types/stitches").ThemeTokens<{}, "">;
|
|
1
|
+
import type { WidgetTheme } from '../types';
|
|
2
|
+
export declare function useTheme({ fontFamily, borderRadius, secondaryBorderRadius, mode, }: WidgetTheme): {
|
|
3
|
+
activeTheme: string;
|
|
7
4
|
};
|
|
8
5
|
//# sourceMappingURL=useTheme.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useTheme.d.ts","sourceRoot":"","sources":["../../src/hooks/useTheme.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useTheme.d.ts","sourceRoot":"","sources":["../../src/hooks/useTheme.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAY5C,wBAAgB,QAAQ,CAAC,EAEvB,UAAqB,EACrB,YAAqC,EACrC,qBAAgD,EAChD,IAAa,GACd,EAAE,WAAW;;EAgEb"}
|