@rhinestone/deposit-modal 0.3.1 → 0.4.1
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/{DepositModalReown-G7UX4IBZ.mjs → DepositModalReown-EXI7MW65.mjs} +6 -6
- package/dist/{DepositModalReown-MECHBE6P.cjs → DepositModalReown-FMAPWBQM.cjs} +9 -9
- package/dist/{WithdrawModalReown-WJ6VBZKK.cjs → WithdrawModalReown-CTT3EXMG.cjs} +8 -8
- package/dist/{WithdrawModalReown-CUJAFUQM.mjs → WithdrawModalReown-G7EM6HXO.mjs} +5 -5
- package/dist/{chunk-DZQD3DAV.mjs → chunk-3GLQC2KQ.mjs} +86 -18
- package/dist/{chunk-R5WDHHVM.mjs → chunk-43RTPRQY.mjs} +14 -4
- package/dist/{chunk-3C35DVPE.mjs → chunk-A33QFRKD.mjs} +985 -428
- package/dist/{chunk-MILJQWPT.cjs → chunk-ABVRVW3P.cjs} +133 -8
- package/dist/{chunk-SPUZLWQS.cjs → chunk-BTDRUAPJ.cjs} +514 -543
- package/dist/{chunk-TQ2AYMWS.mjs → chunk-F7P4MV72.mjs} +1 -1
- package/dist/{chunk-BAEB5AFZ.mjs → chunk-FJWLC4AM.mjs} +1 -1
- package/dist/{chunk-LEL6GMEQ.cjs → chunk-JHT2MJ42.cjs} +175 -107
- package/dist/{chunk-MQIJZNTP.cjs → chunk-LJJCPDZO.cjs} +844 -287
- package/dist/{chunk-R5CPOBCF.cjs → chunk-NRNJAQUA.cjs} +4 -4
- package/dist/{chunk-QYSCCX4K.mjs → chunk-RTAIW3WW.mjs} +452 -481
- package/dist/{chunk-AJHFNHG3.cjs → chunk-UEKPBRBY.cjs} +3 -3
- package/dist/{chunk-ULEAK63T.cjs → chunk-ULCCXH2A.cjs} +16 -6
- package/dist/{chunk-6YRDD462.mjs → chunk-WJX3TJFK.mjs} +135 -10
- package/dist/constants.cjs +2 -2
- package/dist/constants.mjs +1 -1
- package/dist/deposit.cjs +6 -6
- package/dist/deposit.d.cts +2 -2
- package/dist/deposit.d.ts +2 -2
- package/dist/deposit.mjs +5 -5
- package/dist/index.cjs +7 -7
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +6 -6
- package/dist/polymarket.cjs +6 -6
- package/dist/polymarket.mjs +3 -3
- package/dist/styles.css +276 -27
- package/dist/{types-RzfAD14B.d.ts → types-CFRuisqK.d.cts} +1 -1
- package/dist/{types-RzfAD14B.d.cts → types-CFRuisqK.d.ts} +1 -1
- package/dist/withdraw.cjs +5 -5
- package/dist/withdraw.d.cts +2 -2
- package/dist/withdraw.d.ts +2 -2
- package/dist/withdraw.mjs +4 -4
- package/package.json +1 -1
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;
|
|
@@ -4482,6 +4561,20 @@
|
|
|
4482
4561
|
display: flex;
|
|
4483
4562
|
flex-direction: column;
|
|
4484
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;
|
|
4485
4578
|
}
|
|
4486
4579
|
|
|
4487
4580
|
.rs-body-header-title {
|
|
@@ -4500,6 +4593,61 @@
|
|
|
4500
4593
|
margin: 0;
|
|
4501
4594
|
}
|
|
4502
4595
|
|
|
4596
|
+
/* Segmented toggle (Crypto / Cash) — Figma "toggle container". */
|
|
4597
|
+
.rs-segmented {
|
|
4598
|
+
position: relative;
|
|
4599
|
+
display: grid;
|
|
4600
|
+
grid-auto-flow: column;
|
|
4601
|
+
grid-auto-columns: 1fr;
|
|
4602
|
+
align-items: center;
|
|
4603
|
+
padding: var(--rs-segmented-inset);
|
|
4604
|
+
background: var(--rs-segmented-track);
|
|
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: var(--rs-segmented-inset);
|
|
4613
|
+
bottom: var(--rs-segmented-inset);
|
|
4614
|
+
left: calc(var(--rs-segmented-inset) + var(--rs-segmented-thumb-offset));
|
|
4615
|
+
width: var(--rs-segmented-thumb-width);
|
|
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
|
+
transition: left 180ms ease;
|
|
4620
|
+
pointer-events: none;
|
|
4621
|
+
}
|
|
4622
|
+
|
|
4623
|
+
.rs-segmented-option {
|
|
4624
|
+
position: relative;
|
|
4625
|
+
z-index: 1;
|
|
4626
|
+
appearance: none;
|
|
4627
|
+
border: 0;
|
|
4628
|
+
background: transparent;
|
|
4629
|
+
padding: 5px 12px;
|
|
4630
|
+
min-width: 70px;
|
|
4631
|
+
border-radius: var(--rs-radius-full);
|
|
4632
|
+
font-family: inherit;
|
|
4633
|
+
font-size: 13px;
|
|
4634
|
+
font-weight: 500;
|
|
4635
|
+
line-height: 1.25;
|
|
4636
|
+
color: var(--rs-segmented-idle-fg);
|
|
4637
|
+
cursor: pointer;
|
|
4638
|
+
transition:
|
|
4639
|
+
color 0.15s;
|
|
4640
|
+
}
|
|
4641
|
+
|
|
4642
|
+
.rs-segmented-option:focus-visible {
|
|
4643
|
+
outline: 2px solid var(--rs-border-accent);
|
|
4644
|
+
outline-offset: 2px;
|
|
4645
|
+
}
|
|
4646
|
+
|
|
4647
|
+
.rs-segmented-option--active {
|
|
4648
|
+
color: var(--rs-segmented-active-fg);
|
|
4649
|
+
}
|
|
4650
|
+
|
|
4503
4651
|
/* Ticker — per-digit odometer-style animation for the live timer.
|
|
4504
4652
|
Each slot clips its content; the outgoing digit slides up and out while
|
|
4505
4653
|
the incoming digit slides up from below. Static chars (e.g. ":") never
|
|
@@ -4693,7 +4841,6 @@
|
|
|
4693
4841
|
.rs-list-row-meta-icons {
|
|
4694
4842
|
display: flex;
|
|
4695
4843
|
align-items: center;
|
|
4696
|
-
gap: 4px;
|
|
4697
4844
|
}
|
|
4698
4845
|
|
|
4699
4846
|
.rs-list-row-meta-icons > * {
|
|
@@ -4703,6 +4850,15 @@
|
|
|
4703
4850
|
align-items: center;
|
|
4704
4851
|
justify-content: center;
|
|
4705
4852
|
flex-shrink: 0;
|
|
4853
|
+
border-radius: 50%;
|
|
4854
|
+
overflow: hidden;
|
|
4855
|
+
/* Ring in the row's surface color so overlapping marks read cleanly. */
|
|
4856
|
+
box-shadow: 0 0 0 1.5px var(--rs-background-secondary);
|
|
4857
|
+
}
|
|
4858
|
+
|
|
4859
|
+
/* Overlap each subsequent mark for the stacked-cluster look. */
|
|
4860
|
+
.rs-list-row-meta-icons > * + * {
|
|
4861
|
+
margin-left: -6px;
|
|
4706
4862
|
}
|
|
4707
4863
|
|
|
4708
4864
|
.rs-list-row-meta-icons img,
|
|
@@ -4712,6 +4868,29 @@
|
|
|
4712
4868
|
display: block;
|
|
4713
4869
|
}
|
|
4714
4870
|
|
|
4871
|
+
.rs-list-row-meta-icons--exchanges > * {
|
|
4872
|
+
border-radius: 4px;
|
|
4873
|
+
}
|
|
4874
|
+
|
|
4875
|
+
/* Card-network chips: exported Figma tiles are all 38×24. */
|
|
4876
|
+
.rs-list-row-meta-icons--cards > .rs-card-network {
|
|
4877
|
+
width: 29px;
|
|
4878
|
+
height: 18px;
|
|
4879
|
+
border-radius: 3.25px;
|
|
4880
|
+
overflow: hidden;
|
|
4881
|
+
background: transparent;
|
|
4882
|
+
box-shadow: none;
|
|
4883
|
+
}
|
|
4884
|
+
|
|
4885
|
+
.rs-list-row-meta-icons--cards > .rs-card-network + .rs-card-network {
|
|
4886
|
+
margin-left: -7px;
|
|
4887
|
+
}
|
|
4888
|
+
|
|
4889
|
+
.rs-list-row-meta-icons--cards .rs-card-network svg {
|
|
4890
|
+
width: 100%;
|
|
4891
|
+
height: 100%;
|
|
4892
|
+
}
|
|
4893
|
+
|
|
4715
4894
|
.rs-list-row-chevron {
|
|
4716
4895
|
flex-shrink: 0;
|
|
4717
4896
|
width: 16px;
|
|
@@ -4753,10 +4932,13 @@
|
|
|
4753
4932
|
============================================================================= */
|
|
4754
4933
|
|
|
4755
4934
|
/* `.rs-fiat-onramp` is a marker class on the .rs-screen root so the
|
|
4756
|
-
modal-content `:has()` rules below can size correctly.
|
|
4757
|
-
|
|
4758
|
-
|
|
4759
|
-
|
|
4935
|
+
modal-content `:has()` rules below can size correctly. The Swapped iframe
|
|
4936
|
+
phase intentionally omits the BodyHeader so the embedded widget starts
|
|
4937
|
+
immediately below the modal nav chrome. */
|
|
4938
|
+
|
|
4939
|
+
.rs-fiat-onramp-body {
|
|
4940
|
+
gap: 0;
|
|
4941
|
+
}
|
|
4760
4942
|
|
|
4761
4943
|
.rs-fiat-onramp-banner {
|
|
4762
4944
|
display: flex;
|
|
@@ -4794,14 +4976,14 @@
|
|
|
4794
4976
|
color: var(--rs-muted);
|
|
4795
4977
|
}
|
|
4796
4978
|
|
|
4797
|
-
/* Iframe wrap sized to Swapped's documented dimensions — 400×
|
|
4979
|
+
/* Iframe wrap sized to Swapped's documented dimensions — 400×586 for the
|
|
4798
4980
|
fiat on-ramp, 445×585 for Connect (overrides below). Centered horizontally
|
|
4799
4981
|
inside the modal so the step body can have header padding. */
|
|
4800
4982
|
.rs-fiat-onramp-iframe-wrap {
|
|
4801
4983
|
position: relative;
|
|
4802
4984
|
width: 100%;
|
|
4803
4985
|
max-width: 400px;
|
|
4804
|
-
min-height:
|
|
4986
|
+
min-height: 586px;
|
|
4805
4987
|
margin: 0 auto;
|
|
4806
4988
|
border-radius: var(--rs-radius);
|
|
4807
4989
|
overflow: hidden;
|
|
@@ -4815,8 +4997,8 @@
|
|
|
4815
4997
|
.rs-fiat-onramp-iframe {
|
|
4816
4998
|
display: block;
|
|
4817
4999
|
width: 100%;
|
|
4818
|
-
height:
|
|
4819
|
-
min-height:
|
|
5000
|
+
height: 586px;
|
|
5001
|
+
min-height: 586px;
|
|
4820
5002
|
border: 0;
|
|
4821
5003
|
background: var(--rs-background);
|
|
4822
5004
|
}
|
|
@@ -4826,6 +5008,51 @@
|
|
|
4826
5008
|
min-height: 585px;
|
|
4827
5009
|
}
|
|
4828
5010
|
|
|
5011
|
+
/* Finalising deposit — compact centered spinner screen (Swapped Connect). */
|
|
5012
|
+
.rs-finalising-body {
|
|
5013
|
+
display: flex;
|
|
5014
|
+
flex-direction: column;
|
|
5015
|
+
align-items: center;
|
|
5016
|
+
justify-content: center;
|
|
5017
|
+
gap: 24px;
|
|
5018
|
+
padding: 32px 0 24px;
|
|
5019
|
+
text-align: center;
|
|
5020
|
+
}
|
|
5021
|
+
|
|
5022
|
+
.rs-finalising-spinner {
|
|
5023
|
+
display: inline-flex;
|
|
5024
|
+
color: var(--color-blue10);
|
|
5025
|
+
}
|
|
5026
|
+
|
|
5027
|
+
.rs-finalising-spinner .rs-spinner {
|
|
5028
|
+
width: 56px;
|
|
5029
|
+
height: 56px;
|
|
5030
|
+
}
|
|
5031
|
+
|
|
5032
|
+
.rs-finalising-text {
|
|
5033
|
+
display: flex;
|
|
5034
|
+
flex-direction: column;
|
|
5035
|
+
align-items: center;
|
|
5036
|
+
gap: 6px;
|
|
5037
|
+
}
|
|
5038
|
+
|
|
5039
|
+
.rs-finalising-title {
|
|
5040
|
+
font-size: 16px;
|
|
5041
|
+
font-weight: 700;
|
|
5042
|
+
line-height: 1.2;
|
|
5043
|
+
color: var(--rs-foreground);
|
|
5044
|
+
margin: 0;
|
|
5045
|
+
}
|
|
5046
|
+
|
|
5047
|
+
.rs-finalising-subtitle {
|
|
5048
|
+
font-size: 14px;
|
|
5049
|
+
font-weight: 500;
|
|
5050
|
+
line-height: 1.4;
|
|
5051
|
+
color: var(--rs-muted);
|
|
5052
|
+
margin: 0;
|
|
5053
|
+
max-width: 280px;
|
|
5054
|
+
}
|
|
5055
|
+
|
|
4829
5056
|
.rs-fiat-onramp-loading,
|
|
4830
5057
|
.rs-fiat-onramp-error {
|
|
4831
5058
|
position: absolute;
|
|
@@ -4863,7 +5090,7 @@
|
|
|
4863
5090
|
|
|
4864
5091
|
.rs-exchange-grid {
|
|
4865
5092
|
display: grid;
|
|
4866
|
-
grid-template-columns: repeat(
|
|
5093
|
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
4867
5094
|
gap: 8px;
|
|
4868
5095
|
}
|
|
4869
5096
|
|
|
@@ -4901,9 +5128,9 @@
|
|
|
4901
5128
|
display: inline-flex;
|
|
4902
5129
|
align-items: center;
|
|
4903
5130
|
justify-content: center;
|
|
4904
|
-
width:
|
|
4905
|
-
height:
|
|
4906
|
-
border-radius:
|
|
5131
|
+
width: 32px;
|
|
5132
|
+
height: 32px;
|
|
5133
|
+
border-radius: 4px;
|
|
4907
5134
|
background: var(--rs-surface);
|
|
4908
5135
|
color: #71717b;
|
|
4909
5136
|
overflow: hidden;
|
|
@@ -4917,6 +5144,19 @@
|
|
|
4917
5144
|
object-fit: contain;
|
|
4918
5145
|
}
|
|
4919
5146
|
|
|
5147
|
+
/* Bundled branded logos fill the tile edge-to-edge (their own brand-colour
|
|
5148
|
+
background), clipped to the tile's rounded corners. */
|
|
5149
|
+
.rs-exchange-card-logo--brand {
|
|
5150
|
+
background: transparent;
|
|
5151
|
+
}
|
|
5152
|
+
|
|
5153
|
+
.rs-exchange-card-logo--brand img,
|
|
5154
|
+
.rs-exchange-card-logo--brand svg {
|
|
5155
|
+
width: 100%;
|
|
5156
|
+
height: 100%;
|
|
5157
|
+
object-fit: cover;
|
|
5158
|
+
}
|
|
5159
|
+
|
|
4920
5160
|
.rs-exchange-card-name {
|
|
4921
5161
|
width: 100%;
|
|
4922
5162
|
min-width: 0;
|
|
@@ -4951,12 +5191,12 @@
|
|
|
4951
5191
|
Modal sizing for the Swapped iframe step
|
|
4952
5192
|
=============================================================================
|
|
4953
5193
|
Modal stays at the default 400px width for the fiat variant (matches
|
|
4954
|
-
Swapped's 400×
|
|
5194
|
+
Swapped's 400×586 iframe edge-to-edge). Connect needs 445px because its
|
|
4955
5195
|
iframe is 445×585. Height grows with the Rhinestone chrome (header
|
|
4956
5196
|
icon/title/subtitle + iframe + PoweredBy); cap to viewport so smaller
|
|
4957
5197
|
laptops get a scrollable modal-body instead of overflowing the screen. */
|
|
4958
5198
|
|
|
4959
|
-
/* Connect's iframe is 445×585 (vs fiat's 400×
|
|
5199
|
+
/* Connect's iframe is 445×585 (vs fiat's 400×586). To preserve the same
|
|
4960
5200
|
12px horizontal padding as ConnectStep while still giving Swapped's
|
|
4961
5201
|
Connect iframe its documented width, widen the modal by 24px (12 each
|
|
4962
5202
|
side) → 469px. Applied from the moment the user enters exchange-connect
|
|
@@ -4992,11 +5232,11 @@
|
|
|
4992
5232
|
when the iframe→tracker phase swap fires. */
|
|
4993
5233
|
.rs-modal-content:has(.rs-modal-body[data-flow-mode="fiat-onramp"][data-step-type="setup"]),
|
|
4994
5234
|
.rs-modal-content:has(.rs-modal-body[data-flow-mode="fiat-onramp"] .rs-fiat-onramp) {
|
|
4995
|
-
min-height:
|
|
5235
|
+
min-height: 699px;
|
|
4996
5236
|
}
|
|
4997
5237
|
.rs-modal-content:has(.rs-modal-body[data-flow-mode="exchange-connect"][data-step-type="setup"]),
|
|
4998
5238
|
.rs-modal-content:has(.rs-modal-body[data-flow-mode="exchange-connect"] .rs-fiat-onramp) {
|
|
4999
|
-
min-height:
|
|
5239
|
+
min-height: 698px;
|
|
5000
5240
|
}
|
|
5001
5241
|
|
|
5002
5242
|
/* =============================================================================
|
|
@@ -5051,15 +5291,21 @@
|
|
|
5051
5291
|
padding: 16px 0;
|
|
5052
5292
|
}
|
|
5053
5293
|
|
|
5054
|
-
/*
|
|
5294
|
+
/* Dashed vertical connector between adjacent step markers. */
|
|
5055
5295
|
.rs-swapped-tracker-step + .rs-swapped-tracker-step::before {
|
|
5056
5296
|
content: "";
|
|
5057
5297
|
position: absolute;
|
|
5058
5298
|
top: -14px;
|
|
5059
5299
|
right: 11px;
|
|
5060
|
-
width:
|
|
5300
|
+
width: 2px;
|
|
5061
5301
|
height: 28px;
|
|
5062
|
-
|
|
5302
|
+
background: repeating-linear-gradient(
|
|
5303
|
+
to bottom,
|
|
5304
|
+
#5f5f5f 0,
|
|
5305
|
+
#5f5f5f 3px,
|
|
5306
|
+
transparent 3px,
|
|
5307
|
+
transparent 7px
|
|
5308
|
+
);
|
|
5063
5309
|
}
|
|
5064
5310
|
|
|
5065
5311
|
.rs-swapped-tracker-step-label {
|
|
@@ -5083,7 +5329,8 @@
|
|
|
5083
5329
|
}
|
|
5084
5330
|
|
|
5085
5331
|
.rs-swapped-tracker-step--active .rs-swapped-tracker-step-marker {
|
|
5086
|
-
border-color:
|
|
5332
|
+
border-color: transparent;
|
|
5333
|
+
border-width: 0;
|
|
5087
5334
|
background: transparent;
|
|
5088
5335
|
/* Spinner SVG uses currentColor; base marker class sets color:transparent
|
|
5089
5336
|
for the (hidden) ring glyph — re-establish a visible color here so the
|
|
@@ -5092,8 +5339,10 @@
|
|
|
5092
5339
|
}
|
|
5093
5340
|
|
|
5094
5341
|
.rs-swapped-tracker-step--active .rs-swapped-tracker-step-marker .rs-spinner {
|
|
5095
|
-
|
|
5096
|
-
|
|
5342
|
+
display: block;
|
|
5343
|
+
flex: 0 0 24px;
|
|
5344
|
+
width: 24px;
|
|
5345
|
+
height: 24px;
|
|
5097
5346
|
}
|
|
5098
5347
|
|
|
5099
5348
|
/* Satisfying scale-pop when a step ticks complete — the color transition
|
|
@@ -5161,13 +5410,13 @@
|
|
|
5161
5410
|
background: var(--rs-border);
|
|
5162
5411
|
}
|
|
5163
5412
|
|
|
5164
|
-
.rs-modal[data-theme="dark"] .rs-swapped-tracker-step
|
|
5165
|
-
border-
|
|
5413
|
+
.rs-modal[data-theme="dark"] .rs-swapped-tracker-step--pending .rs-swapped-tracker-step-marker {
|
|
5414
|
+
border-color: #3f3f46;
|
|
5166
5415
|
}
|
|
5167
5416
|
|
|
5168
|
-
.rs-modal[data-theme="dark"] .rs-swapped-tracker-step--pending .rs-swapped-tracker-step-marker,
|
|
5169
5417
|
.rs-modal[data-theme="dark"] .rs-swapped-tracker-step--active .rs-swapped-tracker-step-marker {
|
|
5170
|
-
border-color:
|
|
5418
|
+
border-color: transparent;
|
|
5419
|
+
color: #fafafa;
|
|
5171
5420
|
}
|
|
5172
5421
|
|
|
5173
5422
|
.rs-modal[data-theme="dark"] .rs-swapped-tracker-step--complete .rs-swapped-tracker-step-marker {
|
|
@@ -231,7 +231,7 @@ interface DepositModalProps {
|
|
|
231
231
|
*/
|
|
232
232
|
fiatOnrampMethods?: FiatPaymentMethodOption[];
|
|
233
233
|
/**
|
|
234
|
-
* Show a "
|
|
234
|
+
* Show a "Connect exchange" row that opens Swapped Connect — the user
|
|
235
235
|
* picks their CEX (Coinbase, Binance, Kraken…) or wallet inside the iframe
|
|
236
236
|
* and Swapped pulls the crypto on-chain to the smart account. Default: false.
|
|
237
237
|
*/
|
|
@@ -231,7 +231,7 @@ interface DepositModalProps {
|
|
|
231
231
|
*/
|
|
232
232
|
fiatOnrampMethods?: FiatPaymentMethodOption[];
|
|
233
233
|
/**
|
|
234
|
-
* Show a "
|
|
234
|
+
* Show a "Connect exchange" row that opens Swapped Connect — the user
|
|
235
235
|
* picks their CEX (Coinbase, Binance, Kraken…) or wallet inside the iframe
|
|
236
236
|
* and Swapped pulls the crypto on-chain to the smart account. Default: false.
|
|
237
237
|
*/
|
package/dist/withdraw.cjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
5
|
-
require('./chunk-
|
|
6
|
-
require('./chunk-
|
|
3
|
+
var _chunkJHT2MJ42cjs = require('./chunk-JHT2MJ42.cjs');
|
|
4
|
+
require('./chunk-LJJCPDZO.cjs');
|
|
5
|
+
require('./chunk-UEKPBRBY.cjs');
|
|
6
|
+
require('./chunk-ABVRVW3P.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
exports.WithdrawModal =
|
|
9
|
+
exports.WithdrawModal = _chunkJHT2MJ42cjs.WithdrawModal;
|
package/dist/withdraw.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
|
-
import { n as WithdrawModalProps } from './types-
|
|
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-
|
|
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
6
|
declare function WithdrawModal(props: WithdrawModalProps): react.JSX.Element;
|
package/dist/withdraw.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
|
-
import { n as WithdrawModalProps } from './types-
|
|
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-
|
|
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
6
|
declare function WithdrawModal(props: WithdrawModalProps): react.JSX.Element;
|
package/dist/withdraw.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WithdrawModal
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-3GLQC2KQ.mjs";
|
|
4
|
+
import "./chunk-A33QFRKD.mjs";
|
|
5
|
+
import "./chunk-F7P4MV72.mjs";
|
|
6
|
+
import "./chunk-WJX3TJFK.mjs";
|
|
7
7
|
export {
|
|
8
8
|
WithdrawModal
|
|
9
9
|
};
|