@rango-dev/widget-embedded 0.17.1-next.0 → 0.17.1-next.10
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/QueueManager.d.ts +5 -2
- package/dist/QueueManager.d.ts.map +1 -1
- package/dist/components/AppRouter.d.ts +0 -2
- package/dist/components/AppRouter.d.ts.map +1 -1
- package/dist/components/AppRoutes.d.ts +1 -6
- package/dist/components/AppRoutes.d.ts.map +1 -1
- package/dist/components/ConfirmWalletsModal/ConfirmWallets.helpers.d.ts +1 -3
- package/dist/components/ConfirmWalletsModal/ConfirmWallets.helpers.d.ts.map +1 -1
- package/dist/components/ConfirmWalletsModal/ConfirmWallets.styles.d.ts +1 -1
- package/dist/components/ConfirmWalletsModal/ConfirmWalletsModal.d.ts.map +1 -1
- package/dist/components/ConfirmWalletsModal/ConfirmWalletsModal.types.d.ts +1 -3
- package/dist/components/ConfirmWalletsModal/ConfirmWalletsModal.types.d.ts.map +1 -1
- package/dist/components/ConfirmWalletsModal/WalletList.d.ts.map +1 -1
- package/dist/components/ConfirmWalletsModal/WalletList.type.d.ts +1 -4
- package/dist/components/ConfirmWalletsModal/WalletList.type.d.ts.map +1 -1
- package/dist/components/NoResult/NoResult.d.ts +4 -0
- package/dist/components/NoResult/NoResult.d.ts.map +1 -0
- package/dist/components/NoResult/NoResult.helpers.d.ts +4 -0
- package/dist/components/NoResult/NoResult.helpers.d.ts.map +1 -0
- package/dist/components/{NoRoutes/NoRoutes.styles.d.ts → NoResult/NoResult.styles.d.ts} +1 -1
- package/dist/components/{NoRoutes/NoRoutes.styles.d.ts.map → NoResult/NoResult.styles.d.ts.map} +1 -1
- package/dist/components/{NoRoutes/NoRoutes.types.d.ts → NoResult/NoResult.types.d.ts} +3 -3
- package/dist/components/NoResult/NoResult.types.d.ts.map +1 -0
- package/dist/components/NoResult/index.d.ts +2 -0
- package/dist/components/NoResult/index.d.ts.map +1 -0
- package/dist/components/NotificationContent/NotificationContent.d.ts.map +1 -1
- package/dist/components/Quote/Quote.d.ts +4 -0
- package/dist/components/Quote/Quote.d.ts.map +1 -0
- package/dist/components/Quote/Quote.styles.d.ts +1429 -0
- package/dist/components/Quote/Quote.styles.d.ts.map +1 -0
- package/dist/components/Quote/Quote.types.d.ts +22 -0
- package/dist/components/Quote/Quote.types.d.ts.map +1 -0
- package/dist/components/Quote/QuoteSkeleton.d.ts +4 -0
- package/dist/components/Quote/QuoteSkeleton.d.ts.map +1 -0
- package/dist/components/Quote/QuoteSkeleton.styles.d.ts +319 -0
- package/dist/components/Quote/QuoteSkeleton.styles.d.ts.map +1 -0
- package/dist/components/Quote/QuoteSkeleton.types.d.ts +6 -0
- package/dist/components/Quote/QuoteSkeleton.types.d.ts.map +1 -0
- package/dist/components/Quote/QuoteSummary.d.ts +11 -0
- package/dist/components/Quote/QuoteSummary.d.ts.map +1 -0
- package/dist/components/Quote/QuoteSummary.styles.d.ts +158 -0
- package/dist/components/Quote/QuoteSummary.styles.d.ts.map +1 -0
- package/dist/components/Quote/index.d.ts +4 -0
- package/dist/components/Quote/index.d.ts.map +1 -0
- package/dist/components/QuoteWarningsAndErrors/HighValueLossWarningModal.d.ts +11 -0
- package/dist/components/QuoteWarningsAndErrors/HighValueLossWarningModal.d.ts.map +1 -0
- package/dist/components/QuoteWarningsAndErrors/QuoteErrorsModalItem.d.ts +4 -0
- package/dist/components/QuoteWarningsAndErrors/QuoteErrorsModalItem.d.ts.map +1 -0
- package/dist/components/QuoteWarningsAndErrors/QuoteWarningsAndErrors.d.ts +4 -0
- package/dist/components/QuoteWarningsAndErrors/QuoteWarningsAndErrors.d.ts.map +1 -0
- package/dist/components/QuoteWarningsAndErrors/QuoteWarningsAndErrors.helpers.d.ts +9 -0
- package/dist/components/QuoteWarningsAndErrors/QuoteWarningsAndErrors.helpers.d.ts.map +1 -0
- package/dist/components/{RouteErrors/RouteErrors.styles.d.ts → QuoteWarningsAndErrors/QuoteWarningsAndErrors.styles.d.ts} +1 -1
- package/dist/components/QuoteWarningsAndErrors/QuoteWarningsAndErrors.styles.d.ts.map +1 -0
- package/dist/components/QuoteWarningsAndErrors/QuoteWarningsAndErrors.types.d.ts +22 -0
- package/dist/components/QuoteWarningsAndErrors/QuoteWarningsAndErrors.types.d.ts.map +1 -0
- package/dist/components/QuoteWarningsAndErrors/SlippageWariningModal.d.ts +11 -0
- package/dist/components/QuoteWarningsAndErrors/SlippageWariningModal.d.ts.map +1 -0
- package/dist/components/QuoteWarningsAndErrors/UnknownPriceWarningModal.d.ts +11 -0
- package/dist/components/QuoteWarningsAndErrors/UnknownPriceWarningModal.d.ts.map +1 -0
- package/dist/components/QuoteWarningsAndErrors/index.d.ts +2 -0
- package/dist/components/QuoteWarningsAndErrors/index.d.ts.map +1 -0
- package/dist/components/SwapDetails/SwapDetails.d.ts.map +1 -1
- package/dist/components/TokenList/TokenList.d.ts.map +1 -1
- package/dist/components/UpdateUrl.d.ts +1 -6
- package/dist/components/UpdateUrl.d.ts.map +1 -1
- package/dist/components/WidgetEvents.d.ts.map +1 -1
- package/dist/constants/errors.d.ts +4 -4
- package/dist/constants/errors.d.ts.map +1 -1
- package/dist/constants/messages.d.ts +1 -1
- package/dist/constants/searchParams.d.ts +2 -1
- package/dist/constants/searchParams.d.ts.map +1 -1
- package/dist/constants/warnings.d.ts +2 -2
- package/dist/constants/warnings.d.ts.map +1 -1
- package/dist/containers/App/App.d.ts +3 -0
- package/dist/containers/App/App.d.ts.map +1 -0
- package/dist/containers/App/App.styles.d.ts +158 -0
- package/dist/containers/App/App.styles.d.ts.map +1 -0
- package/dist/containers/App/index.d.ts +2 -0
- package/dist/containers/App/index.d.ts.map +1 -0
- package/dist/containers/QuoteInfo/QuoteInfo.d.ts +4 -0
- package/dist/containers/QuoteInfo/QuoteInfo.d.ts.map +1 -0
- package/dist/containers/QuoteInfo/QuoteInfo.styles.d.ts +472 -0
- package/dist/containers/QuoteInfo/QuoteInfo.styles.d.ts.map +1 -0
- package/dist/containers/QuoteInfo/QuoteInfo.types.d.ts +17 -0
- package/dist/containers/QuoteInfo/QuoteInfo.types.d.ts.map +1 -0
- package/dist/containers/QuoteInfo/index.d.ts +2 -0
- package/dist/containers/QuoteInfo/index.d.ts.map +1 -0
- package/dist/containers/Wallets/Wallets.d.ts +6 -0
- package/dist/containers/Wallets/Wallets.d.ts.map +1 -0
- package/dist/containers/Wallets/Wallets.types.d.ts +11 -0
- package/dist/containers/Wallets/Wallets.types.d.ts.map +1 -0
- package/dist/containers/Wallets/index.d.ts +2 -0
- package/dist/containers/Wallets/index.d.ts.map +1 -0
- package/dist/containers/Widget/Widget.d.ts +5 -0
- package/dist/containers/Widget/Widget.d.ts.map +1 -0
- package/dist/containers/Widget/Widget.types.d.ts +5 -0
- package/dist/containers/Widget/Widget.types.d.ts.map +1 -0
- package/dist/containers/Widget/index.d.ts +3 -0
- package/dist/containers/Widget/index.d.ts.map +1 -0
- package/dist/containers/WidgetInfo/WidgetInfo.d.ts +6 -0
- package/dist/containers/WidgetInfo/WidgetInfo.d.ts.map +1 -0
- package/dist/containers/WidgetInfo/WidgetInfo.types.d.ts +5 -0
- package/dist/containers/WidgetInfo/WidgetInfo.types.d.ts.map +1 -0
- package/dist/containers/WidgetInfo/index.d.ts +2 -0
- package/dist/containers/WidgetInfo/index.d.ts.map +1 -0
- package/dist/containers/WidgetProvider/WidgetProvider.d.ts +5 -0
- package/dist/containers/WidgetProvider/WidgetProvider.d.ts.map +1 -0
- package/dist/containers/WidgetProvider/WidgetProvider.types.d.ts +7 -0
- package/dist/containers/WidgetProvider/WidgetProvider.types.d.ts.map +1 -0
- package/dist/containers/WidgetProvider/index.d.ts +2 -0
- package/dist/containers/WidgetProvider/index.d.ts.map +1 -0
- package/dist/hooks/useConfirmSwap/index.d.ts +2 -0
- package/dist/hooks/useConfirmSwap/index.d.ts.map +1 -0
- package/dist/hooks/useConfirmSwap/useConfirmSwap.d.ts +3 -0
- package/dist/hooks/useConfirmSwap/useConfirmSwap.d.ts.map +1 -0
- package/dist/hooks/useConfirmSwap/useConfirmSwap.helpers.d.ts +16 -0
- package/dist/hooks/useConfirmSwap/useConfirmSwap.helpers.d.ts.map +1 -0
- package/dist/hooks/{useConfirmSwap.d.ts → useConfirmSwap/useConfirmSwap.types.d.ts} +5 -7
- package/dist/hooks/useConfirmSwap/useConfirmSwap.types.d.ts.map +1 -0
- package/dist/hooks/{useFetchBestRoute.d.ts → useFetchQuote.d.ts} +3 -3
- package/dist/hooks/useFetchQuote.d.ts.map +1 -0
- package/dist/hooks/useForceAutoConnect.d.ts +2 -0
- package/dist/hooks/useForceAutoConnect.d.ts.map +1 -0
- package/dist/hooks/usePrepareBlockchainList/usePrepareBlockchainList.helpers.d.ts +2 -2
- package/dist/hooks/useSwapInput.d.ts +4 -2
- package/dist/hooks/useSwapInput.d.ts.map +1 -1
- package/dist/hooks/useSyncStoresWithConfig.d.ts +1 -2
- package/dist/hooks/useSyncStoresWithConfig.d.ts.map +1 -1
- package/dist/hooks/useWalletList.d.ts.map +1 -1
- package/dist/index.d.ts +10 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +4 -4
- package/dist/pages/ConfirmSwapPage.d.ts +1 -6
- package/dist/pages/ConfirmSwapPage.d.ts.map +1 -1
- package/dist/pages/Home.d.ts.map +1 -1
- package/dist/pages/LiquiditySourcePage.d.ts +1 -2
- package/dist/pages/LiquiditySourcePage.d.ts.map +1 -1
- package/dist/pages/SelectBlockchainPage.d.ts.map +1 -1
- package/dist/pages/SettingsPage.d.ts +1 -6
- package/dist/pages/SettingsPage.d.ts.map +1 -1
- package/dist/pages/WalletsPage.d.ts +1 -8
- package/dist/pages/WalletsPage.d.ts.map +1 -1
- package/dist/store/AppStore.d.ts +11 -0
- package/dist/store/AppStore.d.ts.map +1 -0
- package/dist/store/app.d.ts +5 -23
- package/dist/store/app.d.ts.map +1 -1
- package/dist/store/{bestRoute.d.ts → quote.d.ts} +39 -27
- package/dist/store/quote.d.ts.map +1 -0
- package/dist/store/settings.d.ts +3 -2
- package/dist/store/settings.d.ts.map +1 -1
- package/dist/store/slices/config.d.ts +3 -2
- package/dist/store/slices/config.d.ts.map +1 -1
- package/dist/store/slices/data.d.ts +3 -0
- package/dist/store/slices/data.d.ts.map +1 -1
- package/dist/store/wallets.d.ts +5 -4
- package/dist/store/wallets.d.ts.map +1 -1
- package/dist/types/config.d.ts +5 -5
- package/dist/types/config.d.ts.map +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/quote.d.ts +82 -0
- package/dist/types/quote.d.ts.map +1 -0
- package/dist/utils/numbers.d.ts +1 -1
- package/dist/utils/numbers.d.ts.map +1 -1
- package/dist/utils/{routing.d.ts → quote.d.ts} +16 -12
- package/dist/utils/quote.d.ts.map +1 -0
- package/dist/utils/settings.d.ts +3 -2
- package/dist/utils/settings.d.ts.map +1 -1
- package/dist/utils/swap.d.ts +25 -22
- package/dist/utils/swap.d.ts.map +1 -1
- package/dist/utils/wallets.d.ts +2 -2
- package/dist/utils/wallets.d.ts.map +1 -1
- package/package.json +6 -6
- package/src/QueueManager.tsx +17 -17
- package/src/components/AppRouter.tsx +6 -5
- package/src/components/AppRoutes.tsx +6 -39
- package/src/components/BlockchainList/BlockchainList.tsx +4 -4
- package/src/components/BlockchainsSection/BlockchainsSection.tsx +7 -7
- package/src/components/ConfirmWalletsModal/ConfirmWallets.helpers.ts +2 -64
- package/src/components/ConfirmWalletsModal/ConfirmWalletsModal.tsx +28 -40
- package/src/components/ConfirmWalletsModal/ConfirmWalletsModal.types.ts +1 -3
- package/src/components/ConfirmWalletsModal/WalletList.tsx +6 -5
- package/src/components/ConfirmWalletsModal/WalletList.type.ts +1 -4
- package/src/components/LoadingSwapDetails/LoadingSwapDetails.styles.ts +3 -3
- package/src/components/LoadingSwapDetails/LoadingSwapDetails.tsx +6 -6
- package/src/components/{NoRoutes/NoRoutes.helper.ts → NoResult/NoResult.helpers.ts} +16 -9
- package/src/components/{NoRoutes/NoRoutes.styles.ts → NoResult/NoResult.styles.ts} +2 -0
- package/src/components/{NoRoutes/NoRoutes.tsx → NoResult/NoResult.tsx} +10 -12
- package/src/components/{NoRoutes/NoRoutes.types.ts → NoResult/NoResult.types.ts} +3 -2
- package/src/components/NoResult/index.ts +1 -0
- package/src/components/NotificationContent/NotificationContent.tsx +3 -2
- package/src/components/Quote/Quote.styles.ts +212 -0
- package/src/components/Quote/Quote.tsx +345 -0
- package/src/components/Quote/Quote.types.ts +16 -0
- package/src/components/Quote/QuoteSkeleton.styles.ts +110 -0
- package/src/components/Quote/QuoteSkeleton.tsx +108 -0
- package/src/components/Quote/QuoteSkeleton.types.ts +5 -0
- package/src/components/Quote/QuoteSummary.styles.ts +15 -0
- package/src/components/Quote/QuoteSummary.tsx +46 -0
- package/src/components/Quote/index.ts +3 -0
- package/src/components/QuoteWarningsAndErrors/HighValueLossWarningModal.tsx +107 -0
- package/src/components/{RouteErrors/RouteErrorsModalItem.tsx → QuoteWarningsAndErrors/QuoteErrorsModalItem.tsx} +3 -3
- package/src/components/QuoteWarningsAndErrors/QuoteWarningsAndErrors.helpers.ts +67 -0
- package/src/components/QuoteWarningsAndErrors/QuoteWarningsAndErrors.tsx +103 -0
- package/src/components/QuoteWarningsAndErrors/QuoteWarningsAndErrors.types.ts +24 -0
- package/src/components/QuoteWarningsAndErrors/SlippageWariningModal.tsx +77 -0
- package/src/components/QuoteWarningsAndErrors/UnknownPriceWarningModal.tsx +38 -0
- package/src/components/QuoteWarningsAndErrors/index.ts +1 -0
- package/src/components/SwapDetails/SwapDetails.Placeholder.tsx +1 -1
- package/src/components/SwapDetails/SwapDetails.tsx +18 -22
- package/src/components/SwitchFromAndTo.tsx +2 -2
- package/src/components/TokenList/TokenList.tsx +5 -6
- package/src/components/UpdateUrl.tsx +36 -26
- package/src/components/WidgetEvents.tsx +4 -2
- package/src/constants/errors.ts +8 -10
- package/src/constants/messages.ts +1 -1
- package/src/constants/searchParams.ts +1 -0
- package/src/constants/warnings.ts +7 -7
- package/src/containers/App/App.styles.ts +18 -0
- package/src/containers/App/App.tsx +65 -0
- package/src/containers/App/index.ts +1 -0
- package/src/containers/QuoteInfo/QuoteInfo.styles.ts +15 -0
- package/src/containers/QuoteInfo/QuoteInfo.tsx +97 -0
- package/src/containers/QuoteInfo/QuoteInfo.types.ts +17 -0
- package/src/containers/QuoteInfo/index.ts +1 -0
- package/src/{Wallets.tsx → containers/Wallets/Wallets.tsx} +40 -32
- package/src/containers/Wallets/Wallets.types.ts +12 -0
- package/src/containers/Wallets/index.ts +1 -0
- package/src/containers/Widget/Widget.tsx +19 -0
- package/src/containers/Widget/Widget.types.ts +5 -0
- package/src/containers/Widget/index.ts +2 -0
- package/src/containers/WidgetInfo/WidgetInfo.tsx +36 -0
- package/src/containers/WidgetInfo/WidgetInfo.types.ts +5 -0
- package/src/containers/WidgetInfo/index.ts +1 -0
- package/src/containers/WidgetProvider/WidgetProvider.tsx +19 -0
- package/src/containers/WidgetProvider/WidgetProvider.types.ts +7 -0
- package/src/containers/WidgetProvider/index.ts +1 -0
- package/src/hooks/useConfirmSwap/index.ts +1 -0
- package/src/hooks/useConfirmSwap/useConfirmSwap.helpers.ts +168 -0
- package/src/hooks/useConfirmSwap/useConfirmSwap.ts +136 -0
- package/src/hooks/useConfirmSwap/useConfirmSwap.types.ts +19 -0
- package/src/hooks/{useFetchBestRoute.ts → useFetchQuote.ts} +3 -3
- package/src/hooks/useForceAutoConnect.ts +27 -0
- package/src/hooks/useNavigateBack.ts +3 -3
- package/src/hooks/useSwapInput.ts +58 -23
- package/src/hooks/useSyncStoresWithConfig.ts +22 -19
- package/src/hooks/useWalletList.ts +3 -5
- package/src/index.ts +10 -3
- package/src/pages/ConfirmSwapPage.tsx +58 -235
- package/src/pages/HistoryPage.tsx +1 -1
- package/src/pages/Home.tsx +58 -247
- package/src/pages/LanguagePage.tsx +1 -1
- package/src/pages/LiquiditySourcePage.tsx +23 -32
- package/src/pages/SelectBlockchainPage.tsx +6 -7
- package/src/pages/SelectSwapItemsPage.tsx +5 -5
- package/src/pages/SettingsPage.tsx +9 -13
- package/src/pages/SwapDetailsPage.tsx +3 -3
- package/src/pages/ThemePage.tsx +1 -1
- package/src/pages/WalletsPage.tsx +5 -12
- package/src/store/AppStore.tsx +35 -0
- package/src/store/app.ts +18 -6
- package/src/store/{bestRoute.ts → quote.ts} +68 -60
- package/src/store/settings.ts +7 -4
- package/src/store/slices/config.ts +25 -15
- package/src/store/slices/data.ts +64 -29
- package/src/store/wallets.ts +11 -8
- package/src/types/config.ts +5 -5
- package/src/types/index.ts +1 -1
- package/src/types/quote.ts +107 -0
- package/src/utils/numbers.ts +1 -1
- package/src/utils/quote.ts +338 -0
- package/src/utils/settings.ts +8 -7
- package/src/utils/swap.ts +113 -85
- package/src/utils/wallets.ts +29 -17
- package/dist/Wallets.d.ts +0 -17
- package/dist/Wallets.d.ts.map +0 -1
- package/dist/Widget.d.ts +0 -9
- package/dist/Widget.d.ts.map +0 -1
- package/dist/components/NoRoutes/NoRoutes.d.ts +0 -4
- package/dist/components/NoRoutes/NoRoutes.d.ts.map +0 -1
- package/dist/components/NoRoutes/NoRoutes.helper.d.ts +0 -3
- package/dist/components/NoRoutes/NoRoutes.helper.d.ts.map +0 -1
- package/dist/components/NoRoutes/NoRoutes.types.d.ts.map +0 -1
- package/dist/components/NoRoutes/index.d.ts +0 -2
- package/dist/components/NoRoutes/index.d.ts.map +0 -1
- package/dist/components/RouteErrors/RouteErrors.d.ts +0 -4
- package/dist/components/RouteErrors/RouteErrors.d.ts.map +0 -1
- package/dist/components/RouteErrors/RouteErrors.styles.d.ts.map +0 -1
- package/dist/components/RouteErrors/RouteErrors.types.d.ts +0 -24
- package/dist/components/RouteErrors/RouteErrors.types.d.ts.map +0 -1
- package/dist/components/RouteErrors/RouteErrorsModal.d.ts +0 -4
- package/dist/components/RouteErrors/RouteErrorsModal.d.ts.map +0 -1
- package/dist/components/RouteErrors/RouteErrorsModalItem.d.ts +0 -4
- package/dist/components/RouteErrors/RouteErrorsModalItem.d.ts.map +0 -1
- package/dist/components/RouteErrors/index.d.ts +0 -2
- package/dist/components/RouteErrors/index.d.ts.map +0 -1
- package/dist/hooks/useConfirmSwap.d.ts.map +0 -1
- package/dist/hooks/useFetchBestRoute.d.ts.map +0 -1
- package/dist/store/bestRoute.d.ts.map +0 -1
- package/dist/store/meta.d.ts +0 -23
- package/dist/store/meta.d.ts.map +0 -1
- package/dist/types/routing.d.ts +0 -65
- package/dist/types/routing.d.ts.map +0 -1
- package/dist/utils/routing.d.ts.map +0 -1
- package/src/Widget.tsx +0 -119
- package/src/components/NoRoutes/index.ts +0 -1
- package/src/components/RouteErrors/RouteErrors.tsx +0 -79
- package/src/components/RouteErrors/RouteErrors.types.ts +0 -29
- package/src/components/RouteErrors/RouteErrorsModal.tsx +0 -129
- package/src/components/RouteErrors/index.ts +0 -1
- package/src/hooks/useConfirmSwap.ts +0 -303
- package/src/store/meta.ts +0 -39
- package/src/types/routing.ts +0 -77
- package/src/utils/routing.ts +0 -321
- /package/src/components/{RouteErrors/RouteErrors.styles.ts → QuoteWarningsAndErrors/QuoteWarningsAndErrors.styles.ts} +0 -0
|
@@ -0,0 +1,472 @@
|
|
|
1
|
+
export declare const QuoteContainer: 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
|
+
export declare const FooterStepAlarm: import("@stitches/react/types/styled-component").StyledComponent<"div", {}, {
|
|
159
|
+
sm: string;
|
|
160
|
+
md: string;
|
|
161
|
+
lg: string;
|
|
162
|
+
}, import("@stitches/react/types/css-util").CSS<{
|
|
163
|
+
sm: string;
|
|
164
|
+
md: string;
|
|
165
|
+
lg: string;
|
|
166
|
+
}, {
|
|
167
|
+
colors: {
|
|
168
|
+
primary: string;
|
|
169
|
+
primary500: string;
|
|
170
|
+
primary600: string;
|
|
171
|
+
secondary: string;
|
|
172
|
+
secondary100: string;
|
|
173
|
+
secondary200: string;
|
|
174
|
+
secondary300: string;
|
|
175
|
+
secondary400: string;
|
|
176
|
+
secondary500: string;
|
|
177
|
+
secondary600: string;
|
|
178
|
+
secondary700: string;
|
|
179
|
+
secondary800: string;
|
|
180
|
+
secondary900: string;
|
|
181
|
+
neutral: string;
|
|
182
|
+
neutral100: string;
|
|
183
|
+
neutral200: string;
|
|
184
|
+
neutral300: string;
|
|
185
|
+
neutral400: string;
|
|
186
|
+
neutral500: string;
|
|
187
|
+
neutral600: string;
|
|
188
|
+
neutral700: string;
|
|
189
|
+
neutral800: string;
|
|
190
|
+
neutral900: string;
|
|
191
|
+
error100: string;
|
|
192
|
+
error300: string;
|
|
193
|
+
error500: string;
|
|
194
|
+
error600: string;
|
|
195
|
+
error700: string;
|
|
196
|
+
warning100: string;
|
|
197
|
+
warning300: string;
|
|
198
|
+
warning500: string;
|
|
199
|
+
warning600: string;
|
|
200
|
+
warning700: string;
|
|
201
|
+
info: string;
|
|
202
|
+
info100: string;
|
|
203
|
+
info300: string;
|
|
204
|
+
info500: string;
|
|
205
|
+
info600: string;
|
|
206
|
+
info700: string;
|
|
207
|
+
success100: string;
|
|
208
|
+
success300: string;
|
|
209
|
+
success500: string;
|
|
210
|
+
success600: string;
|
|
211
|
+
success700: string;
|
|
212
|
+
background: string;
|
|
213
|
+
foreground: string;
|
|
214
|
+
};
|
|
215
|
+
space: {
|
|
216
|
+
0: string;
|
|
217
|
+
5: string;
|
|
218
|
+
10: string;
|
|
219
|
+
15: string;
|
|
220
|
+
20: string;
|
|
221
|
+
25: string;
|
|
222
|
+
30: string;
|
|
223
|
+
40: string;
|
|
224
|
+
46: string;
|
|
225
|
+
50: string;
|
|
226
|
+
60: string;
|
|
227
|
+
70: string;
|
|
228
|
+
80: string;
|
|
229
|
+
90: string;
|
|
230
|
+
100: string;
|
|
231
|
+
2: string;
|
|
232
|
+
4: string;
|
|
233
|
+
6: string;
|
|
234
|
+
8: string;
|
|
235
|
+
12: string;
|
|
236
|
+
16: string;
|
|
237
|
+
24: string;
|
|
238
|
+
28: string;
|
|
239
|
+
32: string;
|
|
240
|
+
};
|
|
241
|
+
radii: {
|
|
242
|
+
xs: string;
|
|
243
|
+
sm: string;
|
|
244
|
+
xm: string;
|
|
245
|
+
md: string;
|
|
246
|
+
xl: string;
|
|
247
|
+
lg: string;
|
|
248
|
+
primary: string;
|
|
249
|
+
secondary: string;
|
|
250
|
+
};
|
|
251
|
+
fontSizes: {
|
|
252
|
+
10: string;
|
|
253
|
+
12: string;
|
|
254
|
+
14: string;
|
|
255
|
+
16: string;
|
|
256
|
+
18: string;
|
|
257
|
+
20: string;
|
|
258
|
+
22: string;
|
|
259
|
+
24: string;
|
|
260
|
+
28: string;
|
|
261
|
+
32: string;
|
|
262
|
+
36: string;
|
|
263
|
+
40: string;
|
|
264
|
+
48: string;
|
|
265
|
+
};
|
|
266
|
+
fonts: {
|
|
267
|
+
primary: string;
|
|
268
|
+
widget: string;
|
|
269
|
+
};
|
|
270
|
+
fontWeights: {
|
|
271
|
+
regular: number;
|
|
272
|
+
medium: number;
|
|
273
|
+
semiBold: number;
|
|
274
|
+
bold: number;
|
|
275
|
+
};
|
|
276
|
+
lineHeights: {
|
|
277
|
+
12: string;
|
|
278
|
+
16: string;
|
|
279
|
+
20: string;
|
|
280
|
+
24: string;
|
|
281
|
+
26: string;
|
|
282
|
+
28: string;
|
|
283
|
+
30: string;
|
|
284
|
+
36: string;
|
|
285
|
+
40: string;
|
|
286
|
+
44: string;
|
|
287
|
+
52: string;
|
|
288
|
+
64: string;
|
|
289
|
+
};
|
|
290
|
+
letterSpacings: {};
|
|
291
|
+
sizes: {
|
|
292
|
+
4: string;
|
|
293
|
+
6: string;
|
|
294
|
+
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 FooterAlert: import("@stitches/react/types/styled-component").StyledComponent<"div", {}, {
|
|
316
|
+
sm: string;
|
|
317
|
+
md: string;
|
|
318
|
+
lg: string;
|
|
319
|
+
}, import("@stitches/react/types/css-util").CSS<{
|
|
320
|
+
sm: string;
|
|
321
|
+
md: string;
|
|
322
|
+
lg: string;
|
|
323
|
+
}, {
|
|
324
|
+
colors: {
|
|
325
|
+
primary: string;
|
|
326
|
+
primary500: string;
|
|
327
|
+
primary600: string;
|
|
328
|
+
secondary: string;
|
|
329
|
+
secondary100: string;
|
|
330
|
+
secondary200: string;
|
|
331
|
+
secondary300: string;
|
|
332
|
+
secondary400: string;
|
|
333
|
+
secondary500: string;
|
|
334
|
+
secondary600: string;
|
|
335
|
+
secondary700: string;
|
|
336
|
+
secondary800: string;
|
|
337
|
+
secondary900: string;
|
|
338
|
+
neutral: string;
|
|
339
|
+
neutral100: string;
|
|
340
|
+
neutral200: string;
|
|
341
|
+
neutral300: string;
|
|
342
|
+
neutral400: string;
|
|
343
|
+
neutral500: string;
|
|
344
|
+
neutral600: string;
|
|
345
|
+
neutral700: string;
|
|
346
|
+
neutral800: string;
|
|
347
|
+
neutral900: string;
|
|
348
|
+
error100: string;
|
|
349
|
+
error300: string;
|
|
350
|
+
error500: string;
|
|
351
|
+
error600: string;
|
|
352
|
+
error700: string;
|
|
353
|
+
warning100: string;
|
|
354
|
+
warning300: string;
|
|
355
|
+
warning500: string;
|
|
356
|
+
warning600: string;
|
|
357
|
+
warning700: string;
|
|
358
|
+
info: string;
|
|
359
|
+
info100: string;
|
|
360
|
+
info300: string;
|
|
361
|
+
info500: string;
|
|
362
|
+
info600: string;
|
|
363
|
+
info700: string;
|
|
364
|
+
success100: string;
|
|
365
|
+
success300: string;
|
|
366
|
+
success500: string;
|
|
367
|
+
success600: string;
|
|
368
|
+
success700: string;
|
|
369
|
+
background: string;
|
|
370
|
+
foreground: string;
|
|
371
|
+
};
|
|
372
|
+
space: {
|
|
373
|
+
0: string;
|
|
374
|
+
5: string;
|
|
375
|
+
10: string;
|
|
376
|
+
15: string;
|
|
377
|
+
20: string;
|
|
378
|
+
25: string;
|
|
379
|
+
30: string;
|
|
380
|
+
40: string;
|
|
381
|
+
46: string;
|
|
382
|
+
50: string;
|
|
383
|
+
60: string;
|
|
384
|
+
70: string;
|
|
385
|
+
80: string;
|
|
386
|
+
90: string;
|
|
387
|
+
100: string;
|
|
388
|
+
2: string;
|
|
389
|
+
4: string;
|
|
390
|
+
6: string;
|
|
391
|
+
8: string;
|
|
392
|
+
12: string;
|
|
393
|
+
16: string;
|
|
394
|
+
24: string;
|
|
395
|
+
28: string;
|
|
396
|
+
32: string;
|
|
397
|
+
};
|
|
398
|
+
radii: {
|
|
399
|
+
xs: string;
|
|
400
|
+
sm: string;
|
|
401
|
+
xm: string;
|
|
402
|
+
md: string;
|
|
403
|
+
xl: string;
|
|
404
|
+
lg: string;
|
|
405
|
+
primary: string;
|
|
406
|
+
secondary: string;
|
|
407
|
+
};
|
|
408
|
+
fontSizes: {
|
|
409
|
+
10: string;
|
|
410
|
+
12: string;
|
|
411
|
+
14: string;
|
|
412
|
+
16: string;
|
|
413
|
+
18: string;
|
|
414
|
+
20: string;
|
|
415
|
+
22: string;
|
|
416
|
+
24: string;
|
|
417
|
+
28: string;
|
|
418
|
+
32: string;
|
|
419
|
+
36: string;
|
|
420
|
+
40: string;
|
|
421
|
+
48: string;
|
|
422
|
+
};
|
|
423
|
+
fonts: {
|
|
424
|
+
primary: string;
|
|
425
|
+
widget: string;
|
|
426
|
+
};
|
|
427
|
+
fontWeights: {
|
|
428
|
+
regular: number;
|
|
429
|
+
medium: number;
|
|
430
|
+
semiBold: number;
|
|
431
|
+
bold: number;
|
|
432
|
+
};
|
|
433
|
+
lineHeights: {
|
|
434
|
+
12: string;
|
|
435
|
+
16: string;
|
|
436
|
+
20: string;
|
|
437
|
+
24: string;
|
|
438
|
+
26: string;
|
|
439
|
+
28: string;
|
|
440
|
+
30: string;
|
|
441
|
+
36: string;
|
|
442
|
+
40: string;
|
|
443
|
+
44: string;
|
|
444
|
+
52: string;
|
|
445
|
+
64: string;
|
|
446
|
+
};
|
|
447
|
+
letterSpacings: {};
|
|
448
|
+
sizes: {
|
|
449
|
+
4: string;
|
|
450
|
+
6: string;
|
|
451
|
+
8: string;
|
|
452
|
+
12: string;
|
|
453
|
+
16: string;
|
|
454
|
+
18: string;
|
|
455
|
+
20: string;
|
|
456
|
+
24: string;
|
|
457
|
+
28: string;
|
|
458
|
+
32: string;
|
|
459
|
+
36: string;
|
|
460
|
+
40: string;
|
|
461
|
+
45: string;
|
|
462
|
+
48: string;
|
|
463
|
+
};
|
|
464
|
+
borderWidths: {};
|
|
465
|
+
borderStyles: {};
|
|
466
|
+
shadows: {
|
|
467
|
+
s: string;
|
|
468
|
+
};
|
|
469
|
+
zIndices: {};
|
|
470
|
+
transitions: {};
|
|
471
|
+
}, import("@stitches/react/types/config").DefaultThemeMap, {}>>;
|
|
472
|
+
//# sourceMappingURL=QuoteInfo.styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QuoteInfo.styles.d.ts","sourceRoot":"","sources":["../../../src/containers/QuoteInfo/QuoteInfo.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAGzB,CAAC;AAEH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAE1B,CAAC;AAEH,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAGtB,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { QuoteProps } from '../../components/Quote/Quote.types';
|
|
2
|
+
import type { QuoteError, QuoteWarning } from '../../types';
|
|
3
|
+
import type { BestRouteResponse } from 'rango-sdk';
|
|
4
|
+
export type PropTypes = {
|
|
5
|
+
quote: BestRouteResponse | null;
|
|
6
|
+
type: QuoteProps['type'];
|
|
7
|
+
loading: boolean;
|
|
8
|
+
error: QuoteError | null;
|
|
9
|
+
warning: QuoteWarning | null;
|
|
10
|
+
expanded?: boolean;
|
|
11
|
+
refetchQuote: () => void;
|
|
12
|
+
showWarningModal: boolean;
|
|
13
|
+
onOpenWarningModal: () => void;
|
|
14
|
+
onCloseWarningModal: () => void;
|
|
15
|
+
onConfirmWarningModal: () => void;
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=QuoteInfo.types.d.ts.map
|
|
@@ -0,0 +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,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,gBAAgB,EAAE,OAAO,CAAC;IAC1B,kBAAkB,EAAE,MAAM,IAAI,CAAC;IAC/B,mBAAmB,EAAE,MAAM,IAAI,CAAC;IAChC,qBAAqB,EAAE,MAAM,IAAI,CAAC;CACnC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/containers/QuoteInfo/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { PropTypes, WidgetContextInterface } from './Wallets.types';
|
|
2
|
+
import type { PropsWithChildren } from 'react';
|
|
3
|
+
import React from 'react';
|
|
4
|
+
export declare const WidgetContext: React.Context<WidgetContextInterface>;
|
|
5
|
+
export declare function WidgetWallets(props: PropsWithChildren<PropTypes>): React.JSX.Element;
|
|
6
|
+
//# sourceMappingURL=Wallets.d.ts.map
|
|
@@ -0,0 +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;AAIzB,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAI/C,OAAO,KAA2C,MAAM,OAAO,CAAC;AAUhE,eAAO,MAAM,aAAa,uCAIxB,CAAC;AAwFH,wBAAgB,aAAa,CAAC,KAAK,EAAE,iBAAiB,CAAC,SAAS,CAAC,qBAOhE"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { WidgetConfig } from '../../types';
|
|
2
|
+
import type { EventHandler } from '@rango-dev/wallets-react';
|
|
3
|
+
export type OnConnectHandler = (key: string) => void;
|
|
4
|
+
export interface WidgetContextInterface {
|
|
5
|
+
onConnectWallet(handler: OnConnectHandler): void;
|
|
6
|
+
}
|
|
7
|
+
export interface PropTypes {
|
|
8
|
+
onUpdateState?: EventHandler;
|
|
9
|
+
config: WidgetConfig;
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=Wallets.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Wallets.types.d.ts","sourceRoot":"","sources":["../../../src/containers/Wallets/Wallets.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAChD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAE7D,MAAM,MAAM,gBAAgB,GAAG,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;AACrD,MAAM,WAAW,sBAAsB;IACrC,eAAe,CAAC,OAAO,EAAE,gBAAgB,GAAG,IAAI,CAAC;CAClD;AAED,MAAM,WAAW,SAAS;IACxB,aAAa,CAAC,EAAE,YAAY,CAAC;IAC7B,MAAM,EAAE,YAAY,CAAC;CACtB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/containers/Wallets/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Widget.d.ts","sourceRoot":"","sources":["../../../src/containers/Widget/Widget.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAClD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAE/C,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,wBAAgB,MAAM,CAAC,KAAK,EAAE,iBAAiB,CAAC,WAAW,CAAC,qBAS3D"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Widget.types.d.ts","sourceRoot":"","sources":["../../../src/containers/Widget/Widget.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAEhD,MAAM,MAAM,WAAW,GAAG;IACxB,MAAM,CAAC,EAAE,YAAY,CAAC;CACvB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/containers/Widget/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,YAAY,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { WidgetInfoContextInterface } from './WidgetInfo.types';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
export declare const WidgetInfoContext: React.Context<WidgetInfoContextInterface | undefined>;
|
|
4
|
+
export declare function WidgetInfo(props: React.PropsWithChildren): React.JSX.Element;
|
|
5
|
+
export declare function useWidget(): WidgetInfoContextInterface;
|
|
6
|
+
//# sourceMappingURL=WidgetInfo.d.ts.map
|
|
@@ -0,0 +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,KAA6C,MAAM,OAAO,CAAC;AAIlE,eAAO,MAAM,iBAAiB,uDAElB,CAAC;AAEb,wBAAgB,UAAU,CAAC,KAAK,EAAE,KAAK,CAAC,iBAAiB,qBAcxD;AAED,wBAAgB,SAAS,IAAI,0BAA0B,CAQtD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WidgetInfo.types.d.ts","sourceRoot":"","sources":["../../../src/containers/WidgetInfo/WidgetInfo.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,uCAAuC,CAAC;AAEpF,MAAM,WAAW,0BAA0B;IACzC,KAAK,CAAC,EAAE,sBAAsB,EAAE,CAAC;CAClC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/containers/WidgetInfo/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { PropTypes } from './WidgetProvider.types';
|
|
2
|
+
import type { PropsWithChildren } from 'react';
|
|
3
|
+
import React from 'react';
|
|
4
|
+
export declare function WidgetProvider(props: PropsWithChildren<PropTypes>): React.JSX.Element;
|
|
5
|
+
//# sourceMappingURL=WidgetProvider.d.ts.map
|
|
@@ -0,0 +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,KAAK,MAAM,OAAO,CAAC;AAM1B,wBAAgB,cAAc,CAAC,KAAK,EAAE,iBAAiB,CAAC,SAAS,CAAC,qBASjE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WidgetProvider.types.d.ts","sourceRoot":"","sources":["../../../src/containers/WidgetProvider/WidgetProvider.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAChD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAE7D,MAAM,MAAM,SAAS,GAAG;IACtB,aAAa,CAAC,EAAE,YAAY,CAAC;IAC7B,MAAM,EAAE,YAAY,CAAC;CACtB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/containers/WidgetProvider/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/hooks/useConfirmSwap/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useConfirmSwap.d.ts","sourceRoot":"","sources":["../../../src/hooks/useConfirmSwap/useConfirmSwap.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAU,MAAM,wBAAwB,CAAC;AAqBlE,wBAAgB,cAAc,IAAI,WAAW,CAkH5C"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { ConfirmSwapFetchResult } from './useConfirmSwap.types';
|
|
2
|
+
import type { ConfirmSwapWarnings, Wallet } from '../../types';
|
|
3
|
+
import type { BestRouteResponse, Token } from 'rango-sdk';
|
|
4
|
+
/**
|
|
5
|
+
* A request can be successful but in body of the response, it can be some case which is considered as failed.
|
|
6
|
+
*/
|
|
7
|
+
export declare function throwErrorIfResponseIsNotValid(response: BestRouteResponse): BestRouteResponse;
|
|
8
|
+
export declare function generateWarnings(previousQuote: BestRouteResponse, currentQuote: BestRouteResponse, params: {
|
|
9
|
+
fromToken: Token;
|
|
10
|
+
toToken: Token;
|
|
11
|
+
tokens: Token[];
|
|
12
|
+
selectedWallets: Wallet[];
|
|
13
|
+
userSlippage: number;
|
|
14
|
+
}): ConfirmSwapWarnings;
|
|
15
|
+
export declare function handleQuoteErrors(error: any): ConfirmSwapFetchResult;
|
|
16
|
+
//# sourceMappingURL=useConfirmSwap.helpers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useConfirmSwap.helpers.d.ts","sourceRoot":"","sources":["../../../src/hooks/useConfirmSwap/useConfirmSwap.helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AACrE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAC/D,OAAO,KAAK,EAAE,iBAAiB,EAAE,KAAK,EAAE,MAAM,WAAW,CAAC;AAuB1D;;GAEG;AACH,wBAAgB,8BAA8B,CAAC,QAAQ,EAAE,iBAAiB,qBAsCzE;AAED,wBAAgB,gBAAgB,CAC9B,aAAa,EAAE,iBAAiB,EAChC,YAAY,EAAE,iBAAiB,EAC/B,MAAM,EAAE;IACN,SAAS,EAAE,KAAK,CAAC;IACjB,OAAO,EAAE,KAAK,CAAC;IACf,MAAM,EAAE,KAAK,EAAE,CAAC;IAChB,eAAe,EAAE,MAAM,EAAE,CAAC;IAC1B,YAAY,EAAE,MAAM,CAAC;CACtB,GACA,mBAAmB,CA6DrB;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,GAAG,GAAG,sBAAsB,CA0BpE"}
|