@kdcloudjs/kdesign 1.0.2 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (452) hide show
  1. package/LICENSE +104 -105
  2. package/dist/default-theme.js +17 -12
  3. package/dist/kdesign-complete.less +3334 -1374
  4. package/dist/kdesign.css +2565 -1931
  5. package/dist/kdesign.css.map +1 -1
  6. package/dist/kdesign.js +783 -112
  7. package/dist/kdesign.js.map +1 -1
  8. package/dist/kdesign.min.css +4 -4
  9. package/dist/kdesign.min.js +6 -6
  10. package/dist/kdesign.min.js.map +1 -1
  11. package/es/alert/style/index.css +32 -30
  12. package/es/alert/style/index.less +36 -37
  13. package/es/alert/style/token.less +29 -0
  14. package/es/anchor/style/index.css +48 -34
  15. package/es/anchor/style/index.less +19 -16
  16. package/es/anchor/style/mixin.less +1 -0
  17. package/es/anchor/style/token.less +33 -0
  18. package/es/avatar/style/index.css +18 -18
  19. package/es/avatar/style/index.less +4 -25
  20. package/es/avatar/style/mixin.less +21 -4
  21. package/es/avatar/style/token.less +20 -0
  22. package/es/badge/style/index.css +38 -29
  23. package/es/badge/style/index.less +28 -30
  24. package/es/badge/style/mixin.less +1 -5
  25. package/es/badge/style/token.less +23 -0
  26. package/es/base-data/style/index.css +25 -16
  27. package/es/base-data/style/index.less +17 -17
  28. package/es/base-data/style/token.less +27 -0
  29. package/es/button/button.d.ts +1 -3
  30. package/es/button/button.js +3 -15
  31. package/es/button/style/index.css +80 -81
  32. package/es/button/style/index.less +43 -51
  33. package/es/button/style/mixin.less +6 -4
  34. package/es/button/style/token.less +88 -0
  35. package/es/card/card.d.ts +1 -0
  36. package/es/card/card.js +4 -1
  37. package/es/card/style/index.css +48 -23
  38. package/es/card/style/index.less +43 -23
  39. package/es/card/style/token.less +28 -0
  40. package/es/carousel/style/index.css +36 -30
  41. package/es/carousel/style/index.less +14 -6
  42. package/es/carousel/style/mixin.less +1 -4
  43. package/es/carousel/style/token.less +20 -0
  44. package/es/cascader/cascader.js +1 -1
  45. package/es/cascader/style/index.css +35 -26
  46. package/es/cascader/style/index.less +24 -23
  47. package/es/cascader/style/token.less +28 -0
  48. package/es/checkbox/style/index.css +86 -80
  49. package/es/checkbox/style/index.less +26 -27
  50. package/es/checkbox/style/token.less +48 -0
  51. package/es/city-picker/style/index.css +24 -14
  52. package/es/city-picker/style/index.less +16 -16
  53. package/es/city-picker/style/token.less +25 -0
  54. package/es/collapse/style/index.css +37 -26
  55. package/es/collapse/style/index.less +7 -5
  56. package/es/collapse/style/mixin.less +1 -5
  57. package/es/collapse/style/token.less +26 -0
  58. package/es/config-provider/compDefaultProps.d.ts +4 -1
  59. package/es/config-provider/compDefaultProps.js +5 -2
  60. package/es/date-picker/style/index.css +81 -72
  61. package/es/date-picker/style/index.less +36 -36
  62. package/es/date-picker/style/mixin.less +20 -18
  63. package/es/date-picker/style/token.less +71 -0
  64. package/es/drawer/drawer.d.ts +0 -1
  65. package/es/drawer/drawer.js +6 -26
  66. package/es/drawer/style/index.css +37 -31
  67. package/es/drawer/style/index.less +24 -39
  68. package/es/drawer/style/token.less +23 -0
  69. package/es/dropdown/dropdown.d.ts +1 -0
  70. package/es/dropdown/dropdown.js +13 -8
  71. package/es/dropdown/menu.d.ts +1 -1
  72. package/es/dropdown/menu.js +3 -3
  73. package/es/dropdown/style/index.css +57 -48
  74. package/es/dropdown/style/index.less +27 -24
  75. package/es/dropdown/style/token.less +26 -0
  76. package/es/empty/defaultEmptyImg.d.ts +2 -0
  77. package/es/empty/defaultEmptyImg.js +92 -0
  78. package/es/empty/empty.d.ts +5 -1
  79. package/es/empty/empty.js +10 -9
  80. package/es/empty/illustrationEmptyImg.d.ts +2 -0
  81. package/es/empty/illustrationEmptyImg.js +439 -0
  82. package/es/empty/style/index.css +12 -3
  83. package/es/empty/style/index.less +1 -1
  84. package/es/empty/style/token.less +12 -0
  85. package/es/filter/style/index.css +44 -32
  86. package/es/filter/style/index.less +34 -32
  87. package/es/filter/style/token.less +28 -0
  88. package/es/form/style/index.css +19 -10
  89. package/es/form/style/index.less +9 -6
  90. package/es/form/style/token.less +27 -0
  91. package/es/grid/style/index.css +9 -0
  92. package/es/image/style/index.css +32 -23
  93. package/es/image/style/index.less +23 -22
  94. package/es/image/style/token.less +45 -0
  95. package/es/image-cropper/style/index.css +9 -0
  96. package/es/image-cropper/style/index.less +1 -1
  97. package/es/index.d.ts +1 -0
  98. package/es/index.js +2 -1
  99. package/es/input/style/index.css +97 -88
  100. package/es/input/style/index.less +34 -31
  101. package/es/input/style/mixin.less +54 -47
  102. package/es/input/style/token.less +46 -0
  103. package/es/input-number/style/css.js +1 -0
  104. package/es/input-number/style/index.css +25 -16
  105. package/es/input-number/style/index.d.ts +1 -0
  106. package/es/input-number/style/index.js +1 -0
  107. package/es/input-number/style/index.less +12 -12
  108. package/es/input-number/style/mixin.less +4 -2
  109. package/es/input-number/style/token.less +20 -0
  110. package/es/layout/style/index.css +41 -32
  111. package/es/layout/style/index.less +9 -8
  112. package/es/layout/style/token.less +30 -0
  113. package/es/link/index.d.ts +3 -0
  114. package/es/link/index.js +3 -0
  115. package/es/link/link.d.ts +18 -0
  116. package/es/link/link.js +89 -0
  117. package/es/link/style/css.js +2 -0
  118. package/es/link/style/index.css +155 -0
  119. package/es/link/style/index.d.ts +2 -0
  120. package/es/link/style/index.js +2 -0
  121. package/es/link/style/index.less +61 -0
  122. package/es/link/style/mixin.less +7 -0
  123. package/es/link/style/token.less +24 -0
  124. package/es/menu/menuItem.js +1 -2
  125. package/es/menu/style/index.css +89 -80
  126. package/es/menu/style/index.less +51 -26
  127. package/es/menu/style/mixin.less +16 -19
  128. package/es/menu/style/token.less +32 -0
  129. package/es/message/style/index.css +23 -13
  130. package/es/message/style/index.less +15 -13
  131. package/es/message/style/token.less +21 -0
  132. package/es/modal/style/index.css +37 -28
  133. package/es/modal/style/index.less +16 -26
  134. package/es/modal/style/mixin.less +2 -0
  135. package/es/modal/style/token.less +46 -0
  136. package/es/notification/content.js +1 -1
  137. package/es/notification/style/index.css +34 -25
  138. package/es/notification/style/index.less +21 -20
  139. package/es/notification/style/token.less +28 -0
  140. package/es/pagination/pagination.js +2 -2
  141. package/es/pagination/style/index.css +159 -159
  142. package/es/pagination/style/index.less +104 -113
  143. package/es/pagination/style/token.less +28 -0
  144. package/es/popconfirm/style/index.css +54 -33
  145. package/es/popconfirm/style/index.less +41 -20
  146. package/es/popconfirm/style/token.less +28 -0
  147. package/es/progress/style/index.css +41 -27
  148. package/es/progress/style/index.less +24 -8
  149. package/es/progress/style/mixin.less +2 -1
  150. package/es/progress/style/token.less +40 -0
  151. package/es/radio/style/index.css +91 -76
  152. package/es/radio/style/index.less +76 -64
  153. package/es/radio/style/token.less +47 -0
  154. package/es/rate/style/index.css +26 -17
  155. package/es/rate/style/index.less +4 -3
  156. package/es/rate/style/token.less +18 -0
  157. package/es/search/style/index.css +103 -82
  158. package/es/search/style/index.less +49 -35
  159. package/es/search/style/mixin.less +4 -2
  160. package/es/search/style/token.less +60 -0
  161. package/es/select/select.js +3 -14
  162. package/es/select/style/index.css +46 -37
  163. package/es/select/style/index.less +10 -10
  164. package/es/select/style/mixin.less +4 -7
  165. package/es/select/style/token.less +43 -0
  166. package/es/slider/slider.js +5 -13
  167. package/es/slider/sliderTooltip.js +0 -1
  168. package/es/slider/style/index.css +21 -12
  169. package/es/slider/style/index.less +10 -10
  170. package/es/slider/style/mixin.less +3 -1
  171. package/es/slider/style/token.less +17 -0
  172. package/es/space/style/index.css +9 -0
  173. package/es/spin/style/index.css +23 -14
  174. package/es/spin/style/index.less +3 -2
  175. package/es/spin/style/mixin.less +1 -0
  176. package/es/spin/style/token.less +15 -0
  177. package/es/split-panel/style/index.css +35 -44
  178. package/es/split-panel/style/index.less +16 -34
  179. package/es/split-panel/style/token.less +23 -0
  180. package/es/stepper/style/index.css +50 -25
  181. package/es/stepper/style/index.less +45 -11
  182. package/es/stepper/style/mixin.less +7 -5
  183. package/es/stepper/style/token.less +28 -0
  184. package/es/steps/Steps.js +4 -1
  185. package/es/steps/style/index.css +74 -37
  186. package/es/steps/style/index.less +281 -189
  187. package/es/steps/style/token.less +31 -0
  188. package/es/style/mixins/index.less +10 -9
  189. package/es/style/mixins/overlay.less +2 -2
  190. package/es/style/themes/default.less +22 -12
  191. package/es/style/themes/token.less +128 -0
  192. package/es/switch/style/index.css +38 -29
  193. package/es/switch/style/index.less +17 -6
  194. package/es/switch/style/mixin.less +6 -5
  195. package/es/switch/style/token.less +45 -0
  196. package/es/tabs/style/index.css +59 -50
  197. package/es/tabs/style/index.less +3 -3
  198. package/es/tabs/style/mixin.less +2 -0
  199. package/es/tabs/style/token.less +32 -0
  200. package/es/tabs/tabs.js +3 -1
  201. package/es/tag/style/index.css +122 -113
  202. package/es/tag/style/index.less +19 -19
  203. package/es/tag/style/mixin.less +2 -1
  204. package/es/tag/style/token.less +42 -0
  205. package/es/timeline/style/index.css +40 -30
  206. package/es/timeline/style/index.less +33 -30
  207. package/es/timeline/style/token.less +45 -0
  208. package/es/tooltip/style/index.css +26 -17
  209. package/es/tooltip/style/index.less +6 -5
  210. package/es/tooltip/style/token.less +20 -0
  211. package/es/transfer/operation.js +2 -2
  212. package/es/transfer/style/index.css +37 -24
  213. package/es/transfer/style/index.less +4 -0
  214. package/es/transfer/style/mixins.less +2 -0
  215. package/es/transfer/style/token.less +29 -0
  216. package/es/tree/style/index.css +37 -37
  217. package/es/tree/style/index.less +8 -20
  218. package/es/tree/style/mixin.less +1 -5
  219. package/es/tree/style/token.less +27 -0
  220. package/es/typography/style/index.css +46 -53
  221. package/es/typography/style/index.less +15 -15
  222. package/es/typography/style/mixin.less +9 -11
  223. package/es/typography/style/token.less +38 -0
  224. package/es/upload/style/index.css +41 -31
  225. package/es/upload/style/index.less +27 -25
  226. package/es/upload/style/token.less +28 -0
  227. package/lib/alert/style/index.css +32 -30
  228. package/lib/alert/style/index.less +36 -37
  229. package/lib/alert/style/token.less +29 -0
  230. package/lib/anchor/style/index.css +48 -34
  231. package/lib/anchor/style/index.less +19 -16
  232. package/lib/anchor/style/mixin.less +1 -0
  233. package/lib/anchor/style/token.less +33 -0
  234. package/lib/avatar/style/index.css +18 -18
  235. package/lib/avatar/style/index.less +4 -25
  236. package/lib/avatar/style/mixin.less +21 -4
  237. package/lib/avatar/style/token.less +20 -0
  238. package/lib/badge/style/index.css +38 -29
  239. package/lib/badge/style/index.less +28 -30
  240. package/lib/badge/style/mixin.less +1 -5
  241. package/lib/badge/style/token.less +23 -0
  242. package/lib/base-data/style/index.css +25 -16
  243. package/lib/base-data/style/index.less +17 -17
  244. package/lib/base-data/style/token.less +27 -0
  245. package/lib/button/button.d.ts +1 -3
  246. package/lib/button/button.js +3 -15
  247. package/lib/button/style/index.css +80 -81
  248. package/lib/button/style/index.less +43 -51
  249. package/lib/button/style/mixin.less +6 -4
  250. package/lib/button/style/token.less +88 -0
  251. package/lib/card/card.d.ts +1 -0
  252. package/lib/card/card.js +4 -1
  253. package/lib/card/style/index.css +48 -23
  254. package/lib/card/style/index.less +43 -23
  255. package/lib/card/style/token.less +28 -0
  256. package/lib/carousel/style/index.css +36 -30
  257. package/lib/carousel/style/index.less +14 -6
  258. package/lib/carousel/style/mixin.less +1 -4
  259. package/lib/carousel/style/token.less +20 -0
  260. package/lib/cascader/cascader.js +1 -1
  261. package/lib/cascader/style/index.css +35 -26
  262. package/lib/cascader/style/index.less +24 -23
  263. package/lib/cascader/style/token.less +28 -0
  264. package/lib/checkbox/style/index.css +86 -80
  265. package/lib/checkbox/style/index.less +26 -27
  266. package/lib/checkbox/style/token.less +48 -0
  267. package/lib/city-picker/style/index.css +24 -14
  268. package/lib/city-picker/style/index.less +16 -16
  269. package/lib/city-picker/style/token.less +25 -0
  270. package/lib/collapse/style/index.css +37 -26
  271. package/lib/collapse/style/index.less +7 -5
  272. package/lib/collapse/style/mixin.less +1 -5
  273. package/lib/collapse/style/token.less +26 -0
  274. package/lib/config-provider/compDefaultProps.d.ts +4 -1
  275. package/lib/config-provider/compDefaultProps.js +5 -2
  276. package/lib/date-picker/style/index.css +81 -72
  277. package/lib/date-picker/style/index.less +36 -36
  278. package/lib/date-picker/style/mixin.less +20 -18
  279. package/lib/date-picker/style/token.less +71 -0
  280. package/lib/drawer/drawer.d.ts +0 -1
  281. package/lib/drawer/drawer.js +6 -26
  282. package/lib/drawer/style/index.css +37 -31
  283. package/lib/drawer/style/index.less +24 -39
  284. package/lib/drawer/style/token.less +23 -0
  285. package/lib/dropdown/dropdown.d.ts +1 -0
  286. package/lib/dropdown/dropdown.js +13 -8
  287. package/lib/dropdown/menu.d.ts +1 -1
  288. package/lib/dropdown/menu.js +3 -3
  289. package/lib/dropdown/style/index.css +57 -48
  290. package/lib/dropdown/style/index.less +27 -24
  291. package/lib/dropdown/style/token.less +26 -0
  292. package/lib/empty/defaultEmptyImg.d.ts +2 -0
  293. package/lib/empty/defaultEmptyImg.js +113 -0
  294. package/lib/empty/empty.d.ts +5 -1
  295. package/lib/empty/empty.js +13 -9
  296. package/lib/empty/illustrationEmptyImg.d.ts +2 -0
  297. package/lib/empty/illustrationEmptyImg.js +460 -0
  298. package/lib/empty/style/index.css +12 -3
  299. package/lib/empty/style/index.less +1 -1
  300. package/lib/empty/style/token.less +12 -0
  301. package/lib/filter/style/index.css +44 -32
  302. package/lib/filter/style/index.less +34 -32
  303. package/lib/filter/style/token.less +28 -0
  304. package/lib/form/style/index.css +19 -10
  305. package/lib/form/style/index.less +9 -6
  306. package/lib/form/style/token.less +27 -0
  307. package/lib/grid/style/index.css +9 -0
  308. package/lib/image/style/index.css +32 -23
  309. package/lib/image/style/index.less +23 -22
  310. package/lib/image/style/token.less +45 -0
  311. package/lib/image-cropper/style/index.css +9 -0
  312. package/lib/image-cropper/style/index.less +1 -1
  313. package/lib/index.d.ts +1 -0
  314. package/lib/index.js +8 -0
  315. package/lib/input/style/index.css +97 -88
  316. package/lib/input/style/index.less +34 -31
  317. package/lib/input/style/mixin.less +54 -47
  318. package/lib/input/style/token.less +46 -0
  319. package/lib/input-number/style/css.js +2 -0
  320. package/lib/input-number/style/index.css +25 -16
  321. package/lib/input-number/style/index.d.ts +1 -0
  322. package/lib/input-number/style/index.js +2 -0
  323. package/lib/input-number/style/index.less +12 -12
  324. package/lib/input-number/style/mixin.less +4 -2
  325. package/lib/input-number/style/token.less +20 -0
  326. package/lib/layout/style/index.css +41 -32
  327. package/lib/layout/style/index.less +9 -8
  328. package/lib/layout/style/token.less +30 -0
  329. package/lib/link/index.d.ts +3 -0
  330. package/lib/link/index.js +36 -0
  331. package/lib/link/link.d.ts +18 -0
  332. package/lib/link/link.js +120 -0
  333. package/lib/link/style/css.js +5 -0
  334. package/lib/link/style/index.css +155 -0
  335. package/lib/link/style/index.d.ts +2 -0
  336. package/lib/link/style/index.js +5 -0
  337. package/lib/link/style/index.less +61 -0
  338. package/lib/link/style/mixin.less +7 -0
  339. package/lib/link/style/token.less +24 -0
  340. package/lib/menu/menuItem.js +1 -2
  341. package/lib/menu/style/index.css +89 -80
  342. package/lib/menu/style/index.less +51 -26
  343. package/lib/menu/style/mixin.less +16 -19
  344. package/lib/menu/style/token.less +32 -0
  345. package/lib/message/style/index.css +23 -13
  346. package/lib/message/style/index.less +15 -13
  347. package/lib/message/style/token.less +21 -0
  348. package/lib/modal/style/index.css +37 -28
  349. package/lib/modal/style/index.less +16 -26
  350. package/lib/modal/style/mixin.less +2 -0
  351. package/lib/modal/style/token.less +46 -0
  352. package/lib/notification/content.js +1 -1
  353. package/lib/notification/style/index.css +34 -25
  354. package/lib/notification/style/index.less +21 -20
  355. package/lib/notification/style/token.less +28 -0
  356. package/lib/pagination/pagination.js +2 -2
  357. package/lib/pagination/style/index.css +159 -159
  358. package/lib/pagination/style/index.less +104 -113
  359. package/lib/pagination/style/token.less +28 -0
  360. package/lib/popconfirm/style/index.css +54 -33
  361. package/lib/popconfirm/style/index.less +41 -20
  362. package/lib/popconfirm/style/token.less +28 -0
  363. package/lib/progress/style/index.css +41 -27
  364. package/lib/progress/style/index.less +24 -8
  365. package/lib/progress/style/mixin.less +2 -1
  366. package/lib/progress/style/token.less +40 -0
  367. package/lib/radio/style/index.css +91 -76
  368. package/lib/radio/style/index.less +76 -64
  369. package/lib/radio/style/token.less +47 -0
  370. package/lib/rate/style/index.css +26 -17
  371. package/lib/rate/style/index.less +4 -3
  372. package/lib/rate/style/token.less +18 -0
  373. package/lib/search/style/index.css +103 -82
  374. package/lib/search/style/index.less +49 -35
  375. package/lib/search/style/mixin.less +4 -2
  376. package/lib/search/style/token.less +60 -0
  377. package/lib/select/select.js +3 -14
  378. package/lib/select/style/index.css +46 -37
  379. package/lib/select/style/index.less +10 -10
  380. package/lib/select/style/mixin.less +4 -7
  381. package/lib/select/style/token.less +43 -0
  382. package/lib/slider/slider.js +5 -13
  383. package/lib/slider/sliderTooltip.js +0 -1
  384. package/lib/slider/style/index.css +21 -12
  385. package/lib/slider/style/index.less +10 -10
  386. package/lib/slider/style/mixin.less +3 -1
  387. package/lib/slider/style/token.less +17 -0
  388. package/lib/space/style/index.css +9 -0
  389. package/lib/spin/style/index.css +23 -14
  390. package/lib/spin/style/index.less +3 -2
  391. package/lib/spin/style/mixin.less +1 -0
  392. package/lib/spin/style/token.less +15 -0
  393. package/lib/split-panel/style/index.css +35 -44
  394. package/lib/split-panel/style/index.less +16 -34
  395. package/lib/split-panel/style/token.less +23 -0
  396. package/lib/stepper/style/index.css +50 -25
  397. package/lib/stepper/style/index.less +45 -11
  398. package/lib/stepper/style/mixin.less +7 -5
  399. package/lib/stepper/style/token.less +28 -0
  400. package/lib/steps/Steps.js +4 -1
  401. package/lib/steps/style/index.css +74 -37
  402. package/lib/steps/style/index.less +281 -189
  403. package/lib/steps/style/token.less +31 -0
  404. package/lib/style/components.less +1 -0
  405. package/lib/style/mixins/index.less +10 -9
  406. package/lib/style/mixins/overlay.less +2 -2
  407. package/lib/style/themes/default.less +22 -12
  408. package/lib/style/themes/token.less +128 -0
  409. package/lib/switch/style/index.css +38 -29
  410. package/lib/switch/style/index.less +17 -6
  411. package/lib/switch/style/mixin.less +6 -5
  412. package/lib/switch/style/token.less +45 -0
  413. package/lib/tabs/style/index.css +59 -50
  414. package/lib/tabs/style/index.less +3 -3
  415. package/lib/tabs/style/mixin.less +2 -0
  416. package/lib/tabs/style/token.less +32 -0
  417. package/lib/tabs/tabs.js +3 -1
  418. package/lib/tag/style/index.css +122 -113
  419. package/lib/tag/style/index.less +19 -19
  420. package/lib/tag/style/mixin.less +2 -1
  421. package/lib/tag/style/token.less +42 -0
  422. package/lib/timeline/style/index.css +40 -30
  423. package/lib/timeline/style/index.less +33 -30
  424. package/lib/timeline/style/token.less +45 -0
  425. package/lib/tooltip/style/index.css +26 -17
  426. package/lib/tooltip/style/index.less +6 -5
  427. package/lib/tooltip/style/token.less +20 -0
  428. package/lib/transfer/operation.js +2 -2
  429. package/lib/transfer/style/index.css +37 -24
  430. package/lib/transfer/style/index.less +4 -0
  431. package/lib/transfer/style/mixins.less +2 -0
  432. package/lib/transfer/style/token.less +29 -0
  433. package/lib/tree/style/index.css +37 -37
  434. package/lib/tree/style/index.less +8 -20
  435. package/lib/tree/style/mixin.less +1 -5
  436. package/lib/tree/style/token.less +27 -0
  437. package/lib/typography/style/index.css +46 -53
  438. package/lib/typography/style/index.less +15 -15
  439. package/lib/typography/style/mixin.less +9 -11
  440. package/lib/typography/style/token.less +38 -0
  441. package/lib/upload/style/index.css +41 -31
  442. package/lib/upload/style/index.less +27 -25
  443. package/lib/upload/style/token.less +28 -0
  444. package/package.json +5 -4
  445. package/es/base-data/style/mixin.less +0 -5
  446. package/es/empty/style/mixin.less +0 -5
  447. package/es/form/style/mixin.less +0 -5
  448. package/es/steps/style/mixin.less +0 -41
  449. package/lib/base-data/style/mixin.less +0 -5
  450. package/lib/empty/style/mixin.less +0 -5
  451. package/lib/form/style/mixin.less +0 -5
  452. package/lib/steps/style/mixin.less +0 -41
