@fle-ui/next 2.0.0-alpha.9 → 3.0.0-alpha.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2165) hide show
  1. package/README.md +1 -1
  2. package/dist/components.min.js +1 -0
  3. package/es/_util/PurePanel.d.ts +6 -0
  4. package/es/_util/PurePanel.js +89 -0
  5. package/es/_util/capitalize.d.ts +1 -0
  6. package/es/_util/capitalize.js +8 -0
  7. package/es/_util/motion.d.ts +2 -2
  8. package/es/_util/motion.js +18 -14
  9. package/es/_util/statusUtils.d.ts +1 -1
  10. package/es/_util/statusUtils.js +1 -1
  11. package/es/_util/throttleByAnimationFrame.d.ts +4 -6
  12. package/es/_util/throttleByAnimationFrame.js +3 -29
  13. package/es/_util/warning.js +1 -1
  14. package/es/_util/wave/index.d.ts +33 -0
  15. package/es/_util/wave/index.js +275 -0
  16. package/es/_util/wave/style.d.ts +3 -0
  17. package/es/_util/wave/style.js +77 -0
  18. package/es/affix/index.d.ts +7 -2
  19. package/es/affix/index.js +54 -64
  20. package/es/affix/style/index.d.ts +2 -2
  21. package/es/affix/style/index.js +18 -2
  22. package/es/alert/index.d.ts +3 -3
  23. package/es/alert/index.js +23 -27
  24. package/es/alert/style/index.d.ts +13 -2
  25. package/es/alert/style/index.js +157 -2
  26. package/es/anchor/Anchor.js +20 -10
  27. package/es/anchor/AnchorLink.js +2 -2
  28. package/es/anchor/index.d.ts +5 -5
  29. package/es/anchor/style/index.d.ts +4 -3
  30. package/es/anchor/style/index.js +86 -3
  31. package/es/auto-complete/index.d.ts +4 -5
  32. package/es/auto-complete/index.js +15 -6
  33. package/es/avatar/avatar.js +18 -11
  34. package/es/avatar/group.js +18 -9
  35. package/es/avatar/index.d.ts +2 -2
  36. package/es/avatar/style/index.d.ts +4 -3
  37. package/es/avatar/style/index.js +115 -4
  38. package/es/back-top/index.d.ts +0 -1
  39. package/es/back-top/index.js +55 -64
  40. package/es/back-top/style/index.d.ts +6 -2
  41. package/es/back-top/style/index.js +77 -2
  42. package/es/badge/Ribbon.js +15 -7
  43. package/es/badge/ScrollNumber.js +2 -2
  44. package/es/badge/SingleNumber.js +4 -4
  45. package/es/badge/index.d.ts +3 -3
  46. package/es/badge/index.js +24 -15
  47. package/es/badge/style/index.d.ts +2 -2
  48. package/es/badge/style/index.js +324 -2
  49. package/es/breadcrumb/Breadcrumb.d.ts +3 -3
  50. package/es/breadcrumb/Breadcrumb.js +13 -6
  51. package/es/breadcrumb/BreadcrumbItem.d.ts +3 -3
  52. package/es/breadcrumb/BreadcrumbItem.js +4 -4
  53. package/es/breadcrumb/BreadcrumbSeparator.d.ts +3 -4
  54. package/es/breadcrumb/BreadcrumbSeparator.js +1 -1
  55. package/es/breadcrumb/index.d.ts +2 -2
  56. package/es/breadcrumb/style/index.d.ts +2 -4
  57. package/es/breadcrumb/style/index.js +77 -4
  58. package/es/button/LoadingIcon.js +3 -3
  59. package/es/button/button-group.js +9 -2
  60. package/es/button/button.d.ts +2 -2
  61. package/es/button/button.js +25 -17
  62. package/es/button/index.d.ts +3 -3
  63. package/es/button/style/group.d.ts +4 -0
  64. package/es/button/style/group.js +53 -0
  65. package/es/button/style/index.d.ts +10 -2
  66. package/es/button/style/index.js +331 -2
  67. package/es/calendar/Header.js +5 -5
  68. package/es/calendar/generateCalendar.d.ts +1 -1
  69. package/es/calendar/generateCalendar.js +18 -12
  70. package/es/calendar/index.d.ts +4 -4
  71. package/es/calendar/index.js +2 -2
  72. package/es/calendar/style/index.d.ts +21 -5
  73. package/es/calendar/style/index.js +147 -6
  74. package/es/card/Card.js +21 -13
  75. package/es/card/Grid.js +1 -1
  76. package/es/card/Meta.js +5 -5
  77. package/es/card/index.d.ts +3 -3
  78. package/es/card/style/index.d.ts +4 -4
  79. package/es/card/style/index.js +289 -4
  80. package/es/carousel/index.js +12 -4
  81. package/es/carousel/style/index.d.ts +7 -2
  82. package/es/carousel/style/index.js +263 -2
  83. package/es/cascader/index.d.ts +4 -4
  84. package/es/cascader/index.js +32 -10
  85. package/es/cascader/style/index.d.ts +7 -4
  86. package/es/cascader/style/index.js +109 -4
  87. package/es/checkbox/Checkbox.js +25 -19
  88. package/es/checkbox/Group.js +12 -5
  89. package/es/checkbox/index.d.ts +4 -4
  90. package/es/checkbox/style/index.d.ts +11 -2
  91. package/es/checkbox/style/index.js +174 -2
  92. package/es/col/index.d.ts +2 -2
  93. package/es/col/style/index.d.ts +2 -2
  94. package/es/col/style/index.js +3 -3
  95. package/es/collapse/Collapse.d.ts +3 -3
  96. package/es/collapse/Collapse.js +17 -8
  97. package/es/collapse/CollapsePanel.js +1 -1
  98. package/es/collapse/index.d.ts +2 -2
  99. package/es/collapse/style/index.d.ts +13 -2
  100. package/es/collapse/style/index.js +155 -2
  101. package/es/config-provider/context.d.ts +13 -1
  102. package/es/config-provider/context.js +7 -5
  103. package/es/config-provider/cssVariables.js +12 -12
  104. package/es/config-provider/defaultRenderEmpty.js +1 -1
  105. package/es/config-provider/hooks/useTheme.d.ts +2 -0
  106. package/es/config-provider/hooks/useTheme.js +31 -0
  107. package/es/config-provider/index.d.ts +8 -6
  108. package/es/config-provider/index.js +60 -36
  109. package/es/config-provider/style/index.d.ts +2 -1
  110. package/es/config-provider/style/index.js +24 -1
  111. package/es/date-picker/generatePicker/generateRangePicker.js +25 -13
  112. package/es/date-picker/generatePicker/generateSinglePicker.d.ts +6 -30
  113. package/es/date-picker/generatePicker/generateSinglePicker.js +23 -12
  114. package/es/date-picker/generatePicker/index.d.ts +6 -8
  115. package/es/date-picker/generatePicker/index.js +1 -3
  116. package/es/date-picker/index.d.ts +22 -19
  117. package/es/date-picker/index.js +8 -2
  118. package/es/date-picker/style/index.d.ts +34 -3
  119. package/es/date-picker/style/index.js +889 -3
  120. package/es/descriptions/Cell.js +5 -5
  121. package/es/descriptions/Row.js +8 -8
  122. package/es/descriptions/index.d.ts +1 -1
  123. package/es/descriptions/index.js +15 -8
  124. package/es/descriptions/style/index.d.ts +2 -2
  125. package/es/descriptions/style/index.js +155 -2
  126. package/es/divider/index.js +13 -5
  127. package/es/divider/style/index.d.ts +6 -2
  128. package/es/divider/style/index.js +126 -2
  129. package/es/drawer/DrawerPanel.d.ts +18 -0
  130. package/es/drawer/DrawerPanel.js +64 -0
  131. package/es/drawer/index.d.ts +14 -22
  132. package/es/drawer/index.js +70 -80
  133. package/es/drawer/style/index.d.ts +10 -2
  134. package/es/drawer/style/index.js +168 -3
  135. package/es/drawer/style/motion.d.ts +4 -0
  136. package/es/drawer/style/motion.js +108 -0
  137. package/es/dropdown/dropdown-button.d.ts +2 -3
  138. package/es/dropdown/dropdown-button.js +17 -11
  139. package/es/dropdown/dropdown.d.ts +5 -3
  140. package/es/dropdown/dropdown.js +51 -21
  141. package/es/dropdown/style/button.d.ts +4 -0
  142. package/es/dropdown/style/button.js +21 -0
  143. package/es/dropdown/style/index.d.ts +14 -5
  144. package/es/dropdown/style/index.js +267 -5
  145. package/es/dropdown/style/status.d.ts +4 -0
  146. package/es/dropdown/style/status.js +18 -0
  147. package/es/empty/empty.js +13 -18
  148. package/es/empty/index.d.ts +3 -3
  149. package/es/empty/index.js +17 -9
  150. package/es/empty/simple.js +27 -9
  151. package/es/empty/style/index.d.ts +5 -2
  152. package/es/empty/style/index.js +55 -2
  153. package/es/float-button/BackTop.d.ts +4 -0
  154. package/es/float-button/BackTop.js +126 -0
  155. package/es/float-button/FloatButton.d.ts +4 -0
  156. package/es/float-button/FloatButton.js +92 -0
  157. package/es/float-button/FloatButtonContent.d.ts +4 -0
  158. package/es/float-button/FloatButtonContent.js +26 -0
  159. package/es/float-button/FloatButtonGroup.d.ts +4 -0
  160. package/es/float-button/FloatButtonGroup.js +104 -0
  161. package/es/float-button/PurePanel.d.ts +12 -0
  162. package/es/float-button/PurePanel.js +62 -0
  163. package/es/float-button/context.d.ts +5 -0
  164. package/es/float-button/context.js +5 -0
  165. package/es/float-button/index.d.ts +2 -0
  166. package/es/float-button/index.js +8 -0
  167. package/es/float-button/interface.d.ts +49 -0
  168. package/es/float-button/interface.js +1 -0
  169. package/es/float-button/style/index.d.ts +6 -0
  170. package/es/float-button/style/index.js +255 -0
  171. package/es/form/ErrorList.js +19 -13
  172. package/es/form/Form.d.ts +2 -2
  173. package/es/form/Form.js +12 -5
  174. package/es/form/FormItem/ItemHolder.js +5 -5
  175. package/es/form/FormItem/index.d.ts +3 -3
  176. package/es/form/FormItem/index.js +17 -7
  177. package/es/form/FormItemInput.js +7 -7
  178. package/es/form/FormItemLabel.js +6 -6
  179. package/es/form/hooks/useFormItemStatus.js +4 -2
  180. package/es/form/index.d.ts +9 -9
  181. package/es/form/style/explain.d.ts +4 -0
  182. package/es/form/style/explain.js +38 -0
  183. package/es/form/style/index.d.ts +7 -4
  184. package/es/form/style/index.js +317 -4
  185. package/es/form/util.js +2 -2
  186. package/es/grid/col.js +14 -6
  187. package/es/grid/index.d.ts +2 -2
  188. package/es/grid/row.js +10 -3
  189. package/es/grid/style/index.d.ts +2 -2
  190. package/es/grid/style/index.js +141 -2
  191. package/es/image/PreviewGroup.js +17 -6
  192. package/es/image/index.d.ts +1 -1
  193. package/es/image/index.js +21 -8
  194. package/es/image/style/index.d.ts +21 -2
  195. package/es/image/style/index.js +229 -2
  196. package/es/index.d.ts +6 -6
  197. package/es/index.js +3 -4
  198. package/es/input/ClearableLabeledInput.d.ts +1 -0
  199. package/es/input/ClearableLabeledInput.js +5 -4
  200. package/es/input/Group.js +12 -3
  201. package/es/input/Input.js +17 -8
  202. package/es/input/Password.js +2 -2
  203. package/es/input/Search.js +2 -2
  204. package/es/input/TextArea.js +15 -8
  205. package/es/input/index.d.ts +7 -7
  206. package/es/input/style/index.d.ts +29 -3
  207. package/es/input/style/index.js +609 -4
  208. package/es/input-number/index.d.ts +5 -3
  209. package/es/input-number/index.js +37 -16
  210. package/es/input-number/style/index.d.ts +9 -2
  211. package/es/input-number/style/index.js +258 -2
  212. package/es/layout/Sider.js +8 -8
  213. package/es/layout/index.d.ts +5 -5
  214. package/es/layout/layout.js +9 -3
  215. package/es/layout/style/index.d.ts +16 -2
  216. package/es/layout/style/index.js +171 -2
  217. package/es/layout/style/light.d.ts +5 -0
  218. package/es/layout/style/light.js +23 -0
  219. package/es/list/Item.js +11 -11
  220. package/es/list/index.d.ts +2 -2
  221. package/es/list/index.js +23 -14
  222. package/es/list/style/index.d.ts +5 -6
  223. package/es/list/style/index.js +226 -6
  224. package/es/locale/en_US.d.ts +3 -2
  225. package/es/locale/en_US.js +137 -2
  226. package/es/locale/ku_IQ.js +1 -1
  227. package/es/locale/zh_CN.js +5 -0
  228. package/es/locale/zh_HK.js +5 -0
  229. package/es/locale/zh_TW.js +5 -0
  230. package/es/locale-provider/LocaleReceiver.js +1 -1
  231. package/es/locale-provider/index.d.ts +2 -0
  232. package/es/mentions/index.d.ts +5 -2
  233. package/es/mentions/index.js +25 -14
  234. package/es/mentions/style/index.d.ts +7 -3
  235. package/es/mentions/style/index.js +169 -3
  236. package/es/menu/MenuContext.d.ts +3 -1
  237. package/es/menu/MenuDivider.js +1 -1
  238. package/es/menu/MenuItem.js +5 -5
  239. package/es/menu/OverrideContext.d.ts +1 -1
  240. package/es/menu/SubMenu.js +12 -8
  241. package/es/menu/hooks/useItems.js +1 -1
  242. package/es/menu/index.d.ts +19 -22
  243. package/es/menu/index.js +17 -181
  244. package/es/menu/menu.d.ts +19 -0
  245. package/es/menu/menu.js +155 -0
  246. package/es/menu/style/horizontal.d.ts +4 -0
  247. package/es/menu/style/horizontal.js +38 -0
  248. package/es/menu/style/index.d.ts +41 -3
  249. package/es/menu/style/index.js +334 -4
  250. package/es/menu/style/rtl.d.ts +4 -0
  251. package/es/menu/style/rtl.js +22 -0
  252. package/es/menu/style/theme.d.ts +4 -0
  253. package/es/menu/style/theme.js +147 -0
  254. package/es/menu/style/vertical.d.ts +4 -0
  255. package/es/menu/style/vertical.js +131 -0
  256. package/es/message/PurePanel.d.ts +22 -0
  257. package/es/message/PurePanel.js +73 -0
  258. package/es/message/index.d.ts +20 -59
  259. package/es/message/index.js +264 -199
  260. package/es/message/interface.d.ts +37 -0
  261. package/es/message/interface.js +1 -0
  262. package/es/message/style/index.d.ts +7 -2
  263. package/es/message/style/index.js +121 -2
  264. package/es/message/useMessage.d.ts +8 -0
  265. package/es/message/useMessage.js +233 -0
  266. package/es/message/util.d.ts +4 -0
  267. package/es/message/util.js +26 -0
  268. package/es/modal/ConfirmDialog.d.ts +12 -3
  269. package/es/modal/ConfirmDialog.js +89 -42
  270. package/es/modal/Modal.d.ts +4 -10
  271. package/es/modal/Modal.js +32 -41
  272. package/es/modal/PurePanel.d.ts +13 -0
  273. package/es/modal/PurePanel.js +109 -0
  274. package/es/modal/confirm.js +8 -26
  275. package/es/modal/index.d.ts +4 -1
  276. package/es/modal/index.js +2 -0
  277. package/es/modal/locale.js +1 -1
  278. package/es/modal/style/index.d.ts +32 -3
  279. package/es/modal/style/index.js +295 -4
  280. package/es/modal/useModal/HookModal.js +1 -1
  281. package/es/modal/useModal/index.js +1 -1
  282. package/es/notification/PurePanel.d.ts +25 -0
  283. package/es/notification/PurePanel.js +120 -0
  284. package/es/notification/index.d.ts +17 -54
  285. package/es/notification/index.js +216 -313
  286. package/es/notification/interface.d.ts +51 -0
  287. package/es/notification/interface.js +1 -0
  288. package/es/notification/style/index.d.ts +19 -2
  289. package/es/notification/style/index.js +192 -2
  290. package/es/notification/style/placement.d.ts +5 -0
  291. package/es/notification/style/placement.js +60 -0
  292. package/es/notification/useNotification.d.ts +8 -0
  293. package/es/notification/useNotification.js +168 -0
  294. package/es/notification/util.d.ts +5 -0
  295. package/es/notification/util.js +64 -0
  296. package/es/pagination/Pagination.d.ts +2 -2
  297. package/es/pagination/Pagination.js +21 -13
  298. package/es/pagination/Select.d.ts +4 -4
  299. package/es/pagination/index.d.ts +1 -1
  300. package/es/pagination/style/index.d.ts +2 -3
  301. package/es/pagination/style/index.js +443 -4
  302. package/es/popconfirm/PurePanel.d.ts +6 -0
  303. package/es/popconfirm/PurePanel.js +54 -9
  304. package/es/popconfirm/index.d.ts +4 -6
  305. package/es/popconfirm/index.js +22 -14
  306. package/es/popconfirm/style/index.d.ts +8 -4
  307. package/es/popconfirm/style/index.js +51 -5
  308. package/es/popover/PurePanel.d.ts +8 -0
  309. package/es/popover/PurePanel.js +67 -0
  310. package/es/popover/index.d.ts +4 -1
  311. package/es/popover/index.js +22 -6
  312. package/es/popover/style/index.d.ts +12 -2
  313. package/es/popover/style/index.js +126 -3
  314. package/es/progress/Circle.d.ts +1 -1
  315. package/es/progress/Circle.js +28 -41
  316. package/es/progress/Line.d.ts +1 -3
  317. package/es/progress/Line.js +13 -14
  318. package/es/progress/Steps.js +2 -2
  319. package/es/progress/index.d.ts +1 -1
  320. package/es/progress/progress.js +29 -27
  321. package/es/progress/style/index.d.ts +4 -2
  322. package/es/progress/style/index.js +180 -2
  323. package/es/progress/utils.d.ts +6 -8
  324. package/es/progress/utils.js +19 -1
  325. package/es/radio/group.js +12 -5
  326. package/es/radio/index.d.ts +2 -2
  327. package/es/radio/interface.d.ts +2 -1
  328. package/es/radio/radio.js +22 -16
  329. package/es/radio/style/index.d.ts +4 -2
  330. package/es/radio/style/index.js +412 -2
  331. package/es/rate/index.js +13 -3
  332. package/es/rate/style/index.d.ts +3 -3
  333. package/es/rate/style/index.js +92 -3
  334. package/es/result/index.d.ts +4 -4
  335. package/es/result/index.js +20 -12
  336. package/es/result/style/index.d.ts +6 -2
  337. package/es/result/style/index.js +106 -2
  338. package/es/row/index.d.ts +2 -2
  339. package/es/row/style/index.d.ts +2 -2
  340. package/es/row/style/index.js +3 -3
  341. package/es/segmented/index.d.ts +1 -1
  342. package/es/segmented/index.js +13 -5
  343. package/es/segmented/style/index.d.ts +4 -2
  344. package/es/segmented/style/index.js +140 -2
  345. package/es/select/index.d.ts +7 -8
  346. package/es/select/index.js +29 -12
  347. package/es/select/style/dropdown.d.ts +4 -0
  348. package/es/select/style/dropdown.js +95 -0
  349. package/es/select/style/index.d.ts +10 -3
  350. package/es/select/style/index.js +208 -3
  351. package/es/select/style/multiple.d.ts +3 -0
  352. package/es/select/style/multiple.js +170 -0
  353. package/es/select/style/single.d.ts +3 -0
  354. package/es/select/style/single.js +110 -0
  355. package/es/select/utils/iconUtil.js +1 -1
  356. package/es/skeleton/Avatar.js +12 -4
  357. package/es/skeleton/Button.js +12 -4
  358. package/es/skeleton/Element.js +3 -3
  359. package/es/skeleton/Image.js +14 -6
  360. package/es/skeleton/Input.js +12 -4
  361. package/es/skeleton/Node.js +12 -4
  362. package/es/skeleton/Skeleton.d.ts +3 -4
  363. package/es/skeleton/Skeleton.js +15 -8
  364. package/es/skeleton/index.d.ts +1 -1
  365. package/es/skeleton/style/index.d.ts +6 -2
  366. package/es/skeleton/style/index.js +269 -2
  367. package/es/slider/index.d.ts +13 -24
  368. package/es/slider/index.js +48 -29
  369. package/es/slider/style/index.d.ts +11 -3
  370. package/es/slider/style/index.js +206 -3
  371. package/es/space/Compact.js +13 -5
  372. package/es/space/Item.js +1 -1
  373. package/es/space/index.d.ts +2 -2
  374. package/es/space/index.js +12 -5
  375. package/es/space/style/compact.d.ts +8 -0
  376. package/es/space/style/compact.js +18 -0
  377. package/es/space/style/index.d.ts +5 -2
  378. package/es/space/style/index.js +40 -2
  379. package/es/spin/index.d.ts +1 -0
  380. package/es/spin/index.js +21 -13
  381. package/es/spin/style/index.d.ts +5 -2
  382. package/es/spin/style/index.js +175 -2
  383. package/es/statistic/Countdown.d.ts +1 -1
  384. package/es/statistic/Number.js +5 -6
  385. package/es/statistic/Statistic.d.ts +3 -3
  386. package/es/statistic/Statistic.js +17 -9
  387. package/es/statistic/index.d.ts +2 -2
  388. package/es/statistic/style/index.d.ts +2 -3
  389. package/es/statistic/style/index.js +49 -3
  390. package/es/statistic/utils.js +3 -4
  391. package/es/steps/index.d.ts +4 -4
  392. package/es/steps/index.js +28 -10
  393. package/es/steps/style/custom-icon.d.ts +5 -0
  394. package/es/steps/style/custom-icon.js +26 -0
  395. package/es/steps/style/index.d.ts +53 -3
  396. package/es/steps/style/index.js +264 -4
  397. package/es/steps/style/inline.d.ts +5 -0
  398. package/es/steps/style/inline.js +93 -0
  399. package/es/steps/style/label-placement.d.ts +5 -0
  400. package/es/steps/style/label-placement.js +46 -0
  401. package/es/steps/style/nav.d.ts +5 -0
  402. package/es/steps/style/nav.js +104 -0
  403. package/es/steps/style/progress-dot.d.ts +5 -0
  404. package/es/steps/style/progress-dot.js +99 -0
  405. package/es/steps/style/progress.d.ts +5 -0
  406. package/es/steps/style/progress.js +33 -0
  407. package/es/steps/style/rtl.d.ts +5 -0
  408. package/es/steps/style/rtl.js +26 -0
  409. package/es/steps/style/small.d.ts +5 -0
  410. package/es/steps/style/small.js +53 -0
  411. package/es/steps/style/vertical.d.ts +5 -0
  412. package/es/steps/style/vertical.js +55 -0
  413. package/es/style/compact-item-vertical.d.ts +3 -0
  414. package/es/style/compact-item-vertical.js +41 -0
  415. package/es/style/compact-item.d.ts +10 -0
  416. package/es/style/compact-item.js +47 -0
  417. package/es/style/index.d.ts +12 -2
  418. package/es/style/index.js +123 -2
  419. package/es/style/motion/collapse.d.ts +4 -0
  420. package/es/style/motion/collapse.js +17 -0
  421. package/es/style/motion/fade.d.ts +7 -0
  422. package/es/style/motion/fade.js +33 -0
  423. package/es/style/motion/index.d.ts +6 -0
  424. package/es/style/motion/index.js +6 -0
  425. package/es/style/motion/motion.d.ts +2 -0
  426. package/es/style/motion/motion.js +36 -0
  427. package/es/style/motion/move.d.ts +15 -0
  428. package/es/style/motion/move.js +132 -0
  429. package/es/style/motion/slide.d.ts +15 -0
  430. package/es/style/motion/slide.js +132 -0
  431. package/es/style/motion/zoom.d.ts +19 -0
  432. package/es/style/motion/zoom.js +178 -0
  433. package/es/style/operationUnit.d.ts +3 -0
  434. package/es/style/operationUnit.js +18 -0
  435. package/es/style/placementArrow.d.ts +19 -0
  436. package/es/style/placementArrow.js +145 -0
  437. package/es/style/reset.css +253 -0
  438. package/es/style/roundedArrow.d.ts +2 -0
  439. package/es/style/roundedArrow.js +52 -0
  440. package/es/switch/index.d.ts +1 -2
  441. package/es/switch/index.js +14 -6
  442. package/es/switch/style/index.d.ts +2 -2
  443. package/es/switch/style/index.js +203 -2
  444. package/es/table/ExpandIcon.js +2 -2
  445. package/es/table/Table.d.ts +5 -6
  446. package/es/table/Table.js +21 -17
  447. package/es/table/hooks/useFilter/FilterDropdown.js +39 -34
  448. package/es/table/hooks/useFilter/FilterSearch.js +2 -2
  449. package/es/table/hooks/useFilter/index.js +16 -4
  450. package/es/table/hooks/useSelection.js +4 -4
  451. package/es/table/hooks/useSorter.js +9 -9
  452. package/es/table/index.d.ts +4 -4
  453. package/es/table/interface.d.ts +5 -11
  454. package/es/table/style/bordered.d.ts +5 -0
  455. package/es/table/style/bordered.js +67 -0
  456. package/es/table/style/ellipsis.d.ts +5 -0
  457. package/es/table/style/ellipsis.js +24 -0
  458. package/es/table/style/empty.d.ts +5 -0
  459. package/es/table/style/empty.js +14 -0
  460. package/es/table/style/expand.d.ts +5 -0
  461. package/es/table/style/expand.js +109 -0
  462. package/es/table/style/filter.d.ts +4 -0
  463. package/es/table/style/filter.js +122 -0
  464. package/es/table/style/fixed.d.ts +5 -0
  465. package/es/table/style/fixed.js +82 -0
  466. package/es/table/style/index.d.ts +48 -12
  467. package/es/table/style/index.js +213 -15
  468. package/es/table/style/pagination.d.ts +5 -0
  469. package/es/table/style/pagination.js +29 -0
  470. package/es/table/style/radius.d.ts +5 -0
  471. package/es/table/style/radius.js +40 -0
  472. package/es/table/style/rtl.d.ts +5 -0
  473. package/es/table/style/rtl.js +29 -0
  474. package/es/table/style/selection.d.ts +5 -0
  475. package/es/table/style/selection.js +49 -0
  476. package/es/table/style/size.d.ts +5 -0
  477. package/es/table/style/size.js +29 -0
  478. package/es/table/style/sorter.d.ts +5 -0
  479. package/es/table/style/sorter.js +72 -0
  480. package/es/table/style/sticky.d.ts +5 -0
  481. package/es/table/style/sticky.js +47 -0
  482. package/es/table/style/summary.d.ts +5 -0
  483. package/es/table/style/summary.js +24 -0
  484. package/es/table/util.js +1 -1
  485. package/es/tabs/index.d.ts +3 -3
  486. package/es/tabs/index.js +15 -5
  487. package/es/tabs/style/index.d.ts +20 -2
  488. package/es/tabs/style/index.js +602 -2
  489. package/es/tabs/style/motion.d.ts +4 -0
  490. package/es/tabs/style/motion.js +34 -0
  491. package/es/tag/CheckableTag.js +12 -4
  492. package/es/tag/index.d.ts +1 -1
  493. package/es/tag/index.js +17 -14
  494. package/es/tag/style/index.d.ts +4 -2
  495. package/es/tag/style/index.js +127 -2
  496. package/es/theme/index.d.ts +21 -0
  497. package/es/theme/index.js +37 -0
  498. package/es/theme/interface/alias.d.ts +133 -0
  499. package/es/theme/interface/alias.js +1 -0
  500. package/es/theme/interface/components.d.ts +110 -0
  501. package/es/theme/interface/components.js +1 -0
  502. package/es/theme/interface/index.d.ts +13 -0
  503. package/es/theme/interface/index.js +1 -0
  504. package/es/theme/interface/maps/colors.d.ts +342 -0
  505. package/es/theme/interface/maps/colors.js +1 -0
  506. package/es/theme/interface/maps/index.d.ts +15 -0
  507. package/es/theme/interface/maps/index.js +3 -0
  508. package/es/theme/interface/maps/size.d.ts +49 -0
  509. package/es/theme/interface/maps/size.js +1 -0
  510. package/es/theme/interface/maps/style.d.ts +33 -0
  511. package/es/theme/interface/maps/style.js +1 -0
  512. package/es/theme/interface/presetColors.d.ts +8 -0
  513. package/es/theme/interface/presetColors.js +1 -0
  514. package/es/theme/interface/seeds.d.ts +139 -0
  515. package/es/theme/interface/seeds.js +1 -0
  516. package/es/theme/internal.d.ts +23 -0
  517. package/es/theme/internal.js +47 -0
  518. package/es/theme/themes/ColorMap.d.ts +15 -0
  519. package/es/theme/themes/ColorMap.js +1 -0
  520. package/es/theme/themes/compact/genCompactSizeMapToken.d.ts +2 -0
  521. package/es/theme/themes/compact/genCompactSizeMapToken.js +16 -0
  522. package/es/theme/themes/compact/index.d.ts +4 -0
  523. package/es/theme/themes/compact/index.js +28 -0
  524. package/es/theme/themes/dark/colorAlgorithm.d.ts +2 -0
  525. package/es/theme/themes/dark/colorAlgorithm.js +8 -0
  526. package/es/theme/themes/dark/colors.d.ts +3 -0
  527. package/es/theme/themes/dark/colors.js +44 -0
  528. package/es/theme/themes/dark/index.d.ts +4 -0
  529. package/es/theme/themes/dark/index.js +28 -0
  530. package/es/theme/themes/default/colorAlgorithm.d.ts +2 -0
  531. package/es/theme/themes/default/colorAlgorithm.js +8 -0
  532. package/es/theme/themes/default/colors.d.ts +3 -0
  533. package/es/theme/themes/default/colors.js +42 -0
  534. package/es/theme/themes/default/index.d.ts +2 -0
  535. package/es/theme/themes/default/index.js +24 -0
  536. package/es/theme/themes/seed.d.ts +4 -0
  537. package/es/theme/themes/seed.js +61 -0
  538. package/es/theme/themes/shared/genColorMapToken.d.ts +8 -0
  539. package/es/theme/themes/shared/genColorMapToken.js +73 -0
  540. package/es/theme/themes/shared/genCommonMapToken.d.ts +2 -0
  541. package/es/theme/themes/shared/genCommonMapToken.js +26 -0
  542. package/es/theme/themes/shared/genControlHeight.d.ts +3 -0
  543. package/es/theme/themes/shared/genControlHeight.js +10 -0
  544. package/es/theme/themes/shared/genFontSizes.d.ts +4 -0
  545. package/es/theme/themes/shared/genFontSizes.js +18 -0
  546. package/es/theme/themes/shared/genRadius.d.ts +3 -0
  547. package/es/theme/themes/shared/genRadius.js +51 -0
  548. package/es/theme/themes/shared/genSizeMapToken.d.ts +2 -0
  549. package/es/theme/themes/shared/genSizeMapToken.js +16 -0
  550. package/es/theme/util/alias.d.ts +12 -0
  551. package/es/theme/util/alias.js +169 -0
  552. package/es/theme/util/genComponentStyleHook.d.ts +25 -0
  553. package/es/theme/util/genComponentStyleHook.js +65 -0
  554. package/es/theme/util/getAlphaColor.d.ts +2 -0
  555. package/es/theme/util/getAlphaColor.js +46 -0
  556. package/es/theme/util/statistic.d.ts +18 -0
  557. package/es/theme/util/statistic.js +80 -0
  558. package/es/time-picker/index.d.ts +6 -14
  559. package/es/time-picker/index.js +10 -11
  560. package/es/timeline/Timeline.d.ts +3 -3
  561. package/es/timeline/Timeline.js +22 -13
  562. package/es/timeline/TimelineItem.js +5 -5
  563. package/es/timeline/index.d.ts +2 -2
  564. package/es/timeline/style/index.d.ts +4 -2
  565. package/es/timeline/style/index.js +145 -2
  566. package/es/tooltip/PurePanel.d.ts +5 -0
  567. package/es/tooltip/PurePanel.js +43 -0
  568. package/es/tooltip/index.d.ts +14 -23
  569. package/es/tooltip/index.js +48 -42
  570. package/es/tooltip/style/index.d.ts +7 -2
  571. package/es/tooltip/style/index.js +117 -2
  572. package/es/tooltip/util.d.ts +6 -0
  573. package/es/tooltip/util.js +23 -0
  574. package/es/tour/PurePanel.d.ts +6 -0
  575. package/es/tour/PurePanel.js +57 -0
  576. package/es/tour/index.d.ts +7 -0
  577. package/es/tour/index.js +66 -0
  578. package/es/tour/interface.d.ts +28 -0
  579. package/es/tour/interface.js +1 -0
  580. package/es/tour/panelRender.d.ts +4 -0
  581. package/es/tour/panelRender.js +116 -0
  582. package/es/tour/style/index.d.ts +4 -0
  583. package/es/tour/style/index.js +170 -0
  584. package/es/transfer/ListBody.js +2 -2
  585. package/es/transfer/ListItem.js +5 -5
  586. package/es/transfer/index.d.ts +3 -3
  587. package/es/transfer/index.js +23 -6
  588. package/es/transfer/list.js +13 -13
  589. package/es/transfer/style/index.d.ts +7 -8
  590. package/es/transfer/style/index.js +271 -9
  591. package/es/tree/DirectoryTree.js +1 -1
  592. package/es/tree/Tree.js +17 -9
  593. package/es/tree/index.d.ts +4 -4
  594. package/es/tree/style/index.d.ts +13 -2
  595. package/es/tree/style/index.js +329 -2
  596. package/es/tree/utils/dropIndicator.js +1 -1
  597. package/es/tree/utils/iconUtil.js +7 -7
  598. package/es/tree-select/index.d.ts +7 -8
  599. package/es/tree-select/index.js +33 -10
  600. package/es/tree-select/style/index.d.ts +1 -4
  601. package/es/tree-select/style/index.js +44 -5
  602. package/es/typography/Base/index.js +4 -4
  603. package/es/typography/Editable.d.ts +1 -1
  604. package/es/typography/Editable.js +12 -5
  605. package/es/typography/Title.js +1 -1
  606. package/es/typography/Typography.js +17 -10
  607. package/es/typography/style/index.d.ts +9 -4
  608. package/es/typography/style/index.js +59 -4
  609. package/es/typography/style/mixins.d.ts +9 -0
  610. package/es/typography/style/mixins.js +205 -0
  611. package/es/upload/Upload.js +26 -18
  612. package/es/upload/UploadList/ListItem.js +17 -35
  613. package/es/upload/UploadList/index.js +16 -13
  614. package/es/upload/index.d.ts +5 -5
  615. package/es/upload/interface.d.ts +1 -0
  616. package/es/upload/style/dragger.d.ts +4 -0
  617. package/es/upload/style/dragger.js +49 -0
  618. package/es/upload/style/index.d.ts +10 -5
  619. package/es/upload/style/index.js +43 -6
  620. package/es/upload/style/list.d.ts +4 -0
  621. package/es/upload/style/list.js +89 -0
  622. package/es/upload/style/motion.d.ts +4 -0
  623. package/es/upload/style/motion.js +38 -0
  624. package/es/upload/style/picture.d.ts +5 -0
  625. package/es/upload/style/picture.js +159 -0
  626. package/es/upload/style/rtl.d.ts +4 -0
  627. package/es/upload/style/rtl.js +10 -0
  628. package/es/upload/utils.js +1 -1
  629. package/es/version/token-meta.json +1 -0
  630. package/es/version/token.json +1 -0
  631. package/es/version/version.d.ts +1 -1
  632. package/es/version/version.js +1 -1
  633. package/lib/_util/PurePanel.d.ts +6 -0
  634. package/lib/_util/PurePanel.js +105 -0
  635. package/lib/_util/capitalize.d.ts +1 -0
  636. package/lib/_util/capitalize.js +15 -0
  637. package/lib/_util/motion.d.ts +2 -2
  638. package/lib/_util/motion.js +18 -14
  639. package/lib/_util/statusUtils.d.ts +1 -1
  640. package/lib/_util/statusUtils.js +1 -1
  641. package/lib/_util/throttleByAnimationFrame.d.ts +4 -6
  642. package/lib/_util/throttleByAnimationFrame.js +3 -31
  643. package/lib/_util/warning.js +1 -1
  644. package/lib/_util/wave/index.d.ts +33 -0
  645. package/lib/_util/wave/index.js +301 -0
  646. package/lib/_util/wave/style.d.ts +3 -0
  647. package/lib/_util/wave/style.js +92 -0
  648. package/lib/affix/index.d.ts +7 -2
  649. package/lib/affix/index.js +57 -64
  650. package/lib/affix/style/index.d.ts +2 -2
  651. package/lib/affix/style/index.js +28 -2
  652. package/lib/alert/index.d.ts +3 -3
  653. package/lib/alert/index.js +22 -30
  654. package/lib/alert/style/index.d.ts +13 -2
  655. package/lib/alert/style/index.js +180 -2
  656. package/lib/anchor/Anchor.js +21 -10
  657. package/lib/anchor/AnchorLink.js +2 -2
  658. package/lib/anchor/index.d.ts +5 -5
  659. package/lib/anchor/style/index.d.ts +4 -3
  660. package/lib/anchor/style/index.js +98 -3
  661. package/lib/auto-complete/index.d.ts +4 -5
  662. package/lib/auto-complete/index.js +16 -6
  663. package/lib/avatar/avatar.js +19 -11
  664. package/lib/avatar/group.js +20 -9
  665. package/lib/avatar/index.d.ts +2 -2
  666. package/lib/avatar/style/index.d.ts +4 -3
  667. package/lib/avatar/style/index.js +126 -3
  668. package/lib/back-top/index.d.ts +0 -1
  669. package/lib/back-top/index.js +57 -65
  670. package/lib/back-top/style/index.d.ts +6 -2
  671. package/lib/back-top/style/index.js +89 -2
  672. package/lib/badge/Ribbon.js +17 -7
  673. package/lib/badge/ScrollNumber.js +2 -2
  674. package/lib/badge/SingleNumber.js +4 -4
  675. package/lib/badge/index.d.ts +3 -3
  676. package/lib/badge/index.js +26 -15
  677. package/lib/badge/style/index.d.ts +2 -2
  678. package/lib/badge/style/index.js +340 -2
  679. package/lib/breadcrumb/Breadcrumb.d.ts +3 -3
  680. package/lib/breadcrumb/Breadcrumb.js +15 -6
  681. package/lib/breadcrumb/BreadcrumbItem.d.ts +3 -3
  682. package/lib/breadcrumb/BreadcrumbItem.js +4 -4
  683. package/lib/breadcrumb/BreadcrumbSeparator.d.ts +3 -4
  684. package/lib/breadcrumb/BreadcrumbSeparator.js +1 -1
  685. package/lib/breadcrumb/index.d.ts +2 -2
  686. package/lib/breadcrumb/style/index.d.ts +2 -4
  687. package/lib/breadcrumb/style/index.js +87 -4
  688. package/lib/button/LoadingIcon.js +3 -3
  689. package/lib/button/button-group.js +11 -2
  690. package/lib/button/button.d.ts +2 -2
  691. package/lib/button/button.js +24 -16
  692. package/lib/button/index.d.ts +3 -3
  693. package/lib/button/style/group.d.ts +4 -0
  694. package/lib/button/style/group.js +63 -0
  695. package/lib/button/style/index.d.ts +10 -2
  696. package/lib/button/style/index.js +346 -2
  697. package/lib/calendar/Header.js +5 -5
  698. package/lib/calendar/generateCalendar.d.ts +1 -1
  699. package/lib/calendar/generateCalendar.js +19 -13
  700. package/lib/calendar/index.d.ts +4 -4
  701. package/lib/calendar/index.js +2 -2
  702. package/lib/calendar/style/index.d.ts +21 -5
  703. package/lib/calendar/style/index.js +162 -5
  704. package/lib/card/Card.js +23 -13
  705. package/lib/card/Grid.js +1 -1
  706. package/lib/card/Meta.js +5 -5
  707. package/lib/card/index.d.ts +3 -3
  708. package/lib/card/style/index.d.ts +4 -4
  709. package/lib/card/style/index.js +300 -4
  710. package/lib/carousel/index.js +14 -4
  711. package/lib/carousel/style/index.d.ts +7 -2
  712. package/lib/carousel/style/index.js +274 -2
  713. package/lib/cascader/index.d.ts +4 -4
  714. package/lib/cascader/index.js +36 -10
  715. package/lib/cascader/style/index.d.ts +7 -4
  716. package/lib/cascader/style/index.js +122 -4
  717. package/lib/checkbox/Checkbox.js +28 -19
  718. package/lib/checkbox/Group.js +13 -5
  719. package/lib/checkbox/index.d.ts +4 -4
  720. package/lib/checkbox/style/index.d.ts +11 -2
  721. package/lib/checkbox/style/index.js +192 -2
  722. package/lib/col/index.d.ts +2 -2
  723. package/lib/col/style/index.d.ts +2 -2
  724. package/lib/col/style/index.js +8 -2
  725. package/lib/collapse/Collapse.d.ts +3 -3
  726. package/lib/collapse/Collapse.js +18 -7
  727. package/lib/collapse/CollapsePanel.js +1 -1
  728. package/lib/collapse/index.d.ts +2 -2
  729. package/lib/collapse/style/index.d.ts +13 -2
  730. package/lib/collapse/style/index.js +170 -2
  731. package/lib/config-provider/context.d.ts +13 -1
  732. package/lib/config-provider/context.js +10 -6
  733. package/lib/config-provider/cssVariables.js +12 -12
  734. package/lib/config-provider/defaultRenderEmpty.js +1 -1
  735. package/lib/config-provider/hooks/useTheme.d.ts +2 -0
  736. package/lib/config-provider/hooks/useTheme.js +43 -0
  737. package/lib/config-provider/index.d.ts +8 -6
  738. package/lib/config-provider/index.js +70 -40
  739. package/lib/config-provider/style/index.d.ts +2 -1
  740. package/lib/config-provider/style/index.js +36 -1
  741. package/lib/date-picker/generatePicker/generateRangePicker.js +27 -13
  742. package/lib/date-picker/generatePicker/generateSinglePicker.d.ts +6 -30
  743. package/lib/date-picker/generatePicker/generateSinglePicker.js +25 -12
  744. package/lib/date-picker/generatePicker/index.d.ts +6 -8
  745. package/lib/date-picker/generatePicker/index.js +1 -4
  746. package/lib/date-picker/index.d.ts +22 -19
  747. package/lib/date-picker/index.js +9 -2
  748. package/lib/date-picker/style/index.d.ts +34 -3
  749. package/lib/date-picker/style/index.js +909 -3
  750. package/lib/descriptions/Cell.js +5 -5
  751. package/lib/descriptions/Row.js +8 -8
  752. package/lib/descriptions/index.d.ts +1 -1
  753. package/lib/descriptions/index.js +16 -8
  754. package/lib/descriptions/style/index.d.ts +2 -2
  755. package/lib/descriptions/style/index.js +166 -2
  756. package/lib/divider/index.js +15 -5
  757. package/lib/divider/style/index.d.ts +6 -2
  758. package/lib/divider/style/index.js +138 -2
  759. package/lib/drawer/DrawerPanel.d.ts +18 -0
  760. package/lib/drawer/DrawerPanel.js +80 -0
  761. package/lib/drawer/index.d.ts +14 -22
  762. package/lib/drawer/index.js +71 -81
  763. package/lib/drawer/style/index.d.ts +10 -2
  764. package/lib/drawer/style/index.js +179 -2
  765. package/lib/drawer/style/motion.d.ts +4 -0
  766. package/lib/drawer/style/motion.js +118 -0
  767. package/lib/dropdown/dropdown-button.d.ts +2 -3
  768. package/lib/dropdown/dropdown-button.js +18 -11
  769. package/lib/dropdown/dropdown.d.ts +5 -3
  770. package/lib/dropdown/dropdown.js +53 -21
  771. package/lib/dropdown/style/button.d.ts +4 -0
  772. package/lib/dropdown/style/button.js +31 -0
  773. package/lib/dropdown/style/index.d.ts +14 -5
  774. package/lib/dropdown/style/index.js +281 -5
  775. package/lib/dropdown/style/status.d.ts +4 -0
  776. package/lib/dropdown/style/status.js +28 -0
  777. package/lib/empty/empty.js +13 -19
  778. package/lib/empty/index.d.ts +3 -3
  779. package/lib/empty/index.js +19 -9
  780. package/lib/empty/simple.js +30 -9
  781. package/lib/empty/style/index.d.ts +5 -2
  782. package/lib/empty/style/index.js +65 -2
  783. package/lib/float-button/BackTop.d.ts +4 -0
  784. package/lib/float-button/BackTop.js +149 -0
  785. package/lib/float-button/FloatButton.d.ts +4 -0
  786. package/lib/float-button/FloatButton.js +116 -0
  787. package/lib/float-button/FloatButtonContent.d.ts +4 -0
  788. package/lib/float-button/FloatButtonContent.js +43 -0
  789. package/lib/float-button/FloatButtonGroup.d.ts +4 -0
  790. package/lib/float-button/FloatButtonGroup.js +129 -0
  791. package/lib/float-button/PurePanel.d.ts +12 -0
  792. package/lib/float-button/PurePanel.js +80 -0
  793. package/lib/float-button/context.d.ts +5 -0
  794. package/lib/float-button/context.js +17 -0
  795. package/lib/float-button/index.d.ts +2 -0
  796. package/lib/float-button/index.js +22 -0
  797. package/lib/float-button/interface.d.ts +49 -0
  798. package/lib/float-button/interface.js +5 -0
  799. package/lib/float-button/style/index.d.ts +6 -0
  800. package/lib/float-button/style/index.js +272 -0
  801. package/lib/form/ErrorList.js +20 -14
  802. package/lib/form/Form.d.ts +2 -2
  803. package/lib/form/Form.js +14 -6
  804. package/lib/form/FormItem/ItemHolder.js +5 -5
  805. package/lib/form/FormItem/index.d.ts +3 -3
  806. package/lib/form/FormItem/index.js +19 -7
  807. package/lib/form/FormItemInput.js +7 -7
  808. package/lib/form/FormItemLabel.js +7 -7
  809. package/lib/form/hooks/useFormItemStatus.js +4 -2
  810. package/lib/form/index.d.ts +9 -9
  811. package/lib/form/style/explain.d.ts +4 -0
  812. package/lib/form/style/explain.js +48 -0
  813. package/lib/form/style/index.d.ts +7 -4
  814. package/lib/form/style/index.js +329 -4
  815. package/lib/form/util.js +2 -2
  816. package/lib/grid/col.js +16 -6
  817. package/lib/grid/index.d.ts +2 -2
  818. package/lib/grid/row.js +11 -3
  819. package/lib/grid/style/index.d.ts +2 -2
  820. package/lib/grid/style/index.js +152 -2
  821. package/lib/image/PreviewGroup.js +17 -5
  822. package/lib/image/index.d.ts +1 -1
  823. package/lib/image/index.js +22 -7
  824. package/lib/image/style/index.d.ts +21 -2
  825. package/lib/image/style/index.js +258 -2
  826. package/lib/index.d.ts +6 -6
  827. package/lib/index.js +25 -35
  828. package/lib/input/ClearableLabeledInput.d.ts +1 -0
  829. package/lib/input/ClearableLabeledInput.js +5 -4
  830. package/lib/input/Group.js +14 -3
  831. package/lib/input/Input.js +17 -7
  832. package/lib/input/Password.js +2 -2
  833. package/lib/input/Search.js +2 -2
  834. package/lib/input/TextArea.js +16 -8
  835. package/lib/input/index.d.ts +7 -7
  836. package/lib/input/style/index.d.ts +29 -3
  837. package/lib/input/style/index.js +645 -3
  838. package/lib/input-number/index.d.ts +5 -3
  839. package/lib/input-number/index.js +38 -16
  840. package/lib/input-number/style/index.d.ts +9 -2
  841. package/lib/input-number/style/index.js +271 -2
  842. package/lib/layout/Sider.js +8 -8
  843. package/lib/layout/index.d.ts +5 -5
  844. package/lib/layout/layout.js +10 -3
  845. package/lib/layout/style/index.d.ts +16 -2
  846. package/lib/layout/style/index.js +182 -2
  847. package/lib/layout/style/light.d.ts +5 -0
  848. package/lib/layout/style/light.js +33 -0
  849. package/lib/list/Item.js +11 -11
  850. package/lib/list/index.d.ts +2 -2
  851. package/lib/list/index.js +20 -12
  852. package/lib/list/style/index.d.ts +5 -6
  853. package/lib/list/style/index.js +234 -6
  854. package/lib/locale/en_US.d.ts +3 -2
  855. package/lib/locale/en_US.js +141 -2
  856. package/lib/locale/ku_IQ.js +1 -1
  857. package/lib/locale/zh_CN.js +5 -0
  858. package/lib/locale/zh_HK.js +5 -0
  859. package/lib/locale/zh_TW.js +5 -0
  860. package/lib/locale-provider/LocaleReceiver.js +4 -4
  861. package/lib/locale-provider/index.d.ts +2 -0
  862. package/lib/mentions/index.d.ts +5 -2
  863. package/lib/mentions/index.js +24 -13
  864. package/lib/mentions/style/index.d.ts +7 -3
  865. package/lib/mentions/style/index.js +181 -3
  866. package/lib/menu/MenuContext.d.ts +3 -1
  867. package/lib/menu/MenuDivider.js +1 -1
  868. package/lib/menu/MenuItem.js +5 -5
  869. package/lib/menu/OverrideContext.d.ts +1 -1
  870. package/lib/menu/SubMenu.js +12 -8
  871. package/lib/menu/hooks/useItems.js +1 -1
  872. package/lib/menu/index.d.ts +19 -22
  873. package/lib/menu/index.js +16 -191
  874. package/lib/menu/menu.d.ts +19 -0
  875. package/lib/menu/menu.js +181 -0
  876. package/lib/menu/style/horizontal.d.ts +4 -0
  877. package/lib/menu/style/horizontal.js +48 -0
  878. package/lib/menu/style/index.d.ts +41 -3
  879. package/lib/menu/style/index.js +351 -3
  880. package/lib/menu/style/rtl.d.ts +4 -0
  881. package/lib/menu/style/rtl.js +32 -0
  882. package/lib/menu/style/theme.d.ts +4 -0
  883. package/lib/menu/style/theme.js +159 -0
  884. package/lib/menu/style/vertical.d.ts +4 -0
  885. package/lib/menu/style/vertical.js +143 -0
  886. package/lib/message/PurePanel.d.ts +22 -0
  887. package/lib/message/PurePanel.js +100 -0
  888. package/lib/message/index.d.ts +20 -59
  889. package/lib/message/index.js +272 -219
  890. package/lib/message/interface.d.ts +37 -0
  891. package/lib/message/interface.js +5 -0
  892. package/lib/message/style/index.d.ts +7 -2
  893. package/lib/message/style/index.js +133 -2
  894. package/lib/message/useMessage.d.ts +8 -0
  895. package/lib/message/useMessage.js +257 -0
  896. package/lib/message/util.d.ts +4 -0
  897. package/lib/message/util.js +35 -0
  898. package/lib/modal/ConfirmDialog.d.ts +12 -3
  899. package/lib/modal/ConfirmDialog.js +96 -41
  900. package/lib/modal/Modal.d.ts +4 -10
  901. package/lib/modal/Modal.js +34 -45
  902. package/lib/modal/PurePanel.d.ts +13 -0
  903. package/lib/modal/PurePanel.js +136 -0
  904. package/lib/modal/confirm.js +8 -30
  905. package/lib/modal/index.d.ts +4 -1
  906. package/lib/modal/index.js +3 -0
  907. package/lib/modal/locale.js +3 -3
  908. package/lib/modal/style/index.d.ts +32 -3
  909. package/lib/modal/style/index.js +309 -3
  910. package/lib/modal/useModal/HookModal.js +2 -2
  911. package/lib/modal/useModal/index.js +1 -1
  912. package/lib/notification/PurePanel.d.ts +25 -0
  913. package/lib/notification/PurePanel.js +152 -0
  914. package/lib/notification/index.d.ts +17 -54
  915. package/lib/notification/index.js +214 -318
  916. package/lib/notification/interface.d.ts +51 -0
  917. package/lib/notification/interface.js +5 -0
  918. package/lib/notification/style/index.d.ts +19 -2
  919. package/lib/notification/style/index.js +205 -2
  920. package/lib/notification/style/placement.d.ts +5 -0
  921. package/lib/notification/style/placement.js +71 -0
  922. package/lib/notification/useNotification.d.ts +8 -0
  923. package/lib/notification/useNotification.js +191 -0
  924. package/lib/notification/util.d.ts +5 -0
  925. package/lib/notification/util.js +73 -0
  926. package/lib/pagination/Pagination.d.ts +2 -2
  927. package/lib/pagination/Pagination.js +23 -13
  928. package/lib/pagination/Select.d.ts +4 -4
  929. package/lib/pagination/index.d.ts +1 -1
  930. package/lib/pagination/style/index.d.ts +2 -3
  931. package/lib/pagination/style/index.js +455 -3
  932. package/lib/popconfirm/PurePanel.d.ts +6 -0
  933. package/lib/popconfirm/PurePanel.js +61 -10
  934. package/lib/popconfirm/index.d.ts +4 -6
  935. package/lib/popconfirm/index.js +23 -14
  936. package/lib/popconfirm/style/index.d.ts +8 -4
  937. package/lib/popconfirm/style/index.js +60 -4
  938. package/lib/popover/PurePanel.d.ts +8 -0
  939. package/lib/popover/PurePanel.js +91 -0
  940. package/lib/popover/index.d.ts +4 -1
  941. package/lib/popover/index.js +25 -6
  942. package/lib/popover/style/index.d.ts +12 -2
  943. package/lib/popover/style/index.js +139 -2
  944. package/lib/progress/Circle.d.ts +1 -1
  945. package/lib/progress/Circle.js +31 -43
  946. package/lib/progress/Line.d.ts +1 -3
  947. package/lib/progress/Line.js +13 -14
  948. package/lib/progress/Steps.js +2 -2
  949. package/lib/progress/index.d.ts +1 -1
  950. package/lib/progress/progress.js +31 -27
  951. package/lib/progress/style/index.d.ts +4 -2
  952. package/lib/progress/style/index.js +193 -2
  953. package/lib/progress/utils.d.ts +6 -8
  954. package/lib/progress/utils.js +27 -1
  955. package/lib/radio/group.js +13 -5
  956. package/lib/radio/index.d.ts +2 -2
  957. package/lib/radio/interface.d.ts +2 -1
  958. package/lib/radio/radio.js +25 -16
  959. package/lib/radio/style/index.d.ts +4 -2
  960. package/lib/radio/style/index.js +425 -2
  961. package/lib/rate/index.js +16 -3
  962. package/lib/rate/style/index.d.ts +3 -3
  963. package/lib/rate/style/index.js +103 -3
  964. package/lib/result/index.d.ts +4 -4
  965. package/lib/result/index.js +22 -12
  966. package/lib/result/style/index.d.ts +6 -2
  967. package/lib/result/style/index.js +116 -2
  968. package/lib/row/index.d.ts +2 -2
  969. package/lib/row/style/index.d.ts +2 -2
  970. package/lib/row/style/index.js +8 -2
  971. package/lib/segmented/index.d.ts +1 -1
  972. package/lib/segmented/index.js +15 -5
  973. package/lib/segmented/style/index.d.ts +4 -2
  974. package/lib/segmented/style/index.js +151 -2
  975. package/lib/select/index.d.ts +7 -8
  976. package/lib/select/index.js +31 -11
  977. package/lib/select/style/dropdown.d.ts +4 -0
  978. package/lib/select/style/dropdown.js +108 -0
  979. package/lib/select/style/index.d.ts +10 -3
  980. package/lib/select/style/index.js +224 -3
  981. package/lib/select/style/multiple.d.ts +3 -0
  982. package/lib/select/style/multiple.js +184 -0
  983. package/lib/select/style/single.d.ts +3 -0
  984. package/lib/select/style/single.js +122 -0
  985. package/lib/select/utils/iconUtil.js +1 -1
  986. package/lib/skeleton/Avatar.js +14 -4
  987. package/lib/skeleton/Button.js +14 -4
  988. package/lib/skeleton/Element.js +3 -3
  989. package/lib/skeleton/Image.js +16 -6
  990. package/lib/skeleton/Input.js +14 -4
  991. package/lib/skeleton/Node.js +14 -4
  992. package/lib/skeleton/Skeleton.d.ts +3 -4
  993. package/lib/skeleton/Skeleton.js +17 -8
  994. package/lib/skeleton/index.d.ts +1 -1
  995. package/lib/skeleton/style/index.d.ts +6 -2
  996. package/lib/skeleton/style/index.js +281 -2
  997. package/lib/slider/index.d.ts +13 -24
  998. package/lib/slider/index.js +48 -29
  999. package/lib/slider/style/index.d.ts +11 -3
  1000. package/lib/slider/style/index.js +219 -3
  1001. package/lib/space/Compact.js +15 -5
  1002. package/lib/space/Item.js +1 -1
  1003. package/lib/space/index.d.ts +2 -2
  1004. package/lib/space/index.js +13 -5
  1005. package/lib/space/style/compact.d.ts +8 -0
  1006. package/lib/space/style/compact.js +28 -0
  1007. package/lib/space/style/index.d.ts +5 -2
  1008. package/lib/space/style/index.js +50 -2
  1009. package/lib/spin/index.d.ts +1 -0
  1010. package/lib/spin/index.js +23 -13
  1011. package/lib/spin/style/index.d.ts +5 -2
  1012. package/lib/spin/style/index.js +188 -2
  1013. package/lib/statistic/Countdown.d.ts +1 -1
  1014. package/lib/statistic/Number.js +5 -9
  1015. package/lib/statistic/Statistic.d.ts +3 -3
  1016. package/lib/statistic/Statistic.js +19 -9
  1017. package/lib/statistic/index.d.ts +2 -2
  1018. package/lib/statistic/style/index.d.ts +2 -3
  1019. package/lib/statistic/style/index.js +60 -3
  1020. package/lib/statistic/utils.js +3 -5
  1021. package/lib/steps/index.d.ts +4 -4
  1022. package/lib/steps/index.js +31 -10
  1023. package/lib/steps/style/custom-icon.d.ts +5 -0
  1024. package/lib/steps/style/custom-icon.js +36 -0
  1025. package/lib/steps/style/index.d.ts +53 -3
  1026. package/lib/steps/style/index.js +285 -3
  1027. package/lib/steps/style/inline.d.ts +5 -0
  1028. package/lib/steps/style/inline.js +102 -0
  1029. package/lib/steps/style/label-placement.d.ts +5 -0
  1030. package/lib/steps/style/label-placement.js +56 -0
  1031. package/lib/steps/style/nav.d.ts +5 -0
  1032. package/lib/steps/style/nav.js +116 -0
  1033. package/lib/steps/style/progress-dot.d.ts +5 -0
  1034. package/lib/steps/style/progress-dot.js +109 -0
  1035. package/lib/steps/style/progress.d.ts +5 -0
  1036. package/lib/steps/style/progress.js +43 -0
  1037. package/lib/steps/style/rtl.d.ts +5 -0
  1038. package/lib/steps/style/rtl.js +36 -0
  1039. package/lib/steps/style/small.d.ts +5 -0
  1040. package/lib/steps/style/small.js +63 -0
  1041. package/lib/steps/style/vertical.d.ts +5 -0
  1042. package/lib/steps/style/vertical.js +65 -0
  1043. package/lib/style/compact-item-vertical.d.ts +3 -0
  1044. package/lib/style/compact-item-vertical.js +51 -0
  1045. package/lib/style/compact-item.d.ts +10 -0
  1046. package/lib/style/compact-item.js +58 -0
  1047. package/lib/style/index.d.ts +12 -2
  1048. package/lib/style/index.js +172 -2
  1049. package/lib/style/motion/collapse.d.ts +4 -0
  1050. package/lib/style/motion/collapse.js +27 -0
  1051. package/lib/style/motion/fade.d.ts +7 -0
  1052. package/lib/style/motion/fade.js +50 -0
  1053. package/lib/style/motion/index.d.ts +6 -0
  1054. package/lib/style/motion/index.js +227 -0
  1055. package/lib/style/motion/motion.d.ts +2 -0
  1056. package/lib/style/motion/motion.js +48 -0
  1057. package/lib/style/motion/move.d.ts +15 -0
  1058. package/lib/style/motion/move.js +155 -0
  1059. package/lib/style/motion/slide.d.ts +15 -0
  1060. package/lib/style/motion/slide.js +155 -0
  1061. package/lib/style/motion/zoom.d.ts +19 -0
  1062. package/lib/style/motion/zoom.js +205 -0
  1063. package/lib/style/operationUnit.d.ts +3 -0
  1064. package/lib/style/operationUnit.js +26 -0
  1065. package/lib/style/placementArrow.d.ts +19 -0
  1066. package/lib/style/placementArrow.js +161 -0
  1067. package/lib/style/reset.css +253 -0
  1068. package/lib/style/roundedArrow.d.ts +2 -0
  1069. package/lib/style/roundedArrow.js +61 -0
  1070. package/lib/switch/index.d.ts +1 -2
  1071. package/lib/switch/index.js +16 -6
  1072. package/lib/switch/style/index.d.ts +2 -2
  1073. package/lib/switch/style/index.js +215 -2
  1074. package/lib/table/ExpandIcon.js +2 -2
  1075. package/lib/table/Table.d.ts +5 -6
  1076. package/lib/table/Table.js +23 -18
  1077. package/lib/table/hooks/useFilter/FilterDropdown.js +40 -34
  1078. package/lib/table/hooks/useFilter/FilterSearch.js +2 -2
  1079. package/lib/table/hooks/useFilter/index.js +16 -4
  1080. package/lib/table/hooks/useSelection.js +4 -4
  1081. package/lib/table/hooks/useSorter.js +9 -9
  1082. package/lib/table/index.d.ts +4 -4
  1083. package/lib/table/interface.d.ts +5 -11
  1084. package/lib/table/style/bordered.d.ts +5 -0
  1085. package/lib/table/style/bordered.js +78 -0
  1086. package/lib/table/style/ellipsis.d.ts +5 -0
  1087. package/lib/table/style/ellipsis.js +36 -0
  1088. package/lib/table/style/empty.d.ts +5 -0
  1089. package/lib/table/style/empty.js +25 -0
  1090. package/lib/table/style/expand.d.ts +5 -0
  1091. package/lib/table/style/expand.js +121 -0
  1092. package/lib/table/style/filter.d.ts +4 -0
  1093. package/lib/table/style/filter.js +134 -0
  1094. package/lib/table/style/fixed.d.ts +5 -0
  1095. package/lib/table/style/fixed.js +92 -0
  1096. package/lib/table/style/index.d.ts +48 -12
  1097. package/lib/table/style/index.js +229 -12
  1098. package/lib/table/style/pagination.d.ts +5 -0
  1099. package/lib/table/style/pagination.js +39 -0
  1100. package/lib/table/style/radius.d.ts +5 -0
  1101. package/lib/table/style/radius.js +50 -0
  1102. package/lib/table/style/rtl.d.ts +5 -0
  1103. package/lib/table/style/rtl.js +39 -0
  1104. package/lib/table/style/selection.d.ts +5 -0
  1105. package/lib/table/style/selection.js +59 -0
  1106. package/lib/table/style/size.d.ts +5 -0
  1107. package/lib/table/style/size.js +40 -0
  1108. package/lib/table/style/sorter.d.ts +5 -0
  1109. package/lib/table/style/sorter.js +82 -0
  1110. package/lib/table/style/sticky.d.ts +5 -0
  1111. package/lib/table/style/sticky.js +57 -0
  1112. package/lib/table/style/summary.d.ts +5 -0
  1113. package/lib/table/style/summary.js +34 -0
  1114. package/lib/table/util.js +1 -1
  1115. package/lib/tabs/index.d.ts +3 -3
  1116. package/lib/tabs/index.js +17 -5
  1117. package/lib/tabs/style/index.d.ts +20 -2
  1118. package/lib/tabs/style/index.js +614 -2
  1119. package/lib/tabs/style/motion.d.ts +4 -0
  1120. package/lib/tabs/style/motion.js +45 -0
  1121. package/lib/tag/CheckableTag.js +14 -4
  1122. package/lib/tag/index.d.ts +1 -1
  1123. package/lib/tag/index.js +18 -15
  1124. package/lib/tag/style/index.d.ts +4 -2
  1125. package/lib/tag/style/index.js +139 -2
  1126. package/lib/theme/index.d.ts +21 -0
  1127. package/lib/theme/index.js +52 -0
  1128. package/lib/theme/interface/alias.d.ts +133 -0
  1129. package/lib/theme/interface/alias.js +5 -0
  1130. package/lib/theme/interface/components.d.ts +110 -0
  1131. package/lib/theme/interface/components.js +5 -0
  1132. package/lib/theme/interface/index.d.ts +13 -0
  1133. package/lib/theme/interface/index.js +13 -0
  1134. package/lib/theme/interface/maps/colors.d.ts +342 -0
  1135. package/lib/theme/interface/maps/colors.js +5 -0
  1136. package/lib/theme/interface/maps/index.d.ts +15 -0
  1137. package/lib/theme/interface/maps/index.js +44 -0
  1138. package/lib/theme/interface/maps/size.d.ts +49 -0
  1139. package/lib/theme/interface/maps/size.js +5 -0
  1140. package/lib/theme/interface/maps/style.d.ts +33 -0
  1141. package/lib/theme/interface/maps/style.js +5 -0
  1142. package/lib/theme/interface/presetColors.d.ts +8 -0
  1143. package/lib/theme/interface/presetColors.js +8 -0
  1144. package/lib/theme/interface/seeds.d.ts +139 -0
  1145. package/lib/theme/interface/seeds.js +5 -0
  1146. package/lib/theme/internal.d.ts +23 -0
  1147. package/lib/theme/internal.js +108 -0
  1148. package/lib/theme/themes/ColorMap.d.ts +15 -0
  1149. package/lib/theme/themes/ColorMap.js +5 -0
  1150. package/lib/theme/themes/compact/genCompactSizeMapToken.d.ts +2 -0
  1151. package/lib/theme/themes/compact/genCompactSizeMapToken.js +23 -0
  1152. package/lib/theme/themes/compact/index.d.ts +4 -0
  1153. package/lib/theme/themes/compact/index.js +42 -0
  1154. package/lib/theme/themes/dark/colorAlgorithm.d.ts +2 -0
  1155. package/lib/theme/themes/dark/colorAlgorithm.js +21 -0
  1156. package/lib/theme/themes/dark/colors.d.ts +3 -0
  1157. package/lib/theme/themes/dark/colors.js +58 -0
  1158. package/lib/theme/themes/dark/index.d.ts +4 -0
  1159. package/lib/theme/themes/dark/index.js +43 -0
  1160. package/lib/theme/themes/default/colorAlgorithm.d.ts +2 -0
  1161. package/lib/theme/themes/default/colorAlgorithm.js +21 -0
  1162. package/lib/theme/themes/default/colors.d.ts +3 -0
  1163. package/lib/theme/themes/default/colors.js +56 -0
  1164. package/lib/theme/themes/default/index.d.ts +2 -0
  1165. package/lib/theme/themes/default/index.js +41 -0
  1166. package/lib/theme/themes/seed.d.ts +4 -0
  1167. package/lib/theme/themes/seed.js +71 -0
  1168. package/lib/theme/themes/shared/genColorMapToken.d.ts +8 -0
  1169. package/lib/theme/themes/shared/genColorMapToken.js +84 -0
  1170. package/lib/theme/themes/shared/genCommonMapToken.d.ts +2 -0
  1171. package/lib/theme/themes/shared/genCommonMapToken.js +38 -0
  1172. package/lib/theme/themes/shared/genControlHeight.d.ts +3 -0
  1173. package/lib/theme/themes/shared/genControlHeight.js +18 -0
  1174. package/lib/theme/themes/shared/genFontSizes.d.ts +4 -0
  1175. package/lib/theme/themes/shared/genFontSizes.js +24 -0
  1176. package/lib/theme/themes/shared/genRadius.d.ts +3 -0
  1177. package/lib/theme/themes/shared/genRadius.js +59 -0
  1178. package/lib/theme/themes/shared/genSizeMapToken.d.ts +2 -0
  1179. package/lib/theme/themes/shared/genSizeMapToken.js +23 -0
  1180. package/lib/theme/util/alias.d.ts +12 -0
  1181. package/lib/theme/util/alias.js +177 -0
  1182. package/lib/theme/util/genComponentStyleHook.d.ts +25 -0
  1183. package/lib/theme/util/genComponentStyleHook.js +79 -0
  1184. package/lib/theme/util/getAlphaColor.d.ts +2 -0
  1185. package/lib/theme/util/getAlphaColor.js +54 -0
  1186. package/lib/theme/util/statistic.d.ts +18 -0
  1187. package/lib/theme/util/statistic.js +97 -0
  1188. package/lib/time-picker/index.d.ts +6 -14
  1189. package/lib/time-picker/index.js +11 -11
  1190. package/lib/timeline/Timeline.d.ts +3 -3
  1191. package/lib/timeline/Timeline.js +22 -12
  1192. package/lib/timeline/TimelineItem.js +5 -5
  1193. package/lib/timeline/index.d.ts +2 -2
  1194. package/lib/timeline/style/index.d.ts +4 -2
  1195. package/lib/timeline/style/index.js +156 -2
  1196. package/lib/tooltip/PurePanel.d.ts +5 -0
  1197. package/lib/tooltip/PurePanel.js +60 -0
  1198. package/lib/tooltip/index.d.ts +14 -23
  1199. package/lib/tooltip/index.js +49 -43
  1200. package/lib/tooltip/style/index.d.ts +7 -2
  1201. package/lib/tooltip/style/index.js +132 -2
  1202. package/lib/tooltip/util.d.ts +6 -0
  1203. package/lib/tooltip/util.js +36 -0
  1204. package/lib/tour/PurePanel.d.ts +6 -0
  1205. package/lib/tour/PurePanel.js +75 -0
  1206. package/lib/tour/index.d.ts +7 -0
  1207. package/lib/tour/index.js +86 -0
  1208. package/lib/tour/interface.d.ts +28 -0
  1209. package/lib/tour/interface.js +5 -0
  1210. package/lib/tour/panelRender.d.ts +4 -0
  1211. package/lib/tour/panelRender.js +132 -0
  1212. package/lib/tour/style/index.d.ts +4 -0
  1213. package/lib/tour/style/index.js +189 -0
  1214. package/lib/transfer/ListBody.js +2 -2
  1215. package/lib/transfer/ListItem.js +6 -6
  1216. package/lib/transfer/index.d.ts +3 -3
  1217. package/lib/transfer/index.js +26 -7
  1218. package/lib/transfer/list.js +13 -13
  1219. package/lib/transfer/style/index.d.ts +7 -8
  1220. package/lib/transfer/style/index.js +276 -8
  1221. package/lib/tree/DirectoryTree.js +1 -1
  1222. package/lib/tree/Tree.js +19 -8
  1223. package/lib/tree/index.d.ts +4 -4
  1224. package/lib/tree/style/index.d.ts +13 -2
  1225. package/lib/tree/style/index.js +353 -2
  1226. package/lib/tree/utils/dropIndicator.js +1 -1
  1227. package/lib/tree/utils/iconUtil.js +7 -7
  1228. package/lib/tree-select/index.d.ts +7 -8
  1229. package/lib/tree-select/index.js +37 -10
  1230. package/lib/tree-select/style/index.d.ts +1 -4
  1231. package/lib/tree-select/style/index.js +53 -4
  1232. package/lib/typography/Base/index.js +4 -4
  1233. package/lib/typography/Editable.d.ts +1 -1
  1234. package/lib/typography/Editable.js +13 -5
  1235. package/lib/typography/Title.js +1 -1
  1236. package/lib/typography/Typography.js +19 -10
  1237. package/lib/typography/style/index.d.ts +9 -4
  1238. package/lib/typography/style/index.js +70 -4
  1239. package/lib/typography/style/mixins.d.ts +9 -0
  1240. package/lib/typography/style/mixins.js +236 -0
  1241. package/lib/upload/Upload.js +28 -19
  1242. package/lib/upload/UploadList/ListItem.js +17 -35
  1243. package/lib/upload/UploadList/index.js +14 -12
  1244. package/lib/upload/index.d.ts +5 -5
  1245. package/lib/upload/interface.d.ts +1 -0
  1246. package/lib/upload/style/dragger.d.ts +4 -0
  1247. package/lib/upload/style/dragger.js +59 -0
  1248. package/lib/upload/style/index.d.ts +10 -5
  1249. package/lib/upload/style/index.js +58 -5
  1250. package/lib/upload/style/list.d.ts +4 -0
  1251. package/lib/upload/style/list.js +101 -0
  1252. package/lib/upload/style/motion.d.ts +4 -0
  1253. package/lib/upload/style/motion.js +50 -0
  1254. package/lib/upload/style/picture.d.ts +5 -0
  1255. package/lib/upload/style/picture.js +173 -0
  1256. package/lib/upload/style/rtl.d.ts +4 -0
  1257. package/lib/upload/style/rtl.js +21 -0
  1258. package/lib/upload/utils.js +1 -1
  1259. package/lib/version/token-meta.json +1 -0
  1260. package/lib/version/token.json +1 -0
  1261. package/lib/version/version.d.ts +1 -1
  1262. package/lib/version/version.js +1 -1
  1263. package/package.json +27 -49
  1264. package/dist/fui.min.css +0 -2
  1265. package/dist/fui.min.js +0 -1
  1266. package/es/_util/wave.d.ts +0 -32
  1267. package/es/_util/wave.js +0 -247
  1268. package/es/affix/style/css.js +0 -2
  1269. package/es/affix/style/index-pure.less +0 -6
  1270. package/es/affix/style/index.css +0 -8
  1271. package/es/affix/style/index.less +0 -3
  1272. package/es/alert/style/css.js +0 -2
  1273. package/es/alert/style/index-pure.less +0 -155
  1274. package/es/alert/style/index.css +0 -156
  1275. package/es/alert/style/index.less +0 -3
  1276. package/es/alert/style/rtl.less +0 -40
  1277. package/es/anchor/style/css.js +0 -4
  1278. package/es/anchor/style/index-pure.less +0 -86
  1279. package/es/anchor/style/index.css +0 -100
  1280. package/es/anchor/style/index.less +0 -3
  1281. package/es/anchor/style/rtl.less +0 -35
  1282. package/es/auto-complete/style/css.js +0 -4
  1283. package/es/auto-complete/style/index-pure.less +0 -16
  1284. package/es/auto-complete/style/index.css +0 -18
  1285. package/es/auto-complete/style/index.d.ts +0 -3
  1286. package/es/auto-complete/style/index.js +0 -4
  1287. package/es/auto-complete/style/index.less +0 -3
  1288. package/es/avatar/style/css.js +0 -5
  1289. package/es/avatar/style/group.less +0 -17
  1290. package/es/avatar/style/index-pure.less +0 -70
  1291. package/es/avatar/style/index.css +0 -108
  1292. package/es/avatar/style/index.less +0 -3
  1293. package/es/avatar/style/rtl.less +0 -15
  1294. package/es/back-top/style/css.js +0 -2
  1295. package/es/back-top/style/index-pure.less +0 -49
  1296. package/es/back-top/style/index.css +0 -66
  1297. package/es/back-top/style/index.less +0 -3
  1298. package/es/back-top/style/responsive.less +0 -21
  1299. package/es/badge/style/css.js +0 -2
  1300. package/es/badge/style/index-pure.less +0 -281
  1301. package/es/badge/style/index.css +0 -460
  1302. package/es/badge/style/index.less +0 -3
  1303. package/es/badge/style/ribbon.less +0 -81
  1304. package/es/badge/style/rtl.less +0 -100
  1305. package/es/breadcrumb/style/css.js +0 -5
  1306. package/es/breadcrumb/style/index-pure.less +0 -64
  1307. package/es/breadcrumb/style/index.css +0 -77
  1308. package/es/breadcrumb/style/index.less +0 -3
  1309. package/es/breadcrumb/style/rtl.less +0 -29
  1310. package/es/button/style/css.js +0 -2
  1311. package/es/button/style/index-pure.less +0 -293
  1312. package/es/button/style/index.css +0 -1987
  1313. package/es/button/style/index.less +0 -3
  1314. package/es/button/style/mixin.less +0 -589
  1315. package/es/button/style/rtl.less +0 -90
  1316. package/es/button/style/space-compact.less +0 -88
  1317. package/es/calendar/style/css.js +0 -7
  1318. package/es/calendar/style/index-pure.less +0 -196
  1319. package/es/calendar/style/index.css +0 -175
  1320. package/es/calendar/style/index.less +0 -3
  1321. package/es/calendar/style/rtl.less +0 -46
  1322. package/es/card/style/css.js +0 -5
  1323. package/es/card/style/index-pure.less +0 -276
  1324. package/es/card/style/index.css +0 -275
  1325. package/es/card/style/index.less +0 -3
  1326. package/es/card/style/size.less +0 -20
  1327. package/es/carousel/style/css.js +0 -2
  1328. package/es/carousel/style/index-pure.less +0 -304
  1329. package/es/carousel/style/index.css +0 -286
  1330. package/es/carousel/style/index.less +0 -3
  1331. package/es/carousel/style/rtl.less +0 -54
  1332. package/es/cascader/style/css.js +0 -5
  1333. package/es/cascader/style/index-pure.less +0 -108
  1334. package/es/cascader/style/index.css +0 -332
  1335. package/es/cascader/style/index.less +0 -3
  1336. package/es/cascader/style/rtl.less +0 -19
  1337. package/es/checkbox/style/css.js +0 -2
  1338. package/es/checkbox/style/index-pure.less +0 -6
  1339. package/es/checkbox/style/index.css +0 -225
  1340. package/es/checkbox/style/index.less +0 -3
  1341. package/es/checkbox/style/mixin.less +0 -241
  1342. package/es/checkbox/style/rtl.less +0 -28
  1343. package/es/col/style/css.js +0 -4
  1344. package/es/collapse/style/css.js +0 -2
  1345. package/es/collapse/style/index-pure.less +0 -174
  1346. package/es/collapse/style/index.css +0 -174
  1347. package/es/collapse/style/index.less +0 -3
  1348. package/es/collapse/style/rtl.less +0 -68
  1349. package/es/comment/index.d.ts +0 -23
  1350. package/es/comment/index.js +0 -77
  1351. package/es/comment/style/css.js +0 -2
  1352. package/es/comment/style/index-pure.less +0 -105
  1353. package/es/comment/style/index.css +0 -112
  1354. package/es/comment/style/index.d.ts +0 -2
  1355. package/es/comment/style/index.js +0 -2
  1356. package/es/comment/style/index.less +0 -3
  1357. package/es/comment/style/rtl.less +0 -51
  1358. package/es/config-provider/style/css.js +0 -1
  1359. package/es/config-provider/style/index-pure.less +0 -2
  1360. package/es/config-provider/style/index.css +0 -4
  1361. package/es/config-provider/style/index.less +0 -3
  1362. package/es/date-picker/PickerTag.d.ts +0 -3
  1363. package/es/date-picker/PickerTag.js +0 -8
  1364. package/es/date-picker/style/css.js +0 -4
  1365. package/es/date-picker/style/index-pure.less +0 -366
  1366. package/es/date-picker/style/index.css +0 -1099
  1367. package/es/date-picker/style/index.less +0 -3
  1368. package/es/date-picker/style/panel.less +0 -677
  1369. package/es/date-picker/style/rtl.less +0 -246
  1370. package/es/date-picker/style/status.less +0 -38
  1371. package/es/descriptions/style/css.js +0 -2
  1372. package/es/descriptions/style/index-pure.less +0 -179
  1373. package/es/descriptions/style/index.css +0 -139
  1374. package/es/descriptions/style/index.less +0 -3
  1375. package/es/descriptions/style/rtl.less +0 -33
  1376. package/es/divider/style/css.js +0 -2
  1377. package/es/divider/style/index-pure.less +0 -137
  1378. package/es/divider/style/index.css +0 -126
  1379. package/es/divider/style/index.less +0 -3
  1380. package/es/divider/style/rtl.less +0 -38
  1381. package/es/drawer/style/css.js +0 -3
  1382. package/es/drawer/style/drawer.less +0 -160
  1383. package/es/drawer/style/index-pure.less +0 -7
  1384. package/es/drawer/style/index.css +0 -265
  1385. package/es/drawer/style/index.less +0 -3
  1386. package/es/drawer/style/motion.less +0 -146
  1387. package/es/drawer/style/rtl.less +0 -16
  1388. package/es/dropdown/style/css.js +0 -6
  1389. package/es/dropdown/style/index-pure.less +0 -389
  1390. package/es/dropdown/style/index.css +0 -400
  1391. package/es/dropdown/style/index.less +0 -3
  1392. package/es/dropdown/style/rtl.less +0 -90
  1393. package/es/dropdown/style/status.less +0 -14
  1394. package/es/empty/style/css.js +0 -2
  1395. package/es/empty/style/index-pure.less +0 -151
  1396. package/es/empty/style/index.css +0 -72
  1397. package/es/empty/style/index.less +0 -3
  1398. package/es/empty/style/rtl.less +0 -10
  1399. package/es/form/style/components.less +0 -16
  1400. package/es/form/style/css.js +0 -5
  1401. package/es/form/style/horizontal.less +0 -22
  1402. package/es/form/style/index-pure.less +0 -332
  1403. package/es/form/style/index.css +0 -572
  1404. package/es/form/style/index.less +0 -3
  1405. package/es/form/style/inline.less +0 -38
  1406. package/es/form/style/mixin.less +0 -78
  1407. package/es/form/style/rtl.less +0 -204
  1408. package/es/form/style/status.less +0 -42
  1409. package/es/form/style/vertical.less +0 -93
  1410. package/es/grid/style/css.js +0 -2
  1411. package/es/grid/style/index-pure.less +0 -124
  1412. package/es/grid/style/index.css +0 -5185
  1413. package/es/grid/style/index.less +0 -3
  1414. package/es/grid/style/mixin.less +0 -56
  1415. package/es/grid/style/rtl.less +0 -69
  1416. package/es/icon/style/css.js +0 -2
  1417. package/es/icon/style/index-pure.less +0 -4
  1418. package/es/icon/style/index.css +0 -4
  1419. package/es/icon/style/index.d.ts +0 -2
  1420. package/es/icon/style/index.js +0 -2
  1421. package/es/icon/style/index.less +0 -3
  1422. package/es/image/style/css.js +0 -2
  1423. package/es/image/style/index-pure.less +0 -203
  1424. package/es/image/style/index.css +0 -232
  1425. package/es/image/style/index.less +0 -3
  1426. package/es/input/style/IE11.less +0 -20
  1427. package/es/input/style/affix.less +0 -78
  1428. package/es/input/style/allow-clear.less +0 -43
  1429. package/es/input/style/css.js +0 -5
  1430. package/es/input/style/index-pure.less +0 -88
  1431. package/es/input/style/index.css +0 -929
  1432. package/es/input/style/index.less +0 -3
  1433. package/es/input/style/mixin.less +0 -470
  1434. package/es/input/style/rtl.less +0 -210
  1435. package/es/input/style/search-input.less +0 -117
  1436. package/es/input/style/status.less +0 -42
  1437. package/es/input-number/style/affix.less +0 -83
  1438. package/es/input-number/style/css.js +0 -2
  1439. package/es/input-number/style/index-pure.less +0 -243
  1440. package/es/input-number/style/index.css +0 -915
  1441. package/es/input-number/style/index.less +0 -3
  1442. package/es/input-number/style/rtl.less +0 -71
  1443. package/es/input-number/style/status.less +0 -29
  1444. package/es/layout/style/css.js +0 -2
  1445. package/es/layout/style/index-pure.less +0 -145
  1446. package/es/layout/style/index.css +0 -128
  1447. package/es/layout/style/index.less +0 -3
  1448. package/es/layout/style/light.less +0 -11
  1449. package/es/layout/style/rtl.less +0 -10
  1450. package/es/list/style/bordered.less +0 -44
  1451. package/es/list/style/css.js +0 -7
  1452. package/es/list/style/customize.less +0 -13
  1453. package/es/list/style/index-pure.less +0 -249
  1454. package/es/list/style/index.css +0 -317
  1455. package/es/list/style/index.less +0 -3
  1456. package/es/list/style/responsive.less +0 -43
  1457. package/es/list/style/rtl.less +0 -139
  1458. package/es/locale/default.d.ts +0 -3
  1459. package/es/locale/default.js +0 -132
  1460. package/es/locale-provider/default.d.ts +0 -2
  1461. package/es/locale-provider/default.js +0 -2
  1462. package/es/locale-provider/style/css.js +0 -1
  1463. package/es/locale-provider/style/index-pure.less +0 -2
  1464. package/es/locale-provider/style/index.css +0 -4
  1465. package/es/locale-provider/style/index.d.ts +0 -1
  1466. package/es/locale-provider/style/index.js +0 -1
  1467. package/es/locale-provider/style/index.less +0 -3
  1468. package/es/mentions/style/css.js +0 -4
  1469. package/es/mentions/style/index-pure.less +0 -179
  1470. package/es/mentions/style/index.css +0 -322
  1471. package/es/mentions/style/index.less +0 -3
  1472. package/es/mentions/style/rtl.less +0 -10
  1473. package/es/mentions/style/status.less +0 -16
  1474. package/es/menu/style/css.js +0 -5
  1475. package/es/menu/style/dark.less +0 -177
  1476. package/es/menu/style/index-pure.less +0 -700
  1477. package/es/menu/style/index.css +0 -919
  1478. package/es/menu/style/index.less +0 -3
  1479. package/es/menu/style/light.less +0 -12
  1480. package/es/menu/style/rtl.less +0 -165
  1481. package/es/menu/style/status.less +0 -49
  1482. package/es/message/hooks/useMessage.d.ts +0 -7
  1483. package/es/message/hooks/useMessage.js +0 -84
  1484. package/es/message/style/css.js +0 -2
  1485. package/es/message/style/index-pure.less +0 -74
  1486. package/es/message/style/index.css +0 -78
  1487. package/es/message/style/index.less +0 -3
  1488. package/es/message/style/rtl.less +0 -17
  1489. package/es/modal/style/confirm.less +0 -79
  1490. package/es/modal/style/css.js +0 -5
  1491. package/es/modal/style/index-pure.less +0 -7
  1492. package/es/modal/style/index.css +0 -255
  1493. package/es/modal/style/index.less +0 -3
  1494. package/es/modal/style/modal.less +0 -136
  1495. package/es/modal/style/rtl.less +0 -74
  1496. package/es/notification/hooks/useNotification.d.ts +0 -7
  1497. package/es/notification/hooks/useNotification.js +0 -55
  1498. package/es/notification/style/css.js +0 -2
  1499. package/es/notification/style/index-pure.less +0 -207
  1500. package/es/notification/style/index.css +0 -246
  1501. package/es/notification/style/index.less +0 -3
  1502. package/es/notification/style/placement.less +0 -68
  1503. package/es/notification/style/rtl.less +0 -53
  1504. package/es/page-header/index.d.ts +0 -24
  1505. package/es/page-header/index.js +0 -165
  1506. package/es/page-header/style/css.js +0 -5
  1507. package/es/page-header/style/index-pure.less +0 -122
  1508. package/es/page-header/style/index.css +0 -151
  1509. package/es/page-header/style/index.d.ts +0 -4
  1510. package/es/page-header/style/index.js +0 -5
  1511. package/es/page-header/style/index.less +0 -3
  1512. package/es/page-header/style/rtl.less +0 -77
  1513. package/es/pagination/style/css.js +0 -5
  1514. package/es/pagination/style/index-pure.less +0 -472
  1515. package/es/pagination/style/index.css +0 -553
  1516. package/es/pagination/style/index.less +0 -3
  1517. package/es/pagination/style/rtl.less +0 -55
  1518. package/es/popconfirm/style/css.js +0 -6
  1519. package/es/popconfirm/style/index-pure.less +0 -8
  1520. package/es/popconfirm/style/index.css +0 -7
  1521. package/es/popconfirm/style/index.less +0 -3
  1522. package/es/popover/style/css.js +0 -3
  1523. package/es/popover/style/index-pure.less +0 -261
  1524. package/es/popover/style/index.css +0 -329
  1525. package/es/popover/style/index.less +0 -3
  1526. package/es/popover/style/rtl.less +0 -39
  1527. package/es/progress/style/css.js +0 -2
  1528. package/es/progress/style/index-pure.less +0 -210
  1529. package/es/progress/style/index.css +0 -190
  1530. package/es/progress/style/index.less +0 -3
  1531. package/es/progress/style/rtl.less +0 -37
  1532. package/es/radio/style/css.js +0 -2
  1533. package/es/radio/style/index-pure.less +0 -371
  1534. package/es/radio/style/index.css +0 -349
  1535. package/es/radio/style/index.less +0 -3
  1536. package/es/radio/style/rtl.less +0 -61
  1537. package/es/rate/style/css.js +0 -4
  1538. package/es/rate/style/index-pure.less +0 -91
  1539. package/es/rate/style/index.css +0 -94
  1540. package/es/rate/style/index.less +0 -3
  1541. package/es/rate/style/rtl.less +0 -21
  1542. package/es/result/style/css.js +0 -2
  1543. package/es/result/style/index-pure.less +0 -75
  1544. package/es/result/style/index.css +0 -68
  1545. package/es/result/style/index.less +0 -3
  1546. package/es/result/style/rtl.less +0 -25
  1547. package/es/row/style/css.js +0 -4
  1548. package/es/segmented/style/css.js +0 -2
  1549. package/es/segmented/style/index-pure.less +0 -122
  1550. package/es/segmented/style/index.css +0 -132
  1551. package/es/segmented/style/index.less +0 -3
  1552. package/es/segmented/style/mixins.less +0 -24
  1553. package/es/segmented/style/rtl.less +0 -15
  1554. package/es/select/style/css.js +0 -4
  1555. package/es/select/style/index-pure.less +0 -333
  1556. package/es/select/style/index.css +0 -740
  1557. package/es/select/style/index.less +0 -3
  1558. package/es/select/style/multiple.less +0 -222
  1559. package/es/select/style/rtl.less +0 -168
  1560. package/es/select/style/single.less +0 -172
  1561. package/es/select/style/status.less +0 -49
  1562. package/es/skeleton/style/css.js +0 -2
  1563. package/es/skeleton/style/index-pure.less +0 -290
  1564. package/es/skeleton/style/index.css +0 -282
  1565. package/es/skeleton/style/index.less +0 -3
  1566. package/es/skeleton/style/rtl.less +0 -48
  1567. package/es/slider/style/css.js +0 -4
  1568. package/es/slider/style/index-pure.less +0 -215
  1569. package/es/slider/style/index.css +0 -202
  1570. package/es/slider/style/index.less +0 -3
  1571. package/es/slider/style/rtl.less +0 -49
  1572. package/es/space/style/compact.less +0 -17
  1573. package/es/space/style/css.js +0 -2
  1574. package/es/space/style/index-pure.less +0 -40
  1575. package/es/space/style/index.css +0 -41
  1576. package/es/space/style/index.less +0 -3
  1577. package/es/space/style/rtl.less +0 -14
  1578. package/es/spin/style/css.js +0 -2
  1579. package/es/spin/style/index-pure.less +0 -218
  1580. package/es/spin/style/index.css +0 -198
  1581. package/es/spin/style/index.less +0 -3
  1582. package/es/spin/style/rtl.less +0 -20
  1583. package/es/statistic/style/css.js +0 -4
  1584. package/es/statistic/style/index-pure.less +0 -44
  1585. package/es/statistic/style/index.css +0 -53
  1586. package/es/statistic/style/index.less +0 -3
  1587. package/es/statistic/style/rtl.less +0 -21
  1588. package/es/steps/style/css.js +0 -5
  1589. package/es/steps/style/custom-icon.less +0 -32
  1590. package/es/steps/style/index-pure.less +0 -255
  1591. package/es/steps/style/index.css +0 -754
  1592. package/es/steps/style/index.less +0 -3
  1593. package/es/steps/style/label-placement.less +0 -45
  1594. package/es/steps/style/nav.less +0 -134
  1595. package/es/steps/style/progress-dot.less +0 -113
  1596. package/es/steps/style/progress.less +0 -36
  1597. package/es/steps/style/rtl.less +0 -271
  1598. package/es/steps/style/small.less +0 -48
  1599. package/es/steps/style/vertical.less +0 -73
  1600. package/es/style/color/bezierEasing.less +0 -110
  1601. package/es/style/color/colorPalette.less +0 -85
  1602. package/es/style/color/colors.less +0 -162
  1603. package/es/style/color/tinyColor.less +0 -1184
  1604. package/es/style/compact.less +0 -4
  1605. package/es/style/core/base.less +0 -10
  1606. package/es/style/core/global.less +0 -491
  1607. package/es/style/core/iconfont.less +0 -22
  1608. package/es/style/core/index.less +0 -5
  1609. package/es/style/core/motion/fade.less +0 -34
  1610. package/es/style/core/motion/move.less +0 -129
  1611. package/es/style/core/motion/other.less +0 -51
  1612. package/es/style/core/motion/slide.less +0 -129
  1613. package/es/style/core/motion/zoom.less +0 -179
  1614. package/es/style/core/motion.less +0 -22
  1615. package/es/style/dark.less +0 -4
  1616. package/es/style/default.less +0 -4
  1617. package/es/style/index.less +0 -3
  1618. package/es/style/mixins/box.less +0 -7
  1619. package/es/style/mixins/clearfix.less +0 -16
  1620. package/es/style/mixins/compact-item-vertical.less +0 -41
  1621. package/es/style/mixins/compact-item.less +0 -133
  1622. package/es/style/mixins/compatibility.less +0 -13
  1623. package/es/style/mixins/customize.less +0 -181
  1624. package/es/style/mixins/iconfont.less +0 -28
  1625. package/es/style/mixins/index.less +0 -16
  1626. package/es/style/mixins/modal-mask.less +0 -30
  1627. package/es/style/mixins/motion.less +0 -33
  1628. package/es/style/mixins/operation-unit.less +0 -15
  1629. package/es/style/mixins/reset.less +0 -11
  1630. package/es/style/mixins/rounded-arrow.less +0 -44
  1631. package/es/style/mixins/size.less +0 -10
  1632. package/es/style/mixins/typography.less +0 -58
  1633. package/es/style/theme.less +0 -34
  1634. package/es/style/themes/compact.less +0 -295
  1635. package/es/style/themes/dark.less +0 -457
  1636. package/es/style/themes/default.less +0 -1084
  1637. package/es/style/themes/index.less +0 -7
  1638. package/es/style/themes/variable.less +0 -1139
  1639. package/es/style/variable.less +0 -4
  1640. package/es/switch/style/css.js +0 -2
  1641. package/es/switch/style/index-pure.less +0 -154
  1642. package/es/switch/style/index.css +0 -153
  1643. package/es/switch/style/index.less +0 -3
  1644. package/es/switch/style/rtl.less +0 -52
  1645. package/es/table/style/bordered.less +0 -136
  1646. package/es/table/style/css.js +0 -15
  1647. package/es/table/style/index-pure.less +0 -763
  1648. package/es/table/style/index.css +0 -845
  1649. package/es/table/style/index.less +0 -3
  1650. package/es/table/style/radius.less +0 -49
  1651. package/es/table/style/rtl.less +0 -168
  1652. package/es/table/style/size.less +0 -51
  1653. package/es/tabs/style/card.less +0 -98
  1654. package/es/tabs/style/css.js +0 -2
  1655. package/es/tabs/style/dropdown.less +0 -82
  1656. package/es/tabs/style/index-pure.less +0 -253
  1657. package/es/tabs/style/index.css +0 -630
  1658. package/es/tabs/style/index.less +0 -3
  1659. package/es/tabs/style/position.less +0 -198
  1660. package/es/tabs/style/rtl.less +0 -86
  1661. package/es/tabs/style/size.less +0 -42
  1662. package/es/tag/style/css.js +0 -2
  1663. package/es/tag/style/index-pure.less +0 -129
  1664. package/es/tag/style/index.css +0 -247
  1665. package/es/tag/style/index.less +0 -3
  1666. package/es/tag/style/rtl.less +0 -28
  1667. package/es/time-picker/style/css.js +0 -4
  1668. package/es/time-picker/style/index-pure.less +0 -3
  1669. package/es/time-picker/style/index.css +0 -4
  1670. package/es/time-picker/style/index.d.ts +0 -3
  1671. package/es/time-picker/style/index.js +0 -4
  1672. package/es/time-picker/style/index.less +0 -3
  1673. package/es/timeline/style/css.js +0 -2
  1674. package/es/timeline/style/index-pure.less +0 -185
  1675. package/es/timeline/style/index.css +0 -236
  1676. package/es/timeline/style/index.less +0 -3
  1677. package/es/timeline/style/rtl.less +0 -135
  1678. package/es/tooltip/style/css.js +0 -2
  1679. package/es/tooltip/style/index-pure.less +0 -224
  1680. package/es/tooltip/style/index.css +0 -274
  1681. package/es/tooltip/style/index.less +0 -3
  1682. package/es/tooltip/style/rtl.less +0 -14
  1683. package/es/transfer/style/css.js +0 -9
  1684. package/es/transfer/style/customize.less +0 -52
  1685. package/es/transfer/style/index-pure.less +0 -222
  1686. package/es/transfer/style/index.css +0 -281
  1687. package/es/transfer/style/index.less +0 -3
  1688. package/es/transfer/style/rtl.less +0 -71
  1689. package/es/transfer/style/status.less +0 -31
  1690. package/es/tree/style/css.js +0 -2
  1691. package/es/tree/style/directory.less +0 -72
  1692. package/es/tree/style/index-pure.less +0 -16
  1693. package/es/tree/style/index.css +0 -532
  1694. package/es/tree/style/index.less +0 -3
  1695. package/es/tree/style/mixin.less +0 -337
  1696. package/es/tree/style/rtl.less +0 -72
  1697. package/es/tree-select/style/css.js +0 -6
  1698. package/es/tree-select/style/index-pure.less +0 -57
  1699. package/es/tree-select/style/index.css +0 -481
  1700. package/es/tree-select/style/index.less +0 -3
  1701. package/es/typography/style/css.js +0 -5
  1702. package/es/typography/style/index-pure.less +0 -314
  1703. package/es/typography/style/index.css +0 -369
  1704. package/es/typography/style/index.less +0 -3
  1705. package/es/typography/style/rtl.less +0 -54
  1706. package/es/upload/style/css.js +0 -7
  1707. package/es/upload/style/index-pure.less +0 -565
  1708. package/es/upload/style/index.css +0 -588
  1709. package/es/upload/style/index.less +0 -3
  1710. package/es/upload/style/rtl.less +0 -165
  1711. package/es/version/style/css.js +0 -2
  1712. package/es/version/style/index.d.ts +0 -1
  1713. package/es/version/style/index.js +0 -2
  1714. package/es/version/token.d.ts +0 -319
  1715. package/es/version/token.js +0 -318
  1716. package/lib/_util/wave.d.ts +0 -32
  1717. package/lib/_util/wave.js +0 -270
  1718. package/lib/affix/style/css.js +0 -5
  1719. package/lib/affix/style/index-pure.less +0 -6
  1720. package/lib/affix/style/index.css +0 -8
  1721. package/lib/affix/style/index.less +0 -3
  1722. package/lib/alert/style/css.js +0 -5
  1723. package/lib/alert/style/index-pure.less +0 -155
  1724. package/lib/alert/style/index.css +0 -156
  1725. package/lib/alert/style/index.less +0 -3
  1726. package/lib/alert/style/rtl.less +0 -40
  1727. package/lib/anchor/style/css.js +0 -7
  1728. package/lib/anchor/style/index-pure.less +0 -86
  1729. package/lib/anchor/style/index.css +0 -100
  1730. package/lib/anchor/style/index.less +0 -3
  1731. package/lib/anchor/style/rtl.less +0 -35
  1732. package/lib/auto-complete/style/css.js +0 -7
  1733. package/lib/auto-complete/style/index-pure.less +0 -16
  1734. package/lib/auto-complete/style/index.css +0 -18
  1735. package/lib/auto-complete/style/index.d.ts +0 -3
  1736. package/lib/auto-complete/style/index.js +0 -7
  1737. package/lib/auto-complete/style/index.less +0 -3
  1738. package/lib/avatar/style/css.js +0 -7
  1739. package/lib/avatar/style/group.less +0 -17
  1740. package/lib/avatar/style/index-pure.less +0 -70
  1741. package/lib/avatar/style/index.css +0 -108
  1742. package/lib/avatar/style/index.less +0 -3
  1743. package/lib/avatar/style/rtl.less +0 -15
  1744. package/lib/back-top/style/css.js +0 -5
  1745. package/lib/back-top/style/index-pure.less +0 -49
  1746. package/lib/back-top/style/index.css +0 -66
  1747. package/lib/back-top/style/index.less +0 -3
  1748. package/lib/back-top/style/responsive.less +0 -21
  1749. package/lib/badge/style/css.js +0 -5
  1750. package/lib/badge/style/index-pure.less +0 -281
  1751. package/lib/badge/style/index.css +0 -460
  1752. package/lib/badge/style/index.less +0 -3
  1753. package/lib/badge/style/ribbon.less +0 -81
  1754. package/lib/badge/style/rtl.less +0 -100
  1755. package/lib/breadcrumb/style/css.js +0 -9
  1756. package/lib/breadcrumb/style/index-pure.less +0 -64
  1757. package/lib/breadcrumb/style/index.css +0 -77
  1758. package/lib/breadcrumb/style/index.less +0 -3
  1759. package/lib/breadcrumb/style/rtl.less +0 -29
  1760. package/lib/button/style/css.js +0 -5
  1761. package/lib/button/style/index-pure.less +0 -293
  1762. package/lib/button/style/index.css +0 -1987
  1763. package/lib/button/style/index.less +0 -3
  1764. package/lib/button/style/mixin.less +0 -589
  1765. package/lib/button/style/rtl.less +0 -90
  1766. package/lib/button/style/space-compact.less +0 -88
  1767. package/lib/calendar/style/css.js +0 -11
  1768. package/lib/calendar/style/index-pure.less +0 -196
  1769. package/lib/calendar/style/index.css +0 -175
  1770. package/lib/calendar/style/index.less +0 -3
  1771. package/lib/calendar/style/rtl.less +0 -46
  1772. package/lib/card/style/css.js +0 -9
  1773. package/lib/card/style/index-pure.less +0 -276
  1774. package/lib/card/style/index.css +0 -275
  1775. package/lib/card/style/index.less +0 -3
  1776. package/lib/card/style/size.less +0 -20
  1777. package/lib/carousel/style/css.js +0 -5
  1778. package/lib/carousel/style/index-pure.less +0 -304
  1779. package/lib/carousel/style/index.css +0 -286
  1780. package/lib/carousel/style/index.less +0 -3
  1781. package/lib/carousel/style/rtl.less +0 -54
  1782. package/lib/cascader/style/css.js +0 -9
  1783. package/lib/cascader/style/index-pure.less +0 -108
  1784. package/lib/cascader/style/index.css +0 -332
  1785. package/lib/cascader/style/index.less +0 -3
  1786. package/lib/cascader/style/rtl.less +0 -19
  1787. package/lib/checkbox/style/css.js +0 -5
  1788. package/lib/checkbox/style/index-pure.less +0 -6
  1789. package/lib/checkbox/style/index.css +0 -225
  1790. package/lib/checkbox/style/index.less +0 -3
  1791. package/lib/checkbox/style/mixin.less +0 -241
  1792. package/lib/checkbox/style/rtl.less +0 -28
  1793. package/lib/col/style/css.js +0 -5
  1794. package/lib/collapse/style/css.js +0 -5
  1795. package/lib/collapse/style/index-pure.less +0 -174
  1796. package/lib/collapse/style/index.css +0 -174
  1797. package/lib/collapse/style/index.less +0 -3
  1798. package/lib/collapse/style/rtl.less +0 -68
  1799. package/lib/comment/index.d.ts +0 -23
  1800. package/lib/comment/index.js +0 -92
  1801. package/lib/comment/style/css.js +0 -5
  1802. package/lib/comment/style/index-pure.less +0 -105
  1803. package/lib/comment/style/index.css +0 -112
  1804. package/lib/comment/style/index.d.ts +0 -2
  1805. package/lib/comment/style/index.js +0 -5
  1806. package/lib/comment/style/index.less +0 -3
  1807. package/lib/comment/style/rtl.less +0 -51
  1808. package/lib/config-provider/style/css.js +0 -3
  1809. package/lib/config-provider/style/index-pure.less +0 -2
  1810. package/lib/config-provider/style/index.css +0 -4
  1811. package/lib/config-provider/style/index.less +0 -3
  1812. package/lib/date-picker/PickerTag.d.ts +0 -3
  1813. package/lib/date-picker/PickerTag.js +0 -22
  1814. package/lib/date-picker/style/css.js +0 -7
  1815. package/lib/date-picker/style/index-pure.less +0 -366
  1816. package/lib/date-picker/style/index.css +0 -1099
  1817. package/lib/date-picker/style/index.less +0 -3
  1818. package/lib/date-picker/style/panel.less +0 -677
  1819. package/lib/date-picker/style/rtl.less +0 -246
  1820. package/lib/date-picker/style/status.less +0 -38
  1821. package/lib/descriptions/style/css.js +0 -5
  1822. package/lib/descriptions/style/index-pure.less +0 -179
  1823. package/lib/descriptions/style/index.css +0 -139
  1824. package/lib/descriptions/style/index.less +0 -3
  1825. package/lib/descriptions/style/rtl.less +0 -33
  1826. package/lib/divider/style/css.js +0 -5
  1827. package/lib/divider/style/index-pure.less +0 -137
  1828. package/lib/divider/style/index.css +0 -126
  1829. package/lib/divider/style/index.less +0 -3
  1830. package/lib/divider/style/rtl.less +0 -38
  1831. package/lib/drawer/style/css.js +0 -5
  1832. package/lib/drawer/style/drawer.less +0 -160
  1833. package/lib/drawer/style/index-pure.less +0 -7
  1834. package/lib/drawer/style/index.css +0 -265
  1835. package/lib/drawer/style/index.less +0 -3
  1836. package/lib/drawer/style/motion.less +0 -146
  1837. package/lib/drawer/style/rtl.less +0 -16
  1838. package/lib/dropdown/style/css.js +0 -11
  1839. package/lib/dropdown/style/index-pure.less +0 -389
  1840. package/lib/dropdown/style/index.css +0 -400
  1841. package/lib/dropdown/style/index.less +0 -3
  1842. package/lib/dropdown/style/rtl.less +0 -90
  1843. package/lib/dropdown/style/status.less +0 -14
  1844. package/lib/empty/style/css.js +0 -5
  1845. package/lib/empty/style/index-pure.less +0 -151
  1846. package/lib/empty/style/index.css +0 -72
  1847. package/lib/empty/style/index.less +0 -3
  1848. package/lib/empty/style/rtl.less +0 -10
  1849. package/lib/form/style/components.less +0 -16
  1850. package/lib/form/style/css.js +0 -9
  1851. package/lib/form/style/horizontal.less +0 -22
  1852. package/lib/form/style/index-pure.less +0 -332
  1853. package/lib/form/style/index.css +0 -572
  1854. package/lib/form/style/index.less +0 -3
  1855. package/lib/form/style/inline.less +0 -38
  1856. package/lib/form/style/mixin.less +0 -78
  1857. package/lib/form/style/rtl.less +0 -204
  1858. package/lib/form/style/status.less +0 -42
  1859. package/lib/form/style/vertical.less +0 -93
  1860. package/lib/grid/style/css.js +0 -5
  1861. package/lib/grid/style/index-pure.less +0 -124
  1862. package/lib/grid/style/index.css +0 -5185
  1863. package/lib/grid/style/index.less +0 -3
  1864. package/lib/grid/style/mixin.less +0 -56
  1865. package/lib/grid/style/rtl.less +0 -69
  1866. package/lib/icon/style/css.js +0 -5
  1867. package/lib/icon/style/index-pure.less +0 -4
  1868. package/lib/icon/style/index.css +0 -4
  1869. package/lib/icon/style/index.d.ts +0 -2
  1870. package/lib/icon/style/index.js +0 -5
  1871. package/lib/icon/style/index.less +0 -3
  1872. package/lib/image/style/css.js +0 -5
  1873. package/lib/image/style/index-pure.less +0 -203
  1874. package/lib/image/style/index.css +0 -232
  1875. package/lib/image/style/index.less +0 -3
  1876. package/lib/input/style/IE11.less +0 -20
  1877. package/lib/input/style/affix.less +0 -78
  1878. package/lib/input/style/allow-clear.less +0 -43
  1879. package/lib/input/style/css.js +0 -7
  1880. package/lib/input/style/index-pure.less +0 -88
  1881. package/lib/input/style/index.css +0 -929
  1882. package/lib/input/style/index.less +0 -3
  1883. package/lib/input/style/mixin.less +0 -470
  1884. package/lib/input/style/rtl.less +0 -210
  1885. package/lib/input/style/search-input.less +0 -117
  1886. package/lib/input/style/status.less +0 -42
  1887. package/lib/input-number/style/affix.less +0 -83
  1888. package/lib/input-number/style/css.js +0 -5
  1889. package/lib/input-number/style/index-pure.less +0 -243
  1890. package/lib/input-number/style/index.css +0 -915
  1891. package/lib/input-number/style/index.less +0 -3
  1892. package/lib/input-number/style/rtl.less +0 -71
  1893. package/lib/input-number/style/status.less +0 -29
  1894. package/lib/layout/style/css.js +0 -5
  1895. package/lib/layout/style/index-pure.less +0 -145
  1896. package/lib/layout/style/index.css +0 -128
  1897. package/lib/layout/style/index.less +0 -3
  1898. package/lib/layout/style/light.less +0 -11
  1899. package/lib/layout/style/rtl.less +0 -10
  1900. package/lib/list/style/bordered.less +0 -44
  1901. package/lib/list/style/css.js +0 -13
  1902. package/lib/list/style/customize.less +0 -13
  1903. package/lib/list/style/index-pure.less +0 -249
  1904. package/lib/list/style/index.css +0 -317
  1905. package/lib/list/style/index.less +0 -3
  1906. package/lib/list/style/responsive.less +0 -43
  1907. package/lib/list/style/rtl.less +0 -139
  1908. package/lib/locale/default.d.ts +0 -3
  1909. package/lib/locale/default.js +0 -147
  1910. package/lib/locale-provider/default.d.ts +0 -2
  1911. package/lib/locale-provider/default.js +0 -13
  1912. package/lib/locale-provider/style/css.js +0 -3
  1913. package/lib/locale-provider/style/index-pure.less +0 -2
  1914. package/lib/locale-provider/style/index.css +0 -4
  1915. package/lib/locale-provider/style/index.d.ts +0 -1
  1916. package/lib/locale-provider/style/index.js +0 -3
  1917. package/lib/locale-provider/style/index.less +0 -3
  1918. package/lib/mentions/style/css.js +0 -7
  1919. package/lib/mentions/style/index-pure.less +0 -179
  1920. package/lib/mentions/style/index.css +0 -322
  1921. package/lib/mentions/style/index.less +0 -3
  1922. package/lib/mentions/style/rtl.less +0 -10
  1923. package/lib/mentions/style/status.less +0 -16
  1924. package/lib/menu/style/css.js +0 -7
  1925. package/lib/menu/style/dark.less +0 -177
  1926. package/lib/menu/style/index-pure.less +0 -700
  1927. package/lib/menu/style/index.css +0 -919
  1928. package/lib/menu/style/index.less +0 -3
  1929. package/lib/menu/style/light.less +0 -12
  1930. package/lib/menu/style/rtl.less +0 -165
  1931. package/lib/menu/style/status.less +0 -49
  1932. package/lib/message/hooks/useMessage.d.ts +0 -7
  1933. package/lib/message/hooks/useMessage.js +0 -103
  1934. package/lib/message/style/css.js +0 -5
  1935. package/lib/message/style/index-pure.less +0 -74
  1936. package/lib/message/style/index.css +0 -78
  1937. package/lib/message/style/index.less +0 -3
  1938. package/lib/message/style/rtl.less +0 -17
  1939. package/lib/modal/style/confirm.less +0 -79
  1940. package/lib/modal/style/css.js +0 -7
  1941. package/lib/modal/style/index-pure.less +0 -7
  1942. package/lib/modal/style/index.css +0 -255
  1943. package/lib/modal/style/index.less +0 -3
  1944. package/lib/modal/style/modal.less +0 -136
  1945. package/lib/modal/style/rtl.less +0 -74
  1946. package/lib/notification/hooks/useNotification.d.ts +0 -7
  1947. package/lib/notification/hooks/useNotification.js +0 -71
  1948. package/lib/notification/style/css.js +0 -5
  1949. package/lib/notification/style/index-pure.less +0 -207
  1950. package/lib/notification/style/index.css +0 -246
  1951. package/lib/notification/style/index.less +0 -3
  1952. package/lib/notification/style/placement.less +0 -68
  1953. package/lib/notification/style/rtl.less +0 -53
  1954. package/lib/page-header/index.d.ts +0 -24
  1955. package/lib/page-header/index.js +0 -191
  1956. package/lib/page-header/style/css.js +0 -9
  1957. package/lib/page-header/style/index-pure.less +0 -122
  1958. package/lib/page-header/style/index.css +0 -151
  1959. package/lib/page-header/style/index.d.ts +0 -4
  1960. package/lib/page-header/style/index.js +0 -9
  1961. package/lib/page-header/style/index.less +0 -3
  1962. package/lib/page-header/style/rtl.less +0 -77
  1963. package/lib/pagination/style/css.js +0 -7
  1964. package/lib/pagination/style/index-pure.less +0 -472
  1965. package/lib/pagination/style/index.css +0 -553
  1966. package/lib/pagination/style/index.less +0 -3
  1967. package/lib/pagination/style/rtl.less +0 -55
  1968. package/lib/popconfirm/style/css.js +0 -9
  1969. package/lib/popconfirm/style/index-pure.less +0 -8
  1970. package/lib/popconfirm/style/index.css +0 -7
  1971. package/lib/popconfirm/style/index.less +0 -3
  1972. package/lib/popover/style/css.js +0 -5
  1973. package/lib/popover/style/index-pure.less +0 -261
  1974. package/lib/popover/style/index.css +0 -329
  1975. package/lib/popover/style/index.less +0 -3
  1976. package/lib/popover/style/rtl.less +0 -39
  1977. package/lib/progress/style/css.js +0 -5
  1978. package/lib/progress/style/index-pure.less +0 -210
  1979. package/lib/progress/style/index.css +0 -190
  1980. package/lib/progress/style/index.less +0 -3
  1981. package/lib/progress/style/rtl.less +0 -37
  1982. package/lib/radio/style/css.js +0 -5
  1983. package/lib/radio/style/index-pure.less +0 -371
  1984. package/lib/radio/style/index.css +0 -349
  1985. package/lib/radio/style/index.less +0 -3
  1986. package/lib/radio/style/rtl.less +0 -61
  1987. package/lib/rate/style/css.js +0 -7
  1988. package/lib/rate/style/index-pure.less +0 -91
  1989. package/lib/rate/style/index.css +0 -94
  1990. package/lib/rate/style/index.less +0 -3
  1991. package/lib/rate/style/rtl.less +0 -21
  1992. package/lib/result/style/css.js +0 -5
  1993. package/lib/result/style/index-pure.less +0 -75
  1994. package/lib/result/style/index.css +0 -68
  1995. package/lib/result/style/index.less +0 -3
  1996. package/lib/result/style/rtl.less +0 -25
  1997. package/lib/row/style/css.js +0 -5
  1998. package/lib/segmented/style/css.js +0 -5
  1999. package/lib/segmented/style/index-pure.less +0 -122
  2000. package/lib/segmented/style/index.css +0 -132
  2001. package/lib/segmented/style/index.less +0 -3
  2002. package/lib/segmented/style/mixins.less +0 -24
  2003. package/lib/segmented/style/rtl.less +0 -15
  2004. package/lib/select/style/css.js +0 -7
  2005. package/lib/select/style/index-pure.less +0 -333
  2006. package/lib/select/style/index.css +0 -740
  2007. package/lib/select/style/index.less +0 -3
  2008. package/lib/select/style/multiple.less +0 -222
  2009. package/lib/select/style/rtl.less +0 -168
  2010. package/lib/select/style/single.less +0 -172
  2011. package/lib/select/style/status.less +0 -49
  2012. package/lib/skeleton/style/css.js +0 -5
  2013. package/lib/skeleton/style/index-pure.less +0 -290
  2014. package/lib/skeleton/style/index.css +0 -282
  2015. package/lib/skeleton/style/index.less +0 -3
  2016. package/lib/skeleton/style/rtl.less +0 -48
  2017. package/lib/slider/style/css.js +0 -7
  2018. package/lib/slider/style/index-pure.less +0 -215
  2019. package/lib/slider/style/index.css +0 -202
  2020. package/lib/slider/style/index.less +0 -3
  2021. package/lib/slider/style/rtl.less +0 -49
  2022. package/lib/space/style/compact.less +0 -17
  2023. package/lib/space/style/css.js +0 -5
  2024. package/lib/space/style/index-pure.less +0 -40
  2025. package/lib/space/style/index.css +0 -41
  2026. package/lib/space/style/index.less +0 -3
  2027. package/lib/space/style/rtl.less +0 -14
  2028. package/lib/spin/style/css.js +0 -5
  2029. package/lib/spin/style/index-pure.less +0 -218
  2030. package/lib/spin/style/index.css +0 -198
  2031. package/lib/spin/style/index.less +0 -3
  2032. package/lib/spin/style/rtl.less +0 -20
  2033. package/lib/statistic/style/css.js +0 -7
  2034. package/lib/statistic/style/index-pure.less +0 -44
  2035. package/lib/statistic/style/index.css +0 -53
  2036. package/lib/statistic/style/index.less +0 -3
  2037. package/lib/statistic/style/rtl.less +0 -21
  2038. package/lib/steps/style/css.js +0 -7
  2039. package/lib/steps/style/custom-icon.less +0 -32
  2040. package/lib/steps/style/index-pure.less +0 -255
  2041. package/lib/steps/style/index.css +0 -754
  2042. package/lib/steps/style/index.less +0 -3
  2043. package/lib/steps/style/label-placement.less +0 -45
  2044. package/lib/steps/style/nav.less +0 -134
  2045. package/lib/steps/style/progress-dot.less +0 -113
  2046. package/lib/steps/style/progress.less +0 -36
  2047. package/lib/steps/style/rtl.less +0 -271
  2048. package/lib/steps/style/small.less +0 -48
  2049. package/lib/steps/style/vertical.less +0 -73
  2050. package/lib/style/color/bezierEasing.less +0 -110
  2051. package/lib/style/color/colorPalette.less +0 -85
  2052. package/lib/style/color/colors.less +0 -162
  2053. package/lib/style/color/tinyColor.less +0 -1184
  2054. package/lib/style/compact.less +0 -4
  2055. package/lib/style/core/base.less +0 -10
  2056. package/lib/style/core/global.less +0 -491
  2057. package/lib/style/core/iconfont.less +0 -22
  2058. package/lib/style/core/index.less +0 -5
  2059. package/lib/style/core/motion/fade.less +0 -34
  2060. package/lib/style/core/motion/move.less +0 -129
  2061. package/lib/style/core/motion/other.less +0 -51
  2062. package/lib/style/core/motion/slide.less +0 -129
  2063. package/lib/style/core/motion/zoom.less +0 -179
  2064. package/lib/style/core/motion.less +0 -22
  2065. package/lib/style/dark.less +0 -4
  2066. package/lib/style/default.less +0 -4
  2067. package/lib/style/index.less +0 -3
  2068. package/lib/style/mixins/box.less +0 -7
  2069. package/lib/style/mixins/clearfix.less +0 -16
  2070. package/lib/style/mixins/compact-item-vertical.less +0 -41
  2071. package/lib/style/mixins/compact-item.less +0 -133
  2072. package/lib/style/mixins/compatibility.less +0 -13
  2073. package/lib/style/mixins/customize.less +0 -181
  2074. package/lib/style/mixins/iconfont.less +0 -28
  2075. package/lib/style/mixins/index.less +0 -16
  2076. package/lib/style/mixins/modal-mask.less +0 -30
  2077. package/lib/style/mixins/motion.less +0 -33
  2078. package/lib/style/mixins/operation-unit.less +0 -15
  2079. package/lib/style/mixins/reset.less +0 -11
  2080. package/lib/style/mixins/rounded-arrow.less +0 -44
  2081. package/lib/style/mixins/size.less +0 -10
  2082. package/lib/style/mixins/typography.less +0 -58
  2083. package/lib/style/theme.less +0 -34
  2084. package/lib/style/themes/compact.less +0 -295
  2085. package/lib/style/themes/dark.less +0 -457
  2086. package/lib/style/themes/default.less +0 -1084
  2087. package/lib/style/themes/index.less +0 -7
  2088. package/lib/style/themes/variable.less +0 -1139
  2089. package/lib/style/variable.less +0 -4
  2090. package/lib/switch/style/css.js +0 -5
  2091. package/lib/switch/style/index-pure.less +0 -154
  2092. package/lib/switch/style/index.css +0 -153
  2093. package/lib/switch/style/index.less +0 -3
  2094. package/lib/switch/style/rtl.less +0 -52
  2095. package/lib/table/style/bordered.less +0 -136
  2096. package/lib/table/style/css.js +0 -25
  2097. package/lib/table/style/index-pure.less +0 -763
  2098. package/lib/table/style/index.css +0 -845
  2099. package/lib/table/style/index.less +0 -3
  2100. package/lib/table/style/radius.less +0 -49
  2101. package/lib/table/style/rtl.less +0 -168
  2102. package/lib/table/style/size.less +0 -51
  2103. package/lib/tabs/style/card.less +0 -98
  2104. package/lib/tabs/style/css.js +0 -5
  2105. package/lib/tabs/style/dropdown.less +0 -82
  2106. package/lib/tabs/style/index-pure.less +0 -253
  2107. package/lib/tabs/style/index.css +0 -630
  2108. package/lib/tabs/style/index.less +0 -3
  2109. package/lib/tabs/style/position.less +0 -198
  2110. package/lib/tabs/style/rtl.less +0 -86
  2111. package/lib/tabs/style/size.less +0 -42
  2112. package/lib/tag/style/css.js +0 -5
  2113. package/lib/tag/style/index-pure.less +0 -129
  2114. package/lib/tag/style/index.css +0 -247
  2115. package/lib/tag/style/index.less +0 -3
  2116. package/lib/tag/style/rtl.less +0 -28
  2117. package/lib/time-picker/style/css.js +0 -7
  2118. package/lib/time-picker/style/index-pure.less +0 -3
  2119. package/lib/time-picker/style/index.css +0 -4
  2120. package/lib/time-picker/style/index.d.ts +0 -3
  2121. package/lib/time-picker/style/index.js +0 -7
  2122. package/lib/time-picker/style/index.less +0 -3
  2123. package/lib/timeline/style/css.js +0 -5
  2124. package/lib/timeline/style/index-pure.less +0 -185
  2125. package/lib/timeline/style/index.css +0 -236
  2126. package/lib/timeline/style/index.less +0 -3
  2127. package/lib/timeline/style/rtl.less +0 -135
  2128. package/lib/tooltip/style/css.js +0 -5
  2129. package/lib/tooltip/style/index-pure.less +0 -224
  2130. package/lib/tooltip/style/index.css +0 -274
  2131. package/lib/tooltip/style/index.less +0 -3
  2132. package/lib/tooltip/style/rtl.less +0 -14
  2133. package/lib/transfer/style/css.js +0 -17
  2134. package/lib/transfer/style/customize.less +0 -52
  2135. package/lib/transfer/style/index-pure.less +0 -222
  2136. package/lib/transfer/style/index.css +0 -281
  2137. package/lib/transfer/style/index.less +0 -3
  2138. package/lib/transfer/style/rtl.less +0 -71
  2139. package/lib/transfer/style/status.less +0 -31
  2140. package/lib/tree/style/css.js +0 -5
  2141. package/lib/tree/style/directory.less +0 -72
  2142. package/lib/tree/style/index-pure.less +0 -16
  2143. package/lib/tree/style/index.css +0 -532
  2144. package/lib/tree/style/index.less +0 -3
  2145. package/lib/tree/style/mixin.less +0 -337
  2146. package/lib/tree/style/rtl.less +0 -72
  2147. package/lib/tree-select/style/css.js +0 -9
  2148. package/lib/tree-select/style/index-pure.less +0 -57
  2149. package/lib/tree-select/style/index.css +0 -481
  2150. package/lib/tree-select/style/index.less +0 -3
  2151. package/lib/typography/style/css.js +0 -9
  2152. package/lib/typography/style/index-pure.less +0 -314
  2153. package/lib/typography/style/index.css +0 -369
  2154. package/lib/typography/style/index.less +0 -3
  2155. package/lib/typography/style/rtl.less +0 -54
  2156. package/lib/upload/style/css.js +0 -11
  2157. package/lib/upload/style/index-pure.less +0 -565
  2158. package/lib/upload/style/index.css +0 -588
  2159. package/lib/upload/style/index.less +0 -3
  2160. package/lib/upload/style/rtl.less +0 -165
  2161. package/lib/version/style/css.js +0 -3
  2162. package/lib/version/style/index.d.ts +0 -1
  2163. package/lib/version/style/index.js +0 -3
  2164. package/lib/version/token.d.ts +0 -319
  2165. package/lib/version/token.js +0 -325
