@rhinestone/deposit-modal 0.3.0-alpha.6 → 0.3.0-alpha.8

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.
Files changed (38) hide show
  1. package/dist/{DepositModalReown-SBSP5ZW2.cjs → DepositModalReown-LWGABUOF.cjs} +12 -9
  2. package/dist/{DepositModalReown-3N7YYGB4.mjs → DepositModalReown-TYHATVOM.mjs} +9 -6
  3. package/dist/{WithdrawModalReown-4B6IMTBB.cjs → WithdrawModalReown-FCWED55P.cjs} +7 -7
  4. package/dist/{WithdrawModalReown-BB3MZAIO.mjs → WithdrawModalReown-H7HA3JP3.mjs} +4 -4
  5. package/dist/{chunk-CTYKQ4B4.mjs → chunk-5ZS4ZJPW.mjs} +272 -145
  6. package/dist/chunk-7JIDIX27.cjs +554 -0
  7. package/dist/{chunk-QI6Q7V6O.mjs → chunk-DW276H63.mjs} +26 -34
  8. package/dist/{chunk-5YXAQB6A.mjs → chunk-E46WOBZQ.mjs} +56 -16
  9. package/dist/{chunk-UVIIWUWP.cjs → chunk-GBFOGYMH.cjs} +1193 -862
  10. package/dist/{chunk-EJH36TH2.mjs → chunk-H7QMSMM5.mjs} +1247 -916
  11. package/dist/{chunk-YQFH2WSW.cjs → chunk-PKD7W5JG.cjs} +54 -14
  12. package/dist/chunk-SZIYS42B.mjs +554 -0
  13. package/dist/{chunk-BB6UVRAV.cjs → chunk-U3OLJZBT.cjs} +110 -118
  14. package/dist/{chunk-DX2D2TRZ.cjs → chunk-UELVNPGE.cjs} +312 -185
  15. package/dist/constants-DqVn968d.d.cts +52 -0
  16. package/dist/constants-DqVn968d.d.ts +52 -0
  17. package/dist/constants.cjs +8 -2
  18. package/dist/constants.d.cts +17 -48
  19. package/dist/constants.d.ts +17 -48
  20. package/dist/constants.mjs +7 -1
  21. package/dist/deposit.cjs +4 -4
  22. package/dist/deposit.d.cts +2 -2
  23. package/dist/deposit.d.ts +2 -2
  24. package/dist/deposit.mjs +3 -3
  25. package/dist/index.cjs +6 -6
  26. package/dist/index.d.cts +2 -2
  27. package/dist/index.d.ts +2 -2
  28. package/dist/index.mjs +5 -5
  29. package/dist/styles.css +180 -34
  30. package/dist/{types-xSHZSlrT.d.cts → types-D8Q4TMk7.d.cts} +17 -5
  31. package/dist/{types-xSHZSlrT.d.ts → types-D8Q4TMk7.d.ts} +17 -5
  32. package/dist/withdraw.cjs +4 -4
  33. package/dist/withdraw.d.cts +2 -2
  34. package/dist/withdraw.d.ts +2 -2
  35. package/dist/withdraw.mjs +3 -3
  36. package/package.json +5 -5
  37. package/dist/chunk-IVTXEYB2.cjs +0 -507
  38. package/dist/chunk-VA3ANS7D.mjs +0 -507
package/dist/styles.css CHANGED
@@ -61,6 +61,9 @@
61
61
  --rs-surface-subtle: #fcfbfb;
62
62
  --rs-surface: var(--color-gray3);
63
63
  --rs-surface-hover: var(--color-gray4);
64
+ /* Figma coin-select/selected — zinc-100 fill + zinc-300 border. */
65
+ --rs-asset-selected-bg: #f4f4f5;
66
+ --rs-asset-selected-border: #d4d4d8;
64
67
  /* Figma: icon-wrapper tokens. Same as surface in light, but dark mode
65
68
  diverges so we keep them separate. */
66
69
  --rs-icon-wrapper-bg: #f4f4f5;
@@ -89,11 +92,23 @@
89
92
 