@@ -102,12 +102,11 @@ var compDefaultProps = {
102
102
  destroyOnClose: false,
103
103
  forceRender: false,
104
104
  getContainer: document.body,
105
- height: 220,
106
105
  keyboard: true,
107
106
  mask: true,
108
107
  maskClosable: true,
109
108
  placement: 'right',
110
- width: 365,
109
+ width: 320,
111
110
  zIndex: 1050
112
111
  },
113
112
  Empty: {},
@@ -406,6 +405,10 @@ var compDefaultProps = {
406
405
  size: 'middle',
407
406
  shape: 'circle',
408
407
  gap: 4
408
+ },
409
+ Link: {
410
+ size: 'middle',
411
+ underscore: false
409
412
  }
410
413
  };
411
414
  export default compDefaultProps;
@@ -92,78 +92,87 @@
92
92
  /* ----------- Avatar ——————---- end */
93
93
  /* ----------- AdvancedSelector ——————---- start */
94
94
  /* ----------- AdvancedSelector ——————---- end */
95
+ /* ----------- motion ——————---- start */
96
+ /* ----------- motion ——————---- end */
97
+ /* ----------- transition ——————---- start */
98
+ /* ----------- transition ——————---- end */
99
+ /* ----------- zIndex ——————---- start */
100
+ /*
101
+ 普通组件内部自身层级应设置在0-100间
102
+ */
103
+ /* ----------- zIndex ——————---- end */
95
104
  /* 多行显示省略号 */
