@rhinestone/deposit-modal 0.1.51 → 0.1.53

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/styles.css CHANGED
@@ -671,6 +671,172 @@
671
671
  color: var(--rs-primary);
672
672
  }
673
673
 
674
+ /* =============================================================================
675
+ Processing Phase Board
676
+ ============================================================================= */
677
+
678
+ .rs-phase-board {
679
+ padding: 14px;
680
+ border-radius: var(--rs-radius-md);
681
+ border: 1px solid var(--rs-border-surface);
682
+ background: var(--rs-background-secondary);
683
+ }
684
+
685
+ .rs-modal[data-theme="dark"] .rs-phase-board {
686
+ background: var(--rs-surface);
687
+ }
688
+
689
+ /* Horizontal progress track */
690
+ .rs-track {
691
+ display: flex;
692
+ align-items: flex-start;
693
+ justify-content: space-between;
694
+ position: relative;
695
+ padding: 0 4px;
696
+ }
697
+
698
+ .rs-track-rail {
699
+ position: absolute;
700
+ top: 11px;
701
+ left: 16px;
702
+ right: 16px;
703
+ height: 3px;
704
+ border-radius: 2px;
705
+ background: var(--rs-border-surface);
706
+ overflow: hidden;
707
+ }
708
+
709
+ .rs-track-fill {
710
+ height: 100%;
711
+ border-radius: 2px;
712
+ background: var(--rs-success);
713
+ transition: width 0.6s ease;
714
+ }
715
+
716
+ .rs-track-fill--failed {
717
+ background: var(--rs-error);
718
+ }
719
+
720
+ .rs-track-checkpoint {
721
+ display: flex;
722
+ flex-direction: column;
723
+ align-items: center;
724
+ gap: 6px;
725
+ position: relative;
726
+ z-index: 1;
727
+ min-width: 48px;
728
+ }
729
+
730
+ .rs-track-node {
731
+ width: 22px;
732
+ height: 22px;
733
+ border-radius: 50%;
734
+ background: var(--rs-border);
735
+ display: flex;
736
+ align-items: center;
737
+ justify-content: center;
738
+ transition: background 0.3s ease, box-shadow 0.3s ease;
739
+ }
740
+
741
+ .rs-track-check-icon {
742
+ width: 11px;
743
+ height: 11px;
744
+ }
745
+
746
+ .rs-track-label {
747
+ font-size: 11px;
748
+ font-weight: 500;
749
+ color: var(--rs-muted);
750
+ white-space: nowrap;
751
+ }
752
+
753
+ @keyframes rs-track-pulse {
754
+ 0%, 100% { box-shadow: 0 0 0 0 rgba(24, 24, 27, 0.15); }
755
+ 50% { box-shadow: 0 0 0 6px rgba(24, 24, 27, 0.08); }
756
+ }
757
+
758
+ .rs-modal[data-theme="dark"] .rs-track-checkpoint--active .rs-track-node {
759
+ animation-name: rs-track-pulse-dark;
760
+ }
761
+
762
+ @keyframes rs-track-pulse-dark {
763
+ 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.15); }
764
+ 50% { box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.08); }
765
+ }
766
+
767
+ .rs-track-checkpoint--active .rs-track-node {
768
+ background: var(--rs-primary);
769
+ animation: rs-track-pulse 2s ease-in-out infinite;
770
+ }
771
+
772
+ .rs-track-checkpoint--active .rs-track-label {
773
+ font-weight: 600;
774
+ color: var(--rs-foreground);
775
+ }
776
+
777
+ .rs-track-checkpoint--warning .rs-track-node {
778
+ background: var(--color-amber8);
779
+ box-shadow: 0 0 0 4px var(--rs-warning-tint);
780
+ }
781
+
782
+ .rs-track-checkpoint--warning .rs-track-label {
783
+ color: var(--color-amber8);
784
+ }
785
+
786
+ .rs-track-checkpoint--complete .rs-track-node {
787
+ background: var(--rs-success);
788
+ }
789
+
790
+ .rs-track-checkpoint--complete .rs-track-check-icon {
791
+ stroke: white;
792
+ }
793
+
794
+ .rs-track-checkpoint--complete .rs-track-label {
795
+ color: var(--rs-success);
796
+ }
797
+
798
+ .rs-track-checkpoint--failed .rs-track-node {
799
+ background: var(--rs-error);
800
+ }
801
+
802
+ .rs-track-checkpoint--failed .rs-track-check-icon {
803
+ stroke: white;
804
+ }
805
+
806
+ .rs-track-checkpoint--failed .rs-track-label {
807
+ color: var(--rs-error);
808
+ }
809
+
810
+ .rs-phase-divider {
811
+ height: 1px;
812
+ margin: 8px 0;
813
+ background: var(--rs-border-surface);
814
+ }
815
+
816
+ .rs-phase-details {
817
+ display: flex;
818
+ flex-direction: column;
819
+ gap: 4px;
820
+ }
821
+
822
+ .rs-phase-detail-row {
823
+ display: flex;
824
+ align-items: center;
825
+ justify-content: space-between;
826
+ height: 24px;
827
+ }
828
+
829
+ .rs-phase-detail-label {
830
+ font-size: 12px;
831
+ color: var(--rs-muted);
832
+ }
833
+
834
+ .rs-phase-detail-value {
835
+ font-size: 12px;
836
+ font-weight: 600;
837
+ color: var(--rs-foreground);
838
+ }
839
+
674
840
  /* =============================================================================
675
841
  Asset Row
676
842
  ============================================================================= */
