@rhinestone/deposit-modal 0.1.51 → 0.1.52

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,8 +1,8 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunk2AS2NAJ2cjs = require('./chunk-2AS2NAJ2.cjs');
4
- require('./chunk-NU3ES4JY.cjs');
3
+ var _chunkZW4SRCW5cjs = require('./chunk-ZW4SRCW5.cjs');
4
+ require('./chunk-RVKMKH2C.cjs');
5
5
  require('./chunk-NELAYNA3.cjs');
6
6
 
7
7
 
8
- exports.DepositModal = _chunk2AS2NAJ2cjs.DepositModal;
8
+ exports.DepositModal = _chunkZW4SRCW5cjs.DepositModal;
package/dist/deposit.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  DepositModal
3
- } from "./chunk-SKL3JJP6.mjs";
4
- import "./chunk-BNSX25TA.mjs";
3
+ } from "./chunk-VYYJWMEI.mjs";
4
+ import "./chunk-MKSZIA74.mjs";
5
5
  import "./chunk-ZJQZEIHA.mjs";
6
6
  export {
7
7
  DepositModal
package/dist/index.cjs CHANGED
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunk2AS2NAJ2cjs = require('./chunk-2AS2NAJ2.cjs');
3
+ var _chunkZW4SRCW5cjs = require('./chunk-ZW4SRCW5.cjs');
4
4
 
5
5
 
6
- var _chunkDKYHVAHNcjs = require('./chunk-DKYHVAHN.cjs');
7
- require('./chunk-NU3ES4JY.cjs');
6
+ var _chunkJL3R3JT6cjs = require('./chunk-JL3R3JT6.cjs');
7
+ require('./chunk-RVKMKH2C.cjs');
8
8
 
9
9
 
10
10
 
@@ -66,4 +66,4 @@ var _chunkNELAYNA3cjs = require('./chunk-NELAYNA3.cjs');
66
66
 
67
67
 
68
68
 
69
- exports.CHAIN_BY_ID = _chunkNELAYNA3cjs.CHAIN_BY_ID; exports.DEFAULT_BACKEND_URL = _chunkNELAYNA3cjs.DEFAULT_BACKEND_URL; exports.DEFAULT_SIGNER_ADDRESS = _chunkNELAYNA3cjs.DEFAULT_SIGNER_ADDRESS; exports.DepositModal = _chunk2AS2NAJ2cjs.DepositModal; exports.NATIVE_TOKEN_ADDRESS = _chunkNELAYNA3cjs.NATIVE_TOKEN_ADDRESS; exports.SOURCE_CHAINS = _chunkNELAYNA3cjs.SOURCE_CHAINS; exports.SUPPORTED_CHAINS = _chunkNELAYNA3cjs.SUPPORTED_CHAINS; exports.WithdrawModal = _chunkDKYHVAHNcjs.WithdrawModal; exports.chainRegistry = _chunkNELAYNA3cjs.chainRegistry; exports.findChainIdForToken = _chunkNELAYNA3cjs.findChainIdForToken; exports.getChainBadge = _chunkNELAYNA3cjs.getChainBadge; exports.getChainIcon = _chunkNELAYNA3cjs.getChainIcon; exports.getChainId = _chunkNELAYNA3cjs.getChainId; exports.getChainName = _chunkNELAYNA3cjs.getChainName; exports.getChainObject = _chunkNELAYNA3cjs.getChainObject; exports.getExplorerName = _chunkNELAYNA3cjs.getExplorerName; exports.getExplorerTxUrl = _chunkNELAYNA3cjs.getExplorerTxUrl; exports.getExplorerUrl = _chunkNELAYNA3cjs.getExplorerUrl; exports.getSupportedChainIds = _chunkNELAYNA3cjs.getSupportedChainIds; exports.getSupportedTargetTokens = _chunkNELAYNA3cjs.getSupportedTargetTokens; exports.getSupportedTokenSymbolsForChain = _chunkNELAYNA3cjs.getSupportedTokenSymbolsForChain; exports.getTargetTokenSymbolsForChain = _chunkNELAYNA3cjs.getTargetTokenSymbolsForChain; exports.getTokenAddress = _chunkNELAYNA3cjs.getTokenAddress; exports.getTokenDecimals = _chunkNELAYNA3cjs.getTokenDecimals; exports.getTokenDecimalsByAddress = _chunkNELAYNA3cjs.getTokenDecimalsByAddress; exports.getTokenIcon = _chunkNELAYNA3cjs.getTokenIcon; exports.getTokenSymbol = _chunkNELAYNA3cjs.getTokenSymbol; exports.getUsdcAddress = _chunkNELAYNA3cjs.getUsdcAddress; exports.getUsdcDecimals = _chunkNELAYNA3cjs.getUsdcDecimals; exports.isSupportedTokenAddressForChain = _chunkNELAYNA3cjs.isSupportedTokenAddressForChain;
69
+ exports.CHAIN_BY_ID = _chunkNELAYNA3cjs.CHAIN_BY_ID; exports.DEFAULT_BACKEND_URL = _chunkNELAYNA3cjs.DEFAULT_BACKEND_URL; exports.DEFAULT_SIGNER_ADDRESS = _chunkNELAYNA3cjs.DEFAULT_SIGNER_ADDRESS; exports.DepositModal = _chunkZW4SRCW5cjs.DepositModal; exports.NATIVE_TOKEN_ADDRESS = _chunkNELAYNA3cjs.NATIVE_TOKEN_ADDRESS; exports.SOURCE_CHAINS = _chunkNELAYNA3cjs.SOURCE_CHAINS; exports.SUPPORTED_CHAINS = _chunkNELAYNA3cjs.SUPPORTED_CHAINS; exports.WithdrawModal = _chunkJL3R3JT6cjs.WithdrawModal; exports.chainRegistry = _chunkNELAYNA3cjs.chainRegistry; exports.findChainIdForToken = _chunkNELAYNA3cjs.findChainIdForToken; exports.getChainBadge = _chunkNELAYNA3cjs.getChainBadge; exports.getChainIcon = _chunkNELAYNA3cjs.getChainIcon; exports.getChainId = _chunkNELAYNA3cjs.getChainId; exports.getChainName = _chunkNELAYNA3cjs.getChainName; exports.getChainObject = _chunkNELAYNA3cjs.getChainObject; exports.getExplorerName = _chunkNELAYNA3cjs.getExplorerName; exports.getExplorerTxUrl = _chunkNELAYNA3cjs.getExplorerTxUrl; exports.getExplorerUrl = _chunkNELAYNA3cjs.getExplorerUrl; exports.getSupportedChainIds = _chunkNELAYNA3cjs.getSupportedChainIds; exports.getSupportedTargetTokens = _chunkNELAYNA3cjs.getSupportedTargetTokens; exports.getSupportedTokenSymbolsForChain = _chunkNELAYNA3cjs.getSupportedTokenSymbolsForChain; exports.getTargetTokenSymbolsForChain = _chunkNELAYNA3cjs.getTargetTokenSymbolsForChain; exports.getTokenAddress = _chunkNELAYNA3cjs.getTokenAddress; exports.getTokenDecimals = _chunkNELAYNA3cjs.getTokenDecimals; exports.getTokenDecimalsByAddress = _chunkNELAYNA3cjs.getTokenDecimalsByAddress; exports.getTokenIcon = _chunkNELAYNA3cjs.getTokenIcon; exports.getTokenSymbol = _chunkNELAYNA3cjs.getTokenSymbol; exports.getUsdcAddress = _chunkNELAYNA3cjs.getUsdcAddress; exports.getUsdcDecimals = _chunkNELAYNA3cjs.getUsdcDecimals; exports.isSupportedTokenAddressForChain = _chunkNELAYNA3cjs.isSupportedTokenAddressForChain;
package/dist/index.mjs CHANGED
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  DepositModal
3
- } from "./chunk-SKL3JJP6.mjs";
3
+ } from "./chunk-VYYJWMEI.mjs";
4
4
  import {
5
5
  WithdrawModal
6
- } from "./chunk-G2GXEC7C.mjs";
7
- import "./chunk-BNSX25TA.mjs";
6
+ } from "./chunk-R64A3IEI.mjs";
7
+ import "./chunk-MKSZIA74.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 _chunk2AS2NAJ2cjs = require('./chunk-2AS2NAJ2.cjs');
3
+ var _chunkZW4SRCW5cjs = require('./chunk-ZW4SRCW5.cjs');
4
4
 
