@rango-dev/widget-embedded 0.45.1-next.0 → 0.45.1-next.10
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/CustomDestination/CustomDestination.styles.d.ts +1 -0
- package/dist/components/CustomDestination/CustomDestination.styles.d.ts.map +1 -1
- package/dist/components/NamespaceItem/NamespaceItem.d.ts +4 -0
- package/dist/components/NamespaceItem/NamespaceItem.d.ts.map +1 -0
- package/dist/components/{WalletStatefulConnect/Namespaces.helpers.d.ts → NamespaceItem/NamespaceItem.helpers.d.ts} +1 -1
- package/dist/components/NamespaceItem/NamespaceItem.helpers.d.ts.map +1 -0
- package/dist/components/NamespaceItem/NamespaceItem.styles.d.ts +1450 -0
- package/dist/components/NamespaceItem/NamespaceItem.styles.d.ts.map +1 -0
- package/dist/components/NamespaceItem/NamespaceItem.types.d.ts +13 -0
- package/dist/components/NamespaceItem/NamespaceItem.types.d.ts.map +1 -0
- package/dist/components/{WalletStatefulConnect → NamespaceItem}/NamespaceUnsupportedItem.d.ts +1 -1
- package/dist/components/NamespaceItem/NamespaceUnsupportedItem.d.ts.map +1 -0
- package/dist/components/NamespaceItem/SupportedChainsList.d.ts.map +1 -0
- package/dist/components/NamespaceItem/SupportedChainsList.styles.d.ts.map +1 -0
- package/dist/components/NamespaceItem/SupportedChainsList.types.d.ts.map +1 -0
- package/dist/components/NamespaceItem/index.d.ts +2 -0
- package/dist/components/NamespaceItem/index.d.ts.map +1 -0
- package/dist/components/Slippage/Slippage.d.ts.map +1 -1
- package/dist/components/Slippage/Slippage.styles.d.ts +0 -162
- package/dist/components/Slippage/Slippage.styles.d.ts.map +1 -1
- package/dist/components/StatefulConnectModal/StatefulConnectModal.d.ts.map +1 -1
- package/dist/components/SwapDetails/RequestIdRow.d.ts +4 -0
- package/dist/components/SwapDetails/RequestIdRow.d.ts.map +1 -0
- package/dist/components/SwapDetails/SwapDateRow.d.ts +4 -0
- package/dist/components/SwapDetails/SwapDateRow.d.ts.map +1 -0
- package/dist/components/SwapDetails/SwapDetails.d.ts.map +1 -1
- package/dist/components/SwapDetails/SwapDetails.types.d.ts +7 -0
- package/dist/components/SwapDetails/SwapDetails.types.d.ts.map +1 -1
- package/dist/components/SwapDetailsModal/SwapDetailsModal.ConnectWallet.d.ts +4 -0
- package/dist/components/SwapDetailsModal/SwapDetailsModal.ConnectWallet.d.ts.map +1 -0
- package/dist/components/SwapDetailsModal/SwapDetailsModal.InstallWallet.d.ts +4 -0
- package/dist/components/SwapDetailsModal/SwapDetailsModal.InstallWallet.d.ts.map +1 -0
- package/dist/components/SwapDetailsModal/SwapDetailsModal.NetworkState.d.ts +4 -0
- package/dist/components/SwapDetailsModal/SwapDetailsModal.NetworkState.d.ts.map +1 -0
- package/dist/components/SwapDetailsModal/SwapDetailsModal.WalletState.d.ts +1 -1
- package/dist/components/SwapDetailsModal/SwapDetailsModal.WalletState.d.ts.map +1 -1
- package/dist/components/SwapDetailsModal/SwapDetailsModal.d.ts.map +1 -1
- package/dist/components/SwapDetailsModal/SwapDetailsModal.styles.d.ts +320 -0
- package/dist/components/SwapDetailsModal/SwapDetailsModal.styles.d.ts.map +1 -1
- package/dist/components/SwapDetailsModal/SwapDetailsModal.types.d.ts +29 -10
- package/dist/components/SwapDetailsModal/SwapDetailsModal.types.d.ts.map +1 -1
- package/dist/components/WalletStatefulConnect/Detached.d.ts.map +1 -1
- package/dist/components/WalletStatefulConnect/Detached.styles.d.ts +161 -0
- package/dist/components/WalletStatefulConnect/Detached.styles.d.ts.map +1 -0
- package/dist/components/WalletStatefulConnect/Detached.types.d.ts +1 -0
- package/dist/components/WalletStatefulConnect/Detached.types.d.ts.map +1 -1
- package/dist/components/WalletStatefulConnect/NamespaceDetachedItem.d.ts.map +1 -1
- package/dist/components/WalletStatefulConnect/NamespaceListItem.d.ts.map +1 -1
- package/dist/components/WalletStatefulConnect/Namespaces.styles.d.ts +281 -1730
- package/dist/components/WalletStatefulConnect/Namespaces.styles.d.ts.map +1 -1
- package/dist/components/WalletStatefulConnect/Namespaces.types.d.ts +0 -3
- package/dist/components/WalletStatefulConnect/Namespaces.types.d.ts.map +1 -1
- package/dist/hooks/useConfirmSwap/useConfirmSwap.d.ts.map +1 -1
- package/dist/hooks/useConfirmSwap/useConfirmSwap.helpers.d.ts +1 -1
- package/dist/hooks/useConfirmSwap/useConfirmSwap.helpers.d.ts.map +1 -1
- package/dist/hooks/useStatefulConnect/useStatefulConnect.d.ts +1 -2
- package/dist/hooks/useStatefulConnect/useStatefulConnect.d.ts.map +1 -1
- package/dist/hooks/useSwapInput.d.ts.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +4 -4
- package/dist/store/slices/wallets.d.ts +2 -2
- package/dist/store/slices/wallets.d.ts.map +1 -1
- package/dist/types/quote.d.ts +1 -1
- package/dist/types/quote.d.ts.map +1 -1
- package/dist/types/wallets.d.ts +1 -0
- package/dist/types/wallets.d.ts.map +1 -1
- package/dist/utils/swap.d.ts +1 -0
- package/dist/utils/swap.d.ts.map +1 -1
- package/dist/widget-embedded.build.json +1 -1
- package/package.json +7 -7
- package/src/components/{WalletStatefulConnect/Namespaces.helpers.ts → NamespaceItem/NamespaceItem.helpers.ts} +1 -1
- package/src/components/NamespaceItem/NamespaceItem.styles.ts +93 -0
- package/src/components/NamespaceItem/NamespaceItem.tsx +117 -0
- package/src/components/NamespaceItem/NamespaceItem.types.ts +14 -0
- package/src/components/{WalletStatefulConnect → NamespaceItem}/NamespaceUnsupportedItem.tsx +3 -3
- package/src/components/NamespaceItem/index.ts +1 -0
- package/src/components/Quote/Quote.tsx +4 -4
- package/src/components/Slippage/Slippage.styles.ts +0 -23
- package/src/components/Slippage/Slippage.tsx +24 -26
- package/src/components/StatefulConnectModal/StatefulConnectModal.tsx +4 -0
- package/src/components/SwapDetails/RequestIdRow.tsx +73 -0
- package/src/components/SwapDetails/SwapDateRow.tsx +21 -0
- package/src/components/SwapDetails/SwapDetails.tsx +39 -83
- package/src/components/SwapDetails/SwapDetails.types.ts +7 -0
- package/src/components/SwapDetailsModal/SwapDetailsModal.ConnectWallet.tsx +177 -0
- package/src/components/SwapDetailsModal/SwapDetailsModal.InstallWallet.tsx +52 -0
- package/src/components/SwapDetailsModal/SwapDetailsModal.NetworkState.tsx +17 -0
- package/src/components/SwapDetailsModal/SwapDetailsModal.WalletState.tsx +22 -62
- package/src/components/SwapDetailsModal/SwapDetailsModal.styles.ts +20 -1
- package/src/components/SwapDetailsModal/SwapDetailsModal.tsx +24 -35
- package/src/components/SwapDetailsModal/SwapDetailsModal.types.ts +31 -10
- package/src/components/WalletStatefulConnect/Detached.styles.ts +6 -0
- package/src/components/WalletStatefulConnect/Detached.tsx +21 -4
- package/src/components/WalletStatefulConnect/Detached.types.ts +1 -0
- package/src/components/WalletStatefulConnect/NamespaceDetachedItem.tsx +20 -106
- package/src/components/WalletStatefulConnect/NamespaceListItem.tsx +9 -34
- package/src/components/WalletStatefulConnect/Namespaces.styles.ts +2 -94
- package/src/components/WalletStatefulConnect/Namespaces.tsx +1 -1
- package/src/components/WalletStatefulConnect/Namespaces.types.tsx +0 -4
- package/src/containers/Wallets/useUpdates.ts +1 -1
- package/src/hooks/useConfirmSwap/useConfirmSwap.helpers.ts +10 -23
- package/src/hooks/useConfirmSwap/useConfirmSwap.ts +19 -4
- package/src/hooks/useStatefulConnect/useStatefulConnect.ts +23 -7
- package/src/hooks/useSwapInput.ts +13 -4
- package/src/hooks/useWalletList.ts +1 -1
- package/src/store/slices/wallets.ts +11 -5
- package/src/types/quote.ts +1 -1
- package/src/types/wallets.ts +1 -0
- package/src/utils/swap.ts +10 -5
- package/dist/components/SwapDetailsModal/SwapDetailsModal.helpers.d.ts +0 -4
- package/dist/components/SwapDetailsModal/SwapDetailsModal.helpers.d.ts.map +0 -1
- package/dist/components/WalletStatefulConnect/NamespaceUnsupportedItem.d.ts.map +0 -1
- package/dist/components/WalletStatefulConnect/Namespaces.helpers.d.ts.map +0 -1
- package/dist/components/WalletStatefulConnect/SupportedChainsList.d.ts.map +0 -1
- package/dist/components/WalletStatefulConnect/SupportedChainsList.styles.d.ts.map +0 -1
- package/dist/components/WalletStatefulConnect/SupportedChainsList.types.d.ts.map +0 -1
- package/src/components/SwapDetailsModal/SwapDetailsModal.helpers.tsx +0 -26
- /package/dist/components/{WalletStatefulConnect → NamespaceItem}/SupportedChainsList.d.ts +0 -0
- /package/dist/components/{WalletStatefulConnect → NamespaceItem}/SupportedChainsList.styles.d.ts +0 -0
- /package/dist/components/{WalletStatefulConnect → NamespaceItem}/SupportedChainsList.types.d.ts +0 -0
- /package/src/components/{WalletStatefulConnect → NamespaceItem}/SupportedChainsList.styles.ts +0 -0
- /package/src/components/{WalletStatefulConnect → NamespaceItem}/SupportedChainsList.tsx +0 -0
- /package/src/components/{WalletStatefulConnect → NamespaceItem}/SupportedChainsList.types.ts +0 -0
|
@@ -1,13 +1,15 @@
|
|
|
1
|
+
import type { TargetNamespace } from '@rango-dev/queue-manager-rango-preset';
|
|
2
|
+
import type { LegacyWalletType } from '@rango-dev/wallets-core/legacy';
|
|
1
3
|
import type { PendingSwap, PendingSwapNetworkStatus } from 'rango-types';
|
|
2
4
|
export type ModalState = Exclude<PendingSwapNetworkStatus, PendingSwapNetworkStatus.WaitingForQueue> | 'delete' | 'cancel' | null;
|
|
3
5
|
export interface ModalPropTypes {
|
|
6
|
+
isOpen: boolean;
|
|
4
7
|
onClose: () => void;
|
|
5
8
|
onCancel: () => void;
|
|
6
9
|
onDelete: () => void;
|
|
7
10
|
state: ModalState;
|
|
8
11
|
swap: PendingSwap;
|
|
9
12
|
message: string;
|
|
10
|
-
walletButtonDisabled: boolean;
|
|
11
13
|
}
|
|
12
14
|
export interface CompleteModalPropTypes {
|
|
13
15
|
open: boolean;
|
|
@@ -29,16 +31,33 @@ export interface CompleteModalPropTypes {
|
|
|
29
31
|
description?: React.ReactNode;
|
|
30
32
|
diagnosisUrl?: string | null;
|
|
31
33
|
}
|
|
32
|
-
export interface
|
|
33
|
-
type: 'loading' | 'warning' | 'success';
|
|
34
|
-
title: string;
|
|
35
|
-
}
|
|
36
|
-
export interface WalletStateContentProps extends ModalNetworkValueTypes {
|
|
34
|
+
export interface WalletStateContentProps {
|
|
37
35
|
swap: PendingSwap;
|
|
38
36
|
message: string;
|
|
39
|
-
|
|
40
|
-
|
|
37
|
+
onClose: () => void;
|
|
38
|
+
}
|
|
39
|
+
export interface NetworkStateContentProps {
|
|
40
|
+
message: string;
|
|
41
|
+
status: 'networkChanged' | 'waitingForNetworkChange';
|
|
42
|
+
}
|
|
43
|
+
export interface InstallWalletContentProps {
|
|
44
|
+
walletType: LegacyWalletType;
|
|
45
|
+
}
|
|
46
|
+
export interface ConnectWalletContentProps {
|
|
47
|
+
wallet: {
|
|
48
|
+
walletType: LegacyWalletType;
|
|
49
|
+
address: string;
|
|
50
|
+
derivationPath?: string;
|
|
51
|
+
};
|
|
52
|
+
namespace: TargetNamespace | null;
|
|
53
|
+
onClose: () => void;
|
|
54
|
+
}
|
|
55
|
+
export interface CancelContentProps {
|
|
56
|
+
onCancel: () => void;
|
|
57
|
+
onClose: () => void;
|
|
58
|
+
}
|
|
59
|
+
export interface DeleteContentProps {
|
|
60
|
+
onDelete: () => void;
|
|
61
|
+
onClose: () => void;
|
|
41
62
|
}
|
|
42
|
-
export type CancelContentProps = Pick<ModalPropTypes, 'onClose' | 'onCancel'>;
|
|
43
|
-
export type DeleteContentProps = Pick<ModalPropTypes, 'onClose' | 'onDelete'>;
|
|
44
63
|
//# sourceMappingURL=SwapDetailsModal.types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SwapDetailsModal.types.d.ts","sourceRoot":"","sources":["../../../src/components/SwapDetailsModal/SwapDetailsModal.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,wBAAwB,EAAE,MAAM,aAAa,CAAC;AAEzE,MAAM,MAAM,UAAU,GAClB,OAAO,CAAC,wBAAwB,EAAE,wBAAwB,CAAC,eAAe,CAAC,GAC3E,QAAQ,GACR,QAAQ,GACR,IAAI,CAAC;AACT,MAAM,WAAW,cAAc;IAC7B,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,KAAK,EAAE,UAAU,CAAC;IAClB,IAAI,EAAE,WAAW,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"SwapDetailsModal.types.d.ts","sourceRoot":"","sources":["../../../src/components/SwapDetailsModal/SwapDetailsModal.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AAC7E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AACvE,OAAO,KAAK,EAAE,WAAW,EAAE,wBAAwB,EAAE,MAAM,aAAa,CAAC;AAEzE,MAAM,MAAM,UAAU,GAClB,OAAO,CAAC,wBAAwB,EAAE,wBAAwB,CAAC,eAAe,CAAC,GAC3E,QAAQ,GACR,QAAQ,GACR,IAAI,CAAC;AACT,MAAM,WAAW,cAAc;IAC7B,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,KAAK,EAAE,UAAU,CAAC;IAClB,IAAI,EAAE,WAAW,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,sBAAsB;IACrC,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,MAAM,EAAE,SAAS,GAAG,QAAQ,CAAC;IAC7B,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,EAAE,MAAM,CAAC;IACrB,gBAAgB,EAAE,MAAM,CAAC;IACzB,KAAK,EAAE;QACL,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,KAAK,CAAC,EAAE,MAAM,CAAC;KAChB,CAAC;IACF,KAAK,EAAE;QACL,WAAW,EAAE,MAAM,CAAC;QACpB,KAAK,CAAC,EAAE,MAAM,CAAC;KAChB,CAAC;IACF,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC9B;AAED,MAAM,WAAW,uBAAuB;IACtC,IAAI,EAAE,WAAW,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,MAAM,WAAW,wBAAwB;IACvC,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,gBAAgB,GAAG,yBAAyB,CAAC;CACtD;AAED,MAAM,WAAW,yBAAyB;IACxC,UAAU,EAAE,gBAAgB,CAAC;CAC9B;AAED,MAAM,WAAW,yBAAyB;IACxC,MAAM,EAAE;QACN,UAAU,EAAE,gBAAgB,CAAC;QAC7B,OAAO,EAAE,MAAM,CAAC;QAChB,cAAc,CAAC,EAAE,MAAM,CAAC;KACzB,CAAC;IACF,SAAS,EAAE,eAAe,GAAG,IAAI,CAAC;IAClC,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,MAAM,WAAW,kBAAkB;IACjC,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,MAAM,WAAW,kBAAkB;IACjC,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Detached.d.ts","sourceRoot":"","sources":["../../../src/components/WalletStatefulConnect/Detached.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"Detached.d.ts","sourceRoot":"","sources":["../../../src/components/WalletStatefulConnect/Detached.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAKlD,OAAO,KAAK,MAAM,OAAO,CAAC;AAQ1B,wBAAgB,QAAQ,CAAC,KAAK,EAAE,SAAS,qBAwDxC"}
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
export declare const NamespacesHeader: import("@stitches/react/types/styled-component").StyledComponent<"div", {}, {
|
|
2
|
+
xs: string;
|
|
3
|
+
sm: string;
|
|
4
|
+
md: string;
|
|
5
|
+
lg: string;
|
|
6
|
+
}, import("@stitches/react/types/css-util").CSS<{
|
|
7
|
+
xs: string;
|
|
8
|
+
sm: string;
|
|
9
|
+
md: string;
|
|
10
|
+
lg: string;
|
|
11
|
+
}, {
|
|
12
|
+
colors: {
|
|
13
|
+
primary: string;
|
|
14
|
+
primary500: string;
|
|
15
|
+
primary550: string;
|
|
16
|
+
secondary: string;
|
|
17
|
+
secondary100: string;
|
|
18
|
+
secondary150: string;
|
|
19
|
+
secondary200: string;
|
|
20
|
+
secondary250: string;
|
|
21
|
+
secondary500: string;
|
|
22
|
+
secondary550: string;
|
|
23
|
+
neutral: string;
|
|
24
|
+
neutral100: string;
|
|
25
|
+
neutral200: string;
|
|
26
|
+
neutral300: string;
|
|
27
|
+
neutral400: string;
|
|
28
|
+
neutral500: string;
|
|
29
|
+
neutral600: string;
|
|
30
|
+
neutral700: string;
|
|
31
|
+
neutral800: string;
|
|
32
|
+
neutral900: string;
|
|
33
|
+
error100: string;
|
|
34
|
+
error300: string;
|
|
35
|
+
error500: string;
|
|
36
|
+
error600: string;
|
|
37
|
+
error700: string;
|
|
38
|
+
warning100: string;
|
|
39
|
+
warning300: string;
|
|
40
|
+
warning500: string;
|
|
41
|
+
warning600: string;
|
|
42
|
+
warning700: string;
|
|
43
|
+
info: string;
|
|
44
|
+
info100: string;
|
|
45
|
+
info300: string;
|
|
46
|
+
info500: string;
|
|
47
|
+
info600: string;
|
|
48
|
+
info700: string;
|
|
49
|
+
success100: string;
|
|
50
|
+
success300: string;
|
|
51
|
+
success500: string;
|
|
52
|
+
success600: string;
|
|
53
|
+
success700: string;
|
|
54
|
+
background: string;
|
|
55
|
+
foreground: string;
|
|
56
|
+
};
|
|
57
|
+
space: {
|
|
58
|
+
0: string;
|
|
59
|
+
5: string;
|
|
60
|
+
10: string;
|
|
61
|
+
15: string;
|
|
62
|
+
20: string;
|
|
63
|
+
25: string;
|
|
64
|
+
30: string;
|
|
65
|
+
40: string;
|
|
66
|
+
46: string;
|
|
67
|
+
50: string;
|
|
68
|
+
60: string;
|
|
69
|
+
70: string;
|
|
70
|
+
80: string;
|
|
71
|
+
90: string;
|
|
72
|
+
100: string;
|
|
73
|
+
2: string;
|
|
74
|
+
4: string;
|
|
75
|
+
6: string;
|
|
76
|
+
8: string;
|
|
77
|
+
12: string;
|
|
78
|
+
16: string;
|
|
79
|
+
24: string;
|
|
80
|
+
28: string;
|
|
81
|
+
32: string;
|
|
82
|
+
36: string;
|
|
83
|
+
};
|
|
84
|
+
radii: {
|
|
85
|
+
xs: string;
|
|
86
|
+
sm: string;
|
|
87
|
+
xm: string;
|
|
88
|
+
md: string;
|
|
89
|
+
xl: string;
|
|
90
|
+
lg: string;
|
|
91
|
+
primary: string;
|
|
92
|
+
secondary: string;
|
|
93
|
+
};
|
|
94
|
+
fontSizes: {
|
|
95
|
+
10: string;
|
|
96
|
+
12: string;
|
|
97
|
+
14: string;
|
|
98
|
+
16: string;
|
|
99
|
+
18: string;
|
|
100
|
+
20: string;
|
|
101
|
+
22: string;
|
|
102
|
+
24: string;
|
|
103
|
+
28: string;
|
|
104
|
+
32: string;
|
|
105
|
+
36: string;
|
|
106
|
+
40: string;
|
|
107
|
+
48: string;
|
|
108
|
+
};
|
|
109
|
+
fonts: {
|
|
110
|
+
primary: string;
|
|
111
|
+
widget: string;
|
|
112
|
+
};
|
|
113
|
+
fontWeights: {
|
|
114
|
+
regular: number;
|
|
115
|
+
medium: number;
|
|
116
|
+
semiBold: number;
|
|
117
|
+
bold: number;
|
|
118
|
+
};
|
|
119
|
+
lineHeights: {
|
|
120
|
+
12: string;
|
|
121
|
+
16: string;
|
|
122
|
+
20: string;
|
|
123
|
+
24: string;
|
|
124
|
+
26: string;
|
|
125
|
+
28: string;
|
|
126
|
+
30: string;
|
|
127
|
+
36: string;
|
|
128
|
+
40: string;
|
|
129
|
+
44: string;
|
|
130
|
+
52: string;
|
|
131
|
+
64: string;
|
|
132
|
+
};
|
|
133
|
+
letterSpacings: {};
|
|
134
|
+
sizes: {
|
|
135
|
+
4: string;
|
|
136
|
+
6: string;
|
|
137
|
+
8: string;
|
|
138
|
+
10: string;
|
|
139
|
+
12: string;
|
|
140
|
+
16: string;
|
|
141
|
+
18: string;
|
|
142
|
+
20: string;
|
|
143
|
+
24: string;
|
|
144
|
+
26: string;
|
|
145
|
+
28: string;
|
|
146
|
+
30: string;
|
|
147
|
+
32: string;
|
|
148
|
+
36: string;
|
|
149
|
+
40: string;
|
|
150
|
+
45: string;
|
|
151
|
+
48: string;
|
|
152
|
+
};
|
|
153
|
+
borderWidths: {};
|
|
154
|
+
borderStyles: {};
|
|
155
|
+
shadows: {
|
|
156
|
+
mainContainer: string;
|
|
157
|
+
};
|
|
158
|
+
zIndices: {};
|
|
159
|
+
transitions: {};
|
|
160
|
+
}, import("@stitches/react/types/config").DefaultThemeMap, {}>>;
|
|
161
|
+
//# sourceMappingURL=Detached.styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Detached.styles.d.ts","sourceRoot":"","sources":["../../../src/components/WalletStatefulConnect/Detached.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAG3B,CAAC"}
|
|
@@ -3,6 +3,7 @@ import type { Namespace } from '@rango-dev/wallets-core/namespaces/common';
|
|
|
3
3
|
export interface PropTypes {
|
|
4
4
|
value: NeedsNamespacesState;
|
|
5
5
|
onConfirm: () => void;
|
|
6
|
+
onDisconnectWallet: () => void;
|
|
6
7
|
selectedNamespaces: Namespace[] | null;
|
|
7
8
|
}
|
|
8
9
|
//# sourceMappingURL=Detached.types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Detached.types.d.ts","sourceRoot":"","sources":["../../../src/components/WalletStatefulConnect/Detached.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,2CAA2C,CAAC;AAE3E,MAAM,WAAW,SAAS;IACxB,KAAK,EAAE,oBAAoB,CAAC;IAC5B,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,kBAAkB,EAAE,SAAS,EAAE,GAAG,IAAI,CAAC;CACxC"}
|
|
1
|
+
{"version":3,"file":"Detached.types.d.ts","sourceRoot":"","sources":["../../../src/components/WalletStatefulConnect/Detached.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,2CAA2C,CAAC;AAE3E,MAAM,WAAW,SAAS;IACxB,KAAK,EAAE,oBAAoB,CAAC;IAC5B,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,kBAAkB,EAAE,MAAM,IAAI,CAAC;IAC/B,kBAAkB,EAAE,SAAS,EAAE,GAAG,IAAI,CAAC;CACxC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NamespaceDetachedItem.d.ts","sourceRoot":"","sources":["../../../src/components/WalletStatefulConnect/NamespaceDetachedItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"NamespaceDetachedItem.d.ts","sourceRoot":"","sources":["../../../src/components/WalletStatefulConnect/NamespaceDetachedItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,oBAAoB,CAAC;AAOzE,OAAO,KAA4C,MAAM,OAAO,CAAC;AAKjE,eAAO,MAAM,qBAAqB,UACzB,8BAA8B,sBA0FtC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NamespaceListItem.d.ts","sourceRoot":"","sources":["../../../src/components/WalletStatefulConnect/NamespaceListItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAGjE,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"NamespaceListItem.d.ts","sourceRoot":"","sources":["../../../src/components/WalletStatefulConnect/NamespaceListItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAGjE,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,sBAAsB,qBAgB9D"}
|