@rango-dev/widget-embedded 0.12.1-next.8 → 0.13.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 +55 -0
- package/dist/Widget.d.ts.map +1 -1
- package/dist/components/AppRouter.d.ts +5 -2
- package/dist/components/AppRouter.d.ts.map +1 -1
- package/dist/components/AppRoutes.d.ts.map +1 -1
- package/dist/components/BlockchainList/BlockchainList.d.ts.map +1 -1
- package/dist/components/BlockchainList/BlockchainList.helpers.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/BlockchainsSection/BlockchainsSection.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 +1 -1
- package/dist/components/ConfirmWalletsModal/ConfirmWallets.helpers.d.ts.map +1 -1
- package/dist/components/ConfirmWalletsModal/ConfirmWallets.styles.d.ts +94 -17
- 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.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 +25 -284
- package/dist/components/HeaderButtons/HeaderButtons.styles.d.ts.map +1 -1
- package/dist/components/HeaderButtons/HeaderButtons.types.d.ts +1 -0
- 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/UnreadNotificationsBadge.d.ts.map +1 -1
- package/dist/components/HeaderButtons/WalletButton.d.ts.map +1 -1
- package/dist/components/Layout/Layout.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/LoadingSwapDetails/LoadingSwapDetailStep.d.ts +4 -0
- package/dist/components/LoadingSwapDetails/LoadingSwapDetailStep.d.ts.map +1 -0
- package/dist/components/LoadingSwapDetails/LoadingSwapDetails.d.ts +3 -0
- package/dist/components/LoadingSwapDetails/LoadingSwapDetails.d.ts.map +1 -0
- package/dist/components/{SelectableCategoryList/SelectableCategoryList.styles.d.ts → LoadingSwapDetails/LoadingSwapDetails.styles.d.ts} +21 -6
- package/dist/components/LoadingSwapDetails/LoadingSwapDetails.styles.d.ts.map +1 -0
- package/dist/components/LoadingSwapDetails/LoadingSwapDetails.types.d.ts +4 -0
- package/dist/components/LoadingSwapDetails/LoadingSwapDetails.types.d.ts.map +1 -0
- package/dist/components/LoadingSwapDetails/index.d.ts +2 -0
- package/dist/components/LoadingSwapDetails/index.d.ts.map +1 -0
- package/dist/components/NoRoutes/NoRoutes.helper.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.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/SettingsContainer/SettingsContainer.style.d.ts +23 -151
- 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.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.Placeholder.d.ts.map +1 -1
- package/dist/components/SwapDetails/SwapDetails.d.ts.map +1 -1
- package/dist/components/SwapDetails/SwapDetails.helpers.d.ts +2 -9
- 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/SwapDetails/SwapDetails.types.d.ts +1 -1
- package/dist/components/SwapDetails/SwapDetails.types.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/SwapDetailsAlerts/SwapDetailsAlerts.types.d.ts +2 -1
- package/dist/components/SwapDetailsAlerts/SwapDetailsAlerts.types.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 +2 -1
- package/dist/components/SwapDetailsModal/SwapDetailsModal.types.d.ts.map +1 -1
- package/dist/components/SwapsGroup/SwapsGroup.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/SwitchFromAndTo.d.ts.map +1 -1
- package/dist/components/TokenList/TokenList.d.ts.map +1 -1
- package/dist/components/TokenList/TokenList.helpers.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/TokenList/TokenList.types.d.ts +1 -1
- package/dist/components/TokenList/TokenList.types.d.ts.map +1 -1
- package/dist/components/UpdateUrl.d.ts +6 -1
- package/dist/components/UpdateUrl.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/components/WidgetEvents.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/constants.d.ts +2 -0
- package/dist/constants.d.ts.map +1 -0
- package/dist/globalStyles.d.ts +1 -1
- package/dist/globalStyles.d.ts.map +1 -1
- package/dist/hooks/useNavigateBack.d.ts.map +1 -1
- package/dist/hooks/usePrepareBlockchainList.d.ts +18 -0
- package/dist/hooks/usePrepareBlockchainList.d.ts.map +1 -0
- package/dist/hooks/useSwapInput.d.ts.map +1 -1
- package/dist/hooks/useSyncStoresWithConfig.d.ts +3 -0
- package/dist/hooks/useSyncStoresWithConfig.d.ts.map +1 -0
- package/dist/hooks/useTheme.d.ts +3 -6
- package/dist/hooks/useTheme.d.ts.map +1 -1
- package/dist/hooks/useWalletProviders.d.ts +3 -3
- package/dist/hooks/useWalletProviders.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/pages/LiquiditySourcePage.d.ts.map +1 -1
- package/dist/pages/SelectBlockchainPage.d.ts +1 -2
- package/dist/pages/SelectBlockchainPage.d.ts.map +1 -1
- package/dist/pages/SelectSwapItemsPage.d.ts +1 -5
- package/dist/pages/SelectSwapItemsPage.d.ts.map +1 -1
- package/dist/pages/SettingsPage.d.ts.map +1 -1
- package/dist/pages/SwapDetailsPage.d.ts.map +1 -1
- package/dist/pages/WalletsPage.d.ts.map +1 -1
- package/dist/services/httpService.d.ts +0 -1
- package/dist/services/httpService.d.ts.map +1 -1
- package/dist/store/app.d.ts +26 -0
- package/dist/store/app.d.ts.map +1 -0
- package/dist/store/bestRoute.d.ts +4 -8
- package/dist/store/bestRoute.d.ts.map +1 -1
- package/dist/store/meta.d.ts +0 -2
- package/dist/store/meta.d.ts.map +1 -1
- package/dist/store/slices/config.d.ts +8 -0
- package/dist/store/slices/config.d.ts.map +1 -0
- package/dist/store/slices/data.d.ts +26 -0
- package/dist/store/slices/data.d.ts.map +1 -0
- package/dist/store/wallets.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/common.d.ts +1 -0
- package/dist/utils/common.d.ts.map +1 -1
- package/dist/utils/configs.d.ts +5 -0
- package/dist/utils/configs.d.ts.map +1 -1
- package/dist/utils/meta.d.ts +1 -0
- package/dist/utils/meta.d.ts.map +1 -1
- package/dist/utils/numbers.d.ts +3 -1
- package/dist/utils/numbers.d.ts.map +1 -1
- package/dist/utils/routing.d.ts +6 -3
- package/dist/utils/routing.d.ts.map +1 -1
- package/dist/utils/settings.d.ts +1 -0
- package/dist/utils/settings.d.ts.map +1 -1
- package/dist/utils/swap.d.ts +1 -1
- package/dist/utils/swap.d.ts.map +1 -1
- package/dist/utils/time.d.ts +2 -2
- package/dist/utils/time.d.ts.map +1 -1
- package/dist/utils/wallets.d.ts +1 -1
- package/dist/utils/wallets.d.ts.map +1 -1
- package/package.json +8 -8
- package/readme.md +2 -0
- package/src/Widget.tsx +22 -3
- package/src/components/AppRouter.tsx +38 -7
- package/src/components/AppRoutes.tsx +4 -28
- package/src/components/BlockchainList/BlockchainList.helpers.ts +1 -1
- package/src/components/BlockchainList/BlockchainList.styles.ts +6 -5
- package/src/components/BlockchainList/BlockchainList.tsx +6 -9
- package/src/components/BlockchainsSection/BlockchainsSection.tsx +29 -42
- package/src/components/ConfirmWalletsModal/ConfirmWallets.helpers.ts +33 -7
- package/src/components/ConfirmWalletsModal/ConfirmWallets.styles.ts +48 -7
- package/src/components/ConfirmWalletsModal/ConfirmWalletsModal.tsx +59 -16
- package/src/components/ConfirmWalletsModal/WalletList.tsx +66 -22
- package/src/components/HeaderButtons/HeaderButtons.styles.ts +2 -2
- package/src/components/HeaderButtons/HeaderButtons.types.ts +1 -0
- package/src/components/HeaderButtons/HomeButtons.tsx +18 -5
- package/src/components/HeaderButtons/UnreadNotificationsBadge.tsx +1 -2
- package/src/components/HeaderButtons/WalletButton.tsx +4 -1
- package/src/components/Layout/Layout.styles.ts +5 -3
- package/src/components/Layout/Layout.tsx +5 -20
- package/src/components/LoadingSwapDetails/LoadingSwapDetailStep.tsx +41 -0
- package/src/components/LoadingSwapDetails/LoadingSwapDetails.styles.ts +78 -0
- package/src/components/LoadingSwapDetails/LoadingSwapDetails.tsx +53 -0
- package/src/components/LoadingSwapDetails/LoadingSwapDetails.types.ts +3 -0
- package/src/components/LoadingSwapDetails/index.ts +1 -0
- package/src/components/NoRoutes/NoRoutes.helper.ts +4 -2
- package/src/components/NotificationContent/NotificationContent.tsx +3 -7
- 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 +42 -14
- package/src/components/SettingsContainer/SettingsContainer.style.ts +2 -7
- package/src/components/SettingsContainer/index.ts +0 -1
- package/src/components/Slippage/Slippage.tsx +6 -2
- package/src/components/Slippage/SlippageTooltipContent.tsx +1 -1
- package/src/components/SwapDetails/SwapDetails.Placeholder.tsx +52 -16
- package/src/components/SwapDetails/SwapDetails.helpers.tsx +19 -33
- package/src/components/SwapDetails/SwapDetails.styles.ts +10 -14
- package/src/components/SwapDetails/SwapDetails.tsx +143 -101
- package/src/components/SwapDetails/SwapDetails.types.ts +1 -1
- package/src/components/SwapDetailsAlerts/SwapDetailsAlerts.types.ts +5 -4
- package/src/components/SwapDetailsModal/SwapDetailsModal.WalletState.tsx +6 -7
- package/src/components/SwapDetailsModal/SwapDetailsModal.tsx +3 -0
- package/src/components/SwapDetailsModal/SwapDetailsModal.types.ts +2 -1
- package/src/components/SwapsGroup/SwapsGroup.tsx +3 -2
- package/src/components/SwitchFromAndTo.tsx +1 -35
- package/src/components/TokenList/TokenList.helpers.ts +6 -8
- package/src/components/TokenList/TokenList.styles.ts +7 -1
- package/src/components/TokenList/TokenList.tsx +29 -23
- package/src/components/TokenList/TokenList.types.ts +1 -1
- package/src/components/UpdateUrl.tsx +7 -1
- package/src/components/WidgetEvents.tsx +9 -3
- package/src/constants/errors.ts +2 -2
- package/src/constants/routing.ts +17 -2
- package/src/constants.ts +1 -0
- package/src/globalStyles.ts +1 -4
- package/src/hooks/useFetchBestRoute.ts +2 -2
- package/src/hooks/useNavigateBack.ts +10 -0
- package/src/hooks/usePrepareBlockchainList.ts +125 -0
- package/src/hooks/useSwapInput.ts +17 -3
- package/src/hooks/useSyncStoresWithConfig.ts +102 -0
- package/src/hooks/useTheme.ts +37 -75
- package/src/hooks/useWalletProviders.ts +7 -7
- package/src/pages/ConfirmSwapPage.tsx +65 -36
- package/src/pages/HistoryPage.tsx +2 -2
- package/src/pages/Home.tsx +114 -50
- package/src/pages/LanguagePage.tsx +1 -1
- package/src/pages/LiquiditySourcePage.tsx +22 -18
- package/src/pages/SelectBlockchainPage.tsx +19 -20
- package/src/pages/SelectSwapItemsPage.tsx +66 -88
- package/src/pages/SettingsPage.tsx +42 -15
- package/src/pages/SwapDetailsPage.tsx +9 -2
- package/src/pages/ThemePage.tsx +1 -1
- package/src/pages/WalletsPage.tsx +11 -5
- package/src/services/httpService.ts +4 -5
- package/src/store/app.ts +15 -0
- package/src/store/bestRoute.ts +45 -71
- package/src/store/meta.ts +11 -29
- package/src/store/slices/config.ts +26 -0
- package/src/store/slices/data.ts +203 -0
- package/src/store/wallets.ts +0 -27
- package/src/types/config.ts +3 -0
- package/src/utils/common.ts +3 -0
- package/src/utils/configs.ts +8 -2
- package/src/utils/meta.ts +7 -0
- package/src/utils/numbers.ts +3 -2
- package/src/utils/routing.ts +76 -14
- package/src/utils/settings.ts +15 -0
- package/src/utils/swap.ts +82 -26
- package/src/utils/time.ts +69 -36
- package/src/utils/wallets.ts +49 -29
- package/dist/components/BlockchainsChip/BlockchainsChip.d.ts +0 -5
- package/dist/components/BlockchainsChip/BlockchainsChip.d.ts.map +0 -1
- package/dist/components/BlockchainsChip/BlockchainsChip.styles.d.ts +0 -151
- package/dist/components/BlockchainsChip/BlockchainsChip.styles.d.ts.map +0 -1
- package/dist/components/BlockchainsChip/BlockchainsChip.types.d.ts +0 -6
- package/dist/components/BlockchainsChip/BlockchainsChip.types.d.ts.map +0 -1
- package/dist/components/BlockchainsChip/index.d.ts +0 -2
- package/dist/components/BlockchainsChip/index.d.ts.map +0 -1
- package/dist/components/BlockchainsSection/BlockchainSection.helpers.d.ts +0 -3
- package/dist/components/BlockchainsSection/BlockchainSection.helpers.d.ts.map +0 -1
- package/dist/components/SelectableCategoryList/SelectableCategoryList.d.ts +0 -4
- package/dist/components/SelectableCategoryList/SelectableCategoryList.d.ts.map +0 -1
- package/dist/components/SelectableCategoryList/SelectableCategoryList.helpers.d.ts +0 -4
- package/dist/components/SelectableCategoryList/SelectableCategoryList.helpers.d.ts.map +0 -1
- package/dist/components/SelectableCategoryList/SelectableCategoryList.styles.d.ts.map +0 -1
- package/dist/components/SelectableCategoryList/SelectableCategoryList.types.d.ts +0 -12
- package/dist/components/SelectableCategoryList/SelectableCategoryList.types.d.ts.map +0 -1
- package/dist/components/SelectableCategoryList/index.d.ts +0 -2
- package/dist/components/SelectableCategoryList/index.d.ts.map +0 -1
- package/src/components/BlockchainsChip/BlockchainsChip.styles.ts +0 -30
- package/src/components/BlockchainsChip/BlockchainsChip.tsx +0 -15
- package/src/components/BlockchainsChip/BlockchainsChip.types.ts +0 -4
- package/src/components/BlockchainsChip/index.ts +0 -1
- package/src/components/BlockchainsSection/BlockchainSection.helpers.ts +0 -20
- package/src/components/SelectableCategoryList/SelectableCategoryList.helpers.ts +0 -20
- package/src/components/SelectableCategoryList/SelectableCategoryList.styles.ts +0 -21
- package/src/components/SelectableCategoryList/SelectableCategoryList.tsx +0 -79
- package/src/components/SelectableCategoryList/SelectableCategoryList.types.ts +0 -12
- package/src/components/SelectableCategoryList/index.ts +0 -1
|
@@ -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"}
|
|
@@ -4,12 +4,12 @@ export interface TokenWithBalance extends Token {
|
|
|
4
4
|
amount: string;
|
|
5
5
|
usdValue: string;
|
|
6
6
|
};
|
|
7
|
-
pin?: boolean;
|
|
8
7
|
}
|
|
9
8
|
export interface PropTypes {
|
|
10
9
|
list: TokenWithBalance[];
|
|
11
10
|
searchedFor?: string;
|
|
12
11
|
onChange: (token: TokenWithBalance) => void;
|
|
12
|
+
selectedBlockchain?: string;
|
|
13
13
|
}
|
|
14
14
|
export interface LoadingTokenListProps {
|
|
15
15
|
size: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TokenList.types.d.ts","sourceRoot":"","sources":["../../../src/components/TokenList/TokenList.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,WAAW,CAAC;AAEvC,MAAM,WAAW,gBAAiB,SAAQ,KAAK;IAC7C,OAAO,CAAC,EAAE;QACR,MAAM,EAAE,MAAM,CAAC;QACf,QAAQ,EAAE,MAAM,CAAC;KAClB,CAAC;
|
|
1
|
+
{"version":3,"file":"TokenList.types.d.ts","sourceRoot":"","sources":["../../../src/components/TokenList/TokenList.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,WAAW,CAAC;AAEvC,MAAM,WAAW,gBAAiB,SAAQ,KAAK;IAC7C,OAAO,CAAC,EAAE;QACR,MAAM,EAAE,MAAM,CAAC;QACf,QAAQ,EAAE,MAAM,CAAC;KAClB,CAAC;CACH;AAED,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,gBAAgB,EAAE,CAAC;IACzB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,CAAC,KAAK,EAAE,gBAAgB,KAAK,IAAI,CAAC;IAC5C,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED,MAAM,WAAW,qBAAqB;IACpC,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,eAAe;IAC9B,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,gBAAgB,CAAC;IACxB,eAAe,EAAE,MAAM,CAAC;IACxB,oBAAoB,EAAE,QAAQ,CAAC;CAChC;AAED,KAAK,MAAM,GAAG;IACZ,CAAC,CAAC,EAAE,MAAM,GACN,MAAM,GACN;QACE,OAAO,EAAE,MAAM,CAAC;KACjB,CAAC;IACN,OAAO,EAAE,MAAM,CAAC;IAChB,eAAe,EAAE,MAAM,CAAC;CACzB,CAAC;AACF,KAAK,QAAQ,GAAG;IACd,CAAC,CAAC,EAAE,MAAM,GACN,MAAM,GACN;QACE,OAAO,EAAE,MAAM,CAAC;KACjB,CAAC;IACN,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;CACf,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpdateUrl.d.ts","sourceRoot":"","sources":["../../src/components/UpdateUrl.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"UpdateUrl.d.ts","sourceRoot":"","sources":["../../src/components/UpdateUrl.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAiB7C,KAAK,KAAK,GAAG;IAAE,MAAM,EAAE,YAAY,GAAG,SAAS,CAAA;CAAE,CAAC;AAElD,wBAAgB,SAAS,CAAC,KAAK,EAAE,KAAK,QAqIrC"}
|
|
@@ -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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WidgetEvents.d.ts","sourceRoot":"","sources":["../../src/components/WidgetEvents.tsx"],"names":[],"mappings":"AAcA,wBAAgB,YAAY,
|
|
1
|
+
{"version":3,"file":"WidgetEvents.d.ts","sourceRoot":"","sources":["../../src/components/WidgetEvents.tsx"],"names":[],"mappings":"AAcA,wBAAgB,YAAY,SA8D3B"}
|
|
@@ -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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,oBAAoB,yCAAyC,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":"useNavigateBack.d.ts","sourceRoot":"","sources":["../../src/hooks/useNavigateBack.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useNavigateBack.d.ts","sourceRoot":"","sources":["../../src/hooks/useNavigateBack.ts"],"names":[],"mappings":"AAKA,wBAAgB,eAAe;qCAOW,MAAM;EA0C/C"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { BlockchainMeta } from 'rango-sdk';
|
|
2
|
+
interface PrepareListOptions {
|
|
3
|
+
limit?: number;
|
|
4
|
+
selected?: string;
|
|
5
|
+
}
|
|
6
|
+
interface PrepareListOutput {
|
|
7
|
+
list: BlockchainMeta[];
|
|
8
|
+
more: BlockchainMeta[];
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
*
|
|
12
|
+
* UI needs some specific logics like limiting the list and sorting,
|
|
13
|
+
* this function is getting the raw blockchains list and return a list for showing in UI.
|
|
14
|
+
*
|
|
15
|
+
*/
|
|
16
|
+
export declare function usePrepareBlockchainList(blockchains: BlockchainMeta[], options?: PrepareListOptions): PrepareListOutput;
|
|
17
|
+
export {};
|
|
18
|
+
//# sourceMappingURL=usePrepareBlockchainList.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"usePrepareBlockchainList.d.ts","sourceRoot":"","sources":["../../src/hooks/usePrepareBlockchainList.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAIhD,UAAU,kBAAkB;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,UAAU,iBAAiB;IACzB,IAAI,EAAE,cAAc,EAAE,CAAC;IACvB,IAAI,EAAE,cAAc,EAAE,CAAC;CACxB;AAED;;;;;GAKG;AACH,wBAAgB,wBAAwB,CACtC,WAAW,EAAE,cAAc,EAAE,EAC7B,OAAO,CAAC,EAAE,kBAAkB,GAC3B,iBAAiB,CAgEnB"}
|
|
@@ -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,CA4F3C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useSyncStoresWithConfig.d.ts","sourceRoot":"","sources":["../../src/hooks/useSyncStoresWithConfig.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAU7C,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,YAAY,GAAG,SAAS,QA2FvE"}
|
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"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import type { WidgetConfig } from '../types';
|
|
2
|
+
import type { ProvidersOptions } from '../utils/providers';
|
|
3
|
+
import type { ProviderInterface } from '@rango-dev/wallets-react';
|
|
4
4
|
export declare function useWalletProviders(providers: WidgetConfig['wallets'], options?: ProvidersOptions): {
|
|
5
5
|
providers: ProviderInterface[];
|
|
6
6
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useWalletProviders.d.ts","sourceRoot":"","sources":["../../src/hooks/useWalletProviders.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"useWalletProviders.d.ts","sourceRoot":"","sources":["../../src/hooks/useWalletProviders.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAOlE,wBAAgB,kBAAkB,CAChC,SAAS,EAAE,YAAY,CAAC,SAAS,CAAC,EAClC,OAAO,CAAC,EAAE,gBAAgB;;EAkB3B"}
|