@rango-dev/widget-embedded 0.12.1-next.9 → 0.14.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 +4 -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 +3 -1
- 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,15 +1,8 @@
|
|
|
1
1
|
import type { GetStep } from '../SwapDetailsAlerts';
|
|
2
2
|
import type { PendingSwapStep } from '@rango-dev/queue-manager-rango-preset';
|
|
3
|
-
import type {
|
|
4
|
-
import type BigNumber from 'bignumber.js';
|
|
5
|
-
export declare const LOW_PRICE_IMPACT = 3;
|
|
6
|
-
export declare const HIGHT_PRICE_IMPACT = 10;
|
|
3
|
+
import type { Step, StepDetailsProps } from '@rango-dev/ui';
|
|
7
4
|
export declare const RESET_INTERVAL = 2000;
|
|
8
|
-
export declare const MIN_DECIMALS = 0;
|
|
9
|
-
export declare const AMOUNT_DECIMALS = 4;
|
|
10
|
-
export declare const PERCENT_DECIMALS = 2;
|
|
11
5
|
export declare const SECONDS = 60;
|
|
12
|
-
export declare const getSteps: ({ swap, ...args }: GetStep) => Step[];
|
|
13
|
-
export declare const getPriceImpactWarningLevel: (priceImpact: BigNumber | null) => PriceImpactWarningLevel | undefined;
|
|
6
|
+
export declare const getSteps: ({ swap, blockchains, ...args }: GetStep) => Step[];
|
|
14
7
|
export declare function getStepState(step: PendingSwapStep): StepDetailsProps['state'];
|
|
15
8
|
//# sourceMappingURL=SwapDetails.helpers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SwapDetails.helpers.d.ts","sourceRoot":"","sources":["../../../src/components/SwapDetails/SwapDetails.helpers.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AAC7E,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"SwapDetails.helpers.d.ts","sourceRoot":"","sources":["../../../src/components/SwapDetails/SwapDetails.helpers.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AAC7E,OAAO,KAAK,EAAE,IAAI,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAa5D,eAAO,MAAM,cAAc,OAAQ,CAAC;AACpC,eAAO,MAAM,OAAO,KAAK,CAAC;AAE1B,eAAO,MAAM,QAAQ,mCAAoC,OAAO,KAAG,IAAI,EA8CtE,CAAC;AAEF,wBAAgB,YAAY,CAAC,IAAI,EAAE,eAAe,GAAG,gBAAgB,CAAC,OAAO,CAAC,CAqB7E"}
|
|
@@ -84,6 +84,8 @@ export declare const Container: import("@stitches/react/types/styled-component")
|
|
|
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,155 +102,10 @@ export declare const Container: import("@stitches/react/types/styled-component")
|
|
|
100
102
|
40: string;
|
|
101
103
|
48: string;
|
|
102
104
|
};
|
|
103
|
-
fonts: {
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
medium: number;
|
|
107
|
-
semiBold: number;
|
|
108
|
-
bold: number;
|
|
109
|
-
};
|
|
110
|
-
lineHeights: {
|
|
111
|
-
12: string;
|
|
112
|
-
16: string;
|
|
113
|
-
20: string;
|
|
114
|
-
24: string;
|
|
115
|
-
26: string;
|
|
116
|
-
28: string;
|
|
117
|
-
30: string;
|
|
118
|
-
36: string;
|
|
119
|
-
40: string;
|
|
120
|
-
44: string;
|
|
121
|
-
52: string;
|
|
122
|
-
64: string;
|
|
123
|
-
};
|
|
124
|
-
letterSpacings: {};
|
|
125
|
-
sizes: {
|
|
126
|
-
4: string;
|
|
127
|
-
6: string;
|
|
128
|
-
8: string;
|
|
129
|
-
12: string;
|
|
130
|
-
16: string;
|
|
131
|
-
18: string;
|
|
132
|
-
20: string;
|
|
133
|
-
24: string;
|
|
134
|
-
28: string;
|
|
135
|
-
32: string;
|
|
136
|
-
36: string;
|
|
137
|
-
40: string;
|
|
138
|
-
45: string;
|
|
139
|
-
48: string;
|
|
140
|
-
};
|
|
141
|
-
borderWidths: {};
|
|
142
|
-
borderStyles: {};
|
|
143
|
-
shadows: {
|
|
144
|
-
s: string;
|
|
145
|
-
};
|
|
146
|
-
zIndices: {};
|
|
147
|
-
transitions: {};
|
|
148
|
-
}, import("@stitches/react/types/config").DefaultThemeMap, {}>>;
|
|
149
|
-
export declare const Separator: import("@stitches/react/types/styled-component").StyledComponent<"div", {}, {
|
|
150
|
-
sm: string;
|
|
151
|
-
md: string;
|
|
152
|
-
lg: string;
|
|
153
|
-
}, import("@stitches/react/types/css-util").CSS<{
|
|
154
|
-
sm: string;
|
|
155
|
-
md: string;
|
|
156
|
-
lg: string;
|
|
157
|
-
}, {
|
|
158
|
-
colors: {
|
|
159
|
-
primary500: string;
|
|
160
|
-
primary600: string;
|
|
161
|
-
secondary100: string;
|
|
162
|
-
secondary200: string;
|
|
163
|
-
secondary300: string;
|
|
164
|
-
secondary400: string;
|
|
165
|
-
secondary500: string;
|
|
166
|
-
secondary600: string;
|
|
167
|
-
secondary700: string;
|
|
168
|
-
secondary800: string;
|
|
169
|
-
secondary900: string;
|
|
170
|
-
neutral100: string;
|
|
171
|
-
neutral200: string;
|
|
172
|
-
neutral300: string;
|
|
173
|
-
neutral400: string;
|
|
174
|
-
neutral500: string;
|
|
175
|
-
neutral600: string;
|
|
176
|
-
neutral700: string;
|
|
177
|
-
neutral800: string;
|
|
178
|
-
neutral900: string;
|
|
179
|
-
error100: string;
|
|
180
|
-
error300: string;
|
|
181
|
-
error500: string;
|
|
182
|
-
error600: string;
|
|
183
|
-
error700: string;
|
|
184
|
-
warning100: string;
|
|
185
|
-
warning300: string;
|
|
186
|
-
warning500: string;
|
|
187
|
-
warning600: string;
|
|
188
|
-
warning700: string;
|
|
189
|
-
info100: string;
|
|
190
|
-
info300: string;
|
|
191
|
-
info500: string;
|
|
192
|
-
info600: string;
|
|
193
|
-
info700: string;
|
|
194
|
-
success100: string;
|
|
195
|
-
success300: string;
|
|
196
|
-
success500: string;
|
|
197
|
-
success600: string;
|
|
198
|
-
success700: string;
|
|
199
|
-
background: string;
|
|
200
|
-
foreground: string;
|
|
105
|
+
fonts: {
|
|
106
|
+
primary: string;
|
|
107
|
+
widget: string;
|
|
201
108
|
};
|
|
202
|
-
space: {
|
|
203
|
-
0: string;
|
|
204
|
-
5: string;
|
|
205
|
-
10: string;
|
|
206
|
-
15: string;
|
|
207
|
-
20: string;
|
|
208
|
-
25: string;
|
|
209
|
-
30: string;
|
|
210
|
-
40: string;
|
|
211
|
-
46: string;
|
|
212
|
-
50: string;
|
|
213
|
-
60: string;
|
|
214
|
-
70: string;
|
|
215
|
-
80: string;
|
|
216
|
-
90: string;
|
|
217
|
-
100: string;
|
|
218
|
-
2: string;
|
|
219
|
-
4: string;
|
|
220
|
-
6: string;
|
|
221
|
-
8: string;
|
|
222
|
-
12: string;
|
|
223
|
-
16: string;
|
|
224
|
-
24: string;
|
|
225
|
-
28: string;
|
|
226
|
-
32: string;
|
|
227
|
-
};
|
|
228
|
-
radii: {
|
|
229
|
-
xs: string;
|
|
230
|
-
sm: string;
|
|
231
|
-
xm: string;
|
|
232
|
-
md: string;
|
|
233
|
-
xl: string;
|
|
234
|
-
lg: string;
|
|
235
|
-
};
|
|
236
|
-
fontSizes: {
|
|
237
|
-
10: string;
|
|
238
|
-
12: string;
|
|
239
|
-
14: string;
|
|
240
|
-
16: string;
|
|
241
|
-
18: string;
|
|
242
|
-
20: string;
|
|
243
|
-
22: string;
|
|
244
|
-
24: string;
|
|
245
|
-
28: string;
|
|
246
|
-
32: string;
|
|
247
|
-
36: string;
|
|
248
|
-
40: string;
|
|
249
|
-
48: string;
|
|
250
|
-
};
|
|
251
|
-
fonts: {};
|
|
252
109
|
fontWeights: {
|
|
253
110
|
regular: number;
|
|
254
111
|
medium: number;
|
|
@@ -380,6 +237,8 @@ export declare const HeaderDetails: import("@stitches/react/types/styled-compone
|
|
|
380
237
|
md: string;
|
|
381
238
|
xl: string;
|
|
382
239
|
lg: string;
|
|
240
|
+
primary: string;
|
|
241
|
+
secondary: string;
|
|
383
242
|
};
|
|
384
243
|
fontSizes: {
|
|
385
244
|
10: string;
|
|
@@ -396,7 +255,10 @@ export declare const HeaderDetails: import("@stitches/react/types/styled-compone
|
|
|
396
255
|
40: string;
|
|
397
256
|
48: string;
|
|
398
257
|
};
|
|
399
|
-
fonts: {
|
|
258
|
+
fonts: {
|
|
259
|
+
primary: string;
|
|
260
|
+
widget: string;
|
|
261
|
+
};
|
|
400
262
|
fontWeights: {
|
|
401
263
|
regular: number;
|
|
402
264
|
medium: number;
|
|
@@ -528,6 +390,8 @@ export declare const StepsList: import("@stitches/react/types/styled-component")
|
|
|
528
390
|
md: string;
|
|
529
391
|
xl: string;
|
|
530
392
|
lg: string;
|
|
393
|
+
primary: string;
|
|
394
|
+
secondary: string;
|
|
531
395
|
};
|
|
532
396
|
fontSizes: {
|
|
533
397
|
10: string;
|
|
@@ -544,7 +408,10 @@ export declare const StepsList: import("@stitches/react/types/styled-component")
|
|
|
544
408
|
40: string;
|
|
545
409
|
48: string;
|
|
546
410
|
};
|
|
547
|
-
fonts: {
|
|
411
|
+
fonts: {
|
|
412
|
+
primary: string;
|
|
413
|
+
widget: string;
|
|
414
|
+
};
|
|
548
415
|
fontWeights: {
|
|
549
416
|
regular: number;
|
|
550
417
|
medium: number;
|
|
@@ -676,6 +543,8 @@ export declare const Alerts: import("@stitches/react/types/styled-component").St
|
|
|
676
543
|
md: string;
|
|
677
544
|
xl: string;
|
|
678
545
|
lg: string;
|
|
546
|
+
primary: string;
|
|
547
|
+
secondary: string;
|
|
679
548
|
};
|
|
680
549
|
fontSizes: {
|
|
681
550
|
10: string;
|
|
@@ -692,7 +561,10 @@ export declare const Alerts: import("@stitches/react/types/styled-component").St
|
|
|
692
561
|
40: string;
|
|
693
562
|
48: string;
|
|
694
563
|
};
|
|
695
|
-
fonts: {
|
|
564
|
+
fonts: {
|
|
565
|
+
primary: string;
|
|
566
|
+
widget: string;
|
|
567
|
+
};
|
|
696
568
|
fontWeights: {
|
|
697
569
|
regular: number;
|
|
698
570
|
medium: number;
|
|
@@ -824,6 +696,8 @@ export declare const PlaceholderContainer: import("@stitches/react/types/styled-
|
|
|
824
696
|
md: string;
|
|
825
697
|
xl: string;
|
|
826
698
|
lg: string;
|
|
699
|
+
primary: string;
|
|
700
|
+
secondary: string;
|
|
827
701
|
};
|
|
828
702
|
fontSizes: {
|
|
829
703
|
10: string;
|
|
@@ -840,7 +714,10 @@ export declare const PlaceholderContainer: import("@stitches/react/types/styled-
|
|
|
840
714
|
40: string;
|
|
841
715
|
48: string;
|
|
842
716
|
};
|
|
843
|
-
fonts: {
|
|
717
|
+
fonts: {
|
|
718
|
+
primary: string;
|
|
719
|
+
widget: string;
|
|
720
|
+
};
|
|
844
721
|
fontWeights: {
|
|
845
722
|
regular: number;
|
|
846
723
|
medium: number;
|
|
@@ -972,6 +849,8 @@ export declare const LoaderContainer: import("@stitches/react/types/styled-compo
|
|
|
972
849
|
md: string;
|
|
973
850
|
xl: string;
|
|
974
851
|
lg: string;
|
|
852
|
+
primary: string;
|
|
853
|
+
secondary: string;
|
|
975
854
|
};
|
|
976
855
|
fontSizes: {
|
|
977
856
|
10: string;
|
|
@@ -988,7 +867,10 @@ export declare const LoaderContainer: import("@stitches/react/types/styled-compo
|
|
|
988
867
|
40: string;
|
|
989
868
|
48: string;
|
|
990
869
|
};
|
|
991
|
-
fonts: {
|
|
870
|
+
fonts: {
|
|
871
|
+
primary: string;
|
|
872
|
+
widget: string;
|
|
873
|
+
};
|
|
992
874
|
fontWeights: {
|
|
993
875
|
regular: number;
|
|
994
876
|
medium: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SwapDetails.styles.d.ts","sourceRoot":"","sources":["../../../src/components/SwapDetails/SwapDetails.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"SwapDetails.styles.d.ts","sourceRoot":"","sources":["../../../src/components/SwapDetails/SwapDetails.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAuCpB,CAAC;AAEH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAExB,CAAC;AAEH,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAIpB,CAAC;AACH,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAIjB,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAK/B,CAAC;AAEH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAM1B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SwapDetails.types.d.ts","sourceRoot":"","sources":["../../../src/components/SwapDetails/SwapDetails.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE/C,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,WAAW,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,EAAE,MAAM,IAAI,CAAC;CACtB;AACD,MAAM,WAAW,+BAA+B;IAC9C,SAAS,EAAE,MAAM,CAAC;IAClB,
|
|
1
|
+
{"version":3,"file":"SwapDetails.types.d.ts","sourceRoot":"","sources":["../../../src/components/SwapDetails/SwapDetails.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE/C,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,WAAW,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,EAAE,MAAM,IAAI,CAAC;CACtB;AACD,MAAM,WAAW,+BAA+B;IAC9C,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,OAAO,CAAC;CACvB"}
|
|
@@ -84,6 +84,8 @@ export declare const Alerts: import("@stitches/react/types/styled-component").St
|
|
|
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 Alerts: import("@stitches/react/types/styled-component").St
|
|
|
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;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SwapDetailsAlerts.styles.d.ts","sourceRoot":"","sources":["../../../src/components/SwapDetailsAlerts/SwapDetailsAlerts.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM
|
|
1
|
+
{"version":3,"file":"SwapDetailsAlerts.styles.d.ts","sourceRoot":"","sources":["../../../src/components/SwapDetailsAlerts/SwapDetailsAlerts.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAIjB,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { getSwapMessages } from '../../utils/swap';
|
|
2
2
|
import type { ModalState } from '../SwapDetailsModal';
|
|
3
3
|
import type { ConnectResult } from '@rango-dev/wallets-react';
|
|
4
|
-
import type { PendingSwap, PendingSwapNetworkStatus, PendingSwapStep } from 'rango-types';
|
|
4
|
+
import type { BlockchainMeta, PendingSwap, PendingSwapNetworkStatus, PendingSwapStep } from 'rango-types';
|
|
5
5
|
export interface SwapAlertsProps extends WaningAlertsProps {
|
|
6
6
|
step: PendingSwapStep;
|
|
7
7
|
hasAlreadyProceededToSign?: boolean;
|
|
@@ -16,5 +16,6 @@ export interface FailedAlertsProps {
|
|
|
16
16
|
}
|
|
17
17
|
export type GetStep = {
|
|
18
18
|
swap: PendingSwap;
|
|
19
|
+
blockchains: BlockchainMeta[];
|
|
19
20
|
} & Omit<SwapAlertsProps, 'step' | 'hasAlreadyProceededToSign'>;
|
|
20
21
|
//# sourceMappingURL=SwapDetailsAlerts.types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SwapDetailsAlerts.types.d.ts","sourceRoot":"","sources":["../../../src/components/SwapDetailsAlerts/SwapDetailsAlerts.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACxD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,KAAK,EACV,WAAW,EACX,wBAAwB,EACxB,eAAe,EAChB,MAAM,aAAa,CAAC;AAErB,MAAM,WAAW,eAAgB,SAAQ,iBAAiB;IACxD,IAAI,EAAE,eAAe,CAAC;IACtB,yBAAyB,CAAC,EAAE,OAAO,CAAC;CACrC;AAED,MAAM,WAAW,iBAAkB,SAAQ,iBAAiB;IAC1D,aAAa,EAAE,CAAC,MAAM,OAAO,CAAC,aAAa,CAAC,CAAC,GAAG,SAAS,CAAC;IAC1D,gBAAgB,EAAE,wBAAwB,GAAG,IAAI,GAAG,SAAS,CAAC;IAC9D,eAAe,EAAE,CAAC,OAAO,EAAE,UAAU,KAAK,IAAI,CAAC;CAChD;AAED,MAAM,WAAW,iBAAiB;IAChC,OAAO,EAAE,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC;CAC7C;AAED,MAAM,MAAM,OAAO,GAAG;
|
|
1
|
+
{"version":3,"file":"SwapDetailsAlerts.types.d.ts","sourceRoot":"","sources":["../../../src/components/SwapDetailsAlerts/SwapDetailsAlerts.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACxD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,KAAK,EACV,cAAc,EACd,WAAW,EACX,wBAAwB,EACxB,eAAe,EAChB,MAAM,aAAa,CAAC;AAErB,MAAM,WAAW,eAAgB,SAAQ,iBAAiB;IACxD,IAAI,EAAE,eAAe,CAAC;IACtB,yBAAyB,CAAC,EAAE,OAAO,CAAC;CACrC;AAED,MAAM,WAAW,iBAAkB,SAAQ,iBAAiB;IAC1D,aAAa,EAAE,CAAC,MAAM,OAAO,CAAC,aAAa,CAAC,CAAC,GAAG,SAAS,CAAC;IAC1D,gBAAgB,EAAE,wBAAwB,GAAG,IAAI,GAAG,SAAS,CAAC;IAC9D,eAAe,EAAE,CAAC,OAAO,EAAE,UAAU,KAAK,IAAI,CAAC;CAChD;AAED,MAAM,WAAW,iBAAiB;IAChC,OAAO,EAAE,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC;CAC7C;AAED,MAAM,MAAM,OAAO,GAAG;IACpB,IAAI,EAAE,WAAW,CAAC;IAClB,WAAW,EAAE,cAAc,EAAE,CAAC;CAC/B,GAAG,IAAI,CAAC,eAAe,EAAE,MAAM,GAAG,2BAA2B,CAAC,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { WalletStateContentProps } from './SwapDetailsModal.types';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
export declare const WalletStateContent: (
|
|
3
|
+
export declare const WalletStateContent: (props: WalletStateContentProps) => React.JSX.Element;
|
|
4
4
|
//# sourceMappingURL=SwapDetailsModal.WalletState.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SwapDetailsModal.WalletState.d.ts","sourceRoot":"","sources":["../../../src/components/SwapDetailsModal/SwapDetailsModal.WalletState.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,0BAA0B,CAAC;AAIxE,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"SwapDetailsModal.WalletState.d.ts","sourceRoot":"","sources":["../../../src/components/SwapDetailsModal/SwapDetailsModal.WalletState.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,0BAA0B,CAAC;AAIxE,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,eAAO,MAAM,kBAAkB,UAAW,uBAAuB,sBAuBhE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SwapDetailsModal.d.ts","sourceRoot":"","sources":["../../../src/components/SwapDetailsModal/SwapDetailsModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAI/D,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,cAAc,
|
|
1
|
+
{"version":3,"file":"SwapDetailsModal.d.ts","sourceRoot":"","sources":["../../../src/components/SwapDetailsModal/SwapDetailsModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAI/D,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,cAAc,qBAiCrD"}
|
|
@@ -84,6 +84,8 @@ export declare const WalletContainer: import("@stitches/react/types/styled-compo
|
|
|
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 WalletContainer: import("@stitches/react/types/styled-compo
|
|
|
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;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SwapDetailsModal.styles.d.ts","sourceRoot":"","sources":["../../../src/components/SwapDetailsModal/SwapDetailsModal.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,eAAe
|
|
1
|
+
{"version":3,"file":"SwapDetailsModal.styles.d.ts","sourceRoot":"","sources":["../../../src/components/SwapDetailsModal/SwapDetailsModal.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAG1B,CAAC"}
|
|
@@ -16,7 +16,7 @@ export interface ModalPropTypes {
|
|
|
16
16
|
export interface CompleteModalPropTypes {
|
|
17
17
|
open: boolean;
|
|
18
18
|
onClose: () => void;
|
|
19
|
-
status: 'success' | 'failed'
|
|
19
|
+
status: 'success' | 'failed';
|
|
20
20
|
priceValue: string;
|
|
21
21
|
usdValue: string;
|
|
22
22
|
percentageChange: string;
|
|
@@ -38,6 +38,7 @@ export interface ModalNetworkValueTypes {
|
|
|
38
38
|
export interface WalletStateContentProps extends ModalNetworkValueTypes {
|
|
39
39
|
currentStepWallet: WalletTypeAndAddress | null;
|
|
40
40
|
message: string;
|
|
41
|
+
showWalletButton: boolean;
|
|
41
42
|
}
|
|
42
43
|
export type CancelContentProps = Pick<ModalPropTypes, 'onClose' | 'onCancel'>;
|
|
43
44
|
export type DeleteContentProps = Pick<ModalPropTypes, 'onClose' | 'onDelete'>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SwapDetailsModal.types.d.ts","sourceRoot":"","sources":["../../../src/components/SwapDetailsModal/SwapDetailsModal.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,uCAAuC,CAAC;AACtF,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAE5D,MAAM,MAAM,UAAU,GAClB,OAAO,CAAC,wBAAwB,EAAE,wBAAwB,CAAC,eAAe,CAAC,GAC3E,QAAQ,GACR,QAAQ,GACR,IAAI,CAAC;AACT,KAAK,oBAAoB,GAAG;IAC1B,UAAU,EAAE,UAAU,CAAC;IACvB,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AACF,MAAM,WAAW,cAAc;IAC7B,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,KAAK,EAAE,UAAU,CAAC;IAClB,iBAAiB,EAAE,oBAAoB,GAAG,IAAI,CAAC;IAC/C,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,sBAAsB;IACrC,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,MAAM,EAAE,SAAS,GAAG,QAAQ,
|
|
1
|
+
{"version":3,"file":"SwapDetailsModal.types.d.ts","sourceRoot":"","sources":["../../../src/components/SwapDetailsModal/SwapDetailsModal.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,uCAAuC,CAAC;AACtF,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAE5D,MAAM,MAAM,UAAU,GAClB,OAAO,CAAC,wBAAwB,EAAE,wBAAwB,CAAC,eAAe,CAAC,GAC3E,QAAQ,GACR,QAAQ,GACR,IAAI,CAAC;AACT,KAAK,oBAAoB,GAAG;IAC1B,UAAU,EAAE,UAAU,CAAC;IACvB,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AACF,MAAM,WAAW,cAAc;IAC7B,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,KAAK,EAAE,UAAU,CAAC;IAClB,iBAAiB,EAAE,oBAAoB,GAAG,IAAI,CAAC;IAC/C,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,sBAAsB;IACrC,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,MAAM,EAAE,SAAS,GAAG,QAAQ,CAAC;IAC7B,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,gBAAgB,EAAE,MAAM,CAAC;IACzB,KAAK,EAAE;QACL,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;IACF,KAAK,EAAE;QACL,WAAW,EAAE,MAAM,CAAC;QACpB,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;IACF,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC9B;AAED,MAAM,WAAW,sBAAsB;IACrC,IAAI,EAAE,SAAS,GAAG,SAAS,GAAG,SAAS,CAAC;IACxC,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,uBAAwB,SAAQ,sBAAsB;IACrE,iBAAiB,EAAE,oBAAoB,GAAG,IAAI,CAAC;IAC/C,OAAO,EAAE,MAAM,CAAC;IAChB,gBAAgB,EAAE,OAAO,CAAC;CAC3B;AAED,MAAM,MAAM,kBAAkB,GAAG,IAAI,CAAC,cAAc,EAAE,SAAS,GAAG,UAAU,CAAC,CAAC;AAE9E,MAAM,MAAM,kBAAkB,GAAG,IAAI,CAAC,cAAc,EAAE,SAAS,GAAG,UAAU,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SwapsGroup.d.ts","sourceRoot":"","sources":["../../../src/components/SwapsGroup/SwapsGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"SwapsGroup.d.ts","sourceRoot":"","sources":["../../../src/components/SwapsGroup/SwapsGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAIpD,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,wBAAgB,UAAU,CAAC,KAAK,EAAE,SAAS,qBAmH1C"}
|
|
@@ -84,6 +84,8 @@ export declare const Group: import("@stitches/react/types/styled-component").Sty
|
|
|
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 Group: import("@stitches/react/types/styled-component").Sty
|
|
|
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 Time: import("@stitches/react/types/styled-component").Styl
|
|
|
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 Time: import("@stitches/react/types/styled-component").Styl
|
|
|
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 SwapList: import("@stitches/react/types/styled-component").
|
|
|
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 SwapList: import("@stitches/react/types/styled-component").
|
|
|
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 NotFoundContainer: import("@stitches/react/types/styled-com
|
|
|
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 NotFoundContainer: import("@stitches/react/types/styled-com
|
|
|
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":"SwapsGroup.styles.d.ts","sourceRoot":"","sources":["../../../src/components/SwapsGroup/SwapsGroup.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK
|
|
1
|
+
{"version":3,"file":"SwapsGroup.styles.d.ts","sourceRoot":"","sources":["../../../src/components/SwapsGroup/SwapsGroup.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAIhB,CAAC;AAEH,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAIf,CAAC;AAEH,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAInB,CAAC;AAEH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAK5B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SwitchFromAndTo.d.ts","sourceRoot":"","sources":["../../src/components/SwitchFromAndTo.tsx"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"SwitchFromAndTo.d.ts","sourceRoot":"","sources":["../../src/components/SwitchFromAndTo.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AA2B1B,wBAAgB,qBAAqB,sBAapC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TokenList.d.ts","sourceRoot":"","sources":["../../../src/components/TokenList/TokenList.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,SAAS,EAGV,MAAM,mBAAmB,CAAC;AAgB3B,OAAO,KAA0C,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"TokenList.d.ts","sourceRoot":"","sources":["../../../src/components/TokenList/TokenList.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,SAAS,EAGV,MAAM,mBAAmB,CAAC;AAgB3B,OAAO,KAA0C,MAAM,OAAO,CAAC;AAgE/D,wBAAgB,SAAS,CAAC,KAAK,EAAE,SAAS,qBA6LzC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TokenList.helpers.d.ts","sourceRoot":"","sources":["../../../src/components/TokenList/TokenList.helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAI1D,eAAO,MAAM,YAAY,SAAU,gBAAgB,EAAE,eAAe,MAAM,
|
|
1
|
+
{"version":3,"file":"TokenList.helpers.d.ts","sourceRoot":"","sources":["../../../src/components/TokenList/TokenList.helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAI1D,eAAO,MAAM,YAAY,SAAU,gBAAgB,EAAE,eAAe,MAAM,uBAMvE,CAAC"}
|