@rango-dev/ui 0.24.0 → 0.24.1-next.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 +0 -4
- package/dist/index.js +6 -6
- package/dist/index.js.map +4 -4
- package/dist/translations/en.d.ts.map +1 -1
- package/dist/translations/es.d.ts.map +1 -1
- package/dist/translations/fr.d.ts.map +1 -1
- package/dist/translations/ja.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Alert/Alert.styles.d.ts +157 -0
- package/dist/widget/ui/src/components/Alert/Alert.styles.d.ts.map +1 -1
- package/dist/widget/ui/src/components/BlockchainsChip/BlockchainsChip.styles.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Button/Button.d.ts +54 -54
- package/dist/widget/ui/src/components/Button/Button.styles.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Checkbox/Checkbox.styles.d.ts.map +1 -1
- package/dist/widget/ui/src/components/ListItem/ListItem.styles.d.ts.map +1 -1
- package/dist/widget/ui/src/components/ListItemButton/ListItemButton.styles.d.ts.map +1 -1
- package/dist/widget/ui/src/components/PriceImpact/PriceImpact.styles.d.ts +158 -0
- package/dist/widget/ui/src/components/PriceImpact/PriceImpact.styles.d.ts.map +1 -1
- package/dist/widget/ui/src/components/QuoteCost/QuoteCost.d.ts +4 -0
- package/dist/widget/ui/src/components/QuoteCost/QuoteCost.d.ts.map +1 -0
- package/dist/widget/ui/src/components/QuoteCost/QuoteCost.styles.d.ts +629 -0
- package/dist/widget/ui/src/components/QuoteCost/QuoteCost.styles.d.ts.map +1 -0
- package/dist/widget/ui/src/components/{RouteCost/RouteCost.types.d.ts → QuoteCost/QuoteCost.types.d.ts} +1 -1
- package/dist/widget/ui/src/components/QuoteCost/QuoteCost.types.d.ts.map +1 -0
- package/dist/widget/ui/src/components/QuoteCost/index.d.ts +2 -0
- package/dist/widget/ui/src/components/QuoteCost/index.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Radio/Radio.styles.d.ts.map +1 -1
- package/dist/widget/ui/src/components/RoutesOverview/RoutesOverview.d.ts.map +1 -1
- package/dist/widget/ui/src/components/SelectableCategoryList/SelectableCategoryList.d.ts.map +1 -1
- package/dist/widget/ui/src/components/SelectableCategoryList/SelectableCategoryList.helpers.d.ts +16 -2
- package/dist/widget/ui/src/components/SelectableCategoryList/SelectableCategoryList.helpers.d.ts.map +1 -1
- package/dist/widget/ui/src/components/SelectableCategoryList/index.d.ts +1 -0
- package/dist/widget/ui/src/components/SelectableCategoryList/index.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Skeleton/Skeleton.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Skeleton/Skeleton.types.d.ts +1 -1
- package/dist/widget/ui/src/components/Skeleton/Skeleton.types.d.ts.map +1 -1
- package/dist/widget/ui/src/components/StepDetails/StepDetails.d.ts.map +1 -1
- package/dist/widget/ui/src/components/StepDetails/StepDetails.styles.d.ts +7 -1
- package/dist/widget/ui/src/components/StepDetails/StepDetails.styles.d.ts.map +1 -1
- package/dist/widget/ui/src/components/StepDetails/StepDetails.types.d.ts +16 -2
- package/dist/widget/ui/src/components/StepDetails/StepDetails.types.d.ts.map +1 -1
- package/dist/widget/ui/src/components/StepDetails/index.d.ts +1 -1
- package/dist/widget/ui/src/components/StepDetails/index.d.ts.map +1 -1
- package/dist/widget/ui/src/components/StepDetails/mock.d.ts +1 -1
- package/dist/widget/ui/src/components/StepDetails/mock.d.ts.map +1 -1
- package/dist/widget/ui/src/components/SwapListItem/mock.d.ts +1 -1
- package/dist/widget/ui/src/components/SwapListItem/mock.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Switch/Switch.styles.d.ts.map +1 -1
- package/dist/widget/ui/src/components/TextField/TextField.d.ts.map +1 -1
- package/dist/widget/ui/src/components/TokenAmount/TokenAmount.d.ts.map +1 -1
- package/dist/widget/ui/src/components/TokenAmount/TokenAmount.styles.d.ts +471 -1
- package/dist/widget/ui/src/components/TokenAmount/TokenAmount.styles.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Tooltip/Tooltip.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Tooltip/Tooltip.styles.d.ts +2 -2
- package/dist/widget/ui/src/components/Tooltip/Tooltip.styles.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Wallet/Wallet.types.d.ts +3 -17
- package/dist/widget/ui/src/components/Wallet/Wallet.types.d.ts.map +1 -1
- package/dist/widget/ui/src/components/common/Image.d.ts +157 -0
- package/dist/widget/ui/src/components/common/Image.d.ts.map +1 -1
- package/dist/widget/ui/src/components/common/index.d.ts +1 -1
- package/dist/widget/ui/src/components/common/index.d.ts.map +1 -1
- package/dist/widget/ui/src/components/index.d.ts +1 -2
- package/dist/widget/ui/src/components/index.d.ts.map +1 -1
- package/dist/widget/ui/src/containers/BlockchainSelector/BlockchainSelector.d.ts +3 -3
- package/dist/widget/ui/src/containers/BlockchainSelector/BlockchainSelector.d.ts.map +1 -1
- package/dist/widget/ui/src/containers/SwapHistory/SwapHistory.d.ts +1 -1
- package/dist/widget/ui/src/containers/SwapHistory/SwapHistory.d.ts.map +1 -1
- package/dist/widget/ui/src/containers/SwapHistory/SwapHistory.stories.d.ts +2 -2
- package/dist/widget/ui/src/containers/SwapHistory/SwapHistory.stories.d.ts.map +1 -1
- package/dist/widget/ui/src/containers/SwapHistory/mock.d.ts +1 -1
- package/dist/widget/ui/src/containers/SwapHistory/mock.d.ts.map +1 -1
- package/dist/widget/ui/src/containers/SwapInput/SwapInput.d.ts.map +1 -1
- package/dist/widget/ui/src/containers/SwapInput/SwapInput.styles.d.ts +1313 -54
- package/dist/widget/ui/src/containers/SwapInput/SwapInput.styles.d.ts.map +1 -1
- package/dist/widget/ui/src/containers/SwapInput/SwapInput.types.d.ts +2 -0
- package/dist/widget/ui/src/containers/SwapInput/SwapInput.types.d.ts.map +1 -1
- package/dist/widget/ui/src/containers/SwapInput/TokenSection.d.ts.map +1 -1
- package/dist/widget/ui/src/containers/SwapInput/TokenSection.styles.d.ts +525 -54
- package/dist/widget/ui/src/containers/SwapInput/TokenSection.styles.d.ts.map +1 -1
- package/dist/widget/ui/src/containers/TokenSelector/TokenSelector.d.ts +2 -2
- package/dist/widget/ui/src/containers/TokenSelector/TokenSelector.d.ts.map +1 -1
- package/dist/widget/ui/src/icons/CosmosCategory.d.ts +5 -0
- package/dist/widget/ui/src/icons/CosmosCategory.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/EvmCategory.d.ts +5 -0
- package/dist/widget/ui/src/icons/EvmCategory.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/Icons.stories.d.ts +1 -1
- package/dist/widget/ui/src/icons/Language.d.ts +5 -0
- package/dist/widget/ui/src/icons/Language.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/OtherCategory.d.ts +5 -0
- package/dist/widget/ui/src/icons/OtherCategory.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/UtxoCategory.d.ts +5 -0
- package/dist/widget/ui/src/icons/UtxoCategory.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/index.d.ts +5 -0
- package/dist/widget/ui/src/icons/index.d.ts.map +1 -1
- package/dist/widget/ui/src/index.d.ts +0 -1
- package/dist/widget/ui/src/index.d.ts.map +1 -1
- package/dist/widget/ui/src/types/index.d.ts +0 -1
- package/dist/widget/ui/src/types/index.d.ts.map +1 -1
- package/dist/widget/ui/src/types/swaps.d.ts +1 -27
- package/dist/widget/ui/src/types/swaps.d.ts.map +1 -1
- package/dist/widget/ui/src/{helper → utils}/index.d.ts +0 -3
- package/dist/widget/ui/src/utils/index.d.ts.map +1 -0
- package/package.json +7 -6
- package/src/components/Alert/Alert.styles.ts +9 -12
- package/src/components/Alert/Alert.tsx +2 -2
- package/src/components/BlockchainsChip/BlockchainsChip.styles.ts +2 -1
- package/src/components/Button/Button.styles.tsx +1 -0
- package/src/components/Checkbox/Checkbox.styles.ts +5 -1
- package/src/components/ListItem/ListItem.styles.ts +9 -0
- package/src/components/ListItem/ListItem.tsx +1 -1
- package/src/components/ListItemButton/ListItemButton.styles.ts +1 -0
- package/src/components/PriceImpact/PriceImpact.styles.ts +9 -1
- package/src/components/PriceImpact/PriceImpact.tsx +5 -5
- package/src/components/QuoteCost/QuoteCost.styles.ts +29 -0
- package/src/components/{RouteCost/RouteCost.tsx → QuoteCost/QuoteCost.tsx} +14 -10
- package/src/components/QuoteCost/index.ts +1 -0
- package/src/components/Radio/Radio.styles.tsx +5 -2
- package/src/components/RoutesOverview/RoutesOverview.tsx +6 -2
- package/src/components/SelectableCategoryList/SelectableCategoryList.helpers.ts +40 -13
- package/src/components/SelectableCategoryList/SelectableCategoryList.tsx +47 -46
- package/src/components/SelectableCategoryList/index.ts +1 -0
- package/src/components/SelectableWalletList/SelectableWalletList.tsx +1 -1
- package/src/components/Skeleton/Skeleton.tsx +3 -2
- package/src/components/Skeleton/Skeleton.types.ts +1 -1
- package/src/components/StepDetails/StepDetails.stories.tsx +1 -1
- package/src/components/StepDetails/StepDetails.styles.ts +36 -28
- package/src/components/StepDetails/StepDetails.tsx +11 -7
- package/src/components/StepDetails/StepDetails.types.ts +17 -2
- package/src/components/StepDetails/index.ts +1 -1
- package/src/components/StepDetails/mock.ts +1 -1
- package/src/components/SvgIcon/SvgIcon.style.ts +1 -1
- package/src/components/SwapListItem/mock.ts +21 -6
- package/src/components/Switch/Switch.styles.tsx +8 -6
- package/src/components/TextField/TextField.tsx +3 -5
- package/src/components/TokenAmount/TokenAmount.styles.ts +12 -10
- package/src/components/TokenAmount/TokenAmount.tsx +23 -17
- package/src/components/Tooltip/Tooltip.styles.ts +8 -5
- package/src/components/Tooltip/Tooltip.tsx +2 -3
- package/src/components/Wallet/Wallet.styles.ts +1 -1
- package/src/components/Wallet/Wallet.types.ts +3 -23
- package/src/components/common/Image.tsx +1 -2
- package/src/components/common/index.ts +1 -1
- package/src/components/index.ts +1 -2
- package/src/containers/BlockchainSelector/BlockchainSelector.tsx +9 -8
- package/src/containers/SwapHistory/SwapHistory.stories.tsx +5 -2
- package/src/containers/SwapHistory/SwapHistory.tsx +1 -1
- package/src/containers/SwapHistory/mock.ts +24 -8
- package/src/containers/SwapInput/SwapInput.styles.ts +78 -27
- package/src/containers/SwapInput/SwapInput.tsx +37 -29
- package/src/containers/SwapInput/SwapInput.types.ts +2 -0
- package/src/containers/SwapInput/TokenSection.styles.ts +27 -12
- package/src/containers/SwapInput/TokenSection.tsx +15 -6
- package/src/containers/TokenSelector/TokenSelector.tsx +8 -10
- package/src/icons/CosmosCategory.tsx +137 -0
- package/src/icons/EvmCategory.tsx +74 -0
- package/src/icons/Language.tsx +55 -0
- package/src/icons/OtherCategory.tsx +72 -0
- package/src/icons/UtxoCategory.tsx +44 -0
- package/src/icons/index.ts +5 -0
- package/src/index.ts +0 -1
- package/src/theme.ts +4 -4
- package/src/types/index.ts +0 -1
- package/src/types/swaps.ts +0 -38
- package/src/utils/index.ts +23 -0
- package/dist/widget/ui/src/components/BestRoute/BestRoute.d.ts +0 -4
- package/dist/widget/ui/src/components/BestRoute/BestRoute.d.ts.map +0 -1
- package/dist/widget/ui/src/components/BestRoute/BestRoute.stories.d.ts +0 -7
- package/dist/widget/ui/src/components/BestRoute/BestRoute.stories.d.ts.map +0 -1
- package/dist/widget/ui/src/components/BestRoute/BestRoute.styles.d.ts +0 -1429
- package/dist/widget/ui/src/components/BestRoute/BestRoute.styles.d.ts.map +0 -1
- package/dist/widget/ui/src/components/BestRoute/BestRoute.types.d.ts +0 -34
- package/dist/widget/ui/src/components/BestRoute/BestRoute.types.d.ts.map +0 -1
- package/dist/widget/ui/src/components/BestRoute/BestRouteSkeleton.d.ts +0 -4
- package/dist/widget/ui/src/components/BestRoute/BestRouteSkeleton.d.ts.map +0 -1
- package/dist/widget/ui/src/components/BestRoute/BestRouteSkeleton.styles.d.ts +0 -319
- package/dist/widget/ui/src/components/BestRoute/BestRouteSkeleton.styles.d.ts.map +0 -1
- package/dist/widget/ui/src/components/BestRoute/BestRouteSkeleton.types.d.ts +0 -6
- package/dist/widget/ui/src/components/BestRoute/BestRouteSkeleton.types.d.ts.map +0 -1
- package/dist/widget/ui/src/components/BestRoute/RouteSummary.d.ts +0 -12
- package/dist/widget/ui/src/components/BestRoute/RouteSummary.d.ts.map +0 -1
- package/dist/widget/ui/src/components/BestRoute/RouteSummary.styles.d.ts +0 -158
- package/dist/widget/ui/src/components/BestRoute/RouteSummary.styles.d.ts.map +0 -1
- package/dist/widget/ui/src/components/BestRoute/index.d.ts +0 -5
- package/dist/widget/ui/src/components/BestRoute/index.d.ts.map +0 -1
- package/dist/widget/ui/src/components/BestRoute/mock.d.ts +0 -3
- package/dist/widget/ui/src/components/BestRoute/mock.d.ts.map +0 -1
- package/dist/widget/ui/src/components/RouteCost/RouteCost.d.ts +0 -4
- package/dist/widget/ui/src/components/RouteCost/RouteCost.d.ts.map +0 -1
- package/dist/widget/ui/src/components/RouteCost/RouteCost.styles.d.ts +0 -158
- package/dist/widget/ui/src/components/RouteCost/RouteCost.styles.d.ts.map +0 -1
- package/dist/widget/ui/src/components/RouteCost/RouteCost.types.d.ts.map +0 -1
- package/dist/widget/ui/src/components/RouteCost/index.d.ts +0 -2
- package/dist/widget/ui/src/components/RouteCost/index.d.ts.map +0 -1
- package/dist/widget/ui/src/containers/History/types.d.ts +0 -2
- package/dist/widget/ui/src/containers/History/types.d.ts.map +0 -1
- package/dist/widget/ui/src/helper/index.d.ts.map +0 -1
- package/src/components/BestRoute/BestRoute.stories.tsx +0 -17
- package/src/components/BestRoute/BestRoute.styles.ts +0 -213
- package/src/components/BestRoute/BestRoute.tsx +0 -176
- package/src/components/BestRoute/BestRoute.types.ts +0 -32
- package/src/components/BestRoute/BestRouteSkeleton.styles.ts +0 -110
- package/src/components/BestRoute/BestRouteSkeleton.tsx +0 -112
- package/src/components/BestRoute/BestRouteSkeleton.types.ts +0 -5
- package/src/components/BestRoute/RouteSummary.styles.ts +0 -15
- package/src/components/BestRoute/RouteSummary.tsx +0 -48
- package/src/components/BestRoute/index.ts +0 -4
- package/src/components/BestRoute/mock.ts +0 -142
- package/src/components/RouteCost/RouteCost.styles.ts +0 -20
- package/src/components/RouteCost/index.ts +0 -1
- package/src/containers/History/types.tsx +0 -1
- package/src/helper/index.ts +0 -99
- /package/src/components/{RouteCost/RouteCost.types.ts → QuoteCost/QuoteCost.types.ts} +0 -0
|
@@ -17,29 +17,17 @@ export interface Info {
|
|
|
17
17
|
description: string;
|
|
18
18
|
tooltipText: string;
|
|
19
19
|
}
|
|
20
|
-
interface StateConnected {
|
|
21
|
-
state: WalletState.CONNECTED;
|
|
22
|
-
}
|
|
23
|
-
interface StateDisconnected {
|
|
24
|
-
state: WalletState.DISCONNECTED;
|
|
25
|
-
}
|
|
26
|
-
interface StateConnecting {
|
|
27
|
-
state: WalletState.CONNECTING;
|
|
28
|
-
}
|
|
29
|
-
interface StateNotInstalled {
|
|
30
|
-
state: WalletState.NOT_INSTALLED;
|
|
31
|
-
link: InstallObjects | string;
|
|
32
|
-
}
|
|
33
|
-
type State = StateConnected | StateDisconnected | StateConnecting | StateNotInstalled;
|
|
34
20
|
export interface ContentProps {
|
|
35
21
|
image: string;
|
|
36
22
|
title: string;
|
|
37
23
|
description: string;
|
|
38
24
|
descriptionColor?: string;
|
|
39
25
|
}
|
|
40
|
-
interface
|
|
26
|
+
export interface WalletPropTypes {
|
|
27
|
+
state: WalletState;
|
|
41
28
|
title: string;
|
|
42
29
|
image: string;
|
|
30
|
+
link: InstallObjects | string;
|
|
43
31
|
type: WalletType;
|
|
44
32
|
onClick: (type: WalletType) => void;
|
|
45
33
|
selected?: boolean;
|
|
@@ -47,9 +35,7 @@ interface WalletProps {
|
|
|
47
35
|
isLoading?: boolean;
|
|
48
36
|
container?: HTMLElement;
|
|
49
37
|
}
|
|
50
|
-
export type WalletPropTypes = State & WalletProps;
|
|
51
38
|
export type SelectablePropTypes = WalletPropTypes & {
|
|
52
39
|
selected: boolean;
|
|
53
40
|
};
|
|
54
|
-
export {};
|
|
55
41
|
//# sourceMappingURL=Wallet.types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Wallet.types.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Wallet/Wallet.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAE5E,oBAAY,WAAW;IACrB,aAAa,kBAAkB;IAC/B,YAAY,iBAAiB;IAC7B,UAAU,eAAe;IACzB,SAAS,cAAc;CACxB;AAED,MAAM,MAAM,UAAU,GAAG;IACvB,KAAK,EAAE,WAAW,CAAC;IACnB,IAAI,EAAE,cAAc,GAAG,MAAM,CAAC;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,MAAM,WAAW,IAAI;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,
|
|
1
|
+
{"version":3,"file":"Wallet.types.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Wallet/Wallet.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAE5E,oBAAY,WAAW;IACrB,aAAa,kBAAkB;IAC/B,YAAY,iBAAiB;IAC7B,UAAU,eAAe;IACzB,SAAS,cAAc;CACxB;AAED,MAAM,MAAM,UAAU,GAAG;IACvB,KAAK,EAAE,WAAW,CAAC;IACnB,IAAI,EAAE,cAAc,GAAG,MAAM,CAAC;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,MAAM,WAAW,IAAI;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,WAAW,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,cAAc,GAAG,MAAM,CAAC;IAC9B,IAAI,EAAE,UAAU,CAAC;IACjB,OAAO,EAAE,CAAC,IAAI,EAAE,UAAU,KAAK,IAAI,CAAC;IACpC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,WAAW,CAAC;CACzB;AAED,MAAM,MAAM,mBAAmB,GAAG,eAAe,GAAG;IAClD,QAAQ,EAAE,OAAO,CAAC;CACnB,CAAC"}
|
|
@@ -1,4 +1,161 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
export declare const ImageContainer: import("@stitches/react/types/styled-component").StyledComponent<"div", {}, {
|
|
3
|
+
sm: string;
|
|
4
|
+
md: string;
|
|
5
|
+
lg: string;
|
|
6
|
+
}, import("@stitches/react/types/css-util").CSS<{
|
|
7
|
+
sm: string;
|
|
8
|
+
md: string;
|
|
9
|
+
lg: string;
|
|
10
|
+
}, {
|
|
11
|
+
colors: {
|
|
12
|
+
primary: string;
|
|
13
|
+
primary500: string;
|
|
14
|
+
primary600: string;
|
|
15
|
+
secondary: string;
|
|
16
|
+
secondary100: string;
|
|
17
|
+
secondary200: string;
|
|
18
|
+
secondary300: string;
|
|
19
|
+
secondary400: string;
|
|
20
|
+
secondary500: string;
|
|
21
|
+
secondary600: string;
|
|
22
|
+
secondary700: string;
|
|
23
|
+
secondary800: string;
|
|
24
|
+
secondary900: string;
|
|
25
|
+
neutral: string;
|
|
26
|
+
neutral100: string;
|
|
27
|
+
neutral200: string;
|
|
28
|
+
neutral300: string;
|
|
29
|
+
neutral400: string;
|
|
30
|
+
neutral500: string;
|
|
31
|
+
neutral600: string;
|
|
32
|
+
neutral700: string;
|
|
33
|
+
neutral800: string;
|
|
34
|
+
neutral900: string;
|
|
35
|
+
error100: string;
|
|
36
|
+
error300: string;
|
|
37
|
+
error500: string;
|
|
38
|
+
error600: string;
|
|
39
|
+
error700: string;
|
|
40
|
+
warning100: string;
|
|
41
|
+
warning300: string;
|
|
42
|
+
warning500: string;
|
|
43
|
+
warning600: string;
|
|
44
|
+
warning700: string;
|
|
45
|
+
info: string;
|
|
46
|
+
info100: string;
|
|
47
|
+
info300: string;
|
|
48
|
+
info500: string;
|
|
49
|
+
info600: string;
|
|
50
|
+
info700: string;
|
|
51
|
+
success100: string;
|
|
52
|
+
success300: string;
|
|
53
|
+
success500: string;
|
|
54
|
+
success600: string;
|
|
55
|
+
success700: string;
|
|
56
|
+
background: string;
|
|
57
|
+
foreground: string;
|
|
58
|
+
};
|
|
59
|
+
space: {
|
|
60
|
+
0: string;
|
|
61
|
+
5: string;
|
|
62
|
+
10: string;
|
|
63
|
+
15: string;
|
|
64
|
+
20: string;
|
|
65
|
+
25: string;
|
|
66
|
+
30: string;
|
|
67
|
+
40: string;
|
|
68
|
+
46: string;
|
|
69
|
+
50: string;
|
|
70
|
+
60: string;
|
|
71
|
+
70: string;
|
|
72
|
+
80: string;
|
|
73
|
+
90: string;
|
|
74
|
+
100: string;
|
|
75
|
+
2: string;
|
|
76
|
+
4: string;
|
|
77
|
+
6: string;
|
|
78
|
+
8: string;
|
|
79
|
+
12: string;
|
|
80
|
+
16: string;
|
|
81
|
+
24: string;
|
|
82
|
+
28: string;
|
|
83
|
+
32: string;
|
|
84
|
+
};
|
|
85
|
+
radii: {
|
|
86
|
+
xs: string;
|
|
87
|
+
sm: string;
|
|
88
|
+
xm: string;
|
|
89
|
+
md: string;
|
|
90
|
+
xl: string;
|
|
91
|
+
lg: string;
|
|
92
|
+
primary: string;
|
|
93
|
+
secondary: string;
|
|
94
|
+
};
|
|
95
|
+
fontSizes: {
|
|
96
|
+
10: string;
|
|
97
|
+
12: string;
|
|
98
|
+
14: string;
|
|
99
|
+
16: string;
|
|
100
|
+
18: string;
|
|
101
|
+
20: string;
|
|
102
|
+
22: string;
|
|
103
|
+
24: string;
|
|
104
|
+
28: string;
|
|
105
|
+
32: string;
|
|
106
|
+
36: string;
|
|
107
|
+
40: string;
|
|
108
|
+
48: string;
|
|
109
|
+
};
|
|
110
|
+
fonts: {
|
|
111
|
+
primary: string;
|
|
112
|
+
widget: string;
|
|
113
|
+
};
|
|
114
|
+
fontWeights: {
|
|
115
|
+
regular: number;
|
|
116
|
+
medium: number;
|
|
117
|
+
semiBold: number;
|
|
118
|
+
bold: number;
|
|
119
|
+
};
|
|
120
|
+
lineHeights: {
|
|
121
|
+
12: string;
|
|
122
|
+
16: string;
|
|
123
|
+
20: string;
|
|
124
|
+
24: string;
|
|
125
|
+
26: string;
|
|
126
|
+
28: string;
|
|
127
|
+
30: string;
|
|
128
|
+
36: string;
|
|
129
|
+
40: string;
|
|
130
|
+
44: string;
|
|
131
|
+
52: string;
|
|
132
|
+
64: string;
|
|
133
|
+
};
|
|
134
|
+
letterSpacings: {};
|
|
135
|
+
sizes: {
|
|
136
|
+
4: string;
|
|
137
|
+
6: string;
|
|
138
|
+
8: string;
|
|
139
|
+
12: string;
|
|
140
|
+
16: string;
|
|
141
|
+
18: string;
|
|
142
|
+
20: string;
|
|
143
|
+
24: string;
|
|
144
|
+
28: string;
|
|
145
|
+
32: string;
|
|
146
|
+
36: string;
|
|
147
|
+
40: string;
|
|
148
|
+
45: string;
|
|
149
|
+
48: string;
|
|
150
|
+
};
|
|
151
|
+
borderWidths: {};
|
|
152
|
+
borderStyles: {};
|
|
153
|
+
shadows: {
|
|
154
|
+
s: string;
|
|
155
|
+
};
|
|
156
|
+
zIndices: {};
|
|
157
|
+
transitions: {};
|
|
158
|
+
}, import("@stitches/react/types/config").DefaultThemeMap, {}>>;
|
|
2
159
|
type PropTypes = {
|
|
3
160
|
size: number;
|
|
4
161
|
useAsPlaceholder?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Image.d.ts","sourceRoot":"","sources":["../../../../../../src/components/common/Image.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Image.d.ts","sourceRoot":"","sources":["../../../../../../src/components/common/Image.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAYzB,CAAC;AAEH,KAAK,SAAS,GAAG;IACf,IAAI,EAAE,MAAM,CAAC;IACb,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,IAAI,CAAC,EAAE,UAAU,GAAG,aAAa,CAAC;CACnC,GAAG,KAAK,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,CAAC;AAE9C,wBAAgB,KAAK,CAAC,KAAK,EAAE,SAAS,qBA0BrC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/common/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/common/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
export * from './I18nManager';
|
|
2
2
|
export * from './Alert';
|
|
3
|
-
export * from './BestRoute';
|
|
4
3
|
export * from './BlockchainsChip';
|
|
5
4
|
export * from './BottomLogo';
|
|
6
5
|
export * from './Button';
|
|
@@ -45,7 +44,7 @@ export * from './ListItem';
|
|
|
45
44
|
export * from './NotFound';
|
|
46
45
|
export * from './MessageBox';
|
|
47
46
|
export * from './IconButton';
|
|
48
|
-
export * from './
|
|
47
|
+
export * from './QuoteCost';
|
|
49
48
|
export * from './TokenAmount';
|
|
50
49
|
export * from './StepDetails';
|
|
51
50
|
export * from './Popover';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,wBAAwB,CAAC;AACvC,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AACvC,cAAc,UAAU,CAAC;AACzB,cAAc,0BAA0B,CAAC;AACzC,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,0BAA0B,CAAC;AACzC,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import type { LoadingStatus } from '../../types/meta';
|
|
2
|
+
import type { CSSProperties } from '@stitches/react';
|
|
3
|
+
import type { BlockchainMeta } from 'rango-sdk';
|
|
1
4
|
import React from 'react';
|
|
2
|
-
import { BlockchainMeta } from 'rango-sdk';
|
|
3
|
-
import { CSSProperties } from '@stitches/react';
|
|
4
|
-
import { LoadingStatus } from '../../types/meta';
|
|
5
5
|
export interface PropTypes {
|
|
6
6
|
type?: 'Source' | 'Destination';
|
|
7
7
|
list: BlockchainMeta[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BlockchainSelector.d.ts","sourceRoot":"","sources":["../../../../../../src/containers/BlockchainSelector/BlockchainSelector.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,
|
|
1
|
+
{"version":3,"file":"BlockchainSelector.d.ts","sourceRoot":"","sources":["../../../../../../src/containers/BlockchainSelector/BlockchainSelector.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAEhD,OAAO,KAAK,MAAM,OAAO,CAAC;AAuB1B,MAAM,WAAW,SAAS;IACxB,IAAI,CAAC,EAAE,QAAQ,GAAG,aAAa,CAAC;IAChC,IAAI,EAAE,cAAc,EAAE,CAAC;IACvB,QAAQ,CAAC,EAAE,cAAc,GAAG,IAAI,CAAC;IACjC,QAAQ,EAAE,CAAC,UAAU,EAAE,cAAc,KAAK,IAAI,CAAC;IAC/C,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,aAAa,EAAE,aAAa,CAAC;IAC7B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,kBAAkB,CAAC,EAAE,aAAa,CAAC;IACnC,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,YAAY,CAAC,EAAE,cAAc,EAAE,GAAG,KAAK,CAAC;CACzC;AAED,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,SAAS,qBAwDlD"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PropTypes as SwapMessagesPropTypes } from './SwapMessages';
|
|
2
|
-
import type { PendingSwap } from '
|
|
2
|
+
import type { PendingSwap } from 'rango-types';
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { Typography } from '../../components';
|
|
5
5
|
export declare const pulse: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SwapHistory.d.ts","sourceRoot":"","sources":["../../../../../../src/containers/SwapHistory/SwapHistory.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,IAAI,qBAAqB,EAAE,MAAM,gBAAgB,CAAC;AACzE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"SwapHistory.d.ts","sourceRoot":"","sources":["../../../../../../src/containers/SwapHistory/SwapHistory.tsx"],"names":[],"mappings":"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"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import type { PropTypes } from './SwapHistory';
|
|
1
2
|
import React from 'react';
|
|
2
|
-
import { PropTypes } from './SwapHistory';
|
|
3
3
|
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, {
|
|
4
|
-
pendingSwap: import("
|
|
4
|
+
pendingSwap: import("rango-types/lib").PendingSwap;
|
|
5
5
|
onCopy: (requestId: string) => void;
|
|
6
6
|
onBack: () => void;
|
|
7
7
|
isCopied: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SwapHistory.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/containers/SwapHistory/SwapHistory.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,
|
|
1
|
+
{"version":3,"file":"SwapHistory.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/containers/SwapHistory/SwapHistory.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAG/C,OAAO,KAAK,MAAM,OAAO,CAAC;;;;;;;;;;;AAK1B,wBAG8B;AAE9B,eAAO,MAAM,IAAI,SAAU,SAAS,sBAEnC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mock.d.ts","sourceRoot":"","sources":["../../../../../../src/containers/SwapHistory/mock.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"mock.d.ts","sourceRoot":"","sources":["../../../../../../src/containers/SwapHistory/mock.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAK/C,eAAO,MAAM,WAAW,EAAE,WA6RzB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SwapInput.d.ts","sourceRoot":"","sources":["../../../../../../src/containers/SwapInput/SwapInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAGxD,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"SwapInput.d.ts","sourceRoot":"","sources":["../../../../../../src/containers/SwapInput/SwapInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAGxD,OAAO,KAAK,MAAM,OAAO,CAAC;AAmB1B,wBAAgB,SAAS,CAAC,KAAK,EAAE,cAAc,qBA8F9C"}
|