@@ -2581,3 +2747,224 @@
2581
2747
  background: var(--rs-card);
2582
2748
  color: var(--rs-foreground);
2583
2749
  }
2750
+
2751
+ /* =============================================================================
2752
+ Step Indicator (numbered circles with dotted line)
2753
+ ============================================================================= */
2754
+
2755
+ .rs-step-indicator {
2756
+ display: flex;
2757
+ align-items: center;
2758
+ }
2759
+
2760
+ .rs-step-indicator-node {
2761
+ width: 28px;
2762
+ height: 28px;
2763
+ border-radius: 50%;
2764
+ display: flex;
2765
+ align-items: center;
2766
+ justify-content: center;
2767
+ font-size: 12px;
2768
+ font-weight: 600;
2769
+ transition: background-color 0.2s, color 0.2s, border-color 0.2s;
2770
+ border: 1.5px solid var(--rs-border);
2771
+ background: transparent;
2772
+ color: var(--rs-muted);
2773
+ }
2774
+
2775
+ .rs-step-indicator-node--active {
2776
+ border-color: var(--rs-foreground);
2777
+ background: var(--rs-foreground);
2778
+ color: var(--rs-background);
2779
+ }
2780
+
2781
+ .rs-step-indicator-node--inactive {
2782
+ border-color: var(--rs-border);
2783
+ background: transparent;
2784
+ color: var(--rs-muted);
2785
+ }
2786
+
2787
+ .rs-step-indicator-node--complete {
2788
+ border-color: var(--rs-success);
2789
+ background: var(--rs-success);
2790
+ color: white;
2791
+ }
2792
+
2793
+ .rs-step-indicator-node--complete svg {
2794
+ width: 14px;
2795
+ height: 14px;
2796
+ }
2797
+
2798
+ .rs-step-indicator-line {
2799
+ width: 40px;
2800
+ height: 0;
2801
+ border-top: 2px dashed var(--rs-border);
2802
+ margin: 0 6px;
2803
+ transition: border-color 0.3s;
2804
+ }
2805
+
2806
+ .rs-step-indicator-line--active {
2807
+ border-color: var(--rs-success);
2808
+ border-top-style: solid;
2809
+ }
2810
+
2811
+ /* =============================================================================
2812
+ Processing Badges (centered icon badges)
2813
+ ============================================================================= */
2814
+
2815
+ .rs-step-header--centered {
2816
+ display: flex;
2817
+ flex-direction: column;
2818
+ align-items: center;
2819
+ text-align: center;
2820
+ padding: 16px 16px 0;
2821
+ }
2822
+
2823
+ .rs-step-header--centered .rs-step-title {
2824
+ margin-top: 0;
2825
+ }
2826
+
2827
+ .rs-step-header--centered .rs-step-description {
2828
+ max-width: 280px;
2829
+ }
2830
+
2831
+ .rs-success-badge {
2832
+ width: 56px;
2833
+ height: 56px;
2834
+ border-radius: 50%;
2835
+ background-color: var(--rs-success);
2836
+ color: white;
2837
+ display: flex;
2838
+ align-items: center;
2839
+ justify-content: center;
2840
+ margin: 0 auto 16px;
2841
+ animation: rs-success-glow 2s ease-in-out infinite;
2842
+ }
2843
+
2844
+ .rs-success-badge svg {
2845
+ width: 28px;
2846
+ height: 28px;
2847
+ }
2848
+
2849
+ @keyframes rs-success-glow {
2850
+ 0%, 100% { box-shadow: 0 0 0 0 rgba(48, 164, 108, 0.3); }
2851
+ 50% { box-shadow: 0 0 0 12px rgba(48, 164, 108, 0); }
2852
+ }
2853
+
2854
+ .rs-modal[data-theme="dark"] .rs-success-badge {
2855
+ animation-name: rs-success-glow-dark;
2856
+ }
2857
+
2858
+ @keyframes rs-success-glow-dark {
2859
+ 0%, 100% { box-shadow: 0 0 0 0 rgba(60, 177, 121, 0.3); }
2860
+ 50% { box-shadow: 0 0 0 12px rgba(60, 177, 121, 0); }
2861
+ }
2862
+
2863
+ .rs-processing-badge {
2864
+ width: 56px;
2865
+ height: 56px;
2866
+ border-radius: 50%;
2867
+ background-color: var(--rs-primary-tint);
2868
+ color: var(--rs-primary);
2869
+ display: flex;
2870
+ align-items: center;
2871
+ justify-content: center;
2872
+ margin: 0 auto 16px;
2873
+ }
2874
+
2875
+ .rs-processing-badge .rs-spinner {
2876
+ width: 28px;
2877
+ height: 28px;
2878
+ }
2879
+
2880
+ .rs-failed-badge {
2881
+ width: 56px;
2882
+ height: 56px;
2883
+ border-radius: 50%;
2884
+ background-color: var(--rs-error-tint);
2885
+ color: var(--rs-error);
2886
+ display: flex;
2887
+ align-items: center;
2888
+ justify-content: center;
2889
+ margin: 0 auto 16px;
2890
+ }
2891
+
2892
+ .rs-failed-badge svg {
2893
+ width: 28px;
2894
+ height: 28px;
2895
+ }
2896
+
2897
+ /* =============================================================================
2898
+ Card Value Status Colors + External Link
2899
+ ============================================================================= */
2900
+
2901
+ .rs-card-value--success {
2902
+ color: var(--rs-success);
2903
+ }
2904
+
2905
+ .rs-card-value--error {
2906
+ color: var(--rs-error);
2907
+ }
2908
+
2909
+ .rs-card-external-link {
2910
+ display: inline-flex;
2911
+ align-items: center;
2912
+ color: var(--rs-muted-foreground);
2913
+ transition: color 0.15s;
2914
+ text-decoration: none;
2915
+ }
2916
+
2917
+ .rs-card-external-link:hover {
2918
+ color: var(--rs-foreground);
2919
+ }
2920
+
2921
+ .rs-card-external-link svg {
2922
+ width: 12px;
2923
+ height: 12px;
2924
+ }
2925
+
2926
+ /* =============================================================================
2927
+ Details Toggle
2928
+ ============================================================================= */
2929
+
2930
+ .rs-details-toggle {
2931
+ display: flex;
2932
+ align-items: center;
2933
+ justify-content: center;
2934
+ gap: 4px;
2935
+ width: 100%;
2936
+ padding: 8px 0;
2937
+ border: none;
2938
+ background: transparent;
2939
+ color: var(--rs-muted-foreground);
2940
+ font-size: 12px;
2941
+ font-weight: 500;
2942
+ cursor: pointer;
2943
+ font-family: inherit;
2944
+ transition: color 0.15s;
2945
+ }
2946
+
2947
+ .rs-details-toggle:hover {
2948
+ color: var(--rs-foreground);
2949
+ }
2950
+
2951
+ .rs-details-toggle svg {
2952
+ width: 14px;
2953
+ height: 14px;
2954
+ transition: transform 0.2s;
2955
+ }
2956
+
2957
+ .rs-details-toggle--open svg {
2958
+ transform: rotate(180deg);
2959
+ }
2960
+
2961
+ /* =============================================================================
2962
+ Minimum Deposit Text
2963
+ ============================================================================= */
2964
+
2965
+ .rs-amount-minimum {
2966
+ text-align: center;
2967
+ font-size: 13px;
2968
+ color: var(--rs-muted-foreground);
2969
+ margin-top: 8px;
2970
+ }
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 _chunkK57KO3SWcjs = require('./chunk-K57KO3SW.cjs');
4
+ require('./chunk-DBBSH7HP.cjs');
5
5
  require('./chunk-NELAYNA3.cjs');
6
6
 
7
7
 
8
- exports.WithdrawModal = _chunkDKYHVAHNcjs.WithdrawModal;
8
+ exports.WithdrawModal = _chunkK57KO3SWcjs.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-4BL7RCZB.mjs";
4
+ import "./chunk-REDAO3MS.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.53",
4
4
  "description": "React modal component for Rhinestone cross-chain deposits",
5
5
  "author": "Rhinestone <dev@rhinestone.wtf>",
6
6
  "bugs": {