90
93
  --rs-success: var(--color-green9);
91
94
  --rs-success-tint: var(--color-green3);
95
+ /* Figma alert palette — alert/red (error) + alert/amber (warning). Amber
96
+ has no distinct border token in the design, so its border matches its bg. */
92
97
  --rs-error: #fb2c36;
93
- --rs-error-tint: var(--color-red3);
94
- --rs-warning: var(--color-amber11);
95
- --rs-warning-tint: var(--color-amber3);
96
- --rs-warning-border: rgba(146, 64, 14, 0.18);
98
+ --rs-error-tint: #fef2f2;
99
+ --rs-error-border: #ffc9c9;
100
+ --rs-warning: #7b3306;
101
+ --rs-warning-tint: #fee685;
102
+ --rs-warning-border: #fee685;
103
+ /* Callout (generic error/warning notice) — lighter translucent "glass"
104
+ tints so the modal surface shows through. Kept separate from the solid
105
+ alert palette above, which input-error states and badges still use. */
106
+ --rs-callout-error-bg: rgba(251, 44, 54, 0.07);
107
+ --rs-callout-error-border: rgba(251, 44, 54, 0.18);
108
+ --rs-callout-error-text: #e7000b;
109
+ --rs-callout-warning-bg: rgba(245, 158, 11, 0.12);
110
+ --rs-callout-warning-border: rgba(245, 158, 11, 0.24);
111
+ --rs-callout-warning-text: #b45309;
97
112
 
98
113
  --rs-foreground: var(--color-gray12);
99
114
  --rs-muted: var(--color-gray10);
@@ -107,8 +122,9 @@
107
122
  --rs-secondary: var(--color-gray3);
108
123
  --rs-secondary-hover: var(--color-gray4);
109
124
 
110
- --rs-shadow-dropdown:
111
- 0 4px 12px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.06);
125
+ /* Figma: dropdown/select menu uses a tight 0/2/4 shadow at 0.25 so it
126
+ reads on every edge (including the side that sits against the modal). */
127
+ --rs-shadow-dropdown: 0 2px 4px rgba(0, 0, 0, 0.25);
112
128
 
113
129
  /* Sizing */
114
130
  --rs-height-button: 42px;
@@ -203,6 +219,9 @@
203
219
  --rs-button-ghost-bg-hover: #3f3f46;
204
220
  --rs-button-ghost-text: #e4e4e7;
205
221
  --rs-surface-hover: #3f3f46;
222
+ /* Figma coin-select/selected (dark) — zinc-900 fill + zinc-700 border. */
223
+ --rs-asset-selected-bg: #18181b;
224
+ --rs-asset-selected-border: #3f3f46;
206
225
  /* Figma button-dark in dark mode: zinc-200 disc, near-black label. */
207
226
  --rs-primary: #e4e4e7;
208
227
  --rs-primary-hover: #d4d4d8;
@@ -215,7 +234,20 @@
215
234
  --rs-shadow-dropdown:
216
235
  0 4px 20px rgba(0, 0, 0, 0.6), 0 1px 4px rgba(0, 0, 0, 0.4);
217
236
 
218
- --rs-warning-border: rgba(252, 211, 77, 0.22);
237
+ /* Figma alert palette (dark) alert/red red-950 bg / red-800 border,
238
+ alert/amber amber-600 bg / amber-50 text (border matches bg). */
239
+ --rs-error-tint: #460809;
240
+ --rs-error-border: #9f0712;
241
+ --rs-warning: #fffbeb;
242
+ --rs-warning-tint: #e17100;
243
+ --rs-warning-border: #e17100;
244
+ /* Callout glass tints (dark) — translucent over the near-black surface. */
245
+ --rs-callout-error-bg: rgba(251, 44, 54, 0.13);
246
+ --rs-callout-error-border: rgba(251, 44, 54, 0.3);
247
+ --rs-callout-error-text: #ff6467;
248
+ --rs-callout-warning-bg: rgba(245, 158, 11, 0.13);
249
+ --rs-callout-warning-border: rgba(245, 158, 11, 0.28);
250
+ --rs-callout-warning-text: #fcd34d;
219
251
 
