@rango-dev/widget-embedded 0.1.14 → 0.1.16-next.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/BottomLogo.d.ts.map +1 -1
- package/dist/components/RoutesOverview.d.ts.map +1 -1
- package/dist/components/TokenPreview.d.ts.map +1 -1
- package/dist/widget-embedded.cjs.development.js +5 -5
- package/dist/widget-embedded.cjs.development.js.map +1 -1
- package/dist/widget-embedded.cjs.production.min.js +5 -5
- package/dist/widget-embedded.cjs.production.min.js.map +1 -1
- package/dist/widget-embedded.esm.js +2 -2
- package/dist/widget-embedded.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/BottomLogo.tsx +4 -2
- package/src/components/RoutesOverview.tsx +1 -4
- package/src/components/TokenPreview.tsx +8 -3
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { styled } from '@rango-dev/ui/
|
|
2
|
+
import { styled } from '@rango-dev/ui/';
|
|
3
3
|
import { Typography } from '@rango-dev/ui';
|
|
4
4
|
import { useTranslation } from 'react-i18next';
|
|
5
5
|
|
|
@@ -29,7 +29,9 @@ export function BottomLogo() {
|
|
|
29
29
|
|
|
30
30
|
return (
|
|
31
31
|
<Container>
|
|
32
|
-
<Typography variant="caption" color=
|
|
32
|
+
<Typography variant="caption" color="$neutrals600">
|
|
33
|
+
{t('Powered By')}
|
|
34
|
+
</Typography>
|
|
33
35
|
<StyledAnchor href="https://rango.exchange" target="_blank">
|
|
34
36
|
<Logo xmlns="http://www.w3.org/2000/svg" viewBox="0 0 33.68 29">
|
|
35
37
|
<defs></defs>
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { styled } from '@rango-dev/ui';
|
|
2
|
+
import { styled, ChevronRightIcon, GasIcon, Spacer } from '@rango-dev/ui';
|
|
3
3
|
import { BestRouteResponse } from 'rango-sdk';
|
|
4
|
-
import { ChevronRightIcon } from '@rango-dev/ui';
|
|
5
|
-
import { GasIcon } from '@rango-dev/ui';
|
|
6
|
-
import { Spacer } from '@rango-dev/ui';
|
|
7
4
|
|
|
8
5
|
export const Container = styled('div', {
|
|
9
6
|
display: 'flex',
|
|
@@ -1,11 +1,16 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import {
|
|
3
|
+
Button,
|
|
4
|
+
InfoCircleIcon,
|
|
5
|
+
styled,
|
|
6
|
+
Typography,
|
|
7
|
+
Spacer,
|
|
8
|
+
Image,
|
|
9
|
+
} from '@rango-dev/ui';
|
|
3
10
|
import { LoadingStatus } from '../store/meta';
|
|
4
11
|
import { useTranslation } from 'react-i18next';
|
|
5
|
-
import { Spacer } from '@rango-dev/ui';
|
|
6
12
|
import BigNumber from 'bignumber.js';
|
|
7
13
|
import { numberToString } from '../utils/numbers';
|
|
8
|
-
import { Image } from '@rango-dev/ui';
|
|
9
14
|
|
|
10
15
|
const Box = styled('div', {
|
|
11
16
|
display: 'flex',
|