@rango-dev/widget-embedded 0.1.20-next.0 → 0.1.20-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 +3 -3
- package/dist/QueueManager.d.ts.map +1 -1
- package/dist/Widget.d.ts +8 -0
- package/dist/Widget.d.ts.map +1 -0
- package/dist/components/AppRouter.d.ts +7 -7
- package/dist/components/AppRouter.d.ts.map +1 -1
- package/dist/components/AppRoutes.d.ts +7 -7
- package/dist/components/AppRoutes.d.ts.map +1 -1
- package/dist/components/BottomLogo.d.ts +2 -2
- package/dist/components/BottomLogo.d.ts.map +1 -1
- package/dist/components/ChangeSlippageButton.d.ts +2 -2
- package/dist/components/ChangeSlippageButton.d.ts.map +1 -1
- package/dist/components/ConfirmSwapErrors.d.ts +3 -3
- package/dist/components/ConfirmSwapErrors.d.ts.map +1 -1
- package/dist/components/ConfirmSwapWarnings.d.ts +2 -2
- package/dist/components/ConfirmSwapWarnings.d.ts.map +1 -1
- package/dist/components/Footer.d.ts +111 -111
- package/dist/components/Footer.d.ts.map +1 -1
- package/dist/components/HeaderButtons.d.ts +6 -6
- package/dist/components/HeaderButtons.d.ts.map +1 -1
- package/dist/components/Layout.d.ts +6 -6
- package/dist/components/Layout.d.ts.map +1 -1
- package/dist/components/PercentageChange.d.ts +8 -8
- package/dist/components/PercentageChange.d.ts.map +1 -1
- package/dist/components/RoutesOverview.d.ts +119 -119
- package/dist/components/RoutesOverview.d.ts.map +1 -1
- package/dist/components/SwapDetailsPlaceholder.d.ts +119 -119
- package/dist/components/SwapDetailsPlaceholder.d.ts.map +1 -1
- package/dist/components/SwitchFromAndTo.d.ts +3 -3
- package/dist/components/SwitchFromAndTo.d.ts.map +1 -1
- package/dist/components/TokenInfo.d.ts +17 -17
- package/dist/components/TokenInfo.d.ts.map +1 -1
- package/dist/components/TokenPreview.d.ts +20 -20
- package/dist/components/TokenPreview.d.ts.map +1 -1
- package/dist/components/UpdateUrl.d.ts +1 -1
- package/dist/components/UpdateUrl.d.ts.map +1 -1
- package/dist/components/warnings/BalanceErrors.d.ts +6 -6
- package/dist/components/warnings/BalanceErrors.d.ts.map +1 -1
- package/dist/components/warnings/ConfirmSwapExtraMessages.d.ts +6 -6
- package/dist/components/warnings/ConfirmSwapExtraMessages.d.ts.map +1 -1
- package/dist/components/warnings/HighSlippageWarning.d.ts +6 -6
- package/dist/components/warnings/HighSlippageWarning.d.ts.map +1 -1
- package/dist/components/warnings/MinRequiredSlippage.d.ts +6 -6
- package/dist/components/warnings/MinRequiredSlippage.d.ts.map +1 -1
- package/dist/constants/errors.d.ts +3 -3
- package/dist/constants/errors.d.ts.map +1 -1
- package/dist/constants/navigationRoutes.d.ts +13 -13
- package/dist/constants/navigationRoutes.d.ts.map +1 -1
- package/dist/constants/numbers.d.ts +2 -2
- package/dist/constants/numbers.d.ts.map +1 -1
- package/dist/constants/searchParams.d.ts +7 -7
- package/dist/constants/searchParams.d.ts.map +1 -1
- package/dist/constants/swapSettings.d.ts +5 -5
- package/dist/constants/swapSettings.d.ts.map +1 -1
- package/dist/globalStyles.d.ts +1 -1
- package/dist/globalStyles.d.ts.map +1 -1
- package/dist/hooks/useConfirmSwap.d.ts +10 -10
- package/dist/hooks/useConfirmSwap.d.ts.map +1 -1
- package/dist/hooks/useNavigateBack.d.ts +3 -3
- package/dist/hooks/useNavigateBack.d.ts.map +1 -1
- package/dist/hooks/usePrevious.d.ts +1 -1
- package/dist/hooks/usePrevious.d.ts.map +1 -1
- package/dist/hooks/useSelectLanguage.d.ts +4 -4
- package/dist/hooks/useSelectLanguage.d.ts.map +1 -1
- package/dist/hooks/useTheme.d.ts +30 -4
- package/dist/hooks/useTheme.d.ts.map +1 -1
- package/dist/i18n.d.ts +2 -2
- package/dist/i18n.d.ts.map +1 -1
- package/dist/index.d.ts +5 -8
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -8
- package/dist/index.js.map +7 -0
- package/dist/mockData/pendingSwap.d.ts +1 -1
- package/dist/mockData/pendingSwap.d.ts.map +1 -1
- package/dist/pages/ConfirmSwapPage.d.ts +4 -2
- package/dist/pages/ConfirmSwapPage.d.ts.map +1 -1
- package/dist/pages/HistoryPage.d.ts +2 -2
- package/dist/pages/HistoryPage.d.ts.map +1 -1
- package/dist/pages/Home.d.ts +2 -2
- package/dist/pages/Home.d.ts.map +1 -1
- package/dist/pages/LiquiditySourcesPage.d.ts +6 -6
- package/dist/pages/LiquiditySourcesPage.d.ts.map +1 -1
- package/dist/pages/SelectChainPage.d.ts +7 -7
- package/dist/pages/SelectChainPage.d.ts.map +1 -1
- package/dist/pages/SelectTokenPage.d.ts +14 -14
- package/dist/pages/SelectTokenPage.d.ts.map +1 -1
- package/dist/pages/SettingsPage.d.ts +7 -7
- package/dist/pages/SettingsPage.d.ts.map +1 -1
- package/dist/pages/SwapDetailsPage.d.ts +2 -2
- package/dist/pages/SwapDetailsPage.d.ts.map +1 -1
- package/dist/pages/WalletsPage.d.ts +8 -8
- package/dist/pages/WalletsPage.d.ts.map +1 -1
- package/dist/services/httpService.d.ts +3 -3
- package/dist/services/httpService.d.ts.map +1 -1
- package/dist/store/bestRoute.d.ts +67 -31
- package/dist/store/bestRoute.d.ts.map +1 -1
- package/dist/store/meta.d.ts +17 -8
- package/dist/store/meta.d.ts.map +1 -1
- package/dist/store/selectors.d.ts +10 -10
- package/dist/store/selectors.d.ts.map +1 -1
- package/dist/store/settings.d.ts +55 -18
- package/dist/store/settings.d.ts.map +1 -1
- package/dist/store/ui.d.ts +22 -1
- package/dist/store/ui.d.ts.map +1 -1
- package/dist/store/wallets.d.ts +59 -33
- package/dist/store/wallets.d.ts.map +1 -1
- package/dist/types/config.d.ts +114 -114
- package/dist/types/config.d.ts.map +1 -1
- package/dist/types/index.d.ts +4 -4
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/routing.d.ts +57 -57
- package/dist/types/routing.d.ts.map +1 -1
- package/dist/types/swap.d.ts +16 -16
- package/dist/types/swap.d.ts.map +1 -1
- package/dist/types/wallets.d.ts +6 -6
- package/dist/types/wallets.d.ts.map +1 -1
- package/dist/utils/common.d.ts +3 -3
- package/dist/utils/common.d.ts.map +1 -1
- package/dist/utils/configs.d.ts +6 -6
- package/dist/utils/configs.d.ts.map +1 -1
- package/dist/utils/date.d.ts +2 -2
- package/dist/utils/date.d.ts.map +1 -1
- package/dist/utils/numbers.d.ts +13 -13
- package/dist/utils/numbers.d.ts.map +1 -1
- package/dist/utils/queue.d.ts +3 -3
- package/dist/utils/queue.d.ts.map +1 -1
- package/dist/utils/routing.d.ts +17 -17
- package/dist/utils/routing.d.ts.map +1 -1
- package/dist/utils/swap.d.ts +52 -50
- package/dist/utils/swap.d.ts.map +1 -1
- package/dist/utils/time.d.ts +3 -3
- package/dist/utils/time.d.ts.map +1 -1
- package/dist/utils/wallets.d.ts +27 -27
- package/dist/utils/wallets.d.ts.map +1 -1
- package/package.json +15 -22
- package/src/QueueManager.tsx +5 -4
- package/src/{index.tsx → Widget.tsx} +1 -8
- package/src/components/AppRouter.tsx +4 -0
- package/src/components/AppRoutes.tsx +1 -1
- package/src/hooks/useConfirmSwap.ts +4 -1
- package/src/index.ts +18 -0
- package/src/pages/ConfirmSwapPage.tsx +47 -18
- package/src/pages/SwapDetailsPage.tsx +14 -9
- package/src/store/wallets.ts +8 -1
- package/src/types/config.ts +2 -2
- package/src/utils/common.ts +2 -0
- package/src/utils/swap.ts +38 -2
- package/src/utils/wallets.ts +20 -14
- package/dist/widget-embedded.cjs.development.js +0 -3401
- package/dist/widget-embedded.cjs.development.js.map +0 -1
- package/dist/widget-embedded.cjs.production.min.js +0 -3401
- package/dist/widget-embedded.cjs.production.min.js.map +0 -1
- package/dist/widget-embedded.esm.js +0 -3392
- package/dist/widget-embedded.esm.js.map +0 -1
package/dist/QueueManager.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PropsWithChildren } from 'react';
|
|
2
|
-
declare function QueueManager(props: PropsWithChildren
|
|
3
|
-
export default QueueManager;
|
|
1
|
+
import { PropsWithChildren } from 'react';
|
|
2
|
+
declare function QueueManager(props: PropsWithChildren): JSX.Element;
|
|
3
|
+
export default QueueManager;
|
|
4
4
|
//# sourceMappingURL=QueueManager.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueueManager.d.ts","sourceRoot":"","sources":["src/QueueManager.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,iBAAiB,EAAW,MAAM,OAAO,CAAC;AAoB1D,iBAAS,YAAY,CAAC,KAAK,EAAE,iBAAiB,
|
|
1
|
+
{"version":3,"file":"QueueManager.d.ts","sourceRoot":"","sources":["../src/QueueManager.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,iBAAiB,EAAW,MAAM,OAAO,CAAC;AAoB1D,iBAAS,YAAY,CAAC,KAAK,EAAE,iBAAiB,eA4G7C;AAED,eAAe,YAAY,CAAC"}
|
package/dist/Widget.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Widget.d.ts","sourceRoot":"","sources":["../src/Widget.tsx"],"names":[],"mappings":"AACA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAgB5D,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAEvC,OAAO,QAAQ,CAAC;AAMhB,MAAM,MAAM,WAAW,GAAG;IACxB,MAAM,CAAC,EAAE,YAAY,CAAC;CACvB,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAqGxC,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { PropsWithChildren } from 'react';
|
|
2
|
-
import { WalletType } from '@rango-dev/wallets-shared';
|
|
3
|
-
export declare function AppRouter({ children, ...props }: PropsWithChildren & {
|
|
4
|
-
lastConnectedWallet: string;
|
|
5
|
-
disconnectedWallet: WalletType | undefined;
|
|
6
|
-
clearDisconnectedWallet: () => void;
|
|
7
|
-
}): JSX.Element;
|
|
1
|
+
import { PropsWithChildren } from 'react';
|
|
2
|
+
import { WalletType } from '@rango-dev/wallets-shared';
|
|
3
|
+
export declare function AppRouter({ children, ...props }: PropsWithChildren & {
|
|
4
|
+
lastConnectedWallet: string;
|
|
5
|
+
disconnectedWallet: WalletType | undefined;
|
|
6
|
+
clearDisconnectedWallet: () => void;
|
|
7
|
+
}): JSX.Element;
|
|
8
8
|
//# sourceMappingURL=AppRouter.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AppRouter.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"AppRouter.d.ts","sourceRoot":"","sources":["../../src/components/AppRouter.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAY,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAG3D,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAMvD,wBAAgB,SAAS,CAAC,EACxB,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,iBAAiB,GAAG;IACrB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,kBAAkB,EAAE,UAAU,GAAG,SAAS,CAAC;IAC3C,uBAAuB,EAAE,MAAM,IAAI,CAAC;CACrC,eAwBA"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { WidgetConfig } from '../types';
|
|
3
|
-
interface PropTypes {
|
|
4
|
-
config?: WidgetConfig;
|
|
5
|
-
}
|
|
6
|
-
export declare function AppRoutes(props: PropTypes): React.ReactElement<any, string |
|
|
7
|
-
export {};
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { WidgetConfig } from '../types';
|
|
3
|
+
interface PropTypes {
|
|
4
|
+
config?: WidgetConfig;
|
|
5
|
+
}
|
|
6
|
+
export declare function AppRoutes(props: PropTypes): React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
|
|
7
|
+
export {};
|
|
8
8
|
//# sourceMappingURL=AppRoutes.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AppRoutes.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"AppRoutes.d.ts","sourceRoot":"","sources":["../../src/components/AppRoutes.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAY1B,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAIxC,UAAU,SAAS;IACjB,MAAM,CAAC,EAAE,YAAY,CAAC;CACvB;AAED,wBAAgB,SAAS,CAAC,KAAK,EAAE,SAAS,6EAoEzC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare function BottomLogo(): JSX.Element;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare function BottomLogo(): JSX.Element;
|
|
3
3
|
//# sourceMappingURL=BottomLogo.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BottomLogo.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"BottomLogo.d.ts","sourceRoot":"","sources":["../../src/components/BottomLogo.tsx"],"names":[],"mappings":";AA0BA,wBAAgB,UAAU,gBAsBzB"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare function ChangeSlippageButton(): JSX.Element;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare function ChangeSlippageButton(): JSX.Element;
|
|
3
3
|
//# sourceMappingURL=ChangeSlippageButton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChangeSlippageButton.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"ChangeSlippageButton.d.ts","sourceRoot":"","sources":["../../src/components/ChangeSlippageButton.tsx"],"names":[],"mappings":";AAKA,wBAAgB,oBAAoB,gBAanC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { ConfirmSwapError } from '../types';
|
|
3
|
-
export declare function ConfirmSwapErrors(errors: ConfirmSwapError[]): (string | JSX.Element)[];
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ConfirmSwapError } from '../types';
|
|
3
|
+
export declare function ConfirmSwapErrors(errors: ConfirmSwapError[]): (string | JSX.Element)[];
|
|
4
4
|
//# sourceMappingURL=ConfirmSwapErrors.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConfirmSwapErrors.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"ConfirmSwapErrors.d.ts","sourceRoot":"","sources":["../../src/components/ConfirmSwapErrors.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,gBAAgB,EAAyB,MAAM,UAAU,CAAC;AAInE,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,gBAAgB,EAAE,4BAwB3D"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { ConfirmSwapWarnings } from '../types';
|
|
2
|
-
export declare function ConfirmSwapWarnings(warnings: ConfirmSwapWarnings[]): string[];
|
|
1
|
+
import { ConfirmSwapWarnings } from '../types';
|
|
2
|
+
export declare function ConfirmSwapWarnings(warnings: ConfirmSwapWarnings[]): string[];
|
|
3
3
|
//# sourceMappingURL=ConfirmSwapWarnings.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConfirmSwapWarnings.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"ConfirmSwapWarnings.d.ts","sourceRoot":"","sources":["../../src/components/ConfirmSwapWarnings.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA2B,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAExE,wBAAgB,mBAAmB,CAAC,QAAQ,EAAE,mBAAmB,EAAE,YAsBlE"}
|
|
@@ -1,112 +1,112 @@
|
|
|
1
|
-
export declare const Footer: import("@stitches/react/types/styled-component").StyledComponent<
|
|
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
|
-
primary100: string;
|
|
13
|
-
primary200: string;
|
|
14
|
-
primary300: string;
|
|
15
|
-
primary400: string;
|
|
16
|
-
primary500: string;
|
|
17
|
-
primary600: string;
|
|
18
|
-
primary700: string;
|
|
19
|
-
primary800: string;
|
|
20
|
-
primary900: string;
|
|
21
|
-
surface: string;
|
|
22
|
-
neutral100: string;
|
|
23
|
-
neutral200: string;
|
|
24
|
-
neutral300: string;
|
|
25
|
-
neutral400: string;
|
|
26
|
-
neutral500: string;
|
|
27
|
-
neutral600: string;
|
|
28
|
-
neutral700: string;
|
|
29
|
-
neutral800: string;
|
|
30
|
-
neutral900: string;
|
|
31
|
-
background: string;
|
|
32
|
-
foreground: string;
|
|
33
|
-
success: string;
|
|
34
|
-
success100: string;
|
|
35
|
-
success300: string;
|
|
36
|
-
success500: string;
|
|
37
|
-
success700: string;
|
|
38
|
-
warning: string;
|
|
39
|
-
warning100: string;
|
|
40
|
-
warning300: string;
|
|
41
|
-
warning500: string;
|
|
42
|
-
warning700: string;
|
|
43
|
-
error: string;
|
|
44
|
-
error100: string;
|
|
45
|
-
error300: string;
|
|
46
|
-
error500: string;
|
|
47
|
-
error700: string;
|
|
48
|
-
white: string;
|
|
49
|
-
};
|
|
50
|
-
space: {
|
|
51
|
-
2: string;
|
|
52
|
-
4: string;
|
|
53
|
-
6: string;
|
|
54
|
-
8: string;
|
|
55
|
-
10: string;
|
|
56
|
-
12: string;
|
|
57
|
-
16: string;
|
|
58
|
-
20: string;
|
|
59
|
-
24: string;
|
|
60
|
-
28: string;
|
|
61
|
-
30: string;
|
|
62
|
-
32: string;
|
|
63
|
-
};
|
|
64
|
-
fontSizes: {
|
|
65
|
-
10: string;
|
|
66
|
-
12: string;
|
|
67
|
-
14: string;
|
|
68
|
-
16: string;
|
|
69
|
-
18: string;
|
|
70
|
-
20: string;
|
|
71
|
-
24: string;
|
|
72
|
-
32: string;
|
|
73
|
-
36: string;
|
|
74
|
-
40: string;
|
|
75
|
-
48: string;
|
|
76
|
-
};
|
|
77
|
-
fonts: {};
|
|
78
|
-
fontWeights: {
|
|
79
|
-
400: string;
|
|
80
|
-
500: string;
|
|
81
|
-
600: string;
|
|
82
|
-
700: string;
|
|
83
|
-
};
|
|
84
|
-
lineHeights: {};
|
|
85
|
-
letterSpacings: {};
|
|
86
|
-
sizes: {
|
|
87
|
-
4: string;
|
|
88
|
-
6: string;
|
|
89
|
-
8: string;
|
|
90
|
-
12: string;
|
|
91
|
-
16: string;
|
|
92
|
-
20: string;
|
|
93
|
-
24: string;
|
|
94
|
-
28: string;
|
|
95
|
-
32: string;
|
|
96
|
-
36: string;
|
|
97
|
-
40: string;
|
|
98
|
-
48: string;
|
|
99
|
-
};
|
|
100
|
-
borderWidths: {};
|
|
101
|
-
borderStyles: {};
|
|
102
|
-
radii: {
|
|
103
|
-
5: string;
|
|
104
|
-
10: string;
|
|
105
|
-
};
|
|
106
|
-
shadows: {
|
|
107
|
-
s: string;
|
|
108
|
-
};
|
|
109
|
-
zIndices: {};
|
|
110
|
-
transitions: {};
|
|
111
|
-
}, import("@stitches/react/types/config").DefaultThemeMap, {}>>;
|
|
1
|
+
export declare const Footer: 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
|
+
primary100: string;
|
|
13
|
+
primary200: string;
|
|
14
|
+
primary300: string;
|
|
15
|
+
primary400: string;
|
|
16
|
+
primary500: string;
|
|
17
|
+
primary600: string;
|
|
18
|
+
primary700: string;
|
|
19
|
+
primary800: string;
|
|
20
|
+
primary900: string;
|
|
21
|
+
surface: string;
|
|
22
|
+
neutral100: string;
|
|
23
|
+
neutral200: string;
|
|
24
|
+
neutral300: string;
|
|
25
|
+
neutral400: string;
|
|
26
|
+
neutral500: string;
|
|
27
|
+
neutral600: string;
|
|
28
|
+
neutral700: string;
|
|
29
|
+
neutral800: string;
|
|
30
|
+
neutral900: string;
|
|
31
|
+
background: string;
|
|
32
|
+
foreground: string;
|
|
33
|
+
success: string;
|
|
34
|
+
success100: string;
|
|
35
|
+
success300: string;
|
|
36
|
+
success500: string;
|
|
37
|
+
success700: string;
|
|
38
|
+
warning: string;
|
|
39
|
+
warning100: string;
|
|
40
|
+
warning300: string;
|
|
41
|
+
warning500: string;
|
|
42
|
+
warning700: string;
|
|
43
|
+
error: string;
|
|
44
|
+
error100: string;
|
|
45
|
+
error300: string;
|
|
46
|
+
error500: string;
|
|
47
|
+
error700: string;
|
|
48
|
+
white: string;
|
|
49
|
+
};
|
|
50
|
+
space: {
|
|
51
|
+
2: string;
|
|
52
|
+
4: string;
|
|
53
|
+
6: string;
|
|
54
|
+
8: string;
|
|
55
|
+
10: string;
|
|
56
|
+
12: string;
|
|
57
|
+
16: string;
|
|
58
|
+
20: string;
|
|
59
|
+
24: string;
|
|
60
|
+
28: string;
|
|
61
|
+
30: string;
|
|
62
|
+
32: string;
|
|
63
|
+
};
|
|
64
|
+
fontSizes: {
|
|
65
|
+
10: string;
|
|
66
|
+
12: string;
|
|
67
|
+
14: string;
|
|
68
|
+
16: string;
|
|
69
|
+
18: string;
|
|
70
|
+
20: string;
|
|
71
|
+
24: string;
|
|
72
|
+
32: string;
|
|
73
|
+
36: string;
|
|
74
|
+
40: string;
|
|
75
|
+
48: string;
|
|
76
|
+
};
|
|
77
|
+
fonts: {};
|
|
78
|
+
fontWeights: {
|
|
79
|
+
400: string;
|
|
80
|
+
500: string;
|
|
81
|
+
600: string;
|
|
82
|
+
700: string;
|
|
83
|
+
};
|
|
84
|
+
lineHeights: {};
|
|
85
|
+
letterSpacings: {};
|
|
86
|
+
sizes: {
|
|
87
|
+
4: string;
|
|
88
|
+
6: string;
|
|
89
|
+
8: string;
|
|
90
|
+
12: string;
|
|
91
|
+
16: string;
|
|
92
|
+
20: string;
|
|
93
|
+
24: string;
|
|
94
|
+
28: string;
|
|
95
|
+
32: string;
|
|
96
|
+
36: string;
|
|
97
|
+
40: string;
|
|
98
|
+
48: string;
|
|
99
|
+
};
|
|
100
|
+
borderWidths: {};
|
|
101
|
+
borderStyles: {};
|
|
102
|
+
radii: {
|
|
103
|
+
5: string;
|
|
104
|
+
10: string;
|
|
105
|
+
};
|
|
106
|
+
shadows: {
|
|
107
|
+
s: string;
|
|
108
|
+
};
|
|
109
|
+
zIndices: {};
|
|
110
|
+
transitions: {};
|
|
111
|
+
}, import("@stitches/react/types/config").DefaultThemeMap, {}>>;
|
|
112
112
|
//# sourceMappingURL=Footer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Footer.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"Footer.d.ts","sourceRoot":"","sources":["../../src/components/Footer.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAKjB,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
interface PropTypes {
|
|
3
|
-
onClickRefresh?: () => void;
|
|
4
|
-
}
|
|
5
|
-
export declare function HeaderButtons(props: PropTypes): JSX.Element;
|
|
6
|
-
export {};
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
interface PropTypes {
|
|
3
|
+
onClickRefresh?: () => void;
|
|
4
|
+
}
|
|
5
|
+
export declare function HeaderButtons(props: PropTypes): JSX.Element;
|
|
6
|
+
export {};
|
|
7
7
|
//# sourceMappingURL=HeaderButtons.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HeaderButtons.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"HeaderButtons.d.ts","sourceRoot":"","sources":["../../src/components/HeaderButtons.tsx"],"names":[],"mappings":";AAgBA,UAAU,SAAS;IACjB,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;CAC7B;AAED,wBAAgB,aAAa,CAAC,KAAK,EAAE,SAAS,eAiC7C"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { WidgetConfig } from '../types';
|
|
3
|
-
export
|
|
4
|
-
config?: WidgetConfig;
|
|
5
|
-
};
|
|
6
|
-
export declare function Layout({ config }: LayoutProps): JSX.Element;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { WidgetConfig } from '../types';
|
|
3
|
+
export type LayoutProps = {
|
|
4
|
+
config?: WidgetConfig;
|
|
5
|
+
};
|
|
6
|
+
export declare function Layout({ config }: LayoutProps): JSX.Element;
|
|
7
7
|
//# sourceMappingURL=Layout.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Layout.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"Layout.d.ts","sourceRoot":"","sources":["../../src/components/Layout.tsx"],"names":[],"mappings":";AAqBA,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AA4BxC,MAAM,MAAM,WAAW,GAAG;IACxB,MAAM,CAAC,EAAE,YAAY,CAAC;CACvB,CAAC;AAEF,wBAAgB,MAAM,CAAC,EAAE,MAAM,EAAE,EAAE,WAAW,eAgG7C"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import BigNumber from 'bignumber.js';
|
|
3
|
-
interface PropTypes {
|
|
4
|
-
inputUsdValue: BigNumber | null;
|
|
5
|
-
outputUsdValue: BigNumber | null;
|
|
6
|
-
}
|
|
7
|
-
export declare function PercentageChange(props: PropTypes): JSX.Element | null;
|
|
8
|
-
export {};
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import BigNumber from 'bignumber.js';
|
|
3
|
+
interface PropTypes {
|
|
4
|
+
inputUsdValue: BigNumber | null;
|
|
5
|
+
outputUsdValue: BigNumber | null;
|
|
6
|
+
}
|
|
7
|
+
export declare function PercentageChange(props: PropTypes): JSX.Element | null;
|
|
8
|
+
export {};
|
|
9
9
|
//# sourceMappingURL=PercentageChange.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PercentageChange.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"PercentageChange.d.ts","sourceRoot":"","sources":["../../src/components/PercentageChange.tsx"],"names":[],"mappings":";AAAA,OAAO,SAAS,MAAM,cAAc,CAAC;AAMrC,UAAU,SAAS;IACjB,aAAa,EAAE,SAAS,GAAG,IAAI,CAAC;IAChC,cAAc,EAAE,SAAS,GAAG,IAAI,CAAC;CAClC;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,SAAS,sBAqBhD"}
|
|
@@ -1,120 +1,120 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { BestRouteResponse } from 'rango-sdk';
|
|
3
|
-
export declare const Container: import("@stitches/react/types/styled-component").StyledComponent<
|
|
4
|
-
sm: string;
|
|
5
|
-
md: string;
|
|
6
|
-
lg: string;
|
|
7
|
-
}, import("@stitches/react/types/css-util").CSS<{
|
|
8
|
-
sm: string;
|
|
9
|
-
md: string;
|
|
10
|
-
lg: string;
|
|
11
|
-
}, {
|
|
12
|
-
colors: {
|
|
13
|
-
primary: string;
|
|
14
|
-
primary100: string;
|
|
15
|
-
primary200: string;
|
|
16
|
-
primary300: string;
|
|
17
|
-
primary400: string;
|
|
18
|
-
primary500: string;
|
|
19
|
-
primary600: string;
|
|
20
|
-
primary700: string;
|
|
21
|
-
primary800: string;
|
|
22
|
-
primary900: string;
|
|
23
|
-
surface: string;
|
|
24
|
-
neutral100: string;
|
|
25
|
-
neutral200: string;
|
|
26
|
-
neutral300: string;
|
|
27
|
-
neutral400: string;
|
|
28
|
-
neutral500: string;
|
|
29
|
-
neutral600: string;
|
|
30
|
-
neutral700: string;
|
|
31
|
-
neutral800: string;
|
|
32
|
-
neutral900: string;
|
|
33
|
-
background: string;
|
|
34
|
-
foreground: string;
|
|
35
|
-
success: string;
|
|
36
|
-
success100: string;
|
|
37
|
-
success300: string;
|
|
38
|
-
success500: string;
|
|
39
|
-
success700: string;
|
|
40
|
-
warning: string;
|
|
41
|
-
warning100: string;
|
|
42
|
-
warning300: string;
|
|
43
|
-
warning500: string;
|
|
44
|
-
warning700: string;
|
|
45
|
-
error: string;
|
|
46
|
-
error100: string;
|
|
47
|
-
error300: string;
|
|
48
|
-
error500: string;
|
|
49
|
-
error700: string;
|
|
50
|
-
white: string;
|
|
51
|
-
};
|
|
52
|
-
space: {
|
|
53
|
-
2: string;
|
|
54
|
-
4: string;
|
|
55
|
-
6: string;
|
|
56
|
-
8: string;
|
|
57
|
-
10: string;
|
|
58
|
-
12: string;
|
|
59
|
-
16: string;
|
|
60
|
-
20: string;
|
|
61
|
-
24: string;
|
|
62
|
-
28: string;
|
|
63
|
-
30: string;
|
|
64
|
-
32: string;
|
|
65
|
-
};
|
|
66
|
-
fontSizes: {
|
|
67
|
-
10: string;
|
|
68
|
-
12: string;
|
|
69
|
-
14: string;
|
|
70
|
-
16: string;
|
|
71
|
-
18: string;
|
|
72
|
-
20: string;
|
|
73
|
-
24: string;
|
|
74
|
-
32: string;
|
|
75
|
-
36: string;
|
|
76
|
-
40: string;
|
|
77
|
-
48: string;
|
|
78
|
-
};
|
|
79
|
-
fonts: {};
|
|
80
|
-
fontWeights: {
|
|
81
|
-
400: string;
|
|
82
|
-
500: string;
|
|
83
|
-
600: string;
|
|
84
|
-
700: string;
|
|
85
|
-
};
|
|
86
|
-
lineHeights: {};
|
|
87
|
-
letterSpacings: {};
|
|
88
|
-
sizes: {
|
|
89
|
-
4: string;
|
|
90
|
-
6: string;
|
|
91
|
-
8: string;
|
|
92
|
-
12: string;
|
|
93
|
-
16: string;
|
|
94
|
-
20: string;
|
|
95
|
-
24: string;
|
|
96
|
-
28: string;
|
|
97
|
-
32: string;
|
|
98
|
-
36: string;
|
|
99
|
-
40: string;
|
|
100
|
-
48: string;
|
|
101
|
-
};
|
|
102
|
-
borderWidths: {};
|
|
103
|
-
borderStyles: {};
|
|
104
|
-
radii: {
|
|
105
|
-
5: string;
|
|
106
|
-
10: string;
|
|
107
|
-
};
|
|
108
|
-
shadows: {
|
|
109
|
-
s: string;
|
|
110
|
-
};
|
|
111
|
-
zIndices: {};
|
|
112
|
-
transitions: {};
|
|
113
|
-
}, import("@stitches/react/types/config").DefaultThemeMap, {}>>;
|
|
114
|
-
interface PropTypes {
|
|
115
|
-
routes: BestRouteResponse | null;
|
|
116
|
-
totalFee?: string;
|
|
117
|
-
}
|
|
118
|
-
declare function RoutesOverview(props: PropTypes): JSX.Element | null;
|
|
119
|
-
export default RoutesOverview;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { BestRouteResponse } from 'rango-sdk';
|
|
3
|
+
export declare const Container: import("@stitches/react/types/styled-component").StyledComponent<"div", {}, {
|
|
4
|
+
sm: string;
|
|
5
|
+
md: string;
|
|
6
|
+
lg: string;
|
|
7
|
+
}, import("@stitches/react/types/css-util").CSS<{
|
|
8
|
+
sm: string;
|
|
9
|
+
md: string;
|
|
10
|
+
lg: string;
|
|
11
|
+
}, {
|
|
12
|
+
colors: {
|
|
13
|
+
primary: string;
|
|
14
|
+
primary100: string;
|
|
15
|
+
primary200: string;
|
|
16
|
+
primary300: string;
|
|
17
|
+
primary400: string;
|
|
18
|
+
primary500: string;
|
|
19
|
+
primary600: string;
|
|
20
|
+
primary700: string;
|
|
21
|
+
primary800: string;
|
|
22
|
+
primary900: string;
|
|
23
|
+
surface: string;
|
|
24
|
+
neutral100: string;
|
|
25
|
+
neutral200: string;
|
|
26
|
+
neutral300: string;
|
|
27
|
+
neutral400: string;
|
|
28
|
+
neutral500: string;
|
|
29
|
+
neutral600: string;
|
|
30
|
+
neutral700: string;
|
|
31
|
+
neutral800: string;
|
|
32
|
+
neutral900: string;
|
|
33
|
+
background: string;
|
|
34
|
+
foreground: string;
|
|
35
|
+
success: string;
|
|
36
|
+
success100: string;
|
|
37
|
+
success300: string;
|
|
38
|
+
success500: string;
|
|
39
|
+
success700: string;
|
|
40
|
+
warning: string;
|
|
41
|
+
warning100: string;
|
|
42
|
+
warning300: string;
|
|
43
|
+
warning500: string;
|
|
44
|
+
warning700: string;
|
|
45
|
+
error: string;
|
|
46
|
+
error100: string;
|
|
47
|
+
error300: string;
|
|
48
|
+
error500: string;
|
|
49
|
+
error700: string;
|
|
50
|
+
white: string;
|
|
51
|
+
};
|
|
52
|
+
space: {
|
|
53
|
+
2: string;
|
|
54
|
+
4: string;
|
|
55
|
+
6: string;
|
|
56
|
+
8: string;
|
|
57
|
+
10: string;
|
|
58
|
+
12: string;
|
|
59
|
+
16: string;
|
|
60
|
+
20: string;
|
|
61
|
+
24: string;
|
|
62
|
+
28: string;
|
|
63
|
+
30: string;
|
|
64
|
+
32: string;
|
|
65
|
+
};
|
|
66
|
+
fontSizes: {
|
|
67
|
+
10: string;
|
|
68
|
+
12: string;
|
|
69
|
+
14: string;
|
|
70
|
+
16: string;
|
|
71
|
+
18: string;
|
|
72
|
+
20: string;
|
|
73
|
+
24: string;
|
|
74
|
+
32: string;
|
|
75
|
+
36: string;
|
|
76
|
+
40: string;
|
|
77
|
+
48: string;
|
|
78
|
+
};
|
|
79
|
+
fonts: {};
|
|
80
|
+
fontWeights: {
|
|
81
|
+
400: string;
|
|
82
|
+
500: string;
|
|
83
|
+
600: string;
|
|
84
|
+
700: string;
|
|
85
|
+
};
|
|
86
|
+
lineHeights: {};
|
|
87
|
+
letterSpacings: {};
|
|
88
|
+
sizes: {
|
|
89
|
+
4: string;
|
|
90
|
+
6: string;
|
|
91
|
+
8: string;
|
|
92
|
+
12: string;
|
|
93
|
+
16: string;
|
|
94
|
+
20: string;
|
|
95
|
+
24: string;
|
|
96
|
+
28: string;
|
|
97
|
+
32: string;
|
|
98
|
+
36: string;
|
|
99
|
+
40: string;
|
|
100
|
+
48: string;
|
|
101
|
+
};
|
|
102
|
+
borderWidths: {};
|
|
103
|
+
borderStyles: {};
|
|
104
|
+
radii: {
|
|
105
|
+
5: string;
|
|
106
|
+
10: string;
|
|
107
|
+
};
|
|
108
|
+
shadows: {
|
|
109
|
+
s: string;
|
|
110
|
+
};
|
|
111
|
+
zIndices: {};
|
|
112
|
+
transitions: {};
|
|
113
|
+
}, import("@stitches/react/types/config").DefaultThemeMap, {}>>;
|
|
114
|
+
interface PropTypes {
|
|
115
|
+
routes: BestRouteResponse | null;
|
|
116
|
+
totalFee?: string;
|
|
117
|
+
}
|
|
118
|
+
declare function RoutesOverview(props: PropTypes): JSX.Element | null;
|
|
119
|
+
export default RoutesOverview;
|
|
120
120
|
//# sourceMappingURL=RoutesOverview.d.ts.map
|