@aloudata/aloudata-design 0.2.6 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (527) hide show
  1. package/es/Avatar/index.d.ts +15 -0
  2. package/es/Avatar/index.js +33 -0
  3. package/es/Avatar/style/index.d.ts +2 -0
  4. package/es/Avatar/style/index.js +2 -0
  5. package/es/Avatar/style/index.less +34 -0
  6. package/es/Breadcrumb/index.d.ts +8 -0
  7. package/es/Breadcrumb/index.js +36 -0
  8. package/es/Breadcrumb/style/index.d.ts +2 -0
  9. package/es/Breadcrumb/style/index.js +2 -0
  10. package/es/Breadcrumb/style/index.less +36 -0
  11. package/es/Button/index.d.ts +4 -4
  12. package/es/Button/index.js +45 -25
  13. package/es/Button/style/index.less +185 -150
  14. package/es/Button/style/variables.less +67 -0
  15. package/es/Checkbox/style/index.less +35 -1
  16. package/es/ConfigProvider/index.d.ts +1 -0
  17. package/es/ConfigProvider/index.js +1 -0
  18. package/es/Dropdown/Button.js +1 -1
  19. package/es/Dropdown/style/index.less +41 -8
  20. package/es/Empty/image/Authority.d.ts +3 -0
  21. package/es/Empty/image/Authority.js +360 -0
  22. package/es/Empty/image/Dataspace.d.ts +3 -0
  23. package/es/Empty/image/Dataspace.js +271 -0
  24. package/es/Empty/image/Search.d.ts +3 -0
  25. package/es/Empty/image/Search.js +156 -0
  26. package/es/Empty/image/Simple.d.ts +3 -0
  27. package/es/Empty/image/Simple.js +20 -0
  28. package/es/Empty/image/Worksheet.d.ts +3 -0
  29. package/es/Empty/image/Worksheet.js +270 -0
  30. package/es/Empty/image/empty.d.ts +3 -0
  31. package/es/Empty/image/empty.js +139 -0
  32. package/es/Empty/index.d.ts +21 -5
  33. package/es/Empty/index.js +84 -54
  34. package/es/Empty/style/index.less +56 -11
  35. package/es/Form/style/index.less +8 -0
  36. package/es/Icon/antdIconfont.d.ts +4 -0
  37. package/es/Icon/antdIconfont.js +2 -0
  38. package/es/Icon/components/Icon.d.ts +32 -0
  39. package/es/Icon/components/Icon.js +27 -0
  40. package/es/Icon/components/createFromScripts.d.ts +1 -0
  41. package/es/Icon/components/createFromScripts.js +35 -0
  42. package/es/Icon/iconSvgs/arrows_right_sm.svg +3 -0
  43. package/es/Icon/icons/AddLine.d.ts +13 -0
  44. package/es/Icon/icons/AddLine.js +66 -0
  45. package/es/Icon/icons/AlertFill.d.ts +13 -0
  46. package/es/Icon/icons/AlertFill.js +73 -0
  47. package/es/Icon/icons/ArrowsDownLine.d.ts +13 -0
  48. package/es/Icon/icons/ArrowsDownLine.js +66 -0
  49. package/es/Icon/icons/CancelFill.d.ts +13 -0
  50. package/es/Icon/icons/CancelFill.js +73 -0
  51. package/es/Icon/icons/CheckFill.d.ts +13 -0
  52. package/es/Icon/icons/CheckFill.js +73 -0
  53. package/es/Icon/icons/CloseLine.d.ts +13 -0
  54. package/es/Icon/icons/CloseLine.js +66 -0
  55. package/es/Icon/icons/DatabaseLine.d.ts +13 -0
  56. package/es/Icon/icons/DatabaseLine.js +66 -0
  57. package/es/Icon/icons/Deleteline.d.ts +13 -0
  58. package/es/Icon/icons/Deleteline.js +66 -0
  59. package/es/Icon/icons/DownloadLine.d.ts +13 -0
  60. package/es/Icon/icons/DownloadLine.js +73 -0
  61. package/es/Icon/icons/ErrorFill.d.ts +13 -0
  62. package/es/Icon/icons/ErrorFill.js +73 -0
  63. package/es/Icon/icons/EyeOffLine.d.ts +13 -0
  64. package/es/Icon/icons/EyeOffLine.js +73 -0
  65. package/es/Icon/icons/EyeOnLine.d.ts +13 -0
  66. package/es/Icon/icons/EyeOnLine.js +66 -0
  67. package/es/Icon/icons/FileLine.d.ts +13 -0
  68. package/es/Icon/icons/FileLine.js +73 -0
  69. package/es/Icon/icons/HomeFill.d.ts +13 -0
  70. package/es/Icon/icons/HomeFill.js +73 -0
  71. package/es/Icon/icons/IconBase.withSpan.tpl +58 -0
  72. package/es/Icon/icons/LightningLine.d.ts +13 -0
  73. package/es/Icon/icons/LightningLine.js +66 -0
  74. package/es/Icon/icons/Loading.d.ts +13 -0
  75. package/es/Icon/icons/Loading.js +66 -0
  76. package/es/Icon/icons/More.d.ts +13 -0
  77. package/es/Icon/icons/More.js +66 -0
  78. package/es/Icon/icons/NewWindowsLine.d.ts +13 -0
  79. package/es/Icon/icons/NewWindowsLine.js +74 -0
  80. package/es/Icon/icons/SearchLine.d.ts +13 -0
  81. package/es/Icon/icons/SearchLine.js +73 -0
  82. package/es/Icon/icons/SortAscendingLine.d.ts +13 -0
  83. package/es/Icon/icons/SortAscendingLine.js +66 -0
  84. package/es/Icon/icons/SortDescendingLine.d.ts +13 -0
  85. package/es/Icon/icons/SortDescendingLine.js +66 -0
  86. package/es/Icon/icons/TextLine.d.ts +13 -0
  87. package/es/Icon/icons/TextLine.js +73 -0
  88. package/es/Icon/icons/UserLine.d.ts +13 -0
  89. package/es/Icon/icons/UserLine.js +73 -0
  90. package/es/Icon/icons/style.css +9 -0
  91. package/es/Icon/icons/style.css.d.ts +10 -0
  92. package/es/Icon/index.d.ts +2 -13
  93. package/es/Icon/index.js +2 -45
  94. package/es/Icon/index.less +9 -17
  95. package/es/Icon/style/index.d.ts +1 -0
  96. package/es/Icon/style/index.js +1 -0
  97. package/es/Icon/style/index.less +0 -0
  98. package/es/Input/components/Group/index.d.ts +4 -2
  99. package/es/Input/components/Group/index.js +23 -1
  100. package/es/Input/components/Input/index.d.ts +1 -1
  101. package/es/Input/components/Input/index.js +12 -0
  102. package/es/Input/components/Password/index.d.ts +7 -1
  103. package/es/Input/components/Password/index.js +29 -6
  104. package/es/Input/style/index.less +278 -43
  105. package/es/InputNumber/index.d.ts +4 -0
  106. package/es/InputNumber/index.js +32 -0
  107. package/es/InputNumber/style/index.d.ts +2 -0
  108. package/es/InputNumber/style/index.js +2 -0
  109. package/es/InputNumber/style/index.less +224 -0
  110. package/es/Menu/Divider.d.ts +2 -1
  111. package/es/Menu/MenuItem.d.ts +2 -1
  112. package/es/Menu/SubMenu.d.ts +2 -1
  113. package/es/Menu/SubMenu.js +1 -1
  114. package/es/Menu/index.d.ts +2 -1
  115. package/es/Menu/style/index.less +5 -5
  116. package/es/Modal/index.d.ts +21 -0
  117. package/es/Modal/index.js +95 -0
  118. package/es/Modal/style/index.d.ts +2 -0
  119. package/es/Modal/style/index.js +2 -0
  120. package/es/Modal/style/index.less +206 -0
  121. package/es/Navigator/components/Header/index.d.ts +9 -0
  122. package/es/Navigator/components/Header/index.js +18 -0
  123. package/es/Navigator/components/Menu/index.d.ts +7 -13
  124. package/es/Navigator/components/Menu/index.js +26 -162
  125. package/es/Navigator/components/MenuItem/index.d.ts +21 -0
  126. package/es/Navigator/components/MenuItem/index.js +39 -0
  127. package/es/Navigator/index.d.ts +19 -8
  128. package/es/Navigator/index.js +6 -15
  129. package/es/Navigator/style/bg.png +0 -0
  130. package/es/Navigator/style/index.less +105 -174
  131. package/es/Popover/index.d.ts +5 -0
  132. package/es/Popover/index.js +22 -0
  133. package/es/Popover/style/index.d.ts +2 -0
  134. package/es/Popover/style/index.js +2 -0
  135. package/es/Popover/style/index.less +37 -0
  136. package/es/Radio/index.d.ts +2 -3
  137. package/es/Select/index.d.ts +37 -9
  138. package/es/Select/index.js +155 -7
  139. package/es/Select/rc-select/BaseSelect.d.ts +116 -0
  140. package/es/Select/rc-select/BaseSelect.js +641 -0
  141. package/es/Select/rc-select/OptGroup.d.ts +12 -0
  142. package/es/Select/{OptionsList → rc-select}/OptGroup.js +1 -0
  143. package/es/Select/rc-select/Option.d.ts +14 -0
  144. package/es/Select/{OptionsList/Options.js → rc-select/Option.js} +1 -0
  145. package/es/Select/rc-select/OptionList.d.ts +10 -0
  146. package/es/Select/rc-select/OptionList.js +401 -0
  147. package/es/Select/rc-select/Select.d.ts +109 -0
  148. package/es/Select/rc-select/Select.js +547 -0
  149. package/es/Select/rc-select/SelectContext.d.ts +20 -0
  150. package/es/Select/rc-select/SelectContext.js +4 -0
  151. package/es/Select/rc-select/SelectTrigger.d.ts +30 -0
  152. package/es/Select/rc-select/SelectTrigger.js +136 -0
  153. package/es/Select/rc-select/Selector/Input.d.ts +26 -0
  154. package/es/Select/rc-select/Selector/Input.js +114 -0
  155. package/es/Select/rc-select/Selector/MultipleSelector.d.ts +16 -0
  156. package/es/Select/rc-select/Selector/MultipleSelector.js +236 -0
  157. package/es/Select/rc-select/Selector/SingleSelector.d.ts +8 -0
  158. package/es/Select/rc-select/Selector/SingleSelector.js +112 -0
  159. package/es/Select/rc-select/Selector/index.d.ts +80 -0
  160. package/es/Select/rc-select/Selector/index.js +194 -0
  161. package/es/Select/rc-select/TransBtn.d.ts +12 -0
  162. package/es/Select/rc-select/TransBtn.js +42 -0
  163. package/es/Select/rc-select/hooks/useBaseProps.d.ts +13 -0
  164. package/es/Select/rc-select/hooks/useBaseProps.js +11 -0
  165. package/es/Select/rc-select/hooks/useCache.d.ts +7 -0
  166. package/es/Select/rc-select/hooks/useCache.js +49 -0
  167. package/es/Select/rc-select/hooks/useDelayReset.d.ts +5 -0
  168. package/es/Select/rc-select/hooks/useDelayReset.js +50 -0
  169. package/es/Select/rc-select/hooks/useFilterOptions.d.ts +3 -0
  170. package/es/Select/rc-select/hooks/useFilterOptions.js +75 -0
  171. package/es/Select/rc-select/hooks/useId.d.ts +5 -0
  172. package/es/Select/rc-select/hooks/useId.js +47 -0
  173. package/es/Select/rc-select/hooks/useLayoutEffect.d.ts +5 -0
  174. package/es/Select/rc-select/hooks/useLayoutEffect.js +17 -0
  175. package/es/Select/rc-select/hooks/useLock.d.ts +7 -0
  176. package/es/Select/rc-select/hooks/useLock.js +35 -0
  177. package/es/Select/rc-select/hooks/useOptions.d.ts +11 -0
  178. package/es/Select/rc-select/hooks/useOptions.js +53 -0
  179. package/es/Select/rc-select/hooks/useRefFunc.d.ts +5 -0
  180. package/es/Select/rc-select/hooks/useRefFunc.js +15 -0
  181. package/es/Select/rc-select/hooks/useSelectTriggerControl.d.ts +1 -0
  182. package/es/Select/rc-select/hooks/useSelectTriggerControl.js +40 -0
  183. package/es/Select/rc-select/index.d.ts +10 -0
  184. package/es/Select/rc-select/index.js +7 -0
  185. package/es/Select/rc-select/interface.d.ts +10 -0
  186. package/es/Select/{interface.js → rc-select/interface.js} +0 -0
  187. package/es/Select/rc-select/utils/commonUtil.d.ts +4 -0
  188. package/es/Select/rc-select/utils/commonUtil.js +12 -0
  189. package/es/Select/rc-select/utils/keyUtil.d.ts +2 -0
  190. package/es/Select/rc-select/utils/keyUtil.js +8 -0
  191. package/es/Select/rc-select/utils/legacyUtil.d.ts +3 -0
  192. package/es/Select/rc-select/utils/legacyUtil.js +58 -0
  193. package/es/Select/rc-select/utils/platformUtil.d.ts +1 -0
  194. package/es/Select/rc-select/utils/platformUtil.js +4 -0
  195. package/es/Select/rc-select/utils/valueUtil.d.ts +22 -0
  196. package/es/Select/rc-select/utils/valueUtil.js +157 -0
  197. package/es/Select/rc-select/utils/warningPropsUtil.d.ts +3 -0
  198. package/es/Select/rc-select/utils/warningPropsUtil.js +114 -0
  199. package/es/Select/style/index.d.ts +1 -0
  200. package/es/Select/style/index.js +3 -1
  201. package/es/Select/style/index.less +230 -480
  202. package/es/Select/style/multiple.less +222 -0
  203. package/es/Select/style/rtl.less +168 -0
  204. package/es/Select/style/select.less +337 -0
  205. package/es/Select/style/single.less +179 -0
  206. package/es/Select/style/status.less +48 -0
  207. package/es/Select/style/variables.less +67 -0
  208. package/es/Select/style/variables.less.d.ts +100 -0
  209. package/es/Select/utils/iconUtil.d.ts +24 -0
  210. package/es/Select/utils/iconUtil.js +82 -0
  211. package/es/Space/index.d.ts +1 -1
  212. package/es/Space/index.js +0 -1
  213. package/es/Table/Table.d.ts +5 -0
  214. package/es/Table/Table.js +473 -0
  215. package/es/Table/index.d.ts +2 -4
  216. package/es/Table/index.js +2 -463
  217. package/es/Table/interface.d.ts +11 -15
  218. package/es/Table/style/index.less +51 -21
  219. package/es/Tabs/index.d.ts +2 -1
  220. package/es/Tabs/index.js +10 -4
  221. package/es/Tabs/style/index.less +73 -7
  222. package/es/Tooltip/style/index.less +2 -1
  223. package/es/index.d.ts +15 -2
  224. package/es/index.js +8 -1
  225. package/es/style/index.less +3 -1
  226. package/es/style/mixins/index.less +8 -0
  227. package/es/style/themes/default/index.less +10 -10
  228. package/es/style/themes/default/scrollBar.less +13 -0
  229. package/es/style/themes/default/themeColor.module.less +58 -94
  230. package/es/style/themes/default/themeColor.module.less.d.ts +1 -17
  231. package/lib/Avatar/index.d.ts +15 -0
  232. package/lib/Avatar/index.js +57 -0
  233. package/lib/Avatar/style/index.d.ts +2 -0
  234. package/lib/Avatar/style/index.js +5 -0
  235. package/lib/Avatar/style/index.less +34 -0
  236. package/lib/Breadcrumb/index.d.ts +8 -0
  237. package/lib/Breadcrumb/index.js +50 -0
  238. package/lib/Breadcrumb/style/index.d.ts +2 -0
  239. package/lib/Breadcrumb/style/index.js +5 -0
  240. package/lib/Breadcrumb/style/index.less +36 -0
  241. package/lib/Button/index.d.ts +4 -4
  242. package/lib/Button/index.js +45 -25
  243. package/lib/Button/style/index.less +185 -150
  244. package/lib/Button/style/variables.less +67 -0
  245. package/lib/Checkbox/style/index.less +35 -1
  246. package/lib/ConfigProvider/index.d.ts +1 -0
  247. package/lib/ConfigProvider/index.js +26 -0
  248. package/lib/Dropdown/Button.js +1 -1
  249. package/lib/Dropdown/style/index.less +41 -8
  250. package/lib/Empty/image/Authority.d.ts +3 -0
  251. package/lib/Empty/image/Authority.js +374 -0
  252. package/lib/Empty/image/Dataspace.d.ts +3 -0
  253. package/lib/Empty/image/Dataspace.js +285 -0
  254. package/lib/Empty/image/Search.d.ts +3 -0
  255. package/lib/Empty/image/Search.js +170 -0
  256. package/lib/Empty/image/Simple.d.ts +3 -0
  257. package/lib/Empty/image/Simple.js +34 -0
  258. package/lib/Empty/image/Worksheet.d.ts +3 -0
  259. package/lib/Empty/image/Worksheet.js +284 -0
  260. package/lib/Empty/image/empty.d.ts +3 -0
  261. package/lib/Empty/image/empty.js +153 -0
  262. package/lib/Empty/index.d.ts +21 -5
  263. package/lib/Empty/index.js +94 -53
  264. package/lib/Empty/style/index.less +56 -11
  265. package/lib/Form/style/index.less +8 -0
  266. package/lib/Icon/antdIconfont.d.ts +4 -0
  267. package/lib/Icon/antdIconfont.js +13 -0
  268. package/lib/Icon/components/Icon.d.ts +32 -0
  269. package/lib/Icon/components/Icon.js +38 -0
  270. package/lib/Icon/components/createFromScripts.d.ts +1 -0
  271. package/lib/Icon/components/createFromScripts.js +41 -0
  272. package/lib/Icon/iconSvgs/arrows_right_sm.svg +3 -0
  273. package/lib/Icon/icons/AddLine.d.ts +13 -0
  274. package/lib/Icon/icons/AddLine.js +83 -0
  275. package/lib/Icon/icons/AlertFill.d.ts +13 -0
  276. package/lib/Icon/icons/AlertFill.js +90 -0
  277. package/lib/Icon/icons/ArrowsDownLine.d.ts +13 -0
  278. package/lib/Icon/icons/ArrowsDownLine.js +83 -0
  279. package/lib/Icon/icons/CancelFill.d.ts +13 -0
  280. package/lib/Icon/icons/CancelFill.js +90 -0
  281. package/lib/Icon/icons/CheckFill.d.ts +13 -0
  282. package/lib/Icon/icons/CheckFill.js +90 -0
  283. package/lib/Icon/icons/CloseLine.d.ts +13 -0
  284. package/lib/Icon/icons/CloseLine.js +83 -0
  285. package/lib/Icon/icons/DatabaseLine.d.ts +13 -0
  286. package/lib/Icon/icons/DatabaseLine.js +83 -0
  287. package/lib/Icon/icons/Deleteline.d.ts +13 -0
  288. package/lib/Icon/icons/Deleteline.js +83 -0
  289. package/lib/Icon/icons/DownloadLine.d.ts +13 -0
  290. package/lib/Icon/icons/DownloadLine.js +90 -0
  291. package/lib/Icon/icons/ErrorFill.d.ts +13 -0
  292. package/lib/Icon/icons/ErrorFill.js +90 -0
  293. package/lib/Icon/icons/EyeOffLine.d.ts +13 -0
  294. package/lib/Icon/icons/EyeOffLine.js +90 -0
  295. package/lib/Icon/icons/EyeOnLine.d.ts +13 -0
  296. package/lib/Icon/icons/EyeOnLine.js +83 -0
  297. package/lib/Icon/icons/FileLine.d.ts +13 -0
  298. package/lib/Icon/icons/FileLine.js +90 -0
  299. package/lib/Icon/icons/HomeFill.d.ts +13 -0
  300. package/lib/Icon/icons/HomeFill.js +90 -0
  301. package/lib/Icon/icons/IconBase.withSpan.tpl +58 -0
  302. package/lib/Icon/icons/LightningLine.d.ts +13 -0
  303. package/lib/Icon/icons/LightningLine.js +83 -0
  304. package/lib/Icon/icons/Loading.d.ts +13 -0
  305. package/lib/Icon/icons/Loading.js +83 -0
  306. package/lib/Icon/icons/More.d.ts +13 -0
  307. package/lib/Icon/icons/More.js +83 -0
  308. package/lib/Icon/icons/NewWindowsLine.d.ts +13 -0
  309. package/lib/Icon/icons/NewWindowsLine.js +91 -0
  310. package/lib/Icon/icons/SearchLine.d.ts +13 -0
  311. package/lib/Icon/icons/SearchLine.js +90 -0
  312. package/lib/Icon/icons/SortAscendingLine.d.ts +13 -0
  313. package/lib/Icon/icons/SortAscendingLine.js +83 -0
  314. package/lib/Icon/icons/SortDescendingLine.d.ts +13 -0
  315. package/lib/Icon/icons/SortDescendingLine.js +83 -0
  316. package/lib/Icon/icons/TextLine.d.ts +13 -0
  317. package/lib/Icon/icons/TextLine.js +90 -0
  318. package/lib/Icon/icons/UserLine.d.ts +13 -0
  319. package/lib/Icon/icons/UserLine.js +90 -0
  320. package/lib/Icon/icons/style.css +9 -0
  321. package/lib/Icon/icons/style.css.d.ts +10 -0
  322. package/lib/Icon/index.d.ts +2 -13
  323. package/lib/Icon/index.js +2 -51
  324. package/lib/Icon/index.less +9 -17
  325. package/lib/Icon/style/index.d.ts +1 -0
  326. package/lib/Icon/style/index.js +1 -0
  327. package/lib/Icon/style/index.less +0 -0
  328. package/lib/Input/components/Group/index.d.ts +4 -2
  329. package/lib/Input/components/Group/index.js +24 -1
  330. package/lib/Input/components/Input/index.d.ts +1 -1
  331. package/lib/Input/components/Input/index.js +13 -0
  332. package/lib/Input/components/Password/index.d.ts +7 -1
  333. package/lib/Input/components/Password/index.js +30 -5
  334. package/lib/Input/style/index.less +278 -43
  335. package/lib/InputNumber/index.d.ts +4 -0
  336. package/lib/InputNumber/index.js +45 -0
  337. package/lib/InputNumber/style/index.d.ts +2 -0
  338. package/lib/InputNumber/style/index.js +5 -0
  339. package/lib/InputNumber/style/index.less +224 -0
  340. package/lib/Menu/Divider.d.ts +2 -1
  341. package/lib/Menu/MenuItem.d.ts +2 -1
  342. package/lib/Menu/SubMenu.d.ts +2 -1
  343. package/lib/Menu/SubMenu.js +1 -1
  344. package/lib/Menu/index.d.ts +2 -1
  345. package/lib/Menu/style/index.less +5 -5
  346. package/lib/Modal/index.d.ts +21 -0
  347. package/lib/Modal/index.js +121 -0
  348. package/lib/Modal/style/index.d.ts +2 -0
  349. package/lib/Modal/style/index.js +5 -0
  350. package/lib/Modal/style/index.less +206 -0
  351. package/lib/Navigator/components/Header/index.d.ts +9 -0
  352. package/lib/Navigator/components/Header/index.js +28 -0
  353. package/lib/Navigator/components/Menu/index.d.ts +7 -13
  354. package/lib/Navigator/components/Menu/index.js +25 -162
  355. package/lib/Navigator/components/MenuItem/index.d.ts +21 -0
  356. package/lib/Navigator/components/MenuItem/index.js +56 -0
  357. package/lib/Navigator/index.d.ts +19 -8
  358. package/lib/Navigator/index.js +7 -15
  359. package/lib/Navigator/style/bg.png +0 -0
  360. package/lib/Navigator/style/index.less +105 -174
  361. package/lib/Popover/index.d.ts +5 -0
  362. package/lib/Popover/index.js +35 -0
  363. package/lib/Popover/style/index.d.ts +2 -0
  364. package/lib/Popover/style/index.js +5 -0
  365. package/lib/Popover/style/index.less +37 -0
  366. package/lib/Radio/index.d.ts +2 -3
  367. package/lib/Select/index.d.ts +37 -9
  368. package/lib/Select/index.js +167 -18
  369. package/lib/Select/rc-select/BaseSelect.d.ts +116 -0
  370. package/lib/Select/rc-select/BaseSelect.js +672 -0
  371. package/lib/Select/rc-select/OptGroup.d.ts +12 -0
  372. package/lib/Select/{OptionsList → rc-select}/OptGroup.js +1 -0
  373. package/lib/Select/rc-select/Option.d.ts +14 -0
  374. package/lib/Select/{OptionsList/Options.js → rc-select/Option.js} +1 -0
  375. package/lib/Select/rc-select/OptionList.d.ts +10 -0
  376. package/lib/Select/rc-select/OptionList.js +427 -0
  377. package/lib/Select/rc-select/Select.d.ts +109 -0
  378. package/lib/Select/rc-select/Select.js +545 -0
  379. package/lib/Select/rc-select/SelectContext.d.ts +20 -0
  380. package/lib/Select/rc-select/SelectContext.js +19 -0
  381. package/lib/Select/rc-select/SelectTrigger.d.ts +30 -0
  382. package/lib/Select/rc-select/SelectTrigger.js +153 -0
  383. package/lib/Select/rc-select/Selector/Input.d.ts +26 -0
  384. package/lib/Select/rc-select/Selector/Input.js +132 -0
  385. package/lib/Select/rc-select/Selector/MultipleSelector.d.ts +16 -0
  386. package/lib/Select/rc-select/Selector/MultipleSelector.js +257 -0
  387. package/lib/Select/rc-select/Selector/SingleSelector.d.ts +8 -0
  388. package/lib/Select/rc-select/Selector/SingleSelector.js +129 -0
  389. package/lib/Select/rc-select/Selector/index.d.ts +80 -0
  390. package/lib/Select/rc-select/Selector/index.js +203 -0
  391. package/lib/Select/rc-select/TransBtn.d.ts +12 -0
  392. package/lib/Select/rc-select/TransBtn.js +59 -0
  393. package/lib/Select/rc-select/hooks/useBaseProps.d.ts +13 -0
  394. package/lib/Select/rc-select/hooks/useBaseProps.js +28 -0
  395. package/lib/Select/rc-select/hooks/useCache.d.ts +7 -0
  396. package/lib/Select/rc-select/hooks/useCache.js +63 -0
  397. package/lib/Select/rc-select/hooks/useDelayReset.d.ts +5 -0
  398. package/lib/Select/rc-select/hooks/useDelayReset.js +62 -0
  399. package/lib/Select/rc-select/hooks/useFilterOptions.d.ts +3 -0
  400. package/lib/Select/rc-select/hooks/useFilterOptions.js +91 -0
  401. package/lib/Select/rc-select/hooks/useId.d.ts +5 -0
  402. package/lib/Select/rc-select/hooks/useId.js +68 -0
  403. package/lib/Select/rc-select/hooks/useLayoutEffect.d.ts +5 -0
  404. package/lib/Select/rc-select/hooks/useLayoutEffect.js +32 -0
  405. package/lib/Select/rc-select/hooks/useLock.d.ts +7 -0
  406. package/lib/Select/rc-select/hooks/useLock.js +49 -0
  407. package/lib/Select/rc-select/hooks/useOptions.d.ts +11 -0
  408. package/lib/Select/rc-select/hooks/useOptions.js +68 -0
  409. package/lib/Select/rc-select/hooks/useRefFunc.d.ts +5 -0
  410. package/lib/Select/rc-select/hooks/useRefFunc.js +29 -0
  411. package/lib/Select/rc-select/hooks/useSelectTriggerControl.d.ts +1 -0
  412. package/lib/Select/rc-select/hooks/useSelectTriggerControl.js +54 -0
  413. package/lib/Select/rc-select/index.d.ts +10 -0
  414. package/lib/Select/rc-select/index.js +45 -0
  415. package/lib/Select/rc-select/interface.d.ts +10 -0
  416. package/lib/Select/{interface.js → rc-select/interface.js} +0 -0
  417. package/lib/Select/rc-select/utils/commonUtil.d.ts +4 -0
  418. package/lib/Select/rc-select/utils/commonUtil.js +23 -0
  419. package/lib/Select/rc-select/utils/keyUtil.d.ts +2 -0
  420. package/lib/Select/rc-select/utils/keyUtil.js +17 -0
  421. package/lib/Select/rc-select/utils/legacyUtil.d.ts +3 -0
  422. package/lib/Select/rc-select/utils/legacyUtil.js +73 -0
  423. package/lib/Select/rc-select/utils/platformUtil.d.ts +1 -0
  424. package/lib/Select/rc-select/utils/platformUtil.js +11 -0
  425. package/lib/Select/rc-select/utils/valueUtil.d.ts +22 -0
  426. package/lib/Select/rc-select/utils/valueUtil.js +172 -0
  427. package/lib/Select/rc-select/utils/warningPropsUtil.d.ts +3 -0
  428. package/lib/Select/rc-select/utils/warningPropsUtil.js +132 -0
  429. package/lib/Select/style/index.d.ts +1 -0
  430. package/lib/Select/style/index.js +2 -0
  431. package/lib/Select/style/index.less +230 -480
  432. package/lib/Select/style/multiple.less +222 -0
  433. package/lib/Select/style/rtl.less +168 -0
  434. package/lib/Select/style/select.less +337 -0
  435. package/lib/Select/style/single.less +179 -0
  436. package/lib/Select/style/status.less +48 -0
  437. package/lib/Select/style/variables.less +67 -0
  438. package/lib/Select/style/variables.less.d.ts +100 -0
  439. package/lib/Select/utils/iconUtil.d.ts +24 -0
  440. package/lib/Select/utils/iconUtil.js +102 -0
  441. package/lib/Space/index.d.ts +1 -1
  442. package/lib/Space/index.js +0 -6
  443. package/lib/Table/Table.d.ts +5 -0
  444. package/lib/Table/Table.js +501 -0
  445. package/lib/Table/index.d.ts +2 -4
  446. package/lib/Table/index.js +2 -478
  447. package/lib/Table/interface.d.ts +11 -15
  448. package/lib/Table/style/index.less +51 -21
  449. package/lib/Tabs/index.d.ts +2 -1
  450. package/lib/Tabs/index.js +11 -4
  451. package/lib/Tabs/style/index.less +73 -7
  452. package/lib/Tooltip/style/index.less +2 -1
  453. package/lib/index.d.ts +15 -2
  454. package/lib/index.js +56 -0
  455. package/lib/style/index.less +3 -1
  456. package/lib/style/mixins/index.less +8 -0
  457. package/lib/style/themes/default/index.less +10 -10
  458. package/lib/style/themes/default/scrollBar.less +13 -0
  459. package/lib/style/themes/default/themeColor.module.less +58 -94
  460. package/lib/style/themes/default/themeColor.module.less.d.ts +1 -17
  461. package/package.json +3 -2
  462. package/es/Icon/iconfont/demo.css +0 -539
  463. package/es/Icon/iconfont/demo_index.html +0 -720
  464. package/es/Icon/iconfont/iconfont.css +0 -109
  465. package/es/Icon/iconfont/iconfont.js +0 -46
  466. package/es/Icon/iconfont/iconfont.json +0 -170
  467. package/es/Icon/iconfont/iconfont.ttf +0 -0
  468. package/es/Icon/iconfont/iconfont.woff +0 -0
  469. package/es/Icon/iconfont/iconfont.woff2 +0 -0
  470. package/es/Select/BaseSelect.d.ts +0 -5
  471. package/es/Select/BaseSelect.js +0 -413
  472. package/es/Select/OptionsList/OptGroup.d.ts +0 -7
  473. package/es/Select/OptionsList/OptionItem/RenderGroup.d.ts +0 -9
  474. package/es/Select/OptionsList/OptionItem/RenderGroup.js +0 -16
  475. package/es/Select/OptionsList/OptionItem/RenderLabelIcon.d.ts +0 -10
  476. package/es/Select/OptionsList/OptionItem/RenderLabelIcon.js +0 -45
  477. package/es/Select/OptionsList/OptionItem/RenderOption.d.ts +0 -16
  478. package/es/Select/OptionsList/OptionItem/RenderOption.js +0 -79
  479. package/es/Select/OptionsList/OptionItem/RenderTooltip.d.ts +0 -8
  480. package/es/Select/OptionsList/OptionItem/RenderTooltip.js +0 -25
  481. package/es/Select/OptionsList/OptionItem.d.ts +0 -4
  482. package/es/Select/OptionsList/OptionItem.js +0 -4
  483. package/es/Select/OptionsList/Options.d.ts +0 -7
  484. package/es/Select/OptionsList/index.d.ts +0 -4
  485. package/es/Select/OptionsList/index.js +0 -176
  486. package/es/Select/Selector/index.d.ts +0 -4
  487. package/es/Select/Selector/index.js +0 -252
  488. package/es/Select/VirtualList.d.ts +0 -5
  489. package/es/Select/VirtualList.js +0 -29
  490. package/es/Select/hooks/useCacheOption.d.ts +0 -9
  491. package/es/Select/hooks/useCacheOption.js +0 -107
  492. package/es/Select/interface.d.ts +0 -235
  493. package/es/Select/utils.d.ts +0 -21
  494. package/es/Select/utils.js +0 -193
  495. package/lib/Icon/iconfont/demo.css +0 -539
  496. package/lib/Icon/iconfont/demo_index.html +0 -720
  497. package/lib/Icon/iconfont/iconfont.css +0 -109
  498. package/lib/Icon/iconfont/iconfont.js +0 -48
  499. package/lib/Icon/iconfont/iconfont.json +0 -170
  500. package/lib/Icon/iconfont/iconfont.ttf +0 -0
  501. package/lib/Icon/iconfont/iconfont.woff +0 -0
  502. package/lib/Icon/iconfont/iconfont.woff2 +0 -0
  503. package/lib/Select/BaseSelect.d.ts +0 -5
  504. package/lib/Select/BaseSelect.js +0 -446
  505. package/lib/Select/OptionsList/OptGroup.d.ts +0 -7
  506. package/lib/Select/OptionsList/OptionItem/RenderGroup.d.ts +0 -9
  507. package/lib/Select/OptionsList/OptionItem/RenderGroup.js +0 -27
  508. package/lib/Select/OptionsList/OptionItem/RenderLabelIcon.d.ts +0 -10
  509. package/lib/Select/OptionsList/OptionItem/RenderLabelIcon.js +0 -60
  510. package/lib/Select/OptionsList/OptionItem/RenderOption.d.ts +0 -16
  511. package/lib/Select/OptionsList/OptionItem/RenderOption.js +0 -94
  512. package/lib/Select/OptionsList/OptionItem/RenderTooltip.d.ts +0 -8
  513. package/lib/Select/OptionsList/OptionItem/RenderTooltip.js +0 -37
  514. package/lib/Select/OptionsList/OptionItem.d.ts +0 -4
  515. package/lib/Select/OptionsList/OptionItem.js +0 -39
  516. package/lib/Select/OptionsList/Options.d.ts +0 -7
  517. package/lib/Select/OptionsList/index.d.ts +0 -4
  518. package/lib/Select/OptionsList/index.js +0 -195
  519. package/lib/Select/Selector/index.d.ts +0 -4
  520. package/lib/Select/Selector/index.js +0 -276
  521. package/lib/Select/VirtualList.d.ts +0 -5
  522. package/lib/Select/VirtualList.js +0 -42
  523. package/lib/Select/hooks/useCacheOption.d.ts +0 -9
  524. package/lib/Select/hooks/useCacheOption.js +0 -113
  525. package/lib/Select/interface.d.ts +0 -235
  526. package/lib/Select/utils.d.ts +0 -21
  527. package/lib/Select/utils.js +0 -233
