@rhinestone/deposit-modal 0.0.0-dev-20260617120607 → 0.0.0-dev-20260617160708

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/deposit.cjs CHANGED
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunk7MP2UWIQcjs = require('./chunk-7MP2UWIQ.cjs');
3
+ var _chunkXOXF3RIGcjs = require('./chunk-XOXF3RIG.cjs');
4
4
  require('./chunk-NRNJAQUA.cjs');
5
- require('./chunk-OQVLEVNR.cjs');
5
+ require('./chunk-FF27W35D.cjs');
6
6
  require('./chunk-UEKPBRBY.cjs');
7
7
  require('./chunk-ABVRVW3P.cjs');
8
8
 
9
9
 
10
- exports.DepositModal = _chunk7MP2UWIQcjs.DepositModal;
10
+ exports.DepositModal = _chunkXOXF3RIGcjs.DepositModal;
package/dist/deposit.mjs CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  DepositModal
3
- } from "./chunk-3PVDRSJ7.mjs";
3
+ } from "./chunk-KNP4QWHF.mjs";
4
4
  import "./chunk-FJWLC4AM.mjs";
5
- import "./chunk-GKC22JC4.mjs";
5
+ import "./chunk-O754ZFAA.mjs";
6
6
  import "./chunk-F7P4MV72.mjs";
7
7
  import "./chunk-WJX3TJFK.mjs";
