@aloudata/aloudata-design 0.3.0-beta.1 → 0.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (344) hide show
  1. package/README.md +15 -5
  2. package/es/Breadcrumb/index.d.ts +0 -1
  3. package/es/Breadcrumb/style/index.less +11 -3
  4. package/es/Button/index.js +17 -2
  5. package/es/Button/style/index.less +41 -39
  6. package/es/Button/style/variables.less +9 -2
  7. package/es/Card/index.d.ts +3 -0
  8. package/es/Card/index.js +3 -0
  9. package/es/{Message → Card}/style/index.d.ts +0 -0
  10. package/es/{Message → Card}/style/index.js +0 -0
  11. package/es/{Message → Card}/style/index.less +0 -0
  12. package/es/Checkbox/index.d.ts +0 -1
  13. package/es/Checkbox/style/index.less +19 -0
  14. package/es/Drawer/index.d.ts +4 -0
  15. package/es/Drawer/index.js +3 -0
  16. package/es/{Notification → Drawer}/style/index.d.ts +0 -0
  17. package/es/{Notification → Drawer}/style/index.js +0 -0
  18. package/es/{Notification → Drawer}/style/index.less +0 -0
  19. package/es/Dropdown/Button.js +3 -3
  20. package/es/Empty/image/Authority.d.ts +0 -1
  21. package/es/Empty/image/Dataspace.d.ts +0 -1
  22. package/es/Empty/image/Search.d.ts +0 -1
  23. package/es/Empty/image/Simple.d.ts +0 -1
  24. package/es/Empty/image/Worksheet.d.ts +0 -1
  25. package/es/Empty/image/empty.d.ts +0 -1
  26. package/es/Form/style/index.less +8 -0
  27. package/es/Icon/antdIconfont.d.ts +4 -0
  28. package/es/Icon/antdIconfont.js +2 -0
  29. package/es/Icon/components/Icon.d.ts +32 -0
  30. package/es/Icon/components/Icon.js +27 -0
  31. package/es/Icon/components/createFromScripts.d.ts +1 -0
  32. package/es/Icon/components/createFromScripts.js +35 -0
  33. package/es/Icon/iconSvgs/arrows_right_sm.svg +3 -0
  34. package/es/Icon/icons/AddLine.d.ts +13 -0
  35. package/es/Icon/icons/AddLine.js +66 -0
  36. package/es/Icon/icons/AlertFill.d.ts +13 -0
  37. package/es/Icon/icons/AlertFill.js +73 -0
  38. package/es/Icon/icons/ArrowsDownLine.d.ts +13 -0
  39. package/es/Icon/icons/ArrowsDownLine.js +66 -0
  40. package/es/Icon/icons/CancelFill.d.ts +13 -0
  41. package/es/Icon/icons/CancelFill.js +73 -0
  42. package/es/Icon/icons/CheckFill.d.ts +13 -0
  43. package/es/Icon/icons/CheckFill.js +73 -0
  44. package/es/Icon/icons/CheckLine.d.ts +13 -0
  45. package/es/Icon/icons/CheckLine.js +73 -0
  46. package/es/Icon/icons/CloseLine.d.ts +13 -0
  47. package/es/Icon/icons/CloseLine.js +66 -0
  48. package/es/Icon/icons/DatabaseLine.d.ts +13 -0
  49. package/es/Icon/icons/DatabaseLine.js +66 -0
  50. package/es/Icon/icons/Deleteline.d.ts +13 -0
  51. package/es/Icon/icons/Deleteline.js +66 -0
  52. package/es/Icon/icons/DownloadLine.d.ts +13 -0
  53. package/es/Icon/icons/DownloadLine.js +73 -0
  54. package/es/Icon/icons/ErrorFill.d.ts +13 -0
  55. package/es/Icon/icons/ErrorFill.js +73 -0
  56. package/es/Icon/icons/EyeOffLine.d.ts +13 -0
  57. package/es/Icon/icons/EyeOffLine.js +73 -0
  58. package/es/Icon/icons/EyeOnLine.d.ts +13 -0
  59. package/es/Icon/icons/EyeOnLine.js +66 -0
  60. package/es/Icon/icons/FileLine.d.ts +13 -0
  61. package/es/Icon/icons/FileLine.js +73 -0
  62. package/es/Icon/icons/HomeFill.d.ts +13 -0
  63. package/es/Icon/icons/HomeFill.js +73 -0
  64. package/es/Icon/icons/IconBase.withSpan.tpl +58 -0
  65. package/es/Icon/icons/LightningLine.d.ts +13 -0
  66. package/es/Icon/icons/LightningLine.js +66 -0
  67. package/es/Icon/icons/Loading.d.ts +13 -0
  68. package/es/Icon/icons/Loading.js +66 -0
  69. package/es/Icon/icons/More.d.ts +13 -0
  70. package/es/Icon/icons/More.js +66 -0
  71. package/es/Icon/icons/NewWindowsLine.d.ts +13 -0
  72. package/es/Icon/icons/NewWindowsLine.js +74 -0
  73. package/es/Icon/icons/SearchLine.d.ts +13 -0
  74. package/es/Icon/icons/SearchLine.js +73 -0
  75. package/es/Icon/icons/SortAscendingLine.d.ts +13 -0
  76. package/es/Icon/icons/SortAscendingLine.js +66 -0
  77. package/es/Icon/icons/SortDescendingLine.d.ts +13 -0
  78. package/es/Icon/icons/SortDescendingLine.js +66 -0
  79. package/es/Icon/icons/TextLine.d.ts +13 -0
  80. package/es/Icon/icons/TextLine.js +73 -0
  81. package/es/Icon/icons/UserLine.d.ts +13 -0
  82. package/es/Icon/icons/UserLine.js +73 -0
  83. package/es/Icon/icons/style.css +9 -0
  84. package/es/Icon/icons/style.css.d.ts +10 -0
  85. package/es/Icon/index.d.ts +2 -13
  86. package/es/Icon/index.js +2 -53
  87. package/es/Icon/index.less +9 -17
  88. package/es/Icon/style/index.d.ts +1 -0
  89. package/es/Icon/style/index.js +1 -0
  90. package/es/Icon/style/index.less +0 -0
  91. package/es/Input/components/Group/index.d.ts +0 -1
  92. package/es/Input/components/Password/index.js +6 -5
  93. package/es/Input/style/index.less +1 -1
  94. package/es/InputNumber/index.d.ts +0 -1
  95. package/es/InputNumber/style/index.less +88 -16
  96. package/es/Menu/Divider.d.ts +0 -1
  97. package/es/Menu/style/index.less +4 -3
  98. package/es/Modal/index.js +21 -12
  99. package/es/Modal/locale.d.ts +7 -0
  100. package/es/Modal/locale.js +20 -0
  101. package/es/Modal/style/index.less +3 -3
  102. package/es/Navigator/components/Header/index.d.ts +0 -1
  103. package/es/Navigator/components/Menu/index.d.ts +0 -1
  104. package/es/Navigator/components/MenuItem/index.d.ts +1 -1
  105. package/es/Navigator/index.d.ts +1 -1
  106. package/es/Navigator/style/index.less +46 -5
  107. package/es/Popover/index.d.ts +0 -1
  108. package/es/Select/index.d.ts +2 -1
  109. package/es/Select/index.js +2 -1
  110. package/es/Select/rc-select/OptionList.js +3 -4
  111. package/es/Select/rc-select/Selector/MultipleSelector.js +13 -3
  112. package/es/Select/rc-select/hooks/useOptions.d.ts +1 -1
  113. package/es/Select/style/index.d.ts +0 -1
  114. package/es/Select/style/index.js +0 -1
  115. package/es/Select/style/index.less +105 -10
  116. package/es/Select/style/variables.less +20 -9
  117. package/es/Select/style/variables.less.d.ts +4 -1
  118. package/es/Select/utils/iconUtil.d.ts +2 -2
  119. package/es/Select/utils/iconUtil.js +10 -13
  120. package/es/Table/Table.d.ts +0 -1
  121. package/es/Table/Table.js +23 -14
  122. package/es/Table/style/index.less +7 -0
  123. package/es/Tabs/index.d.ts +2 -1
  124. package/es/Tabs/index.js +9 -6
  125. package/es/Tabs/style/index.less +67 -1
  126. package/es/index.d.ts +8 -3
  127. package/es/index.js +6 -3
  128. package/es/locale/default.d.ts +2 -0
  129. package/es/locale/default.js +2 -0
  130. package/es/locale/en_US.d.ts +3 -0
  131. package/es/locale/en_US.js +132 -0
  132. package/es/locale/zh_CN.d.ts +3 -2
  133. package/es/locale/zh_CN.js +131 -2
  134. package/es/locale-provider/LocaleReceiver.d.ts +4 -0
  135. package/es/locale-provider/LocaleReceiver.js +3 -0
  136. package/es/locale-provider/context.d.ts +7 -0
  137. package/es/locale-provider/context.js +3 -0
  138. package/es/locale-provider/default.d.ts +2 -0
  139. package/es/locale-provider/default.js +2 -0
  140. package/es/locale-provider/en_US.d.ts +2 -0
  141. package/es/locale-provider/en_US.js +2 -0
  142. package/es/locale-provider/index.d.ts +61 -0
  143. package/es/locale-provider/index.js +102 -0
  144. package/es/locale-provider/style/index.d.ts +1 -0
  145. package/es/locale-provider/style/index.js +1 -0
  146. package/es/locale-provider/style/index.less +2 -0
  147. package/es/locale-provider/zh_CN.d.ts +2 -0
  148. package/es/locale-provider/zh_CN.js +2 -0
  149. package/es/{Message → message}/index.d.ts +0 -0
  150. package/es/{Message → message}/index.js +0 -0
  151. package/{lib/Message → es/message}/style/index.d.ts +0 -0
  152. package/es/message/style/index.js +2 -0
  153. package/{lib/Message → es/message}/style/index.less +0 -0
  154. package/es/{Notification → notification}/index.d.ts +0 -0
  155. package/es/{Notification → notification}/index.js +0 -0
  156. package/{lib/Notification → es/notification}/style/index.d.ts +0 -0
  157. package/es/notification/style/index.js +2 -0
  158. package/{lib/Notification → es/notification}/style/index.less +0 -0
  159. package/es/style/index.less +1 -0
  160. package/es/style/themes/default/scrollBar.less +13 -0
  161. package/lib/Breadcrumb/index.d.ts +0 -1
  162. package/lib/Breadcrumb/style/index.less +11 -3
  163. package/lib/Button/index.js +18 -2
  164. package/lib/Button/style/index.less +41 -39
  165. package/lib/Button/style/variables.less +9 -2
  166. package/lib/Card/index.d.ts +3 -0
  167. package/lib/Card/index.js +15 -0
  168. package/lib/Card/style/index.d.ts +2 -0
  169. package/lib/{Message → Card}/style/index.js +0 -0
  170. package/lib/Card/style/index.less +1 -0
  171. package/lib/Checkbox/index.d.ts +0 -1
  172. package/lib/Checkbox/style/index.less +19 -0
  173. package/lib/Drawer/index.d.ts +4 -0
  174. package/lib/Drawer/index.js +15 -0
  175. package/lib/Drawer/style/index.d.ts +2 -0
  176. package/lib/{Notification → Drawer}/style/index.js +0 -0
  177. package/lib/Drawer/style/index.less +1 -0
  178. package/lib/Dropdown/Button.js +3 -3
  179. package/lib/Empty/image/Authority.d.ts +0 -1
  180. package/lib/Empty/image/Dataspace.d.ts +0 -1
  181. package/lib/Empty/image/Search.d.ts +0 -1
  182. package/lib/Empty/image/Simple.d.ts +0 -1
  183. package/lib/Empty/image/Worksheet.d.ts +0 -1
  184. package/lib/Empty/image/empty.d.ts +0 -1
  185. package/lib/Form/style/index.less +8 -0
  186. package/lib/Icon/antdIconfont.d.ts +4 -0
  187. package/lib/Icon/antdIconfont.js +13 -0
  188. package/lib/Icon/components/Icon.d.ts +32 -0
  189. package/lib/Icon/components/Icon.js +38 -0
  190. package/lib/Icon/components/createFromScripts.d.ts +1 -0
  191. package/lib/Icon/components/createFromScripts.js +41 -0
  192. package/lib/Icon/iconSvgs/arrows_right_sm.svg +3 -0
  193. package/lib/Icon/icons/AddLine.d.ts +13 -0
  194. package/lib/Icon/icons/AddLine.js +83 -0
  195. package/lib/Icon/icons/AlertFill.d.ts +13 -0
  196. package/lib/Icon/icons/AlertFill.js +90 -0
  197. package/lib/Icon/icons/ArrowsDownLine.d.ts +13 -0
  198. package/lib/Icon/icons/ArrowsDownLine.js +83 -0
  199. package/lib/Icon/icons/CancelFill.d.ts +13 -0
  200. package/lib/Icon/icons/CancelFill.js +90 -0
  201. package/lib/Icon/icons/CheckFill.d.ts +13 -0
  202. package/lib/Icon/icons/CheckFill.js +90 -0
  203. package/lib/Icon/icons/CheckLine.d.ts +13 -0
  204. package/lib/Icon/icons/CheckLine.js +90 -0
  205. package/lib/Icon/icons/CloseLine.d.ts +13 -0
  206. package/lib/Icon/icons/CloseLine.js +83 -0
  207. package/lib/Icon/icons/DatabaseLine.d.ts +13 -0
  208. package/lib/Icon/icons/DatabaseLine.js +83 -0
  209. package/lib/Icon/icons/Deleteline.d.ts +13 -0
  210. package/lib/Icon/icons/Deleteline.js +83 -0
  211. package/lib/Icon/icons/DownloadLine.d.ts +13 -0
  212. package/lib/Icon/icons/DownloadLine.js +90 -0
  213. package/lib/Icon/icons/ErrorFill.d.ts +13 -0
  214. package/lib/Icon/icons/ErrorFill.js +90 -0
  215. package/lib/Icon/icons/EyeOffLine.d.ts +13 -0
  216. package/lib/Icon/icons/EyeOffLine.js +90 -0
  217. package/lib/Icon/icons/EyeOnLine.d.ts +13 -0
  218. package/lib/Icon/icons/EyeOnLine.js +83 -0
  219. package/lib/Icon/icons/FileLine.d.ts +13 -0
  220. package/lib/Icon/icons/FileLine.js +90 -0
  221. package/lib/Icon/icons/HomeFill.d.ts +13 -0
  222. package/lib/Icon/icons/HomeFill.js +90 -0
  223. package/lib/Icon/icons/IconBase.withSpan.tpl +58 -0
  224. package/lib/Icon/icons/LightningLine.d.ts +13 -0
  225. package/lib/Icon/icons/LightningLine.js +83 -0
  226. package/lib/Icon/icons/Loading.d.ts +13 -0
  227. package/lib/Icon/icons/Loading.js +83 -0
  228. package/lib/Icon/icons/More.d.ts +13 -0
  229. package/lib/Icon/icons/More.js +83 -0
  230. package/lib/Icon/icons/NewWindowsLine.d.ts +13 -0
  231. package/lib/Icon/icons/NewWindowsLine.js +91 -0
  232. package/lib/Icon/icons/SearchLine.d.ts +13 -0
  233. package/lib/Icon/icons/SearchLine.js +90 -0
  234. package/lib/Icon/icons/SortAscendingLine.d.ts +13 -0
  235. package/lib/Icon/icons/SortAscendingLine.js +83 -0
  236. package/lib/Icon/icons/SortDescendingLine.d.ts +13 -0
  237. package/lib/Icon/icons/SortDescendingLine.js +83 -0
  238. package/lib/Icon/icons/TextLine.d.ts +13 -0
  239. package/lib/Icon/icons/TextLine.js +90 -0
  240. package/lib/Icon/icons/UserLine.d.ts +13 -0
  241. package/lib/Icon/icons/UserLine.js +90 -0
  242. package/lib/Icon/icons/style.css +9 -0
  243. package/lib/Icon/icons/style.css.d.ts +10 -0
  244. package/lib/Icon/index.d.ts +2 -13
  245. package/lib/Icon/index.js +2 -59
  246. package/lib/Icon/index.less +9 -17
  247. package/lib/Icon/style/index.d.ts +1 -0
  248. package/lib/Icon/style/index.js +1 -0
  249. package/lib/Icon/style/index.less +0 -0
  250. package/lib/Input/components/Group/index.d.ts +0 -1
  251. package/lib/Input/components/Password/index.js +7 -5
  252. package/lib/Input/style/index.less +1 -1
  253. package/lib/InputNumber/index.d.ts +0 -1
  254. package/lib/InputNumber/style/index.less +88 -16
  255. package/lib/Menu/Divider.d.ts +0 -1
  256. package/lib/Menu/style/index.less +4 -3
  257. package/lib/Modal/index.js +23 -12
  258. package/lib/Modal/locale.d.ts +7 -0
  259. package/lib/Modal/locale.js +31 -0
  260. package/lib/Modal/style/index.less +3 -3
  261. package/lib/Navigator/components/Header/index.d.ts +0 -1
  262. package/lib/Navigator/components/Menu/index.d.ts +0 -1
  263. package/lib/Navigator/components/MenuItem/index.d.ts +1 -1
  264. package/lib/Navigator/index.d.ts +1 -1
  265. package/lib/Navigator/style/index.less +46 -5
  266. package/lib/Popover/index.d.ts +0 -1
  267. package/lib/Select/index.d.ts +2 -1
  268. package/lib/Select/index.js +2 -1
  269. package/lib/Select/rc-select/OptionList.js +3 -4
  270. package/lib/Select/rc-select/Selector/MultipleSelector.js +13 -3
  271. package/lib/Select/rc-select/hooks/useOptions.d.ts +1 -1
  272. package/lib/Select/style/index.d.ts +0 -1
  273. package/lib/Select/style/index.js +0 -2
  274. package/lib/Select/style/index.less +105 -10
  275. package/lib/Select/style/variables.less +20 -9
  276. package/lib/Select/style/variables.less.d.ts +4 -1
  277. package/lib/Select/utils/iconUtil.d.ts +2 -2
  278. package/lib/Select/utils/iconUtil.js +11 -14
  279. package/lib/Table/Table.d.ts +0 -1
  280. package/lib/Table/Table.js +25 -15
  281. package/lib/Table/style/index.less +7 -0
  282. package/lib/Tabs/index.d.ts +2 -1
  283. package/lib/Tabs/index.js +9 -6
  284. package/lib/Tabs/style/index.less +67 -1
  285. package/lib/index.d.ts +8 -3
  286. package/lib/index.js +38 -14
  287. package/lib/locale/default.d.ts +2 -0
  288. package/lib/locale/default.js +13 -0
  289. package/lib/locale/en_US.d.ts +3 -0
  290. package/lib/locale/en_US.js +146 -0
  291. package/lib/locale/zh_CN.d.ts +3 -2
  292. package/lib/locale/zh_CN.js +134 -2
  293. package/lib/locale-provider/LocaleReceiver.d.ts +4 -0
  294. package/lib/locale-provider/LocaleReceiver.js +23 -0
  295. package/lib/locale-provider/context.d.ts +7 -0
  296. package/lib/locale-provider/context.js +12 -0
  297. package/lib/locale-provider/default.d.ts +2 -0
  298. package/lib/locale-provider/default.js +13 -0
  299. package/lib/locale-provider/en_US.d.ts +2 -0
  300. package/lib/locale-provider/en_US.js +13 -0
  301. package/lib/locale-provider/index.d.ts +61 -0
  302. package/lib/locale-provider/index.js +116 -0
  303. package/lib/locale-provider/style/index.d.ts +1 -0
  304. package/lib/locale-provider/style/index.js +3 -0
  305. package/lib/locale-provider/style/index.less +2 -0
  306. package/lib/locale-provider/zh_CN.d.ts +2 -0
  307. package/lib/locale-provider/zh_CN.js +13 -0
  308. package/lib/{Message → message}/index.d.ts +0 -0
  309. package/lib/{Message → message}/index.js +0 -0
  310. package/lib/message/style/index.d.ts +2 -0
  311. package/lib/message/style/index.js +5 -0
  312. package/lib/message/style/index.less +1 -0
  313. package/lib/{Notification → notification}/index.d.ts +0 -0
  314. package/lib/{Notification → notification}/index.js +0 -0
  315. package/lib/notification/style/index.d.ts +2 -0
  316. package/lib/notification/style/index.js +5 -0
  317. package/lib/notification/style/index.less +1 -0
  318. package/lib/style/index.less +1 -0
  319. package/lib/style/themes/default/scrollBar.less +13 -0
  320. package/package.json +10 -8
  321. package/es/Icon/iconfont/demo.css +0 -539
  322. package/es/Icon/iconfont/demo_index.html +0 -720
  323. package/es/Icon/iconfont/iconfont.css +0 -109
  324. package/es/Icon/iconfont/iconfont.js +0 -46
  325. package/es/Icon/iconfont/iconfont.json +0 -170
  326. package/es/Icon/iconfont/iconfont.ttf +0 -0
  327. package/es/Icon/iconfont/iconfont.woff +0 -0
  328. package/es/Icon/iconfont/iconfont.woff2 +0 -0
  329. package/es/Table/components/Empty/empty-img.png +0 -0
  330. package/es/Table/components/Empty/index.d.ts +0 -4
  331. package/es/Table/components/Empty/index.js +0 -16
  332. package/es/Table/components/Empty/index.less +0 -24
  333. package/lib/Icon/iconfont/demo.css +0 -539
  334. package/lib/Icon/iconfont/demo_index.html +0 -720
  335. package/lib/Icon/iconfont/iconfont.css +0 -109
  336. package/lib/Icon/iconfont/iconfont.js +0 -48
  337. package/lib/Icon/iconfont/iconfont.json +0 -170
  338. package/lib/Icon/iconfont/iconfont.ttf +0 -0
  339. package/lib/Icon/iconfont/iconfont.woff +0 -0
  340. package/lib/Icon/iconfont/iconfont.woff2 +0 -0
  341. package/lib/Table/components/Empty/empty-img.png +0 -0
  342. package/lib/Table/components/Empty/index.d.ts +0 -4
  343. package/lib/Table/components/Empty/index.js +0 -30
  344. package/lib/Table/components/Empty/index.less +0 -24
