react-public-components 1.2.3 → 1.2.4

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 (191) hide show
  1. package/dist/AudioPlayer/index.cjs +3 -3
  2. package/dist/AudioPlayer/index.js +2 -2
  3. package/dist/CodeSnippet/index.cjs +3 -2
  4. package/dist/CodeSnippet/index.css +157 -0
  5. package/dist/CodeSnippet/index.css.map +1 -1
  6. package/dist/CodeSnippet/index.d.ts +40 -4
  7. package/dist/CodeSnippet/index.js +2 -1
  8. package/dist/CodeSnippet/sandbox.d.ts +26 -0
  9. package/dist/CollapseBox/index.cjs +3 -3
  10. package/dist/CollapseBox/index.js +2 -2
  11. package/dist/ColorPicker/index.cjs +5 -5
  12. package/dist/ColorPicker/index.js +2 -2
  13. package/dist/ContextMenu/index.cjs +3 -3
  14. package/dist/ContextMenu/index.js +2 -2
  15. package/dist/CopyButton/index.cjs +3 -3
  16. package/dist/CopyButton/index.js +2 -2
  17. package/dist/CronPicker/index.cjs +4 -4
  18. package/dist/CronPicker/index.js +3 -3
  19. package/dist/DebounceSelect/index.cjs +3 -3
  20. package/dist/DebounceSelect/index.js +2 -2
  21. package/dist/DisabledBox/index.cjs +3 -3
  22. package/dist/DisabledBox/index.js +2 -2
  23. package/dist/DragSortList/index.cjs +3 -2
  24. package/dist/DragSortList/index.css +82 -13
  25. package/dist/DragSortList/index.css.map +1 -1
  26. package/dist/DragSortList/index.d.ts +8 -2
  27. package/dist/DragSortList/index.js +2 -1
  28. package/dist/FilePreviewer/index.cjs +4 -4
  29. package/dist/FilePreviewer/index.js +2 -2
  30. package/dist/Fullscreen/index.cjs +3 -3
  31. package/dist/Fullscreen/index.js +2 -2
  32. package/dist/GuidedTour/index.cjs +3 -3
  33. package/dist/GuidedTour/index.js +2 -2
  34. package/dist/ImageCropper/index.cjs +3 -3
  35. package/dist/ImageCropper/index.js +2 -2
  36. package/dist/InfiniteScrollList/index.cjs +3 -3
  37. package/dist/InfiniteScrollList/index.js +2 -2
  38. package/dist/JsonEditor/index.cjs +4 -4
  39. package/dist/JsonEditor/index.js +3 -3
  40. package/dist/KeyValEditor/index.cjs +3 -3
  41. package/dist/KeyValEditor/index.js +2 -2
  42. package/dist/PasswordStrength/index.cjs +4 -4
  43. package/dist/PasswordStrength/index.js +2 -2
  44. package/dist/PdfViewer/index.cjs +3 -3
  45. package/dist/PdfViewer/index.js +2 -2
  46. package/dist/QrCodeCard/index.cjs +3 -3
  47. package/dist/QrCodeCard/index.css +122 -32
  48. package/dist/QrCodeCard/index.css.map +1 -1
  49. package/dist/QrCodeCard/index.d.ts +10 -2
  50. package/dist/QrCodeCard/index.js +2 -2
  51. package/dist/SensitiveMask/index.cjs +5 -5
  52. package/dist/SensitiveMask/index.js +3 -3
  53. package/dist/Splitter/index.cjs +3 -3
  54. package/dist/Splitter/index.js +2 -2
  55. package/dist/TagInput/index.cjs +3 -3
  56. package/dist/TagInput/index.js +2 -2
  57. package/dist/TextEllipsis/index.cjs +4 -4
  58. package/dist/TextEllipsis/index.js +3 -3
  59. package/dist/TreeTransfer/index.cjs +3 -3
  60. package/dist/TreeTransfer/index.js +2 -2
  61. package/dist/VideoPlayer/index.cjs +3 -3
  62. package/dist/VideoPlayer/index.js +2 -2
  63. package/dist/{chunk-GV2RRQ2S.cjs → chunk-2EIAWXFA.cjs} +5 -5
  64. package/dist/{chunk-GV2RRQ2S.cjs.map → chunk-2EIAWXFA.cjs.map} +1 -1
  65. package/dist/{chunk-ISUXPTLV.js → chunk-2IDVNTKR.js} +93 -3
  66. package/dist/chunk-2IDVNTKR.js.map +1 -0
  67. package/dist/{chunk-6FVAQECF.js → chunk-2INP6NM4.js} +3 -3
  68. package/dist/{chunk-6FVAQECF.js.map → chunk-2INP6NM4.js.map} +1 -1
  69. package/dist/chunk-4KMVABTM.js +419 -0
  70. package/dist/chunk-4KMVABTM.js.map +1 -0
  71. package/dist/{chunk-VS2YVJOB.cjs → chunk-4TMBGQQE.cjs} +5 -5
  72. package/dist/{chunk-VS2YVJOB.cjs.map → chunk-4TMBGQQE.cjs.map} +1 -1
  73. package/dist/{chunk-PJB7ADK6.js → chunk-56VELHCH.js} +3 -3
  74. package/dist/{chunk-PJB7ADK6.js.map → chunk-56VELHCH.js.map} +1 -1
  75. package/dist/{chunk-4BDO5TJH.cjs → chunk-77ANKL4K.cjs} +8 -8
  76. package/dist/{chunk-4BDO5TJH.cjs.map → chunk-77ANKL4K.cjs.map} +1 -1
  77. package/dist/{chunk-OCN7L2ID.cjs → chunk-7ZBA4NHH.cjs} +4 -4
  78. package/dist/{chunk-OCN7L2ID.cjs.map → chunk-7ZBA4NHH.cjs.map} +1 -1
  79. package/dist/{chunk-MY4M7HVW.cjs → chunk-AHTRLNYK.cjs} +5 -5
  80. package/dist/{chunk-MY4M7HVW.cjs.map → chunk-AHTRLNYK.cjs.map} +1 -1
  81. package/dist/{chunk-WEOMKZC6.js → chunk-ANTFNDH4.js} +3 -3
  82. package/dist/{chunk-WEOMKZC6.js.map → chunk-ANTFNDH4.js.map} +1 -1
  83. package/dist/{chunk-EGZSSZBX.js → chunk-AXPVN2OO.js} +3 -3
  84. package/dist/{chunk-EGZSSZBX.js.map → chunk-AXPVN2OO.js.map} +1 -1
  85. package/dist/{chunk-LLWK5VKA.js → chunk-CURWX7OY.js} +3 -3
  86. package/dist/{chunk-LLWK5VKA.js.map → chunk-CURWX7OY.js.map} +1 -1
  87. package/dist/{chunk-WZRUBHS3.cjs → chunk-ED3ZG2VX.cjs} +5 -5
  88. package/dist/{chunk-WZRUBHS3.cjs.map → chunk-ED3ZG2VX.cjs.map} +1 -1
  89. package/dist/{chunk-BZXMWKD2.js → chunk-EDNBPLUS.js} +3 -3
  90. package/dist/{chunk-BZXMWKD2.js.map → chunk-EDNBPLUS.js.map} +1 -1
  91. package/dist/{chunk-MC3NERDH.js → chunk-EJYTTSW6.js} +3 -3
  92. package/dist/{chunk-MC3NERDH.js.map → chunk-EJYTTSW6.js.map} +1 -1
  93. package/dist/{chunk-3UNZXPOT.cjs → chunk-EKDJPOA3.cjs} +5 -5
  94. package/dist/{chunk-3UNZXPOT.cjs.map → chunk-EKDJPOA3.cjs.map} +1 -1
  95. package/dist/{chunk-XWXFENGT.js → chunk-EMT4NUI5.js} +3 -3
  96. package/dist/{chunk-XWXFENGT.js.map → chunk-EMT4NUI5.js.map} +1 -1
  97. package/dist/{chunk-HFPWBZID.js → chunk-ETFLLRTO.js} +3 -3
  98. package/dist/{chunk-HFPWBZID.js.map → chunk-ETFLLRTO.js.map} +1 -1
  99. package/dist/chunk-FZH5FL7X.cjs +167 -0
  100. package/dist/chunk-FZH5FL7X.cjs.map +1 -0
  101. package/dist/{chunk-6UKUAYN3.cjs → chunk-HKALWFWZ.cjs} +5 -5
  102. package/dist/{chunk-6UKUAYN3.cjs.map → chunk-HKALWFWZ.cjs.map} +1 -1
  103. package/dist/{chunk-IBOCJ2ZS.js → chunk-IF4XAUV3.js} +3 -3
  104. package/dist/{chunk-IBOCJ2ZS.js.map → chunk-IF4XAUV3.js.map} +1 -1
  105. package/dist/{chunk-MNY5P5EG.cjs → chunk-IPS7PC3M.cjs} +13 -13
  106. package/dist/{chunk-MNY5P5EG.cjs.map → chunk-IPS7PC3M.cjs.map} +1 -1
  107. package/dist/{chunk-V4O325BX.cjs → chunk-JHVPDKBM.cjs} +6 -6
  108. package/dist/{chunk-V4O325BX.cjs.map → chunk-JHVPDKBM.cjs.map} +1 -1
  109. package/dist/{chunk-6IXVUD2M.js → chunk-JNA5AQ2K.js} +3 -3
  110. package/dist/{chunk-6IXVUD2M.js.map → chunk-JNA5AQ2K.js.map} +1 -1
  111. package/dist/{chunk-NJIYP6SC.cjs → chunk-LFGBZXQH.cjs} +4 -4
  112. package/dist/{chunk-NJIYP6SC.cjs.map → chunk-LFGBZXQH.cjs.map} +1 -1
  113. package/dist/{chunk-ZLWY7QS2.cjs → chunk-M3GQ7RCV.cjs} +4 -4
  114. package/dist/{chunk-ZLWY7QS2.cjs.map → chunk-M3GQ7RCV.cjs.map} +1 -1
  115. package/dist/{chunk-AFR7V4A4.js → chunk-M4FZJALR.js} +4 -4
  116. package/dist/{chunk-AFR7V4A4.js.map → chunk-M4FZJALR.js.map} +1 -1
  117. package/dist/{chunk-CT66HLZ5.js → chunk-MQJBUHDB.js} +3 -3
  118. package/dist/{chunk-CT66HLZ5.js.map → chunk-MQJBUHDB.js.map} +1 -1
  119. package/dist/{chunk-V7IUSCQS.js → chunk-OLLVIQPL.js} +3 -3
  120. package/dist/{chunk-V7IUSCQS.js.map → chunk-OLLVIQPL.js.map} +1 -1
  121. package/dist/{chunk-2DIU347W.cjs → chunk-OONBZRPV.cjs} +4 -4
  122. package/dist/{chunk-2DIU347W.cjs.map → chunk-OONBZRPV.cjs.map} +1 -1
  123. package/dist/{chunk-56TD4LDC.js → chunk-P5CS7V4W.js} +3 -3
  124. package/dist/{chunk-56TD4LDC.js.map → chunk-P5CS7V4W.js.map} +1 -1
  125. package/dist/{chunk-HUXPCMNP.js → chunk-PTFKE67K.js} +3 -3
  126. package/dist/{chunk-HUXPCMNP.js.map → chunk-PTFKE67K.js.map} +1 -1
  127. package/dist/{chunk-PUTAVQJZ.js → chunk-PUMVD7CP.js} +3 -3
  128. package/dist/{chunk-PUTAVQJZ.js.map → chunk-PUMVD7CP.js.map} +1 -1
  129. package/dist/{chunk-KXZM322K.cjs → chunk-PYCSRJSF.cjs} +7 -7
  130. package/dist/{chunk-KXZM322K.cjs.map → chunk-PYCSRJSF.cjs.map} +1 -1
  131. package/dist/{chunk-PUJJHD22.js → chunk-Q7OVUH5K.js} +3 -3
  132. package/dist/{chunk-PUJJHD22.js.map → chunk-Q7OVUH5K.js.map} +1 -1
  133. package/dist/{chunk-2UCTE6YN.cjs → chunk-QP3RKA4J.cjs} +4 -4
  134. package/dist/{chunk-2UCTE6YN.cjs.map → chunk-QP3RKA4J.cjs.map} +1 -1
  135. package/dist/{chunk-OKCQZO5E.js → chunk-QRZ2GVVJ.js} +3 -3
  136. package/dist/{chunk-OKCQZO5E.js.map → chunk-QRZ2GVVJ.js.map} +1 -1
  137. package/dist/{chunk-MBOWSS4B.cjs → chunk-R4V3EJVP.cjs} +98 -2
  138. package/dist/chunk-R4V3EJVP.cjs.map +1 -0
  139. package/dist/{chunk-4OXVTRYV.cjs → chunk-RN5WU7KA.cjs} +7 -7
  140. package/dist/{chunk-4OXVTRYV.cjs.map → chunk-RN5WU7KA.cjs.map} +1 -1
  141. package/dist/{chunk-WWXBH57R.cjs → chunk-TNZ2OLGW.cjs} +4 -4
  142. package/dist/{chunk-WWXBH57R.cjs.map → chunk-TNZ2OLGW.cjs.map} +1 -1
  143. package/dist/chunk-TUDLE3RT.cjs +429 -0
  144. package/dist/chunk-TUDLE3RT.cjs.map +1 -0
  145. package/dist/{chunk-B7NN6SZD.cjs → chunk-TUEVILTA.cjs} +5 -5
  146. package/dist/{chunk-B7NN6SZD.cjs.map → chunk-TUEVILTA.cjs.map} +1 -1
  147. package/dist/{chunk-ZUW3XLZQ.cjs → chunk-U2EBNBGK.cjs} +4 -4
  148. package/dist/{chunk-ZUW3XLZQ.cjs.map → chunk-U2EBNBGK.cjs.map} +1 -1
  149. package/dist/{chunk-JAW7Q2YC.cjs → chunk-UAUP5TJK.cjs} +5 -5
  150. package/dist/{chunk-JAW7Q2YC.cjs.map → chunk-UAUP5TJK.cjs.map} +1 -1
  151. package/dist/{chunk-2MDYHFLH.cjs → chunk-UZB7GOEI.cjs} +4 -4
  152. package/dist/{chunk-2MDYHFLH.cjs.map → chunk-UZB7GOEI.cjs.map} +1 -1
  153. package/dist/{chunk-ZNFW6L3E.cjs → chunk-VJOO2DG3.cjs} +8 -8
  154. package/dist/{chunk-ZNFW6L3E.cjs.map → chunk-VJOO2DG3.cjs.map} +1 -1
  155. package/dist/{chunk-JECYRODB.js → chunk-W5JA3YTT.js} +3 -3
  156. package/dist/{chunk-JECYRODB.js.map → chunk-W5JA3YTT.js.map} +1 -1
  157. package/dist/{chunk-QZZGBUW4.js → chunk-WKF4C6TJ.js} +3 -3
  158. package/dist/{chunk-QZZGBUW4.js.map → chunk-WKF4C6TJ.js.map} +1 -1
  159. package/dist/{chunk-64LBDDZU.js → chunk-XLOGMDAQ.js} +3 -3
  160. package/dist/{chunk-64LBDDZU.js.map → chunk-XLOGMDAQ.js.map} +1 -1
  161. package/dist/chunk-XUAHWX6B.js +153 -0
  162. package/dist/chunk-XUAHWX6B.js.map +1 -0
  163. package/dist/chunk-Y54KVULF.js +161 -0
  164. package/dist/chunk-Y54KVULF.js.map +1 -0
  165. package/dist/{chunk-NUTVJGVT.cjs → chunk-YP4XTMK3.cjs} +4 -4
  166. package/dist/{chunk-NUTVJGVT.cjs.map → chunk-YP4XTMK3.cjs.map} +1 -1
  167. package/dist/{chunk-MGUNFP6P.js → chunk-ZCBT56AG.js} +3 -3
  168. package/dist/{chunk-MGUNFP6P.js.map → chunk-ZCBT56AG.js.map} +1 -1
  169. package/dist/chunk-ZWKUHYTV.cjs +155 -0
  170. package/dist/chunk-ZWKUHYTV.cjs.map +1 -0
  171. package/dist/index.cjs +74 -58
  172. package/dist/index.css +361 -45
  173. package/dist/index.css.map +1 -1
  174. package/dist/index.js +27 -27
  175. package/dist/src/icons.d.ts +18 -0
  176. package/dist/src/index.d.ts +3 -1
  177. package/package.json +1 -1
  178. package/dist/chunk-5VSEUDVY.js +0 -45
  179. package/dist/chunk-5VSEUDVY.js.map +0 -1
  180. package/dist/chunk-EOGYWPX7.cjs +0 -47
  181. package/dist/chunk-EOGYWPX7.cjs.map +0 -1
  182. package/dist/chunk-EQ7S5SYM.js +0 -67
  183. package/dist/chunk-EQ7S5SYM.js.map +0 -1
  184. package/dist/chunk-FYFL4PFD.cjs +0 -69
  185. package/dist/chunk-FYFL4PFD.cjs.map +0 -1
  186. package/dist/chunk-ISUXPTLV.js.map +0 -1
  187. package/dist/chunk-JEDW76LI.cjs +0 -107
  188. package/dist/chunk-JEDW76LI.cjs.map +0 -1
  189. package/dist/chunk-MBOWSS4B.cjs.map +0 -1
  190. package/dist/chunk-XOMV26WS.js +0 -105
  191. package/dist/chunk-XOMV26WS.js.map +0 -1
