@rhinestone/deposit-modal 0.3.0 → 0.4.0

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 (44) hide show
  1. package/dist/{DepositModalReown-DNW4GH6L.cjs → DepositModalReown-KFTMS2WX.cjs} +9 -7
  2. package/dist/{DepositModalReown-6SUEC5IU.mjs → DepositModalReown-PC7EX5VK.mjs} +6 -4
  3. package/dist/{WithdrawModalReown-7UAGSOSU.mjs → WithdrawModalReown-BE23LUMT.mjs} +5 -4
  4. package/dist/{WithdrawModalReown-OUWBSKSM.cjs → WithdrawModalReown-Z2YF2FSJ.cjs} +8 -7
  5. package/dist/{caip-CrQ2KKU-.d.cts → caip-CsslyHGL.d.cts} +1 -1
  6. package/dist/{caip-CrQ2KKU-.d.ts → caip-CsslyHGL.d.ts} +1 -1
  7. package/dist/{chunk-33H6O5UU.cjs → chunk-3MXWIYAT.cjs} +16 -6
  8. package/dist/{chunk-KJ2RR2D4.mjs → chunk-3PVDRSJ7.mjs} +930 -682
  9. package/dist/{chunk-VVJAIMKB.cjs → chunk-7MP2UWIQ.cjs} +1091 -843
  10. package/dist/{chunk-MILJQWPT.cjs → chunk-ABVRVW3P.cjs} +133 -8
  11. package/dist/{chunk-2SMS542Q.cjs → chunk-AE5LHTPM.cjs} +122 -100
  12. package/dist/chunk-F7P4MV72.mjs +295 -0
  13. package/dist/chunk-FJWLC4AM.mjs +212 -0
  14. package/dist/{chunk-KAWJABTW.mjs → chunk-GKC22JC4.mjs} +901 -717
  15. package/dist/chunk-NRNJAQUA.cjs +212 -0
  16. package/dist/{chunk-RABZINV3.cjs → chunk-OQVLEVNR.cjs} +758 -574
  17. package/dist/chunk-UEKPBRBY.cjs +295 -0
  18. package/dist/{chunk-GPSBM66J.mjs → chunk-UFKFSGT3.mjs} +14 -4
  19. package/dist/{chunk-TKQYTBU6.mjs → chunk-WCIGOV34.mjs} +36 -14
  20. package/dist/{chunk-6YRDD462.mjs → chunk-WJX3TJFK.mjs} +135 -10
  21. package/dist/constants.cjs +2 -2
  22. package/dist/constants.d.cts +1 -1
  23. package/dist/constants.d.ts +1 -1
  24. package/dist/constants.mjs +1 -1
  25. package/dist/deposit.cjs +6 -4
  26. package/dist/deposit.d.cts +4 -4
  27. package/dist/deposit.d.ts +4 -4
  28. package/dist/deposit.mjs +5 -3
  29. package/dist/index.cjs +7 -5
  30. package/dist/index.d.cts +4 -3
  31. package/dist/index.d.ts +4 -3
  32. package/dist/index.mjs +6 -4
  33. package/dist/polymarket.cjs +64 -0
  34. package/dist/polymarket.d.cts +57 -0
  35. package/dist/polymarket.d.ts +57 -0
  36. package/dist/polymarket.mjs +64 -0
  37. package/dist/styles.css +252 -9
  38. package/dist/{types-BMcGO5k_.d.cts → types-CFRuisqK.d.cts} +10 -1
  39. package/dist/{types-BMcGO5k_.d.ts → types-CFRuisqK.d.ts} +10 -1
  40. package/dist/withdraw.cjs +5 -4
  41. package/dist/withdraw.d.cts +4 -4
  42. package/dist/withdraw.d.ts +4 -4
  43. package/dist/withdraw.mjs +4 -3
  44. package/package.json +15 -2
package/dist/styles.css CHANGED
@@ -77,6 +77,11 @@
77
77
  --rs-button-ghost-bg: #e4e4e7;
78
78
  --rs-button-ghost-bg-hover: #d4d4d8;
79
79
  --rs-button-ghost-text: #27272a;
80
+ /* Segmented toggle (Crypto/Cash) — track + raised selected pill. */
81
+ --rs-segmented-track: #e4e4e7;
82
+ --rs-segmented-active-bg: #ffffff;
83
+ --rs-segmented-active-fg: #18181b;
84
+ --rs-segmented-idle-fg: #52525c;
80
85
 