5
5
 
6
- var _chunkDKYHVAHNcjs = require('./chunk-DKYHVAHN.cjs');
7
- require('./chunk-NU3ES4JY.cjs');
6
+ var _chunkJL3R3JT6cjs = require('./chunk-JL3R3JT6.cjs');
7
+ require('./chunk-RVKMKH2C.cjs');
8
8
  require('./chunk-NELAYNA3.cjs');
9
9
 
10
10
 
11
11
 
12
- exports.DepositModal = _chunk2AS2NAJ2cjs.DepositModal; exports.WithdrawModal = _chunkDKYHVAHNcjs.WithdrawModal;
12
+ exports.DepositModal = _chunkZW4SRCW5cjs.DepositModal; exports.WithdrawModal = _chunkJL3R3JT6cjs.WithdrawModal;
package/dist/reown.mjs CHANGED
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  DepositModal
3
- } from "./chunk-SKL3JJP6.mjs";
3
+ } from "./chunk-VYYJWMEI.mjs";
4
4
  import {
5
5
  WithdrawModal
6
- } from "./chunk-G2GXEC7C.mjs";
7
- import "./chunk-BNSX25TA.mjs";
6
+ } from "./chunk-R64A3IEI.mjs";
7
+ import "./chunk-MKSZIA74.mjs";
8
8
  import "./chunk-ZJQZEIHA.mjs";
