@rhinestone/deposit-modal 0.1.66 → 0.1.67
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/{DepositModalReown-RXIVPSEE.mjs → DepositModalReown-EYIV6APK.mjs} +3 -3
- package/dist/{DepositModalReown-WFXQKZDH.cjs → DepositModalReown-UPYZN2XA.cjs} +4 -4
- package/dist/{WithdrawModalReown-MME7VSKX.mjs → WithdrawModalReown-6VYKKKJN.mjs} +3 -3
- package/dist/{WithdrawModalReown-PXS44GZO.cjs → WithdrawModalReown-WHPQDJJJ.cjs} +4 -4
- package/dist/{chunk-CULXRW6U.mjs → chunk-5FDIQNJJ.mjs} +22 -19
- package/dist/{chunk-JZWCK7C3.cjs → chunk-FLVSQDP4.cjs} +98 -91
- package/dist/{chunk-FWGLRTWF.mjs → chunk-IUW3SJQT.mjs} +61 -54
- package/dist/{chunk-75LRORPO.cjs → chunk-LTLFJPHO.cjs} +106 -103
- package/dist/{chunk-R6U6BHCV.cjs → chunk-MUWVDVY4.cjs} +13 -1
- package/dist/{chunk-JDO7QPPH.mjs → chunk-NFE5ZLD3.mjs} +786 -392
- package/dist/{chunk-CIXHTOO3.mjs → chunk-SDZKKUCJ.mjs} +13 -1
- package/dist/{chunk-5GN4QU67.cjs → chunk-UDKZWFCM.cjs} +842 -448
- package/dist/constants.cjs +2 -2
- package/dist/constants.mjs +1 -1
- package/dist/deposit.cjs +4 -4
- package/dist/deposit.d.cts +2 -2
- package/dist/deposit.d.ts +2 -2
- package/dist/deposit.mjs +3 -3
- package/dist/index.cjs +5 -5
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +4 -4
- package/dist/reown.cjs +5 -5
- package/dist/reown.d.cts +1 -1
- package/dist/reown.d.ts +1 -1
- package/dist/reown.mjs +4 -4
- package/dist/styles.css +264 -33
- package/dist/{types-ymKENnUK.d.ts → types-DGQzvl6v.d.ts} +11 -1
- package/dist/{types-DjaZ9sa8.d.cts → types-DJ1fzNC7.d.cts} +11 -1
- package/dist/withdraw.cjs +4 -4
- package/dist/withdraw.d.cts +2 -2
- package/dist/withdraw.d.ts +2 -2
- package/dist/withdraw.mjs +3 -3
- package/package.json +5 -5
package/dist/constants.cjs
CHANGED
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
|
|
30
|
-
var
|
|
30
|
+
var _chunkMUWVDVY4cjs = require('./chunk-MUWVDVY4.cjs');
|
|
31
31
|
|
|
32
32
|
|
|
33
33
|
|
|
@@ -57,4 +57,4 @@ var _chunkR6U6BHCVcjs = require('./chunk-R6U6BHCV.cjs');
|
|
|
57
57
|
|
|
58
58
|
|
|
59
59
|
|
|
60
|
-
exports.CHAIN_BY_ID =
|
|
60
|
+
exports.CHAIN_BY_ID = _chunkMUWVDVY4cjs.CHAIN_BY_ID; exports.DEFAULT_BACKEND_URL = _chunkMUWVDVY4cjs.DEFAULT_BACKEND_URL; exports.DEFAULT_SIGNER_ADDRESS = _chunkMUWVDVY4cjs.DEFAULT_SIGNER_ADDRESS; exports.NATIVE_TOKEN_ADDRESS = _chunkMUWVDVY4cjs.NATIVE_TOKEN_ADDRESS; exports.SOURCE_CHAINS = _chunkMUWVDVY4cjs.SOURCE_CHAINS; exports.SUPPORTED_CHAINS = _chunkMUWVDVY4cjs.SUPPORTED_CHAINS; exports.chainRegistry = _chunkMUWVDVY4cjs.chainRegistry; exports.findChainIdForToken = _chunkMUWVDVY4cjs.findChainIdForToken; exports.getChainBadge = _chunkMUWVDVY4cjs.getChainBadge; exports.getChainIcon = _chunkMUWVDVY4cjs.getChainIcon; exports.getChainId = _chunkMUWVDVY4cjs.getChainId; exports.getChainName = _chunkMUWVDVY4cjs.getChainName; exports.getChainObject = _chunkMUWVDVY4cjs.getChainObject; exports.getExplorerName = _chunkMUWVDVY4cjs.getExplorerName; exports.getExplorerTxUrl = _chunkMUWVDVY4cjs.getExplorerTxUrl; exports.getExplorerUrl = _chunkMUWVDVY4cjs.getExplorerUrl; exports.getSupportedChainIds = _chunkMUWVDVY4cjs.getSupportedChainIds; exports.getSupportedTargetTokens = _chunkMUWVDVY4cjs.getSupportedTargetTokens; exports.getSupportedTokenSymbolsForChain = _chunkMUWVDVY4cjs.getSupportedTokenSymbolsForChain; exports.getTargetTokenSymbolsForChain = _chunkMUWVDVY4cjs.getTargetTokenSymbolsForChain; exports.getTokenAddress = _chunkMUWVDVY4cjs.getTokenAddress; exports.getTokenDecimals = _chunkMUWVDVY4cjs.getTokenDecimals; exports.getTokenDecimalsByAddress = _chunkMUWVDVY4cjs.getTokenDecimalsByAddress; exports.getTokenIcon = _chunkMUWVDVY4cjs.getTokenIcon; exports.getTokenSymbol = _chunkMUWVDVY4cjs.getTokenSymbol; exports.getUsdcAddress = _chunkMUWVDVY4cjs.getUsdcAddress; exports.getUsdcDecimals = _chunkMUWVDVY4cjs.getUsdcDecimals; exports.isSupportedTokenAddressForChain = _chunkMUWVDVY4cjs.isSupportedTokenAddressForChain;
|
package/dist/constants.mjs
CHANGED
package/dist/deposit.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
5
|
-
require('./chunk-
|
|
3
|
+
var _chunkUDKZWFCMcjs = require('./chunk-UDKZWFCM.cjs');
|
|
4
|
+
require('./chunk-FLVSQDP4.cjs');
|
|
5
|
+
require('./chunk-MUWVDVY4.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.DepositModal =
|
|
8
|
+
exports.DepositModal = _chunkUDKZWFCMcjs.DepositModal;
|
package/dist/deposit.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { e as DepositModalProps } from './types-
|
|
3
|
-
export { A as AssetOption, a as ConnectedEventData, D as DepositCompleteEventData, c as DepositFailedEventData, d as DepositModalBranding, f as DepositModalTheme, g as DepositModalUIConfig, h as DepositSubmittedEventData, E as ErrorEventData } from './types-
|
|
2
|
+
import { e as DepositModalProps } from './types-DJ1fzNC7.cjs';
|
|
3
|
+
export { A as AssetOption, a as ConnectedEventData, D as DepositCompleteEventData, c as DepositFailedEventData, d as DepositModalBranding, f as DepositModalTheme, g as DepositModalUIConfig, h as DepositSubmittedEventData, E as ErrorEventData } from './types-DJ1fzNC7.cjs';
|
|
4
4
|
import 'viem';
|
|
5
5
|
import './safe.cjs';
|
|
6
6
|
|
package/dist/deposit.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { e as DepositModalProps } from './types-
|
|
3
|
-
export { A as AssetOption, a as ConnectedEventData, D as DepositCompleteEventData, c as DepositFailedEventData, d as DepositModalBranding, f as DepositModalTheme, g as DepositModalUIConfig, h as DepositSubmittedEventData, E as ErrorEventData } from './types-
|
|
2
|
+
import { e as DepositModalProps } from './types-DGQzvl6v.js';
|
|
3
|
+
export { A as AssetOption, a as ConnectedEventData, D as DepositCompleteEventData, c as DepositFailedEventData, d as DepositModalBranding, f as DepositModalTheme, g as DepositModalUIConfig, h as DepositSubmittedEventData, E as ErrorEventData } from './types-DGQzvl6v.js';
|
|
4
4
|
import 'viem';
|
|
5
5
|
import './safe.js';
|
|
6
6
|
|
package/dist/deposit.mjs
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkUDKZWFCMcjs = require('./chunk-UDKZWFCM.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
7
|
-
require('./chunk-
|
|
6
|
+
var _chunkLTLFJPHOcjs = require('./chunk-LTLFJPHO.cjs');
|
|
7
|
+
require('./chunk-FLVSQDP4.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
@@ -34,7 +34,7 @@ require('./chunk-JZWCK7C3.cjs');
|
|
|
34
34
|
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
var
|
|
37
|
+
var _chunkMUWVDVY4cjs = require('./chunk-MUWVDVY4.cjs');
|
|
38
38
|
|
|
39
39
|
|
|
40
40
|
|
|
@@ -66,4 +66,4 @@ var _chunkR6U6BHCVcjs = require('./chunk-R6U6BHCV.cjs');
|
|
|
66
66
|
|
|
67
67
|
|
|
68
68
|
|
|
69
|
-
exports.CHAIN_BY_ID =
|
|
69
|
+
exports.CHAIN_BY_ID = _chunkMUWVDVY4cjs.CHAIN_BY_ID; exports.DEFAULT_BACKEND_URL = _chunkMUWVDVY4cjs.DEFAULT_BACKEND_URL; exports.DEFAULT_SIGNER_ADDRESS = _chunkMUWVDVY4cjs.DEFAULT_SIGNER_ADDRESS; exports.DepositModal = _chunkUDKZWFCMcjs.DepositModal; exports.NATIVE_TOKEN_ADDRESS = _chunkMUWVDVY4cjs.NATIVE_TOKEN_ADDRESS; exports.SOURCE_CHAINS = _chunkMUWVDVY4cjs.SOURCE_CHAINS; exports.SUPPORTED_CHAINS = _chunkMUWVDVY4cjs.SUPPORTED_CHAINS; exports.WithdrawModal = _chunkLTLFJPHOcjs.WithdrawModal; exports.chainRegistry = _chunkMUWVDVY4cjs.chainRegistry; exports.findChainIdForToken = _chunkMUWVDVY4cjs.findChainIdForToken; exports.getChainBadge = _chunkMUWVDVY4cjs.getChainBadge; exports.getChainIcon = _chunkMUWVDVY4cjs.getChainIcon; exports.getChainId = _chunkMUWVDVY4cjs.getChainId; exports.getChainName = _chunkMUWVDVY4cjs.getChainName; exports.getChainObject = _chunkMUWVDVY4cjs.getChainObject; exports.getExplorerName = _chunkMUWVDVY4cjs.getExplorerName; exports.getExplorerTxUrl = _chunkMUWVDVY4cjs.getExplorerTxUrl; exports.getExplorerUrl = _chunkMUWVDVY4cjs.getExplorerUrl; exports.getSupportedChainIds = _chunkMUWVDVY4cjs.getSupportedChainIds; exports.getSupportedTargetTokens = _chunkMUWVDVY4cjs.getSupportedTargetTokens; exports.getSupportedTokenSymbolsForChain = _chunkMUWVDVY4cjs.getSupportedTokenSymbolsForChain; exports.getTargetTokenSymbolsForChain = _chunkMUWVDVY4cjs.getTargetTokenSymbolsForChain; exports.getTokenAddress = _chunkMUWVDVY4cjs.getTokenAddress; exports.getTokenDecimals = _chunkMUWVDVY4cjs.getTokenDecimals; exports.getTokenDecimalsByAddress = _chunkMUWVDVY4cjs.getTokenDecimalsByAddress; exports.getTokenIcon = _chunkMUWVDVY4cjs.getTokenIcon; exports.getTokenSymbol = _chunkMUWVDVY4cjs.getTokenSymbol; exports.getUsdcAddress = _chunkMUWVDVY4cjs.getUsdcAddress; exports.getUsdcDecimals = _chunkMUWVDVY4cjs.getUsdcDecimals; exports.isSupportedTokenAddressForChain = _chunkMUWVDVY4cjs.isSupportedTokenAddressForChain;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { DepositModal } from './deposit.cjs';
|
|
2
2
|
export { WithdrawModal } from './withdraw.cjs';
|
|
3
|
-
export { A as AssetOption, C as ChainId, a as ConnectedEventData, D as DepositCompleteEventData, b as DepositEvent, c as DepositFailedEventData, d as DepositModalBranding, e as DepositModalProps, f as DepositModalTheme, g as DepositModalUIConfig, h as DepositSubmittedEventData, E as ErrorEventData, M as ModalEvent, O as OrderBookSwapAction, P as PostBridgeAction, R as RouteConfig, W as WithdrawCompleteEventData,
|
|
3
|
+
export { A as AssetOption, C as ChainId, a as ConnectedEventData, D as DepositCompleteEventData, b as DepositEvent, c as DepositFailedEventData, d as DepositModalBranding, e as DepositModalProps, f as DepositModalTheme, g as DepositModalUIConfig, h as DepositSubmittedEventData, E as ErrorEventData, M as ModalEvent, O as OrderBookSwapAction, i as OutputTokenRule, P as PostBridgeAction, R as RouteConfig, W as WithdrawCompleteEventData, j as WithdrawEvent, k as WithdrawFailedEventData, l as WithdrawModalProps, m as WithdrawSubmittedEventData } from './types-DJ1fzNC7.cjs';
|
|
4
4
|
export { CHAIN_BY_ID, DEFAULT_BACKEND_URL, DEFAULT_SIGNER_ADDRESS, NATIVE_TOKEN_ADDRESS, SOURCE_CHAINS, SUPPORTED_CHAINS, chainRegistry, findChainIdForToken, getChainBadge, getChainIcon, getChainId, getChainName, getChainObject, getExplorerName, getExplorerTxUrl, getExplorerUrl, getSupportedChainIds, getSupportedTargetTokens, getSupportedTokenSymbolsForChain, getTargetTokenSymbolsForChain, getTokenAddress, getTokenDecimals, getTokenDecimalsByAddress, getTokenIcon, getTokenSymbol, getUsdcAddress, getUsdcDecimals, isSupportedTokenAddressForChain } from './constants.cjs';
|
|
5
5
|
export { SafeTransactionRequest } from './safe.cjs';
|
|
6
6
|
import 'react/jsx-runtime';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { DepositModal } from './deposit.js';
|
|
2
2
|
export { WithdrawModal } from './withdraw.js';
|
|
3
|
-
export { A as AssetOption, C as ChainId, a as ConnectedEventData, D as DepositCompleteEventData, b as DepositEvent, c as DepositFailedEventData, d as DepositModalBranding, e as DepositModalProps, f as DepositModalTheme, g as DepositModalUIConfig, h as DepositSubmittedEventData, E as ErrorEventData, M as ModalEvent, O as OrderBookSwapAction, P as PostBridgeAction, R as RouteConfig, W as WithdrawCompleteEventData,
|
|
3
|
+
export { A as AssetOption, C as ChainId, a as ConnectedEventData, D as DepositCompleteEventData, b as DepositEvent, c as DepositFailedEventData, d as DepositModalBranding, e as DepositModalProps, f as DepositModalTheme, g as DepositModalUIConfig, h as DepositSubmittedEventData, E as ErrorEventData, M as ModalEvent, O as OrderBookSwapAction, i as OutputTokenRule, P as PostBridgeAction, R as RouteConfig, W as WithdrawCompleteEventData, j as WithdrawEvent, k as WithdrawFailedEventData, l as WithdrawModalProps, m as WithdrawSubmittedEventData } from './types-DGQzvl6v.js';
|
|
4
4
|
export { CHAIN_BY_ID, DEFAULT_BACKEND_URL, DEFAULT_SIGNER_ADDRESS, NATIVE_TOKEN_ADDRESS, SOURCE_CHAINS, SUPPORTED_CHAINS, chainRegistry, findChainIdForToken, getChainBadge, getChainIcon, getChainId, getChainName, getChainObject, getExplorerName, getExplorerTxUrl, getExplorerUrl, getSupportedChainIds, getSupportedTargetTokens, getSupportedTokenSymbolsForChain, getTargetTokenSymbolsForChain, getTokenAddress, getTokenDecimals, getTokenDecimalsByAddress, getTokenIcon, getTokenSymbol, getUsdcAddress, getUsdcDecimals, isSupportedTokenAddressForChain } from './constants.js';
|
|
5
5
|
export { SafeTransactionRequest } from './safe.js';
|
|
6
6
|
import 'react/jsx-runtime';
|
package/dist/index.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DepositModal
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-NFE5ZLD3.mjs";
|
|
4
4
|
import {
|
|
5
5
|
WithdrawModal
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-5FDIQNJJ.mjs";
|
|
7
|
+
import "./chunk-IUW3SJQT.mjs";
|
|
8
8
|
import {
|
|
9
9
|
CHAIN_BY_ID,
|
|
10
10
|
DEFAULT_BACKEND_URL,
|
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
getUsdcAddress,
|
|
35
35
|
getUsdcDecimals,
|
|
36
36
|
isSupportedTokenAddressForChain
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-SDZKKUCJ.mjs";
|
|
38
38
|
export {
|
|
39
39
|
CHAIN_BY_ID,
|
|
40
40
|
DEFAULT_BACKEND_URL,
|
package/dist/reown.cjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkUDKZWFCMcjs = require('./chunk-UDKZWFCM.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
7
|
-
require('./chunk-
|
|
8
|
-
require('./chunk-
|
|
6
|
+
var _chunkLTLFJPHOcjs = require('./chunk-LTLFJPHO.cjs');
|
|
7
|
+
require('./chunk-FLVSQDP4.cjs');
|
|
8
|
+
require('./chunk-MUWVDVY4.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
exports.DepositModal =
|
|
12
|
+
exports.DepositModal = _chunkUDKZWFCMcjs.DepositModal; exports.WithdrawModal = _chunkLTLFJPHOcjs.WithdrawModal;
|
package/dist/reown.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { DepositModal } from './deposit.cjs';
|
|
2
2
|
export { WithdrawModal } from './withdraw.cjs';
|
|
3
|
-
export { A as AssetOption, a as ConnectedEventData, D as DepositCompleteEventData, c as DepositFailedEventData, d as DepositModalBranding, e as DepositModalProps, f as DepositModalTheme, g as DepositModalUIConfig, h as DepositSubmittedEventData, E as ErrorEventData, W as WithdrawCompleteEventData,
|
|
3
|
+
export { A as AssetOption, a as ConnectedEventData, D as DepositCompleteEventData, c as DepositFailedEventData, d as DepositModalBranding, e as DepositModalProps, f as DepositModalTheme, g as DepositModalUIConfig, h as DepositSubmittedEventData, E as ErrorEventData, W as WithdrawCompleteEventData, k as WithdrawFailedEventData, l as WithdrawModalProps, m as WithdrawSubmittedEventData } from './types-DJ1fzNC7.cjs';
|
|
4
4
|
export { SafeTransactionRequest } from './safe.cjs';
|
|
5
5
|
import 'react/jsx-runtime';
|
|
6
6
|
import 'viem';
|
package/dist/reown.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { DepositModal } from './deposit.js';
|
|
2
2
|
export { WithdrawModal } from './withdraw.js';
|
|
3
|
-
export { A as AssetOption, a as ConnectedEventData, D as DepositCompleteEventData, c as DepositFailedEventData, d as DepositModalBranding, e as DepositModalProps, f as DepositModalTheme, g as DepositModalUIConfig, h as DepositSubmittedEventData, E as ErrorEventData, W as WithdrawCompleteEventData,
|
|
3
|
+
export { A as AssetOption, a as ConnectedEventData, D as DepositCompleteEventData, c as DepositFailedEventData, d as DepositModalBranding, e as DepositModalProps, f as DepositModalTheme, g as DepositModalUIConfig, h as DepositSubmittedEventData, E as ErrorEventData, W as WithdrawCompleteEventData, k as WithdrawFailedEventData, l as WithdrawModalProps, m as WithdrawSubmittedEventData } from './types-DGQzvl6v.js';
|
|
4
4
|
export { SafeTransactionRequest } from './safe.js';
|
|
5
5
|
import 'react/jsx-runtime';
|
|
6
6
|
import 'viem';
|
package/dist/reown.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DepositModal
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-NFE5ZLD3.mjs";
|
|
4
4
|
import {
|
|
5
5
|
WithdrawModal
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-5FDIQNJJ.mjs";
|
|
7
|
+
import "./chunk-IUW3SJQT.mjs";
|
|
8
|
+
import "./chunk-SDZKKUCJ.mjs";
|
|
9
9
|
export {
|
|
10
10
|
DepositModal,
|
|
11
11
|
WithdrawModal
|
package/dist/styles.css
CHANGED
|
@@ -293,6 +293,7 @@
|
|
|
293
293
|
flex-direction: column;
|
|
294
294
|
min-height: 280px;
|
|
295
295
|
overflow-y: auto;
|
|
296
|
+
overscroll-behavior: none;
|
|
296
297
|
}
|
|
297
298
|
|
|
298
299
|
.rs-modal-body::-webkit-scrollbar {
|
|
@@ -1189,7 +1190,7 @@
|
|
|
1189
1190
|
flex-direction: column;
|
|
1190
1191
|
align-items: center;
|
|
1191
1192
|
justify-content: center;
|
|
1192
|
-
padding:
|
|
1193
|
+
padding: 24px 12px 16px;
|
|
1193
1194
|
gap: 6px;
|
|
1194
1195
|
}
|
|
1195
1196
|
|
|
@@ -1215,6 +1216,25 @@
|
|
|
1215
1216
|
border-radius: 6px;
|
|
1216
1217
|
}
|
|
1217
1218
|
|
|
1219
|
+
.rs-empty-disconnect {
|
|
1220
|
+
margin-top: 8px;
|
|
1221
|
+
padding: 0;
|
|
1222
|
+
font-size: 11px;
|
|
1223
|
+
font-weight: 400;
|
|
1224
|
+
color: var(--rs-muted-foreground);
|
|
1225
|
+
background: transparent;
|
|
1226
|
+
border: none;
|
|
1227
|
+
cursor: pointer;
|
|
1228
|
+
transition: color 0.15s;
|
|
1229
|
+
font-family: inherit;
|
|
1230
|
+
text-decoration: underline;
|
|
1231
|
+
text-underline-offset: 2px;
|
|
1232
|
+
}
|
|
1233
|
+
|
|
1234
|
+
.rs-empty-disconnect:hover {
|
|
1235
|
+
color: var(--rs-foreground);
|
|
1236
|
+
}
|
|
1237
|
+
|
|
1218
1238
|
/* =============================================================================
|
|
1219
1239
|
Link Styles
|
|
1220
1240
|
============================================================================= */
|
|
@@ -1350,17 +1370,17 @@
|
|
|
1350
1370
|
width: 100%;
|
|
1351
1371
|
display: flex;
|
|
1352
1372
|
flex-direction: column;
|
|
1353
|
-
gap:
|
|
1373
|
+
gap: 6px;
|
|
1354
1374
|
}
|
|
1355
1375
|
|
|
1356
1376
|
.rs-connect-wallet-row {
|
|
1357
1377
|
display: flex;
|
|
1358
1378
|
align-items: center;
|
|
1359
|
-
gap:
|
|
1379
|
+
gap: 10px;
|
|
1360
1380
|
width: 100%;
|
|
1361
|
-
padding:
|
|
1381
|
+
padding: 12px 14px;
|
|
1362
1382
|
border: 1px solid var(--rs-border-surface);
|
|
1363
|
-
border-radius: var(--rs-radius-
|
|
1383
|
+
border-radius: var(--rs-radius-lg);
|
|
1364
1384
|
background: var(--rs-background-secondary);
|
|
1365
1385
|
color: inherit;
|
|
1366
1386
|
cursor: pointer;
|
|
@@ -1388,9 +1408,9 @@
|
|
|
1388
1408
|
display: flex;
|
|
1389
1409
|
align-items: center;
|
|
1390
1410
|
justify-content: center;
|
|
1391
|
-
width:
|
|
1392
|
-
height:
|
|
1393
|
-
min-width:
|
|
1411
|
+
width: 32px;
|
|
1412
|
+
height: 32px;
|
|
1413
|
+
min-width: 32px;
|
|
1394
1414
|
border-radius: 50%;
|
|
1395
1415
|
background: var(--rs-surface);
|
|
1396
1416
|
color: var(--rs-muted);
|
|
@@ -1400,8 +1420,8 @@
|
|
|
1400
1420
|
}
|
|
1401
1421
|
|
|
1402
1422
|
.rs-connect-wallet-icon svg {
|
|
1403
|
-
width:
|
|
1404
|
-
height:
|
|
1423
|
+
width: 20px;
|
|
1424
|
+
height: 20px;
|
|
1405
1425
|
}
|
|
1406
1426
|
|
|
1407
1427
|
.rs-connect-wallet-icon--selected {
|
|
@@ -1448,14 +1468,14 @@
|
|
|
1448
1468
|
}
|
|
1449
1469
|
|
|
1450
1470
|
.rs-connect-wallet-label {
|
|
1451
|
-
font-size:
|
|
1452
|
-
|
|
1471
|
+
font-size: 14px;
|
|
1472
|
+
font-weight: 600;
|
|
1473
|
+
color: var(--rs-foreground);
|
|
1453
1474
|
}
|
|
1454
1475
|
|
|
1455
1476
|
.rs-connect-wallet-address {
|
|
1456
|
-
font-size:
|
|
1457
|
-
|
|
1458
|
-
color: var(--rs-foreground);
|
|
1477
|
+
font-size: 12px;
|
|
1478
|
+
color: var(--rs-muted);
|
|
1459
1479
|
}
|
|
1460
1480
|
|
|
1461
1481
|
.rs-connect-wallet-manage {
|
|
@@ -2515,9 +2535,10 @@
|
|
|
2515
2535
|
|
|
2516
2536
|
.rs-deposit-address-dropdown-label {
|
|
2517
2537
|
font-size: 11px;
|
|
2518
|
-
color: var(--rs-
|
|
2538
|
+
color: var(--rs-foreground);
|
|
2519
2539
|
margin-bottom: 4px;
|
|
2520
2540
|
font-weight: 500;
|
|
2541
|
+
opacity: 0.65;
|
|
2521
2542
|
}
|
|
2522
2543
|
|
|
2523
2544
|
.rs-deposit-address-dropdown-trigger {
|
|
@@ -2576,6 +2597,7 @@
|
|
|
2576
2597
|
gap: 2px;
|
|
2577
2598
|
max-height: 200px;
|
|
2578
2599
|
overflow-y: auto;
|
|
2600
|
+
overscroll-behavior: none;
|
|
2579
2601
|
animation: rs-dropdown-in 0.12s ease-out;
|
|
2580
2602
|
}
|
|
2581
2603
|
|
|
@@ -2610,28 +2632,30 @@
|
|
|
2610
2632
|
display: flex;
|
|
2611
2633
|
align-items: center;
|
|
2612
2634
|
justify-content: center;
|
|
2613
|
-
padding:
|
|
2635
|
+
padding: 4px;
|
|
2614
2636
|
background: var(--rs-surface);
|
|
2615
|
-
border-radius: var(--rs-radius-
|
|
2637
|
+
border-radius: var(--rs-radius-md);
|
|
2616
2638
|
margin: 4px 0;
|
|
2617
2639
|
}
|
|
2618
2640
|
|
|
2641
|
+
.rs-deposit-address-qr canvas,
|
|
2619
2642
|
.rs-deposit-address-qr svg {
|
|
2620
|
-
|
|
2643
|
+
display: block;
|
|
2644
|
+
border-radius: var(--rs-radius-md);
|
|
2621
2645
|
}
|
|
2622
2646
|
|
|
2623
2647
|
.rs-deposit-address-info {
|
|
2624
2648
|
display: flex;
|
|
2625
2649
|
flex-direction: column;
|
|
2626
|
-
|
|
2627
|
-
gap: 8px;
|
|
2650
|
+
gap: 0;
|
|
2628
2651
|
width: 100%;
|
|
2629
2652
|
}
|
|
2630
2653
|
|
|
2631
2654
|
.rs-deposit-address-label {
|
|
2632
2655
|
font-size: 13px;
|
|
2633
|
-
font-weight:
|
|
2634
|
-
color: var(--rs-muted
|
|
2656
|
+
font-weight: 600;
|
|
2657
|
+
color: var(--rs-muted);
|
|
2658
|
+
margin-bottom: 8px;
|
|
2635
2659
|
}
|
|
2636
2660
|
|
|
2637
2661
|
.rs-deposit-address-value {
|
|
@@ -2641,31 +2665,35 @@
|
|
|
2641
2665
|
monospace;
|
|
2642
2666
|
color: var(--rs-foreground);
|
|
2643
2667
|
word-break: break-all;
|
|
2644
|
-
text-align:
|
|
2645
|
-
padding:
|
|
2646
|
-
background:
|
|
2647
|
-
border: 1px solid var(--rs-border
|
|
2648
|
-
border-radius: var(--rs-radius-sm);
|
|
2668
|
+
text-align: left;
|
|
2669
|
+
padding: 8px 12px;
|
|
2670
|
+
background: transparent;
|
|
2671
|
+
border: 1px solid var(--rs-border);
|
|
2672
|
+
border-radius: var(--rs-radius-sm) var(--rs-radius-sm) 0 0;
|
|
2673
|
+
border-bottom: none;
|
|
2649
2674
|
width: 100%;
|
|
2650
2675
|
}
|
|
2651
2676
|
|
|
2652
2677
|
.rs-deposit-address-copy {
|
|
2653
2678
|
display: flex;
|
|
2654
2679
|
align-items: center;
|
|
2680
|
+
justify-content: center;
|
|
2655
2681
|
gap: 6px;
|
|
2682
|
+
width: 100%;
|
|
2656
2683
|
padding: 8px 16px;
|
|
2657
|
-
border:
|
|
2658
|
-
|
|
2659
|
-
|
|
2684
|
+
border: 1px solid var(--rs-border);
|
|
2685
|
+
border-radius: 0 0 var(--rs-radius-sm) var(--rs-radius-sm);
|
|
2686
|
+
background: var(--rs-surface);
|
|
2687
|
+
color: var(--rs-foreground);
|
|
2660
2688
|
font-size: 13px;
|
|
2661
2689
|
font-weight: 500;
|
|
2662
2690
|
cursor: pointer;
|
|
2663
|
-
transition:
|
|
2691
|
+
transition: background 0.15s;
|
|
2664
2692
|
font-family: inherit;
|
|
2665
2693
|
}
|
|
2666
2694
|
|
|
2667
2695
|
.rs-deposit-address-copy:hover {
|
|
2668
|
-
|
|
2696
|
+
background: var(--rs-surface-hover);
|
|
2669
2697
|
}
|
|
2670
2698
|
|
|
2671
2699
|
.rs-deposit-address-balance {
|
|
@@ -2744,6 +2772,209 @@
|
|
|
2744
2772
|
color: var(--rs-foreground);
|
|
2745
2773
|
}
|
|
2746
2774
|
|
|
2775
|
+
/* =============================================================================
|
|
2776
|
+
Deposit Notifications (QR flow toast cards)
|
|
2777
|
+
============================================================================= */
|
|
2778
|
+
|
|
2779
|
+
.rs-step--with-notifications {
|
|
2780
|
+
position: relative;
|
|
2781
|
+
}
|
|
2782
|
+
|
|
2783
|
+
.rs-deposit-notifications {
|
|
2784
|
+
position: absolute;
|
|
2785
|
+
bottom: 12px;
|
|
2786
|
+
left: 12px;
|
|
2787
|
+
right: 12px;
|
|
2788
|
+
z-index: 10;
|
|
2789
|
+
display: flex;
|
|
2790
|
+
flex-direction: column;
|
|
2791
|
+
gap: 8px;
|
|
2792
|
+
pointer-events: none;
|
|
2793
|
+
}
|
|
2794
|
+
|
|
2795
|
+
.rs-deposit-notification {
|
|
2796
|
+
pointer-events: auto;
|
|
2797
|
+
background: var(--rs-background);
|
|
2798
|
+
border: 1px solid var(--rs-border);
|
|
2799
|
+
border-radius: var(--rs-radius-lg);
|
|
2800
|
+
overflow: hidden;
|
|
2801
|
+
box-shadow:
|
|
2802
|
+
0 -4px 20px rgba(0, 0, 0, 0.10),
|
|
2803
|
+
0 -1px 6px rgba(0, 0, 0, 0.06);
|
|
2804
|
+
animation: rs-notification-slide-up 0.3s ease-out;
|
|
2805
|
+
}
|
|
2806
|
+
|
|
2807
|
+
@keyframes rs-notification-slide-up {
|
|
2808
|
+
from {
|
|
2809
|
+
opacity: 0;
|
|
2810
|
+
transform: translateY(16px);
|
|
2811
|
+
}
|
|
2812
|
+
to {
|
|
2813
|
+
opacity: 1;
|
|
2814
|
+
transform: translateY(0);
|
|
2815
|
+
}
|
|
2816
|
+
}
|
|
2817
|
+
|
|
2818
|
+
.rs-deposit-notification-header {
|
|
2819
|
+
display: flex;
|
|
2820
|
+
align-items: flex-start;
|
|
2821
|
+
gap: 10px;
|
|
2822
|
+
padding: 14px 14px 0;
|
|
2823
|
+
}
|
|
2824
|
+
|
|
2825
|
+
.rs-deposit-notification-icon {
|
|
2826
|
+
flex-shrink: 0;
|
|
2827
|
+
padding-top: 1px;
|
|
2828
|
+
}
|
|
2829
|
+
|
|
2830
|
+
.rs-deposit-notification-badge {
|
|
2831
|
+
width: 32px;
|
|
2832
|
+
height: 32px;
|
|
2833
|
+
border-radius: 50%;
|
|
2834
|
+
display: flex;
|
|
2835
|
+
align-items: center;
|
|
2836
|
+
justify-content: center;
|
|
2837
|
+
}
|
|
2838
|
+
|
|
2839
|
+
.rs-deposit-notification-badge svg {
|
|
2840
|
+
width: 14px;
|
|
2841
|
+
height: 14px;
|
|
2842
|
+
}
|
|
2843
|
+
|
|
2844
|
+
.rs-deposit-notification-badge .rs-spinner {
|
|
2845
|
+
width: 16px;
|
|
2846
|
+
height: 16px;
|
|
2847
|
+
}
|
|
2848
|
+
|
|
2849
|
+
.rs-deposit-notification-badge--complete {
|
|
2850
|
+
background-color: var(--rs-success-tint);
|
|
2851
|
+
color: var(--rs-success);
|
|
2852
|
+
}
|
|
2853
|
+
|
|
2854
|
+
.rs-deposit-notification-badge--failed {
|
|
2855
|
+
background-color: var(--rs-error-tint);
|
|
2856
|
+
color: var(--rs-error);
|
|
2857
|
+
}
|
|
2858
|
+
|
|
2859
|
+
.rs-deposit-notification-badge--processing {
|
|
2860
|
+
background-color: var(--rs-primary-tint);
|
|
2861
|
+
color: var(--rs-primary);
|
|
2862
|
+
}
|
|
2863
|
+
|
|
2864
|
+
.rs-deposit-notification-content {
|
|
2865
|
+
flex: 1;
|
|
2866
|
+
min-width: 0;
|
|
2867
|
+
}
|
|
2868
|
+
|
|
2869
|
+
.rs-deposit-notification-title {
|
|
2870
|
+
font-size: 14px;
|
|
2871
|
+
font-weight: 600;
|
|
2872
|
+
color: var(--rs-foreground);
|
|
2873
|
+
line-height: 1.3;
|
|
2874
|
+
}
|
|
2875
|
+
|
|
2876
|
+
.rs-deposit-notification-subtitle {
|
|
2877
|
+
font-size: 12px;
|
|
2878
|
+
color: var(--rs-muted-foreground);
|
|
2879
|
+
line-height: 1.4;
|
|
2880
|
+
margin-top: 2px;
|
|
2881
|
+
}
|
|
2882
|
+
|
|
2883
|
+
.rs-deposit-notification-close {
|
|
2884
|
+
flex-shrink: 0;
|
|
2885
|
+
width: 24px;
|
|
2886
|
+
height: 24px;
|
|
2887
|
+
display: flex;
|
|
2888
|
+
align-items: center;
|
|
2889
|
+
justify-content: center;
|
|
2890
|
+
border: none;
|
|
2891
|
+
background: transparent;
|
|
2892
|
+
color: var(--rs-muted-foreground);
|
|
2893
|
+
cursor: pointer;
|
|
2894
|
+
border-radius: 4px;
|
|
2895
|
+
padding: 0;
|
|
2896
|
+
transition: color 0.15s, background 0.15s;
|
|
2897
|
+
}
|
|
2898
|
+
|
|
2899
|
+
.rs-deposit-notification-close:hover {
|
|
2900
|
+
color: var(--rs-foreground);
|
|
2901
|
+
background: var(--rs-surface);
|
|
2902
|
+
}
|
|
2903
|
+
|
|
2904
|
+
.rs-deposit-notification-close svg {
|
|
2905
|
+
width: 16px;
|
|
2906
|
+
height: 16px;
|
|
2907
|
+
}
|
|
2908
|
+
|
|
2909
|
+
.rs-deposit-notification-details {
|
|
2910
|
+
margin: 10px 14px 0;
|
|
2911
|
+
padding: 8px 10px;
|
|
2912
|
+
background: var(--rs-surface);
|
|
2913
|
+
border-radius: var(--rs-radius-sm);
|
|
2914
|
+
}
|
|
2915
|
+
|
|
2916
|
+
.rs-deposit-notification-row {
|
|
2917
|
+
display: flex;
|
|
2918
|
+
align-items: center;
|
|
2919
|
+
justify-content: space-between;
|
|
2920
|
+
padding: 5px 0;
|
|
2921
|
+
}
|
|
2922
|
+
|
|
2923
|
+
.rs-deposit-notification-row + .rs-deposit-notification-row {
|
|
2924
|
+
border-top: 1px solid var(--rs-border-surface);
|
|
2925
|
+
}
|
|
2926
|
+
|
|
2927
|
+
.rs-deposit-notification-label {
|
|
2928
|
+
font-size: 12px;
|
|
2929
|
+
color: var(--rs-muted-foreground);
|
|
2930
|
+
}
|
|
2931
|
+
|
|
2932
|
+
.rs-deposit-notification-value {
|
|
2933
|
+
font-size: 12px;
|
|
2934
|
+
font-weight: 500;
|
|
2935
|
+
color: var(--rs-muted);
|
|
2936
|
+
font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Monaco, Consolas, monospace;
|
|
2937
|
+
}
|
|
2938
|
+
|
|
2939
|
+
.rs-deposit-notification-link {
|
|
2940
|
+
display: inline-flex;
|
|
2941
|
+
align-items: center;
|
|
2942
|
+
gap: 3px;
|
|
2943
|
+
color: var(--rs-muted);
|
|
2944
|
+
text-decoration: none;
|
|
2945
|
+
transition: color 0.15s;
|
|
2946
|
+
}
|
|
2947
|
+
|
|
2948
|
+
.rs-deposit-notification-link:hover {
|
|
2949
|
+
color: var(--rs-foreground);
|
|
2950
|
+
}
|
|
2951
|
+
|
|
2952
|
+
.rs-deposit-notification-link-icon {
|
|
2953
|
+
width: 10px;
|
|
2954
|
+
height: 10px;
|
|
2955
|
+
}
|
|
2956
|
+
|
|
2957
|
+
.rs-deposit-notification-toggle {
|
|
2958
|
+
display: flex;
|
|
2959
|
+
align-items: center;
|
|
2960
|
+
justify-content: center;
|
|
2961
|
+
width: 100%;
|
|
2962
|
+
padding: 10px 0;
|
|
2963
|
+
border: none;
|
|
2964
|
+
border-top: 1px solid var(--rs-border-surface);
|
|
2965
|
+
background: transparent;
|
|
2966
|
+
color: var(--rs-muted-foreground);
|
|
2967
|
+
font-size: 12px;
|
|
2968
|
+
font-weight: 500;
|
|
2969
|
+
cursor: pointer;
|
|
2970
|
+
transition: color 0.15s;
|
|
2971
|
+
margin-top: 10px;
|
|
2972
|
+
}
|
|
2973
|
+
|
|
2974
|
+
.rs-deposit-notification-toggle:hover {
|
|
2975
|
+
color: var(--rs-foreground);
|
|
2976
|
+
}
|
|
2977
|
+
|
|
2747
2978
|
/* =============================================================================
|
|
2748
2979
|
Step Indicator (numbered circles with dotted line)
|
|
2749
2980
|
============================================================================= */
|
|
@@ -74,6 +74,14 @@ interface ErrorEventData {
|
|
|
74
74
|
message: string;
|
|
75
75
|
code?: string;
|
|
76
76
|
}
|
|
77
|
+
interface OutputTokenRule {
|
|
78
|
+
match: {
|
|
79
|
+
chain?: string;
|
|
80
|
+
token?: string;
|
|
81
|
+
symbol?: string;
|
|
82
|
+
};
|
|
83
|
+
outputToken: string;
|
|
84
|
+
}
|
|
77
85
|
interface RouteConfig {
|
|
78
86
|
sourceChains?: number[];
|
|
79
87
|
sourceTokens?: string[];
|
|
@@ -93,6 +101,8 @@ interface DepositModalProps {
|
|
|
93
101
|
defaultAmount?: string;
|
|
94
102
|
recipient: Address;
|
|
95
103
|
postBridgeActions?: PostBridgeAction[];
|
|
104
|
+
outputTokenRules?: OutputTokenRule[];
|
|
105
|
+
rejectUnmapped?: boolean;
|
|
96
106
|
backendUrl?: string;
|
|
97
107
|
solanaRpcUrl?: string;
|
|
98
108
|
rhinestoneApiKey?: string;
|
|
@@ -224,4 +234,4 @@ type WithdrawEvent = {
|
|
|
224
234
|
};
|
|
225
235
|
type ModalEvent = DepositEvent | WithdrawEvent;
|
|
226
236
|
|
|
227
|
-
export type { AssetOption as A, ChainId as C, DepositCompleteEventData as D, ErrorEventData as E, ModalEvent as M, OrderBookSwapAction as O, PostBridgeAction as P, RouteConfig as R, WithdrawCompleteEventData as W, ConnectedEventData as a, DepositEvent as b, DepositFailedEventData as c, DepositModalBranding as d, DepositModalProps as e, DepositModalTheme as f, DepositModalUIConfig as g, DepositSubmittedEventData as h,
|
|
237
|
+
export type { AssetOption as A, ChainId as C, DepositCompleteEventData as D, ErrorEventData as E, ModalEvent as M, OrderBookSwapAction as O, PostBridgeAction as P, RouteConfig as R, WithdrawCompleteEventData as W, ConnectedEventData as a, DepositEvent as b, DepositFailedEventData as c, DepositModalBranding as d, DepositModalProps as e, DepositModalTheme as f, DepositModalUIConfig as g, DepositSubmittedEventData as h, OutputTokenRule as i, WithdrawEvent as j, WithdrawFailedEventData as k, WithdrawModalProps as l, WithdrawSubmittedEventData as m };
|