@@ -0,0 +1,7 @@
1
+ export interface IModalLocale {
2
+ okText: string;
3
+ cancelText: string;
4
+ justOkText: string;
5
+ }
6
+ export declare function changeConfirmLocale(newLocale?: IModalLocale): void;
7
+ export declare function getConfirmLocale(): IModalLocale;
@@ -0,0 +1,20 @@
1
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
2
+
3
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
4
+
5
+ function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
6
+
7
+ import defaultLocale from '../locale/default';
8
+
9
+ var runtimeLocale = _objectSpread({}, defaultLocale.Modal);
10
+
11
+ export function changeConfirmLocale(newLocale) {
12
+ if (newLocale) {
13
+ runtimeLocale = _objectSpread(_objectSpread({}, runtimeLocale), newLocale);
14
+ } else {
15
+ runtimeLocale = _objectSpread({}, defaultLocale.Modal);
16
+ }
17
+ }
18
+ export function getConfirmLocale() {
19
+ return runtimeLocale;
20
+ }
@@ -8,8 +8,8 @@
8
8
 
9
9
  .ald-modal-close {
10
10
  position: relative;
11
- top: -4px;
12
- left: -10px;
11
+ top: 8px;
12
+ left: -16px;
13
13
  }
14
14
 
15
15
  .ant-modal-header {
@@ -105,7 +105,7 @@
105
105
  }
