@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,145 @@
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
+ }
@@ -2,4 +2,4 @@
2
2
 
3
3
  require("antd/dist/antd.compact.css");
4
4
 
5
- require("./index.less");
5
+ require("./index.css");
@@ -0,0 +1,145 @@
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
+ }
@@ -0,0 +1,145 @@
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
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aloudata/aloudata-design",
3
- "version": "0.2.0-beta.2",
3
+ "version": "0.2.0-beta.5",
4
4
  "scripts": {
5
5
  "start": "dumi dev",
6
6
  "docs:build": "dumi build",
@@ -1,3 +0,0 @@
1
- import './index.less';
2
- declare const _default: () => JSX.Element;
3
- export default _default;
@@ -1,67 +0,0 @@
1
- import React from 'react';
2
- import { Button } from '@aloudata/aloudata-design';
3
- import './index.less';
4
- import Icon from '../../../Icon';
5
- export default (function () {
6
- return /*#__PURE__*/React.createElement("div", {
7
- className: "ald-button-demo"
8
- }, /*#__PURE__*/React.createElement(Button, {
9
- type: "primary",
10
- icon: /*#__PURE__*/React.createElement(Icon, {
11
- type: "add",
12
- size: 20
13
- })
14
- }, "Search"), /*#__PURE__*/React.createElement(Button, {
15
- type: "secondary",
16
- icon: /*#__PURE__*/React.createElement(Icon, {
17
- type: "add",
18
- size: 20
19
- })
20
- }, "Search"), /*#__PURE__*/React.createElement(Button, {
21
- type: "text",
22
- icon: /*#__PURE__*/React.createElement(Icon, {
23
- type: "add",
24
- size: 20
25
- })
26
- }, "Search"), /*#__PURE__*/React.createElement(Button, {
27
- type: "danger",
28
- icon: /*#__PURE__*/React.createElement(Icon, {
29
- type: "add",
30
- size: 20
31
- })
32
- }, "Search"), /*#__PURE__*/React.createElement(Button, {
33
- type: "link",
34
- icon: /*#__PURE__*/React.createElement(Icon, {
35
- type: "add",
36
- size: 20
37
- })
38
- }, "Search"), /*#__PURE__*/React.createElement("br", null), /*#__PURE__*/React.createElement(Button, {
39
- icon: /*#__PURE__*/React.createElement(Icon, {
40
- type: "add",
41
- size: 20
42
- })
43
- }), /*#__PURE__*/React.createElement(Button, {
44
- shape: 'circle',
45
- icon: /*#__PURE__*/React.createElement(Icon, {
46
- type: "add",
47
- size: 20
48
- })
49
- }), /*#__PURE__*/React.createElement(Button, {
50
- shape: 'circle'
51
- }, "S"), /*#__PURE__*/React.createElement("br", null), /*#__PURE__*/React.createElement(Button, {
52
- size: 'small',
53
- icon: /*#__PURE__*/React.createElement(Icon, {
54
- type: "add",
55
- size: 20
56
- })
57
- }), /*#__PURE__*/React.createElement(Button, {
58
- shape: 'circle',
59
- size: "large",
60
- icon: /*#__PURE__*/React.createElement(Icon, {
61
- type: "add",
62
- size: 20
63
- })
64
- }), /*#__PURE__*/React.createElement(Button, {
65
- shape: 'circle'
66
- }, "M"));
67
- });
@@ -1,6 +0,0 @@
1
- .ald-button-demo {
2
- .ant-btn {
3
- margin-right: 8px;
4
- margin-bottom: 12px;
5
- }
6
- }
@@ -1,4 +0,0 @@
1
- import '../../style/index.less';
2
- import './index.less';
3
- declare const _default: () => JSX.Element;
4
- export default _default;
@@ -1,57 +0,0 @@
1
- import "antd/es/radio/style";
2
- import _Radio from "antd/es/radio";
3
-
4
- function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
5
-
6
- function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
7
-
8
- function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
9
-
10
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
11
-
12
- function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
13
-
14
- function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
15
-
16
- import React from 'react';
17
- import { Button } from '@aloudata/aloudata-design';
18
- import '../../style/index.less';
19
- import './index.less';
20
- export default (function () {
21
- var _React$useState = React.useState('default'),
22
- _React$useState2 = _slicedToArray(_React$useState, 2),
23
- size = _React$useState2[0],
24
- setSize = _React$useState2[1];
25
-
26
- var handleSizeChange = function handleSizeChange(e) {
27
- setSize(e.target.value);
28
- };
29
-
30
- return /*#__PURE__*/React.createElement("div", {
31
- className: 'ald-button-demo'
32
- }, /*#__PURE__*/React.createElement(_Radio.Group, {
33
- value: size,
34
- onChange: handleSizeChange
35
- }, /*#__PURE__*/React.createElement(_Radio.Button, {
36
- value: "small"
37
- }, "Small"), /*#__PURE__*/React.createElement(_Radio.Button, {
38
- value: 'default'
39
- }, "Default"), /*#__PURE__*/React.createElement(_Radio.Button, {
40
- value: "large"
41
- }, "Large")), /*#__PURE__*/React.createElement("br", null), /*#__PURE__*/React.createElement(Button, {
42
- type: "primary",
43
- size: size
44
- }, "Primary Button"), /*#__PURE__*/React.createElement(Button, {
45
- type: "danger",
46
- size: size
47
- }, "danger Button"), /*#__PURE__*/React.createElement(Button, {
48
- type: "secondary",
49
- size: size
50
- }, "secondary Button"), /*#__PURE__*/React.createElement(Button, {
51
- type: "text",
52
- size: size
53
- }, "Text Button"), /*#__PURE__*/React.createElement(Button, {
54
- type: "link",
55
- size: size
56
- }, "Link Button"));
57
- });
@@ -1,6 +0,0 @@
1
- .ald-button-demo {
2
- .ant-btn {
3
- margin-right: 8px;
4
- margin-top: 12px;
5
- }
6
- }
@@ -1,3 +0,0 @@
1
- import './index.less';
2
- declare const _default: () => JSX.Element;
3
- export default _default;
@@ -1,23 +0,0 @@
1
- import React from 'react';
2
- import { Button } from '@aloudata/aloudata-design';
3
- import './index.less';
4
- export default (function () {
5
- return /*#__PURE__*/React.createElement("div", {
6
- className: "ald-button-demo"
7
- }, /*#__PURE__*/React.createElement(Button, {
8
- type: "primary",
9
- disabled: true
10
- }, "primary disable"), /*#__PURE__*/React.createElement(Button, {
11
- type: "secondary",
12
- disabled: true
13
- }, "secondary disable"), /*#__PURE__*/React.createElement(Button, {
14
- type: "text",
15
- disabled: true
16
- }, "text disable"), /*#__PURE__*/React.createElement(Button, {
17
- type: "danger",
18
- disabled: true
19
- }, "danger disable"), /*#__PURE__*/React.createElement(Button, {
20
- type: "link",
21
- disabled: true
22
- }, "link disable"));
23
- });
@@ -1,2 +0,0 @@
1
- declare const _default: () => JSX.Element;
2
- export default _default;
@@ -1,17 +0,0 @@
1
- import React from 'react';
2
- import { Button } from '@aloudata/aloudata-design';
3
- export default (function () {
4
- return /*#__PURE__*/React.createElement("div", {
5
- className: "ald-button-demo"
6
- }, /*#__PURE__*/React.createElement(Button, {
7
- href: "https://www.aloudata.com/"
8
- }, "aloudata"), /*#__PURE__*/React.createElement(Button, {
9
- href: "https://www.aloudata.com/",
10
- target: "_blank"
11
- }, "target _blank aloudata"), /*#__PURE__*/React.createElement(Button, {
12
- href: "https://www.aloudata.com/",
13
- target: "_self"
14
- }, "target _self aloudata"), /*#__PURE__*/React.createElement(Button, {
15
- target: "_blank"
16
- }, " \u65E0href target _blank"));
17
- });
@@ -1,3 +0,0 @@
1
- import './index.less';
2
- declare const _default: () => JSX.Element;
3
- export default _default;