@@ -1,1184 +0,0 @@
1
- /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
2
- .tinyColorMixin() {
3
- @functions: ~`(function() {
4
- // TinyColor v1.4.1
5
- // https://github.com/bgrins/TinyColor
6
- // 2016-07-07, Brian Grinstead, MIT License
7
- var trimLeft = /^\s+/,
8
- trimRight = /\s+$/,
9
- tinyCounter = 0,
10
- mathRound = Math.round,
11
- mathMin = Math.min,
12
- mathMax = Math.max,
13
- mathRandom = Math.random;
14
-
15
- function tinycolor (color, opts) {
16
-
17
- color = (color) ? color : '';
18
- opts = opts || { };
19
-
20
- // If input is already a tinycolor, return itself
21
- if (color instanceof tinycolor) {
22
- return color;
23
- }
24
- // If we are called as a function, call using new instead
25
- if (!(this instanceof tinycolor)) {
26
- return new tinycolor(color, opts);
27
- }
28
-
29
- var rgb = inputToRGB(color);
30
- this._originalInput = color,
31
- this._r = rgb.r,
32
- this._g = rgb.g,
33
- this._b = rgb.b,
34
- this._a = rgb.a,
35
- this._roundA = mathRound(100*this._a) / 100,
36
- this._format = opts.format || rgb.format;
37
- this._gradientType = opts.gradientType;
38
-
39
- // Don't let the range of [0,255] come back in [0,1].
40
- // Potentially lose a little bit of precision here, but will fix issues where
41
- // .5 gets interpreted as half of the total, instead of half of 1
42
- // If it was supposed to be 128, this was already taken care of by inputToRgb
43
- if (this._r < 1) { this._r = mathRound(this._r); }
44
- if (this._g < 1) { this._g = mathRound(this._g); }
45
- if (this._b < 1) { this._b = mathRound(this._b); }
46
-
47
- this._ok = rgb.ok;
48
- this._tc_id = tinyCounter++;
49
- }
50
-
51
- tinycolor.prototype = {
52
- isDark: function() {
53
- return this.getBrightness() < 128;
54
- },
55
- isLight: function() {
56
- return !this.isDark();
57
- },
58
- isValid: function() {
59
- return this._ok;
60
- },
61
- getOriginalInput: function() {
62
- return this._originalInput;
63
- },
64
- getFormat: function() {
65
- return this._format;
66
- },
67
- getAlpha: function() {
68
- return this._a;
69
- },
70
- getBrightness: function() {
71
- //http://www.w3.org/TR/AERT#color-contrast
72
- var rgb = this.toRgb();
73
- return (rgb.r * 299 + rgb.g * 587 + rgb.b * 114) / 1000;
74
- },
75
- getLuminance: function() {
76
- //http://www.w3.org/TR/2008/REC-WCAG20-20081211/#relativeluminancedef
77
- var rgb = this.toRgb();
78
- var RsRGB, GsRGB, BsRGB, R, G, B;
79
- RsRGB = rgb.r/255;
80
- GsRGB = rgb.g/255;
81
- BsRGB = rgb.b/255;
82
-
83
- if (RsRGB <= 0.03928) {R = RsRGB / 12.92;} else {R = Math.pow(((RsRGB + 0.055) / 1.055), 2.4);}
84
- if (GsRGB <= 0.03928) {G = GsRGB / 12.92;} else {G = Math.pow(((GsRGB + 0.055) / 1.055), 2.4);}
85
- if (BsRGB <= 0.03928) {B = BsRGB / 12.92;} else {B = Math.pow(((BsRGB + 0.055) / 1.055), 2.4);}
86
- return (0.2126 * R) + (0.7152 * G) + (0.0722 * B);
87
- },
88
- setAlpha: function(value) {
89
- this._a = boundAlpha(value);
90
- this._roundA = mathRound(100*this._a) / 100;
91
- return this;
92
- },
93
- toHsv: function() {
94
- var hsv = rgbToHsv(this._r, this._g, this._b);
95
- return { h: hsv.h * 360, s: hsv.s, v: hsv.v, a: this._a };
96
- },
97
- toHsvString: function() {
98
- var hsv = rgbToHsv(this._r, this._g, this._b);
99
- var h = mathRound(hsv.h * 360), s = mathRound(hsv.s * 100), v = mathRound(hsv.v * 100);
100
- return (this._a == 1) ?
101
- "hsv(" + h + ", " + s + "%, " + v + "%)" :
102
- "hsva(" + h + ", " + s + "%, " + v + "%, "+ this._roundA + ")";
103
- },
104
- toHsl: function() {
105
- var hsl = rgbToHsl(this._r, this._g, this._b);
106
- return { h: hsl.h * 360, s: hsl.s, l: hsl.l, a: this._a };
107
- },
108
- toHslString: function() {
109
- var hsl = rgbToHsl(this._r, this._g, this._b);
110
- var h = mathRound(hsl.h * 360), s = mathRound(hsl.s * 100), l = mathRound(hsl.l * 100);
111
- return (this._a == 1) ?
112
- "hsl(" + h + ", " + s + "%, " + l + "%)" :
113
- "hsla(" + h + ", " + s + "%, " + l + "%, "+ this._roundA + ")";
114
- },
115
- toHex: function(allow3Char) {
116
- return rgbToHex(this._r, this._g, this._b, allow3Char);
117
- },
118
- toHexString: function(allow3Char) {
119
- return '#' + this.toHex(allow3Char);
120
- },
121
- toHex8: function(allow4Char) {
122
- return rgbaToHex(this._r, this._g, this._b, this._a, allow4Char);
123
- },
124
- toHex8String: function(allow4Char) {
125
- return '#' + this.toHex8(allow4Char);
126
- },
127
- toRgb: function() {
128
- return { r: mathRound(this._r), g: mathRound(this._g), b: mathRound(this._b), a: this._a };
129
- },
130
- toRgbString: function() {
131
- return (this._a == 1) ?
132
- "rgb(" + mathRound(this._r) + ", " + mathRound(this._g) + ", " + mathRound(this._b) + ")" :
133
- "rgba(" + mathRound(this._r) + ", " + mathRound(this._g) + ", " + mathRound(this._b) + ", " + this._roundA + ")";
134
- },
135
- toPercentageRgb: function() {
136
- return { r: mathRound(bound01(this._r, 255) * 100) + "%", g: mathRound(bound01(this._g, 255) * 100) + "%", b: mathRound(bound01(this._b, 255) * 100) + "%", a: this._a };
137
- },
138
- toPercentageRgbString: function() {
139
- return (this._a == 1) ?
140
- "rgb(" + mathRound(bound01(this._r, 255) * 100) + "%, " + mathRound(bound01(this._g, 255) * 100) + "%, " + mathRound(bound01(this._b, 255) * 100) + "%)" :
141
- "rgba(" + mathRound(bound01(this._r, 255) * 100) + "%, " + mathRound(bound01(this._g, 255) * 100) + "%, " + mathRound(bound01(this._b, 255) * 100) + "%, " + this._roundA + ")";
142
- },
143
- toName: function() {
144
- if (this._a === 0) {
145
- return "transparent";
146
- }
147
-
148
- if (this._a < 1) {
149
- return false;
150
- }
151
-
152
- return hexNames[rgbToHex(this._r, this._g, this._b, true)] || false;
153
- },
154
- toFilter: function(secondColor) {
155
- var hex8String = '#' + rgbaToArgbHex(this._r, this._g, this._b, this._a);
156
- var secondHex8String = hex8String;
157
- var gradientType = this._gradientType ? "GradientType = 1, " : "";
158
-
159
- if (secondColor) {
160
- var s = tinycolor(secondColor);
161
- secondHex8String = '#' + rgbaToArgbHex(s._r, s._g, s._b, s._a);
162
- }
163
-
164
- return "progid:DXImageTransform.Microsoft.gradient("+gradientType+"startColorstr="+hex8String+",endColorstr="+secondHex8String+")";
165
- },
166
- toString: function(format) {
167
- var formatSet = !!format;
168
- format = format || this._format;
169
-
170
- var formattedString = false;
171
- var hasAlpha = this._a < 1 && this._a >= 0;
172
- var needsAlphaFormat = !formatSet && hasAlpha && (format === "hex" || format === "hex6" || format === "hex3" || format === "hex4" || format === "hex8" || format === "name");
173
-
174
- if (needsAlphaFormat) {
175
- // Special case for "transparent", all other non-alpha formats
176
- // will return rgba when there is transparency.
177
- if (format === "name" && this._a === 0) {
178
- return this.toName();
179
- }
180
- return this.toRgbString();
181
- }
182
- if (format === "rgb") {
183
- formattedString = this.toRgbString();
184
- }
185
- if (format === "prgb") {
186
- formattedString = this.toPercentageRgbString();
187
- }
188
- if (format === "hex" || format === "hex6") {
189
- formattedString = this.toHexString();
190
- }
191
- if (format === "hex3") {
192
- formattedString = this.toHexString(true);
193
- }
194
- if (format === "hex4") {
195
- formattedString = this.toHex8String(true);
196
- }
197
- if (format === "hex8") {
198
- formattedString = this.toHex8String();
199
- }
200
- if (format === "name") {
201
- formattedString = this.toName();
202
- }
203
- if (format === "hsl") {
204
- formattedString = this.toHslString();
205
- }
206
- if (format === "hsv") {
207
- formattedString = this.toHsvString();
208
- }
209
-
210
- return formattedString || this.toHexString();
211
- },
212
- clone: function() {
213
- return tinycolor(this.toString());
214
- },
215
-
216
- _applyModification: function(fn, args) {
217
- var color = fn.apply(null, [this].concat([].slice.call(args)));
218
- this._r = color._r;
219
- this._g = color._g;
220
- this._b = color._b;
221
- this.setAlpha(color._a);
222
- return this;
223
- },
224
- lighten: function() {
225
- return this._applyModification(lighten, arguments);
226
- },
227
- brighten: function() {
228
- return this._applyModification(brighten, arguments);
229
- },
230
- darken: function() {
231
- return this._applyModification(darken, arguments);
232
- },
233
- desaturate: function() {
234
- return this._applyModification(desaturate, arguments);
235
- },
236
- saturate: function() {
237
- return this._applyModification(saturate, arguments);
238
- },
239
- greyscale: function() {
240
- return this._applyModification(greyscale, arguments);
241
- },
242
- spin: function() {
243
- return this._applyModification(spin, arguments);
244
- },
245
-
246
- _applyCombination: function(fn, args) {
247
- return fn.apply(null, [this].concat([].slice.call(args)));
248
- },
249
- analogous: function() {
250
- return this._applyCombination(analogous, arguments);
251
- },
252
- complement: function() {
253
- return this._applyCombination(complement, arguments);
254
- },
255
- monochromatic: function() {
256
- return this._applyCombination(monochromatic, arguments);
257
- },
258
- splitcomplement: function() {
259
- return this._applyCombination(splitcomplement, arguments);
260
- },
261
- triad: function() {
262
- return this._applyCombination(triad, arguments);
263
- },
264
- tetrad: function() {
265
- return this._applyCombination(tetrad, arguments);
266
- }
267
- };
268
-
269
- // If input is an object, force 1 into "1.0" to handle ratios properly
270
- // String input requires "1.0" as input, so 1 will be treated as 1
271
- tinycolor.fromRatio = function(color, opts) {
272
- if (typeof color == "object") {
273
- var newColor = {};
274
- for (var i in color) {
275
- if (color.hasOwnProperty(i)) {
276
- if (i === "a") {
277
- newColor[i] = color[i];
278
- }
279
- else {
280
- newColor[i] = convertToPercentage(color[i]);
281
- }
282
- }
283
- }
284
- color = newColor;
285
- }
286
-
287
- return tinycolor(color, opts);
288
- };
289
-
290
- // Given a string or object, convert that input to RGB
291
- // Possible string inputs:
292
- //
293
- // "red"
294
- // "#f00" or "f00"
295
- // "#ff0000" or "ff0000"
296
- // "#ff000000" or "ff000000"
297
- // "rgb 255 0 0" or "rgb (255, 0, 0)"
298
- // "rgb 1.0 0 0" or "rgb (1, 0, 0)"
299
- // "rgba (255, 0, 0, 1)" or "rgba 255, 0, 0, 1"
300
- // "rgba (1.0, 0, 0, 1)" or "rgba 1.0, 0, 0, 1"
301
- // "hsl(0, 100%, 50%)" or "hsl 0 100% 50%"
302
- // "hsla(0, 100%, 50%, 1)" or "hsla 0 100% 50%, 1"
303
- // "hsv(0, 100%, 100%)" or "hsv 0 100% 100%"
304
- //
305
- function inputToRGB(color) {
306
-
307
- var rgb = { r: 0, g: 0, b: 0 };
308
- var a = 1;
309
- var s = null;
310
- var v = null;
311
- var l = null;
312
- var ok = false;
313
- var format = false;
314
-
315
- if (typeof color == "string") {
316
- color = stringInputToObject(color);
317
- }
318
-
319
- if (typeof color == "object") {
320
- if (isValidCSSUnit(color.r) && isValidCSSUnit(color.g) && isValidCSSUnit(color.b)) {
321
- rgb = rgbToRgb(color.r, color.g, color.b);
322
- ok = true;
323
- format = String(color.r).substr(-1) === "%" ? "prgb" : "rgb";
324
- }
325
- else if (isValidCSSUnit(color.h) && isValidCSSUnit(color.s) && isValidCSSUnit(color.v)) {
326
- s = convertToPercentage(color.s);
327
- v = convertToPercentage(color.v);
328
- rgb = hsvToRgb(color.h, s, v);
329
- ok = true;
330
- format = "hsv";
331
- }
332
- else if (isValidCSSUnit(color.h) && isValidCSSUnit(color.s) && isValidCSSUnit(color.l)) {
333
- s = convertToPercentage(color.s);
334
- l = convertToPercentage(color.l);
335
- rgb = hslToRgb(color.h, s, l);
336
- ok = true;
337
- format = "hsl";
338
- }
339
-
340
- if (color.hasOwnProperty("a")) {
341
- a = color.a;
342
- }
343
- }
344
-
345
- a = boundAlpha(a);
346
-
347
- return {
348
- ok: ok,
349
- format: color.format || format,
350
- r: mathMin(255, mathMax(rgb.r, 0)),
351
- g: mathMin(255, mathMax(rgb.g, 0)),
352
- b: mathMin(255, mathMax(rgb.b, 0)),
353
- a: a
354
- };
355
- }
356
-
357
- // Conversion Functions
358
- // --------------------
359
-
360
- // rgbToHsl, rgbToHsv, hslToRgb, hsvToRgb modified from:
361
- // <http://mjijackson.com/2008/02/rgb-to-hsl-and-rgb-to-hsv-color-model-conversion-algorithms-in-javascript>
362
-
363
- // rgbToRgb
364
- // Handle bounds / percentage checking to conform to CSS color spec
365
- // <http://www.w3.org/TR/css3-color/>
366
- // *Assumes:* r, g, b in [0, 255] or [0, 1]
367
- // *Returns:* { r, g, b } in [0, 255]
368
- function rgbToRgb(r, g, b){
369
- return {
370
- r: bound01(r, 255) * 255,
371
- g: bound01(g, 255) * 255,
372
- b: bound01(b, 255) * 255
373
- };
374
- }
375
-
376
- // rgbToHsl
377
- // Converts an RGB color value to HSL.
378
- // *Assumes:* r, g, and b are contained in [0, 255] or [0, 1]
379
- // *Returns:* { h, s, l } in [0,1]
380
- function rgbToHsl(r, g, b) {
381
-
382
- r = bound01(r, 255);
383
- g = bound01(g, 255);
384
- b = bound01(b, 255);
385
-
386
- var max = mathMax(r, g, b), min = mathMin(r, g, b);
387
- var h, s, l = (max + min) / 2;
388
-
389
- if(max == min) {
390
- h = s = 0; // achromatic
391
- }
392
- else {
393
- var d = max - min;
394
- s = l > 0.5 ? d / (2 - max - min) : d / (max + min);
395
- switch(max) {
396
- case r: h = (g - b) / d + (g < b ? 6 : 0); break;
397
- case g: h = (b - r) / d + 2; break;
398
- case b: h = (r - g) / d + 4; break;
399
- }
400
-
401
- h /= 6;
402
- }
403
-
404
- return { h: h, s: s, l: l };
405
- }
406
-
407
- // hslToRgb
408
- // Converts an HSL color value to RGB.
409
- // *Assumes:* h is contained in [0, 1] or [0, 360] and s and l are contained [0, 1] or [0, 100]
410
- // *Returns:* { r, g, b } in the set [0, 255]
411
- function hslToRgb(h, s, l) {
412
- var r, g, b;
413
-
414
- h = bound01(h, 360);
415
- s = bound01(s, 100);
416
- l = bound01(l, 100);
417
-
418
- function hue2rgb(p, q, t) {
419
- if(t < 0) t += 1;
420
- if(t > 1) t -= 1;
421
- if(t < 1/6) return p + (q - p) * 6 * t;
422
- if(t < 1/2) return q;
423
- if(t < 2/3) return p + (q - p) * (2/3 - t) * 6;
424
- return p;
425
- }
426
-
427
- if(s === 0) {
428
- r = g = b = l; // achromatic
429
- }
430
- else {
431
- var q = l < 0.5 ? l * (1 + s) : l + s - l * s;
432
- var p = 2 * l - q;
433
- r = hue2rgb(p, q, h + 1/3);
434
- g = hue2rgb(p, q, h);
435
- b = hue2rgb(p, q, h - 1/3);
436
- }
437
-
438
- return { r: r * 255, g: g * 255, b: b * 255 };
439
- }
440
-
441
- // rgbToHsv
442
- // Converts an RGB color value to HSV
443
- // *Assumes:* r, g, and b are contained in the set [0, 255] or [0, 1]
444
- // *Returns:* { h, s, v } in [0,1]
445
- function rgbToHsv(r, g, b) {
446
-
447
- r = bound01(r, 255);
448
- g = bound01(g, 255);
449
- b = bound01(b, 255);
450
-
451
- var max = mathMax(r, g, b), min = mathMin(r, g, b);
452
- var h, s, v = max;
453
-
454
- var d = max - min;
455
- s = max === 0 ? 0 : d / max;
456
-
457
- if(max == min) {
458
- h = 0; // achromatic
459
- }
460
- else {
461
- switch(max) {
462
- case r: h = (g - b) / d + (g < b ? 6 : 0); break;
463
- case g: h = (b - r) / d + 2; break;
464
- case b: h = (r - g) / d + 4; break;
465
- }
466
- h /= 6;
467
- }
468
- return { h: h, s: s, v: v };
469
- }
470
-
471
- // hsvToRgb
472
- // Converts an HSV color value to RGB.
473
- // *Assumes:* h is contained in [0, 1] or [0, 360] and s and v are contained in [0, 1] or [0, 100]
474
- // *Returns:* { r, g, b } in the set [0, 255]
475
- function hsvToRgb(h, s, v) {
476
-
477
- h = bound01(h, 360) * 6;
478
- s = bound01(s, 100);
479
- v = bound01(v, 100);
480
-
481
- var i = Math.floor(h),
482
- f = h - i,
483
- p = v * (1 - s),
484
- q = v * (1 - f * s),
485
- t = v * (1 - (1 - f) * s),
486
- mod = i % 6,
487
- r = [v, q, p, p, t, v][mod],
488
- g = [t, v, v, q, p, p][mod],
489
- b = [p, p, t, v, v, q][mod];
490
-
491
- return { r: r * 255, g: g * 255, b: b * 255 };
492
- }
493
-
494
- // rgbToHex
495
- // Converts an RGB color to hex
496
- // Assumes r, g, and b are contained in the set [0, 255]
497
- // Returns a 3 or 6 character hex
498
- function rgbToHex(r, g, b, allow3Char) {
499
-
500
- var hex = [
501
- pad2(mathRound(r).toString(16)),
502
- pad2(mathRound(g).toString(16)),
503
- pad2(mathRound(b).toString(16))
504
- ];
505
-
506
- // Return a 3 character hex if possible
507
- if (allow3Char && hex[0].charAt(0) == hex[0].charAt(1) && hex[1].charAt(0) == hex[1].charAt(1) && hex[2].charAt(0) == hex[2].charAt(1)) {
508
- return hex[0].charAt(0) + hex[1].charAt(0) + hex[2].charAt(0);
509
- }
510
-
511
- return hex.join("");
512
- }
513
-
514
- // rgbaToHex
515
- // Converts an RGBA color plus alpha transparency to hex
516
- // Assumes r, g, b are contained in the set [0, 255] and
517
- // a in [0, 1]. Returns a 4 or 8 character rgba hex
518
- function rgbaToHex(r, g, b, a, allow4Char) {
519
-
520
- var hex = [
521
- pad2(mathRound(r).toString(16)),
522
- pad2(mathRound(g).toString(16)),
523
- pad2(mathRound(b).toString(16)),
524
- pad2(convertDecimalToHex(a))
525
- ];
526
-
527
- // Return a 4 character hex if possible
528
- if (allow4Char && hex[0].charAt(0) == hex[0].charAt(1) && hex[1].charAt(0) == hex[1].charAt(1) && hex[2].charAt(0) == hex[2].charAt(1) && hex[3].charAt(0) == hex[3].charAt(1)) {
529
- return hex[0].charAt(0) + hex[1].charAt(0) + hex[2].charAt(0) + hex[3].charAt(0);
530
- }
531
-
532
- return hex.join("");
533
- }
534
-
535
- // rgbaToArgbHex
536
- // Converts an RGBA color to an ARGB Hex8 string
537
- // Rarely used, but required for "toFilter()"
538
- function rgbaToArgbHex(r, g, b, a) {
539
-
540
- var hex = [
541
- pad2(convertDecimalToHex(a)),
542
- pad2(mathRound(r).toString(16)),
543
- pad2(mathRound(g).toString(16)),
544
- pad2(mathRound(b).toString(16))
545
- ];
546
-
547
- return hex.join("");
548
- }
549
-
550
- // equals
551
- // Can be called with any tinycolor input
552
- tinycolor.equals = function (color1, color2) {
553
- if (!color1 || !color2) { return false; }
554
- return tinycolor(color1).toRgbString() == tinycolor(color2).toRgbString();
555
- };
556
-
557
- tinycolor.random = function() {
558
- return tinycolor.fromRatio({
559
- r: mathRandom(),
560
- g: mathRandom(),
561
- b: mathRandom()
562
- });
563
- };
564
-
565
- // Modification Functions
566
- // ----------------------
567
- // Thanks to less.js for some of the basics here
568
- // <https://github.com/cloudhead/less.js/blob/master/lib/less/functions.js>
569
-
570
- function desaturate(color, amount) {
571
- amount = (amount === 0) ? 0 : (amount || 10);
572
- var hsl = tinycolor(color).toHsl();
573
- hsl.s -= amount / 100;
574
- hsl.s = clamp01(hsl.s);
575
- return tinycolor(hsl);
576
- }
577
-
578
- function saturate(color, amount) {
579
- amount = (amount === 0) ? 0 : (amount || 10);
580
- var hsl = tinycolor(color).toHsl();
581
- hsl.s += amount / 100;
582
- hsl.s = clamp01(hsl.s);
583
- return tinycolor(hsl);
584
- }
585
-
586
- function greyscale(color) {
587
- return tinycolor(color).desaturate(100);
588
- }
589
-
590
- function lighten (color, amount) {
591
- amount = (amount === 0) ? 0 : (amount || 10);
592
- var hsl = tinycolor(color).toHsl();
593
- hsl.l += amount / 100;
594
- hsl.l = clamp01(hsl.l);
595
- return tinycolor(hsl);
596
- }
597
-
598
- function brighten(color, amount) {
599
- amount = (amount === 0) ? 0 : (amount || 10);
600
- var rgb = tinycolor(color).toRgb();
601
- rgb.r = mathMax(0, mathMin(255, rgb.r - mathRound(255 * - (amount / 100))));
602
- rgb.g = mathMax(0, mathMin(255, rgb.g - mathRound(255 * - (amount / 100))));
603
- rgb.b = mathMax(0, mathMin(255, rgb.b - mathRound(255 * - (amount / 100))));
604
- return tinycolor(rgb);
605
- }
606
-
607
- function darken (color, amount) {
608
- amount = (amount === 0) ? 0 : (amount || 10);
609
- var hsl = tinycolor(color).toHsl();
610
- hsl.l -= amount / 100;
611
- hsl.l = clamp01(hsl.l);
612
- return tinycolor(hsl);
613
- }
614
-
615
- // Spin takes a positive or negative amount within [-360, 360] indicating the change of hue.
616
- // Values outside of this range will be wrapped into this range.
617
- function spin(color, amount) {
618
- var hsl = tinycolor(color).toHsl();
619
- var hue = (hsl.h + amount) % 360;
620
- hsl.h = hue < 0 ? 360 + hue : hue;
621
- return tinycolor(hsl);
622
- }
623
-
624
- // Combination Functions
625
- // ---------------------
626
- // Thanks to jQuery xColor for some of the ideas behind these
627
- // <https://github.com/infusion/jQuery-xcolor/blob/master/jquery.xcolor.js>
628
-
629
- function complement(color) {
630
- var hsl = tinycolor(color).toHsl();
631
- hsl.h = (hsl.h + 180) % 360;
632
- return tinycolor(hsl);
633
- }
634
-
635
- function triad(color) {
636
- var hsl = tinycolor(color).toHsl();
637
- var h = hsl.h;
638
- return [
639
- tinycolor(color),
640
- tinycolor({ h: (h + 120) % 360, s: hsl.s, l: hsl.l }),
641
- tinycolor({ h: (h + 240) % 360, s: hsl.s, l: hsl.l })
642
- ];
643
- }
644
-
645
- function tetrad(color) {
646
- var hsl = tinycolor(color).toHsl();
647
- var h = hsl.h;
648
- return [
649
- tinycolor(color),
650
- tinycolor({ h: (h + 90) % 360, s: hsl.s, l: hsl.l }),
651
- tinycolor({ h: (h + 180) % 360, s: hsl.s, l: hsl.l }),
652
- tinycolor({ h: (h + 270) % 360, s: hsl.s, l: hsl.l })
653
- ];
654
- }
655
-
656
- function splitcomplement(color) {
657
- var hsl = tinycolor(color).toHsl();
658
- var h = hsl.h;
659
- return [
660
- tinycolor(color),
661
- tinycolor({ h: (h + 72) % 360, s: hsl.s, l: hsl.l}),
662
- tinycolor({ h: (h + 216) % 360, s: hsl.s, l: hsl.l})
663
- ];
664
- }
665
-
666
- function analogous(color, results, slices) {
667
- results = results || 6;
668
- slices = slices || 30;
669
-
670
- var hsl = tinycolor(color).toHsl();
671
- var part = 360 / slices;
672
- var ret = [tinycolor(color)];
673
-
674
- for (hsl.h = ((hsl.h - (part * results >> 1)) + 720) % 360; --results; ) {
675
- hsl.h = (hsl.h + part) % 360;
676
- ret.push(tinycolor(hsl));
677
- }
678
- return ret;
679
- }
680
-
681
- function monochromatic(color, results) {
682
- results = results || 6;
683
- var hsv = tinycolor(color).toHsv();
684
- var h = hsv.h, s = hsv.s, v = hsv.v;
685
- var ret = [];
686
- var modification = 1 / results;
687
-
688
- while (results--) {
689
- ret.push(tinycolor({ h: h, s: s, v: v}));
690
- v = (v + modification) % 1;
691
- }
692
-
693
- return ret;
694
- }
695
-
696
- // Utility Functions
697
- // ---------------------
698
-
699
- tinycolor.mix = function(color1, color2, amount) {
700
- amount = (amount === 0) ? 0 : (amount || 50);
701
-
702
- var rgb1 = tinycolor(color1).toRgb();
703
- var rgb2 = tinycolor(color2).toRgb();
704
-
705
- var p = amount / 100;
706
-
707
- var rgba = {
708
- r: ((rgb2.r - rgb1.r) * p) + rgb1.r,
709
- g: ((rgb2.g - rgb1.g) * p) + rgb1.g,
710
- b: ((rgb2.b - rgb1.b) * p) + rgb1.b,
711
- a: ((rgb2.a - rgb1.a) * p) + rgb1.a
712
- };
713
-
714
- return tinycolor(rgba);
715
- };
716
-
717
- // Readability Functions
718
- // ---------------------
719
- // <http://www.w3.org/TR/2008/REC-WCAG20-20081211/#contrast-ratiodef (WCAG Version 2)
720
-
721
- // contrast
722
- // Analyze the 2 colors and returns the color contrast defined by (WCAG Version 2)
723
- tinycolor.readability = function(color1, color2) {
724
- var c1 = tinycolor(color1);
725
- var c2 = tinycolor(color2);
726
- return (Math.max(c1.getLuminance(),c2.getLuminance())+0.05) / (Math.min(c1.getLuminance(),c2.getLuminance())+0.05);
727
- };
728
-
729
- // isReadable
730
- // Ensure that foreground and background color combinations meet WCAG2 guidelines.
731
- // The third argument is an optional Object.
732
- // the 'level' property states 'AA' or 'AAA' - if missing or invalid, it defaults to 'AA';
733
- // the 'size' property states 'large' or 'small' - if missing or invalid, it defaults to 'small'.
734
- // If the entire object is absent, isReadable defaults to {level:"AA",size:"small"}.
735
-
736
- // *Example*
737
- // tinycolor.isReadable("#000", "#111") => false
738
- // tinycolor.isReadable("#000", "#111",{level:"AA",size:"large"}) => false
739
- tinycolor.isReadable = function(color1, color2, wcag2) {
740
- var readability = tinycolor.readability(color1, color2);
741
- var wcag2Parms, out;
742
-
743
- out = false;
744
-
745
- wcag2Parms = validateWCAG2Parms(wcag2);
746
- switch (wcag2Parms.level + wcag2Parms.size) {
747
- case "AAsmall":
748
- case "AAAlarge":
749
- out = readability >= 4.5;
750
- break;
751
- case "AAlarge":
752
- out = readability >= 3;
753
- break;
754
- case "AAAsmall":
755
- out = readability >= 7;
756
- break;
757
- }
758
- return out;
759
-
760
- };
761
-
762
- // mostReadable
763
- // Given a base color and a list of possible foreground or background
764
- // colors for that base, returns the most readable color.
765
- // Optionally returns Black or White if the most readable color is unreadable.
766
- // *Example*
767
- // tinycolor.mostReadable(tinycolor.mostReadable("#123", ["#124", "#125"],{includeFallbackColors:false}).toHexString(); // "#112255"
768
- // tinycolor.mostReadable(tinycolor.mostReadable("#123", ["#124", "#125"],{includeFallbackColors:true}).toHexString(); // "#ffffff"
769
- // tinycolor.mostReadable("#a8015a", ["#faf3f3"],{includeFallbackColors:true,level:"AAA",size:"large"}).toHexString(); // "#faf3f3"
770
- // tinycolor.mostReadable("#a8015a", ["#faf3f3"],{includeFallbackColors:true,level:"AAA",size:"small"}).toHexString(); // "#ffffff"
771
- tinycolor.mostReadable = function(baseColor, colorList, args) {
772
- var bestColor = null;
773
- var bestScore = 0;
774
- var readability;
775
- var includeFallbackColors, level, size ;
776
- args = args || {};
777
- includeFallbackColors = args.includeFallbackColors ;
778
- level = args.level;
779
- size = args.size;
780
-
781
- for (var i= 0; i < colorList.length ; i++) {
782
- readability = tinycolor.readability(baseColor, colorList[i]);
783
- if (readability > bestScore) {
784
- bestScore = readability;
785
- bestColor = tinycolor(colorList[i]);
786
- }
787
- }
788
-
789
- if (tinycolor.isReadable(baseColor, bestColor, {"level":level,"size":size}) || !includeFallbackColors) {
790
- return bestColor;
791
- }
792
- else {
793
- args.includeFallbackColors=false;
794
- return tinycolor.mostReadable(baseColor,["#fff", "#000"],args);
795
- }
796
- };
797
-
798
- // Big List of Colors
799
- // ------------------
800
- // <http://www.w3.org/TR/css3-color/#svg-color>
801
- var names = tinycolor.names = {
802
- aliceblue: "f0f8ff",
803
- antiquewhite: "faebd7",
804
- aqua: "0ff",
805
- aquamarine: "7fffd4",
806
- azure: "f0ffff",
807
- beige: "f5f5dc",
808
- bisque: "ffe4c4",
809
- black: "000",
810
- blanchedalmond: "ffebcd",
811
- blue: "00f",
812
- blueviolet: "8a2be2",
813
- brown: "a52a2a",
814
- burlywood: "deb887",
815
- burntsienna: "ea7e5d",
816
- cadetblue: "5f9ea0",
817
- chartreuse: "7fff00",
818
- chocolate: "d2691e",
819
- coral: "ff7f50",
820
- cornflowerblue: "6495ed",
821
- cornsilk: "fff8dc",
822
- crimson: "dc143c",
823
- cyan: "0ff",
824
- darkblue: "00008b",
825
- darkcyan: "008b8b",
826
- darkgoldenrod: "b8860b",
827
- darkgray: "a9a9a9",
828
- darkgreen: "006400",
829
- darkgrey: "a9a9a9",
830
- darkkhaki: "bdb76b",
831
- darkmagenta: "8b008b",
832
- darkolivegreen: "556b2f",
833
- darkorange: "ff8c00",
834
- darkorchid: "9932cc",
835
- darkred: "8b0000",
836
- darksalmon: "e9967a",
837
- darkseagreen: "8fbc8f",
838
- darkslateblue: "483d8b",
839
- darkslategray: "2f4f4f",
840
- darkslategrey: "2f4f4f",
841
- darkturquoise: "00ced1",
842
- darkviolet: "9400d3",
843
- deeppink: "ff1493",
844
- deepskyblue: "00bfff",
845
- dimgray: "696969",
846
- dimgrey: "696969",
847
- dodgerblue: "1e90ff",
848
- firebrick: "b22222",
849
- floralwhite: "fffaf0",
850
- forestgreen: "228b22",
851
- fuchsia: "f0f",
852
- gainsboro: "dcdcdc",
853
- ghostwhite: "f8f8ff",
854
- gold: "ffd700",
855
- goldenrod: "daa520",
856
- gray: "808080",
857
- green: "008000",
858
- greenyellow: "adff2f",
859
- grey: "808080",
860
- honeydew: "f0fff0",
861
- hotpink: "ff69b4",
862
- indianred: "cd5c5c",
863
- indigo: "4b0082",
864
- ivory: "fffff0",
865
- khaki: "f0e68c",
866
- lavender: "e6e6fa",
867
- lavenderblush: "fff0f5",
868
- lawngreen: "7cfc00",
869
- lemonchiffon: "fffacd",
870
- lightblue: "add8e6",
871
- lightcoral: "f08080",
872
- lightcyan: "e0ffff",
873
- lightgoldenrodyellow: "fafad2",
874
- lightgray: "d3d3d3",
875
- lightgreen: "90ee90",
876
- lightgrey: "d3d3d3",
877
- lightpink: "ffb6c1",
878
- lightsalmon: "ffa07a",
879
- lightseagreen: "20b2aa",
880
- lightskyblue: "87cefa",
881
- lightslategray: "789",
882
- lightslategrey: "789",
883
- lightsteelblue: "b0c4de",
884
- lightyellow: "ffffe0",
885
- lime: "0f0",
886
- limegreen: "32cd32",
887
- linen: "faf0e6",
888
- magenta: "f0f",
889
- maroon: "800000",
890
- mediumaquamarine: "66cdaa",
891
- mediumblue: "0000cd",
892
- mediumorchid: "ba55d3",
893
- mediumpurple: "9370db",
894
- mediumseagreen: "3cb371",
895
- mediumslateblue: "7b68ee",
896
- mediumspringgreen: "00fa9a",
897
- mediumturquoise: "48d1cc",
898
- mediumvioletred: "c71585",
899
- midnightblue: "191970",
900
- mintcream: "f5fffa",
901
- mistyrose: "ffe4e1",
902
- moccasin: "ffe4b5",
903
- navajowhite: "ffdead",
904
- navy: "000080",
905
- oldlace: "fdf5e6",
906
- olive: "808000",
907
- olivedrab: "6b8e23",
908
- orange: "ffa500",
909
- orangered: "ff4500",
910
- orchid: "da70d6",
911
- palegoldenrod: "eee8aa",
912
- palegreen: "98fb98",
913
- paleturquoise: "afeeee",
914
- palevioletred: "db7093",
915
- papayawhip: "ffefd5",
916
- peachpuff: "ffdab9",
917
- peru: "cd853f",
918
- pink: "ffc0cb",
919
- plum: "dda0dd",
920
- powderblue: "b0e0e6",
921
- purple: "800080",
922
- rebeccapurple: "663399",
923
- red: "f00",
924
- rosybrown: "bc8f8f",
925
- royalblue: "4169e1",
926
- saddlebrown: "8b4513",
927
- salmon: "fa8072",
928
- sandybrown: "f4a460",
929
- seagreen: "2e8b57",
930
- seashell: "fff5ee",
931
- sienna: "a0522d",
932
- silver: "c0c0c0",
933
- skyblue: "87ceeb",
934
- slateblue: "6a5acd",
935
- slategray: "708090",
936
- slategrey: "708090",
937
- snow: "fffafa",
938
- springgreen: "00ff7f",
939
- steelblue: "4682b4",
940
- tan: "d2b48c",
941
- teal: "008080",
942
- thistle: "d8bfd8",
943
- tomato: "ff6347",
944
- turquoise: "40e0d0",
945
- violet: "ee82ee",
946
- wheat: "f5deb3",
947
- white: "fff",
948
- whitesmoke: "f5f5f5",
949
- yellow: "ff0",
950
- yellowgreen: "9acd32"
951
- };
952
-
953
- // Make it easy to access colors via hexNames[hex]
954
- var hexNames = tinycolor.hexNames = flip(names);
955
-
956
- // Utilities
957
- // ---------
958
-
959
- // { 'name1': 'val1' } becomes { 'val1': 'name1' }
960
- function flip(o) {
961
- var flipped = { };
962
- for (var i in o) {
963
- if (o.hasOwnProperty(i)) {
964
- flipped[o[i]] = i;
965
- }
966
- }
967
- return flipped;
968
- }
969
-
970
- // Return a valid alpha value [0,1] with all invalid values being set to 1
971
- function boundAlpha(a) {
972
- a = parseFloat(a);
973
-
974
- if (isNaN(a) || a < 0 || a > 1) {
975
- a = 1;
976
- }
977
-
978
- return a;
979
- }
980
-
981
- // Take input from [0, n] and return it as [0, 1]
982
- function bound01(n, max) {
983
- if (isOnePointZero(n)) { n = "100%"; }
984
-
985
- var processPercent = isPercentage(n);
986
- n = mathMin(max, mathMax(0, parseFloat(n)));
987
-
988
- // Automatically convert percentage into number
989
- if (processPercent) {
990
- n = parseInt(n * max, 10) / 100;
991
- }
992
-
993
- // Handle floating point rounding errors
994
- if ((Math.abs(n - max) < 0.000001)) {
995
- return 1;
996
- }
997
-
998
- // Convert into [0, 1] range if it isn't already
999
- return (n % max) / parseFloat(max);
1000
- }
1001
-
1002
- // Force a number between 0 and 1
1003
- function clamp01(val) {
1004
- return mathMin(1, mathMax(0, val));
1005
- }
1006
-
1007
- // Parse a base-16 hex value into a base-10 integer
1008
- function parseIntFromHex(val) {
1009
- return parseInt(val, 16);
1010
- }
1011
-
1012
- // Need to handle 1.0 as 100%, since once it is a number, there is no difference between it and 1
1013
- // <http://stackoverflow.com/questions/7422072/javascript-how-to-detect-number-as-a-decimal-including-1-0>
1014
- function isOnePointZero(n) {
1015
- return typeof n == "string" && n.indexOf('.') != -1 && parseFloat(n) === 1;
1016
- }
1017
-
1018
- // Check to see if string passed in is a percentage
1019
- function isPercentage(n) {
1020
- return typeof n === "string" && n.indexOf('%') != -1;
1021
- }
1022
-
1023
- // Force a hex value to have 2 characters
1024
- function pad2(c) {
1025
- return c.length == 1 ? '0' + c : '' + c;
1026
- }
1027
-
1028
- // Replace a decimal with it's percentage value
1029
- function convertToPercentage(n) {
1030
- if (n <= 1) {
1031
- n = (n * 100) + "%";
1032
- }
1033
-
1034
- return n;
1035
- }
1036
-
1037
- // Converts a decimal to a hex value
1038
- function convertDecimalToHex(d) {
1039
- return Math.round(parseFloat(d) * 255).toString(16);
1040
- }
1041
- // Converts a hex value to a decimal
1042
- function convertHexToDecimal(h) {
1043
- return (parseIntFromHex(h) / 255);
1044
- }
1045
-
1046
- var matchers = (function() {
1047
-
1048
- // <http://www.w3.org/TR/css3-values/#integers>
1049
- var CSS_INTEGER = "[-\\+]?\\d+%?";
1050
-
1051
- // <http://www.w3.org/TR/css3-values/#number-value>
1052
- var CSS_NUMBER = "[-\\+]?\\d*\\.\\d+%?";
1053
-
1054
- // Allow positive/negative integer/number. Don't capture the either/or, just the entire outcome.
1055
- var CSS_UNIT = "(?:" + CSS_NUMBER + ")|(?:" + CSS_INTEGER + ")";
1056
-
1057
- // Actual matching.
1058
- // Parentheses and commas are optional, but not required.
1059
- // Whitespace can take the place of commas or opening paren
1060
- var PERMISSIVE_MATCH3 = "[\\s|\\(]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")\\s*\\)?";
1061
- var PERMISSIVE_MATCH4 = "[\\s|\\(]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")\\s*\\)?";
1062
-
1063
- return {
1064
- CSS_UNIT: new RegExp(CSS_UNIT),
1065
- rgb: new RegExp("rgb" + PERMISSIVE_MATCH3),
1066
- rgba: new RegExp("rgba" + PERMISSIVE_MATCH4),
1067
- hsl: new RegExp("hsl" + PERMISSIVE_MATCH3),
1068
- hsla: new RegExp("hsla" + PERMISSIVE_MATCH4),
1069
- hsv: new RegExp("hsv" + PERMISSIVE_MATCH3),
1070
- hsva: new RegExp("hsva" + PERMISSIVE_MATCH4),
1071
- hex3: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,
1072
- hex6: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,
1073
- hex4: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,
1074
- hex8: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/
1075
- };
1076
- })();
1077
-
1078
- // isValidCSSUnit
1079
- // Take in a single string / number and check to see if it looks like a CSS unit
1080
- // (see matchers above for definition).
1081
- function isValidCSSUnit(color) {
1082
- return !!matchers.CSS_UNIT.exec(color);
1083
- }
1084
-
1085
- // stringInputToObject
1086
- // Permissive string parsing. Take in a number of formats, and output an object
1087
- // based on detected format. Returns { r, g, b } or { h, s, l } or { h, s, v}
1088
- function stringInputToObject(color) {
1089
-
1090
- color = color.replace(trimLeft, '').replace(trimRight, '').toLowerCase();
1091
- var named = false;
1092
- if (names[color]) {
1093
- color = names[color];
1094
- named = true;
1095
- }
1096
- else if (color == 'transparent') {
1097
- return { r: 0, g: 0, b: 0, a: 0, format: "name" };
1098
- }
1099
-
1100
- // Try to match string input using regular expressions.
1101
- // Keep most of the number bounding out of this function - don't worry about [0,1] or [0,100] or [0,360]
1102
- // Just return an object and let the conversion functions handle that.
1103
- // This way the result will be the same whether the tinycolor is initialized with string or object.
1104
- var match;
1105
- if ((match = matchers.rgb.exec(color))) {
1106
- return { r: match[1], g: match[2], b: match[3] };
1107
- }
1108
- if ((match = matchers.rgba.exec(color))) {
1109
- return { r: match[1], g: match[2], b: match[3], a: match[4] };
1110
- }
1111
- if ((match = matchers.hsl.exec(color))) {
1112
- return { h: match[1], s: match[2], l: match[3] };
1113
- }
1114
- if ((match = matchers.hsla.exec(color))) {
1115
- return { h: match[1], s: match[2], l: match[3], a: match[4] };
1116
- }
1117
- if ((match = matchers.hsv.exec(color))) {
1118
- return { h: match[1], s: match[2], v: match[3] };
1119
- }
1120
- if ((match = matchers.hsva.exec(color))) {
1121
- return { h: match[1], s: match[2], v: match[3], a: match[4] };
1122
- }
1123
- if ((match = matchers.hex8.exec(color))) {
1124
- return {
1125
- r: parseIntFromHex(match[1]),
1126
- g: parseIntFromHex(match[2]),
1127
- b: parseIntFromHex(match[3]),
1128
- a: convertHexToDecimal(match[4]),
1129
- format: named ? "name" : "hex8"
1130
- };
1131
- }
1132
- if ((match = matchers.hex6.exec(color))) {
1133
- return {
1134
- r: parseIntFromHex(match[1]),
1135
- g: parseIntFromHex(match[2]),
1136
- b: parseIntFromHex(match[3]),
1137
- format: named ? "name" : "hex"
1138
- };
1139
- }
1140
- if ((match = matchers.hex4.exec(color))) {
1141
- return {
1142
- r: parseIntFromHex(match[1] + '' + match[1]),
1143
- g: parseIntFromHex(match[2] + '' + match[2]),
1144
- b: parseIntFromHex(match[3] + '' + match[3]),
1145
- a: convertHexToDecimal(match[4] + '' + match[4]),
1146
- format: named ? "name" : "hex8"
1147
- };
1148
- }
1149
- if ((match = matchers.hex3.exec(color))) {
1150
- return {
1151
- r: parseIntFromHex(match[1] + '' + match[1]),
1152
- g: parseIntFromHex(match[2] + '' + match[2]),
1153
- b: parseIntFromHex(match[3] + '' + match[3]),
1154
- format: named ? "name" : "hex"
1155
- };
1156
- }
1157
-
1158
- return false;
1159
- }
1160
-
1161
- function validateWCAG2Parms(parms) {
1162
- // return valid WCAG2 parms for isReadable.
1163
- // If input parms are invalid, return {"level":"AA", "size":"small"}
1164
- var level, size;
1165
- parms = parms || {"level":"AA", "size":"small"};
1166
- level = (parms.level || "AA").toUpperCase();
1167
- size = (parms.size || "small").toLowerCase();
1168
- if (level !== "AA" && level !== "AAA") {
1169
- level = "AA";
1170
- }
1171
- if (size !== "small" && size !== "large") {
1172
- size = "small";
1173
- }
1174
- return {"level":level, "size":size};
1175
- }
1176
-
1177
- this.tinycolor = tinycolor;
1178
-
1179
- })()`;
1180
- }
1181
- // It is hacky way to make this function will be compiled preferentially by less
1182
- // resolve error: `ReferenceError: colorPalette is not defined`
1183
- // https://github.com/ant-design/ant-motion/issues/44
1184
- .tinyColorMixin();