9
9
  export {
10
10
  DepositModal,
package/dist/styles.css CHANGED
@@ -671,6 +671,269 @@
671
671
  color: var(--rs-primary);
672
672
  }
673
673
 
674
+ /* =============================================================================
675
+ Processing Phase Board
676
+ ============================================================================= */
677
+
678
+ .rs-phase-board {
679
+ position: relative;
680
+ padding: 14px;
681
+ border-radius: var(--rs-radius-md);
682
+ border: 1px solid var(--rs-border-surface);
683
+ background:
684
+ radial-gradient(
685
+ circle at top right,
686
+ rgba(24, 24, 27, 0.08),
687
+ transparent 42%
688
+ ),
689
+ linear-gradient(180deg, var(--rs-background-secondary), var(--rs-surface));
690
+ overflow: hidden;
691
+ }
692
+
693
+ .rs-modal[data-theme="dark"] .rs-phase-board {
694
+ background:
695
+ radial-gradient(
696
+ circle at top right,
697
+ rgba(244, 244, 245, 0.08),
698
+ transparent 42%
699
+ ),
700
+ linear-gradient(180deg, var(--rs-background-secondary), var(--rs-surface));
701
+ }
702
+
703
+ .rs-phase-board-header {
704
+ display: flex;
705
+ align-items: flex-start;
706
+ justify-content: space-between;
707
+ gap: 12px;
708
+ margin-bottom: 14px;
709
+ }
710
+
711
+ .rs-phase-board-kicker {
712
+ display: block;
713
+ margin-bottom: 2px;
714
+ font-size: 11px;
715
+ font-weight: 600;
716
+ letter-spacing: 0.08em;
717
+ text-transform: uppercase;
718
+ color: var(--rs-muted-foreground);
719
+ }
720
+
721
+ .rs-phase-board-route {
722
+ font-size: 13px;
723
+ font-weight: 600;
724
+ color: var(--rs-foreground);
725
+ }
726
+
727
+ .rs-phase-board-total {
728
+ display: flex;
729
+ flex-direction: column;
730
+ align-items: flex-end;
731
+ gap: 2px;
732
+ flex-shrink: 0;
733
+ text-align: right;
734
+ }
735
+
736
+ .rs-phase-board-total span {
737
+ font-size: 11px;
738
+ text-transform: uppercase;
739
+ letter-spacing: 0.08em;
740
+ color: var(--rs-muted-foreground);
741
+ }
742
+
743
+ .rs-phase-board-total strong {
744
+ font-family:
745
+ ui-monospace, SFMono-Regular, "SF Mono", Menlo, Monaco, Consolas, monospace;
746
+ font-size: 13px;
747
+ font-weight: 700;
748
+ color: var(--rs-foreground);
749
+ }
750
+
751
+ .rs-phase-list {
752
+ display: flex;
753
+ flex-direction: column;
754
+ gap: 10px;
755
+ }
756
+
757
+ .rs-phase-row {
758
+ display: flex;
759
+ gap: 10px;
760
+ }
761
+
762
+ .rs-phase-rail {
763
+ position: relative;
764
+ width: 18px;
765
+ flex-shrink: 0;
766
+ display: flex;
767
+ justify-content: center;
768
+ }
769
+
770
+ .rs-phase-rail::before {
771
+ content: "";
772
+ position: absolute;
773
+ top: 0;
774
+ bottom: -10px;
775
+ width: 1px;
776
+ background: var(--rs-border);
777
+ }
778
+
779
+ .rs-phase-row:last-child .rs-phase-rail::before {
780
+ bottom: 14px;
781
+ }
782
+
783
+ .rs-phase-dot {
784
+ position: relative;
785
+ z-index: 1;
786
+ width: 10px;
787
+ height: 10px;
788
+ margin-top: 12px;
789
+ border-radius: 50%;
790
+ background: var(--rs-border);
791
+ box-shadow: 0 0 0 5px var(--rs-background);
792
+ }
793
+
794
+ .rs-phase-copy {
795
+ flex: 1;
796
+ min-width: 0;
797
+ padding: 10px 12px;
798
+ border-radius: var(--rs-radius-md);
799
+ background: rgba(255, 255, 255, 0.5);
800
+ box-shadow: inset 0 0 0 1px var(--rs-border-surface);
801
+ }
802
+
803
+ .rs-modal[data-theme="dark"] .rs-phase-copy {
804
+ background: rgba(255, 255, 255, 0.03);
805
+ }
806
+
807
+ .rs-phase-row-header {
808
+ display: flex;
809
+ align-items: flex-start;
810
+ justify-content: space-between;
811
+ gap: 12px;
812
+ }
813
+
814
+ .rs-phase-title-block {
815
+ min-width: 0;
816
+ }
817
+
818
+ .rs-phase-title {
819
+ font-size: 13px;
820
+ font-weight: 600;
821
+ color: var(--rs-foreground);
822
+ }
823
+
824
+ .rs-phase-description {
825
+ margin-top: 3px;
826
+ font-size: 12px;
827
+ line-height: 1.5;
828
+ color: var(--rs-muted);
829
+ }
830
+
831
+ .rs-phase-meta {
832
+ display: flex;
833
+ flex-direction: column;
834
+ align-items: flex-end;
835
+ gap: 4px;
836
+ flex-shrink: 0;
837
+ }
838
+
839
+ .rs-phase-status {
840
+ display: inline-flex;
841
+ align-items: center;
842
+ justify-content: center;
843
+ min-height: 20px;
844
+ padding: 0 8px;
845
+ border-radius: var(--rs-radius-full);
846
+ background: var(--rs-primary-tint);
847
+ font-size: 10px;
848
+ font-weight: 700;
849
+ letter-spacing: 0.08em;
850
+ text-transform: uppercase;
851
+ color: var(--rs-primary);
852
+ }
853
+
854
+ .rs-phase-timer {
855
+ font-family:
856
+ ui-monospace, SFMono-Regular, "SF Mono", Menlo, Monaco, Consolas, monospace;
857
+ font-size: 12px;
858
+ font-weight: 700;
859
+ color: var(--rs-foreground);
860
+ }
861
+
862
+ @keyframes rs-phase-pulse {
863
+ 0%, 100% { box-shadow: 0 0 0 5px var(--rs-primary-tint); }
864
+ 50% { box-shadow: 0 0 0 8px var(--rs-primary-tint); }
865
+ }
866
+
867
+ .rs-phase-row--active .rs-phase-dot {
868
+ background: var(--rs-primary);
869
+ animation: rs-phase-pulse 2s ease-in-out infinite;
870
+ }
871
+
872
+ .rs-phase-row--active .rs-phase-copy {
873
+ box-shadow:
874
+ inset 0 0 0 1px var(--rs-border-accent),
875
+ 0 8px 18px rgba(0, 0, 0, 0.04);
876
+ }
877
+
878
+ .rs-phase-row--warning .rs-phase-dot {
879
+ background: var(--color-amber8);
880
+ box-shadow: 0 0 0 5px var(--rs-warning-tint);
881
+ }
882
+
883
+ .rs-phase-row--warning .rs-phase-copy {
884
+ background: var(--rs-warning-tint);
885
+ box-shadow: inset 0 0 0 1px rgba(226, 163, 54, 0.24);
886
+ }
887
+
888
+ .rs-phase-row--warning .rs-phase-status {
889
+ background: rgba(226, 163, 54, 0.16);
890
+ color: var(--color-amber8);
891
+ }
892
+
893
+ .rs-phase-row--complete .rs-phase-dot {
894
+ background: var(--rs-success);
895
+ box-shadow: 0 0 0 5px var(--rs-success-tint);
896
+ }
897
+
898
+ .rs-phase-row--complete .rs-phase-copy {
899
+ background: var(--rs-success-tint);
900
+ box-shadow: inset 0 0 0 1px rgba(48, 164, 108, 0.2);
901
+ }
902
+
903
+ .rs-phase-row--complete .rs-phase-status {
904
+ background: rgba(48, 164, 108, 0.14);
905
+ color: var(--rs-success);
906
+ }
907
+
908
+ .rs-phase-row--failed .rs-phase-dot {
909
+ background: var(--rs-error);
910
+ box-shadow: 0 0 0 5px var(--rs-error-tint);
911
+ }
912
+
913
+ .rs-phase-row--failed .rs-phase-copy {
914
+ background: var(--rs-error-tint);
915
+ box-shadow: inset 0 0 0 1px rgba(229, 72, 77, 0.2);
916
+ }
917
+
918
+ .rs-phase-row--failed .rs-phase-status {
919
+ background: rgba(229, 72, 77, 0.14);
920
+ color: var(--rs-error);
921
+ }
922
+
923
+ @media (max-width: 420px) {
924
+ .rs-phase-board-header,
925
+ .rs-phase-row-header {
926
+ flex-direction: column;
927
+ align-items: flex-start;
928
+ }
929
+
930
+ .rs-phase-board-total,
931
+ .rs-phase-meta {
932
+ align-items: flex-start;
933
+ text-align: left;
934
+ }
935
+ }
936
+
674
937
  /* =============================================================================
675
938
  Asset Row
676
939
  ============================================================================= */
