@rango-dev/ui 0.1.13 → 0.1.14-next.2
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/ColorPicker/ColorPicker.d.ts +5 -5
- package/dist/components/Settings/Settings.d.ts +1 -0
- package/dist/helper/index.d.ts +3 -0
- package/dist/index.d.ts +1 -0
- package/dist/ui.cjs.development.js +199 -114
- package/dist/ui.cjs.development.js.map +1 -1
- package/dist/ui.cjs.production.min.js +1 -1
- package/dist/ui.cjs.production.min.js.map +1 -1
- package/dist/ui.esm.js +199 -115
- package/dist/ui.esm.js.map +1 -1
- package/package.json +4 -3
- package/src/components/Alert/Alert.tsx +2 -2
- package/src/components/BestRoute/BestRoute.tsx +4 -3
- package/src/components/Button/Button.tsx +42 -42
- package/src/components/Chip/Chip.tsx +1 -1
- package/src/components/ColorPicker/ColorPicker.stories.tsx +9 -2
- package/src/components/ColorPicker/ColorPicker.tsx +34 -10
- package/src/components/Icon/common.ts +2 -2
- package/src/components/LiquiditySourceList/LiquiditySourceList.tsx +2 -2
- package/src/components/Radio/Radio.tsx +2 -2
- package/src/components/SelectableWalletList/SelectableWalletList.tsx +5 -5
- package/src/components/Settings/Settings.tsx +20 -16
- package/src/components/Skeleton/Skeleton.tsx +1 -1
- package/src/components/Spinner/Spinner.tsx +1 -1
- package/src/components/StepDetail/StepDetail.tsx +4 -4
- package/src/components/SwapContainer/SwapContainer.tsx +3 -3
- package/src/components/SwapDetail/SwapDetail.tsx +1 -1
- package/src/components/SwapDetail/Token.tsx +2 -2
- package/src/components/Switch/Switch.tsx +2 -2
- package/src/components/TextField/TextField.tsx +3 -3
- package/src/components/TokenList/TokenItem.tsx +1 -1
- package/src/components/Tooltip/Tooltip.tsx +2 -2
- package/src/containers/ConfirmSwap/ConfirmSwap.tsx +4 -4
- package/src/containers/History/SwapsGroup.tsx +1 -1
- package/src/containers/SwapHistory/SwapHistory.tsx +5 -5
- package/src/helper/index.ts +75 -0
- package/src/index.ts +1 -0
- package/src/theme.ts +23 -17
package/dist/ui.esm.js
CHANGED
|
@@ -9,6 +9,7 @@ import { detectInstallLink } from '@rango-dev/wallets-shared';
|
|
|
9
9
|
import { Root as Root$2, Thumb } from '@radix-ui/react-switch';
|
|
10
10
|
import { Root as Root$3, Item, Indicator as Indicator$1 } from '@radix-ui/react-radio-group';
|
|
11
11
|
import { ChromePicker } from 'react-color';
|
|
12
|
+
import rgbHex from 'rgb-hex';
|
|
12
13
|
import copy from 'copy-to-clipboard';
|
|
13
14
|
|
|
14
15
|
function _extends() {
|
|
@@ -55,14 +56,16 @@ var theme = {
|
|
|
55
56
|
primary700: '#396216',
|
|
56
57
|
primary800: '#26420F',
|
|
57
58
|
primary900: '#132107',
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
59
|
+
surface: '#fff',
|
|
60
|
+
neutral100: '#f3f3f3',
|
|
61
|
+
neutral200: '#FAFAFA',
|
|
62
|
+
neutral300: '#EAEAEA',
|
|
63
|
+
neutral400: '#999999',
|
|
64
|
+
neutral500: '#888888',
|
|
65
|
+
neutral600: '#666666',
|
|
66
|
+
neutral700: '#444444',
|
|
67
|
+
neutral800: '#333333',
|
|
68
|
+
neutral900: '#111111',
|
|
66
69
|
background: '#fff',
|
|
67
70
|
foreground: '#000',
|
|
68
71
|
success: '#0070F3',
|
|
@@ -176,14 +179,16 @@ var _typedCreateStiches = /*#__PURE__*/typedCreateStiches({
|
|
|
176
179
|
var lightTheme = /*#__PURE__*/createTheme({});
|
|
177
180
|
var darkTheme = /*#__PURE__*/createTheme({
|
|
178
181
|
colors: {
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
182
|
+
surface: '#000',
|
|
183
|
+
neutral900: '#f3f3f3',
|
|
184
|
+
neutral800: '#FAFAFA',
|
|
185
|
+
neutral700: '#EAEAEA',
|
|
186
|
+
neutral600: '#999999',
|
|
187
|
+
neutral500: '#888888',
|
|
188
|
+
neutral400: '#666666',
|
|
189
|
+
neutral300: '#444444',
|
|
190
|
+
neutral200: '#333333',
|
|
191
|
+
neutral100: '#111111',
|
|
187
192
|
foreground: '#fff',
|
|
188
193
|
background: '#000'
|
|
189
194
|
},
|
|
@@ -222,7 +227,7 @@ var SvgWithStrokeColor = /*#__PURE__*/styled('svg', {
|
|
|
222
227
|
},
|
|
223
228
|
disabled: {
|
|
224
229
|
"true": {
|
|
225
|
-
stroke: '$
|
|
230
|
+
stroke: '$neutral400'
|
|
226
231
|
}
|
|
227
232
|
}
|
|
228
233
|
}
|
|
@@ -256,7 +261,7 @@ var SvgWithFillColor = /*#__PURE__*/styled('svg', {
|
|
|
256
261
|
},
|
|
257
262
|
disabled: {
|
|
258
263
|
"true": {
|
|
259
|
-
stroke: '$
|
|
264
|
+
stroke: '$neutral400'
|
|
260
265
|
}
|
|
261
266
|
}
|
|
262
267
|
}
|
|
@@ -1639,7 +1644,7 @@ var ChainLogo = /*#__PURE__*/styled('div', {
|
|
|
1639
1644
|
padding: '$2',
|
|
1640
1645
|
borderRadius: '50%',
|
|
1641
1646
|
backgroundColor: '$background',
|
|
1642
|
-
border: '1px solid $
|
|
1647
|
+
border: '1px solid $neutral400',
|
|
1643
1648
|
img: {
|
|
1644
1649
|
width: '100%',
|
|
1645
1650
|
display: 'block'
|
|
@@ -1684,7 +1689,7 @@ var Detail = /*#__PURE__*/styled('div', {
|
|
|
1684
1689
|
}
|
|
1685
1690
|
});
|
|
1686
1691
|
var SubTitle = /*#__PURE__*/styled(Typography, {
|
|
1687
|
-
color: '$
|
|
1692
|
+
color: '$neutral600',
|
|
1688
1693
|
display: 'block',
|
|
1689
1694
|
paddingLeft: '$8'
|
|
1690
1695
|
});
|
|
@@ -1718,14 +1723,14 @@ function StepDetail(props) {
|
|
|
1718
1723
|
}, amount), !amount && estimatedAmount && React__default.createElement(Typography, {
|
|
1719
1724
|
noWrap: true,
|
|
1720
1725
|
variant: direction === 'vertical' ? 'body2' : 'title',
|
|
1721
|
-
color: '$
|
|
1726
|
+
color: '$neutral600'
|
|
1722
1727
|
}, estimatedAmount), "\xA0", React__default.createElement(Typography, {
|
|
1723
1728
|
variant: direction === 'vertical' ? 'body2' : 'title',
|
|
1724
1729
|
noWrap: true
|
|
1725
1730
|
}, symbol), React__default.createElement(SubTitle, {
|
|
1726
1731
|
noWrap: true,
|
|
1727
1732
|
variant: "caption",
|
|
1728
|
-
color: "$
|
|
1733
|
+
color: "$neutral800"
|
|
1729
1734
|
}, "on ", blockchain)));
|
|
1730
1735
|
}
|
|
1731
1736
|
|
|
@@ -1739,7 +1744,7 @@ var waveSquares = /*#__PURE__*/keyframes({
|
|
|
1739
1744
|
});
|
|
1740
1745
|
var SkeletonContainer = /*#__PURE__*/styled('div', {
|
|
1741
1746
|
borderRadius: '$5',
|
|
1742
|
-
backgroundColor: '$
|
|
1747
|
+
backgroundColor: '$neutral100',
|
|
1743
1748
|
background: "linear-gradient(to right, rgba(130, 130, 130, 0.2) 8%, rgba(130, 130, 130, 0.3) 18%, rgba(130, 130, 130, 0.2) 33%)",
|
|
1744
1749
|
backgroundSize: '800px 100px',
|
|
1745
1750
|
animation: waveSquares + " 2s infinite ease-out",
|
|
@@ -1802,7 +1807,7 @@ var spin = /*#__PURE__*/keyframes({
|
|
|
1802
1807
|
var SpinnerContainer = /*#__PURE__*/styled('div', {
|
|
1803
1808
|
borderRadius: '50%',
|
|
1804
1809
|
position: 'relative',
|
|
1805
|
-
border: "2px solid $
|
|
1810
|
+
border: "2px solid $neutral100",
|
|
1806
1811
|
borderRight: "2px solid",
|
|
1807
1812
|
animation: spin + " 1.5s linear infinite",
|
|
1808
1813
|
margin: "0px $8",
|
|
@@ -1885,7 +1890,7 @@ var TooltipContent = /*#__PURE__*/styled(Content$1, {
|
|
|
1885
1890
|
color: '$white'
|
|
1886
1891
|
},
|
|
1887
1892
|
gray: {
|
|
1888
|
-
backgroundColor: '$
|
|
1893
|
+
backgroundColor: '$neutral100',
|
|
1889
1894
|
color: '$black'
|
|
1890
1895
|
},
|
|
1891
1896
|
black: {
|
|
@@ -1915,7 +1920,7 @@ var TooltipArrow = /*#__PURE__*/styled(Arrow, {
|
|
|
1915
1920
|
fill: '$success'
|
|
1916
1921
|
},
|
|
1917
1922
|
gray: {
|
|
1918
|
-
fill: '$
|
|
1923
|
+
fill: '$neutral100'
|
|
1919
1924
|
},
|
|
1920
1925
|
black: {
|
|
1921
1926
|
fill: '$black'
|
|
@@ -1980,11 +1985,12 @@ function Image(props) {
|
|
|
1980
1985
|
|
|
1981
1986
|
var Container = /*#__PURE__*/styled('div', {
|
|
1982
1987
|
borderRadius: '$5',
|
|
1983
|
-
border: '1px solid $
|
|
1988
|
+
border: '1px solid $neutral100',
|
|
1984
1989
|
display: 'flex',
|
|
1985
1990
|
alignItems: 'center',
|
|
1986
1991
|
minHeight: 126,
|
|
1987
|
-
justifyContent: 'space-between'
|
|
1992
|
+
justifyContent: 'space-between',
|
|
1993
|
+
backgroundColor: '$surface'
|
|
1988
1994
|
});
|
|
1989
1995
|
var ErrorMsg = /*#__PURE__*/styled(Typography, {
|
|
1990
1996
|
color: '$error'
|
|
@@ -2012,7 +2018,7 @@ var Line = /*#__PURE__*/styled('div', {
|
|
|
2012
2018
|
});
|
|
2013
2019
|
var HR = /*#__PURE__*/styled('hr', {
|
|
2014
2020
|
width: '100%',
|
|
2015
|
-
border: '1px solid $
|
|
2021
|
+
border: '1px solid $neutral400',
|
|
2016
2022
|
margin: '$8 0'
|
|
2017
2023
|
});
|
|
2018
2024
|
var RelativeContainer = /*#__PURE__*/styled('div', {
|
|
@@ -2053,7 +2059,7 @@ var pulse = /*#__PURE__*/keyframes({
|
|
|
2053
2059
|
}
|
|
2054
2060
|
});
|
|
2055
2061
|
var GasContainer = /*#__PURE__*/styled('div', {
|
|
2056
|
-
backgroundColor: '$
|
|
2062
|
+
backgroundColor: '$neutral100',
|
|
2057
2063
|
borderRadius: '5px',
|
|
2058
2064
|
margin: '$4',
|
|
2059
2065
|
display: 'flex',
|
|
@@ -2205,41 +2211,41 @@ var ButtonContainer = /*#__PURE__*/styled('button', {
|
|
|
2205
2211
|
},
|
|
2206
2212
|
variant: {
|
|
2207
2213
|
contained: {
|
|
2208
|
-
backgroundColor: '$
|
|
2214
|
+
backgroundColor: '$neutral100',
|
|
2209
2215
|
color: '$foreground',
|
|
2210
2216
|
border: 0,
|
|
2211
2217
|
'&:hover': {
|
|
2212
|
-
backgroundColor: '$
|
|
2218
|
+
backgroundColor: '$neutral200'
|
|
2213
2219
|
},
|
|
2214
2220
|
'&:disabled': {
|
|
2215
|
-
background: '$
|
|
2221
|
+
background: '$neutral400'
|
|
2216
2222
|
},
|
|
2217
2223
|
'&:disabled:hover': {
|
|
2218
|
-
background: '$
|
|
2224
|
+
background: '$neutral400',
|
|
2219
2225
|
transform: 'unset'
|
|
2220
2226
|
}
|
|
2221
2227
|
},
|
|
2222
2228
|
outlined: {
|
|
2223
|
-
backgroundColor: '$
|
|
2229
|
+
backgroundColor: '$surface',
|
|
2224
2230
|
border: 1,
|
|
2225
2231
|
borderStyle: 'solid',
|
|
2226
|
-
borderColor: '$
|
|
2232
|
+
borderColor: '$neutral400',
|
|
2227
2233
|
color: '$foreground',
|
|
2228
2234
|
'&:hover': {
|
|
2229
|
-
borderColor: '$
|
|
2235
|
+
borderColor: '$neutral600'
|
|
2230
2236
|
},
|
|
2231
2237
|
'&:disabled': {
|
|
2232
|
-
borderColor: '$
|
|
2233
|
-
color: '$
|
|
2238
|
+
borderColor: '$neutral400',
|
|
2239
|
+
color: '$neutral400'
|
|
2234
2240
|
}
|
|
2235
2241
|
},
|
|
2236
2242
|
ghost: (_ghost = {
|
|
2237
2243
|
color: '$foreground',
|
|
2238
2244
|
'&:hover': {
|
|
2239
|
-
backgroundColor: '$
|
|
2245
|
+
backgroundColor: '$neutral200'
|
|
2240
2246
|
},
|
|
2241
2247
|
'&:disabled': {
|
|
2242
|
-
color: '$
|
|
2248
|
+
color: '$neutral400'
|
|
2243
2249
|
},
|
|
2244
2250
|
background: 'transparent',
|
|
2245
2251
|
border: 0
|
|
@@ -2282,19 +2288,19 @@ var ButtonContainer = /*#__PURE__*/styled('button', {
|
|
|
2282
2288
|
type: 'primary',
|
|
2283
2289
|
variant: 'outlined',
|
|
2284
2290
|
css: {
|
|
2285
|
-
color: '$primary
|
|
2291
|
+
color: '$primary',
|
|
2286
2292
|
borderColor: '$primary',
|
|
2287
2293
|
'&:hover': {
|
|
2288
|
-
color: '$primary700
|
|
2289
|
-
borderColor: '$primary700
|
|
2294
|
+
color: '$primary700',
|
|
2295
|
+
borderColor: '$primary700'
|
|
2290
2296
|
},
|
|
2291
2297
|
'&:visited': {
|
|
2292
|
-
color: '$primary900
|
|
2293
|
-
borderColor: '$primary900
|
|
2298
|
+
color: '$primary900',
|
|
2299
|
+
borderColor: '$primary900'
|
|
2294
2300
|
},
|
|
2295
2301
|
'&:focus': {
|
|
2296
|
-
color: '$primary600
|
|
2297
|
-
borderColor: '$primary600
|
|
2302
|
+
color: '$primary600',
|
|
2303
|
+
borderColor: '$primary600'
|
|
2298
2304
|
}
|
|
2299
2305
|
}
|
|
2300
2306
|
}, {
|
|
@@ -2320,7 +2326,7 @@ var ButtonContainer = /*#__PURE__*/styled('button', {
|
|
|
2320
2326
|
$$color: '$colors$background'
|
|
2321
2327
|
}, _css["." + darkTheme + " &"] = {
|
|
2322
2328
|
$$color: '$colors$foreground'
|
|
2323
|
-
}, _css.color = '$$color
|
|
2329
|
+
}, _css.color = '$$color', _css['&:hover'] = {
|
|
2324
2330
|
background: '$error300'
|
|
2325
2331
|
}, _css['&:visited'] = {
|
|
2326
2332
|
background: '$error700'
|
|
@@ -2331,19 +2337,19 @@ var ButtonContainer = /*#__PURE__*/styled('button', {
|
|
|
2331
2337
|
type: 'error',
|
|
2332
2338
|
variant: 'outlined',
|
|
2333
2339
|
css: {
|
|
2334
|
-
color: '$error
|
|
2340
|
+
color: '$error',
|
|
2335
2341
|
borderColor: '$error',
|
|
2336
2342
|
'&:hover': {
|
|
2337
|
-
color: '$error300
|
|
2338
|
-
borderColor: '$error300
|
|
2343
|
+
color: '$error300',
|
|
2344
|
+
borderColor: '$error300'
|
|
2339
2345
|
},
|
|
2340
2346
|
'&:visited': {
|
|
2341
|
-
color: '$error700
|
|
2342
|
-
borderColor: '$error700
|
|
2347
|
+
color: '$error700',
|
|
2348
|
+
borderColor: '$error700'
|
|
2343
2349
|
},
|
|
2344
2350
|
'&:focus': {
|
|
2345
|
-
color: '$error700
|
|
2346
|
-
borderColor: '$error700
|
|
2351
|
+
color: '$error700',
|
|
2352
|
+
borderColor: '$error700'
|
|
2347
2353
|
}
|
|
2348
2354
|
}
|
|
2349
2355
|
}, {
|
|
@@ -2369,7 +2375,7 @@ var ButtonContainer = /*#__PURE__*/styled('button', {
|
|
|
2369
2375
|
$$color: '$colors$background'
|
|
2370
2376
|
}, _css2["." + darkTheme + " &"] = {
|
|
2371
2377
|
$$color: '$colors$foreground'
|
|
2372
|
-
}, _css2.color = '$$color
|
|
2378
|
+
}, _css2.color = '$$color', _css2['&:hover'] = {
|
|
2373
2379
|
background: '$warning300'
|
|
2374
2380
|
}, _css2['&:visited'] = {
|
|
2375
2381
|
background: '$warning700'
|
|
@@ -2380,19 +2386,19 @@ var ButtonContainer = /*#__PURE__*/styled('button', {
|
|
|
2380
2386
|
type: 'warning',
|
|
2381
2387
|
variant: 'outlined',
|
|
2382
2388
|
css: {
|
|
2383
|
-
color: '$warning
|
|
2389
|
+
color: '$warning',
|
|
2384
2390
|
borderColor: '$warning',
|
|
2385
2391
|
'&:hover': {
|
|
2386
|
-
color: '$warning300
|
|
2387
|
-
borderColor: '$warning300
|
|
2392
|
+
color: '$warning300',
|
|
2393
|
+
borderColor: '$warning300'
|
|
2388
2394
|
},
|
|
2389
2395
|
'&:visited': {
|
|
2390
|
-
color: '$warning700
|
|
2391
|
-
borderColor: '$warning700
|
|
2396
|
+
color: '$warning700',
|
|
2397
|
+
borderColor: '$warning700'
|
|
2392
2398
|
},
|
|
2393
2399
|
'&:focus': {
|
|
2394
|
-
color: '$warning700
|
|
2395
|
-
borderColor: '$warning700
|
|
2400
|
+
color: '$warning700',
|
|
2401
|
+
borderColor: '$warning700'
|
|
2396
2402
|
}
|
|
2397
2403
|
}
|
|
2398
2404
|
}, {
|
|
@@ -2418,7 +2424,7 @@ var ButtonContainer = /*#__PURE__*/styled('button', {
|
|
|
2418
2424
|
$$color: '$colors$background'
|
|
2419
2425
|
}, _css3["." + darkTheme + " &"] = {
|
|
2420
2426
|
$$color: '$colors$foreground'
|
|
2421
|
-
}, _css3.color = '$$color
|
|
2427
|
+
}, _css3.color = '$$color', _css3['&:hover'] = {
|
|
2422
2428
|
background: '$success300'
|
|
2423
2429
|
}, _css3['&:visited'] = {
|
|
2424
2430
|
background: '$success700'
|
|
@@ -2429,19 +2435,19 @@ var ButtonContainer = /*#__PURE__*/styled('button', {
|
|
|
2429
2435
|
type: 'success',
|
|
2430
2436
|
variant: 'outlined',
|
|
2431
2437
|
css: {
|
|
2432
|
-
color: '$success
|
|
2438
|
+
color: '$success',
|
|
2433
2439
|
borderColor: '$success',
|
|
2434
2440
|
'&:hover': {
|
|
2435
|
-
color: '$success300
|
|
2436
|
-
borderColor: '$success300
|
|
2441
|
+
color: '$success300',
|
|
2442
|
+
borderColor: '$success300'
|
|
2437
2443
|
},
|
|
2438
2444
|
'&:visited': {
|
|
2439
|
-
color: '$success700
|
|
2440
|
-
borderColor: '$success700
|
|
2445
|
+
color: '$success700',
|
|
2446
|
+
borderColor: '$success700'
|
|
2441
2447
|
},
|
|
2442
2448
|
'&:focus': {
|
|
2443
|
-
color: '$success700
|
|
2444
|
-
borderColor: '$success700
|
|
2449
|
+
color: '$success700',
|
|
2450
|
+
borderColor: '$success700'
|
|
2445
2451
|
}
|
|
2446
2452
|
}
|
|
2447
2453
|
}, {
|
|
@@ -2638,10 +2644,10 @@ function Header(props) {
|
|
|
2638
2644
|
|
|
2639
2645
|
var _excluded$G = ["label", "prefix", "suffix", "children", "size", "style"];
|
|
2640
2646
|
var InputContainer = /*#__PURE__*/styled('div', {
|
|
2641
|
-
backgroundColor: '$
|
|
2647
|
+
backgroundColor: '$surface',
|
|
2642
2648
|
padding: '1px',
|
|
2643
2649
|
boxSizing: 'border-box',
|
|
2644
|
-
border: '1px solid $
|
|
2650
|
+
border: '1px solid $neutral400',
|
|
2645
2651
|
borderRadius: '$5',
|
|
2646
2652
|
height: '$48',
|
|
2647
2653
|
display: 'flex',
|
|
@@ -2678,7 +2684,7 @@ var InputContainer = /*#__PURE__*/styled('div', {
|
|
|
2678
2684
|
},
|
|
2679
2685
|
disabled: {
|
|
2680
2686
|
"true": {
|
|
2681
|
-
backgroundColor: '$
|
|
2687
|
+
backgroundColor: '$neutral100',
|
|
2682
2688
|
cursor: 'not-allowed',
|
|
2683
2689
|
filter: 'grayscale(100%)'
|
|
2684
2690
|
}
|
|
@@ -2827,6 +2833,71 @@ function limitDecimalPlaces(numberString, maxDecimalPlaces) {
|
|
|
2827
2833
|
return roundedNumber.toString();
|
|
2828
2834
|
}
|
|
2829
2835
|
}
|
|
2836
|
+
var hexToRgb = function hexToRgb(hex) {
|
|
2837
|
+
return function (value) {
|
|
2838
|
+
return value.length === 3 ? value.split('').map(function (c) {
|
|
2839
|
+
return parseInt(c.repeat(2), 16);
|
|
2840
|
+
}) : (value.match(/.{1,2}/g) || []).map(function (v) {
|
|
2841
|
+
return parseInt(v, 16);
|
|
2842
|
+
});
|
|
2843
|
+
}(hex.replace('#', ''));
|
|
2844
|
+
};
|
|
2845
|
+
var isHexTooDark = function isHexTooDark(hexColor) {
|
|
2846
|
+
return function (_ref) {
|
|
2847
|
+
var r = _ref[0],
|
|
2848
|
+
g = _ref[1],
|
|
2849
|
+
b = _ref[2];
|
|
2850
|
+
return 0.2126 * r + 0.7152 * g + 0.0722 * b < 40;
|
|
2851
|
+
}(hexToRgb(hexColor));
|
|
2852
|
+
};
|
|
2853
|
+
var isHexTooLight = function isHexTooLight(hexColor) {
|
|
2854
|
+
return function (_ref2) {
|
|
2855
|
+
var r = _ref2[0],
|
|
2856
|
+
g = _ref2[1],
|
|
2857
|
+
b = _ref2[2];
|
|
2858
|
+
return (r * 299 + g * 587 + b * 114) / 1000 > 155;
|
|
2859
|
+
}(hexToRgb(hexColor));
|
|
2860
|
+
};
|
|
2861
|
+
var colorShade = function colorShade(col, amt) {
|
|
2862
|
+
col = col.replace(/^#/, '');
|
|
2863
|
+
if (col.length === 3) col = col[0] + col[0] + col[1] + col[1] + col[2] + col[2];
|
|
2864
|
+
var _col$match = col.match(/.{2}/g),
|
|
2865
|
+
r = _col$match[0],
|
|
2866
|
+
g = _col$match[1],
|
|
2867
|
+
b = _col$match[2];
|
|
2868
|
+
var _ref3 = [parseInt(r, 16) + amt, parseInt(g, 16) + amt, parseInt(b, 16) + amt];
|
|
2869
|
+
r = _ref3[0];
|
|
2870
|
+
g = _ref3[1];
|
|
2871
|
+
b = _ref3[2];
|
|
2872
|
+
r = Math.max(Math.min(255, r), 0).toString(16);
|
|
2873
|
+
g = Math.max(Math.min(255, g), 0).toString(16);
|
|
2874
|
+
b = Math.max(Math.min(255, b), 0).toString(16);
|
|
2875
|
+
var rr = (r.length < 2 ? '0' : '') + r;
|
|
2876
|
+
var gg = (g.length < 2 ? '0' : '') + g;
|
|
2877
|
+
var bb = (b.length < 2 ? '0' : '') + b;
|
|
2878
|
+
return "#" + rr + gg + bb;
|
|
2879
|
+
};
|
|
2880
|
+
var generateRangeColors = function generateRangeColors(name, mode, color) {
|
|
2881
|
+
var _colors;
|
|
2882
|
+
var colors = (_colors = {}, _colors[name] = color, _colors);
|
|
2883
|
+
if (color) {
|
|
2884
|
+
var c = color;
|
|
2885
|
+
if (isHexTooDark(color) || mode === 'dark') {
|
|
2886
|
+
for (var i = 1; i < 10; i++) {
|
|
2887
|
+
var _extends2;
|
|
2888
|
+
colors = _extends({}, colors, (_extends2 = {}, _extends2[name + i * 100] = name === 'neutral' ? colorShade(c, i * 15) : colorShade(color, i * 5), _extends2));
|
|
2889
|
+
}
|
|
2890
|
+
}
|
|
2891
|
+
if (isHexTooLight(color) || mode === 'light') {
|
|
2892
|
+
for (var _i = 1; _i < 10; _i++) {
|
|
2893
|
+
var _extends3;
|
|
2894
|
+
c = colorShade(c, -(_i * 5));
|
|
2895
|
+
colors = _extends({}, colors, (_extends3 = {}, _extends3[name + _i * 100] = name === 'neutral' ? colorShade(c, -(_i * 5)) : colorShade(color, -(_i * 5)), _extends3));
|
|
2896
|
+
}
|
|
2897
|
+
}
|
|
2898
|
+
}
|
|
2899
|
+
return colors;
|
|
2900
|
+
};
|
|
2830
2901
|
|
|
2831
2902
|
var SpacerContainer = /*#__PURE__*/styled('div', {
|
|
2832
2903
|
variants: {
|
|
@@ -2945,8 +3016,8 @@ var MainContainer = /*#__PURE__*/styled('div', {
|
|
|
2945
3016
|
width: '100%',
|
|
2946
3017
|
padding: '$16',
|
|
2947
3018
|
borderRadius: '$5',
|
|
2948
|
-
backgroundColor: '$
|
|
2949
|
-
color: '$
|
|
3019
|
+
backgroundColor: '$neutral100',
|
|
3020
|
+
color: '$neutral800',
|
|
2950
3021
|
'.main': {
|
|
2951
3022
|
display: 'flex',
|
|
2952
3023
|
alignItems: 'center'
|
|
@@ -3131,7 +3202,7 @@ function TokenItem(props) {
|
|
|
3131
3202
|
variant: "body1"
|
|
3132
3203
|
}, token.symbol), React__default.createElement(Typography, {
|
|
3133
3204
|
variant: "caption",
|
|
3134
|
-
color: "
|
|
3205
|
+
color: "neutral600"
|
|
3135
3206
|
}, token.name))));
|
|
3136
3207
|
}
|
|
3137
3208
|
|
|
@@ -3349,7 +3420,7 @@ var ChipCointainer = /*#__PURE__*/styled('div', {
|
|
|
3349
3420
|
color: '$background'
|
|
3350
3421
|
},
|
|
3351
3422
|
"false": {
|
|
3352
|
-
backgroundColor: '$
|
|
3423
|
+
backgroundColor: '$surface'
|
|
3353
3424
|
}
|
|
3354
3425
|
}
|
|
3355
3426
|
}
|
|
@@ -3543,8 +3614,8 @@ var StyledSwitchRoot = /*#__PURE__*/styled(Root$2, {
|
|
|
3543
3614
|
borderStyle: 'solid',
|
|
3544
3615
|
width: '42px',
|
|
3545
3616
|
height: '22px',
|
|
3546
|
-
backgroundColor: '$
|
|
3547
|
-
borderColor: '$
|
|
3617
|
+
backgroundColor: '$neutral600',
|
|
3618
|
+
borderColor: '$neutral600',
|
|
3548
3619
|
borderRadius: '99999px',
|
|
3549
3620
|
position: 'relative',
|
|
3550
3621
|
padding: '0',
|
|
@@ -3663,7 +3734,7 @@ function LiquiditySourceList(props) {
|
|
|
3663
3734
|
variant: "h5"
|
|
3664
3735
|
}, "Bridges"), React__default.createElement(Typography, {
|
|
3665
3736
|
variant: "body1",
|
|
3666
|
-
color: "
|
|
3737
|
+
color: "neutral800"
|
|
3667
3738
|
}, totalSelectedBridges === totalBridges ? totalBridges : totalSelectedBridges + " / " + totalBridges)), React__default.createElement(Spacer, {
|
|
3668
3739
|
size: 12,
|
|
3669
3740
|
direction: "vertical"
|
|
@@ -3683,7 +3754,7 @@ function LiquiditySourceList(props) {
|
|
|
3683
3754
|
variant: "h5"
|
|
3684
3755
|
}, "Exchanges"), React__default.createElement(Typography, {
|
|
3685
3756
|
variant: "body1",
|
|
3686
|
-
color: "
|
|
3757
|
+
color: "neutral800"
|
|
3687
3758
|
}, totalSelectedExchanges === totalExchanges ? totalExchanges : totalSelectedExchanges + " / " + totalExchanges)), React__default.createElement(Spacer, {
|
|
3688
3759
|
size: 12,
|
|
3689
3760
|
direction: "vertical"
|
|
@@ -3770,7 +3841,7 @@ var Circle = /*#__PURE__*/styled('div', {
|
|
|
3770
3841
|
width: 12,
|
|
3771
3842
|
height: 12,
|
|
3772
3843
|
borderRadius: 6,
|
|
3773
|
-
border: '1px solid $
|
|
3844
|
+
border: '1px solid $neutral400',
|
|
3774
3845
|
position: 'absolute',
|
|
3775
3846
|
top: 12,
|
|
3776
3847
|
right: 12,
|
|
@@ -3780,7 +3851,7 @@ var Circle = /*#__PURE__*/styled('div', {
|
|
|
3780
3851
|
borderColor: '$success'
|
|
3781
3852
|
},
|
|
3782
3853
|
"false": {
|
|
3783
|
-
borderColor: '$
|
|
3854
|
+
borderColor: '$neutral400'
|
|
3784
3855
|
}
|
|
3785
3856
|
}
|
|
3786
3857
|
}
|
|
@@ -3796,7 +3867,7 @@ var SolidCircle = /*#__PURE__*/styled('div', {
|
|
|
3796
3867
|
backgroundColor: '$success'
|
|
3797
3868
|
},
|
|
3798
3869
|
"false": {
|
|
3799
|
-
backgroundColor: '$
|
|
3870
|
+
backgroundColor: '$neutral400'
|
|
3800
3871
|
}
|
|
3801
3872
|
}
|
|
3802
3873
|
}
|
|
@@ -3821,8 +3892,8 @@ var Container$1 = /*#__PURE__*/styled('div', {
|
|
|
3821
3892
|
color: '$success'
|
|
3822
3893
|
},
|
|
3823
3894
|
"false": {
|
|
3824
|
-
borderColor: '$
|
|
3825
|
-
color: '$
|
|
3895
|
+
borderColor: '$neutral400',
|
|
3896
|
+
color: '$neutral400'
|
|
3826
3897
|
}
|
|
3827
3898
|
}
|
|
3828
3899
|
}
|
|
@@ -3895,9 +3966,9 @@ var StyledItem = /*#__PURE__*/styled(Item, {
|
|
|
3895
3966
|
borderRadius: '100%',
|
|
3896
3967
|
cursor: 'pointer',
|
|
3897
3968
|
backgroundColor: '$background',
|
|
3898
|
-
border: '1px solid $
|
|
3969
|
+
border: '1px solid $neutral400',
|
|
3899
3970
|
'&:hover': {
|
|
3900
|
-
borderColor: '$
|
|
3971
|
+
borderColor: '$neutral600'
|
|
3901
3972
|
}
|
|
3902
3973
|
});
|
|
3903
3974
|
var Container$2 = /*#__PURE__*/styled('div', {
|
|
@@ -3952,7 +4023,7 @@ function Radio(props) {
|
|
|
3952
4023
|
|
|
3953
4024
|
var BaseContainer = /*#__PURE__*/styled('div', {
|
|
3954
4025
|
borderRadius: '$5',
|
|
3955
|
-
backgroundColor: '$
|
|
4026
|
+
backgroundColor: '$neutral100',
|
|
3956
4027
|
padding: '$16'
|
|
3957
4028
|
});
|
|
3958
4029
|
var Title = /*#__PURE__*/styled(Typography, {
|
|
@@ -4006,7 +4077,8 @@ function Settings(props) {
|
|
|
4006
4077
|
onThemeChange = props.onThemeChange,
|
|
4007
4078
|
toggleInfiniteApprove = props.toggleInfiniteApprove,
|
|
4008
4079
|
infiniteApprove = props.infiniteApprove,
|
|
4009
|
-
loadingStatus = props.loadingStatus
|
|
4080
|
+
loadingStatus = props.loadingStatus,
|
|
4081
|
+
singleTheme = props.singleTheme;
|
|
4010
4082
|
var _useState = useState(props.selectedSlippage),
|
|
4011
4083
|
selectedSlippage = _useState[0],
|
|
4012
4084
|
setSelectedSlippage = _useState[1];
|
|
@@ -4048,7 +4120,7 @@ function Settings(props) {
|
|
|
4048
4120
|
width: '128px',
|
|
4049
4121
|
flexGrow: 'initial'
|
|
4050
4122
|
}
|
|
4051
|
-
}))), React__default.createElement(ThemesContainer, null, React__default.createElement(Title, {
|
|
4123
|
+
}))), !singleTheme && React__default.createElement(ThemesContainer, null, React__default.createElement(Title, {
|
|
4052
4124
|
variant: "body2"
|
|
4053
4125
|
}, "Theme"), React__default.createElement(Radio, {
|
|
4054
4126
|
value: selectedTheme,
|
|
@@ -4081,7 +4153,7 @@ function Settings(props) {
|
|
|
4081
4153
|
loading: loadingStatus === 'loading',
|
|
4082
4154
|
suffix: React__default.createElement(LiquiditySourceNumber, null, loadingStatus === 'success' && React__default.createElement(Typography, {
|
|
4083
4155
|
variant: "body2",
|
|
4084
|
-
color: "
|
|
4156
|
+
color: "neutral800"
|
|
4085
4157
|
}, liquiditySources.length !== selectedLiquiditySources.length ? selectedLiquiditySources.length + " / " + liquiditySources.length : liquiditySources.length), loadingStatus === 'failed' && React__default.createElement(Typography, {
|
|
4086
4158
|
variant: "body2",
|
|
4087
4159
|
color: "$error500"
|
|
@@ -4117,14 +4189,14 @@ var MainContainer$2 = /*#__PURE__*/styled('div', {
|
|
|
4117
4189
|
height: '$8'
|
|
4118
4190
|
},
|
|
4119
4191
|
'&::-webkit-scrollbar-thumb': {
|
|
4120
|
-
backgroundColor: '$
|
|
4192
|
+
backgroundColor: '$neutral400',
|
|
4121
4193
|
borderRadius: '$10'
|
|
4122
4194
|
},
|
|
4123
4195
|
'&::-webkit-scrollbar-thumb:hover': {
|
|
4124
|
-
backgroundColor: '$
|
|
4196
|
+
backgroundColor: '$neutral500'
|
|
4125
4197
|
},
|
|
4126
4198
|
'&::-webkit-scrollbar-track': {
|
|
4127
|
-
backgroundColor: '$
|
|
4199
|
+
backgroundColor: '$neutral100'
|
|
4128
4200
|
}
|
|
4129
4201
|
},
|
|
4130
4202
|
variants: {
|
|
@@ -4159,7 +4231,7 @@ var TokenContainer = /*#__PURE__*/styled('div', {
|
|
|
4159
4231
|
fontWeight: 'bold'
|
|
4160
4232
|
},
|
|
4161
4233
|
'& .estimated': {
|
|
4162
|
-
color: '$
|
|
4234
|
+
color: '$neutral600'
|
|
4163
4235
|
}
|
|
4164
4236
|
});
|
|
4165
4237
|
var TokenImage = /*#__PURE__*/styled('div', {
|
|
@@ -4179,7 +4251,7 @@ var TokenImage = /*#__PURE__*/styled('div', {
|
|
|
4179
4251
|
justifyContent: 'center',
|
|
4180
4252
|
alignItems: 'center',
|
|
4181
4253
|
backgroundColor: '$background',
|
|
4182
|
-
border: '1px solid $
|
|
4254
|
+
border: '1px solid $neutral400'
|
|
4183
4255
|
}
|
|
4184
4256
|
});
|
|
4185
4257
|
function Token(props) {
|
|
@@ -4215,7 +4287,7 @@ var Container$3 = /*#__PURE__*/styled('div', {
|
|
|
4215
4287
|
justifyContent: 'space-between',
|
|
4216
4288
|
alignItems: 'center',
|
|
4217
4289
|
padding: '$16 0',
|
|
4218
|
-
borderBottom: '1px solid $
|
|
4290
|
+
borderBottom: '1px solid $neutral100',
|
|
4219
4291
|
'& > .info': {
|
|
4220
4292
|
display: 'flex',
|
|
4221
4293
|
alignItems: 'center'
|
|
@@ -4290,7 +4362,7 @@ var Container$4 = /*#__PURE__*/styled('div', {
|
|
|
4290
4362
|
position: 'relative'
|
|
4291
4363
|
});
|
|
4292
4364
|
var Color = /*#__PURE__*/styled('div', {
|
|
4293
|
-
border: '1px solid $
|
|
4365
|
+
border: '1px solid $neutral100',
|
|
4294
4366
|
borderRadius: '$5',
|
|
4295
4367
|
width: '$32',
|
|
4296
4368
|
height: '$32'
|
|
@@ -4332,7 +4404,8 @@ function ColorPicker(_ref) {
|
|
|
4332
4404
|
var color = _ref.color,
|
|
4333
4405
|
onChangeColor = _ref.onChangeColor,
|
|
4334
4406
|
label = _ref.label,
|
|
4335
|
-
place = _ref.place
|
|
4407
|
+
place = _ref.place,
|
|
4408
|
+
placeholder = _ref.placeholder;
|
|
4336
4409
|
var _useState = useState(false),
|
|
4337
4410
|
displayColorPicker = _useState[0],
|
|
4338
4411
|
setDisplayColorPicker = _useState[1];
|
|
@@ -4348,12 +4421,20 @@ function ColorPicker(_ref) {
|
|
|
4348
4421
|
fullWidth: true,
|
|
4349
4422
|
align: "start",
|
|
4350
4423
|
size: "large",
|
|
4424
|
+
suffix: color && React__default.createElement("div", {
|
|
4425
|
+
onClick: function onClick(e) {
|
|
4426
|
+
e.stopPropagation();
|
|
4427
|
+
onChangeColor(undefined);
|
|
4428
|
+
}
|
|
4429
|
+
}, React__default.createElement(CloseIcon, {
|
|
4430
|
+
size: 20
|
|
4431
|
+
})),
|
|
4351
4432
|
onClick: function onClick() {
|
|
4352
4433
|
return setDisplayColorPicker(function (prev) {
|
|
4353
4434
|
return !prev;
|
|
4354
4435
|
});
|
|
4355
4436
|
}
|
|
4356
|
-
}, color), displayColorPicker && React__default.createElement(Popover, {
|
|
4437
|
+
}, color || placeholder), displayColorPicker && React__default.createElement(Popover, {
|
|
4357
4438
|
place: place
|
|
4358
4439
|
}, React__default.createElement(Cover, {
|
|
4359
4440
|
onClick: function onClick() {
|
|
@@ -4361,7 +4442,10 @@ function ColorPicker(_ref) {
|
|
|
4361
4442
|
}
|
|
4362
4443
|
}), React__default.createElement(ChromePicker, {
|
|
4363
4444
|
color: color,
|
|
4364
|
-
onChange:
|
|
4445
|
+
onChange: function onChange(c) {
|
|
4446
|
+
var color = '#' + rgbHex(c.rgb.r, c.rgb.g, c.rgb.b, c.rgb.a);
|
|
4447
|
+
onChangeColor(color);
|
|
4448
|
+
}
|
|
4365
4449
|
})));
|
|
4366
4450
|
}
|
|
4367
4451
|
|
|
@@ -4463,7 +4547,7 @@ var MainContainer$3 = /*#__PURE__*/styled('div', {
|
|
|
4463
4547
|
var Section = /*#__PURE__*/styled('div', {
|
|
4464
4548
|
paddingBottom: '$32',
|
|
4465
4549
|
marginBottom: '$32',
|
|
4466
|
-
borderBottom: '1px solid $
|
|
4550
|
+
borderBottom: '1px solid $neutral400'
|
|
4467
4551
|
});
|
|
4468
4552
|
var Footer$1 = /*#__PURE__*/styled('div', {
|
|
4469
4553
|
display: 'flex',
|
|
@@ -4483,14 +4567,14 @@ var Container$5 = /*#__PURE__*/styled('div', {
|
|
|
4483
4567
|
alignItems: 'center'
|
|
4484
4568
|
},
|
|
4485
4569
|
'.num': {
|
|
4486
|
-
backgroundColor: '$
|
|
4570
|
+
backgroundColor: '$neutral100',
|
|
4487
4571
|
display: 'inline-flex',
|
|
4488
4572
|
width: '24px',
|
|
4489
4573
|
height: '24px',
|
|
4490
|
-
color: '$
|
|
4574
|
+
color: '$neutral800',
|
|
4491
4575
|
borderRadius: '50%',
|
|
4492
4576
|
fontSize: '$14',
|
|
4493
|
-
border: '1px solid $
|
|
4577
|
+
border: '1px solid $neutral400',
|
|
4494
4578
|
justifyContent: 'center',
|
|
4495
4579
|
alignItems: 'center'
|
|
4496
4580
|
}
|
|
@@ -4603,7 +4687,7 @@ function SwapsGroup(props) {
|
|
|
4603
4687
|
key: index
|
|
4604
4688
|
}, React__default.createElement(Group, null, React__default.createElement(Typography, {
|
|
4605
4689
|
variant: "body2",
|
|
4606
|
-
color: "
|
|
4690
|
+
color: "neutral600",
|
|
4607
4691
|
className: "group-title"
|
|
4608
4692
|
}, group.title), group.swaps.map(function (swap) {
|
|
4609
4693
|
return React__default.createElement(React__default.Fragment, {
|
|
@@ -4737,7 +4821,7 @@ var SwapperContainer$1 = /*#__PURE__*/styled('div', {
|
|
|
4737
4821
|
});
|
|
4738
4822
|
var FeeContainer = /*#__PURE__*/styled('div', {
|
|
4739
4823
|
paddingLeft: '$16',
|
|
4740
|
-
color: '$
|
|
4824
|
+
color: '$neutral800'
|
|
4741
4825
|
});
|
|
4742
4826
|
var Fee = /*#__PURE__*/styled('div', {
|
|
4743
4827
|
display: 'flex',
|
|
@@ -4769,7 +4853,7 @@ var SwapInfoContainer = /*#__PURE__*/styled('div', {
|
|
|
4769
4853
|
display: 'flex',
|
|
4770
4854
|
flexDirection: 'column',
|
|
4771
4855
|
paddingBottom: '$16',
|
|
4772
|
-
borderBottom: '1px solid $
|
|
4856
|
+
borderBottom: '1px solid $neutral100'
|
|
4773
4857
|
});
|
|
4774
4858
|
var InternalDetailsContainer = /*#__PURE__*/styled('div', {
|
|
4775
4859
|
display: 'flex',
|
|
@@ -4803,12 +4887,12 @@ var Row$2 = /*#__PURE__*/styled('div', {
|
|
|
4803
4887
|
fontSize: '$14',
|
|
4804
4888
|
padding: '$8 0',
|
|
4805
4889
|
'.name': {
|
|
4806
|
-
color: '$
|
|
4890
|
+
color: '$neutral600'
|
|
4807
4891
|
},
|
|
4808
4892
|
'.value': {
|
|
4809
4893
|
display: 'flex',
|
|
4810
4894
|
alignItems: 'center',
|
|
4811
|
-
color: '$
|
|
4895
|
+
color: '$neutral800',
|
|
4812
4896
|
justifyContent: 'flex-end'
|
|
4813
4897
|
},
|
|
4814
4898
|
'.status': {
|
|
@@ -4833,7 +4917,7 @@ var RequestId = /*#__PURE__*/styled('div', {
|
|
|
4833
4917
|
});
|
|
4834
4918
|
var ExtraDetails = /*#__PURE__*/styled('div', {
|
|
4835
4919
|
padding: '0',
|
|
4836
|
-
color: '$
|
|
4920
|
+
color: '$neutral600',
|
|
4837
4921
|
fontSize: '$10'
|
|
4838
4922
|
});
|
|
4839
4923
|
var SwapFlowContainer = /*#__PURE__*/styled('div', {
|
|
@@ -5001,5 +5085,5 @@ function useCopyToClipboard(resetInterval) {
|
|
|
5001
5085
|
return [isCopied, handleCopy];
|
|
5002
5086
|
}
|
|
5003
5087
|
|
|
5004
|
-
export { AddCircleIcon, AddIcon, AddWalletIcon, Alert, AngleDownIcon, AngleLeftIcon, AngleRightIcon, AngleUpIcon, ArrowRightIcon, BagIcon, BanIcon, BestRoute, BlockchainSelector, Button, CheckCircleIcon, CheckIcon, CheckSquareIcon, CheckWalletIcon, Checkbox, ChevronRightIcon, Chip, CloseIcon, ColorPicker, ConfirmSwap, ConnectWalletsModal, CopyIcon, DeleteCircleIcon, DeleteWalletIcon, DisconnectIcon, Divider, DownloadIcon, Drawer, FilledCircle, GasIcon, Header, History, HistoryIcon, HorizontalSwapIcon, Image, InfoCircleIcon, LiquiditySourcesSelector, LoadingFailedAlert, MinusCircleIcon, Modal, Radio, RetryIcon, RetryLeftIcon, RetryRightIcon, SearchIcon, SearchMinusIcon, SecondaryPage, SelectableWalletList, Settings, SettingsIcon, SignatureIcon, Spacer, Spinner, StepDetail, SwapContainer, SwapDetail, SwapHistory, SwapWalletIcon, SwapsGroup, Switch, TextField, TimeIcon, TokenList, TokenSelector, Tooltip, TrashIcon, TryAgainIcon, Typography, VerticalSwapIcon, Wallet, WalletIcon, WalletState, WarningIcon, createTheme, css, darkTheme, globalCss, keyframes, lightTheme, styled, useCopyToClipboard };
|
|
5088
|
+
export { AddCircleIcon, AddIcon, AddWalletIcon, Alert, AngleDownIcon, AngleLeftIcon, AngleRightIcon, AngleUpIcon, ArrowRightIcon, BagIcon, BanIcon, BestRoute, BlockchainSelector, Button, CheckCircleIcon, CheckIcon, CheckSquareIcon, CheckWalletIcon, Checkbox, ChevronRightIcon, Chip, CloseIcon, ColorPicker, ConfirmSwap, ConnectWalletsModal, CopyIcon, DeleteCircleIcon, DeleteWalletIcon, DisconnectIcon, Divider, DownloadIcon, Drawer, FilledCircle, GasIcon, Header, History, HistoryIcon, HorizontalSwapIcon, Image, InfoCircleIcon, LiquiditySourcesSelector, LoadingFailedAlert, MinusCircleIcon, Modal, Radio, RetryIcon, RetryLeftIcon, RetryRightIcon, SearchIcon, SearchMinusIcon, SecondaryPage, SelectableWalletList, Settings, SettingsIcon, SignatureIcon, Spacer, Spinner, StepDetail, SwapContainer, SwapDetail, SwapHistory, SwapWalletIcon, SwapsGroup, Switch, TextField, TimeIcon, TokenList, TokenSelector, Tooltip, TrashIcon, TryAgainIcon, Typography, VerticalSwapIcon, Wallet, WalletIcon, WalletState, WarningIcon, createTheme, css, darkTheme, generateRangeColors, globalCss, keyframes, lightTheme, styled, useCopyToClipboard };
|
|
5005
5089
|
//# sourceMappingURL=ui.esm.js.map
|