96
105
  /* 单行显示省略号 */
97
106
  /** 浮层箭头样式 **/
98
107
  .kd-date-picker {
99
- width: 230px;
108
+ width: var(--kd-c-date-picker-sizing-width, 230px);
100
109
  display: -webkit-inline-box;
101
110
  display: -ms-inline-flexbox;
102
111
  display: inline-flex;
103
- border: 1px solid #d9d9d9;
104
- border-radius: 2px;
112
+ border: 1px solid var(--kd-c-date-picker-input-color-border, var(--kd-g-color-border-strong, #d9d9d9));
113
+ border-radius: var(--kd-c-date-picker-input-radius-border, var(--kd-g-radius-border, 2px));
105
114
  -webkit-box-sizing: border-box;
106
115
  box-sizing: border-box;
107
- background-color: #fff;
116
+ background-color: var(--kd-c-date-picker-input-color-background, var(--kd-g-color-white, #fff));
108
117
  }
109
118
  .kd-date-picker-small {
110
- height: 20px;
111
- line-height: 10px;
112
- font-size: 12px;
113
- padding: 4px 9px;
119
+ height: var(--kd-c-date-picker-small-sizing-height, 20px);
120
+ line-height: calc(var(--kd-c-date-picker-small-sizing-height, 20px) - (var(--kd-c-date-picker-small-spacing-padding-vertical, 4px) * 2) - 2);
121
+ font-size: var(--kd-c-date-picker-small-font-size, var(--kd-g-font-size-small, 12px));
122
+ padding: var(--kd-c-date-picker-small-spacing-padding-vertical, 4px) var(--kd-c-date-picker-small-spacing-padding-horizontal, 9px);
114
123
  }
115
124
  .kd-date-picker-small input {
116
- font-size: 12px;
125
+ font-size: var(--kd-c-date-picker-small-font-size, var(--kd-g-font-size-small, 12px));
117
126
  }
118
127
  .kd-date-picker-small .kd-date-picker-clear {
119
- right: 13px;
128
+ right: calc(var(--kd-c-date-picker-small-font-size, var(--kd-g-font-size-small, 12px)) + 1px);
120
129
  }
121
130
  .kd-date-picker-small.kd-date-picker-range .kd-date-picker-clear {
122
- right: 21px;
131
+ right: calc(var(--kd-c-date-picker-small-font-size, var(--kd-g-font-size-small, 12px)) + 9px);
123
132
  }
124
133
  .kd-date-picker-large {
125
- height: 36px;
126
- line-height: 26px;
127
- font-size: 16px;
128
- padding: 4px 9px;
134
+ height: var(--kd-c-date-picker-large-sizing-height, 36px);
135
+ line-height: calc(var(--kd-c-date-picker-large-sizing-height, 36px) - (var(--kd-c-date-picker-small-spacing-padding-vertical, 4px) * 2) - 2);
136
+ font-size: var(--kd-c-date-picker-large-font-size, var(--kd-g-font-size-large, 16px));
137
+ padding: var(--kd-c-date-picker-small-spacing-padding-vertical, 4px) var(--kd-c-date-picker-small-spacing-padding-horizontal, 9px);
129
138
  }
130
139
  .kd-date-picker-large input {
131
- font-size: 16px;
140
+ font-size: var(--kd-c-date-picker-large-font-size, var(--kd-g-font-size-large, 16px));
132
141
  }
133
142
  .kd-date-picker-large .kd-date-picker-clear {
134
- right: 17px;
143
+ right: calc(var(--kd-c-date-picker-large-font-size, var(--kd-g-font-size-large, 16px)) + 1px);
135
144
  }
136
145
  .kd-date-picker-large.kd-date-picker-range .kd-date-picker-clear {
137
- right: 25px;
146
+ right: calc(var(--kd-c-date-picker-large-font-size, var(--kd-g-font-size-large, 16px)) + 9px);
138
147
  }
139
148
  .kd-date-picker-middle {
140
- height: 30px;
141
- line-height: 20px;
142
- font-size: 14px;
143
- padding: 4px 9px;
149
+ height: var(--kd-c-date-picker-middle-sizing-height, 30px);
150
+ line-height: calc(var(--kd-c-date-picker-middle-sizing-height, 30px) - (var(--kd-c-date-picker-small-spacing-padding-vertical, 4px) * 2) - 2);
151
+ font-size: var(--kd-c-date-picker-middle-font-size, var(--kd-g-font-size-middle, 14px));
152
+ padding: var(--kd-c-date-picker-small-spacing-padding-vertical, 4px) var(--kd-c-date-picker-small-spacing-padding-horizontal, 9px);
144
153
  }
145
154
  .kd-date-picker-middle input {
146
- font-size: 14px;
155
+ font-size: var(--kd-c-date-picker-middle-font-size, var(--kd-g-font-size-middle, 14px));
147
156
  }
148
157
  .kd-date-picker-middle .kd-date-picker-clear {
149
- right: 15px;
158
+ right: calc(var(--kd-c-date-picker-middle-font-size, var(--kd-g-font-size-middle, 14px)) + 1px);
150
159
  }
151
160
  .kd-date-picker-middle.kd-date-picker-range .kd-date-picker-clear {
152
- right: 23px;
161
+ right: calc(var(--kd-c-date-picker-middle-font-size, var(--kd-g-font-size-middle, 14px)) + 9px);
153
162
  }
154
163
  .kd-date-picker-borderless {
155
164
  border: 0;
156
165
  }
157
166
  .kd-date-picker-underline {
158
167
  border: none;
159
- border-bottom: 1px solid #999;
168
+ border-bottom: 1px solid var(--kd-c-date-picker-input-underline-color, #999);
160
169
  border-radius: 0;
161
170
  padding-left: 0;
162
171
  }
163
172
  .kd-date-picker-disabled {
164
- background-color: #f5f5f5 !important;
165
- border-color: #d9d9d9 !important;
166
- color: #b2b2b2 !important;
173
+ background-color: var(--kd-c-date-picker-input-color-background-disabled, var(--kd-g-color-background-contain-disabled, #f5f5f5)) !important;
174
+ border-color: var(--kd-c-date-picker-input-color-border, var(--kd-g-color-border-strong, #d9d9d9)) !important;
175
+ color: var(--kd-c-date-picker-input-color-disabled, var(--kd-g-color-disabled, #b2b2b2)) !important;
167
176
  cursor: not-allowed !important;
168
177
  }
169
178
  .kd-date-picker-disabled input {
@@ -171,20 +180,20 @@
171
180
  }
172
181
  .kd-date-picker-underline.kd-date-picker-disabled,
173
182
  .kd-date-picker-borderless.kd-date-picker-disabled {
174
- background-color: #fff;
175
- border-color: #d9d9d9;
183
+ background-color: var(--kd-c-date-picker-input-color-background, var(--kd-g-color-white, #fff));
184
+ border-color: var(--kd-c-date-picker-input-color-border, var(--kd-g-color-border-strong, #d9d9d9));
176
185
  }
177
186
  .kd-date-picker-focused {
178
187
  -webkit-box-shadow: none;
179
188
  box-shadow: none;
180
189
  outline: none;
181
- border-color: #5582f3;
190
+ border-color: var(--kd-c-date-picker-color-background-checked, var(--kd-g-color-theme, #5582f3));
182
191
  }
183
192
  .kd-date-picker:hover {
184
- border-color: #5582f3;
193
+ border-color: var(--kd-c-date-picker-color-background-checked, var(--kd-g-color-theme, #5582f3));
185
194
  }
186
195
  .kd-date-picker:not(.kd-date-picker-disabled) input:focus {
187
- color: #212121;
196
+ color: var(--kd-c-date-picker-input-color-focused, var(--kd-g-color-text-primary, #212121));
188
197
  }
189
198
  .kd-date-picker-input {
190
199
  position: relative;
@@ -202,7 +211,7 @@
202
211
  .kd-date-picker-input input {
203
212
  width: 100%;
204
213
  min-width: 0;
205
- color: #666;
214
+ color: var(--kd-c-date-picker-input-color, var(--kd-g-color-text-secondary, #666));
206
215
  line-height: inherit;
207
216
  -webkit-box-flex: 1;
208
217
  -ms-flex: auto;
@@ -217,25 +226,25 @@
217
226
  white-space: nowrap;
218
227
  }
219
228
  .kd-date-picker-input input::-webkit-input-placeholder {
220
- color: #666;
229
+ color: var(--kd-c-date-picker-input-color-placeholder, var(--kd-g-color-text-secondary, #666));
221
230
  }
222
231
  .kd-date-picker-input input::-moz-input-placeholder {
223
- color: #666;
232
+ color: var(--kd-c-date-picker-input-color-placeholder, var(--kd-g-color-text-secondary, #666));
224
233
  }
225
234
  .kd-date-picker-input input::-ms-input-placeholder {
226
- color: #666;
235
+ color: var(--kd-c-date-picker-input-color-placeholder, var(--kd-g-color-text-secondary, #666));
227
236
  }
228
237
  .kd-date-picker-input input:focus {
229
238
  -webkit-box-shadow: none;
230
239
  box-shadow: none;
231
240
  outline: none;
232
- border-color: #5582f3;
241
+ border-color: var(--kd-c-date-picker-color-background-checked, var(--kd-g-color-theme, #5582f3));
233
242
  }
234
243
  .kd-date-picker-input input[disabled] {
235
244
  background: transparent;
236
245
  }
237
246
  .kd-date-picker-input-placeholder > input {
238
- color: #666;
247
+ color: var(--kd-c-date-picker-input-color-placeholder, var(--kd-g-color-text-secondary, #666));
239
248
  }
240
249
  .kd-date-picker-range {
241
250
  display: -webkit-inline-box;
@@ -248,7 +257,7 @@
248
257
  padding: 0 8px;
249
258
  }
250
259
  .kd-date-picker-range .kd-date-picker-clear {
251
- right: 9px;
260
+ right: var(--kd-c-date-picker-small-spacing-padding-horizontal, 9px);
252
261
  }
253
262
  .kd-date-picker-range .kd-date-picker-active-bar {
254
263
  bottom: -1px;
@@ -266,8 +275,8 @@
266
275
  .kd-date-picker-suffix {
267
276
  -ms-flex-item-align: center;
268
277
  align-self: center;
269
- margin-left: 10px;
270
- color: #b2b2b2;
278
+ margin-left: var(--kd-c-date-picker-suffix-spacing-margin-left, 10px);
279
+ color: var(--kd-c-date-picker-icon-color, var(--kd-g-color-disabled, #b2b2b2));
271
280
  line-height: 1;
272
281
  pointer-events: none;
273
282
  }
@@ -280,9 +289,9 @@
280
289
  .kd-date-picker-clear {
281
290
  position: absolute;
282
291
  top: 50%;
283
- color: #b2b2b2;
292
+ color: var(--kd-c-date-picker-icon-color, var(--kd-g-color-disabled, #b2b2b2));
284
293
  line-height: 1;
285
- background: #fff;
294
+ background: var(--kd-c-date-picker-clear-color-background, var(--kd-g-color-background, #fff));
286
295
  -webkit-transform: translateY(-48%);
287
296
  transform: translateY(-48%);
288
297
  cursor: pointer;
@@ -292,19 +301,19 @@
292
301
  vertical-align: top;
293
302
  }
294
303
  .kd-date-picker-clear:hover {
295
- color: #87adff;
304
+ color: var(--kd-c-date-picker-clear-color-background-hover, var(--kd-g-color-theme-5, #87adff));
296
305
  }
297
306
  .kd-date-picker-focused .kd-date-picker-suffix {
298
- color: #5582f3;
307
+ color: var(--kd-c-date-picker-clear-color-background-focused, var(--kd-g-color-theme, #5582f3));
299
308
  }
300
309
  .kd-date-picker-panel {
301
310
  -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
302
311
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
303
- border-radius: 2px;
312
+ border-radius: var(--kd-c-date-picker-panel-radius-border, var(--kd-g-radius-border, 2px));
304
313
  background-color: #fff;
305
314
  text-align: center;
306
315
  z-index: 999;
307
- font-size: 14px;
316
+ font-size: var(--kd-c-date-picker-panel-font-size, var(--kd-g-font-size-middle, 14px));
308
317
  }
309
318
  .kd-date-picker-panel-range {
310
319
  display: -webkit-box;
@@ -319,7 +328,7 @@
319
328
  }
320
329
  .kd-date-picker-panel .kd-date-picker-warpper {
321
330
  font-size: 12px;
322
- background: #fff;
331
+ background: var(--kd-c-date-picker-wrapper-color-background, var(--kd-g-color-background, #fff));
323
332
  }
324
333
  .kd-date-picker-panel .kd-date-picker-warpper .kd-date-picker-month,
325
334
  .kd-date-picker-panel .kd-date-picker-warpper .kd-date-picker-year,
@@ -356,7 +365,7 @@
356
365
  .kd-date-picker-panel .kd-date-picker-warpper .kd-date-picker-quarter-text {
357
366
  line-height: 24px;
358
367
  display: inline-block;
359
- border-radius: 2px;
368
+ border-radius: var(--kd-c-date-picker-panel-radius-border, var(--kd-g-radius-border, 2px));
360
369
  }
361
370
  .kd-date-picker-panel .kd-date-picker-warpper .kd-date-picker-year-warpper .kd-date-picker-year-item {
362
371
  overflow: hidden;
@@ -382,7 +391,7 @@
382
391
  width: 6px;
383
392
  height: 6px;
384
393
  border-radius: 6px;
385
- background: #5582f3;
394
+ background: var(--kd-c-date-picker-color-background-checked, var(--kd-g-color-theme, #5582f3));
386
395
  content: '';
387
396
  bottom: 0;
388
397
  left: calc(50% - 3px);
@@ -395,7 +404,7 @@
395
404
  background: #f5f5f5;
396
405
  }
397
406
  .kd-date-picker-panel .kd-date-picker-warpper .kd-date-picker-year-warpper .kd-date-picker-year-item .kd-date-picker-year-text-selected {
398
- background: #5582f3;
407
+ background: var(--kd-c-date-picker-color-background-checked, var(--kd-g-color-theme, #5582f3));
399
408
  color: #fff;
400
409
  }
401
410
  .kd-date-picker-panel .kd-date-picker-warpper .kd-date-picker-year .kd-date-picker-range-view::before,
@@ -427,7 +436,7 @@
427
436
  width: 6px;
428
437
  height: 6px;
429
438
  border-radius: 6px;
430
- background: #5582f3;
439
+ background: var(--kd-c-date-picker-color-background-checked, var(--kd-g-color-theme, #5582f3));
431
440
  content: '';
432
441
  bottom: 0;
433
442
  left: calc(50% - 3px);
@@ -440,7 +449,7 @@
440
449
  background: #f5f5f5;
441
450
  }
442
451
  .kd-date-picker-panel .kd-date-picker-warpper .kd-date-picker-month-warpper .kd-date-picker-month-item .kd-date-picker-month-text-selected {
443
- background: #5582f3;
452
+ background: var(--kd-c-date-picker-color-background-checked, var(--kd-g-color-theme, #5582f3));
444
453
  color: #fff;
445
454
  }
446
455
  .kd-date-picker-panel .kd-date-picker-warpper .kd-date-picker-month .kd-date-picker-range-view::before,
@@ -477,7 +486,7 @@
477
486
  width: 6px;
478
487
  height: 6px;
479
488
  border-radius: 6px;
480
- background: #5582f3;
489
+ background: var(--kd-c-date-picker-color-background-checked, var(--kd-g-color-theme, #5582f3));
481
490
  content: '';
482
491
  bottom: 0;
483
492
  left: calc(50% - 3px);
@@ -490,7 +499,7 @@
490
499
  background: #f5f5f5;
491
500
  }
492
501
  .kd-date-picker-panel .kd-date-picker-warpper .kd-date-picker-quarter-warpper .kd-date-picker-quarter-item .kd-date-picker-quarter-text-selected {
493
- background: #5582f3;
502
+ background: var(--kd-c-date-picker-color-background-checked, var(--kd-g-color-theme, #5582f3));
494
503
  color: #fff;
495
504
  }
496
505
  .kd-date-picker-panel .kd-date-picker-warpper .kd-date-picker-calendar {
@@ -577,7 +586,7 @@
577
586
  background: #f5f5f5;
578
587
  }
579
588
  .kd-date-picker-panel .kd-date-picker-warpper .kd-date-picker-calendar .kd-date-picker-calendar-week-line.kd-date-picker-calendar-week-selected .kd-date-picker-calendar-week-text::before {
580
- background: #5582f3;
589
+ background: var(--kd-c-date-picker-color-background-checked, var(--kd-g-color-theme, #5582f3));
581
590
  }
582
591
  .kd-date-picker-panel .kd-date-picker-warpper .kd-date-picker-calendar .kd-date-picker-calendar-week-line.kd-date-picker-calendar-week-selected:hover .kd-date-picker-calendar-item:not(.kd-date-picker-calendar-item-disabled) .kd-date-picker-calendar-week-text::before {
583
592
  background: #104ccc;
@@ -622,7 +631,7 @@
622
631
  text-align: center;
623
632
  line-height: 32px;
624
633
  display: inline-block;
625
- border-radius: 2px;
634
+ border-radius: var(--kd-c-date-picker-panel-radius-border, var(--kd-g-radius-border, 2px));
626
635
  color: #b2b2b2;
627
636
  }
628
637
  .kd-date-picker-panel .kd-date-picker-warpper .kd-date-picker-calendar .kd-date-picker-calendar-text-today,
@@ -635,7 +644,7 @@
635
644
  width: 6px;
636
645
  height: 6px;
637
646
  border-radius: 6px;
638
- background: #5582f3;
647
+ background: var(--kd-c-date-picker-color-background-checked, var(--kd-g-color-theme, #5582f3));
639
648
  content: '';
640
649
  bottom: 0;
641
650
  left: calc(50% - 3px);
@@ -652,7 +661,7 @@
652
661
  color: #212121;
653
662
  }
654
663
  .kd-date-picker-panel .kd-date-picker-warpper .kd-date-picker-calendar .kd-date-picker-calendar-current .kd-date-picker-calendar-text-selected {
655
- background: #5582f3;
664
+ background: var(--kd-c-date-picker-color-background-checked, var(--kd-g-color-theme, #5582f3));
656
665
  color: #fff;
657
666
  }
658
667
  .kd-date-picker-panel .kd-date-picker-warpper .kd-date-picker-calendar .kd-date-picker-calendar-weeknumber,
@@ -708,8 +717,8 @@
708
717
  }
709
718
  .kd-date-picker-panel .kd-date-picker-time-header,
710
719
  .kd-date-picker-panel .kd-date-picker-header {
711
- height: 36px;
712
- line-height: 36px;
720
+ height: var(--kd-c-date-picker-panel-header-sizing-height, 36px);
721
+ line-height: var(--kd-c-date-picker-panel-header-sizing-height, 36px);
713
722
  background: #fafafa;
714
723
  color: #212121;
715
724
  padding: 7px;
@@ -806,7 +815,7 @@
806
815
  -webkit-box-sizing: border-box;
807
816
  box-sizing: border-box;
808
817
  text-align: right;
809
- background: #fff;
818
+ background: var(--kd-c-date-picker-footer-color-background, var(--kd-g-color-background, #fff));
810
819
  }
811
820
  .kd-date-picker-panel .kd-date-picker-footer::after {
812
821
  content: '';
@@ -820,9 +829,9 @@
820
829
  .kd-date-picker-panel .kd-date-picker-footer .kd-date-picker-ok-btn {
821
830
  display: inline-block;
822
831
  padding: 5px 12px;
823
- background: #5582f3;
832
+ background: var(--kd-c-date-picker-color-background-checked, var(--kd-g-color-theme, #5582f3));
824
833
  color: #fff;
825
- border-radius: 2px;
834
+ border-radius: var(--kd-c-date-picker-panel-radius-border, var(--kd-g-radius-border, 2px));
826
835
  line-height: initial;
827
836
  vertical-align: middle;
828
837
  cursor: pointer;
@@ -857,7 +866,7 @@
857
866
  display: -webkit-box;
858
867
  display: -ms-flexbox;
859
868
  display: flex;
860
- background: #f2f2f2;
869
+ background: var(--kd-c-date-picker-container-color-background, var(--kd-g-color-background-2, #f2f2f2));
861
870
  }
862
871
  .kd-date-picker-container-date {
863
872
  display: -webkit-box;
@@ -866,15 +875,15 @@
866
875
  }
867
876
  .kd-date-picker-container .kd-date-picker-ranges {
868
877
  width: 160px;
869
- color: #212121;
878
+ color: var(--kd-c-date-picker-container-color, var(--kd-g-color-text-primary, #212121));
870
879
  padding: 0 12px;
871
880
  text-align: left;
872
881
  overflow: auto;
873
882
  max-height: 276px;
874
883
  }
875
884
  .kd-date-picker-container .kd-date-picker-ranges-item {
876
- height: 36px;
877
- line-height: 36px;
878
- font-size: 12px;
879
- border-bottom: 0.5px solid #e5e5e5;
885
+ height: var(--kd-c-date-picker-panel-header-sizing-height, 36px);
886
+ line-height: var(--kd-c-date-picker-panel-header-sizing-height, 36px);
887
+ font-size: var(--kd-c-date-picker-container-font-size, var(--kd-g-font-size-small, 12px));
888
+ border-bottom: 0.5px solid var(--kd-c-date-picker-container-color-border, var(--kd-g-color-border-weak, #e5e5e5));
880
889
  }
@@ -1,7 +1,7 @@
1
1
  @import '../../style/themes/index';
2
2
  @import '../../style/mixins/index';
3
3
  @import './mixin.less';
4
- // @import './variables.less';
4
+
5
5
 
6
6
  @datePicker-prefix-cls: ~'@{kd-prefix}-date-picker';
7
7
  // @rangePicker-prefix-cls: ~'@{kd-prefix}-rangePicker';
@@ -23,11 +23,11 @@
23
23
  }
24
24
 
25
25
  .@{datePicker-prefix-cls}-clear {
26
- right: @date-small-font-size + @date-clear-offset
26
+ right: calc(@date-small-font-size + 1px);
27
27
  }
28
28
 
29
29
  &.@{datePicker-prefix-cls}-range .@{datePicker-prefix-cls}-clear {
30
- right: @date-small-font-size + @date-range-clear-offset
30
+ right: calc(@date-small-font-size + 9px);
31
31
  }
32
32
  }
33
33
 
@@ -39,11 +39,11 @@
39
39
  }
40
40
 
41
41
  .@{datePicker-prefix-cls}-clear {
42
- right: @date-large-font-size + @date-clear-offset
42
+ right:calc(@date-large-font-size + 1px);
43
43
  }
44
44
 
45
45
  &.@{datePicker-prefix-cls}-range .@{datePicker-prefix-cls}-clear {
46
- right: @date-large-font-size + @date-range-clear-offset
46
+ right: calc(@date-large-font-size + 9px);
47
47
  }
48
48
  }
49
49
 
@@ -55,11 +55,11 @@
55
55
  }
56
56
 
57
57
  .@{datePicker-prefix-cls}-clear {
58
- right: @date-middle-font-size + @date-clear-offset
58
+ right: calc(@date-middle-font-size + 1px);
59
59
  }
60
60
 
61
61
  &.@{datePicker-prefix-cls}-range .@{datePicker-prefix-cls}-clear {
62
- right: @date-middle-font-size + @date-range-clear-offset
62
+ right: calc(@date-middle-font-size + 9px);
63
63
  }
64
64
  }
65
65
 
@@ -93,7 +93,7 @@
93
93
 
94
94
  &-placeholder {
95
95
  > input {
96
- color: @date-placeholder-color;
96
+ color: @date-input-color-placeholder;
97
97
  }
98
98
  }
99
99
  }
@@ -130,8 +130,8 @@
130
130
 
131
131
  &-suffix {
132
132
  align-self: center;
133
- margin-left: @date-padding-suffix;
134
- color: @disabled-color;
133
+ margin-left: @date-suffix-spacing-margin-left;
134
+ color: @date-icon-color;
135
135
  line-height: 1;
136
136
  pointer-events: none;
137
137
 
@@ -149,9 +149,9 @@
149
149
  &-clear {
150
150
  position: absolute;
151
151
  top: 50%;
152
- color: @disabled-color;
152
+ color: @date-icon-color;
153
153
  line-height: 1;
154
- background: @bg;
154
+ background: @date-clear-background-color;
155
155
  transform: translateY(-48%);
156
156
  cursor: pointer;
157
157
  opacity: 0;
@@ -161,24 +161,24 @@
161
161
  }
162
162
 
163
163
  &:hover {
164
- color: @theme-color-hover;
164
+ color: @date-clear-background-color-hover;
165
165
  }
166
166
  }
167
167
 
168
168
  &-focused {
169
169
  .@{datePicker-prefix-cls}-suffix {
170
- color: @theme-color;
170
+ color: @date-clear-background-color-focused;
171
171
  }
172
172
  }
173
173
  }
174
174
 
175
175
  .@{datePicker-prefix-cls-panel} {
176
176
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
177
- border-radius: @radius-size;
177
+ border-radius: @date-panel-border-radius;
178
178
  background-color: #fff;
179
179
  text-align: center;
180
180
  z-index: 999;
181
- font-size: @font-size;
181
+ font-size: @date-panel-font-size;
182
182
 
183
183
  &-range {
184
184
  display: flex;
@@ -192,7 +192,7 @@
192
192
 
193
193
  .@{datePicker-prefix-cls}-warpper {
194
194
  font-size: 12px;
195
- background: @bg;
195
+ background: @date-wrapper-color-background;
196
196
 
197
197
  .@{datePicker-prefix-cls}-month,
198
198
  .@{datePicker-prefix-cls}-year,
@@ -225,7 +225,7 @@
225
225
  .@{datePicker-prefix-cls}-quarter-text {
226
226
  line-height: 24px;
227
227
  display: inline-block;
228
- border-radius: @radius-size;
228
+ border-radius: @date-panel-border-radius;
229
229
  }
230
230
 
231
231
  .@{datePicker-prefix-cls}-year {
@@ -256,7 +256,7 @@
256
256
  }
257
257
 
258
258
  .@{datePicker-prefix-cls}-year-text-today {
259
- .today-after(@theme-color);
259
+ .today-after(@date-color-background-checked);
260
260
  }
261
261
 
262
262
  &-disabled {
@@ -269,7 +269,7 @@
269
269
  }
270
270
 
271
271
  .@{datePicker-prefix-cls}-year-text-selected {
272
- background: @theme-color;
272
+ background: @date-color-background-checked;
273
273
  color: #fff;
274
274
  }
275
275
  }
@@ -312,7 +312,7 @@
312
312
  }
313
313
 
314
314
  .@{datePicker-prefix-cls}-month-text-today {
315
- .today-after(@theme-color);
315
+ .today-after(@date-color-background-checked);
316
316
  }
317
317
 
318
318
  &-disabled {
@@ -325,7 +325,7 @@
325
325
  }
326
326
 
327
327
  .@{datePicker-prefix-cls}-month-text-selected {
328
- background: @theme-color;
328
+ background: @date-color-background-checked;
329
329
  color: #fff;
330
330
  }
331
331
  }
@@ -372,7 +372,7 @@
372
372
  }
373
373
 
374
374
  .@{datePicker-prefix-cls}-quarter-text-today {
375
- .today-after(@theme-color);
375
+ .today-after(@date-color-background-checked);
376
376
  }
377
377
 
378
378
  &-disabled {
@@ -385,7 +385,7 @@
385
385
  }
386
386
 
387
387
  .@{datePicker-prefix-cls}-quarter-text-selected {
388
- background: @theme-color;
388
+ background: @date-color-background-checked;
389
389
  color: #fff;
390
390
  }
391
391
  }
@@ -483,7 +483,7 @@
483
483
 
484
484
  &.@{datePicker-prefix-cls}-calendar-week-selected {
485
485
  .@{datePicker-prefix-cls}-calendar-week-text::before {
486
- background: @theme-color;
486
+ background: @date-color-background-checked;
487
487
  }
488
488
 
489
489
  &:hover {
@@ -539,11 +539,11 @@
539
539
  text-align: center;
540
540
  line-height: 32px;
541
541
  display: inline-block;
542
- border-radius: @radius-size;
542
+ border-radius: @date-panel-border-radius;
543
543
  color: #b2b2b2;
544
544
 
545
545
  &-today {
546
- .today-after(@theme-color);
546
+ .today-after(@date-color-background-checked);
547
547
  }
548
548
  }
549
549
 
@@ -563,7 +563,7 @@
563
563
  }
564
564
 
565
565
  .@{datePicker-prefix-cls}-calendar-text-selected {
566
- background: @theme-color;
566
+ background: @date-color-background-checked;
567
567
  color: #fff;
568
568
  }
569
569
  }
@@ -732,7 +732,7 @@
732
732
  font-size: 12px;
733
733
  box-sizing: border-box;
734
734
  text-align: right;
735
- background: @bg;
735
+ background: @date-footer-color-background;
736
736
 
737
737
  &::after {
738
738
  content: '';
@@ -748,9 +748,9 @@
748
748
  .@{datePicker-prefix-cls}-ok-btn {
749
749
  display: inline-block;
750
750
  padding: 5px 12px;
751
- background: @theme-color;
751
+ background: @date-color-background-checked;
752
752
  color: #fff;
753
- border-radius: @radius-size;
753
+ border-radius: @date-panel-border-radius;
754
754
  line-height: initial;
755
755
  vertical-align: middle;
756
756
  cursor: pointer;
@@ -796,15 +796,15 @@
796
796
 
797
797
  .@{datePicker-prefix-cls}-container {
798
798
  display: flex;
799
- background: @bg2;
799
+ background: @date-container-color-background;
800
800
 
801
801
  &-date{
802
802
  display: flex;
803
803
  }
804
804
 
805
805
  .@{datePicker-prefix-cls}-ranges {
806
- width: @date-ranges-width;
807
- color: @primary-text-color;
806
+ width: 160px;
807
+ color: @date-container-color;
808
808
  padding: 0 12px;
809
809
  text-align: left;
810
810
  overflow: auto;
@@ -813,8 +813,8 @@
813
813
  &-item {
814
814
  height: @date-panel-header-height;
815
815
  line-height: @date-panel-header-height;
816
- font-size: @small-font-size;
817
- border-bottom: .5px solid @weak-border-color;
816
+ font-size: @date-container-font-size;
817
+ border-bottom: .5px solid @date-container-color-border;
818
818
  }
819
819
  }
820
820
  }