ew-solid-ui 0.0.3 → 0.0.5

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 (380) hide show
  1. package/CHANGELOG.md +98 -0
  2. package/CHANGELOG.zh-CN.md +88 -0
  3. package/LICENSE +21 -0
  4. package/README.md +255 -168
  5. package/README.zh-CN.md +172 -19
  6. package/dist/{chunk-QBU6PZA5.mjs → chunk-2K5IZ4MD.mjs} +7 -7
  7. package/dist/{chunk-QBU6PZA5.mjs.map → chunk-2K5IZ4MD.mjs.map} +1 -1
  8. package/dist/{chunk-3GQANKDR.cjs → chunk-2ZHXWV4N.cjs} +6 -6
  9. package/dist/{chunk-3GQANKDR.cjs.map → chunk-2ZHXWV4N.cjs.map} +1 -1
  10. package/dist/{chunk-HKUD3IH7.mjs → chunk-3FWQV2ZP.mjs} +4 -4
  11. package/dist/{chunk-HKUD3IH7.mjs.map → chunk-3FWQV2ZP.mjs.map} +1 -1
  12. package/dist/{chunk-5T323UWU.cjs → chunk-3IVDYU4D.cjs} +52 -50
  13. package/dist/chunk-3IVDYU4D.cjs.map +1 -0
  14. package/dist/{chunk-ARZW7H7K.mjs → chunk-3PIY65GG.mjs} +4 -4
  15. package/dist/{chunk-ARZW7H7K.mjs.map → chunk-3PIY65GG.mjs.map} +1 -1
  16. package/dist/{chunk-DJ56BXUV.cjs → chunk-3QJVSCND.cjs} +4 -4
  17. package/dist/{chunk-DJ56BXUV.cjs.map → chunk-3QJVSCND.cjs.map} +1 -1
  18. package/dist/chunk-3QRRBTE5.cjs +499 -0
  19. package/dist/chunk-3QRRBTE5.cjs.map +1 -0
  20. package/dist/{chunk-JE6WIABE.mjs → chunk-3RYY3YFP.mjs} +4 -4
  21. package/dist/{chunk-JE6WIABE.mjs.map → chunk-3RYY3YFP.mjs.map} +1 -1
  22. package/dist/chunk-42C5D2QA.mjs +336 -0
  23. package/dist/chunk-42C5D2QA.mjs.map +1 -0
  24. package/dist/{chunk-4BKZMFRR.cjs → chunk-4NX3ZQQK.cjs} +8 -8
  25. package/dist/{chunk-4BKZMFRR.cjs.map → chunk-4NX3ZQQK.cjs.map} +1 -1
  26. package/dist/{chunk-55J5ZCET.mjs → chunk-4XWLOVHO.mjs} +6 -6
  27. package/dist/{chunk-55J5ZCET.mjs.map → chunk-4XWLOVHO.mjs.map} +1 -1
  28. package/dist/{chunk-HYACN34B.mjs → chunk-5ADK6LFC.mjs} +5 -5
  29. package/dist/{chunk-HYACN34B.mjs.map → chunk-5ADK6LFC.mjs.map} +1 -1
  30. package/dist/{chunk-SPFGGUBK.cjs → chunk-5IHAKCNK.cjs} +9 -9
  31. package/dist/{chunk-SPFGGUBK.cjs.map → chunk-5IHAKCNK.cjs.map} +1 -1
  32. package/dist/{chunk-USAOVMYL.mjs → chunk-5LJZINW5.mjs} +3 -3
  33. package/dist/{chunk-USAOVMYL.mjs.map → chunk-5LJZINW5.mjs.map} +1 -1
  34. package/dist/{chunk-GV2PHC34.cjs → chunk-5XXEPTB3.cjs} +11 -11
  35. package/dist/{chunk-GV2PHC34.cjs.map → chunk-5XXEPTB3.cjs.map} +1 -1
  36. package/dist/chunk-5YPDPYA2.mjs +110 -0
  37. package/dist/chunk-5YPDPYA2.mjs.map +1 -0
  38. package/dist/chunk-627MF6NC.cjs +108 -0
  39. package/dist/chunk-627MF6NC.cjs.map +1 -0
  40. package/dist/{chunk-IIJLGXDH.mjs → chunk-7GGHJLUO.mjs} +6 -6
  41. package/dist/{chunk-IIJLGXDH.mjs.map → chunk-7GGHJLUO.mjs.map} +1 -1
  42. package/dist/{chunk-LBUMAIJA.cjs → chunk-7NCZ45O5.cjs} +14 -14
  43. package/dist/{chunk-LBUMAIJA.cjs.map → chunk-7NCZ45O5.cjs.map} +1 -1
  44. package/dist/{chunk-MT2FD7QA.mjs → chunk-7SLH2Q7E.mjs} +5 -5
  45. package/dist/{chunk-MT2FD7QA.mjs.map → chunk-7SLH2Q7E.mjs.map} +1 -1
  46. package/dist/{chunk-VQ7Y4U5O.mjs → chunk-A2GFHDUT.mjs} +5 -5
  47. package/dist/{chunk-VQ7Y4U5O.mjs.map → chunk-A2GFHDUT.mjs.map} +1 -1
  48. package/dist/{chunk-24R4GQYE.cjs → chunk-ACYN3LOT.cjs} +11 -11
  49. package/dist/{chunk-24R4GQYE.cjs.map → chunk-ACYN3LOT.cjs.map} +1 -1
  50. package/dist/{chunk-VUHAXQ6U.mjs → chunk-BJARB7SZ.mjs} +5 -5
  51. package/dist/{chunk-VUHAXQ6U.mjs.map → chunk-BJARB7SZ.mjs.map} +1 -1
  52. package/dist/{chunk-V2L24O54.cjs → chunk-CAK22BV5.cjs} +10 -10
  53. package/dist/{chunk-V2L24O54.cjs.map → chunk-CAK22BV5.cjs.map} +1 -1
  54. package/dist/{chunk-BMNEPC4Z.mjs → chunk-CKQUJRDC.mjs} +4 -4
  55. package/dist/{chunk-BMNEPC4Z.mjs.map → chunk-CKQUJRDC.mjs.map} +1 -1
  56. package/dist/{chunk-PSBLJAM6.cjs → chunk-CLOFTNND.cjs} +4 -4
  57. package/dist/{chunk-PSBLJAM6.cjs.map → chunk-CLOFTNND.cjs.map} +1 -1
  58. package/dist/{chunk-I3QNX5RR.cjs → chunk-D7T4M4RT.cjs} +30 -23
  59. package/dist/chunk-D7T4M4RT.cjs.map +1 -0
  60. package/dist/{chunk-NWQGY6VC.cjs → chunk-DJ6Y6MMJ.cjs} +38 -38
  61. package/dist/{chunk-NWQGY6VC.cjs.map → chunk-DJ6Y6MMJ.cjs.map} +1 -1
  62. package/dist/{chunk-3635TQTB.mjs → chunk-DSQ5EFVZ.mjs} +3 -3
  63. package/dist/{chunk-3635TQTB.mjs.map → chunk-DSQ5EFVZ.mjs.map} +1 -1
  64. package/dist/{chunk-CIK5AVCM.mjs → chunk-EJKGXGQV.mjs} +5 -5
  65. package/dist/{chunk-CIK5AVCM.mjs.map → chunk-EJKGXGQV.mjs.map} +1 -1
  66. package/dist/{chunk-L726RP5Y.mjs → chunk-ES7ASCP6.mjs} +6 -6
  67. package/dist/{chunk-L726RP5Y.mjs.map → chunk-ES7ASCP6.mjs.map} +1 -1
  68. package/dist/{chunk-7PF6HT3I.cjs → chunk-EWMAXIY2.cjs} +8 -8
  69. package/dist/{chunk-7PF6HT3I.cjs.map → chunk-EWMAXIY2.cjs.map} +1 -1
  70. package/dist/chunk-F2BNTU7I.mjs +493 -0
  71. package/dist/chunk-F2BNTU7I.mjs.map +1 -0
  72. package/dist/{chunk-KYWBNPTO.cjs → chunk-F6GKK36L.cjs} +13 -13
  73. package/dist/{chunk-KYWBNPTO.cjs.map → chunk-F6GKK36L.cjs.map} +1 -1
  74. package/dist/{chunk-OH36ZLZC.cjs → chunk-FB7XQIWZ.cjs} +8 -8
  75. package/dist/{chunk-OH36ZLZC.cjs.map → chunk-FB7XQIWZ.cjs.map} +1 -1
  76. package/dist/{chunk-QD6NOAJI.cjs → chunk-GBDBWUUB.cjs} +40 -2
  77. package/dist/chunk-GBDBWUUB.cjs.map +1 -0
  78. package/dist/{chunk-4S7GSXXT.cjs → chunk-GLIDLGMS.cjs} +4 -4
  79. package/dist/{chunk-4S7GSXXT.cjs.map → chunk-GLIDLGMS.cjs.map} +1 -1
  80. package/dist/{chunk-JWRMEDG2.cjs → chunk-GOWV4NT6.cjs} +210 -12
  81. package/dist/chunk-GOWV4NT6.cjs.map +1 -0
  82. package/dist/{chunk-6R776SGP.cjs → chunk-GPX7L5SA.cjs} +10 -10
  83. package/dist/{chunk-6R776SGP.cjs.map → chunk-GPX7L5SA.cjs.map} +1 -1
  84. package/dist/{chunk-HE66KFVD.cjs → chunk-GUEZAW2N.cjs} +12 -12
  85. package/dist/{chunk-HE66KFVD.cjs.map → chunk-GUEZAW2N.cjs.map} +1 -1
  86. package/dist/{chunk-GCTXGRJP.cjs → chunk-HA6FATKV.cjs} +8 -8
  87. package/dist/{chunk-GCTXGRJP.cjs.map → chunk-HA6FATKV.cjs.map} +1 -1
  88. package/dist/{chunk-V3HOHX7B.cjs → chunk-HCCKBOA7.cjs} +25 -28
  89. package/dist/chunk-HCCKBOA7.cjs.map +1 -0
  90. package/dist/{chunk-S3LHZJW5.cjs → chunk-HF3J3VFI.cjs} +11 -11
  91. package/dist/{chunk-S3LHZJW5.cjs.map → chunk-HF3J3VFI.cjs.map} +1 -1
  92. package/dist/{chunk-HUZCEDA2.cjs → chunk-HIPZYQR4.cjs} +6 -6
  93. package/dist/{chunk-HUZCEDA2.cjs.map → chunk-HIPZYQR4.cjs.map} +1 -1
  94. package/dist/{chunk-PTD3RAQ3.mjs → chunk-HK4FOTHI.mjs} +6 -6
  95. package/dist/{chunk-PTD3RAQ3.mjs.map → chunk-HK4FOTHI.mjs.map} +1 -1
  96. package/dist/{chunk-7HRQYKXI.cjs → chunk-HQZKYBID.cjs} +11 -11
  97. package/dist/{chunk-7HRQYKXI.cjs.map → chunk-HQZKYBID.cjs.map} +1 -1
  98. package/dist/{chunk-725T4WDH.cjs → chunk-HY5EVTUS.cjs} +6 -3
  99. package/dist/chunk-HY5EVTUS.cjs.map +1 -0
  100. package/dist/{chunk-EMEFKE5U.mjs → chunk-I7LR2RLG.mjs} +3 -3
  101. package/dist/{chunk-EMEFKE5U.mjs.map → chunk-I7LR2RLG.mjs.map} +1 -1
  102. package/dist/{chunk-LCJSRT5X.mjs → chunk-IO2QKZDJ.mjs} +4 -4
  103. package/dist/{chunk-LCJSRT5X.mjs.map → chunk-IO2QKZDJ.mjs.map} +1 -1
  104. package/dist/{chunk-HYFK2EVJ.mjs → chunk-IPXSHYVO.mjs} +5 -5
  105. package/dist/{chunk-HYFK2EVJ.mjs.map → chunk-IPXSHYVO.mjs.map} +1 -1
  106. package/dist/{chunk-XLIKM3FH.cjs → chunk-IWVWHR4W.cjs} +62 -44
  107. package/dist/chunk-IWVWHR4W.cjs.map +1 -0
  108. package/dist/{chunk-4KBCODZ6.cjs → chunk-J6SBGQUR.cjs} +8 -8
  109. package/dist/{chunk-4KBCODZ6.cjs.map → chunk-J6SBGQUR.cjs.map} +1 -1
  110. package/dist/{chunk-HU7QRXSP.mjs → chunk-JBBQXTRR.mjs} +62 -44
  111. package/dist/chunk-JBBQXTRR.mjs.map +1 -0
  112. package/dist/{chunk-XJKYF7CA.mjs → chunk-JF3MXCAK.mjs} +3 -5
  113. package/dist/chunk-JF3MXCAK.mjs.map +1 -0
  114. package/dist/{chunk-UWMFQORM.cjs → chunk-JOJ6J2NV.cjs} +6 -6
  115. package/dist/{chunk-UWMFQORM.cjs.map → chunk-JOJ6J2NV.cjs.map} +1 -1
  116. package/dist/{chunk-INMZQT4W.mjs → chunk-K33SV2XK.mjs} +31 -24
  117. package/dist/chunk-K33SV2XK.mjs.map +1 -0
  118. package/dist/{chunk-W5V2IOSB.mjs → chunk-KC45GTAD.mjs} +7 -7
  119. package/dist/{chunk-W5V2IOSB.mjs.map → chunk-KC45GTAD.mjs.map} +1 -1
  120. package/dist/{chunk-EUZP36HO.cjs → chunk-KH7ZM4U3.cjs} +4 -4
  121. package/dist/{chunk-EUZP36HO.cjs.map → chunk-KH7ZM4U3.cjs.map} +1 -1
  122. package/dist/chunk-KHRLUKLH.cjs +339 -0
  123. package/dist/chunk-KHRLUKLH.cjs.map +1 -0
  124. package/dist/{chunk-PVCU3MM6.mjs → chunk-KT5RD32E.mjs} +5 -5
  125. package/dist/{chunk-PVCU3MM6.mjs.map → chunk-KT5RD32E.mjs.map} +1 -1
  126. package/dist/{chunk-7SY3N6RH.mjs → chunk-LDEP3OJ7.mjs} +6 -3
  127. package/dist/chunk-LDEP3OJ7.mjs.map +1 -0
  128. package/dist/{chunk-2TGF7G5I.cjs → chunk-LLKCA724.cjs} +6 -6
  129. package/dist/{chunk-2TGF7G5I.cjs.map → chunk-LLKCA724.cjs.map} +1 -1
  130. package/dist/{chunk-INAO2UGM.cjs → chunk-LOYG4J4R.cjs} +9 -9
  131. package/dist/{chunk-INAO2UGM.cjs.map → chunk-LOYG4J4R.cjs.map} +1 -1
  132. package/dist/{chunk-YPF4CSA6.mjs → chunk-M3YPW53P.mjs} +5 -5
  133. package/dist/{chunk-YPF4CSA6.mjs.map → chunk-M3YPW53P.mjs.map} +1 -1
  134. package/dist/{chunk-RWHIPIH4.cjs → chunk-MJXDJBIK.cjs} +4 -4
  135. package/dist/{chunk-RWHIPIH4.cjs.map → chunk-MJXDJBIK.cjs.map} +1 -1
  136. package/dist/{chunk-NIFAE3RI.cjs → chunk-MNZTH7CW.cjs} +9 -9
  137. package/dist/{chunk-NIFAE3RI.cjs.map → chunk-MNZTH7CW.cjs.map} +1 -1
  138. package/dist/{chunk-TREKT6ZL.cjs → chunk-MR36QB2A.cjs} +14 -14
  139. package/dist/{chunk-TREKT6ZL.cjs.map → chunk-MR36QB2A.cjs.map} +1 -1
  140. package/dist/{chunk-MHJXXB7R.cjs → chunk-MSOFQRND.cjs} +8 -8
  141. package/dist/{chunk-MHJXXB7R.cjs.map → chunk-MSOFQRND.cjs.map} +1 -1
  142. package/dist/{chunk-3OJDSWBN.mjs → chunk-NFA6FUEP.mjs} +3 -3
  143. package/dist/{chunk-3OJDSWBN.mjs.map → chunk-NFA6FUEP.mjs.map} +1 -1
  144. package/dist/{chunk-WKLLTAUW.cjs → chunk-NN5KLKDP.cjs} +6 -6
  145. package/dist/{chunk-WKLLTAUW.cjs.map → chunk-NN5KLKDP.cjs.map} +1 -1
  146. package/dist/{chunk-2MEJMAOJ.mjs → chunk-NQU2WOQO.mjs} +5 -5
  147. package/dist/{chunk-2MEJMAOJ.mjs.map → chunk-NQU2WOQO.mjs.map} +1 -1
  148. package/dist/{chunk-WNKR77TK.cjs → chunk-NUCUDZW2.cjs} +8 -8
  149. package/dist/{chunk-WNKR77TK.cjs.map → chunk-NUCUDZW2.cjs.map} +1 -1
  150. package/dist/{chunk-7O2PCQFL.cjs → chunk-NZ5IG6V3.cjs} +8 -8
  151. package/dist/{chunk-7O2PCQFL.cjs.map → chunk-NZ5IG6V3.cjs.map} +1 -1
  152. package/dist/{chunk-5ZFVDCHS.mjs → chunk-O4DNWG6J.mjs} +3 -3
  153. package/dist/{chunk-5ZFVDCHS.mjs.map → chunk-O4DNWG6J.mjs.map} +1 -1
  154. package/dist/{chunk-LR4WHF3L.mjs → chunk-O6ZWTDKC.mjs} +3 -3
  155. package/dist/{chunk-LR4WHF3L.mjs.map → chunk-O6ZWTDKC.mjs.map} +1 -1
  156. package/dist/{chunk-X2ZXVMQE.cjs → chunk-OFS4FVTX.cjs} +10 -10
  157. package/dist/{chunk-X2ZXVMQE.cjs.map → chunk-OFS4FVTX.cjs.map} +1 -1
  158. package/dist/{chunk-FEZ33BSE.mjs → chunk-OI6FS7YX.mjs} +5 -5
  159. package/dist/{chunk-FEZ33BSE.mjs.map → chunk-OI6FS7YX.mjs.map} +1 -1
  160. package/dist/{chunk-ZUSUN6MM.mjs → chunk-OJ2KDYUY.mjs} +5 -5
  161. package/dist/{chunk-ZUSUN6MM.mjs.map → chunk-OJ2KDYUY.mjs.map} +1 -1
  162. package/dist/{chunk-GTWP3VB6.mjs → chunk-P6IZZ5BA.mjs} +5 -5
  163. package/dist/{chunk-GTWP3VB6.mjs.map → chunk-P6IZZ5BA.mjs.map} +1 -1
  164. package/dist/{chunk-JVEP3EPH.mjs → chunk-PLCNPBUX.mjs} +4 -4
  165. package/dist/{chunk-JVEP3EPH.mjs.map → chunk-PLCNPBUX.mjs.map} +1 -1
  166. package/dist/{chunk-QTGNVLI4.mjs → chunk-PXKF7K67.mjs} +3 -3
  167. package/dist/{chunk-QTGNVLI4.mjs.map → chunk-PXKF7K67.mjs.map} +1 -1
  168. package/dist/{chunk-WVKVXH4F.mjs → chunk-Q4HXXM47.mjs} +40 -2
  169. package/dist/chunk-Q4HXXM47.mjs.map +1 -0
  170. package/dist/{chunk-ON7OQAFF.mjs → chunk-QINT3UWB.mjs} +6 -6
  171. package/dist/{chunk-ON7OQAFF.mjs.map → chunk-QINT3UWB.mjs.map} +1 -1
  172. package/dist/{chunk-JGO5TEFN.mjs → chunk-QMHN5BDQ.mjs} +5 -5
  173. package/dist/{chunk-JGO5TEFN.mjs.map → chunk-QMHN5BDQ.mjs.map} +1 -1
  174. package/dist/{chunk-3AMD6B2H.cjs → chunk-RD6YQTQB.cjs} +4 -4
  175. package/dist/{chunk-3AMD6B2H.cjs.map → chunk-RD6YQTQB.cjs.map} +1 -1
  176. package/dist/{chunk-5MAYBCXV.cjs → chunk-TB4VXMMO.cjs} +4 -4
  177. package/dist/{chunk-5MAYBCXV.cjs.map → chunk-TB4VXMMO.cjs.map} +1 -1
  178. package/dist/{chunk-SP62ZMPJ.cjs → chunk-TELPNMQ5.cjs} +3 -5
  179. package/dist/chunk-TELPNMQ5.cjs.map +1 -0
  180. package/dist/{chunk-XP6O454V.mjs → chunk-TRLQRYCK.mjs} +52 -50
  181. package/dist/chunk-TRLQRYCK.mjs.map +1 -0
  182. package/dist/{chunk-HTUBX7CE.cjs → chunk-TST6BXDS.cjs} +8 -8
  183. package/dist/{chunk-HTUBX7CE.cjs.map → chunk-TST6BXDS.cjs.map} +1 -1
  184. package/dist/{chunk-UBCPWEGC.cjs → chunk-TYYH6H3W.cjs} +13 -13
  185. package/dist/{chunk-UBCPWEGC.cjs.map → chunk-TYYH6H3W.cjs.map} +1 -1
  186. package/dist/{chunk-T4V62EDP.mjs → chunk-TZAEHZ5C.mjs} +3 -3
  187. package/dist/{chunk-T4V62EDP.mjs.map → chunk-TZAEHZ5C.mjs.map} +1 -1
  188. package/dist/{chunk-A5EKXKNM.cjs → chunk-ULGTTTSV.cjs} +4 -4
  189. package/dist/{chunk-A5EKXKNM.cjs.map → chunk-ULGTTTSV.cjs.map} +1 -1
  190. package/dist/chunk-URETWK3Z.cjs +112 -0
  191. package/dist/chunk-URETWK3Z.cjs.map +1 -0
  192. package/dist/{chunk-RZA7OKVJ.mjs → chunk-VQEDRPVV.mjs} +20 -23
  193. package/dist/chunk-VQEDRPVV.mjs.map +1 -0
  194. package/dist/{chunk-7I3A6HXC.mjs → chunk-XNKI3F4R.mjs} +3 -3
  195. package/dist/{chunk-7I3A6HXC.mjs.map → chunk-XNKI3F4R.mjs.map} +1 -1
  196. package/dist/{chunk-SDG6SHKT.mjs → chunk-XSUSXF6W.mjs} +5 -5
  197. package/dist/{chunk-SDG6SHKT.mjs.map → chunk-XSUSXF6W.mjs.map} +1 -1
  198. package/dist/{chunk-ERA43MDA.cjs → chunk-Y4QZEPBB.cjs} +8 -8
  199. package/dist/{chunk-ERA43MDA.cjs.map → chunk-Y4QZEPBB.cjs.map} +1 -1
  200. package/dist/{chunk-OFGHEBQA.mjs → chunk-YFGOJUU2.mjs} +5 -5
  201. package/dist/{chunk-OFGHEBQA.mjs.map → chunk-YFGOJUU2.mjs.map} +1 -1
  202. package/dist/{chunk-TT3EAZDM.mjs → chunk-YGIPOACK.mjs} +5 -5
  203. package/dist/{chunk-TT3EAZDM.mjs.map → chunk-YGIPOACK.mjs.map} +1 -1
  204. package/dist/{chunk-3BIVVRJA.cjs → chunk-YOFJNCHI.cjs} +4 -4
  205. package/dist/{chunk-3BIVVRJA.cjs.map → chunk-YOFJNCHI.cjs.map} +1 -1
  206. package/dist/chunk-YULXEBFF.mjs +106 -0
  207. package/dist/chunk-YULXEBFF.mjs.map +1 -0
  208. package/dist/{chunk-A3PMYHDW.mjs → chunk-YVQ3H4P4.mjs} +5 -5
  209. package/dist/{chunk-A3PMYHDW.mjs.map → chunk-YVQ3H4P4.mjs.map} +1 -1
  210. package/dist/{chunk-Q6HB46RY.mjs → chunk-ZSDTY5FH.mjs} +210 -13
  211. package/dist/chunk-ZSDTY5FH.mjs.map +1 -0
  212. package/dist/{chunk-AGD6GLIA.mjs → chunk-ZW3EPFUN.mjs} +5 -5
  213. package/dist/{chunk-AGD6GLIA.mjs.map → chunk-ZW3EPFUN.mjs.map} +1 -1
  214. package/dist/components/alert.cjs +5 -5
  215. package/dist/components/alert.mjs +4 -4
  216. package/dist/components/auto-complete.cjs +6 -6
  217. package/dist/components/auto-complete.mjs +5 -5
  218. package/dist/components/auto-image.cjs +2 -2
  219. package/dist/components/auto-image.css +7 -28
  220. package/dist/components/auto-image.d.cts +3 -4
  221. package/dist/components/auto-image.d.ts +3 -4
  222. package/dist/components/auto-image.mjs +1 -1
  223. package/dist/components/back-top.cjs +6 -6
  224. package/dist/components/back-top.mjs +5 -5
  225. package/dist/components/breadcrumb.cjs +6 -6
  226. package/dist/components/breadcrumb.mjs +5 -5
  227. package/dist/components/bubble-list.cjs +6 -6
  228. package/dist/components/bubble-list.mjs +5 -5
  229. package/dist/components/bubble.cjs +5 -5
  230. package/dist/components/bubble.mjs +4 -4
  231. package/dist/components/button.cjs +2 -2
  232. package/dist/components/button.d.cts +8 -0
  233. package/dist/components/button.d.ts +8 -0
  234. package/dist/components/button.mjs +1 -1
  235. package/dist/components/calendar.cjs +5 -5
  236. package/dist/components/calendar.mjs +4 -4
  237. package/dist/components/carousel.cjs +5 -5
  238. package/dist/components/carousel.css +15 -6
  239. package/dist/components/carousel.mjs +4 -4
  240. package/dist/components/cascader.cjs +5 -5
  241. package/dist/components/cascader.mjs +4 -4
  242. package/dist/components/code-block.cjs +5 -5
  243. package/dist/components/code-block.mjs +4 -4
  244. package/dist/components/collapse.cjs +4 -3
  245. package/dist/components/collapse.css +22 -10
  246. package/dist/components/collapse.mjs +3 -2
  247. package/dist/components/color-picker.cjs +3 -3
  248. package/dist/components/color-picker.mjs +2 -2
  249. package/dist/components/confirm.cjs +7 -7
  250. package/dist/components/confirm.mjs +5 -5
  251. package/dist/components/conversations.cjs +7 -7
  252. package/dist/components/conversations.mjs +6 -6
  253. package/dist/components/date-picker.cjs +10 -10
  254. package/dist/components/date-picker.mjs +4 -4
  255. package/dist/components/drawer.cjs +5 -5
  256. package/dist/components/drawer.mjs +4 -4
  257. package/dist/components/dropdown.cjs +3 -2
  258. package/dist/components/dropdown.css +23 -11
  259. package/dist/components/dropdown.mjs +2 -1
  260. package/dist/components/empty.cjs +3 -3
  261. package/dist/components/empty.mjs +2 -2
  262. package/dist/components/field.cjs +8 -8
  263. package/dist/components/field.mjs +4 -4
  264. package/dist/components/float-button.cjs +4 -4
  265. package/dist/components/float-button.mjs +3 -3
  266. package/dist/components/icon.cjs +7 -3
  267. package/dist/components/icon.d.cts +55 -4
  268. package/dist/components/icon.d.ts +55 -4
  269. package/dist/components/icon.mjs +1 -1
  270. package/dist/components/image.cjs +4 -4
  271. package/dist/components/image.mjs +3 -3
  272. package/dist/components/input-otp.cjs +3 -3
  273. package/dist/components/input-otp.mjs +2 -2
  274. package/dist/components/layout.cjs +9 -9
  275. package/dist/components/layout.mjs +4 -4
  276. package/dist/components/list.cjs +11 -11
  277. package/dist/components/list.mjs +8 -8
  278. package/dist/components/markdown.css +153 -0
  279. package/dist/components/mentions.cjs +6 -6
  280. package/dist/components/mentions.mjs +5 -5
  281. package/dist/components/menu.cjs +4 -3
  282. package/dist/components/menu.css +21 -10
  283. package/dist/components/menu.d.cts +1 -1
  284. package/dist/components/menu.d.ts +1 -1
  285. package/dist/components/menu.mjs +3 -2
  286. package/dist/components/modal.cjs +5 -5
  287. package/dist/components/modal.mjs +4 -4
  288. package/dist/components/notification.cjs +6 -6
  289. package/dist/components/notification.mjs +4 -4
  290. package/dist/components/pagination.cjs +9 -9
  291. package/dist/components/pagination.mjs +6 -6
  292. package/dist/components/pc-mob-data.cjs +4 -4
  293. package/dist/components/pc-mob-data.mjs +3 -3
  294. package/dist/components/prompts.cjs +3 -3
  295. package/dist/components/prompts.mjs +2 -2
  296. package/dist/components/qrcode.cjs +3 -3
  297. package/dist/components/qrcode.mjs +2 -2
  298. package/dist/components/result.cjs +3 -3
  299. package/dist/components/result.mjs +2 -2
  300. package/dist/components/select.cjs +3 -3
  301. package/dist/components/select.mjs +2 -2
  302. package/dist/components/sender.cjs +6 -6
  303. package/dist/components/sender.mjs +5 -5
  304. package/dist/components/share-poster.cjs +34 -0
  305. package/dist/components/share-poster.cjs.map +1 -0
  306. package/dist/components/share-poster.css +80 -0
  307. package/dist/components/share-poster.d.cts +93 -0
  308. package/dist/components/share-poster.d.ts +93 -0
  309. package/dist/components/share-poster.mjs +9 -0
  310. package/dist/components/share-poster.mjs.map +1 -0
  311. package/dist/components/slider-captcha.cjs +22 -0
  312. package/dist/components/slider-captcha.cjs.map +1 -0
  313. package/dist/components/slider-captcha.css +165 -0
  314. package/dist/components/slider-captcha.d.cts +71 -0
  315. package/dist/components/slider-captcha.d.ts +71 -0
  316. package/dist/components/slider-captcha.mjs +9 -0
  317. package/dist/components/slider-captcha.mjs.map +1 -0
  318. package/dist/components/suggestion.cjs +4 -4
  319. package/dist/components/suggestion.mjs +3 -3
  320. package/dist/components/table.cjs +3 -3
  321. package/dist/components/table.mjs +2 -2
  322. package/dist/components/tabs.cjs +5 -4
  323. package/dist/components/tabs.css +32 -16
  324. package/dist/components/tabs.d.cts +1 -1
  325. package/dist/components/tabs.d.ts +1 -1
  326. package/dist/components/tabs.mjs +4 -3
  327. package/dist/components/tag.cjs +5 -5
  328. package/dist/components/tag.mjs +4 -4
  329. package/dist/components/tour.cjs +5 -5
  330. package/dist/components/tour.mjs +4 -4
  331. package/dist/components/transfer.cjs +7 -7
  332. package/dist/components/transfer.mjs +6 -6
  333. package/dist/components/tree-select.cjs +6 -6
  334. package/dist/components/tree-select.mjs +5 -5
  335. package/dist/components/tree.cjs +5 -4
  336. package/dist/components/tree.css +16 -2
  337. package/dist/components/tree.mjs +4 -3
  338. package/dist/components/typography.cjs +9 -9
  339. package/dist/components/typography.mjs +4 -4
  340. package/dist/components/upload.cjs +5 -5
  341. package/dist/components/upload.mjs +4 -4
  342. package/dist/components/welcome.cjs +4 -4
  343. package/dist/components/welcome.mjs +3 -3
  344. package/dist/index.cjs +480 -139
  345. package/dist/index.cjs.map +1 -1
  346. package/dist/index.d.cts +79 -4
  347. package/dist/index.d.ts +79 -4
  348. package/dist/index.mjs +362 -53
  349. package/dist/index.mjs.map +1 -1
  350. package/dist/locale.cjs +5 -5
  351. package/dist/locale.d.cts +25 -0
  352. package/dist/locale.d.ts +25 -0
  353. package/dist/locale.mjs +1 -1
  354. package/dist/styles/vendor/ew-auto-image.css +1 -9
  355. package/dist/styles.css +543 -83
  356. package/package.json +25 -22
  357. package/dist/chunk-5T323UWU.cjs.map +0 -1
  358. package/dist/chunk-725T4WDH.cjs.map +0 -1
  359. package/dist/chunk-7SY3N6RH.mjs.map +0 -1
  360. package/dist/chunk-HU7QRXSP.mjs.map +0 -1
  361. package/dist/chunk-I3QNX5RR.cjs.map +0 -1
  362. package/dist/chunk-I5DL6UFG.cjs +0 -104
  363. package/dist/chunk-I5DL6UFG.cjs.map +0 -1
  364. package/dist/chunk-INMZQT4W.mjs.map +0 -1
  365. package/dist/chunk-JWRMEDG2.cjs.map +0 -1
  366. package/dist/chunk-MLEHHSUK.mjs +0 -94
  367. package/dist/chunk-MLEHHSUK.mjs.map +0 -1
  368. package/dist/chunk-PTX34XFX.mjs +0 -102
  369. package/dist/chunk-PTX34XFX.mjs.map +0 -1
  370. package/dist/chunk-Q6HB46RY.mjs.map +0 -1
  371. package/dist/chunk-QD6NOAJI.cjs.map +0 -1
  372. package/dist/chunk-RZA7OKVJ.mjs.map +0 -1
  373. package/dist/chunk-SP62ZMPJ.cjs.map +0 -1
  374. package/dist/chunk-V3HOHX7B.cjs.map +0 -1
  375. package/dist/chunk-WVKVXH4F.mjs.map +0 -1
  376. package/dist/chunk-XJKYF7CA.mjs.map +0 -1
  377. package/dist/chunk-XLIKM3FH.cjs.map +0 -1
  378. package/dist/chunk-XP6O454V.mjs.map +0 -1
  379. package/dist/chunk-ZX7JDS6O.cjs +0 -96
  380. package/dist/chunk-ZX7JDS6O.cjs.map +0 -1
