@rango-dev/widget-embedded 0.17.1-next.25 → 0.17.1-next.26
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/ConfirmWalletsModal/ConfirmWallets.styles.d.ts +3 -3
- package/dist/components/Quote/Quote.styles.d.ts +1 -1
- package/dist/components/TokenList/TokenList.d.ts.map +1 -1
- package/dist/components/TokenList/TokenList.helpers.d.ts +2 -2
- package/dist/components/TokenList/TokenList.helpers.d.ts.map +1 -1
- package/dist/components/TokenList/TokenList.types.d.ts +3 -9
- package/dist/components/TokenList/TokenList.types.d.ts.map +1 -1
- package/dist/components/TokenList/index.d.ts +0 -1
- package/dist/components/TokenList/index.d.ts.map +1 -1
- package/dist/containers/Wallets/Wallets.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +3 -3
- package/dist/pages/Home.d.ts.map +1 -1
- package/dist/pages/SelectSwapItemsPage.d.ts.map +1 -1
- package/dist/store/quote.d.ts +4 -5
- package/dist/store/quote.d.ts.map +1 -1
- package/dist/store/wallets.d.ts +5 -2
- package/dist/store/wallets.d.ts.map +1 -1
- package/dist/types/wallets.d.ts +15 -1
- package/dist/types/wallets.d.ts.map +1 -1
- package/dist/utils/wallets.d.ts +6 -8
- package/dist/utils/wallets.d.ts.map +1 -1
- package/package.json +3 -3
- package/src/components/TokenList/TokenList.helpers.ts +2 -2
- package/src/components/TokenList/TokenList.tsx +10 -12
- package/src/components/TokenList/TokenList.types.ts +3 -10
- package/src/components/TokenList/index.ts +0 -1
- package/src/containers/Wallets/Wallets.tsx +2 -3
- package/src/pages/Home.tsx +9 -33
- package/src/pages/SelectSwapItemsPage.tsx +3 -6
- package/src/store/quote.ts +2 -3
- package/src/store/wallets.ts +56 -29
- package/src/types/wallets.ts +18 -1
- package/src/utils/wallets.ts +80 -134
|
@@ -1313,7 +1313,7 @@ export declare const CustomDestinationButton: import("@stitches/react/types/styl
|
|
|
1313
1313
|
results?: number | undefined;
|
|
1314
1314
|
security?: string | undefined;
|
|
1315
1315
|
unselectable?: "on" | "off" | undefined;
|
|
1316
|
-
inputMode?: "search" | "text" | "none" | "tel" | "url" | "email" | "numeric" |
|
|
1316
|
+
inputMode?: "search" | "decimal" | "text" | "none" | "tel" | "url" | "email" | "numeric" | undefined;
|
|
1317
1317
|
is?: string | undefined;
|
|
1318
1318
|
"aria-activedescendant"?: string | undefined;
|
|
1319
1319
|
"aria-atomic"?: boolean | "true" | "false" | undefined;
|
|
@@ -1327,7 +1327,7 @@ export declare const CustomDestinationButton: import("@stitches/react/types/styl
|
|
|
1327
1327
|
"aria-colindextext"?: string | undefined;
|
|
1328
1328
|
"aria-colspan"?: number | undefined;
|
|
1329
1329
|
"aria-controls"?: string | undefined;
|
|
1330
|
-
"aria-current"?: boolean | "time" | "page" | "true" | "
|
|
1330
|
+
"aria-current"?: boolean | "time" | "page" | "true" | "step" | "false" | "location" | "date" | undefined;
|
|
1331
1331
|
"aria-describedby"?: string | undefined;
|
|
1332
1332
|
"aria-description"?: string | undefined;
|
|
1333
1333
|
"aria-details"?: string | undefined;
|
|
@@ -1536,7 +1536,7 @@ export declare const CustomDestinationButton: import("@stitches/react/types/styl
|
|
|
1536
1536
|
} & {
|
|
1537
1537
|
size?: "small" | "medium" | "large" | "xsmall" | "xxsmall" | undefined;
|
|
1538
1538
|
variant?: "default" | "contained" | "outlined" | "ghost" | undefined;
|
|
1539
|
-
type?: "
|
|
1539
|
+
type?: "success" | "warning" | "error" | "primary" | "secondary" | undefined;
|
|
1540
1540
|
loading?: boolean | undefined;
|
|
1541
1541
|
disabled?: boolean | undefined;
|
|
1542
1542
|
prefix?: import("react").ReactNode;
|
|
@@ -482,7 +482,7 @@ export declare const Chains: import("@stitches/react/types/styled-component").St
|
|
|
482
482
|
transitions: {};
|
|
483
483
|
}, import("@stitches/react/types/config").DefaultThemeMap, {}>>;
|
|
484
484
|
export declare const ChainImageContainer: import("@stitches/react/types/styled-component").StyledComponent<"div", {
|
|
485
|
-
state?: "
|
|
485
|
+
state?: "warning" | "error" | undefined;
|
|
486
486
|
}, {
|
|
487
487
|
sm: string;
|
|
488
488
|
md: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TokenList.d.ts","sourceRoot":"","sources":["../../../src/components/TokenList/TokenList.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"TokenList.d.ts","sourceRoot":"","sources":["../../../src/components/TokenList/TokenList.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAmB,MAAM,mBAAmB,CAAC;AAiBpE,OAAO,KAA0C,MAAM,OAAO,CAAC;AAgE/D,wBAAgB,SAAS,CAAC,KAAK,EAAE,SAAS,qBA6LzC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export declare const filterTokens: (list:
|
|
1
|
+
import type { Token } from 'rango-sdk';
|
|
2
|
+
export declare const filterTokens: (list: Token[], searchedFor: string) => Token[];
|
|
3
3
|
//# sourceMappingURL=TokenList.helpers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TokenList.helpers.d.ts","sourceRoot":"","sources":["../../../src/components/TokenList/TokenList.helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"TokenList.helpers.d.ts","sourceRoot":"","sources":["../../../src/components/TokenList/TokenList.helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,WAAW,CAAC;AAIvC,eAAO,MAAM,YAAY,SAAU,KAAK,EAAE,eAAe,MAAM,YAM5D,CAAC"}
|
|
@@ -1,14 +1,8 @@
|
|
|
1
1
|
import type { Token } from 'rango-sdk';
|
|
2
|
-
export interface TokenWithBalance extends Token {
|
|
3
|
-
balance?: {
|
|
4
|
-
amount: string;
|
|
5
|
-
usdValue: string;
|
|
6
|
-
};
|
|
7
|
-
}
|
|
8
2
|
export interface PropTypes {
|
|
9
|
-
list:
|
|
3
|
+
list: Token[];
|
|
10
4
|
searchedFor?: string;
|
|
11
|
-
onChange: (token:
|
|
5
|
+
onChange: (token: Token) => void;
|
|
12
6
|
selectedBlockchain?: string;
|
|
13
7
|
}
|
|
14
8
|
export interface LoadingTokenListProps {
|
|
@@ -18,7 +12,7 @@ export interface RenderDescProps {
|
|
|
18
12
|
name?: string | null;
|
|
19
13
|
address: string;
|
|
20
14
|
url: string;
|
|
21
|
-
token:
|
|
15
|
+
token: Token;
|
|
22
16
|
customCssForTag: TagCSS;
|
|
23
17
|
customCssForTagTitle: TitleCSS;
|
|
24
18
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TokenList.types.d.ts","sourceRoot":"","sources":["../../../src/components/TokenList/TokenList.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,WAAW,CAAC;AAEvC,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"TokenList.types.d.ts","sourceRoot":"","sources":["../../../src/components/TokenList/TokenList.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,WAAW,CAAC;AAEvC,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,KAAK,EAAE,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IACjC,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED,MAAM,WAAW,qBAAqB;IACpC,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,eAAe;IAC9B,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,KAAK,CAAC;IACb,eAAe,EAAE,MAAM,CAAC;IACxB,oBAAoB,EAAE,QAAQ,CAAC;CAChC;AAED,KAAK,MAAM,GAAG;IACZ,CAAC,CAAC,EAAE,MAAM,GACN,MAAM,GACN;QACE,OAAO,EAAE,MAAM,CAAC;KACjB,CAAC;IACN,OAAO,EAAE,MAAM,CAAC;IAChB,eAAe,EAAE,MAAM,CAAC;CACzB,CAAC;AACF,KAAK,QAAQ,GAAG;IACd,CAAC,CAAC,EAAE,MAAM,GACN,MAAM,GACN;QACE,OAAO,EAAE,MAAM,CAAC;KACjB,CAAC;IACN,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;CACf,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/TokenList/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/TokenList/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Wallets.d.ts","sourceRoot":"","sources":["../../../src/containers/Wallets/Wallets.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,SAAS,EACT,sBAAsB,EACvB,MAAM,iBAAiB,CAAC;AAIzB,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAI/C,OAAO,KAA2C,MAAM,OAAO,CAAC;AAWhE,eAAO,MAAM,aAAa,uCAIxB,CAAC;
|
|
1
|
+
{"version":3,"file":"Wallets.d.ts","sourceRoot":"","sources":["../../../src/containers/Wallets/Wallets.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,SAAS,EACT,sBAAsB,EACvB,MAAM,iBAAiB,CAAC;AAIzB,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAI/C,OAAO,KAA2C,MAAM,OAAO,CAAC;AAWhE,eAAO,MAAM,aAAa,uCAIxB,CAAC;AAwFH,wBAAgB,aAAa,CAAC,KAAK,EAAE,iBAAiB,CAAC,SAAS,CAAC,qBAOhE"}
|