81
86
  /* Primary (CTA). Default theme uses the dark-on-light pair.
82
87
  A custom theme overrides these directly via inline CSS vars,
@@ -218,6 +223,11 @@
218
223
  --rs-button-ghost-bg: #27272a;
219
224
  --rs-button-ghost-bg-hover: #3f3f46;
220
225
  --rs-button-ghost-text: #e4e4e7;
226
+ /* Segmented toggle (Crypto/Cash) — dark track + raised selected pill. */
227
+ --rs-segmented-track: #27272a;
228
+ --rs-segmented-active-bg: #52525c;
229
+ --rs-segmented-active-fg: #fafafa;
230
+ --rs-segmented-idle-fg: #9f9fa9;
221
231
  --rs-surface-hover: #3f3f46;
222
232
  /* Figma coin-select/selected (dark) — zinc-900 fill + zinc-700 border. */
223
233
  --rs-asset-selected-bg: #18181b;
@@ -2229,6 +2239,75 @@
2229
2239
  width: 100%;
2230
2240
  }
2231
2241
 
2242
+ /* Expandable "Fees" row on the Swapped receipt. Summary matches a detail row;
2243
+ the breakdown reveals below. */
2244
+ .rs-fees-accordion {
2245
+ display: flex;
2246
+ flex-direction: column;
2247
+ }
2248
+
2249
+ .rs-fees-accordion-summary {
2250
+ display: flex;
2251
+ align-items: center;
2252
+ justify-content: space-between;
2253
+ gap: 12px;
2254
+ width: 100%;
2255
+ padding: 0;
2256
+ background: none;
2257
+ border: 0;
2258
+ font-family: inherit;
2259
+ font-size: 14px;
2260
+ font-weight: 500;
2261
+ line-height: normal;
2262
+ color: var(--rs-muted);
2263
+ cursor: pointer;
2264
+ }
2265
+
2266
+ .rs-fees-accordion-summary:disabled {
2267
+ cursor: default;
2268
+ }
2269
+
2270
+ .rs-fees-accordion-summary:focus-visible {
2271
+ outline: 2px solid var(--rs-border-accent);
2272
+ outline-offset: 2px;
2273
+ border-radius: 4px;
2274
+ }
2275
+
2276
+ .rs-fees-accordion-chevron {
2277
+ display: inline-flex;
2278
+ align-items: center;
2279
+ justify-content: center;
2280
+ color: var(--rs-muted);
2281
+ transition: transform 0.18s ease;
2282
+ }
2283
+
2284
+ .rs-fees-accordion-chevron svg {
2285
+ width: 16px;
2286
+ height: 16px;
2287
+ }
2288
+
2289
+ .rs-fees-accordion-chevron--open {
2290
+ transform: rotate(180deg);
2291
+ }
2292
+
2293
+ .rs-fees-accordion-rows {
2294
+ display: flex;
2295
+ flex-direction: column;
2296
+ gap: 8px;
2297
+ margin-top: 8px;
2298
+ }
2299
+
2300
+ .rs-fees-accordion-row {
2301
+ display: flex;
2302
+ align-items: center;
2303
+ justify-content: space-between;
2304
+ gap: 12px;
2305
+ font-size: 13px;
2306
+ font-weight: 500;
2307
+ line-height: normal;
2308
+ color: var(--rs-muted);
2309
+ }
2310
+
2232
2311
  .rs-review-detail-row {
2233
2312
  display: flex;
2234
2313
  align-items: center;
@@ -3378,6 +3457,40 @@
3378
3457
  border-radius: 8px;
3379
3458
  }
3380
3459
 
3460
+ /* DappImportAssetSelectSkeleton rows. `-fill` floods a shaped container
3461
+ (token icon / chain badge circles); `-text` mimics a one-line text block
3462
+ at the asset row's font sizes. */
3463
+ .rs-skeleton-fill {
3464
+ display: block;
3465
+ width: 100%;
3466
+ height: 100%;
3467
+ border-radius: inherit;
3468
+ }
3469
+
3470
+ .rs-skeleton-text {
3471
+ display: inline-block;
3472
+ height: 12px;
3473
+ border-radius: 6px;
3474
+ }
3475
+
3476
+ .rs-skeleton-text--name {
3477
+ width: 96px;
3478
+ height: 14px;
3479
+ }
3480
+
3481
+ .rs-skeleton-text--balance {
3482
+ width: 64px;
3483
+ }
3484
+
3485
+ .rs-skeleton-text--usd {
3486
+ width: 48px;
3487
+ }
3488
+
3489
+ .rs-asset-row--skeleton {
3490
+ cursor: default;
3491
+ pointer-events: none;
3492
+ }
3493
+
3381
3494
  /* Inline placeholder sized to the fee value (e.g. "$0.04") while the
3382
3495
  pre-deposit quote resolves. Stays put if the quote fails. */
