@fle-ui/next 1.0.0-alpha.1 → 1.0.0-alpha.2

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 (877) hide show
  1. package/dist/fle-ui.js +713 -1118
  2. package/es/index.js +380 -538
  3. package/lib/affix/index.d.ts +9 -7
  4. package/lib/alert/index.d.ts +9 -9
  5. package/lib/anchor/index.d.ts +9 -12
  6. package/lib/auto-complete/index.d.ts +10 -13
  7. package/lib/avatar/index.d.ts +11 -13
  8. package/lib/back-top/index.d.ts +6 -5
  9. package/lib/badge/index.d.ts +12 -11
  10. package/lib/breadcrumb/index.d.ts +11 -17
  11. package/lib/button/index.d.ts +7 -6
  12. package/lib/calendar/index.d.ts +4 -4
  13. package/lib/card/index.d.ts +11 -11
  14. package/lib/carousel/index.d.ts +8 -11
  15. package/lib/cascader/index.d.ts +6 -5
  16. package/lib/checkbox/index.d.ts +9 -12
  17. package/lib/collapse/index.d.ts +9 -9
  18. package/lib/comment/index.d.ts +6 -5
  19. package/lib/config-provider/index.d.ts +4 -4
  20. package/lib/date-picker/index.d.ts +3 -3
  21. package/lib/descriptions/index.d.ts +9 -12
  22. package/lib/divider/index.d.ts +6 -5
  23. package/lib/drawer/index.d.ts +6 -5
  24. package/lib/dropdown/index.d.ts +9 -9
  25. package/lib/empty/index.d.ts +9 -9
  26. package/lib/form/index.d.ts +4 -9
  27. package/lib/grid/hooks/useBreakpoint.d.ts +2 -2
  28. package/lib/grid/index.d.ts +10 -10
  29. package/lib/image/index.d.ts +9 -9
  30. package/lib/index.d.ts +115 -124
  31. package/lib/index.js +389 -752
  32. package/lib/input/index.d.ts +15 -24
  33. package/lib/inputNumber/index.d.ts +7 -9
  34. package/lib/layout/index.d.ts +12 -12
  35. package/lib/list/index.d.ts +14 -17
  36. package/lib/mentions/index.d.ts +10 -13
  37. package/lib/menu/index.d.ts +15 -24
  38. package/lib/message/index.d.ts +7 -6
  39. package/lib/modal/index.d.ts +13 -17
  40. package/lib/notification/index.d.ts +4 -8
  41. package/lib/page-header/index.d.ts +6 -5
  42. package/lib/pagination/index.d.ts +9 -10
  43. package/lib/popconfirm/index.d.ts +6 -7
  44. package/lib/popover/index.d.ts +6 -7
  45. package/lib/progress/index.d.ts +6 -7
  46. package/lib/radio/index.d.ts +11 -14
  47. package/lib/rate/index.d.ts +6 -7
  48. package/lib/result/index.d.ts +6 -5
  49. package/lib/select/index.d.ts +11 -14
  50. package/lib/slider/index.d.ts +8 -11
  51. package/lib/space/index.d.ts +6 -5
  52. package/lib/spin/index.d.ts +6 -5
  53. package/lib/statistic/index.d.ts +9 -12
  54. package/lib/steps/index.d.ts +10 -10
  55. package/lib/switch/index.d.ts +6 -7
  56. package/lib/table/index.d.ts +19 -19
  57. package/lib/tabs/index.d.ts +9 -12
  58. package/lib/tag/index.d.ts +9 -12
  59. package/lib/time-picker/index.d.ts +9 -12
  60. package/lib/timeline/index.d.ts +9 -9
  61. package/lib/tooltip/index.d.ts +5 -7
  62. package/lib/transfer/index.d.ts +6 -7
  63. package/lib/typography/index.d.ts +13 -13
  64. package/lib/upload/index.d.ts +9 -12
  65. package/package.json +24 -21
  66. package/.editorconfig +0 -16
  67. package/components/affix/affix.md +0 -75
  68. package/components/affix/demos/basic.tsx +0 -29
  69. package/components/affix/demos/on-change.tsx +0 -17
  70. package/components/affix/demos/target.tsx +0 -22
  71. package/components/affix/index.tsx +0 -15
  72. package/components/alert/alert.md +0 -101
  73. package/components/alert/components/alert.tsx +0 -13
  74. package/components/alert/components/errorBoundary.tsx +0 -13
  75. package/components/alert/demos/action.tsx +0 -66
  76. package/components/alert/demos/banner.tsx +0 -27
  77. package/components/alert/demos/basic.tsx +0 -13
  78. package/components/alert/demos/closable.tsx +0 -32
  79. package/components/alert/demos/close-text.tsx +0 -13
  80. package/components/alert/demos/description.tsx +0 -36
  81. package/components/alert/demos/error-boundary.tsx +0 -33
  82. package/components/alert/demos/icon.tsx +0 -45
  83. package/components/alert/demos/loop-banner.tsx +0 -26
  84. package/components/alert/demos/smooth-closed.tsx +0 -29
  85. package/components/alert/demos/style.tsx +0 -20
  86. package/components/alert/index.tsx +0 -13
  87. package/components/anchor/anchor.md +0 -66
  88. package/components/anchor/components/anchor.tsx +0 -15
  89. package/components/anchor/components/link.tsx +0 -12
  90. package/components/anchor/demos/basic.tsx +0 -22
  91. package/components/anchor/demos/click.tsx +0 -32
  92. package/components/anchor/demos/light.tsx +0 -23
  93. package/components/anchor/demos/listen.tsx +0 -26
  94. package/components/anchor/demos/offset.tsx +0 -29
  95. package/components/anchor/demos/static.tsx +0 -22
  96. package/components/anchor/index.tsx +0 -16
  97. package/components/auto-complete/autoComplete.md +0 -120
  98. package/components/auto-complete/components/autoComplete.tsx +0 -17
  99. package/components/auto-complete/components/option.tsx +0 -17
  100. package/components/auto-complete/demos/basic.tsx +0 -54
  101. package/components/auto-complete/demos/confirm.tsx +0 -74
  102. package/components/auto-complete/demos/custom.tsx +0 -38
  103. package/components/auto-complete/demos/customInput.tsx +0 -51
  104. package/components/auto-complete/demos/insensitive.tsx +0 -27
  105. package/components/auto-complete/demos/unconfirm.tsx +0 -68
  106. package/components/auto-complete/index.tsx +0 -21
  107. package/components/avatar/avatar.md +0 -76
  108. package/components/avatar/demos/badge.tsx +0 -28
  109. package/components/avatar/demos/basic.tsx +0 -29
  110. package/components/avatar/demos/dynamic.tsx +0 -57
  111. package/components/avatar/demos/group.tsx +0 -69
  112. package/components/avatar/demos/responsive.tsx +0 -19
  113. package/components/avatar/demos/type.tsx +0 -31
  114. package/components/avatar/index.less +0 -0
  115. package/components/avatar/index.tsx +0 -27
  116. package/components/back-top/backTop.md +0 -48
  117. package/components/back-top/demos/basic.tsx +0 -20
  118. package/components/back-top/demos/custom.tsx +0 -35
  119. package/components/back-top/index.tsx +0 -11
  120. package/components/badge/badge.md +0 -89
  121. package/components/badge/components/badge.tsx +0 -13
  122. package/components/badge/components/ribbon.tsx +0 -15
  123. package/components/badge/demos/basic.tsx +0 -26
  124. package/components/badge/demos/change.tsx +0 -68
  125. package/components/badge/demos/colorful.tsx +0 -51
  126. package/components/badge/demos/dot.tsx +0 -23
  127. package/components/badge/demos/link.tsx +0 -19
  128. package/components/badge/demos/no-wrapper.tsx +0 -30
  129. package/components/badge/demos/offset.tsx +0 -19
  130. package/components/badge/demos/overflow.tsx +0 -28
  131. package/components/badge/demos/ribbbon.tsx +0 -57
  132. package/components/badge/demos/size.tsx +0 -22
  133. package/components/badge/demos/status.tsx +0 -31
  134. package/components/badge/index.tsx +0 -23
  135. package/components/breadcrumb/breadcrumb.md +0 -157
  136. package/components/breadcrumb/components/breadcrumb.tsx +0 -12
  137. package/components/breadcrumb/components/item.tsx +0 -17
  138. package/components/breadcrumb/components/separator.tsx +0 -20
  139. package/components/breadcrumb/demos/basic.tsx +0 -24
  140. package/components/breadcrumb/demos/overlay.tsx +0 -55
  141. package/components/breadcrumb/demos/router-4/index.less +0 -19
  142. package/components/breadcrumb/demos/router-4/index.tsx +0 -79
  143. package/components/breadcrumb/demos/separator-component.tsx +0 -23
  144. package/components/breadcrumb/demos/separator.tsx +0 -20
  145. package/components/breadcrumb/demos/withIcon.tsx +0 -25
  146. package/components/breadcrumb/index.tsx +0 -24
  147. package/components/button/button.md +0 -121
  148. package/components/button/demos/basic.tsx +0 -21
  149. package/components/button/demos/block.tsx +0 -26
  150. package/components/button/demos/danger.tsx +0 -28
  151. package/components/button/demos/disabled.tsx +0 -65
  152. package/components/button/demos/ghost.tsx +0 -26
  153. package/components/button/demos/icon.tsx +0 -83
  154. package/components/button/demos/loading.tsx +0 -67
  155. package/components/button/demos/multiple.tsx +0 -31
  156. package/components/button/demos/size.tsx +0 -70
  157. package/components/button/index.less +0 -1
  158. package/components/button/index.tsx +0 -15
  159. package/components/calendar/calendar.md +0 -100
  160. package/components/calendar/demos/basic.tsx +0 -16
  161. package/components/calendar/demos/card.tsx +0 -21
  162. package/components/calendar/demos/customize-header.tsx +0 -100
  163. package/components/calendar/demos/notice-calendar.tsx +0 -87
  164. package/components/calendar/demos/select.tsx +0 -37
  165. package/components/calendar/index.tsx +0 -7
  166. package/components/card/card.md +0 -114
  167. package/components/card/components/card.tsx +0 -13
  168. package/components/card/components/grid.tsx +0 -13
  169. package/components/card/components/meta.tsx +0 -13
  170. package/components/card/demos/basic.tsx +0 -35
  171. package/components/card/demos/border.tsx +0 -21
  172. package/components/card/demos/concise.tsx +0 -19
  173. package/components/card/demos/embedded.tsx +0 -29
  174. package/components/card/demos/flexible.tsx +0 -27
  175. package/components/card/demos/grid.tsx +0 -33
  176. package/components/card/demos/inside.tsx +0 -27
  177. package/components/card/demos/more.tsx +0 -42
  178. package/components/card/demos/preload.tsx +0 -56
  179. package/components/card/demos/tab.tsx +0 -90
  180. package/components/card/index.tsx +0 -17
  181. package/components/carousel/carousel.md +0 -65
  182. package/components/carousel/demos/autoplay.tsx +0 -35
  183. package/components/carousel/demos/basic.tsx +0 -39
  184. package/components/carousel/demos/fade.tsx +0 -35
  185. package/components/carousel/demos/position.tsx +0 -52
  186. package/components/carousel/index.tsx +0 -21
  187. package/components/cascader/cascader.md +0 -138
  188. package/components/cascader/demos/active.tsx +0 -59
  189. package/components/cascader/demos/basic.tsx +0 -58
  190. package/components/cascader/demos/change.tsx +0 -51
  191. package/components/cascader/demos/changed.tsx +0 -79
  192. package/components/cascader/demos/custom.tsx +0 -49
  193. package/components/cascader/demos/customName.tsx +0 -58
  194. package/components/cascader/demos/defaultValue.tsx +0 -58
  195. package/components/cascader/demos/disabled.tsx +0 -53
  196. package/components/cascader/demos/dropdown.tsx +0 -65
  197. package/components/cascader/demos/move.tsx +0 -63
  198. package/components/cascader/demos/search.tsx +0 -70
  199. package/components/cascader/demos/size.tsx +0 -64
  200. package/components/cascader/index.tsx +0 -13
  201. package/components/checkbox/checkbox.md +0 -85
  202. package/components/checkbox/components/checkbox.tsx +0 -17
  203. package/components/checkbox/components/group.tsx +0 -18
  204. package/components/checkbox/demos/basic.tsx +0 -17
  205. package/components/checkbox/demos/check-all.tsx +0 -50
  206. package/components/checkbox/demos/controller.tsx +0 -54
  207. package/components/checkbox/demos/disabled.tsx +0 -19
  208. package/components/checkbox/demos/group.tsx +0 -52
  209. package/components/checkbox/demos/layout.tsx +0 -38
  210. package/components/checkbox/index.tsx +0 -18
  211. package/components/collapse/collapse.md +0 -85
  212. package/components/collapse/components/collapse.tsx +0 -12
  213. package/components/collapse/components/panel.tsx +0 -15
  214. package/components/collapse/demos/accordion.tsx +0 -32
  215. package/components/collapse/demos/arrow.tsx +0 -36
  216. package/components/collapse/demos/collapsible.tsx +0 -36
  217. package/components/collapse/demos/custom.tsx +0 -52
  218. package/components/collapse/demos/extra.tsx +0 -69
  219. package/components/collapse/demos/ghost.tsx +0 -31
  220. package/components/collapse/demos/nesting.tsx +0 -40
  221. package/components/collapse/demos/panel.tsx +0 -36
  222. package/components/collapse/demos/simple.tsx +0 -33
  223. package/components/collapse/index.tsx +0 -15
  224. package/components/comment/comment.md +0 -51
  225. package/components/comment/demos/basic.tsx +0 -77
  226. package/components/comment/demos/matchList.tsx +0 -74
  227. package/components/comment/index.tsx +0 -12
  228. package/components/config-provider/configProvider.md +0 -176
  229. package/components/config-provider/demos/direction.tsx +0 -558
  230. package/components/config-provider/demos/global.tsx +0 -680
  231. package/components/config-provider/demos/international.tsx +0 -154
  232. package/components/config-provider/demos/size.tsx +0 -105
  233. package/components/config-provider/index.tsx +0 -5
  234. package/components/date-picker/date-picker.md +0 -246
  235. package/components/date-picker/demos/basic.tsx +0 -26
  236. package/components/date-picker/demos/bordered.tsx +0 -26
  237. package/components/date-picker/demos/date-render.tsx +0 -46
  238. package/components/date-picker/demos/disabled-date.tsx +0 -75
  239. package/components/date-picker/demos/disabled.tsx +0 -41
  240. package/components/date-picker/demos/extra-footer.tsx +0 -30
  241. package/components/date-picker/demos/format.tsx +0 -51
  242. package/components/date-picker/demos/presetted-ranges.tsx +0 -40
  243. package/components/date-picker/demos/range-picker.tsx +0 -24
  244. package/components/date-picker/demos/select-in-range.tsx +0 -43
  245. package/components/date-picker/demos/size.jsx +0 -39
  246. package/components/date-picker/demos/switchable.tsx +0 -37
  247. package/components/date-picker/demos/time.tsx +0 -34
  248. package/components/date-picker/index.tsx +0 -5
  249. package/components/descriptions/components/descriptions.tsx +0 -12
  250. package/components/descriptions/components/item.tsx +0 -12
  251. package/components/descriptions/demos/basic.tsx +0 -23
  252. package/components/descriptions/demos/border.tsx +0 -44
  253. package/components/descriptions/demos/custom.tsx +0 -67
  254. package/components/descriptions/demos/responsive.tsx +0 -41
  255. package/components/descriptions/demos/vertical.tsx +0 -23
  256. package/components/descriptions/demos/verticalBorder.tsx +0 -45
  257. package/components/descriptions/descriptions.md +0 -71
  258. package/components/descriptions/index.tsx +0 -19
  259. package/components/divider/demos/customize-style.tsx +0 -27
  260. package/components/divider/demos/horizontal.tsx +0 -33
  261. package/components/divider/demos/plain.tsx +0 -43
  262. package/components/divider/demos/vertical.tsx +0 -21
  263. package/components/divider/demos/with-text.tsx +0 -39
  264. package/components/divider/divider.md +0 -47
  265. package/components/divider/index.tsx +0 -13
  266. package/components/drawer/demos/basic-right.tsx +0 -39
  267. package/components/drawer/demos/extra.tsx +0 -59
  268. package/components/drawer/demos/form-in-drawer.tsx +0 -140
  269. package/components/drawer/demos/multi-level-drawer.tsx +0 -56
  270. package/components/drawer/demos/placement.tsx +0 -55
  271. package/components/drawer/demos/render-in-current.tsx +0 -40
  272. package/components/drawer/demos/size.tsx +0 -152
  273. package/components/drawer/demos/user-profile.tsx +0 -159
  274. package/components/drawer/drawer.md +0 -136
  275. package/components/drawer/index.tsx +0 -18
  276. package/components/dropdown/components/button.tsx +0 -13
  277. package/components/dropdown/components/dropdown.tsx +0 -13
  278. package/components/dropdown/demos/arrow.tsx +0 -66
  279. package/components/dropdown/demos/basic.tsx +0 -52
  280. package/components/dropdown/demos/contextMenu.tsx +0 -33
  281. package/components/dropdown/demos/dropdownButton.tsx +0 -70
  282. package/components/dropdown/demos/event.tsx +0 -30
  283. package/components/dropdown/demos/item.tsx +0 -46
  284. package/components/dropdown/demos/overlayVisible.tsx +0 -41
  285. package/components/dropdown/demos/placement.tsx +0 -69
  286. package/components/dropdown/demos/subMenu.tsx +0 -37
  287. package/components/dropdown/demos/trigger.tsx +0 -32
  288. package/components/dropdown/dropdown.md +0 -115
  289. package/components/dropdown/index.tsx +0 -14
  290. package/components/empty/components/empty.tsx +0 -14
  291. package/components/empty/demos/basic.tsx +0 -13
  292. package/components/empty/demos/choice.tsx +0 -13
  293. package/components/empty/demos/custom.tsx +0 -27
  294. package/components/empty/demos/global.tsx +0 -82
  295. package/components/empty/demos/noDescription.tsx +0 -13
  296. package/components/empty/empty.md +0 -93
  297. package/components/empty/index.tsx +0 -20
  298. package/components/form/demos/advanced-search/index.less +0 -41
  299. package/components/form/demos/advanced-search/index.tsx +0 -89
  300. package/components/form/demos/basic.tsx +0 -59
  301. package/components/form/demos/complex-form-control.tsx +0 -88
  302. package/components/form/demos/control-hooks.tsx +0 -99
  303. package/components/form/demos/control-ref.tsx +0 -106
  304. package/components/form/demos/customized-form-controls.tsx +0 -108
  305. package/components/form/demos/dynamic-form-item.tsx +0 -118
  306. package/components/form/demos/dynamic-form-items-complex.tsx +0 -118
  307. package/components/form/demos/dynamic-form-items.tsx +0 -67
  308. package/components/form/demos/dynamic-rule.tsx +0 -81
  309. package/components/form/demos/form-context.tsx +0 -168
  310. package/components/form/demos/form-in-modal/index.less +0 -3
  311. package/components/form/demos/form-in-modal/index.tsx +0 -112
  312. package/components/form/demos/global-state.tsx +0 -62
  313. package/components/form/demos/inline-login.tsx +0 -68
  314. package/components/form/demos/layout.tsx +0 -64
  315. package/components/form/demos/nest-messages.tsx +0 -75
  316. package/components/form/demos/normal-login.tsx +0 -60
  317. package/components/form/demos/register.tsx +0 -293
  318. package/components/form/demos/required-mark.tsx +0 -59
  319. package/components/form/demos/size.tsx +0 -98
  320. package/components/form/demos/time-related-controls.tsx +0 -100
  321. package/components/form/demos/validate-static.tsx +0 -147
  322. package/components/form/demos/without-form-create.tsx +0 -71
  323. package/components/form/form.md +0 -626
  324. package/components/form/index.tsx +0 -12
  325. package/components/grid/components/col.tsx +0 -23
  326. package/components/grid/components/row.tsx +0 -19
  327. package/components/grid/demos/basic/index.less +0 -87
  328. package/components/grid/demos/basic/index.tsx +0 -36
  329. package/components/grid/grid.md +0 -133
  330. package/components/grid/hooks/useBreakpoint.tsx +0 -3
  331. package/components/grid/index.tsx +0 -8
  332. package/components/icon/icon.md +0 -166
  333. package/components/image/components/image.tsx +0 -12
  334. package/components/image/components/previewGroup.tsx +0 -11
  335. package/components/image/demos/basic.tsx +0 -18
  336. package/components/image/demos/custom.tsx +0 -21
  337. package/components/image/demos/error.tsx +0 -19
  338. package/components/image/demos/load.tsx +0 -37
  339. package/components/image/demos/many.tsx +0 -24
  340. package/components/image/demos/photo.tsx +0 -32
  341. package/components/image/image.md +0 -74
  342. package/components/image/index.tsx +0 -12
  343. package/components/index.tsx +0 -180
  344. package/components/input/components/group.tsx +0 -14
  345. package/components/input/components/input.tsx +0 -12
  346. package/components/input/components/password.tsx +0 -14
  347. package/components/input/components/search.tsx +0 -14
  348. package/components/input/components/textArea.tsx +0 -14
  349. package/components/input/demos/addon.tsx +0 -51
  350. package/components/input/demos/allowClear.tsx +0 -34
  351. package/components/input/demos/autosize-textarea.tsx +0 -37
  352. package/components/input/demos/basic.tsx +0 -17
  353. package/components/input/demos/borderless.tsx +0 -13
  354. package/components/input/demos/focus.tsx +0 -74
  355. package/components/input/demos/group/index.less +0 -25
  356. package/components/input/demos/group/index.tsx +0 -191
  357. package/components/input/demos/password-input.tsx +0 -25
  358. package/components/input/demos/presuffix.tsx +0 -33
  359. package/components/input/demos/search-input-loading.tsx +0 -34
  360. package/components/input/demos/search.tsx +0 -57
  361. package/components/input/demos/size.tsx +0 -24
  362. package/components/input/demos/textarea-count.tsx +0 -19
  363. package/components/input/demos/textarea.tsx +0 -15
  364. package/components/input/demos/tooltip/index.less +0 -11
  365. package/components/input/demos/tooltip/index.tsx +0 -22
  366. package/components/input/demos/tooltip/numericInput.tsx +0 -70
  367. package/components/input/index.tsx +0 -33
  368. package/components/input/input.md +0 -153
  369. package/components/inputNumber/demos/basic.tsx +0 -18
  370. package/components/inputNumber/demos/decimal.tsx +0 -26
  371. package/components/inputNumber/demos/disabled.tsx +0 -26
  372. package/components/inputNumber/demos/formatter.tsx +0 -38
  373. package/components/inputNumber/demos/keyboard.tsx +0 -27
  374. package/components/inputNumber/demos/nowrap.tsx +0 -13
  375. package/components/inputNumber/demos/outwrap.tsx +0 -28
  376. package/components/inputNumber/demos/tag.jsx +0 -47
  377. package/components/inputNumber/demos/threeSize.tsx +0 -34
  378. package/components/inputNumber/index.tsx +0 -22
  379. package/components/inputNumber/inputNumber.md +0 -103
  380. package/components/layout/components/layout.tsx +0 -26
  381. package/components/layout/components/sider.tsx +0 -15
  382. package/components/layout/demos/basic.tsx +0 -50
  383. package/components/layout/demos/customTrigger.tsx +0 -66
  384. package/components/layout/demos/fixed/index.less +0 -13
  385. package/components/layout/demos/fixed/index.tsx +0 -47
  386. package/components/layout/demos/fixedSider/index.less +0 -11
  387. package/components/layout/demos/fixedSider/index.tsx +0 -174
  388. package/components/layout/demos/responsive.tsx +0 -67
  389. package/components/layout/demos/side/index.less +0 -9
  390. package/components/layout/demos/side/index.tsx +0 -78
  391. package/components/layout/demos/top.tsx +0 -40
  392. package/components/layout/demos/topSide.tsx +0 -81
  393. package/components/layout/demos/topSide2.tsx +0 -82
  394. package/components/layout/index.tsx +0 -25
  395. package/components/layout/layout.md +0 -308
  396. package/components/list/components/item.tsx +0 -14
  397. package/components/list/components/list.tsx +0 -13
  398. package/components/list/components/meta.tsx +0 -12
  399. package/components/list/demos/basics.tsx +0 -43
  400. package/components/list/demos/grid.tsx +0 -37
  401. package/components/list/demos/infinite.tsx +0 -146
  402. package/components/list/demos/more.tsx +0 -104
  403. package/components/list/demos/responsive.tsx +0 -52
  404. package/components/list/demos/roll.tsx +0 -86
  405. package/components/list/demos/simple.tsx +0 -53
  406. package/components/list/demos/verticalRow.tsx +0 -87
  407. package/components/list/index.tsx +0 -25
  408. package/components/list/list.md +0 -136
  409. package/components/mentions/components/mentions.tsx +0 -16
  410. package/components/mentions/components/option.tsx +0 -12
  411. package/components/mentions/demos/async.tsx +0 -52
  412. package/components/mentions/demos/autoSize.tsx +0 -21
  413. package/components/mentions/demos/basic.tsx +0 -32
  414. package/components/mentions/demos/disabled.tsx +0 -42
  415. package/components/mentions/demos/prefix.tsx +0 -37
  416. package/components/mentions/demos/top.tsx +0 -20
  417. package/components/mentions/index.tsx +0 -18
  418. package/components/mentions/mentions.md +0 -88
  419. package/components/menu/components/divider.tsx +0 -17
  420. package/components/menu/components/item.tsx +0 -15
  421. package/components/menu/components/itemGroup.tsx +0 -22
  422. package/components/menu/components/menu.tsx +0 -17
  423. package/components/menu/components/subMenu.tsx +0 -15
  424. package/components/menu/demos/horizontal.tsx +0 -55
  425. package/components/menu/demos/inline-collapsed.tsx +0 -71
  426. package/components/menu/demos/inline.tsx +0 -57
  427. package/components/menu/demos/sider-current.tsx +0 -61
  428. package/components/menu/demos/theme.tsx +0 -73
  429. package/components/menu/demos/vertical.tsx +0 -52
  430. package/components/menu/index.tsx +0 -32
  431. package/components/menu/menu.md +0 -144
  432. package/components/message/demos/custom-style.tsx +0 -22
  433. package/components/message/demos/duration.tsx +0 -19
  434. package/components/message/demos/hooks.tsx +0 -32
  435. package/components/message/demos/info.tsx +0 -20
  436. package/components/message/demos/loading.tsx +0 -19
  437. package/components/message/demos/other.tsx +0 -31
  438. package/components/message/demos/thenable.tsx +0 -20
  439. package/components/message/demos/update.tsx +0 -25
  440. package/components/message/index.tsx +0 -8
  441. package/components/message/message.md +0 -163
  442. package/components/modal/components/modal.tsx +0 -19
  443. package/components/modal/demos/async.tsx +0 -50
  444. package/components/modal/demos/basic.tsx +0 -43
  445. package/components/modal/demos/button-props.tsx +0 -55
  446. package/components/modal/demos/confirm-router.tsx +0 -37
  447. package/components/modal/demos/confirm.tsx +0 -94
  448. package/components/modal/demos/footer.tsx +0 -78
  449. package/components/modal/demos/hooks.tsx +0 -72
  450. package/components/modal/demos/info.tsx +0 -54
  451. package/components/modal/demos/locale.tsx +0 -68
  452. package/components/modal/demos/manual.tsx +0 -31
  453. package/components/modal/demos/modal-render.tsx +0 -114
  454. package/components/modal/demos/position.tsx +0 -61
  455. package/components/modal/demos/width.tsx +0 -32
  456. package/components/modal/index.tsx +0 -54
  457. package/components/modal/modal.md +0 -221
  458. package/components/modal/style/index.less +0 -21
  459. package/components/notification/demos/basic.tsx +0 -28
  460. package/components/notification/demos/custom-icon.tsx +0 -27
  461. package/components/notification/demos/custom-style.tsx +0 -29
  462. package/components/notification/demos/duration.tsx +0 -27
  463. package/components/notification/demos/hooks.tsx +0 -61
  464. package/components/notification/demos/placement.tsx +0 -55
  465. package/components/notification/demos/update.tsx +0 -33
  466. package/components/notification/demos/with-btn.tsx +0 -44
  467. package/components/notification/demos/with-icon.tsx +0 -35
  468. package/components/notification/index.tsx +0 -10
  469. package/components/notification/notification.md +0 -140
  470. package/components/page-header/demos/basic.tsx +0 -20
  471. package/components/page-header/demos/breadcrumb.tsx +0 -34
  472. package/components/page-header/demos/combination.tsx +0 -156
  473. package/components/page-header/demos/ghost.tsx +0 -46
  474. package/components/page-header/demos/multiform.tsx +0 -73
  475. package/components/page-header/demos/responsive.tsx +0 -79
  476. package/components/page-header/index.tsx +0 -12
  477. package/components/page-header/page-header.md +0 -121
  478. package/components/pagination/demos/all.tsx +0 -22
  479. package/components/pagination/demos/basic.tsx +0 -13
  480. package/components/pagination/demos/changer.tsx +0 -33
  481. package/components/pagination/demos/controlled.tsx +0 -19
  482. package/components/pagination/demos/itemRender.tsx +0 -22
  483. package/components/pagination/demos/jump.tsx +0 -34
  484. package/components/pagination/demos/mini.tsx +0 -31
  485. package/components/pagination/demos/more.tsx +0 -13
  486. package/components/pagination/demos/simple.tsx +0 -19
  487. package/components/pagination/demos/total.tsx +0 -35
  488. package/components/pagination/index.tsx +0 -19
  489. package/components/pagination/pagination.md +0 -95
  490. package/components/pagination/style/index.less +0 -25
  491. package/components/popconfirm/demos/async.tsx +0 -46
  492. package/components/popconfirm/demos/basic.tsx +0 -32
  493. package/components/popconfirm/demos/dynamic-trigger.tsx +0 -61
  494. package/components/popconfirm/demos/icon.tsx +0 -21
  495. package/components/popconfirm/demos/locale.tsx +0 -17
  496. package/components/popconfirm/demos/placement.tsx +0 -137
  497. package/components/popconfirm/demos/promise.tsx +0 -26
  498. package/components/popconfirm/index.tsx +0 -15
  499. package/components/popconfirm/popconfirm.md +0 -88
  500. package/components/popover/demos/arrow-point-at-center.tsx +0 -33
  501. package/components/popover/demos/basic.tsx +0 -24
  502. package/components/popover/demos/hover-with-click.tsx +0 -57
  503. package/components/popover/demos/interalClose.tsx +0 -33
  504. package/components/popover/demos/placement.tsx +0 -128
  505. package/components/popover/demos/triggerType.tsx +0 -33
  506. package/components/popover/index.tsx +0 -16
  507. package/components/popover/popover.md +0 -79
  508. package/components/progress/demos/activeShow.tsx +0 -40
  509. package/components/progress/demos/bar.tsx +0 -21
  510. package/components/progress/demos/circle.tsx +0 -19
  511. package/components/progress/demos/circleActive.tsx +0 -41
  512. package/components/progress/demos/dashboard.tsx +0 -17
  513. package/components/progress/demos/formatStyle.tsx +0 -21
  514. package/components/progress/demos/lineGradient.tsx +0 -46
  515. package/components/progress/demos/moreDashboard.tsx +0 -28
  516. package/components/progress/demos/round.tsx +0 -14
  517. package/components/progress/demos/smallBar.tsx +0 -20
  518. package/components/progress/demos/smallCircle.tsx +0 -19
  519. package/components/progress/demos/stepProgress.tsx +0 -21
  520. package/components/progress/index.tsx +0 -17
  521. package/components/progress/progress.md +0 -114
  522. package/components/radio/components/button.tsx +0 -18
  523. package/components/radio/components/group.tsx +0 -18
  524. package/components/radio/components/radio.tsx +0 -18
  525. package/components/radio/demos/basic.tsx +0 -13
  526. package/components/radio/demos/disabled.tsx +0 -32
  527. package/components/radio/demos/radiobutton-solid.tsx +0 -34
  528. package/components/radio/demos/radiobutton.tsx +0 -49
  529. package/components/radio/demos/radiogroup-more.tsx +0 -34
  530. package/components/radio/demos/radiogroup-options.tsx +0 -78
  531. package/components/radio/demos/radiogroup-with-name.tsx +0 -20
  532. package/components/radio/demos/radiogroup.tsx +0 -27
  533. package/components/radio/demos/size.tsx +0 -34
  534. package/components/radio/index.tsx +0 -21
  535. package/components/radio/radio.md +0 -85
  536. package/components/rate/demos/basic.tsx +0 -13
  537. package/components/rate/demos/clear.tsx +0 -21
  538. package/components/rate/demos/custom.tsx +0 -33
  539. package/components/rate/demos/half.tsx +0 -12
  540. package/components/rate/demos/onlyread.tsx +0 -13
  541. package/components/rate/demos/other.tsx +0 -22
  542. package/components/rate/demos/text.tsx +0 -24
  543. package/components/rate/index.tsx +0 -12
  544. package/components/rate/rate.md +0 -77
  545. package/components/result/demos/custom.tsx +0 -20
  546. package/components/result/demos/disabled.tsx +0 -20
  547. package/components/result/demos/error.tsx +0 -49
  548. package/components/result/demos/info.tsx +0 -23
  549. package/components/result/demos/nofound.tsx +0 -21
  550. package/components/result/demos/serviceErr.tsx +0 -21
  551. package/components/result/demos/success.tsx +0 -26
  552. package/components/result/demos/warning.tsx +0 -23
  553. package/components/result/index.tsx +0 -12
  554. package/components/result/result.md +0 -62
  555. package/components/select/components/optGroup.tsx +0 -14
  556. package/components/select/components/option.tsx +0 -15
  557. package/components/select/components/select.tsx +0 -17
  558. package/components/select/demos/automatic-tokenization.tsx +0 -37
  559. package/components/select/demos/basic.tsx +0 -43
  560. package/components/select/demos/big-data.tsx +0 -51
  561. package/components/select/demos/bordered.tsx +0 -31
  562. package/components/select/demos/coordinate.tsx +0 -58
  563. package/components/select/demos/custom-dropdown-menu.tsx +0 -66
  564. package/components/select/demos/custom-tag-render.tsx +0 -49
  565. package/components/select/demos/hide-selected.tsx +0 -39
  566. package/components/select/demos/label-in-value.tsx +0 -29
  567. package/components/select/demos/multiple.tsx +0 -52
  568. package/components/select/demos/optgroup.tsx +0 -29
  569. package/components/select/demos/option-label-prop.tsx +0 -61
  570. package/components/select/demos/responsive.tsx +0 -48
  571. package/components/select/demos/search-box.tsx +0 -89
  572. package/components/select/demos/search-sort.tsx +0 -37
  573. package/components/select/demos/search.tsx +0 -48
  574. package/components/select/demos/select-users.tsx +0 -102
  575. package/components/select/demos/size.tsx +0 -77
  576. package/components/select/demos/tags.tsx +0 -36
  577. package/components/select/index.tsx +0 -23
  578. package/components/select/select.md +0 -207
  579. package/components/slider/demos/basic.tsx +0 -26
  580. package/components/slider/demos/controlShow.tsx +0 -11
  581. package/components/slider/demos/custom.tsx +0 -19
  582. package/components/slider/demos/events.tsx +0 -36
  583. package/components/slider/demos/icon.tsx +0 -28
  584. package/components/slider/demos/inputBox.tsx +0 -38
  585. package/components/slider/demos/marks.tsx +0 -38
  586. package/components/slider/demos/range.tsx +0 -13
  587. package/components/slider/demos/reverse.tsx +0 -24
  588. package/components/slider/demos/vertical.tsx +0 -42
  589. package/components/slider/index.tsx +0 -18
  590. package/components/slider/slider.md +0 -96
  591. package/components/space/demos/align.tsx +0 -44
  592. package/components/space/demos/base.tsx +0 -31
  593. package/components/space/demos/customize.tsx +0 -26
  594. package/components/space/demos/size.tsx +0 -30
  595. package/components/space/demos/split.tsx +0 -19
  596. package/components/space/demos/vertical.tsx +0 -24
  597. package/components/space/demos/wrap.tsx +0 -20
  598. package/components/space/index.tsx +0 -13
  599. package/components/space/space.md +0 -84
  600. package/components/spin/demos/basic.tsx +0 -13
  601. package/components/spin/demos/custom-indicator.tsx +0 -16
  602. package/components/spin/demos/delayAndDebounce.tsx +0 -38
  603. package/components/spin/demos/inside/index.less +0 -8
  604. package/components/spin/demos/inside/index.tsx +0 -18
  605. package/components/spin/demos/nested.tsx +0 -34
  606. package/components/spin/demos/size.tsx +0 -20
  607. package/components/spin/demos/tip.tsx +0 -22
  608. package/components/spin/index.tsx +0 -13
  609. package/components/spin/spin.md +0 -58
  610. package/components/statistic/components/countdown.tsx +0 -16
  611. package/components/statistic/components/statistic.tsx +0 -13
  612. package/components/statistic/demos/basic.tsx +0 -28
  613. package/components/statistic/demos/company.tsx +0 -23
  614. package/components/statistic/demos/countDown.tsx +0 -52
  615. package/components/statistic/demos/inCard.tsx +0 -43
  616. package/components/statistic/index.tsx +0 -16
  617. package/components/statistic/statistic.md +0 -72
  618. package/components/steps/components/step.tsx +0 -12
  619. package/components/steps/components/steps.tsx +0 -12
  620. package/components/steps/demos/basic.tsx +0 -24
  621. package/components/steps/demos/click.tsx +0 -38
  622. package/components/steps/demos/customdot.tsx +0 -34
  623. package/components/steps/demos/dot.tsx +0 -40
  624. package/components/steps/demos/err.tsx +0 -19
  625. package/components/steps/demos/icon.tsx +0 -27
  626. package/components/steps/demos/linesmall.tsx +0 -19
  627. package/components/steps/demos/lineway.tsx +0 -20
  628. package/components/steps/demos/mini.tsx +0 -20
  629. package/components/steps/demos/nav.tsx +0 -71
  630. package/components/steps/demos/progress.tsx +0 -24
  631. package/components/steps/demos/tab.tsx +0 -67
  632. package/components/steps/index.tsx +0 -13
  633. package/components/steps/steps.md +0 -126
  634. package/components/style/index.less +0 -2
  635. package/components/style/theme.less +0 -36
  636. package/components/switch/demos/basic.tsx +0 -17
  637. package/components/switch/demos/disabled.tsx +0 -27
  638. package/components/switch/demos/loading.tsx +0 -19
  639. package/components/switch/demos/size.tsx +0 -19
  640. package/components/switch/demos/text.tsx +0 -26
  641. package/components/switch/index.tsx +0 -10
  642. package/components/switch/switch.md +0 -59
  643. package/components/table/components/column.tsx +0 -16
  644. package/components/table/components/columnGroup.tsx +0 -18
  645. package/components/table/components/summary.tsx +0 -14
  646. package/components/table/components/table.tsx +0 -23
  647. package/components/table/demos/ajax.jsx +0 -100
  648. package/components/table/demos/basic.tsx +0 -87
  649. package/components/table/demos/bordered.jsx +0 -60
  650. package/components/table/demos/colspan-rowspan.jsx +0 -123
  651. package/components/table/demos/custom-filter-panel.jsx +0 -169
  652. package/components/table/demos/drag-sorting/index.jsx +0 -137
  653. package/components/table/demos/drag-sorting/index.less +0 -7
  654. package/components/table/demos/drag-sorting-handler/index.jsx +0 -124
  655. package/components/table/demos/drag-sorting-handler/index.less +0 -12
  656. package/components/table/demos/dynamic-settings.jsx +0 -279
  657. package/components/table/demos/edit-cell/index.less +0 -18
  658. package/components/table/demos/edit-cell/index.tsx +0 -264
  659. package/components/table/demos/edit-row/index.less +0 -5
  660. package/components/table/demos/edit-row/index.tsx +0 -199
  661. package/components/table/demos/ellipsis-custom-tooltip.jsx +0 -103
  662. package/components/table/demos/ellipsis.jsx +0 -77
  663. package/components/table/demos/expand.jsx +0 -70
  664. package/components/table/demos/fixed-columns-header.jsx +0 -92
  665. package/components/table/demos/fixed-columns.jsx +0 -60
  666. package/components/table/demos/fixed-header.jsx +0 -46
  667. package/components/table/demos/grouping-columns.jsx +0 -120
  668. package/components/table/demos/head.tsx +0 -101
  669. package/components/table/demos/jsx.tsx +0 -76
  670. package/components/table/demos/multiple-sorter.tsx +0 -79
  671. package/components/table/demos/narrow.jsx +0 -49
  672. package/components/table/demos/nested-table.jsx +0 -98
  673. package/components/table/demos/pagination.tsx +0 -130
  674. package/components/table/demos/reset-filter.tsx +0 -130
  675. package/components/table/demos/responsive.tsx +0 -43
  676. package/components/table/demos/row-selection-and-operation.tsx +0 -79
  677. package/components/table/demos/row-selection-custom.tsx +0 -89
  678. package/components/table/demos/row-selection.tsx +0 -104
  679. package/components/table/demos/size.jsx +0 -57
  680. package/components/table/demos/sticky.tsx +0 -110
  681. package/components/table/demos/summary.tsx +0 -139
  682. package/components/table/demos/tree-data.jsx +0 -130
  683. package/components/table/demos/virtual-list.tsx +0 -147
  684. package/components/table/index.tsx +0 -34
  685. package/components/table/table.md +0 -484
  686. package/components/tabs/components/tab-pane.tsx +0 -16
  687. package/components/tabs/components/tabs.tsx +0 -14
  688. package/components/tabs/demos/basic.tsx +0 -31
  689. package/components/tabs/demos/card-top/index.less +0 -57
  690. package/components/tabs/demos/card-top/index.tsx +0 -38
  691. package/components/tabs/demos/card.tsx +0 -31
  692. package/components/tabs/demos/centered.tsx +0 -27
  693. package/components/tabs/demos/custom-add-trigger.jsx +0 -83
  694. package/components/tabs/demos/custom-tab-bar/index.jsx +0 -44
  695. package/components/tabs/demos/custom-tab-bar/index.less +0 -4
  696. package/components/tabs/demos/custom-tab-bar-node.jsx +0 -148
  697. package/components/tabs/demos/disabled.tsx +0 -27
  698. package/components/tabs/demos/editable-card.jsx +0 -95
  699. package/components/tabs/demos/extra/index.less +0 -8
  700. package/components/tabs/demos/extra/index.tsx +0 -76
  701. package/components/tabs/demos/icon.tsx +0 -41
  702. package/components/tabs/demos/position.jsx +0 -51
  703. package/components/tabs/demos/size.jsx +0 -58
  704. package/components/tabs/demos/slide.jsx +0 -48
  705. package/components/tabs/index.tsx +0 -17
  706. package/components/tabs/tabs.md +0 -104
  707. package/components/tag/components/CheckableTag.tsx +0 -13
  708. package/components/tag/components/tag.tsx +0 -15
  709. package/components/tag/demos/animation.tsx +0 -104
  710. package/components/tag/demos/basic.tsx +0 -34
  711. package/components/tag/demos/choice.tsx +0 -39
  712. package/components/tag/demos/colourful.tsx +0 -37
  713. package/components/tag/demos/control.tsx +0 -24
  714. package/components/tag/demos/dynamic.tsx +0 -132
  715. package/components/tag/demos/icon.tsx +0 -36
  716. package/components/tag/demos/preset.tsx +0 -53
  717. package/components/tag/index.tsx +0 -16
  718. package/components/tag/tag.md +0 -86
  719. package/components/time-picker/components/rangePicker.tsx +0 -13
  720. package/components/time-picker/components/timePicker.tsx +0 -11
  721. package/components/time-picker/demos/12hours.jsx +0 -28
  722. package/components/time-picker/demos/addon.jsx +0 -33
  723. package/components/time-picker/demos/basic.tsx +0 -23
  724. package/components/time-picker/demos/bordered.jsx +0 -20
  725. package/components/time-picker/demos/disabled.jsx +0 -14
  726. package/components/time-picker/demos/hide-column.jsx +0 -16
  727. package/components/time-picker/demos/interval-options.jsx +0 -13
  728. package/components/time-picker/demos/range-picker.jsx +0 -13
  729. package/components/time-picker/demos/size.jsx +0 -20
  730. package/components/time-picker/demos/value.jsx +0 -19
  731. package/components/time-picker/index.tsx +0 -17
  732. package/components/time-picker/time-picker.md +0 -117
  733. package/components/timeline/components/item.tsx +0 -13
  734. package/components/timeline/components/timeline.tsx +0 -13
  735. package/components/timeline/demos/alternate.tsx +0 -34
  736. package/components/timeline/demos/basic.tsx +0 -20
  737. package/components/timeline/demos/color.tsx +0 -42
  738. package/components/timeline/demos/custom.tsx +0 -26
  739. package/components/timeline/demos/label.tsx +0 -44
  740. package/components/timeline/demos/pending.tsx +0 -28
  741. package/components/timeline/demos/right.tsx +0 -26
  742. package/components/timeline/index.tsx +0 -14
  743. package/components/timeline/timeline.md +0 -92
  744. package/components/tooltip/demos/arrow-point-at-center.tsx +0 -22
  745. package/components/tooltip/demos/basic.tsx +0 -17
  746. package/components/tooltip/demos/colorful.tsx +0 -48
  747. package/components/tooltip/demos/placement.tsx +0 -65
  748. package/components/tooltip/index.tsx +0 -16
  749. package/components/tooltip/tooltip.md +0 -91
  750. package/components/transfer/demos/basic.tsx +0 -64
  751. package/components/transfer/demos/oneway.tsx +0 -84
  752. package/components/transfer/demos/pages.tsx +0 -64
  753. package/components/transfer/demos/render.tsx +0 -72
  754. package/components/transfer/demos/search.tsx +0 -57
  755. package/components/transfer/demos/table.jsx +0 -150
  756. package/components/transfer/demos/tree.jsx +0 -91
  757. package/components/transfer/index.tsx +0 -17
  758. package/components/transfer/transfer.md +0 -118
  759. package/components/tree-select/components/tree-node.tsx +0 -15
  760. package/components/tree-select/components/tree-select.tsx +0 -18
  761. package/components/tree-select/tree-select.md +0 -101
  762. package/components/typography/components/link.tsx +0 -15
  763. package/components/typography/components/paragraph.tsx +0 -19
  764. package/components/typography/components/text.tsx +0 -15
  765. package/components/typography/components/title.tsx +0 -15
  766. package/components/typography/components/typography.tsx +0 -15
  767. package/components/typography/demos/basic.tsx +0 -105
  768. package/components/typography/demos/ellipsis-middle.tsx +0 -32
  769. package/components/typography/demos/ellipsis.tsx +0 -60
  770. package/components/typography/demos/interactive.tsx +0 -72
  771. package/components/typography/demos/suffix.tsx +0 -45
  772. package/components/typography/demos/text.tsx +0 -35
  773. package/components/typography/demos/title.tsx +0 -23
  774. package/components/typography/index.tsx +0 -20
  775. package/components/typography/typography.md +0 -173
  776. package/components/upload/components/dragger.tsx +0 -16
  777. package/components/upload/components/upload.tsx +0 -18
  778. package/components/upload/demos/avatar.jsx +0 -78
  779. package/components/upload/demos/basic.tsx +0 -37
  780. package/components/upload/demos/crop-image.jsx +0 -54
  781. package/components/upload/demos/customize-progress-bar.jsx +0 -45
  782. package/components/upload/demos/defaultFileList.jsx +0 -51
  783. package/components/upload/demos/directory.tsx +0 -18
  784. package/components/upload/demos/drag-sorting.jsx +0 -132
  785. package/components/upload/demos/drag.tsx +0 -50
  786. package/components/upload/demos/fileList.jsx +0 -55
  787. package/components/upload/demos/max-count.jsx +0 -32
  788. package/components/upload/demos/picture-card.jsx +0 -113
  789. package/components/upload/demos/picture-style.jsx +0 -50
  790. package/components/upload/demos/preview-file.jsx +0 -32
  791. package/components/upload/demos/transform-file.jsx +0 -45
  792. package/components/upload/demos/upload-custom-action-icon.jsx +0 -59
  793. package/components/upload/demos/upload-manually.jsx +0 -92
  794. package/components/upload/demos/upload-png-only.jsx +0 -30
  795. package/components/upload/demos/upload-with-aliyun-oss.jsx +0 -116
  796. package/components/upload/index.tsx +0 -19
  797. package/components/upload/upload.md +0 -207
  798. package/docs/getting-started.md +0 -9
  799. package/docs/help.md +0 -8
  800. package/docs/index.md +0 -20
  801. package/lib/alert/components/alert.d.ts +0 -5
  802. package/lib/alert/components/errorBoundary.d.ts +0 -7
  803. package/lib/anchor/components/anchor.d.ts +0 -7
  804. package/lib/anchor/components/link.d.ts +0 -5
  805. package/lib/auto-complete/components/autoComplete.d.ts +0 -7
  806. package/lib/auto-complete/components/option.d.ts +0 -5
  807. package/lib/badge/components/badge.d.ts +0 -5
  808. package/lib/badge/components/ribbon.d.ts +0 -5
  809. package/lib/breadcrumb/components/breadcrumb.d.ts +0 -5
  810. package/lib/breadcrumb/components/item.d.ts +0 -8
  811. package/lib/breadcrumb/components/separator.d.ts +0 -4
  812. package/lib/card/components/card.d.ts +0 -5
  813. package/lib/card/components/grid.d.ts +0 -5
  814. package/lib/card/components/meta.d.ts +0 -5
  815. package/lib/checkbox/components/checkbox.d.ts +0 -7
  816. package/lib/checkbox/components/group.d.ts +0 -7
  817. package/lib/collapse/components/collapse.d.ts +0 -5
  818. package/lib/collapse/components/panel.d.ts +0 -5
  819. package/lib/descriptions/components/descriptions.d.ts +0 -5
  820. package/lib/descriptions/components/item.d.ts +0 -5
  821. package/lib/dropdown/components/button.d.ts +0 -5
  822. package/lib/dropdown/components/dropdown.d.ts +0 -5
  823. package/lib/empty/components/empty.d.ts +0 -5
  824. package/lib/grid/components/col.d.ts +0 -11
  825. package/lib/grid/components/row.d.ts +0 -7
  826. package/lib/image/components/image.d.ts +0 -5
  827. package/lib/image/components/previewGroup.d.ts +0 -5
  828. package/lib/input/components/group.d.ts +0 -5
  829. package/lib/input/components/input.d.ts +0 -7
  830. package/lib/input/components/password.d.ts +0 -7
  831. package/lib/input/components/search.d.ts +0 -7
  832. package/lib/input/components/textArea.d.ts +0 -7
  833. package/lib/layout/components/layout.d.ts +0 -9
  834. package/lib/layout/components/sider.d.ts +0 -5
  835. package/lib/list/components/item.d.ts +0 -5
  836. package/lib/list/components/list.d.ts +0 -5
  837. package/lib/list/components/meta.d.ts +0 -5
  838. package/lib/mentions/components/mentions.d.ts +0 -7
  839. package/lib/mentions/components/option.d.ts +0 -5
  840. package/lib/menu/components/divider.d.ts +0 -7
  841. package/lib/menu/components/item.d.ts +0 -5
  842. package/lib/menu/components/itemGroup.d.ts +0 -12
  843. package/lib/menu/components/menu.d.ts +0 -7
  844. package/lib/menu/components/subMenu.d.ts +0 -5
  845. package/lib/modal/components/modal.d.ts +0 -9
  846. package/lib/radio/components/button.d.ts +0 -7
  847. package/lib/radio/components/group.d.ts +0 -7
  848. package/lib/radio/components/radio.d.ts +0 -7
  849. package/lib/select/components/optGroup.d.ts +0 -4
  850. package/lib/select/components/option.d.ts +0 -5
  851. package/lib/select/components/select.d.ts +0 -7
  852. package/lib/statistic/components/countdown.d.ts +0 -5
  853. package/lib/statistic/components/statistic.d.ts +0 -5
  854. package/lib/steps/components/step.d.ts +0 -5
  855. package/lib/steps/components/steps.d.ts +0 -5
  856. package/lib/table/components/column.d.ts +0 -5
  857. package/lib/table/components/columnGroup.d.ts +0 -5
  858. package/lib/table/components/summary.d.ts +0 -4
  859. package/lib/table/components/table.d.ts +0 -13
  860. package/lib/tabs/components/tab-pane.d.ts +0 -5
  861. package/lib/tabs/components/tabs.d.ts +0 -5
  862. package/lib/tag/components/CheckableTag.d.ts +0 -5
  863. package/lib/tag/components/tag.d.ts +0 -7
  864. package/lib/time-picker/components/rangePicker.d.ts +0 -7
  865. package/lib/time-picker/components/timePicker.d.ts +0 -7
  866. package/lib/timeline/components/item.d.ts +0 -5
  867. package/lib/timeline/components/timeline.d.ts +0 -5
  868. package/lib/tree-select/components/tree-node.d.ts +0 -0
  869. package/lib/tree-select/components/tree-select.d.ts +0 -7
  870. package/lib/typography/components/link.d.ts +0 -5
  871. package/lib/typography/components/paragraph.d.ts +0 -5
  872. package/lib/typography/components/text.d.ts +0 -5
  873. package/lib/typography/components/title.d.ts +0 -5
  874. package/lib/typography/components/typography.d.ts +0 -5
  875. package/lib/upload/components/dragger.d.ts +0 -5
  876. package/lib/upload/components/upload.d.ts +0 -7
  877. package/rollup.config.js +0 -105