8
8
  export {
package/dist/index.cjs CHANGED
@@ -1,11 +1,11 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunk7MP2UWIQcjs = require('./chunk-7MP2UWIQ.cjs');
3
+ var _chunkXOXF3RIGcjs = require('./chunk-XOXF3RIG.cjs');
4
4
  require('./chunk-NRNJAQUA.cjs');
5
5
 
6
6
 
7
- var _chunkAE5LHTPMcjs = require('./chunk-AE5LHTPM.cjs');
8
- require('./chunk-OQVLEVNR.cjs');
7
+ var _chunk33WCLK5Ucjs = require('./chunk-33WCLK5U.cjs');
8
+ require('./chunk-FF27W35D.cjs');
9
9
  require('./chunk-UEKPBRBY.cjs');
10
10
 
11
11
 
@@ -85,4 +85,4 @@ async function disconnectWallet() {
85
85
 
86
86
 
87
87
 
88
- exports.CHAIN_BY_ID = _chunkABVRVW3Pcjs.CHAIN_BY_ID; exports.DEFAULT_BACKEND_URL = _chunkABVRVW3Pcjs.DEFAULT_BACKEND_URL; exports.DEFAULT_SIGNER_ADDRESS = _chunkABVRVW3Pcjs.DEFAULT_SIGNER_ADDRESS; exports.DepositModal = _chunk7MP2UWIQcjs.DepositModal; exports.HYPERCORE_CHAIN_ID = _chunkABVRVW3Pcjs.HYPERCORE_CHAIN_ID; exports.HYPERCORE_USDC_ADDRESS = _chunkABVRVW3Pcjs.HYPERCORE_USDC_ADDRESS; exports.NATIVE_TOKEN_ADDRESS = _chunkABVRVW3Pcjs.NATIVE_TOKEN_ADDRESS; exports.SOURCE_CHAINS = _chunkABVRVW3Pcjs.SOURCE_CHAINS; exports.SUPPORTED_CHAINS = _chunkABVRVW3Pcjs.SUPPORTED_CHAINS; exports.WithdrawModal = _chunkAE5LHTPMcjs.WithdrawModal; exports.chainRegistry = _chunkABVRVW3Pcjs.chainRegistry; exports.disconnectWallet = disconnectWallet; exports.findChainIdForToken = _chunkABVRVW3Pcjs.findChainIdForToken; exports.getChainBadge = _chunkABVRVW3Pcjs.getChainBadge; exports.getChainIcon = _chunkABVRVW3Pcjs.getChainIcon; exports.getChainId = _chunkABVRVW3Pcjs.getChainId; exports.getChainName = _chunkABVRVW3Pcjs.getChainName; exports.getChainObject = _chunkABVRVW3Pcjs.getChainObject; exports.getExplorerName = _chunkABVRVW3Pcjs.getExplorerName; exports.getExplorerTxUrl = _chunkABVRVW3Pcjs.getExplorerTxUrl; exports.getExplorerUrl = _chunkABVRVW3Pcjs.getExplorerUrl; exports.getSupportedChainIds = _chunkABVRVW3Pcjs.getSupportedChainIds; exports.getSupportedTargetTokens = _chunkABVRVW3Pcjs.getSupportedTargetTokens; exports.getSupportedTokenSymbolsForChain = _chunkABVRVW3Pcjs.getSupportedTokenSymbolsForChain; exports.getTargetTokenSymbolsForChain = _chunkABVRVW3Pcjs.getTargetTokenSymbolsForChain; exports.getTokenAddress = _chunkABVRVW3Pcjs.getTokenAddress; exports.getTokenDecimals = _chunkABVRVW3Pcjs.getTokenDecimals; exports.getTokenDecimalsByAddress = _chunkABVRVW3Pcjs.getTokenDecimalsByAddress; exports.getTokenIcon = _chunkABVRVW3Pcjs.getTokenIcon; exports.getTokenSymbol = _chunkABVRVW3Pcjs.getTokenSymbol; exports.getUsdcAddress = _chunkABVRVW3Pcjs.getUsdcAddress; exports.getUsdcDecimals = _chunkABVRVW3Pcjs.getUsdcDecimals; exports.isSupportedTokenAddressForChain = _chunkABVRVW3Pcjs.isSupportedTokenAddressForChain;
88
+ exports.CHAIN_BY_ID = _chunkABVRVW3Pcjs.CHAIN_BY_ID; exports.DEFAULT_BACKEND_URL = _chunkABVRVW3Pcjs.DEFAULT_BACKEND_URL; exports.DEFAULT_SIGNER_ADDRESS = _chunkABVRVW3Pcjs.DEFAULT_SIGNER_ADDRESS; exports.DepositModal = _chunkXOXF3RIGcjs.DepositModal; exports.HYPERCORE_CHAIN_ID = _chunkABVRVW3Pcjs.HYPERCORE_CHAIN_ID; exports.HYPERCORE_USDC_ADDRESS = _chunkABVRVW3Pcjs.HYPERCORE_USDC_ADDRESS; exports.NATIVE_TOKEN_ADDRESS = _chunkABVRVW3Pcjs.NATIVE_TOKEN_ADDRESS; exports.SOURCE_CHAINS = _chunkABVRVW3Pcjs.SOURCE_CHAINS; exports.SUPPORTED_CHAINS = _chunkABVRVW3Pcjs.SUPPORTED_CHAINS; exports.WithdrawModal = _chunk33WCLK5Ucjs.WithdrawModal; exports.chainRegistry = _chunkABVRVW3Pcjs.chainRegistry; exports.disconnectWallet = disconnectWallet; exports.findChainIdForToken = _chunkABVRVW3Pcjs.findChainIdForToken; exports.getChainBadge = _chunkABVRVW3Pcjs.getChainBadge; exports.getChainIcon = _chunkABVRVW3Pcjs.getChainIcon; exports.getChainId = _chunkABVRVW3Pcjs.getChainId; exports.getChainName = _chunkABVRVW3Pcjs.getChainName; exports.getChainObject = _chunkABVRVW3Pcjs.getChainObject; exports.getExplorerName = _chunkABVRVW3Pcjs.getExplorerName; exports.getExplorerTxUrl = _chunkABVRVW3Pcjs.getExplorerTxUrl; exports.getExplorerUrl = _chunkABVRVW3Pcjs.getExplorerUrl; exports.getSupportedChainIds = _chunkABVRVW3Pcjs.getSupportedChainIds; exports.getSupportedTargetTokens = _chunkABVRVW3Pcjs.getSupportedTargetTokens; exports.getSupportedTokenSymbolsForChain = _chunkABVRVW3Pcjs.getSupportedTokenSymbolsForChain; exports.getTargetTokenSymbolsForChain = _chunkABVRVW3Pcjs.getTargetTokenSymbolsForChain; exports.getTokenAddress = _chunkABVRVW3Pcjs.getTokenAddress; exports.getTokenDecimals = _chunkABVRVW3Pcjs.getTokenDecimals; exports.getTokenDecimalsByAddress = _chunkABVRVW3Pcjs.getTokenDecimalsByAddress; exports.getTokenIcon = _chunkABVRVW3Pcjs.getTokenIcon; exports.getTokenSymbol = _chunkABVRVW3Pcjs.getTokenSymbol; exports.getUsdcAddress = _chunkABVRVW3Pcjs.getUsdcAddress; exports.getUsdcDecimals = _chunkABVRVW3Pcjs.getUsdcDecimals; exports.isSupportedTokenAddressForChain = _chunkABVRVW3Pcjs.isSupportedTokenAddressForChain;
package/dist/index.mjs CHANGED
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  DepositModal
3
- } from "./chunk-3PVDRSJ7.mjs";
3
+ } from "./chunk-KNP4QWHF.mjs";
4
4
  import "./chunk-FJWLC4AM.mjs";
