@rhinestone/deposit-modal 0.1.64 → 0.1.66
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-XOLZ62BQ.mjs → DepositModalReown-RXIVPSEE.mjs} +2 -2
- package/dist/{DepositModalReown-3KQE4YU6.cjs → DepositModalReown-WFXQKZDH.cjs} +3 -3
- package/dist/{WithdrawModalReown-TD2NYW5M.mjs → WithdrawModalReown-MME7VSKX.mjs} +2 -2
- package/dist/{WithdrawModalReown-YBEUOYSV.cjs → WithdrawModalReown-PXS44GZO.cjs} +3 -3
- package/dist/{chunk-N3BZTUSJ.cjs → chunk-5GN4QU67.cjs} +551 -146
- package/dist/{chunk-P4ULLROO.cjs → chunk-75LRORPO.cjs} +38 -37
- package/dist/{chunk-MYI5WSWL.mjs → chunk-CULXRW6U.mjs} +3 -2
- package/dist/{chunk-TDTBAZNO.mjs → chunk-FWGLRTWF.mjs} +44 -0
- package/dist/{chunk-XVCPUB6K.mjs → chunk-JDO7QPPH.mjs} +465 -60
- package/dist/{chunk-5SR5N75I.cjs → chunk-JZWCK7C3.cjs} +118 -74
- package/dist/deposit.cjs +3 -3
- package/dist/deposit.d.cts +2 -2
- package/dist/deposit.d.ts +2 -2
- package/dist/deposit.mjs +2 -2
- package/dist/index.cjs +4 -4
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +3 -3
- package/dist/reown.cjs +4 -4
- package/dist/reown.d.cts +1 -1
- package/dist/reown.d.ts +1 -1
- package/dist/reown.mjs +3 -3
- package/dist/styles.css +432 -1
- package/dist/{types-7IoN8k-P.d.cts → types-DjaZ9sa8.d.cts} +1 -0
- package/dist/{types-BLIqLF0c.d.ts → types-ymKENnUK.d.ts} +1 -0
- package/dist/withdraw.cjs +3 -3
- package/dist/withdraw.d.cts +2 -2
- package/dist/withdraw.d.ts +2 -2
- package/dist/withdraw.mjs +2 -2
- package/package.json +1 -1
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, i as WithdrawEvent, j as WithdrawFailedEventData, k as WithdrawModalProps, l as WithdrawSubmittedEventData } from './types-
|
|
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, i as WithdrawEvent, j as WithdrawFailedEventData, k as WithdrawModalProps, l as WithdrawSubmittedEventData } from './types-ymKENnUK.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-JDO7QPPH.mjs";
|
|
4
4
|
import {
|
|
5
5
|
WithdrawModal
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-CULXRW6U.mjs";
|
|
7
|
+
import "./chunk-FWGLRTWF.mjs";
|
|
8
8
|
import {
|
|
9
9
|
CHAIN_BY_ID,
|
|
10
10
|
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 _chunk5GN4QU67cjs = require('./chunk-5GN4QU67.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
7
|
-
require('./chunk-
|
|
6
|
+
var _chunk75LRORPOcjs = require('./chunk-75LRORPO.cjs');
|
|
7
|
+
require('./chunk-JZWCK7C3.cjs');
|
|
8
8
|
require('./chunk-R6U6BHCV.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
exports.DepositModal =
|
|
12
|
+
exports.DepositModal = _chunk5GN4QU67cjs.DepositModal; exports.WithdrawModal = _chunk75LRORPOcjs.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, j as WithdrawFailedEventData, k as WithdrawModalProps, l as WithdrawSubmittedEventData } from './types-
|
|
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, j as WithdrawFailedEventData, k as WithdrawModalProps, l as WithdrawSubmittedEventData } from './types-DjaZ9sa8.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, j as WithdrawFailedEventData, k as WithdrawModalProps, l as WithdrawSubmittedEventData } from './types-
|
|
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, j as WithdrawFailedEventData, k as WithdrawModalProps, l as WithdrawSubmittedEventData } from './types-ymKENnUK.js';
|
|
4
4
|
export { SafeTransactionRequest } from './safe.js';
|
|
5
5
|
import 'react/jsx-runtime';
|
|
6
6
|
import 'viem';
|
package/dist/reown.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DepositModal
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-JDO7QPPH.mjs";
|
|
4
4
|
import {
|
|
5
5
|
WithdrawModal
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-CULXRW6U.mjs";
|
|
7
|
+
import "./chunk-FWGLRTWF.mjs";
|
|
8
8
|
import "./chunk-CIXHTOO3.mjs";
|
|
9
9
|
export {
|
|
10
10
|
DepositModal,
|
package/dist/styles.css
CHANGED
|
@@ -102,6 +102,7 @@
|
|
|
102
102
|
background-color: var(--rs-background);
|
|
103
103
|
-webkit-font-smoothing: antialiased;
|
|
104
104
|
-moz-osx-font-smoothing: grayscale;
|
|
105
|
+
position: relative;
|
|
105
106
|
}
|
|
106
107
|
|
|
107
108
|
/* =============================================================================
|
|
@@ -1728,11 +1729,11 @@
|
|
|
1728
1729
|
}
|
|
1729
1730
|
|
|
1730
1731
|
.rs-modal-header-nav-right {
|
|
1731
|
-
width: 28px;
|
|
1732
1732
|
display: flex;
|
|
1733
1733
|
align-items: center;
|
|
1734
1734
|
justify-content: flex-end;
|
|
1735
1735
|
flex-shrink: 0;
|
|
1736
|
+
gap: 2px;
|
|
1736
1737
|
}
|
|
1737
1738
|
|
|
1738
1739
|
.rs-modal-header-title {
|
|
@@ -2963,3 +2964,433 @@
|
|
|
2963
2964
|
color: var(--rs-muted-foreground);
|
|
2964
2965
|
margin-top: 8px;
|
|
2965
2966
|
}
|
|
2967
|
+
|
|
2968
|
+
/* =============================================================================
|
|
2969
|
+
History Button (Header)
|
|
2970
|
+
============================================================================= */
|
|
2971
|
+
|
|
2972
|
+
.rs-modal-header-history {
|
|
2973
|
+
display: flex;
|
|
2974
|
+
align-items: center;
|
|
2975
|
+
justify-content: center;
|
|
2976
|
+
width: 30px;
|
|
2977
|
+
height: 30px;
|
|
2978
|
+
padding: 0;
|
|
2979
|
+
margin-right: 2px;
|
|
2980
|
+
border: none;
|
|
2981
|
+
border-radius: var(--rs-radius);
|
|
2982
|
+
background: transparent;
|
|
2983
|
+
color: var(--rs-muted-foreground);
|
|
2984
|
+
cursor: pointer;
|
|
2985
|
+
transition: color 0.15s, background-color 0.15s;
|
|
2986
|
+
}
|
|
2987
|
+
|
|
2988
|
+
.rs-modal-header-history:hover:not(:disabled) {
|
|
2989
|
+
color: var(--rs-foreground);
|
|
2990
|
+
background: var(--rs-surface);
|
|
2991
|
+
}
|
|
2992
|
+
|
|
2993
|
+
.rs-modal-header-history:active:not(:disabled) {
|
|
2994
|
+
background: var(--rs-surface-hover);
|
|
2995
|
+
transform: scale(0.96);
|
|
2996
|
+
}
|
|
2997
|
+
|
|
2998
|
+
.rs-modal-header-history:disabled {
|
|
2999
|
+
opacity: 0.3;
|
|
3000
|
+
cursor: not-allowed;
|
|
3001
|
+
}
|
|
3002
|
+
|
|
3003
|
+
.rs-modal-header-history svg {
|
|
3004
|
+
width: 15px;
|
|
3005
|
+
height: 15px;
|
|
3006
|
+
}
|
|
3007
|
+
|
|
3008
|
+
/* =============================================================================
|
|
3009
|
+
Deposit History Panel
|
|
3010
|
+
============================================================================= */
|
|
3011
|
+
|
|
3012
|
+
.rs-history-panel {
|
|
3013
|
+
position: absolute;
|
|
3014
|
+
inset: 0;
|
|
3015
|
+
z-index: 10;
|
|
3016
|
+
display: flex;
|
|
3017
|
+
flex-direction: column;
|
|
3018
|
+
background: var(--rs-background);
|
|
3019
|
+
border-radius: inherit;
|
|
3020
|
+
animation: rs-history-slide-in 0.2s cubic-bezier(0.32, 0.72, 0, 1);
|
|
3021
|
+
}
|
|
3022
|
+
|
|
3023
|
+
@keyframes rs-history-slide-in {
|
|
3024
|
+
from {
|
|
3025
|
+
opacity: 0;
|
|
3026
|
+
transform: translateX(8px);
|
|
3027
|
+
}
|
|
3028
|
+
to {
|
|
3029
|
+
opacity: 1;
|
|
3030
|
+
transform: translateX(0);
|
|
3031
|
+
}
|
|
3032
|
+
}
|
|
3033
|
+
|
|
3034
|
+
/* Header */
|
|
3035
|
+
|
|
3036
|
+
.rs-history-header {
|
|
3037
|
+
display: flex;
|
|
3038
|
+
align-items: center;
|
|
3039
|
+
gap: 8px;
|
|
3040
|
+
padding: 12px 16px;
|
|
3041
|
+
border-bottom: 1px solid var(--rs-border-surface);
|
|
3042
|
+
min-height: var(--rs-height-titlebar);
|
|
3043
|
+
}
|
|
3044
|
+
|
|
3045
|
+
.rs-history-back {
|
|
3046
|
+
display: flex;
|
|
3047
|
+
align-items: center;
|
|
3048
|
+
justify-content: center;
|
|
3049
|
+
width: 28px;
|
|
3050
|
+
height: 28px;
|
|
3051
|
+
padding: 0;
|
|
3052
|
+
border: none;
|
|
3053
|
+
border-radius: var(--rs-radius);
|
|
3054
|
+
background: transparent;
|
|
3055
|
+
color: var(--rs-muted-foreground);
|
|
3056
|
+
cursor: pointer;
|
|
3057
|
+
transition: color 0.15s, background-color 0.15s;
|
|
3058
|
+
flex-shrink: 0;
|
|
3059
|
+
}
|
|
3060
|
+
|
|
3061
|
+
.rs-history-back:hover {
|
|
3062
|
+
color: var(--rs-foreground);
|
|
3063
|
+
background: var(--rs-surface);
|
|
3064
|
+
}
|
|
3065
|
+
|
|
3066
|
+
.rs-history-back svg {
|
|
3067
|
+
width: 16px;
|
|
3068
|
+
height: 16px;
|
|
3069
|
+
}
|
|
3070
|
+
|
|
3071
|
+
.rs-history-header-title {
|
|
3072
|
+
flex: 1;
|
|
3073
|
+
font-size: 14px;
|
|
3074
|
+
font-weight: 600;
|
|
3075
|
+
color: var(--rs-foreground);
|
|
3076
|
+
letter-spacing: -0.01em;
|
|
3077
|
+
}
|
|
3078
|
+
|
|
3079
|
+
.rs-history-header-spacer {
|
|
3080
|
+
width: 28px;
|
|
3081
|
+
flex-shrink: 0;
|
|
3082
|
+
}
|
|
3083
|
+
|
|
3084
|
+
/* Scrollable body */
|
|
3085
|
+
|
|
3086
|
+
.rs-history-body {
|
|
3087
|
+
flex: 1;
|
|
3088
|
+
overflow-y: auto;
|
|
3089
|
+
min-height: 0;
|
|
3090
|
+
}
|
|
3091
|
+
|
|
3092
|
+
.rs-history-body::-webkit-scrollbar {
|
|
3093
|
+
width: 4px;
|
|
3094
|
+
}
|
|
3095
|
+
|
|
3096
|
+
.rs-history-body::-webkit-scrollbar-thumb {
|
|
3097
|
+
background: var(--rs-border);
|
|
3098
|
+
border-radius: 2px;
|
|
3099
|
+
}
|
|
3100
|
+
|
|
3101
|
+
/* State screens (loading, empty, error) */
|
|
3102
|
+
|
|
3103
|
+
.rs-history-state {
|
|
3104
|
+
display: flex;
|
|
3105
|
+
flex-direction: column;
|
|
3106
|
+
align-items: center;
|
|
3107
|
+
justify-content: center;
|
|
3108
|
+
gap: 10px;
|
|
3109
|
+
padding: 56px 24px;
|
|
3110
|
+
text-align: center;
|
|
3111
|
+
}
|
|
3112
|
+
|
|
3113
|
+
.rs-history-spinner {
|
|
3114
|
+
width: 24px;
|
|
3115
|
+
height: 24px;
|
|
3116
|
+
color: var(--rs-muted-foreground);
|
|
3117
|
+
animation: rs-spinner 1s linear infinite;
|
|
3118
|
+
}
|
|
3119
|
+
|
|
3120
|
+
.rs-history-spinner svg {
|
|
3121
|
+
width: 100%;
|
|
3122
|
+
height: 100%;
|
|
3123
|
+
}
|
|
3124
|
+
|
|
3125
|
+
.rs-history-state-icon {
|
|
3126
|
+
width: 32px;
|
|
3127
|
+
height: 32px;
|
|
3128
|
+
color: var(--rs-muted-foreground);
|
|
3129
|
+
}
|
|
3130
|
+
|
|
3131
|
+
.rs-history-state-icon--error {
|
|
3132
|
+
color: var(--rs-error);
|
|
3133
|
+
}
|
|
3134
|
+
|
|
3135
|
+
.rs-history-state-icon svg {
|
|
3136
|
+
width: 100%;
|
|
3137
|
+
height: 100%;
|
|
3138
|
+
}
|
|
3139
|
+
|
|
3140
|
+
.rs-history-state-text {
|
|
3141
|
+
font-size: 13px;
|
|
3142
|
+
font-weight: 500;
|
|
3143
|
+
color: var(--rs-muted);
|
|
3144
|
+
}
|
|
3145
|
+
|
|
3146
|
+
.rs-history-state-hint {
|
|
3147
|
+
font-size: 12px;
|
|
3148
|
+
color: var(--rs-muted-foreground);
|
|
3149
|
+
margin-top: -4px;
|
|
3150
|
+
}
|
|
3151
|
+
|
|
3152
|
+
/* List */
|
|
3153
|
+
|
|
3154
|
+
.rs-history-list {
|
|
3155
|
+
display: flex;
|
|
3156
|
+
flex-direction: column;
|
|
3157
|
+
}
|
|
3158
|
+
|
|
3159
|
+
/* Row */
|
|
3160
|
+
|
|
3161
|
+
.rs-history-row {
|
|
3162
|
+
display: flex;
|
|
3163
|
+
flex-direction: column;
|
|
3164
|
+
gap: 6px;
|
|
3165
|
+
padding: 12px 16px;
|
|
3166
|
+
border-bottom: 1px solid var(--rs-border-surface);
|
|
3167
|
+
transition: background-color 0.12s;
|
|
3168
|
+
}
|
|
3169
|
+
|
|
3170
|
+
.rs-history-row:last-child {
|
|
3171
|
+
border-bottom: none;
|
|
3172
|
+
}
|
|
3173
|
+
|
|
3174
|
+
.rs-history-row:hover {
|
|
3175
|
+
background: var(--rs-background-secondary);
|
|
3176
|
+
}
|
|
3177
|
+
|
|
3178
|
+
/* Row primary: route + status */
|
|
3179
|
+
|
|
3180
|
+
.rs-history-row-primary {
|
|
3181
|
+
display: flex;
|
|
3182
|
+
align-items: center;
|
|
3183
|
+
justify-content: space-between;
|
|
3184
|
+
gap: 8px;
|
|
3185
|
+
}
|
|
3186
|
+
|
|
3187
|
+
/* Chain route with icons */
|
|
3188
|
+
|
|
3189
|
+
.rs-history-route {
|
|
3190
|
+
display: flex;
|
|
3191
|
+
align-items: center;
|
|
3192
|
+
gap: 6px;
|
|
3193
|
+
min-width: 0;
|
|
3194
|
+
}
|
|
3195
|
+
|
|
3196
|
+
.rs-history-chain {
|
|
3197
|
+
display: inline-flex;
|
|
3198
|
+
align-items: center;
|
|
3199
|
+
gap: 5px;
|
|
3200
|
+
min-width: 0;
|
|
3201
|
+
}
|
|
3202
|
+
|
|
3203
|
+
.rs-history-chain-icon {
|
|
3204
|
+
width: 18px;
|
|
3205
|
+
height: 18px;
|
|
3206
|
+
border-radius: 4px;
|
|
3207
|
+
flex-shrink: 0;
|
|
3208
|
+
object-fit: cover;
|
|
3209
|
+
}
|
|
3210
|
+
|
|
3211
|
+
.rs-history-chain-name {
|
|
3212
|
+
font-size: 13px;
|
|
3213
|
+
font-weight: 500;
|
|
3214
|
+
color: var(--rs-foreground);
|
|
3215
|
+
white-space: nowrap;
|
|
3216
|
+
overflow: hidden;
|
|
3217
|
+
text-overflow: ellipsis;
|
|
3218
|
+
}
|
|
3219
|
+
|
|
3220
|
+
.rs-history-route-arrow {
|
|
3221
|
+
width: 12px;
|
|
3222
|
+
height: 12px;
|
|
3223
|
+
color: var(--rs-muted-foreground);
|
|
3224
|
+
flex-shrink: 0;
|
|
3225
|
+
}
|
|
3226
|
+
|
|
3227
|
+
/* Status with dot indicator */
|
|
3228
|
+
|
|
3229
|
+
.rs-history-status {
|
|
3230
|
+
display: inline-flex;
|
|
3231
|
+
align-items: center;
|
|
3232
|
+
gap: 5px;
|
|
3233
|
+
font-size: 11px;
|
|
3234
|
+
font-weight: 500;
|
|
3235
|
+
letter-spacing: 0.01em;
|
|
3236
|
+
line-height: 1;
|
|
3237
|
+
white-space: nowrap;
|
|
3238
|
+
flex-shrink: 0;
|
|
3239
|
+
}
|
|
3240
|
+
|
|
3241
|
+
.rs-history-dot {
|
|
3242
|
+
width: 6px;
|
|
3243
|
+
height: 6px;
|
|
3244
|
+
border-radius: 50%;
|
|
3245
|
+
flex-shrink: 0;
|
|
3246
|
+
}
|
|
3247
|
+
|
|
3248
|
+
.rs-history-dot--pending {
|
|
3249
|
+
background: var(--color-amber8);
|
|
3250
|
+
}
|
|
3251
|
+
|
|
3252
|
+
.rs-history-dot--processing {
|
|
3253
|
+
background: var(--color-blue9);
|
|
3254
|
+
animation: rs-history-dot-pulse 1.5s ease-in-out infinite;
|
|
3255
|
+
}
|
|
3256
|
+
|
|
3257
|
+
.rs-history-dot--completed {
|
|
3258
|
+
background: var(--color-green9);
|
|
3259
|
+
}
|
|
3260
|
+
|
|
3261
|
+
.rs-history-dot--failed {
|
|
3262
|
+
background: var(--color-red9);
|
|
3263
|
+
}
|
|
3264
|
+
|
|
3265
|
+
@keyframes rs-history-dot-pulse {
|
|
3266
|
+
0%, 100% { opacity: 1; }
|
|
3267
|
+
50% { opacity: 0.4; }
|
|
3268
|
+
}
|
|
3269
|
+
|
|
3270
|
+
.rs-history-status--completed {
|
|
3271
|
+
color: var(--color-green10);
|
|
3272
|
+
}
|
|
3273
|
+
|
|
3274
|
+
.rs-history-status--failed {
|
|
3275
|
+
color: var(--color-red10);
|
|
3276
|
+
}
|
|
3277
|
+
|
|
3278
|
+
.rs-history-status--processing {
|
|
3279
|
+
color: var(--color-blue11);
|
|
3280
|
+
}
|
|
3281
|
+
|
|
3282
|
+
.rs-history-status--pending {
|
|
3283
|
+
color: var(--color-amber8);
|
|
3284
|
+
}
|
|
3285
|
+
|
|
3286
|
+
/* Row secondary: amount + time */
|
|
3287
|
+
|
|
3288
|
+
.rs-history-row-secondary {
|
|
3289
|
+
display: flex;
|
|
3290
|
+
align-items: baseline;
|
|
3291
|
+
justify-content: space-between;
|
|
3292
|
+
gap: 8px;
|
|
3293
|
+
}
|
|
3294
|
+
|
|
3295
|
+
.rs-history-amount {
|
|
3296
|
+
font-size: 12px;
|
|
3297
|
+
color: var(--rs-muted);
|
|
3298
|
+
white-space: nowrap;
|
|
3299
|
+
overflow: hidden;
|
|
3300
|
+
text-overflow: ellipsis;
|
|
3301
|
+
min-width: 0;
|
|
3302
|
+
}
|
|
3303
|
+
|
|
3304
|
+
.rs-history-token {
|
|
3305
|
+
font-weight: 500;
|
|
3306
|
+
color: var(--rs-foreground);
|
|
3307
|
+
}
|
|
3308
|
+
|
|
3309
|
+
.rs-history-token-target {
|
|
3310
|
+
color: var(--rs-muted-foreground);
|
|
3311
|
+
}
|
|
3312
|
+
|
|
3313
|
+
.rs-history-no-amount {
|
|
3314
|
+
color: var(--rs-muted-foreground);
|
|
3315
|
+
}
|
|
3316
|
+
|
|
3317
|
+
.rs-history-time {
|
|
3318
|
+
font-size: 11px;
|
|
3319
|
+
color: var(--rs-muted-foreground);
|
|
3320
|
+
white-space: nowrap;
|
|
3321
|
+
flex-shrink: 0;
|
|
3322
|
+
}
|
|
3323
|
+
|
|
3324
|
+
/* Tx hash links */
|
|
3325
|
+
|
|
3326
|
+
.rs-history-row-links {
|
|
3327
|
+
display: flex;
|
|
3328
|
+
align-items: center;
|
|
3329
|
+
gap: 6px;
|
|
3330
|
+
margin-top: 1px;
|
|
3331
|
+
}
|
|
3332
|
+
|
|
3333
|
+
.rs-history-tx-link {
|
|
3334
|
+
display: inline-flex;
|
|
3335
|
+
align-items: center;
|
|
3336
|
+
gap: 3px;
|
|
3337
|
+
padding: 2px 6px;
|
|
3338
|
+
border-radius: 4px;
|
|
3339
|
+
background: var(--rs-surface);
|
|
3340
|
+
color: var(--rs-muted-foreground);
|
|
3341
|
+
text-decoration: none;
|
|
3342
|
+
transition: color 0.12s, background-color 0.12s;
|
|
3343
|
+
cursor: pointer;
|
|
3344
|
+
}
|
|
3345
|
+
|
|
3346
|
+
.rs-history-tx-link:hover {
|
|
3347
|
+
color: var(--rs-foreground);
|
|
3348
|
+
background: var(--rs-surface-hover);
|
|
3349
|
+
}
|
|
3350
|
+
|
|
3351
|
+
.rs-history-tx-hash {
|
|
3352
|
+
font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
|
|
3353
|
+
font-size: 10px;
|
|
3354
|
+
letter-spacing: 0.01em;
|
|
3355
|
+
}
|
|
3356
|
+
|
|
3357
|
+
.rs-history-ext-icon {
|
|
3358
|
+
width: 10px;
|
|
3359
|
+
height: 10px;
|
|
3360
|
+
flex-shrink: 0;
|
|
3361
|
+
opacity: 0.5;
|
|
3362
|
+
}
|
|
3363
|
+
|
|
3364
|
+
.rs-history-tx-link:hover .rs-history-ext-icon {
|
|
3365
|
+
opacity: 1;
|
|
3366
|
+
}
|
|
3367
|
+
|
|
3368
|
+
/* Load more */
|
|
3369
|
+
|
|
3370
|
+
.rs-history-load-more {
|
|
3371
|
+
display: flex;
|
|
3372
|
+
align-items: center;
|
|
3373
|
+
justify-content: center;
|
|
3374
|
+
margin: 4px 16px 12px;
|
|
3375
|
+
padding: 8px 16px;
|
|
3376
|
+
border: 1px solid var(--rs-border-surface);
|
|
3377
|
+
border-radius: var(--rs-radius);
|
|
3378
|
+
background: transparent;
|
|
3379
|
+
color: var(--rs-muted);
|
|
3380
|
+
font-size: 12px;
|
|
3381
|
+
font-weight: 500;
|
|
3382
|
+
font-family: inherit;
|
|
3383
|
+
cursor: pointer;
|
|
3384
|
+
transition: color 0.15s, background-color 0.15s, border-color 0.15s;
|
|
3385
|
+
}
|
|
3386
|
+
|
|
3387
|
+
.rs-history-load-more:hover:not(:disabled) {
|
|
3388
|
+
color: var(--rs-foreground);
|
|
3389
|
+
background: var(--rs-background-secondary);
|
|
3390
|
+
border-color: var(--rs-border);
|
|
3391
|
+
}
|
|
3392
|
+
|
|
3393
|
+
.rs-history-load-more:disabled {
|
|
3394
|
+
opacity: 0.5;
|
|
3395
|
+
cursor: not-allowed;
|
|
3396
|
+
}
|
package/dist/withdraw.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var _chunk75LRORPOcjs = require('./chunk-75LRORPO.cjs');
|
|
4
|
+
require('./chunk-JZWCK7C3.cjs');
|
|
5
5
|
require('./chunk-R6U6BHCV.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.WithdrawModal =
|
|
8
|
+
exports.WithdrawModal = _chunk75LRORPOcjs.WithdrawModal;
|
package/dist/withdraw.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { k as WithdrawModalProps } from './types-
|
|
3
|
-
export { A as AssetOption, a as ConnectedEventData, E as ErrorEventData, W as WithdrawCompleteEventData, j as WithdrawFailedEventData, l as WithdrawSubmittedEventData } from './types-
|
|
2
|
+
import { k as WithdrawModalProps } from './types-DjaZ9sa8.cjs';
|
|
3
|
+
export { A as AssetOption, a as ConnectedEventData, E as ErrorEventData, W as WithdrawCompleteEventData, j as WithdrawFailedEventData, l as WithdrawSubmittedEventData } from './types-DjaZ9sa8.cjs';
|
|
4
4
|
export { SafeTransactionRequest } from './safe.cjs';
|
|
5
5
|
import 'viem';
|
|
6
6
|
|
package/dist/withdraw.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { k as WithdrawModalProps } from './types-
|
|
3
|
-
export { A as AssetOption, a as ConnectedEventData, E as ErrorEventData, W as WithdrawCompleteEventData, j as WithdrawFailedEventData, l as WithdrawSubmittedEventData } from './types-
|
|
2
|
+
import { k as WithdrawModalProps } from './types-ymKENnUK.js';
|
|
3
|
+
export { A as AssetOption, a as ConnectedEventData, E as ErrorEventData, W as WithdrawCompleteEventData, j as WithdrawFailedEventData, l as WithdrawSubmittedEventData } from './types-ymKENnUK.js';
|
|
4
4
|
export { SafeTransactionRequest } from './safe.js';
|
|
5
5
|
import 'viem';
|
|
6
6
|
|
package/dist/withdraw.mjs
CHANGED