@@ -1,56 +0,0 @@
1
- /**
2
- * title: 预加载的卡片
3
- * desc: 数据读入前会有文本块样式。
4
- */
5
-
6
- import React, { useState } from 'react';
7
- import { Skeleton, Switch, Card, Avatar } from 'antd';
8
- import {
9
- EditOutlined,
10
- EllipsisOutlined,
11
- SettingOutlined,
12
- } from '@ant-design/icons';
13
-
14
- const PreloadDemo = () => {
15
- const { Meta } = Card;
16
- const [loading, setLoading] = useState(true);
17
- const onChange = (checked: boolean) => {
18
- setLoading(!checked);
19
- };
20
- return (
21
- <>
22
- <Switch checked={loading} onChange={onChange} />
23
-
24
- <Card style={{ width: 300, marginTop: 16 }} loading={loading}>
25
- <Meta
26
- avatar={
27
- <Avatar src="https://zos.alipayobjects.com/rmsportal/ODTLcjxAfvqbxHnVXCYX.png" />
28
- }
29
- title="Card title"
30
- description="This is the description"
31
- />
32
- </Card>
33
-
34
- <Card
35
- style={{ width: 300, marginTop: 16 }}
36
- actions={[
37
- <SettingOutlined key="setting" />,
38
- <EditOutlined key="edit" />,
39
- <EllipsisOutlined key="ellipsis" />,
40
- ]}
41
- >
42
- <Skeleton loading={loading} avatar active>
43
- <Meta
44
- avatar={
45
- <Avatar src="https://zos.alipayobjects.com/rmsportal/ODTLcjxAfvqbxHnVXCYX.png" />
46
- }
47
- title="Card title"
48
- description="This is the description"
49
- />
50
- </Skeleton>
51
- </Card>
52
- </>
53
- );
54
- };
55
-
56
- export default PreloadDemo;
@@ -1,90 +0,0 @@
1
- /**
2
- * title: 带页签的卡片
3
- * desc: 可承载更多内容。
4
- */
5
-
6
- import React, { useState } from 'react';
7
- import { Card } from '@fle-ui/next';
8
- interface keyType {
9
- [key: string]: any;
10
- }
11
- const TabDemo = () => {
12
- let [key, setKey] = useState<string>('tab1');
13
- let [noTitleKey, setNoTitleKey] = useState<string>('app');
14
- const tabList = [
15
- {
16
- key: 'tab1',
17
- tab: 'tab1',
18
- },
19
- {
20
- key: 'tab2',
21
- tab: 'tab2',
22
- },
23
- ];
24
-
25
- const contentList: keyType = {
26
- tab1: <p>content1</p>,
27
- tab2: <p>content2</p>,
28
- };
29
-
30
- const tabListNoTitle = [
31
- {
32
- key: 'article',
33
- tab: 'article',
34
- },
35
- {
36
- key: 'app',
37
- tab: 'app',
38
- },
39
- {
40
- key: 'project',
41
- tab: 'project',
42
- },
43
- ];
44
-
45
- const contentListNoTitle: keyType = {
46
- article: <p>article content</p>,
47
- app: <p>app content</p>,
48
- project: <p>project content</p>,
49
- };
50
-
51
- const onTabChange = (key: string, type: string) => {
52
- console.log(key, type);
53
- if (type === 'key') {
54
- setKey(key);
55
- } else {
56
- setNoTitleKey(key);
57
- }
58
- };
59
- return (
60
- <>
61
- <Card
62
- style={{ width: '100%' }}
63
- title="Card title"
64
- extra={<a href="#">More</a>}
65
- tabList={tabList}
66
- activeTabKey={key}
67
- onTabChange={(key) => {
68
- onTabChange(key, 'key');
69
- }}
70
- >
71
- {contentList[key]}
72
- </Card>
73
- <br />
74
- <br />
75
- <Card
76
- style={{ width: '100%' }}
77
- tabList={tabListNoTitle}
78
- activeTabKey={noTitleKey}
79
- tabBarExtraContent={<a href="#">More</a>}
80
- onTabChange={(key) => {
81
- onTabChange(key, 'noTitleKey');
82
- }}
83
- >
84
- {contentListNoTitle[noTitleKey]}
85
- </Card>
86
- </>
87
- );
88
- };
89
-
90
- export default TabDemo;
@@ -1,17 +0,0 @@
1
- import InternalCard, { CardProps } from './components/card';
2
- import Grid, { CardGridProps } from './components/grid';
3
- import Meta, { CardMetaProps } from './components/meta';
4
-
5
- export interface CardInterface extends React.FC<CardProps> {
6
- Grid: typeof Grid;
7
- Meta: typeof Meta;
8
- }
9
-
10
- const Card = InternalCard as CardInterface;
11
-
12
- Card.Grid = Grid;
13
- Card.Meta = Meta;
14
-
15
- export type { CardProps, CardGridProps, CardMetaProps };
16
-
17
- export default Card;
@@ -1,65 +0,0 @@
1
- ---
2
- title: Carousel 走马灯
3
- order: 0
4
- legacy: /carousel
5
- group:
6
- path: /
7
- nav:
8
- title: 组件
9
- path: /components
10
- ---
11
-
12
- 旋转木马,一组轮播的区域。
13
-
14
- ## 何时使用
15
-
16
- - 当有一组平级的内容。
17
- - 当内容空间不足时,可以用走马灯的形式进行收纳,进行轮播展现。
18
- - 常用于一组图片或卡片轮播。
19
-
20
-
21
- ## 代码演示
22
-
23
- ### 基本
24
-
25
- <code src="./demos/basic.tsx" />
26
-
27
- ### 位置
28
-
29
- <code src="./demos/position.tsx" />
30
-
31
- ### 自动切换
32
-
33
- <code src="./demos/autoplay.tsx" />
34
-
35
- ### 渐显
36
-
37
- <code src="./demos/fade.tsx" />
38
-
39
- ## API
40
-
41
- | 参数 | 说明 | 类型 | 默认值 | 版本 |
42
- | --- | --- | --- | --- | --- |
43
- | autoplay | 是否自动切换 | boolean | false | |
44
- | dotPosition | 面板指示点位置,可选 `top` `bottom` `left` `right` | string | `bottom` | |
45
- | dots | 是否显示面板指示点,如果为 `object` 则同时可以指定 `dotsClass` 或者 | boolean \| { className?: string } | true | |
46
- | easing | 动画效果 | string | `linear` | |
47
- | effect | 动画效果函数 | `scrollx` \| `fade` | `scrollx` | |
48
- | afterChange | 切换面板的回调 | function(current) | - | |
49
- | beforeChange | 切换面板的回调 | function(from, to) | - | |
50
-
51
- ## 方法
52
-
53
- | 名称 | 描述 |
54
- | --- | --- |
55
- | goTo(slideNumber, dontAnimate) | 切换到指定面板, dontAnimate = true 时,不使用动画 |
56
- | next() | 切换到下一面板 |
57
- | prev() | 切换到上一面板 |
58
-
59
- 更多 API 可参考:<https://react-slick.neostack.com/docs/api>
60
-
61
- ## FAQ
62
-
63
- ### 如何自定义箭头?
64
-
65
- 可参考 [#12479](https://github.com/ant-design/ant-design/issues/12479)。
@@ -1,35 +0,0 @@
1
- /**
2
- * title: 自动切换
3
- * desc: 定时切换下一张。
4
- */
5
-
6
- import React from 'react';
7
- import { Carousel } from '@fle-ui/next';
8
-
9
- const AutoplayDemo = () => {
10
- const contentStyle: object = {
11
- height: '160px',
12
- color: '#fff',
13
- lineHeight: '160px',
14
- textAlign: 'center',
15
- background: '#364d79',
16
- };
17
- return (
18
- <Carousel autoplay>
19
- <div>
20
- <h3 style={contentStyle}>1</h3>
21
- </div>
22
- <div>
23
- <h3 style={contentStyle}>2</h3>
24
- </div>
25
- <div>
26
- <h3 style={contentStyle}>3</h3>
27
- </div>
28
- <div>
29
- <h3 style={contentStyle}>4</h3>
30
- </div>
31
- </Carousel>
32
- );
33
- };
34
-
35
- export default AutoplayDemo;
@@ -1,39 +0,0 @@
1
- /**
2
- * title: 基本
3
- * desc: 最简单的用法。
4
- */
5
-
6
- import React from 'react';
7
- import { Carousel } from '@fle-ui/next';
8
-
9
- const BasicDemo = () => {
10
- const onChange = (currentSlide: any) => {
11
- console.log(currentSlide);
12
- };
13
-
14
- const contentStyle: object = {
15
- height: '160px',
16
- color: '#fff',
17
- lineHeight: '160px',
18
- textAlign: 'center',
19
- background: '#364d79',
20
- };
21
- return (
22
- <Carousel afterChange={onChange}>
23
- <div>
24
- <h3 style={contentStyle}>1</h3>
25
- </div>
26
- <div>
27
- <h3 style={contentStyle}>2</h3>
28
- </div>
29
- <div>
30
- <h3 style={contentStyle}>3</h3>
31
- </div>
32
- <div>
33
- <h3 style={contentStyle}>4</h3>
34
- </div>
35
- </Carousel>
36
- );
37
- };
38
-
39
- export default BasicDemo;
@@ -1,35 +0,0 @@
1
- /**
2
- * title: 渐显
3
- * desc: 切换效果为渐显。
4
- */
5
-
6
- import React from 'react';
7
- import { Carousel } from '@fle-ui/next';
8
-
9
- const FadeDemo = () => {
10
- const contentStyle: object = {
11
- height: '160px',
12
- color: '#fff',
13
- lineHeight: '160px',
14
- textAlign: 'center',
15
- background: '#364d79',
16
- };
17
- return (
18
- <Carousel effect="fade">
19
- <div>
20
- <h3 style={contentStyle}>1</h3>
21
- </div>
22
- <div>
23
- <h3 style={contentStyle}>2</h3>
24
- </div>
25
- <div>
26
- <h3 style={contentStyle}>3</h3>
27
- </div>
28
- <div>
29
- <h3 style={contentStyle}>4</h3>
30
- </div>
31
- </Carousel>
32
- );
33
- };
34
-
35
- export default FadeDemo;
@@ -1,52 +0,0 @@
1
- /**
2
- * title: 位置
3
- * desc: 位置有 4 个方向。
4
- */
5
-
6
- import React from 'react';
7
- import { Carousel, Radio } from '@fle-ui/next';
8
-
9
- const PositionDemo = () => {
10
- const [dotPosition, setDotPosition] = React.useState<any>('top');
11
-
12
- const handlePositionChange = ({ target: { value } }: any) => {
13
- setDotPosition(value);
14
- };
15
- const contentStyle: object = {
16
- height: '160px',
17
- color: '#fff',
18
- lineHeight: '160px',
19
- textAlign: 'center',
20
- background: '#364d79',
21
- };
22
- return (
23
- <>
24
- <Radio.Group
25
- onChange={handlePositionChange}
26
- value={dotPosition}
27
- style={{ marginBottom: 8 }}
28
- >
29
- <Radio.Button value="top">Top</Radio.Button>
30
- <Radio.Button value="bottom">Bottom</Radio.Button>
31
- <Radio.Button value="left">Left</Radio.Button>
32
- <Radio.Button value="right">Right</Radio.Button>
33
- </Radio.Group>
34
- <Carousel dotPosition={dotPosition}>
35
- <div>
36
- <h3 style={contentStyle}>1</h3>
37
- </div>
38
- <div>
39
- <h3 style={contentStyle}>2</h3>
40
- </div>
41
- <div>
42
- <h3 style={contentStyle}>3</h3>
43
- </div>
44
- <div>
45
- <h3 style={contentStyle}>4</h3>
46
- </div>
47
- </Carousel>
48
- </>
49
- );
50
- };
51
-
52
- export default PositionDemo;
@@ -1,21 +0,0 @@
1
- import React, { FC, forwardRef } from 'react';
2
- import { Carousel as AntdCarousel } from 'antd';
3
- import type {
4
- CarouselProps as AntdCarouselProps,
5
- CarouselRef as AntdCarouselRef,
6
- } from 'antd/es/carousel';
7
-
8
- export interface CarouselProps extends AntdCarouselProps {}
9
- export interface CarouselRef extends AntdCarouselRef {}
10
-
11
- const Carousel = forwardRef<CarouselRef, CarouselProps>((props, ref) => {
12
- const { children, ...otherProps } = props;
13
-
14
- return (
15
- <AntdCarousel {...otherProps} ref={ref}>
16
- {children}
17
- </AntdCarousel>
18
- );
19
- });
20
-
21
- export default Carousel;
@@ -1,138 +0,0 @@
1
- ---
2
- title: Cascader 级联选择
3
- order: 0
4
- legacy: /cascader
5
- group:
6
- path: /
7
- nav:
8
- title: 组件
9
- path: /components
10
- ---
11
-
12
- # Cascader 级联选择
13
-
14
- 级联选择框。
15
-
16
- ## 何时使用
17
-
18
- - 需要从一组相关联的数据集合进行选择,例如省市区,公司层级,事物分类等。
19
- - 从一个较大的数据集合中进行选择时,用多级分类进行分隔,方便选择。
20
- - 比起 Select 组件,可以在同一个浮层中完成选择,有较好的体验。
21
-
22
- ## 代码演示
23
-
24
- ### 基本
25
-
26
- <code src="./demos/basic.tsx"/>
27
-
28
- ### 默认值
29
-
30
- <code src="./demos/defaultValue.tsx"/>
31
-
32
- ### 可以自定义显示
33
-
34
- <code src="./demos/custom.tsx"/>
35
-
36
- ### 移入展开
37
-
38
- <code src="./demos/move.tsx"/>
39
-
40
- ### 禁用选项
41
-
42
- <code src="./demos/disabled.tsx"/>
43
-
44
- ### 选择即改变
45
-
46
- <code src="./demos/change.tsx"/>
47
-
48
- ### 大小
49
-
50
- <code src="./demos/size.tsx"/>
51
-
52
- ### 自定义已选项
53
-
54
- <code src="./demos/changed.tsx"/>
55
-
56
- ### 搜索
57
-
58
- <code src="./demos/search.tsx"/>
59
-
60
- ### 动态加载选项
61
-
62
- <code src="./demos/active.tsx"/>
63
-
64
- ### 自定义字段名
65
-
66
- <code src="./demos/customName.tsx"/>
67
-
68
- ## 扩展菜单
69
-
70
- <code src="./demos/dropdown.tsx"/>
71
-
72
- ## API
73
-
74
- <!-- ```jsx
75
- <Cascader options={options} onChange={onChange} />
76
- ``` -->
77
-
78
- | 参数 | 说明 | 类型 | 默认值 | 版本 |
79
- | -------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------- | -------------------------------------------------------- | ----- |
80
- | allowClear | 是否支持清除 | boolean | true | |
81
- | autoFocus | 自动获取焦点 | boolean | false | |
82
- | bordered | 是否有边框 | boolean | true | |
83
- | changeOnSelect | 当此项为 true 时,点选每级菜单选项值都会发生变化,具体见上面的演示 | boolean | false | |
84
- | className | 自定义类名 | string | - | |
85
- | defaultValue | 默认的选中项 | string\[] \| number\[] | \[] | |
86
- | disabled | 禁用 | boolean | false | |
87
- | displayRender | 选择后展示的渲染函数 | (label, selectedOptions) => ReactNode | label => label.join(`/`) | |
88
- | dropdownRender | 自定义下拉框内容 | (menus: ReactNode) => ReactNode | - | 4.4.0 |
89
- | expandIcon | 自定义次级菜单展开图标 | ReactNode | - | 4.4.0 |
90
- | expandTrigger | 次级菜单的展开方式,可选 'click' 和 'hover' | string | `click` | |
91
- | fieldNames | 自定义 options 中 label name children 的字段 | object | { label: `label`, value: `value`, children: `children` } | |
92
- | getPopupContainer | 菜单渲染父节点。默认渲染到 body 上,如果你遇到菜单滚动定位问题,试试修改为滚动的区域,并相对其定位。[示例](https://codepen.io/afc163/pen/zEjNOy?editors=0010) | function(triggerNode) | () => document.body | |
93
- | loadData | 用于动态加载选项,无法与 `showSearch` 一起使用 | (selectedOptions) => void | - | |
94
- | notFoundContent | 当下拉列表为空时显示的内容 | string | `Not Found` | |
95
- | options | 可选项数据源 | [Option](#Option)\[] | - | |
96
- | placeholder | 输入框占位文本 | string | `请选择` | |
97
- | popupClassName | 自定义浮层类名 | string | - | |
98
- | popupPlacement | 浮层预设位置:`bottomLeft` `bottomRight` `topLeft` `topRight` | string | `bottomLeft` | |
99
- | popupVisible | 控制浮层显隐 | boolean | - | |
100
- | showSearch | 在选择框中显示搜索框 | boolean \| [Object](#showSearch) | false | |
101
- | size | 输入框大小 | `large` \| `middle` \| `small` | - | |
102
- | style | 自定义样式 | CSSProperties | - | |
103
- | suffixIcon | 自定义的选择框后缀图标 | ReactNode | - | |
104
- | value | 指定选中项 | string\[] \| number\[] | - | |
105
- | onChange | 选择完成后的回调 | (value, selectedOptions) => void | - | |
106
- | onPopupVisibleChange | 显示/隐藏浮层的回调 | (value) => void | - | |
107
-
108
- ### showSearch
109
-
110
- `showSearch` 为对象时,其中的字段:
111
-
112
- | 参数 | 说明 | 类型 | 默认值 | 版本 |
113
- | --------------- | --------------------------------------------------------------------------------------------- | ------------------------------------- | ------ | ---- |
114
- | filter | 接收 `inputValue` `path` 两个参数,当 `path` 符合筛选条件时,应返回 true,反之则返回 false | function(inputValue, path): boolean | - | |
115
- | limit | 搜索结果展示数量 | number \| false | 50 | |
116
- | matchInputWidth | 搜索结果列表是否与输入框同宽([效果](https://github.com/ant-design/ant-design/issues/25779)) | boolean | true | |
117
- | render | 用于渲染 filter 后的选项 | function(inputValue, path): ReactNode | - | |
118
- | sort | 用于排序 filter 后的选项 | function(a, b, inputValue) | - | |
119
-
120
- ### Option
121
-
122
- ```typescript
123
- interface Option {
124
- value: string | number;
125
- label?: React.ReactNode;
126
- disabled?: boolean;
127
- children?: Option[];
128
- }
129
- ```
130
-
131
- ## 方法
132
-
133
- | 名称 | 描述 | 版本 |
134
- | ------- | -------- | ---- |
135
- | blur() | 移除焦点 | |
136
- | focus() | 获取焦点 | |
137
-
138
- > 注意,如果需要获得中国省市区数据,可以参考 [china-division](https://gist.github.com/afc163/7582f35654fd03d5be7009444345ea17)。