package/dist/index.css CHANGED
@@ -2673,39 +2673,48 @@
2673
2673
  display: inline-flex;
2674
2674
  flex-direction: column;
2675
2675
  align-items: center;
2676
- padding: 20px;
2676
+ padding: 24px;
2677
2677
  background: #ffffff;
2678
- border: 1px solid #f0f0f0;
2679
- border-radius: 12px;
2680
- box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
2678
+ border: 1px solid #ebeef5;
2679
+ border-radius: 16px;
2680
+ box-shadow: 0 6px 24px -4px rgba(0, 0, 0, 0.05), 0 2px 6px -2px rgba(0, 0, 0, 0.02);
2681
2681
  box-sizing: border-box;
2682
2682
  user-select: none;
2683
+ transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
2684
+ }
2685
+ .rpc_qrcode_card:hover {
2686
+ box-shadow: 0 10px 30px -4px rgba(0, 0, 0, 0.08), 0 4px 10px -2px rgba(0, 0, 0, 0.03);
2683
2687
  }
2684
2688
  .rpc_qrcode_card_wrap {
2685
2689
  position: relative;
2686
2690
  display: inline-flex;
2687
2691
  align-items: center;
2688
2692
  justify-content: center;
2689
- border: 1px solid #f0f0f0;
2690
- border-radius: 8px;
2691
- padding: 8px;
2693
+ border: 1px solid #f0f2f5;
2694
+ border-radius: 12px;
2692
2695
  background: #ffffff;
2696
+ box-sizing: border-box;
2697
+ overflow: hidden;
2698
+ transition: all 0.2s ease;
2699
+ }
2700
+ .rpc_qrcode_card_wrap_bordered {
2701
+ border: 1px dashed #d9d9d9;
2693
2702
  }
