@rango-dev/widget-embedded 0.25.1-next.5 → 0.25.1-next.7

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rango-dev/widget-embedded",
3
- "version": "0.25.1-next.5",
3
+ "version": "0.25.1-next.7",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "source": "./src/index.ts",
@@ -29,7 +29,7 @@
29
29
  "@rango-dev/queue-manager-core": "^0.26.0",
30
30
  "@rango-dev/queue-manager-rango-preset": "^0.30.1-next.1",
31
31
  "@rango-dev/queue-manager-react": "^0.26.0",
32
- "@rango-dev/ui": "^0.31.1-next.0",
32
+ "@rango-dev/ui": "^0.31.1-next.1",
33
33
  "@rango-dev/wallets-react": "^0.16.1-next.0",
34
34
  "@rango-dev/wallets-shared": "^0.30.1-next.0",
35
35
  "bignumber.js": "^9.1.1",
@@ -52,4 +52,4 @@
52
52
  "publishConfig": {
53
53
  "access": "public"
54
54
  }
55
- }
55
+ }
@@ -411,15 +411,9 @@ export function Quote(props: QuoteProps) {
411
411
  </ContainerInfoOutput>
412
412
  <Tooltip
413
413
  content={formatTooltipNumbers(output.usdValue)}
414
- container={container}
415
- styles={{
416
- root: { display: 'flex' },
417
- }}>
418
- <Typography
419
- color="$neutral600"
420
- ml={2}
421
- size="xsmall"
422
- variant="body">
414
+ container={container}>
415
+ <Divider size={2} direction="horizontal" />
416
+ <Typography color="$neutral600" size="xsmall" variant="body">
423
417
  {`($${roundedOutputUsdValue})`}
424
418
  </Typography>
425
419
  </Tooltip>
@@ -110,7 +110,7 @@ export function TokenList(props: PropTypes) {
110
110
 
111
111
  useEffect(() => {
112
112
  setTokens(list.slice(0, PAGE_SIZE));
113
- }, [list]);
113
+ }, [list.length]);
114
114
 
115
115
  const renderList = () => {
116
116
  if (!tokens.length && !!searchedFor) {