3383
3496
  .rs-skeleton-fee {
@@ -4448,6 +4561,20 @@
4448
4561
  display: flex;
4449
4562
  flex-direction: column;
4450
4563
  gap: 4px;
4564
+ min-width: 0;
4565
+ }
4566
+
4567
+ /* Row that holds the title/subtitle block plus an optional right-aligned
4568
+ aside (the Crypto/Cash toggle on the method picker). */
4569
+ .rs-body-header-main {
4570
+ display: flex;
4571
+ align-items: center;
4572
+ justify-content: space-between;
4573
+ gap: 12px;
4574
+ }
4575
+
4576
+ .rs-body-header-aside {
4577
+ flex-shrink: 0;
4451
4578
  }
4452
4579
 
4453
4580
  .rs-body-header-title {
@@ -4466,6 +4593,45 @@
4466
4593
  margin: 0;
4467
4594
  }
4468
4595
 
4596
+ /* Segmented toggle (Crypto / Cash) — Figma "toggle container". */
4597
+ .rs-segmented {
4598
+ display: inline-flex;
4599
+ align-items: center;
4600
+ gap: 2px;
4601
+ padding: 2px;
4602
+ background: var(--rs-segmented-track);
4603
+ border-radius: var(--rs-radius-full);
4604
+ }
4605
+
4606
+ .rs-segmented-option {
4607
+ appearance: none;
4608
+ border: 0;
4609
+ background: transparent;
4610
+ padding: 5px 12px;
4611
+ border-radius: var(--rs-radius-full);
4612
+ font-family: inherit;
4613
+ font-size: 13px;
4614
+ font-weight: 500;
4615
+ line-height: 1.25;
4616
+ color: var(--rs-segmented-idle-fg);
4617
+ cursor: pointer;
4618
+ transition:
4619
+ background-color 0.15s,
4620
+ color 0.15s,
4621
+ box-shadow 0.15s;
4622
+ }
4623
+
4624
+ .rs-segmented-option:focus-visible {
4625
+ outline: 2px solid var(--rs-border-accent);
4626
+ outline-offset: 2px;
4627
+ }
4628
+
4629
+ .rs-segmented-option--active {
4630
+ background: var(--rs-segmented-active-bg);
4631
+ color: var(--rs-segmented-active-fg);
4632
+ box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
4633
+ }
4634
+
4469
4635
  /* Ticker — per-digit odometer-style animation for the live timer.
4470
4636
  Each slot clips its content; the outgoing digit slides up and out while
4471
4637
  the incoming digit slides up from below. Static chars (e.g. ":") never
@@ -4659,7 +4825,6 @@
4659
4825
  .rs-list-row-meta-icons {
4660
4826
  display: flex;
4661
4827
  align-items: center;
4662
- gap: 4px;
4663
4828
  }
4664
4829
 
4665
4830
  .rs-list-row-meta-icons > * {
@@ -4669,6 +4834,15 @@
4669
4834
  align-items: center;
4670
4835
  justify-content: center;
4671
4836
  flex-shrink: 0;
4837
+ border-radius: 50%;
4838
+ overflow: hidden;
4839
+ /* Ring in the row's surface color so overlapping marks read cleanly. */
4840
+ box-shadow: 0 0 0 1.5px var(--rs-background-secondary);
4841
+ }
4842
+
4843
+ /* Overlap each subsequent mark for the stacked-cluster look. */
4844
+ .rs-list-row-meta-icons > * + * {
4845
+ margin-left: -6px;
4672
4846
  }
4673
4847
 
4674
4848
  .rs-list-row-meta-icons img,
@@ -4678,6 +4852,19 @@
4678
4852
  display: block;
4679
4853
  }
4680
4854
 