2694
2703
  .rpc_qrcode_card_canvas {
2695
2704
  display: block;
2705
+ border-radius: 6px;
2696
2706
  }
2697
2707
  .rpc_qrcode_card_logo {
2698
2708
  position: absolute;
2699
2709
  top: 50%;
2700
2710
  left: 50%;
2701
2711
  transform: translate(-50%, -50%);
2702
- width: 32px;
2703
- height: 32px;
2704
- border-radius: 6px;
2705
- border: 2px solid #ffffff;
2706
- box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
2712
+ border-radius: 8px;
2713
+ border: 2.5px solid #ffffff;
2714
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
2707
2715
  background: #ffffff;
2708
2716
  object-fit: cover;
2717
+ z-index: 5;
2709
2718
  }
2710
2719
  .rpc_qrcode_card_mask {
2711
2720
  position: absolute;
@@ -2713,19 +2722,28 @@
2713
2722
  left: 0;
2714
2723
  right: 0;
2715
2724
  bottom: 0;
2716
- background: rgba(255, 255, 255, 0.94);
2717
- backdrop-filter: blur(3px);
2718
- border-radius: 8px;
2725
+ background: rgba(255, 255, 255, 0.92);
2726
+ backdrop-filter: blur(8px);
2727
+ -webkit-backdrop-filter: blur(8px);
2728
+ border-radius: 11px;
2719
2729
  display: flex;
2720
2730
  flex-direction: column;
2721
2731
  align-items: center;
2722
2732
  justify-content: center;
2733
+ padding: 12px;
2734
+ box-sizing: border-box;
2735
+ z-index: 10;
2736
+ animation: rpcQrFadeIn 0.25s ease-out;
2737
+ }
2738
+ .rpc_qrcode_card_mask_expired {
2739
+ cursor: pointer;
2723
2740
  gap: 8px;
2741
+ }
2742
+ .rpc_qrcode_card_mask_title {
2724
2743
  font-size: 13px;
2725
- color: #595959;
2726
- cursor: pointer;
2727
- z-index: 10;
2728
- transition: all 0.2s ease-in-out;
2744
+ font-weight: 500;
2745
+ color: #333333;
2746
+ letter-spacing: 0.2px;
2729
2747
  }