220
252
  color-scheme: dark;
221
253
  }
@@ -334,6 +366,13 @@
334
366
  min-height: 280px;
335
367
  overflow-y: auto;
336
368
  overscroll-behavior: none;
369
+ /* overflow-y:auto forces overflow-x to clip too, which would cut the left/
370
+ right shadow of absolutely-positioned popups (e.g. the chain/token select
371
+ menus) that sit flush against this scroll container's edge. Pull the box
372
+ out to the modal's padding edge and pad it back so content stays put but
373
+ the clip region gains room for the popup shadow to render. */
374
+ margin-inline: -16px;
375
+ padding-inline: 16px;
337
376
  }
338
377
 
339
378
  .rs-modal-body::-webkit-scrollbar {
@@ -678,8 +717,10 @@
678
717
 
679
718
  .rs-info-panel-value {
680
719
  font-family:
681
- ui-monospace, SFMono-Regular, "SF Mono", Menlo, Monaco, Consolas, monospace;
720
+ "Geist Mono", ui-monospace, SFMono-Regular, "SF Mono", Menlo, Monaco,
721
+ Consolas, monospace;
682
722
  font-size: 12px;
723
+ font-weight: 500;
683
724
  color: var(--rs-foreground);
684
725
  }
685
726
 
@@ -731,8 +772,10 @@
731
772
 
732
773
  .rs-card-value--mono {
733
774
  font-family:
734
- ui-monospace, SFMono-Regular, "SF Mono", Menlo, Monaco, Consolas, monospace;
775
+ "Geist Mono", ui-monospace, SFMono-Regular, "SF Mono", Menlo, Monaco,
776
+ Consolas, monospace;
735
777
  font-size: 12px;
778
+ font-weight: 500;
736
779
  }
737
780
 
738
781
  .rs-card-value--accent {
@@ -933,9 +976,14 @@
933
976
  outline-offset: 2px;
934
977
  }
935
978
 
979
+ /* Figma coin-select/selected: zinc-100 fill + 1px zinc-300 border (dark:
980
+ zinc-900 fill + zinc-700 border). The inset box-shadow draws the border
981
+ without shifting layout. Listed with :hover so the selected fill persists
982
+ when the row is hovered (a bare :hover out-specifies a single class). */
936
983
  .rs-asset-row--selected,
937
984
  .rs-asset-row--selected:hover:not(:disabled) {
938
- background-color: var(--rs-surface);
985
+ background-color: var(--rs-asset-selected-bg);
986
+ box-shadow: inset 0 0 0 1px var(--rs-asset-selected-border);
939
987
  }
940
988
 
941
989
  .rs-asset-info {
@@ -1013,14 +1061,14 @@
1013
1061
  }
1014
1062
 
1015
1063
  .rs-asset-name {
1016
- font-size: 16px;
1064
+ font-size: 14px;
1017
1065
  font-weight: 700;
1018
1066
  color: var(--rs-foreground);
1019
1067
  line-height: normal;
1020
1068
  }
1021
1069
 
1022
1070
  .rs-asset-chain {
1023
- font-size: 14px;
1071
+ font-size: 12px;
1024
1072
  font-weight: 500;
1025
1073
  color: var(--rs-muted);
1026
1074
  line-height: normal;
@@ -1182,7 +1230,8 @@
1182
1230
 
1183
1231
  .rs-font-mono {
1184
1232
  font-family:
1185
- ui-monospace, SFMono-Regular, "SF Mono", Menlo, Monaco, Consolas, monospace;
1233
+ "Geist Mono", ui-monospace, SFMono-Regular, "SF Mono", Menlo, Monaco,
1234
+ Consolas, monospace;
1186
1235
  }
1187
1236
 
1188
1237
  .rs-mt-2 {
@@ -1663,13 +1712,15 @@
1663
1712
  }
1664
1713
 
1665
1714
  /* Inline "Disconnect" pill that sits inside a connected-wallet ListRow's
1666
- meta slot. Figma: 14/Medium text, padded 12/16, transparent background
1667
- so the row's surface shows through. */
1715
+ meta slot. 14/Medium text, transparent background so the row's surface
1716
+ shows through. Vertical padding stays under the 36px title+subtitle block
1717
+ so the pill never inflates the row past the 60px the other method cards
1718
+ use — keeps Transfer crypto / External wallet / Polymarket rows uniform. */
1668
1719
  .rs-list-row-action {
1669
1720
  appearance: none;
1670
1721
  border: none;
1671
1722
  background: transparent;
1672
- padding: 12px 16px;
1723
+ padding: 8px 12px;
1673
1724
  border-radius: 8px;
1674
1725
  font-family: inherit;
1675
1726
  font-size: 14px;
@@ -2005,30 +2056,67 @@
2005
2056
  font-feature-settings: "tnum";
2006
2057
  }
2007
2058
 
2008
- .rs-amount-input-row > input {
2059
+ .rs-amount-prefix {
2060
+ flex: none;
2061
+ user-select: none;
2062
+ }
2063
+
2064
+ /* The number wrapper layers the real <input> transparently over a visual
2065
+ glyph layer so the caret/editing stays native while the visible digits
2066
+ are the ones we animate. Sized by the visual layer; the input fills it. */
2067
+ .rs-amount-number-wrap {
2068
+ position: relative;
2009
2069
  flex: 1;
2010
2070
  min-width: 0;
2071
+ }
2072
+
2073
+ .rs-amount-number-wrap > input {
2074
+ position: absolute;
2075
+ inset: 0;
2011
2076
  width: 100%;
2077
+ height: 100%;
2012
2078
  background: transparent;
2013
2079
  border: none;
2014
2080
  outline: none;
2015
2081
  font: inherit;
2016
- color: inherit;
2082
+ color: transparent;
2017
2083
  font-feature-settings: "tnum";
2018
2084
  padding: 0;
2019
2085
  caret-color: var(--rs-foreground);
2020
2086
  }
2021
2087
 
2022
- .rs-amount-input-row > input::placeholder {
2023
- color: var(--rs-muted);
2088
+ .rs-amount-number-wrap > input::placeholder {
2089
+ color: transparent;
2024
2090
  }
2025
2091
 
2026
- .rs-amount-input-row > input::-webkit-outer-spin-button,
2027
- .rs-amount-input-row > input::-webkit-inner-spin-button {
2092
+ .rs-amount-number-wrap > input::-webkit-outer-spin-button,
2093
+ .rs-amount-number-wrap > input::-webkit-inner-spin-button {
2028
2094
  -webkit-appearance: none;
2029
2095
  margin: 0;
2030
2096
  }
2031
2097
 
2098
+ .rs-amount-visual {
2099
+ pointer-events: none;
2100
+ display: flex;
2101
+ align-items: center;
2102
+ font-feature-settings: "tnum";
2103
+ }
2104
+
2105
+ .rs-amount-char-slot {
2106
+ display: inline-block;
2107
+ overflow: hidden;
2108
+ height: 1em;
2109
+ line-height: 1;
2110
+ }
2111
+
2112
+ .rs-amount-char-inner {
2113
+ display: block;
2114
+ }
2115
+
2116
+ .rs-amount-visual--placeholder {
2117
+ color: var(--rs-muted);
2118
+ }
2119
+
2032
2120
  .rs-amount-meta {
2033
2121
  display: flex;
2034
2122
  align-items: center;
@@ -2267,6 +2355,54 @@
2267
2355
  border: 1px solid var(--rs-warning-border);
2268
2356
  }
2269
2357
 
2358
+ /* Generic inline error / warning notice (Callout). Two-line truncation keeps
2359
+ long messages from blowing out the modal height. */
2360
+ .rs-callout {
2361
+ display: flex;
2362
+ align-items: flex-start;
2363
+ gap: 8px;
2364
+ padding: 10px 12px;
2365
+ border-radius: var(--rs-radius-sm);
2366
+ border: 1px solid transparent;
2367
+ font-size: 13px;
2368
+ font-weight: 500;
2369
+ line-height: 16px;
2370
+ }
2371
+
2372
+ .rs-callout-icon {
2373
+ flex-shrink: 0;
2374
+ width: 16px;
2375
+ height: 16px;
2376
+ display: inline-flex;
2377
+ }
2378
+
2379
+ .rs-callout-icon svg {
2380
+ width: 16px;
2381
+ height: 16px;
2382
+ display: block;
2383
+ }
2384
+
2385
+ .rs-callout-text {
2386
+ min-width: 0;
2387
+ display: -webkit-box;
2388
+ -webkit-box-orient: vertical;
2389
+ -webkit-line-clamp: 2;
2390
+ line-clamp: 2;
2391
+ overflow: hidden;
2392
+ }
2393
+
2394
+ .rs-callout--error {
2395
+ background: var(--rs-callout-error-bg);
2396
+ border-color: var(--rs-callout-error-border);
2397
+ color: var(--rs-callout-error-text);
2398
+ }
2399
+
2400
+ .rs-callout--warning {
2401
+ background: var(--rs-callout-warning-bg);
2402
+ border-color: var(--rs-callout-warning-border);
2403
+ color: var(--rs-callout-warning-text);
2404
+ }
2405
+
2270
2406
  /* =============================================================================
2271
2407
  Confirm Step Redesign (Polymarket Style)
2272
2408
  ============================================================================= */
@@ -2385,17 +2521,6 @@
2385
2521
  Withdraw Form Step
2386
2522
  ============================================================================= */
2387
2523
 
2388
- .rs-withdraw-form {
2389
- padding: 16px;
2390
- display: flex;
2391
- flex-direction: column;
2392
- gap: 16px;
2393
- }
2394
-
2395
- .rs-step-body.rs-withdraw-loading {
2396
- padding: 0 12px;
2397
- }
2398
-
2399
2524
  .rs-withdraw-loading {
2400
2525
  min-height: 240px;
2401
2526
  display: grid;
@@ -3100,7 +3225,7 @@
3100
3225
  background: var(--rs-surface-subtle);
3101
3226
  border: 1px solid var(--rs-surface-subtle);
3102
3227
  border-radius: var(--rs-radius-sm);
3103
- box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
3228
+ box-shadow: var(--rs-shadow-dropdown);
3104
3229
  padding: 12px;
3105
3230
  display: flex;
3106
3231
  flex-direction: column;
@@ -3149,6 +3274,27 @@
3149
3274
  border-radius: 8px;
3150
3275
  }
3151
3276
 
3277
+ /* Mid-refetch: dim the address/QR and block interaction so a stale
3278
+ registration can't be copied or scanned until setup is ready again. */
3279
+ .rs-deposit-address-well--updating {
3280
+ opacity: 0.4;
3281
+ pointer-events: none;
3282
+ filter: grayscale(0.3);
3283
+ transition: opacity 0.15s;
3284
+ }
3285
+
3286
+ .rs-deposit-address-updating {
3287
+ display: flex;
3288
+ align-items: center;
3289
+ justify-content: center;
3290
+ gap: 8px;
3291
+ width: 100%;
3292
+ padding: 10px 12px;
3293
+ font-size: 14px;
3294
+ font-weight: 500;
3295
+ color: var(--rs-muted);
3296
+ }
3297
+
3152
3298
  .rs-deposit-address-qr {
3153
3299
  display: flex;
3154
3300
  align-items: center;
@@ -111,7 +111,7 @@ interface DepositCompleteEventData {
111
111
  amount: string;
112
112
  sourceChain: ChainId | "unknown";
113
113
  sourceToken?: string;
114
- targetChain: number;
114
+ targetChain: number | "solana";
115
115
  targetToken: string;
116
116
  }
117
117
  interface DepositFailedEventData {
@@ -157,16 +157,28 @@ interface DepositModalProps {
157
157
  dappWalletClient?: WalletClient | null;
158
158
  dappPublicClient?: PublicClient | null;
159
159
  dappAddress?: Address | null;
160
- targetChain: Chain | number;
161
- targetToken: Address;
160
+ targetChain: Chain | number | "solana";
161
+ targetToken: Address | string;
162
162
  isOpen: boolean;
163
163
  onClose: () => void;
164
164
  inline?: boolean;
165
165
  closeOnOverlayClick?: boolean;
166
166
  sourceChain?: Chain | number;
167
167
  sourceToken?: Address;
168
+ /**
169
+ * Pre-fills the deposit amount. Either a USD-denominated number string
170
+ * (e.g. "25") or the case-insensitive sentinel `"max"`, which fills the
171
+ * full available balance once it loads (same as the Max preset).
172
+ */
168
173
  defaultAmount?: string;
169
- recipient: Address;
174
+ recipient: Address | string;
175
+ /**
176
+ * The user's current in-app balance, in USD, as the consuming app displays
177
+ * it. When provided, the amount screen shows a "Balance after deposit" row
178
+ * (`appBalanceUsd + amount`) so the user sees their post-deposit app
179
+ * balance. The row is hidden when this is omitted.
180
+ */
181
+ appBalanceUsd?: number;
170
182
  postBridgeActions?: PostBridgeAction[];
171
183
  outputTokenRules?: OutputTokenRule[];
172
184
  rejectUnmapped?: boolean;
@@ -272,7 +284,7 @@ type DepositLifecycleEvent = {
272
284
  amount: string;
273
285
  sourceChain: ChainId | "unknown";
274
286
  sourceToken?: string;
275
- targetChain: number;
287
+ targetChain: number | "solana";
276
288
  targetToken: string;
277
289
  } | {
278
290
  type: "failed";
@@ -111,7 +111,7 @@ interface DepositCompleteEventData {
111
111
  amount: string;
112
112
  sourceChain: ChainId | "unknown";
113
113
  sourceToken?: string;
114
- targetChain: number;
114
+ targetChain: number | "solana";
115
115
  targetToken: string;
116
116
  }
117
117
  interface DepositFailedEventData {
@@ -157,16 +157,28 @@ interface DepositModalProps {
157
157
  dappWalletClient?: WalletClient | null;
158
158
  dappPublicClient?: PublicClient | null;
159
159
  dappAddress?: Address | null;
160
- targetChain: Chain | number;
161
- targetToken: Address;
160
+ targetChain: Chain | number | "solana";
161
+ targetToken: Address | string;
162
162
  isOpen: boolean;
163
163
  onClose: () => void;
164
164
  inline?: boolean;
165
165
  closeOnOverlayClick?: boolean;
166
166
  sourceChain?: Chain | number;
167
167
  sourceToken?: Address;
168
+ /**
169
+ * Pre-fills the deposit amount. Either a USD-denominated number string
170
+ * (e.g. "25") or the case-insensitive sentinel `"max"`, which fills the
171
+ * full available balance once it loads (same as the Max preset).
172
+ */
168
173
  defaultAmount?: string;
169
- recipient: Address;
174
+ recipient: Address | string;
175
+ /**
176
+ * The user's current in-app balance, in USD, as the consuming app displays
177
+ * it. When provided, the amount screen shows a "Balance after deposit" row
178
+ * (`appBalanceUsd + amount`) so the user sees their post-deposit app
179
+ * balance. The row is hidden when this is omitted.
180
+ */
181
+ appBalanceUsd?: number;
170
182
  postBridgeActions?: PostBridgeAction[];
171
183
  outputTokenRules?: OutputTokenRule[];
172
184
  rejectUnmapped?: boolean;
@@ -272,7 +284,7 @@ type DepositLifecycleEvent = {
272
284
  amount: string;
273
285
  sourceChain: ChainId | "unknown";
274
286
  sourceToken?: string;
275
- targetChain: number;
287
+ targetChain: number | "solana";
276
288
  targetToken: string;
277
289
  } | {
278
290
  type: "failed";
package/dist/withdraw.cjs CHANGED
@@ -1,8 +1,8 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkBB6UVRAVcjs = require('./chunk-BB6UVRAV.cjs');
4
- require('./chunk-DX2D2TRZ.cjs');
5
- require('./chunk-IVTXEYB2.cjs');
3
+ var _chunkU3OLJZBTcjs = require('./chunk-U3OLJZBT.cjs');
4
+ require('./chunk-UELVNPGE.cjs');
5
+ require('./chunk-7JIDIX27.cjs');
6
6
 
7
7
 
8
- exports.WithdrawModal = _chunkBB6UVRAVcjs.WithdrawModal;
8
+ exports.WithdrawModal = _chunkU3OLJZBTcjs.WithdrawModal;
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { n as WithdrawModalProps } from './types-xSHZSlrT.cjs';
3
- export { A as AssetOption, a as ConnectedEventData, E as ErrorEventData, S as SafeTransactionRequest, k as WithdrawCompleteEventData, l as WithdrawFailedEventData, o as WithdrawSubmittedEventData } from './types-xSHZSlrT.cjs';
2
+ import { n as WithdrawModalProps } from './types-D8Q4TMk7.cjs';
3
+ export { A as AssetOption, a as ConnectedEventData, E as ErrorEventData, S as SafeTransactionRequest, k as WithdrawCompleteEventData, l as WithdrawFailedEventData, o as WithdrawSubmittedEventData } from './types-D8Q4TMk7.cjs';
4
4
  import 'viem';
5
5
 
6
6
  declare function WithdrawModal(props: WithdrawModalProps): react_jsx_runtime.JSX.Element;
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { n as WithdrawModalProps } from './types-xSHZSlrT.js';
3
- export { A as AssetOption, a as ConnectedEventData, E as ErrorEventData, S as SafeTransactionRequest, k as WithdrawCompleteEventData, l as WithdrawFailedEventData, o as WithdrawSubmittedEventData } from './types-xSHZSlrT.js';
2
+ import { n as WithdrawModalProps } from './types-D8Q4TMk7.js';
3
+ export { A as AssetOption, a as ConnectedEventData, E as ErrorEventData, S as SafeTransactionRequest, k as WithdrawCompleteEventData, l as WithdrawFailedEventData, o as WithdrawSubmittedEventData } from './types-D8Q4TMk7.js';
4
4
  import 'viem';
5
5
 
6
6
  declare function WithdrawModal(props: WithdrawModalProps): react_jsx_runtime.JSX.Element;
package/dist/withdraw.mjs CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  WithdrawModal
3
- } from "./chunk-QI6Q7V6O.mjs";
4
- import "./chunk-CTYKQ4B4.mjs";
5
- import "./chunk-VA3ANS7D.mjs";
3
+ } from "./chunk-DW276H63.mjs";
4
+ import "./chunk-5ZS4ZJPW.mjs";
5
+ import "./chunk-SZIYS42B.mjs";
6
6
  export {
7
7
  WithdrawModal
8
8
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rhinestone/deposit-modal",
3
- "version": "0.3.0-alpha.6",
3
+ "version": "0.3.0-alpha.8",
4
4
  "description": "React modal component for Rhinestone cross-chain deposits",
5
5
  "author": "Rhinestone <dev@rhinestone.wtf>",
6
6
  "bugs": {
@@ -82,9 +82,9 @@
82
82
  "zustand": "^5"
83
83
  },
84
84
  "devDependencies": {
85
- "@reown/appkit": "1.8.19",
86
- "@reown/appkit-adapter-solana": "1.8.19",
87
- "@reown/appkit-adapter-wagmi": "1.8.19",
85
+ "@reown/appkit": "1.8.20",
86
+ "@reown/appkit-adapter-solana": "1.8.20",
87
+ "@reown/appkit-adapter-wagmi": "1.8.20",
88
88
  "@size-limit/preset-small-lib": "^12.0.0",
89
89
  "@solana/spl-token": "^0.4.14",
90
90
  "@solana/web3.js": "^1.98.4",
@@ -161,6 +161,6 @@
161
161
  "url": "https://github.com/rhinestonewtf/deposit-modal"
162
162
  },
163
163
  "overrides": {
164
- "@reown/appkit-common": "1.8.19"
164
+ "@reown/appkit-common": "1.8.20"
165
165
  }
166
166
  }