@fle-ui/next 3.0.0-alpha.2 → 3.0.0-beta.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2883) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +40 -40
  3. package/dist/components.min.js +1 -1
  4. package/es/_util/ActionButton.d.ts +4 -0
  5. package/es/_util/ActionButton.js +38 -48
  6. package/es/_util/PurePanel.d.ts +4 -1
  7. package/es/_util/PurePanel.js +55 -48
  8. package/es/_util/capitalize.js +0 -1
  9. package/es/_util/colors.d.ts +13 -5
  10. package/es/_util/colors.js +21 -4
  11. package/es/_util/easings.js +2 -4
  12. package/es/_util/extendsObject.d.ts +3 -0
  13. package/es/_util/extendsObject.js +20 -0
  14. package/es/_util/gapSize.d.ts +3 -0
  15. package/es/_util/gapSize.js +10 -0
  16. package/es/_util/getRenderPropValue.js +1 -6
  17. package/es/_util/getScroll.js +0 -5
  18. package/es/_util/hooks/useClosable.d.ts +10 -0
  19. package/es/_util/hooks/useClosable.js +23 -0
  20. package/es/_util/hooks/useForceUpdate.js +10 -6
  21. package/es/_util/hooks/useMultipleSelect.d.ts +6 -0
  22. package/es/_util/hooks/useMultipleSelect.js +47 -0
  23. package/es/_util/hooks/usePatchElement.js +13 -7
  24. package/es/_util/hooks/useProxyImperativeHandle.d.ts +4 -0
  25. package/es/_util/hooks/useProxyImperativeHandle.js +32 -0
  26. package/es/_util/hooks/useSyncState.js +2 -2
  27. package/es/_util/hooks/useZIndex.d.ts +6 -0
  28. package/es/_util/hooks/useZIndex.js +58 -0
  29. package/es/_util/isNumeric.js +0 -1
  30. package/es/_util/motion.d.ts +2 -3
  31. package/es/_util/motion.js +5 -22
  32. package/es/_util/placements.d.ts +11 -7
  33. package/es/_util/placements.js +169 -80
  34. package/es/_util/reactNode.d.ts +1 -1
  35. package/es/_util/reactNode.js +0 -1
  36. package/es/_util/responsiveObserver.d.ts +22 -0
  37. package/es/_util/responsiveObserver.js +121 -0
  38. package/es/_util/scrollTo.d.ts +1 -1
  39. package/es/_util/scrollTo.js +6 -10
  40. package/es/_util/statusUtils.d.ts +2 -2
  41. package/es/_util/statusUtils.js +6 -5
  42. package/es/_util/styleChecker.d.ts +0 -1
  43. package/es/_util/styleChecker.js +1 -26
  44. package/es/_util/throttleByAnimationFrame.d.ts +3 -4
  45. package/es/_util/throttleByAnimationFrame.js +0 -7
  46. package/es/_util/transButton.js +8 -22
  47. package/es/_util/transKeys.d.ts +2 -0
  48. package/es/_util/transKeys.js +18 -0
  49. package/es/_util/type.d.ts +4 -8
  50. package/es/_util/type.js +1 -15
  51. package/es/_util/warning.d.ts +22 -2
  52. package/es/_util/warning.js +50 -8
  53. package/es/_util/wave/WaveEffect.d.ts +8 -0
  54. package/es/_util/wave/WaveEffect.js +152 -0
  55. package/es/_util/wave/index.d.ts +3 -28
  56. package/es/_util/wave/index.js +53 -265
  57. package/es/_util/wave/interface.d.ts +10 -0
  58. package/es/_util/wave/interface.js +1 -0
  59. package/es/_util/wave/style.d.ts +6 -2
  60. package/es/_util/wave/style.js +27 -72
  61. package/es/_util/wave/useWave.d.ts +3 -0
  62. package/es/_util/wave/useWave.js +47 -0
  63. package/es/_util/wave/util.d.ts +3 -0
  64. package/es/_util/wave/util.js +29 -0
  65. package/es/_util/zindexContext.d.ts +3 -0
  66. package/es/_util/zindexContext.js +6 -0
  67. package/es/affix/index.d.ts +11 -48
  68. package/es/affix/index.js +180 -275
  69. package/es/affix/style/index.d.ts +7 -1
  70. package/es/affix/style/index.js +13 -11
  71. package/es/affix/utils.d.ts +2 -13
  72. package/es/affix/utils.js +4 -71
  73. package/es/alert/Alert.d.ts +38 -0
  74. package/es/alert/Alert.js +186 -0
  75. package/es/alert/ErrorBoundary.d.ts +1 -1
  76. package/es/alert/ErrorBoundary.js +14 -17
  77. package/es/alert/index.d.ts +3 -32
  78. package/es/alert/index.js +4 -185
  79. package/es/alert/style/index.d.ts +20 -7
  80. package/es/alert/style/index.js +81 -85
  81. package/es/anchor/Anchor.d.ts +15 -1
  82. package/es/anchor/Anchor.js +123 -127
  83. package/es/anchor/AnchorLink.d.ts +5 -2
  84. package/es/anchor/AnchorLink.js +47 -38
  85. package/es/anchor/index.js +2 -0
  86. package/es/anchor/style/index.d.ts +14 -1
  87. package/es/anchor/style/index.js +104 -67
  88. package/es/app/context.d.ts +16 -0
  89. package/es/app/context.js +8 -0
  90. package/es/app/index.d.ts +16 -0
  91. package/es/app/index.js +81 -0
  92. package/es/app/style/index.d.ts +6 -0
  93. package/es/app/style/index.js +24 -0
  94. package/es/auto-complete/index.d.ts +9 -11
  95. package/es/auto-complete/index.js +56 -59
  96. package/es/avatar/AvatarContext.d.ts +9 -0
  97. package/es/avatar/AvatarContext.js +3 -0
  98. package/es/avatar/avatar.d.ts +3 -2
  99. package/es/avatar/avatar.js +77 -90
  100. package/es/avatar/group.d.ts +3 -1
  101. package/es/avatar/group.js +60 -36
  102. package/es/avatar/index.js +2 -0
  103. package/es/avatar/style/index.d.ts +49 -1
  104. package/es/avatar/style/index.js +77 -75
  105. package/es/back-top/index.d.ts +3 -2
  106. package/es/back-top/index.js +50 -57
  107. package/es/back-top/style/index.d.ts +4 -1
  108. package/es/back-top/style/index.js +48 -43
  109. package/es/badge/Ribbon.d.ts +2 -1
  110. package/es/badge/Ribbon.js +43 -37
  111. package/es/badge/ScrollNumber.d.ts +2 -2
  112. package/es/badge/ScrollNumber.js +32 -44
  113. package/es/badge/SingleNumber.d.ts +2 -2
  114. package/es/badge/SingleNumber.js +37 -46
  115. package/es/badge/index.d.ts +13 -3
  116. package/es/badge/index.js +105 -109
  117. package/es/badge/style/index.d.ts +61 -1
  118. package/es/badge/style/index.js +121 -159
  119. package/es/badge/style/ribbon.d.ts +3 -0
  120. package/es/badge/style/ribbon.js +71 -0
  121. package/es/breadcrumb/Breadcrumb.d.ts +47 -14
  122. package/es/breadcrumb/Breadcrumb.js +116 -113
  123. package/es/breadcrumb/BreadcrumbItem.d.ts +18 -6
  124. package/es/breadcrumb/BreadcrumbItem.js +63 -55
  125. package/es/breadcrumb/BreadcrumbSeparator.js +7 -8
  126. package/es/breadcrumb/index.d.ts +1 -1
  127. package/es/breadcrumb/index.js +2 -0
  128. package/es/breadcrumb/style/index.d.ts +41 -1
  129. package/es/breadcrumb/style/index.js +56 -53
  130. package/es/breadcrumb/useItemRender.d.ts +8 -0
  131. package/es/breadcrumb/useItemRender.js +56 -0
  132. package/es/breadcrumb/useItems.d.ts +6 -0
  133. package/es/breadcrumb/useItems.js +40 -0
  134. package/es/button/IconWrapper.d.ts +9 -0
  135. package/es/button/IconWrapper.js +17 -0
  136. package/es/button/LoadingIcon.d.ts +2 -0
  137. package/es/button/LoadingIcon.js +42 -24
  138. package/es/button/button-group.js +30 -38
  139. package/es/button/button.d.ts +14 -22
  140. package/es/button/button.js +142 -204
  141. package/es/button/buttonHelpers.d.ts +14 -0
  142. package/es/button/buttonHelpers.js +63 -0
  143. package/es/button/index.d.ts +2 -1
  144. package/es/button/index.js +3 -0
  145. package/es/button/style/compactCmp.d.ts +3 -0
  146. package/es/button/style/compactCmp.js +46 -0
  147. package/es/button/style/group.js +20 -20
  148. package/es/button/style/index.d.ts +149 -4
  149. package/es/button/style/index.js +224 -202
  150. package/es/calendar/Header.d.ts +4 -4
  151. package/es/calendar/Header.js +50 -60
  152. package/es/calendar/generateCalendar.d.ts +17 -3
  153. package/es/calendar/generateCalendar.js +152 -133
  154. package/es/calendar/index.d.ts +12 -3
  155. package/es/calendar/index.js +3 -0
  156. package/es/calendar/locale/eu_ES.d.ts +2 -0
  157. package/es/calendar/locale/eu_ES.js +2 -0
  158. package/es/calendar/locale/my_MM.d.ts +2 -0
  159. package/es/calendar/locale/my_MM.js +2 -0
  160. package/es/calendar/style/index.d.ts +33 -8
  161. package/es/calendar/style/index.js +74 -70
  162. package/es/card/Card.d.ts +6 -3
  163. package/es/card/Card.js +99 -102
  164. package/es/card/Grid.js +18 -24
  165. package/es/card/Meta.js +28 -38
  166. package/es/card/index.js +5 -0
  167. package/es/card/style/index.d.ts +49 -1
  168. package/es/card/style/index.js +149 -150
  169. package/es/carousel/index.d.ts +4 -1
  170. package/es/carousel/index.js +55 -46
  171. package/es/carousel/style/index.d.ts +18 -1
  172. package/es/carousel/style/index.js +49 -43
  173. package/es/cascader/Panel.d.ts +6 -0
  174. package/es/cascader/Panel.js +62 -0
  175. package/es/cascader/hooks/useBase.d.ts +7 -0
  176. package/es/cascader/hooks/useBase.js +12 -0
  177. package/es/cascader/hooks/useCheckable.d.ts +2 -0
  178. package/es/cascader/hooks/useCheckable.js +10 -0
  179. package/es/cascader/hooks/useColumnIcons.d.ts +2 -0
  180. package/es/cascader/hooks/useColumnIcons.js +18 -0
  181. package/es/cascader/index.d.ts +17 -8
  182. package/es/cascader/index.js +165 -172
  183. package/es/cascader/style/columns.d.ts +4 -0
  184. package/es/cascader/style/columns.js +86 -0
  185. package/es/cascader/style/index.d.ts +46 -1
  186. package/es/cascader/style/index.js +36 -98
  187. package/es/cascader/style/panel.d.ts +2 -0
  188. package/es/cascader/style/panel.js +30 -0
  189. package/es/checkbox/Checkbox.d.ts +5 -1
  190. package/es/checkbox/Checkbox.js +62 -68
  191. package/es/checkbox/Group.d.ts +7 -9
  192. package/es/checkbox/Group.js +67 -79
  193. package/es/checkbox/GroupContext.d.ts +12 -0
  194. package/es/checkbox/GroupContext.js +3 -0
  195. package/es/checkbox/index.d.ts +3 -1
  196. package/es/checkbox/index.js +5 -0
  197. package/es/checkbox/style/index.d.ts +2 -1
  198. package/es/checkbox/style/index.js +86 -106
  199. package/es/col/index.js +2 -0
  200. package/es/col/style/index.js +0 -1
  201. package/es/collapse/Collapse.d.ts +11 -6
  202. package/es/collapse/Collapse.js +71 -60
  203. package/es/collapse/CollapsePanel.d.ts +1 -1
  204. package/es/collapse/CollapsePanel.js +22 -18
  205. package/es/collapse/index.js +2 -0
  206. package/es/collapse/style/index.d.ts +27 -6
  207. package/es/collapse/style/index.js +119 -95
  208. package/es/color-picker/ColorPicker.d.ts +49 -0
  209. package/es/color-picker/ColorPicker.js +243 -0
  210. package/es/color-picker/ColorPickerPanel.d.ts +10 -0
  211. package/es/color-picker/ColorPickerPanel.js +60 -0
  212. package/es/color-picker/color.d.ts +17 -0
  213. package/es/color-picker/color.js +50 -0
  214. package/es/color-picker/components/ColorAlphaInput.d.ts +9 -0
  215. package/es/color-picker/components/ColorAlphaInput.js +46 -0
  216. package/es/color-picker/components/ColorClear.d.ts +9 -0
  217. package/es/color-picker/components/ColorClear.js +23 -0
  218. package/es/color-picker/components/ColorHexInput.d.ts +9 -0
  219. package/es/color-picker/components/ColorHexInput.js +48 -0
  220. package/es/color-picker/components/ColorHsbInput.d.ts +9 -0
  221. package/es/color-picker/components/ColorHsbInput.js +76 -0
  222. package/es/color-picker/components/ColorInput.d.ts +9 -0
  223. package/es/color-picker/components/ColorInput.js +79 -0
  224. package/es/color-picker/components/ColorPresets.d.ts +10 -0
  225. package/es/color-picker/components/ColorPresets.js +109 -0
  226. package/es/color-picker/components/ColorRgbInput.d.ts +9 -0
  227. package/es/color-picker/components/ColorRgbInput.js +67 -0
  228. package/es/color-picker/components/ColorSteppers.d.ts +15 -0
  229. package/es/color-picker/components/ColorSteppers.js +48 -0
  230. package/es/color-picker/components/ColorTrigger.d.ts +16 -0
  231. package/es/color-picker/components/ColorTrigger.js +68 -0
  232. package/es/color-picker/components/PanelPicker.d.ts +11 -0
  233. package/es/color-picker/components/PanelPicker.js +50 -0
  234. package/es/color-picker/components/PanelPresets.d.ts +9 -0
  235. package/es/color-picker/components/PanelPresets.js +19 -0
  236. package/es/color-picker/context.d.ts +7 -0
  237. package/es/color-picker/context.js +7 -0
  238. package/es/color-picker/hooks/useColorState.d.ts +7 -0
  239. package/es/color-picker/hooks/useColorState.js +36 -0
  240. package/es/color-picker/index.d.ts +4 -0
  241. package/es/color-picker/index.js +4 -0
  242. package/es/color-picker/interface.d.ts +34 -0
  243. package/es/color-picker/interface.js +6 -0
  244. package/es/color-picker/style/color-block.d.ts +8 -0
  245. package/es/color-picker/style/color-block.js +34 -0
  246. package/es/color-picker/style/index.d.ts +23 -0
  247. package/es/color-picker/style/index.js +198 -0
  248. package/es/color-picker/style/input.d.ts +5 -0
  249. package/es/color-picker/style/input.js +75 -0
  250. package/es/color-picker/style/picker.d.ts +5 -0
  251. package/es/color-picker/style/picker.js +65 -0
  252. package/es/color-picker/style/presets.d.ts +5 -0
  253. package/es/color-picker/style/presets.js +95 -0
  254. package/es/color-picker/util.d.ts +6 -0
  255. package/es/color-picker/util.js +18 -0
  256. package/es/config-provider/DisabledContext.d.ts +1 -1
  257. package/es/config-provider/DisabledContext.js +3 -1
  258. package/es/config-provider/MotionWrapper.d.ts +5 -0
  259. package/es/config-provider/MotionWrapper.js +26 -0
  260. package/es/config-provider/PropWarning.d.ts +6 -0
  261. package/es/config-provider/PropWarning.js +20 -0
  262. package/es/config-provider/SizeContext.js +7 -6
  263. package/es/config-provider/context.d.ts +125 -17
  264. package/es/config-provider/context.js +8 -35
  265. package/es/config-provider/cssVariables.js +28 -37
  266. package/es/config-provider/defaultRenderEmpty.d.ts +7 -4
  267. package/es/config-provider/defaultRenderEmpty.js +30 -34
  268. package/es/config-provider/hooks/useCSSVarCls.d.ts +7 -0
  269. package/es/config-provider/hooks/useCSSVarCls.js +19 -0
  270. package/es/config-provider/hooks/useConfig.d.ts +5 -0
  271. package/es/config-provider/hooks/useConfig.js +12 -0
  272. package/es/config-provider/hooks/useSize.d.ts +3 -0
  273. package/es/config-provider/hooks/useSize.js +19 -0
  274. package/es/config-provider/hooks/useTheme.js +31 -16
  275. package/es/config-provider/hooks/useThemeKey.d.ts +3 -0
  276. package/es/config-provider/hooks/useThemeKey.js +8 -0
  277. package/es/config-provider/index.d.ts +85 -9
  278. package/es/config-provider/index.js +267 -107
  279. package/es/config-provider/style/index.d.ts +1 -2
  280. package/es/config-provider/style/index.js +2 -24
  281. package/es/date-picker/PickerButton.d.ts +2 -2
  282. package/es/date-picker/PickerButton.js +3 -2
  283. package/es/date-picker/generatePicker/Components.d.ts +5 -0
  284. package/es/date-picker/generatePicker/Components.js +5 -0
  285. package/es/date-picker/generatePicker/generateRangePicker.d.ts +1 -0
  286. package/es/date-picker/generatePicker/generateRangePicker.js +121 -110
  287. package/es/date-picker/generatePicker/generateSinglePicker.d.ts +18 -12
  288. package/es/date-picker/generatePicker/generateSinglePicker.js +116 -110
  289. package/es/date-picker/generatePicker/index.d.ts +22 -61
  290. package/es/date-picker/generatePicker/index.js +13 -68
  291. package/es/date-picker/generatePicker/interface.js +2 -0
  292. package/es/date-picker/index.d.ts +29 -14
  293. package/es/date-picker/index.js +17 -4
  294. package/es/date-picker/locale/ar_EG.js +6 -7
  295. package/es/date-picker/locale/az_AZ.js +2 -3
  296. package/es/date-picker/locale/bg_BG.js +6 -7
  297. package/es/date-picker/locale/bn_BD.js +6 -7
  298. package/es/date-picker/locale/by_BY.js +2 -3
  299. package/es/date-picker/locale/ca_ES.js +6 -7
  300. package/es/date-picker/locale/cs_CZ.js +6 -7
  301. package/es/date-picker/locale/da_DK.js +6 -7
  302. package/es/date-picker/locale/de_DE.js +6 -7
  303. package/es/date-picker/locale/el_GR.js +6 -7
  304. package/es/date-picker/locale/en_GB.js +6 -7
  305. package/es/date-picker/locale/en_US.js +6 -7
  306. package/es/date-picker/locale/es_ES.js +6 -7
  307. package/es/date-picker/locale/et_EE.js +6 -7
  308. package/es/date-picker/locale/eu_ES.d.ts +3 -0
  309. package/es/date-picker/locale/eu_ES.js +13 -0
  310. package/es/date-picker/locale/fa_IR.js +7 -7
  311. package/es/date-picker/locale/fi_FI.js +6 -7
  312. package/es/date-picker/locale/fr_BE.js +14 -8
  313. package/es/date-picker/locale/fr_CA.js +6 -7
  314. package/es/date-picker/locale/fr_FR.js +6 -7
  315. package/es/date-picker/locale/ga_IE.js +6 -7
  316. package/es/date-picker/locale/gl_ES.js +6 -7
  317. package/es/date-picker/locale/he_IL.js +6 -7
  318. package/es/date-picker/locale/hi_IN.js +6 -7
  319. package/es/date-picker/locale/hr_HR.js +6 -7
  320. package/es/date-picker/locale/hu_HU.js +6 -7
  321. package/es/date-picker/locale/id_ID.js +6 -7
  322. package/es/date-picker/locale/is_IS.js +6 -7
  323. package/es/date-picker/locale/it_IT.js +6 -7
  324. package/es/date-picker/locale/ja_JP.js +6 -7
  325. package/es/date-picker/locale/ka_GE.js +2 -3
  326. package/es/date-picker/locale/kk_KZ.js +6 -7
  327. package/es/date-picker/locale/km_KH.js +6 -7
  328. package/es/date-picker/locale/kmr_IQ.js +6 -7
  329. package/es/date-picker/locale/kn_IN.js +6 -7
  330. package/es/date-picker/locale/ko_KR.js +6 -7
  331. package/es/date-picker/locale/lt_LT.js +7 -7
  332. package/es/date-picker/locale/lv_LV.js +6 -7
  333. package/es/date-picker/locale/mk_MK.js +6 -7
  334. package/es/date-picker/locale/ml_IN.js +6 -7
  335. package/es/date-picker/locale/mn_MN.js +6 -7
  336. package/es/date-picker/locale/ms_MY.js +6 -7
  337. package/es/date-picker/locale/my_MM.d.ts +3 -0
  338. package/es/date-picker/locale/my_MM.js +21 -0
  339. package/es/date-picker/locale/nb_NO.js +6 -7
  340. package/es/date-picker/locale/nl_BE.js +6 -7
  341. package/es/date-picker/locale/nl_NL.js +6 -7
  342. package/es/date-picker/locale/pl_PL.js +6 -7
  343. package/es/date-picker/locale/pt_BR.js +6 -7
  344. package/es/date-picker/locale/pt_PT.js +6 -7
  345. package/es/date-picker/locale/ro_RO.js +6 -7
  346. package/es/date-picker/locale/ru_RU.js +6 -8
  347. package/es/date-picker/locale/si_LK.js +6 -7
  348. package/es/date-picker/locale/sk_SK.js +6 -7
  349. package/es/date-picker/locale/sl_SI.js +5 -6
  350. package/es/date-picker/locale/sr_RS.js +6 -7
  351. package/es/date-picker/locale/sv_SE.js +6 -7
  352. package/es/date-picker/locale/ta_IN.js +15 -9
  353. package/es/date-picker/locale/th_TH.js +6 -7
  354. package/es/date-picker/locale/tk_TK.js +2 -3
  355. package/es/date-picker/locale/tr_TR.js +6 -7
  356. package/es/date-picker/locale/uk_UA.js +6 -7
  357. package/es/date-picker/locale/ur_PK.js +6 -7
  358. package/es/date-picker/locale/vi_VN.js +15 -8
  359. package/es/date-picker/locale/zh_CN.js +8 -9
  360. package/es/date-picker/locale/zh_TW.js +6 -7
  361. package/es/date-picker/style/index.d.ts +89 -18
  362. package/es/date-picker/style/index.js +483 -433
  363. package/es/date-picker/util.d.ts +54 -10
  364. package/es/date-picker/util.js +56 -19
  365. package/es/descriptions/Cell.js +23 -24
  366. package/es/descriptions/DescriptionsContext.d.ts +7 -0
  367. package/es/descriptions/DescriptionsContext.js +3 -0
  368. package/es/descriptions/Item.js +0 -1
  369. package/es/descriptions/Row.d.ts +2 -2
  370. package/es/descriptions/Row.js +40 -47
  371. package/es/descriptions/constant.d.ts +3 -0
  372. package/es/descriptions/constant.js +9 -0
  373. package/es/descriptions/hooks/useItems.d.ts +4 -0
  374. package/es/descriptions/hooks/useItems.js +37 -0
  375. package/es/descriptions/hooks/useRow.d.ts +3 -0
  376. package/es/descriptions/hooks/useRow.js +72 -0
  377. package/es/descriptions/index.d.ts +23 -9
  378. package/es/descriptions/index.js +80 -140
  379. package/es/descriptions/style/index.d.ts +47 -1
  380. package/es/descriptions/style/index.js +74 -84
  381. package/es/divider/index.d.ts +1 -0
  382. package/es/divider/index.js +58 -47
  383. package/es/divider/style/index.d.ts +19 -2
  384. package/es/divider/style/index.js +84 -75
  385. package/es/drawer/DrawerPanel.d.ts +29 -2
  386. package/es/drawer/DrawerPanel.js +67 -49
  387. package/es/drawer/index.d.ts +15 -12
  388. package/es/drawer/index.js +118 -101
  389. package/es/drawer/style/index.d.ts +18 -4
  390. package/es/drawer/style/index.js +63 -60
  391. package/es/drawer/style/motion.js +9 -9
  392. package/es/dropdown/dropdown-button.d.ts +3 -4
  393. package/es/dropdown/dropdown-button.js +57 -76
  394. package/es/dropdown/dropdown.d.ts +11 -19
  395. package/es/dropdown/dropdown.js +159 -127
  396. package/es/dropdown/index.d.ts +8 -2
  397. package/es/dropdown/index.js +6 -1
  398. package/es/dropdown/style/index.d.ts +17 -7
  399. package/es/dropdown/style/index.js +98 -154
  400. package/es/dropdown/style/status.js +9 -8
  401. package/es/empty/empty.d.ts +2 -1
  402. package/es/empty/empty.js +22 -2
  403. package/es/empty/index.d.ts +1 -0
  404. package/es/empty/index.js +58 -57
  405. package/es/empty/simple.d.ts +2 -1
  406. package/es/empty/simple.js +26 -21
  407. package/es/empty/style/index.d.ts +2 -1
  408. package/es/empty/style/index.js +31 -24
  409. package/es/flex/index.d.ts +4 -0
  410. package/es/flex/index.js +70 -0
  411. package/es/flex/interface.d.ts +15 -0
  412. package/es/flex/interface.js +1 -0
  413. package/es/flex/style/index.d.ts +31 -0
  414. package/es/flex/style/index.js +83 -0
  415. package/es/flex/utils.d.ts +6 -0
  416. package/es/flex/utils.js +30 -0
  417. package/es/float-button/BackTop.d.ts +3 -3
  418. package/es/float-button/BackTop.js +52 -71
  419. package/es/float-button/FloatButton.d.ts +2 -2
  420. package/es/float-button/FloatButton.js +63 -53
  421. package/es/float-button/FloatButtonContent.js +9 -9
  422. package/es/float-button/FloatButtonGroup.js +101 -66
  423. package/es/float-button/PurePanel.d.ts +4 -4
  424. package/es/float-button/PurePanel.js +19 -33
  425. package/es/float-button/index.js +3 -1
  426. package/es/float-button/interface.d.ts +15 -6
  427. package/es/float-button/style/index.d.ts +4 -2
  428. package/es/float-button/style/index.js +156 -116
  429. package/es/float-button/util.d.ts +2 -0
  430. package/es/float-button/util.js +9 -0
  431. package/es/form/ErrorList.d.ts +2 -1
  432. package/es/form/ErrorList.js +51 -46
  433. package/es/form/Form.d.ts +11 -4
  434. package/es/form/Form.js +98 -80
  435. package/es/form/FormItem/ItemHolder.d.ts +3 -2
  436. package/es/form/FormItem/ItemHolder.js +77 -100
  437. package/es/form/FormItem/StatusProvider.d.ts +16 -0
  438. package/es/form/FormItem/StatusProvider.js +72 -0
  439. package/es/form/FormItem/index.d.ts +17 -7
  440. package/es/form/FormItem/index.js +156 -173
  441. package/es/form/FormItemInput.js +31 -31
  442. package/es/form/FormItemLabel.d.ts +0 -2
  443. package/es/form/FormItemLabel.js +87 -89
  444. package/es/form/FormList.d.ts +1 -1
  445. package/es/form/FormList.js +13 -20
  446. package/es/form/context.d.ts +7 -4
  447. package/es/form/context.js +11 -10
  448. package/es/form/hooks/useChildren.d.ts +2 -0
  449. package/es/form/hooks/useChildren.js +8 -0
  450. package/es/form/hooks/useDebounce.js +9 -5
  451. package/es/form/hooks/useForm.js +10 -11
  452. package/es/form/hooks/useFormInstance.js +1 -2
  453. package/es/form/hooks/useFormItemStatus.d.ts +3 -0
  454. package/es/form/hooks/useFormItemStatus.js +15 -9
  455. package/es/form/hooks/useFormWarning.d.ts +2 -0
  456. package/es/form/hooks/useFormWarning.js +16 -0
  457. package/es/form/hooks/useFrameState.js +9 -9
  458. package/es/form/hooks/useItemRef.js +2 -7
  459. package/es/form/index.d.ts +3 -3
  460. package/es/form/index.js +3 -3
  461. package/es/form/interface.d.ts +2 -2
  462. package/es/form/style/explain.js +10 -10
  463. package/es/form/style/fallbackCmp.d.ts +7 -0
  464. package/es/form/style/fallbackCmp.js +26 -0
  465. package/es/form/style/index.d.ts +53 -2
  466. package/es/form/style/index.js +115 -107
  467. package/es/form/util.d.ts +7 -0
  468. package/es/form/util.js +26 -7
  469. package/es/form/validateMessagesContext.d.ts +4 -0
  470. package/es/form/validateMessagesContext.js +7 -0
  471. package/es/grid/RowContext.d.ts +2 -3
  472. package/es/grid/col.d.ts +2 -1
  473. package/es/grid/col.js +43 -65
  474. package/es/grid/hooks/useBreakpoint.d.ts +1 -1
  475. package/es/grid/hooks/useBreakpoint.js +9 -8
  476. package/es/grid/index.d.ts +2 -2
  477. package/es/grid/index.js +5 -4
  478. package/es/grid/row.d.ts +7 -7
  479. package/es/grid/row.js +86 -111
  480. package/es/grid/style/index.d.ts +8 -2
  481. package/es/grid/style/index.js +49 -45
  482. package/es/icon/index.js +6 -3
  483. package/es/image/PreviewGroup.d.ts +10 -8
  484. package/es/image/PreviewGroup.js +39 -32
  485. package/es/image/index.d.ts +2 -2
  486. package/es/image/index.js +53 -45
  487. package/es/image/style/index.d.ts +28 -5
  488. package/es/image/style/index.js +156 -118
  489. package/es/index.d.ts +22 -8
  490. package/es/index.js +9 -2
  491. package/es/input/Group.js +27 -20
  492. package/es/input/Input.d.ts +4 -5
  493. package/es/input/Input.js +96 -151
  494. package/es/input/Password.js +49 -71
  495. package/es/input/Search.d.ts +3 -1
  496. package/es/input/Search.js +39 -58
  497. package/es/input/TextArea.d.ts +6 -15
  498. package/es/input/TextArea.js +74 -219
  499. package/es/input/hooks/useRemovePasswordTimeout.js +0 -4
  500. package/es/input/index.js +5 -0
  501. package/es/input/style/index.d.ts +85 -14
  502. package/es/input/style/index.js +321 -268
  503. package/es/input/utils.d.ts +1 -2
  504. package/es/input-number/index.d.ts +5 -4
  505. package/es/input-number/index.js +87 -136
  506. package/es/input-number/style/index.d.ts +60 -3
  507. package/es/input-number/style/index.js +165 -124
  508. package/es/layout/Sider.js +66 -91
  509. package/es/layout/context.d.ts +8 -0
  510. package/es/layout/context.js +11 -0
  511. package/es/layout/hooks/useHasSider.d.ts +2 -0
  512. package/es/layout/hooks/useHasSider.js +14 -0
  513. package/es/layout/index.d.ts +3 -1
  514. package/es/layout/index.js +4 -1
  515. package/es/layout/layout.d.ts +5 -10
  516. package/es/layout/layout.js +72 -75
  517. package/es/layout/style/index.d.ts +87 -8
  518. package/es/layout/style/index.js +104 -90
  519. package/es/layout/style/light.js +20 -18
  520. package/es/list/Item.js +37 -50
  521. package/es/list/context.d.ts +8 -0
  522. package/es/list/context.js +3 -0
  523. package/es/list/index.d.ts +6 -8
  524. package/es/list/index.js +90 -117
  525. package/es/list/style/index.d.ts +58 -1
  526. package/es/list/style/index.js +151 -129
  527. package/es/locale/ar_EG.d.ts +1 -1
  528. package/es/locale/ar_EG.js +4 -4
  529. package/es/locale/az_AZ.d.ts +1 -1
  530. package/es/locale/az_AZ.js +4 -4
  531. package/es/locale/bg_BG.d.ts +1 -1
  532. package/es/locale/bg_BG.js +51 -0
  533. package/es/locale/bn_BD.d.ts +1 -1
  534. package/es/locale/bn_BD.js +4 -4
  535. package/es/locale/by_BY.d.ts +1 -1
  536. package/es/locale/by_BY.js +4 -4
  537. package/es/locale/ca_ES.d.ts +1 -1
  538. package/es/locale/ca_ES.js +4 -4
  539. package/es/locale/cs_CZ.d.ts +1 -1
  540. package/es/locale/cs_CZ.js +4 -4
  541. package/es/locale/da_DK.d.ts +1 -1
  542. package/es/locale/de_DE.d.ts +1 -1
  543. package/es/locale/de_DE.js +15 -5
  544. package/es/locale/el_GR.d.ts +1 -1
  545. package/es/locale/en_GB.d.ts +1 -1
  546. package/es/locale/en_GB.js +4 -4
  547. package/es/locale/en_US.d.ts +1 -1
  548. package/es/locale/en_US.js +11 -4
  549. package/es/locale/es_ES.d.ts +1 -1
  550. package/es/locale/es_ES.js +4 -4
  551. package/es/locale/et_EE.d.ts +1 -1
  552. package/es/locale/et_EE.js +4 -4
  553. package/es/locale/eu_ES.d.ts +3 -0
  554. package/es/locale/eu_ES.js +144 -0
  555. package/es/locale/fa_IR.d.ts +1 -1
  556. package/es/locale/fa_IR.js +17 -6
  557. package/es/locale/fi_FI.d.ts +1 -1
  558. package/es/locale/fr_BE.d.ts +1 -1
  559. package/es/locale/fr_BE.js +87 -7
  560. package/es/locale/fr_CA.d.ts +1 -1
  561. package/es/locale/fr_CA.js +73 -5
  562. package/es/locale/fr_FR.d.ts +1 -1
  563. package/es/locale/fr_FR.js +9 -4
  564. package/es/locale/ga_IE.d.ts +1 -1
  565. package/es/locale/ga_IE.js +4 -4
  566. package/es/locale/gl_ES.d.ts +1 -1
  567. package/es/locale/gl_ES.js +4 -4
  568. package/es/locale/he_IL.d.ts +1 -1
  569. package/es/locale/he_IL.js +7 -7
  570. package/es/locale/hi_IN.d.ts +1 -1
  571. package/es/locale/hi_IN.js +4 -4
  572. package/es/locale/hr_HR.d.ts +1 -1
  573. package/es/locale/hr_HR.js +4 -4
  574. package/es/locale/hu_HU.d.ts +1 -1
  575. package/es/locale/hy_AM.d.ts +1 -1
  576. package/es/locale/id_ID.d.ts +1 -1
  577. package/es/locale/index.d.ts +59 -0
  578. package/es/locale/index.js +34 -0
  579. package/es/locale/is_IS.d.ts +1 -1
  580. package/es/locale/it_IT.d.ts +1 -1
  581. package/es/locale/it_IT.js +4 -4
  582. package/es/locale/ja_JP.d.ts +1 -1
  583. package/es/locale/ja_JP.js +4 -4
  584. package/es/locale/ka_GE.d.ts +1 -1
  585. package/es/locale/ka_GE.js +4 -4
  586. package/es/locale/kk_KZ.d.ts +1 -1
  587. package/es/locale/kk_KZ.js +4 -4
  588. package/es/locale/km_KH.d.ts +1 -1
  589. package/es/locale/km_KH.js +4 -4
  590. package/es/locale/kmr_IQ.d.ts +1 -1
  591. package/es/locale/kn_IN.d.ts +1 -1
  592. package/es/locale/ko_KR.d.ts +1 -1
  593. package/es/locale/ko_KR.js +56 -9
  594. package/es/locale/ku_IQ.d.ts +1 -1
  595. package/es/locale/ku_IQ.js +2 -2
  596. package/es/locale/lt_LT.d.ts +1 -1
  597. package/es/locale/lt_LT.js +43 -20
  598. package/es/locale/lv_LV.d.ts +1 -1
  599. package/es/locale/mk_MK.d.ts +1 -1
  600. package/es/locale/ml_IN.d.ts +1 -1
  601. package/es/locale/ml_IN.js +4 -4
  602. package/es/locale/mn_MN.d.ts +1 -1
  603. package/es/locale/mn_MN.js +4 -4
  604. package/es/locale/ms_MY.d.ts +1 -1
  605. package/es/locale/my_MM.d.ts +3 -0
  606. package/es/locale/my_MM.js +139 -0
  607. package/es/locale/nb_NO.d.ts +1 -1
  608. package/es/locale/nb_NO.js +4 -4
  609. package/es/locale/ne_NP.d.ts +1 -1
  610. package/es/locale/nl_BE.d.ts +1 -1
  611. package/es/locale/nl_BE.js +4 -4
  612. package/es/locale/nl_NL.d.ts +1 -1
  613. package/es/locale/nl_NL.js +4 -4
  614. package/es/locale/pl_PL.d.ts +1 -1
  615. package/es/locale/pl_PL.js +9 -4
  616. package/es/locale/pt_BR.d.ts +1 -1
  617. package/es/locale/pt_BR.js +11 -4
  618. package/es/locale/pt_PT.d.ts +1 -1
  619. package/es/locale/pt_PT.js +4 -4
  620. package/es/locale/ro_RO.d.ts +1 -1
  621. package/es/locale/ro_RO.js +4 -4
  622. package/es/locale/ru_RU.d.ts +1 -1
  623. package/es/locale/ru_RU.js +17 -5
  624. package/es/locale/si_LK.d.ts +1 -1
  625. package/es/locale/si_LK.js +4 -4
  626. package/es/locale/sk_SK.d.ts +1 -1
  627. package/es/locale/sk_SK.js +4 -4
  628. package/es/locale/sl_SI.d.ts +1 -1
  629. package/es/locale/sr_RS.d.ts +1 -1
  630. package/es/locale/sr_RS.js +4 -4
  631. package/es/locale/sv_SE.d.ts +1 -1
  632. package/es/locale/sv_SE.js +15 -4
  633. package/es/locale/ta_IN.d.ts +1 -1
  634. package/es/locale/ta_IN.js +67 -1
  635. package/es/locale/th_TH.d.ts +1 -1
  636. package/es/locale/th_TH.js +19 -4
  637. package/es/locale/tk_TK.d.ts +1 -1
  638. package/es/locale/tk_TK.js +4 -4
  639. package/es/locale/tr_TR.d.ts +1 -1
  640. package/es/locale/tr_TR.js +4 -4
  641. package/es/locale/uk_UA.d.ts +1 -1
  642. package/es/locale/uk_UA.js +13 -4
  643. package/es/locale/ur_PK.d.ts +1 -1
  644. package/es/locale/ur_PK.js +4 -4
  645. package/es/locale/useLocale.d.ts +4 -0
  646. package/es/locale/useLocale.js +22 -0
  647. package/es/locale/vi_VN.d.ts +1 -1
  648. package/es/locale/vi_VN.js +107 -11
  649. package/es/locale/zh_CN.d.ts +1 -1
  650. package/es/locale/zh_CN.js +11 -4
  651. package/es/locale/zh_HK.d.ts +1 -1
  652. package/es/locale/zh_HK.js +4 -4
  653. package/es/locale/zh_TW.d.ts +1 -1
  654. package/es/locale/zh_TW.js +4 -4
  655. package/es/mentions/index.d.ts +5 -7
  656. package/es/mentions/index.js +86 -109
  657. package/es/mentions/style/index.d.ts +18 -2
  658. package/es/mentions/style/index.js +57 -63
  659. package/es/menu/MenuContext.d.ts +0 -2
  660. package/es/menu/MenuContext.js +2 -0
  661. package/es/menu/MenuDivider.js +14 -20
  662. package/es/menu/MenuItem.d.ts +8 -9
  663. package/es/menu/MenuItem.js +66 -129
  664. package/es/menu/OverrideContext.d.ts +3 -1
  665. package/es/menu/OverrideContext.js +20 -19
  666. package/es/menu/SubMenu.d.ts +1 -1
  667. package/es/menu/SubMenu.js +31 -25
  668. package/es/menu/hooks/useItems.d.ts +6 -6
  669. package/es/menu/hooks/useItems.js +20 -34
  670. package/es/menu/index.d.ts +14 -5
  671. package/es/menu/index.js +10 -7
  672. package/es/menu/menu.d.ts +1 -1
  673. package/es/menu/menu.js +83 -79
  674. package/es/menu/style/horizontal.js +23 -20
  675. package/es/menu/style/index.d.ts +293 -7
  676. package/es/menu/style/index.js +334 -217
  677. package/es/menu/style/rtl.d.ts +2 -1
  678. package/es/menu/style/rtl.js +15 -11
  679. package/es/menu/style/theme.js +108 -101
  680. package/es/menu/style/vertical.js +72 -70
  681. package/es/message/PurePanel.d.ts +9 -8
  682. package/es/message/PurePanel.js +39 -39
  683. package/es/message/index.d.ts +12 -11
  684. package/es/message/index.js +61 -112
  685. package/es/message/style/index.d.ts +18 -2
  686. package/es/message/style/index.js +73 -65
  687. package/es/message/useMessage.d.ts +3 -3
  688. package/es/message/useMessage.js +120 -116
  689. package/es/message/util.js +1 -5
  690. package/es/modal/ConfirmDialog.d.ts +23 -10
  691. package/es/modal/ConfirmDialog.js +161 -106
  692. package/es/modal/Modal.d.ts +1 -105
  693. package/es/modal/Modal.js +108 -71
  694. package/es/modal/PurePanel.d.ts +5 -9
  695. package/es/modal/PurePanel.js +39 -70
  696. package/es/modal/components/ConfirmCancelBtn.d.ts +10 -0
  697. package/es/modal/components/ConfirmCancelBtn.js +29 -0
  698. package/es/modal/components/ConfirmOkBtn.d.ts +9 -0
  699. package/es/modal/components/ConfirmOkBtn.js +30 -0
  700. package/es/modal/components/NormalCancelBtn.d.ts +8 -0
  701. package/es/modal/components/NormalCancelBtn.js +15 -0
  702. package/es/modal/components/NormalOkBtn.d.ts +8 -0
  703. package/es/modal/components/NormalOkBtn.js +19 -0
  704. package/es/modal/confirm.d.ts +1 -1
  705. package/es/modal/confirm.js +42 -52
  706. package/es/modal/context.d.ts +8 -0
  707. package/es/modal/context.js +4 -0
  708. package/es/modal/destroyFns.d.ts +1 -1
  709. package/es/modal/index.d.ts +1 -1
  710. package/es/modal/index.js +5 -10
  711. package/es/modal/interface.d.ts +125 -0
  712. package/es/modal/interface.js +1 -0
  713. package/es/modal/locale.d.ts +1 -1
  714. package/es/modal/locale.js +19 -7
  715. package/es/modal/shared.d.ts +9 -0
  716. package/es/modal/shared.js +74 -0
  717. package/es/modal/style/confirmCmp.d.ts +3 -0
  718. package/es/modal/style/confirmCmp.js +82 -0
  719. package/es/modal/style/index.d.ts +62 -20
  720. package/es/modal/style/index.js +120 -188
  721. package/es/modal/useModal/HookModal.d.ts +6 -1
  722. package/es/modal/useModal/HookModal.js +51 -42
  723. package/es/modal/useModal/index.d.ts +7 -2
  724. package/es/modal/useModal/index.js +48 -27
  725. package/es/notification/PurePanel.d.ts +10 -8
  726. package/es/notification/PurePanel.js +73 -59
  727. package/es/notification/index.d.ts +13 -9
  728. package/es/notification/index.js +56 -113
  729. package/es/notification/interface.d.ts +16 -9
  730. package/es/notification/interface.js +1 -1
  731. package/es/notification/style/index.d.ts +25 -6
  732. package/es/notification/style/index.js +136 -143
  733. package/es/notification/style/placement.js +51 -33
  734. package/es/notification/style/pure-panel.d.ts +3 -0
  735. package/es/notification/style/pure-panel.js +16 -0
  736. package/es/notification/style/stack.d.ts +4 -0
  737. package/es/notification/style/stack.js +81 -0
  738. package/es/notification/useNotification.d.ts +3 -3
  739. package/es/notification/useNotification.js +128 -94
  740. package/es/notification/util.js +1 -8
  741. package/es/pagination/Pagination.d.ts +5 -3
  742. package/es/pagination/Pagination.js +87 -85
  743. package/es/pagination/Select.js +6 -6
  744. package/es/pagination/index.js +2 -0
  745. package/es/pagination/style/bordered.d.ts +3 -0
  746. package/es/pagination/style/bordered.js +69 -0
  747. package/es/pagination/style/index.d.ts +64 -1
  748. package/es/pagination/style/index.js +190 -225
  749. package/es/popconfirm/PurePanel.d.ts +5 -4
  750. package/es/popconfirm/PurePanel.js +79 -76
  751. package/es/popconfirm/index.d.ts +3 -1
  752. package/es/popconfirm/index.js +49 -63
  753. package/es/popconfirm/style/index.d.ts +8 -2
  754. package/es/popconfirm/style/index.js +42 -30
  755. package/es/popover/PurePanel.d.ts +7 -3
  756. package/es/popover/PurePanel.js +39 -37
  757. package/es/popover/index.d.ts +1 -1
  758. package/es/popover/index.js +40 -53
  759. package/es/popover/style/index.d.ts +28 -5
  760. package/es/popover/style/index.js +96 -85
  761. package/es/progress/Circle.js +39 -25
  762. package/es/progress/Line.js +65 -49
  763. package/es/progress/Steps.d.ts +1 -2
  764. package/es/progress/Steps.js +36 -19
  765. package/es/progress/index.d.ts +1 -1
  766. package/es/progress/index.js +2 -0
  767. package/es/progress/progress.d.ts +11 -10
  768. package/es/progress/progress.js +73 -65
  769. package/es/progress/style/index.d.ts +34 -1
  770. package/es/progress/style/index.js +92 -82
  771. package/es/progress/utils.d.ts +4 -0
  772. package/es/progress/utils.js +62 -12
  773. package/es/qr-code/index.d.ts +4 -0
  774. package/es/qr-code/index.js +112 -0
  775. package/es/qr-code/interface.d.ts +33 -0
  776. package/es/qr-code/interface.js +1 -0
  777. package/es/qr-code/style/index.d.ts +7 -0
  778. package/es/qr-code/style/index.js +61 -0
  779. package/es/qrcode/index.d.ts +2 -0
  780. package/es/qrcode/index.js +6 -0
  781. package/es/qrcode/interface.d.ts +1 -0
  782. package/es/qrcode/interface.js +3 -0
  783. package/es/qrcode/style/index.d.ts +1 -0
  784. package/es/qrcode/style/index.js +3 -0
  785. package/es/radio/group.js +60 -54
  786. package/es/radio/index.d.ts +3 -3
  787. package/es/radio/index.js +2 -0
  788. package/es/radio/interface.d.ts +1 -0
  789. package/es/radio/radio.d.ts +2 -2
  790. package/es/radio/radio.js +56 -59
  791. package/es/radio/radioButton.d.ts +2 -2
  792. package/es/radio/radioButton.js +5 -14
  793. package/es/radio/style/index.d.ts +74 -1
  794. package/es/radio/style/index.js +235 -253
  795. package/es/rate/index.d.ts +3 -2
  796. package/es/rate/index.js +28 -29
  797. package/es/rate/style/index.d.ts +27 -2
  798. package/es/rate/style/index.js +42 -46
  799. package/es/result/index.d.ts +8 -7
  800. package/es/result/index.js +57 -50
  801. package/es/result/noFound.d.ts +2 -1
  802. package/es/result/noFound.js +3 -3
  803. package/es/result/serverError.d.ts +2 -1
  804. package/es/result/serverError.js +2 -2
  805. package/es/result/style/index.d.ts +24 -3
  806. package/es/result/style/index.js +54 -55
  807. package/es/result/unauthorized.d.ts +2 -1
  808. package/es/result/unauthorized.js +2 -2
  809. package/es/row/index.js +2 -0
  810. package/es/row/style/index.js +2 -1
  811. package/es/segmented/index.d.ts +2 -1
  812. package/es/segmented/index.js +44 -46
  813. package/es/segmented/style/index.d.ts +34 -1
  814. package/es/segmented/style/index.js +106 -86
  815. package/es/select/index.d.ts +18 -8
  816. package/es/select/index.js +143 -114
  817. package/es/select/style/dropdown.js +46 -40
  818. package/es/select/style/index.d.ts +101 -3
  819. package/es/select/style/index.js +158 -98
  820. package/es/select/style/multiple.d.ts +2 -1
  821. package/es/select/style/multiple.js +89 -93
  822. package/es/select/style/single.js +53 -60
  823. package/es/select/useBuiltinPlacements.d.ts +3 -0
  824. package/es/select/useBuiltinPlacements.js +35 -0
  825. package/es/select/useIcons.d.ts +26 -0
  826. package/es/select/useIcons.js +81 -0
  827. package/es/select/useShowArrow.d.ts +8 -0
  828. package/es/select/useShowArrow.js +9 -0
  829. package/es/skeleton/Avatar.js +28 -23
  830. package/es/skeleton/Button.js +28 -24
  831. package/es/skeleton/Element.d.ts +1 -0
  832. package/es/skeleton/Element.js +14 -13
  833. package/es/skeleton/Image.js +26 -20
  834. package/es/skeleton/Input.js +27 -23
  835. package/es/skeleton/Node.js +26 -20
  836. package/es/skeleton/Paragraph.js +10 -17
  837. package/es/skeleton/Skeleton.d.ts +2 -1
  838. package/es/skeleton/Skeleton.js +60 -75
  839. package/es/skeleton/Title.js +6 -8
  840. package/es/skeleton/index.js +2 -0
  841. package/es/skeleton/style/index.d.ts +36 -1
  842. package/es/skeleton/style/index.js +148 -165
  843. package/es/slider/SliderTooltip.d.ts +2 -1
  844. package/es/slider/SliderTooltip.js +7 -8
  845. package/es/slider/index.d.ts +31 -11
  846. package/es/slider/index.js +97 -101
  847. package/es/slider/style/index.d.ts +82 -1
  848. package/es/slider/style/index.js +160 -122
  849. package/es/space/Compact.d.ts +1 -0
  850. package/es/space/Compact.js +43 -45
  851. package/es/space/Item.d.ts +4 -5
  852. package/es/space/Item.js +12 -36
  853. package/es/space/context.d.ts +6 -0
  854. package/es/space/context.js +5 -0
  855. package/es/space/index.d.ts +9 -7
  856. package/es/space/index.js +72 -95
  857. package/es/space/style/compact.js +6 -6
  858. package/es/space/style/index.d.ts +4 -1
  859. package/es/space/style/index.js +49 -13
  860. package/es/spin/index.d.ts +7 -9
  861. package/es/spin/index.js +107 -122
  862. package/es/spin/style/index.d.ts +23 -1
  863. package/es/spin/style/index.js +124 -94
  864. package/es/statistic/Countdown.d.ts +3 -3
  865. package/es/statistic/Countdown.js +8 -19
  866. package/es/statistic/Number.js +14 -19
  867. package/es/statistic/Statistic.d.ts +3 -6
  868. package/es/statistic/Statistic.js +58 -46
  869. package/es/statistic/index.d.ts +11 -3
  870. package/es/statistic/index.js +2 -0
  871. package/es/statistic/interface.d.ts +0 -0
  872. package/es/statistic/interface.js +0 -0
  873. package/es/statistic/style/index.d.ts +16 -1
  874. package/es/statistic/style/index.js +38 -36
  875. package/es/statistic/utils.d.ts +2 -2
  876. package/es/statistic/utils.js +25 -9
  877. package/es/steps/index.d.ts +1 -0
  878. package/es/steps/index.js +51 -50
  879. package/es/steps/style/custom-icon.js +18 -17
  880. package/es/steps/style/index.d.ts +73 -20
  881. package/es/steps/style/index.js +114 -125
  882. package/es/steps/style/inline.d.ts +1 -1
  883. package/es/steps/style/inline.js +34 -36
  884. package/es/steps/style/label-placement.d.ts +1 -1
  885. package/es/steps/style/label-placement.js +16 -15
  886. package/es/steps/style/nav.d.ts +1 -1
  887. package/es/steps/style/nav.js +42 -38
  888. package/es/steps/style/progress-dot.d.ts +1 -1
  889. package/es/steps/style/progress-dot.js +54 -52
  890. package/es/steps/style/progress.js +21 -21
  891. package/es/steps/style/rtl.js +15 -15
  892. package/es/steps/style/small.d.ts +1 -1
  893. package/es/steps/style/small.js +28 -27
  894. package/es/steps/style/vertical.d.ts +1 -1
  895. package/es/steps/style/vertical.js +28 -27
  896. package/es/steps/useLegacyItems.js +6 -10
  897. package/es/style/compact-item-vertical.d.ts +4 -3
  898. package/es/style/compact-item-vertical.js +28 -36
  899. package/es/style/compact-item.d.ts +18 -10
  900. package/es/style/compact-item.js +38 -38
  901. package/es/style/index.d.ts +4 -5
  902. package/es/style/index.js +17 -13
  903. package/es/style/motion/collapse.js +8 -8
  904. package/es/style/motion/fade.js +7 -5
  905. package/es/style/motion/motion.js +10 -12
  906. package/es/style/motion/move.js +9 -7
  907. package/es/style/motion/slide.js +13 -7
  908. package/es/style/motion/zoom.js +9 -7
  909. package/es/style/operationUnit.js +1 -1
  910. package/es/style/placementArrow.d.ts +13 -12
  911. package/es/style/placementArrow.js +62 -91
  912. package/es/style/roundedArrow.d.ts +6 -1
  913. package/es/style/roundedArrow.js +49 -29
  914. package/es/switch/index.d.ts +11 -0
  915. package/es/switch/index.js +62 -44
  916. package/es/switch/style/index.d.ts +71 -1
  917. package/es/switch/style/index.js +179 -137
  918. package/es/table/Column.js +0 -2
  919. package/es/table/ColumnGroup.js +0 -2
  920. package/es/table/ExpandIcon.d.ts +1 -1
  921. package/es/table/ExpandIcon.js +12 -10
  922. package/es/table/InternalTable.d.ts +32 -0
  923. package/es/table/InternalTable.js +442 -0
  924. package/es/table/RcTable/VirtualTable.d.ts +5 -0
  925. package/es/table/RcTable/VirtualTable.js +11 -0
  926. package/es/table/RcTable/index.d.ts +5 -0
  927. package/es/table/RcTable/index.js +11 -0
  928. package/es/table/Table.d.ts +10 -40
  929. package/es/table/Table.js +24 -443
  930. package/es/table/hooks/useContainerWidth.d.ts +1 -0
  931. package/es/table/hooks/useContainerWidth.js +14 -0
  932. package/es/table/hooks/useFilter/FilterDropdown.d.ts +6 -4
  933. package/es/table/hooks/useFilter/FilterDropdown.js +139 -174
  934. package/es/table/hooks/useFilter/FilterSearch.d.ts +1 -1
  935. package/es/table/hooks/useFilter/FilterSearch.js +8 -10
  936. package/es/table/hooks/useFilter/FilterWrapper.d.ts +1 -1
  937. package/es/table/hooks/useFilter/FilterWrapper.js +10 -8
  938. package/es/table/hooks/useFilter/index.d.ts +5 -3
  939. package/es/table/hooks/useFilter/index.js +76 -86
  940. package/es/table/hooks/useLazyKVMap.js +1 -8
  941. package/es/table/hooks/usePagination.d.ts +3 -2
  942. package/es/table/hooks/usePagination.js +28 -60
  943. package/es/table/hooks/useSelection.d.ts +5 -3
  944. package/es/table/hooks/useSelection.js +196 -241
  945. package/es/table/hooks/useSorter.js +90 -122
  946. package/es/table/hooks/useTitleColumns.js +1 -7
  947. package/es/table/index.d.ts +5 -3
  948. package/es/table/index.js +2 -0
  949. package/es/table/interface.d.ts +25 -11
  950. package/es/table/interface.js +2 -2
  951. package/es/table/style/bordered.d.ts +1 -1
  952. package/es/table/style/bordered.js +41 -41
  953. package/es/table/style/ellipsis.js +10 -11
  954. package/es/table/style/empty.js +10 -9
  955. package/es/table/style/expand.d.ts +1 -1
  956. package/es/table/style/expand.js +58 -62
  957. package/es/table/style/filter.js +64 -60
  958. package/es/table/style/fixed.js +37 -33
  959. package/es/table/style/index.d.ts +161 -6
  960. package/es/table/style/index.js +217 -160
  961. package/es/table/style/pagination.d.ts +1 -1
  962. package/es/table/style/pagination.js +12 -10
  963. package/es/table/style/radius.d.ts +1 -1
  964. package/es/table/style/radius.js +20 -24
  965. package/es/table/style/rtl.js +22 -10
  966. package/es/table/style/selection.d.ts +1 -1
  967. package/es/table/style/selection.js +46 -27
  968. package/es/table/style/size.d.ts +1 -1
  969. package/es/table/style/size.js +23 -23
  970. package/es/table/style/sorter.js +23 -23
  971. package/es/table/style/sticky.d.ts +1 -1
  972. package/es/table/style/sticky.js +20 -14
  973. package/es/table/style/summary.d.ts +1 -1
  974. package/es/table/style/summary.js +14 -12
  975. package/es/table/style/virtual.d.ts +5 -0
  976. package/es/table/style/virtual.js +50 -0
  977. package/es/table/util.js +1 -5
  978. package/es/tabs/TabPane.d.ts +1 -1
  979. package/es/tabs/TabPane.js +0 -2
  980. package/es/tabs/hooks/useAnimateConfig.js +3 -7
  981. package/es/tabs/hooks/useLegacyItems.js +10 -21
  982. package/es/tabs/index.d.ts +6 -6
  983. package/es/tabs/index.js +73 -66
  984. package/es/tabs/style/index.d.ts +126 -9
  985. package/es/tabs/style/index.js +256 -221
  986. package/es/tabs/style/motion.js +10 -8
  987. package/es/tag/CheckableTag.d.ts +1 -1
  988. package/es/tag/CheckableTag.js +35 -35
  989. package/es/tag/index.d.ts +5 -2
  990. package/es/tag/index.js +78 -86
  991. package/es/tag/style/index.d.ts +23 -1
  992. package/es/tag/style/index.js +73 -98
  993. package/es/tag/style/presetCmp.d.ts +3 -0
  994. package/es/tag/style/presetCmp.js +34 -0
  995. package/es/tag/style/statusCmp.d.ts +3 -0
  996. package/es/tag/style/statusCmp.js +22 -0
  997. package/es/theme/context.d.ts +31 -0
  998. package/es/theme/context.js +15 -0
  999. package/es/theme/getDesignToken.d.ts +4 -0
  1000. package/es/theme/getDesignToken.js +12 -0
  1001. package/es/theme/index.d.ts +27 -0
  1002. package/es/theme/index.js +41 -0
  1003. package/es/theme/interface/alias.d.ts +545 -0
  1004. package/es/theme/interface/alias.js +1 -0
  1005. package/es/theme/interface/components.d.ts +133 -0
  1006. package/es/theme/interface/components.js +1 -0
  1007. package/es/theme/interface/index.d.ts +20 -0
  1008. package/es/theme/interface/index.js +1 -0
  1009. package/es/theme/interface/maps/colors.d.ts +501 -0
  1010. package/es/theme/interface/maps/colors.js +1 -0
  1011. package/es/theme/interface/maps/font.d.ts +117 -0
  1012. package/es/theme/interface/maps/font.js +1 -0
  1013. package/es/theme/interface/maps/index.d.ts +29 -0
  1014. package/es/theme/interface/maps/index.js +4 -0
  1015. package/es/theme/interface/maps/size.d.ts +69 -0
  1016. package/es/theme/interface/maps/size.js +1 -0
  1017. package/es/theme/interface/maps/style.d.ts +42 -0
  1018. package/es/theme/interface/maps/style.js +1 -0
  1019. package/es/theme/interface/presetColors.d.ts +11 -0
  1020. package/es/theme/interface/presetColors.js +1 -0
  1021. package/es/theme/interface/seeds.d.ts +223 -0
  1022. package/es/theme/interface/seeds.js +1 -0
  1023. package/es/theme/internal.d.ts +13 -0
  1024. package/es/theme/internal.js +12 -0
  1025. package/es/theme/themes/ColorMap.d.ts +15 -0
  1026. package/es/theme/themes/ColorMap.js +1 -0
  1027. package/es/theme/themes/compact/genCompactSizeMapToken.d.ts +2 -0
  1028. package/es/theme/themes/compact/genCompactSizeMapToken.js +16 -0
  1029. package/es/theme/themes/compact/index.d.ts +4 -0
  1030. package/es/theme/themes/compact/index.js +32 -0
  1031. package/es/theme/themes/dark/colorAlgorithm.d.ts +2 -0
  1032. package/es/theme/themes/dark/colorAlgorithm.js +8 -0
  1033. package/es/theme/themes/dark/colors.d.ts +3 -0
  1034. package/es/theme/themes/dark/colors.js +46 -0
  1035. package/es/theme/themes/dark/index.d.ts +4 -0
  1036. package/es/theme/themes/dark/index.js +34 -0
  1037. package/es/theme/themes/default/colorAlgorithm.d.ts +2 -0
  1038. package/es/theme/themes/default/colorAlgorithm.js +8 -0
  1039. package/es/theme/themes/default/colors.d.ts +3 -0
  1040. package/es/theme/themes/default/colors.js +44 -0
  1041. package/es/theme/themes/default/index.d.ts +2 -0
  1042. package/es/theme/themes/default/index.js +32 -0
  1043. package/es/theme/themes/seed.d.ts +4 -0
  1044. package/es/theme/themes/seed.js +69 -0
  1045. package/es/theme/themes/shared/genColorMapToken.d.ts +8 -0
  1046. package/es/theme/themes/shared/genColorMapToken.js +78 -0
  1047. package/es/theme/themes/shared/genCommonMapToken.d.ts +2 -0
  1048. package/es/theme/themes/shared/genCommonMapToken.js +33 -0
  1049. package/es/theme/themes/shared/genControlHeight.d.ts +3 -0
  1050. package/es/theme/themes/shared/genControlHeight.js +9 -0
  1051. package/es/theme/themes/shared/genFontSizes.d.ts +4 -0
  1052. package/es/theme/themes/shared/genFontSizes.js +19 -0
  1053. package/es/theme/themes/shared/genRadius.d.ts +3 -0
  1054. package/es/theme/themes/shared/genRadius.js +50 -0
  1055. package/es/theme/themes/shared/genSizeMapToken.d.ts +2 -0
  1056. package/es/theme/themes/shared/genSizeMapToken.js +23 -0
  1057. package/es/theme/themes/themeConfig.d.ts +3 -0
  1058. package/es/theme/themes/themeConfig.js +65 -0
  1059. package/es/theme/useToken.d.ts +19 -0
  1060. package/es/theme/useToken.js +128 -0
  1061. package/es/theme/util/alias.d.ts +12 -0
  1062. package/es/theme/util/alias.js +142 -0
  1063. package/es/theme/util/calc/CSSCalculator.d.ts +14 -0
  1064. package/es/theme/util/calc/CSSCalculator.js +101 -0
  1065. package/es/theme/util/calc/NumCalculator.d.ts +10 -0
  1066. package/es/theme/util/calc/NumCalculator.js +69 -0
  1067. package/es/theme/util/calc/calculator.d.ts +30 -0
  1068. package/es/theme/util/calc/calculator.js +6 -0
  1069. package/es/theme/util/calc/index.d.ts +5 -0
  1070. package/es/theme/util/calc/index.js +9 -0
  1071. package/es/theme/util/genComponentStyleHook.d.ts +90 -0
  1072. package/es/theme/util/genComponentStyleHook.js +237 -0
  1073. package/es/theme/util/genPresetColor.d.ts +16 -0
  1074. package/es/theme/util/genPresetColor.js +15 -0
  1075. package/es/theme/util/getAlphaColor.d.ts +2 -0
  1076. package/es/theme/util/getAlphaColor.js +40 -0
  1077. package/es/theme/util/maxmin.d.ts +7 -0
  1078. package/es/theme/util/maxmin.js +27 -0
  1079. package/es/theme/util/statistic.d.ts +11 -0
  1080. package/es/theme/util/statistic.js +67 -0
  1081. package/es/theme/util/useResetIconStyle.d.ts +4 -0
  1082. package/es/theme/util/useResetIconStyle.js +34 -0
  1083. package/es/time-picker/index.d.ts +4 -3
  1084. package/es/time-picker/index.js +15 -23
  1085. package/es/time-picker/locale/de_DE.js +2 -1
  1086. package/es/time-picker/locale/eu_ES.d.ts +3 -0
  1087. package/es/time-picker/locale/eu_ES.js +4 -0
  1088. package/es/time-picker/locale/fr_BE.js +2 -1
  1089. package/es/time-picker/locale/my_MM.d.ts +3 -0
  1090. package/es/time-picker/locale/my_MM.js +5 -0
  1091. package/es/time-picker/locale/vi_VN.js +2 -1
  1092. package/es/timeline/Timeline.d.ts +2 -0
  1093. package/es/timeline/Timeline.js +47 -85
  1094. package/es/timeline/TimelineItem.d.ts +4 -1
  1095. package/es/timeline/TimelineItem.js +24 -31
  1096. package/es/timeline/TimelineItemList.d.ts +7 -0
  1097. package/es/timeline/TimelineItemList.js +84 -0
  1098. package/es/timeline/index.js +2 -0
  1099. package/es/timeline/style/index.d.ts +29 -1
  1100. package/es/timeline/style/index.js +78 -67
  1101. package/es/timeline/useItems.d.ts +4 -0
  1102. package/es/timeline/useItems.js +13 -0
  1103. package/es/tooltip/PurePanel.d.ts +3 -1
  1104. package/es/tooltip/PurePanel.js +35 -30
  1105. package/es/tooltip/index.d.ts +19 -4
  1106. package/es/tooltip/index.js +137 -196
  1107. package/es/tooltip/style/index.d.ts +11 -4
  1108. package/es/tooltip/style/index.js +67 -80
  1109. package/es/tooltip/util.js +10 -10
  1110. package/es/tour/PurePanel.d.ts +2 -2
  1111. package/es/tour/PurePanel.js +36 -37
  1112. package/es/tour/index.d.ts +1 -1
  1113. package/es/tour/index.js +68 -38
  1114. package/es/tour/interface.d.ts +7 -3
  1115. package/es/tour/panelRender.d.ts +10 -2
  1116. package/es/tour/panelRender.js +107 -96
  1117. package/es/tour/style/index.d.ts +27 -2
  1118. package/es/tour/style/index.js +106 -93
  1119. package/es/transfer/ListBody.d.ts +6 -19
  1120. package/es/transfer/ListBody.js +110 -157
  1121. package/es/transfer/ListItem.d.ts +2 -2
  1122. package/es/transfer/ListItem.js +52 -51
  1123. package/es/transfer/hooks/useData.d.ts +3 -0
  1124. package/es/transfer/hooks/useData.js +40 -0
  1125. package/es/transfer/hooks/useSelection.d.ts +9 -0
  1126. package/es/transfer/hooks/useSelection.js +59 -0
  1127. package/es/transfer/index.d.ts +18 -68
  1128. package/es/transfer/index.js +336 -446
  1129. package/es/transfer/list.d.ts +13 -39
  1130. package/es/transfer/list.js +267 -371
  1131. package/es/transfer/operation.d.ts +3 -3
  1132. package/es/transfer/operation.js +19 -16
  1133. package/es/transfer/search.d.ts +2 -1
  1134. package/es/transfer/search.js +14 -9
  1135. package/es/transfer/style/index.d.ts +31 -1
  1136. package/es/transfer/style/index.js +134 -137
  1137. package/es/tree/DirectoryTree.d.ts +1 -1
  1138. package/es/tree/DirectoryTree.js +59 -81
  1139. package/es/tree/Tree.d.ts +18 -17
  1140. package/es/tree/Tree.js +59 -47
  1141. package/es/tree/index.d.ts +5 -5
  1142. package/es/tree/index.js +3 -1
  1143. package/es/tree/style/index.d.ts +38 -6
  1144. package/es/tree/style/index.js +139 -126
  1145. package/es/tree/utils/dictUtil.d.ts +6 -2
  1146. package/es/tree/utils/dictUtil.js +14 -26
  1147. package/es/tree/utils/dropIndicator.d.ts +2 -2
  1148. package/es/tree/utils/dropIndicator.js +12 -12
  1149. package/es/tree/utils/iconUtil.d.ts +11 -4
  1150. package/es/tree/utils/iconUtil.js +20 -26
  1151. package/es/tree-select/index.d.ts +16 -5
  1152. package/es/tree-select/index.js +155 -129
  1153. package/es/tree-select/style/index.d.ts +7 -1
  1154. package/es/tree-select/style/index.js +32 -26
  1155. package/es/typography/Base/Ellipsis.d.ts +1 -4
  1156. package/es/typography/Base/Ellipsis.js +48 -60
  1157. package/es/typography/Base/EllipsisTooltip.d.ts +1 -4
  1158. package/es/typography/Base/EllipsisTooltip.js +6 -10
  1159. package/es/typography/Base/index.d.ts +1 -1
  1160. package/es/typography/Base/index.js +155 -218
  1161. package/es/typography/Editable.d.ts +1 -1
  1162. package/es/typography/Editable.js +52 -55
  1163. package/es/typography/Link.js +14 -19
  1164. package/es/typography/Paragraph.js +3 -2
  1165. package/es/typography/Text.js +11 -17
  1166. package/es/typography/Title.d.ts +1 -1
  1167. package/es/typography/Title.js +12 -18
  1168. package/es/typography/Typography.d.ts +1 -0
  1169. package/es/typography/Typography.js +45 -41
  1170. package/es/typography/hooks/useMergedConfig.js +2 -3
  1171. package/es/typography/hooks/useUpdatedEffect.js +0 -2
  1172. package/es/typography/index.js +2 -0
  1173. package/es/typography/style/index.d.ts +14 -4
  1174. package/es/typography/style/index.js +43 -46
  1175. package/es/typography/style/mixins.d.ts +3 -3
  1176. package/es/typography/style/mixins.js +38 -27
  1177. package/es/upload/Dragger.d.ts +2 -1
  1178. package/es/upload/Dragger.js +6 -14
  1179. package/es/upload/Upload.d.ts +15 -3
  1180. package/es/upload/Upload.js +216 -257
  1181. package/es/upload/UploadList/ListItem.d.ts +1 -1
  1182. package/es/upload/UploadList/ListItem.js +71 -78
  1183. package/es/upload/UploadList/index.d.ts +6 -2
  1184. package/es/upload/UploadList/index.js +79 -100
  1185. package/es/upload/index.js +2 -0
  1186. package/es/upload/interface.d.ts +13 -12
  1187. package/es/upload/style/dragger.js +21 -22
  1188. package/es/upload/style/index.d.ts +12 -5
  1189. package/es/upload/style/index.js +29 -26
  1190. package/es/upload/style/list.js +41 -47
  1191. package/es/upload/style/motion.js +13 -11
  1192. package/es/upload/style/picture.js +73 -67
  1193. package/es/upload/style/rtl.js +6 -4
  1194. package/es/upload/utils.d.ts +3 -3
  1195. package/es/upload/utils.js +14 -27
  1196. package/es/version/index.js +2 -0
  1197. package/es/version/token-meta.json +1 -1
  1198. package/es/version/token.json +1 -1
  1199. package/es/version/version.d.ts +1 -1
  1200. package/es/version/version.js +1 -1
  1201. package/es/watermark/context.d.ts +8 -0
  1202. package/es/watermark/context.js +22 -0
  1203. package/es/watermark/index.d.ts +26 -0
  1204. package/es/watermark/index.js +243 -0
  1205. package/es/watermark/useClips.d.ts +7 -0
  1206. package/es/watermark/useClips.js +118 -0
  1207. package/es/watermark/useRafDebounce.d.ts +4 -0
  1208. package/es/watermark/useRafDebounce.js +23 -0
  1209. package/es/watermark/useWatermark.d.ts +13 -0
  1210. package/es/watermark/useWatermark.js +54 -0
  1211. package/es/watermark/utils.d.ts +8 -0
  1212. package/es/watermark/utils.js +28 -0
  1213. package/lib/_util/ActionButton.d.ts +4 -0
  1214. package/lib/_util/ActionButton.js +44 -64
  1215. package/lib/_util/PurePanel.d.ts +4 -1
  1216. package/lib/_util/PurePanel.js +60 -61
  1217. package/lib/_util/capitalize.js +1 -3
  1218. package/lib/_util/colors.d.ts +13 -5
  1219. package/lib/_util/colors.js +25 -9
  1220. package/lib/_util/easings.js +4 -6
  1221. package/lib/_util/extendsObject.d.ts +3 -0
  1222. package/lib/_util/extendsObject.js +26 -0
  1223. package/lib/_util/gapSize.d.ts +3 -0
  1224. package/lib/_util/gapSize.js +17 -0
  1225. package/lib/_util/getRenderPropValue.js +1 -8
  1226. package/lib/_util/getScroll.js +1 -8
  1227. package/lib/_util/hooks/useClosable.d.ts +10 -0
  1228. package/lib/_util/hooks/useClosable.js +29 -0
  1229. package/lib/_util/hooks/useForceUpdate.js +12 -14
  1230. package/lib/_util/hooks/useMultipleSelect.d.ts +6 -0
  1231. package/lib/_util/hooks/useMultipleSelect.js +53 -0
  1232. package/lib/_util/hooks/usePatchElement.js +17 -18
  1233. package/lib/_util/hooks/useProxyImperativeHandle.d.ts +4 -0
  1234. package/lib/_util/hooks/useProxyImperativeHandle.js +39 -0
  1235. package/lib/_util/hooks/useSyncState.js +6 -11
  1236. package/lib/_util/hooks/useZIndex.d.ts +6 -0
  1237. package/lib/_util/hooks/useZIndex.js +65 -0
  1238. package/lib/_util/isNumeric.js +2 -5
  1239. package/lib/_util/motion.d.ts +2 -3
  1240. package/lib/_util/motion.js +6 -28
  1241. package/lib/_util/placements.d.ts +11 -7
  1242. package/lib/_util/placements.js +170 -88
  1243. package/lib/_util/reactNode.d.ts +1 -1
  1244. package/lib/_util/reactNode.js +1 -8
  1245. package/lib/_util/responsiveObserver.d.ts +22 -0
  1246. package/lib/_util/responsiveObserver.js +130 -0
  1247. package/lib/_util/scrollTo.d.ts +1 -1
  1248. package/lib/_util/scrollTo.js +12 -22
  1249. package/lib/_util/statusUtils.d.ts +2 -2
  1250. package/lib/_util/statusUtils.js +8 -15
  1251. package/lib/_util/styleChecker.d.ts +0 -1
  1252. package/lib/_util/styleChecker.js +4 -37
  1253. package/lib/_util/throttleByAnimationFrame.d.ts +3 -4
  1254. package/lib/_util/throttleByAnimationFrame.js +6 -18
  1255. package/lib/_util/transButton.js +14 -34
  1256. package/lib/_util/transKeys.d.ts +2 -0
  1257. package/lib/_util/transKeys.js +26 -0
  1258. package/lib/_util/type.d.ts +4 -8
  1259. package/lib/_util/type.js +1 -22
  1260. package/lib/_util/warning.d.ts +22 -2
  1261. package/lib/_util/warning.js +54 -21
  1262. package/lib/_util/wave/WaveEffect.d.ts +8 -0
  1263. package/lib/_util/wave/WaveEffect.js +159 -0
  1264. package/lib/_util/wave/index.d.ts +3 -28
  1265. package/lib/_util/wave/index.js +57 -287
  1266. package/lib/_util/wave/interface.d.ts +10 -0
  1267. package/lib/_util/wave/interface.js +7 -0
  1268. package/lib/_util/wave/style.d.ts +6 -2
  1269. package/lib/_util/wave/style.js +27 -81
  1270. package/lib/_util/wave/useWave.d.ts +3 -0
  1271. package/lib/_util/wave/useWave.js +55 -0
  1272. package/lib/_util/wave/util.d.ts +3 -0
  1273. package/lib/_util/wave/util.js +37 -0
  1274. package/lib/_util/zindexContext.d.ts +3 -0
  1275. package/lib/_util/zindexContext.js +13 -0
  1276. package/lib/affix/index.d.ts +11 -48
  1277. package/lib/affix/index.js +181 -293
  1278. package/lib/affix/style/index.d.ts +7 -1
  1279. package/lib/affix/style/index.js +16 -20
  1280. package/lib/affix/utils.d.ts +2 -13
  1281. package/lib/affix/utils.js +4 -84
  1282. package/lib/alert/Alert.d.ts +38 -0
  1283. package/lib/alert/Alert.js +193 -0
  1284. package/lib/alert/ErrorBoundary.d.ts +1 -1
  1285. package/lib/alert/ErrorBoundary.js +22 -33
  1286. package/lib/alert/index.d.ts +3 -32
  1287. package/lib/alert/index.js +7 -208
  1288. package/lib/alert/style/index.d.ts +20 -7
  1289. package/lib/alert/style/index.js +87 -107
  1290. package/lib/anchor/Anchor.d.ts +15 -1
  1291. package/lib/anchor/Anchor.js +130 -149
  1292. package/lib/anchor/AnchorLink.d.ts +5 -2
  1293. package/lib/anchor/AnchorLink.js +50 -50
  1294. package/lib/anchor/context.js +3 -7
  1295. package/lib/anchor/index.js +6 -10
  1296. package/lib/anchor/style/index.d.ts +14 -1
  1297. package/lib/anchor/style/index.js +105 -76
  1298. package/lib/app/context.d.ts +16 -0
  1299. package/lib/app/context.js +15 -0
  1300. package/lib/app/index.d.ts +16 -0
  1301. package/lib/app/index.js +88 -0
  1302. package/lib/app/style/index.d.ts +6 -0
  1303. package/lib/app/style/index.js +31 -0
  1304. package/lib/auto-complete/index.d.ts +9 -11
  1305. package/lib/auto-complete/index.js +64 -84
  1306. package/lib/avatar/AvatarContext.d.ts +9 -0
  1307. package/lib/avatar/AvatarContext.js +10 -0
  1308. package/lib/avatar/avatar.d.ts +3 -2
  1309. package/lib/avatar/avatar.js +87 -118
  1310. package/lib/avatar/group.d.ts +3 -1
  1311. package/lib/avatar/group.js +67 -58
  1312. package/lib/avatar/index.js +7 -11
  1313. package/lib/avatar/style/index.d.ts +49 -1
  1314. package/lib/avatar/style/index.js +79 -84
  1315. package/lib/back-top/index.d.ts +3 -2
  1316. package/lib/back-top/index.js +60 -88
  1317. package/lib/back-top/style/index.d.ts +4 -1
  1318. package/lib/back-top/style/index.js +49 -52
  1319. package/lib/badge/Ribbon.d.ts +2 -1
  1320. package/lib/badge/Ribbon.js +49 -55
  1321. package/lib/badge/ScrollNumber.d.ts +2 -2
  1322. package/lib/badge/ScrollNumber.js +38 -58
  1323. package/lib/badge/SingleNumber.d.ts +2 -2
  1324. package/lib/badge/SingleNumber.js +40 -56
  1325. package/lib/badge/index.d.ts +13 -3
  1326. package/lib/badge/index.js +119 -137
  1327. package/lib/badge/style/index.d.ts +61 -1
  1328. package/lib/badge/style/index.js +123 -172
  1329. package/lib/badge/style/ribbon.d.ts +3 -0
  1330. package/lib/badge/style/ribbon.js +77 -0
  1331. package/lib/breadcrumb/Breadcrumb.d.ts +47 -14
  1332. package/lib/breadcrumb/Breadcrumb.js +124 -137
  1333. package/lib/breadcrumb/BreadcrumbItem.d.ts +18 -6
  1334. package/lib/breadcrumb/BreadcrumbItem.js +69 -69
  1335. package/lib/breadcrumb/BreadcrumbSeparator.js +9 -15
  1336. package/lib/breadcrumb/index.d.ts +1 -1
  1337. package/lib/breadcrumb/index.js +4 -7
  1338. package/lib/breadcrumb/style/index.d.ts +41 -1
  1339. package/lib/breadcrumb/style/index.js +58 -62
  1340. package/lib/breadcrumb/useItemRender.d.ts +8 -0
  1341. package/lib/breadcrumb/useItemRender.js +64 -0
  1342. package/lib/breadcrumb/useItems.d.ts +6 -0
  1343. package/lib/breadcrumb/useItems.js +46 -0
  1344. package/lib/button/IconWrapper.d.ts +9 -0
  1345. package/lib/button/IconWrapper.js +24 -0
  1346. package/lib/button/LoadingIcon.d.ts +2 -0
  1347. package/lib/button/LoadingIcon.js +46 -33
  1348. package/lib/button/button-group.js +37 -58
  1349. package/lib/button/button.d.ts +14 -22
  1350. package/lib/button/button.js +152 -235
  1351. package/lib/button/buttonHelpers.d.ts +14 -0
  1352. package/lib/button/buttonHelpers.js +73 -0
  1353. package/lib/button/index.d.ts +2 -1
  1354. package/lib/button/index.js +17 -7
  1355. package/lib/button/style/compactCmp.d.ts +3 -0
  1356. package/lib/button/style/compactCmp.js +52 -0
  1357. package/lib/button/style/group.js +26 -30
  1358. package/lib/button/style/index.d.ts +149 -4
  1359. package/lib/button/style/index.js +229 -216
  1360. package/lib/calendar/Header.d.ts +4 -4
  1361. package/lib/calendar/Header.js +62 -80
  1362. package/lib/calendar/generateCalendar.d.ts +17 -3
  1363. package/lib/calendar/generateCalendar.js +159 -154
  1364. package/lib/calendar/index.d.ts +12 -3
  1365. package/lib/calendar/index.js +6 -9
  1366. package/lib/calendar/locale/ar_EG.js +3 -7
  1367. package/lib/calendar/locale/az_AZ.js +3 -7
  1368. package/lib/calendar/locale/bg_BG.js +3 -7
  1369. package/lib/calendar/locale/bn_BD.js +3 -7
  1370. package/lib/calendar/locale/by_BY.js +3 -7
  1371. package/lib/calendar/locale/ca_ES.js +3 -7
  1372. package/lib/calendar/locale/cs_CZ.js +3 -7
  1373. package/lib/calendar/locale/da_DK.js +3 -7
  1374. package/lib/calendar/locale/de_DE.js +3 -7
  1375. package/lib/calendar/locale/el_GR.js +3 -7
  1376. package/lib/calendar/locale/en_GB.js +3 -7
  1377. package/lib/calendar/locale/en_US.js +3 -7
  1378. package/lib/calendar/locale/es_ES.js +3 -7
  1379. package/lib/calendar/locale/et_EE.js +3 -7
  1380. package/lib/calendar/locale/eu_ES.d.ts +2 -0
  1381. package/lib/calendar/locale/eu_ES.js +9 -0
  1382. package/lib/calendar/locale/fa_IR.js +3 -7
  1383. package/lib/calendar/locale/fi_FI.js +3 -7
  1384. package/lib/calendar/locale/fr_BE.js +3 -7
  1385. package/lib/calendar/locale/fr_CA.js +3 -7
  1386. package/lib/calendar/locale/fr_FR.js +3 -7
  1387. package/lib/calendar/locale/ga_IE.js +3 -7
  1388. package/lib/calendar/locale/gl_ES.js +3 -7
  1389. package/lib/calendar/locale/he_IL.js +3 -7
  1390. package/lib/calendar/locale/hi_IN.js +3 -7
  1391. package/lib/calendar/locale/hr_HR.js +3 -7
  1392. package/lib/calendar/locale/hu_HU.js +3 -7
  1393. package/lib/calendar/locale/id_ID.js +3 -7
  1394. package/lib/calendar/locale/is_IS.js +3 -7
  1395. package/lib/calendar/locale/it_IT.js +3 -7
  1396. package/lib/calendar/locale/ja_JP.js +3 -7
  1397. package/lib/calendar/locale/ka_GE.js +3 -7
  1398. package/lib/calendar/locale/kk_KZ.js +3 -7
  1399. package/lib/calendar/locale/km_KH.js +3 -7
  1400. package/lib/calendar/locale/kmr_IQ.js +3 -7
  1401. package/lib/calendar/locale/kn_IN.js +3 -7
  1402. package/lib/calendar/locale/ko_KR.js +3 -7
  1403. package/lib/calendar/locale/lt_LT.js +3 -7
  1404. package/lib/calendar/locale/lv_LV.js +3 -7
  1405. package/lib/calendar/locale/mk_MK.js +3 -7
  1406. package/lib/calendar/locale/ml_IN.js +3 -7
  1407. package/lib/calendar/locale/mn_MN.js +3 -7
  1408. package/lib/calendar/locale/ms_MY.js +3 -7
  1409. package/lib/calendar/locale/my_MM.d.ts +2 -0
  1410. package/lib/calendar/locale/my_MM.js +9 -0
  1411. package/lib/calendar/locale/nb_NO.js +3 -7
  1412. package/lib/calendar/locale/nl_BE.js +3 -7
  1413. package/lib/calendar/locale/nl_NL.js +3 -7
  1414. package/lib/calendar/locale/pl_PL.js +3 -7
  1415. package/lib/calendar/locale/pt_BR.js +3 -7
  1416. package/lib/calendar/locale/pt_PT.js +3 -7
  1417. package/lib/calendar/locale/ro_RO.js +3 -7
  1418. package/lib/calendar/locale/ru_RU.js +3 -7
  1419. package/lib/calendar/locale/si_LK.js +3 -7
  1420. package/lib/calendar/locale/sk_SK.js +3 -7
  1421. package/lib/calendar/locale/sl_SI.js +3 -7
  1422. package/lib/calendar/locale/sr_RS.js +3 -7
  1423. package/lib/calendar/locale/sv_SE.js +3 -7
  1424. package/lib/calendar/locale/ta_IN.js +3 -7
  1425. package/lib/calendar/locale/th_TH.js +3 -7
  1426. package/lib/calendar/locale/tk_TK.js +3 -7
  1427. package/lib/calendar/locale/tr_TR.js +3 -7
  1428. package/lib/calendar/locale/uk_UA.js +3 -7
  1429. package/lib/calendar/locale/ur_PK.js +3 -7
  1430. package/lib/calendar/locale/vi_VN.js +3 -7
  1431. package/lib/calendar/locale/zh_CN.js +3 -7
  1432. package/lib/calendar/locale/zh_TW.js +3 -7
  1433. package/lib/calendar/style/index.d.ts +33 -8
  1434. package/lib/calendar/style/index.js +77 -85
  1435. package/lib/card/Card.d.ts +6 -3
  1436. package/lib/card/Card.js +107 -123
  1437. package/lib/card/Grid.js +22 -36
  1438. package/lib/card/Meta.js +31 -48
  1439. package/lib/card/index.js +10 -12
  1440. package/lib/card/style/index.d.ts +49 -1
  1441. package/lib/card/style/index.js +152 -161
  1442. package/lib/carousel/index.d.ts +4 -1
  1443. package/lib/carousel/index.js +62 -64
  1444. package/lib/carousel/style/index.d.ts +18 -1
  1445. package/lib/carousel/style/index.js +54 -55
  1446. package/lib/cascader/Panel.d.ts +6 -0
  1447. package/lib/cascader/Panel.js +69 -0
  1448. package/lib/cascader/hooks/useBase.d.ts +7 -0
  1449. package/lib/cascader/hooks/useBase.js +19 -0
  1450. package/lib/cascader/hooks/useCheckable.d.ts +2 -0
  1451. package/lib/cascader/hooks/useCheckable.js +16 -0
  1452. package/lib/cascader/hooks/useColumnIcons.d.ts +2 -0
  1453. package/lib/cascader/hooks/useColumnIcons.js +25 -0
  1454. package/lib/cascader/index.d.ts +17 -8
  1455. package/lib/cascader/index.js +178 -212
  1456. package/lib/cascader/style/columns.d.ts +4 -0
  1457. package/lib/cascader/style/columns.js +92 -0
  1458. package/lib/cascader/style/index.d.ts +46 -1
  1459. package/lib/cascader/style/index.js +38 -109
  1460. package/lib/cascader/style/panel.d.ts +2 -0
  1461. package/lib/cascader/style/panel.js +37 -0
  1462. package/lib/checkbox/Checkbox.d.ts +5 -1
  1463. package/lib/checkbox/Checkbox.js +68 -88
  1464. package/lib/checkbox/Group.d.ts +7 -9
  1465. package/lib/checkbox/Group.js +80 -103
  1466. package/lib/checkbox/GroupContext.d.ts +12 -0
  1467. package/lib/checkbox/GroupContext.js +10 -0
  1468. package/lib/checkbox/index.d.ts +3 -1
  1469. package/lib/checkbox/index.js +9 -10
  1470. package/lib/checkbox/style/index.d.ts +2 -1
  1471. package/lib/checkbox/style/index.js +86 -119
  1472. package/lib/col/index.js +3 -5
  1473. package/lib/col/style/index.js +3 -5
  1474. package/lib/collapse/Collapse.d.ts +11 -6
  1475. package/lib/collapse/Collapse.js +77 -82
  1476. package/lib/collapse/CollapsePanel.d.ts +1 -1
  1477. package/lib/collapse/CollapsePanel.js +26 -33
  1478. package/lib/collapse/index.js +4 -7
  1479. package/lib/collapse/style/index.d.ts +27 -6
  1480. package/lib/collapse/style/index.js +120 -106
  1481. package/lib/color-picker/ColorPicker.d.ts +49 -0
  1482. package/lib/color-picker/ColorPicker.js +250 -0
  1483. package/lib/color-picker/ColorPickerPanel.d.ts +10 -0
  1484. package/lib/color-picker/ColorPickerPanel.js +66 -0
  1485. package/lib/color-picker/color.d.ts +17 -0
  1486. package/lib/color-picker/color.js +59 -0
  1487. package/lib/color-picker/components/ColorAlphaInput.d.ts +9 -0
  1488. package/lib/color-picker/components/ColorAlphaInput.js +53 -0
  1489. package/lib/color-picker/components/ColorClear.d.ts +9 -0
  1490. package/lib/color-picker/components/ColorClear.js +29 -0
  1491. package/lib/color-picker/components/ColorHexInput.d.ts +9 -0
  1492. package/lib/color-picker/components/ColorHexInput.js +55 -0
  1493. package/lib/color-picker/components/ColorHsbInput.d.ts +9 -0
  1494. package/lib/color-picker/components/ColorHsbInput.js +83 -0
  1495. package/lib/color-picker/components/ColorInput.d.ts +9 -0
  1496. package/lib/color-picker/components/ColorInput.js +86 -0
  1497. package/lib/color-picker/components/ColorPresets.d.ts +10 -0
  1498. package/lib/color-picker/components/ColorPresets.js +116 -0
  1499. package/lib/color-picker/components/ColorRgbInput.d.ts +9 -0
  1500. package/lib/color-picker/components/ColorRgbInput.js +74 -0
  1501. package/lib/color-picker/components/ColorSteppers.d.ts +15 -0
  1502. package/lib/color-picker/components/ColorSteppers.js +55 -0
  1503. package/lib/color-picker/components/ColorTrigger.d.ts +16 -0
  1504. package/lib/color-picker/components/ColorTrigger.js +75 -0
  1505. package/lib/color-picker/components/PanelPicker.d.ts +11 -0
  1506. package/lib/color-picker/components/PanelPicker.js +57 -0
  1507. package/lib/color-picker/components/PanelPresets.d.ts +9 -0
  1508. package/lib/color-picker/components/PanelPresets.js +26 -0
  1509. package/lib/color-picker/context.d.ts +7 -0
  1510. package/lib/color-picker/context.js +14 -0
  1511. package/lib/color-picker/hooks/useColorState.d.ts +7 -0
  1512. package/lib/color-picker/hooks/useColorState.js +42 -0
  1513. package/lib/color-picker/index.d.ts +4 -0
  1514. package/lib/color-picker/index.js +10 -0
  1515. package/lib/color-picker/interface.d.ts +34 -0
  1516. package/lib/color-picker/interface.js +12 -0
  1517. package/lib/color-picker/style/color-block.d.ts +8 -0
  1518. package/lib/color-picker/style/color-block.js +41 -0
  1519. package/lib/color-picker/style/index.d.ts +23 -0
  1520. package/lib/color-picker/style/index.js +206 -0
  1521. package/lib/color-picker/style/input.d.ts +5 -0
  1522. package/lib/color-picker/style/input.js +81 -0
  1523. package/lib/color-picker/style/picker.d.ts +5 -0
  1524. package/lib/color-picker/style/picker.js +71 -0
  1525. package/lib/color-picker/style/presets.d.ts +5 -0
  1526. package/lib/color-picker/style/presets.js +101 -0
  1527. package/lib/color-picker/util.d.ts +6 -0
  1528. package/lib/color-picker/util.js +28 -0
  1529. package/lib/config-provider/DisabledContext.d.ts +1 -1
  1530. package/lib/config-provider/DisabledContext.js +5 -10
  1531. package/lib/config-provider/MotionWrapper.d.ts +5 -0
  1532. package/lib/config-provider/MotionWrapper.js +32 -0
  1533. package/lib/config-provider/PropWarning.d.ts +6 -0
  1534. package/lib/config-provider/PropWarning.js +26 -0
  1535. package/lib/config-provider/SizeContext.js +9 -15
  1536. package/lib/config-provider/context.d.ts +125 -17
  1537. package/lib/config-provider/context.js +10 -48
  1538. package/lib/config-provider/cssVariables.js +31 -49
  1539. package/lib/config-provider/defaultRenderEmpty.d.ts +7 -4
  1540. package/lib/config-provider/defaultRenderEmpty.js +31 -42
  1541. package/lib/config-provider/hooks/useCSSVarCls.d.ts +7 -0
  1542. package/lib/config-provider/hooks/useCSSVarCls.js +25 -0
  1543. package/lib/config-provider/hooks/useConfig.d.ts +5 -0
  1544. package/lib/config-provider/hooks/useConfig.js +19 -0
  1545. package/lib/config-provider/hooks/useSize.d.ts +3 -0
  1546. package/lib/config-provider/hooks/useSize.js +26 -0
  1547. package/lib/config-provider/hooks/useTheme.js +33 -23
  1548. package/lib/config-provider/hooks/useThemeKey.d.ts +3 -0
  1549. package/lib/config-provider/hooks/useThemeKey.js +15 -0
  1550. package/lib/config-provider/index.d.ts +85 -9
  1551. package/lib/config-provider/index.js +287 -148
  1552. package/lib/config-provider/style/index.d.ts +1 -2
  1553. package/lib/config-provider/style/index.js +7 -33
  1554. package/lib/date-picker/PickerButton.d.ts +2 -2
  1555. package/lib/date-picker/PickerButton.js +5 -11
  1556. package/lib/date-picker/generatePicker/Components.d.ts +5 -0
  1557. package/lib/date-picker/generatePicker/Components.js +12 -0
  1558. package/lib/date-picker/generatePicker/generateRangePicker.d.ts +1 -0
  1559. package/lib/date-picker/generatePicker/generateRangePicker.js +131 -143
  1560. package/lib/date-picker/generatePicker/generateSinglePicker.d.ts +18 -12
  1561. package/lib/date-picker/generatePicker/generateSinglePicker.js +126 -142
  1562. package/lib/date-picker/generatePicker/index.d.ts +22 -61
  1563. package/lib/date-picker/generatePicker/index.js +18 -84
  1564. package/lib/date-picker/generatePicker/interface.js +1 -0
  1565. package/lib/date-picker/index.d.ts +29 -14
  1566. package/lib/date-picker/index.js +19 -13
  1567. package/lib/date-picker/locale/ar_EG.js +10 -17
  1568. package/lib/date-picker/locale/az_AZ.js +6 -13
  1569. package/lib/date-picker/locale/bg_BG.js +10 -17
  1570. package/lib/date-picker/locale/bn_BD.js +10 -17
  1571. package/lib/date-picker/locale/by_BY.js +6 -13
  1572. package/lib/date-picker/locale/ca_ES.js +10 -17
  1573. package/lib/date-picker/locale/cs_CZ.js +10 -17
  1574. package/lib/date-picker/locale/da_DK.js +10 -17
  1575. package/lib/date-picker/locale/de_DE.js +10 -17
  1576. package/lib/date-picker/locale/el_GR.js +10 -17
  1577. package/lib/date-picker/locale/en_GB.js +10 -17
  1578. package/lib/date-picker/locale/en_US.js +10 -17
  1579. package/lib/date-picker/locale/es_ES.js +10 -17
  1580. package/lib/date-picker/locale/et_EE.js +10 -17
  1581. package/lib/date-picker/locale/eu_ES.d.ts +3 -0
  1582. package/lib/date-picker/locale/eu_ES.js +20 -0
  1583. package/lib/date-picker/locale/fa_IR.js +11 -17
  1584. package/lib/date-picker/locale/fi_FI.js +10 -17
  1585. package/lib/date-picker/locale/fr_BE.js +18 -18
  1586. package/lib/date-picker/locale/fr_CA.js +10 -17
  1587. package/lib/date-picker/locale/fr_FR.js +10 -17
  1588. package/lib/date-picker/locale/ga_IE.js +10 -17
  1589. package/lib/date-picker/locale/gl_ES.js +10 -17
  1590. package/lib/date-picker/locale/he_IL.js +10 -17
  1591. package/lib/date-picker/locale/hi_IN.js +10 -17
  1592. package/lib/date-picker/locale/hr_HR.js +10 -17
  1593. package/lib/date-picker/locale/hu_HU.js +10 -17
  1594. package/lib/date-picker/locale/id_ID.js +10 -17
  1595. package/lib/date-picker/locale/is_IS.js +10 -17
  1596. package/lib/date-picker/locale/it_IT.js +10 -17
  1597. package/lib/date-picker/locale/ja_JP.js +10 -17
  1598. package/lib/date-picker/locale/ka_GE.js +6 -13
  1599. package/lib/date-picker/locale/kk_KZ.js +10 -17
  1600. package/lib/date-picker/locale/km_KH.js +10 -17
  1601. package/lib/date-picker/locale/kmr_IQ.js +10 -17
  1602. package/lib/date-picker/locale/kn_IN.js +10 -17
  1603. package/lib/date-picker/locale/ko_KR.js +10 -17
  1604. package/lib/date-picker/locale/lt_LT.js +11 -17
  1605. package/lib/date-picker/locale/lv_LV.js +10 -17
  1606. package/lib/date-picker/locale/mk_MK.js +10 -17
  1607. package/lib/date-picker/locale/ml_IN.js +10 -17
  1608. package/lib/date-picker/locale/mn_MN.js +10 -17
  1609. package/lib/date-picker/locale/ms_MY.js +10 -17
  1610. package/lib/date-picker/locale/my_MM.d.ts +3 -0
  1611. package/lib/date-picker/locale/my_MM.js +28 -0
  1612. package/lib/date-picker/locale/nb_NO.js +10 -17
  1613. package/lib/date-picker/locale/nl_BE.js +10 -17
  1614. package/lib/date-picker/locale/nl_NL.js +10 -17
  1615. package/lib/date-picker/locale/pl_PL.js +10 -17
  1616. package/lib/date-picker/locale/pt_BR.js +10 -17
  1617. package/lib/date-picker/locale/pt_PT.js +9 -16
  1618. package/lib/date-picker/locale/ro_RO.js +10 -17
  1619. package/lib/date-picker/locale/ru_RU.js +9 -16
  1620. package/lib/date-picker/locale/si_LK.js +10 -17
  1621. package/lib/date-picker/locale/sk_SK.js +10 -17
  1622. package/lib/date-picker/locale/sl_SI.js +8 -14
  1623. package/lib/date-picker/locale/sr_RS.js +10 -17
  1624. package/lib/date-picker/locale/sv_SE.js +10 -17
  1625. package/lib/date-picker/locale/ta_IN.js +18 -17
  1626. package/lib/date-picker/locale/th_TH.js +10 -17
  1627. package/lib/date-picker/locale/tk_TK.js +6 -13
  1628. package/lib/date-picker/locale/tr_TR.js +10 -17
  1629. package/lib/date-picker/locale/uk_UA.js +10 -17
  1630. package/lib/date-picker/locale/ur_PK.js +10 -17
  1631. package/lib/date-picker/locale/vi_VN.js +19 -18
  1632. package/lib/date-picker/locale/zh_CN.js +12 -19
  1633. package/lib/date-picker/locale/zh_TW.js +10 -17
  1634. package/lib/date-picker/style/index.d.ts +89 -18
  1635. package/lib/date-picker/style/index.js +505 -468
  1636. package/lib/date-picker/util.d.ts +54 -10
  1637. package/lib/date-picker/util.js +58 -22
  1638. package/lib/descriptions/Cell.js +28 -36
  1639. package/lib/descriptions/DescriptionsContext.d.ts +7 -0
  1640. package/lib/descriptions/DescriptionsContext.js +10 -0
  1641. package/lib/descriptions/Item.js +2 -5
  1642. package/lib/descriptions/Row.d.ts +2 -2
  1643. package/lib/descriptions/Row.js +47 -62
  1644. package/lib/descriptions/constant.d.ts +3 -0
  1645. package/lib/descriptions/constant.js +15 -0
  1646. package/lib/descriptions/hooks/useItems.d.ts +4 -0
  1647. package/lib/descriptions/hooks/useItems.js +45 -0
  1648. package/lib/descriptions/hooks/useRow.d.ts +3 -0
  1649. package/lib/descriptions/hooks/useRow.js +78 -0
  1650. package/lib/descriptions/index.d.ts +23 -9
  1651. package/lib/descriptions/index.js +93 -167
  1652. package/lib/descriptions/style/index.d.ts +47 -1
  1653. package/lib/descriptions/style/index.js +76 -93
  1654. package/lib/divider/index.d.ts +1 -0
  1655. package/lib/divider/index.js +65 -63
  1656. package/lib/divider/style/index.d.ts +19 -2
  1657. package/lib/divider/style/index.js +86 -85
  1658. package/lib/drawer/DrawerPanel.d.ts +29 -2
  1659. package/lib/drawer/DrawerPanel.js +69 -60
  1660. package/lib/drawer/index.d.ts +15 -12
  1661. package/lib/drawer/index.js +125 -125
  1662. package/lib/drawer/style/index.d.ts +18 -4
  1663. package/lib/drawer/style/index.js +68 -71
  1664. package/lib/drawer/style/motion.js +11 -15
  1665. package/lib/dropdown/dropdown-button.d.ts +3 -4
  1666. package/lib/dropdown/dropdown-button.js +64 -97
  1667. package/lib/dropdown/dropdown.d.ts +11 -19
  1668. package/lib/dropdown/dropdown.js +170 -164
  1669. package/lib/dropdown/index.d.ts +8 -2
  1670. package/lib/dropdown/index.js +7 -7
  1671. package/lib/dropdown/style/index.d.ts +17 -7
  1672. package/lib/dropdown/style/index.js +102 -168
  1673. package/lib/dropdown/style/status.js +11 -14
  1674. package/lib/empty/empty.d.ts +2 -1
  1675. package/lib/empty/empty.js +24 -8
  1676. package/lib/empty/index.d.ts +1 -0
  1677. package/lib/empty/index.js +66 -79
  1678. package/lib/empty/simple.d.ts +2 -1
  1679. package/lib/empty/simple.js +31 -34
  1680. package/lib/empty/style/index.d.ts +2 -1
  1681. package/lib/empty/style/index.js +34 -34
  1682. package/lib/flex/index.d.ts +4 -0
  1683. package/lib/flex/index.js +76 -0
  1684. package/lib/flex/interface.d.ts +15 -0
  1685. package/lib/flex/interface.js +5 -0
  1686. package/lib/flex/style/index.d.ts +31 -0
  1687. package/lib/flex/style/index.js +90 -0
  1688. package/lib/flex/utils.d.ts +6 -0
  1689. package/lib/flex/utils.js +37 -0
  1690. package/lib/float-button/BackTop.d.ts +3 -3
  1691. package/lib/float-button/BackTop.js +62 -97
  1692. package/lib/float-button/FloatButton.d.ts +2 -2
  1693. package/lib/float-button/FloatButton.js +70 -77
  1694. package/lib/float-button/FloatButtonContent.js +17 -27
  1695. package/lib/float-button/FloatButtonGroup.js +110 -93
  1696. package/lib/float-button/PurePanel.d.ts +4 -4
  1697. package/lib/float-button/PurePanel.js +24 -48
  1698. package/lib/float-button/context.js +4 -9
  1699. package/lib/float-button/index.js +8 -14
  1700. package/lib/float-button/interface.d.ts +15 -6
  1701. package/lib/float-button/style/index.d.ts +4 -2
  1702. package/lib/float-button/style/index.js +158 -127
  1703. package/lib/float-button/util.d.ts +2 -0
  1704. package/lib/float-button/util.js +15 -0
  1705. package/lib/form/ErrorList.d.ts +2 -1
  1706. package/lib/form/ErrorList.js +63 -72
  1707. package/lib/form/Form.d.ts +11 -4
  1708. package/lib/form/Form.js +109 -106
  1709. package/lib/form/FormItem/ItemHolder.d.ts +3 -2
  1710. package/lib/form/FormItem/ItemHolder.js +83 -126
  1711. package/lib/form/FormItem/StatusProvider.d.ts +16 -0
  1712. package/lib/form/FormItem/StatusProvider.js +79 -0
  1713. package/lib/form/FormItem/index.d.ts +17 -7
  1714. package/lib/form/FormItem/index.js +170 -206
  1715. package/lib/form/FormItemInput.js +35 -45
  1716. package/lib/form/FormItemLabel.d.ts +0 -2
  1717. package/lib/form/FormItemLabel.js +92 -109
  1718. package/lib/form/FormList.d.ts +1 -1
  1719. package/lib/form/FormList.js +16 -33
  1720. package/lib/form/context.d.ts +7 -4
  1721. package/lib/form/context.js +19 -33
  1722. package/lib/form/hooks/useChildren.d.ts +2 -0
  1723. package/lib/form/hooks/useChildren.js +15 -0
  1724. package/lib/form/hooks/useDebounce.js +11 -13
  1725. package/lib/form/hooks/useForm.js +14 -23
  1726. package/lib/form/hooks/useFormInstance.js +3 -7
  1727. package/lib/form/hooks/useFormItemStatus.d.ts +3 -0
  1728. package/lib/form/hooks/useFormItemStatus.js +18 -18
  1729. package/lib/form/hooks/useFormWarning.d.ts +2 -0
  1730. package/lib/form/hooks/useFormWarning.js +22 -0
  1731. package/lib/form/hooks/useFrameState.js +19 -26
  1732. package/lib/form/hooks/useItemRef.js +5 -18
  1733. package/lib/form/index.d.ts +3 -3
  1734. package/lib/form/index.js +12 -24
  1735. package/lib/form/interface.d.ts +2 -2
  1736. package/lib/form/style/explain.js +13 -17
  1737. package/lib/form/style/fallbackCmp.d.ts +7 -0
  1738. package/lib/form/style/fallbackCmp.js +33 -0
  1739. package/lib/form/style/index.d.ts +53 -2
  1740. package/lib/form/style/index.js +121 -120
  1741. package/lib/form/util.d.ts +7 -0
  1742. package/lib/form/util.js +29 -11
  1743. package/lib/form/validateMessagesContext.d.ts +4 -0
  1744. package/lib/form/validateMessagesContext.js +12 -0
  1745. package/lib/grid/RowContext.d.ts +2 -3
  1746. package/lib/grid/RowContext.js +2 -5
  1747. package/lib/grid/col.d.ts +2 -1
  1748. package/lib/grid/col.js +51 -85
  1749. package/lib/grid/hooks/useBreakpoint.d.ts +1 -1
  1750. package/lib/grid/hooks/useBreakpoint.js +11 -17
  1751. package/lib/grid/index.d.ts +2 -2
  1752. package/lib/grid/index.js +10 -16
  1753. package/lib/grid/row.d.ts +7 -7
  1754. package/lib/grid/row.js +99 -141
  1755. package/lib/grid/style/index.d.ts +8 -2
  1756. package/lib/grid/style/index.js +54 -56
  1757. package/lib/icon/index.js +8 -10
  1758. package/lib/image/PreviewGroup.d.ts +10 -8
  1759. package/lib/image/PreviewGroup.js +52 -64
  1760. package/lib/image/index.d.ts +2 -2
  1761. package/lib/image/index.js +61 -66
  1762. package/lib/image/style/index.d.ts +28 -5
  1763. package/lib/image/style/index.js +159 -141
  1764. package/lib/index.d.ts +22 -8
  1765. package/lib/index.js +106 -138
  1766. package/lib/input/Group.js +37 -41
  1767. package/lib/input/Input.d.ts +4 -5
  1768. package/lib/input/Input.js +113 -198
  1769. package/lib/input/Password.js +62 -98
  1770. package/lib/input/Search.d.ts +3 -1
  1771. package/lib/input/Search.js +48 -83
  1772. package/lib/input/TextArea.d.ts +6 -15
  1773. package/lib/input/TextArea.js +78 -243
  1774. package/lib/input/hooks/useRemovePasswordTimeout.js +1 -7
  1775. package/lib/input/index.js +12 -16
  1776. package/lib/input/style/index.d.ts +85 -14
  1777. package/lib/input/style/index.js +328 -298
  1778. package/lib/input/utils.d.ts +1 -2
  1779. package/lib/input/utils.js +2 -2
  1780. package/lib/input-number/index.d.ts +5 -4
  1781. package/lib/input-number/index.js +97 -166
  1782. package/lib/input-number/style/index.d.ts +60 -3
  1783. package/lib/input-number/style/index.js +173 -139
  1784. package/lib/layout/Sider.js +83 -122
  1785. package/lib/layout/context.d.ts +8 -0
  1786. package/lib/layout/context.js +18 -0
  1787. package/lib/layout/hooks/useHasSider.d.ts +2 -0
  1788. package/lib/layout/hooks/useHasSider.js +21 -0
  1789. package/lib/layout/index.d.ts +3 -1
  1790. package/lib/layout/index.js +8 -13
  1791. package/lib/layout/layout.d.ts +5 -10
  1792. package/lib/layout/layout.js +80 -99
  1793. package/lib/layout/style/index.d.ts +87 -8
  1794. package/lib/layout/style/index.js +108 -100
  1795. package/lib/layout/style/light.js +22 -24
  1796. package/lib/list/Item.js +55 -89
  1797. package/lib/list/context.d.ts +8 -0
  1798. package/lib/list/context.js +10 -0
  1799. package/lib/list/index.d.ts +6 -8
  1800. package/lib/list/index.js +100 -144
  1801. package/lib/list/style/index.d.ts +58 -1
  1802. package/lib/list/style/index.js +155 -140
  1803. package/lib/locale/ar_EG.d.ts +1 -1
  1804. package/lib/locale/ar_EG.js +11 -18
  1805. package/lib/locale/az_AZ.d.ts +1 -1
  1806. package/lib/locale/az_AZ.js +11 -18
  1807. package/lib/locale/bg_BG.d.ts +1 -1
  1808. package/lib/locale/bg_BG.js +58 -14
  1809. package/lib/locale/bn_BD.d.ts +1 -1
  1810. package/lib/locale/bn_BD.js +11 -18
  1811. package/lib/locale/by_BY.d.ts +1 -1
  1812. package/lib/locale/by_BY.js +11 -18
  1813. package/lib/locale/ca_ES.d.ts +1 -1
  1814. package/lib/locale/ca_ES.js +11 -18
  1815. package/lib/locale/context.js +9 -0
  1816. package/lib/locale/cs_CZ.d.ts +1 -1
  1817. package/lib/locale/cs_CZ.js +11 -18
  1818. package/lib/locale/da_DK.d.ts +1 -1
  1819. package/lib/locale/da_DK.js +7 -14
  1820. package/lib/locale/de_DE.d.ts +1 -1
  1821. package/lib/locale/de_DE.js +22 -19
  1822. package/lib/locale/el_GR.d.ts +1 -1
  1823. package/lib/locale/el_GR.js +7 -14
  1824. package/lib/locale/en_GB.d.ts +1 -1
  1825. package/lib/locale/en_GB.js +11 -18
  1826. package/lib/locale/en_US.d.ts +1 -1
  1827. package/lib/locale/en_US.js +18 -18
  1828. package/lib/locale/es_ES.d.ts +1 -1
  1829. package/lib/locale/es_ES.js +11 -18
  1830. package/lib/locale/et_EE.d.ts +1 -1
  1831. package/lib/locale/et_EE.js +11 -18
  1832. package/lib/locale/eu_ES.d.ts +3 -0
  1833. package/lib/locale/eu_ES.js +152 -0
  1834. package/lib/locale/fa_IR.d.ts +1 -1
  1835. package/lib/locale/fa_IR.js +24 -20
  1836. package/lib/locale/fi_FI.d.ts +1 -1
  1837. package/lib/locale/fi_FI.js +7 -14
  1838. package/lib/locale/fr_BE.d.ts +1 -1
  1839. package/lib/locale/fr_BE.js +94 -20
  1840. package/lib/locale/fr_CA.d.ts +1 -1
  1841. package/lib/locale/fr_CA.js +80 -18
  1842. package/lib/locale/fr_FR.d.ts +1 -1
  1843. package/lib/locale/fr_FR.js +16 -18
  1844. package/lib/locale/ga_IE.d.ts +1 -1
  1845. package/lib/locale/ga_IE.js +11 -18
  1846. package/lib/locale/gl_ES.d.ts +1 -1
  1847. package/lib/locale/gl_ES.js +11 -18
  1848. package/lib/locale/he_IL.d.ts +1 -1
  1849. package/lib/locale/he_IL.js +14 -21
  1850. package/lib/locale/hi_IN.d.ts +1 -1
  1851. package/lib/locale/hi_IN.js +11 -18
  1852. package/lib/locale/hr_HR.d.ts +1 -1
  1853. package/lib/locale/hr_HR.js +11 -18
  1854. package/lib/locale/hu_HU.d.ts +1 -1
  1855. package/lib/locale/hu_HU.js +7 -14
  1856. package/lib/locale/hy_AM.d.ts +1 -1
  1857. package/lib/locale/hy_AM.js +2 -3
  1858. package/lib/locale/id_ID.d.ts +1 -1
  1859. package/lib/locale/id_ID.js +7 -14
  1860. package/lib/locale/index.d.ts +59 -0
  1861. package/lib/locale/index.js +47 -0
  1862. package/lib/locale/is_IS.d.ts +1 -1
  1863. package/lib/locale/is_IS.js +7 -14
  1864. package/lib/locale/it_IT.d.ts +1 -1
  1865. package/lib/locale/it_IT.js +11 -18
  1866. package/lib/locale/ja_JP.d.ts +1 -1
  1867. package/lib/locale/ja_JP.js +11 -18
  1868. package/lib/locale/ka_GE.d.ts +1 -1
  1869. package/lib/locale/ka_GE.js +11 -18
  1870. package/lib/locale/kk_KZ.d.ts +1 -1
  1871. package/lib/locale/kk_KZ.js +11 -18
  1872. package/lib/locale/km_KH.d.ts +1 -1
  1873. package/lib/locale/km_KH.js +11 -18
  1874. package/lib/locale/kmr_IQ.d.ts +1 -1
  1875. package/lib/locale/kmr_IQ.js +7 -14
  1876. package/lib/locale/kn_IN.d.ts +1 -1
  1877. package/lib/locale/kn_IN.js +7 -14
  1878. package/lib/locale/ko_KR.d.ts +1 -1
  1879. package/lib/locale/ko_KR.js +63 -23
  1880. package/lib/locale/ku_IQ.d.ts +1 -1
  1881. package/lib/locale/ku_IQ.js +9 -16
  1882. package/lib/locale/lt_LT.d.ts +1 -1
  1883. package/lib/locale/lt_LT.js +50 -34
  1884. package/lib/locale/lv_LV.d.ts +1 -1
  1885. package/lib/locale/lv_LV.js +7 -14
  1886. package/lib/locale/mk_MK.d.ts +1 -1
  1887. package/lib/locale/mk_MK.js +7 -14
  1888. package/lib/locale/ml_IN.d.ts +1 -1
  1889. package/lib/locale/ml_IN.js +11 -18
  1890. package/lib/locale/mn_MN.d.ts +1 -1
  1891. package/lib/locale/mn_MN.js +11 -18
  1892. package/lib/locale/ms_MY.d.ts +1 -1
  1893. package/lib/locale/ms_MY.js +7 -14
  1894. package/lib/locale/my_MM.d.ts +3 -0
  1895. package/lib/locale/my_MM.js +147 -0
  1896. package/lib/locale/nb_NO.d.ts +1 -1
  1897. package/lib/locale/nb_NO.js +11 -18
  1898. package/lib/locale/ne_NP.d.ts +1 -1
  1899. package/lib/locale/ne_NP.js +7 -14
  1900. package/lib/locale/nl_BE.d.ts +1 -1
  1901. package/lib/locale/nl_BE.js +11 -18
  1902. package/lib/locale/nl_NL.d.ts +1 -1
  1903. package/lib/locale/nl_NL.js +11 -18
  1904. package/lib/locale/pl_PL.d.ts +1 -1
  1905. package/lib/locale/pl_PL.js +16 -18
  1906. package/lib/locale/pt_BR.d.ts +1 -1
  1907. package/lib/locale/pt_BR.js +18 -18
  1908. package/lib/locale/pt_PT.d.ts +1 -1
  1909. package/lib/locale/pt_PT.js +11 -18
  1910. package/lib/locale/ro_RO.d.ts +1 -1
  1911. package/lib/locale/ro_RO.js +11 -18
  1912. package/lib/locale/ru_RU.d.ts +1 -1
  1913. package/lib/locale/ru_RU.js +24 -19
  1914. package/lib/locale/si_LK.d.ts +1 -1
  1915. package/lib/locale/si_LK.js +11 -18
  1916. package/lib/locale/sk_SK.d.ts +1 -1
  1917. package/lib/locale/sk_SK.js +11 -18
  1918. package/lib/locale/sl_SI.d.ts +1 -1
  1919. package/lib/locale/sl_SI.js +7 -14
  1920. package/lib/locale/sr_RS.d.ts +1 -1
  1921. package/lib/locale/sr_RS.js +11 -18
  1922. package/lib/locale/sv_SE.d.ts +1 -1
  1923. package/lib/locale/sv_SE.js +22 -18
  1924. package/lib/locale/ta_IN.d.ts +1 -1
  1925. package/lib/locale/ta_IN.js +74 -15
  1926. package/lib/locale/th_TH.d.ts +1 -1
  1927. package/lib/locale/th_TH.js +26 -18
  1928. package/lib/locale/tk_TK.d.ts +1 -1
  1929. package/lib/locale/tk_TK.js +11 -18
  1930. package/lib/locale/tr_TR.d.ts +1 -1
  1931. package/lib/locale/tr_TR.js +11 -18
  1932. package/lib/locale/uk_UA.d.ts +1 -1
  1933. package/lib/locale/uk_UA.js +20 -18
  1934. package/lib/locale/ur_PK.d.ts +1 -1
  1935. package/lib/locale/ur_PK.js +11 -18
  1936. package/lib/locale/useLocale.d.ts +4 -0
  1937. package/lib/locale/useLocale.js +30 -0
  1938. package/lib/locale/vi_VN.d.ts +1 -1
  1939. package/lib/locale/vi_VN.js +114 -25
  1940. package/lib/locale/zh_CN.d.ts +1 -1
  1941. package/lib/locale/zh_CN.js +18 -18
  1942. package/lib/locale/zh_HK.d.ts +1 -1
  1943. package/lib/locale/zh_HK.js +11 -18
  1944. package/lib/locale/zh_TW.d.ts +1 -1
  1945. package/lib/locale/zh_TW.js +11 -18
  1946. package/lib/mentions/index.d.ts +5 -7
  1947. package/lib/mentions/index.js +93 -132
  1948. package/lib/mentions/style/index.d.ts +18 -2
  1949. package/lib/mentions/style/index.js +58 -72
  1950. package/lib/menu/MenuContext.d.ts +0 -2
  1951. package/lib/menu/MenuContext.js +3 -5
  1952. package/lib/menu/MenuDivider.js +19 -34
  1953. package/lib/menu/MenuItem.d.ts +8 -9
  1954. package/lib/menu/MenuItem.js +69 -146
  1955. package/lib/menu/OverrideContext.d.ts +3 -1
  1956. package/lib/menu/OverrideContext.js +23 -31
  1957. package/lib/menu/SubMenu.d.ts +1 -1
  1958. package/lib/menu/SubMenu.js +36 -41
  1959. package/lib/menu/hooks/useItems.d.ts +6 -6
  1960. package/lib/menu/hooks/useItems.js +24 -47
  1961. package/lib/menu/index.d.ts +14 -5
  1962. package/lib/menu/index.js +20 -29
  1963. package/lib/menu/menu.d.ts +1 -1
  1964. package/lib/menu/menu.js +93 -108
  1965. package/lib/menu/style/horizontal.js +25 -27
  1966. package/lib/menu/style/index.d.ts +293 -7
  1967. package/lib/menu/style/index.js +338 -233
  1968. package/lib/menu/style/rtl.d.ts +2 -1
  1969. package/lib/menu/style/rtl.js +17 -18
  1970. package/lib/menu/style/theme.js +109 -109
  1971. package/lib/menu/style/vertical.js +74 -79
  1972. package/lib/message/PurePanel.d.ts +9 -8
  1973. package/lib/message/PurePanel.js +50 -69
  1974. package/lib/message/index.d.ts +12 -11
  1975. package/lib/message/index.js +71 -137
  1976. package/lib/message/style/index.d.ts +18 -2
  1977. package/lib/message/style/index.js +75 -76
  1978. package/lib/message/useMessage.d.ts +3 -3
  1979. package/lib/message/useMessage.js +126 -138
  1980. package/lib/message/util.js +1 -7
  1981. package/lib/modal/ConfirmDialog.d.ts +23 -10
  1982. package/lib/modal/ConfirmDialog.js +167 -131
  1983. package/lib/modal/Modal.d.ts +1 -105
  1984. package/lib/modal/Modal.js +113 -94
  1985. package/lib/modal/PurePanel.d.ts +5 -9
  1986. package/lib/modal/PurePanel.js +44 -94
  1987. package/lib/modal/components/ConfirmCancelBtn.d.ts +10 -0
  1988. package/lib/modal/components/ConfirmCancelBtn.js +36 -0
  1989. package/lib/modal/components/ConfirmOkBtn.d.ts +9 -0
  1990. package/lib/modal/components/ConfirmOkBtn.js +37 -0
  1991. package/lib/modal/components/NormalCancelBtn.d.ts +8 -0
  1992. package/lib/modal/components/NormalCancelBtn.js +22 -0
  1993. package/lib/modal/components/NormalOkBtn.d.ts +8 -0
  1994. package/lib/modal/components/NormalOkBtn.js +26 -0
  1995. package/lib/modal/confirm.d.ts +1 -1
  1996. package/lib/modal/confirm.js +50 -80
  1997. package/lib/modal/context.d.ts +8 -0
  1998. package/lib/modal/context.js +11 -0
  1999. package/lib/modal/destroyFns.d.ts +1 -1
  2000. package/lib/modal/destroyFns.js +2 -3
  2001. package/lib/modal/index.d.ts +1 -1
  2002. package/lib/modal/index.js +18 -32
  2003. package/lib/modal/interface.d.ts +125 -0
  2004. package/lib/modal/interface.js +5 -0
  2005. package/lib/modal/locale.d.ts +1 -1
  2006. package/lib/modal/locale.js +19 -12
  2007. package/lib/modal/shared.d.ts +9 -0
  2008. package/lib/modal/shared.js +82 -0
  2009. package/lib/modal/style/confirmCmp.d.ts +3 -0
  2010. package/lib/modal/style/confirmCmp.js +87 -0
  2011. package/lib/modal/style/index.d.ts +62 -20
  2012. package/lib/modal/style/index.js +122 -199
  2013. package/lib/modal/useModal/HookModal.d.ts +6 -1
  2014. package/lib/modal/useModal/HookModal.js +56 -60
  2015. package/lib/modal/useModal/index.d.ts +7 -2
  2016. package/lib/modal/useModal/index.js +56 -45
  2017. package/lib/notification/PurePanel.d.ts +10 -8
  2018. package/lib/notification/PurePanel.js +89 -98
  2019. package/lib/notification/index.d.ts +13 -9
  2020. package/lib/notification/index.js +64 -133
  2021. package/lib/notification/interface.d.ts +16 -9
  2022. package/lib/notification/interface.js +3 -1
  2023. package/lib/notification/style/index.d.ts +25 -6
  2024. package/lib/notification/style/index.js +139 -152
  2025. package/lib/notification/style/placement.js +53 -40
  2026. package/lib/notification/style/pure-panel.d.ts +3 -0
  2027. package/lib/notification/style/pure-panel.js +22 -0
  2028. package/lib/notification/style/stack.d.ts +4 -0
  2029. package/lib/notification/style/stack.js +87 -0
  2030. package/lib/notification/useNotification.d.ts +3 -3
  2031. package/lib/notification/useNotification.js +132 -113
  2032. package/lib/notification/util.js +1 -10
  2033. package/lib/pagination/Pagination.d.ts +5 -3
  2034. package/lib/pagination/Pagination.js +94 -110
  2035. package/lib/pagination/Select.js +9 -16
  2036. package/lib/pagination/index.js +4 -7
  2037. package/lib/pagination/style/bordered.d.ts +3 -0
  2038. package/lib/pagination/style/bordered.js +75 -0
  2039. package/lib/pagination/style/index.d.ts +64 -1
  2040. package/lib/pagination/style/index.js +194 -236
  2041. package/lib/popconfirm/PurePanel.d.ts +5 -4
  2042. package/lib/popconfirm/PurePanel.js +85 -102
  2043. package/lib/popconfirm/index.d.ts +3 -1
  2044. package/lib/popconfirm/index.js +60 -91
  2045. package/lib/popconfirm/style/index.d.ts +8 -2
  2046. package/lib/popconfirm/style/index.js +46 -41
  2047. package/lib/popover/PurePanel.d.ts +7 -3
  2048. package/lib/popover/PurePanel.js +45 -58
  2049. package/lib/popover/index.d.ts +1 -1
  2050. package/lib/popover/index.js +47 -70
  2051. package/lib/popover/style/index.d.ts +28 -5
  2052. package/lib/popover/style/index.js +99 -97
  2053. package/lib/progress/Circle.js +43 -40
  2054. package/lib/progress/Line.js +68 -62
  2055. package/lib/progress/Steps.d.ts +1 -2
  2056. package/lib/progress/Steps.js +40 -30
  2057. package/lib/progress/index.d.ts +1 -1
  2058. package/lib/progress/index.js +4 -7
  2059. package/lib/progress/progress.d.ts +11 -10
  2060. package/lib/progress/progress.js +82 -96
  2061. package/lib/progress/style/index.d.ts +34 -1
  2062. package/lib/progress/style/index.js +92 -92
  2063. package/lib/progress/utils.d.ts +4 -0
  2064. package/lib/progress/utils.js +65 -24
  2065. package/lib/qr-code/index.d.ts +4 -0
  2066. package/lib/qr-code/index.js +119 -0
  2067. package/lib/qr-code/interface.d.ts +33 -0
  2068. package/lib/qr-code/interface.js +5 -0
  2069. package/lib/qr-code/style/index.d.ts +7 -0
  2070. package/lib/qr-code/style/index.js +68 -0
  2071. package/lib/qrcode/index.d.ts +2 -0
  2072. package/lib/qrcode/index.js +12 -0
  2073. package/lib/qrcode/interface.d.ts +1 -0
  2074. package/lib/qrcode/interface.js +16 -0
  2075. package/lib/qrcode/style/index.d.ts +1 -0
  2076. package/lib/qrcode/style/index.js +16 -0
  2077. package/lib/radio/context.js +6 -13
  2078. package/lib/radio/group.js +69 -82
  2079. package/lib/radio/index.d.ts +3 -3
  2080. package/lib/radio/index.js +9 -14
  2081. package/lib/radio/interface.d.ts +1 -0
  2082. package/lib/radio/radio.d.ts +2 -2
  2083. package/lib/radio/radio.js +63 -80
  2084. package/lib/radio/radioButton.d.ts +2 -2
  2085. package/lib/radio/radioButton.js +9 -27
  2086. package/lib/radio/style/index.d.ts +74 -1
  2087. package/lib/radio/style/index.js +236 -264
  2088. package/lib/rate/index.d.ts +3 -2
  2089. package/lib/rate/index.js +35 -49
  2090. package/lib/rate/style/index.d.ts +27 -2
  2091. package/lib/rate/style/index.js +43 -55
  2092. package/lib/result/index.d.ts +8 -7
  2093. package/lib/result/index.js +71 -85
  2094. package/lib/result/noFound.d.ts +2 -1
  2095. package/lib/result/noFound.js +5 -9
  2096. package/lib/result/serverError.d.ts +2 -1
  2097. package/lib/result/serverError.js +4 -8
  2098. package/lib/result/style/index.d.ts +24 -3
  2099. package/lib/result/style/index.js +56 -64
  2100. package/lib/result/unauthorized.d.ts +2 -1
  2101. package/lib/result/unauthorized.js +4 -8
  2102. package/lib/row/index.js +3 -5
  2103. package/lib/row/style/index.js +5 -6
  2104. package/lib/segmented/index.d.ts +2 -1
  2105. package/lib/segmented/index.js +51 -66
  2106. package/lib/segmented/style/index.d.ts +34 -1
  2107. package/lib/segmented/style/index.js +107 -94
  2108. package/lib/select/index.d.ts +18 -8
  2109. package/lib/select/index.js +151 -144
  2110. package/lib/select/style/dropdown.js +48 -50
  2111. package/lib/select/style/index.d.ts +101 -3
  2112. package/lib/select/style/index.js +161 -113
  2113. package/lib/select/style/multiple.d.ts +2 -1
  2114. package/lib/select/style/multiple.js +89 -102
  2115. package/lib/select/style/single.js +53 -67
  2116. package/lib/select/useBuiltinPlacements.d.ts +3 -0
  2117. package/lib/select/useBuiltinPlacements.js +40 -0
  2118. package/lib/select/useIcons.d.ts +26 -0
  2119. package/lib/select/useIcons.js +88 -0
  2120. package/lib/select/useShowArrow.d.ts +8 -0
  2121. package/lib/select/useShowArrow.js +15 -0
  2122. package/lib/skeleton/Avatar.js +34 -42
  2123. package/lib/skeleton/Button.js +35 -44
  2124. package/lib/skeleton/Element.d.ts +1 -0
  2125. package/lib/skeleton/Element.js +20 -27
  2126. package/lib/skeleton/Image.js +31 -36
  2127. package/lib/skeleton/Input.js +34 -43
  2128. package/lib/skeleton/Node.js +32 -37
  2129. package/lib/skeleton/Paragraph.js +15 -27
  2130. package/lib/skeleton/Skeleton.d.ts +2 -1
  2131. package/lib/skeleton/Skeleton.js +72 -104
  2132. package/lib/skeleton/Title.js +11 -20
  2133. package/lib/skeleton/index.js +4 -7
  2134. package/lib/skeleton/style/index.d.ts +36 -1
  2135. package/lib/skeleton/style/index.js +148 -174
  2136. package/lib/slider/SliderTooltip.d.ts +2 -1
  2137. package/lib/slider/SliderTooltip.js +16 -27
  2138. package/lib/slider/index.d.ts +31 -11
  2139. package/lib/slider/index.js +106 -121
  2140. package/lib/slider/style/index.d.ts +82 -1
  2141. package/lib/slider/style/index.js +160 -132
  2142. package/lib/space/Compact.d.ts +1 -0
  2143. package/lib/space/Compact.js +52 -71
  2144. package/lib/space/Item.d.ts +4 -5
  2145. package/lib/space/Item.js +14 -47
  2146. package/lib/space/context.d.ts +6 -0
  2147. package/lib/space/context.js +12 -0
  2148. package/lib/space/index.d.ts +9 -7
  2149. package/lib/space/index.js +86 -120
  2150. package/lib/space/style/compact.js +9 -13
  2151. package/lib/space/style/index.d.ts +4 -1
  2152. package/lib/space/style/index.js +53 -22
  2153. package/lib/spin/index.d.ts +7 -9
  2154. package/lib/spin/index.js +112 -141
  2155. package/lib/spin/style/index.d.ts +23 -1
  2156. package/lib/spin/style/index.js +126 -105
  2157. package/lib/statistic/Countdown.d.ts +3 -3
  2158. package/lib/statistic/Countdown.js +12 -35
  2159. package/lib/statistic/Number.js +16 -25
  2160. package/lib/statistic/Statistic.d.ts +3 -6
  2161. package/lib/statistic/Statistic.js +62 -63
  2162. package/lib/statistic/index.d.ts +11 -3
  2163. package/lib/statistic/index.js +5 -9
  2164. package/lib/statistic/interface.d.ts +0 -0
  2165. package/lib/statistic/interface.js +1 -0
  2166. package/lib/statistic/style/index.d.ts +16 -1
  2167. package/lib/statistic/style/index.js +39 -45
  2168. package/lib/statistic/utils.d.ts +2 -2
  2169. package/lib/statistic/utils.js +25 -15
  2170. package/lib/steps/index.d.ts +1 -0
  2171. package/lib/steps/index.js +65 -81
  2172. package/lib/steps/style/custom-icon.js +20 -23
  2173. package/lib/steps/style/index.d.ts +73 -20
  2174. package/lib/steps/style/index.js +118 -146
  2175. package/lib/steps/style/inline.d.ts +1 -1
  2176. package/lib/steps/style/inline.js +37 -42
  2177. package/lib/steps/style/label-placement.d.ts +1 -1
  2178. package/lib/steps/style/label-placement.js +18 -21
  2179. package/lib/steps/style/nav.d.ts +1 -1
  2180. package/lib/steps/style/nav.js +44 -46
  2181. package/lib/steps/style/progress-dot.d.ts +1 -1
  2182. package/lib/steps/style/progress-dot.js +57 -59
  2183. package/lib/steps/style/progress.js +23 -27
  2184. package/lib/steps/style/rtl.js +17 -21
  2185. package/lib/steps/style/small.d.ts +1 -1
  2186. package/lib/steps/style/small.js +30 -33
  2187. package/lib/steps/style/vertical.d.ts +1 -1
  2188. package/lib/steps/style/vertical.js +30 -33
  2189. package/lib/steps/useLegacyItems.js +10 -18
  2190. package/lib/style/compact-item-vertical.d.ts +4 -3
  2191. package/lib/style/compact-item-vertical.js +28 -40
  2192. package/lib/style/compact-item.d.ts +18 -10
  2193. package/lib/style/compact-item.js +38 -43
  2194. package/lib/style/index.d.ts +4 -5
  2195. package/lib/style/index.js +22 -48
  2196. package/lib/style/motion/collapse.js +10 -14
  2197. package/lib/style/motion/fade.js +9 -17
  2198. package/lib/style/motion/index.js +2 -8
  2199. package/lib/style/motion/motion.js +10 -17
  2200. package/lib/style/motion/move.js +17 -31
  2201. package/lib/style/motion/slide.js +21 -31
  2202. package/lib/style/motion/zoom.js +21 -39
  2203. package/lib/style/operationUnit.js +3 -4
  2204. package/lib/style/placementArrow.d.ts +13 -12
  2205. package/lib/style/placementArrow.js +64 -101
  2206. package/lib/style/roundedArrow.d.ts +6 -1
  2207. package/lib/style/roundedArrow.js +52 -33
  2208. package/lib/switch/index.d.ts +11 -0
  2209. package/lib/switch/index.js +71 -70
  2210. package/lib/switch/style/index.d.ts +71 -1
  2211. package/lib/switch/style/index.js +183 -149
  2212. package/lib/table/Column.js +2 -6
  2213. package/lib/table/ColumnGroup.js +2 -6
  2214. package/lib/table/ExpandIcon.d.ts +1 -1
  2215. package/lib/table/ExpandIcon.js +17 -22
  2216. package/lib/table/InternalTable.d.ts +32 -0
  2217. package/lib/table/InternalTable.js +449 -0
  2218. package/lib/table/RcTable/VirtualTable.d.ts +5 -0
  2219. package/lib/table/RcTable/VirtualTable.js +16 -0
  2220. package/lib/table/RcTable/index.d.ts +5 -0
  2221. package/lib/table/RcTable/index.js +16 -0
  2222. package/lib/table/Table.d.ts +10 -40
  2223. package/lib/table/Table.js +26 -474
  2224. package/lib/table/hooks/useContainerWidth.d.ts +1 -0
  2225. package/lib/table/hooks/useContainerWidth.js +20 -0
  2226. package/lib/table/hooks/useFilter/FilterDropdown.d.ts +6 -4
  2227. package/lib/table/hooks/useFilter/FilterDropdown.js +161 -220
  2228. package/lib/table/hooks/useFilter/FilterSearch.d.ts +1 -1
  2229. package/lib/table/hooks/useFilter/FilterSearch.js +13 -22
  2230. package/lib/table/hooks/useFilter/FilterWrapper.d.ts +1 -1
  2231. package/lib/table/hooks/useFilter/FilterWrapper.js +14 -18
  2232. package/lib/table/hooks/useFilter/index.d.ts +5 -3
  2233. package/lib/table/hooks/useFilter/index.js +89 -106
  2234. package/lib/table/hooks/useLazyKVMap.js +4 -17
  2235. package/lib/table/hooks/usePagination.d.ts +3 -2
  2236. package/lib/table/hooks/usePagination.js +35 -75
  2237. package/lib/table/hooks/useSelection.d.ts +5 -3
  2238. package/lib/table/hooks/useSelection.js +228 -296
  2239. package/lib/table/hooks/useSorter.js +97 -146
  2240. package/lib/table/hooks/useTitleColumns.js +3 -14
  2241. package/lib/table/index.d.ts +5 -3
  2242. package/lib/table/index.js +4 -7
  2243. package/lib/table/interface.d.ts +25 -11
  2244. package/lib/table/interface.js +4 -3
  2245. package/lib/table/style/bordered.d.ts +1 -1
  2246. package/lib/table/style/bordered.js +43 -48
  2247. package/lib/table/style/ellipsis.js +12 -19
  2248. package/lib/table/style/empty.js +12 -16
  2249. package/lib/table/style/expand.d.ts +1 -1
  2250. package/lib/table/style/expand.js +60 -70
  2251. package/lib/table/style/filter.js +67 -69
  2252. package/lib/table/style/fixed.js +39 -39
  2253. package/lib/table/style/index.d.ts +161 -6
  2254. package/lib/table/style/index.js +220 -184
  2255. package/lib/table/style/pagination.d.ts +1 -1
  2256. package/lib/table/style/pagination.js +14 -16
  2257. package/lib/table/style/radius.d.ts +1 -1
  2258. package/lib/table/style/radius.js +23 -31
  2259. package/lib/table/style/rtl.js +24 -16
  2260. package/lib/table/style/selection.d.ts +1 -1
  2261. package/lib/table/style/selection.js +48 -33
  2262. package/lib/table/style/size.d.ts +1 -1
  2263. package/lib/table/style/size.js +25 -30
  2264. package/lib/table/style/sorter.js +25 -29
  2265. package/lib/table/style/sticky.d.ts +1 -1
  2266. package/lib/table/style/sticky.js +22 -20
  2267. package/lib/table/style/summary.d.ts +1 -1
  2268. package/lib/table/style/summary.js +16 -18
  2269. package/lib/table/style/virtual.d.ts +5 -0
  2270. package/lib/table/style/virtual.js +56 -0
  2271. package/lib/table/util.js +1 -9
  2272. package/lib/tabs/TabPane.d.ts +1 -1
  2273. package/lib/tabs/TabPane.js +2 -6
  2274. package/lib/tabs/hooks/useAnimateConfig.js +5 -16
  2275. package/lib/tabs/hooks/useLegacyItems.js +14 -29
  2276. package/lib/tabs/index.d.ts +6 -6
  2277. package/lib/tabs/index.js +82 -94
  2278. package/lib/tabs/style/index.d.ts +126 -9
  2279. package/lib/tabs/style/index.js +260 -232
  2280. package/lib/tabs/style/motion.js +12 -15
  2281. package/lib/tag/CheckableTag.d.ts +1 -1
  2282. package/lib/tag/CheckableTag.js +40 -50
  2283. package/lib/tag/index.d.ts +5 -2
  2284. package/lib/tag/index.js +84 -107
  2285. package/lib/tag/style/index.d.ts +23 -1
  2286. package/lib/tag/style/index.js +76 -108
  2287. package/lib/tag/style/presetCmp.d.ts +3 -0
  2288. package/lib/tag/style/presetCmp.js +41 -0
  2289. package/lib/tag/style/statusCmp.d.ts +3 -0
  2290. package/lib/tag/style/statusCmp.js +29 -0
  2291. package/lib/theme/context.d.ts +31 -0
  2292. package/lib/theme/context.js +22 -0
  2293. package/lib/theme/getDesignToken.d.ts +4 -0
  2294. package/lib/theme/getDesignToken.js +19 -0
  2295. package/lib/theme/index.d.ts +27 -0
  2296. package/lib/theme/index.js +47 -0
  2297. package/lib/theme/interface/alias.d.ts +545 -0
  2298. package/lib/theme/interface/alias.js +5 -0
  2299. package/lib/theme/interface/components.d.ts +133 -0
  2300. package/lib/theme/interface/components.js +5 -0
  2301. package/lib/theme/interface/index.d.ts +20 -0
  2302. package/lib/theme/interface/index.js +12 -0
  2303. package/lib/theme/interface/maps/colors.d.ts +501 -0
  2304. package/lib/theme/interface/maps/colors.js +5 -0
  2305. package/lib/theme/interface/maps/font.d.ts +117 -0
  2306. package/lib/theme/interface/maps/font.js +5 -0
  2307. package/lib/theme/interface/maps/index.d.ts +29 -0
  2308. package/lib/theme/interface/maps/index.js +49 -0
  2309. package/lib/theme/interface/maps/size.d.ts +69 -0
  2310. package/lib/theme/interface/maps/size.js +5 -0
  2311. package/lib/theme/interface/maps/style.d.ts +42 -0
  2312. package/lib/theme/interface/maps/style.js +5 -0
  2313. package/lib/theme/interface/presetColors.d.ts +11 -0
  2314. package/lib/theme/interface/presetColors.js +7 -0
  2315. package/lib/theme/interface/seeds.d.ts +223 -0
  2316. package/lib/theme/interface/seeds.js +5 -0
  2317. package/lib/theme/internal.d.ts +13 -0
  2318. package/lib/theme/internal.js +94 -0
  2319. package/lib/theme/themes/ColorMap.d.ts +15 -0
  2320. package/lib/theme/themes/ColorMap.js +1 -0
  2321. package/lib/theme/themes/compact/genCompactSizeMapToken.d.ts +2 -0
  2322. package/lib/theme/themes/compact/genCompactSizeMapToken.js +16 -0
  2323. package/lib/theme/themes/compact/index.d.ts +4 -0
  2324. package/lib/theme/themes/compact/index.js +32 -0
  2325. package/lib/theme/themes/dark/colorAlgorithm.d.ts +2 -0
  2326. package/lib/theme/themes/dark/colorAlgorithm.js +8 -0
  2327. package/lib/theme/themes/dark/colors.d.ts +3 -0
  2328. package/lib/theme/themes/dark/colors.js +46 -0
  2329. package/lib/theme/themes/dark/index.d.ts +4 -0
  2330. package/lib/theme/themes/dark/index.js +34 -0
  2331. package/lib/theme/themes/default/colorAlgorithm.d.ts +2 -0
  2332. package/lib/theme/themes/default/colorAlgorithm.js +8 -0
  2333. package/lib/theme/themes/default/colors.d.ts +3 -0
  2334. package/lib/theme/themes/default/colors.js +44 -0
  2335. package/lib/theme/themes/default/index.d.ts +2 -0
  2336. package/lib/theme/themes/default/index.js +32 -0
  2337. package/lib/theme/themes/seed.d.ts +4 -0
  2338. package/lib/theme/themes/seed.js +69 -0
  2339. package/lib/theme/themes/shared/genColorMapToken.d.ts +8 -0
  2340. package/lib/theme/themes/shared/genColorMapToken.js +78 -0
  2341. package/lib/theme/themes/shared/genCommonMapToken.d.ts +2 -0
  2342. package/lib/theme/themes/shared/genCommonMapToken.js +33 -0
  2343. package/lib/theme/themes/shared/genControlHeight.d.ts +3 -0
  2344. package/lib/theme/themes/shared/genControlHeight.js +9 -0
  2345. package/lib/theme/themes/shared/genFontSizes.d.ts +4 -0
  2346. package/lib/theme/themes/shared/genFontSizes.js +19 -0
  2347. package/lib/theme/themes/shared/genRadius.d.ts +3 -0
  2348. package/lib/theme/themes/shared/genRadius.js +50 -0
  2349. package/lib/theme/themes/shared/genSizeMapToken.d.ts +2 -0
  2350. package/lib/theme/themes/shared/genSizeMapToken.js +23 -0
  2351. package/lib/theme/themes/themeConfig.d.ts +3 -0
  2352. package/lib/theme/themes/themeConfig.js +65 -0
  2353. package/lib/theme/useToken.d.ts +19 -0
  2354. package/lib/theme/useToken.js +137 -0
  2355. package/lib/theme/util/alias.d.ts +12 -0
  2356. package/lib/theme/util/alias.js +149 -0
  2357. package/lib/theme/util/calc/CSSCalculator.d.ts +14 -0
  2358. package/lib/theme/util/calc/CSSCalculator.js +107 -0
  2359. package/lib/theme/util/calc/NumCalculator.d.ts +10 -0
  2360. package/lib/theme/util/calc/NumCalculator.js +75 -0
  2361. package/lib/theme/util/calc/calculator.d.ts +30 -0
  2362. package/lib/theme/util/calc/calculator.js +13 -0
  2363. package/lib/theme/util/calc/index.d.ts +5 -0
  2364. package/lib/theme/util/calc/index.js +16 -0
  2365. package/lib/theme/util/genComponentStyleHook.d.ts +90 -0
  2366. package/lib/theme/util/genComponentStyleHook.js +247 -0
  2367. package/lib/theme/util/genPresetColor.d.ts +16 -0
  2368. package/lib/theme/util/genPresetColor.js +21 -0
  2369. package/lib/theme/util/getAlphaColor.d.ts +2 -0
  2370. package/lib/theme/util/getAlphaColor.js +46 -0
  2371. package/lib/theme/util/maxmin.d.ts +7 -0
  2372. package/lib/theme/util/maxmin.js +33 -0
  2373. package/lib/theme/util/statistic.d.ts +11 -0
  2374. package/lib/theme/util/statistic.js +76 -0
  2375. package/lib/theme/util/useResetIconStyle.d.ts +4 -0
  2376. package/lib/theme/util/useResetIconStyle.js +41 -0
  2377. package/lib/time-picker/index.d.ts +4 -3
  2378. package/lib/time-picker/index.js +22 -38
  2379. package/lib/time-picker/locale/ar_EG.js +2 -3
  2380. package/lib/time-picker/locale/az_AZ.js +2 -3
  2381. package/lib/time-picker/locale/bg_BG.js +2 -3
  2382. package/lib/time-picker/locale/bn_BD.js +2 -3
  2383. package/lib/time-picker/locale/by_BY.js +2 -3
  2384. package/lib/time-picker/locale/ca_ES.js +2 -3
  2385. package/lib/time-picker/locale/cs_CZ.js +2 -3
  2386. package/lib/time-picker/locale/da_DK.js +2 -3
  2387. package/lib/time-picker/locale/de_DE.js +4 -4
  2388. package/lib/time-picker/locale/el_GR.js +2 -3
  2389. package/lib/time-picker/locale/en_GB.js +2 -3
  2390. package/lib/time-picker/locale/en_US.js +2 -3
  2391. package/lib/time-picker/locale/es_ES.js +2 -3
  2392. package/lib/time-picker/locale/et_EE.js +2 -3
  2393. package/lib/time-picker/locale/eu_ES.d.ts +3 -0
  2394. package/lib/time-picker/locale/eu_ES.js +10 -0
  2395. package/lib/time-picker/locale/fa_IR.js +2 -3
  2396. package/lib/time-picker/locale/fi_FI.js +2 -3
  2397. package/lib/time-picker/locale/fr_BE.js +4 -4
  2398. package/lib/time-picker/locale/fr_CA.js +2 -3
  2399. package/lib/time-picker/locale/fr_FR.js +2 -3
  2400. package/lib/time-picker/locale/ga_IE.js +2 -3
  2401. package/lib/time-picker/locale/gl_ES.js +2 -3
  2402. package/lib/time-picker/locale/he_IL.js +2 -3
  2403. package/lib/time-picker/locale/hi_IN.js +2 -3
  2404. package/lib/time-picker/locale/hr_HR.js +2 -3
  2405. package/lib/time-picker/locale/hu_HU.js +2 -3
  2406. package/lib/time-picker/locale/id_ID.js +2 -3
  2407. package/lib/time-picker/locale/is_IS.js +2 -3
  2408. package/lib/time-picker/locale/it_IT.js +2 -3
  2409. package/lib/time-picker/locale/ja_JP.js +2 -3
  2410. package/lib/time-picker/locale/ka_GE.js +2 -3
  2411. package/lib/time-picker/locale/kk_KZ.js +2 -3
  2412. package/lib/time-picker/locale/km_KH.js +2 -3
  2413. package/lib/time-picker/locale/kmr_IQ.js +2 -3
  2414. package/lib/time-picker/locale/kn_IN.js +2 -3
  2415. package/lib/time-picker/locale/ko_KR.js +2 -3
  2416. package/lib/time-picker/locale/lt_LT.js +2 -3
  2417. package/lib/time-picker/locale/lv_LV.js +2 -3
  2418. package/lib/time-picker/locale/mk_MK.js +2 -3
  2419. package/lib/time-picker/locale/ml_IN.js +2 -3
  2420. package/lib/time-picker/locale/mn_MN.js +2 -3
  2421. package/lib/time-picker/locale/ms_MY.js +2 -3
  2422. package/lib/time-picker/locale/my_MM.d.ts +3 -0
  2423. package/lib/time-picker/locale/my_MM.js +11 -0
  2424. package/lib/time-picker/locale/nb_NO.js +2 -3
  2425. package/lib/time-picker/locale/nl_BE.js +2 -3
  2426. package/lib/time-picker/locale/nl_NL.js +2 -3
  2427. package/lib/time-picker/locale/pl_PL.js +2 -3
  2428. package/lib/time-picker/locale/pt_BR.js +2 -3
  2429. package/lib/time-picker/locale/pt_PT.js +2 -3
  2430. package/lib/time-picker/locale/ro_RO.js +2 -3
  2431. package/lib/time-picker/locale/ru_RU.js +2 -3
  2432. package/lib/time-picker/locale/si_LK.js +2 -3
  2433. package/lib/time-picker/locale/sk_SK.js +2 -3
  2434. package/lib/time-picker/locale/sl_SI.js +2 -3
  2435. package/lib/time-picker/locale/sr_RS.js +2 -3
  2436. package/lib/time-picker/locale/sv_SE.js +2 -3
  2437. package/lib/time-picker/locale/ta_IN.js +2 -3
  2438. package/lib/time-picker/locale/th_TH.js +2 -3
  2439. package/lib/time-picker/locale/tk_TK.js +2 -3
  2440. package/lib/time-picker/locale/tr_TR.js +2 -3
  2441. package/lib/time-picker/locale/uk_UA.js +2 -3
  2442. package/lib/time-picker/locale/ur_PK.js +2 -3
  2443. package/lib/time-picker/locale/vi_VN.js +4 -4
  2444. package/lib/time-picker/locale/zh_CN.js +2 -3
  2445. package/lib/time-picker/locale/zh_TW.js +2 -3
  2446. package/lib/timeline/Timeline.d.ts +2 -0
  2447. package/lib/timeline/Timeline.js +53 -101
  2448. package/lib/timeline/TimelineItem.d.ts +4 -1
  2449. package/lib/timeline/TimelineItem.js +29 -44
  2450. package/lib/timeline/TimelineItemList.d.ts +7 -0
  2451. package/lib/timeline/TimelineItemList.js +91 -0
  2452. package/lib/timeline/index.js +4 -7
  2453. package/lib/timeline/style/index.d.ts +29 -1
  2454. package/lib/timeline/style/index.js +80 -76
  2455. package/lib/timeline/useItems.d.ts +4 -0
  2456. package/lib/timeline/useItems.js +19 -0
  2457. package/lib/tooltip/PurePanel.d.ts +3 -1
  2458. package/lib/tooltip/PurePanel.js +38 -43
  2459. package/lib/tooltip/index.d.ts +19 -4
  2460. package/lib/tooltip/index.js +146 -217
  2461. package/lib/tooltip/style/index.d.ts +11 -4
  2462. package/lib/tooltip/style/index.js +70 -93
  2463. package/lib/tooltip/util.js +10 -15
  2464. package/lib/tour/PurePanel.d.ts +2 -2
  2465. package/lib/tour/PurePanel.js +40 -52
  2466. package/lib/tour/index.d.ts +1 -1
  2467. package/lib/tour/index.js +75 -58
  2468. package/lib/tour/interface.d.ts +7 -3
  2469. package/lib/tour/panelRender.d.ts +10 -2
  2470. package/lib/tour/panelRender.js +109 -108
  2471. package/lib/tour/style/index.d.ts +27 -2
  2472. package/lib/tour/style/index.js +109 -107
  2473. package/lib/transfer/ListBody.d.ts +6 -19
  2474. package/lib/transfer/ListBody.js +113 -176
  2475. package/lib/transfer/ListItem.d.ts +2 -2
  2476. package/lib/transfer/ListItem.js +57 -70
  2477. package/lib/transfer/hooks/useData.d.ts +3 -0
  2478. package/lib/transfer/hooks/useData.js +47 -0
  2479. package/lib/transfer/hooks/useSelection.d.ts +9 -0
  2480. package/lib/transfer/hooks/useSelection.js +66 -0
  2481. package/lib/transfer/index.d.ts +18 -68
  2482. package/lib/transfer/index.js +341 -474
  2483. package/lib/transfer/list.d.ts +13 -39
  2484. package/lib/transfer/list.js +270 -390
  2485. package/lib/transfer/operation.d.ts +3 -3
  2486. package/lib/transfer/operation.js +26 -31
  2487. package/lib/transfer/search.d.ts +2 -1
  2488. package/lib/transfer/search.js +18 -20
  2489. package/lib/transfer/style/index.d.ts +31 -1
  2490. package/lib/transfer/style/index.js +136 -146
  2491. package/lib/tree/DirectoryTree.d.ts +1 -1
  2492. package/lib/tree/DirectoryTree.js +67 -105
  2493. package/lib/tree/Tree.d.ts +18 -17
  2494. package/lib/tree/Tree.js +70 -76
  2495. package/lib/tree/index.d.ts +5 -5
  2496. package/lib/tree/index.js +7 -12
  2497. package/lib/tree/style/index.d.ts +38 -6
  2498. package/lib/tree/style/index.js +141 -144
  2499. package/lib/tree/utils/dictUtil.d.ts +6 -2
  2500. package/lib/tree/utils/dictUtil.js +16 -31
  2501. package/lib/tree/utils/dropIndicator.d.ts +2 -2
  2502. package/lib/tree/utils/dropIndicator.js +16 -23
  2503. package/lib/tree/utils/iconUtil.d.ts +11 -4
  2504. package/lib/tree/utils/iconUtil.js +30 -49
  2505. package/lib/tree-select/index.d.ts +16 -5
  2506. package/lib/tree-select/index.js +162 -159
  2507. package/lib/tree-select/style/index.d.ts +7 -1
  2508. package/lib/tree-select/style/index.js +34 -34
  2509. package/lib/typography/Base/Ellipsis.d.ts +1 -4
  2510. package/lib/typography/Base/Ellipsis.js +57 -78
  2511. package/lib/typography/Base/EllipsisTooltip.d.ts +1 -4
  2512. package/lib/typography/Base/EllipsisTooltip.js +9 -20
  2513. package/lib/typography/Base/index.d.ts +1 -1
  2514. package/lib/typography/Base/index.js +181 -274
  2515. package/lib/typography/Editable.d.ts +1 -1
  2516. package/lib/typography/Editable.js +60 -76
  2517. package/lib/typography/Link.js +18 -30
  2518. package/lib/typography/Paragraph.js +6 -13
  2519. package/lib/typography/Text.js +17 -33
  2520. package/lib/typography/Title.d.ts +1 -1
  2521. package/lib/typography/Title.js +16 -31
  2522. package/lib/typography/Typography.d.ts +1 -0
  2523. package/lib/typography/Typography.js +51 -60
  2524. package/lib/typography/hooks/useMergedConfig.js +4 -12
  2525. package/lib/typography/hooks/useUpdatedEffect.js +3 -9
  2526. package/lib/typography/index.js +9 -16
  2527. package/lib/typography/style/index.d.ts +14 -4
  2528. package/lib/typography/style/index.js +44 -55
  2529. package/lib/typography/style/mixins.d.ts +3 -3
  2530. package/lib/typography/style/mixins.js +46 -53
  2531. package/lib/upload/Dragger.d.ts +2 -1
  2532. package/lib/upload/Dragger.js +10 -25
  2533. package/lib/upload/Upload.d.ts +15 -3
  2534. package/lib/upload/Upload.js +226 -287
  2535. package/lib/upload/UploadList/ListItem.d.ts +1 -1
  2536. package/lib/upload/UploadList/ListItem.js +80 -104
  2537. package/lib/upload/UploadList/index.d.ts +6 -2
  2538. package/lib/upload/UploadList/index.js +90 -130
  2539. package/lib/upload/index.js +7 -12
  2540. package/lib/upload/interface.d.ts +13 -12
  2541. package/lib/upload/style/dragger.js +23 -28
  2542. package/lib/upload/style/index.d.ts +12 -5
  2543. package/lib/upload/style/index.js +33 -42
  2544. package/lib/upload/style/list.js +45 -57
  2545. package/lib/upload/style/motion.js +15 -19
  2546. package/lib/upload/style/picture.js +73 -74
  2547. package/lib/upload/style/rtl.js +8 -11
  2548. package/lib/upload/utils.d.ts +3 -3
  2549. package/lib/upload/utils.js +16 -38
  2550. package/lib/version/index.js +6 -10
  2551. package/lib/version/token-meta.json +1 -1
  2552. package/lib/version/token.json +1 -1
  2553. package/lib/version/version.d.ts +1 -1
  2554. package/lib/version/version.js +2 -3
  2555. package/lib/watermark/context.d.ts +8 -0
  2556. package/lib/watermark/context.js +30 -0
  2557. package/lib/watermark/index.d.ts +26 -0
  2558. package/lib/watermark/index.js +250 -0
  2559. package/lib/watermark/useClips.d.ts +7 -0
  2560. package/lib/watermark/useClips.js +125 -0
  2561. package/lib/watermark/useRafDebounce.d.ts +4 -0
  2562. package/lib/watermark/useRafDebounce.js +29 -0
  2563. package/lib/watermark/useWatermark.d.ts +13 -0
  2564. package/lib/watermark/useWatermark.js +61 -0
  2565. package/lib/watermark/utils.d.ts +8 -0
  2566. package/lib/watermark/utils.js +38 -0
  2567. package/package.json +72 -70
  2568. package/es/_util/getDataOrAriaProps.d.ts +0 -1
  2569. package/es/_util/getDataOrAriaProps.js +0 -9
  2570. package/es/_util/hooks/useFlexGapSupport.d.ts +0 -2
  2571. package/es/_util/hooks/useFlexGapSupport.js +0 -14
  2572. package/es/_util/raf.d.ts +0 -9
  2573. package/es/_util/raf.js +0 -31
  2574. package/es/_util/responsiveObserve.d.ts +0 -21
  2575. package/es/_util/responsiveObserve.js +0 -67
  2576. package/es/avatar/SizeContext.d.ts +0 -10
  2577. package/es/avatar/SizeContext.js +0 -12
  2578. package/es/badge/utils.d.ts +0 -1
  2579. package/es/badge/utils.js +0 -5
  2580. package/es/dropdown/style/button.d.ts +0 -4
  2581. package/es/dropdown/style/button.js +0 -21
  2582. package/es/input/ClearableLabeledInput.d.ts +0 -40
  2583. package/es/input/ClearableLabeledInput.js +0 -109
  2584. package/es/locale-provider/LocaleReceiver.d.ts +0 -11
  2585. package/es/locale-provider/LocaleReceiver.js +0 -42
  2586. package/es/locale-provider/ar_EG.d.ts +0 -2
  2587. package/es/locale-provider/ar_EG.js +0 -2
  2588. package/es/locale-provider/az_AZ.d.ts +0 -2
  2589. package/es/locale-provider/az_AZ.js +0 -2
  2590. package/es/locale-provider/bg_BG.d.ts +0 -2
  2591. package/es/locale-provider/bg_BG.js +0 -2
  2592. package/es/locale-provider/bn_BD.d.ts +0 -2
  2593. package/es/locale-provider/bn_BD.js +0 -2
  2594. package/es/locale-provider/by_BY.d.ts +0 -2
  2595. package/es/locale-provider/by_BY.js +0 -2
  2596. package/es/locale-provider/ca_ES.d.ts +0 -2
  2597. package/es/locale-provider/ca_ES.js +0 -2
  2598. package/es/locale-provider/cs_CZ.d.ts +0 -2
  2599. package/es/locale-provider/cs_CZ.js +0 -2
  2600. package/es/locale-provider/da_DK.d.ts +0 -2
  2601. package/es/locale-provider/da_DK.js +0 -2
  2602. package/es/locale-provider/de_DE.d.ts +0 -2
  2603. package/es/locale-provider/de_DE.js +0 -2
  2604. package/es/locale-provider/el_GR.d.ts +0 -2
  2605. package/es/locale-provider/el_GR.js +0 -2
  2606. package/es/locale-provider/en_GB.d.ts +0 -2
  2607. package/es/locale-provider/en_GB.js +0 -2
  2608. package/es/locale-provider/en_US.d.ts +0 -2
  2609. package/es/locale-provider/en_US.js +0 -2
  2610. package/es/locale-provider/es_ES.d.ts +0 -2
  2611. package/es/locale-provider/es_ES.js +0 -2
  2612. package/es/locale-provider/et_EE.d.ts +0 -2
  2613. package/es/locale-provider/et_EE.js +0 -2
  2614. package/es/locale-provider/fa_IR.d.ts +0 -2
  2615. package/es/locale-provider/fa_IR.js +0 -2
  2616. package/es/locale-provider/fi_FI.d.ts +0 -2
  2617. package/es/locale-provider/fi_FI.js +0 -2
  2618. package/es/locale-provider/fr_BE.d.ts +0 -2
  2619. package/es/locale-provider/fr_BE.js +0 -2
  2620. package/es/locale-provider/fr_CA.d.ts +0 -2
  2621. package/es/locale-provider/fr_CA.js +0 -2
  2622. package/es/locale-provider/fr_FR.d.ts +0 -2
  2623. package/es/locale-provider/fr_FR.js +0 -2
  2624. package/es/locale-provider/ga_IE.d.ts +0 -2
  2625. package/es/locale-provider/ga_IE.js +0 -2
  2626. package/es/locale-provider/gl_ES.d.ts +0 -2
  2627. package/es/locale-provider/gl_ES.js +0 -2
  2628. package/es/locale-provider/he_IL.d.ts +0 -2
  2629. package/es/locale-provider/he_IL.js +0 -2
  2630. package/es/locale-provider/hi_IN.d.ts +0 -2
  2631. package/es/locale-provider/hi_IN.js +0 -2
  2632. package/es/locale-provider/hr_HR.d.ts +0 -2
  2633. package/es/locale-provider/hr_HR.js +0 -2
  2634. package/es/locale-provider/hu_HU.d.ts +0 -2
  2635. package/es/locale-provider/hu_HU.js +0 -2
  2636. package/es/locale-provider/hy_AM.d.ts +0 -2
  2637. package/es/locale-provider/hy_AM.js +0 -2
  2638. package/es/locale-provider/id_ID.d.ts +0 -2
  2639. package/es/locale-provider/id_ID.js +0 -2
  2640. package/es/locale-provider/index.d.ts +0 -51
  2641. package/es/locale-provider/index.js +0 -34
  2642. package/es/locale-provider/is_IS.d.ts +0 -2
  2643. package/es/locale-provider/is_IS.js +0 -2
  2644. package/es/locale-provider/it_IT.d.ts +0 -2
  2645. package/es/locale-provider/it_IT.js +0 -2
  2646. package/es/locale-provider/ja_JP.d.ts +0 -2
  2647. package/es/locale-provider/ja_JP.js +0 -2
  2648. package/es/locale-provider/ka_GE.d.ts +0 -2
  2649. package/es/locale-provider/ka_GE.js +0 -2
  2650. package/es/locale-provider/kk_KZ.d.ts +0 -2
  2651. package/es/locale-provider/kk_KZ.js +0 -2
  2652. package/es/locale-provider/km_KH.d.ts +0 -2
  2653. package/es/locale-provider/km_KH.js +0 -2
  2654. package/es/locale-provider/kmr_IQ.d.ts +0 -2
  2655. package/es/locale-provider/kmr_IQ.js +0 -2
  2656. package/es/locale-provider/kn_IN.d.ts +0 -2
  2657. package/es/locale-provider/kn_IN.js +0 -2
  2658. package/es/locale-provider/ko_KR.d.ts +0 -2
  2659. package/es/locale-provider/ko_KR.js +0 -2
  2660. package/es/locale-provider/ku_IQ.d.ts +0 -2
  2661. package/es/locale-provider/ku_IQ.js +0 -2
  2662. package/es/locale-provider/lt_LT.d.ts +0 -2
  2663. package/es/locale-provider/lt_LT.js +0 -2
  2664. package/es/locale-provider/lv_LV.d.ts +0 -2
  2665. package/es/locale-provider/lv_LV.js +0 -2
  2666. package/es/locale-provider/mk_MK.d.ts +0 -2
  2667. package/es/locale-provider/mk_MK.js +0 -2
  2668. package/es/locale-provider/ml_IN.d.ts +0 -2
  2669. package/es/locale-provider/ml_IN.js +0 -2
  2670. package/es/locale-provider/mn_MN.d.ts +0 -2
  2671. package/es/locale-provider/mn_MN.js +0 -2
  2672. package/es/locale-provider/ms_MY.d.ts +0 -2
  2673. package/es/locale-provider/ms_MY.js +0 -2
  2674. package/es/locale-provider/nb_NO.d.ts +0 -2
  2675. package/es/locale-provider/nb_NO.js +0 -2
  2676. package/es/locale-provider/ne_NP.d.ts +0 -2
  2677. package/es/locale-provider/ne_NP.js +0 -2
  2678. package/es/locale-provider/nl_BE.d.ts +0 -2
  2679. package/es/locale-provider/nl_BE.js +0 -2
  2680. package/es/locale-provider/nl_NL.d.ts +0 -2
  2681. package/es/locale-provider/nl_NL.js +0 -2
  2682. package/es/locale-provider/pl_PL.d.ts +0 -2
  2683. package/es/locale-provider/pl_PL.js +0 -2
  2684. package/es/locale-provider/pt_BR.d.ts +0 -2
  2685. package/es/locale-provider/pt_BR.js +0 -2
  2686. package/es/locale-provider/pt_PT.d.ts +0 -2
  2687. package/es/locale-provider/pt_PT.js +0 -2
  2688. package/es/locale-provider/ro_RO.d.ts +0 -2
  2689. package/es/locale-provider/ro_RO.js +0 -2
  2690. package/es/locale-provider/ru_RU.d.ts +0 -2
  2691. package/es/locale-provider/ru_RU.js +0 -2
  2692. package/es/locale-provider/si_LK.d.ts +0 -2
  2693. package/es/locale-provider/si_LK.js +0 -2
  2694. package/es/locale-provider/sk_SK.d.ts +0 -2
  2695. package/es/locale-provider/sk_SK.js +0 -2
  2696. package/es/locale-provider/sl_SI.d.ts +0 -2
  2697. package/es/locale-provider/sl_SI.js +0 -2
  2698. package/es/locale-provider/sr_RS.d.ts +0 -2
  2699. package/es/locale-provider/sr_RS.js +0 -2
  2700. package/es/locale-provider/sv_SE.d.ts +0 -2
  2701. package/es/locale-provider/sv_SE.js +0 -2
  2702. package/es/locale-provider/ta_IN.d.ts +0 -2
  2703. package/es/locale-provider/ta_IN.js +0 -2
  2704. package/es/locale-provider/th_TH.d.ts +0 -2
  2705. package/es/locale-provider/th_TH.js +0 -2
  2706. package/es/locale-provider/tk_TK.d.ts +0 -2
  2707. package/es/locale-provider/tk_TK.js +0 -2
  2708. package/es/locale-provider/tr_TR.d.ts +0 -2
  2709. package/es/locale-provider/tr_TR.js +0 -2
  2710. package/es/locale-provider/uk_UA.d.ts +0 -2
  2711. package/es/locale-provider/uk_UA.js +0 -2
  2712. package/es/locale-provider/ur_PK.d.ts +0 -2
  2713. package/es/locale-provider/ur_PK.js +0 -2
  2714. package/es/locale-provider/vi_VN.d.ts +0 -2
  2715. package/es/locale-provider/vi_VN.js +0 -2
  2716. package/es/locale-provider/zh_CN.d.ts +0 -2
  2717. package/es/locale-provider/zh_CN.js +0 -2
  2718. package/es/locale-provider/zh_HK.d.ts +0 -2
  2719. package/es/locale-provider/zh_HK.js +0 -2
  2720. package/es/locale-provider/zh_TW.d.ts +0 -2
  2721. package/es/locale-provider/zh_TW.js +0 -2
  2722. package/es/select/utils/iconUtil.d.ts +0 -24
  2723. package/es/select/utils/iconUtil.js +0 -79
  2724. package/lib/_util/getDataOrAriaProps.d.ts +0 -1
  2725. package/lib/_util/getDataOrAriaProps.js +0 -16
  2726. package/lib/_util/hooks/useFlexGapSupport.d.ts +0 -2
  2727. package/lib/_util/hooks/useFlexGapSupport.js +0 -30
  2728. package/lib/_util/raf.d.ts +0 -9
  2729. package/lib/_util/raf.js +0 -43
  2730. package/lib/_util/responsiveObserve.d.ts +0 -21
  2731. package/lib/_util/responsiveObserve.js +0 -81
  2732. package/lib/avatar/SizeContext.d.ts +0 -10
  2733. package/lib/avatar/SizeContext.js +0 -26
  2734. package/lib/badge/utils.d.ts +0 -1
  2735. package/lib/badge/utils.js +0 -13
  2736. package/lib/dropdown/style/button.d.ts +0 -4
  2737. package/lib/dropdown/style/button.js +0 -31
  2738. package/lib/input/ClearableLabeledInput.d.ts +0 -40
  2739. package/lib/input/ClearableLabeledInput.js +0 -131
  2740. package/lib/locale-provider/LocaleReceiver.d.ts +0 -11
  2741. package/lib/locale-provider/LocaleReceiver.js +0 -60
  2742. package/lib/locale-provider/ar_EG.d.ts +0 -2
  2743. package/lib/locale-provider/ar_EG.js +0 -13
  2744. package/lib/locale-provider/az_AZ.d.ts +0 -2
  2745. package/lib/locale-provider/az_AZ.js +0 -13
  2746. package/lib/locale-provider/bg_BG.d.ts +0 -2
  2747. package/lib/locale-provider/bg_BG.js +0 -13
  2748. package/lib/locale-provider/bn_BD.d.ts +0 -2
  2749. package/lib/locale-provider/bn_BD.js +0 -13
  2750. package/lib/locale-provider/by_BY.d.ts +0 -2
  2751. package/lib/locale-provider/by_BY.js +0 -13
  2752. package/lib/locale-provider/ca_ES.d.ts +0 -2
  2753. package/lib/locale-provider/ca_ES.js +0 -13
  2754. package/lib/locale-provider/context.js +0 -12
  2755. package/lib/locale-provider/cs_CZ.d.ts +0 -2
  2756. package/lib/locale-provider/cs_CZ.js +0 -13
  2757. package/lib/locale-provider/da_DK.d.ts +0 -2
  2758. package/lib/locale-provider/da_DK.js +0 -13
  2759. package/lib/locale-provider/de_DE.d.ts +0 -2
  2760. package/lib/locale-provider/de_DE.js +0 -13
  2761. package/lib/locale-provider/el_GR.d.ts +0 -2
  2762. package/lib/locale-provider/el_GR.js +0 -13
  2763. package/lib/locale-provider/en_GB.d.ts +0 -2
  2764. package/lib/locale-provider/en_GB.js +0 -13
  2765. package/lib/locale-provider/en_US.d.ts +0 -2
  2766. package/lib/locale-provider/en_US.js +0 -13
  2767. package/lib/locale-provider/es_ES.d.ts +0 -2
  2768. package/lib/locale-provider/es_ES.js +0 -13
  2769. package/lib/locale-provider/et_EE.d.ts +0 -2
  2770. package/lib/locale-provider/et_EE.js +0 -13
  2771. package/lib/locale-provider/fa_IR.d.ts +0 -2
  2772. package/lib/locale-provider/fa_IR.js +0 -13
  2773. package/lib/locale-provider/fi_FI.d.ts +0 -2
  2774. package/lib/locale-provider/fi_FI.js +0 -13
  2775. package/lib/locale-provider/fr_BE.d.ts +0 -2
  2776. package/lib/locale-provider/fr_BE.js +0 -13
  2777. package/lib/locale-provider/fr_CA.d.ts +0 -2
  2778. package/lib/locale-provider/fr_CA.js +0 -13
  2779. package/lib/locale-provider/fr_FR.d.ts +0 -2
  2780. package/lib/locale-provider/fr_FR.js +0 -13
  2781. package/lib/locale-provider/ga_IE.d.ts +0 -2
  2782. package/lib/locale-provider/ga_IE.js +0 -13
  2783. package/lib/locale-provider/gl_ES.d.ts +0 -2
  2784. package/lib/locale-provider/gl_ES.js +0 -13
  2785. package/lib/locale-provider/he_IL.d.ts +0 -2
  2786. package/lib/locale-provider/he_IL.js +0 -13
  2787. package/lib/locale-provider/hi_IN.d.ts +0 -2
  2788. package/lib/locale-provider/hi_IN.js +0 -13
  2789. package/lib/locale-provider/hr_HR.d.ts +0 -2
  2790. package/lib/locale-provider/hr_HR.js +0 -13
  2791. package/lib/locale-provider/hu_HU.d.ts +0 -2
  2792. package/lib/locale-provider/hu_HU.js +0 -13
  2793. package/lib/locale-provider/hy_AM.d.ts +0 -2
  2794. package/lib/locale-provider/hy_AM.js +0 -13
  2795. package/lib/locale-provider/id_ID.d.ts +0 -2
  2796. package/lib/locale-provider/id_ID.js +0 -13
  2797. package/lib/locale-provider/index.d.ts +0 -51
  2798. package/lib/locale-provider/index.js +0 -52
  2799. package/lib/locale-provider/is_IS.d.ts +0 -2
  2800. package/lib/locale-provider/is_IS.js +0 -13
  2801. package/lib/locale-provider/it_IT.d.ts +0 -2
  2802. package/lib/locale-provider/it_IT.js +0 -13
  2803. package/lib/locale-provider/ja_JP.d.ts +0 -2
  2804. package/lib/locale-provider/ja_JP.js +0 -13
  2805. package/lib/locale-provider/ka_GE.d.ts +0 -2
  2806. package/lib/locale-provider/ka_GE.js +0 -13
  2807. package/lib/locale-provider/kk_KZ.d.ts +0 -2
  2808. package/lib/locale-provider/kk_KZ.js +0 -13
  2809. package/lib/locale-provider/km_KH.d.ts +0 -2
  2810. package/lib/locale-provider/km_KH.js +0 -13
  2811. package/lib/locale-provider/kmr_IQ.d.ts +0 -2
  2812. package/lib/locale-provider/kmr_IQ.js +0 -13
  2813. package/lib/locale-provider/kn_IN.d.ts +0 -2
  2814. package/lib/locale-provider/kn_IN.js +0 -13
  2815. package/lib/locale-provider/ko_KR.d.ts +0 -2
  2816. package/lib/locale-provider/ko_KR.js +0 -13
  2817. package/lib/locale-provider/ku_IQ.d.ts +0 -2
  2818. package/lib/locale-provider/ku_IQ.js +0 -13
  2819. package/lib/locale-provider/lt_LT.d.ts +0 -2
  2820. package/lib/locale-provider/lt_LT.js +0 -13
  2821. package/lib/locale-provider/lv_LV.d.ts +0 -2
  2822. package/lib/locale-provider/lv_LV.js +0 -13
  2823. package/lib/locale-provider/mk_MK.d.ts +0 -2
  2824. package/lib/locale-provider/mk_MK.js +0 -13
  2825. package/lib/locale-provider/ml_IN.d.ts +0 -2
  2826. package/lib/locale-provider/ml_IN.js +0 -13
  2827. package/lib/locale-provider/mn_MN.d.ts +0 -2
  2828. package/lib/locale-provider/mn_MN.js +0 -13
  2829. package/lib/locale-provider/ms_MY.d.ts +0 -2
  2830. package/lib/locale-provider/ms_MY.js +0 -13
  2831. package/lib/locale-provider/nb_NO.d.ts +0 -2
  2832. package/lib/locale-provider/nb_NO.js +0 -13
  2833. package/lib/locale-provider/ne_NP.d.ts +0 -2
  2834. package/lib/locale-provider/ne_NP.js +0 -13
  2835. package/lib/locale-provider/nl_BE.d.ts +0 -2
  2836. package/lib/locale-provider/nl_BE.js +0 -13
  2837. package/lib/locale-provider/nl_NL.d.ts +0 -2
  2838. package/lib/locale-provider/nl_NL.js +0 -13
  2839. package/lib/locale-provider/pl_PL.d.ts +0 -2
  2840. package/lib/locale-provider/pl_PL.js +0 -13
  2841. package/lib/locale-provider/pt_BR.d.ts +0 -2
  2842. package/lib/locale-provider/pt_BR.js +0 -13
  2843. package/lib/locale-provider/pt_PT.d.ts +0 -2
  2844. package/lib/locale-provider/pt_PT.js +0 -13
  2845. package/lib/locale-provider/ro_RO.d.ts +0 -2
  2846. package/lib/locale-provider/ro_RO.js +0 -13
  2847. package/lib/locale-provider/ru_RU.d.ts +0 -2
  2848. package/lib/locale-provider/ru_RU.js +0 -13
  2849. package/lib/locale-provider/si_LK.d.ts +0 -2
  2850. package/lib/locale-provider/si_LK.js +0 -13
  2851. package/lib/locale-provider/sk_SK.d.ts +0 -2
  2852. package/lib/locale-provider/sk_SK.js +0 -13
  2853. package/lib/locale-provider/sl_SI.d.ts +0 -2
  2854. package/lib/locale-provider/sl_SI.js +0 -13
  2855. package/lib/locale-provider/sr_RS.d.ts +0 -2
  2856. package/lib/locale-provider/sr_RS.js +0 -13
  2857. package/lib/locale-provider/sv_SE.d.ts +0 -2
  2858. package/lib/locale-provider/sv_SE.js +0 -13
  2859. package/lib/locale-provider/ta_IN.d.ts +0 -2
  2860. package/lib/locale-provider/ta_IN.js +0 -13
  2861. package/lib/locale-provider/th_TH.d.ts +0 -2
  2862. package/lib/locale-provider/th_TH.js +0 -13
  2863. package/lib/locale-provider/tk_TK.d.ts +0 -2
  2864. package/lib/locale-provider/tk_TK.js +0 -13
  2865. package/lib/locale-provider/tr_TR.d.ts +0 -2
  2866. package/lib/locale-provider/tr_TR.js +0 -13
  2867. package/lib/locale-provider/uk_UA.d.ts +0 -2
  2868. package/lib/locale-provider/uk_UA.js +0 -13
  2869. package/lib/locale-provider/ur_PK.d.ts +0 -2
  2870. package/lib/locale-provider/ur_PK.js +0 -13
  2871. package/lib/locale-provider/vi_VN.d.ts +0 -2
  2872. package/lib/locale-provider/vi_VN.js +0 -13
  2873. package/lib/locale-provider/zh_CN.d.ts +0 -2
  2874. package/lib/locale-provider/zh_CN.js +0 -13
  2875. package/lib/locale-provider/zh_HK.d.ts +0 -2
  2876. package/lib/locale-provider/zh_HK.js +0 -13
  2877. package/lib/locale-provider/zh_TW.d.ts +0 -2
  2878. package/lib/locale-provider/zh_TW.js +0 -13
  2879. package/lib/select/utils/iconUtil.d.ts +0 -24
  2880. package/lib/select/utils/iconUtil.js +0 -97
  2881. /package/es/{locale-provider → locale}/context.d.ts +0 -0
  2882. /package/es/{locale-provider → locale}/context.js +0 -0
  2883. /package/lib/{locale-provider → locale}/context.d.ts +0 -0