2730
2748
  .rpc_qrcode_card_mask_loading {
2731
2749
  cursor: default;
@@ -2740,41 +2758,113 @@
2740
2758
  .rpc_qrcode_card_refresh_btn {
2741
2759
  display: inline-flex;
2742
2760
  align-items: center;
2743
- gap: 4px;
2744
- padding: 4px 12px;
2745
- border-radius: 4px;
2746
- background: #1677ff;
2761
+ justify-content: center;
2762
+ gap: 6px;
2763
+ padding: 6px 16px;
2764
+ border-radius: 20px;
2765
+ background:
2766
+ linear-gradient(
2767
+ 135deg,
2768
+ #1677ff 0%,
2769
+ #0958d9 100%);
2747
2770
  color: #ffffff;
2748
2771
  border: none;
2749
2772
  font-size: 12px;
2773
+ font-weight: 500;
2750
2774
  cursor: pointer;
2751
- margin-top: 4px;
2775
+ box-shadow: 0 3px 10px rgba(22, 119, 255, 0.32);
2776
+ transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
2777
+ outline: none;
2778
+ }
2779
+ .rpc_qrcode_card_refresh_btn:hover {
2780
+ transform: translateY(-1px);
2781
+ box-shadow: 0 5px 14px rgba(22, 119, 255, 0.42);
2782
+ background:
2783
+ linear-gradient(
2784
+ 135deg,
2785
+ #4096ff 0%,
2786
+ #1677ff 100%);
2787
+ }
2788
+ .rpc_qrcode_card_refresh_btn:hover .rpc_qrcode_card_refresh_icon {
2789
+ transform: rotate(180deg);
2790
+ }
2791
+ .rpc_qrcode_card_refresh_btn:active {
2792
+ transform: translateY(0);
2793
+ box-shadow: 0 2px 6px rgba(22, 119, 255, 0.28);
2794
+ }
2795
+ .rpc_qrcode_card_refresh_icon {
2796
+ font-size: 13px;
2797
+ transition: transform 0.35s ease;
2798
+ }
2799
+ .rpc_qrcode_card_spinner_wrap {
2800
+ display: flex;
2801
+ align-items: center;
2802
+ justify-content: center;
2803
+ }
2804
+ .rpc_qrcode_card_spinner {
2805
+ font-size: 28px;
2806
+ color: #1677ff;
2807
+ animation: rpcQrRotate 1s linear infinite;
2752
2808
  }
2753
2809
  .rpc_qrcode_card_info {
2754
- margin-top: 14px;
2810
+ margin-top: 16px;
2755
2811
  text-align: center;
2756
2812
  display: flex;
2757
2813
  flex-direction: column;
2758
- gap: 4px;
2814
+ gap: 5px;
2815
+ max-width: 220px;
2759
2816
  }
2760
2817
  .rpc_qrcode_card_title {
2761
- font-size: 14px;
2818
+ font-size: 15px;
2762
2819
  font-weight: 600;
2763
- color: #1f1f1f;
2820
+ color: #1a1a1a;
2821
+ line-height: 1.4;
2764
2822
  }
2765
2823
  .rpc_qrcode_card_description {
2766
- font-size: 12px;
2824
+ font-size: 13px;
2767
2825
  color: #8c8c8c;
2826
+ line-height: 1.4;
2768
2827
  }
2769
2828
  .rpc_qrcode_card_download {
2770
- margin-top: 10px;
2829
+ margin-top: 14px;
2830
+ display: inline-flex;
2831
+ align-items: center;
2832
+ padding: 4px 12px;
2833
+ border-radius: 6px;
2771
2834
  color: #1677ff;
2772
2835
  font-size: 12px;
2836
+ font-weight: 500;
2773
2837
  cursor: pointer;
2774
- text-decoration: underline;
2838
+ background: #f0f7ff;
2839
+ border: 1px solid #d6e4ff;
2840
+ transition: all 0.2s ease;
2841
+ outline: none;
2775
2842
  }
2776
2843
  .rpc_qrcode_card_download:hover {
2777
- color: #4096ff;
2844
+ color: #0958d9;
2845
+ background: #e6f0ff;
2846
+ border-color: #adc6ff;
2847
+ }
2848
+ .rpc_qrcode_card_download:active {
2849
+ background: #d6e4ff;
2850
+ }
2851
+ @keyframes rpcQrRotate {
2852
+ from {
2853
+ transform: rotate(0deg);
2854
+ }
2855
+ to {
2856
+ transform: rotate(360deg);
2857
+ }
2858
+ }
2859
+ @keyframes rpcQrFadeIn {
2860
+ from {
2861
+ opacity: 0;
2862
+ transform: scale(0.97);
2863
+ }
2864
+ to {
2865
+ opacity: 1;
2866
+ transform: scale(1);
2867
+ }
2778
2868
  }
2779
2869
 
2780
2870
  /* ActivityLog/index.less */
@@ -2898,44 +2988,113 @@
2898
2988
  .rpc_drag_sort_list {
2899
2989
  display: flex;
2900
2990
  flex-direction: column;
2901
- gap: 8px;
2991
+ gap: 10px;
2902
2992
  box-sizing: border-box;
2903
2993
  user-select: none;
2994
+ -webkit-user-select: none;
2995
+ position: relative;
2996
+ }
2997
+ .rpc_drag_sort_list_disabled {
2998
+ opacity: 0.6;
2999
+ pointer-events: none;
2904
3000
  }
2905
3001
  .rpc_drag_sort_list_item {
3002
+ position: relative;
2906
3003
  display: flex;
2907
3004
  align-items: center;
2908
- padding: 10px 14px;
3005
+ padding: 12px 16px;
2909
3006
  background: #ffffff;
2910
3007
  border: 1px solid #e8e8e8;
2911
- border-radius: 6px;
3008
+ border-radius: 8px;
2912
3009
  cursor: grab;
3010
+ box-sizing: border-box;
3011
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
3012
+ user-select: none;
3013
+ -webkit-user-select: none;
3014
+ touch-action: none;
2913
3015
  transition:
2914
- transform 0.2s,
3016
+ border-color 0.2s,
2915
3017
  box-shadow 0.2s,
2916
- border-color 0.2s;
2917
- box-sizing: border-box;
3018
+ background-color 0.2s;
2918
3019
  }
2919
3020
  .rpc_drag_sort_list_item:hover {
2920
3021
  border-color: #91caff;
3022
+ box-shadow: 0 2px 8px rgba(22, 119, 255, 0.08);
3023
+ }
3024
+ .rpc_drag_sort_list_item:hover .rpc_drag_sort_list_handle {
3025
+ color: #1677ff;
2921
3026
  }
2922
3027
  .rpc_drag_sort_list_item:active {
2923
3028
  cursor: grabbing;
2924
3029
  }
2925
- .rpc_drag_sort_list_item_dragging {
2926
- opacity: 0.4;
2927
- border: 1px dashed #1677ff !important;
2928
- background: #e6f4ff !important;
3030
+ .rpc_drag_sort_list_item_placeholder {
3031
+ background: #f0f7ff !important;
3032
+ border: 1.5px dashed #91caff !important;
3033
+ box-shadow: inset 0 2px 6px rgba(22, 119, 255, 0.04) !important;
3034
+ cursor: grabbing !important;
3035
+ padding: 0 !important;
3036
+ overflow: hidden;
3037
+ }
3038
+ .rpc_drag_sort_list_placeholder_inner {
3039
+ width: 100%;
3040
+ height: 100%;
3041
+ display: flex;
3042
+ align-items: center;
3043
+ justify-content: center;
3044
+ background: rgba(22, 119, 255, 0.04);
2929
3045
  }
2930
- .rpc_drag_sort_list_item_over {
2931
- border-top: 2px solid #1677ff;
3046
+ .rpc_drag_sort_list_placeholder_line {
3047
+ width: 32px;
3048
+ height: 3px;
3049
+ border-radius: 3px;
3050
+ background: #91caff;
3051
+ opacity: 0.8;
2932
3052
  }
2933
3053
  .rpc_drag_sort_list_handle {
3054
+ display: inline-flex;
3055
+ align-items: center;
3056
+ justify-content: center;
2934
3057
  margin-right: 12px;
2935
3058
  color: #bfbfbf;
2936
- font-size: 16px;
3059
+ font-size: 15px;
2937
3060
  cursor: grab;
2938
3061
  user-select: none;
3062
+ -webkit-user-select: none;
3063
+ padding: 4px;
3064
+ border-radius: 4px;
3065
+ transition: all 0.15s ease;
3066
+ }
3067
+ .rpc_drag_sort_list_handle:hover {
3068
+ color: #1677ff;
3069
+ background: #f0f7ff;
3070
+ }
3071
+ .rpc_drag_sort_list_handle:active {
3072
+ cursor: grabbing;
3073
+ }
3074
+ .rpc_drag_sort_list_content {
3075
+ flex: 1;
3076
+ min-width: 0;
3077
+ user-select: none;
3078
+ -webkit-user-select: none;
3079
+ }
3080
+ .rpc_drag_sort_list_floating_ghost {
3081
+ position: fixed !important;
3082
+ z-index: 99999 !important;
3083
+ display: flex;
3084
+ align-items: center;
3085
+ padding: 12px 16px;
3086
+ background: #ffffff;
3087
+ border: 1.5px solid #1677ff;
3088
+ border-radius: 8px;
3089
+ box-shadow: 0 16px 36px -4px rgba(22, 119, 255, 0.32), 0 6px 16px rgba(0, 0, 0, 0.12);
3090
+ box-sizing: border-box;
3091
+ pointer-events: none;
3092
+ opacity: 0.98;
3093
+ transform: scale(1.02);
3094
+ transform-origin: center center;
3095
+ transition: box-shadow 0.2s;
3096
+ user-select: none;
3097
+ -webkit-user-select: none;
2939
3098
  }
2940
3099
 
2941
3100
  /* TiltCard/index.less */
@@ -4292,11 +4451,41 @@
4292
4451
  box-sizing: border-box;
4293
4452
  user-select: text;
4294
4453
  transition: all 0.2s ease;
4454
+ position: relative;
4295
4455
  }
4296
4456
  .rpc_code_snippet_dark {
4297
4457
  background: #141414;
4298
4458
  border: 1px solid #303030;
4299
4459
  }
4460
+ .rpc_code_snippet_dark .rpc_code_snippet_actions_bar {
4461
+ background: #1a1a1a;
4462
+ border-bottom: 1px solid #2a2a2a;
4463
+ }
4464
+ .rpc_code_snippet_dark .rpc_code_snippet_action_btn {
4465
+ color: #8c8c8c;
4466
+ }
4467
+ .rpc_code_snippet_dark .rpc_code_snippet_action_btn:hover {
4468
+ color: #ffffff;
4469
+ background: rgba(255, 255, 255, 0.08);
4470
+ }
4471
+ .rpc_code_snippet_dark .rpc_code_snippet_action_btn.rpc_code_snippet_action_active {
4472
+ color: #1677ff;
4473
+ background: rgba(22, 119, 255, 0.15);
4474
+ }
4475
+ .rpc_code_snippet_dark .rpc_code_snippet_tabs_bar {
4476
+ background: #141414;
4477
+ border-bottom: 1px solid #262626;
4478
+ }
4479
+ .rpc_code_snippet_dark .rpc_code_snippet_tab_item {
4480
+ color: #8c8c8c;
4481
+ }
4482
+ .rpc_code_snippet_dark .rpc_code_snippet_tab_item:hover {
4483
+ color: #ffffff;
4484
+ }
4485
+ .rpc_code_snippet_dark .rpc_code_snippet_tab_item.rpc_code_snippet_tab_active {
4486
+ color: #1677ff;
4487
+ border-bottom-color: #1677ff;
4488
+ }
4300
4489
  .rpc_code_snippet_dark .rpc_code_snippet_top_bar {
4301
4490
  background: #1f1f1f;
4302
4491
  border-bottom: 1px solid #303030;
@@ -4317,11 +4506,55 @@
4317
4506
  color: #595959;
4318
4507
  border-right: 1px solid #303030;
4319
4508
  }
4509
+ .rpc_code_snippet_dark .rpc_code_snippet_floating_copy {
4510
+ color: #8c8c8c;
4511
+ }
4512
+ .rpc_code_snippet_dark .rpc_code_snippet_floating_copy:hover {
4513
+ color: #ffffff;
4514
+ }
4515
+ .rpc_code_snippet_dark .rpc_code_snippet_footer {
4516
+ background: #1a1a1a;
4517
+ border-top: 1px solid #262626;
4518
+ color: #8c8c8c;
4519
+ }
4520
+ .rpc_code_snippet_dark .rpc_code_snippet_footer:hover {
4521
+ color: #1677ff;
4522
+ background: #222222;
4523
+ }
4320
4524
  .rpc_code_snippet_light {
4321
4525
  background: #ffffff;
4322
4526
  border: 1px solid #e8e8e8;
4323
4527
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
4324
4528
  }
4529
+ .rpc_code_snippet_light .rpc_code_snippet_actions_bar {
4530
+ background: #fafafa;
4531
+ border-bottom: 1px dashed #e8e8e8;
4532
+ }
4533
+ .rpc_code_snippet_light .rpc_code_snippet_action_btn {
4534
+ color: #8c8c8c;
4535
+ }
4536
+ .rpc_code_snippet_light .rpc_code_snippet_action_btn:hover {
4537
+ color: #1677ff;
4538
+ background: #f0f0f0;
4539
+ }
4540
+ .rpc_code_snippet_light .rpc_code_snippet_action_btn.rpc_code_snippet_action_active {
4541
+ color: #1677ff;
4542
+ background: #e6f4ff;
4543
+ }
4544
+ .rpc_code_snippet_light .rpc_code_snippet_tabs_bar {
4545
+ background: #ffffff;
4546
+ border-bottom: 1px solid #f0f0f0;
4547
+ }
4548
+ .rpc_code_snippet_light .rpc_code_snippet_tab_item {
4549
+ color: #595959;
4550
+ }
4551
+ .rpc_code_snippet_light .rpc_code_snippet_tab_item:hover {
4552
+ color: #1677ff;
4553
+ }
4554
+ .rpc_code_snippet_light .rpc_code_snippet_tab_item.rpc_code_snippet_tab_active {
4555
+ color: #1677ff;
4556
+ border-bottom-color: #1677ff;
4557
+ }
4325
4558
  .rpc_code_snippet_light .rpc_code_snippet_top_bar {
4326
4559
  background: #fafafa;
4327
4560
  border-bottom: 1px solid #e8e8e8;
@@ -4342,6 +4575,65 @@
4342
4575
  color: #bfbfbf;
4343
4576
  border-right: 1px solid #f0f0f0;
4344
4577
  }
4578
+ .rpc_code_snippet_light .rpc_code_snippet_floating_copy {
4579
+ color: #8c8c8c;
4580
+ }
4581
+ .rpc_code_snippet_light .rpc_code_snippet_floating_copy:hover {
4582
+ color: #1677ff;
4583
+ }
4584
+ .rpc_code_snippet_light .rpc_code_snippet_footer {
4585
+ background: #fafafa;
4586
+ border-top: 1px solid #f0f0f0;
4587
+ color: #595959;
4588
+ }
4589
+ .rpc_code_snippet_light .rpc_code_snippet_footer:hover {
4590
+ color: #1677ff;
4591
+ background: #f5f5f5;
4592
+ }
4593
+ .rpc_code_snippet_actions_bar {
4594
+ display: flex;
4595
+ align-items: center;
4596
+ justify-content: flex-end;
4597
+ padding: 6px 12px;
4598
+ user-select: none;
4599
+ }
4600
+ .rpc_code_snippet_actions_list {
4601
+ display: flex;
4602
+ align-items: center;
4603
+ gap: 6px;
4604
+ }
4605
+ .rpc_code_snippet_action_btn {
4606
+ display: inline-flex;
4607
+ align-items: center;
4608
+ justify-content: center;
4609
+ width: 28px;
4610
+ height: 28px;
4611
+ padding: 0;
4612
+ border: none;
4613
+ background: transparent;
4614
+ border-radius: 4px;
4615
+ cursor: pointer;
4616
+ font-size: 15px;
4617
+ transition: all 0.15s ease;
4618
+ outline: none;
4619
+ }
4620
+ .rpc_code_snippet_action_copied {
4621
+ color: #52c41a !important;
4622
+ }
4623
+ .rpc_code_snippet_tabs_bar {
4624
+ display: flex;
4625
+ padding: 0 16px;
4626
+ gap: 20px;
4627
+ user-select: none;
4628
+ }
4629
+ .rpc_code_snippet_tab_item {
4630
+ padding: 8px 4px;
4631
+ cursor: pointer;
4632
+ font-size: 13px;
4633
+ font-weight: 500;
4634
+ border-bottom: 2px solid transparent;
4635
+ transition: all 0.15s ease;
4636
+ }
4345
4637
  .rpc_code_snippet_top_bar {
4346
4638
  display: flex;
4347
4639
  align-items: center;
@@ -4383,6 +4675,7 @@
4383
4675
  transition: all 0.15s;
4384
4676
  }
4385
4677
  .rpc_code_snippet_body {
4678
+ position: relative;
4386
4679
  display: flex;
4387
4680
  overflow-x: auto;
4388
4681
  }
@@ -4405,6 +4698,29 @@
4405
4698
  line-height: 1.5;
4406
4699
  margin: 0;
4407
4700
  }
4701
+ .rpc_code_snippet_floating_copy {
4702
+ position: absolute;
4703
+ top: 10px;
4704
+ right: 14px;
4705
+ display: flex;
4706
+ align-items: center;
4707
+ cursor: pointer;
4708
+ user-select: none;
4709
+ font-size: 13px;
4710
+ transition: all 0.15s ease;
4711
+ background: transparent;
4712
+ }
4713
+ .rpc_code_snippet_footer {
4714
+ display: flex;
4715
+ align-items: center;
4716
+ justify-content: center;
4717
+ padding: 8px 16px;
4718
+ font-size: 12px;
4719
+ font-weight: 500;
4720
+ cursor: pointer;
4721
+ user-select: none;
4722
+ transition: all 0.15s ease;
4723
+ }
4408
4724
 
4409
4725
  /* MiniSparkline/index.less */
4410
4726
  .rpc_mini_sparkline {