@rango-dev/ui 0.22.1-next.18 → 0.22.1-next.19
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.
|
@@ -17,29 +17,17 @@ export interface Info {
|
|
|
17
17
|
description: string;
|
|
18
18
|
tooltipText: string;
|
|
19
19
|
}
|
|
20
|
-
interface StateConnected {
|
|
21
|
-
state: WalletState.CONNECTED;
|
|
22
|
-
}
|
|
23
|
-
interface StateDisconnected {
|
|
24
|
-
state: WalletState.DISCONNECTED;
|
|
25
|
-
}
|
|
26
|
-
interface StateConnecting {
|
|
27
|
-
state: WalletState.CONNECTING;
|
|
28
|
-
}
|
|
29
|
-
interface StateNotInstalled {
|
|
30
|
-
state: WalletState.NOT_INSTALLED;
|
|
31
|
-
link: InstallObjects | string;
|
|
32
|
-
}
|
|
33
|
-
type State = StateConnected | StateDisconnected | StateConnecting | StateNotInstalled;
|
|
34
20
|
export interface ContentProps {
|
|
35
21
|
image: string;
|
|
36
22
|
title: string;
|
|
37
23
|
description: string;
|
|
38
24
|
descriptionColor?: string;
|
|
39
25
|
}
|
|
40
|
-
interface
|
|
26
|
+
export interface WalletPropTypes {
|
|
27
|
+
state: WalletState;
|
|
41
28
|
title: string;
|
|
42
29
|
image: string;
|
|
30
|
+
link: InstallObjects | string;
|
|
43
31
|
type: WalletType;
|
|
44
32
|
onClick: (type: WalletType) => void;
|
|
45
33
|
selected?: boolean;
|
|
@@ -47,9 +35,7 @@ interface WalletProps {
|
|
|
47
35
|
isLoading?: boolean;
|
|
48
36
|
container?: HTMLElement;
|
|
49
37
|
}
|
|
50
|
-
export type WalletPropTypes = State & WalletProps;
|
|
51
38
|
export type SelectablePropTypes = WalletPropTypes & {
|
|
52
39
|
selected: boolean;
|
|
53
40
|
};
|
|
54
|
-
export {};
|
|
55
41
|
//# sourceMappingURL=Wallet.types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Wallet.types.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Wallet/Wallet.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAE5E,oBAAY,WAAW;IACrB,aAAa,kBAAkB;IAC/B,YAAY,iBAAiB;IAC7B,UAAU,eAAe;IACzB,SAAS,cAAc;CACxB;AAED,MAAM,MAAM,UAAU,GAAG;IACvB,KAAK,EAAE,WAAW,CAAC;IACnB,IAAI,EAAE,cAAc,GAAG,MAAM,CAAC;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,MAAM,WAAW,IAAI;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,
|
|
1
|
+
{"version":3,"file":"Wallet.types.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Wallet/Wallet.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAE5E,oBAAY,WAAW;IACrB,aAAa,kBAAkB;IAC/B,YAAY,iBAAiB;IAC7B,UAAU,eAAe;IACzB,SAAS,cAAc;CACxB;AAED,MAAM,MAAM,UAAU,GAAG;IACvB,KAAK,EAAE,WAAW,CAAC;IACnB,IAAI,EAAE,cAAc,GAAG,MAAM,CAAC;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,MAAM,WAAW,IAAI;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,WAAW,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,cAAc,GAAG,MAAM,CAAC;IAC9B,IAAI,EAAE,UAAU,CAAC;IACjB,OAAO,EAAE,CAAC,IAAI,EAAE,UAAU,KAAK,IAAI,CAAC;IACpC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,WAAW,CAAC;CACzB;AAED,MAAM,MAAM,mBAAmB,GAAG,eAAe,GAAG;IAClD,QAAQ,EAAE,OAAO,CAAC;CACnB,CAAC"}
|
package/package.json
CHANGED
|
@@ -21,26 +21,6 @@ export interface Info {
|
|
|
21
21
|
tooltipText: string;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
interface StateConnected {
|
|
25
|
-
state: WalletState.CONNECTED;
|
|
26
|
-
}
|
|
27
|
-
interface StateDisconnected {
|
|
28
|
-
state: WalletState.DISCONNECTED;
|
|
29
|
-
}
|
|
30
|
-
interface StateConnecting {
|
|
31
|
-
state: WalletState.CONNECTING;
|
|
32
|
-
}
|
|
33
|
-
interface StateNotInstalled {
|
|
34
|
-
state: WalletState.NOT_INSTALLED;
|
|
35
|
-
link: InstallObjects | string;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
type State =
|
|
39
|
-
| StateConnected
|
|
40
|
-
| StateDisconnected
|
|
41
|
-
| StateConnecting
|
|
42
|
-
| StateNotInstalled;
|
|
43
|
-
|
|
44
24
|
export interface ContentProps {
|
|
45
25
|
image: string;
|
|
46
26
|
title: string;
|
|
@@ -48,9 +28,11 @@ export interface ContentProps {
|
|
|
48
28
|
descriptionColor?: string;
|
|
49
29
|
}
|
|
50
30
|
|
|
51
|
-
interface
|
|
31
|
+
export interface WalletPropTypes {
|
|
32
|
+
state: WalletState;
|
|
52
33
|
title: string;
|
|
53
34
|
image: string;
|
|
35
|
+
link: InstallObjects | string;
|
|
54
36
|
type: WalletType;
|
|
55
37
|
onClick: (type: WalletType) => void;
|
|
56
38
|
selected?: boolean;
|
|
@@ -59,8 +41,6 @@ interface WalletProps {
|
|
|
59
41
|
container?: HTMLElement;
|
|
60
42
|
}
|
|
61
43
|
|
|
62
|
-
export type WalletPropTypes = State & WalletProps;
|
|
63
|
-
|
|
64
44
|
export type SelectablePropTypes = WalletPropTypes & {
|
|
65
45
|
selected: boolean;
|
|
66
46
|
};
|