package/README.md CHANGED
@@ -8,9 +8,9 @@
8
8
 
9
9
  **English | [中文](./README.zh-CN.md)**
10
10
 
11
- A complete Solid.js component library driven by plain CSS design tokens — 80+ core components, ProComponents (`ProTable` / `ProForm` / `ProLayout` / `JsonSchemaForm`), bits micro-interactions, ECharts charts, 5 a11y-friendly themes, built-in zh/en copy and a headless hook layer. No CSS-in-JS runtime, no business dependencies.
11
+ A complete Solid.js component library driven by plain CSS design tokens — 84 core components, ProComponents (`ProTable` / `ProForm` / `ProLayout` / `JsonSchemaForm`), bits micro-interactions, ECharts charts, 5 a11y-friendly themes, built-in zh/en copy, a headless hook layer and 123 bundled icons. No CSS-in-JS runtime, no business dependencies.
12
12
 
13
- **Documentation** (local Vite + Solid site, `pnpm docs:dev`) · **[Playground](https://eveningwater.github.io/ew-solid-ui/#/en/playground)** · **[Examples](https://eveningwater.github.io/ew-solid-ui/examples/)** · **[Website](https://www.eveningwater.com)**
13
+ **[Documentation](https://eveningwater.github.io/ew-solid-ui/)** · **[Playground](https://eveningwater.github.io/ew-solid-ui/#/en/playground)** · **[Examples](https://eveningwater.github.io/ew-solid-ui/examples/)** · **[Website](https://www.eveningwater.com)**
14
14
 
15
15
  ```bash
16
16
  pnpm add ew-solid-ui solid-js
@@ -22,134 +22,66 @@ pnpm add ew-solid-ui solid-js
22
22
  - Examples page: https://eveningwater.github.io/ew-solid-ui/examples/ (local: `pnpm dev` → http://localhost:5180)
23
23
  - My website: https://www.eveningwater.com
24
24
 
25
+ ## Table of contents
26
+
27
+ - [Features](#features)
28
+ - [Packages](#packages)
29
+ - [Requirements](#requirements)
30
+ - [Install](#install)
31
+ - [Quick start](#quick-start)
32
+ - [Themes](#themes)
33
+ - [Internationalization](#internationalization)
34
+ - [Components](#components)
35
+ - [Icons](#icons)
36
+ - [Code block](#code-block)
37
+ - [AutoImage](#autoimage)
38
+ - [Headless](#headless)
39
+ - [ProComponents (optional package)](#procomponents-optional-package)
40
+ - [Charts (optional package)](#charts-optional-package)
41
+ - [Bits (optional package)](#bits-optional-package)
42
+ - [Admin solution (optional package)](#admin-solution-optional-package)
43
+ - [Utilities](#utilities)
44
+ - [ew-color-picker based components](#ew-color-picker-based-components)
45
+ - [Per-component imports](#per-component-imports)
46
+ - [Documentation & Playground](#documentation--playground)
47
+ - [Development](#development)
48
+ - [Changelog](#changelog)
49
+ - [Release](#release)
50
+ - [Contributing](#contributing)
51
+ - [License](#license)
52
+
25
53
  ## Features
26
54
 
27
55
  - **Token-driven theming** — every component CSS rule references `var(--ew-*)`; a theme is just a set of variable values
28
- - **Complete component set** — 80+ core components, plus companion packages: `ew-solid-pro` (ProCard / ProDescriptions / ProTable / ProForm / ProList / ProLayout / JsonSchemaForm), `ew-solid-bits` (effects and animated backgrounds), `ew-solid-charts` (ECharts wrappers) and `ew-solid-ui-admin` (one-stop admin solution)
56
+ - **Complete component set** — 84 core components, plus companion packages: `ew-solid-pro` (ProCard / ProDescriptions / ProTable / ProForm / ProList / ProLayout / JsonSchemaForm), `ew-solid-bits` (effects and animated backgrounds), `ew-solid-charts` (ECharts wrappers) and `ew-solid-ui-admin` (one-stop admin solution)
29
57
  - **5 preset themes** — Classic / Ink (dark) / Mint / Sakura / Sky, switched by a single `data-theme` attribute
30
58
  - **Built-in i18n** — `zh-CN` and `en-US` dictionaries for tables, pagination, dialogs, date panels, color picker buttons and more
31
- - **80 bundled icons** — a dependency-free `Icon` component with `size` / `color` / `spin` / `ariaLabel`
59
+ - **123 bundled icons** — 120 dependency-free line icons plus GitHub / Gitee / GitCode brand marks, with `size` / `color` / `spin` / `ariaLabel`
32
60
  - **Three layers** — pure utilities → headless hooks (`useSelect`, `useModal`, `useDatePicker`, `createChat`) → styled components
33
61
  - **No runtime styling** — plain CSS; import everything or only the components you use
34
62
  - **Fully typed** — TypeScript everywhere with shipped declarations
35
63
  - **Tree-shakeable** — per-component entry points such as `ew-solid-ui/components/button`
36
64
  - **Accessible by default** — keyboard navigation, focus restore, Esc / outside-click dismissal, ARIA wiring
65
+ - **Composable by design** — higher-level components reuse the base ones (`Button`, `InputField`, `Checkbox`, `Icon`, `Modal`…) instead of re-implementing them
37
66
 
38
- ## Components
67
+ ## Packages
39
68
 
40
- | Component | Description |
41
- | --- | --- |
42
- | `Button` | Wraps `@ew-color-picker/button`: variants, sizes, block, renders `<a>` when `href` is provided |
43
- | `Typography` | `Text` / `Title` / `Paragraph` / `Link` atoms: semantic colors, emphasis, inline code, ellipsis, copy |
44
- | `Space` | Flex + gap spacing with direction, wrap, alignment and `split` |
45
- | `Divider` | Horizontal / vertical divider with dashed and labeled variants |
46
- | `Flex` | Thin `display: flex` wrapper: direction, wrap, gap, align, justify |
47
- | `Grid` | `Row` / `Col` 12-column grid with gutter and xs–xl breakpoints |
48
- | `Layout` | `Layout` / `Header` / `Sider` / `Content` / `Footer` shell, collapsible sider |
49
- | `Alert` | Info / success / warning / error banner with description, close and action |
50
- | `Tag` | Semantic tones, closable and checkable tags |
51
- | `Avatar` | Image avatar with text / icon fallback, circle or square |
52
- | `Empty` | Empty state with built-in line illustration and actions |
53
- | `Spin` | Standalone spinner or overlay mask when wrapping content |
54
- | `Skeleton` | Title / avatar / paragraph placeholders with shimmer |
55
- | `Form` | `createForm` + `Form` / `FormItem`: values, rules, validation, layouts |
56
- | `Radio` | `Radio` / `RadioGroup` with options or children, horizontal / vertical |
57
- | `Switch` | `role=switch` toggle with sizes, loading and labels |
58
- | `Slider` | Native range slider with gradient track and step |
59
- | `Rate` | Star rating with half stars, clear-on-click and keyboard |
60
- | `Tabs` | Line / card tabs with four positions and arrow-key navigation |
61
- | `Menu` | vertical / inline / horizontal menu with submenus |
62
- | `Dropdown` | Popover-based menu with click / hover trigger and danger items |
63
- | `Drawer` | Four-direction sliding panel with Esc / mask close |
64
- | `Popover` | Tooltip-based card overlay with title and enterable content |
65
- | `Descriptions` | Grid description list with span and bordered mode |
66
- | `List` | antd-style list: `dataSource` / `renderItem`, `List.Item` + `List.Item.Meta`, header/footer, grid, pagination, loading and empty |
67
- | `ListItem` | Item container with `actions` and `extra`; `ListItem.Meta` for avatar/title/description |
68
- | `Statistic` | Number statistic with precision, separators and prefix/suffix |
69
- | `Progress` | Line / circle progress with status and sizes |
70
- | `Timeline` | Timeline with colors, icons and alternate layout |
71
- | `Collapse` | Collapse panels with accordion mode and disabled items |
72
- | `Upload` | Click / drag upload with custom request, limits and progress |
73
- | `Tree` | Expandable tree with selection, checkable cascade and indeterminate |
74
- | `Cascader` | Multi-column cascading select with clear and disabled options |
75
- | `TreeSelect` | Trigger + dropdown tree; single or checkable multi-select |
76
- | `Transfer` | Two-panel moving list with search and select-all |
77
- | `AutoComplete` | Input with filtered suggestions and keyboard navigation |
78
- | `Bubble` / `BubbleList` | Chat bubbles and list: role alignment, four variants, typing, loading dots, auto scroll |
79
- | `Sender` | Message input: auto-grow, Enter to send, IME safe, loading switches to stop, optional speech |
80
- | `Conversations` | Conversation list with grouping, active state and Dropdown actions |
81
- | `Welcome` / `Prompts` | Chat home welcome block and prompt cards |
82
- | `Suggestion` | Quick-reply pills with an overflow Popover |
83
- | `VideoPlayer` | Wraps `ew-video-player-pro`: progress, volume, speed, qualities, fullscreen, custom controls; lazy HLS |
84
- | `AudioPlayer` | Wraps `ew-audio-player`: playlist, lyrics, cycle / once / random modes |
85
- | `Segmented` | Radio-group segmented control with an equal-width sliding thumb |
86
- | `Carousel` | Slide / fade / blinds / 3D transitions with seamless `loop`, autoplay, dragging and four dot positions |
87
- | `Result` | Result page with semantic status or HTTP code, title, description and actions |
88
- | `FloatButton` | Fixed viewport action button with optional Tooltip, built on Button |
89
- | `BackTop` | Back-to-top button appearing past a scroll threshold, built on FloatButton |
90
- | `Notification` | Top-right notification card stack: types, actions, key dedupe, hover pause |
91
- | `Splitter` | Two-pane draggable splitter with keyboard-adjustable separator |
92
- | `Affix` | Pins content past offsetTop while keeping placeholder height |
93
- | `Calendar` | Month grid with a switchable month view, fullscreen layout and custom cells |
94
- | `InputOTP` | Segmented code input: auto advance, backspace, paste distribution, mask |
95
- | `Mentions` | Textarea @-mentions with trigger filtering, keyboard pick and Shift+Enter newline |
96
- | `Anchor` | Anchor nav: scroll spy, nested items, custom scroll container |
97
- | `Breadcrumb` | Hierarchy trail with links, click handlers and a custom separator |
98
- | `Watermark` | Canvas tiled watermark: multi-line text / image, rotation, gap, fullscreen |
99
- | `Masonry` | CSS multi-column masonry collapsing to one column on narrow screens |
100
- | `QRCode` | QR codes via lazily loaded qrcode: levels, colors, margin, fallback |
101
- | `Tour` | Step-by-step tour with spotlight, placement-aware panel and controlled step |
102
- | `InputField` / `PasswordField` / `TextareaField` | Single-line inputs wrap `@ew-color-picker/input`; textarea stays native for auto-resize; shared shell with prefix/suffix, error and hint |
103
- | `Checkbox` | Wraps `@ew-color-picker/checkbox`: tri-state (`indeterminate`), JSX label, form attributes |
104
- | `ChipGroup` | Controlled chip / tab group with counts and `allowEmpty` |
105
- | `StatusBadge` | Semantic badge (`default` / `muted` / `primary` / `success` / `warning` / `danger`) |
106
- | `Icon` | 80 bundled 24×24 stroke icons, `currentColor`, zero dependencies |
107
- | `CodeBlock` | highlight.js-based code block (tsx/css/html/json/bash/md), copy button, token-themed |
108
- | `Select` | Wraps `@ew-color-picker/select`: ARIA listbox, keyboard navigation, teleported dropdown |
109
- | `Tooltip` | Tooltip built on `@ew-color-picker/tooltip`: auto placement, four triggers, themed popper |
110
- | `Modal` | Portaled dialog with scroll lock, focus restore, Esc / mask closing |
111
- | `ConfirmHost` + `confirmDialog` | Imperative confirm dialog returning `Promise<boolean>` |
112
- | `Toasts` + `toast` | Imperative toasts powered by `ew-message`: `success / error / info / warning`, click-to-close, auto dismiss |
113
- | `Card` | Container with header / cover / body / actions; used by PcMobData mobile cards |
114
- | `DataTable` | Desktop-only generic table with row selection, loading and empty state |
115
- | `PcMobData` | Composition: DataTable on wide screens, Card list on narrow screens (`hideOnMobile`) |
116
- | `Pagination` | Collapsing pagination with size changer, quick jumper, custom total and `itemRender` |
117
- | `DatePicker` / `TimePicker` / `DateTimePicker` | Hand-built calendar and hour/minute panels |
118
- | `DateRangePicker` | Date range: two-click selection, in-range highlighting, hover preview, year jump and bounds |
119
- | `TimeRangePicker` | Time range: pick both ends in one panel; reversed values swap automatically |
120
- | `DateTimeRangePicker` | Date range + time range combined, with optional time |
121
- | `ColorPicker` | Wraps [ew-color-picker](https://github.com/eveningwater/ew-color-picker), fully re-themed with library tokens |
122
- | `NumberInput` | Numeric input built on `@ew-color-picker/input-number`: stepping, precision, clamping, variants |
123
- | `EWImage` | Lazy loading, skeleton, failure fallback, `object-fit`, click-to-preview via `ew-viewer` (zoom / rotate / flip / fullscreen) |
124
- | `AutoImage` | Long-image cropping with hover zoom via `ew-auto-image` (`scale`, `direction`) |
125
-
126
- ## AutoImage
127
-
128
- Long images (chat screenshots, comics, infographics) cropped to a fixed ratio; hovering shows the region under the cursor at full height. Wraps [`ew-auto-image`](https://eveningwater.github.io/ew-viewer/packages/auto-image.html) and re-themes the vendor class names with library tokens.
129
-
130
- ```tsx
131
- import { AutoImage } from 'ew-solid-ui'
132
-
133
- // default 16:9 crop
134
- <AutoImage src="/long.png" alt="长图" />
135
-
136
- // taller crop, hover zoom follows the vertical cursor position
137
- <AutoImage src="/long.png" scale={2} direction="horizontal" />
138
- ```
69
+ | Package | What you get | Peer dependencies |
70
+ | --- | --- | --- |
71
+ | `ew-solid-ui` | 84 styled components, 5 themes, zh/en copy, headless hooks, pure utils, icon set | `solid-js` ^1.9 |
72
+ | `ew-solid-pro` | `ProCard` / `ProDescriptions` / `ProTable` / `ProForm` / `ProList` / `ProLayout` / `JsonSchemaForm` | `ew-solid-ui`, `solid-js` |
73
+ | `ew-solid-bits` | Text effects, Lottie playback, border beam and four animated backgrounds | `solid-js` (`lottie-web` optional) |
74
+ | `ew-solid-charts` | ECharts wrappers: line / area / bar / pie / donut / scatter | `solid-js` (`echarts` optional) |
75
+ | `ew-solid-ui-admin` | Admin layout, auth helpers, CRUD pages and router adapter | `ew-solid-ui`, `ew-solid-pro`, `ew-solid-bits`, `ew-solid-charts`, `solid-js` (`@solidjs/router` optional) |
76
+ | `create-ew-solid-ui` | One-command admin scaffold: `pnpm create ew-solid-ui` | — |
139
77
 
140
- | Prop | Type | Default | Description |
141
- | --- | --- | --- | --- |
142
- | `src` | `string` | — | Long image URL (required) |
143
- | `scale` | `number` | `16 / 9` | Aspect ratio of the crop (not a zoom factor); preview height = width / `scale` |
144
- | `direction` | `'vertical' \| 'horizontal'` | `'vertical'` | Axis followed by the hover zoom: `vertical` follows the cursor's horizontal position, `horizontal` follows the vertical position |
145
- | `alt` | `string` | vendor default | Image alt text |
146
- | `class` | `string` | — | Extra class on the host element |
78
+ `echarts`, `lottie-web` and `@solidjs/router` are optional peers: without them the rest of the library still works, and only the corresponding feature is unavailable.
147
79
 
148
- Notes:
80
+ ## Requirements
149
81
 
150
- - `ew-auto-image@0.0.1`'s `style.css` is missing the rules for the hover layer (`.ew-auto-image-item-show`), so it would cover the crop by default. The library hides it and lets the vendor toggle it on hover — see `src/components/auto-image/auto-image.css`.
151
- - Changing `src` / `scale` / `direction` recreates the vendor instance; the wrapper `div` is the mount container, so several instances can share one container.
152
- - Per-component import: `ew-solid-ui/components/auto-image.css` already includes the vendor styles.
82
+ - **Solid.js** `^1.9` — a peer dependency provided by the host app
83
+ - **Modern browsers** — ES2020, CSS custom properties, `:focus-visible`; no IE support
84
+ - **Node.js 18+** for local development, docs and builds
153
85
 
154
86
  ## Install
155
87
 
@@ -265,22 +197,133 @@ const ja: LocaleMessages = {
265
197
 
266
198
  You can also import from `ew-solid-ui/locale` directly: `LocaleProvider`, `useLocale`, `zhCN`, `enUS`, `LocaleMessages`.
267
199
 
200
+ ## Components
201
+
202
+ | Component | Description |
203
+ | --- | --- |
204
+ | `Button` | Wraps `@ew-color-picker/button`: variants, sizes, block, renders `<a>` when `href` is provided |
205
+ | `Typography` | `Text` / `Title` / `Paragraph` / `Link` atoms: semantic colors, emphasis, inline code, ellipsis, copy |
206
+ | `Space` | Flex + gap spacing with direction, wrap, alignment and `split` |
207
+ | `Divider` | Horizontal / vertical divider with dashed and labeled variants |
208
+ | `Flex` | Thin `display: flex` wrapper: direction, wrap, gap, align, justify |
209
+ | `Grid` | `Row` / `Col` 12-column grid with gutter and xs–xl breakpoints |
210
+ | `Layout` | `Layout` / `Header` / `Sider` / `Content` / `Footer` shell, collapsible sider |
211
+ | `Alert` | Info / success / warning / error banner with description, close and action |
212
+ | `Tag` | Semantic tones, closable and checkable tags |
213
+ | `Avatar` | Image avatar with text / icon fallback, circle or square |
214
+ | `Empty` | Empty state with built-in line illustration and actions |
215
+ | `Spin` | Standalone spinner or overlay mask when wrapping content |
216
+ | `Skeleton` | Title / avatar / paragraph placeholders with shimmer |
217
+ | `Form` | `createForm` + `Form` / `FormItem`: values, rules, validation, layouts |
218
+ | `Radio` | `Radio` / `RadioGroup` with options or children, horizontal / vertical |
219
+ | `Switch` | `role=switch` toggle with sizes, loading and labels |
220
+ | `Slider` | Native range slider with gradient track and step |
221
+ | `Rate` | Star rating with half stars, clear-on-click and keyboard |
222
+ | `Tabs` | Line / card tabs with four positions and arrow-key navigation |
223
+ | `Menu` | vertical / inline / horizontal menu with submenus |
224
+ | `Dropdown` | Popover-based menu with click / hover trigger and danger items |
225
+ | `Drawer` | Four-direction sliding panel with Esc / mask close |
226
+ | `Popover` | Tooltip-based card overlay with title and enterable content |
227
+ | `Descriptions` | Grid description list with span and bordered mode |
228
+ | `List` | antd-style list: `dataSource` / `renderItem`, `List.Item` + `List.Item.Meta`, header/footer, grid, pagination, loading and empty |
229
+ | `ListItem` | Item container with `actions` and `extra`; `ListItem.Meta` for avatar/title/description |
230
+ | `Statistic` | Number statistic with precision, separators and prefix/suffix |
231
+ | `Progress` | Line / circle progress with status and sizes |
232
+ | `Timeline` | Timeline with colors, icons and alternate layout |
233
+ | `Collapse` | Collapse panels with accordion mode and disabled items |
234
+ | `Upload` | Click / drag upload with custom request, limits and progress |
235
+ | `Tree` | Expandable tree with selection, checkable cascade and indeterminate |
236
+ | `Cascader` | Multi-column cascading select with clear and disabled options |
237
+ | `TreeSelect` | Trigger + dropdown tree; single or checkable multi-select |
238
+ | `Transfer` | Two-panel moving list with search and select-all |
239
+ | `AutoComplete` | Input with filtered suggestions and keyboard navigation |
240
+ | `Bubble` / `BubbleList` | Chat bubbles and list: role alignment, four variants, typing, loading dots, auto scroll |
241
+ | `Sender` | Message input: auto-grow, Enter to send, IME safe, loading switches to stop, optional speech |
242
+ | `Conversations` | Conversation list with grouping, active state and Dropdown actions |
243
+ | `Welcome` / `Prompts` | Chat home welcome block and prompt cards |
244
+ | `Suggestion` | Quick-reply pills with an overflow Popover |
245
+ | `VideoPlayer` | Wraps `ew-video-player-pro`: progress, volume, speed, qualities, fullscreen, custom controls; lazy HLS |
246
+ | `AudioPlayer` | Wraps `ew-audio-player`: playlist, lyrics, cycle / once / random modes |
247
+ | `Segmented` | Radio-group segmented control with an equal-width sliding thumb |
248
+ | `Carousel` | Slide / fade / blinds / 3D transitions with seamless `loop`, autoplay, dragging and four dot positions |
249
+ | `Result` | Result page with semantic status or HTTP code, title, description and actions |
250
+ | `FloatButton` | Fixed viewport action button with optional Tooltip, built on Button |
251
+ | `BackTop` | Back-to-top button appearing past a scroll threshold, built on FloatButton |
252
+ | `Notification` | Top-right notification card stack: types, actions, key dedupe, hover pause |
253
+ | `Splitter` | Two-pane draggable splitter with keyboard-adjustable separator |
254
+ | `Affix` | Pins content past offsetTop while keeping placeholder height |
255
+ | `Calendar` | Month grid with a switchable month view, fullscreen layout and custom cells |
256
+ | `InputOTP` | Segmented code input: auto advance, backspace, paste distribution, mask |
257
+ | `Mentions` | Textarea @-mentions with trigger filtering, keyboard pick and Shift+Enter newline |
258
+ | `Anchor` | Anchor nav: scroll spy, nested items, custom scroll container |
259
+ | `Breadcrumb` | Hierarchy trail with links, click handlers and a custom separator |
260
+ | `Watermark` | Canvas tiled watermark: multi-line text / image, rotation, gap, fullscreen |
261
+ | `Masonry` | CSS multi-column masonry collapsing to one column on narrow screens |
262
+ | `QRCode` | QR codes via lazily loaded qrcode: levels, colors, margin, fallback |
263
+ | `Tour` | Step-by-step tour with spotlight, placement-aware panel and controlled step |
264
+ | `InputField` / `PasswordField` / `TextareaField` | Single-line inputs wrap `@ew-color-picker/input`; textarea stays native for auto-resize; shared shell with prefix/suffix, error and hint |
265
+ | `Checkbox` | Wraps `@ew-color-picker/checkbox`: tri-state (`indeterminate`), JSX label, form attributes |
266
+ | `ChipGroup` | Controlled chip / tab group with counts and `allowEmpty` |
267
+ | `StatusBadge` | Semantic badge (`default` / `muted` / `primary` / `success` / `warning` / `danger`) |
268
+ | `Icon` | 120 bundled 24×24 line icons plus 3 brand marks, `currentColor`, zero dependencies |
269
+ | `CodeBlock` | highlight.js-based code block (tsx/css/html/json/bash/md), copy button, token-themed |
270
+ | `Markdown` | marked-based renderer where every node renderer can be replaced (images → `EWImage` preview, code → `CodeBlock` highlighting) |
271
+ | `Select` | Wraps `@ew-color-picker/select`: ARIA listbox, keyboard navigation, teleported dropdown |
272
+ | `Tooltip` | Tooltip built on `@ew-color-picker/tooltip`: auto placement, four triggers, themed popper |
273
+ | `Modal` | Portaled dialog with scroll lock, focus restore, Esc / mask closing |
274
+ | `ConfirmHost` + `confirmDialog` | Imperative confirm dialog returning `Promise<boolean>` |
275
+ | `Toasts` + `toast` | Imperative toasts powered by `ew-message`: `success / error / info / warning`, click-to-close, auto dismiss |
276
+ | `Card` | Container with header / cover / body / actions; used by PcMobData mobile cards |
277
+ | `DataTable` | Desktop-only generic table with row selection, loading and empty state |
278
+ | `PcMobData` | Composition: DataTable on wide screens, Card list on narrow screens (`hideOnMobile`) |
279
+ | `Pagination` | Collapsing pagination with size changer, quick jumper, custom total and `itemRender` |
280
+ | `DatePicker` / `TimePicker` / `DateTimePicker` | Hand-built calendar and hour/minute panels |
281
+ | `DateRangePicker` | Date range: two-click selection, in-range highlighting, hover preview, year jump and bounds |
282
+ | `TimeRangePicker` | Time range: pick both ends in one panel; reversed values swap automatically |
283
+ | `DateTimeRangePicker` | Date range + time range combined, with optional time |
284
+ | `ColorPicker` | Wraps [ew-color-picker](https://github.com/eveningwater/ew-color-picker), fully re-themed with library tokens |
285
+ | `NumberInput` | Numeric input built on `@ew-color-picker/input-number`: stepping, precision, clamping, variants |
286
+ | `EWImage` | Lazy loading, skeleton, failure fallback, `object-fit`, click-to-preview via `ew-viewer` (zoom / rotate / flip / fullscreen) |
287
+ | `AutoImage` | Long-image cropping with hover panning via `ew-auto-image` (`scale`) |
288
+
268
289
  ## Icons
269
290
 
270
291
  ```tsx
271
- import { Icon, iconPaths } from 'ew-solid-ui'
292
+ import { Icon, iconPaths, brandIconPaths } from 'ew-solid-ui'
272
293
 
273
294
  <Icon name="close" />
274
295
  <Icon name="search" size="lg" />
275
296
  <Icon name="warning" color="var(--ew-warn)" />
276
297
  <Icon name="loading" spin />
277
298
  <Icon name="success" ariaLabel="Done" />
299
+ <Icon name="github" size="lg" color="#181717" />
278
300
 
279
- // Need the raw path? iconPaths exposes every icon
301
+ // Raw paths, for custom rendering
280
302
  const paths = iconPaths['chevron-down']
281
303
  ```
282
304
 
283
- Bundled names: `close`, `check`, `chevron-up/down/left/right`, `arrow-up/down/left/right`, `search`, `calendar`, `clock`, `edit`, `trash`, `plus`, `minus`, `upload`, `download`, `image`, `link`, `external-link`, `refresh`, `copy`, `eye`, `eye-off`, `loading`, `success`, `warning`, `info`, `sun`, `moon`, `menu`.
305
+ All icons are 24×24 line icons stroked at 1.75 with `currentColor`; brand marks are filled single-path logos.
306
+ The full gallery lives in the docs site (`#/en/basic` → Icons), and the keys are always the source of truth:
307
+
308
+ ```ts
309
+ Object.keys(iconPaths) // 120 line icons
310
+ Object.keys(brandIconPaths) // github, gitee, gitcode
311
+ ```
312
+
313
+ | Group | Names |
314
+ | --- | --- |
315
+ | Navigation | `chevron-up/down/left/right`, `arrow-up/down/left/right`, `sort`, `menu` |
316
+ | Actions | `close`, `check`, `plus`, `minus`, `edit`, `trash`, `copy`, `save`*, `share`*, `undo`*, `redo`*, `refresh`, `upload`, `download`, `search`, `filter`, `pin`, `more`, `dots-vertical`* |
317
+ | Status & feedback | `loading`, `success`, `warning`, `error`, `info`, `help`*, `bell`, `message`, `volume`, `volume-x`* |
318
+ | Data & analytics | `chart`, `chart-pie`*, `dashboard`*, `activity`*, `trending-up`*, `trending-down`*, `table`*, `grid`, `list`, `layers`, `database` |
319
+ | Users & organization | `user`, `user-plus`*, `users`*, `building`*, `briefcase`*, `key`*, `log-in`*, `log-out`*, `shield`, `lock`, `settings` |
320
+ | Commerce | `credit-card`*, `wallet`*, `money`*, `shopping-cart`*, `package`*, `truck`*, `receipt`*, `gift`*, `tag` |
321
+ | Devices & network | `phone`*, `mobile`*, `printer`*, `wifi`*, `server`* |
322
+ | Media & files | `play`*, `pause`*, `image`, `file`, `folder`, `inbox`*, `archive`*, `clipboard`*, `qr-code`*, `cloud`, `history`* |
323
+ | Theme & color | `sun`, `moon`, `palette`, `droplet`, `contrast`, `eyedropper`, `swap` |
324
+ | Brand (filled) | `github`*, `gitee`*, `gitcode`* |
325
+
326
+ `*` marks the icons added in **0.0.5** (43 in total: 40 line icons + 3 brand marks); everything else shipped in 0.0.4 and earlier.
284
327
 
285
328
  When `ariaLabel` is omitted the SVG is hidden from assistive technology; provide it for standalone meaningful icons.
286
329
 
@@ -302,6 +345,33 @@ Languages: `ts/tsx`, `js/jsx`, `css`, `html/vue/svg`, `json`, `bash`, `markdown`
302
345
  escaped plain text. Colors come from `--ew-*`, so all five themes including dark work automatically.
303
346
  `collapsible` caps the collapsed height at `maxHeight` (200px by default); the toggle label follows `LocaleProvider`.
304
347
 
348
+ ## AutoImage
349
+
350
+ Long images (chat screenshots, comics, infographics) cropped to a fixed ratio; hovering pans the image inside the frame and a bottom hint shows the current position. Wraps [`ew-auto-image`](https://eveningwater.github.io/ew-viewer/packages/auto-image.html) and re-themes the vendor class names with library tokens.
351
+
352
+ ```tsx
353
+ import { AutoImage } from 'ew-solid-ui'
354
+
355
+ // default 16:9 crop
356
+ <AutoImage src="/long.png" alt="Long image" />
357
+
358
+ // taller crop, hover pans inside the frame
359
+ <AutoImage src="/long.png" scale={2} />
360
+ ```
361
+
362
+ | Prop | Type | Default | Description |
363
+ | --- | --- | --- | --- |
364
+ | `src` | `string` | — | Long image URL (required) |
365
+ | `scale` | `number` | `16 / 9` | Aspect ratio of the crop (not a zoom factor); preview height = width / `scale` |
366
+ | `alt` | `string` | vendor default | Image alt text |
367
+ | `class` | `string` | — | Extra class on the host element |
368
+
369
+ Notes:
370
+
371
+ - `ew-auto-image@0.0.1`'s `style.css` is missing the rules for the hover layer (`.ew-auto-image-item-show`), so it would cover the crop by default. The library hides it and lets the vendor toggle it on hover — see `src/components/auto-image/auto-image.css`.
372
+ - Changing `src` / `scale` / `direction` recreates the vendor instance; the wrapper `div` is the mount container, so several instances can share one container.
373
+ - Per-component import: `ew-solid-ui/components/auto-image.css` already includes the vendor styles.
374
+
305
375
  ## Headless
306
376
 
307
377
  ```tsx
@@ -343,53 +413,6 @@ await chat.send('Hello') // chunks append to the last assistant message
343
413
  chat.abort() // abort, message status becomes done
344
414
  ```
345
415
 
346
- ## Charts (optional package)
347
-
348
- Charts ship as a separate package so ECharts stays optional:
349
-
350
- ```bash
351
- pnpm add ew-solid-charts echarts
352
- ```
353
-
354
- ```tsx
355
- import { Chart } from 'ew-solid-charts'
356
- import 'ew-solid-charts/styles.css'
357
-
358
- <Chart
359
- type="line"
360
- categories={['Jan', 'Feb', 'Mar']}
361
- series={[{ name: 'Visits', data: [820, 932, 901] }]}
362
- height={280}
363
- />
364
- ```
365
-
366
- Six types (`line` / `area` / `bar` / `pie` / `donut` / `scatter`), automatic theming from `--ew-*` tokens,
367
- `loading` / `empty` states and an `options` escape hatch. `ew-solid-ui/charts` re-exports the same API when
368
- `ew-solid-charts` is installed.
369
-
370
- ## Bits (optional package)
371
-
372
- Small, dependency-free interaction effects live in their own package:
373
-
374
- ```bash
375
- pnpm add ew-solid-bits
376
- ```
377
-
378
- ```tsx
379
- import { CountUp, Marquee, ShinyText } from 'ew-solid-bits'
380
- import 'ew-solid-bits/styles.css'
381
-
382
- <ShinyText>ew-solid-ui</ShinyText>
383
- <CountUp value={1280} prefix="$" />
384
- <Marquee content={() => <div>...</div>} />
385
- ```
386
-
387
- Includes `ShinyText`, `GradientText`, `Marquee`, `SpotlightCard`, `CountUp` and `Typewriter`,
388
- plus `Lottie` playback, `BorderBeam` and four animated backgrounds: `AuroraBackground`, `DotGridBackground`,
389
- `GridBeamsBackground` and `ParticleField`. Lottie uses an optional `lottie-web` peer.
390
- Everything is token-driven and respects `prefers-reduced-motion`; `ew-solid-ui/bits` re-exports the
391
- same API when `ew-solid-bits` is installed.
392
-
393
416
  ## ProComponents (optional package)
394
417
 
395
418
  Schema-driven, heavyweight components live in their own package and reuse base components:
@@ -448,6 +471,53 @@ Supported: scalar types + `enum`, nested `object` (fieldset), `array` (add / rem
448
471
  `format: email / date / textarea`, `ui:order`, `ui:widget`, `ui:placeholder`, `ui:help`,
449
472
  `ui:options` (`addable` / `removable` / `orderable`), error summary and live validation.
450
473
 
474
+ ## Charts (optional package)
475
+
476
+ Charts ship as a separate package so ECharts stays optional:
477
+
478
+ ```bash
479
+ pnpm add ew-solid-charts echarts
480
+ ```
481
+
482
+ ```tsx
483
+ import { Chart } from 'ew-solid-charts'
484
+ import 'ew-solid-charts/styles.css'
485
+
486
+ <Chart
487
+ type="line"
488
+ categories={['Jan', 'Feb', 'Mar']}
489
+ series={[{ name: 'Visits', data: [820, 932, 901] }]}
490
+ height={280}
491
+ />
492
+ ```
493
+
494
+ Six types (`line` / `area` / `bar` / `pie` / `donut` / `scatter`), automatic theming from `--ew-*` tokens,
495
+ `loading` / `empty` states and an `options` escape hatch. `ew-solid-ui/charts` re-exports the same API when
496
+ `ew-solid-charts` is installed.
497
+
498
+ ## Bits (optional package)
499
+
500
+ Small, dependency-free interaction effects live in their own package:
501
+
502
+ ```bash
503
+ pnpm add ew-solid-bits
504
+ ```
505
+
506
+ ```tsx
507
+ import { CountUp, Marquee, ShinyText } from 'ew-solid-bits'
508
+ import 'ew-solid-bits/styles.css'
509
+
510
+ <ShinyText>ew-solid-ui</ShinyText>
511
+ <CountUp value={1280} prefix="$" />
512
+ <Marquee content={() => <div>...</div>} />
513
+ ```
514
+
515
+ Includes `ShinyText`, `GradientText`, `Marquee`, `SpotlightCard`, `CountUp` and `Typewriter`,
516
+ plus `Lottie` playback, `BorderBeam` and four animated backgrounds: `AuroraBackground`, `DotGridBackground`,
517
+ `GridBeamsBackground` and `ParticleField`. Lottie uses an optional `lottie-web` peer.
518
+ Everything is token-driven and respects `prefers-reduced-motion`; `ew-solid-ui/bits` re-exports the
519
+ same API when `ew-solid-bits` is installed.
520
+
451
521
  ## Admin solution (optional package)
452
522
 
453
523
  `ew-solid-ui-admin` builds a ready-to-use admin shell on top of `ew-solid-ui` and `ew-solid-pro`:
@@ -539,7 +609,9 @@ pnpm docs:dev # docs site with zh/en switch, 5 live themes, Playground (http:
539
609
  pnpm docs:build # static build into docs-dist/
540
610
  ```
541
611
 
542
- The site is a small Vite + Solid app that reuses the library itself. The Playground offers interactive samples and embeds the online editor via `ew-iframe-editor`, preloading each sample as Solid TypeScript code.
612
+ - Published site: https://eveningwater.github.io/ew-solid-ui/ (deployed by the `Deploy Docs` GitHub Actions workflow on every push to `main`)
613
+ - The site is a small Vite + Solid app that reuses the library itself: every component page carries live demos, props tables and copyable code
614
+ - The Playground offers interactive samples and embeds the online editor via `ew-iframe-editor`, preloading each sample as Solid TypeScript code
543
615
 
544
616
  The online editor loads `ew-solid-ui` and the companion packages from npm (via esm.sh) through an import map, so publishing a new version is enough to keep its Solid template up to date.
545
617
 
@@ -549,12 +621,16 @@ The online editor loads `ew-solid-ui` and the companion packages from npm (via e
549
621
  pnpm install
550
622
  pnpm dev # examples page (http://localhost:5180)
551
623
  pnpm docs:dev # documentation site (http://localhost:5181)
552
- pnpm typecheck
553
- pnpm test # vitest for utils and pagination math
624
+ pnpm dev:admin # admin demo (http://localhost:5186)
625
+ pnpm typecheck # tsc --noEmit
626
+ pnpm test # vitest: components, hooks, utils, admin helpers
554
627
  pnpm build # tsup output + merged styles
555
628
  pnpm docs:build # static docs
556
629
  ```
557
630
 
631
+ Quality gates before a commit: `pnpm typecheck` and `pnpm test` — 117 test files / 562 cases cover the
632
+ component layer, the headless hooks, the pure utils and the admin helpers.
633
+
558
634
  Build output:
559
635
 
560
636
  | File | Description |
@@ -575,6 +651,7 @@ Build output:
575
651
  - Class names follow BEM-like `.ew-{component}`, `.ew-{component}--{modifier}`, `.ew-{component}__{element}`
576
652
  - Component CSS must not contain hard-coded colors — only `var(--ew-*)`
577
653
  - Component roots do not rely on a global reset; import `ew-solid-ui/styles/reset.css` when needed
654
+ - Composite components compose base components (`Button`, `Checkbox`, `InputField`, `Icon`, `Modal`…) instead of re-implementing native controls; when a `Button` variant gets close, override its CSS rather than writing a raw `<button>`
578
655
 
579
656
  ## Project structure
580
657
 
@@ -588,11 +665,21 @@ src/
588
665
  ├── utils/ # cn / color / date pure functions
589
666
  └── styles/ # tokens.css / themes.css / reset.css
590
667
  └── vendor/ # ew-color-picker styles (.ewcp- prefix, generated)
668
+ packages/
669
+ ├── pro-components/ # ew-solid-pro: ProTable / ProForm / ProLayout …
670
+ ├── admin/ # ew-solid-ui-admin: layout, login, CRUD pages, router adapter
671
+ ├── ew-solid-bits/ # ew-solid-bits: effects and animated backgrounds
672
+ ├── ew-solid-charts/ # ew-solid-charts: ECharts wrappers
673
+ └── cli/ # create-ew-solid-ui: project scaffold
591
674
  examples/ # local examples page (pnpm dev)
592
675
  docs/ # documentation site + Playground (pnpm docs:dev)
593
676
  scripts/ # build-css.mjs / vendor-color-picker-css.mjs / release.mjs
594
677
  ```
595
678
 
679
+ ## Changelog
680
+
681
+ Release notes live in [CHANGELOG.md](./CHANGELOG.md) (Chinese: [CHANGELOG.zh-CN.md](./CHANGELOG.zh-CN.md)) and are also rendered on the docs site: https://eveningwater.github.io/ew-solid-ui/#/en/changelog
682
+
596
683
  ## Release
597
684
 
598
685
  `package.json` always keeps the stable version; beta builds are injected temporarily and restored after publishing: