@matchain/matchid-sdk-react 0.1.56-alpha.1 → 0.1.56-alpha.10

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 (83) hide show
  1. package/dist/api.d.mts +2 -2
  2. package/dist/api.d.ts +2 -2
  3. package/dist/api.js +67 -48
  4. package/dist/api.js.map +1 -1
  5. package/dist/api.mjs +4 -4
  6. package/dist/assets/lottie.d.mts +1 -1
  7. package/dist/assets/lottie.d.ts +1 -1
  8. package/dist/assets/lottie.js +5 -0
  9. package/dist/assets/lottie.js.map +1 -1
  10. package/dist/assets/lottie.mjs +3 -1
  11. package/dist/chains.d.mts +1 -1
  12. package/dist/chains.d.ts +1 -1
  13. package/dist/{chunk-FKXS2XRG.mjs → chunk-FQ6PYZPD.mjs} +94 -1
  14. package/dist/chunk-FQ6PYZPD.mjs.map +1 -0
  15. package/dist/{chunk-VRU6XRSC.mjs → chunk-JCMQBWWW.mjs} +2 -2
  16. package/dist/chunk-LOZCAT7A.mjs +7732 -0
  17. package/dist/chunk-LOZCAT7A.mjs.map +1 -0
  18. package/dist/{chunk-XR24AYII.mjs → chunk-XM6CYEXN.mjs} +6 -1
  19. package/dist/chunk-XM6CYEXN.mjs.map +1 -0
  20. package/dist/components.d.mts +3 -3
  21. package/dist/components.d.ts +3 -3
  22. package/dist/components.js +506 -368
  23. package/dist/components.js.map +1 -1
  24. package/dist/components.mjs +3 -3
  25. package/dist/hooks.d.mts +2 -3
  26. package/dist/hooks.d.ts +2 -3
  27. package/dist/hooks.js +247 -184
  28. package/dist/hooks.js.map +1 -1
  29. package/dist/hooks.mjs +3 -3
  30. package/dist/icon.d.mts +2 -2
  31. package/dist/icon.d.ts +2 -2
  32. package/dist/icon.js +93 -0
  33. package/dist/icon.js.map +1 -1
  34. package/dist/icon.mjs +11 -1
  35. package/dist/{index-FKxw4Vaa.d.mts → index-84CqVi2I.d.mts} +1 -1
  36. package/dist/{index-4dZbgWG2.d.ts → index-BNqdFiOo.d.ts} +1 -1
  37. package/dist/{index-C82WIWvx.d.ts → index-BctnHnJp.d.ts} +21 -3
  38. package/dist/{index-BKSGbw7b.d.mts → index-BqI0PEIi.d.mts} +2 -2
  39. package/dist/{index-CDTTHSh0.d.mts → index-CHgaOUiW.d.mts} +6586 -138
  40. package/dist/{index-CDTTHSh0.d.ts → index-CHgaOUiW.d.ts} +6586 -138
  41. package/dist/{index-TjbO7d74.d.mts → index-Car1jFyN.d.mts} +1 -1
  42. package/dist/{index-B50DU_xT.d.mts → index-CboftuIp.d.mts} +2 -0
  43. package/dist/{index-B50DU_xT.d.ts → index-CboftuIp.d.ts} +2 -0
  44. package/dist/{index-CwHXzvvB.d.ts → index-CcVHENNv.d.ts} +1 -1
  45. package/dist/{index-DK7l3lsH.d.ts → index-Cqdz_5bE.d.ts} +10 -4
  46. package/dist/{index-BtjgRcNJ.d.ts → index-CvzpMw3N.d.ts} +2 -2
  47. package/dist/index-D2E53ZMV.d.mts +7134 -0
  48. package/dist/{index-BXbfmVoU.d.mts → index-DVlulZhE.d.mts} +2 -2
  49. package/dist/{index-D7E317WV.d.mts → index-DkijpM5Q.d.mts} +21 -3
  50. package/dist/index-DwmrgZa2.d.ts +7134 -0
  51. package/dist/{index-YPRyEYt6.d.mts → index-DxHhOW24.d.mts} +10 -4
  52. package/dist/{index-CsUEaGtM.d.ts → index-qmC4zt6V.d.ts} +2 -2
  53. package/dist/index.css +227 -30
  54. package/dist/index.d.mts +167 -89
  55. package/dist/index.d.ts +167 -89
  56. package/dist/index.js +624 -430
  57. package/dist/index.js.map +1 -1
  58. package/dist/index.mjs +4 -4
  59. package/dist/{types-DEsY_CPH.d.mts → types-BrVeC0c8.d.mts} +5 -1
  60. package/dist/{types-DEsY_CPH.d.ts → types-BrVeC0c8.d.ts} +5 -1
  61. package/dist/types.d.mts +1 -1
  62. package/dist/types.d.ts +1 -1
  63. package/dist/ui.d.mts +3 -3
  64. package/dist/ui.d.ts +3 -3
  65. package/dist/ui.js +204 -111
  66. package/dist/ui.js.map +1 -1
  67. package/dist/ui.mjs +5 -3
  68. package/example/package.json +1 -2
  69. package/example/src/pages/UI/components/Checkbox.tsx +10 -0
  70. package/example/src/pages/UI/components/Input.tsx +12 -0
  71. package/example/src/pages/UI/components/Modal.tsx +38 -0
  72. package/example/src/pages/UI/index.tsx +6 -0
  73. package/example/src/pages/Wallet/index.tsx +90 -88
  74. package/example/yarn.lock +2251 -27
  75. package/package.json +8 -4
  76. package/dist/chunk-43Y3F6GB.mjs +0 -7623
  77. package/dist/chunk-43Y3F6GB.mjs.map +0 -1
  78. package/dist/chunk-FKXS2XRG.mjs.map +0 -1
  79. package/dist/chunk-XR24AYII.mjs.map +0 -1
  80. package/dist/index-B7ZEyP1j.d.ts +0 -3341
  81. package/dist/index-CPTgrfjn.d.mts +0 -3341
  82. package/example/package-lock.json +0 -2965
  83. /package/dist/{chunk-VRU6XRSC.mjs.map → chunk-JCMQBWWW.mjs.map} +0 -0