@@ -1,44 +1,45 @@
1
- import _extends from "@babel/runtime/helpers/esm/extends";
2
- import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
1
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
3
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
4
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
5
+ import { unit } from '@ant-design/cssinjs';
3
6
  import { TinyColor } from '@ctrl/tinycolor';
4
- import { genActiveStyle, genBasicInputStyle, genHoverStyle, initInputToken } from "../../input/style";
5
- import { initSlideMotion, initMoveMotion, slideDownIn, slideDownOut, slideUpIn, slideUpOut } from "../../style/motion";
6
- import { genComponentStyleHook, mergeToken } from "../../theme/internal";
7
- import { resetComponent, roundedArrow, textEllipsis } from "../../style";
7
+ import { genActiveStyle, genBasicInputStyle, genHoverStyle, initComponentToken, initInputToken } from "../../input/style";
8
+ import { resetComponent, textEllipsis } from "../../style";
8
9
  import { genCompactItemStyle } from "../../style/compact-item";
9
-
10
- var genPikerPadding = function genPikerPadding(token, inputHeight, fontSize, paddingHorizontal) {
11
- var lineHeight = token.lineHeight;
12
- var fontHeight = Math.floor(fontSize * lineHeight) + 2;
13
- var paddingTop = Math.max((inputHeight - fontHeight) / 2, 0);
14
- var paddingBottom = Math.max(inputHeight - fontHeight - paddingTop, 0);
10
+ import { initMoveMotion, initSlideMotion, slideDownIn, slideDownOut, slideUpIn, slideUpOut } from "../../style/motion";
11
+ import { genStyleHooks, mergeToken } from "../../theme/internal";
12
+ import { genRoundedArrow, getArrowToken } from "../../style/roundedArrow";
13
+ var genPikerPadding = function genPikerPadding(token, inputHeight, fontHeight, paddingHorizontal) {
14
+ var height = token.calc(fontHeight).add(2).equal();
15
+ var paddingTop = token.max(token.calc(inputHeight).sub(height).div(2).equal(), 0);
16
+ var paddingBottom = token.max(token.calc(inputHeight).sub(height).sub(paddingTop).equal(), 0);
15
17
  return {
16
- padding: paddingTop + "px " + paddingHorizontal + "px " + paddingBottom + "px"
18
+ padding: "".concat(unit(paddingTop), " ").concat(unit(paddingHorizontal), " ").concat(unit(paddingBottom))
17
19
  };
18
20
  };
19
-
20
21
  var genPickerCellInnerStyle = function genPickerCellInnerStyle(token) {
21
22
  var _disabled, _ref;
22
-
23
23
  var componentCls = token.componentCls,
24
- pickerCellInnerCls = token.pickerCellInnerCls,
25
- pickerPanelCellHeight = token.pickerPanelCellHeight,
26
- motionDurationSlow = token.motionDurationSlow,
27
- borderRadiusSM = token.borderRadiusSM,
28
- motionDurationMid = token.motionDurationMid,
29
- controlItemBgHover = token.controlItemBgHover,
30
- lineWidth = token.lineWidth,
31
- lineType = token.lineType,
32
- colorPrimary = token.colorPrimary,
33
- controlItemBgActive = token.controlItemBgActive,
34
- colorTextLightSolid = token.colorTextLightSolid,
35
- controlHeightSM = token.controlHeightSM,
36
- pickerDateHoverRangeBorderColor = token.pickerDateHoverRangeBorderColor,
37
- pickerCellBorderGap = token.pickerCellBorderGap,
38
- pickerBasicCellHoverWithRangeColor = token.pickerBasicCellHoverWithRangeColor,
39
- pickerPanelCellWidth = token.pickerPanelCellWidth,
40
- colorTextDisabled = token.colorTextDisabled,
41
- colorBgContainerDisabled = token.colorBgContainerDisabled;
24
+ pickerCellCls = token.pickerCellCls,
25
+ pickerCellInnerCls = token.pickerCellInnerCls,
26
+ cellHeight = token.cellHeight,
27
+ motionDurationSlow = token.motionDurationSlow,
28
+ borderRadiusSM = token.borderRadiusSM,
29
+ motionDurationMid = token.motionDurationMid,
30
+ cellHoverBg = token.cellHoverBg,
31
+ lineWidth = token.lineWidth,
32
+ lineType = token.lineType,
33
+ colorPrimary = token.colorPrimary,
34
+ cellActiveWithRangeBg = token.cellActiveWithRangeBg,
35
+ colorTextLightSolid = token.colorTextLightSolid,
36
+ controlHeightSM = token.controlHeightSM,
37
+ cellRangeBorderColor = token.cellRangeBorderColor,
38
+ pickerCellBorderGap = token.pickerCellBorderGap,
39
+ cellHoverWithRangeBg = token.cellHoverWithRangeBg,
40
+ cellWidth = token.cellWidth,
41
+ colorTextDisabled = token.colorTextDisabled,
42
+ cellBgDisabled = token.cellBgDisabled;
42
43
  return _ref = {
43
44
  '&::before': {
44
45
  position: 'absolute',
@@ -46,23 +47,26 @@ var genPickerCellInnerStyle = function genPickerCellInnerStyle(token) {
46
47
  insetInlineStart: 0,
47
48
  insetInlineEnd: 0,
48
49
  zIndex: 1,
49
- height: pickerPanelCellHeight,
50
+ height: cellHeight,
50
51
  transform: 'translateY(-50%)',
51
- transition: "all " + motionDurationSlow,
52
+ transition: "all ".concat(motionDurationSlow),
52
53
  content: '""'
53
54
  }
54
55
  }, _defineProperty(_ref, pickerCellInnerCls, {
55
56
  position: 'relative',
56
57
  zIndex: 2,
57
58
  display: 'inline-block',
58
- minWidth: pickerPanelCellHeight,
59
- height: pickerPanelCellHeight,
60
- lineHeight: pickerPanelCellHeight + "px",
59
+ minWidth: cellHeight,
60
+ height: cellHeight,
61
+ lineHeight: unit(cellHeight),
61
62
  borderRadius: borderRadiusSM,
62
- transition: "background " + motionDurationMid + ", border " + motionDurationMid
63
- }), _defineProperty(_ref, "&:hover:not(&-in-view),\n &:hover:not(&-selected):not(&-range-start):not(&-range-end):not(&-range-hover-start):not(&-range-hover-end)", _defineProperty({}, pickerCellInnerCls, {
64
- background: controlItemBgHover
65
- })), _defineProperty(_ref, "&-in-view:is(&-today) " + pickerCellInnerCls, {
63
+ transition: "background ".concat(motionDurationMid, ", border ").concat(motionDurationMid)
64
+ }), _defineProperty(_ref, "&-range-hover-start, &-range-hover-end", _defineProperty({}, pickerCellInnerCls, {
65
+ borderStartEndRadius: 0,
66
+ borderEndEndRadius: 0
67
+ })), _defineProperty(_ref, "&:hover:not(".concat(pickerCellCls, "-in-view),\n &:hover:not(").concat(pickerCellCls, "-selected):not(").concat(pickerCellCls, "-range-start):not(").concat(pickerCellCls, "-range-end):not(").concat(pickerCellCls, "-range-hover-start):not(").concat(pickerCellCls, "-range-hover-end)"), _defineProperty({}, pickerCellInnerCls, {
68
+ background: cellHoverBg
69
+ })), _defineProperty(_ref, "&-in-view".concat(pickerCellCls, "-today ").concat(pickerCellInnerCls), {
66
70
  '&::before': {
67
71
  position: 'absolute',
68
72
  top: 0,
@@ -70,132 +74,133 @@ var genPickerCellInnerStyle = function genPickerCellInnerStyle(token) {
70
74
  bottom: 0,
71
75
  insetInlineStart: 0,
72
76
  zIndex: 1,
73
- border: lineWidth + "px " + lineType + " " + colorPrimary,
77
+ border: "".concat(unit(lineWidth), " ").concat(lineType, " ").concat(colorPrimary),
74
78
  borderRadius: borderRadiusSM,
75
79
  content: '""'
76
80
  }
77
- }), _defineProperty(_ref, '&-in-view:is(&-in-range)', {
81
+ }), _defineProperty(_ref, "&-in-view".concat(pickerCellCls, "-in-range"), {
78
82
  position: 'relative',
79
83
  '&::before': {
80
- background: controlItemBgActive
84
+ background: cellActiveWithRangeBg
81
85
  }
82
- }), _defineProperty(_ref, "&-in-view:is(&-selected) " + pickerCellInnerCls + ",\n &-in-view:is(&-range-start) " + pickerCellInnerCls + ",\n &-in-view:is(&-range-end) " + pickerCellInnerCls, {
86
+ }), _defineProperty(_ref, "&-in-view".concat(pickerCellCls, "-selected ").concat(pickerCellInnerCls, ",\n &-in-view").concat(pickerCellCls, "-range-start ").concat(pickerCellInnerCls, ",\n &-in-view").concat(pickerCellCls, "-range-end ").concat(pickerCellInnerCls), {
83
87
  color: colorTextLightSolid,
84
88
  background: colorPrimary
85
- }), _defineProperty(_ref, "&-in-view:is(&-range-start):not(&-range-start-single),\n &-in-view:is(&-range-end):not(&-range-end-single)", {
89
+ }), _defineProperty(_ref, "&-in-view".concat(pickerCellCls, "-range-start:not(").concat(pickerCellCls, "-range-start-single),\n &-in-view").concat(pickerCellCls, "-range-end:not(").concat(pickerCellCls, "-range-end-single)"), {
86
90
  '&::before': {
87
- background: controlItemBgActive
91
+ background: cellActiveWithRangeBg
88
92
  }
89
- }), _defineProperty(_ref, '&-in-view:is(&-range-start)::before', {
93
+ }), _defineProperty(_ref, "&-in-view".concat(pickerCellCls, "-range-start::before"), {
90
94
  insetInlineStart: '50%'
91
- }), _defineProperty(_ref, '&-in-view:is(&-range-end)::before', {
95
+ }), _defineProperty(_ref, "&-in-view".concat(pickerCellCls, "-range-end::before"), {
92
96
  insetInlineEnd: '50%'
93
- }), _defineProperty(_ref, "&-in-view:is(&-range-hover-start):not(&-in-range):not(&-range-start):not(&-range-end),\n &-in-view:is(&-range-hover-end):not(&-in-range):not(&-range-start):not(&-range-end),\n &-in-view:is(&-range-hover-start):is(&-range-start-single),\n &-in-view:is(&-range-hover-start):is(&-range-start):is(&-range-end):is(&-range-end-near-hover),\n &-in-view:is(&-range-hover-end):is(&-range-start):is(&-range-end):is(&-range-start-near-hover),\n &-in-view:is(&-range-hover-end):is(&-range-end-single),\n &-in-view:is(&-range-hover):not(&-in-range)", {
97
+ }), _defineProperty(_ref, "&-in-view".concat(pickerCellCls, "-range-hover-start:not(").concat(pickerCellCls, "-in-range):not(").concat(pickerCellCls, "-range-start):not(").concat(pickerCellCls, "-range-end),\n &-in-view").concat(pickerCellCls, "-range-hover-end:not(").concat(pickerCellCls, "-in-range):not(").concat(pickerCellCls, "-range-start):not(").concat(pickerCellCls, "-range-end),\n &-in-view").concat(pickerCellCls, "-range-hover-start").concat(pickerCellCls, "-range-start-single,\n &-in-view").concat(pickerCellCls, "-range-hover-start").concat(pickerCellCls, "-range-start").concat(pickerCellCls, "-range-end").concat(pickerCellCls, "-range-end-near-hover,\n &-in-view").concat(pickerCellCls, "-range-hover-end").concat(pickerCellCls, "-range-start").concat(pickerCellCls, "-range-end").concat(pickerCellCls, "-range-start-near-hover,\n &-in-view").concat(pickerCellCls, "-range-hover-end").concat(pickerCellCls, "-range-end-single,\n &-in-view").concat(pickerCellCls, "-range-hover:not(").concat(pickerCellCls, "-in-range)"), {
94
98
  '&::after': {
95
99
  position: 'absolute',
96
100
  top: '50%',
97
101
  zIndex: 0,
98
102
  height: controlHeightSM,
99
- borderTop: lineWidth + "px dashed " + pickerDateHoverRangeBorderColor,
100
- borderBottom: lineWidth + "px dashed " + pickerDateHoverRangeBorderColor,
103
+ borderTop: "".concat(unit(lineWidth), " dashed ").concat(cellRangeBorderColor),
104
+ borderBottom: "".concat(unit(lineWidth), " dashed ").concat(cellRangeBorderColor),
101
105
  transform: 'translateY(-50%)',
102
- transition: "all " + motionDurationSlow,
106
+ transition: "all ".concat(motionDurationSlow),
103
107
  content: '""'
104
108
  }
105
109
  }), _defineProperty(_ref, "&-range-hover-start::after,\n &-range-hover-end::after,\n &-range-hover::after", {
106
110
  insetInlineEnd: 0,
107
111
  insetInlineStart: pickerCellBorderGap
108
- }), _defineProperty(_ref, "&-in-view:is(&-in-range):is(&-range-hover)::before,\n &-in-view:is(&-range-start):is(&-range-hover)::before,\n &-in-view:is(&-range-end):is(&-range-hover)::before,\n &-in-view:is(&-range-start):not(&-range-start-single):is(&-range-hover-start)::before,\n &-in-view:is(&-range-end):not(&-range-end-single):is(&-range-hover-end)::before,\n " + componentCls + "-panel\n > :not(" + componentCls + "-date-panel)\n &-in-view:is(&-in-range):is(&-range-hover-start)::before,\n " + componentCls + "-panel\n > :not(" + componentCls + "-date-panel)\n &-in-view:is(&-in-range):is(&-range-hover-end)::before", {
109
- background: pickerBasicCellHoverWithRangeColor
110
- }), _defineProperty(_ref, "&-in-view:is(&-range-start):not(&-range-start-single):not(&-range-end) " + pickerCellInnerCls, {
112
+ }), _defineProperty(_ref, "&-in-view".concat(pickerCellCls, "-in-range").concat(pickerCellCls, "-range-hover::before,\n &-in-view").concat(pickerCellCls, "-in-range").concat(pickerCellCls, "-range-hover-start::before,\n &-in-view").concat(pickerCellCls, "-in-range").concat(pickerCellCls, "-range-hover-end::before,\n &-in-view").concat(pickerCellCls, "-range-start").concat(pickerCellCls, "-range-hover::before,\n &-in-view").concat(pickerCellCls, "-range-end").concat(pickerCellCls, "-range-hover::before,\n &-in-view").concat(pickerCellCls, "-range-start:not(").concat(pickerCellCls, "-range-start-single)").concat(pickerCellCls, "-range-hover-start::before,\n &-in-view").concat(pickerCellCls, "-range-end:not(").concat(pickerCellCls, "-range-end-single)").concat(pickerCellCls, "-range-hover-end::before,\n ").concat(componentCls, "-panel\n > :not(").concat(componentCls, "-date-panel)\n &-in-view").concat(pickerCellCls, "-in-range").concat(pickerCellCls, "-range-hover-start::before,\n ").concat(componentCls, "-panel\n > :not(").concat(componentCls, "-date-panel)\n &-in-view").concat(pickerCellCls, "-in-range").concat(pickerCellCls, "-range-hover-end::before"), {
113
+ background: cellHoverWithRangeBg
114
+ }), _defineProperty(_ref, "&-in-view".concat(pickerCellCls, "-range-start:not(").concat(pickerCellCls, "-range-start-single):not(").concat(pickerCellCls, "-range-end) ").concat(pickerCellInnerCls), {
111
115
  borderStartStartRadius: borderRadiusSM,
112
116
  borderEndStartRadius: borderRadiusSM,
113
117
  borderStartEndRadius: 0,
114
118
  borderEndEndRadius: 0
115
- }), _defineProperty(_ref, "&-in-view:is(&-range-end):not(&-range-end-single):not(&-range-start) " + pickerCellInnerCls, {
119
+ }), _defineProperty(_ref, "&-in-view".concat(pickerCellCls, "-range-end:not(").concat(pickerCellCls, "-range-end-single):not(").concat(pickerCellCls, "-range-start) ").concat(pickerCellInnerCls), {
116
120
  borderStartStartRadius: 0,
117
121
  borderEndStartRadius: 0,
118
122
  borderStartEndRadius: borderRadiusSM,
119
123
  borderEndEndRadius: borderRadiusSM
120
- }), _defineProperty(_ref, '&-range-hover:is(&-range-end)::after', {
124
+ }), _defineProperty(_ref, "&-range-hover".concat(pickerCellCls, "-range-end::after"), {
121
125
  insetInlineStart: '50%'
122
- }), _defineProperty(_ref, "tr > &-in-view:is(&-range-hover):first-child::after,\n tr > &-in-view:is(&-range-hover-end):first-child::after,\n &-in-view:is(&-start):is(&-range-hover-edge-start):is(&-range-hover-edge-start-near-range)::after,\n &-in-view:is(&-range-hover-edge-start):not(&-range-hover-edge-start-near-range)::after,\n &-in-view:is(&-range-hover-start)::after", {
123
- insetInlineStart: (pickerPanelCellWidth - pickerPanelCellHeight) / 2,
124
- borderInlineStart: lineWidth + "px dashed " + pickerDateHoverRangeBorderColor,
125
- borderStartStartRadius: lineWidth,
126
- borderEndStartRadius: lineWidth
127
- }), _defineProperty(_ref, "tr > &-in-view:is(&-range-hover):last-child::after,\n tr > &-in-view:is(&-range-hover-start):last-child::after,\n &-in-view:is(&-end):is(&-range-hover-edge-end):is(&-range-hover-edge-end-near-range)::after,\n &-in-view:is(&-range-hover-edge-end):not(&-range-hover-edge-end-near-range)::after,\n &-in-view:is(&-range-hover-end)::after", {
128
- insetInlineEnd: (pickerPanelCellWidth - pickerPanelCellHeight) / 2,
129
- borderInlineEnd: lineWidth + "px dashed " + pickerDateHoverRangeBorderColor,
130
- borderStartEndRadius: lineWidth,
131
- borderEndEndRadius: lineWidth
126
+ }), _defineProperty(_ref, "tr > &-in-view".concat(pickerCellCls, "-range-hover:first-child::after,\n tr > &-in-view").concat(pickerCellCls, "-range-hover-end:first-child::after,\n &-in-view").concat(pickerCellCls, "-start").concat(pickerCellCls, "-range-hover-edge-start").concat(pickerCellCls, "-range-hover-edge-start-near-range::after,\n &-in-view").concat(pickerCellCls, "-range-hover-edge-start:not(").concat(pickerCellCls, "-range-hover-edge-start-near-range)::after,\n &-in-view").concat(pickerCellCls, "-range-hover-start::after"), {
127
+ insetInlineStart: token.calc(cellWidth).sub(cellHeight).div(2).equal(),
128
+ borderInlineStart: "".concat(unit(lineWidth), " dashed ").concat(cellRangeBorderColor),
129
+ borderStartStartRadius: borderRadiusSM,
130
+ borderEndStartRadius: borderRadiusSM
131
+ }), _defineProperty(_ref, "tr > &-in-view".concat(pickerCellCls, "-range-hover:last-child::after,\n tr > &-in-view").concat(pickerCellCls, "-range-hover-start:last-child::after,\n &-in-view").concat(pickerCellCls, "-end").concat(pickerCellCls, "-range-hover-edge-end").concat(pickerCellCls, "-range-hover-edge-end-near-range::after,\n &-in-view").concat(pickerCellCls, "-range-hover-edge-end:not(").concat(pickerCellCls, "-range-hover-edge-end-near-range)::after,\n &-in-view").concat(pickerCellCls, "-range-hover-end::after"), {
132
+ insetInlineEnd: token.calc(cellWidth).sub(cellHeight).div(2).equal(),
133
+ borderInlineEnd: "".concat(unit(lineWidth), " dashed ").concat(cellRangeBorderColor),
134
+ borderStartEndRadius: borderRadiusSM,
135
+ borderEndEndRadius: borderRadiusSM
132
136
  }), _defineProperty(_ref, '&-disabled', (_disabled = {
133
137
  color: colorTextDisabled,
134
138
  pointerEvents: 'none'
135
139
  }, _defineProperty(_disabled, pickerCellInnerCls, {
136
140
  background: 'transparent'
137
141
  }), _defineProperty(_disabled, '&::before', {
138
- background: colorBgContainerDisabled
139
- }), _disabled)), _defineProperty(_ref, "&-disabled:is(&-today) " + pickerCellInnerCls + "::before", {
142
+ background: cellBgDisabled
143
+ }), _disabled)), _defineProperty(_ref, "&-disabled".concat(pickerCellCls, "-today ").concat(pickerCellInnerCls, "::before"), {
140
144
  borderColor: colorTextDisabled
141
145
  }), _ref;
142
146
  };
143
-
144
147
  export var genPanelStyle = function genPanelStyle(token) {
145
- var _rtl, _decadePanel, _decadePanel2, _yearPanel, _selectedTd, _weekPanel, _datePanel, _datetimePanel, _ref5, _timePanel, _componentCls;
146
-
148
+ var _rtl, _decadePanel, _quarterPanel, _decadePanel2, _yearPanel, _yearPanel2, _$concat8, _row, _weekPanel, _datePanel, _datetimePanel, _$concat9, _timePanel, _componentCls;
147
149
  var componentCls = token.componentCls,
148
- pickerCellInnerCls = token.pickerCellInnerCls,
149
- pickerYearMonthCellWidth = token.pickerYearMonthCellWidth,
150
- pickerControlIconSize = token.pickerControlIconSize,
151
- pickerPanelCellWidth = token.pickerPanelCellWidth,
152
- paddingSM = token.paddingSM,
153
- paddingXS = token.paddingXS,
154
- paddingXXS = token.paddingXXS,
155
- colorBgContainer = token.colorBgContainer,
156
- lineWidth = token.lineWidth,
157
- lineType = token.lineType,
158
- borderRadiusLG = token.borderRadiusLG,
159
- colorPrimary = token.colorPrimary,
160
- colorTextHeading = token.colorTextHeading,
161
- colorSplit = token.colorSplit,
162
- pickerControlIconBorderWidth = token.pickerControlIconBorderWidth,
163
- colorIcon = token.colorIcon,
164
- pickerTextHeight = token.pickerTextHeight,
165
- motionDurationMid = token.motionDurationMid,
166
- colorIconHover = token.colorIconHover,
167
- fontWeightStrong = token.fontWeightStrong,
168
- pickerPanelCellHeight = token.pickerPanelCellHeight,
169
- pickerCellPaddingVertical = token.pickerCellPaddingVertical,
170
- colorTextDisabled = token.colorTextDisabled,
171
- colorText = token.colorText,
172
- fontSize = token.fontSize,
173
- pickerBasicCellHoverWithRangeColor = token.pickerBasicCellHoverWithRangeColor,
174
- motionDurationSlow = token.motionDurationSlow,
175
- pickerPanelWithoutTimeCellHeight = token.pickerPanelWithoutTimeCellHeight,
176
- pickerQuarterPanelContentHeight = token.pickerQuarterPanelContentHeight,
177
- colorLink = token.colorLink,
178
- colorLinkActive = token.colorLinkActive,
179
- colorLinkHover = token.colorLinkHover,
180
- pickerDateHoverRangeBorderColor = token.pickerDateHoverRangeBorderColor,
181
- borderRadiusSM = token.borderRadiusSM,
182
- colorTextLightSolid = token.colorTextLightSolid,
183
- borderRadius = token.borderRadius,
184
- controlItemBgHover = token.controlItemBgHover,
185
- pickerTimePanelColumnHeight = token.pickerTimePanelColumnHeight,
186
- pickerTimePanelColumnWidth = token.pickerTimePanelColumnWidth,
187
- pickerTimePanelCellHeight = token.pickerTimePanelCellHeight,
188
- controlItemBgActive = token.controlItemBgActive,
189
- marginXXS = token.marginXXS;
190
- var pickerPanelWidth = pickerPanelCellWidth * 7 + paddingSM * 2 + 4;
191
- var hoverCellFixedDistance = (pickerPanelWidth - paddingXS * 2) / 3 - pickerYearMonthCellWidth / 2;
150
+ pickerCellCls = token.pickerCellCls,
151
+ pickerCellInnerCls = token.pickerCellInnerCls,
152
+ pickerYearMonthCellWidth = token.pickerYearMonthCellWidth,
153
+ pickerControlIconSize = token.pickerControlIconSize,
154
+ cellWidth = token.cellWidth,
155
+ paddingSM = token.paddingSM,
156
+ paddingXS = token.paddingXS,
157
+ paddingXXS = token.paddingXXS,
158
+ colorBgContainer = token.colorBgContainer,
159
+ lineWidth = token.lineWidth,
160
+ lineType = token.lineType,
161
+ borderRadiusLG = token.borderRadiusLG,
162
+ colorPrimary = token.colorPrimary,
163
+ colorTextHeading = token.colorTextHeading,
164
+ colorSplit = token.colorSplit,
165
+ pickerControlIconBorderWidth = token.pickerControlIconBorderWidth,
166
+ colorIcon = token.colorIcon,
167
+ textHeight = token.textHeight,
168
+ motionDurationMid = token.motionDurationMid,
169
+ colorIconHover = token.colorIconHover,
170
+ fontWeightStrong = token.fontWeightStrong,
171
+ cellHeight = token.cellHeight,
172
+ pickerCellPaddingVertical = token.pickerCellPaddingVertical,
173
+ colorTextDisabled = token.colorTextDisabled,
174
+ colorText = token.colorText,
175
+ fontSize = token.fontSize,
176
+ cellHoverWithRangeBg = token.cellHoverWithRangeBg,
177
+ motionDurationSlow = token.motionDurationSlow,
178
+ withoutTimeCellHeight = token.withoutTimeCellHeight,
179
+ pickerQuarterPanelContentHeight = token.pickerQuarterPanelContentHeight,
180
+ colorLink = token.colorLink,
181
+ colorLinkActive = token.colorLinkActive,
182
+ colorLinkHover = token.colorLinkHover,
183
+ cellRangeBorderColor = token.cellRangeBorderColor,
184
+ borderRadiusSM = token.borderRadiusSM,
185
+ colorTextLightSolid = token.colorTextLightSolid,
186
+ cellHoverBg = token.cellHoverBg,
187
+ timeColumnHeight = token.timeColumnHeight,
188
+ timeColumnWidth = token.timeColumnWidth,
189
+ timeCellHeight = token.timeCellHeight,
190
+ controlItemBgActive = token.controlItemBgActive,
191
+ marginXXS = token.marginXXS,
192
+ pickerDatePanelPaddingHorizontal = token.pickerDatePanelPaddingHorizontal,
193
+ pickerControlIconMargin = token.pickerControlIconMargin;
194
+ var pickerPanelWidth = token.calc(cellWidth).mul(7).add(token.calc(pickerDatePanelPaddingHorizontal).mul(2)).equal();
195
+ var commonHoverCellFixedDistance = token.calc(pickerPanelWidth).sub(token.calc(paddingXS).mul(2)).div(3).sub(token.pickerYearMonthCellWidth).sub(paddingSM).equal();
196
+ var quarterHoverCellFixedDistance = token.calc(pickerPanelWidth).sub(token.calc(paddingXS).mul(2)).div(4).sub(token.pickerYearMonthCellWidth).equal();
192
197
  return _defineProperty({}, componentCls, (_componentCls = {
193
198
  '&-panel': {
194
199
  display: 'inline-flex',
195
200
  flexDirection: 'column',
196
201
  textAlign: 'center',
197
202
  background: colorBgContainer,
198
- border: lineWidth + "px " + lineType + " " + colorSplit,
203
+ border: "".concat(unit(lineWidth), " ").concat(lineType, " ").concat(colorSplit),
199
204
  borderRadius: borderRadiusLG,
200
205
  outline: 'none',
201
206
  '&-focused': {
@@ -203,10 +208,10 @@ export var genPanelStyle = function genPanelStyle(token) {
203
208
  },
204
209
  '&-rtl': (_rtl = {
205
210
  direction: 'rtl'
206
- }, _defineProperty(_rtl, componentCls + "-prev-icon,\n " + componentCls + "-super-prev-icon", {
207
- transform: 'rotate(135deg)'
208
- }), _defineProperty(_rtl, componentCls + "-next-icon,\n " + componentCls + "-super-next-icon", {
209
- transform: 'rotate(-45deg)'
211
+ }, _defineProperty(_rtl, "".concat(componentCls, "-prev-icon,\n ").concat(componentCls, "-super-prev-icon"), {
212
+ transform: 'rotate(45deg)'
213
+ }), _defineProperty(_rtl, "".concat(componentCls, "-next-icon,\n ").concat(componentCls, "-super-next-icon"), {
214
+ transform: 'rotate(-135deg)'
210
215
  }), _rtl)
211
216
  }
212
217
  }, _defineProperty(_componentCls, "&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel,\n &-week-panel,\n &-date-panel,\n &-time-panel", {
@@ -215,20 +220,21 @@ export var genPanelStyle = function genPanelStyle(token) {
215
220
  width: pickerPanelWidth
216
221
  }), _defineProperty(_componentCls, '&-header', {
217
222
  display: 'flex',
218
- padding: "0 " + paddingXS + "px",
223
+ padding: "0 ".concat(unit(paddingXS)),
219
224
  color: colorTextHeading,
220
- borderBottom: lineWidth + "px " + lineType + " " + colorSplit,
225
+ borderBottom: "".concat(unit(lineWidth), " ").concat(lineType, " ").concat(colorSplit),
221
226
  '> *': {
222
227
  flex: 'none'
223
228
  },
224
229
  button: {
225
230
  padding: 0,
226
231
  color: colorIcon,
227
- lineHeight: pickerTextHeight + "px",
232
+ lineHeight: unit(textHeight),
228
233
  background: 'transparent',
229
234
  border: 0,
230
235
  cursor: 'pointer',
231
- transition: "color " + motionDurationMid
236
+ transition: "color ".concat(motionDurationMid),
237
+ fontSize: 'inherit'
232
238
  },
233
239
  '> button': {
234
240
  minWidth: '1.6em',
@@ -240,7 +246,7 @@ export var genPanelStyle = function genPanelStyle(token) {
240
246
  '&-view': {
241
247
  flex: 'auto',
242
248
  fontWeight: fontWeightStrong,
243
- lineHeight: pickerTextHeight + "px",
249
+ lineHeight: unit(textHeight),
244
250
  button: {
245
251
  color: 'inherit',
246
252
  fontWeight: 'inherit',
@@ -275,8 +281,8 @@ export var genPanelStyle = function genPanelStyle(token) {
275
281
  }), _defineProperty(_componentCls, "&-super-prev-icon,\n &-super-next-icon", {
276
282
  '&::after': {
277
283
  position: 'absolute',
278
- top: Math.ceil(pickerControlIconSize / 2),
279
- insetInlineStart: Math.ceil(pickerControlIconSize / 2),
284
+ top: pickerControlIconMargin,
285
+ insetInlineStart: pickerControlIconMargin,
280
286
  display: 'inline-block',
281
287
  width: pickerControlIconSize,
282
288
  height: pickerControlIconSize,
@@ -297,152 +303,174 @@ export var genPanelStyle = function genPanelStyle(token) {
297
303
  borderCollapse: 'collapse',
298
304
  'th, td': {
299
305
  position: 'relative',
300
- minWidth: pickerPanelCellHeight,
306
+ minWidth: cellHeight,
301
307
  fontWeight: 'normal'
302
308
  },
303
309
  th: {
304
- height: pickerPanelCellHeight + pickerCellPaddingVertical * 2,
310
+ height: token.calc(cellHeight).add(token.calc(pickerCellPaddingVertical).mul(2)).equal(),
305
311
  color: colorText,
306
312
  verticalAlign: 'middle'
307
313
  }
308
- }), _defineProperty(_componentCls, '&-cell', _extends({
309
- padding: pickerCellPaddingVertical + "px 0",
314
+ }), _defineProperty(_componentCls, '&-cell', Object.assign({
315
+ padding: "".concat(unit(pickerCellPaddingVertical), " 0"),
310
316
  color: colorTextDisabled,
311
317
  cursor: 'pointer',
312
318
  // In view
313
319
  '&-in-view': {
314
320
  color: colorText
315
321
  }
316
- }, genPickerCellInnerStyle(token))), _defineProperty(_componentCls, "&-date-panel " + componentCls + "-cell-in-view" + componentCls + "-cell-in-range" + componentCls + "-cell-range-hover-start " + pickerCellInnerCls + ",\n &-date-panel " + componentCls + "-cell-in-view" + componentCls + "-cell-in-range" + componentCls + "-cell-range-hover-end " + pickerCellInnerCls, {
322
+ }, genPickerCellInnerStyle(token))), _defineProperty(_componentCls, "&-date-panel ".concat(componentCls, "-cell-in-view").concat(componentCls, "-cell-in-range").concat(componentCls, "-cell-range-hover-start ").concat(pickerCellInnerCls, ",\n &-date-panel ").concat(componentCls, "-cell-in-view").concat(componentCls, "-cell-in-range").concat(componentCls, "-cell-range-hover-end ").concat(pickerCellInnerCls), {
317
323
  '&::after': {
318
324
  position: 'absolute',
319
325
  top: 0,
320
326
  bottom: 0,
321
327
  zIndex: -1,
322
- background: pickerBasicCellHoverWithRangeColor,
323
- transition: "all " + motionDurationSlow,
328
+ background: cellHoverWithRangeBg,
329
+ transition: "all ".concat(motionDurationSlow),
324
330
  content: '""'
325
331
  }
326
- }), _defineProperty(_componentCls, "&-date-panel\n " + componentCls + "-cell-in-view" + componentCls + "-cell-in-range" + componentCls + "-cell-range-hover-start\n " + pickerCellInnerCls + "::after", {
327
- insetInlineEnd: (pickerPanelCellWidth - pickerPanelCellHeight) / 2,
332
+ }), _defineProperty(_componentCls, "&-date-panel\n ".concat(componentCls, "-cell-in-view").concat(componentCls, "-cell-in-range").concat(componentCls, "-cell-range-hover-start\n ").concat(pickerCellInnerCls, "::after"), {
333
+ insetInlineEnd: token.calc(cellWidth).sub(cellHeight).mul(-1).div(2).equal(),
328
334
  insetInlineStart: 0
329
- }), _defineProperty(_componentCls, "&-date-panel " + componentCls + "-cell-in-view" + componentCls + "-cell-in-range" + componentCls + "-cell-range-hover-end " + pickerCellInnerCls + "::after", {
335
+ }), _defineProperty(_componentCls, "&-date-panel ".concat(componentCls, "-cell-in-view").concat(componentCls, "-cell-in-range").concat(componentCls, "-cell-range-hover-end ").concat(pickerCellInnerCls, "::after"), {
330
336
  insetInlineEnd: 0,
331
- insetInlineStart: (pickerPanelCellWidth - pickerPanelCellHeight) / 2
332
- }), _defineProperty(_componentCls, '&-range-hover:is(&-range-start)::after', {
337
+ insetInlineStart: token.calc(cellWidth).sub(cellHeight).mul(-1).div(2).equal()
338
+ }), _defineProperty(_componentCls, "&-range-hover".concat(componentCls, "-range-start::after"), {
333
339
  insetInlineEnd: '50%'
334
- }), _defineProperty(_componentCls, "&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel", (_decadePanel = {}, _defineProperty(_decadePanel, componentCls + "-content", {
335
- height: pickerPanelWithoutTimeCellHeight * 4
340
+ }), _defineProperty(_componentCls, "&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel", (_decadePanel = {}, _defineProperty(_decadePanel, "".concat(componentCls, "-content"), {
341
+ height: token.calc(withoutTimeCellHeight).mul(4).equal()
336
342
  }), _defineProperty(_decadePanel, pickerCellInnerCls, {
337
- padding: "0 " + paddingXS + "px"
338
- }), _decadePanel)), _defineProperty(_componentCls, '&-quarter-panel', _defineProperty({}, componentCls + "-content", {
343
+ padding: "0 ".concat(unit(paddingXS))
344
+ }), _decadePanel)), _defineProperty(_componentCls, '&-quarter-panel', (_quarterPanel = {}, _defineProperty(_quarterPanel, "".concat(componentCls, "-content"), {
339
345
  height: pickerQuarterPanelContentHeight
340
- })), _defineProperty(_componentCls, "&-panel " + componentCls + "-footer", {
341
- borderTop: lineWidth + "px " + lineType + " " + colorSplit
346
+ }), _defineProperty(_quarterPanel, "".concat(componentCls, "-cell-range-hover-start::after"), _defineProperty({
347
+ insetInlineStart: quarterHoverCellFixedDistance,
348
+ borderInlineStart: "".concat(unit(lineWidth), " dashed ").concat(cellRangeBorderColor)
349
+ }, "".concat(componentCls, "-panel-rtl &"), {
350
+ insetInlineEnd: quarterHoverCellFixedDistance,
351
+ borderInlineEnd: "".concat(unit(lineWidth), " dashed ").concat(cellRangeBorderColor)
352
+ })), _defineProperty(_quarterPanel, "".concat(componentCls, "-cell-range-hover-end::after"), _defineProperty({
353
+ insetInlineEnd: quarterHoverCellFixedDistance,
354
+ borderInlineEnd: "".concat(unit(lineWidth), " dashed ").concat(cellRangeBorderColor)
355
+ }, "".concat(componentCls, "-panel-rtl &"), {
356
+ insetInlineStart: quarterHoverCellFixedDistance,
357
+ borderInlineStart: "".concat(unit(lineWidth), " dashed ").concat(cellRangeBorderColor)
358
+ })), _quarterPanel)), _defineProperty(_componentCls, "&-panel ".concat(componentCls, "-footer"), {
359
+ borderTop: "".concat(unit(lineWidth), " ").concat(lineType, " ").concat(colorSplit)
342
360
  }), _defineProperty(_componentCls, '&-footer', {
343
361
  width: 'min-content',
344
362
  minWidth: '100%',
345
- lineHeight: pickerTextHeight - 2 * lineWidth + "px",
363
+ lineHeight: unit(token.calc(textHeight).sub(token.calc(lineWidth).mul(2)).equal()),
346
364
  textAlign: 'center',
347
365
  '&-extra': {
348
- padding: "0 " + paddingSM,
349
- lineHeight: pickerTextHeight - 2 * lineWidth + "px",
366
+ padding: "0 ".concat(unit(paddingSM)),
367
+ lineHeight: unit(token.calc(textHeight).sub(token.calc(lineWidth).mul(2)).equal()),
350
368
  textAlign: 'start',
351
369
  '&:not(:last-child)': {
352
- borderBottom: lineWidth + "px " + lineType + " " + colorSplit
370
+ borderBottom: "".concat(unit(lineWidth), " ").concat(lineType, " ").concat(colorSplit)
353
371
  }
354
372
  }
355
373
  }), _defineProperty(_componentCls, '&-now', {
356
374
  textAlign: 'start'
357
- }), _defineProperty(_componentCls, '&-today-btn', {
375
+ }), _defineProperty(_componentCls, '&-today-btn', _defineProperty({
358
376
  color: colorLink,
359
377
  '&:hover': {
360
378
  color: colorLinkHover
361
379
  },
362
380
  '&:active': {
363
381
  color: colorLinkActive
364
- },
365
- '&:is(&-disabled)': {
366
- color: colorTextDisabled,
367
- cursor: 'not-allowed'
368
382
  }
369
- }), _defineProperty(_componentCls, '&-decade-panel', (_decadePanel2 = {}, _defineProperty(_decadePanel2, pickerCellInnerCls, {
370
- padding: "0 " + paddingXS / 2 + "px"
371
- }), _defineProperty(_decadePanel2, componentCls + "-cell::before", {
383
+ }, "&".concat(componentCls, "-today-btn-disabled"), {
384
+ color: colorTextDisabled,
385
+ cursor: 'not-allowed'
386
+ })), _defineProperty(_componentCls, '&-decade-panel', (_decadePanel2 = {}, _defineProperty(_decadePanel2, pickerCellInnerCls, {
387
+ padding: "0 ".concat(unit(token.calc(paddingXS).div(2).equal()))
388
+ }), _defineProperty(_decadePanel2, "".concat(componentCls, "-cell::before"), {
372
389
  display: 'none'
373
- }), _decadePanel2)), _defineProperty(_componentCls, "&-year-panel,\n &-quarter-panel,\n &-month-panel", (_yearPanel = {}, _defineProperty(_yearPanel, componentCls + "-body", {
374
- padding: "0 " + paddingXS + "px"
390
+ }), _decadePanel2)), _defineProperty(_componentCls, "&-year-panel,\n &-quarter-panel,\n &-month-panel", (_yearPanel = {}, _defineProperty(_yearPanel, "".concat(componentCls, "-body"), {
391
+ padding: "0 ".concat(unit(paddingXS))
375
392
  }), _defineProperty(_yearPanel, pickerCellInnerCls, {
376
393
  width: pickerYearMonthCellWidth
377
- }), _defineProperty(_yearPanel, componentCls + "-cell-range-hover-start::after", _defineProperty({
378
- insetInlineStart: hoverCellFixedDistance,
379
- borderInlineStart: lineWidth + "px dashed " + pickerDateHoverRangeBorderColor,
394
+ }), _defineProperty(_yearPanel, "".concat(componentCls, "-cell-range-hover-start::after"), _defineProperty({
380
395
  borderStartStartRadius: borderRadiusSM,
381
- borderBottomStartRadius: borderRadiusSM,
396
+ borderEndStartRadius: borderRadiusSM,
382
397
  borderStartEndRadius: 0,
383
- borderBottomEndRadius: 0
384
- }, componentCls + "-panel-rtl &", {
385
- insetInlineEnd: hoverCellFixedDistance,
386
- borderInlineEnd: lineWidth + "px dashed " + pickerDateHoverRangeBorderColor,
398
+ borderEndEndRadius: 0
399
+ }, "".concat(componentCls, "-panel-rtl &"), {
387
400
  borderStartStartRadius: 0,
388
- borderBottomStartRadius: 0,
401
+ borderEndStartRadius: 0,
389
402
  borderStartEndRadius: borderRadiusSM,
390
- borderBottomEndRadius: borderRadiusSM
391
- })), _defineProperty(_yearPanel, componentCls + "-cell-range-hover-end::after", _defineProperty({
392
- insetInlineEnd: hoverCellFixedDistance,
393
- borderInlineEnd: lineWidth + "px dashed " + pickerDateHoverRangeBorderColor,
403
+ borderEndEndRadius: borderRadiusSM
404
+ })), _defineProperty(_yearPanel, "".concat(componentCls, "-cell-range-hover-end::after"), _defineProperty({
394
405
  borderStartStartRadius: 0,
395
- borderBottomStartRadius: 0,
396
- borderStartEndRadius: borderRadius,
397
- borderBottomEndRadius: borderRadius
398
- }, componentCls + "-panel-rtl &", {
399
- insetInlineStart: hoverCellFixedDistance,
400
- borderInlineStart: lineWidth + "px dashed " + pickerDateHoverRangeBorderColor,
401
- borderStartStartRadius: borderRadius,
402
- borderBottomStartRadius: borderRadius,
406
+ borderEndStartRadius: 0,
407
+ borderStartEndRadius: borderRadiusSM,
408
+ borderEndEndRadius: borderRadiusSM
409
+ }, "".concat(componentCls, "-panel-rtl &"), {
410
+ borderStartStartRadius: borderRadiusSM,
411
+ borderEndStartRadius: borderRadiusSM,
403
412
  borderStartEndRadius: 0,
404
- borderBottomEndRadius: 0
405
- })), _yearPanel)), _defineProperty(_componentCls, '&-week-panel', (_weekPanel = {}, _defineProperty(_weekPanel, componentCls + "-body", {
406
- padding: paddingXS + "px " + paddingSM + "px"
407
- }), _defineProperty(_weekPanel, componentCls + "-cell", _defineProperty({}, "&:hover " + pickerCellInnerCls + ",\n &-selected " + pickerCellInnerCls + ",\n " + pickerCellInnerCls, {
413
+ borderEndEndRadius: 0
414
+ })), _yearPanel)), _defineProperty(_componentCls, "&-year-panel,\n &-month-panel", (_yearPanel2 = {}, _defineProperty(_yearPanel2, "".concat(componentCls, "-cell-range-hover-start::after"), _defineProperty({
415
+ insetInlineStart: commonHoverCellFixedDistance,
416
+ borderInlineStart: "".concat(unit(lineWidth), " dashed ").concat(cellRangeBorderColor)
417
+ }, "".concat(componentCls, "-panel-rtl &"), {
418
+ insetInlineEnd: commonHoverCellFixedDistance,
419
+ borderInlineEnd: "".concat(unit(lineWidth), " dashed ").concat(cellRangeBorderColor)
420
+ })), _defineProperty(_yearPanel2, "".concat(componentCls, "-cell-range-hover-end::after"), _defineProperty({
421
+ insetInlineEnd: commonHoverCellFixedDistance,
422
+ borderInlineEnd: "".concat(unit(lineWidth), " dashed ").concat(cellRangeBorderColor)
423
+ }, "".concat(componentCls, "-panel-rtl &"), {
424
+ insetInlineStart: commonHoverCellFixedDistance,
425
+ borderInlineStart: "".concat(unit(lineWidth), " dashed ").concat(cellRangeBorderColor)
426
+ })), _yearPanel2)), _defineProperty(_componentCls, '&-week-panel', (_weekPanel = {}, _defineProperty(_weekPanel, "".concat(componentCls, "-body"), {
427
+ padding: "".concat(unit(paddingXS), " ").concat(unit(paddingSM))
428
+ }), _defineProperty(_weekPanel, "".concat(componentCls, "-cell"), _defineProperty({}, "&:hover ".concat(pickerCellInnerCls, ",\n &-selected ").concat(pickerCellInnerCls, ",\n ").concat(pickerCellInnerCls), {
408
429
  background: 'transparent !important'
409
- })), _defineProperty(_weekPanel, '&-row', _defineProperty({
430
+ })), _defineProperty(_weekPanel, '&-row', (_row = {
410
431
  td: {
411
- transition: "background " + motionDurationMid,
412
- '&:first-child': {
432
+ '&:before': {
433
+ transition: "background ".concat(motionDurationMid)
434
+ },
435
+ '&:first-child:before': {
413
436
  borderStartStartRadius: borderRadiusSM,
414
437
  borderEndStartRadius: borderRadiusSM
415
438
  },
416
- '&:last-child': {
439
+ '&:last-child:before': {
417
440
  borderStartEndRadius: borderRadiusSM,
418
441
  borderEndEndRadius: borderRadiusSM
419
442
  }
420
- },
421
- '&:hover td': {
422
- background: controlItemBgHover
423
443
  }
424
- }, "&-selected td,\n &-selected:hover td", (_selectedTd = {
425
- background: colorPrimary
426
- }, _defineProperty(_selectedTd, "&" + componentCls + "-cell-week", {
444
+ }, _defineProperty(_row, "&:hover td", {
445
+ '&:before': {
446
+ background: cellHoverBg
447
+ }
448
+ }), _defineProperty(_row, "&-range-start td,\n &-range-end td,\n &-selected td", _defineProperty({}, "&".concat(pickerCellCls), (_$concat8 = {
449
+ '&:before': {
450
+ background: colorPrimary
451
+ }
452
+ }, _defineProperty(_$concat8, "&".concat(componentCls, "-cell-week"), {
427
453
  color: new TinyColor(colorTextLightSolid).setAlpha(0.5).toHexString()
428
- }), _defineProperty(_selectedTd, "&" + componentCls + "-cell-today " + pickerCellInnerCls + "::before", {
429
- borderColor: colorTextLightSolid
430
- }), _defineProperty(_selectedTd, pickerCellInnerCls, {
454
+ }), _defineProperty(_$concat8, pickerCellInnerCls, {
431
455
  color: colorTextLightSolid
432
- }), _selectedTd))), _weekPanel)), _defineProperty(_componentCls, '&-date-panel', (_datePanel = {}, _defineProperty(_datePanel, componentCls + "-body", {
433
- padding: paddingXS + "px " + paddingSM + "px"
434
- }), _defineProperty(_datePanel, componentCls + "-content", {
435
- width: pickerPanelCellWidth * 7,
456
+ }), _$concat8))), _defineProperty(_row, "&-range-hover td:before", {
457
+ background: controlItemBgActive
458
+ }), _row)), _weekPanel)), _defineProperty(_componentCls, '&-date-panel', (_datePanel = {}, _defineProperty(_datePanel, "".concat(componentCls, "-body"), {
459
+ padding: "".concat(unit(paddingXS), " ").concat(unit(pickerDatePanelPaddingHorizontal))
460
+ }), _defineProperty(_datePanel, "".concat(componentCls, "-content"), {
461
+ width: token.calc(cellWidth).mul(7).equal(),
436
462
  th: {
437
- width: pickerPanelCellWidth
463
+ width: cellWidth,
464
+ boxSizing: 'border-box',
465
+ padding: 0
438
466
  }
439
467
  }), _datePanel)), _defineProperty(_componentCls, '&-datetime-panel', (_datetimePanel = {
440
468
  display: 'flex'
441
- }, _defineProperty(_datetimePanel, componentCls + "-time-panel", {
442
- borderInlineStart: lineWidth + "px " + lineType + " " + colorSplit
443
- }), _defineProperty(_datetimePanel, componentCls + "-date-panel,\n " + componentCls + "-time-panel", {
444
- transition: "opacity " + motionDurationSlow
445
- }), _defineProperty(_datetimePanel, '&-active', _defineProperty({}, componentCls + "-date-panel,\n " + componentCls + "-time-panel", {
469
+ }, _defineProperty(_datetimePanel, "".concat(componentCls, "-time-panel"), {
470
+ borderInlineStart: "".concat(unit(lineWidth), " ").concat(lineType, " ").concat(colorSplit)
471
+ }), _defineProperty(_datetimePanel, "".concat(componentCls, "-date-panel,\n ").concat(componentCls, "-time-panel"), {
472
+ transition: "opacity ".concat(motionDurationSlow)
473
+ }), _defineProperty(_datetimePanel, '&-active', _defineProperty({}, "".concat(componentCls, "-date-panel,\n ").concat(componentCls, "-time-panel"), {
446
474
  opacity: 0.3,
447
475
  '&-active': {
448
476
  opacity: 1
@@ -451,27 +479,40 @@ export var genPanelStyle = function genPanelStyle(token) {
451
479
  width: 'auto',
452
480
  minWidth: 'auto',
453
481
  direction: 'ltr'
454
- }, _defineProperty(_timePanel, componentCls + "-content", {
482
+ }, _defineProperty(_timePanel, "".concat(componentCls, "-content"), {
455
483
  display: 'flex',
456
484
  flex: 'auto',
457
- height: pickerTimePanelColumnHeight
485
+ height: timeColumnHeight
458
486
  }), _defineProperty(_timePanel, '&-column', {
459
487
  flex: '1 0 auto',
460
- width: pickerTimePanelColumnWidth,
461
- margin: paddingXXS + "px 0",
488
+ width: timeColumnWidth,
489
+ margin: "".concat(unit(paddingXXS), " 0"),
462
490
  padding: 0,
463
491
  overflowY: 'hidden',
464
492
  textAlign: 'start',
465
493
  listStyle: 'none',
466
- transition: "background " + motionDurationMid,
494
+ transition: "background ".concat(motionDurationMid),
467
495
  overflowX: 'hidden',
496
+ '&::-webkit-scrollbar': {
497
+ width: 8,
498
+ backgroundColor: 'transparent'
499
+ },
500
+ '&::-webkit-scrollbar-thumb': {
501
+ backgroundColor: token.colorTextTertiary,
502
+ borderRadius: 4
503
+ },
504
+ // For Firefox
505
+ '&': {
506
+ scrollbarWidth: 'thin',
507
+ scrollbarColor: "".concat(token.colorTextTertiary, " transparent")
508
+ },
468
509
  '&::after': {
469
510
  display: 'block',
470
- height: pickerTimePanelColumnHeight - pickerTimePanelCellHeight,
511
+ height: token.calc(timeColumnHeight).sub(timeCellHeight).equal(),
471
512
  content: '""'
472
513
  },
473
514
  '&:not(:first-child)': {
474
- borderInlineStart: lineWidth + "px " + lineType + " " + colorSplit
515
+ borderInlineStart: "".concat(unit(lineWidth), " ").concat(lineType, " ").concat(colorSplit)
475
516
  },
476
517
  '&-active': {
477
518
  background: new TinyColor(controlItemBgActive).setAlpha(0.2).toHexString()
@@ -482,148 +523,140 @@ export var genPanelStyle = function genPanelStyle(token) {
482
523
  '> li': _defineProperty({
483
524
  margin: 0,
484
525
  padding: 0
485
- }, "&" + componentCls + "-time-panel-cell", (_ref5 = {
526
+ }, "&".concat(componentCls, "-time-panel-cell"), (_$concat9 = {
486
527
  marginInline: marginXXS
487
- }, _defineProperty(_ref5, componentCls + "-time-panel-cell-inner", {
528
+ }, _defineProperty(_$concat9, "".concat(componentCls, "-time-panel-cell-inner"), {
488
529
  display: 'block',
489
- width: pickerTimePanelColumnWidth - 2 * marginXXS,
490
- height: pickerTimePanelCellHeight,
530
+ width: token.calc(timeColumnWidth).sub(token.calc(marginXXS).mul(2)).equal(),
531
+ height: timeCellHeight,
491
532
  margin: 0,
492
533
  paddingBlock: 0,
493
534
  paddingInlineEnd: 0,
494
- paddingInlineStart: (pickerTimePanelColumnWidth - pickerTimePanelCellHeight) / 2,
535
+ paddingInlineStart: token.calc(timeColumnWidth).sub(timeCellHeight).div(2).equal(),
495
536
  color: colorText,
496
- lineHeight: pickerTimePanelCellHeight + "px",
537
+ lineHeight: unit(timeCellHeight),
497
538
  borderRadius: borderRadiusSM,
498
539
  cursor: 'pointer',
499
- transition: "background " + motionDurationMid,
540
+ transition: "background ".concat(motionDurationMid),
500
541
  '&:hover': {
501
- background: controlItemBgHover
542
+ background: cellHoverBg
502
543
  }
503
- }), _defineProperty(_ref5, '&-selected', _defineProperty({}, componentCls + "-time-panel-cell-inner", {
544
+ }), _defineProperty(_$concat9, '&-selected', _defineProperty({}, "".concat(componentCls, "-time-panel-cell-inner"), {
504
545
  background: controlItemBgActive
505
- })), _defineProperty(_ref5, '&-disabled', _defineProperty({}, componentCls + "-time-panel-cell-inner", {
546
+ })), _defineProperty(_$concat9, '&-disabled', _defineProperty({}, "".concat(componentCls, "-time-panel-cell-inner"), {
506
547
  color: colorTextDisabled,
507
548
  background: 'transparent',
508
549
  cursor: 'not-allowed'
509
- })), _ref5))
510
- }), _timePanel)), _defineProperty(_componentCls, "&-datetime-panel " + componentCls + "-time-panel-column:after", {
511
- height: pickerTimePanelColumnHeight - pickerTimePanelCellHeight + paddingXXS * 2
550
+ })), _$concat9))
551
+ }), _timePanel)), _defineProperty(_componentCls, "&-datetime-panel ".concat(componentCls, "-time-panel-column:after"), {
552
+ height: token.calc(timeColumnHeight).sub(timeCellHeight).add(token.calc(paddingXXS).mul(2)).equal()
512
553
  }), _componentCls));
513
554
  };
514
-
515
555
  var genPickerStatusStyle = function genPickerStatusStyle(token) {
556
+ var _$concat10, _$concat11, _$concat$concat;
516
557
  var componentCls = token.componentCls,
517
- colorBgContainer = token.colorBgContainer,
518
- colorError = token.colorError,
519
- colorErrorOutline = token.colorErrorOutline,
520
- colorWarning = token.colorWarning,
521
- colorWarningOutline = token.colorWarningOutline;
522
- return _defineProperty({}, componentCls, {
523
- '&-status-error&': _defineProperty({
524
- '&, &:not([disabled]):hover': {
525
- backgroundColor: colorBgContainer,
526
- borderColor: colorError
527
- },
528
- '&-focused, &:focus': _extends({}, genActiveStyle(mergeToken(token, {
529
- inputBorderActiveColor: colorError,
530
- inputBorderHoverColor: colorError,
531
- controlOutline: colorErrorOutline
532
- })))
533
- }, componentCls + "-active-bar", {
534
- background: colorError
535
- }),
536
- '&-status-warning&': _defineProperty({
537
- '&, &:not([disabled]):hover': {
538
- backgroundColor: colorBgContainer,
539
- borderColor: colorWarning
540
- },
541
- '&-focused, &:focus': _extends({}, genActiveStyle(mergeToken(token, {
542
- inputBorderActiveColor: colorWarning,
543
- inputBorderHoverColor: colorWarning,
544
- controlOutline: colorWarningOutline
545
- })))
546
- }, componentCls + "-active-bar", {
547
- background: colorWarning
548
- })
549
- });
558
+ colorBgContainer = token.colorBgContainer,
559
+ colorError = token.colorError,
560
+ errorActiveShadow = token.errorActiveShadow,
561
+ colorWarning = token.colorWarning,
562
+ warningActiveShadow = token.warningActiveShadow,
563
+ colorErrorHover = token.colorErrorHover,
564
+ colorWarningHover = token.colorWarningHover;
565
+ return _defineProperty({}, "".concat(componentCls, ":not(").concat(componentCls, "-disabled):not([disabled])"), (_$concat$concat = {}, _defineProperty(_$concat$concat, "&".concat(componentCls, "-status-error"), (_$concat10 = {
566
+ backgroundColor: colorBgContainer,
567
+ borderColor: colorError,
568
+ '&:hover': {
569
+ borderColor: colorErrorHover
570
+ }
571
+ }, _defineProperty(_$concat10, "&".concat(componentCls, "-focused, &:focus"), Object.assign({}, genActiveStyle(mergeToken(token, {
572
+ activeBorderColor: colorError,
573
+ activeShadow: errorActiveShadow
574
+ })))), _defineProperty(_$concat10, "".concat(componentCls, "-active-bar"), {
575
+ background: colorError
576
+ }), _$concat10)), _defineProperty(_$concat$concat, "&".concat(componentCls, "-status-warning"), (_$concat11 = {
577
+ backgroundColor: colorBgContainer,
578
+ borderColor: colorWarning,
579
+ '&:hover': {
580
+ borderColor: colorWarningHover
581
+ }
582
+ }, _defineProperty(_$concat11, "&".concat(componentCls, "-focused, &:focus"), Object.assign({}, genActiveStyle(mergeToken(token, {
583
+ activeBorderColor: colorWarning,
584
+ activeShadow: warningActiveShadow
585
+ })))), _defineProperty(_$concat11, "".concat(componentCls, "-active-bar"), {
586
+ background: colorWarning
587
+ }), _$concat11)), _$concat$concat));
550
588
  };
551
-
552
589
  var genPickerStyle = function genPickerStyle(token) {
553
- var _ref9, _ref11, _range, _ref12, _ref13, _ref14, _ref15, _extends3, _rtl2, _extends4;
554
-
590
+ var _$concat14, _$concat16, _range, _$concat19, _$concat20, _$concat21, _$concat22, _Object$assign2, _rtl2, _Object$assign3;
555
591
  var componentCls = token.componentCls,
556
- antCls = token.antCls,
557
- boxShadowPopoverArrow = token.boxShadowPopoverArrow,
558
- controlHeight = token.controlHeight,
559
- fontSize = token.fontSize,
560
- inputPaddingHorizontal = token.inputPaddingHorizontal,
561
- colorBgContainer = token.colorBgContainer,
562
- lineWidth = token.lineWidth,
563
- lineType = token.lineType,
564
- colorBorder = token.colorBorder,
565
- borderRadius = token.borderRadius,
566
- motionDurationMid = token.motionDurationMid,
567
- colorBgContainerDisabled = token.colorBgContainerDisabled,
568
- colorTextDisabled = token.colorTextDisabled,
569
- colorTextPlaceholder = token.colorTextPlaceholder,
570
- controlHeightLG = token.controlHeightLG,
571
- fontSizeLG = token.fontSizeLG,
572
- controlHeightSM = token.controlHeightSM,
573
- inputPaddingHorizontalSM = token.inputPaddingHorizontalSM,
574
- paddingXS = token.paddingXS,
575
- marginXS = token.marginXS,
576
- colorTextDescription = token.colorTextDescription,
577
- lineWidthBold = token.lineWidthBold,
578
- lineHeight = token.lineHeight,
579
- colorPrimary = token.colorPrimary,
580
- motionDurationSlow = token.motionDurationSlow,
581
- zIndexPopup = token.zIndexPopup,
582
- paddingXXS = token.paddingXXS,
583
- paddingSM = token.paddingSM,
584
- pickerTextHeight = token.pickerTextHeight,
585
- controlItemBgActive = token.controlItemBgActive,
586
- colorPrimaryBorder = token.colorPrimaryBorder,
587
- sizePopupArrow = token.sizePopupArrow,
588
- borderRadiusXS = token.borderRadiusXS,
589
- borderRadiusOuter = token.borderRadiusOuter,
590
- colorBgElevated = token.colorBgElevated,
591
- borderRadiusLG = token.borderRadiusLG,
592
- boxShadowSecondary = token.boxShadowSecondary,
593
- borderRadiusSM = token.borderRadiusSM,
594
- colorSplit = token.colorSplit,
595
- controlItemBgHover = token.controlItemBgHover,
596
- presetsWidth = token.presetsWidth,
597
- presetsMaxWidth = token.presetsMaxWidth;
598
- return [_defineProperty({}, componentCls, _extends(_extends(_extends(_extends(_extends({}, resetComponent(token)), genPikerPadding(token, controlHeight, fontSize, inputPaddingHorizontal)), {
592
+ antCls = token.antCls,
593
+ controlHeight = token.controlHeight,
594
+ paddingInline = token.paddingInline,
595
+ colorBgContainer = token.colorBgContainer,
596
+ lineWidth = token.lineWidth,
597
+ lineType = token.lineType,
598
+ colorBorder = token.colorBorder,
599
+ borderRadius = token.borderRadius,
600
+ motionDurationMid = token.motionDurationMid,
601
+ colorBgContainerDisabled = token.colorBgContainerDisabled,
602
+ colorTextDisabled = token.colorTextDisabled,
603
+ colorTextPlaceholder = token.colorTextPlaceholder,
604
+ controlHeightLG = token.controlHeightLG,
605
+ fontSizeLG = token.fontSizeLG,
606
+ controlHeightSM = token.controlHeightSM,
607
+ paddingInlineSM = token.paddingInlineSM,
608
+ paddingXS = token.paddingXS,
609
+ marginXS = token.marginXS,
610
+ colorTextDescription = token.colorTextDescription,
611
+ lineWidthBold = token.lineWidthBold,
612
+ colorPrimary = token.colorPrimary,
613
+ motionDurationSlow = token.motionDurationSlow,
614
+ zIndexPopup = token.zIndexPopup,
615
+ paddingXXS = token.paddingXXS,
616
+ paddingSM = token.paddingSM,
617
+ textHeight = token.textHeight,
618
+ cellActiveWithRangeBg = token.cellActiveWithRangeBg,
619
+ colorPrimaryBorder = token.colorPrimaryBorder,
620
+ sizePopupArrow = token.sizePopupArrow,
621
+ colorBgElevated = token.colorBgElevated,
622
+ borderRadiusLG = token.borderRadiusLG,
623
+ boxShadowSecondary = token.boxShadowSecondary,
624
+ borderRadiusSM = token.borderRadiusSM,
625
+ colorSplit = token.colorSplit,
626
+ cellHoverBg = token.cellHoverBg,
627
+ presetsWidth = token.presetsWidth,
628
+ presetsMaxWidth = token.presetsMaxWidth,
629
+ boxShadowPopoverArrow = token.boxShadowPopoverArrow,
630
+ colorTextQuaternary = token.colorTextQuaternary,
631
+ fontHeight = token.fontHeight,
632
+ fontHeightLG = token.fontHeightLG,
633
+ lineHeightLG = token.lineHeightLG;
634
+ return [_defineProperty({}, componentCls, Object.assign(Object.assign(Object.assign({}, resetComponent(token)), genPikerPadding(token, controlHeight, fontHeight, paddingInline)), (_Object$assign3 = {
599
635
  position: 'relative',
600
636
  display: 'inline-flex',
601
637
  alignItems: 'center',
602
638
  background: colorBgContainer,
603
- border: lineWidth + "px " + lineType + " " + colorBorder,
639
+ lineHeight: 1,
640
+ border: "".concat(unit(lineWidth), " ").concat(lineType, " ").concat(colorBorder),
604
641
  borderRadius: borderRadius,
605
- transition: "border " + motionDurationMid + ", box-shadow " + motionDurationMid
606
- }), genCompactItemStyle(token, componentCls, '', componentCls + "-focused")), (_extends4 = {
607
- '&:hover, &-focused': _extends({}, genHoverStyle(token)),
608
- '&-focused': _extends({}, genActiveStyle(token)),
609
- '&&-disabled': _defineProperty({
610
- background: colorBgContainerDisabled,
611
- borderColor: colorBorder,
612
- cursor: 'not-allowed'
613
- }, componentCls + "-suffix", {
614
- color: colorTextDisabled
615
- }),
616
- '&&-borderless': {
617
- backgroundColor: 'transparent !important',
618
- borderColor: 'transparent !important',
619
- boxShadow: 'none !important'
620
- }
621
- }, _defineProperty(_extends4, componentCls + "-input", {
642
+ transition: "border ".concat(motionDurationMid, ", box-shadow ").concat(motionDurationMid),
643
+ '&:hover': Object.assign({}, genHoverStyle(token))
644
+ }, _defineProperty(_Object$assign3, "&-focused".concat(componentCls), Object.assign({}, genActiveStyle(token))), _defineProperty(_Object$assign3, "&".concat(componentCls, "-disabled"), _defineProperty({
645
+ background: colorBgContainerDisabled,
646
+ borderColor: colorBorder,
647
+ cursor: 'not-allowed'
648
+ }, "".concat(componentCls, "-suffix"), {
649
+ color: colorTextQuaternary
650
+ })), _defineProperty(_Object$assign3, "&".concat(componentCls, "-borderless"), {
651
+ backgroundColor: 'transparent !important',
652
+ borderColor: 'transparent !important',
653
+ boxShadow: 'none !important'
654
+ }), _defineProperty(_Object$assign3, "".concat(componentCls, "-input"), {
622
655
  position: 'relative',
623
656
  display: 'inline-flex',
624
657
  alignItems: 'center',
625
658
  width: '100%',
626
- '> input': _extends(_extends({}, genBasicInputStyle(token)), {
659
+ '> input': Object.assign(Object.assign({}, genBasicInputStyle(token)), {
627
660
  flex: 'auto',
628
661
  // Fix Firefox flex not correct:
629
662
  // https://github.com/ant-design/ant-design/pull/20023#issuecomment-564389553
@@ -632,6 +665,8 @@ var genPickerStyle = function genPickerStyle(token) {
632
665
  padding: 0,
633
666
  background: 'transparent',
634
667
  border: 0,
668
+ borderRadius: 0,
669
+ fontFamily: 'inherit',
635
670
  '&:focus': {
636
671
  boxShadow: 'none'
637
672
  },
@@ -639,7 +674,7 @@ var genPickerStyle = function genPickerStyle(token) {
639
674
  background: 'transparent'
640
675
  }
641
676
  }),
642
- '&:hover': _defineProperty({}, componentCls + "-clear", {
677
+ '&:hover': _defineProperty({}, "".concat(componentCls, "-clear"), {
643
678
  opacity: 1
644
679
  }),
645
680
  '&-placeholder': {
@@ -647,13 +682,14 @@ var genPickerStyle = function genPickerStyle(token) {
647
682
  color: colorTextPlaceholder
648
683
  }
649
684
  }
650
- }), _defineProperty(_extends4, '&-large', _extends(_extends({}, genPikerPadding(token, controlHeightLG, fontSizeLG, inputPaddingHorizontal)), _defineProperty({}, componentCls + "-input > input", {
651
- fontSize: fontSizeLG
652
- }))), _defineProperty(_extends4, '&-small', _extends({}, genPikerPadding(token, controlHeightSM, fontSize, inputPaddingHorizontalSM))), _defineProperty(_extends4, componentCls + "-suffix", {
685
+ }), _defineProperty(_Object$assign3, '&-large', Object.assign(Object.assign({}, genPikerPadding(token, controlHeightLG, fontHeightLG, paddingInline)), _defineProperty({}, "".concat(componentCls, "-input > input"), {
686
+ fontSize: fontSizeLG,
687
+ lineHeight: lineHeightLG
688
+ }))), _defineProperty(_Object$assign3, '&-small', Object.assign({}, genPikerPadding(token, controlHeightSM, fontHeight, paddingInlineSM))), _defineProperty(_Object$assign3, "".concat(componentCls, "-suffix"), {
653
689
  display: 'flex',
654
690
  flex: 'none',
655
691
  alignSelf: 'center',
656
- marginInlineStart: paddingXS / 2,
692
+ marginInlineStart: token.calc(paddingXS).div(2).equal(),
657
693
  color: colorTextDisabled,
658
694
  lineHeight: 1,
659
695
  pointerEvents: 'none',
@@ -663,7 +699,7 @@ var genPickerStyle = function genPickerStyle(token) {
663
699
  marginInlineEnd: marginXS
664
700
  }
665
701
  }
666
- }), _defineProperty(_extends4, componentCls + "-clear", {
702
+ }), _defineProperty(_Object$assign3, "".concat(componentCls, "-clear"), {
667
703
  position: 'absolute',
668
704
  top: '50%',
669
705
  insetInlineEnd: 0,
@@ -673,14 +709,14 @@ var genPickerStyle = function genPickerStyle(token) {
673
709
  transform: 'translateY(-50%)',
674
710
  cursor: 'pointer',
675
711
  opacity: 0,
676
- transition: "opacity " + motionDurationMid + ", color " + motionDurationMid,
712
+ transition: "opacity ".concat(motionDurationMid, ", color ").concat(motionDurationMid),
677
713
  '> *': {
678
714
  verticalAlign: 'top'
679
715
  },
680
716
  '&:hover': {
681
717
  color: colorTextDescription
682
718
  }
683
- }), _defineProperty(_extends4, componentCls + "-separator", (_ref9 = {
719
+ }), _defineProperty(_Object$assign3, "".concat(componentCls, "-separator"), (_$concat14 = {
684
720
  position: 'relative',
685
721
  display: 'inline-block',
686
722
  width: '1em',
@@ -689,36 +725,36 @@ var genPickerStyle = function genPickerStyle(token) {
689
725
  fontSize: fontSizeLG,
690
726
  verticalAlign: 'top',
691
727
  cursor: 'default'
692
- }, _defineProperty(_ref9, componentCls + "-focused &", {
728
+ }, _defineProperty(_$concat14, "".concat(componentCls, "-focused &"), {
693
729
  color: colorTextDescription
694
- }), _defineProperty(_ref9, componentCls + "-range-separator &", _defineProperty({}, componentCls + "-disabled &", {
730
+ }), _defineProperty(_$concat14, "".concat(componentCls, "-range-separator &"), _defineProperty({}, "".concat(componentCls, "-disabled &"), {
695
731
  cursor: 'not-allowed'
696
- })), _ref9)), _defineProperty(_extends4, '&-range', (_range = {
732
+ })), _$concat14)), _defineProperty(_Object$assign3, '&-range', (_range = {
697
733
  position: 'relative',
698
734
  display: 'inline-flex'
699
- }, _defineProperty(_range, componentCls + "-clear", {
700
- insetInlineEnd: inputPaddingHorizontal
701
- }), _defineProperty(_range, '&:hover', _defineProperty({}, componentCls + "-clear", {
735
+ }, _defineProperty(_range, "".concat(componentCls, "-clear"), {
736
+ insetInlineEnd: paddingInline
737
+ }), _defineProperty(_range, '&:hover', _defineProperty({}, "".concat(componentCls, "-clear"), {
702
738
  opacity: 1
703
- })), _defineProperty(_range, componentCls + "-active-bar", {
704
- bottom: -lineWidth,
739
+ })), _defineProperty(_range, "".concat(componentCls, "-active-bar"), {
740
+ bottom: token.calc(lineWidth).mul(-1).equal(),
705
741
  height: lineWidthBold,
706
- marginInlineStart: inputPaddingHorizontal,
742
+ marginInlineStart: paddingInline,
707
743
  background: colorPrimary,
708
744
  opacity: 0,
709
- transition: "all " + motionDurationSlow + " ease-out",
745
+ transition: "all ".concat(motionDurationSlow, " ease-out"),
710
746
  pointerEvents: 'none'
711
- }), _defineProperty(_range, "&" + componentCls + "-focused", _defineProperty({}, componentCls + "-active-bar", {
747
+ }), _defineProperty(_range, "&".concat(componentCls, "-focused"), _defineProperty({}, "".concat(componentCls, "-active-bar"), {
712
748
  opacity: 1
713
- })), _defineProperty(_range, componentCls + "-range-separator", {
749
+ })), _defineProperty(_range, "".concat(componentCls, "-range-separator"), {
714
750
  alignItems: 'center',
715
- padding: "0 " + paddingXS + "px",
751
+ padding: "0 ".concat(unit(paddingXS)),
716
752
  lineHeight: 1
717
- }), _defineProperty(_range, "&" + componentCls + "-small", (_ref11 = {}, _defineProperty(_ref11, componentCls + "-clear", {
718
- insetInlineEnd: inputPaddingHorizontalSM
719
- }), _defineProperty(_ref11, componentCls + "-active-bar", {
720
- marginInlineStart: inputPaddingHorizontalSM
721
- }), _ref11)), _range)), _defineProperty(_extends4, '&-dropdown', _extends(_extends(_extends({}, resetComponent(token)), genPanelStyle(token)), (_extends3 = {
753
+ }), _defineProperty(_range, "&".concat(componentCls, "-small"), (_$concat16 = {}, _defineProperty(_$concat16, "".concat(componentCls, "-clear"), {
754
+ insetInlineEnd: paddingInlineSM
755
+ }), _defineProperty(_$concat16, "".concat(componentCls, "-active-bar"), {
756
+ marginInlineStart: paddingInlineSM
757
+ }), _$concat16)), _range)), _defineProperty(_Object$assign3, '&-dropdown', Object.assign(Object.assign(Object.assign({}, resetComponent(token)), genPanelStyle(token)), (_Object$assign2 = {
722
758
  position: 'absolute',
723
759
  // Fix incorrect position of picker popup
724
760
  // https://github.com/ant-design/ant-design/issues/35590
@@ -727,35 +763,32 @@ var genPickerStyle = function genPickerStyle(token) {
727
763
  _skip_check_: true,
728
764
  value: -9999
729
765
  },
730
- zIndex: zIndexPopup,
731
- '&&-hidden': {
732
- display: 'none'
733
- },
734
- '&&-placement-bottomLeft': _defineProperty({}, componentCls + "-range-arrow", {
735
- top: 0,
736
- display: 'block',
737
- transform: 'translateY(-100%)'
738
- }),
739
- '&&-placement-topLeft': _defineProperty({}, componentCls + "-range-arrow", {
740
- bottom: 0,
741
- display: 'block',
742
- transform: 'translateY(100%) rotate(180deg)'
743
- })
744
- }, _defineProperty(_extends3, "&" + antCls + "-slide-up-enter" + antCls + "-slide-up-enter-active&-placement-topLeft,\n &" + antCls + "-slide-up-enter" + antCls + "-slide-up-enter-active&-placement-topRight,\n &" + antCls + "-slide-up-appear" + antCls + "-slide-up-appear-active&-placement-topLeft,\n &" + antCls + "-slide-up-appear" + antCls + "-slide-up-appear-active&-placement-topRight", {
766
+ zIndex: zIndexPopup
767
+ }, _defineProperty(_Object$assign2, "&".concat(componentCls, "-dropdown-hidden"), {
768
+ display: 'none'
769
+ }), _defineProperty(_Object$assign2, "&".concat(componentCls, "-dropdown-placement-bottomLeft"), _defineProperty({}, "".concat(componentCls, "-range-arrow"), {
770
+ top: 0,
771
+ display: 'block',
772
+ transform: 'translateY(-100%)'
773
+ })), _defineProperty(_Object$assign2, "&".concat(componentCls, "-dropdown-placement-topLeft"), _defineProperty({}, "".concat(componentCls, "-range-arrow"), {
774
+ bottom: 0,
775
+ display: 'block',
776
+ transform: 'translateY(100%) rotate(180deg)'
777
+ })), _defineProperty(_Object$assign2, "&".concat(antCls, "-slide-up-enter").concat(antCls, "-slide-up-enter-active").concat(componentCls, "-dropdown-placement-topLeft,\n &").concat(antCls, "-slide-up-enter").concat(antCls, "-slide-up-enter-active").concat(componentCls, "-dropdown-placement-topRight,\n &").concat(antCls, "-slide-up-appear").concat(antCls, "-slide-up-appear-active").concat(componentCls, "-dropdown-placement-topLeft,\n &").concat(antCls, "-slide-up-appear").concat(antCls, "-slide-up-appear-active").concat(componentCls, "-dropdown-placement-topRight"), {
745
778
  animationName: slideDownIn
746
- }), _defineProperty(_extends3, "&" + antCls + "-slide-up-enter" + antCls + "-slide-up-enter-active&-placement-bottomLeft,\n &" + antCls + "-slide-up-enter" + antCls + "-slide-up-enter-active&-placement-bottomRight,\n &" + antCls + "-slide-up-appear" + antCls + "-slide-up-appear-active&-placement-bottomLeft,\n &" + antCls + "-slide-up-appear" + antCls + "-slide-up-appear-active&-placement-bottomRight", {
779
+ }), _defineProperty(_Object$assign2, "&".concat(antCls, "-slide-up-enter").concat(antCls, "-slide-up-enter-active").concat(componentCls, "-dropdown-placement-bottomLeft,\n &").concat(antCls, "-slide-up-enter").concat(antCls, "-slide-up-enter-active").concat(componentCls, "-dropdown-placement-bottomRight,\n &").concat(antCls, "-slide-up-appear").concat(antCls, "-slide-up-appear-active").concat(componentCls, "-dropdown-placement-bottomLeft,\n &").concat(antCls, "-slide-up-appear").concat(antCls, "-slide-up-appear-active").concat(componentCls, "-dropdown-placement-bottomRight"), {
747
780
  animationName: slideUpIn
748
- }), _defineProperty(_extends3, "&" + antCls + "-slide-up-leave" + antCls + "-slide-up-leave-active&-placement-topLeft,\n &" + antCls + "-slide-up-leave" + antCls + "-slide-up-leave-active&-placement-topRight", {
781
+ }), _defineProperty(_Object$assign2, "&".concat(antCls, "-slide-up-leave").concat(antCls, "-slide-up-leave-active").concat(componentCls, "-dropdown-placement-topLeft,\n &").concat(antCls, "-slide-up-leave").concat(antCls, "-slide-up-leave-active").concat(componentCls, "-dropdown-placement-topRight"), {
749
782
  animationName: slideDownOut
750
- }), _defineProperty(_extends3, "&" + antCls + "-slide-up-leave" + antCls + "-slide-up-leave-active&-placement-bottomLeft,\n &" + antCls + "-slide-up-leave" + antCls + "-slide-up-leave-active&-placement-bottomRight", {
783
+ }), _defineProperty(_Object$assign2, "&".concat(antCls, "-slide-up-leave").concat(antCls, "-slide-up-leave-active").concat(componentCls, "-dropdown-placement-bottomLeft,\n &").concat(antCls, "-slide-up-leave").concat(antCls, "-slide-up-leave-active").concat(componentCls, "-dropdown-placement-bottomRight"), {
751
784
  animationName: slideUpOut
752
- }), _defineProperty(_extends3, componentCls + "-panel > " + componentCls + "-time-panel", {
785
+ }), _defineProperty(_Object$assign2, "".concat(componentCls, "-panel > ").concat(componentCls, "-time-panel"), {
753
786
  paddingTop: paddingXXS
754
- }), _defineProperty(_extends3, componentCls + "-ranges", (_ref12 = {
787
+ }), _defineProperty(_Object$assign2, "".concat(componentCls, "-ranges"), (_$concat19 = {
755
788
  marginBottom: 0,
756
- padding: paddingXXS + "px " + paddingSM + "px",
789
+ padding: "".concat(unit(paddingXXS), " ").concat(unit(paddingSM)),
757
790
  overflow: 'hidden',
758
- lineHeight: pickerTextHeight - 2 * lineWidth - paddingXS / 2 + "px",
791
+ lineHeight: unit(token.calc(textHeight).sub(token.calc(lineWidth).mul(2)).sub(token.calc(paddingXS).div(2)).equal()),
759
792
  textAlign: 'start',
760
793
  listStyle: 'none',
761
794
  display: 'flex',
@@ -763,34 +796,34 @@ var genPickerStyle = function genPickerStyle(token) {
763
796
  '> li': {
764
797
  display: 'inline-block'
765
798
  }
766
- }, _defineProperty(_ref12, componentCls + "-preset > " + antCls + "-tag-blue", {
799
+ }, _defineProperty(_$concat19, "".concat(componentCls, "-preset > ").concat(antCls, "-tag-blue"), {
767
800
  color: colorPrimary,
768
- background: controlItemBgActive,
801
+ background: cellActiveWithRangeBg,
769
802
  borderColor: colorPrimaryBorder,
770
803
  cursor: 'pointer'
771
- }), _defineProperty(_ref12, componentCls + "-ok", {
804
+ }), _defineProperty(_$concat19, "".concat(componentCls, "-ok"), {
772
805
  marginInlineStart: 'auto'
773
- }), _ref12)), _defineProperty(_extends3, componentCls + "-range-wrapper", {
806
+ }), _$concat19)), _defineProperty(_Object$assign2, "".concat(componentCls, "-range-wrapper"), {
774
807
  display: 'flex',
775
808
  position: 'relative'
776
- }), _defineProperty(_extends3, componentCls + "-range-arrow", _extends({
809
+ }), _defineProperty(_Object$assign2, "".concat(componentCls, "-range-arrow"), Object.assign({
777
810
  position: 'absolute',
778
811
  zIndex: 1,
779
812
  display: 'none',
780
- marginInlineStart: inputPaddingHorizontal * 1.5,
781
- transition: "left " + motionDurationSlow + " ease-out"
782
- }, roundedArrow(sizePopupArrow, borderRadiusXS, borderRadiusOuter, colorBgElevated, boxShadowPopoverArrow))), _defineProperty(_extends3, componentCls + "-panel-container", (_ref15 = {
813
+ marginInlineStart: token.calc(paddingInline).mul(1.5).equal(),
814
+ transition: "left ".concat(motionDurationSlow, " ease-out")
815
+ }, genRoundedArrow(token, colorBgElevated, boxShadowPopoverArrow))), _defineProperty(_Object$assign2, "".concat(componentCls, "-panel-container"), (_$concat22 = {
783
816
  overflow: 'hidden',
784
817
  verticalAlign: 'top',
785
818
  background: colorBgElevated,
786
819
  borderRadius: borderRadiusLG,
787
820
  boxShadow: boxShadowSecondary,
788
- transition: "margin " + motionDurationSlow
789
- }, _defineProperty(_ref15, componentCls + "-panel-layout", {
821
+ transition: "margin ".concat(motionDurationSlow)
822
+ }, _defineProperty(_$concat22, "".concat(componentCls, "-panel-layout"), {
790
823
  display: 'flex',
791
824
  flexWrap: 'nowrap',
792
825
  alignItems: 'stretch'
793
- }), _defineProperty(_ref15, componentCls + "-presets", {
826
+ }), _defineProperty(_$concat22, "".concat(componentCls, "-presets"), {
794
827
  display: 'flex',
795
828
  flexDirection: 'column',
796
829
  minWidth: presetsWidth,
@@ -802,89 +835,106 @@ var genPickerStyle = function genPickerStyle(token) {
802
835
  overflow: 'auto',
803
836
  margin: 0,
804
837
  padding: paddingXS,
805
- borderInlineEnd: lineWidth + "px " + lineType + " " + colorSplit,
806
- li: _extends(_extends({}, textEllipsis), {
838
+ borderInlineEnd: "".concat(unit(lineWidth), " ").concat(lineType, " ").concat(colorSplit),
839
+ li: Object.assign(Object.assign({}, textEllipsis), {
807
840
  borderRadius: borderRadiusSM,
808
841
  paddingInline: paddingXS,
809
- paddingBlock: (controlHeightSM - Math.round(fontSize * lineHeight)) / 2,
842
+ paddingBlock: token.calc(controlHeightSM).sub(fontHeight).div(2).equal(),
810
843
  cursor: 'pointer',
811
- transition: "all " + motionDurationSlow,
844
+ transition: "all ".concat(motionDurationSlow),
812
845
  '+ li': {
813
846
  marginTop: marginXS
814
847
  },
815
848
  '&:hover': {
816
- background: controlItemBgHover
849
+ background: cellHoverBg
817
850
  }
818
851
  })
819
852
  }
820
- }), _defineProperty(_ref15, componentCls + "-panels", (_ref13 = {
853
+ }), _defineProperty(_$concat22, "".concat(componentCls, "-panels"), (_$concat20 = {
821
854
  display: 'inline-flex',
822
855
  flexWrap: 'nowrap',
823
856
  direction: 'ltr'
824
- }, _defineProperty(_ref13, componentCls + "-panel", {
825
- borderWidth: "0 0 " + lineWidth + "px"
826
- }), _defineProperty(_ref13, '&:last-child', _defineProperty({}, componentCls + "-panel", {
857
+ }, _defineProperty(_$concat20, "".concat(componentCls, "-panel"), {
858
+ borderWidth: "0 0 ".concat(unit(lineWidth))
859
+ }), _defineProperty(_$concat20, '&:last-child', _defineProperty({}, "".concat(componentCls, "-panel"), {
827
860
  borderWidth: 0
828
- })), _ref13)), _defineProperty(_ref15, componentCls + "-panel", (_ref14 = {
861
+ })), _$concat20)), _defineProperty(_$concat22, "".concat(componentCls, "-panel"), (_$concat21 = {
829
862
  verticalAlign: 'top',
830
863
  background: 'transparent',
831
864
  borderRadius: 0,
832
865
  borderWidth: 0
833
- }, _defineProperty(_ref14, componentCls + "-content,\n table", {
866
+ }, _defineProperty(_$concat21, "".concat(componentCls, "-content,\n table"), {
834
867
  textAlign: 'center'
835
- }), _defineProperty(_ref14, '&-focused', {
868
+ }), _defineProperty(_$concat21, '&-focused', {
836
869
  borderColor: colorBorder
837
- }), _ref14)), _ref15)), _extends3))), _defineProperty(_extends4, '&-dropdown-range', {
838
- padding: sizePopupArrow * 2 / 3 + "px 0",
870
+ }), _$concat21)), _$concat22)), _Object$assign2))), _defineProperty(_Object$assign3, '&-dropdown-range', {
871
+ padding: "".concat(unit(token.calc(sizePopupArrow).mul(2).div(3).equal()), " 0"),
839
872
  '&-hidden': {
840
873
  display: 'none'
841
874
  }
842
- }), _defineProperty(_extends4, '&-rtl', (_rtl2 = {
875
+ }), _defineProperty(_Object$assign3, '&-rtl', (_rtl2 = {
843
876
  direction: 'rtl'
844
- }, _defineProperty(_rtl2, componentCls + "-separator", {
877
+ }, _defineProperty(_rtl2, "".concat(componentCls, "-separator"), {
845
878
  transform: 'rotate(180deg)'
846
- }), _defineProperty(_rtl2, componentCls + "-footer", {
879
+ }), _defineProperty(_rtl2, "".concat(componentCls, "-footer"), {
847
880
  '&-extra': {
848
881
  direction: 'rtl'
849
882
  }
850
- }), _rtl2)), _extends4))), // Follow code may reuse in other components
883
+ }), _rtl2)), _Object$assign3))),
884
+ // Follow code may reuse in other components
851
885
  initSlideMotion(token, 'slide-up'), initSlideMotion(token, 'slide-down'), initMoveMotion(token, 'move-up'), initMoveMotion(token, 'move-down')];
852
886
  };
853
-
854
887
  export var initPickerPanelToken = function initPickerPanelToken(token) {
855
- var pickerTimePanelCellHeight = 28;
856
888
  var componentCls = token.componentCls,
857
- controlHeightLG = token.controlHeightLG,
858
- controlHeightSM = token.controlHeightSM,
859
- colorPrimary = token.colorPrimary,
860
- paddingXXS = token.paddingXXS;
889
+ controlHeightLG = token.controlHeightLG,
890
+ paddingXXS = token.paddingXXS,
891
+ padding = token.padding;
861
892
  return {
862
- pickerCellInnerCls: componentCls + "-cell-inner",
863
- pickerTextHeight: controlHeightLG,
864
- pickerPanelCellWidth: controlHeightSM * 1.5,
865
- pickerPanelCellHeight: controlHeightSM,
866
- pickerDateHoverRangeBorderColor: new TinyColor(colorPrimary).lighten(20).toHexString(),
867
- pickerBasicCellHoverWithRangeColor: new TinyColor(colorPrimary).lighten(35).toHexString(),
868
- pickerPanelWithoutTimeCellHeight: controlHeightLG * 1.65,
869
- pickerYearMonthCellWidth: controlHeightLG * 1.5,
870
- pickerTimePanelColumnHeight: pickerTimePanelCellHeight * 8,
871
- pickerTimePanelColumnWidth: controlHeightLG * 1.4,
872
- pickerTimePanelCellHeight: pickerTimePanelCellHeight,
873
- pickerQuarterPanelContentHeight: controlHeightLG * 1.4,
874
- pickerCellPaddingVertical: paddingXXS,
893
+ pickerCellCls: "".concat(componentCls, "-cell"),
894
+ pickerCellInnerCls: "".concat(componentCls, "-cell-inner"),
895
+ pickerYearMonthCellWidth: token.calc(controlHeightLG).mul(1.5).equal(),
896
+ pickerQuarterPanelContentHeight: token.calc(controlHeightLG).mul(1.4).equal(),
897
+ pickerCellPaddingVertical: token.calc(paddingXXS).add(token.calc(paddingXXS).div(2)).equal(),
875
898
  pickerCellBorderGap: 2,
899
+ // Magic for gap between cells
876
900
  pickerControlIconSize: 7,
877
- pickerControlIconBorderWidth: 1.5
901
+ pickerControlIconMargin: 4,
902
+ pickerControlIconBorderWidth: 1.5,
903
+ pickerDatePanelPaddingHorizontal: token.calc(padding).add(token.calc(paddingXXS).div(2)).equal() // 18 in normal
878
904
  };
879
- }; // ============================== Export ==============================
905
+ };
880
906
 
881
- export default genComponentStyleHook('DatePicker', function (token) {
882
- var pickerToken = mergeToken(initInputToken(token), initPickerPanelToken(token));
883
- return [genPickerStyle(pickerToken), genPickerStatusStyle(pickerToken)];
884
- }, function (token) {
907
+ export var initPanelComponentToken = function initPanelComponentToken(token) {
885
908
  return {
909
+ cellHoverBg: token.controlItemBgHover,
910
+ cellActiveWithRangeBg: token.controlItemBgActive,
911
+ cellHoverWithRangeBg: new TinyColor(token.colorPrimary).lighten(35).toHexString(),
912
+ cellRangeBorderColor: new TinyColor(token.colorPrimary).lighten(20).toHexString(),
913
+ cellBgDisabled: token.colorBgContainerDisabled,
914
+ timeColumnWidth: token.controlHeightLG * 1.4,
915
+ timeColumnHeight: 28 * 8,
916
+ timeCellHeight: 28,
917
+ cellWidth: token.controlHeightSM * 1.5,
918
+ cellHeight: token.controlHeightSM,
919
+ textHeight: token.controlHeightLG,
920
+ withoutTimeCellHeight: token.controlHeightLG * 1.65
921
+ };
922
+ };
923
+ export var prepareComponentToken = function prepareComponentToken(token) {
924
+ return Object.assign(Object.assign(Object.assign(Object.assign({}, initComponentToken(token)), initPanelComponentToken(token)), getArrowToken(token)), {
886
925
  presetsWidth: 120,
887
926
  presetsMaxWidth: 200,
888
927
  zIndexPopup: token.zIndexPopupBase + 50
889
- };
890
- });
928
+ });
929
+ };
930
+ // ============================== Export ==============================
931
+ export default genStyleHooks('DatePicker', function (token) {
932
+ var pickerToken = mergeToken(initInputToken(token), initPickerPanelToken(token));
933
+ return [genPickerStyle(pickerToken), genPickerStatusStyle(pickerToken),
934
+ // =====================================================
935
+ // == Space Compact ==
936
+ // =====================================================
937
+ genCompactItemStyle(token, {
938
+ focusElCls: "".concat(token.componentCls, "-focused")
939
+ })];
940
+ }, prepareComponentToken);