106
106
 
107
107
  .ant-btn-default {
108
- padding: @Button-border-padding;
108
+ padding: @Button-border-padding-middle;
109
109
  color: @Button-secondary-color;
110
110
  background-color: @Button-secondary-bgColor;
111
111
  border: 1px solid;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface IAppList {
3
2
  logoSrc: string;
4
3
  }
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { IMenuItem } from '../MenuItem';
3
2
  export type { IMenuItem } from '../MenuItem';
4
3
  interface IMenuProps {
@@ -7,7 +7,7 @@ export interface IMenuItem {
7
7
  groupTitle: string | null;
8
8
  children: IMenuItemContentProps[];
9
9
  }
10
- interface IMenuItemContentProps {
10
+ export interface IMenuItemContentProps {
11
11
  menuIcon: React.ReactNode;
12
12
  content: string | React.ReactNode;
13
13
  key: string;
@@ -47,5 +47,5 @@ export interface INavigatorProps {
47
47
  }) => void;
48
48
  }
49
49
  export type { IMenuItem } from './components/Menu';
50
- export type { ISelectedMenuInfo } from './components/MenuItem';
50
+ export type { ISelectedMenuInfo, IMenuItemContentProps } from './components/MenuItem';
51
51
  export default Navigator;
@@ -67,26 +67,46 @@
67
67
  height: 48px;
68
68
  margin-top: 12px;
69
69
  padding: 0 12px;
70
- .textStyle(@BG60, 14px, 48px, 600, normal);
70
+ .textStyle(@BG60, 14px, 48px, 400, normal);
71
71
  }
72
72
  }
