@rango-dev/widget-embedded 0.20.1-next.2 → 0.20.1-next.21
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/components/BlockchainList/BlockchainList.styles.d.ts +169 -1
- package/dist/components/BlockchainList/BlockchainList.styles.d.ts.map +1 -1
- package/dist/components/BlockchainsSection/BlockchainsSection.styles.d.ts +4 -0
- package/dist/components/BlockchainsSection/BlockchainsSection.styles.d.ts.map +1 -1
- package/dist/components/ConfirmWalletsModal/ConfirmWallets.styles.d.ts +514 -1088
- package/dist/components/ConfirmWalletsModal/ConfirmWallets.styles.d.ts.map +1 -1
- package/dist/components/ConfirmWalletsModal/ConfirmWalletsModal.d.ts.map +1 -1
- package/dist/components/ConfirmWalletsModal/WalletList.styles.d.ts +12 -0
- package/dist/components/ConfirmWalletsModal/WalletList.styles.d.ts.map +1 -1
- package/dist/components/CustomCollapsible/CustomCollapsible.d.ts +5 -0
- package/dist/components/CustomCollapsible/CustomCollapsible.d.ts.map +1 -0
- package/dist/components/CustomCollapsible/CustomCollapsible.styles.d.ts +654 -0
- package/dist/components/CustomCollapsible/CustomCollapsible.styles.d.ts.map +1 -0
- package/dist/components/CustomCollapsible/CustomCollapsible.types.d.ts +10 -0
- package/dist/components/CustomCollapsible/CustomCollapsible.types.d.ts.map +1 -0
- package/dist/components/HeaderButtons/HeaderButtons.styles.d.ts +179 -0
- package/dist/components/HeaderButtons/HeaderButtons.styles.d.ts.map +1 -1
- package/dist/components/HeaderButtons/HeaderButtons.types.d.ts +0 -2
- package/dist/components/HeaderButtons/HeaderButtons.types.d.ts.map +1 -1
- package/dist/components/HeaderButtons/HomeButtons.d.ts.map +1 -1
- package/dist/components/HeaderButtons/RefreshButton.d.ts +6 -0
- package/dist/components/HeaderButtons/RefreshButton.d.ts.map +1 -0
- package/dist/components/Layout/Layout.d.ts +2 -3
- package/dist/components/Layout/Layout.d.ts.map +1 -1
- package/dist/components/Layout/Layout.helpers.d.ts +2 -0
- package/dist/components/Layout/Layout.helpers.d.ts.map +1 -0
- package/dist/components/Layout/Layout.styles.d.ts +14 -4
- package/dist/components/Layout/Layout.styles.d.ts.map +1 -1
- package/dist/components/Layout/Layout.types.d.ts +6 -3
- package/dist/components/Layout/Layout.types.d.ts.map +1 -1
- package/dist/components/Layout/PageContainer.d.ts +166 -0
- package/dist/components/Layout/PageContainer.d.ts.map +1 -0
- package/dist/components/Layout/ScrollableArea.d.ts +164 -0
- package/dist/components/Layout/ScrollableArea.d.ts.map +1 -0
- package/dist/components/Layout/index.d.ts +2 -0
- package/dist/components/Layout/index.d.ts.map +1 -1
- package/dist/components/LoadingLiquiditySourceList/LoadingLiquiditySourceList.styles.d.ts +4 -0
- package/dist/components/LoadingLiquiditySourceList/LoadingLiquiditySourceList.styles.d.ts.map +1 -1
- package/dist/components/LoadingSwapDetails/LoadingSwapDetails.styles.d.ts +56 -0
- package/dist/components/LoadingSwapDetails/LoadingSwapDetails.styles.d.ts.map +1 -1
- package/dist/components/NoResult/NoResult.styles.d.ts +12 -0
- package/dist/components/NoResult/NoResult.styles.d.ts.map +1 -1
- package/dist/components/NotificationContent/NotificationContent.d.ts.map +1 -1
- package/dist/components/NotificationContent/NotificationContent.styles.d.ts +16 -0
- package/dist/components/NotificationContent/NotificationContent.styles.d.ts.map +1 -1
- package/dist/components/Quote/Quote.d.ts.map +1 -1
- package/dist/components/Quote/Quote.styles.d.ts +386 -2
- package/dist/components/Quote/Quote.styles.d.ts.map +1 -1
- package/dist/components/Quote/Quote.types.d.ts +19 -0
- package/dist/components/Quote/Quote.types.d.ts.map +1 -1
- package/dist/components/Quote/QuoteCostDetails.d.ts +4 -0
- package/dist/components/Quote/QuoteCostDetails.d.ts.map +1 -0
- package/dist/components/Quote/QuoteCostDetails.styles.d.ts +806 -0
- package/dist/components/Quote/QuoteCostDetails.styles.d.ts.map +1 -0
- package/dist/components/Quote/QuoteSummary.d.ts.map +1 -1
- package/dist/components/Quote/QuoteSummary.styles.d.ts +8 -0
- package/dist/components/Quote/QuoteSummary.styles.d.ts.map +1 -1
- package/dist/components/Quote/QuoteTrigger .d.ts +4 -0
- package/dist/components/Quote/QuoteTrigger .d.ts.map +1 -0
- package/dist/components/QuoteSkeleton/QuoteSkeleton.styles.d.ts +16 -0
- package/dist/components/QuoteSkeleton/QuoteSkeleton.styles.d.ts.map +1 -1
- package/dist/components/QuoteSkeleton/QuoteSummarySkeleton.styles.d.ts +40 -0
- package/dist/components/QuoteSkeleton/QuoteSummarySkeleton.styles.d.ts.map +1 -1
- package/dist/components/QuoteSkeleton/StepSkeleton.styles.d.ts +20 -0
- package/dist/components/QuoteSkeleton/StepSkeleton.styles.d.ts.map +1 -1
- package/dist/components/QuoteWarningsAndErrors/QuoteWarningsAndErrors.styles.d.ts +16 -0
- package/dist/components/QuoteWarningsAndErrors/QuoteWarningsAndErrors.styles.d.ts.map +1 -1
- package/dist/components/SearchInput/SearchInput.styles.d.ts +4 -0
- package/dist/components/SearchInput/SearchInput.styles.d.ts.map +1 -1
- package/dist/components/SettingsContainer/SettingsContainer.style.d.ts +11 -156
- package/dist/components/SettingsContainer/SettingsContainer.style.d.ts.map +1 -1
- package/dist/components/SettingsContainer/index.d.ts +1 -1
- package/dist/components/SettingsContainer/index.d.ts.map +1 -1
- package/dist/components/Slippage/Slippage.styles.d.ts +20 -0
- package/dist/components/Slippage/Slippage.styles.d.ts.map +1 -1
- package/dist/components/SwapDetails/SwapDetails.Placeholder.d.ts.map +1 -1
- package/dist/components/SwapDetails/SwapDetails.d.ts.map +1 -1
- package/dist/components/SwapDetails/SwapDetails.helpers.d.ts +1 -1
- package/dist/components/SwapDetails/SwapDetails.helpers.d.ts.map +1 -1
- package/dist/components/SwapDetails/SwapDetails.styles.d.ts +523 -1
- package/dist/components/SwapDetails/SwapDetails.styles.d.ts.map +1 -1
- package/dist/components/SwapDetailsAlerts/SwapDetailsAlerts.d.ts.map +1 -1
- package/dist/components/SwapDetailsAlerts/SwapDetailsAlerts.styles.d.ts +4 -0
- package/dist/components/SwapDetailsAlerts/SwapDetailsAlerts.styles.d.ts.map +1 -1
- package/dist/components/SwapDetailsAlerts/SwapDetailsAlerts.types.d.ts +2 -1
- package/dist/components/SwapDetailsAlerts/SwapDetailsAlerts.types.d.ts.map +1 -1
- package/dist/components/SwapDetailsModal/SwapDetailsModal.styles.d.ts +4 -0
- package/dist/components/SwapDetailsModal/SwapDetailsModal.styles.d.ts.map +1 -1
- package/dist/components/SwapsGroup/SwapsGroup.d.ts.map +1 -1
- package/dist/components/SwapsGroup/SwapsGroup.styles.d.ts +20 -0
- package/dist/components/SwapsGroup/SwapsGroup.styles.d.ts.map +1 -1
- package/dist/components/TokenList/TokenList.styles.d.ts +68 -0
- package/dist/components/TokenList/TokenList.styles.d.ts.map +1 -1
- package/dist/components/WalletModal/WalletModalContent.styles.d.ts +16 -0
- package/dist/components/WalletModal/WalletModalContent.styles.d.ts.map +1 -1
- package/dist/components/WidgetEvents.d.ts.map +1 -1
- package/dist/constants/index.d.ts +1 -0
- package/dist/constants/index.d.ts.map +1 -1
- package/dist/constants/quote.d.ts +12 -0
- package/dist/constants/quote.d.ts.map +1 -0
- package/dist/containers/App/App.d.ts.map +1 -1
- package/dist/containers/App/App.styles.d.ts +4 -0
- package/dist/containers/App/App.styles.d.ts.map +1 -1
- package/dist/containers/QuoteInfo/QuoteInfo.d.ts +1 -1
- package/dist/containers/QuoteInfo/QuoteInfo.d.ts.map +1 -1
- package/dist/containers/QuoteInfo/QuoteInfo.styles.d.ts +10 -314
- package/dist/containers/QuoteInfo/QuoteInfo.styles.d.ts.map +1 -1
- package/dist/containers/QuoteInfo/QuoteInfo.types.d.ts +0 -7
- package/dist/containers/QuoteInfo/QuoteInfo.types.d.ts.map +1 -1
- package/dist/containers/Wallets/Wallets.d.ts.map +1 -1
- package/dist/containers/WidgetInfo/WidgetInfo.d.ts.map +1 -1
- package/dist/containers/WidgetInfo/WidgetInfo.types.d.ts +5 -0
- package/dist/containers/WidgetInfo/WidgetInfo.types.d.ts.map +1 -1
- package/dist/containers/WidgetProvider/WidgetProvider.d.ts.map +1 -1
- package/dist/hooks/useLanguage.d.ts +2 -1
- package/dist/hooks/useLanguage.d.ts.map +1 -1
- package/dist/hooks/usePrepareBlockchainList/usePrepareBlockchainList.helpers.d.ts +2 -2
- package/dist/hooks/useSwapInput.d.ts.map +1 -1
- package/dist/hooks/useSyncStoresWithConfig.d.ts.map +1 -1
- package/dist/index.d.ts +6 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +4 -4
- package/dist/pages/ConfirmSwapPage.d.ts.map +1 -1
- package/dist/pages/HistoryPage.d.ts.map +1 -1
- package/dist/pages/Home.d.ts.map +1 -1
- package/dist/pages/LanguagePage.d.ts.map +1 -1
- package/dist/pages/LiquiditySourcePage.d.ts.map +1 -1
- package/dist/pages/SelectSwapItemsPage.d.ts.map +1 -1
- package/dist/pages/SettingsPage.d.ts.map +1 -1
- package/dist/pages/ThemePage.d.ts.map +1 -1
- package/dist/pages/WalletsPage.d.ts.map +1 -1
- package/dist/store/AppStore.d.ts +2 -2
- package/dist/store/app.d.ts +2 -2
- package/dist/store/slices/data.d.ts.map +1 -1
- package/dist/store/slices/settings.d.ts +2 -2
- package/dist/store/slices/settings.d.ts.map +1 -1
- package/dist/types/config.d.ts +16 -3
- package/dist/types/config.d.ts.map +1 -1
- package/dist/types/notification.d.ts +1 -2
- package/dist/types/notification.d.ts.map +1 -1
- package/dist/utils/configs.d.ts +8 -0
- package/dist/utils/configs.d.ts.map +1 -1
- package/dist/utils/date.d.ts.map +1 -1
- package/dist/utils/quote.d.ts +5 -1
- package/dist/utils/quote.d.ts.map +1 -1
- package/dist/utils/settings.d.ts +1 -1
- package/dist/utils/swap.d.ts +5 -1
- package/dist/utils/swap.d.ts.map +1 -1
- package/dist/utils/ui.d.ts +2 -0
- package/dist/utils/ui.d.ts.map +1 -1
- package/package.json +6 -6
- package/src/components/BlockchainList/BlockchainList.styles.ts +4 -3
- package/src/components/BlockchainList/BlockchainList.tsx +1 -1
- package/src/components/ConfirmWalletsModal/ConfirmWallets.styles.ts +27 -96
- package/src/components/ConfirmWalletsModal/ConfirmWalletsModal.tsx +25 -40
- package/src/components/CustomCollapsible/CustomCollapsible.styles.ts +75 -0
- package/src/components/CustomCollapsible/CustomCollapsible.tsx +55 -0
- package/src/components/CustomCollapsible/CustomCollapsible.types.ts +10 -0
- package/src/components/HeaderButtons/HeaderButtons.styles.ts +16 -1
- package/src/components/HeaderButtons/HeaderButtons.types.ts +0 -2
- package/src/components/HeaderButtons/HomeButtons.tsx +19 -33
- package/src/components/HeaderButtons/RefreshButton.tsx +81 -0
- package/src/components/Layout/Layout.helpers.ts +16 -0
- package/src/components/Layout/Layout.styles.ts +17 -31
- package/src/components/Layout/Layout.tsx +23 -21
- package/src/components/Layout/Layout.types.ts +9 -8
- package/src/components/Layout/PageContainer.tsx +24 -0
- package/src/components/Layout/ScrollableArea.tsx +11 -0
- package/src/components/Layout/index.ts +2 -0
- package/src/components/NotificationContent/NotificationContent.tsx +10 -1
- package/src/components/Quote/Quote.styles.ts +44 -5
- package/src/components/Quote/Quote.tsx +10 -77
- package/src/components/Quote/Quote.types.ts +22 -0
- package/src/components/Quote/QuoteCostDetails.styles.ts +50 -0
- package/src/components/Quote/QuoteCostDetails.tsx +218 -0
- package/src/components/Quote/QuoteSummary.tsx +3 -2
- package/src/components/Quote/QuoteTrigger .tsx +215 -0
- package/src/components/QuoteWarningsAndErrors/QuoteWarningsAndErrors.styles.ts +0 -1
- package/src/components/SettingsContainer/SettingsContainer.style.ts +0 -5
- package/src/components/SettingsContainer/index.ts +0 -1
- package/src/components/Slippage/Slippage.tsx +5 -5
- package/src/components/Slippage/SlippageTooltipContent.tsx +1 -1
- package/src/components/SwapDetails/SwapDetails.Placeholder.tsx +12 -13
- package/src/components/SwapDetails/SwapDetails.helpers.tsx +43 -3
- package/src/components/SwapDetails/SwapDetails.styles.ts +18 -6
- package/src/components/SwapDetails/SwapDetails.tsx +13 -5
- package/src/components/SwapDetailsAlerts/SwapDetailsAlerts.tsx +13 -7
- package/src/components/SwapDetailsAlerts/SwapDetailsAlerts.types.ts +2 -0
- package/src/components/SwapsGroup/SwapsGroup.tsx +18 -7
- package/src/components/TokenList/TokenList.styles.ts +2 -0
- package/src/components/TokenList/TokenList.tsx +1 -1
- package/src/components/WidgetEvents.tsx +2 -14
- package/src/constants/index.ts +1 -0
- package/src/constants/quote.ts +23 -0
- package/src/containers/App/App.styles.ts +2 -0
- package/src/containers/App/App.tsx +1 -4
- package/src/containers/QuoteInfo/QuoteInfo.styles.ts +0 -15
- package/src/containers/QuoteInfo/QuoteInfo.tsx +30 -77
- package/src/containers/QuoteInfo/QuoteInfo.types.ts +0 -7
- package/src/containers/Wallets/Wallets.tsx +11 -2
- package/src/containers/WidgetInfo/WidgetInfo.tsx +8 -0
- package/src/containers/WidgetInfo/WidgetInfo.types.ts +5 -0
- package/src/containers/WidgetProvider/WidgetProvider.tsx +2 -1
- package/src/hooks/useLanguage.ts +6 -4
- package/src/hooks/useSwapInput.ts +6 -2
- package/src/hooks/useSyncStoresWithConfig.ts +17 -34
- package/src/index.ts +4 -2
- package/src/pages/ConfirmSwapPage.tsx +59 -50
- package/src/pages/HistoryPage.tsx +4 -11
- package/src/pages/Home.tsx +40 -38
- package/src/pages/LanguagePage.tsx +3 -4
- package/src/pages/LiquiditySourcePage.tsx +8 -6
- package/src/pages/SelectBlockchainPage.tsx +41 -41
- package/src/pages/SelectSwapItemsPage.tsx +45 -39
- package/src/pages/SettingsPage.tsx +3 -4
- package/src/pages/ThemePage.tsx +3 -4
- package/src/pages/WalletsPage.tsx +12 -13
- package/src/store/slices/data.ts +5 -7
- package/src/store/slices/settings.ts +3 -3
- package/src/types/config.ts +16 -3
- package/src/types/notification.ts +0 -7
- package/src/utils/configs.ts +41 -0
- package/src/utils/date.ts +5 -4
- package/src/utils/quote.ts +18 -1
- package/src/utils/swap.ts +35 -0
- package/src/utils/ui.ts +20 -0
|
@@ -1,165 +1,10 @@
|
|
|
1
|
-
export declare const PositionTopAlerts: import("@stitches/react/types/styled-component").StyledComponent<"div", {}, {
|
|
2
|
-
sm: string;
|
|
3
|
-
md: string;
|
|
4
|
-
lg: string;
|
|
5
|
-
}, import("@stitches/react/types/css-util").CSS<{
|
|
6
|
-
sm: string;
|
|
7
|
-
md: string;
|
|
8
|
-
lg: string;
|
|
9
|
-
}, {
|
|
10
|
-
colors: {
|
|
11
|
-
primary: string;
|
|
12
|
-
primary500: string;
|
|
13
|
-
primary600: string;
|
|
14
|
-
secondary: string;
|
|
15
|
-
secondary100: string;
|
|
16
|
-
secondary200: string;
|
|
17
|
-
secondary300: string;
|
|
18
|
-
secondary400: string;
|
|
19
|
-
secondary500: string;
|
|
20
|
-
secondary600: string;
|
|
21
|
-
secondary700: string;
|
|
22
|
-
secondary800: string;
|
|
23
|
-
secondary900: string;
|
|
24
|
-
neutral: string;
|
|
25
|
-
neutral100: string;
|
|
26
|
-
neutral200: string;
|
|
27
|
-
neutral300: string;
|
|
28
|
-
neutral400: string;
|
|
29
|
-
neutral500: string;
|
|
30
|
-
neutral600: string;
|
|
31
|
-
neutral700: string;
|
|
32
|
-
neutral800: string;
|
|
33
|
-
neutral900: string;
|
|
34
|
-
error100: string;
|
|
35
|
-
error300: string;
|
|
36
|
-
error500: string;
|
|
37
|
-
error600: string;
|
|
38
|
-
error700: string;
|
|
39
|
-
warning100: string;
|
|
40
|
-
warning300: string;
|
|
41
|
-
warning500: string;
|
|
42
|
-
warning600: string;
|
|
43
|
-
warning700: string;
|
|
44
|
-
info: string;
|
|
45
|
-
info100: string;
|
|
46
|
-
info300: string;
|
|
47
|
-
info500: string;
|
|
48
|
-
info600: string;
|
|
49
|
-
info700: string;
|
|
50
|
-
success100: string;
|
|
51
|
-
success300: string;
|
|
52
|
-
success500: string;
|
|
53
|
-
success600: string;
|
|
54
|
-
success700: string;
|
|
55
|
-
background: string;
|
|
56
|
-
foreground: string;
|
|
57
|
-
};
|
|
58
|
-
space: {
|
|
59
|
-
0: string;
|
|
60
|
-
5: string;
|
|
61
|
-
10: string;
|
|
62
|
-
15: string;
|
|
63
|
-
20: string;
|
|
64
|
-
25: string;
|
|
65
|
-
30: string;
|
|
66
|
-
40: string;
|
|
67
|
-
46: string;
|
|
68
|
-
50: string;
|
|
69
|
-
60: string;
|
|
70
|
-
70: string;
|
|
71
|
-
80: string;
|
|
72
|
-
90: string;
|
|
73
|
-
100: string;
|
|
74
|
-
2: string;
|
|
75
|
-
4: string;
|
|
76
|
-
6: string;
|
|
77
|
-
8: string;
|
|
78
|
-
12: string;
|
|
79
|
-
16: string;
|
|
80
|
-
24: string;
|
|
81
|
-
28: string;
|
|
82
|
-
32: string;
|
|
83
|
-
};
|
|
84
|
-
radii: {
|
|
85
|
-
xs: string;
|
|
86
|
-
sm: string;
|
|
87
|
-
xm: string;
|
|
88
|
-
md: string;
|
|
89
|
-
xl: string;
|
|
90
|
-
lg: string;
|
|
91
|
-
primary: string;
|
|
92
|
-
secondary: string;
|
|
93
|
-
};
|
|
94
|
-
fontSizes: {
|
|
95
|
-
10: string;
|
|
96
|
-
12: string;
|
|
97
|
-
14: string;
|
|
98
|
-
16: string;
|
|
99
|
-
18: string;
|
|
100
|
-
20: string;
|
|
101
|
-
22: string;
|
|
102
|
-
24: string;
|
|
103
|
-
28: string;
|
|
104
|
-
32: string;
|
|
105
|
-
36: string;
|
|
106
|
-
40: string;
|
|
107
|
-
48: string;
|
|
108
|
-
};
|
|
109
|
-
fonts: {
|
|
110
|
-
primary: string;
|
|
111
|
-
widget: string;
|
|
112
|
-
};
|
|
113
|
-
fontWeights: {
|
|
114
|
-
regular: number;
|
|
115
|
-
medium: number;
|
|
116
|
-
semiBold: number;
|
|
117
|
-
bold: number;
|
|
118
|
-
};
|
|
119
|
-
lineHeights: {
|
|
120
|
-
12: string;
|
|
121
|
-
16: string;
|
|
122
|
-
20: string;
|
|
123
|
-
24: string;
|
|
124
|
-
26: string;
|
|
125
|
-
28: string;
|
|
126
|
-
30: string;
|
|
127
|
-
36: string;
|
|
128
|
-
40: string;
|
|
129
|
-
44: string;
|
|
130
|
-
52: string;
|
|
131
|
-
64: string;
|
|
132
|
-
};
|
|
133
|
-
letterSpacings: {};
|
|
134
|
-
sizes: {
|
|
135
|
-
4: string;
|
|
136
|
-
6: string;
|
|
137
|
-
8: string;
|
|
138
|
-
12: string;
|
|
139
|
-
16: string;
|
|
140
|
-
18: string;
|
|
141
|
-
20: string;
|
|
142
|
-
24: string;
|
|
143
|
-
28: string;
|
|
144
|
-
32: string;
|
|
145
|
-
36: string;
|
|
146
|
-
40: string;
|
|
147
|
-
45: string;
|
|
148
|
-
48: string;
|
|
149
|
-
};
|
|
150
|
-
borderWidths: {};
|
|
151
|
-
borderStyles: {};
|
|
152
|
-
shadows: {
|
|
153
|
-
s: string;
|
|
154
|
-
};
|
|
155
|
-
zIndices: {};
|
|
156
|
-
transitions: {};
|
|
157
|
-
}, import("@stitches/react/types/config").DefaultThemeMap, {}>>;
|
|
158
1
|
export declare const QuoteContainer: import("@stitches/react/types/styled-component").StyledComponent<"div", {}, {
|
|
2
|
+
xs: string;
|
|
159
3
|
sm: string;
|
|
160
4
|
md: string;
|
|
161
5
|
lg: string;
|
|
162
6
|
}, import("@stitches/react/types/css-util").CSS<{
|
|
7
|
+
xs: string;
|
|
163
8
|
sm: string;
|
|
164
9
|
md: string;
|
|
165
10
|
lg: string;
|
|
@@ -292,171 +137,14 @@ export declare const QuoteContainer: import("@stitches/react/types/styled-compon
|
|
|
292
137
|
4: string;
|
|
293
138
|
6: string;
|
|
294
139
|
8: string;
|
|
295
|
-
12: string;
|
|
296
|
-
16: string;
|
|
297
|
-
18: string;
|
|
298
|
-
20: string;
|
|
299
|
-
24: string;
|
|
300
|
-
28: string;
|
|
301
|
-
32: string;
|
|
302
|
-
36: string;
|
|
303
|
-
40: string;
|
|
304
|
-
45: string;
|
|
305
|
-
48: string;
|
|
306
|
-
};
|
|
307
|
-
borderWidths: {};
|
|
308
|
-
borderStyles: {};
|
|
309
|
-
shadows: {
|
|
310
|
-
s: string;
|
|
311
|
-
};
|
|
312
|
-
zIndices: {};
|
|
313
|
-
transitions: {};
|
|
314
|
-
}, import("@stitches/react/types/config").DefaultThemeMap, {}>>;
|
|
315
|
-
export declare const SkeletonContainer: import("@stitches/react/types/styled-component").StyledComponent<"div", {
|
|
316
|
-
paddingTop?: boolean | "true" | undefined;
|
|
317
|
-
}, {
|
|
318
|
-
sm: string;
|
|
319
|
-
md: string;
|
|
320
|
-
lg: string;
|
|
321
|
-
}, import("@stitches/react/types/css-util").CSS<{
|
|
322
|
-
sm: string;
|
|
323
|
-
md: string;
|
|
324
|
-
lg: string;
|
|
325
|
-
}, {
|
|
326
|
-
colors: {
|
|
327
|
-
primary: string;
|
|
328
|
-
primary500: string;
|
|
329
|
-
primary600: string;
|
|
330
|
-
secondary: string;
|
|
331
|
-
secondary100: string;
|
|
332
|
-
secondary200: string;
|
|
333
|
-
secondary300: string;
|
|
334
|
-
secondary400: string;
|
|
335
|
-
secondary500: string;
|
|
336
|
-
secondary600: string;
|
|
337
|
-
secondary700: string;
|
|
338
|
-
secondary800: string;
|
|
339
|
-
secondary900: string;
|
|
340
|
-
neutral: string;
|
|
341
|
-
neutral100: string;
|
|
342
|
-
neutral200: string;
|
|
343
|
-
neutral300: string;
|
|
344
|
-
neutral400: string;
|
|
345
|
-
neutral500: string;
|
|
346
|
-
neutral600: string;
|
|
347
|
-
neutral700: string;
|
|
348
|
-
neutral800: string;
|
|
349
|
-
neutral900: string;
|
|
350
|
-
error100: string;
|
|
351
|
-
error300: string;
|
|
352
|
-
error500: string;
|
|
353
|
-
error600: string;
|
|
354
|
-
error700: string;
|
|
355
|
-
warning100: string;
|
|
356
|
-
warning300: string;
|
|
357
|
-
warning500: string;
|
|
358
|
-
warning600: string;
|
|
359
|
-
warning700: string;
|
|
360
|
-
info: string;
|
|
361
|
-
info100: string;
|
|
362
|
-
info300: string;
|
|
363
|
-
info500: string;
|
|
364
|
-
info600: string;
|
|
365
|
-
info700: string;
|
|
366
|
-
success100: string;
|
|
367
|
-
success300: string;
|
|
368
|
-
success500: string;
|
|
369
|
-
success600: string;
|
|
370
|
-
success700: string;
|
|
371
|
-
background: string;
|
|
372
|
-
foreground: string;
|
|
373
|
-
};
|
|
374
|
-
space: {
|
|
375
|
-
0: string;
|
|
376
|
-
5: string;
|
|
377
140
|
10: string;
|
|
378
|
-
15: string;
|
|
379
|
-
20: string;
|
|
380
|
-
25: string;
|
|
381
|
-
30: string;
|
|
382
|
-
40: string;
|
|
383
|
-
46: string;
|
|
384
|
-
50: string;
|
|
385
|
-
60: string;
|
|
386
|
-
70: string;
|
|
387
|
-
80: string;
|
|
388
|
-
90: string;
|
|
389
|
-
100: string;
|
|
390
|
-
2: string;
|
|
391
|
-
4: string;
|
|
392
|
-
6: string;
|
|
393
|
-
8: string;
|
|
394
141
|
12: string;
|
|
395
142
|
16: string;
|
|
396
|
-
24: string;
|
|
397
|
-
28: string;
|
|
398
|
-
32: string;
|
|
399
|
-
};
|
|
400
|
-
radii: {
|
|
401
|
-
xs: string;
|
|
402
|
-
sm: string;
|
|
403
|
-
xm: string;
|
|
404
|
-
md: string;
|
|
405
|
-
xl: string;
|
|
406
|
-
lg: string;
|
|
407
|
-
primary: string;
|
|
408
|
-
secondary: string;
|
|
409
|
-
};
|
|
410
|
-
fontSizes: {
|
|
411
|
-
10: string;
|
|
412
|
-
12: string;
|
|
413
|
-
14: string;
|
|
414
|
-
16: string;
|
|
415
143
|
18: string;
|
|
416
144
|
20: string;
|
|
417
|
-
22: string;
|
|
418
|
-
24: string;
|
|
419
|
-
28: string;
|
|
420
|
-
32: string;
|
|
421
|
-
36: string;
|
|
422
|
-
40: string;
|
|
423
|
-
48: string;
|
|
424
|
-
};
|
|
425
|
-
fonts: {
|
|
426
|
-
primary: string;
|
|
427
|
-
widget: string;
|
|
428
|
-
};
|
|
429
|
-
fontWeights: {
|
|
430
|
-
regular: number;
|
|
431
|
-
medium: number;
|
|
432
|
-
semiBold: number;
|
|
433
|
-
bold: number;
|
|
434
|
-
};
|
|
435
|
-
lineHeights: {
|
|
436
|
-
12: string;
|
|
437
|
-
16: string;
|
|
438
|
-
20: string;
|
|
439
145
|
24: string;
|
|
440
|
-
26: string;
|
|
441
146
|
28: string;
|
|
442
147
|
30: string;
|
|
443
|
-
36: string;
|
|
444
|
-
40: string;
|
|
445
|
-
44: string;
|
|
446
|
-
52: string;
|
|
447
|
-
64: string;
|
|
448
|
-
};
|
|
449
|
-
letterSpacings: {};
|
|
450
|
-
sizes: {
|
|
451
|
-
4: string;
|
|
452
|
-
6: string;
|
|
453
|
-
8: string;
|
|
454
|
-
12: string;
|
|
455
|
-
16: string;
|
|
456
|
-
18: string;
|
|
457
|
-
20: string;
|
|
458
|
-
24: string;
|
|
459
|
-
28: string;
|
|
460
148
|
32: string;
|
|
461
149
|
36: string;
|
|
462
150
|
40: string;
|
|
@@ -472,10 +160,12 @@ export declare const SkeletonContainer: import("@stitches/react/types/styled-com
|
|
|
472
160
|
transitions: {};
|
|
473
161
|
}, import("@stitches/react/types/config").DefaultThemeMap, {}>>;
|
|
474
162
|
export declare const FooterStepAlarm: import("@stitches/react/types/styled-component").StyledComponent<"div", {}, {
|
|
163
|
+
xs: string;
|
|
475
164
|
sm: string;
|
|
476
165
|
md: string;
|
|
477
166
|
lg: string;
|
|
478
167
|
}, import("@stitches/react/types/css-util").CSS<{
|
|
168
|
+
xs: string;
|
|
479
169
|
sm: string;
|
|
480
170
|
md: string;
|
|
481
171
|
lg: string;
|
|
@@ -608,12 +298,14 @@ export declare const FooterStepAlarm: import("@stitches/react/types/styled-compo
|
|
|
608
298
|
4: string;
|
|
609
299
|
6: string;
|
|
610
300
|
8: string;
|
|
301
|
+
10: string;
|
|
611
302
|
12: string;
|
|
612
303
|
16: string;
|
|
613
304
|
18: string;
|
|
614
305
|
20: string;
|
|
615
306
|
24: string;
|
|
616
307
|
28: string;
|
|
308
|
+
30: string;
|
|
617
309
|
32: string;
|
|
618
310
|
36: string;
|
|
619
311
|
40: string;
|
|
@@ -629,10 +321,12 @@ export declare const FooterStepAlarm: import("@stitches/react/types/styled-compo
|
|
|
629
321
|
transitions: {};
|
|
630
322
|
}, import("@stitches/react/types/config").DefaultThemeMap, {}>>;
|
|
631
323
|
export declare const FooterAlert: import("@stitches/react/types/styled-component").StyledComponent<"div", {}, {
|
|
324
|
+
xs: string;
|
|
632
325
|
sm: string;
|
|
633
326
|
md: string;
|
|
634
327
|
lg: string;
|
|
635
328
|
}, import("@stitches/react/types/css-util").CSS<{
|
|
329
|
+
xs: string;
|
|
636
330
|
sm: string;
|
|
637
331
|
md: string;
|
|
638
332
|
lg: string;
|
|
@@ -765,12 +459,14 @@ export declare const FooterAlert: import("@stitches/react/types/styled-component
|
|
|
765
459
|
4: string;
|
|
766
460
|
6: string;
|
|
767
461
|
8: string;
|
|
462
|
+
10: string;
|
|
768
463
|
12: string;
|
|
769
464
|
16: string;
|
|
770
465
|
18: string;
|
|
771
466
|
20: string;
|
|
772
467
|
24: string;
|
|
773
468
|
28: string;
|
|
469
|
+
30: string;
|
|
774
470
|
32: string;
|
|
775
471
|
36: string;
|
|
776
472
|
40: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QuoteInfo.styles.d.ts","sourceRoot":"","sources":["../../../src/containers/QuoteInfo/QuoteInfo.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"QuoteInfo.styles.d.ts","sourceRoot":"","sources":["../../../src/containers/QuoteInfo/QuoteInfo.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAKzB,CAAC;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAE1B,CAAC;AAEH,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAGtB,CAAC"}
|
|
@@ -9,12 +9,5 @@ export type PropTypes = {
|
|
|
9
9
|
warning: QuoteWarning | null;
|
|
10
10
|
autoScrollOnExpanding?: boolean;
|
|
11
11
|
expanded?: boolean;
|
|
12
|
-
alertPosition?: 'top' | 'bottom';
|
|
13
|
-
refetchQuote: () => void;
|
|
14
|
-
showWarningModal: boolean;
|
|
15
|
-
onOpenWarningModal: () => void;
|
|
16
|
-
onCloseWarningModal: () => void;
|
|
17
|
-
onConfirmWarningModal: () => void;
|
|
18
|
-
onChangeSettings: () => void;
|
|
19
12
|
};
|
|
20
13
|
//# sourceMappingURL=QuoteInfo.types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QuoteInfo.types.d.ts","sourceRoot":"","sources":["../../../src/containers/QuoteInfo/QuoteInfo.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AACrE,OAAO,KAAK,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAC5D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAEnD,MAAM,MAAM,SAAS,GAAG;IACtB,KAAK,EAAE,iBAAiB,GAAG,IAAI,CAAC;IAChC,IAAI,EAAE,UAAU,CAAC,MAAM,CAAC,CAAC;IACzB,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,UAAU,GAAG,IAAI,CAAC;IACzB,OAAO,EAAE,YAAY,GAAG,IAAI,CAAC;IAC7B,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,QAAQ,CAAC,EAAE,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"QuoteInfo.types.d.ts","sourceRoot":"","sources":["../../../src/containers/QuoteInfo/QuoteInfo.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AACrE,OAAO,KAAK,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAC5D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAEnD,MAAM,MAAM,SAAS,GAAG;IACtB,KAAK,EAAE,iBAAiB,GAAG,IAAI,CAAC;IAChC,IAAI,EAAE,UAAU,CAAC,MAAM,CAAC,CAAC;IACzB,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,UAAU,GAAG,IAAI,CAAC;IACzB,OAAO,EAAE,YAAY,GAAG,IAAI,CAAC;IAC7B,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Wallets.d.ts","sourceRoot":"","sources":["../../../src/containers/Wallets/Wallets.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,SAAS,EACT,sBAAsB,EACvB,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"Wallets.d.ts","sourceRoot":"","sources":["../../../src/containers/Wallets/Wallets.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,SAAS,EACT,sBAAsB,EACvB,MAAM,iBAAiB,CAAC;AAKzB,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAI/C,OAAO,KAAqD,MAAM,OAAO,CAAC;AAW1E,eAAO,MAAM,aAAa,uCAIxB,CAAC;AAqGH,wBAAgB,aAAa,CAAC,KAAK,EAAE,iBAAiB,CAAC,SAAS,CAAC,qBAOhE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WidgetInfo.d.ts","sourceRoot":"","sources":["../../../src/containers/WidgetInfo/WidgetInfo.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAGrE,OAAO,KAAoC,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"WidgetInfo.d.ts","sourceRoot":"","sources":["../../../src/containers/WidgetInfo/WidgetInfo.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAGrE,OAAO,KAAoC,MAAM,OAAO,CAAC;AAWzD,eAAO,MAAM,iBAAiB,uDAElB,CAAC;AAEb,wBAAgB,UAAU,CAAC,KAAK,EAAE,KAAK,CAAC,iBAAiB,qBAyCxD;AAED,wBAAgB,SAAS,IAAI,0BAA0B,CAQtD"}
|
|
@@ -2,6 +2,7 @@ import type { WidgetHistory } from './WidgetInfo.helpers';
|
|
|
2
2
|
import type { FetchStatus } from '../../store/slices/data';
|
|
3
3
|
import type { ConnectedWallet } from '../../store/wallets';
|
|
4
4
|
import type { Wallet } from '../../types';
|
|
5
|
+
import type { Notification } from '../../types/notification';
|
|
5
6
|
import type { BlockchainMeta, SwapperMeta, Token } from 'rango-sdk';
|
|
6
7
|
export interface WidgetInfoContextInterface {
|
|
7
8
|
history: WidgetHistory;
|
|
@@ -17,5 +18,9 @@ export interface WidgetInfoContextInterface {
|
|
|
17
18
|
swappers: SwapperMeta[];
|
|
18
19
|
loadingStatus: FetchStatus;
|
|
19
20
|
};
|
|
21
|
+
resetLanguage: () => void;
|
|
22
|
+
notifications: {
|
|
23
|
+
list: Notification[];
|
|
24
|
+
};
|
|
20
25
|
}
|
|
21
26
|
//# sourceMappingURL=WidgetInfo.types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WidgetInfo.types.d.ts","sourceRoot":"","sources":["../../../src/containers/WidgetInfo/WidgetInfo.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAC3D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,KAAK,EAAE,MAAM,WAAW,CAAC;AAEpE,MAAM,WAAW,0BAA0B;IACzC,OAAO,EAAE,aAAa,CAAC;IACvB,OAAO,EAAE;QACP,OAAO,EAAE,eAAe,EAAE,CAAC;QAC3B,YAAY,EAAE,MAAM,CAAC;QACrB,SAAS,EAAE,OAAO,CAAC;QACnB,OAAO,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,IAAI,CAAC;KACxD,CAAC;IACF,IAAI,EAAE;QACJ,WAAW,EAAE,cAAc,EAAE,CAAC;QAC9B,MAAM,EAAE,KAAK,EAAE,CAAC;QAChB,QAAQ,EAAE,WAAW,EAAE,CAAC;QACxB,aAAa,EAAE,WAAW,CAAC;KAC5B,CAAC;CACH"}
|
|
1
|
+
{"version":3,"file":"WidgetInfo.types.d.ts","sourceRoot":"","sources":["../../../src/containers/WidgetInfo/WidgetInfo.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAC3D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,KAAK,EAAE,MAAM,WAAW,CAAC;AAEpE,MAAM,WAAW,0BAA0B;IACzC,OAAO,EAAE,aAAa,CAAC;IACvB,OAAO,EAAE;QACP,OAAO,EAAE,eAAe,EAAE,CAAC;QAC3B,YAAY,EAAE,MAAM,CAAC;QACrB,SAAS,EAAE,OAAO,CAAC;QACnB,OAAO,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,IAAI,CAAC;KACxD,CAAC;IACF,IAAI,EAAE;QACJ,WAAW,EAAE,cAAc,EAAE,CAAC;QAC9B,MAAM,EAAE,KAAK,EAAE,CAAC;QAChB,QAAQ,EAAE,WAAW,EAAE,CAAC;QACxB,aAAa,EAAE,WAAW,CAAC;KAC5B,CAAC;IACF,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,aAAa,EAAE;QACb,IAAI,EAAE,YAAY,EAAE,CAAC;KACtB,CAAC;CACH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WidgetProvider.d.ts","sourceRoot":"","sources":["../../../src/containers/WidgetProvider/WidgetProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAE/C,OAAO,KAAkB,MAAM,OAAO,CAAC;AAQvC,wBAAgB,cAAc,CAAC,KAAK,EAAE,iBAAiB,CAAC,SAAS,CAAC,
|
|
1
|
+
{"version":3,"file":"WidgetProvider.d.ts","sourceRoot":"","sources":["../../../src/containers/WidgetProvider/WidgetProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAE/C,OAAO,KAAkB,MAAM,OAAO,CAAC;AAQvC,wBAAgB,cAAc,CAAC,KAAK,EAAE,iBAAiB,CAAC,SAAS,CAAC,qBAiBjE"}
|
|
@@ -4,7 +4,8 @@ interface UseLanguage {
|
|
|
4
4
|
languages: LanguageItem[];
|
|
5
5
|
defaultLanguage: Language;
|
|
6
6
|
activeLanguage: Language;
|
|
7
|
-
changeLanguage: (language?: Language) => void;
|
|
7
|
+
changeLanguage: (language?: Language | null) => void;
|
|
8
|
+
resetLanguage: () => void;
|
|
8
9
|
}
|
|
9
10
|
export declare function useLanguage(): UseLanguage;
|
|
10
11
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useLanguage.d.ts","sourceRoot":"","sources":["../../src/hooks/useLanguage.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAE3D,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,eAAe,CAAC;AAK9C,UAAU,WAAW;IACnB,SAAS,EAAE,YAAY,EAAE,CAAC;IAC1B,eAAe,EAAE,QAAQ,CAAC;IAC1B,cAAc,EAAE,QAAQ,CAAC;IACzB,cAAc,EAAE,CAAC,QAAQ,CAAC,EAAE,QAAQ,KAAK,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"useLanguage.d.ts","sourceRoot":"","sources":["../../src/hooks/useLanguage.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAE3D,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,eAAe,CAAC;AAK9C,UAAU,WAAW;IACnB,SAAS,EAAE,YAAY,EAAE,CAAC;IAC1B,eAAe,EAAE,QAAQ,CAAC;IAC1B,cAAc,EAAE,QAAQ,CAAC;IACzB,cAAc,EAAE,CAAC,QAAQ,CAAC,EAAE,QAAQ,GAAG,IAAI,KAAK,IAAI,CAAC;IACrD,aAAa,EAAE,MAAM,IAAI,CAAC;CAC3B;AAED,wBAAgB,WAAW,IAAI,WAAW,CAYzC"}
|
|
@@ -2,7 +2,7 @@ import type { PrepareListOptions, PrepareOutput } from './usePrepareBlockchainLi
|
|
|
2
2
|
import type { BlockchainMeta } from 'rango-sdk';
|
|
3
3
|
export declare function prepare(blockchains: BlockchainMeta[], preferredBlockchains: string[], options?: PrepareListOptions): PrepareOutput;
|
|
4
4
|
/** There is a hardcoded list of blockchains that we want to show them first in the list. */
|
|
5
|
-
export declare function sortByMostUsedBlockchains(a: BlockchainMeta, b: BlockchainMeta):
|
|
6
|
-
export declare function generateSortByPreferredBlockchainsFor(preferredBlockchains: string[]): (a: BlockchainMeta, b: BlockchainMeta) =>
|
|
5
|
+
export declare function sortByMostUsedBlockchains(a: BlockchainMeta, b: BlockchainMeta): 0 | 1 | -1;
|
|
6
|
+
export declare function generateSortByPreferredBlockchainsFor(preferredBlockchains: string[]): (a: BlockchainMeta, b: BlockchainMeta) => 0 | 1 | -1;
|
|
7
7
|
export declare function isInVisibleList(blockchain: string, prepareOutput: PrepareOutput): boolean;
|
|
8
8
|
//# sourceMappingURL=usePrepareBlockchainList.helpers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useSwapInput.d.ts","sourceRoot":"","sources":["../../src/hooks/useSwapInput.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AA6BzD,KAAK,YAAY,GAAG;IAClB,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,UAAU,GAAG,IAAI,CAAC;IACzB,OAAO,EAAE,YAAY,GAAG,IAAI,CAAC;CAC9B,CAAC;AAEF;;;GAGG;AACH,wBAAgB,YAAY,IAAI,YAAY,
|
|
1
|
+
{"version":3,"file":"useSwapInput.d.ts","sourceRoot":"","sources":["../../src/hooks/useSwapInput.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AA6BzD,KAAK,YAAY,GAAG;IAClB,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,UAAU,GAAG,IAAI,CAAC;IACzB,OAAO,EAAE,YAAY,GAAG,IAAI,CAAC;CAC9B,CAAC;AAEF;;;GAGG;AACH,wBAAgB,YAAY,IAAI,YAAY,CA4K3C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useSyncStoresWithConfig.d.ts","sourceRoot":"","sources":["../../src/hooks/useSyncStoresWithConfig.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useSyncStoresWithConfig.d.ts","sourceRoot":"","sources":["../../src/hooks/useSyncStoresWithConfig.ts"],"names":[],"mappings":"AAYA,wBAAgB,uBAAuB,SAwItC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { WidgetProps } from './containers/Widget';
|
|
2
2
|
import type { ConnectedWallet } from './store/wallets';
|
|
3
|
-
import type { BlockchainAndTokenConfig, WidgetColors, WidgetColorsKeys, WidgetConfig, WidgetTheme } from './types';
|
|
4
|
-
import type {
|
|
3
|
+
import type { BlockchainAndTokenConfig, Tokens, WidgetColors, WidgetColorsKeys, WidgetConfig, WidgetTheme } from './types';
|
|
4
|
+
import type { PendingSwapWithQueueID, Route, RouteEvent, RouteExecutionEvents, RouteFailedEvent, RouteStartedEvent, RouteSucceededEvent, Step, StepApprovalTxSucceededEvent, StepCheckStatusEvent, StepEvent, StepFailedEvent, StepOutputRevealedEvent, StepStartedEvent, StepSucceededEvent, StepTxExecutionBlockedEvent, StepTxExecutionUpdatedEvent } from '@rango-dev/queue-manager-rango-preset';
|
|
5
5
|
import type { EventHandler as HandleWalletsUpdate, ProviderInterface } from '@rango-dev/wallets-react';
|
|
6
6
|
import type { WalletInfo, WalletState, WalletType } from '@rango-dev/wallets-shared';
|
|
7
7
|
import type { PendingSwap, PendingSwapStep } from 'rango-types';
|
|
8
|
-
import { MainEvents, RouteEventType, StepEventType, StepExecutionBlockedEventStatus, StepExecutionEventStatus, useEvents as useWidgetEvents } from '@rango-dev/queue-manager-rango-preset';
|
|
8
|
+
import { EventSeverity, MainEvents, RouteEventType, StepEventType, StepExecutionBlockedEventStatus, StepExecutionEventStatus, useEvents as useWidgetEvents } from '@rango-dev/queue-manager-rango-preset';
|
|
9
9
|
import { readAccountAddress, useWallets, Events as WalletEvents } from '@rango-dev/wallets-react';
|
|
10
10
|
import { Networks, WalletTypes } from '@rango-dev/wallets-shared';
|
|
11
11
|
import { PendingSwapNetworkStatus } from 'rango-types';
|
|
@@ -14,12 +14,12 @@ import { Widget } from './containers/Widget';
|
|
|
14
14
|
import { useWidget } from './containers/WidgetInfo';
|
|
15
15
|
import { WidgetProvider } from './containers/WidgetProvider';
|
|
16
16
|
import { customizedThemeTokens } from './utils/ui';
|
|
17
|
-
export type { WidgetConfig, WalletType, WidgetTheme, WidgetColors, WidgetColorsKeys, ProviderInterface, BlockchainAndTokenConfig, WidgetProps, RouteEvent, StepEvent, Route, Step, RouteStartedEvent, RouteSucceededEvent, RouteFailedEvent, StepStartedEvent, StepSucceededEvent, StepFailedEvent, StepTxExecutionUpdatedEvent, StepTxExecutionBlockedEvent, StepCheckStatusEvent, StepApprovalTxSucceededEvent, StepOutputRevealedEvent, HandleWalletsUpdate, ConnectedWallet, };
|
|
17
|
+
export type { WidgetConfig, WalletType, WidgetTheme, WidgetColors, WidgetColorsKeys, ProviderInterface, BlockchainAndTokenConfig, WidgetProps, RouteEvent, StepEvent, Route, Step, RouteStartedEvent, RouteSucceededEvent, RouteFailedEvent, StepStartedEvent, StepSucceededEvent, StepFailedEvent, StepTxExecutionUpdatedEvent, StepTxExecutionBlockedEvent, StepCheckStatusEvent, StepApprovalTxSucceededEvent, StepOutputRevealedEvent, HandleWalletsUpdate, ConnectedWallet, Tokens, };
|
|
18
18
|
export { Widget,
|
|
19
19
|
/**
|
|
20
20
|
* @deprecated Use `WidgetProvider` instead. This component will be removed in future versions.
|
|
21
21
|
*/
|
|
22
22
|
WidgetWallets, WidgetProvider, useWidget, useWallets, useWidgetEvents, customizedThemeTokens, MainEvents, RouteEventType, StepEventType, StepExecutionEventStatus, StepExecutionBlockedEventStatus, };
|
|
23
|
-
export type { WalletState, WalletInfo, PendingSwap, PendingSwapWithQueueID, PendingSwapStep, RouteExecutionEvents,
|
|
24
|
-
export { readAccountAddress, Networks, WalletEvents, WalletTypes, PendingSwapNetworkStatus, };
|
|
23
|
+
export type { WalletState, WalletInfo, PendingSwap, PendingSwapWithQueueID, PendingSwapStep, RouteExecutionEvents, };
|
|
24
|
+
export { readAccountAddress, Networks, WalletEvents, WalletTypes, PendingSwapNetworkStatus, EventSeverity, };
|
|
25
25
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,KAAK,EACV,wBAAwB,EACxB,YAAY,EACZ,gBAAgB,EAChB,YAAY,EACZ,WAAW,EACZ,MAAM,SAAS,CAAC;AACjB,OAAO,KAAK,EACV,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,KAAK,EACV,wBAAwB,EACxB,MAAM,EACN,YAAY,EACZ,gBAAgB,EAChB,YAAY,EACZ,WAAW,EACZ,MAAM,SAAS,CAAC;AACjB,OAAO,KAAK,EACV,sBAAsB,EACtB,KAAK,EACL,UAAU,EACV,oBAAoB,EACpB,gBAAgB,EAChB,iBAAiB,EACjB,mBAAmB,EACnB,IAAI,EACJ,4BAA4B,EAC5B,oBAAoB,EACpB,SAAS,EACT,eAAe,EACf,uBAAuB,EACvB,gBAAgB,EAChB,kBAAkB,EAClB,2BAA2B,EAC3B,2BAA2B,EAC5B,MAAM,uCAAuC,CAAC;AAC/C,OAAO,KAAK,EACV,YAAY,IAAI,mBAAmB,EACnC,iBAAiB,EAClB,MAAM,0BAA0B,CAAC;AAClC,OAAO,KAAK,EACV,UAAU,EACV,WAAW,EACX,UAAU,EACX,MAAM,2BAA2B,CAAC;AACnC,OAAO,KAAK,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEhE,OAAO,EACL,aAAa,EACb,UAAU,EACV,cAAc,EACd,aAAa,EACb,+BAA+B,EAC/B,wBAAwB,EACxB,SAAS,IAAI,eAAe,EAC7B,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EACL,kBAAkB,EAClB,UAAU,EACV,MAAM,IAAI,YAAY,EACvB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAClE,OAAO,EAAE,wBAAwB,EAAE,MAAM,aAAa,CAAC;AAEvD,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAC7D,OAAO,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAEnD,YAAY,EACV,YAAY,EACZ,UAAU,EACV,WAAW,EACX,YAAY,EACZ,gBAAgB,EAChB,iBAAiB,EACjB,wBAAwB,EACxB,WAAW,EACX,UAAU,EACV,SAAS,EACT,KAAK,EACL,IAAI,EACJ,iBAAiB,EACjB,mBAAmB,EACnB,gBAAgB,EAChB,gBAAgB,EAChB,kBAAkB,EAClB,eAAe,EACf,2BAA2B,EAC3B,2BAA2B,EAC3B,oBAAoB,EACpB,4BAA4B,EAC5B,uBAAuB,EACvB,mBAAmB,EACnB,eAAe,EACf,MAAM,GACP,CAAC;AACF,OAAO,EACL,MAAM;AACN;;GAEG;AACH,aAAa,EACb,cAAc,EACd,SAAS,EACT,UAAU,EACV,eAAe,EACf,qBAAqB,EACrB,UAAU,EACV,cAAc,EACd,aAAa,EACb,wBAAwB,EACxB,+BAA+B,GAChC,CAAC;AAGF,YAAY,EACV,WAAW,EACX,UAAU,EACV,WAAW,EACX,sBAAsB,EACtB,eAAe,EACf,oBAAoB,GACrB,CAAC;AAGF,OAAO,EACL,kBAAkB,EAClB,QAAQ,EACR,YAAY,EACZ,WAAW,EACX,wBAAwB,EACxB,aAAa,GACd,CAAC"}
|