@aloudata/aloudata-design 0.2.0-beta.2 → 0.2.0-beta.5

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 (321) hide show
  1. package/es/Button/style/index.css +374 -0
  2. package/es/Button/style/index.js +1 -1
  3. package/es/Dropdown/index.d.ts +1 -0
  4. package/es/Dropdown/style/index.css +178 -0
  5. package/es/Dropdown/style/index.js +1 -1
  6. package/es/Empty/style/index.css +162 -0
  7. package/es/Empty/style/index.js +1 -1
  8. package/es/Icon/iconfont/demo_index.html +49 -3
  9. package/es/Icon/iconfont/iconfont.css +11 -3
  10. package/es/Icon/iconfont/iconfont.js +5 -5
  11. package/es/Icon/iconfont/iconfont.json +14 -0
  12. package/es/Icon/iconfont/iconfont.ttf +0 -0
  13. package/es/Icon/iconfont/iconfont.woff +0 -0
  14. package/es/Icon/iconfont/iconfont.woff2 +0 -0
  15. package/es/Icon/index.css +8 -0
  16. package/es/Input/components/Group/index.d.ts +3 -1
  17. package/es/Input/components/Password/index.d.ts +1 -0
  18. package/es/Input/index.d.ts +1 -1
  19. package/es/Input/style/index.css +215 -0
  20. package/es/Input/style/index.js +1 -1
  21. package/es/Menu/Divider.d.ts +1 -0
  22. package/es/Menu/MenuItem.d.ts +7 -0
  23. package/es/Menu/index.d.ts +1 -0
  24. package/es/Menu/style/index.css +208 -0
  25. package/es/Menu/style/index.js +1 -1
  26. package/es/Navigator/style/index.css +328 -0
  27. package/es/Navigator/style/index.js +1 -1
  28. package/es/Select/Selector/index.js +1 -1
  29. package/es/Select/style/index.css +493 -0
  30. package/es/Select/style/index.js +1 -1
  31. package/es/Table/index.d.ts +1 -1
  32. package/es/Table/index.js +183 -48
  33. package/es/Table/interface.d.ts +26 -6
  34. package/es/Table/react-table-config.d.ts +122 -0
  35. package/es/Table/style/index.css +248 -0
  36. package/es/Table/style/index.js +1 -1
  37. package/es/Tabs/index.d.ts +1 -0
  38. package/es/Tabs/style/index.css +194 -0
  39. package/es/Tabs/style/index.js +1 -1
  40. package/es/Tooltip/style/index.css +154 -0
  41. package/es/Tooltip/style/index.js +1 -1
  42. package/es/index.d.ts +10 -0
  43. package/es/style/index.css +145 -0
  44. package/es/style/index.js +1 -1
  45. package/es/{Button/demo/disable/index.less → style/mixins/index.css} +0 -0
  46. package/es/style/themes/default/index.css +145 -0
  47. package/es/style/themes/default/themeColor.module.css +145 -0
  48. package/lib/Button/style/index.css +374 -0
  49. package/lib/Button/style/index.js +1 -1
  50. package/lib/Dropdown/index.d.ts +1 -0
  51. package/lib/Dropdown/style/index.css +178 -0
  52. package/lib/Dropdown/style/index.js +1 -1
  53. package/lib/Empty/style/index.css +162 -0
  54. package/lib/Empty/style/index.js +1 -1
  55. package/lib/Icon/iconfont/demo_index.html +49 -3
  56. package/lib/Icon/iconfont/iconfont.css +11 -3
  57. package/lib/Icon/iconfont/iconfont.js +5 -5
  58. package/lib/Icon/iconfont/iconfont.json +14 -0
  59. package/lib/Icon/iconfont/iconfont.ttf +0 -0
  60. package/lib/Icon/iconfont/iconfont.woff +0 -0
  61. package/lib/Icon/iconfont/iconfont.woff2 +0 -0
  62. package/lib/Icon/index.css +8 -0
  63. package/lib/Input/components/Group/index.d.ts +3 -1
  64. package/lib/Input/components/Password/index.d.ts +1 -0
  65. package/lib/Input/index.d.ts +1 -1
  66. package/lib/Input/style/index.css +215 -0
  67. package/lib/Input/style/index.js +1 -1
  68. package/lib/Menu/Divider.d.ts +1 -0
  69. package/lib/Menu/MenuItem.d.ts +7 -0
  70. package/lib/Menu/index.d.ts +1 -0
  71. package/lib/Menu/style/index.css +208 -0
  72. package/lib/Menu/style/index.js +1 -1
  73. package/lib/Navigator/style/index.css +328 -0
  74. package/lib/Navigator/style/index.js +1 -1
  75. package/lib/Select/Selector/index.js +1 -1
  76. package/lib/Select/style/index.css +493 -0
  77. package/lib/Select/style/index.js +1 -1
  78. package/lib/Table/index.d.ts +1 -1
  79. package/lib/Table/index.js +191 -54
  80. package/lib/Table/interface.d.ts +26 -6
  81. package/lib/Table/react-table-config.d.ts +122 -0
  82. package/lib/Table/style/index.css +248 -0
  83. package/lib/Table/style/index.js +1 -1
  84. package/lib/Tabs/index.d.ts +1 -0
  85. package/lib/Tabs/style/index.css +194 -0
  86. package/lib/Tabs/style/index.js +1 -1
  87. package/lib/Tooltip/style/index.css +154 -0
  88. package/lib/Tooltip/style/index.js +1 -1
  89. package/lib/index.d.ts +10 -0
  90. package/lib/style/index.css +145 -0
  91. package/lib/style/index.js +1 -1
  92. package/{es/Input/demo/allowClear/index.less → lib/style/mixins/index.css} +0 -0
  93. package/lib/style/themes/default/index.css +145 -0
  94. package/lib/style/themes/default/themeColor.module.css +145 -0
  95. package/package.json +1 -1
  96. package/es/Button/demo/Icon/index.d.ts +0 -3
  97. package/es/Button/demo/Icon/index.js +0 -67
  98. package/es/Button/demo/Icon/index.less +0 -6
  99. package/es/Button/demo/basic/index.d.ts +0 -4
  100. package/es/Button/demo/basic/index.js +0 -57
  101. package/es/Button/demo/basic/index.less +0 -6
  102. package/es/Button/demo/disable/index.d.ts +0 -3
  103. package/es/Button/demo/disable/index.js +0 -23
  104. package/es/Button/demo/href/index.d.ts +0 -2
  105. package/es/Button/demo/href/index.js +0 -17
  106. package/es/Button/demo/loading/index.d.ts +0 -3
  107. package/es/Button/demo/loading/index.js +0 -37
  108. package/es/Button/demo/loading/index.less +0 -6
  109. package/es/Button/style/index.less +0 -255
  110. package/es/Dropdown/demo/basic/index.d.ts +0 -4
  111. package/es/Dropdown/demo/basic/index.js +0 -18
  112. package/es/Dropdown/demo/button/index.d.ts +0 -3
  113. package/es/Dropdown/demo/button/index.js +0 -159
  114. package/es/Dropdown/demo/button/index.less +0 -9
  115. package/es/Dropdown/demo/placement/index.d.ts +0 -2
  116. package/es/Dropdown/demo/placement/index.js +0 -40
  117. package/es/Dropdown/demo/subMenu/index.d.ts +0 -2
  118. package/es/Dropdown/demo/subMenu/index.js +0 -42
  119. package/es/Dropdown/demo/trigger/index.d.ts +0 -2
  120. package/es/Dropdown/demo/trigger/index.js +0 -17
  121. package/es/Dropdown/style/index.less +0 -40
  122. package/es/Empty/style/index.less +0 -23
  123. package/es/Icon/index.less +0 -32
  124. package/es/Input/demo/allowClear/index.d.ts +0 -3
  125. package/es/Input/demo/allowClear/index.js +0 -11
  126. package/es/Input/demo/basic/index.d.ts +0 -4
  127. package/es/Input/demo/basic/index.js +0 -65
  128. package/es/Input/demo/basic/index.less +0 -14
  129. package/es/Input/demo/gourp/index.d.ts +0 -2
  130. package/es/Input/demo/gourp/index.js +0 -67
  131. package/es/Input/demo/password/index.d.ts +0 -3
  132. package/es/Input/demo/password/index.js +0 -21
  133. package/es/Input/demo/password/index.less +0 -0
  134. package/es/Input/demo/prefix/index.d.ts +0 -3
  135. package/es/Input/demo/prefix/index.js +0 -17
  136. package/es/Input/demo/prefix/index.less +0 -0
  137. package/es/Input/demo/showCount/index.d.ts +0 -3
  138. package/es/Input/demo/showCount/index.js +0 -17
  139. package/es/Input/demo/showCount/index.less +0 -0
  140. package/es/Input/demo/textArea/autoSize.d.ts +0 -2
  141. package/es/Input/demo/textArea/autoSize.js +0 -50
  142. package/es/Input/style/index.less +0 -65
  143. package/es/Menu/style/index.less +0 -37
  144. package/es/Navigator/demo/basic/index.d.ts +0 -4
  145. package/es/Navigator/demo/basic/index.js +0 -45
  146. package/es/Navigator/demo/basic/index.less +0 -3
  147. package/es/Navigator/demo/example/index.d.ts +0 -4
  148. package/es/Navigator/demo/example/index.js +0 -153
  149. package/es/Navigator/demo/example/index.less +0 -10
  150. package/es/Navigator/demo/logo.png +0 -0
  151. package/es/Navigator/demo/menuWithFooter/index.d.ts +0 -4
  152. package/es/Navigator/demo/menuWithFooter/index.js +0 -73
  153. package/es/Navigator/demo/menuWithFooter/index.less +0 -3
  154. package/es/Navigator/demo/subMenu/index.d.ts +0 -4
  155. package/es/Navigator/demo/subMenu/index.js +0 -71
  156. package/es/Navigator/demo/subMenu/index.less +0 -3
  157. package/es/Navigator/style/index.less +0 -224
  158. package/es/Select/demo/disabled/index.d.ts +0 -2
  159. package/es/Select/demo/disabled/index.js +0 -50
  160. package/es/Select/demo/multiple/index.d.ts +0 -2
  161. package/es/Select/demo/multiple/index.js +0 -140
  162. package/es/Select/demo/options/index.d.ts +0 -2
  163. package/es/Select/demo/options/index.js +0 -55
  164. package/es/Select/demo/single/index.d.ts +0 -3
  165. package/es/Select/demo/single/index.js +0 -89
  166. package/es/Select/demo/single/index.less +0 -5
  167. package/es/Select/style/index.less +0 -532
  168. package/es/Table/demo/basic/createData.d.ts +0 -9
  169. package/es/Table/demo/basic/createData.js +0 -18
  170. package/es/Table/demo/basic/index.d.ts +0 -2
  171. package/es/Table/demo/basic/index.js +0 -64
  172. package/es/Table/demo/editCell/index.d.ts +0 -2
  173. package/es/Table/demo/editCell/index.js +0 -39
  174. package/es/Table/demo/renderHeaderRight/index.d.ts +0 -2
  175. package/es/Table/demo/renderHeaderRight/index.js +0 -37
  176. package/es/Table/demo/rowSelect/index.d.ts +0 -2
  177. package/es/Table/demo/rowSelect/index.js +0 -40
  178. package/es/Table/demo/sort/index.d.ts +0 -2
  179. package/es/Table/demo/sort/index.js +0 -32
  180. package/es/Table/demo/virtualList/index.d.ts +0 -2
  181. package/es/Table/demo/virtualList/index.js +0 -88
  182. package/es/Table/style/index.less +0 -111
  183. package/es/Tabs/demo/adaptHeight/index.d.ts +0 -3
  184. package/es/Tabs/demo/adaptHeight/index.js +0 -19
  185. package/es/Tabs/demo/adaptHeight/index.less +0 -3
  186. package/es/Tabs/demo/basic/index.d.ts +0 -4
  187. package/es/Tabs/demo/basic/index.js +0 -44
  188. package/es/Tabs/demo/basic/index.less +0 -5
  189. package/es/Tabs/demo/horizontalScroll/index.d.ts +0 -3
  190. package/es/Tabs/demo/horizontalScroll/index.js +0 -30
  191. package/es/Tabs/demo/horizontalScroll/index.less +0 -3
  192. package/es/Tabs/style/index.less +0 -61
  193. package/es/Tooltip/demo/basic/index.d.ts +0 -2
  194. package/es/Tooltip/demo/basic/index.js +0 -7
  195. package/es/Tooltip/demo/overflow/index.d.ts +0 -2
  196. package/es/Tooltip/demo/overflow/index.js +0 -7
  197. package/es/Tooltip/demo/placement/index.d.ts +0 -6
  198. package/es/Tooltip/demo/placement/index.js +0 -70
  199. package/es/Tooltip/demo/placement/index.less +0 -7
  200. package/es/Tooltip/demo/trigger/index.d.ts +0 -3
  201. package/es/Tooltip/demo/trigger/index.js +0 -20
  202. package/es/Tooltip/demo/trigger/index.less +0 -5
  203. package/es/Tooltip/style/index.less +0 -14
  204. package/es/style/index.less +0 -3
  205. package/es/style/mixins/index.less +0 -0
  206. package/es/style/themes/default/index.less +0 -36
  207. package/es/style/themes/default/themeColor.module.less +0 -259
  208. package/lib/Button/demo/Icon/index.d.ts +0 -3
  209. package/lib/Button/demo/Icon/index.js +0 -82
  210. package/lib/Button/demo/Icon/index.less +0 -6
  211. package/lib/Button/demo/basic/index.d.ts +0 -4
  212. package/lib/Button/demo/basic/index.js +0 -73
  213. package/lib/Button/demo/basic/index.less +0 -6
  214. package/lib/Button/demo/disable/index.d.ts +0 -3
  215. package/lib/Button/demo/disable/index.js +0 -37
  216. package/lib/Button/demo/disable/index.less +0 -0
  217. package/lib/Button/demo/href/index.d.ts +0 -2
  218. package/lib/Button/demo/href/index.js +0 -30
  219. package/lib/Button/demo/loading/index.d.ts +0 -3
  220. package/lib/Button/demo/loading/index.js +0 -51
  221. package/lib/Button/demo/loading/index.less +0 -6
  222. package/lib/Button/style/index.less +0 -255
  223. package/lib/Dropdown/demo/basic/index.d.ts +0 -4
  224. package/lib/Dropdown/demo/basic/index.js +0 -35
  225. package/lib/Dropdown/demo/button/index.d.ts +0 -3
  226. package/lib/Dropdown/demo/button/index.js +0 -182
  227. package/lib/Dropdown/demo/button/index.less +0 -9
  228. package/lib/Dropdown/demo/placement/index.d.ts +0 -2
  229. package/lib/Dropdown/demo/placement/index.js +0 -56
  230. package/lib/Dropdown/demo/subMenu/index.d.ts +0 -2
  231. package/lib/Dropdown/demo/subMenu/index.js +0 -59
  232. package/lib/Dropdown/demo/trigger/index.d.ts +0 -2
  233. package/lib/Dropdown/demo/trigger/index.js +0 -32
  234. package/lib/Dropdown/style/index.less +0 -40
  235. package/lib/Empty/style/index.less +0 -23
  236. package/lib/Icon/index.less +0 -32
  237. package/lib/Input/demo/allowClear/index.d.ts +0 -3
  238. package/lib/Input/demo/allowClear/index.js +0 -25
  239. package/lib/Input/demo/allowClear/index.less +0 -0
  240. package/lib/Input/demo/basic/index.d.ts +0 -4
  241. package/lib/Input/demo/basic/index.js +0 -80
  242. package/lib/Input/demo/basic/index.less +0 -14
  243. package/lib/Input/demo/gourp/index.d.ts +0 -2
  244. package/lib/Input/demo/gourp/index.js +0 -81
  245. package/lib/Input/demo/password/index.d.ts +0 -3
  246. package/lib/Input/demo/password/index.js +0 -35
  247. package/lib/Input/demo/password/index.less +0 -0
  248. package/lib/Input/demo/prefix/index.d.ts +0 -3
  249. package/lib/Input/demo/prefix/index.js +0 -32
  250. package/lib/Input/demo/prefix/index.less +0 -0
  251. package/lib/Input/demo/showCount/index.d.ts +0 -3
  252. package/lib/Input/demo/showCount/index.js +0 -31
  253. package/lib/Input/demo/showCount/index.less +0 -0
  254. package/lib/Input/demo/textArea/autoSize.d.ts +0 -2
  255. package/lib/Input/demo/textArea/autoSize.js +0 -63
  256. package/lib/Input/style/index.less +0 -65
  257. package/lib/Menu/style/index.less +0 -37
  258. package/lib/Navigator/demo/basic/index.d.ts +0 -4
  259. package/lib/Navigator/demo/basic/index.js +0 -62
  260. package/lib/Navigator/demo/basic/index.less +0 -3
  261. package/lib/Navigator/demo/example/index.d.ts +0 -4
  262. package/lib/Navigator/demo/example/index.js +0 -179
  263. package/lib/Navigator/demo/example/index.less +0 -10
  264. package/lib/Navigator/demo/logo.png +0 -0
  265. package/lib/Navigator/demo/menuWithFooter/index.d.ts +0 -4
  266. package/lib/Navigator/demo/menuWithFooter/index.js +0 -92
  267. package/lib/Navigator/demo/menuWithFooter/index.less +0 -3
  268. package/lib/Navigator/demo/subMenu/index.d.ts +0 -4
  269. package/lib/Navigator/demo/subMenu/index.js +0 -88
  270. package/lib/Navigator/demo/subMenu/index.less +0 -3
  271. package/lib/Navigator/style/index.less +0 -224
  272. package/lib/Select/demo/disabled/index.d.ts +0 -2
  273. package/lib/Select/demo/disabled/index.js +0 -64
  274. package/lib/Select/demo/multiple/index.d.ts +0 -2
  275. package/lib/Select/demo/multiple/index.js +0 -154
  276. package/lib/Select/demo/options/index.d.ts +0 -2
  277. package/lib/Select/demo/options/index.js +0 -69
  278. package/lib/Select/demo/single/index.d.ts +0 -3
  279. package/lib/Select/demo/single/index.js +0 -103
  280. package/lib/Select/demo/single/index.less +0 -5
  281. package/lib/Select/style/index.less +0 -532
  282. package/lib/Table/demo/basic/createData.d.ts +0 -9
  283. package/lib/Table/demo/basic/createData.js +0 -23
  284. package/lib/Table/demo/basic/index.d.ts +0 -2
  285. package/lib/Table/demo/basic/index.js +0 -80
  286. package/lib/Table/demo/editCell/index.d.ts +0 -2
  287. package/lib/Table/demo/editCell/index.js +0 -54
  288. package/lib/Table/demo/renderHeaderRight/index.d.ts +0 -2
  289. package/lib/Table/demo/renderHeaderRight/index.js +0 -52
  290. package/lib/Table/demo/rowSelect/index.d.ts +0 -2
  291. package/lib/Table/demo/rowSelect/index.js +0 -55
  292. package/lib/Table/demo/sort/index.d.ts +0 -2
  293. package/lib/Table/demo/sort/index.js +0 -47
  294. package/lib/Table/demo/virtualList/index.d.ts +0 -2
  295. package/lib/Table/demo/virtualList/index.js +0 -103
  296. package/lib/Table/style/index.less +0 -111
  297. package/lib/Tabs/demo/adaptHeight/index.d.ts +0 -3
  298. package/lib/Tabs/demo/adaptHeight/index.js +0 -34
  299. package/lib/Tabs/demo/adaptHeight/index.less +0 -3
  300. package/lib/Tabs/demo/basic/index.d.ts +0 -4
  301. package/lib/Tabs/demo/basic/index.js +0 -67
  302. package/lib/Tabs/demo/basic/index.less +0 -5
  303. package/lib/Tabs/demo/horizontalScroll/index.d.ts +0 -3
  304. package/lib/Tabs/demo/horizontalScroll/index.js +0 -45
  305. package/lib/Tabs/demo/horizontalScroll/index.less +0 -3
  306. package/lib/Tabs/style/index.less +0 -61
  307. package/lib/Tooltip/demo/basic/index.d.ts +0 -2
  308. package/lib/Tooltip/demo/basic/index.js +0 -20
  309. package/lib/Tooltip/demo/overflow/index.d.ts +0 -2
  310. package/lib/Tooltip/demo/overflow/index.js +0 -20
  311. package/lib/Tooltip/demo/placement/index.d.ts +0 -6
  312. package/lib/Tooltip/demo/placement/index.js +0 -86
  313. package/lib/Tooltip/demo/placement/index.less +0 -7
  314. package/lib/Tooltip/demo/trigger/index.d.ts +0 -3
  315. package/lib/Tooltip/demo/trigger/index.js +0 -34
  316. package/lib/Tooltip/demo/trigger/index.less +0 -5
  317. package/lib/Tooltip/style/index.less +0 -14
  318. package/lib/style/index.less +0 -3
  319. package/lib/style/mixins/index.less +0 -0
  320. package/lib/style/themes/default/index.less +0 -36
  321. package/lib/style/themes/default/themeColor.module.less +0 -259
