@rango-dev/ui 0.23.0 → 0.24.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 +1 -86
- 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 +0 -157
- package/dist/widget/ui/src/components/Alert/Alert.styles.d.ts.map +1 -1
- package/dist/widget/ui/src/components/BestRoute/BestRoute.d.ts +4 -0
- package/dist/widget/ui/src/components/BestRoute/BestRoute.d.ts.map +1 -0
- package/dist/widget/ui/src/components/BestRoute/BestRoute.stories.d.ts +7 -0
- package/dist/widget/ui/src/components/BestRoute/BestRoute.stories.d.ts.map +1 -0
- package/dist/widget/ui/src/components/BestRoute/BestRoute.styles.d.ts +1429 -0
- package/dist/widget/ui/src/components/BestRoute/BestRoute.styles.d.ts.map +1 -0
- package/dist/widget/ui/src/components/BestRoute/BestRoute.types.d.ts +34 -0
- package/dist/widget/ui/src/components/BestRoute/BestRoute.types.d.ts.map +1 -0
- package/dist/widget/ui/src/components/BestRoute/BestRouteSkeleton.d.ts +4 -0
- package/dist/widget/ui/src/components/BestRoute/BestRouteSkeleton.d.ts.map +1 -0
- package/dist/widget/ui/src/components/BestRoute/BestRouteSkeleton.styles.d.ts +319 -0
- package/dist/widget/ui/src/components/BestRoute/BestRouteSkeleton.styles.d.ts.map +1 -0
- package/dist/widget/ui/src/components/BestRoute/BestRouteSkeleton.types.d.ts +6 -0
- package/dist/widget/ui/src/components/BestRoute/BestRouteSkeleton.types.d.ts.map +1 -0
- package/dist/widget/ui/src/components/BestRoute/RouteSummary.d.ts +12 -0
- package/dist/widget/ui/src/components/BestRoute/RouteSummary.d.ts.map +1 -0
- package/dist/widget/ui/src/components/BestRoute/RouteSummary.styles.d.ts +158 -0
- package/dist/widget/ui/src/components/BestRoute/RouteSummary.styles.d.ts.map +1 -0
- package/dist/widget/ui/src/components/BestRoute/index.d.ts +5 -0
- package/dist/widget/ui/src/components/BestRoute/index.d.ts.map +1 -0
- package/dist/widget/ui/src/components/BestRoute/mock.d.ts +3 -0
- package/dist/widget/ui/src/components/BestRoute/mock.d.ts.map +1 -0
- 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 +0 -158
- package/dist/widget/ui/src/components/PriceImpact/PriceImpact.styles.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Radio/Radio.styles.d.ts.map +1 -1
- package/dist/widget/ui/src/components/RouteCost/RouteCost.d.ts +4 -0
- package/dist/widget/ui/src/components/RouteCost/RouteCost.d.ts.map +1 -0
- package/dist/widget/ui/src/components/RouteCost/RouteCost.styles.d.ts +158 -0
- package/dist/widget/ui/src/components/RouteCost/RouteCost.styles.d.ts.map +1 -0
- package/dist/widget/ui/src/components/{QuoteCost/QuoteCost.types.d.ts → RouteCost/RouteCost.types.d.ts} +1 -1
- package/dist/widget/ui/src/components/RouteCost/RouteCost.types.d.ts.map +1 -0
- package/dist/widget/ui/src/components/RouteCost/index.d.ts +2 -0
- package/dist/widget/ui/src/components/RouteCost/index.d.ts.map +1 -0
- 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 +2 -16
- package/dist/widget/ui/src/components/SelectableCategoryList/SelectableCategoryList.helpers.d.ts.map +1 -1
- package/dist/widget/ui/src/components/SelectableCategoryList/index.d.ts +0 -1
- 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 +1 -7
- 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 +2 -16
- 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 +1 -471
- 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 +17 -3
- package/dist/widget/ui/src/components/Wallet/Wallet.types.d.ts.map +1 -1
- package/dist/widget/ui/src/components/common/Image.d.ts +0 -157
- 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 +2 -1
- 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/History/types.d.ts +2 -0
- package/dist/widget/ui/src/containers/History/types.d.ts.map +1 -0
- 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 +54 -1313
- 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 +0 -2
- 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 +54 -525
- 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/{utils → helper}/index.d.ts +3 -0
- package/dist/widget/ui/src/helper/index.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/Icons.stories.d.ts +1 -1
- package/dist/widget/ui/src/icons/index.d.ts +0 -5
- package/dist/widget/ui/src/icons/index.d.ts.map +1 -1
- package/dist/widget/ui/src/index.d.ts +1 -0
- package/dist/widget/ui/src/index.d.ts.map +1 -1
- package/dist/widget/ui/src/types/index.d.ts +1 -0
- package/dist/widget/ui/src/types/index.d.ts.map +1 -1
- package/dist/widget/ui/src/types/swaps.d.ts +27 -1
- package/dist/widget/ui/src/types/swaps.d.ts.map +1 -1
- package/package.json +5 -6
- package/src/components/Alert/Alert.styles.ts +12 -9
- package/src/components/Alert/Alert.tsx +2 -2
- package/src/components/BestRoute/BestRoute.stories.tsx +17 -0
- package/src/components/BestRoute/BestRoute.styles.ts +213 -0
- package/src/components/BestRoute/BestRoute.tsx +176 -0
- package/src/components/BestRoute/BestRoute.types.ts +32 -0
- package/src/components/BestRoute/BestRouteSkeleton.styles.ts +110 -0
- package/src/components/BestRoute/BestRouteSkeleton.tsx +112 -0
- package/src/components/BestRoute/BestRouteSkeleton.types.ts +5 -0
- package/src/components/BestRoute/RouteSummary.styles.ts +15 -0
- package/src/components/BestRoute/RouteSummary.tsx +48 -0
- package/src/components/BestRoute/index.ts +4 -0
- package/src/components/BestRoute/mock.ts +142 -0
- package/src/components/BlockchainsChip/BlockchainsChip.styles.ts +1 -2
- package/src/components/Button/Button.styles.tsx +0 -1
- package/src/components/Checkbox/Checkbox.styles.ts +1 -5
- package/src/components/ListItem/ListItem.styles.ts +0 -9
- package/src/components/ListItem/ListItem.tsx +1 -1
- package/src/components/ListItemButton/ListItemButton.styles.ts +0 -1
- package/src/components/PriceImpact/PriceImpact.styles.ts +1 -9
- package/src/components/PriceImpact/PriceImpact.tsx +5 -5
- package/src/components/Radio/Radio.styles.tsx +2 -5
- package/src/components/RouteCost/RouteCost.styles.ts +20 -0
- package/src/components/{QuoteCost/QuoteCost.tsx → RouteCost/RouteCost.tsx} +10 -14
- package/src/components/RouteCost/index.ts +1 -0
- package/src/components/RoutesOverview/RoutesOverview.tsx +2 -6
- package/src/components/SelectableCategoryList/SelectableCategoryList.helpers.ts +13 -40
- package/src/components/SelectableCategoryList/SelectableCategoryList.tsx +46 -47
- package/src/components/SelectableCategoryList/index.ts +0 -1
- package/src/components/SelectableWalletList/SelectableWalletList.tsx +1 -1
- package/src/components/Skeleton/Skeleton.tsx +2 -3
- 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 +28 -36
- package/src/components/StepDetails/StepDetails.tsx +7 -11
- package/src/components/StepDetails/StepDetails.types.ts +2 -17
- 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 +6 -21
- package/src/components/Switch/Switch.styles.tsx +6 -8
- package/src/components/TextField/TextField.tsx +5 -3
- package/src/components/TokenAmount/TokenAmount.styles.ts +10 -12
- package/src/components/TokenAmount/TokenAmount.tsx +17 -23
- package/src/components/Tooltip/Tooltip.styles.ts +5 -8
- package/src/components/Tooltip/Tooltip.tsx +3 -2
- package/src/components/Wallet/Wallet.styles.ts +1 -1
- package/src/components/Wallet/Wallet.types.ts +23 -3
- package/src/components/common/Image.tsx +2 -1
- package/src/components/common/index.ts +1 -1
- package/src/components/index.ts +2 -1
- package/src/containers/BlockchainSelector/BlockchainSelector.tsx +8 -9
- package/src/containers/History/types.tsx +1 -0
- package/src/containers/SwapHistory/SwapHistory.stories.tsx +2 -5
- package/src/containers/SwapHistory/SwapHistory.tsx +1 -1
- package/src/containers/SwapHistory/mock.ts +8 -24
- package/src/containers/SwapInput/SwapInput.styles.ts +27 -78
- package/src/containers/SwapInput/SwapInput.tsx +29 -37
- package/src/containers/SwapInput/SwapInput.types.ts +0 -2
- package/src/containers/SwapInput/TokenSection.styles.ts +12 -27
- package/src/containers/SwapInput/TokenSection.tsx +6 -15
- package/src/containers/TokenSelector/TokenSelector.tsx +10 -8
- package/src/helper/index.ts +99 -0
- package/src/icons/index.ts +0 -5
- package/src/index.ts +1 -0
- package/src/theme.ts +4 -4
- package/src/types/index.ts +1 -0
- package/src/types/swaps.ts +38 -0
- package/dist/widget/ui/src/components/QuoteCost/QuoteCost.d.ts +0 -4
- package/dist/widget/ui/src/components/QuoteCost/QuoteCost.d.ts.map +0 -1
- package/dist/widget/ui/src/components/QuoteCost/QuoteCost.styles.d.ts +0 -629
- package/dist/widget/ui/src/components/QuoteCost/QuoteCost.styles.d.ts.map +0 -1
- package/dist/widget/ui/src/components/QuoteCost/QuoteCost.types.d.ts.map +0 -1
- package/dist/widget/ui/src/components/QuoteCost/index.d.ts +0 -2
- package/dist/widget/ui/src/components/QuoteCost/index.d.ts.map +0 -1
- package/dist/widget/ui/src/icons/CosmosCategory.d.ts +0 -5
- package/dist/widget/ui/src/icons/CosmosCategory.d.ts.map +0 -1
- package/dist/widget/ui/src/icons/EvmCategory.d.ts +0 -5
- package/dist/widget/ui/src/icons/EvmCategory.d.ts.map +0 -1
- package/dist/widget/ui/src/icons/Language.d.ts +0 -5
- package/dist/widget/ui/src/icons/Language.d.ts.map +0 -1
- package/dist/widget/ui/src/icons/OtherCategory.d.ts +0 -5
- package/dist/widget/ui/src/icons/OtherCategory.d.ts.map +0 -1
- package/dist/widget/ui/src/icons/UtxoCategory.d.ts +0 -5
- package/dist/widget/ui/src/icons/UtxoCategory.d.ts.map +0 -1
- package/dist/widget/ui/src/utils/index.d.ts.map +0 -1
- package/src/components/QuoteCost/QuoteCost.styles.ts +0 -29
- package/src/components/QuoteCost/index.ts +0 -1
- package/src/icons/CosmosCategory.tsx +0 -137
- package/src/icons/EvmCategory.tsx +0 -74
- package/src/icons/Language.tsx +0 -55
- package/src/icons/OtherCategory.tsx +0 -72
- package/src/icons/UtxoCategory.tsx +0 -44
- package/src/utils/index.ts +0 -23
- /package/src/components/{QuoteCost/QuoteCost.types.ts → RouteCost/RouteCost.types.ts} +0 -0
|
@@ -1,24 +1,10 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type { SwapInputProps } from 'src/containers/SwapInput/SwapInput.types';
|
|
3
|
-
type BaseStep = Pick<SwapInputProps, 'chain' | 'token' | 'price'>;
|
|
4
|
-
export type Step = {
|
|
5
|
-
swapper: SwapInputProps['chain'];
|
|
6
|
-
from: BaseStep;
|
|
7
|
-
to: BaseStep;
|
|
8
|
-
error?: {
|
|
9
|
-
title?: string;
|
|
10
|
-
description?: string;
|
|
11
|
-
};
|
|
12
|
-
alerts?: ReactNode;
|
|
13
|
-
state?: 'error' | 'warning';
|
|
14
|
-
};
|
|
1
|
+
import type { Step } from '../BestRoute/BestRoute.types';
|
|
15
2
|
export type StepDetailsProps = {
|
|
16
3
|
step: Step;
|
|
17
4
|
hasSeparator: boolean;
|
|
18
|
-
type: '
|
|
5
|
+
type: 'route-details' | 'route-progress';
|
|
19
6
|
state?: 'default' | 'in-progress' | 'completed' | 'warning' | 'error';
|
|
20
7
|
isFocused?: boolean;
|
|
21
8
|
tabIndex?: number;
|
|
22
9
|
};
|
|
23
|
-
export {};
|
|
24
10
|
//# sourceMappingURL=StepDetails.types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepDetails.types.d.ts","sourceRoot":"","sources":["../../../../../../src/components/StepDetails/StepDetails.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"StepDetails.types.d.ts","sourceRoot":"","sources":["../../../../../../src/components/StepDetails/StepDetails.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,8BAA8B,CAAC;AAEzD,MAAM,MAAM,gBAAgB,GAAG;IAC7B,IAAI,EAAE,IAAI,CAAC;IACX,YAAY,EAAE,OAAO,CAAC;IACtB,IAAI,EAAE,eAAe,GAAG,gBAAgB,CAAC;IACzC,KAAK,CAAC,EAAE,SAAS,GAAG,aAAa,GAAG,WAAW,GAAG,SAAS,GAAG,OAAO,CAAC;IACtE,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/StepDetails/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,YAAY,EAAE,gBAAgB,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/StepDetails/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,YAAY,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mock.d.ts","sourceRoot":"","sources":["../../../../../../src/components/StepDetails/mock.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"mock.d.ts","sourceRoot":"","sources":["../../../../../../src/components/StepDetails/mock.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,8BAA8B,CAAC;AAEzD,eAAO,MAAM,KAAK,EAAE,IAgCnB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { SwapTokenData } from './SwapListItem.types';
|
|
2
|
-
import type { PendingSwap } from '
|
|
2
|
+
import type { PendingSwap } from '../../containers/History/types';
|
|
3
3
|
export declare const swap: PendingSwap;
|
|
4
4
|
export declare const swapTokenData: SwapTokenData;
|
|
5
5
|
//# sourceMappingURL=mock.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mock.d.ts","sourceRoot":"","sources":["../../../../../../src/components/SwapListItem/mock.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"mock.d.ts","sourceRoot":"","sources":["../../../../../../src/components/SwapListItem/mock.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAIlE,eAAO,MAAM,IAAI,EAAE,WA+QlB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,aAqB3B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Switch.styles.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Switch/Switch.styles.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,WAAW,MAAM,wBAAwB,CAAC;AAItD,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+
|
|
1
|
+
{"version":3,"file":"Switch.styles.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Switch/Switch.styles.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,WAAW,MAAM,wBAAwB,CAAC;AAItD,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAuB3B,CAAC;AAEH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAgB5B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextField.d.ts","sourceRoot":"","sources":["../../../../../../src/components/TextField/TextField.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"TextField.d.ts","sourceRoot":"","sources":["../../../../../../src/components/TextField/TextField.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAC;AAqD1B,QAAA,MAAM,SAAS;;;;;;;;;0CAAuC,CAAC;AAGvD,OAAO,EAAE,SAAS,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TokenAmount.d.ts","sourceRoot":"","sources":["../../../../../../src/components/TokenAmount/TokenAmount.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAErD,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"TokenAmount.d.ts","sourceRoot":"","sources":["../../../../../../src/components/TokenAmount/TokenAmount.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAErD,OAAO,KAAK,MAAM,OAAO,CAAC;AAQ1B,wBAAgB,WAAW,CAAC,KAAK,EAAE,SAAS,qBAkD3C"}
|
|
@@ -1,475 +1,5 @@
|
|
|
1
1
|
export declare const Container: import("@stitches/react/types/styled-component").StyledComponent<"div", {
|
|
2
2
|
direction?: "vertical" | "horizontal" | undefined;
|
|
3
3
|
centerAlign?: boolean | "true" | undefined;
|
|
4
|
-
}, {
|
|
5
|
-
sm: string;
|
|
6
|
-
md: string;
|
|
7
|
-
lg: string;
|
|
8
|
-
}, import("@stitches/react/types/css-util").CSS<{
|
|
9
|
-
sm: string;
|
|
10
|
-
md: string;
|
|
11
|
-
lg: string;
|
|
12
|
-
}, {
|
|
13
|
-
colors: {
|
|
14
|
-
primary: string;
|
|
15
|
-
primary500: string;
|
|
16
|
-
primary600: string;
|
|
17
|
-
secondary: string;
|
|
18
|
-
secondary100: string;
|
|
19
|
-
secondary200: string;
|
|
20
|
-
secondary300: string;
|
|
21
|
-
secondary400: string;
|
|
22
|
-
secondary500: string;
|
|
23
|
-
secondary600: string;
|
|
24
|
-
secondary700: string;
|
|
25
|
-
secondary800: string;
|
|
26
|
-
secondary900: string;
|
|
27
|
-
neutral: string;
|
|
28
|
-
neutral100: string;
|
|
29
|
-
neutral200: string;
|
|
30
|
-
neutral300: string;
|
|
31
|
-
neutral400: string;
|
|
32
|
-
neutral500: string;
|
|
33
|
-
neutral600: string;
|
|
34
|
-
neutral700: string;
|
|
35
|
-
neutral800: string;
|
|
36
|
-
neutral900: string;
|
|
37
|
-
error100: string;
|
|
38
|
-
error300: string;
|
|
39
|
-
error500: string;
|
|
40
|
-
error600: string;
|
|
41
|
-
error700: string;
|
|
42
|
-
warning100: string;
|
|
43
|
-
warning300: string;
|
|
44
|
-
warning500: string;
|
|
45
|
-
warning600: string;
|
|
46
|
-
warning700: string;
|
|
47
|
-
info: string;
|
|
48
|
-
info100: string;
|
|
49
|
-
info300: string;
|
|
50
|
-
info500: string;
|
|
51
|
-
info600: string;
|
|
52
|
-
info700: string;
|
|
53
|
-
success100: string;
|
|
54
|
-
success300: string;
|
|
55
|
-
success500: string;
|
|
56
|
-
success600: string;
|
|
57
|
-
success700: string;
|
|
58
|
-
background: string;
|
|
59
|
-
foreground: string;
|
|
60
|
-
};
|
|
61
|
-
space: {
|
|
62
|
-
0: string;
|
|
63
|
-
5: string;
|
|
64
|
-
10: string;
|
|
65
|
-
15: string;
|
|
66
|
-
20: string;
|
|
67
|
-
25: string;
|
|
68
|
-
30: string;
|
|
69
|
-
40: string;
|
|
70
|
-
46: string;
|
|
71
|
-
50: string;
|
|
72
|
-
60: string;
|
|
73
|
-
70: string;
|
|
74
|
-
80: string;
|
|
75
|
-
90: string;
|
|
76
|
-
100: string;
|
|
77
|
-
2: string;
|
|
78
|
-
4: string;
|
|
79
|
-
6: string;
|
|
80
|
-
8: string;
|
|
81
|
-
12: string;
|
|
82
|
-
16: string;
|
|
83
|
-
24: string;
|
|
84
|
-
28: string;
|
|
85
|
-
32: string;
|
|
86
|
-
};
|
|
87
|
-
radii: {
|
|
88
|
-
xs: string;
|
|
89
|
-
sm: string;
|
|
90
|
-
xm: string;
|
|
91
|
-
md: string;
|
|
92
|
-
xl: string;
|
|
93
|
-
lg: string;
|
|
94
|
-
primary: string;
|
|
95
|
-
secondary: string;
|
|
96
|
-
};
|
|
97
|
-
fontSizes: {
|
|
98
|
-
10: string;
|
|
99
|
-
12: string;
|
|
100
|
-
14: string;
|
|
101
|
-
16: string;
|
|
102
|
-
18: string;
|
|
103
|
-
20: string;
|
|
104
|
-
22: string;
|
|
105
|
-
24: string;
|
|
106
|
-
28: string;
|
|
107
|
-
32: string;
|
|
108
|
-
36: string;
|
|
109
|
-
40: string;
|
|
110
|
-
48: string;
|
|
111
|
-
};
|
|
112
|
-
fonts: {
|
|
113
|
-
primary: string;
|
|
114
|
-
widget: string;
|
|
115
|
-
};
|
|
116
|
-
fontWeights: {
|
|
117
|
-
regular: number;
|
|
118
|
-
medium: number;
|
|
119
|
-
semiBold: number;
|
|
120
|
-
bold: number;
|
|
121
|
-
};
|
|
122
|
-
lineHeights: {
|
|
123
|
-
12: string;
|
|
124
|
-
16: string;
|
|
125
|
-
20: string;
|
|
126
|
-
24: string;
|
|
127
|
-
26: string;
|
|
128
|
-
28: string;
|
|
129
|
-
30: string;
|
|
130
|
-
36: string;
|
|
131
|
-
40: string;
|
|
132
|
-
44: string;
|
|
133
|
-
52: string;
|
|
134
|
-
64: string;
|
|
135
|
-
};
|
|
136
|
-
letterSpacings: {};
|
|
137
|
-
sizes: {
|
|
138
|
-
4: string;
|
|
139
|
-
6: string;
|
|
140
|
-
8: string;
|
|
141
|
-
12: string;
|
|
142
|
-
16: string;
|
|
143
|
-
18: string;
|
|
144
|
-
20: string;
|
|
145
|
-
24: string;
|
|
146
|
-
28: string;
|
|
147
|
-
32: string;
|
|
148
|
-
36: string;
|
|
149
|
-
40: string;
|
|
150
|
-
45: string;
|
|
151
|
-
48: string;
|
|
152
|
-
};
|
|
153
|
-
borderWidths: {};
|
|
154
|
-
borderStyles: {};
|
|
155
|
-
shadows: {
|
|
156
|
-
s: string;
|
|
157
|
-
};
|
|
158
|
-
zIndices: {};
|
|
159
|
-
transitions: {};
|
|
160
|
-
}, import("@stitches/react/types/config").DefaultThemeMap, {}>>;
|
|
161
|
-
export declare const tokenAmountStyles: import("@stitches/react/types/styled-component").CssComponent<never, {}, {
|
|
162
|
-
sm: string;
|
|
163
|
-
md: string;
|
|
164
|
-
lg: string;
|
|
165
|
-
}, import("@stitches/react/types/css-util").CSS<{
|
|
166
|
-
sm: string;
|
|
167
|
-
md: string;
|
|
168
|
-
lg: string;
|
|
169
|
-
}, {
|
|
170
|
-
colors: {
|
|
171
|
-
primary: string;
|
|
172
|
-
primary500: string;
|
|
173
|
-
primary600: string;
|
|
174
|
-
secondary: string;
|
|
175
|
-
secondary100: string;
|
|
176
|
-
secondary200: string;
|
|
177
|
-
secondary300: string;
|
|
178
|
-
secondary400: string;
|
|
179
|
-
secondary500: string;
|
|
180
|
-
secondary600: string;
|
|
181
|
-
secondary700: string;
|
|
182
|
-
secondary800: string;
|
|
183
|
-
secondary900: string;
|
|
184
|
-
neutral: string;
|
|
185
|
-
neutral100: string;
|
|
186
|
-
neutral200: string;
|
|
187
|
-
neutral300: string;
|
|
188
|
-
neutral400: string;
|
|
189
|
-
neutral500: string;
|
|
190
|
-
neutral600: string;
|
|
191
|
-
neutral700: string;
|
|
192
|
-
neutral800: string;
|
|
193
|
-
neutral900: string;
|
|
194
|
-
error100: string;
|
|
195
|
-
error300: string;
|
|
196
|
-
error500: string;
|
|
197
|
-
error600: string;
|
|
198
|
-
error700: string;
|
|
199
|
-
warning100: string;
|
|
200
|
-
warning300: string;
|
|
201
|
-
warning500: string;
|
|
202
|
-
warning600: string;
|
|
203
|
-
warning700: string;
|
|
204
|
-
info: string;
|
|
205
|
-
info100: string;
|
|
206
|
-
info300: string;
|
|
207
|
-
info500: string;
|
|
208
|
-
info600: string;
|
|
209
|
-
info700: string;
|
|
210
|
-
success100: string;
|
|
211
|
-
success300: string;
|
|
212
|
-
success500: string;
|
|
213
|
-
success600: string;
|
|
214
|
-
success700: string;
|
|
215
|
-
background: string;
|
|
216
|
-
foreground: string;
|
|
217
|
-
};
|
|
218
|
-
space: {
|
|
219
|
-
0: string;
|
|
220
|
-
5: string;
|
|
221
|
-
10: string;
|
|
222
|
-
15: string;
|
|
223
|
-
20: string;
|
|
224
|
-
25: string;
|
|
225
|
-
30: string;
|
|
226
|
-
40: string;
|
|
227
|
-
46: string;
|
|
228
|
-
50: string;
|
|
229
|
-
60: string;
|
|
230
|
-
70: string;
|
|
231
|
-
80: string;
|
|
232
|
-
90: string;
|
|
233
|
-
100: string;
|
|
234
|
-
2: string;
|
|
235
|
-
4: string;
|
|
236
|
-
6: string;
|
|
237
|
-
8: string;
|
|
238
|
-
12: string;
|
|
239
|
-
16: string;
|
|
240
|
-
24: string;
|
|
241
|
-
28: string;
|
|
242
|
-
32: string;
|
|
243
|
-
};
|
|
244
|
-
radii: {
|
|
245
|
-
xs: string;
|
|
246
|
-
sm: string;
|
|
247
|
-
xm: string;
|
|
248
|
-
md: string;
|
|
249
|
-
xl: string;
|
|
250
|
-
lg: string;
|
|
251
|
-
primary: string;
|
|
252
|
-
secondary: string;
|
|
253
|
-
};
|
|
254
|
-
fontSizes: {
|
|
255
|
-
10: string;
|
|
256
|
-
12: string;
|
|
257
|
-
14: string;
|
|
258
|
-
16: string;
|
|
259
|
-
18: string;
|
|
260
|
-
20: string;
|
|
261
|
-
22: string;
|
|
262
|
-
24: string;
|
|
263
|
-
28: string;
|
|
264
|
-
32: string;
|
|
265
|
-
36: string;
|
|
266
|
-
40: string;
|
|
267
|
-
48: string;
|
|
268
|
-
};
|
|
269
|
-
fonts: {
|
|
270
|
-
primary: string;
|
|
271
|
-
widget: string;
|
|
272
|
-
};
|
|
273
|
-
fontWeights: {
|
|
274
|
-
regular: number;
|
|
275
|
-
medium: number;
|
|
276
|
-
semiBold: number;
|
|
277
|
-
bold: number;
|
|
278
|
-
};
|
|
279
|
-
lineHeights: {
|
|
280
|
-
12: string;
|
|
281
|
-
16: string;
|
|
282
|
-
20: string;
|
|
283
|
-
24: string;
|
|
284
|
-
26: string;
|
|
285
|
-
28: string;
|
|
286
|
-
30: string;
|
|
287
|
-
36: string;
|
|
288
|
-
40: string;
|
|
289
|
-
44: string;
|
|
290
|
-
52: string;
|
|
291
|
-
64: string;
|
|
292
|
-
};
|
|
293
|
-
letterSpacings: {};
|
|
294
|
-
sizes: {
|
|
295
|
-
4: string;
|
|
296
|
-
6: string;
|
|
297
|
-
8: string;
|
|
298
|
-
12: string;
|
|
299
|
-
16: string;
|
|
300
|
-
18: string;
|
|
301
|
-
20: string;
|
|
302
|
-
24: string;
|
|
303
|
-
28: string;
|
|
304
|
-
32: string;
|
|
305
|
-
36: string;
|
|
306
|
-
40: string;
|
|
307
|
-
45: string;
|
|
308
|
-
48: string;
|
|
309
|
-
};
|
|
310
|
-
borderWidths: {};
|
|
311
|
-
borderStyles: {};
|
|
312
|
-
shadows: {
|
|
313
|
-
s: string;
|
|
314
|
-
};
|
|
315
|
-
zIndices: {};
|
|
316
|
-
transitions: {};
|
|
317
|
-
}, import("@stitches/react/types/config").DefaultThemeMap, {}>>;
|
|
318
|
-
export declare const usdValueStyles: import("@stitches/react/types/styled-component").CssComponent<never, {}, {
|
|
319
|
-
sm: string;
|
|
320
|
-
md: string;
|
|
321
|
-
lg: string;
|
|
322
|
-
}, import("@stitches/react/types/css-util").CSS<{
|
|
323
|
-
sm: string;
|
|
324
|
-
md: string;
|
|
325
|
-
lg: string;
|
|
326
|
-
}, {
|
|
327
|
-
colors: {
|
|
328
|
-
primary: string;
|
|
329
|
-
primary500: string;
|
|
330
|
-
primary600: string;
|
|
331
|
-
secondary: string;
|
|
332
|
-
secondary100: string;
|
|
333
|
-
secondary200: string;
|
|
334
|
-
secondary300: string;
|
|
335
|
-
secondary400: string;
|
|
336
|
-
secondary500: string;
|
|
337
|
-
secondary600: string;
|
|
338
|
-
secondary700: string;
|
|
339
|
-
secondary800: string;
|
|
340
|
-
secondary900: string;
|
|
341
|
-
neutral: string;
|
|
342
|
-
neutral100: string;
|
|
343
|
-
neutral200: string;
|
|
344
|
-
neutral300: string;
|
|
345
|
-
neutral400: string;
|
|
346
|
-
neutral500: string;
|
|
347
|
-
neutral600: string;
|
|
348
|
-
neutral700: string;
|
|
349
|
-
neutral800: string;
|
|
350
|
-
neutral900: string;
|
|
351
|
-
error100: string;
|
|
352
|
-
error300: string;
|
|
353
|
-
error500: string;
|
|
354
|
-
error600: string;
|
|
355
|
-
error700: string;
|
|
356
|
-
warning100: string;
|
|
357
|
-
warning300: string;
|
|
358
|
-
warning500: string;
|
|
359
|
-
warning600: string;
|
|
360
|
-
warning700: string;
|
|
361
|
-
info: string;
|
|
362
|
-
info100: string;
|
|
363
|
-
info300: string;
|
|
364
|
-
info500: string;
|
|
365
|
-
info600: string;
|
|
366
|
-
info700: string;
|
|
367
|
-
success100: string;
|
|
368
|
-
success300: string;
|
|
369
|
-
success500: string;
|
|
370
|
-
success600: string;
|
|
371
|
-
success700: string;
|
|
372
|
-
background: string;
|
|
373
|
-
foreground: string;
|
|
374
|
-
};
|
|
375
|
-
space: {
|
|
376
|
-
0: string;
|
|
377
|
-
5: string;
|
|
378
|
-
10: string;
|
|
379
|
-
15: string;
|
|
380
|
-
20: string;
|
|
381
|
-
25: string;
|
|
382
|
-
30: string;
|
|
383
|
-
40: string;
|
|
384
|
-
46: string;
|
|
385
|
-
50: string;
|
|
386
|
-
60: string;
|
|
387
|
-
70: string;
|
|
388
|
-
80: string;
|
|
389
|
-
90: string;
|
|
390
|
-
100: string;
|
|
391
|
-
2: string;
|
|
392
|
-
4: string;
|
|
393
|
-
6: string;
|
|
394
|
-
8: string;
|
|
395
|
-
12: string;
|
|
396
|
-
16: string;
|
|
397
|
-
24: string;
|
|
398
|
-
28: string;
|
|
399
|
-
32: string;
|
|
400
|
-
};
|
|
401
|
-
radii: {
|
|
402
|
-
xs: string;
|
|
403
|
-
sm: string;
|
|
404
|
-
xm: string;
|
|
405
|
-
md: string;
|
|
406
|
-
xl: string;
|
|
407
|
-
lg: string;
|
|
408
|
-
primary: string;
|
|
409
|
-
secondary: string;
|
|
410
|
-
};
|
|
411
|
-
fontSizes: {
|
|
412
|
-
10: string;
|
|
413
|
-
12: string;
|
|
414
|
-
14: string;
|
|
415
|
-
16: string;
|
|
416
|
-
18: string;
|
|
417
|
-
20: string;
|
|
418
|
-
22: string;
|
|
419
|
-
24: string;
|
|
420
|
-
28: string;
|
|
421
|
-
32: string;
|
|
422
|
-
36: string;
|
|
423
|
-
40: string;
|
|
424
|
-
48: string;
|
|
425
|
-
};
|
|
426
|
-
fonts: {
|
|
427
|
-
primary: string;
|
|
428
|
-
widget: string;
|
|
429
|
-
};
|
|
430
|
-
fontWeights: {
|
|
431
|
-
regular: number;
|
|
432
|
-
medium: number;
|
|
433
|
-
semiBold: number;
|
|
434
|
-
bold: number;
|
|
435
|
-
};
|
|
436
|
-
lineHeights: {
|
|
437
|
-
12: string;
|
|
438
|
-
16: string;
|
|
439
|
-
20: string;
|
|
440
|
-
24: string;
|
|
441
|
-
26: string;
|
|
442
|
-
28: string;
|
|
443
|
-
30: string;
|
|
444
|
-
36: string;
|
|
445
|
-
40: string;
|
|
446
|
-
44: string;
|
|
447
|
-
52: string;
|
|
448
|
-
64: string;
|
|
449
|
-
};
|
|
450
|
-
letterSpacings: {};
|
|
451
|
-
sizes: {
|
|
452
|
-
4: string;
|
|
453
|
-
6: string;
|
|
454
|
-
8: string;
|
|
455
|
-
12: string;
|
|
456
|
-
16: string;
|
|
457
|
-
18: string;
|
|
458
|
-
20: string;
|
|
459
|
-
24: string;
|
|
460
|
-
28: string;
|
|
461
|
-
32: string;
|
|
462
|
-
36: string;
|
|
463
|
-
40: string;
|
|
464
|
-
45: string;
|
|
465
|
-
48: string;
|
|
466
|
-
};
|
|
467
|
-
borderWidths: {};
|
|
468
|
-
borderStyles: {};
|
|
469
|
-
shadows: {
|
|
470
|
-
s: string;
|
|
471
|
-
};
|
|
472
|
-
zIndices: {};
|
|
473
|
-
transitions: {};
|
|
474
|
-
}, import("@stitches/react/types/config").DefaultThemeMap, {}>>;
|
|
4
|
+
}, {}, import("@stitches/react/types/css-util").CSS<{}, {}, {}, {}>>;
|
|
475
5
|
//# sourceMappingURL=TokenAmount.styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TokenAmount.styles.d.ts","sourceRoot":"","sources":["../../../../../../src/components/TokenAmount/TokenAmount.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"TokenAmount.styles.d.ts","sourceRoot":"","sources":["../../../../../../src/components/TokenAmount/TokenAmount.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS;;;oEAwBpB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Tooltip/Tooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAG/C,OAAO,KAAK,MAAM,OAAO,CAAC;AAQ1B,wBAAgB,OAAO,CAAC,KAAK,EAAE,iBAAiB,CAAC,SAAS,CAAC,
|
|
1
|
+
{"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Tooltip/Tooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAG/C,OAAO,KAAK,MAAM,OAAO,CAAC;AAQ1B,wBAAgB,OAAO,CAAC,KAAK,EAAE,iBAAiB,CAAC,SAAS,CAAC,qBA2B1D"}
|
|
@@ -158,7 +158,7 @@ export declare const TooltipContent: import("@stitches/react/types/styled-compon
|
|
|
158
158
|
zIndices: {};
|
|
159
159
|
transitions: {};
|
|
160
160
|
}, import("@stitches/react/types/config").DefaultThemeMap, {}>>;
|
|
161
|
-
export declare const
|
|
161
|
+
export declare const TooltipArrow: import("@stitches/react/types/styled-component").StyledComponent<import("react").ForwardRefExoticComponent<RadixTooltip.TooltipArrowProps & import("react").RefAttributes<SVGSVGElement>>, {}, {
|
|
162
162
|
sm: string;
|
|
163
163
|
md: string;
|
|
164
164
|
lg: string;
|
|
@@ -315,7 +315,7 @@ export declare const TooltipTypography: import("@stitches/react/types/styled-com
|
|
|
315
315
|
zIndices: {};
|
|
316
316
|
transitions: {};
|
|
317
317
|
}, import("@stitches/react/types/config").DefaultThemeMap, {}>>;
|
|
318
|
-
export declare const
|
|
318
|
+
export declare const TooltipTypography: import("@stitches/react/types/styled-component").StyledComponent<typeof Typography, {}, {
|
|
319
319
|
sm: string;
|
|
320
320
|
md: string;
|
|
321
321
|
lg: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tooltip.styles.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Tooltip/Tooltip.styles.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,YAAY,MAAM,yBAAyB,CAAC;AAGxD,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAEzB,CAAC;AAEH,eAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"Tooltip.styles.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Tooltip/Tooltip.styles.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,YAAY,MAAM,yBAAyB,CAAC;AAGxD,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAEzB,CAAC;AAEH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAEvB,CAAC;AAEH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAK5B,CAAC"}
|
|
@@ -17,17 +17,29 @@ 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;
|
|
20
34
|
export interface ContentProps {
|
|
21
35
|
image: string;
|
|
22
36
|
title: string;
|
|
23
37
|
description: string;
|
|
24
38
|
descriptionColor?: string;
|
|
25
39
|
}
|
|
26
|
-
|
|
27
|
-
state: WalletState;
|
|
40
|
+
interface WalletProps {
|
|
28
41
|
title: string;
|
|
29
42
|
image: string;
|
|
30
|
-
link: InstallObjects | string;
|
|
31
43
|
type: WalletType;
|
|
32
44
|
onClick: (type: WalletType) => void;
|
|
33
45
|
selected?: boolean;
|
|
@@ -35,7 +47,9 @@ export interface WalletPropTypes {
|
|
|
35
47
|
isLoading?: boolean;
|
|
36
48
|
container?: HTMLElement;
|
|
37
49
|
}
|
|
50
|
+
export type WalletPropTypes = State & WalletProps;
|
|
38
51
|
export type SelectablePropTypes = WalletPropTypes & {
|
|
39
52
|
selected: boolean;
|
|
40
53
|
};
|
|
54
|
+
export {};
|
|
41
55
|
//# 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,UAAU,cAAc;IACtB,KAAK,EAAE,WAAW,CAAC,SAAS,CAAC;CAC9B;AACD,UAAU,iBAAiB;IACzB,KAAK,EAAE,WAAW,CAAC,YAAY,CAAC;CACjC;AACD,UAAU,eAAe;IACvB,KAAK,EAAE,WAAW,CAAC,UAAU,CAAC;CAC/B;AACD,UAAU,iBAAiB;IACzB,KAAK,EAAE,WAAW,CAAC,aAAa,CAAC;IACjC,IAAI,EAAE,cAAc,GAAG,MAAM,CAAC;CAC/B;AAED,KAAK,KAAK,GACN,cAAc,GACd,iBAAiB,GACjB,eAAe,GACf,iBAAiB,CAAC;AAEtB,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,UAAU,WAAW;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,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,eAAe,GAAG,KAAK,GAAG,WAAW,CAAC;AAElD,MAAM,MAAM,mBAAmB,GAAG,eAAe,GAAG;IAClD,QAAQ,EAAE,OAAO,CAAC;CACnB,CAAC"}
|