package/dist/withdraw.cjs CHANGED
@@ -1,8 +1,8 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkDKYHVAHNcjs = require('./chunk-DKYHVAHN.cjs');
4
- require('./chunk-NU3ES4JY.cjs');
3
+ var _chunkJL3R3JT6cjs = require('./chunk-JL3R3JT6.cjs');
4
+ require('./chunk-RVKMKH2C.cjs');
5
5
  require('./chunk-NELAYNA3.cjs');
6
6
 
7
7
 
8
- exports.WithdrawModal = _chunkDKYHVAHNcjs.WithdrawModal;
8
+ exports.WithdrawModal = _chunkJL3R3JT6cjs.WithdrawModal;
package/dist/withdraw.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  WithdrawModal
3
- } from "./chunk-G2GXEC7C.mjs";
4
- import "./chunk-BNSX25TA.mjs";
3
+ } from "./chunk-R64A3IEI.mjs";
4
+ import "./chunk-MKSZIA74.mjs";
5
5
  import "./chunk-ZJQZEIHA.mjs";
6
6
  export {
7
7
  WithdrawModal
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rhinestone/deposit-modal",
3
- "version": "0.1.51",
3
+ "version": "0.1.52",
4
4
  "description": "React modal component for Rhinestone cross-chain deposits",
5
5
  "author": "Rhinestone <dev@rhinestone.wtf>",
6
6
  "bugs": {