@sheinx/shineout-style 3.0.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (437) hide show
  1. package/cjs/alert/alert.d.ts +4 -0
  2. package/cjs/alert/alert.js +135 -0
  3. package/cjs/alert/index.d.ts +4 -0
  4. package/cjs/alert/index.js +19 -0
  5. package/cjs/breadcrumb/breadcrumb.d.ts +16 -0
  6. package/cjs/breadcrumb/breadcrumb.js +83 -0
  7. package/cjs/breadcrumb/index.d.ts +4 -0
  8. package/cjs/breadcrumb/index.js +19 -0
  9. package/cjs/button/button.d.ts +4 -0
  10. package/cjs/button/button.js +416 -0
  11. package/cjs/button/index.d.ts +4 -0
  12. package/cjs/button/index.js +19 -0
  13. package/cjs/carousel/carousel.d.ts +35 -0
  14. package/cjs/carousel/carousel.js +315 -0
  15. package/cjs/carousel/index.d.ts +4 -0
  16. package/cjs/carousel/index.js +19 -0
  17. package/cjs/checkbox/checkbox.d.ts +4 -0
  18. package/cjs/checkbox/checkbox.js +143 -0
  19. package/cjs/checkbox/index.d.ts +4 -0
  20. package/cjs/checkbox/index.js +19 -0
  21. package/cjs/cssvar/checkbox.d.ts +10 -0
  22. package/cjs/cssvar/checkbox.js +18 -0
  23. package/cjs/cssvar/common.d.ts +23 -0
  24. package/cjs/cssvar/common.js +35 -0
  25. package/cjs/cssvar/form.d.ts +6 -0
  26. package/cjs/cssvar/form.js +13 -0
  27. package/cjs/cssvar/index.d.ts +75 -0
  28. package/cjs/cssvar/index.js +36 -0
  29. package/cjs/cssvar/innerTitle.d.ts +9 -0
  30. package/cjs/cssvar/innerTitle.js +15 -0
  31. package/cjs/cssvar/input.d.ts +25 -0
  32. package/cjs/cssvar/input.js +33 -0
  33. package/cjs/cssvar/radio.d.ts +6 -0
  34. package/cjs/cssvar/radio.js +13 -0
  35. package/cjs/date-picker/date-picker.d.ts +4 -0
  36. package/cjs/date-picker/date-picker.js +581 -0
  37. package/cjs/date-picker/index.d.ts +4 -0
  38. package/cjs/date-picker/index.js +19 -0
  39. package/cjs/divider/divider.d.ts +14 -0
  40. package/cjs/divider/divider.js +82 -0
  41. package/cjs/divider/index.d.ts +4 -0
  42. package/cjs/divider/index.js +20 -0
  43. package/cjs/dropdown/dropdown.d.ts +4 -0
  44. package/cjs/dropdown/dropdown.js +137 -0
  45. package/cjs/dropdown/index.d.ts +4 -0
  46. package/cjs/dropdown/index.js +20 -0
  47. package/cjs/editable-area/editable-area.d.ts +4 -0
  48. package/cjs/editable-area/editable-area.js +107 -0
  49. package/cjs/editable-area/index.d.ts +4 -0
  50. package/cjs/editable-area/index.js +20 -0
  51. package/cjs/empty/empty.d.ts +4 -0
  52. package/cjs/empty/empty.js +35 -0
  53. package/cjs/empty/index.d.ts +4 -0
  54. package/cjs/empty/index.js +20 -0
  55. package/cjs/form/form-item.d.ts +4 -0
  56. package/cjs/form/form-item.js +109 -0
  57. package/cjs/form/form.d.ts +4 -0
  58. package/cjs/form/form.js +23 -0
  59. package/cjs/form/index.d.ts +6 -0
  60. package/cjs/form/index.js +29 -0
  61. package/cjs/icon/icon.d.ts +4 -0
  62. package/cjs/icon/icon.js +52 -0
  63. package/cjs/icon/index.d.ts +4 -0
  64. package/cjs/icon/index.js +20 -0
  65. package/cjs/image/image.d.ts +42 -0
  66. package/cjs/image/image.js +374 -0
  67. package/cjs/image/index.d.ts +5 -0
  68. package/cjs/image/index.js +20 -0
  69. package/cjs/index.d.ts +43 -0
  70. package/cjs/index.js +503 -0
  71. package/cjs/inner-title/index.d.ts +4 -0
  72. package/cjs/inner-title/index.js +20 -0
  73. package/cjs/inner-title/inner-title.d.ts +4 -0
  74. package/cjs/inner-title/inner-title.js +63 -0
  75. package/cjs/input/index.d.ts +4 -0
  76. package/cjs/input/index.js +20 -0
  77. package/cjs/input/input-border.d.ts +32 -0
  78. package/cjs/input/input-border.js +112 -0
  79. package/cjs/input/input.d.ts +4 -0
  80. package/cjs/input/input.js +244 -0
  81. package/cjs/jss-style/handleStyle.d.ts +5 -0
  82. package/cjs/jss-style/handleStyle.js +95 -0
  83. package/cjs/jss-style/index.d.ts +11 -0
  84. package/cjs/jss-style/index.js +40 -0
  85. package/cjs/list/index.d.ts +4 -0
  86. package/cjs/list/index.js +20 -0
  87. package/cjs/list/list.d.ts +31 -0
  88. package/cjs/list/list.js +126 -0
  89. package/cjs/menu/index.d.ts +4 -0
  90. package/cjs/menu/index.js +20 -0
  91. package/cjs/menu/menu.d.ts +37 -0
  92. package/cjs/menu/menu.js +285 -0
  93. package/cjs/message/index.d.ts +4 -0
  94. package/cjs/message/index.js +20 -0
  95. package/cjs/message/message.d.ts +4 -0
  96. package/cjs/message/message.js +136 -0
  97. package/cjs/mixin/custom-scrollbar.d.ts +8 -0
  98. package/cjs/mixin/custom-scrollbar.js +14 -0
  99. package/cjs/mixin/divider.d.ts +8 -0
  100. package/cjs/mixin/divider.js +24 -0
  101. package/cjs/mixin/ellipsis.d.ts +3 -0
  102. package/cjs/mixin/ellipsis.js +20 -0
  103. package/cjs/mixin/hide-scrollbar.d.ts +6 -0
  104. package/cjs/mixin/hide-scrollbar.js +14 -0
  105. package/cjs/mixin/index.d.ts +4 -0
  106. package/cjs/mixin/index.js +34 -0
  107. package/cjs/modal/index.d.ts +4 -0
  108. package/cjs/modal/index.js +20 -0
  109. package/cjs/modal/modal.d.ts +32 -0
  110. package/cjs/modal/modal.js +395 -0
  111. package/cjs/pagination/index.d.ts +5 -0
  112. package/cjs/pagination/index.js +20 -0
  113. package/cjs/pagination/pagination.d.ts +18 -0
  114. package/cjs/pagination/pagination.js +56 -0
  115. package/cjs/popover/index.d.ts +4 -0
  116. package/cjs/popover/index.js +20 -0
  117. package/cjs/popover/popover.d.ts +4 -0
  118. package/cjs/popover/popover.js +183 -0
  119. package/cjs/progress/index.d.ts +4 -0
  120. package/cjs/progress/index.js +20 -0
  121. package/cjs/progress/progress.d.ts +26 -0
  122. package/cjs/progress/progress.js +162 -0
  123. package/cjs/radio/index.d.ts +4 -0
  124. package/cjs/radio/index.js +20 -0
  125. package/cjs/radio/radio.d.ts +4 -0
  126. package/cjs/radio/radio.js +148 -0
  127. package/cjs/rate/index.d.ts +4 -0
  128. package/cjs/rate/index.js +20 -0
  129. package/cjs/rate/rate.d.ts +17 -0
  130. package/cjs/rate/rate.js +108 -0
  131. package/cjs/select/index.d.ts +5 -0
  132. package/cjs/select/index.js +20 -0
  133. package/cjs/select/select.d.ts +42 -0
  134. package/cjs/select/select.js +218 -0
  135. package/cjs/slider/index.d.ts +4 -0
  136. package/cjs/slider/index.js +20 -0
  137. package/cjs/slider/slider.d.ts +23 -0
  138. package/cjs/slider/slider.js +228 -0
  139. package/cjs/spin/animation.d.ts +186 -0
  140. package/cjs/spin/animation.js +205 -0
  141. package/cjs/spin/chasing-dots.d.ts +23 -0
  142. package/cjs/spin/chasing-dots.js +30 -0
  143. package/cjs/spin/chasing-ring.d.ts +30 -0
  144. package/cjs/spin/chasing-ring.js +36 -0
  145. package/cjs/spin/cube-grid.d.ts +39 -0
  146. package/cjs/spin/cube-grid.js +46 -0
  147. package/cjs/spin/default.d.ts +9 -0
  148. package/cjs/spin/default.js +50 -0
  149. package/cjs/spin/double-bounce.d.ts +20 -0
  150. package/cjs/spin/double-bounce.js +26 -0
  151. package/cjs/spin/fading-circle.d.ts +11 -0
  152. package/cjs/spin/fading-circle.js +49 -0
  153. package/cjs/spin/four-dots.d.ts +40 -0
  154. package/cjs/spin/four-dots.js +46 -0
  155. package/cjs/spin/index.d.ts +4 -0
  156. package/cjs/spin/index.js +20 -0
  157. package/cjs/spin/plane.d.ts +7 -0
  158. package/cjs/spin/plane.js +13 -0
  159. package/cjs/spin/pulse.d.ts +8 -0
  160. package/cjs/spin/pulse.js +14 -0
  161. package/cjs/spin/ring.d.ts +11 -0
  162. package/cjs/spin/ring.js +17 -0
  163. package/cjs/spin/scale-circle.d.ts +11 -0
  164. package/cjs/spin/scale-circle.js +49 -0
  165. package/cjs/spin/spin.d.ts +4 -0
  166. package/cjs/spin/spin.js +102 -0
  167. package/cjs/spin/tree-bounce.d.ts +22 -0
  168. package/cjs/spin/tree-bounce.js +28 -0
  169. package/cjs/spin/wave.d.ts +8 -0
  170. package/cjs/spin/wave.js +40 -0
  171. package/cjs/steps/index.d.ts +5 -0
  172. package/cjs/steps/index.js +20 -0
  173. package/cjs/steps/steps.d.ts +29 -0
  174. package/cjs/steps/steps.js +559 -0
  175. package/cjs/sticky/index.d.ts +4 -0
  176. package/cjs/sticky/index.js +20 -0
  177. package/cjs/sticky/sticky.d.ts +7 -0
  178. package/cjs/sticky/sticky.js +15 -0
  179. package/cjs/switch/index.d.ts +4 -0
  180. package/cjs/switch/index.js +20 -0
  181. package/cjs/switch/switch.d.ts +4 -0
  182. package/cjs/switch/switch.js +148 -0
  183. package/cjs/table/index.d.ts +4 -0
  184. package/cjs/table/index.js +20 -0
  185. package/cjs/table/table.d.ts +47 -0
  186. package/cjs/table/table.js +374 -0
  187. package/cjs/tabs/index.d.ts +4 -0
  188. package/cjs/tabs/index.js +20 -0
  189. package/cjs/tabs/tabs.d.ts +4 -0
  190. package/cjs/tabs/tabs.js +619 -0
  191. package/cjs/tag/index.d.ts +4 -0
  192. package/cjs/tag/index.js +20 -0
  193. package/cjs/tag/tag.d.ts +4 -0
  194. package/cjs/tag/tag.js +203 -0
  195. package/cjs/textarea/index.d.ts +4 -0
  196. package/cjs/textarea/index.js +20 -0
  197. package/cjs/textarea/textarea.d.ts +4 -0
  198. package/cjs/textarea/textarea.js +134 -0
  199. package/cjs/tooltip/index.d.ts +4 -0
  200. package/cjs/tooltip/index.js +20 -0
  201. package/cjs/tooltip/tooltip.d.ts +4 -0
  202. package/cjs/tooltip/tooltip.js +220 -0
  203. package/cjs/transfer/index.d.ts +4 -0
  204. package/cjs/transfer/index.js +20 -0
  205. package/cjs/transfer/transfer.d.ts +4 -0
  206. package/cjs/transfer/transfer.js +198 -0
  207. package/cjs/tree/index.d.ts +4 -0
  208. package/cjs/tree/index.js +20 -0
  209. package/cjs/tree/tree.d.ts +4 -0
  210. package/cjs/tree/tree.js +185 -0
  211. package/cjs/upload/index.d.ts +4 -0
  212. package/cjs/upload/index.js +20 -0
  213. package/cjs/upload/upload.d.ts +40 -0
  214. package/cjs/upload/upload.js +331 -0
  215. package/cjs/virtual-scroll/index.d.ts +4 -0
  216. package/cjs/virtual-scroll/index.js +19 -0
  217. package/cjs/virtual-scroll/virtual-scroll.d.ts +4 -0
  218. package/cjs/virtual-scroll/virtual-scroll.js +37 -0
  219. package/esm/alert/alert.d.ts +4 -0
  220. package/esm/alert/alert.js +135 -0
  221. package/esm/alert/index.d.ts +4 -0
  222. package/esm/alert/index.js +19 -0
  223. package/esm/breadcrumb/breadcrumb.d.ts +16 -0
  224. package/esm/breadcrumb/breadcrumb.js +83 -0
  225. package/esm/breadcrumb/index.d.ts +4 -0
  226. package/esm/breadcrumb/index.js +19 -0
  227. package/esm/button/button.d.ts +4 -0
  228. package/esm/button/button.js +416 -0
  229. package/esm/button/index.d.ts +4 -0
  230. package/esm/button/index.js +19 -0
  231. package/esm/carousel/carousel.d.ts +35 -0
  232. package/esm/carousel/carousel.js +315 -0
  233. package/esm/carousel/index.d.ts +4 -0
  234. package/esm/carousel/index.js +19 -0
  235. package/esm/checkbox/checkbox.d.ts +4 -0
  236. package/esm/checkbox/checkbox.js +143 -0
  237. package/esm/checkbox/index.d.ts +4 -0
  238. package/esm/checkbox/index.js +19 -0
  239. package/esm/cssvar/checkbox.d.ts +10 -0
  240. package/esm/cssvar/checkbox.js +18 -0
  241. package/esm/cssvar/common.d.ts +23 -0
  242. package/esm/cssvar/common.js +35 -0
  243. package/esm/cssvar/form.d.ts +6 -0
  244. package/esm/cssvar/form.js +13 -0
  245. package/esm/cssvar/index.d.ts +75 -0
  246. package/esm/cssvar/index.js +36 -0
  247. package/esm/cssvar/innerTitle.d.ts +9 -0
  248. package/esm/cssvar/innerTitle.js +15 -0
  249. package/esm/cssvar/input.d.ts +25 -0
  250. package/esm/cssvar/input.js +33 -0
  251. package/esm/cssvar/radio.d.ts +6 -0
  252. package/esm/cssvar/radio.js +13 -0
  253. package/esm/date-picker/date-picker.d.ts +4 -0
  254. package/esm/date-picker/date-picker.js +581 -0
  255. package/esm/date-picker/index.d.ts +4 -0
  256. package/esm/date-picker/index.js +19 -0
  257. package/esm/divider/divider.d.ts +14 -0
  258. package/esm/divider/divider.js +82 -0
  259. package/esm/divider/index.d.ts +4 -0
  260. package/esm/divider/index.js +20 -0
  261. package/esm/dropdown/dropdown.d.ts +4 -0
  262. package/esm/dropdown/dropdown.js +137 -0
  263. package/esm/dropdown/index.d.ts +4 -0
  264. package/esm/dropdown/index.js +20 -0
  265. package/esm/editable-area/editable-area.d.ts +4 -0
  266. package/esm/editable-area/editable-area.js +107 -0
  267. package/esm/editable-area/index.d.ts +4 -0
  268. package/esm/editable-area/index.js +20 -0
  269. package/esm/empty/empty.d.ts +4 -0
  270. package/esm/empty/empty.js +35 -0
  271. package/esm/empty/index.d.ts +4 -0
  272. package/esm/empty/index.js +20 -0
  273. package/esm/form/form-item.d.ts +4 -0
  274. package/esm/form/form-item.js +109 -0
  275. package/esm/form/form.d.ts +4 -0
  276. package/esm/form/form.js +23 -0
  277. package/esm/form/index.d.ts +6 -0
  278. package/esm/form/index.js +29 -0
  279. package/esm/icon/icon.d.ts +4 -0
  280. package/esm/icon/icon.js +52 -0
  281. package/esm/icon/index.d.ts +4 -0
  282. package/esm/icon/index.js +20 -0
  283. package/esm/image/image.d.ts +42 -0
  284. package/esm/image/image.js +374 -0
  285. package/esm/image/index.d.ts +5 -0
  286. package/esm/image/index.js +20 -0
  287. package/esm/index.d.ts +43 -0
  288. package/esm/index.js +503 -0
  289. package/esm/inner-title/index.d.ts +4 -0
  290. package/esm/inner-title/index.js +20 -0
  291. package/esm/inner-title/inner-title.d.ts +4 -0
  292. package/esm/inner-title/inner-title.js +63 -0
  293. package/esm/input/index.d.ts +4 -0
  294. package/esm/input/index.js +20 -0
  295. package/esm/input/input-border.d.ts +32 -0
  296. package/esm/input/input-border.js +112 -0
  297. package/esm/input/input.d.ts +4 -0
  298. package/esm/input/input.js +244 -0
  299. package/esm/jss-style/handleStyle.d.ts +5 -0
  300. package/esm/jss-style/handleStyle.js +95 -0
  301. package/esm/jss-style/index.d.ts +11 -0
  302. package/esm/jss-style/index.js +40 -0
  303. package/esm/list/index.d.ts +4 -0
  304. package/esm/list/index.js +20 -0
  305. package/esm/list/list.d.ts +31 -0
  306. package/esm/list/list.js +126 -0
  307. package/esm/menu/index.d.ts +4 -0
  308. package/esm/menu/index.js +20 -0
  309. package/esm/menu/menu.d.ts +37 -0
  310. package/esm/menu/menu.js +285 -0
  311. package/esm/message/index.d.ts +4 -0
  312. package/esm/message/index.js +20 -0
  313. package/esm/message/message.d.ts +4 -0
  314. package/esm/message/message.js +136 -0
  315. package/esm/mixin/custom-scrollbar.d.ts +8 -0
  316. package/esm/mixin/custom-scrollbar.js +14 -0
  317. package/esm/mixin/divider.d.ts +8 -0
  318. package/esm/mixin/divider.js +24 -0
  319. package/esm/mixin/ellipsis.d.ts +3 -0
  320. package/esm/mixin/ellipsis.js +20 -0
  321. package/esm/mixin/hide-scrollbar.d.ts +6 -0
  322. package/esm/mixin/hide-scrollbar.js +14 -0
  323. package/esm/mixin/index.d.ts +4 -0
  324. package/esm/mixin/index.js +34 -0
  325. package/esm/modal/index.d.ts +4 -0
  326. package/esm/modal/index.js +20 -0
  327. package/esm/modal/modal.d.ts +32 -0
  328. package/esm/modal/modal.js +395 -0
  329. package/esm/pagination/index.d.ts +5 -0
  330. package/esm/pagination/index.js +20 -0
  331. package/esm/pagination/pagination.d.ts +18 -0
  332. package/esm/pagination/pagination.js +56 -0
  333. package/esm/popover/index.d.ts +4 -0
  334. package/esm/popover/index.js +20 -0
  335. package/esm/popover/popover.d.ts +4 -0
  336. package/esm/popover/popover.js +183 -0
  337. package/esm/progress/index.d.ts +4 -0
  338. package/esm/progress/index.js +20 -0
  339. package/esm/progress/progress.d.ts +26 -0
  340. package/esm/progress/progress.js +162 -0
  341. package/esm/radio/index.d.ts +4 -0
  342. package/esm/radio/index.js +20 -0
  343. package/esm/radio/radio.d.ts +4 -0
  344. package/esm/radio/radio.js +148 -0
  345. package/esm/rate/index.d.ts +4 -0
  346. package/esm/rate/index.js +20 -0
  347. package/esm/rate/rate.d.ts +17 -0
  348. package/esm/rate/rate.js +108 -0
  349. package/esm/select/index.d.ts +5 -0
  350. package/esm/select/index.js +20 -0
  351. package/esm/select/select.d.ts +42 -0
  352. package/esm/select/select.js +218 -0
  353. package/esm/slider/index.d.ts +4 -0
  354. package/esm/slider/index.js +20 -0
  355. package/esm/slider/slider.d.ts +23 -0
  356. package/esm/slider/slider.js +228 -0
  357. package/esm/spin/animation.d.ts +186 -0
  358. package/esm/spin/animation.js +205 -0
  359. package/esm/spin/chasing-dots.d.ts +23 -0
  360. package/esm/spin/chasing-dots.js +30 -0
  361. package/esm/spin/chasing-ring.d.ts +30 -0
  362. package/esm/spin/chasing-ring.js +36 -0
  363. package/esm/spin/cube-grid.d.ts +39 -0
  364. package/esm/spin/cube-grid.js +46 -0
  365. package/esm/spin/default.d.ts +9 -0
  366. package/esm/spin/default.js +50 -0
  367. package/esm/spin/double-bounce.d.ts +20 -0
  368. package/esm/spin/double-bounce.js +26 -0
  369. package/esm/spin/fading-circle.d.ts +11 -0
  370. package/esm/spin/fading-circle.js +49 -0
  371. package/esm/spin/four-dots.d.ts +40 -0
  372. package/esm/spin/four-dots.js +46 -0
  373. package/esm/spin/index.d.ts +4 -0
  374. package/esm/spin/index.js +20 -0
  375. package/esm/spin/plane.d.ts +7 -0
  376. package/esm/spin/plane.js +13 -0
  377. package/esm/spin/pulse.d.ts +8 -0
  378. package/esm/spin/pulse.js +14 -0
  379. package/esm/spin/ring.d.ts +11 -0
  380. package/esm/spin/ring.js +17 -0
  381. package/esm/spin/scale-circle.d.ts +11 -0
  382. package/esm/spin/scale-circle.js +49 -0
  383. package/esm/spin/spin.d.ts +4 -0
  384. package/esm/spin/spin.js +102 -0
  385. package/esm/spin/tree-bounce.d.ts +22 -0
  386. package/esm/spin/tree-bounce.js +28 -0
  387. package/esm/spin/wave.d.ts +8 -0
  388. package/esm/spin/wave.js +40 -0
  389. package/esm/steps/index.d.ts +5 -0
  390. package/esm/steps/index.js +20 -0
  391. package/esm/steps/steps.d.ts +29 -0
  392. package/esm/steps/steps.js +559 -0
  393. package/esm/sticky/index.d.ts +4 -0
  394. package/esm/sticky/index.js +20 -0
  395. package/esm/sticky/sticky.d.ts +7 -0
  396. package/esm/sticky/sticky.js +15 -0
  397. package/esm/switch/index.d.ts +4 -0
  398. package/esm/switch/index.js +20 -0
  399. package/esm/switch/switch.d.ts +4 -0
  400. package/esm/switch/switch.js +148 -0
  401. package/esm/table/index.d.ts +4 -0
  402. package/esm/table/index.js +20 -0
  403. package/esm/table/table.d.ts +47 -0
  404. package/esm/table/table.js +374 -0
  405. package/esm/tabs/index.d.ts +4 -0
  406. package/esm/tabs/index.js +20 -0
  407. package/esm/tabs/tabs.d.ts +4 -0
  408. package/esm/tabs/tabs.js +619 -0
  409. package/esm/tag/index.d.ts +4 -0
  410. package/esm/tag/index.js +20 -0
  411. package/esm/tag/tag.d.ts +4 -0
  412. package/esm/tag/tag.js +203 -0
  413. package/esm/textarea/index.d.ts +4 -0
  414. package/esm/textarea/index.js +20 -0
  415. package/esm/textarea/textarea.d.ts +4 -0
  416. package/esm/textarea/textarea.js +134 -0
  417. package/esm/tooltip/index.d.ts +4 -0
  418. package/esm/tooltip/index.js +20 -0
  419. package/esm/tooltip/tooltip.d.ts +4 -0
  420. package/esm/tooltip/tooltip.js +220 -0
  421. package/esm/transfer/index.d.ts +4 -0
  422. package/esm/transfer/index.js +20 -0
  423. package/esm/transfer/transfer.d.ts +4 -0
  424. package/esm/transfer/transfer.js +198 -0
  425. package/esm/tree/index.d.ts +4 -0
  426. package/esm/tree/index.js +20 -0
  427. package/esm/tree/tree.d.ts +4 -0
  428. package/esm/tree/tree.js +185 -0
  429. package/esm/upload/index.d.ts +4 -0
  430. package/esm/upload/index.js +20 -0
  431. package/esm/upload/upload.d.ts +40 -0
  432. package/esm/upload/upload.js +331 -0
  433. package/esm/virtual-scroll/index.d.ts +4 -0
  434. package/esm/virtual-scroll/index.js +19 -0
  435. package/esm/virtual-scroll/virtual-scroll.d.ts +4 -0
  436. package/esm/virtual-scroll/virtual-scroll.js +37 -0
  437. package/package.json +17 -0