@@ -0,0 +1,493 @@
1
+ /**
2
+ *中性浅色背景 Neutral Light
3
+ * 主要用于文字颜色
4
+ **/
5
+ /**
6
+ *中性深色背景 Neutral Dark
7
+ * 主要用于文字颜色
8
+ **/
9
+ /**
10
+ * 品牌色 Brand
11
+ * 用作主操作强调、文字链、品牌传递
12
+ **/
13
+ /**
14
+ * 辅助A Secondary A
15
+ * 表达完成、成功
16
+ **/
17
+ /**
18
+ * 辅助B Secondary B
19
+ * 表达提醒、警告
20
+ **/
21
+ /**
22
+ * 辅助C Secondary C
23
+ * 表达错误、失败
24
+ **/
25
+ /**
26
+ * 背景色 Background
27
+ * 主要用于背景色
28
+ **/
29
+ /**
30
+ * 品牌背景 Brand Background
31
+ * 品牌色衍生灰调背景
32
+ **/
33
+ /***
34
+ * 黑白
35
+ ***/
36
+ /***
37
+ * 图片
38
+ ***/
39
+ /***
40
+ * 投影
41
+ ***/
42
+ :export {
43
+ NL0: #121212;
44
+ NL97: rgba(18, 18, 18, 0.03);
45
+ NL95: rgba(18, 18, 18, 0.05);
46
+ NL90: rgba(18, 18, 18, 0.1);
47
+ NL80: rgba(18, 18, 18, 0.2);
48
+ NL70: rgba(18, 18, 18, 0.3);
49
+ NL60: rgba(18, 18, 18, 0.4);
50
+ NL50: rgba(18, 18, 18, 0.5);
51
+ NL40: rgba(18, 18, 18, 0.6);
52
+ NL30: rgba(18, 18, 18, 0.7);
53
+ NL20: rgba(18, 18, 18, 0.8);
54
+ NL10: rgba(18, 18, 18, 0.9);
55
+ ND0: #FFFFFF;
56
+ ND97: rgba(255, 255, 255, 0.03);
57
+ ND95: rgba(255, 255, 255, 0.05);
58
+ ND90: rgba(255, 255, 255, 0.1);
59
+ ND80: rgba(255, 255, 255, 0.2);
60
+ ND70: rgba(255, 255, 255, 0.3);
61
+ ND60: rgba(255, 255, 255, 0.4);
62
+ ND50: rgba(255, 255, 255, 0.5);
63
+ ND40: rgba(255, 255, 255, 0.6);
64
+ ND30: rgba(255, 255, 255, 0.7);
65
+ ND20: rgba(255, 255, 255, 0.8);
66
+ ND10: rgba(255, 255, 255, 0.9);
67
+ B10: #00127B;
68
+ B20: #1029BC;
69
+ B30: #2944D7;
70
+ B40: #435CF0;
71
+ B50: #6077FF;
72
+ B60: #7F92FF;
73
+ B70: #9FADFF;
74
+ B80: #BDC9FF;
75
+ B90: #DFE3FE;
76
+ B95: #EFF1FF;
77
+ B98: #F8F9FF;
78
+ SA10: #00270F;
79
+ SA20: #024F20;
80
+ SA30: #007830;
81
+ SA40: #059F41;
82
+ SA50: #08C552;
83
+ SA60: #1BDE6D;
84
+ SA70: #35F886;
85
+ SA80: #70FFAB;
86
+ SA90: #B8FFD5;
87
+ SA95: #DBFFEA;
88
+ SA98: #EFFFF5;
89
+ SB10: #261600;
90
+ SB20: #542B00;
91
+ SB30: #7E4100;
92
+ SB40: #A85700;
93
+ SB50: #D26E00;
94
+ SB60: #F48500;
95
+ SB70: #FFA000;
96
+ SB80: #FFBF5B;
97
+ SB90: #FFDEB0;
98
+ SB95: #FFF0D9;
99
+ SB98: #FFF8EE;
100
+ SC10: #550005;
101
+ SC20: #AF0001;
102
+ SC30: #EC0011;
103
+ SC40: #FF0033;
104
+ SC50: #FF2755;
105
+ SC60: #FF5B78;
106
+ SC70: #FF879A;
107
+ SC80: #FFAFBB;
108
+ SC90: #FFD7DE;
109
+ SC95: #FFEBEE;
110
+ SC98: #FFF6F7;
111
+ BG0: #121212;
112
+ BG10: #2A2A2A;
113
+ BG20: #414141;
114
+ BG30: #595959;
115
+ BG40: #717171;
116
+ BG50: #88888B;
117
+ BG60: #A0A0A0;
118
+ BG70: #B7B7B7;
119
+ BG80: #D0D0D0;
120
+ BG90: #E7E8E8;
121
+ BG95: #F3F3F3;
122
+ BG97: #F8F8F8;
123
+ BG100: #FFFFFF;
124
+ BBG10: #061B3B;
125
+ BBG15: #112645;
126
+ BBG20: #203555;
127
+ BBG30: #3B4F6E;
128
+ BBG40: #536788;
129
+ BBG50: #6C82A3;
130
+ BBG60: #869BBB;
131
+ BBG70: #A0B5D5;
132
+ BBG80: #BACDEE;
133
+ BBG90: #D7E7FE;
134
+ BBG95: #EBF3FF;
135
+ BBG97: #F3F8FF;
136
+ BBG98: #F7F8FF;
137
+ WHITE: #FFFFFF;
138
+ BLACK: #121212;
139
+ IMAGE_HOLDER: rgba(153, 152, 152, 0.3);
140
+ MATE: rgba(0, 0, 0, 0.5);
141
+ SHADOW_OPTION: 0 1px 1px rgba(0, 0, 0, 0.12);
142
+ SHADOW_CARD: 0 1px 3px rgba(0, 0, 0, 0.1), 0 2px 1px rgba(0, 0, 0, 0.06), 0 1px 1px rgba(0, 0, 0, 0.08);
143
+ SHADOW_ACTIONSHEET: 0 3px 5px rgba(0, 0, 0, 0.1), 0 1px 18px rgba(0, 0, 0, 0.06), 0 6px 10px rgba(0, 0, 0, 0.08);
144
+ SHADOW_NOTIFICATION: 0 11px 15px rgba(0, 0, 0, 0.1), 0 9px 46px rgba(0, 0, 0, 0.08), 0 24px 38px rgba(0, 0, 0, 0.04);
145
+ }
146
+ .ant-select-legacy {
147
+ position: relative;
148
+ display: inline-block;
149
+ min-width: 120px;
150
+ overflow: hidden;
151
+ border: 1px solid transparent;
152
+ border-radius: 8px;
153
+ padding: 0 36px 0 12px;
154
+ outline: none;
155
+ transition: all 0.2s;
156
+ cursor: pointer;
157
+ user-select: none;
158
+ }
159
+ .ant-select-legacy-selector-wrap {
160
+ display: flex;
161
+ align-items: center;
162
+ }
163
+ .ant-select-legacy-selector {
164
+ box-sizing: border-box;
165
+ width: 100%;
166
+ min-height: 28px;
167
+ max-height: 98px;
168
+ overflow-x: hidden;
169
+ overflow-y: auto;
170
+ border-radius: 8px;
171
+ transition: all 0.2s;
172
+ }
173
+ .ant-select-legacy-selector::-webkit-scrollbar {
174
+ width: 2px;
175
+ background-color: transparent;
176
+ }
177
+ .ant-select-legacy-selector-label {
178
+ height: 28px;
179
+ display: flex;
180
+ align-items: center;
181
+ line-height: 28px;
182
+ font-size: 14px;
183
+ color: rgba(18, 18, 18, 0.7);
184
+ margin-right: 4px;
185
+ max-width: 50%;
186
+ overflow: hidden;
187
+ flex-shrink: 0;
188
+ }
189
+ .ant-select-legacy-values-wrapper {
190
+ position: relative;
191
+ width: 100%;
192
+ line-height: 28px;
193
+ color: #121212;
194
+ }
195
+ .ant-select-legacy-bordered {
196
+ border: 1px solid rgba(18, 18, 18, 0.1);
197
+ }
198
+ .ant-select-legacy-bordered:not(.ant-select-legacy-disabled):not(.ant-select-legacy-focused):hover {
199
+ border: 1px solid #435CF0;
200
+ }
201
+ .ant-select-legacy-focused:not(.ant-select-legacy-bordered):not(.ant-select-legacy-disabled) {
202
+ border-radius: 4px;
203
+ }
204
+ .ant-select-legacy-focused .ant-select-legacy-item-all,
205
+ .ant-select-legacy-focused .ant-select-legacy-item {
206
+ opacity: 0.5;
207
+ }
208
+ .ant-select-legacy-arrow,
209
+ .ant-select-legacy-close {
210
+ position: absolute;
211
+ top: 0;
212
+ right: 12px;
213
+ display: flex;
214
+ align-items: center;
215
+ justify-content: center;
216
+ height: 100%;
217
+ }
218
+ .ant-select-legacy-arrow-focused,
219
+ .ant-select-legacy-close-focused {
220
+ transform: rotate(-180deg);
221
+ }
222
+ .ant-select-legacy-item {
223
+ max-width: 100%;
224
+ overflow: hidden;
225
+ font-size: 14px;
226
+ transition: margin 0.2s;
227
+ }
228
+ .ant-select-legacy-item-text {
229
+ overflow: hidden;
230
+ font-size: 14px;
231
+ line-height: 22px;
232
+ white-space: nowrap;
233
+ text-overflow: ellipsis;
234
+ color: #121212;
235
+ }
236
+ .ant-select-legacy-tag-item {
237
+ max-width: 100%;
238
+ margin-right: 8px;
239
+ margin-bottom: 5px;
240
+ }
241
+ .ant-select-legacy-item-all {
242
+ display: inline-flex;
243
+ width: 100%;
244
+ font-size: 14px;
245
+ transition: margin 0.2s;
246
+ }
247
+ .ant-select-legacy-item-all .ant-select-legacy-overflow-item {
248
+ white-space: nowrap;
249
+ }
250
+ .ant-select-legacy-item-all .ant-select-legacy-overflow-item:not(:first-child)::before {
251
+ content: ',';
252
+ }
253
+ .ant-select-legacy-item-all .ant-select-legacy-overflow-item-rest::before {
254
+ content: '' !important;
255
+ }
256
+ .ant-select-legacy-item-all-text {
257
+ overflow: hidden;
258
+ font-size: 14px;
259
+ line-height: 22px;
260
+ white-space: nowrap;
261
+ text-overflow: ellipsis;
262
+ }
263
+ .ant-select-legacy-placeholder {
264
+ position: absolute;
265
+ top: 0;
266
+ left: 0;
267
+ color: rgba(18, 18, 18, 0.5);
268
+ }
269
+ .ant-select-legacy-input {
270
+ position: absolute;
271
+ top: 9px;
272
+ left: 0;
273
+ box-sizing: content-box;
274
+ padding: 0;
275
+ background: none;
276
+ border: none;
277
+ outline: none;
278
+ }
279
+ .ant-select-legacy-input-tags {
280
+ position: relative;
281
+ top: 0;
282
+ }
283
+ .ant-select-legacy-input-reference {
284
+ position: absolute;
285
+ top: 0;
286
+ left: 0;
287
+ z-index: -1;
288
+ visibility: hidden;
289
+ }
290
+ .ant-select-legacy-small {
291
+ border-radius: 6px;
292
+ }
293
+ .ant-select-legacy-small .ant-select-legacy-selector {
294
+ min-height: 22px;
295
+ max-height: 77px;
296
+ border-radius: 6px;
297
+ }
298
+ .ant-select-legacy-small .ant-select-legacy-selector-label {
299
+ height: 22px;
300
+ line-height: 22px;
301
+ font-size: 12px;
302
+ color: rgba(18, 18, 18, 0.7);
303
+ }
304
+ .ant-select-legacy-small .ant-select-legacy-values-wrapper {
305
+ line-height: 22px;
306
+ font-size: 12px;
307
+ }
308
+ .ant-select-legacy-small .ant-select-legacy-item-all {
309
+ font-size: 12px;
310
+ }
311
+ .ant-select-legacy-small .ant-select-legacy-item-all-text {
312
+ font-size: 12px;
313
+ }
314
+ .ant-select-legacy-small .ant-select-legacy-placeholder {
315
+ font-size: 12px;
316
+ }
317
+ .ant-select-legacy-small .ant-select-legacy-tag-item {
318
+ margin-bottom: 2px;
319
+ }
320
+ .ant-select-legacy-small .ant-select-legacy-input {
321
+ top: 6px;
322
+ }
323
+ .ant-select-legacy-small .ant-select-legacy-input-tags {
324
+ top: 0;
325
+ }
326
+ .ant-select-legacy-large .ant-select-legacy-selector {
327
+ min-height: 32px;
328
+ max-height: 112px;
329
+ }
330
+ .ant-select-legacy-large .ant-select-legacy-selector-label {
331
+ height: 32px;
332
+ line-height: 32px;
333
+ font-size: 14px;
334
+ }
335
+ .ant-select-legacy-large .ant-select-legacy-values-wrapper {
336
+ line-height: 32px;
337
+ }
338
+ .ant-select-legacy-large .ant-select-legacy-tag-item {
339
+ margin-bottom: 7px;
340
+ }
341
+ .ant-select-legacy-large .ant-select-legacy-input {
342
+ top: 11px;
343
+ }
344
+ .ant-select-legacy-large .ant-select-legacy-input-tags {
345
+ top: 0;
346
+ }
347
+ .ant-select-legacy-disabled {
348
+ color: rgba(18, 18, 18, 0.2);
349
+ text-shadow: none;
350
+ background: rgba(18, 18, 18, 0.05);
351
+ cursor: not-allowed !important;
352
+ }
353
+ .ant-select-legacy-disabled .ant-select-legacy-selector-label {
354
+ color: inherit;
355
+ }
356
+ .ant-select-legacy-disabled .ant-select-legacy-values-wrapper {
357
+ color: inherit;
358
+ }
359
+ .ant-select-legacy-disabled .ant-select-legacy-placeholder {
360
+ color: inherit;
361
+ }
362
+ .ant-select-legacy-bordered.ant-select-legacy-disabled {
363
+ border-color: rgba(18, 18, 18, 0.1);
364
+ }
365
+ .ant-select-legacy-single .ant-select-legacy-item {
366
+ display: inline-flex;
367
+ }
368
+ .ant-select-legacy-dropdown {
369
+ position: absolute;
370
+ background: #FFFFFF;
371
+ border: 1px solid rgba(18, 18, 18, 0.1);
372
+ box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1), 0 1px 18px rgba(0, 0, 0, 0.06), 0 6px 10px rgba(0, 0, 0, 0.08);
373
+ border-radius: 8px;
374
+ padding: 4px 0;
375
+ }
376
+ .ant-select-legacy-dropdown.ant-select-legacy-hidden {
377
+ display: none;
378
+ }
379
+ .ant-select-legacy-not-found {
380
+ width: 100%;
381
+ text-align: center;
382
+ }
383
+ .ant-select-legacy-not-found-icon {
384
+ margin-bottom: 40px;
385
+ }
386
+ .ant-select-legacy-gap-10 {
387
+ width: 10px;
388
+ }
389
+ .ant-select-legacy-gap-10 + div {
390
+ overflow: hidden;
391
+ white-space: nowrap;
392
+ text-overflow: ellipsis;
393
+ }
394
+ .ant-select-legacy-button {
395
+ margin-right: 8px;
396
+ }
397
+ .ant-select-legacy-list {
398
+ box-sizing: border-box;
399
+ outline: none;
400
+ }
401
+ .ant-select-legacy-list-option {
402
+ position: relative;
403
+ display: flex;
404
+ align-items: center;
405
+ box-sizing: border-box;
406
+ max-width: 100%;
407
+ user-select: none;
408
+ padding: 8px 12px 8px 36px;
409
+ overflow: hidden;
410
+ color: #121212;
411
+ font-size: 12px;
412
+ height: 32px;
413
+ line-height: 16px;
414
+ white-space: nowrap;
415
+ text-overflow: ellipsis;
416
+ cursor: pointer;
417
+ transition: background-color 0.3s ease;
418
+ }
419
+ .ant-select-legacy-list-option-icon,
420
+ .ant-select-legacy-list-option-all-icon {
421
+ position: absolute;
422
+ top: 50%;
423
+ transform: translateY(-50%);
424
+ left: 12px;
425
+ color: #435CF0;
426
+ }
427
+ .ant-select-legacy-list-option-icon-checkbox .ant-checkbox-inner,
428
+ .ant-select-legacy-list-option-all-icon-checkbox .ant-checkbox-inner {
429
+ border-color: rgba(18, 18, 18, 0.1);
430
+ border-radius: 4px;
431
+ }
432
+ .ant-select-legacy-list-option-isHover {
433
+ background-color: rgba(18, 18, 18, 0.03);
434
+ }
435
+ .ant-select-legacy-list-option-nomargin {
436
+ margin-top: 0;
437
+ }
438
+ .ant-select-legacy-list-option-disabled {
439
+ color: rgba(18, 18, 18, 0.2);
440
+ text-shadow: none;
441
+ background-color: #FFFFFF;
442
+ cursor: not-allowed !important;
443
+ }
444
+ .ant-select-legacy-list-option-isSelected,
445
+ .ant-select-legacy-list-option-all-isSelected {
446
+ color: #121212;
447
+ font-weight: normal;
448
+ }
449
+ .ant-select-legacy-list-option-all {
450
+ position: relative;
451
+ display: flex;
452
+ align-items: center;
453
+ box-sizing: border-box;
454
+ max-width: 100%;
455
+ padding: 8px 12px 8px 36px;
456
+ overflow: hidden;
457
+ color: #121212;
458
+ font-size: 12px;
459
+ height: 32px;
460
+ line-height: 16px;
461
+ white-space: nowrap;
462
+ text-overflow: ellipsis;
463
+ cursor: pointer;
464
+ transition: background-color 0.3s ease;
465
+ user-select: none;
466
+ }
467
+ .ant-select-legacy-list-option-all:not(.ant-select-legacy-list-option-all-disabled):hover {
468
+ background-color: rgba(18, 18, 18, 0.03);
469
+ }
470
+ .ant-select-legacy-footer-button-group {
471
+ display: flex;
472
+ align-items: center;
473
+ justify-content: flex-end;
474
+ box-sizing: border-box;
475
+ width: 100%;
476
+ height: 52px;
477
+ margin-top: 4px;
478
+ padding: 0 20px;
479
+ }
480
+ .ant-select-legacy-footer-button-group:first-child button {
481
+ margin-right: 8px;
482
+ }
483
+ .ant-select-legacy-list-search-bar {
484
+ box-sizing: border-box;
485
+ max-width: 100%;
486
+ padding: 0 20px 16px 12px;
487
+ }
488
+ .ant-select-legacy-list-group {
489
+ padding: 6px 12px;
490
+ font-weight: normal;
491
+ font-size: 12px;
492
+ line-height: 20px;
493
+ }
@@ -2,4 +2,4 @@
2
2
 
3
3
  require("../../style");
4
4
 
5
- require("./index.less");
5
+ require("./index.css");
@@ -1,5 +1,5 @@
1
1
  import { ReactElement } from 'react';
2
2
  import './style';
3
3
  import { ITableProps } from './interface';
4
- declare function Table<T extends Record<string, unknown>>({ columns, data, total, renderHeaderLeft, renderHeaderRight, scrollY, onRowSelected, loadMore, hasNextPage, loading, }: ITableProps<T>): ReactElement;
4
+ declare function Table<T extends Record<string, unknown>>({ columns, data, total, renderHeaderLeft, renderHeaderRight, scrollY, onRowSelected, loadMore, hasNextPage, loading, sortable, defaultSort, resizeColumn, sortDirections: allSortDirections, onChange, }: ITableProps<T>): ReactElement;
5
5
  export default Table;