@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,4 @@
1
+ import { JsStyles } from '../jss-style';
2
+ declare type ButtonClass = 'button' | 'default' | 'disabled' | 'loading' | 'primary' | 'secondary' | 'danger' | 'warning' | 'success' | 'text' | 'outline' | 'dashed' | 'round' | 'circle' | 'square' | 'link' | 'href' | 'small' | 'large' | 'group' | 'groupItem' | 'spin';
3
+ declare const ButtonStyle: JsStyles<ButtonClass>;
4
+ export default ButtonStyle;
@@ -0,0 +1,416 @@
1
+ "use strict";
2
+
3
+ require("core-js/modules/es.array.filter.js");
4
+ require("core-js/modules/web.dom-collections.for-each.js");
5
+ require("core-js/modules/es.object.get-own-property-descriptors.js");
6
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
7
+ Object.defineProperty(exports, "__esModule", {
8
+ value: true
9
+ });
10
+ exports.default = void 0;
11
+ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
12
+ require("core-js/modules/es.array.concat.js");
13
+ var _theme = _interopRequireDefault(require("@sheinx/theme"));
14
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
15
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
16
+ // Dashed 用 Outline 的样式
17
+
18
+ var button = function button(type, styles) {
19
+ return {
20
+ color: _theme.default["button".concat(type).concat(styles, "FontColor")],
21
+ backgroundColor: _theme.default["button".concat(type).concat(styles, "BackgroundColor")],
22
+ borderColor: _theme.default["button".concat(type).concat(styles, "BorderColor")],
23
+ '&:hover': {
24
+ color: _theme.default["button".concat(type).concat(styles, "HoverFontColor")],
25
+ backgroundColor: _theme.default["button".concat(type).concat(styles, "HoverBackgroundColor")],
26
+ borderColor: _theme.default["button".concat(type).concat(styles, "HoverBorderColor")]
27
+ },
28
+ '&:active': {
29
+ color: _theme.default["button".concat(type).concat(styles, "ActiveFontColor")],
30
+ backgroundColor: _theme.default["button".concat(type).concat(styles, "ActiveBackgroundColor")],
31
+ borderColor: _theme.default["button".concat(type).concat(styles, "ActiveBorderColor")]
32
+ },
33
+ '&:disabled': {
34
+ color: _theme.default["button".concat(type).concat(styles, "DisabledFontColor")],
35
+ backgroundColor: _theme.default["button".concat(type).concat(styles, "DisabledBackgroundColor")],
36
+ borderColor: _theme.default["button".concat(type).concat(styles, "DisabledBorderColor")]
37
+ },
38
+ // a 标签无 disabled 状态
39
+ '&$disabled': {
40
+ color: _theme.default["button".concat(type).concat(styles, "DisabledFontColor")],
41
+ backgroundColor: _theme.default["button".concat(type).concat(styles, "DisabledBackgroundColor")],
42
+ borderColor: _theme.default["button".concat(type).concat(styles, "DisabledBorderColor")]
43
+ }
44
+ };
45
+ };
46
+ var beforeLine = function beforeLine() {
47
+ return {
48
+ '&::before': {
49
+ position: 'absolute',
50
+ content: '" "',
51
+ height: '50%',
52
+ top: 'calc(25% + 1px)',
53
+ left: -1,
54
+ width: 1,
55
+ background: '#FFF'
56
+ },
57
+ '&:not($disabled):hover': {
58
+ '&::before': {
59
+ background: 'transparent'
60
+ },
61
+ '& + $button,& + * $button': {
62
+ '&::before': {
63
+ background: 'transparent'
64
+ }
65
+ }
66
+ }
67
+ };
68
+ };
69
+ var outlineBeforeLine = function outlineBeforeLine(type, styles) {
70
+ return {
71
+ '&::before': {
72
+ position: 'absolute',
73
+ content: '" "',
74
+ height: '50%',
75
+ top: 'calc(25% + 1px)',
76
+ left: -1,
77
+ width: 1,
78
+ background: _theme.default["button".concat(type).concat(styles, "BorderColor")]
79
+ },
80
+ '&:not(:disabled):hover': {
81
+ // before
82
+ '&::before': {
83
+ height: 'calc(100% + 2px)',
84
+ top: -1,
85
+ left: -1,
86
+ width: 1,
87
+ bottom: -1,
88
+ background: _theme.default["button".concat(type).concat(styles, "HoverBorderColor")]
89
+ },
90
+ '& + $button,& + * $button': {
91
+ '&::before': {
92
+ height: 'calc(100% + 2px)',
93
+ top: -1,
94
+ left: -1,
95
+ width: 1,
96
+ bottom: -1,
97
+ background: _theme.default["button".concat(type).concat(styles, "HoverBorderColor")]
98
+ }
99
+ },
100
+ // active
101
+ '&:active': {
102
+ '&::before': {
103
+ background: _theme.default["button".concat(type).concat(styles, "ActiveBorderColor")]
104
+ },
105
+ '& + $button,& + * $button': {
106
+ '&::before': {
107
+ background: _theme.default["button".concat(type).concat(styles, "ActiveBorderColor")]
108
+ }
109
+ }
110
+ }
111
+ },
112
+ '&$primary,&$success,&$warning,&$danger,$secondary': {
113
+ '&::before': {
114
+ height: 'calc(100% + 2px)',
115
+ top: -1,
116
+ left: -1,
117
+ width: 1,
118
+ bottom: -1,
119
+ background: "".concat(_theme.default["button".concat(type).concat(styles, "BorderColor")])
120
+ },
121
+ '& + :not(&)': {
122
+ '&::before': {
123
+ height: 'calc(100% + 2px)',
124
+ top: -1,
125
+ left: -1,
126
+ width: 1,
127
+ bottom: -1,
128
+ background: _theme.default["button".concat(type).concat(styles, "BorderColor")]
129
+ }
130
+ },
131
+ '&:disabled': {
132
+ '&::before': {
133
+ background: _theme.default["button".concat(type).concat(styles, "DisabledBorderColor")]
134
+ },
135
+ '& + :not(&)': {
136
+ '&::before': {
137
+ background: _theme.default["button".concat(type).concat(styles, "DisabledBorderColor")]
138
+ }
139
+ }
140
+ }
141
+ }
142
+ };
143
+ };
144
+ var textBeforeLine = function textBeforeLine() {
145
+ return {
146
+ '&::before': {
147
+ transition: 'all 0.3s',
148
+ position: 'absolute',
149
+ content: '" "',
150
+ height: '50%',
151
+ top: 'calc(25% + 1px)',
152
+ left: -1,
153
+ width: 1,
154
+ background: '#E8EBF0'
155
+ },
156
+ '&:not($disabled):hover': {
157
+ '&::before': {
158
+ background: 'transparent'
159
+ },
160
+ '& + $button,& + * $button': {
161
+ '&::before': {
162
+ background: 'transparent'
163
+ }
164
+ }
165
+ }
166
+ };
167
+ };
168
+ var loading = function loading(type, styles) {
169
+ var buttonStyle = button(type, styles);
170
+ return {
171
+ '&$loading': _objectSpread({}, buttonStyle['&$disabled'])
172
+ };
173
+ };
174
+ var ButtonStyle = {
175
+ button: {
176
+ outline: 'none',
177
+ fontWeight: 400,
178
+ cursor: 'pointer',
179
+ userSelect: 'none',
180
+ // textAlign: 'center',
181
+ whiteSpace: 'nowrap',
182
+ display: 'inline-flex',
183
+ alignItems: 'center',
184
+ justifyContent: 'center',
185
+ backgroundImage: 'none',
186
+ verticalAlign: 'middle',
187
+ border: '1px solid transparent',
188
+ fontSize: _theme.default.buttonFontSize,
189
+ borderRadius: _theme.default.buttonBorderRadius,
190
+ lineHeight: _theme.default.lineHeightDynamic,
191
+ padding: "".concat(_theme.default.buttonPaddingY, " ").concat(_theme.default.buttonPaddingX),
192
+ transition: 'all 0.15s ease-in-out',
193
+ fontFamily: 'inherit',
194
+ height: _theme.default.buttonHeight,
195
+ '& + &': {
196
+ marginLeft: _theme.default.buttonNearlyMargin
197
+ },
198
+ '[class*="button-group"] > & + &': {
199
+ margin: 0
200
+ },
201
+ '&:active': {
202
+ animationDelay: '0s',
203
+ backgroundImage: 'none',
204
+ animationDuration: '0.4s',
205
+ animationFillMode: 'none',
206
+ animationIterationCount: '1',
207
+ animationDirection: 'normal',
208
+ animationPlayState: 'running',
209
+ animationTimingFunction: 'ease-out'
210
+ }
211
+ },
212
+ small: {
213
+ height: _theme.default.buttonSmallHeight,
214
+ fontSize: _theme.default.buttonSmallFontSize,
215
+ padding: "".concat(_theme.default.buttonSmallPaddingY, " ").concat(_theme.default.buttonSmallPaddingX),
216
+ '&$circle,&$square': {
217
+ width: "28px",
218
+ height: "28px"
219
+ }
220
+ },
221
+ large: {
222
+ height: _theme.default.buttonLargeHeight,
223
+ fontSize: _theme.default.buttonLargeFontSize,
224
+ padding: "".concat(_theme.default.buttonLargePaddingY, " ").concat(_theme.default.buttonLargePaddingX),
225
+ '&$circle,&$square': {
226
+ width: "40px",
227
+ height: "40px"
228
+ }
229
+ },
230
+ default: _objectSpread({}, button('Secondary', '')),
231
+ primary: _objectSpread({}, button('Primary', '')),
232
+ secondary: _objectSpread({}, button('Secondary', '')),
233
+ danger: _objectSpread({}, button('Danger', '')),
234
+ warning: _objectSpread({}, button('Warning', '')),
235
+ success: _objectSpread({}, button('Success', '')),
236
+ link: {},
237
+ outline: {
238
+ '&$default': _objectSpread({}, button('Secondary', 'Outline')),
239
+ '&$primary': _objectSpread({}, button('Primary', 'Outline')),
240
+ '&$success': _objectSpread({}, button('Success', 'Outline')),
241
+ '&$danger': _objectSpread({}, button('Danger', 'Outline')),
242
+ '&$warning': _objectSpread({}, button('Warning', 'Outline')),
243
+ '&$secondary': _objectSpread({}, button('Secondary', 'Outline'))
244
+ },
245
+ dashed: {
246
+ '&$default': _objectSpread({}, button('Secondary', 'Outline')),
247
+ '&$primary': _objectSpread({}, button('Primary', 'Outline')),
248
+ '&$success': _objectSpread({}, button('Success', 'Outline')),
249
+ '&$danger': _objectSpread({}, button('Danger', 'Outline')),
250
+ '&$warning': _objectSpread({}, button('Warning', 'Outline')),
251
+ '&$secondary': _objectSpread({}, button('Secondary', 'Outline')),
252
+ borderStyle: 'dashed'
253
+ },
254
+ text: {
255
+ '&$default': _objectSpread(_objectSpread({}, button('Secondary', 'Text')), {}, {
256
+ backgroundColor: 'transparent'
257
+ }),
258
+ '&$primary': _objectSpread({}, button('Primary', 'Text')),
259
+ '&$success': _objectSpread({}, button('Success', 'Text')),
260
+ '&$danger': _objectSpread({}, button('Danger', 'Text')),
261
+ '&$warning': _objectSpread({}, button('Warning', 'Text')),
262
+ '&$secondary': _objectSpread({}, button('Secondary', 'Text'))
263
+ },
264
+ href: {
265
+ textDecoration: 'none',
266
+ boxSizing: 'border-box',
267
+ color: 'red',
268
+ '$primary&': {
269
+ color: 'blue'
270
+ },
271
+ '$disabled&': {
272
+ color: 'blue'
273
+ },
274
+ '&$danger': _objectSpread({}, button('Danger', ''))
275
+ },
276
+ round: {
277
+ borderRadius: _theme.default.buttonRoundBorderRadius
278
+ },
279
+ circle: {
280
+ width: "32px",
281
+ height: "32px",
282
+ borderRadius: _theme.default.buttonCircleBorderRadius
283
+ },
284
+ square: {
285
+ width: "32px",
286
+ height: "32px",
287
+ borderRadius: _theme.default.buttonSquareBorderRadius,
288
+ '& $spin': {
289
+ margin: 0
290
+ }
291
+ },
292
+ disabled: {
293
+ cursor: 'not-allowed'
294
+ },
295
+ loading: {
296
+ cursor: 'not-allowed',
297
+ '&$default': _objectSpread({}, loading('Secondary', '')),
298
+ '&$primary': _objectSpread({}, loading('Primary', '')),
299
+ '&$success': _objectSpread({}, loading('Success', '')),
300
+ '&$danger': _objectSpread({}, loading('Danger', '')),
301
+ '&$warning': _objectSpread({}, loading('Warning', '')),
302
+ '&$secondary': _objectSpread({}, loading('Secondary', ''))
303
+ },
304
+ groupItem: {},
305
+ group: {
306
+ // 2.x 之前非 inline-block
307
+ display: 'inline-block',
308
+ // 第一个元素下的所有 button 标签的元素
309
+ '& > :first-child$button,& > :first-child $button': {
310
+ borderTopRightRadius: 0,
311
+ borderBottomRightRadius: 0,
312
+ borderRight: 'none',
313
+ '&::before': {
314
+ display: 'none'
315
+ }
316
+ },
317
+ // 最后一个元素下的所有 button 标签的元素
318
+ '& > :last-child$button,& > :last-child $button': {
319
+ borderTopLeftRadius: 0,
320
+ borderBottomLeftRadius: 0,
321
+ borderLeft: 'none'
322
+ },
323
+ '& > :not(:first-child):not(:last-child)$button,& > :not(:first-child):not(:last-child) $button': {
324
+ borderRadius: 0,
325
+ borderLeft: 'none',
326
+ borderRight: 'none'
327
+ },
328
+ // 填充型 button
329
+ '& $button:not($outline):not($dashed):not($text)': {
330
+ position: 'relative',
331
+ '&::before': {
332
+ transition: 'all 0.3s'
333
+ },
334
+ // secondary 比较特殊,单独拎出来写覆盖掉 &::before
335
+ '&$secondary': _objectSpread(_objectSpread({}, beforeLine()), {}, {
336
+ '&::before': {
337
+ position: 'absolute',
338
+ content: '" "',
339
+ height: '50%',
340
+ top: 'calc(25% + 1px)',
341
+ left: -1,
342
+ width: 1,
343
+ background: '#E8EBF0'
344
+ },
345
+ '& + :not(&),& + * $button:not(&)': {
346
+ '&::before': {
347
+ background: 'transparent'
348
+ }
349
+ },
350
+ '& + $groupItem $button:not(&)': {
351
+ '&::before': {
352
+ background: 'transparent'
353
+ }
354
+ }
355
+ }),
356
+ // primary, success, warning, danger 分割线样式
357
+ '&$primary,&$success,&$warning,&$danger': _objectSpread({}, beforeLine()),
358
+ // priamry success warning danger secondary 两两之间如果不是紧挨着,则去除中间的分割线
359
+ '&$primary,&$success,&$warning,&$danger,$secondary': {
360
+ '& + :not(&),& + * $button:not(&)': {
361
+ '&::before': {
362
+ background: 'transparent'
363
+ }
364
+ },
365
+ '& + $button:not(&)': {
366
+ '&::before': {
367
+ background: 'transparent'
368
+ }
369
+ }
370
+ }
371
+ },
372
+ // outline 型 button
373
+ '& $outline': {
374
+ position: 'relative',
375
+ '&::before': {
376
+ transition: 'all 0.3s'
377
+ },
378
+ // secondary 比较特殊,单独拎出来写覆盖掉 &::before
379
+ '&$secondary': _objectSpread(_objectSpread({}, outlineBeforeLine('Secondary', 'Outline')), {}, {
380
+ '&::before': {
381
+ position: 'absolute',
382
+ content: '" "',
383
+ height: '50%',
384
+ top: 'calc(25% + 1px)',
385
+ left: -1,
386
+ width: 1,
387
+ background: '#E8EBF0' // Neutral-border-1
388
+ }
389
+ }),
390
+
391
+ '&$primary': _objectSpread({}, outlineBeforeLine('Primary', 'Outline')),
392
+ '&$success': _objectSpread({}, outlineBeforeLine('Success', 'Outline')),
393
+ '&$warning': _objectSpread({}, outlineBeforeLine('Warning', 'Outline')),
394
+ '&$danger': _objectSpread({}, outlineBeforeLine('Danger', 'Outline'))
395
+ },
396
+ // text 型 button
397
+ '& $text': _objectSpread({
398
+ position: 'relative'
399
+ }, textBeforeLine()),
400
+ // dashed 型 button
401
+ '&$dashed': {
402
+ position: 'relative',
403
+ borderStyle: 'none'
404
+ }
405
+ },
406
+ spin: {
407
+ display: 'inline-block',
408
+ marginRight: _theme.default.buttonSpinMargin,
409
+ '& div': {
410
+ borderColor: 'inherit',
411
+ borderTopColor: 'transparent'
412
+ }
413
+ }
414
+ };
415
+ var _default = ButtonStyle;
416
+ exports.default = _default;
@@ -0,0 +1,4 @@
1
+ import buttonStyle from './button';
2
+ declare const useButtonStyle: (data?: undefined) => import("jss").Classes<"button" | "link" | "small" | "outline" | "circle" | "text" | "round" | "dashed" | "default" | "large" | "disabled" | "square" | "success" | "warning" | "danger" | "loading" | "primary" | "secondary" | "href" | "group" | "groupItem" | "spin">;
3
+ export { buttonStyle, useButtonStyle };
4
+ export default useButtonStyle;
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ Object.defineProperty(exports, "buttonStyle", {
8
+ enumerable: true,
9
+ get: function get() {
10
+ return _button.default;
11
+ }
12
+ });
13
+ exports.useButtonStyle = exports.default = void 0;
14
+ var _jssStyle = require("../jss-style");
15
+ var _button = _interopRequireDefault(require("./button"));
16
+ var useButtonStyle = (0, _jssStyle.styled)(_button.default, 'button');
17
+ exports.useButtonStyle = useButtonStyle;
18
+ var _default = useButtonStyle;
19
+ exports.default = _default;
@@ -0,0 +1,35 @@
1
+ import { JsStyles } from '../jss-style';
2
+ export interface CarouselClasses {
3
+ wrapper?: string;
4
+ animationSlide?: string;
5
+ animationFade?: string;
6
+ animationSlideY?: string;
7
+ directionForward?: string;
8
+ directionBackward?: string;
9
+ directionStop?: string;
10
+ slider?: string;
11
+ item?: string;
12
+ itemCurrent?: string;
13
+ itemPre?: string;
14
+ arrowWrapper?: string;
15
+ arrowHover?: string;
16
+ arrowItem?: string;
17
+ arrowLeft?: string;
18
+ arrowRight?: string;
19
+ indicatorWrapper?: string;
20
+ indicatorCenter?: string;
21
+ indicatorLeft?: string;
22
+ indicatorRight?: string;
23
+ indicatorOuter?: string;
24
+ indicatorTypeCircle?: string;
25
+ indicatorTypeNumber?: string;
26
+ indicatorTypeLine?: string;
27
+ indicatorTypeSlider?: string;
28
+ indicatorArrow?: string;
29
+ indicatorNumber?: string;
30
+ indicator?: string;
31
+ indicatorActive?: string;
32
+ }
33
+ export declare type CarouselClassType = keyof CarouselClasses;
34
+ declare const carouselStyle: JsStyles<CarouselClassType>;
35
+ export default carouselStyle;