73
73
 
74
74
  .ald-nav-menu-item {
75
+ position: relative;
75
76
  display: flex;
76
77
  align-items: center;
77
78
  height: 48px;
79
+ margin-bottom: 4px;
78
80
  padding: 0 12px;
79
81
  line-height: 48px;
80
82
  border-radius: 8px;
81
83
 
84
+ &::before {
85
+ position: absolute;
86
+ top: 0;
87
+ left: 0;
88
+ display: block;
89
+ width: 0%;
90
+ height: inherit;
91
+ background: @ND80;
92
+ border-radius: inherit;
93
+ content: '';
94
+ }
95
+
82
96
  &-icon {
97
+ position: relative;
98
+ z-index: 1;
99
+ display: flex;
100
+ align-items: center;
83
101
  margin-right: 12px;
84
102
  }
85
103
 
86
104
  &-content {
105
+ position: relative;
106
+ z-index: 1;
87
107
  flex: 1;
88
108
  overflow: hidden;
89
- .textStyle(@B95, 16px, 24px, 600, normal);
109
+ .textStyle(@B95, 16px, 24px, 400, normal);
90
110
 
91
111
  &-text {
92
112
  white-space: nowrap;
@@ -94,14 +114,18 @@
94
114
  }
95
115
 
96
116
  &:hover {
117
+ background-color: @ND90;
97
118
  cursor: pointer;
98
119
  }
99
120
 
100
121
  &.ald-nav-menu-item-selected {
101
- background-color: @B60;
102
-
103
122
  .ald-nav-menu-item-content {
104
- .textStyle(@ND0, 16px, 24px, 600, normal);
123
+ .textStyle(@ND0, 16px, 24px, 400, normal);
124
+ }
125
+
126
+ &::before {
127
+ animation: 0.26s linear 0s hoverBgChange;
128
+ animation-fill-mode: forwards;
105
129
  }
106
130
  }
107
131
  }
@@ -116,3 +140,20 @@
116
140
  }