@@ -0,0 +1,559 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.default = void 0;
8
+ require("core-js/modules/es.array.concat.js");
9
+ var _theme = _interopRequireDefault(require("@sheinx/theme"));
10
+ var stepsStyle = {
11
+ steps: {
12
+ display: 'flex',
13
+ '& $step:last-child ': {
14
+ '& $tail,$title::after': {
15
+ display: 'none'
16
+ }
17
+ }
18
+ },
19
+ click: {
20
+ '& $icon': {
21
+ cursor: 'pointer'
22
+ },
23
+ '&$arrow': {
24
+ '& $step': {
25
+ cursor: 'pointer'
26
+ }
27
+ }
28
+ },
29
+ small: {
30
+ fontSize: _theme.default.stepsIconFontSize,
31
+ '&$arrow': {
32
+ '& $step:not(:last-child)': {
33
+ '&:after': {
34
+ top: "calc((100% - ".concat(_theme.default.stepsSmallArrowHeight, ")/2)"),
35
+ width: _theme.default.stepsSmallArrowHeight,
36
+ height: _theme.default.stepsSmallArrowHeight
37
+ },
38
+ '&:before': {
39
+ top: "calc((100% - ".concat(_theme.default.stepsSmallArrowHeight, ")/2)"),
40
+ width: _theme.default.stepsSmallArrowHeight,
41
+ height: _theme.default.stepsSmallArrowHeight
42
+ }
43
+ },
44
+ '& $content': {
45
+ padding: "".concat(_theme.default.stepsSmallArrowPaddingY, " ").concat(_theme.default.stepsSmallArrowPaddingX),
46
+ boxSizing: 'border-box'
47
+ }
48
+ },
49
+ '&$dot': {
50
+ '&$vertical': {
51
+ '& $tail': {}
52
+ }
53
+ },
54
+ '& $title': {
55
+ fontSize: _theme.default.stepsSmallTitleFontSize
56
+ },
57
+ '&$default $iconWrapper': {
58
+ fontSize: _theme.default.stepsSmallTitleFontSize,
59
+ lineHeight: _theme.default.stepsSmallIconHeight,
60
+ width: _theme.default.stepsSmallIconWidth,
61
+ height: _theme.default.stepsSmallIconHeight,
62
+ padding: 0
63
+ },
64
+ '&$default': {
65
+ '&$horizontal': {
66
+ '& $tail': {
67
+ left: 94,
68
+ top: "calc(".concat(_theme.default.stepsSmallIconWidth, "/2)"),
69
+ width: "calc(100% - 20px)",
70
+ '&:after': {
71
+ width: '100%'
72
+ }
73
+ }
74
+ },
75
+ '&$vertical': {
76
+ '& $description': {
77
+ marginTop: 4
78
+ },
79
+ '& $tail': {
80
+ paddingTop: 28,
81
+ left: 12
82
+ }
83
+ },
84
+ '& $verticalLabel': {
85
+ '& $title': {
86
+ lineHeight: _theme.default.lineHeightDynamic
87
+ }
88
+ },
89
+ '& $title': {
90
+ lineHeight: _theme.default.stepsSmallIconHeight
91
+ }
92
+ },
93
+ '& $horizontal': {
94
+ '& $horizontalLabel': {
95
+ '& $title': {
96
+ marginTop: 2
97
+ }
98
+ },
99
+ '& $horizontalLabel:not(:last-child)': {
100
+ minWidth: 150,
101
+ '& $description': {
102
+ marginTop: 0
103
+ }
104
+ }
105
+ },
106
+ '& $vertical ': {
107
+ '& $horizontalLabel': {
108
+ '& $title': {
109
+ marginTop: 2
110
+ }
111
+ },
112
+ '& $horizontalLabel:not(:last-child)': {
113
+ minWidth: 150,
114
+ '& $description': {}
115
+ }
116
+ }
117
+ },
118
+ large: {
119
+ '&$arrow': {
120
+ '& $step:not(:last-child)': {
121
+ '&:after': {
122
+ top: "calc((100% - ".concat(_theme.default.stepsLargeArrowHeight, ")/2)"),
123
+ width: _theme.default.stepsLargeArrowHeight,
124
+ height: _theme.default.stepsLargeArrowHeight
125
+ },
126
+ '&:before': {
127
+ top: "calc((100% - ".concat(_theme.default.stepsLargeArrowHeight, ")/2)"),
128
+ width: _theme.default.stepsLargeArrowHeight,
129
+ height: _theme.default.stepsLargeArrowHeight
130
+ }
131
+ },
132
+ '& $content': {
133
+ padding: "".concat(_theme.default.stepsLargeArrowPaddingY, " ").concat(_theme.default.stepsLargeArrowPaddingX),
134
+ boxSizing: 'border-box'
135
+ }
136
+ },
137
+ '& $title': {
138
+ fontSize: _theme.default.stepsLargeTitleFontSize
139
+ },
140
+ '&$default $iconWrapper': {
141
+ fontSize: _theme.default.stepsLargeTitleFontSize,
142
+ width: "calc(".concat(_theme.default.stepsLargeIconFontSize, " + 14px)"),
143
+ height: "calc(".concat(_theme.default.stepsLargeIconFontSize, " + 14px)"),
144
+ lineHeight: "calc(".concat(_theme.default.stepsLargeIconFontSize, " + 14px)"),
145
+ padding: 0
146
+ },
147
+ '&$default': {
148
+ '& $title': {
149
+ lineHeight: _theme.default.stepsLargeIconHeight
150
+ },
151
+ '&$horizontal': {
152
+ '& $tail': {
153
+ left: 102,
154
+ top: "calc(".concat(_theme.default.stepsLargeIconWidth, "/2)"),
155
+ '&:after': {
156
+ width: "calc(100% - ".concat(_theme.default.stepsLargeIconWidth, " + 4px)")
157
+ }
158
+ }
159
+ },
160
+ '&$vertical': {
161
+ '& $tail': {
162
+ left: 16,
163
+ paddingTop: 36
164
+ }
165
+ },
166
+ '& $verticalLabel': {
167
+ '& $title': {
168
+ lineHeight: _theme.default.lineHeightDynamic
169
+ }
170
+ }
171
+ },
172
+ '& $horizontalLabel': {},
173
+ '& $horizontalLabel:not(:last-child)': {
174
+ minWidth: 170
175
+ }
176
+ },
177
+ vertical: {
178
+ flexDirection: 'column',
179
+ '& $content': {
180
+ minHeight: 64
181
+ },
182
+ '& $description': {
183
+ marginTop: 4,
184
+ paddingBottom: 12
185
+ },
186
+ '& $tail': {
187
+ width: 1,
188
+ height: '100%',
189
+ left: 13.5,
190
+ '&:after': {
191
+ position: 'relative',
192
+ width: 1,
193
+ height: '100%'
194
+ }
195
+ },
196
+ '&dot': {
197
+ '& $description': {
198
+ marginTop: 4
199
+ }
200
+ }
201
+ },
202
+ horizontal: {
203
+ '&dot': {
204
+ '& $description': {
205
+ marginTop: 4
206
+ }
207
+ },
208
+ '& $tail': {
209
+ width: '100%',
210
+ height: 1,
211
+ '&:after': {
212
+ height: '100%'
213
+ }
214
+ },
215
+ '& $horizontalLabel': {
216
+ '& $description': {},
217
+ '& $title': {
218
+ '&:after': {
219
+ content: '""',
220
+ display: 'block',
221
+ background: _theme.default.stepsTailBackgroundColor,
222
+ height: 1,
223
+ left: '100%',
224
+ marginLeft: 12,
225
+ top: '50%',
226
+ width: 999,
227
+ position: 'absolute'
228
+ }
229
+ }
230
+ }
231
+ },
232
+ step: {
233
+ position: 'relative',
234
+ flex: 1,
235
+ marginRight: 12,
236
+ whiteSpace: 'nowrap',
237
+ '&:last-child': {
238
+ marginRight: 0
239
+ }
240
+ },
241
+ disabled: {},
242
+ horizontalLabel: {
243
+ '&$step': {
244
+ overflow: 'hidden'
245
+ },
246
+ '& $icon': {
247
+ marginRight: 12
248
+ },
249
+ '& $title, $description': {
250
+ textAlign: 'left'
251
+ },
252
+ '& $content': {
253
+ textAlign: 'left',
254
+ display: 'inline-block'
255
+ },
256
+ '& $title': {},
257
+ '& $description': {
258
+ // paddingRight: 40,
259
+ }
260
+ },
261
+ verticalLabel: {
262
+ '& $icon': {
263
+ marginLeft: 66
264
+ },
265
+ '& $content': {
266
+ width: 160,
267
+ display: 'block',
268
+ marginTop: _theme.default.stepsNearlyContentMargin
269
+ }
270
+ },
271
+ content: {
272
+ textAlign: 'center',
273
+ verticalAlign: 'top'
274
+ },
275
+ title: {
276
+ position: 'relative',
277
+ display: 'inline-block',
278
+ textAlign: 'center',
279
+ lineHeight: _theme.default.lineHeightDynamic,
280
+ fontSize: _theme.default.stepsTitleFontSize
281
+ },
282
+ tail: {
283
+ position: 'absolute',
284
+ boxSizing: 'border-box',
285
+ '&:after': {
286
+ content: '""',
287
+ display: 'block',
288
+ position: 'absolute',
289
+ background: _theme.default.stepsTailBackgroundColor
290
+ }
291
+ },
292
+ description: {
293
+ textAlign: 'center',
294
+ fontSize: _theme.default.stepsDescriptionFontSize,
295
+ color: _theme.default.stepsDescriptionFontColor,
296
+ lineHeight: _theme.default.lineHeightDynamic,
297
+ // marginTop: Token.stepsNearlyDescribeMargin,
298
+ whiteSpace: 'normal'
299
+ },
300
+ wait: {
301
+ '& $iconWrapper': {
302
+ color: _theme.default.stepsWaitFontColor,
303
+ backgroundColor: _theme.default.stepsWaitBackgroundColor
304
+ },
305
+ '& $title': {
306
+ color: _theme.default.stepsWaitFontColor
307
+ }
308
+ },
309
+ process: {
310
+ '& $iconWrapper': {
311
+ color: _theme.default.stepsProcessFontColor,
312
+ backgroundColor: _theme.default.stepsProcessBackgroundColor,
313
+ fontWeight: 500
314
+ },
315
+ '& $title': {
316
+ fontWeight: 500
317
+ }
318
+ },
319
+ finish: {
320
+ '& $iconWrapper': {
321
+ color: _theme.default.stepsFinishFontColor,
322
+ backgroundColor: _theme.default.stepsFinishBackgroundColor
323
+ },
324
+ '& $tail': {
325
+ '&:after': {
326
+ background: _theme.default.stepsTailFinishBackgroundColor
327
+ }
328
+ }
329
+ },
330
+ error: {
331
+ '& $iconWrapper': {
332
+ color: _theme.default.stepsErrorFontColor,
333
+ backgroundColor: _theme.default.stepsErrorBackgroundColor
334
+ }
335
+ },
336
+ icon: {
337
+ display: 'inline-block',
338
+ position: 'relative',
339
+ fontSize: _theme.default.stepsIconFontSize,
340
+ textAlign: 'center'
341
+ },
342
+ iconWrapper: {
343
+ display: 'inline-block',
344
+ textAlign: 'center',
345
+ borderRadius: '50%'
346
+ },
347
+ dot: {
348
+ '&$vertical': {
349
+ '& $title': {
350
+ marginTop: 0
351
+ },
352
+ '& $icon': {
353
+ lineHeight: 0,
354
+ padding: 10
355
+ },
356
+ '& $process': {
357
+ '& $icon': {
358
+ padding: 9
359
+ }
360
+ },
361
+ '& $tail': {
362
+ top: 7,
363
+ paddingTop: 27,
364
+ '&:after': {
365
+ width: 1
366
+ }
367
+ }
368
+ },
369
+ '&$horizontal': {
370
+ '& $description': {
371
+ marginTop: 4
372
+ },
373
+ '& $icon': {
374
+ lineHeight: 0,
375
+ marginLeft: 76
376
+ },
377
+ '& $tail': {
378
+ left: 88,
379
+ overflow: 'hidden',
380
+ width: 'calc(100% - 8px)',
381
+ '&:after': {
382
+ width: '100%'
383
+ }
384
+ },
385
+ '& $title': {
386
+ whiteSpace: 'normal'
387
+ },
388
+ '& $process': {
389
+ '& $icon': {
390
+ marginLeft: 73
391
+ }
392
+ }
393
+ },
394
+ '& $process': {
395
+ '& $iconWrapper': {
396
+ width: 10,
397
+ height: 10
398
+ }
399
+ },
400
+ '& $iconWrapper': {
401
+ width: 8,
402
+ height: 8
403
+ },
404
+ '& $description': {
405
+ fontSize: _theme.default.stepsSmallDescriptionFontSize
406
+ },
407
+ '& $tail': {
408
+ top: 10.5,
409
+ boxSizing: 'border-box'
410
+ },
411
+ '& $finish': {
412
+ '& $iconWrapper': {
413
+ backgroundColor: _theme.default.stepsProcessBackgroundColor
414
+ },
415
+ '& $title': {}
416
+ }
417
+ },
418
+ arrow: {
419
+ '&$steps': {
420
+ overflow: 'hidden'
421
+ },
422
+ '& $step': {},
423
+ '&$horizontal': {
424
+ '& $horizontalLabel $title:after': {
425
+ display: 'none'
426
+ }
427
+ },
428
+ '& $step:last-child': {
429
+ marginRight: 0
430
+ },
431
+ '& $step:not(:last-child)': {
432
+ marginRight: 4,
433
+ overflow: 'visible',
434
+ position: 'relative',
435
+ '&:after': {
436
+ zIndex: 1,
437
+ content: '""',
438
+ width: _theme.default.stepsArrowHeight,
439
+ height: _theme.default.stepsArrowHeight,
440
+ borderRadius: 4,
441
+ display: 'block',
442
+ position: 'absolute',
443
+ top: "calc((100% - ".concat(_theme.default.stepsArrowHeight, ")/2)"),
444
+ right: -30,
445
+ transform: 'rotate(45deg)'
446
+ },
447
+ '&:before': {
448
+ zIndex: 2,
449
+ content: '""',
450
+ height: _theme.default.stepsArrowHeight,
451
+ width: _theme.default.stepsArrowHeight,
452
+ borderRadius: 4,
453
+ display: 'block',
454
+ position: 'absolute',
455
+ top: "calc((100% - ".concat(_theme.default.stepsArrowHeight, ")/2)"),
456
+ right: -26,
457
+ transform: 'rotate(45deg)'
458
+ }
459
+ },
460
+ '& $step:not(:first-child)': {
461
+ paddingLeft: 30
462
+ },
463
+ '& $description': {
464
+ paddingRight: 0,
465
+ height: 20,
466
+ whiteSpace: 'nowrap',
467
+ fontSize: _theme.default.stepsSmallDescriptionFontSize
468
+ },
469
+ '& $content': {
470
+ padding: "".concat(_theme.default.stepsArrowPaddingY, " ").concat(_theme.default.stepsArrowPaddingX),
471
+ boxSizing: 'border-box',
472
+ marginTop: 0
473
+ },
474
+ '& $finish': {
475
+ backgroundColor: _theme.default.stepsFinishBackgroundColor,
476
+ '&:after': {
477
+ background: "linear-gradient(45deg,rgba(0,0,0,0) 50%,rgba(0,0,0,0) 25% 50%,#fff 50% 75%,#fff 75%)"
478
+ },
479
+ '&:before': {
480
+ background: "linear-gradient(45deg,rgba(0,0,0,0) 50%,rgba(0,0,0,0) 25% 50%,".concat(_theme.default.stepsFinishBackgroundColor, " 50% 75%,").concat(_theme.default.stepsFinishBackgroundColor, " 75%)")
481
+ }
482
+ },
483
+ '& $process': {
484
+ color: _theme.default.stepsProcessFontColor,
485
+ backgroundColor: _theme.default.stepsProcessBackgroundColor,
486
+ '& $description': {
487
+ color: _theme.default.stepsProcessFontColor
488
+ },
489
+ '&:after': {
490
+ background: "linear-gradient(45deg,rgba(0,0,0,0) 50%,rgba(0,0,0,0) 25% 50%,#fff 50% 75%,#fff 75%)"
491
+ },
492
+ '&:before': {
493
+ background: "linear-gradient(45deg,rgba(0,0,0,0) 50%,rgba(0,0,0,0) 25% 50%,".concat(_theme.default.stepsProcessBackgroundColor, " 50% 75%,").concat(_theme.default.stepsProcessBackgroundColor, " 75%)")
494
+ }
495
+ },
496
+ '& $wait': {
497
+ color: _theme.default.stepsWaitFontColor,
498
+ backgroundColor: _theme.default.stepsWaitBackgroundColor,
499
+ '&:after': {
500
+ background: "linear-gradient(45deg,rgba(0,0,0,0) 50%,rgba(0,0,0,0) 25% 50%,#fff 50% 75%,#fff 75%)"
501
+ },
502
+ '&:before': {
503
+ background: "linear-gradient(45deg,rgba(0,0,0,0) 50%,rgba(0,0,0,0) 25% 50%,".concat(_theme.default.stepsWaitBackgroundColor, " 50% 75%,").concat(_theme.default.stepsWaitBackgroundColor, " 75%)")
504
+ }
505
+ }
506
+ },
507
+ default: {
508
+ lineHeight: 0,
509
+ '&$vertical': {
510
+ '& $tail': {
511
+ paddingTop: 32,
512
+ paddingBottom: 4,
513
+ '&:after': {
514
+ width: 1
515
+ }
516
+ }
517
+ },
518
+ '&$horizontal': {
519
+ '& $tail': {
520
+ // left: `calc(50% + ${Token.stepsIconWidth}/2 + 4px)`,
521
+ left: 98,
522
+ top: 13.5,
523
+ '&:after': {
524
+ width: "calc(100% - ".concat(_theme.default.stepsIconWidth, " + 4px)")
525
+ }
526
+ }
527
+ },
528
+ '& $verticalLabel': {
529
+ '& $title': {
530
+ lineHeight: _theme.default.lineHeightDynamic
531
+ },
532
+ '& $description': {
533
+ marginTop: 4
534
+ }
535
+ },
536
+ '& $iconWrapper': {
537
+ lineHeight: _theme.default.stepsIconHeight,
538
+ width: _theme.default.stepsIconWidth,
539
+ height: _theme.default.stepsIconHeight
540
+ },
541
+ '& $icon': {
542
+ lineHeight: 0
543
+ },
544
+ '& $title': {
545
+ lineHeight: _theme.default.stepsIconHeight
546
+ },
547
+ '& $description': {
548
+ fontSize: _theme.default.stepsSmallDescriptionFontSize
549
+ },
550
+ '& $icon svg': {
551
+ padding: 6
552
+ },
553
+ '& $horizontalLabel:not(:last-child)': {
554
+ minWidth: 160
555
+ }
556
+ }
557
+ };
558
+ var _default = stepsStyle;
559
+ exports.default = _default;
@@ -0,0 +1,4 @@
1
+ import stickyStyle from './sticky';
2
+ declare const useStickyStyle: (data?: undefined) => import("jss").Classes<"wrapper">;
3
+ export { stickyStyle, useStickyStyle };
4
+ export default useStickyStyle;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.default = void 0;
8
+ Object.defineProperty(exports, "stickyStyle", {
9
+ enumerable: true,
10
+ get: function get() {
11
+ return _sticky.default;
12
+ }
13
+ });
14
+ exports.useStickyStyle = void 0;
15
+ var _jssStyle = require("../jss-style");
16
+ var _sticky = _interopRequireDefault(require("./sticky"));
17
+ var useStickyStyle = (0, _jssStyle.styled)(_sticky.default, 'sticky');
18
+ exports.useStickyStyle = useStickyStyle;
19
+ var _default = useStickyStyle;
20
+ exports.default = _default;
@@ -0,0 +1,7 @@
1
+ import { JsStyles } from '../jss-style';
2
+ export declare type StickyClasses = {
3
+ wrapper: string;
4
+ };
5
+ export declare type StickyClassType = keyof StickyClasses;
6
+ declare const stickyStyle: JsStyles<StickyClassType>;
7
+ export default stickyStyle;
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ // import token from '@sheinx/theme';
8
+
9
+ var stickyStyle = {
10
+ wrapper: {
11
+ display: 'block'
12
+ }
13
+ };
14
+ var _default = stickyStyle;
15
+ exports.default = _default;
@@ -0,0 +1,4 @@
1
+ import switchStyle from './switch';
2
+ declare const useSwitchStyle: (data?: undefined) => import("jss").Classes<import("./switch").SwitchClass>;
3
+ export { switchStyle, useSwitchStyle };
4
+ export default useSwitchStyle;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.default = void 0;
8
+ Object.defineProperty(exports, "switchStyle", {
9
+ enumerable: true,
10
+ get: function get() {
11
+ return _switch.default;
12
+ }
13
+ });
14
+ exports.useSwitchStyle = void 0;
15
+ var _jssStyle = require("../jss-style");
16
+ var _switch = _interopRequireDefault(require("./switch"));
17
+ var useSwitchStyle = (0, _jssStyle.styled)(_switch.default, 'switch');
18
+ exports.useSwitchStyle = useSwitchStyle;
19
+ var _default = useSwitchStyle;
20
+ exports.default = _default;
@@ -0,0 +1,4 @@
1
+ import { JsStyles } from '../jss-style';
2
+ export declare type SwitchClass = 'wrapper' | 'wrapperDisabled' | 'wrapperChecked' | 'wrapperSmall' | 'wrapperLarge' | 'indicator' | 'loading' | 'content';
3
+ declare const switchStyle: JsStyles<SwitchClass>;
4
+ export default switchStyle;