5
5
  import {
6
6
  WithdrawModal
7
- } from "./chunk-WCIGOV34.mjs";
8
- import "./chunk-GKC22JC4.mjs";
7
+ } from "./chunk-5UWBHOFH.mjs";
8
+ import "./chunk-O754ZFAA.mjs";
9
9
  import "./chunk-F7P4MV72.mjs";
10
10
  import {
11
11
  CHAIN_BY_ID,
package/dist/styles.css CHANGED
@@ -4595,19 +4595,40 @@
4595
4595
 
4596
4596
  /* Segmented toggle (Crypto / Cash) — Figma "toggle container". */
4597
4597
  .rs-segmented {
4598
- display: inline-flex;
4598
+ position: relative;
4599
+ display: grid;
4600
+ grid-auto-flow: column;
4601
+ grid-auto-columns: 1fr;
4599
4602
  align-items: center;
4600
- gap: 2px;
4601
4603
  padding: 2px;
4602
4604
  background: var(--rs-segmented-track);
4603
4605
  border-radius: var(--rs-radius-full);
4606
+ isolation: isolate;
4607
+ }
4608
+
4609
+ .rs-segmented-thumb {
4610
+ position: absolute;
4611
+ z-index: 0;
4612
+ top: 2px;
4613
+ bottom: 2px;
4614
+ left: 2px;
4615
+ width: calc((100% - 4px) / var(--rs-segmented-count));
4616
+ border-radius: var(--rs-radius-full);
4617
+ background: var(--rs-segmented-active-bg);
4618
+ box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
4619
+ transform: translateX(calc(var(--rs-segmented-index) * 100%));
4620
+ transition: transform 180ms ease;
4621
+ pointer-events: none;
4604
4622
  }
4605
4623
 
4606
4624
  .rs-segmented-option {
4625
+ position: relative;
4626
+ z-index: 1;
4607
4627
  appearance: none;
4608
4628
  border: 0;
4609
4629
  background: transparent;
4610
4630
  padding: 5px 12px;
4631
+ min-width: 70px;
4611
4632
  border-radius: var(--rs-radius-full);
4612
4633
  font-family: inherit;
4613
4634
  font-size: 13px;
@@ -4616,9 +4637,7 @@
4616
4637
  color: var(--rs-segmented-idle-fg);
4617
4638
  cursor: pointer;
4618
4639
  transition:
4619
- background-color 0.15s,
4620
- color 0.15s,
4621
- box-shadow 0.15s;
4640
+ color 0.15s;
4622
4641
  }
4623
4642
 
4624
4643
  .rs-segmented-option:focus-visible {
@@ -4627,9 +4646,7 @@
4627
4646
  }
4628
4647
 
4629
4648
  .rs-segmented-option--active {
4630
- background: var(--rs-segmented-active-bg);
4631
4649
  color: var(--rs-segmented-active-fg);
4632
- box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
4633
4650
  }
4634
4651
 
4635
4652
  /* Ticker — per-digit odometer-style animation for the live timer.
@@ -4852,19 +4869,40 @@
4852
4869
  display: block;
4853
4870
  }
4854
4871
 
4855
- /* Card-network chips: wider rounded tiles rather than circles. */
4856
- .rs-list-row-meta-icons--cards > * {
4857
- width: 26px;
4872
+ .rs-list-row-meta-icons--exchanges > * {
4873
+ border-radius: 4px;
4874
+ }
4875
+
4876
+ /* Card-network chips: fixed logo tiles using each mark's native aspect. */
4877
+ .rs-list-row-meta-icons--cards > .rs-card-network {
4858
4878
  height: 18px;
4859
4879
  border-radius: 3px;
4860
- overflow: visible;
4861
- box-shadow: none;
4880
+ overflow: hidden;
4881
+ background: #ffffff;
4882
+ box-shadow: 0 0 0 1px rgba(24, 24, 27, 0.08);
4883
+ }
4884
+
4885
+ .rs-list-row-meta-icons--cards > .rs-card-network--amex {
4886
+ width: 22px;
4887
+ }
4888
+
4889
+ .rs-list-row-meta-icons--cards > .rs-card-network--visa {
4890
+ width: 30px;
4862
4891
  }
4863
4892
 
4864
- .rs-list-row-meta-icons--cards > * + * {
4893
+ .rs-list-row-meta-icons--cards > .rs-card-network--mastercard {
4894
+ width: 22px;
4895
+ }
4896
+
4897
+ .rs-list-row-meta-icons--cards > .rs-card-network + .rs-card-network {
4865
4898
  margin-left: -4px;
4866
4899
  }
4867
4900
 
4901
+ .rs-list-row-meta-icons--cards .rs-card-network svg {
4902
+ width: 100%;
4903
+ height: 100%;
4904
+ }
4905
+
4868
4906
  .rs-list-row-chevron {
4869
4907
  flex-shrink: 0;
4870
4908
  width: 16px;
@@ -4906,10 +4944,13 @@
4906
4944
  ============================================================================= */
4907
4945
 
4908
4946
  /* `.rs-fiat-onramp` is a marker class on the .rs-screen root so the
4909
- modal-content `:has()` rules below can size correctly. Layout (padding,
4910
- gap, flex direction) comes from .rs-screen itself, identical to
4911
- ConnectStep keeps the top of the page visually unchanged across the
4912
- payment-method picker → Swapped iframe transition. */
4947
+ modal-content `:has()` rules below can size correctly. The Swapped iframe
4948
+ phase intentionally omits the BodyHeader so the embedded widget starts
4949
+ immediately below the modal nav chrome. */
4950
+
4951
+ .rs-fiat-onramp-body {
4952
+ gap: 0;
4953
+ }
4913
4954
 
4914
4955
  .rs-fiat-onramp-banner {
4915
4956
  display: flex;
@@ -5099,9 +5140,9 @@
5099
5140
  display: inline-flex;
5100
5141
  align-items: center;
5101
5142
  justify-content: center;
5102
- width: 44px;
5103
- height: 44px;
5104
- border-radius: 10px;
5143
+ width: 32px;
5144
+ height: 32px;
5145
+ border-radius: 4px;
5105
5146
  background: var(--rs-surface);
5106
5147
  color: #71717b;
5107
5148
  overflow: hidden;
@@ -5121,9 +5162,11 @@
5121
5162
  background: transparent;
5122
5163
  }
5123
5164
 
5165
+ .rs-exchange-card-logo--brand img,
5124
5166
  .rs-exchange-card-logo--brand svg {
5125
5167
  width: 100%;
5126
5168
  height: 100%;
5169
+ object-fit: cover;
5127
5170
  }
5128
5171
 
5129
5172
  .rs-exchange-card-name {
@@ -5201,11 +5244,11 @@
5201
5244
  when the iframe→tracker phase swap fires. */
5202
5245
  .rs-modal-content:has(.rs-modal-body[data-flow-mode="fiat-onramp"][data-step-type="setup"]),
5203
5246
  .rs-modal-content:has(.rs-modal-body[data-flow-mode="fiat-onramp"] .rs-fiat-onramp) {
5204
- min-height: 795px;
5247
+ min-height: 699px;
5205
5248
  }
5206
5249
  .rs-modal-content:has(.rs-modal-body[data-flow-mode="exchange-connect"][data-step-type="setup"]),
5207
5250
  .rs-modal-content:has(.rs-modal-body[data-flow-mode="exchange-connect"] .rs-fiat-onramp) {
5208
- min-height: 794px;
5251
+ min-height: 698px;
5209
5252
  }
5210
5253
 
5211
5254
  /* =============================================================================
@@ -5260,15 +5303,21 @@
5260
5303
  padding: 16px 0;
5261
5304
  }
5262
5305
 
5263
- /* Dotted vertical connector between adjacent step markers. */
5306
+ /* Dashed vertical connector between adjacent step markers. */
5264
5307
  .rs-swapped-tracker-step + .rs-swapped-tracker-step::before {
5265
5308
  content: "";
5266
5309
  position: absolute;
5267
5310
  top: -14px;
5268
5311
  right: 11px;
5269
- width: 0;
5312
+ width: 2px;
5270
5313
  height: 28px;
5271
- border-left: 1.5px dotted #d4d4d8;
5314
+ background: repeating-linear-gradient(
5315
+ to bottom,
5316
+ #5f5f5f 0,
5317
+ #5f5f5f 3px,
5318
+ transparent 3px,
5319
+ transparent 7px
5320
+ );
5272
5321
  }
5273
5322
 
5274
5323
  .rs-swapped-tracker-step-label {
@@ -5292,7 +5341,8 @@
5292
5341
  }
5293
5342
 
5294
5343
  .rs-swapped-tracker-step--active .rs-swapped-tracker-step-marker {
5295
- border-color: #d4d4d8;
5344
+ border-color: transparent;
5345
+ border-width: 0;
5296
5346
  background: transparent;
5297
5347
  /* Spinner SVG uses currentColor; base marker class sets color:transparent
5298
5348
  for the (hidden) ring glyph — re-establish a visible color here so the
@@ -5301,8 +5351,10 @@
5301
5351
  }
5302
5352
 
5303
5353
  .rs-swapped-tracker-step--active .rs-swapped-tracker-step-marker .rs-spinner {
5304
- width: 14px;
5305
- height: 14px;
5354
+ display: block;
5355
+ flex: 0 0 24px;
5356
+ width: 24px;
5357
+ height: 24px;
5306
5358
  }
5307
5359
 
5308
5360
  /* Satisfying scale-pop when a step ticks complete — the color transition
@@ -5370,13 +5422,13 @@
5370
5422
  background: var(--rs-border);
5371
5423
  }
5372
5424
 
5373
- .rs-modal[data-theme="dark"] .rs-swapped-tracker-step + .rs-swapped-tracker-step::before {
5374
- border-left-color: #3f3f46;
5425
+ .rs-modal[data-theme="dark"] .rs-swapped-tracker-step--pending .rs-swapped-tracker-step-marker {
5426
+ border-color: #3f3f46;
5375
5427
  }
5376
5428
 
5377
- .rs-modal[data-theme="dark"] .rs-swapped-tracker-step--pending .rs-swapped-tracker-step-marker,
5378
5429
  .rs-modal[data-theme="dark"] .rs-swapped-tracker-step--active .rs-swapped-tracker-step-marker {
5379
- border-color: #3f3f46;
5430
+ border-color: transparent;
5431
+ color: #fafafa;
5380
5432
  }
5381
5433
 
5382
5434
  .rs-modal[data-theme="dark"] .rs-swapped-tracker-step--complete .rs-swapped-tracker-step-marker {
package/dist/withdraw.cjs CHANGED
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkAE5LHTPMcjs = require('./chunk-AE5LHTPM.cjs');
4
- require('./chunk-OQVLEVNR.cjs');
3
+ var _chunk33WCLK5Ucjs = require('./chunk-33WCLK5U.cjs');
4
+ require('./chunk-FF27W35D.cjs');
5
5
  require('./chunk-UEKPBRBY.cjs');
6
6
  require('./chunk-ABVRVW3P.cjs');
7
7
 
8
8
 
9
- exports.WithdrawModal = _chunkAE5LHTPMcjs.WithdrawModal;
9
+ exports.WithdrawModal = _chunk33WCLK5Ucjs.WithdrawModal;
package/dist/withdraw.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  WithdrawModal
3
- } from "./chunk-WCIGOV34.mjs";
4
- import "./chunk-GKC22JC4.mjs";
3
+ } from "./chunk-5UWBHOFH.mjs";
4
+ import "./chunk-O754ZFAA.mjs";
5
5
  import "./chunk-F7P4MV72.mjs";
6
6
  import "./chunk-WJX3TJFK.mjs";
7
7
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rhinestone/deposit-modal",
3
- "version": "0.0.0-dev-20260617120607",
3
+ "version": "0.0.0-dev-20260617160708",
4
4
  "description": "React modal component for Rhinestone cross-chain deposits",
5
5
  "author": "Rhinestone <dev@rhinestone.wtf>",
6
6
  "bugs": {