@rango-dev/widget-embedded 0.12.1-next.25 → 0.12.1-next.27
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/components/BlockchainList/BlockchainList.helpers.d.ts.map +1 -1
- package/dist/components/BlockchainsSection/BlockchainsSection.d.ts.map +1 -1
- package/dist/components/ConfirmWalletsModal/ConfirmWalletsModal.d.ts.map +1 -1
- package/dist/components/ConfirmWalletsModal/WalletList.d.ts.map +1 -1
- package/dist/components/NoRoutes/NoRoutes.helper.d.ts.map +1 -1
- package/dist/components/NotificationContent/NotificationContent.d.ts.map +1 -1
- package/dist/components/RouteErrors/RouteErrorsModal.d.ts.map +1 -1
- package/dist/components/SwapDetails/SwapDetails.d.ts.map +1 -1
- package/dist/components/SwapsGroup/SwapsGroup.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +4 -4
- package/dist/pages/Home.d.ts.map +1 -1
- package/dist/pages/SelectBlockchainPage.d.ts.map +1 -1
- package/dist/utils/swap.d.ts.map +1 -1
- package/dist/utils/time.d.ts +2 -2
- package/dist/utils/time.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/components/BlockchainList/BlockchainList.helpers.ts +1 -1
- package/src/components/BlockchainsSection/BlockchainsSection.tsx +7 -2
- package/src/components/ConfirmWalletsModal/ConfirmWalletsModal.tsx +34 -13
- package/src/components/ConfirmWalletsModal/WalletList.tsx +41 -9
- package/src/components/NoRoutes/NoRoutes.helper.ts +4 -2
- package/src/components/NotificationContent/NotificationContent.tsx +2 -1
- package/src/components/RouteErrors/RouteErrorsModal.tsx +6 -5
- package/src/components/Slippage/Slippage.tsx +1 -1
- package/src/components/SwapDetails/SwapDetails.Placeholder.tsx +5 -5
- package/src/components/SwapDetails/SwapDetails.tsx +28 -11
- package/src/components/SwapsGroup/SwapsGroup.tsx +3 -2
- package/src/pages/ConfirmSwapPage.tsx +7 -7
- package/src/pages/HistoryPage.tsx +1 -1
- package/src/pages/Home.tsx +16 -7
- package/src/pages/LanguagePage.tsx +1 -1
- package/src/pages/SelectBlockchainPage.tsx +7 -3
- package/src/pages/SettingsPage.tsx +1 -1
- package/src/pages/ThemePage.tsx +1 -1
- package/src/utils/swap.ts +67 -27
- package/src/utils/time.ts +69 -36
- package/dist/components/BlockchainsChip/BlockchainsChip.d.ts +0 -5
- package/dist/components/BlockchainsChip/BlockchainsChip.d.ts.map +0 -1
- package/dist/components/BlockchainsChip/BlockchainsChip.styles.d.ts +0 -156
- package/dist/components/BlockchainsChip/BlockchainsChip.styles.d.ts.map +0 -1
- package/dist/components/BlockchainsChip/BlockchainsChip.types.d.ts +0 -6
- package/dist/components/BlockchainsChip/BlockchainsChip.types.d.ts.map +0 -1
- package/dist/components/BlockchainsChip/index.d.ts +0 -2
- package/dist/components/BlockchainsChip/index.d.ts.map +0 -1
- package/dist/components/SelectableCategoryList/SelectableCategoryList.d.ts +0 -4
- package/dist/components/SelectableCategoryList/SelectableCategoryList.d.ts.map +0 -1
- package/dist/components/SelectableCategoryList/SelectableCategoryList.helpers.d.ts +0 -4
- package/dist/components/SelectableCategoryList/SelectableCategoryList.helpers.d.ts.map +0 -1
- package/dist/components/SelectableCategoryList/SelectableCategoryList.styles.d.ts +0 -460
- package/dist/components/SelectableCategoryList/SelectableCategoryList.styles.d.ts.map +0 -1
- package/dist/components/SelectableCategoryList/SelectableCategoryList.types.d.ts +0 -12
- package/dist/components/SelectableCategoryList/SelectableCategoryList.types.d.ts.map +0 -1
- package/dist/components/SelectableCategoryList/index.d.ts +0 -2
- package/dist/components/SelectableCategoryList/index.d.ts.map +0 -1
- package/src/components/BlockchainsChip/BlockchainsChip.styles.ts +0 -42
- package/src/components/BlockchainsChip/BlockchainsChip.tsx +0 -15
- package/src/components/BlockchainsChip/BlockchainsChip.types.ts +0 -4
- package/src/components/BlockchainsChip/index.ts +0 -1
- package/src/components/SelectableCategoryList/SelectableCategoryList.helpers.ts +0 -20
- package/src/components/SelectableCategoryList/SelectableCategoryList.styles.ts +0 -21
- package/src/components/SelectableCategoryList/SelectableCategoryList.tsx +0 -79
- package/src/components/SelectableCategoryList/SelectableCategoryList.types.ts +0 -12
- package/src/components/SelectableCategoryList/index.ts +0 -1
package/src/pages/ThemePage.tsx
CHANGED
package/src/utils/swap.ts
CHANGED
|
@@ -16,6 +16,7 @@ import type {
|
|
|
16
16
|
Token,
|
|
17
17
|
} from 'rango-sdk';
|
|
18
18
|
|
|
19
|
+
import { i18n } from '@lingui/core';
|
|
19
20
|
import { PendingSwapNetworkStatus } from '@rango-dev/queue-manager-rango-preset';
|
|
20
21
|
import BigNumber from 'bignumber.js';
|
|
21
22
|
|
|
@@ -118,34 +119,62 @@ export function LimitErrorMessage(bestRoute: BestRouteResponse | null): {
|
|
|
118
119
|
let fromAmountRangeError = '';
|
|
119
120
|
let recommendation = '';
|
|
120
121
|
if (!isExclusive && !!minimum && minimum.gt(swap.fromAmount)) {
|
|
121
|
-
fromAmountRangeError =
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
122
|
+
fromAmountRangeError = i18n.t({
|
|
123
|
+
id: 'requiredEqualMin',
|
|
124
|
+
message: 'Required: >= {min} {symbol}',
|
|
125
|
+
values: {
|
|
126
|
+
min: numberToString(
|
|
127
|
+
minimum,
|
|
128
|
+
TOKEN_AMOUNT_MIN_DECIMALS,
|
|
129
|
+
TOKEN_AMOUNT_MAX_DECIMALS
|
|
130
|
+
),
|
|
131
|
+
symbol: swap.from.symbol,
|
|
132
|
+
},
|
|
133
|
+
});
|
|
126
134
|
recommendation = errorMessages.bridgeLimitErrors.increaseAmount;
|
|
127
135
|
} else if (isExclusive && !!minimum && minimum.gte(swap.fromAmount)) {
|
|
128
|
-
fromAmountRangeError =
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
136
|
+
fromAmountRangeError = i18n.t({
|
|
137
|
+
id: 'requiredMin',
|
|
138
|
+
message: 'Required: > {min} {symbol}',
|
|
139
|
+
values: {
|
|
140
|
+
min: numberToString(
|
|
141
|
+
minimum,
|
|
142
|
+
TOKEN_AMOUNT_MIN_DECIMALS,
|
|
143
|
+
TOKEN_AMOUNT_MAX_DECIMALS
|
|
144
|
+
),
|
|
145
|
+
symbol: swap.from.symbol,
|
|
146
|
+
},
|
|
147
|
+
});
|
|
133
148
|
recommendation = errorMessages.bridgeLimitErrors.increaseAmount;
|
|
134
149
|
}
|
|
135
150
|
|
|
136
151
|
if (!isExclusive && !!maximum && maximum.lt(swap.fromAmount)) {
|
|
137
|
-
fromAmountRangeError =
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
152
|
+
fromAmountRangeError = i18n.t({
|
|
153
|
+
id: 'requiredEqualMax',
|
|
154
|
+
message: 'Required: <= {max} {symbol}',
|
|
155
|
+
values: {
|
|
156
|
+
max: numberToString(
|
|
157
|
+
maximum,
|
|
158
|
+
TOKEN_AMOUNT_MIN_DECIMALS,
|
|
159
|
+
TOKEN_AMOUNT_MAX_DECIMALS
|
|
160
|
+
),
|
|
161
|
+
symbol: swap.from.symbol,
|
|
162
|
+
},
|
|
163
|
+
});
|
|
142
164
|
recommendation = errorMessages.bridgeLimitErrors.decreaseAmount;
|
|
143
165
|
} else if (isExclusive && !!maximum && maximum.lte(swap.fromAmount)) {
|
|
144
|
-
fromAmountRangeError =
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
166
|
+
fromAmountRangeError = i18n.t({
|
|
167
|
+
id: 'requiredMax',
|
|
168
|
+
message: 'Required: < {max} {symbol}',
|
|
169
|
+
values: {
|
|
170
|
+
max: numberToString(
|
|
171
|
+
maximum,
|
|
172
|
+
TOKEN_AMOUNT_MIN_DECIMALS,
|
|
173
|
+
TOKEN_AMOUNT_MAX_DECIMALS
|
|
174
|
+
),
|
|
175
|
+
symbol: swap.from.symbol,
|
|
176
|
+
},
|
|
177
|
+
});
|
|
149
178
|
recommendation = errorMessages.bridgeLimitErrors.decreaseAmount;
|
|
150
179
|
}
|
|
151
180
|
|
|
@@ -570,15 +599,25 @@ export function getBalanceWarnings(
|
|
|
570
599
|
);
|
|
571
600
|
let reason = '';
|
|
572
601
|
if (asset.reason === 'FEE') {
|
|
573
|
-
reason = ' for network fee';
|
|
602
|
+
reason = i18n.t(' for network fee');
|
|
574
603
|
}
|
|
575
604
|
if (asset.reason === 'INPUT_ASSET') {
|
|
576
|
-
reason = ' for swap';
|
|
605
|
+
reason = i18n.t(' for swap');
|
|
577
606
|
}
|
|
578
607
|
if (asset.reason === 'FEE_AND_INPUT_ASSET') {
|
|
579
|
-
reason = ' for input and network fee';
|
|
608
|
+
reason = i18n.t(' for input and network fee');
|
|
580
609
|
}
|
|
581
|
-
const warningMessage =
|
|
610
|
+
const warningMessage = i18n.t({
|
|
611
|
+
id: 'balanceWarningMessage',
|
|
612
|
+
message: `Needs ≈ {requiredAmount} {symbol}{reason}, but you have {currentAmount} {symbol} in your {blockchain} wallet.`,
|
|
613
|
+
values: {
|
|
614
|
+
requiredAmount,
|
|
615
|
+
symbol,
|
|
616
|
+
reason,
|
|
617
|
+
currentAmount,
|
|
618
|
+
blockchain: asset.asset.blockchain,
|
|
619
|
+
},
|
|
620
|
+
});
|
|
582
621
|
return warningMessage;
|
|
583
622
|
});
|
|
584
623
|
}
|
|
@@ -626,13 +665,14 @@ export function getSwapMessages(
|
|
|
626
665
|
// eslint-disable-next-line @typescript-eslint/switch-exhaustiveness-check
|
|
627
666
|
switch (currentStep?.networkStatus) {
|
|
628
667
|
case PendingSwapNetworkStatus.WaitingForConnectingWallet:
|
|
629
|
-
message = message || 'Waiting for connecting wallet';
|
|
668
|
+
message = message || i18n.t('Waiting for connecting wallet');
|
|
630
669
|
break;
|
|
631
670
|
case PendingSwapNetworkStatus.WaitingForQueue:
|
|
632
|
-
message =
|
|
671
|
+
message =
|
|
672
|
+
message || i18n.t('Waiting for other running tasks to be finished');
|
|
633
673
|
break;
|
|
634
674
|
case PendingSwapNetworkStatus.WaitingForNetworkChange:
|
|
635
|
-
message = message || 'Waiting for changing wallet network';
|
|
675
|
+
message = message || i18n.t('Waiting for changing wallet network');
|
|
636
676
|
break;
|
|
637
677
|
default:
|
|
638
678
|
message = message || '';
|
package/src/utils/time.ts
CHANGED
|
@@ -1,46 +1,79 @@
|
|
|
1
|
-
import { PendingSwap } from '@rango-dev/queue-manager-rango-preset';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
1
|
+
import type { PendingSwap } from '@rango-dev/queue-manager-rango-preset';
|
|
2
|
+
|
|
3
|
+
import { i18n } from '@lingui/core';
|
|
4
|
+
|
|
5
|
+
const MILLISECOND_PER_SECOND = 1000;
|
|
6
|
+
const SECONDS_PER_YEAR = 31536000;
|
|
7
|
+
const SECONDS_PER_MONTH = 2592000;
|
|
8
|
+
const SECONDS_PER_DAY = 86400;
|
|
9
|
+
const SECONDS_PER_HOUR = 3600;
|
|
10
|
+
const SECONDS_PER_MINUTE = 60;
|
|
11
|
+
|
|
12
|
+
export function timeSince(millisecond: number): string {
|
|
13
|
+
const seconds = Math.floor(
|
|
14
|
+
(Date.now() - millisecond) / MILLISECOND_PER_SECOND
|
|
15
|
+
);
|
|
16
|
+
|
|
17
|
+
const intervals = [
|
|
18
|
+
{
|
|
19
|
+
turningPoint: SECONDS_PER_YEAR,
|
|
20
|
+
label: i18n.t('year'),
|
|
21
|
+
pluralLabel: i18n.t('years'),
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
turningPoint: SECONDS_PER_MONTH,
|
|
25
|
+
label: i18n.t('month'),
|
|
26
|
+
pluralLabel: i18n.t('months'),
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
turningPoint: SECONDS_PER_DAY,
|
|
30
|
+
label: i18n.t('day'),
|
|
31
|
+
pluralLabel: i18n.t('days'),
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
turningPoint: SECONDS_PER_HOUR,
|
|
35
|
+
label: i18n.t('hour'),
|
|
36
|
+
pluralLabel: i18n.t('hours'),
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
turningPoint: SECONDS_PER_MINUTE,
|
|
40
|
+
label: i18n.t('minute'),
|
|
41
|
+
pluralLabel: i18n.t('minutes'),
|
|
42
|
+
},
|
|
43
|
+
];
|
|
44
|
+
|
|
45
|
+
const sortedIntervals = intervals.sort(
|
|
46
|
+
(a, b) => b.turningPoint - a.turningPoint
|
|
47
|
+
);
|
|
48
|
+
|
|
49
|
+
for (const interval of sortedIntervals) {
|
|
50
|
+
const { turningPoint, label, pluralLabel } = interval;
|
|
51
|
+
const intervalCount = Math.floor(seconds / turningPoint);
|
|
52
|
+
if (intervalCount > 1) {
|
|
53
|
+
return `${intervalCount} ${pluralLabel}`;
|
|
54
|
+
}
|
|
55
|
+
if (intervalCount === 1) {
|
|
56
|
+
return `${intervalCount} ${label}`;
|
|
32
57
|
}
|
|
33
58
|
}
|
|
34
59
|
|
|
35
|
-
if (
|
|
36
|
-
|
|
60
|
+
if (seconds > 1) {
|
|
61
|
+
return `${seconds} ${i18n.t('seconds')}`;
|
|
37
62
|
}
|
|
38
63
|
|
|
39
|
-
return
|
|
64
|
+
return `${seconds} ${i18n.t('second')}`;
|
|
40
65
|
}
|
|
41
66
|
|
|
42
67
|
export function getSwapDate(pendingSwap: PendingSwap) {
|
|
43
68
|
return pendingSwap.finishTime
|
|
44
|
-
?
|
|
45
|
-
|
|
69
|
+
? i18n.t({
|
|
70
|
+
id: 'timeAgo',
|
|
71
|
+
message: '{time} ago',
|
|
72
|
+
values: { time: timeSince(parseInt(pendingSwap.finishTime)) },
|
|
73
|
+
})
|
|
74
|
+
: i18n.t({
|
|
75
|
+
id: 'timeAgo',
|
|
76
|
+
message: '{time} ago',
|
|
77
|
+
values: { time: timeSince(parseInt(pendingSwap.creationTime)) },
|
|
78
|
+
});
|
|
46
79
|
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { PropTypes } from './BlockchainsChip.types';
|
|
2
|
-
import type { PropsWithChildren } from 'react';
|
|
3
|
-
import React from 'react';
|
|
4
|
-
export declare function BlockchainsChip(props: PropsWithChildren<PropTypes>): React.JSX.Element;
|
|
5
|
-
//# sourceMappingURL=BlockchainsChip.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BlockchainsChip.d.ts","sourceRoot":"","sources":["../../../src/components/BlockchainsChip/BlockchainsChip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACzD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAE/C,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,wBAAgB,eAAe,CAAC,KAAK,EAAE,iBAAiB,CAAC,SAAS,CAAC,qBAOlE"}
|
|
@@ -1,156 +0,0 @@
|
|
|
1
|
-
export declare const Chip: import("@stitches/react/types/styled-component").StyledComponent<"button", {
|
|
2
|
-
selected?: boolean | "true" | "false" | undefined;
|
|
3
|
-
}, {
|
|
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
|
-
primary500: string;
|
|
14
|
-
primary600: string;
|
|
15
|
-
secondary100: string;
|
|
16
|
-
secondary200: string;
|
|
17
|
-
secondary300: string;
|
|
18
|
-
secondary400: string;
|
|
19
|
-
secondary500: string;
|
|
20
|
-
secondary600: string;
|
|
21
|
-
secondary700: string;
|
|
22
|
-
secondary800: string;
|
|
23
|
-
secondary900: string;
|
|
24
|
-
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
|
-
error100: string;
|
|
34
|
-
error300: string;
|
|
35
|
-
error500: string;
|
|
36
|
-
error600: string;
|
|
37
|
-
error700: string;
|
|
38
|
-
warning100: string;
|
|
39
|
-
warning300: string;
|
|
40
|
-
warning500: string;
|
|
41
|
-
warning600: string;
|
|
42
|
-
warning700: string;
|
|
43
|
-
info100: string;
|
|
44
|
-
info300: string;
|
|
45
|
-
info500: string;
|
|
46
|
-
info600: string;
|
|
47
|
-
info700: string;
|
|
48
|
-
success100: string;
|
|
49
|
-
success300: string;
|
|
50
|
-
success500: string;
|
|
51
|
-
success600: string;
|
|
52
|
-
success700: string;
|
|
53
|
-
background: string;
|
|
54
|
-
foreground: string;
|
|
55
|
-
};
|
|
56
|
-
space: {
|
|
57
|
-
0: string;
|
|
58
|
-
5: string;
|
|
59
|
-
10: string;
|
|
60
|
-
15: string;
|
|
61
|
-
20: string;
|
|
62
|
-
25: string;
|
|
63
|
-
30: string;
|
|
64
|
-
40: string;
|
|
65
|
-
46: string;
|
|
66
|
-
50: string;
|
|
67
|
-
60: string;
|
|
68
|
-
70: string;
|
|
69
|
-
80: string;
|
|
70
|
-
90: string;
|
|
71
|
-
100: string;
|
|
72
|
-
2: string;
|
|
73
|
-
4: string;
|
|
74
|
-
6: string;
|
|
75
|
-
8: string;
|
|
76
|
-
12: string;
|
|
77
|
-
16: string;
|
|
78
|
-
24: string;
|
|
79
|
-
28: string;
|
|
80
|
-
32: string;
|
|
81
|
-
};
|
|
82
|
-
radii: {
|
|
83
|
-
xs: string;
|
|
84
|
-
sm: string;
|
|
85
|
-
xm: string;
|
|
86
|
-
md: string;
|
|
87
|
-
xl: string;
|
|
88
|
-
lg: string;
|
|
89
|
-
primary: string;
|
|
90
|
-
secondary: string;
|
|
91
|
-
};
|
|
92
|
-
fontSizes: {
|
|
93
|
-
10: string;
|
|
94
|
-
12: string;
|
|
95
|
-
14: string;
|
|
96
|
-
16: string;
|
|
97
|
-
18: string;
|
|
98
|
-
20: string;
|
|
99
|
-
22: string;
|
|
100
|
-
24: string;
|
|
101
|
-
28: string;
|
|
102
|
-
32: string;
|
|
103
|
-
36: string;
|
|
104
|
-
40: string;
|
|
105
|
-
48: string;
|
|
106
|
-
};
|
|
107
|
-
fonts: {
|
|
108
|
-
primary: string;
|
|
109
|
-
widget: string;
|
|
110
|
-
};
|
|
111
|
-
fontWeights: {
|
|
112
|
-
regular: number;
|
|
113
|
-
medium: number;
|
|
114
|
-
semiBold: number;
|
|
115
|
-
bold: number;
|
|
116
|
-
};
|
|
117
|
-
lineHeights: {
|
|
118
|
-
12: string;
|
|
119
|
-
16: string;
|
|
120
|
-
20: string;
|
|
121
|
-
24: string;
|
|
122
|
-
26: string;
|
|
123
|
-
28: string;
|
|
124
|
-
30: string;
|
|
125
|
-
36: string;
|
|
126
|
-
40: string;
|
|
127
|
-
44: string;
|
|
128
|
-
52: string;
|
|
129
|
-
64: string;
|
|
130
|
-
};
|
|
131
|
-
letterSpacings: {};
|
|
132
|
-
sizes: {
|
|
133
|
-
4: string;
|
|
134
|
-
6: string;
|
|
135
|
-
8: string;
|
|
136
|
-
12: string;
|
|
137
|
-
16: string;
|
|
138
|
-
18: string;
|
|
139
|
-
20: string;
|
|
140
|
-
24: string;
|
|
141
|
-
28: string;
|
|
142
|
-
32: string;
|
|
143
|
-
36: string;
|
|
144
|
-
40: string;
|
|
145
|
-
45: string;
|
|
146
|
-
48: string;
|
|
147
|
-
};
|
|
148
|
-
borderWidths: {};
|
|
149
|
-
borderStyles: {};
|
|
150
|
-
shadows: {
|
|
151
|
-
s: string;
|
|
152
|
-
};
|
|
153
|
-
zIndices: {};
|
|
154
|
-
transitions: {};
|
|
155
|
-
}, import("@stitches/react/types/config").DefaultThemeMap, {}>>;
|
|
156
|
-
//# sourceMappingURL=BlockchainsChip.styles.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BlockchainsChip.styles.d.ts","sourceRoot":"","sources":["../../../src/components/BlockchainsChip/BlockchainsChip.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAuCf,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BlockchainsChip.types.d.ts","sourceRoot":"","sources":["../../../src/components/BlockchainsChip/BlockchainsChip.types.ts"],"names":[],"mappings":";AAAA,MAAM,WAAW,SAAS;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,CAAC;CACtD"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/BlockchainsChip/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SelectableCategoryList.d.ts","sourceRoot":"","sources":["../../../src/components/SelectableCategoryList/SelectableCategoryList.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gCAAgC,CAAC;AAIhE,OAAO,KAAK,MAAM,OAAO,CAAC;AAa1B,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,SAAS,qBA4DtD"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { type BlockchainMeta } from 'rango-sdk';
|
|
2
|
-
import { BlockchainCategories } from './SelectableCategoryList.types';
|
|
3
|
-
export declare const generateBlockchainsLogo: (list: BlockchainMeta[], type: Exclude<BlockchainCategories, 'ALL'>) => BlockchainMeta[];
|
|
4
|
-
//# sourceMappingURL=SelectableCategoryList.helpers.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SelectableCategoryList.helpers.d.ts","sourceRoot":"","sources":["../../../src/components/SelectableCategoryList/SelectableCategoryList.helpers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,WAAW,CAAC;AAIhD,OAAO,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AAStE,eAAO,MAAM,uBAAuB,SAC5B,cAAc,EAAE,QAChB,QAAQ,oBAAoB,EAAE,KAAK,CAAC,qBAIoB,CAAC"}
|