117
141
  }
118
142
  }
143
+
144
+ @keyframes hoverBgChange {
145
+ 0% {
146
+ width: 0%;
147
+ background-color: @ND80;
148
+ }
149
+
150
+ 90% {
151
+ width: 100%;
152
+ background-color: @ND80;
153
+ }
154
+
155
+ 100% {
156
+ width: 100%;
157
+ background-color: @B40;
158
+ }
159
+ }
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PopoverProps } from 'antd';
3
2
  export type { PopoverProps };
4
3
  declare function Popover(props: PopoverProps): JSX.Element;
@@ -14,9 +14,10 @@ export interface LabeledValue {
14
14
  label: React.ReactNode;
15
15
  }
16
16
  export declare type SelectValue = RawValue | RawValue[] | LabeledValue | LabeledValue[] | undefined;
17
+ export declare type SelectType = SizeType | 'mini';
17
18
  export interface InternalSelectProps<ValueType = any, OptionType extends BaseOptionType | DefaultOptionType = DefaultOptionType> extends Omit<RcSelectProps<ValueType, OptionType>, 'mode'> {
18
19
  suffixIcon?: React.ReactNode;
19
- size?: SizeType;
20
+ size?: SelectType;
20
21
  disabled?: boolean;
21
22
  mode?: 'multiple' | 'tags' | 'SECRET_COMBOBOX_MODE_DO_NOT_USE';
22
23
  bordered?: boolean;
@@ -45,7 +45,8 @@ var InternalSelect = function InternalSelect(_ref, ref) {
45
45
  customDisabled = _ref.disabled,
46
46
  notFoundContent = _ref.notFoundContent,
47
47
  customStatus = _ref.status,
48
- showArrow = _ref.showArrow,
48
+ _ref$showArrow = _ref.showArrow,
49
+ showArrow = _ref$showArrow === void 0 ? true : _ref$showArrow,
49
50
  props = _objectWithoutProperties(_ref, _excluded);
50
51
 
51
52
  var _React$useContext = React.useContext(ConfigContext),
@@ -39,7 +39,7 @@ import { isPlatformMac } from './utils/platformUtil';
39
39
  import useBaseProps from './hooks/useBaseProps';
40
40
  import SelectContext from './SelectContext';
41
41
  import Checkbox from '../../Checkbox';
42
- import Icon from '../../Icon';
42
+ import CheckLine from '../../Icon/icons/CheckLine';
43
43
  import colors from '../../style/themes/default/themeColor.module.less';
44
44
 
45
45
  function isTitleType(content) {
@@ -382,10 +382,9 @@ var OptionList = function OptionList(_, ref) {
382
382
  style: style
383
383
  }), !multiple && /*#__PURE__*/React.createElement("div", {
384
384
  className: 'ald-select-single-check'
385
- }, selected && /*#__PURE__*/React.createElement(Icon, {
385
+ }, selected && /*#__PURE__*/React.createElement(CheckLine, {
386
386
  color: colors.B60,
387
- size: '1em',
388
- type: "check"
387
+ size: '1em'
389
388
  })), multiple && /*#__PURE__*/React.createElement(Checkbox, {
390
389
  className: 'ald-select-multiple-checkbox',
391
390
  checked: selected,
@@ -48,7 +48,8 @@ var SelectSelector = function SelectSelector(props) {
48
48
  removeIcon = props.removeIcon,
49
49
  _props$maxTagCount = props.maxTagCount,
50
50
  maxTagCount = _props$maxTagCount === void 0 ? "responsive" : _props$maxTagCount,
51
- maxTagTextLength = props.maxTagTextLength,
51
+ _props$maxTagTextLeng = props.maxTagTextLength,
52
+ maxTagTextLength = _props$maxTagTextLeng === void 0 ? 10 : _props$maxTagTextLeng,
52
53
  _props$maxTagPlacehol = props.maxTagPlaceholder,
53
54
  maxTagPlaceholder = _props$maxTagPlacehol === void 0 ? function (omittedValues) {
54
55
  return "\u7B49".concat(omittedValues.length, "\u9879");
@@ -160,6 +161,15 @@ var SelectSelector = function SelectSelector(props) {
160
161
  }
161
162
 
162
163
  function renderRest(omittedValues) {
164
+ if (omittedValues.length === values.length && omittedValues.length) {
165
+ var length = values.length;
166
+
167
+ var _content = "\u5DF2\u9009".concat(length, "\u9879");
168
+
169
+ return defaultRenderSelector(_content, _content, false);
170
+ ;
171
+ }
172
+
163
173
  var content = typeof maxTagPlaceholder === 'function' ? maxTagPlaceholder(omittedValues) : maxTagPlaceholder;
164
174
  return defaultRenderSelector(content, content, false);
165
175
  } // >>> Input Node
@@ -215,7 +225,7 @@ var SelectSelector = function SelectSelector(props) {
215
225
  React.useEffect(function () {
216
226
  var prefixEl = prefixRef.current;
217
227
  var size = ['large', 'small', 'mini'].includes(props.size) ? props.size.toUpperCase() : 'MIDDLE';
218
- var selectorPaddingLeft = parseInt(SelectStyle["SELECTOR_PADDING_LEFT"]);
228
+ var selectorPaddingLeft = parseInt(SelectStyle["SELECTOR_PADDING_HORIZONTAL_".concat(size)]);
219
229
 
220
230
  if (prefixEl) {
221
231
  var prefixOffsetWidth = prefixEl.offsetWidth;
@@ -224,7 +234,7 @@ var SelectSelector = function SelectSelector(props) {
224
234
  }
225
235
 
226
236
  return setPlaceholderLeft(selectorPaddingLeft);
227
- }, []);
237
+ }, [values]);
228
238
  return /*#__PURE__*/React.createElement(React.Fragment, null, selectionNode, !values.length && !inputValue && /*#__PURE__*/React.createElement("span", {
229
239
  className: classNames("".concat(selectionPrefixCls, "-placeholder"), 'ald-select-selection-placeholder', _defineProperty({}, "ald-select-selection-placeholder-prefix", prefix)),
230
240
  style: {
@@ -6,6 +6,6 @@ import type { FieldNames } from '../Select';
6
6
  */
7
7
  export default function useOptions<OptionType>(options: OptionType[], children: React.ReactNode, fieldNames: FieldNames, optionFilterProp: string, optionLabelProp: string): {
8
8
  options: OptionType[];
9
- valueOptions: Map<React.ReactText, OptionType>;
9
+ valueOptions: Map<string | number, OptionType>;
10
10
  labelOptions: Map<React.ReactNode, OptionType>;
11
11
  };
@@ -1,4 +1,3 @@
1
- import 'antd/lib/style/index.less';
2
1
  import '../../Empty/style';
3
2
  import '../../style';
4
3
  import './index.less';
@@ -1,4 +1,3 @@
1
- import 'antd/lib/style/index.less';
2
1
  import '../../Empty/style';
3
2
  import '../../style';
4
3
  import './index.less'; // style dependencies
@@ -4,6 +4,7 @@
4
4
 
5
5
  .ald-select {
6
6
  .ant-select-selector:not(.ant-select-customize-input) {
7
+ background-color: @selector-bgColor-default;
7
8
  border-color: @selector-borderColor-default;
8
9
 
9
10
  .ald-select-selector-prefix {
@@ -22,6 +23,7 @@
22
23
  }
23
24
 
24
25
  &.ant-select-disabled .ant-select-selector:not(.ant-select-customize-input) {
26
+ background-color: @selector-bgColor-disabled;
25
27
  border-color: @selector-borderColor-disabled;
26
28
  cursor: initial;
27
29
 
@@ -44,11 +46,19 @@
44
46
  }
45
47
  }
46
48
 
49
+ &.ant-select-multiple.ant-select-disabled.ant-select:not(.ant-select-customize-input) {
50
+ .ant-select-selector {
51
+ background-color: @selector-bgColor-disabled;
52
+ border-color: @selector-borderColor-disabled;
53
+ cursor: initial;
54
+ }
55
+ }
56
+
47
57
  &:not(.ant-select-disabled):hover,
48
58
  &.ant-select.ant-select-focused:not(.ant-select-disabled) {
49
59
  .ant-select-selector {
50
60
  border-color: @selector-borderColor-active;
51
- box-shadow: none;
61
+ box-shadow: 0 0 0 0.5px @B60;
52
62
 
53
63
  &:focus-visible {
54
64
  outline: none;
@@ -61,7 +71,9 @@
61
71
  .ant-select-selection-placeholder {
62
72
  color: @selector-placeholderColor-active;
63
73
  }
74
+ }
64
75
 
76
+ &.ant-select-open {
65
77
  .ant-select-selection-overflow,
66
78
  .ant-select-selection-item {
67
79
  color: @selector-valueColor-active;
@@ -69,14 +81,54 @@
69
81
  border: none;
70
82
  }
71
83
  }
84
+
85
+ &:not(.ant-select-open) {
86
+ .ant-select-selector {
87
+ border-color: @selector-borderColor-default;
88
+ box-shadow: none;
89
+
90
+ &:focus-visible {
91
+ outline: none;
92
+ }
93
+
94
+ .ald-select-selector-prefix {
95
+ color: @selector-labelColor-default;
96
+ }
97
+
98
+ .ant-select-selection-placeholder {
99
+ color: @selector-placeholderColor-default;
100
+ }
101
+ }
102
+ }
103
+ }
104
+
105
+ .ant-select-clear,
106
+ .ant-select-arrow {
107
+ display: flex;
108
+ align-items: center;
109
+ justify-content: center;
110
+ color: @NL50;
111
+ font-size: inherit;
112
+ }
113
+
114
+ &.ant-select-disabled {
115
+ .ant-select-clear,
116
+ .ant-select-arrow {
117
+ display: flex;
118
+ align-items: center;
119
+ justify-content: center;
120
+ color: @NL60;
121
+ font-size: inherit;
122
+ }
72
123
  }
73
124
 
74
125
  &.ald-select-large {
126
+ font-size: @selector-fontSize-large;
127
+
75
128
  .ant-select-selector {
76
129
  align-items: center;
77
130
  height: @selector-height-large;
78
- padding: 0 @selector-paddingLeft;
79
- font-size: @selector-fontSize-large;
131
+ padding: 0 @selector-paddingHorizontal-large;
80
132
  line-height: @selector-lineHeight-large;
81
133
  border-radius: @selector-borderRadius-large;
82
134
 
@@ -91,14 +143,21 @@
91
143
  line-height: @selector-lineHeight-large;
92
144
  }
93
145
  }
146
+
147
+ &.ant-select-show-arrow {
148
+ .ant-select-selector {
149
+ padding-right: @selector-paddingHorizontal-large + @selector-fontSize-large;
150
+ }
151
+ }
94
152
  }
95
153
 
96
154
  &.ald-select-middle {
155
+ font-size: @selector-fontSize-middle;
156
+
97
157
  .ant-select-selector {
98
158
  align-items: center;
99
159
  height: @selector-height-middle;
100
- padding: 0 @selector-paddingLeft;
101
- font-size: @selector-fontSize-middle;
160
+ padding: 0 @selector-paddingHorizontal-middle;
102
161
  line-height: @selector-lineHeight-middle;
103
162
  border-radius: @selector-borderRadius-middle;
104
163
 
@@ -113,14 +172,21 @@
113
172
  line-height: @selector-lineHeight-middle;
114
173
  }
115
174
  }
175
+
176
+ &.ant-select-show-arrow {
177
+ .ant-select-selector {
178
+ padding-right: @selector-paddingHorizontal-middle + @selector-fontSize-middle;
179
+ }
180
+ }
116
181
  }
117
182
 
118
183
  &.ald-select-small {
184
+ font-size: @selector-fontSize-small;
185
+
119
186
  .ant-select-selector {
120
187
  align-items: center;
121
188
  height: @selector-height-small;
122
- padding: 0 @selector-paddingLeft;
123
- font-size: @selector-fontSize-small;
189
+ padding: 0 @selector-paddingHorizontal-small;
124
190
  line-height: @selector-lineHeight-small;
125
191
  border-radius: @selector-borderRadius-small;
126
192
 
@@ -135,14 +201,21 @@
135
201
  line-height: @selector-lineHeight-small;
136
202
  }
137
203
  }
204
+
205
+ &.ant-select-show-arrow {
206
+ .ant-select-selector {
207
+ padding-right: @selector-paddingHorizontal-small + @selector-fontSize-small;
208
+ }
209
+ }
138
210
  }
139
211
 
140
212
  &.ald-select-mini {
213
+ font-size: @selector-fontSize-mini;
214
+
141
215
  .ant-select-selector {
142
216
  align-items: center;
143
217
  height: @selector-height-mini;
144
- padding: 0 @selector-paddingLeft;
145
- font-size: @selector-fontSize-mini;
218
+ padding: 0 @selector-paddingHorizontal-mini;
146
219
  line-height: @selector-lineHeight-mini;
147
220
  border-radius: @selector-borderRadius-mini;
148
221
 
@@ -157,6 +230,12 @@
157
230
  line-height: @selector-lineHeight-mini;
158
231
  }
159
232
  }
233
+
234
+ &.ant-select-show-arrow {
235
+ .ant-select-selector {
236
+ padding-right: @selector-paddingHorizontal-mini + @selector-fontSize-mini;
237
+ }
238
+ }
160
239
  }
161
240
 
162
241
  &.ant-select-multiple {
@@ -195,6 +274,12 @@
195
274
  content: ',';
196
275
  }
197
276
  }
277
+
278
+ .ant-select-selection-search-input {
279
+ height: inherit;
280
+ line-height: inherit;
281
+ caret-color: @B60;
282
+ }
198
283
  }
199
284
 
200
285
  .ant-select-selection-overflow-item:first-of-type {
@@ -203,6 +288,10 @@
203
288
  }
204
289
  }
205
290
  }
291
+
292
+ .ant-select-selector::after {
293
+ height: 1.5715em;
294
+ }
206
295
  }
207
296
  }
208
297
 
@@ -210,9 +299,15 @@
210
299
  .ald-select-item {
211
300
  display: flex;
212
301
  align-items: center;
213
- padding: 0 4px;
302
+ margin: 0 4px;
303
+ padding: 0;
214
304
  font-size: 14px;
215
305
  background-color: @select-option-bgColor;
306
+ border-radius: 6px;
307
+
308
+ &:hover {
309
+ background-color: @select-option-bgColor-hover;
310
+ }
216
311
 
217
312
  .ald-select-single-check {
218
313
  display: flex;
@@ -1,54 +1,65 @@
1
1
  /* stylelint-disable property-no-unknown */
2
2
  @import '../../style/index.less';
3
3
 
4
- @selector-paddingLeft: 11px;
5
-
6
4
  // large size
7
5
  @selector-height-large: 40px;
8
6
  @selector-borderRadius-large: 8px;
9
7
  @selector-fontSize-large: 16px;
10
8
  @selector-lineHeight-large: 24px;
11
9
  @prefix-marginRight-large: 8px;
10
+ @selector-paddingHorizontal-large: 11px;
11
+
12
12
  // medium size
13
13
  @selector-height-middle: 32px;
14
14
  @selector-borderRadius-middle: 6px;
15
15
  @selector-fontSize-middle: 14px;
16
16
  @selector-lineHeight-middle: 20px;
17
- @prefix-marginRight-middle: 4px;
17
+ @prefix-marginRight-middle: 8px;
18
+ @selector-paddingHorizontal-middle: 11px;
19
+
18
20
  // small size
19
21
  @selector-height-small: 28px;
20
22
  @selector-borderRadius-small: 4px;
21
23
  @selector-fontSize-small: 12px;
22
24
  @selector-lineHeight-small: 16px;
23
25
  @prefix-marginRight-small: 4px;
26
+ @selector-paddingHorizontal-small: 7px;
24
27
  // mini size
25
28
  @selector-height-mini: 24px;
26
29
  @selector-borderRadius-mini: 4px;
27
30
  @selector-fontSize-mini: 12px;
28
31
  @selector-lineHeight-mini: 16px;
29
32
  @prefix-marginRight-mini: 4px;
33
+ @selector-paddingHorizontal-mini: 7px;
30
34
 
31
35
  //default status
32
36
  @selector-borderColor-default: @NL90;
33
- @selector-placeholderColor-default: @NL70;
37
+ @selector-placeholderColor-default: @NL80;
34
38
  @selector-valueColor-default: @NL0;
35
39
  @selector-labelColor-default: @NL50;
40
+ @selector-bgColor-default: @BG97;
36
41
  //active status
37
42
  @selector-borderColor-active: @B60;
38
- @selector-placeholderColor-active: @NL70;
43
+ @selector-placeholderColor-active: @NL80;
39
44
  @selector-valueColor-active: @NL50;
40
45
  @selector-labelColor-active: @NL50;
46
+ @selector-bgColor-active: @BG97;
41
47
  //disable status
42
48
  @selector-borderColor-disabled: @NL90;
43
- @selector-placeholderColor-disabled: @NL70;
44
- @selector-valueColor-disabled: @NL50;
45
- @selector-labelColor-disabled: @NL50;
49
+ @selector-placeholderColor-disabled: @NL80;
50
+ @selector-valueColor-disabled: @NL60;
51
+ @selector-labelColor-disabled: @NL60;
52
+ @selector-bgColor-disabled: @BG95;
46
53
  //-----option
47
54
  @select-option-bgColor: @BG100;
48
55
  @select-option-color: @NL0;
56
+ @select-option-bgColor-hover: @NL97;
49
57
 
50
58
  :export {
51
- SELECTOR_PADDING_LEFT: @selector-paddingLeft;
59
+ SELECTOR_PADDING_HORIZONTAL_LARGE: @selector-paddingHorizontal-large;
60
+ SELECTOR_PADDING_HORIZONTAL_MIDDLE: @selector-paddingHorizontal-middle;
61
+ SELECTOR_PADDING_HORIZONTAL_SMALL: @selector-paddingHorizontal-small;
62
+ SELECTOR_PADDING_HORIZONTAL_MINI: @selector-paddingHorizontal-mini;
52
63
  PREFIX_MARGIN_RIGHT_LARGE: @prefix-marginRight-large;
53
64
  PREFIX_MARGIN_RIGHT_MIDDLE: @prefix-marginRight-middle;
54
65
  PREFIX_MARGIN_RIGHT_SMALL: @prefix-marginRight-small;
@@ -89,7 +89,10 @@ interface CssExports {
89
89
  'SC90': string;
90
90
  'SC95': string;
91
91
  'SC98': string;
92
- 'SELECTOR_PADDING_LEFT': string;
92
+ 'SELECTOR_PADDING_HORIZONTAL_LARGE': string;
93
+ 'SELECTOR_PADDING_HORIZONTAL_MIDDLE': string;
94
+ 'SELECTOR_PADDING_HORIZONTAL_MINI': string;
95
+ 'SELECTOR_PADDING_HORIZONTAL_SMALL': string;
93
96
  'SHADOW_L': string;
94
97
  'WHITE': string;
95
98
  }
@@ -18,7 +18,7 @@ export default function getIcons({ suffixIcon, clearIcon, menuItemSelectedIcon,
18
18
  open: boolean;
19
19
  showSearch: boolean;
20
20
  }) => JSX.Element);
21
- itemIcon: {} | null;
22
- removeIcon: {} | null;
21
+ itemIcon: number | boolean | JSX.Element | React.ReactFragment | ((props: any) => React.ReactNode) | null;
22
+ removeIcon: number | boolean | JSX.Element | React.ReactFragment | ((props: any) => React.ReactNode) | null;
23
23
  };
24
24
  export {};
@@ -1,10 +1,10 @@
1
1
  import * as React from 'react';
2
- import DownOutlined from '@ant-design/icons/DownOutlined';
3
2
  import LoadingOutlined from '@ant-design/icons/LoadingOutlined';
4
3
  import CheckOutlined from '@ant-design/icons/CheckOutlined';
5
4
  import CloseCircleFilled from '@ant-design/icons/CloseCircleFilled';
6
- import SearchOutlined from '@ant-design/icons/SearchOutlined';
7
- import Icon from '../../Icon';
5
+ import CancelFill from '../../Icon/icons/CancelFill';
6
+ import Color from '../../style/themes/default/themeColor.module.less';
7
+ import ArrowsDownLine from '../../Icon/icons/ArrowsDownLine';
8
8
  export default function getIcons(_ref) {
9
9
  var suffixIcon = _ref.suffixIcon,
10
10
  clearIcon = _ref.clearIcon,
@@ -43,14 +43,11 @@ export default function getIcons(_ref) {
43
43
  mergedSuffixIcon = function mergedSuffixIcon(_ref2) {
44
44
  var open = _ref2.open,
45
45
  showSearch = _ref2.showSearch;
46
-
47
- if (open && showSearch) {
48
- return getSuffixIconNode( /*#__PURE__*/React.createElement(SearchOutlined, {
49
- className: iconCls
50
- }));
51
- }
52
-
53
- return getSuffixIconNode( /*#__PURE__*/React.createElement(DownOutlined, {
46
+ // if (open && showSearch) {
47
+ // return getSuffixIconNode(<SearchOutlined className={iconCls} />);
48
+ // }
49
+ return getSuffixIconNode( /*#__PURE__*/React.createElement(ArrowsDownLine, {
50
+ color: Color.NL50,
54
51
  className: iconCls
55
52
  }));
56
53
  };
@@ -72,8 +69,8 @@ export default function getIcons(_ref) {
72
69
  if (removeIcon !== undefined) {
73
70
  mergedRemoveIcon = removeIcon;
74
71
  } else {
75
- mergedRemoveIcon = /*#__PURE__*/React.createElement(Icon, {
76
- type: 'close',
72
+ mergedRemoveIcon = /*#__PURE__*/React.createElement(CancelFill, {
73
+ color: Color.NL50,
77
74
  size: '1em'
78
75
  });
79
76
  }
@@ -1,6 +1,5 @@
1
1
  import React, { ReactElement } from 'react';
2
2
  import { ITableProps } from './interface';
3
- import './style/index';
4
3
  declare function Table<RecordType extends object = any>(props: ITableProps<RecordType>, ref?: React.Ref<unknown>): ReactElement;
5
4
  declare const _default: typeof Table;
6
5
  export default _default;