@@ -1,10 +1,8 @@
1
1
  @import '../../style/index.less';
2
+ @import './variables.less';
2
3
 
3
- @ald-prefix: ant;
4
- @ald-iconfont-css-prefix: anticon;
5
-
6
- .ant-btn {
7
- &.ant-btn {
4
+ .ant-btn.ald-btn {
5
+ &.ald-btn {
8
6
  // &-loading::before{
9
7
  // // display: none !important;
10
8
  // }
@@ -17,233 +15,218 @@
17
15
  display: inline-flex;
18
16
  align-items: center;
19
17
  justify-content: center;
20
- height: @ald-height-base;
21
- padding: 0 11px;
18
+ height: @height-base;
22
19
  font-weight: 500;
23
20
  font-size: 12px;
24
- line-height: @ald-height-base;
25
- .@{ald-iconfont-css-prefix} {
26
- + span {
27
- margin-left: 4px;
28
- }
29
-
30
- &-icon-left {
31
- margin-left: -4px;
32
- }
21
+ line-height: @height-base;
22
+ text-shadow: none;
23
+ vertical-align: bottom;
24
+ }
33
25
 
34
- &-icon-right {
35
- margin-right: -4px;
36
- }
37
- }
26
+ &.ant-btn-loading::before {
27
+ display: none;
38
28
  }
39
29
 
40
30
  &-primary {
41
- text-shadow: @text-shadow;
42
- background-color: @B40;
43
- border-color: @B40;
44
- border-radius: @ald-border-radius-base;
31
+ color: @Button-primary-color;
32
+ background-color: @Button-primary-bgColor;
33
+ border-color: @Button-primary-bgColor;
45
34
  box-shadow: none;
46
35
 
47
36
  &:focus {
48
- text-shadow: @text-shadow;
49
- background-color: @B40;
50
- border-color: @B40;
51
- border-radius: @ald-border-radius-base;
37
+ //text-shadow: @text-shadow;
38
+ color: @Button-primary-color;
39
+ background-color: @Button-primary-bgColor;
40
+ border-color: @Button-primary-bgColor;
52
41
  box-shadow: none;
53
42
  }
54
43
 
55
44
  &:hover,
56
- &:active,
57
- &.ant-btn-loading {
58
- color: @ND0;
59
- background-color: @B20;
60
- border-color: @B20;
45
+ &:active {
46
+ color: @Button-primary-color-active;
47
+ background-color: @Button-primary-bgColor-active;
48
+ border-color: @Button-primary-bgColor-active;
61
49
  }
62
50
 
51
+ &.ant-btn-loading,
63
52
  &[disabled] {
64
- color: @NL80;
65
- background-color: @NL90;
66
- border-color: transparent;
53
+ color: @Button-primary-color-disable;
54
+ background-color: @Button-primary-bgColor-disable;
55
+ border-color: @Button-primary-bgColor-disable;
67
56
  cursor: default;
68
57
 
69
58
  &:hover,
70
59
  &:focus,
71
60
  &:active {
72
- color: @NL80;
73
- background-color: @NL90;
74
- border-color: transparent;
61
+ color: @Button-primary-color-disable;
62
+ background-color: @Button-primary-bgColor-disable;
63
+ border-color: @Button-primary-bgColor-disable;
75
64
  }
76
65
  }
77
66
  }
78
67
 
79
- &-dangerous.ant-btn-primary {
80
- color: @ND0;
81
- text-shadow: @text-shadow;
82
- background-color: @SC40;
83
- border-color: @SC40;
68
+ &-dangerous {
69
+ color: @Button-dangerous-color;
70
+ background-color: @Button-dangerous-bgColor;
71
+ border-color: @Button-dangerous-bgColor;
84
72
  box-shadow: unset;
85
73
 
86
74
  &:focus {
87
- color: @ND0;
88
- text-shadow: @text-shadow;
89
- background-color: @SC40;
90
- border-color: @SC40;
75
+ color: @Button-dangerous-color;
76
+ background-color: @Button-dangerous-bgColor;
77
+ border-color: @Button-dangerous-bgColor;
91
78
  box-shadow: unset;
92
79
  }
93
80
 
94
81
  &:hover,
95
- &:active,
96
- &.ant-btn-loading {
97
- color: @ND0;
98
- background-color: @SC20;
99
- border-color: @SC20;
82
+ &:active {
83
+ color: @Button-dangerous-color-active;
84
+ background-color: @Button-dangerous-bgColor-active;
85
+ border-color: @Button-dangerous-bgColor-active;
100
86
  }
101
87
 
102
- &[disabled] {
103
- color: @NL80;
104
- background-color: @NL90;
105
- border-color: transparent;
88
+ &[disabled],
89
+ &.ant-btn-loading {
90
+ color: @Button-dangerous-color-disable;
91
+ background-color: @Button-dangerous-bgColor-disable;
92
+ border-color: @Button-dangerous-bgColor-disable;
106
93
  cursor: default;
107
94
 
108
95
  &:hover,
109
96
  &:focus,
110
97
  &:active {
111
- color: @NL80;
112
- background-color: @NL90;
113
- border-color: transparent;
98
+ color: @Button-dangerous-color-disable;
99
+ background-color: @Button-dangerous-bgColor-disable;
100
+ border-color: @Button-dangerous-bgColor-disable;
114
101
  }
115
102
  }
116
103
  }
117
104
 
105
+ &.ant-btn-circle {
106
+ justify-content: center;
107
+ min-width: @height-base;
108
+ height: @height-base;
109
+ padding: 0;
110
+ border-radius: 50%;
111
+ }
112
+
113
+ &-default,
118
114
  &-secondary {
119
- color: @NL30;
120
- text-shadow: @text-shadow;
121
- background-color: @BG100;
122
- border-color: @NL90;
123
- border-radius: @ald-border-radius-base;
115
+ color: @Button-secondary-color;
116
+ background-color: @Button-secondary-bgColor;
117
+ border: 1px solid;
118
+ border-color: @Button-secondary-borderColor;
124
119
  box-shadow: none;
125
120
 
126
121
  &:focus {
127
- color: @NL30;
128
- text-shadow: @text-shadow;
129
- background-color: @BG100;
130
- border-color: @NL90;
131
- border-radius: @ald-border-radius-base;
122
+ color: @Button-secondary-color;
123
+ //text-shadow: @text-shadow;
124
+ background-color: @Button-secondary-bgColor;
125
+ border-color: @Button-secondary-borderColor;
132
126
  box-shadow: none;
133
127
  }
134
128
 
135
129
  &:hover,
136
- &:active,
137
- &.ant-btn-loading {
138
- color: @NL30;
139
- background-color: @NL97;
140
- border-color: @NL90;
130
+ &:active {
131
+ color: @Button-secondary-color-active;
132
+ background-color: @Button-secondary-bgColor-active;
133
+ border-color: @Button-secondary-borderColor-active;
141
134
  }
142
135
 
143
- &[disabled] {
144
- color: @NL80;
145
- background-color: @BG100;
146
- border-color: @NL90;
136
+ &[disabled],
137
+ &.ant-btn-loading {
138
+ color: @Button-secondary-color-disable;
139
+ background-color: @Button-secondary-bgColor-disable;
140
+ border-color: @Button-secondary-borderColor;
147
141
  cursor: default;
148
142
 
149
143
  &:hover,
150
144
  &:focus,
151
145
  &:active {
152
- color: @NL80;
153
- background-color: @BG100;
154
- border-color: @NL90;
146
+ color: @Button-secondary-color-disable;
147
+ background-color: @Button-secondary-bgColor-disable;
148
+ border-color: @Button-secondary-borderColor;
155
149
  }
156
150
  }
157
151
  }
158
152
 
159
153
  &-text {
160
- color: @NL30;
161
- text-shadow: @text-shadow;
162
- background-color: @BG100;
163
- border-color: @BG100;
164
- border-radius: @ald-border-radius-base;
154
+ color: @Button-text-color;
155
+ background-color: @Button-text-bgColor;
156
+ border: none;
165
157
  box-shadow: none;
166
158
 
167
- &:focus {
168
- color: @NL30;
169
- text-shadow: @text-shadow;
170
- background-color: @BG100;
171
- border-color: @BG100;
172
- border-radius: @ald-border-radius-base;
159
+ &:focus,
160
+ &:active {
161
+ color: @Button-text-color;
162
+ background-color: @Button-text-bgColor;
173
163
  box-shadow: none;
174
164
  }
175
165
 
176
166
  &:hover,
177
- &:active,
178
167
  &.ant-btn-loading {
179
- // border-color: @NL97;
180
- color: @NL30;
181
- background-color: @NL97;
168
+ color: @Button-text-color-active;
169
+ background-color: @Button-text-bgColor-active;
182
170
  }
183
171
 
184
172
  &[disabled] {
185
- color: @NL80;
186
- background-color: transparent;
187
- border-color: transparent;
173
+ color: @Button-text-color-disable;
174
+ background-color: @Button-text-bgColor-disable;
188
175
  cursor: default;
189
176
 
190
177
  &:hover,
191
178
  &:focus,
192
179
  &:active {
193
- color: @NL80;
194
- background-color: transparent;
195
- border-color: transparent;
180
+ color: @Button-text-color-disable;
181
+ background-color: @Button-text-bgColor-disable;
196
182
  }
197
183
  }
198
184
  }
199
185
 
200
186
  &-link {
201
- color: @B40;
187
+ color: @Button-link-color;
202
188
  font-weight: 400;
203
- text-shadow: @text-shadow;
204
- background-color: @BG100;
205
- border-color: @BG100;
206
- border-radius: @ald-border-radius-base;
189
+ //text-shadow: @text-shadow;
190
+ background-color: @Button-link-bgColor;
191
+ border-color: @Button-link-bgColor;
207
192
  box-shadow: none;
208
193
 
209
194
  &:focus {
210
- color: @B40;
195
+ color: @Button-link-color;
211
196
  font-weight: 400;
212
- text-shadow: @text-shadow;
213
- background-color: @BG100;
214
- border-color: @BG100;
215
- border-radius: @ald-border-radius-base;
197
+ //text-shadow: @text-shadow;
198
+ background-color: @Button-link-bgColor;
199
+ border-color: @Button-link-bgColor;
216
200
  box-shadow: none;
217
201
  }
218
202
 
219
203
  &:hover,
220
- &:active,
221
- &.ant-btn-loading {
222
- color: @B20;
223
- background-color: @BG100;
224
- border-color: @BG100;
204
+ &:active {
205
+ color: @Button-link-color-active;
206
+ background-color: @Button-link-bgColor-active;
207
+ border-color: @Button-link-bgColor-active;
225
208
  }
226
209
 
227
- &[disabled] {
228
- color: @NL80;
229
- background-color: transparent;
230
- border-color: transparent;
210
+ &[disabled],
211
+ &.ant-btn-loading {
212
+ color: @Button-link-color-disable;
213
+ background-color: @Button-link-bgColor-disable;
214
+ border-color: @Button-link-bgColor-disable;
231
215
  cursor: default;
232
216
 
233
217
  &:hover,
234
218
  &:focus,
235
219
  &:active {
236
- color: @NL80;
237
- background-color: transparent;
238
- border-color: transparent;
220
+ color: @Button-link-color-disable;
221
+ background-color: @Button-link-bgColor-disable;
222
+ border-color: @Button-link-bgColor-disable;
239
223
  }
240
224
  }
241
225
  }
242
226
 
243
- &-icon-only {
227
+ &.ant-btn-icon-only {
244
228
  justify-content: center;
245
- width: @ald-height-base;
246
- height: @ald-height-base;
229
+ width: initial;
247
230
  padding: 0;
248
231
  vertical-align: bottom;
249
232
 
@@ -254,52 +237,104 @@
254
237
  display: flex;
255
238
  align-items: center;
256
239
  justify-content: center;
257
- margin-left: 0;
240
+ margin: 0;
258
241
  }
259
242
  }
260
243
 
261
- &-circle {
262
- justify-content: center;
263
- width: @ald-height-base;
244
+ &-large {
264
245
  min-width: auto;
265
- padding: 0;
266
- border-radius: 50%;
246
+ height: @Button-height-large;
247
+ padding: @Button-border-padding-large;
248
+ font-size: @Button-text-size-large;
249
+ border-radius: @Button-borderRadius-large;
250
+
251
+ &.ant-btn-icon-only {
252
+ min-width: @Button-height-large;
253
+ height: @Button-height-large;
254
+ border-radius: @Button-borderRadius-large;
255
+ }
256
+
257
+ &.ant-btn-circle {
258
+ min-width: @Button-height-large;
259
+ height: @Button-height-large;
260
+ border-radius: 50%;
261
+ }
262
+
263
+ .aldicon-icon-left + span {
264
+ margin-left: @Button-leftIcon-marginRight-large;
265
+ }
267
266
  }
268
267
 
269
- &-lg {
268
+ &-middle {
270
269
  min-width: auto;
271
- height: 32px;
272
- font-size: 14px;
270
+ height: @Button-height-middle;
271
+ padding: @Button-border-padding-middle;
272
+ font-size: @Button-text-size-middle;
273
+ border-radius: @Button-borderRadius-middle;
274
+
275
+ &.ant-btn-icon-only {
276
+ min-width: @Button-height-middle;
277
+ height: @Button-height-middle;
278
+ border-radius: @Button-borderRadius-middle;
279
+ }
280
+
281
+ &.ant-btn-circle {
282
+ min-width: @Button-height-middle;
283
+ height: @Button-height-middle;
284
+ border-radius: 50%;
285
+ }
286
+
287
+ .aldicon-icon-left + span {
288
+ margin-left: @Button-leftIcon-marginRight-middle;
289
+ }
290
+ }
291
+
292
+ &-small {
293
+ height: @Button-height-small;
294
+ padding: @Button-border-padding-small;
295
+ font-size: @Button-text-size-small;
296
+ line-height: 22px;
297
+ border-radius: @Button-borderRadius-small;
273
298
 
274
299
  &.ant-btn-icon-only {
275
- width: 32px;
276
- min-width: auto;
277
- height: 32px;
300
+ min-width: @Button-height-small;
301
+ height: @Button-height-small;
302
+ border-radius: @Button-borderRadius-small;
278
303
  }
279
304
 
280
305
  &.ant-btn-circle {
281
- width: 32px;
282
- height: 32px;
306
+ min-width: @Button-height-small;
307
+ height: @Button-height-small;
283
308
  border-radius: 50%;
284
309
  }
310
+
311
+ .aldicon-icon-left + span {
312
+ margin-left: @Button-leftIcon-marginRight-small;
313
+ }
285
314
  }
286
315
 
287
- &-sm {
288
- height: 24px;
316
+ &-mini {
317
+ height: @Button-height-mini;
318
+ padding: @Button-border-padding-mini;
319
+ font-size: @Button-text-size-mini;
289
320
  line-height: 22px;
290
- border-radius: @ald-border-radius-sm;
321
+ border-radius: @Button-borderRadius-mini;
291
322
 
292
323
  &.ant-btn-icon-only {
293
- width: 24px;
294
- height: 24px;
295
- border-radius: @ald-border-radius-sm;
324
+ min-width: @Button-height-mini;
325
+ height: @Button-height-mini;
326
+ border-radius: @Button-borderRadius-mini;
296
327
  }
297
328
 
298
329
  &.ant-btn-circle {
299
- width: 32px;
300
- height: 32px;
330
+ min-width: @Button-height-mini;
331
+ height: @Button-height-mini;
301
332
  border-radius: 50%;
302
333
  }
334
+
335
+ .aldicon-icon-left + span {
336
+ margin-left: @Button-leftIcon-marginRight-mini;
337
+ }
303
338
  }
304
339
  }
305
340
  }
@@ -0,0 +1,67 @@
1
+ @ald-prefix: ald;
2
+ @ald-iconfont-css-prefix: aldicon;
3
+
4
+ @Button-padding: 0 12px;
5
+
6
+ /** size控制 **/
7
+ @Button-height-large: 36px;
8
+ @Button-text-size-large: 16px;
9
+ @Button-borderRadius-large: 8px;
10
+ @Button-border-padding-large: 0 11px;
11
+ @Button-leftIcon-marginRight-large: 8px;
12
+
13
+ @Button-height-middle: 32px;
14
+ @Button-text-size-middle: 14px;
15
+ @Button-borderRadius-middle: 6px;
16
+ @Button-border-padding-middle: 0 11px;
17
+ @Button-leftIcon-marginRight-middle: 8px;
18
+
19
+ @Button-height-small: 28px;
20
+ @Button-text-size-small: 12px;
21
+ @Button-borderRadius-small: 4px;
22
+ @Button-border-padding-small: 0 7px;
23
+ @Button-leftIcon-marginRight-small: 4px;
24
+
25
+ @Button-height-mini: 24px;
26
+ @Button-text-size-mini: 12px;
27
+ @Button-borderRadius-mini: 4px;
28
+ @Button-border-padding-mini: 0 7px;
29
+ @Button-leftIcon-marginRight-mini: 4px;
30
+
31
+ /**** type控制 ****/
32
+ @Button-primary-bgColor: @B60;
33
+ @Button-primary-bgColor-active: @B50;
34
+ @Button-primary-bgColor-disable: @B90;
35
+ @Button-primary-color: @ND0;
36
+ @Button-primary-color-active: @ND0;
37
+ @Button-primary-color-disable: @ND0;
38
+
39
+ @Button-dangerous-bgColor: @SC60;
40
+ @Button-dangerous-bgColor-active: @SC50;
41
+ @Button-dangerous-bgColor-disable: @SC90;
42
+ @Button-dangerous-color: @ND0;
43
+ @Button-dangerous-color-active: @ND0;
44
+ @Button-dangerous-color-disable: @ND0;
45
+
46
+ @Button-secondary-bgColor: @BG97;
47
+ @Button-secondary-bgColor-active: @BG95;
48
+ @Button-secondary-bgColor-disable: @BG97;
49
+ @Button-secondary-color: @NL30;
50
+ @Button-secondary-color-active: @B60;
51
+ @Button-secondary-color-disable: @NL80;
52
+ @Button-secondary-borderColor: @NL90;
53
+ @Button-secondary-borderColor-active: @B60;
54
+
55
+ @Button-text-bgColor: transparent;
56
+ @Button-text-bgColor-active: @NL97;
57
+ @Button-text-bgColor-disable: @BG100;
58
+ @Button-text-color: @NL30;
59
+ @Button-text-color-active: @B60;
60
+ @Button-text-color-disable: @NL80;
61
+
62
+ @Button-link-bgColor: @BG100;
63
+ @Button-link-bgColor-active: @BG100;
64
+ @Button-link-bgColor-disable: @BG100;
65
+ @Button-link-color: @B60;
66
+ @Button-link-color-active: @B50;
67
+ @Button-link-color-disable: @B90;
@@ -1,7 +1,22 @@
1
1
  @import '../../style/index.less';
2
2
 
3
3
  .ald-checkbox {
4
+ height: 20px;
5
+ color: @NL0;
6
+ font-size: 14px;
7
+ line-height: 20px;
8
+
9
+ .ant-checkbox-wrapper {
10
+ height: 20px;
11
+ color: @NL0;
12
+ font-weight: 400;
13
+ font-size: 14px;
14
+ line-height: 20px;
15
+ }
16
+
4
17
  .ant-checkbox-inner {
18
+ width: 16px;
19
+ height: 16px;
5
20
  background-color: @BG97;
6
21
  border-color: @NL60;
7
22
  border-radius: 4px;
@@ -34,6 +49,13 @@
34
49
  }
35
50
 
36
51
  .ant-checkbox-disabled {
52
+ cursor: default;
53
+
54
+ & + span {
55
+ color: @NL0;
56
+ cursor: default;
57
+ }
58
+
37
59
  .ant-checkbox-inner {
38
60
  background-color: @NL90;
39
61
  border-color: @NL90;
@@ -64,6 +86,11 @@
64
86
  }
65
87
  }
66
88
  }
89
+
90
+ .ant-checkbox + span {
91
+ padding-right: 10px;
92
+ padding-left: 10px;
93
+ }
67
94
  }
68
95
 
69
96
  .ant-checkbox-group.ald-checkbox,
@@ -72,8 +99,15 @@
72
99
  border-color: @B60;
73
100
  }
74
101
 
75
- .ant-checkbox:hover .ant-checkbox-inner,
76
102
  .ant-checkbox-input:focus + .ant-checkbox-inner {
103
+ border-color: @NL60;
104
+ }
105
+
106
+ .ant-checkbox:hover .ant-checkbox-inner {
77
107
  border-color: @B60;
78
108
  }
79
109
  }
110
+
111
+ .ald-checkbox.ant-checkbox-wrapper-disabled {
112
+ cursor: default;
113
+ }
@@ -1,3 +1,4 @@
1
1
  import { ConfigProvider } from 'antd';
2
+ export { RenderEmptyHandler, ConfigContext, ConfigConsumer, CSPConfig, DirectionType, ConfigConsumerProps, configConsumerProps, globalConfig, } from 'antd/lib/config-provider/';
2
3
  export type { ConfigProviderProps } from 'antd/lib/config-provider';
3
4
  export default ConfigProvider;
@@ -1,3 +1,4 @@
1
1
  import "antd/es/config-provider/style";
2
2
  import _ConfigProvider from "antd/es/config-provider";
3
+ export { ConfigContext, ConfigConsumer, configConsumerProps, globalConfig } from 'antd/lib/config-provider/';
3
4
  export default _ConfigProvider;
@@ -28,6 +28,6 @@ export default function DropdownButton(props) {
28
28
  disabled: disabled,
29
29
  onVisibleChange: onVisibleChange
30
30
  }, /*#__PURE__*/React.createElement(Button, Object.assign({}, buttonProps), children, /*#__PURE__*/React.createElement(Icon, {
31
- type: "expand_more"
31
+ type: "arrows-down-line"
32
32
  })));
33
33
  }