4855
+ /* Card-network chips: wider rounded tiles rather than circles. */
4856
+ .rs-list-row-meta-icons--cards > * {
4857
+ width: 26px;
4858
+ height: 18px;
4859
+ border-radius: 3px;
4860
+ overflow: visible;
4861
+ box-shadow: none;
4862
+ }
4863
+
4864
+ .rs-list-row-meta-icons--cards > * + * {
4865
+ margin-left: -4px;
4866
+ }
4867
+
4681
4868
  .rs-list-row-chevron {
4682
4869
  flex-shrink: 0;
4683
4870
  width: 16px;
@@ -4760,14 +4947,14 @@
4760
4947
  color: var(--rs-muted);
4761
4948
  }
4762
4949
 
4763
- /* Iframe wrap sized to Swapped's documented dimensions — 400×482 for the
4950
+ /* Iframe wrap sized to Swapped's documented dimensions — 400×586 for the
4764
4951
  fiat on-ramp, 445×585 for Connect (overrides below). Centered horizontally
4765
4952
  inside the modal so the step body can have header padding. */
4766
4953
  .rs-fiat-onramp-iframe-wrap {
4767
4954
  position: relative;
4768
4955
  width: 100%;
4769
4956
  max-width: 400px;
4770
- min-height: 482px;
4957
+ min-height: 586px;
4771
4958
  margin: 0 auto;
4772
4959
  border-radius: var(--rs-radius);
4773
4960
  overflow: hidden;
@@ -4781,8 +4968,8 @@
4781
4968
  .rs-fiat-onramp-iframe {
4782
4969
  display: block;
4783
4970
  width: 100%;
4784
- height: 482px;
4785
- min-height: 482px;
4971
+ height: 586px;
4972
+ min-height: 586px;
4786
4973
  border: 0;
4787
4974
  background: var(--rs-background);
4788
4975
  }
@@ -4792,6 +4979,51 @@
4792
4979
  min-height: 585px;
4793
4980
  }
4794
4981
 
4982
+ /* Finalising deposit — compact centered spinner screen (Swapped Connect). */
4983
+ .rs-finalising-body {
4984
+ display: flex;
4985
+ flex-direction: column;
4986
+ align-items: center;
4987
+ justify-content: center;
4988
+ gap: 24px;
4989
+ padding: 32px 0 24px;
4990
+ text-align: center;
4991
+ }
4992
+
4993
+ .rs-finalising-spinner {
4994
+ display: inline-flex;
4995
+ color: var(--color-blue10);
4996
+ }
4997
+
4998
+ .rs-finalising-spinner .rs-spinner {
4999
+ width: 56px;
5000
+ height: 56px;
5001
+ }
5002
+
5003
+ .rs-finalising-text {
5004
+ display: flex;
5005
+ flex-direction: column;
5006
+ align-items: center;
5007
+ gap: 6px;
5008
+ }
5009
+
5010
+ .rs-finalising-title {
5011
+ font-size: 16px;
5012
+ font-weight: 700;
5013
+ line-height: 1.2;
5014
+ color: var(--rs-foreground);
5015
+ margin: 0;
5016
+ }
5017
+
5018
+ .rs-finalising-subtitle {
5019
+ font-size: 14px;
5020
+ font-weight: 500;
5021
+ line-height: 1.4;
5022
+ color: var(--rs-muted);
5023
+ margin: 0;
5024
+ max-width: 280px;
5025
+ }
5026
+
4795
5027
  .rs-fiat-onramp-loading,
4796
5028
  .rs-fiat-onramp-error {
4797
5029
  position: absolute;
@@ -4829,7 +5061,7 @@
4829
5061
 
4830
5062
  .rs-exchange-grid {
4831
5063
  display: grid;
4832
- grid-template-columns: repeat(2, minmax(0, 1fr));
5064
+ grid-template-columns: repeat(3, minmax(0, 1fr));
4833
5065
  gap: 8px;
4834
5066
  }
4835
5067
 
@@ -4883,6 +5115,17 @@
4883
5115
  object-fit: contain;
4884
5116
  }
4885
5117
 