package/dist/index.css CHANGED
@@ -1,3 +1,7 @@
1
+ * {
2
+ box-sizing: border-box;
3
+ }
4
+
1
5
  body {
2
6
  /**value**/
3
7
  --matchid-light-orange: #FFF3EB;
@@ -153,10 +157,11 @@ body {
153
157
  justify-content: center;
154
158
  align-items: center;
155
159
  flex-direction: column;
156
- gap: 64px;
157
- @media screen and (max-width: 768px) {
160
+ gap: 24px;
161
+
162
+ /* @media screen and (max-width: 768px) {
158
163
  gap: 48px;
159
- }
164
+ } */
160
165
 
161
166
  .matchid-login-recommend-list {
162
167
  width: 100%;
@@ -165,6 +170,7 @@ body {
165
170
  align-items: center;
166
171
  flex-direction: column;
167
172
  gap: 16px;
173
+
168
174
  @media screen and (max-width: 768px) {
169
175
  gap: 12px;
170
176
  }
@@ -193,6 +199,7 @@ body {
193
199
  padding: 16px;
194
200
  cursor: pointer;
195
201
  color: var(--matchid-login-method-color, #000000);
202
+
196
203
  @media screen and (max-width: 768px) {
197
204
  height: 56px;
198
205
  padding: 10px 16px;
@@ -205,6 +212,7 @@ body {
205
212
  gap: 8px;
206
213
  font-size: 16px;
207
214
  font-weight: 600;
215
+
208
216
  @media screen and (max-width: 768px) {
209
217
  gap: 12px
210
218
  }
@@ -241,6 +249,7 @@ body {
241
249
  flex-direction: column;
242
250
  gap: 8px;
243
251
  width: 100%;
252
+
244
253
  @media screen and (max-width: 768px) {
245
254
  margin-top: 10px;
246
255
  }
@@ -254,6 +263,7 @@ body {
254
263
  border-radius: 8px;
255
264
  font-size: 16px;
256
265
  font-weight: 600;
266
+
257
267
  @media screen and (max-width: 768px) {
258
268
  height: 48px;
259
269
  }
@@ -294,22 +304,70 @@ body {
294
304
  }
295
305
  }
296
306
 
307
+ .matchid-privacy-policy {
308
+ display: flex;
309
+ flex-direction: column;
310
+ align-items: center;
311
+ gap: 16px;
312
+
313
+ .matchid-privacy-policy-content {
314
+ width: 100%;
315
+ text-align: center;
316
+ font-size: 14px;
317
+ color: var(--matchid-gray-600);
318
+ font-weight: 400;
319
+ padding: 0 24px;
320
+ line-height: 17px;
321
+
322
+ .matchid-privacy-policy-content-link {
323
+ color: var(--matchid-highlight-orange);
324
+ text-decoration: underline;
325
+ cursor: pointer;
326
+ }
327
+ }
328
+
329
+ .matchid-privacy-policy-powered-by {
330
+ display: flex;
331
+ align-items: center;
332
+ gap: 8px;
333
+ font-size: 16px;
334
+ font-weight: 500;
335
+ color: var(--matchid-gray-350);
336
+ }
337
+ }
338
+
297
339
  .matchid-login-other {
298
340
  width: 100%;
299
341
  gap: 16px;
300
342
  display: flex;
301
343
  flex-direction: column;
344
+ margin-top: 12px;
345
+
346
+ .matchid-login-other-line-box {
347
+ display: flex;
348
+ align-items: center;
349
+ gap: 8px;
350
+ }
302
351
 
303
352
  .matchid-login-other-text {
353
+ position: relative;
304
354
  text-align: center;
305
355
  font-size: 14px;
306
356
  color: var(--matchid-login-other-color, #6E6E6E);
307
357
  font-weight: 400;
358
+
308
359
  @media screen and (max-width: 768px) {
309
360
  font-size: 12px;
310
361
  }
311
362
  }
312
363
 
364
+ .matchid-login-other-line {
365
+ flex-grow: 1;
366
+ height: 1px;
367
+ background-color: var(--matchid-line);
368
+ opacity: 0.5;
369
+ }
370
+
313
371
  .matchid-login-method-box {
314
372
  display: grid;
315
373
  padding: 16px;
@@ -331,12 +389,13 @@ body {
331
389
  display: flex;
332
390
  flex-direction: column;
333
391
  gap: 24px;
392
+
334
393
  @media screen and (max-width: 768px) {
335
394
  gap: 16px;
336
395
  }
337
396
 
338
397
  .matchid-login-panel-box {
339
- max-height: 500px;
398
+ max-height: 683px;
340
399
  overflow-y: auto;
341
400
 
342
401
  &::-webkit-scrollbar {
@@ -362,12 +421,15 @@ body {
362
421
  display: flex;
363
422
  gap: 4px;
364
423
  flex-direction: column;
424
+ align-items: flex-start;
365
425
  }
366
426
 
367
427
  .matchid-login-panel-header-title {
368
428
  color: var(--matchid-login-panel-title-color, #000000);
369
429
  font-size: 18px;
370
430
  font-weight: 600;
431
+ text-align: left;
432
+
371
433
  @media screen and (max-width: 768px) {
372
434
  font-size: 16px;
373
435
  }
@@ -378,6 +440,7 @@ body {
378
440
  font-size: 14px;
379
441
  font-weight: 400;
380
442
  line-height: 120%;
443
+
381
444
  @media screen and (max-width: 768px) {
382
445
  font-size: 12px;
383
446
  }
@@ -404,6 +467,7 @@ body {
404
467
  backdrop-filter: blur(2px);
405
468
  background: rgba(0, 0, 0, .3);
406
469
  color: var(--matchid-overlay-color);
470
+
407
471
  @media screen and (max-width: 768px) {
408
472
  align-items: center;
409
473
  }
@@ -417,11 +481,13 @@ body {
417
481
  width: 480px;
418
482
  max-width: 90vw;
419
483
  padding: var(--matchid-modal-padding, 32px);
484
+
420
485
  @media screen and (max-width: 768px) {
421
486
  width: calc(100vw - 20px);
422
487
  max-width: calc(100vw - 20px);
423
488
  padding: var(--matchid-mobile-modal-padding, 20px);
424
489
  padding-top: 0px;
490
+
425
491
  .matchid-modal-mobile-header {
426
492
  width: 44px;
427
493
  height: 5px;
@@ -437,6 +503,7 @@ body {
437
503
  display: flex;
438
504
  align-items: center;
439
505
  justify-content: space-between;
506
+
440
507
  @media screen and (max-width: 768px) {
441
508
  height: 38px;
442
509
  padding-bottom: 16px;
@@ -448,7 +515,8 @@ body {
448
515
  margin-bottom: 24px;
449
516
  }
450
517
 
451
- .matchid-modal-header-back, .matchid-modal-header-close {
518
+ .matchid-modal-header-back,
519
+ .matchid-modal-header-close {
452
520
  cursor: pointer;
453
521
  }
454
522
 
@@ -461,6 +529,7 @@ body {
461
529
  color: var(--matchid-modal-header-color, #000);
462
530
  font-size: 20px;
463
531
  font-weight: 500;
532
+
464
533
  @media screen and (max-width: 768px) {
465
534
  font-size: 16px;
466
535
  font-weight: 500;
@@ -479,19 +548,23 @@ body {
479
548
  padding-left: 24px;
480
549
  padding-right: 24px;
481
550
  border-radius: 12px;
551
+ position: relative;
482
552
  border: 1px solid var(--matchid-input-border-color);
483
553
  display: flex;
484
554
  align-items: center;
485
555
  justify-content: space-between;
486
556
  background: var(--matchid-input-bg);
487
557
  gap: 24px;
558
+
488
559
  @media screen and (max-width: 768px) {
489
560
  height: 48px;
490
561
  padding-left: 16px;
491
562
  padding-right: 16px;
492
563
  }
493
564
 
494
- &:active, &:focus, &:focus-within {
565
+ &:active,
566
+ &:focus,
567
+ &:focus-within {
495
568
  border-color: var(--matchid-input-focus-border-color);
496
569
  background: var(--matchid-input-focus-bg);
497
570
  }
@@ -500,6 +573,7 @@ body {
500
573
  background: var(--matchid-input-focus-bg);
501
574
  }
502
575
 
576
+
503
577
  .matchid-input-field {
504
578
  flex: 1;
505
579
  height: 100%;
@@ -509,7 +583,8 @@ body {
509
583
  font-weight: 500;
510
584
  background: none;
511
585
  min-width: 0;
512
- border:0;
586
+ border: 0;
587
+
513
588
  @media screen and (max-width: 768px) {
514
589
  font-size: 16px;
515
590
  font-weight: 500;
@@ -520,7 +595,8 @@ body {
520
595
  font-weight: 300;
521
596
  }
522
597
 
523
- &:active, &:focus {
598
+ &:active,
599
+ &:focus {
524
600
  outline: 0;
525
601
  }
526
602
  }
@@ -531,6 +607,7 @@ body {
531
607
  align-items: center;
532
608
  width: 20px;
533
609
  flex-shrink: 1;
610
+
534
611
  @media screen and (max-width: 768px) {
535
612
  width: 16px;
536
613
  }
@@ -541,6 +618,7 @@ body {
541
618
  cursor: pointer;
542
619
  width: 20px;
543
620
  flex-shrink: 1;
621
+
544
622
  @media screen and (max-width: 768px) {
545
623
  width: 16px;
546
624
  }
@@ -551,12 +629,51 @@ body {
551
629
  opacity: 1;
552
630
  }
553
631
  }
632
+
633
+ .matchid-input-length {
634
+ color: var(--matchid-gray-400);
635
+ --icon-color: var(--matchid-gray-400);
636
+ position: absolute;
637
+ bottom: 8px;
638
+ right: 8px;
639
+ display: flex;
640
+ align-items: flex-end;
641
+ gap: 4px;
642
+ font-size: 18px;
643
+
644
+ @media screen and (max-width: 768px) {
645
+ font-size: 14px;
646
+ }
647
+ }
648
+
649
+ &:active,
650
+ &:focus,
651
+ &:focus-within {
652
+ .matchid-input-length {
653
+ color: var(--matchid-highlight-orange);
654
+ --icon-color: var(--matchid-highlight-orange);
655
+ }
656
+ }
657
+
658
+ &.matchid-input-textarea {
659
+ height: auto;
660
+ padding: 24px;
661
+
662
+ .matchid-input-field {
663
+ line-height: 24px;
664
+ height: 24px;
665
+ max-height: calc(24px * var(--max-rows));
666
+ resize: none;
667
+ overflow: auto;
668
+ }
669
+ }
554
670
  }
555
671
 
556
672
  .matchid-field-box {
557
673
  display: flex;
558
674
  flex-direction: column;
559
675
  gap: 16px;
676
+
560
677
  @media screen and (max-width: 768px) {
561
678
  gap: 8px;
562
679
  }
@@ -565,6 +682,7 @@ body {
565
682
  color: var(--matchid-field-color);
566
683
  font-size: 18px;
567
684
  font-weight: 500;
685
+
568
686
  @media screen and (max-width: 768px) {
569
687
  font-size: 14px;
570
688
  font-weight: 500;
@@ -611,7 +729,10 @@ body {
611
729
  }
612
730
 
613
731
 
614
- .matchid-btn-highlight, .matchid-btn-highlight:hover, .matchid-btn-highlight:focus, .matchid-btn-highlight:not(:disabled):hover {
732
+ .matchid-btn-highlight,
733
+ .matchid-btn-highlight:hover,
734
+ .matchid-btn-highlight:focus,
735
+ .matchid-btn-highlight:not(:disabled):hover {
615
736
  background: var(--matchid-btn-highlight-bg);
616
737
  color: var(--matchid-btn-highlight-color);
617
738
  border: 0;
@@ -639,6 +760,7 @@ body {
639
760
  0% {
640
761
  transform: rotate(0deg);
641
762
  }
763
+
642
764
  100% {
643
765
  transform: rotate(360deg);
644
766
  }
@@ -691,25 +813,30 @@ body {
691
813
  }
692
814
  }
693
815
 
694
- .matchid-email-verify-box, .matchid-password-box {
816
+ .matchid-email-verify-box,
817
+ .matchid-password-box {
695
818
  display: flex;
696
819
  flex-direction: column;
697
820
  gap: 64px;
821
+
698
822
  @media screen and (max-width: 768px) {
699
823
  gap: 36px;
700
824
  }
701
825
 
702
- .matchid-email-verify-header, .matchid-password-header {
826
+ .matchid-email-verify-header,
827
+ .matchid-password-header {
703
828
  display: flex;
704
829
  align-items: center;
705
830
  gap: 16px;
706
831
  height: 40px;
832
+
707
833
  @media screen and (max-width: 768px) {
708
834
  gap: 12px;
709
835
  height: 32px;
710
836
  }
711
837
 
712
- .matchid-email-verify-header-icon, .matchid-password-header-icon {
838
+ .matchid-email-verify-header-icon,
839
+ .matchid-password-header-icon {
713
840
  width: 40px;
714
841
  height: 40px;
715
842
  display: flex;
@@ -717,6 +844,7 @@ body {
717
844
  align-items: center;
718
845
  border-radius: 8px;
719
846
  border: 1px solid var(--matchid-black);
847
+
720
848
  @media screen and (max-width: 768px) {
721
849
  width: 32px;
722
850
  height: 32px;
@@ -736,6 +864,7 @@ body {
736
864
  font-size: 24px;
737
865
  font-weight: 600;
738
866
  line-height: 100%;
867
+
739
868
  @media screen and (max-width: 768px) {
740
869
  font-size: 16px;
741
870
  font-weight: 500;
@@ -745,7 +874,9 @@ body {
745
874
  .matchid-email-verify-header-tips {
746
875
  color: var(--matchid-email-verify-header-value-tips);
747
876
  font-size: 14px;
748
- line-height: 120%; /* 16.8px */
877
+ line-height: 120%;
878
+
879
+ /* 16.8px */
749
880
  @media screen and (max-width: 768px) {
750
881
  font-size: 12px;
751
882
  }
@@ -753,9 +884,10 @@ body {
753
884
  }
754
885
 
755
886
  .matchid-password-header-content {
756
- flex:1;
887
+ flex: 1;
757
888
  font-size: 14px;
758
889
  color: var(--matchid-password-header-color);
890
+
759
891
  @media screen and (max-width: 768px) {
760
892
  font-size: 14px;
761
893
  }
@@ -764,7 +896,8 @@ body {
764
896
  }
765
897
 
766
898
 
767
- .matchid-unlogin-btn, .matchid-login-btn {
899
+ .matchid-unlogin-btn,
900
+ .matchid-login-btn {
768
901
  gap: 8px
769
902
  }
770
903
 
@@ -776,7 +909,8 @@ body {
776
909
  border-color: var(--matchid-login-btn-border-color);
777
910
  }
778
911
 
779
- .matchid-login-btn:hover, .matchid-login-btn:not(:disabled):hover {
912
+ .matchid-login-btn:hover,
913
+ .matchid-login-btn:not(:disabled):hover {
780
914
  background: var(--matchid-login-btn-hover-bg-color);
781
915
  color: var(--matchid-login-btn-hover-text-color);
782
916
  fill: var(--matchid-login-btn-hover-icon-color);
@@ -801,6 +935,7 @@ body {
801
935
  display: flex;
802
936
  flex-direction: column;
803
937
  gap: 16px;
938
+
804
939
  @media screen and (max-width: 768px) {
805
940
  gap: 4px;
806
941
  }
@@ -810,6 +945,7 @@ body {
810
945
  font-size: 14px;
811
946
  gap: 8px;
812
947
  align-items: flex-start;
948
+
813
949
  @media screen and (max-width: 768px) {
814
950
  font-size: 12px;
815
951
  line-height: normal;
@@ -1034,6 +1170,7 @@ body {
1034
1170
  font-size: 16px;
1035
1171
  font-weight: 500;
1036
1172
  display: block;
1173
+
1037
1174
  @media screen and (min-width: 768px) {
1038
1175
  display: none;
1039
1176
  }
@@ -1044,6 +1181,7 @@ body {
1044
1181
  flex-direction: column;
1045
1182
  gap: 36px;
1046
1183
  align-items: center;
1184
+
1047
1185
  @media screen and (min-width: 768px) {
1048
1186
  justify-content: space-between;
1049
1187
  flex: 1;
@@ -1056,6 +1194,7 @@ body {
1056
1194
  gap: 24px;
1057
1195
  align-items: center;
1058
1196
  width: 100%;
1197
+
1059
1198
  @media screen and (min-width: 768px) {
1060
1199
  gap: 48px;
1061
1200
  }
@@ -1064,6 +1203,7 @@ body {
1064
1203
  font-size: 24px;
1065
1204
  font-weight: 500;
1066
1205
  display: none;
1206
+
1067
1207
  @media screen and (min-width: 768px) {
1068
1208
  display: block;
1069
1209
  }
@@ -1074,10 +1214,12 @@ body {
1074
1214
  height: 96px;
1075
1215
  }
1076
1216
 
1077
- .matchid-hashpanel-hash,.matchid-hashpanel-text {
1217
+ .matchid-hashpanel-hash,
1218
+ .matchid-hashpanel-text {
1078
1219
  width: 100%;
1079
1220
  font-size: 14px;
1080
1221
  word-break: break-all;
1222
+
1081
1223
  @media screen and (min-width: 768px) {
1082
1224
  font-size: 16px;
1083
1225
  }
@@ -1099,7 +1241,8 @@ body {
1099
1241
  position: relative;
1100
1242
  transition: background-color 0.3s ease;
1101
1243
 
1102
- .matchid-switch-ball, .matchid-switch-loading-icon {
1244
+ .matchid-switch-ball,
1245
+ .matchid-switch-loading-icon {
1103
1246
  width: 24px;
1104
1247
  height: 24px;
1105
1248
  transition: transform 0.3s ease, left 0.3s, background-color 0.3s ease;
@@ -1118,7 +1261,8 @@ body {
1118
1261
  height: 24px;
1119
1262
  border-radius: 12px;
1120
1263
 
1121
- .matchid-switch-ball, .matchid-switch-loading-icon {
1264
+ .matchid-switch-ball,
1265
+ .matchid-switch-loading-icon {
1122
1266
  width: 18px;
1123
1267
  height: 18px;
1124
1268
  left: 3px;
@@ -1129,16 +1273,19 @@ body {
1129
1273
  &.matchid-switch-checked {
1130
1274
  background-color: var(--matchid-switch-checked-bg);
1131
1275
 
1132
- .matchid-switch-ball, .matchid-switch-loading-icon {
1276
+ .matchid-switch-ball,
1277
+ .matchid-switch-loading-icon {
1133
1278
  left: 36px;
1134
1279
  }
1135
1280
 
1136
- &.matchid-switch-sm .matchid-switch-ball, .matchid-switch-sm .matchid-switch-loading-icon {
1281
+ &.matchid-switch-sm .matchid-switch-ball,
1282
+ .matchid-switch-sm .matchid-switch-loading-icon {
1137
1283
  left: 27px;
1138
1284
  }
1139
1285
  }
1140
1286
 
1141
- &.matchid-switch-disabled, &.matchid-switch-loading {
1287
+ &.matchid-switch-disabled,
1288
+ &.matchid-switch-loading {
1142
1289
  cursor: not-allowed;
1143
1290
  background-color: var(--matchid-switch-disabled-bg);
1144
1291
 
@@ -1186,6 +1333,7 @@ body {
1186
1333
  display: flex;
1187
1334
  flex-direction: column;
1188
1335
  gap: 48px;
1336
+
1189
1337
  @media screen and (max-width: 768px) {
1190
1338
  gap: 36px;
1191
1339
  }
@@ -1194,6 +1342,7 @@ body {
1194
1342
  display: flex;
1195
1343
  flex-direction: column;
1196
1344
  gap: 24px;
1345
+
1197
1346
  @media screen and (max-width: 768px) {
1198
1347
  gap: 16px;
1199
1348
  }
@@ -1208,12 +1357,14 @@ body {
1208
1357
  border: 1px solid var(--matchid-line);
1209
1358
  border-radius: 16px;
1210
1359
  transition: border-color 0.2s;
1360
+
1211
1361
  @media screen and (max-width: 768px) {
1212
1362
  padding: 10px 16px;
1213
1363
  border-radius: 12px;
1214
1364
  }
1215
1365
 
1216
- &:hover, &.matchid-change-network-selected {
1366
+ &:hover,
1367
+ &.matchid-change-network-selected {
1217
1368
  border-color: var(--matchid-highlight-orange);
1218
1369
  }
1219
1370
 
@@ -1221,6 +1372,7 @@ body {
1221
1372
  display: flex;
1222
1373
  align-items: center;
1223
1374
  gap: 16px;
1375
+
1224
1376
  @media screen and (max-width: 768px) {
1225
1377
  gap: 8px;
1226
1378
  }
@@ -1229,6 +1381,7 @@ body {
1229
1381
  width: 28px;
1230
1382
  height: 28px;
1231
1383
  border-radius: 8px;
1384
+
1232
1385
  @media (min-width: 768px) {
1233
1386
  width: 40px;
1234
1387
  height: 40px;
@@ -1238,6 +1391,7 @@ body {
1238
1391
  .matchid-change-network-item-name {
1239
1392
  font-size: 14px;
1240
1393
  font-weight: 500;
1394
+
1241
1395
  @media (min-width: 768px) {
1242
1396
  font-size: 16px;
1243
1397
  }
@@ -1250,11 +1404,14 @@ body {
1250
1404
 
1251
1405
  .matchid-toast-box {
1252
1406
  position: fixed;
1253
- top: 20px; /* 5 * 4px = 20px */
1254
- right: 20px; /* 5 * 4px = 20px */
1407
+ top: 20px;
1408
+ /* 5 * 4px = 20px */
1409
+ right: 20px;
1410
+ /* 5 * 4px = 20px */
1255
1411
  display: flex;
1256
1412
  flex-direction: column;
1257
- gap: 8px; /* space-y-2 -> 2 * 4px = 8px */
1413
+ gap: 8px;
1414
+ /* space-y-2 -> 2 * 4px = 8px */
1258
1415
 
1259
1416
  .matchid-toast {
1260
1417
  display: flex;
@@ -1279,6 +1436,7 @@ body {
1279
1436
  align-items: center;
1280
1437
  flex: 1;
1281
1438
  gap: 48px;
1439
+
1282
1440
  @media screen and (max-width: 768px) {
1283
1441
  gap: 36px;
1284
1442
  }
@@ -1288,6 +1446,7 @@ body {
1288
1446
  flex-direction: column;
1289
1447
  align-items: center;
1290
1448
  gap: 48px;
1449
+
1291
1450
  @media screen and (max-width: 768px) {
1292
1451
  gap: 24px;
1293
1452
  }
@@ -1305,6 +1464,7 @@ body {
1305
1464
  border: 2px solid var(--matchid-line);
1306
1465
  border-radius: 12px;
1307
1466
  padding: 16px;
1467
+
1308
1468
  @media screen and (max-width: 768px) {
1309
1469
  padding: 10px;
1310
1470
  }
@@ -1312,6 +1472,7 @@ body {
1312
1472
  .matchid-qr-code {
1313
1473
  width: 148px;
1314
1474
  height: 148px;
1475
+
1315
1476
  @media screen and (max-width: 768px) {
1316
1477
  width: 88px;
1317
1478
  height: 88px;
@@ -1333,6 +1494,7 @@ body {
1333
1494
  display: flex;
1334
1495
  flex-direction: column;
1335
1496
  gap: 48px;
1497
+
1336
1498
  @media screen and (max-width: 768px) {
1337
1499
  gap: 36px;
1338
1500
  }
@@ -1341,6 +1503,7 @@ body {
1341
1503
  display: flex;
1342
1504
  flex-direction: column;
1343
1505
  gap: 24px;
1506
+
1344
1507
  @media screen and (max-width: 768px) {
1345
1508
  gap: 16px;
1346
1509
  }
@@ -1351,6 +1514,7 @@ body {
1351
1514
  display: flex;
1352
1515
  flex-direction: column;
1353
1516
  gap: 16px;
1517
+
1354
1518
  @media screen and (max-width: 768px) {
1355
1519
  gap: 8px;
1356
1520
  }
@@ -1366,6 +1530,7 @@ body {
1366
1530
  padding: 16px;
1367
1531
  border: 1px solid var(--matchid-line);
1368
1532
  border-radius: 16px;
1533
+
1369
1534
  @media screen and (max-width: 768px) {
1370
1535
  padding: 10px 16px;
1371
1536
  }
@@ -1380,6 +1545,7 @@ body {
1380
1545
  width: 42px;
1381
1546
  display: flex;
1382
1547
  align-items: center;
1548
+
1383
1549
  @media screen and (max-width: 768px) {
1384
1550
  width: 36px;
1385
1551
  height: 36px;
@@ -1389,6 +1555,7 @@ body {
1389
1555
  width: 40px;
1390
1556
  height: 40px;
1391
1557
  border-radius: 8px;
1558
+
1392
1559
  @media screen and (max-width: 768px) {
1393
1560
  width: 36px;
1394
1561
  height: 36px;
@@ -1402,6 +1569,7 @@ body {
1402
1569
  height: 12px;
1403
1570
  right: 0px;
1404
1571
  bottom: 1px;
1572
+
1405
1573
  @media screen and (max-width: 768px) {
1406
1574
  width: 10px;
1407
1575
  height: 10px;
@@ -1431,6 +1599,7 @@ body {
1431
1599
  -webkit-box-orient: vertical;
1432
1600
  overflow: hidden;
1433
1601
  text-overflow: ellipsis;
1602
+
1434
1603
  @media (max-width: 768px) {
1435
1604
  font-size: 14px;
1436
1605
  }
@@ -1446,6 +1615,7 @@ body {
1446
1615
  font-size: 16px;
1447
1616
  font-weight: 500;
1448
1617
  color: var(--matchid-black);
1618
+
1449
1619
  @media (max-width: 768px) {
1450
1620
  font-size: 14px;
1451
1621
  }
@@ -1470,6 +1640,7 @@ body {
1470
1640
  font-size: 16px;
1471
1641
  font-weight: 500;
1472
1642
  color: var(--matchid-success);
1643
+
1473
1644
  @media (max-width: 768px) {
1474
1645
  font-size: 14px;
1475
1646
  }
@@ -1542,6 +1713,7 @@ body {
1542
1713
  font-size: 20px;
1543
1714
  font-weight: 500;
1544
1715
  color: var(--matchid-black);
1716
+
1545
1717
  @media (max-width: 768px) {
1546
1718
  font-size: 16px;
1547
1719
  }
@@ -1555,6 +1727,7 @@ body {
1555
1727
  padding: 16px;
1556
1728
  background: var(--matchid-gray-100);
1557
1729
  border-radius: 12px;
1730
+
1558
1731
  @media (max-width: 768px) {
1559
1732
  gap: 8px;
1560
1733
  }
@@ -1563,6 +1736,7 @@ body {
1563
1736
  color: var(--matchid-black);
1564
1737
  font-size: 16px;
1565
1738
  font-weight: 500;
1739
+
1566
1740
  @media (max-width: 768px) {
1567
1741
  font-size: 14px;
1568
1742
  }
@@ -1573,6 +1747,7 @@ body {
1573
1747
  word-break: break-all;
1574
1748
  font-size: 14px;
1575
1749
  color: var(--matchid-secondary-grey);
1750
+
1576
1751
  @media (max-width: 768px) {
1577
1752
  font-size: 12px;
1578
1753
  }
@@ -1588,6 +1763,7 @@ body {
1588
1763
  flex-direction: column;
1589
1764
  padding-bottom: 200px;
1590
1765
  gap: 40px;
1766
+
1591
1767
  @media (max-width: 768px) {
1592
1768
  padding-bottom: 0px;
1593
1769
  gap: 68px;
@@ -1598,7 +1774,8 @@ body {
1598
1774
  flex-direction: column;
1599
1775
  gap: 16px;
1600
1776
 
1601
- .matchid-token-amount-content, .matchid-token-address-content {
1777
+ .matchid-token-amount-content,
1778
+ .matchid-token-address-content {
1602
1779
  padding: 16px;
1603
1780
  background: var(--matchid-light-grey);
1604
1781
  border-radius: 16px;
@@ -1625,6 +1802,7 @@ body {
1625
1802
  font-size: 16px;
1626
1803
  font-weight: 500;
1627
1804
  color: var(--matchid-black);
1805
+
1628
1806
  @media (max-width: 768px) {
1629
1807
  font-size: 14px;
1630
1808
  }
@@ -1658,6 +1836,7 @@ body {
1658
1836
  align-items: center;
1659
1837
  gap: 8px;
1660
1838
  font-size: 14px;
1839
+
1661
1840
  @media (max-width: 768px) {
1662
1841
  font-size: 12px;
1663
1842
  }
@@ -1680,6 +1859,7 @@ body {
1680
1859
  font-size: 16px;
1681
1860
  font-weight: 500;
1682
1861
  color: var(--matchid-black);
1862
+
1683
1863
  @media (max-width: 768px) {
1684
1864
  font-size: 14px;
1685
1865
  }
@@ -1704,6 +1884,7 @@ body {
1704
1884
  font-weight: 600;
1705
1885
  border-bottom: 1px solid var(--matchid-line);
1706
1886
  caret-color: var(--matchid-black);
1887
+
1707
1888
  @media (max-width: 768px) {
1708
1889
  font-size: 20px;
1709
1890
  }
@@ -1725,6 +1906,7 @@ body {
1725
1906
  &.matchid-token-input-sm {
1726
1907
  .matchid-token-input {
1727
1908
  font-size: 16px;
1909
+
1728
1910
  @media (max-width: 768px) {
1729
1911
  font-size: 14px;
1730
1912
  }
@@ -1760,6 +1942,7 @@ body {
1760
1942
  flex: 1;
1761
1943
  overflow-y: scroll;
1762
1944
  max-height: calc(70vh - 48px - 50px);
1945
+
1763
1946
  @media (max-width: 768px) {
1764
1947
  max-height: calc(70vh - 48px - 38px);
1765
1948
  }
@@ -1774,12 +1957,14 @@ body {
1774
1957
  border: 1px solid var(--matchid-line);
1775
1958
  border-radius: 16px;
1776
1959
  transition: border-color 0.2s;
1960
+
1777
1961
  @media (max-width: 768px) {
1778
1962
  padding: 10px 16px;
1779
1963
  border-radius: 12px;
1780
1964
  }
1781
1965
 
1782
- &:hover, &.matchid-token-send-checked {
1966
+ &:hover,
1967
+ &.matchid-token-send-checked {
1783
1968
  border-color: var(--matchid-highlight-orange);
1784
1969
  }
1785
1970
 
@@ -1788,6 +1973,7 @@ body {
1788
1973
  align-items: center;
1789
1974
  flex: 1;
1790
1975
  gap: 16px;
1976
+
1791
1977
  @media (max-width: 768px) {
1792
1978
  gap: 8px;
1793
1979
  }
@@ -1826,6 +2012,7 @@ body {
1826
2012
  align-items: center;
1827
2013
  justify-content: space-between;
1828
2014
  gap: 10px;
2015
+
1829
2016
  @media (min-width: 768px) {
1830
2017
  font-size: 16px;
1831
2018
  }
@@ -1849,6 +2036,7 @@ body {
1849
2036
  height: 78px;
1850
2037
  background: var(--matchid-wallet-transaction-bg);
1851
2038
  color: var(--matchid-wallet-transaction-color);
2039
+
1852
2040
  @media screen and (max-width: 768px) {
1853
2041
  height: 64px;
1854
2042
  }
@@ -1870,6 +2058,7 @@ body {
1870
2058
  display: flex;
1871
2059
  align-items: center;
1872
2060
  justify-content: center;
2061
+
1873
2062
  @media screen and (max-width: 768px) {
1874
2063
  width: 36px;
1875
2064
  height: 36px;
@@ -1889,6 +2078,7 @@ body {
1889
2078
  font-size: 16px;
1890
2079
  font-weight: 500;
1891
2080
  color: black;
2081
+
1892
2082
  @media screen and (max-width: 768px) {
1893
2083
  font-size: 14px;
1894
2084
  }
@@ -1942,6 +2132,7 @@ body {
1942
2132
  display: flex;
1943
2133
  flex-direction: column;
1944
2134
  gap: 16px;
2135
+
1945
2136
  @media screen and (max-width: 768px) {
1946
2137
  gap: 8px;
1947
2138
  }
@@ -1956,6 +2147,7 @@ body {
1956
2147
  align-items: center;
1957
2148
  justify-content: center;
1958
2149
  color: var(--matchid-secondary-grey);
2150
+
1959
2151
  @media screen and (max-width: 768px) {
1960
2152
  font-size: 14px;
1961
2153
  }
@@ -1972,6 +2164,7 @@ body {
1972
2164
  padding-bottom: 100px;
1973
2165
  gap: 24px;
1974
2166
  justify-content: space-between;
2167
+
1975
2168
  @media screen and (max-width: 768px) {
1976
2169
  padding-bottom: 0;
1977
2170
  gap: 115px;
@@ -1982,6 +2175,7 @@ body {
1982
2175
  flex-direction: column;
1983
2176
  gap: 48px;
1984
2177
  align-items: center;
2178
+
1985
2179
  @media screen and (max-width: 768px) {
1986
2180
  gap: 24px;
1987
2181
  }
@@ -1995,6 +2189,7 @@ body {
1995
2189
  font-size: 24px;
1996
2190
  font-weight: 500;
1997
2191
  color: var(--matchid-success);
2192
+
1998
2193
  @media screen and (max-width: 768px) {
1999
2194
  font-size: 18px;
2000
2195
  }
@@ -2021,6 +2216,7 @@ body {
2021
2216
  0% {
2022
2217
  background-position: 200% 0;
2023
2218
  }
2219
+
2024
2220
  100% {
2025
2221
  background-position: -200% 0;
2026
2222
  }
@@ -2034,6 +2230,7 @@ body {
2034
2230
  font-size: 16px;
2035
2231
  color: var(--matchid-secondary-grey);
2036
2232
  padding: 20px 0;
2233
+
2037
2234
  @media screen and (max-width: 768px) {
2038
2235
  font-size: 14px;
2039
2236
  }
@@ -2088,10 +2285,10 @@ body {
2088
2285
  width: 100%;
2089
2286
  align-items: center;
2090
2287
  justify-content: center;
2288
+
2091
2289
  @media (min-width: 768px) {
2092
2290
  font-size: 16px;
2093
2291
  gap: 12px;
2094
2292
  }
2095
2293
 
2096
- }
2097
-
2294
+ }