5118
+ /* Bundled branded logos fill the tile edge-to-edge (their own brand-colour
5119
+ background), clipped to the tile's rounded corners. */
5120
+ .rs-exchange-card-logo--brand {
5121
+ background: transparent;
5122
+ }
5123
+
5124
+ .rs-exchange-card-logo--brand svg {
5125
+ width: 100%;
5126
+ height: 100%;
5127
+ }
5128
+
4886
5129
  .rs-exchange-card-name {
4887
5130
  width: 100%;
4888
5131
  min-width: 0;
@@ -4917,12 +5160,12 @@
4917
5160
  Modal sizing for the Swapped iframe step
4918
5161
  =============================================================================
4919
5162
  Modal stays at the default 400px width for the fiat variant (matches
4920
- Swapped's 400×482 iframe edge-to-edge). Connect needs 445px because its
5163
+ Swapped's 400×586 iframe edge-to-edge). Connect needs 445px because its
4921
5164
  iframe is 445×585. Height grows with the Rhinestone chrome (header
4922
5165
  icon/title/subtitle + iframe + PoweredBy); cap to viewport so smaller
4923
5166
  laptops get a scrollable modal-body instead of overflowing the screen. */
4924
5167
 
4925
- /* Connect's iframe is 445×585 (vs fiat's 400×482). To preserve the same
5168
+ /* Connect's iframe is 445×585 (vs fiat's 400×586). To preserve the same
4926
5169
  12px horizontal padding as ConnectStep while still giving Swapped's
4927
5170
  Connect iframe its documented width, widen the modal by 24px (12 each
4928
5171
  side) → 469px. Applied from the moment the user enters exchange-connect
@@ -4958,7 +5201,7 @@
4958
5201
  when the iframe→tracker phase swap fires. */
4959
5202
  .rs-modal-content:has(.rs-modal-body[data-flow-mode="fiat-onramp"][data-step-type="setup"]),
4960
5203
  .rs-modal-content:has(.rs-modal-body[data-flow-mode="fiat-onramp"] .rs-fiat-onramp) {
4961
- min-height: 691px;
5204
+ min-height: 795px;
4962
5205
  }
4963
5206
  .rs-modal-content:has(.rs-modal-body[data-flow-mode="exchange-connect"][data-step-type="setup"]),
4964
5207
  .rs-modal-content:has(.rs-modal-body[data-flow-mode="exchange-connect"] .rs-fiat-onramp) {
@@ -212,6 +212,15 @@ interface DepositModalProps {
212
212
  * entry screen.
213
213
  */
214
214
  dappImports?: DappImportsConfig;
215
+ /**
216
+ * Open the modal pre-routed into a dapp-import provider, skipping the
217
+ * deposit-method home screen. Must name an enabled `dappImports` key
218
+ * (e.g. "polymarket"); disabled/unknown values are a no-op. While the
219
+ * provider's balances are checked the modal shows a loading skeleton;
220
+ * if the flow turns out to be unreachable (no account, no balance, no
221
+ * wallet) it falls back to the home screen.
222
+ */
223
+ initialDappImport?: keyof DappImportsConfig;
215
224
  /** Show fiat on-ramp option(s) that embed Swapped's iframe. Default: false. */
216
225
  enableFiatOnramp?: boolean;
217
226
  /** Show the Transfer Crypto / QR row. Default: true. */
@@ -222,7 +231,7 @@ interface DepositModalProps {
222
231
  */
223
232
  fiatOnrampMethods?: FiatPaymentMethodOption[];
224
233
  /**
225
- * Show a "Fund from Exchange" row that opens Swapped Connect — the user
234
+ * Show a "Connect exchange" row that opens Swapped Connect — the user
226
235
  * picks their CEX (Coinbase, Binance, Kraken…) or wallet inside the iframe
227
236
  * and Swapped pulls the crypto on-chain to the smart account. Default: false.
228
237
  */
@@ -212,6 +212,15 @@ interface DepositModalProps {
212
212
  * entry screen.
213
213
  */
214
214
  dappImports?: DappImportsConfig;
215
+ /**
216
+ * Open the modal pre-routed into a dapp-import provider, skipping the
217
+ * deposit-method home screen. Must name an enabled `dappImports` key
218
+ * (e.g. "polymarket"); disabled/unknown values are a no-op. While the
219
+ * provider's balances are checked the modal shows a loading skeleton;
220
+ * if the flow turns out to be unreachable (no account, no balance, no
221
+ * wallet) it falls back to the home screen.
222
+ */
223
+ initialDappImport?: keyof DappImportsConfig;
215
224
  /** Show fiat on-ramp option(s) that embed Swapped's iframe. Default: false. */
216
225
  enableFiatOnramp?: boolean;
217
226
  /** Show the Transfer Crypto / QR row. Default: true. */
@@ -222,7 +231,7 @@ interface DepositModalProps {
222
231
  */
223
232
  fiatOnrampMethods?: FiatPaymentMethodOption[];
224
233
  /**
225
- * Show a "Fund from Exchange" row that opens Swapped Connect — the user
234
+ * Show a "Connect exchange" row that opens Swapped Connect — the user
226
235
  * picks their CEX (Coinbase, Binance, Kraken…) or wallet inside the iframe
227
236
  * and Swapped pulls the crypto on-chain to the smart account. Default: false.
228
237
  */
package/dist/withdraw.cjs CHANGED
@@ -1,8 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunk2SMS542Qcjs = require('./chunk-2SMS542Q.cjs');
4
- require('./chunk-RABZINV3.cjs');
5
- require('./chunk-MILJQWPT.cjs');
3
+ var _chunkAE5LHTPMcjs = require('./chunk-AE5LHTPM.cjs');
4
+ require('./chunk-OQVLEVNR.cjs');
5
+ require('./chunk-UEKPBRBY.cjs');
6
+ require('./chunk-ABVRVW3P.cjs');
6
7
 
7
8
 
8
- exports.WithdrawModal = _chunk2SMS542Qcjs.WithdrawModal;
9
+ exports.WithdrawModal = _chunkAE5LHTPMcjs.WithdrawModal;
@@ -1,9 +1,9 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { n as WithdrawModalProps } from './types-BMcGO5k_.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-BMcGO5k_.cjs';
1
+ import * as react from 'react';
2
+ import { n as WithdrawModalProps } from './types-CFRuisqK.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-CFRuisqK.cjs';
4
4
  import 'viem';
5
5
 
6
- declare function WithdrawModal(props: WithdrawModalProps): react_jsx_runtime.JSX.Element;
6
+ declare function WithdrawModal(props: WithdrawModalProps): react.JSX.Element;
7
7
  declare namespace WithdrawModal {
8
8
  var displayName: string;
9
9
  }
@@ -1,9 +1,9 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { n as WithdrawModalProps } from './types-BMcGO5k_.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-BMcGO5k_.js';
1
+ import * as react from 'react';
2
+ import { n as WithdrawModalProps } from './types-CFRuisqK.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-CFRuisqK.js';
4
4
  import 'viem';
5
5
 
6
- declare function WithdrawModal(props: WithdrawModalProps): react_jsx_runtime.JSX.Element;
6
+ declare function WithdrawModal(props: WithdrawModalProps): react.JSX.Element;
7
7
  declare namespace WithdrawModal {
8
8
  var displayName: string;
9
9
  }
package/dist/withdraw.mjs CHANGED
@@ -1,8 +1,9 @@
1
1
  import {
2
2
  WithdrawModal
3
- } from "./chunk-TKQYTBU6.mjs";
4
- import "./chunk-KAWJABTW.mjs";
5
- import "./chunk-6YRDD462.mjs";
3
+ } from "./chunk-WCIGOV34.mjs";
4
+ import "./chunk-GKC22JC4.mjs";
5
+ import "./chunk-F7P4MV72.mjs";
6
+ import "./chunk-WJX3TJFK.mjs";
6
7
  export {
7
8
  WithdrawModal
8
9
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rhinestone/deposit-modal",
3
- "version": "0.3.0",
3
+ "version": "0.4.0",
4
4
  "description": "React modal component for Rhinestone cross-chain deposits",
5
5
  "author": "Rhinestone <dev@rhinestone.wtf>",
6
6
  "bugs": {
@@ -51,6 +51,11 @@
51
51
  "default": "./dist/constants.cjs"
52
52
  }
53
53
  },
54
+ "./polymarket": {
55
+ "types": "./dist/polymarket.d.ts",
56
+ "import": "./dist/polymarket.mjs",
57
+ "require": "./dist/polymarket.cjs"
58
+ },
54
59
  "./styles.css": {
55
60
  "types": "./dist/styles.d.ts",
56
61
  "default": "./dist/styles.css"
@@ -169,6 +174,14 @@
169
174
  "porto",
170
175
  "porto/internal"
171
176
  ]
177
+ },
178
+ {
179
+ "name": "Headless Polymarket Account",
180
+ "path": "dist/polymarket.mjs",
181
+ "limit": "3 kB",
182
+ "ignore": [
183
+ "viem"
184
+ ]
172
185
  }
173
186
  ],
174
187
  "keywords": [
@@ -187,4 +200,4 @@
187
200
  "overrides": {
188
201
  "@reown/appkit-common": "1.8.20"
189
202
  }
190
- }
203
+ }