@gobolt/genesis 0.3.10 → 0.3.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (496) hide show
  1. package/dist/bundle.css +41 -41
  2. package/dist/components/Table/index.d.ts +3 -0
  3. package/dist/components/Tabs/styles.d.ts +1 -3
  4. package/dist/components/index.d.ts +7 -7
  5. package/dist/index.cjs +3 -6
  6. package/dist/index.js +4 -7
  7. package/dist/node_modules/@ant-design/cssinjs/es/Cache.cjs +2 -3
  8. package/dist/node_modules/@ant-design/cssinjs/es/Cache.js +2 -3
  9. package/dist/node_modules/@ant-design/cssinjs/es/Keyframes.cjs +2 -2
  10. package/dist/node_modules/@ant-design/cssinjs/es/Keyframes.js +2 -2
  11. package/dist/node_modules/@ant-design/cssinjs/es/extractStyle.cjs +2 -1
  12. package/dist/node_modules/@ant-design/cssinjs/es/extractStyle.js +5 -4
  13. package/dist/node_modules/@ant-design/cssinjs/es/hooks/useCSSVarRegister.cjs +1 -2
  14. package/dist/node_modules/@ant-design/cssinjs/es/hooks/useCSSVarRegister.js +1 -2
  15. package/dist/node_modules/@ant-design/cssinjs/es/hooks/useCacheToken.cjs +5 -4
  16. package/dist/node_modules/@ant-design/cssinjs/es/hooks/useCacheToken.js +5 -4
  17. package/dist/node_modules/@ant-design/cssinjs/es/hooks/useStyleRegister.cjs +3 -3
  18. package/dist/node_modules/@ant-design/cssinjs/es/hooks/useStyleRegister.js +3 -3
  19. package/dist/node_modules/@ant-design/cssinjs/es/theme/Theme.cjs +2 -2
  20. package/dist/node_modules/@ant-design/cssinjs/es/theme/Theme.js +2 -2
  21. package/dist/node_modules/@ant-design/cssinjs/es/theme/ThemeCache.cjs +2 -2
  22. package/dist/node_modules/@ant-design/cssinjs/es/theme/ThemeCache.js +2 -2
  23. package/dist/node_modules/@ant-design/cssinjs/es/util/index.cjs +2 -1
  24. package/dist/node_modules/@ant-design/cssinjs/es/util/index.js +3 -2
  25. package/dist/node_modules/@ant-design/cssinjs-utils/es/_util/hooks/useUniqueMemo.cjs +2 -2
  26. package/dist/node_modules/@ant-design/cssinjs-utils/es/_util/hooks/useUniqueMemo.js +2 -2
  27. package/dist/node_modules/@ant-design/cssinjs-utils/es/util/calc/CSSCalculator.cjs +2 -2
  28. package/dist/node_modules/@ant-design/cssinjs-utils/es/util/calc/CSSCalculator.js +2 -2
  29. package/dist/node_modules/@ant-design/cssinjs-utils/es/util/calc/NumCalculator.cjs +2 -2
  30. package/dist/node_modules/@ant-design/cssinjs-utils/es/util/calc/NumCalculator.js +2 -2
  31. package/dist/node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.cjs +275 -62
  32. package/dist/node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js +275 -62
  33. package/dist/node_modules/@fontsource/inter/300.css.cjs +1 -0
  34. package/dist/node_modules/@fontsource/inter/300.css.js +1 -0
  35. package/dist/node_modules/@fontsource/inter/400.css.cjs +1 -0
  36. package/dist/node_modules/@fontsource/inter/400.css.js +1 -0
  37. package/dist/node_modules/@fontsource/inter/500.css.cjs +1 -0
  38. package/dist/node_modules/@fontsource/inter/500.css.js +1 -0
  39. package/dist/node_modules/@fontsource/inter/600.css.cjs +1 -0
  40. package/dist/node_modules/@fontsource/inter/600.css.js +1 -0
  41. package/dist/node_modules/@fontsource/inter/700.css.cjs +1 -0
  42. package/dist/node_modules/@fontsource/inter/700.css.js +1 -0
  43. package/dist/node_modules/@fontsource/roboto-mono/400.css.cjs +1 -0
  44. package/dist/node_modules/@fontsource/roboto-mono/400.css.js +1 -0
  45. package/dist/node_modules/@rc-component/async-validator/es/index.cjs +2 -2
  46. package/dist/node_modules/@rc-component/async-validator/es/index.js +2 -2
  47. package/dist/node_modules/@rc-component/async-validator/es/rule/url.cjs +2 -2
  48. package/dist/node_modules/@rc-component/async-validator/es/rule/url.js +2 -2
  49. package/dist/node_modules/@rc-component/async-validator/es/util.cjs +2 -2
  50. package/dist/node_modules/@rc-component/async-validator/es/util.js +2 -2
  51. package/dist/node_modules/@rc-component/color-picker/es/color.cjs +2 -2
  52. package/dist/node_modules/@rc-component/color-picker/es/color.js +2 -2
  53. package/dist/node_modules/@rc-component/trigger/es/hooks/useAlign.cjs +1 -2
  54. package/dist/node_modules/@rc-component/trigger/es/hooks/useAlign.js +1 -2
  55. package/dist/node_modules/@rc-component/trigger/es/index.cjs +1 -3
  56. package/dist/node_modules/@rc-component/trigger/es/index.js +1 -3
  57. package/dist/node_modules/antd/es/_util/ActionButton.cjs +4 -4
  58. package/dist/node_modules/antd/es/_util/ActionButton.js +4 -4
  59. package/dist/node_modules/antd/es/_util/colors.cjs +2 -1
  60. package/dist/node_modules/antd/es/_util/colors.js +2 -1
  61. package/dist/node_modules/antd/es/_util/extendsObject.cjs +13 -11
  62. package/dist/node_modules/antd/es/_util/extendsObject.js +13 -11
  63. package/dist/node_modules/antd/es/_util/motion.cjs +16 -13
  64. package/dist/node_modules/antd/es/_util/motion.js +16 -13
  65. package/dist/node_modules/antd/es/_util/placements.cjs +4 -4
  66. package/dist/node_modules/antd/es/_util/placements.js +4 -4
  67. package/dist/node_modules/antd/es/_util/responsiveObserver.cjs +20 -18
  68. package/dist/node_modules/antd/es/_util/responsiveObserver.js +20 -18
  69. package/dist/node_modules/antd/es/_util/scrollTo.cjs +2 -1
  70. package/dist/node_modules/antd/es/_util/scrollTo.js +2 -1
  71. package/dist/node_modules/antd/es/_util/toList.cjs +4 -5
  72. package/dist/node_modules/antd/es/_util/toList.js +4 -5
  73. package/dist/node_modules/antd/es/_util/warning.cjs +6 -8
  74. package/dist/node_modules/antd/es/_util/warning.js +2 -3
  75. package/dist/node_modules/antd/es/_util/wave/WaveEffect.cjs +13 -10
  76. package/dist/node_modules/antd/es/_util/wave/WaveEffect.js +14 -11
  77. package/dist/node_modules/antd/es/_util/wave/style.cjs +1 -1
  78. package/dist/node_modules/antd/es/_util/wave/style.js +1 -1
  79. package/dist/node_modules/antd/es/_util/wave/util.cjs +1 -1
  80. package/dist/node_modules/antd/es/_util/wave/util.js +1 -1
  81. package/dist/node_modules/antd/es/avatar/Avatar.cjs +28 -22
  82. package/dist/node_modules/antd/es/avatar/Avatar.js +28 -22
  83. package/dist/node_modules/antd/es/avatar/AvatarGroup.cjs +3 -2
  84. package/dist/node_modules/antd/es/avatar/AvatarGroup.js +3 -2
  85. package/dist/node_modules/antd/es/avatar/style/index.cjs +7 -14
  86. package/dist/node_modules/antd/es/avatar/style/index.js +7 -14
  87. package/dist/node_modules/antd/es/breadcrumb/BreadcrumbSeparator.cjs +4 -3
  88. package/dist/node_modules/antd/es/breadcrumb/BreadcrumbSeparator.js +4 -3
  89. package/dist/node_modules/antd/es/button/DefaultLoadingIcon.cjs +5 -4
  90. package/dist/node_modules/antd/es/button/DefaultLoadingIcon.js +5 -4
  91. package/dist/node_modules/antd/es/button/button.cjs +9 -20
  92. package/dist/node_modules/antd/es/button/button.js +10 -21
  93. package/dist/node_modules/antd/es/button/style/index.cjs +8 -15
  94. package/dist/node_modules/antd/es/button/style/index.js +8 -15
  95. package/dist/node_modules/antd/es/button/style/token.cjs +0 -1
  96. package/dist/node_modules/antd/es/button/style/token.js +0 -1
  97. package/dist/node_modules/antd/es/card/Card.cjs +2 -1
  98. package/dist/node_modules/antd/es/card/Card.js +2 -1
  99. package/dist/node_modules/antd/es/card/style/index.cjs +1 -1
  100. package/dist/node_modules/antd/es/card/style/index.js +1 -1
  101. package/dist/node_modules/antd/es/checkbox/Checkbox.cjs +3 -3
  102. package/dist/node_modules/antd/es/checkbox/Checkbox.js +3 -3
  103. package/dist/node_modules/antd/es/checkbox/Group.cjs +4 -4
  104. package/dist/node_modules/antd/es/checkbox/Group.js +4 -4
  105. package/dist/node_modules/antd/es/checkbox/style/index.cjs +27 -26
  106. package/dist/node_modules/antd/es/checkbox/style/index.js +27 -26
  107. package/dist/node_modules/antd/es/color-picker/color.cjs +12 -9
  108. package/dist/node_modules/antd/es/color-picker/color.js +12 -9
  109. package/dist/node_modules/antd/es/config-provider/DisabledContext.cjs +5 -4
  110. package/dist/node_modules/antd/es/config-provider/DisabledContext.js +5 -4
  111. package/dist/node_modules/antd/es/config-provider/MotionWrapper.cjs +3 -10
  112. package/dist/node_modules/antd/es/config-provider/MotionWrapper.js +3 -10
  113. package/dist/node_modules/antd/es/config-provider/PropWarning.cjs +4 -3
  114. package/dist/node_modules/antd/es/config-provider/PropWarning.js +4 -3
  115. package/dist/node_modules/antd/es/config-provider/SizeContext.cjs +5 -4
  116. package/dist/node_modules/antd/es/config-provider/SizeContext.js +5 -4
  117. package/dist/node_modules/antd/es/config-provider/UnstableContext.cjs +2 -2
  118. package/dist/node_modules/antd/es/config-provider/UnstableContext.js +2 -2
  119. package/dist/node_modules/antd/es/config-provider/hooks/useSize.cjs +1 -1
  120. package/dist/node_modules/antd/es/config-provider/hooks/useSize.js +1 -1
  121. package/dist/node_modules/antd/es/config-provider/index.cjs +2 -3
  122. package/dist/node_modules/antd/es/config-provider/index.js +2 -3
  123. package/dist/node_modules/antd/es/date-picker/generatePicker/generateRangePicker.cjs +9 -23
  124. package/dist/node_modules/antd/es/date-picker/generatePicker/generateRangePicker.js +9 -23
  125. package/dist/node_modules/antd/es/date-picker/generatePicker/generateSinglePicker.cjs +10 -22
  126. package/dist/node_modules/antd/es/date-picker/generatePicker/generateSinglePicker.js +10 -22
  127. package/dist/node_modules/antd/es/date-picker/style/index.cjs +16 -18
  128. package/dist/node_modules/antd/es/date-picker/style/index.js +16 -18
  129. package/dist/node_modules/antd/es/date-picker/style/panel.cjs +40 -30
  130. package/dist/node_modules/antd/es/date-picker/style/panel.js +40 -30
  131. package/dist/node_modules/antd/es/dropdown/dropdown-button.cjs +4 -10
  132. package/dist/node_modules/antd/es/dropdown/dropdown-button.js +4 -10
  133. package/dist/node_modules/antd/es/dropdown/dropdown.cjs +23 -25
  134. package/dist/node_modules/antd/es/dropdown/dropdown.js +23 -25
  135. package/dist/node_modules/antd/es/dropdown/style/index.cjs +1 -1
  136. package/dist/node_modules/antd/es/dropdown/style/index.js +1 -1
  137. package/dist/node_modules/antd/es/empty/index.cjs +9 -11
  138. package/dist/node_modules/antd/es/empty/index.js +9 -11
  139. package/dist/node_modules/antd/es/empty/style/index.cjs +1 -1
  140. package/dist/node_modules/antd/es/empty/style/index.js +1 -1
  141. package/dist/node_modules/antd/es/form/ErrorList.cjs +16 -13
  142. package/dist/node_modules/antd/es/form/ErrorList.js +16 -13
  143. package/dist/node_modules/antd/es/form/Form.cjs +3 -4
  144. package/dist/node_modules/antd/es/form/Form.js +1 -2
  145. package/dist/node_modules/antd/es/form/FormItem/ItemHolder.cjs +7 -9
  146. package/dist/node_modules/antd/es/form/FormItem/ItemHolder.js +7 -9
  147. package/dist/node_modules/antd/es/form/FormItem/StatusProvider.cjs +13 -16
  148. package/dist/node_modules/antd/es/form/FormItem/StatusProvider.js +13 -16
  149. package/dist/node_modules/antd/es/form/FormItem/index.cjs +12 -8
  150. package/dist/node_modules/antd/es/form/FormItem/index.js +12 -8
  151. package/dist/node_modules/antd/es/form/FormItemLabel.cjs +26 -22
  152. package/dist/node_modules/antd/es/form/FormItemLabel.js +26 -22
  153. package/dist/node_modules/antd/es/form/context.cjs +7 -6
  154. package/dist/node_modules/antd/es/form/context.js +7 -6
  155. package/dist/node_modules/antd/es/form/hooks/useForm.cjs +3 -4
  156. package/dist/node_modules/antd/es/form/hooks/useForm.js +3 -3
  157. package/dist/node_modules/antd/es/form/hooks/useFormWarning.cjs +4 -3
  158. package/dist/node_modules/antd/es/form/hooks/useFormWarning.js +4 -3
  159. package/dist/node_modules/antd/es/form/hooks/useVariants.cjs +2 -1
  160. package/dist/node_modules/antd/es/form/hooks/useVariants.js +2 -1
  161. package/dist/node_modules/antd/es/form/index.cjs +1 -1
  162. package/dist/node_modules/antd/es/form/style/fallbackCmp.cjs +5 -4
  163. package/dist/node_modules/antd/es/form/style/fallbackCmp.js +5 -4
  164. package/dist/node_modules/antd/es/form/style/index.cjs +92 -62
  165. package/dist/node_modules/antd/es/form/style/index.js +92 -62
  166. package/dist/node_modules/antd/es/grid/hooks/useBreakpoint.cjs +3 -1
  167. package/dist/node_modules/antd/es/grid/hooks/useBreakpoint.js +3 -1
  168. package/dist/node_modules/antd/es/input/Input.cjs +3 -3
  169. package/dist/node_modules/antd/es/input/Input.js +3 -3
  170. package/dist/node_modules/antd/es/input/OTP/OTPInput.cjs +13 -31
  171. package/dist/node_modules/antd/es/input/OTP/OTPInput.js +8 -26
  172. package/dist/node_modules/antd/es/input/OTP/index.cjs +1 -2
  173. package/dist/node_modules/antd/es/input/OTP/index.js +1 -2
  174. package/dist/node_modules/antd/es/input/Password.cjs +2 -3
  175. package/dist/node_modules/antd/es/input/Password.js +2 -3
  176. package/dist/node_modules/antd/es/input/Search.cjs +14 -18
  177. package/dist/node_modules/antd/es/input/Search.js +14 -18
  178. package/dist/node_modules/antd/es/input/TextArea.cjs +6 -42
  179. package/dist/node_modules/antd/es/input/TextArea.js +6 -42
  180. package/dist/node_modules/antd/es/input/style/index.cjs +20 -7
  181. package/dist/node_modules/antd/es/input/style/index.js +20 -7
  182. package/dist/node_modules/antd/es/input/style/otp.cjs +1 -23
  183. package/dist/node_modules/antd/es/input/style/otp.js +1 -23
  184. package/dist/node_modules/antd/es/input/style/textarea.cjs +5 -27
  185. package/dist/node_modules/antd/es/input/style/textarea.js +5 -27
  186. package/dist/node_modules/antd/es/input/style/variants.cjs +29 -25
  187. package/dist/node_modules/antd/es/input/style/variants.js +29 -25
  188. package/dist/node_modules/antd/es/layout/Sider.cjs +21 -9
  189. package/dist/node_modules/antd/es/layout/Sider.js +21 -9
  190. package/dist/node_modules/antd/es/layout/style/index.cjs +1 -1
  191. package/dist/node_modules/antd/es/layout/style/index.js +1 -1
  192. package/dist/node_modules/antd/es/layout/style/sider.cjs +1 -1
  193. package/dist/node_modules/antd/es/layout/style/sider.js +1 -1
  194. package/dist/node_modules/antd/es/locale/en_US.cjs +1 -2
  195. package/dist/node_modules/antd/es/locale/en_US.js +1 -2
  196. package/dist/node_modules/antd/es/menu/MenuItem.cjs +1 -1
  197. package/dist/node_modules/antd/es/menu/MenuItem.js +1 -1
  198. package/dist/node_modules/antd/es/menu/SubMenu.cjs +1 -1
  199. package/dist/node_modules/antd/es/menu/SubMenu.js +1 -1
  200. package/dist/node_modules/antd/es/menu/menu.cjs +2 -2
  201. package/dist/node_modules/antd/es/menu/menu.js +2 -2
  202. package/dist/node_modules/antd/es/menu/style/index.cjs +3 -1
  203. package/dist/node_modules/antd/es/menu/style/index.js +3 -1
  204. package/dist/node_modules/antd/es/menu/style/rtl.cjs +24 -21
  205. package/dist/node_modules/antd/es/menu/style/rtl.js +24 -21
  206. package/dist/node_modules/antd/es/menu/style/theme.cjs +1 -1
  207. package/dist/node_modules/antd/es/menu/style/theme.js +1 -1
  208. package/dist/node_modules/antd/es/pagination/style/bordered.cjs +1 -1
  209. package/dist/node_modules/antd/es/pagination/style/bordered.js +1 -1
  210. package/dist/node_modules/antd/es/pagination/style/index.cjs +11 -2
  211. package/dist/node_modules/antd/es/pagination/style/index.js +11 -2
  212. package/dist/node_modules/antd/es/popover/PurePanel.cjs +6 -5
  213. package/dist/node_modules/antd/es/popover/PurePanel.js +6 -5
  214. package/dist/node_modules/antd/es/popover/index.cjs +2 -2
  215. package/dist/node_modules/antd/es/popover/index.js +2 -3
  216. package/dist/node_modules/antd/es/progress/Line.cjs +7 -4
  217. package/dist/node_modules/antd/es/progress/Line.js +7 -4
  218. package/dist/node_modules/antd/es/progress/utils.cjs +16 -13
  219. package/dist/node_modules/antd/es/progress/utils.js +16 -13
  220. package/dist/node_modules/antd/es/radio/group.cjs +4 -10
  221. package/dist/node_modules/antd/es/radio/group.js +2 -8
  222. package/dist/node_modules/antd/es/radio/style/index.cjs +2 -2
  223. package/dist/node_modules/antd/es/radio/style/index.js +2 -2
  224. package/dist/node_modules/antd/es/result/index.cjs +24 -21
  225. package/dist/node_modules/antd/es/result/index.js +24 -21
  226. package/dist/node_modules/antd/es/result/noFound.cjs +139 -117
  227. package/dist/node_modules/antd/es/result/noFound.js +139 -117
  228. package/dist/node_modules/antd/es/result/serverError.cjs +154 -131
  229. package/dist/node_modules/antd/es/result/serverError.js +154 -131
  230. package/dist/node_modules/antd/es/result/unauthorized.cjs +125 -113
  231. package/dist/node_modules/antd/es/result/unauthorized.js +125 -113
  232. package/dist/node_modules/antd/es/segmented/style/index.cjs +2 -2
  233. package/dist/node_modules/antd/es/segmented/style/index.js +2 -2
  234. package/dist/node_modules/antd/es/select/index.cjs +15 -42
  235. package/dist/node_modules/antd/es/select/index.js +15 -42
  236. package/dist/node_modules/antd/es/select/style/index.cjs +11 -17
  237. package/dist/node_modules/antd/es/select/style/index.js +11 -17
  238. package/dist/node_modules/antd/es/select/style/multiple.cjs +1 -2
  239. package/dist/node_modules/antd/es/select/style/multiple.js +1 -2
  240. package/dist/node_modules/antd/es/select/useIcons.cjs +20 -18
  241. package/dist/node_modules/antd/es/select/useIcons.js +20 -18
  242. package/dist/node_modules/antd/es/skeleton/Title.cjs +17 -14
  243. package/dist/node_modules/antd/es/skeleton/Title.js +17 -14
  244. package/dist/node_modules/antd/es/skeleton/style/index.cjs +1 -1
  245. package/dist/node_modules/antd/es/skeleton/style/index.js +1 -1
  246. package/dist/node_modules/antd/es/space/Item.cjs +8 -7
  247. package/dist/node_modules/antd/es/space/Item.js +8 -7
  248. package/dist/node_modules/antd/es/spin/Indicator/Progress.cjs +6 -4
  249. package/dist/node_modules/antd/es/spin/Indicator/Progress.js +6 -4
  250. package/dist/node_modules/antd/es/spin/Indicator/index.cjs +1 -2
  251. package/dist/node_modules/antd/es/spin/Indicator/index.js +1 -2
  252. package/dist/node_modules/antd/es/spin/style/index.cjs +1 -1
  253. package/dist/node_modules/antd/es/spin/style/index.js +1 -1
  254. package/dist/node_modules/antd/es/style/compact-item-vertical.cjs +3 -6
  255. package/dist/node_modules/antd/es/style/compact-item-vertical.js +3 -6
  256. package/dist/node_modules/antd/es/style/compact-item.cjs +8 -10
  257. package/dist/node_modules/antd/es/style/compact-item.js +8 -10
  258. package/dist/node_modules/antd/es/style/index.cjs +16 -13
  259. package/dist/node_modules/antd/es/style/index.js +16 -13
  260. package/dist/node_modules/antd/es/style/motion/motion.cjs +2 -1
  261. package/dist/node_modules/antd/es/style/motion/motion.js +2 -1
  262. package/dist/node_modules/antd/es/switch/index.cjs +3 -3
  263. package/dist/node_modules/antd/es/switch/index.js +3 -3
  264. package/dist/node_modules/antd/es/table/InternalTable.cjs +2 -1
  265. package/dist/node_modules/antd/es/table/InternalTable.js +2 -1
  266. package/dist/node_modules/antd/es/table/hooks/useFilter/FilterDropdown.cjs +64 -51
  267. package/dist/node_modules/antd/es/table/hooks/useFilter/FilterDropdown.js +66 -53
  268. package/dist/node_modules/antd/es/table/hooks/useFilter/index.cjs +30 -20
  269. package/dist/node_modules/antd/es/table/hooks/useFilter/index.js +30 -20
  270. package/dist/node_modules/antd/es/table/hooks/usePagination.js +2 -2
  271. package/dist/node_modules/antd/es/table/hooks/useSelection.cjs +34 -29
  272. package/dist/node_modules/antd/es/table/hooks/useSelection.js +34 -29
  273. package/dist/node_modules/antd/es/table/hooks/useSorter.cjs +44 -26
  274. package/dist/node_modules/antd/es/table/hooks/useSorter.js +44 -26
  275. package/dist/node_modules/antd/es/table/style/filter.cjs +2 -2
  276. package/dist/node_modules/antd/es/table/style/filter.js +2 -2
  277. package/dist/node_modules/antd/es/table/style/index.cjs +1 -3
  278. package/dist/node_modules/antd/es/table/style/index.js +1 -3
  279. package/dist/node_modules/antd/es/table/style/sticky.cjs +1 -1
  280. package/dist/node_modules/antd/es/table/style/sticky.js +1 -1
  281. package/dist/node_modules/antd/es/tabs/hooks/useAnimateConfig.cjs +5 -4
  282. package/dist/node_modules/antd/es/tabs/hooks/useAnimateConfig.js +5 -4
  283. package/dist/node_modules/antd/es/tabs/hooks/useLegacyItems.cjs +1 -8
  284. package/dist/node_modules/antd/es/tabs/hooks/useLegacyItems.js +1 -8
  285. package/dist/node_modules/antd/es/tabs/index.cjs +10 -20
  286. package/dist/node_modules/antd/es/tabs/index.js +10 -20
  287. package/dist/node_modules/antd/es/tabs/style/index.cjs +14 -42
  288. package/dist/node_modules/antd/es/tabs/style/index.js +14 -42
  289. package/dist/node_modules/antd/es/theme/themes/shared/genColorMapToken.cjs +5 -4
  290. package/dist/node_modules/antd/es/theme/themes/shared/genColorMapToken.js +5 -4
  291. package/dist/node_modules/antd/es/theme/useToken.cjs +13 -1
  292. package/dist/node_modules/antd/es/theme/useToken.js +13 -1
  293. package/dist/node_modules/antd/es/theme/util/useResetIconStyle.cjs +1 -1
  294. package/dist/node_modules/antd/es/theme/util/useResetIconStyle.js +1 -1
  295. package/dist/node_modules/antd/es/tooltip/index.cjs +5 -6
  296. package/dist/node_modules/antd/es/tooltip/index.js +5 -6
  297. package/dist/node_modules/antd/es/tooltip/style/index.cjs +17 -13
  298. package/dist/node_modules/antd/es/tooltip/style/index.js +17 -13
  299. package/dist/node_modules/antd/es/tooltip/util.cjs +0 -5
  300. package/dist/node_modules/antd/es/tooltip/util.js +0 -5
  301. package/dist/node_modules/antd/es/tree/DirectoryTree.cjs +5 -4
  302. package/dist/node_modules/antd/es/tree/DirectoryTree.js +5 -4
  303. package/dist/node_modules/antd/es/tree/style/directory.cjs +48 -50
  304. package/dist/node_modules/antd/es/tree/style/directory.js +48 -50
  305. package/dist/node_modules/antd/es/tree/style/index.cjs +13 -12
  306. package/dist/node_modules/antd/es/tree/style/index.js +13 -12
  307. package/dist/node_modules/antd/es/tree/utils/dictUtil.cjs +8 -7
  308. package/dist/node_modules/antd/es/tree/utils/dictUtil.js +8 -7
  309. package/dist/node_modules/antd/es/tree/utils/iconUtil.cjs +2 -3
  310. package/dist/node_modules/antd/es/tree/utils/iconUtil.js +2 -3
  311. package/dist/node_modules/antd/es/typography/Base/CopyBtn.cjs +13 -13
  312. package/dist/node_modules/antd/es/typography/Base/CopyBtn.js +13 -13
  313. package/dist/node_modules/antd/es/typography/Base/Ellipsis.cjs +5 -4
  314. package/dist/node_modules/antd/es/typography/Base/Ellipsis.js +5 -4
  315. package/dist/node_modules/antd/es/typography/Base/EllipsisTooltip.cjs +7 -6
  316. package/dist/node_modules/antd/es/typography/Base/EllipsisTooltip.js +7 -6
  317. package/dist/node_modules/antd/es/typography/Base/index.cjs +16 -16
  318. package/dist/node_modules/antd/es/typography/Base/index.js +16 -16
  319. package/dist/node_modules/antd/es/typography/Editable.cjs +16 -13
  320. package/dist/node_modules/antd/es/typography/Editable.js +16 -13
  321. package/dist/node_modules/antd/es/typography/hooks/useCopyClick.cjs +5 -4
  322. package/dist/node_modules/antd/es/typography/hooks/useCopyClick.js +5 -4
  323. package/dist/node_modules/antd/es/typography/style/index.cjs +6 -6
  324. package/dist/node_modules/antd/es/typography/style/index.js +6 -6
  325. package/dist/node_modules/antd/es/typography/style/mixins.cjs +2 -2
  326. package/dist/node_modules/antd/es/typography/style/mixins.js +2 -2
  327. package/dist/node_modules/antd/es/version/version.cjs +1 -1
  328. package/dist/node_modules/antd/es/version/version.js +1 -1
  329. package/dist/node_modules/d3-ease/src/elastic.cjs +2 -2
  330. package/dist/node_modules/d3-ease/src/elastic.js +2 -2
  331. package/dist/node_modules/d3-interpolate/src/rgb.cjs +2 -2
  332. package/dist/node_modules/d3-interpolate/src/rgb.js +2 -2
  333. package/dist/node_modules/d3-shape/src/curve/cardinal.cjs +2 -2
  334. package/dist/node_modules/d3-shape/src/curve/cardinal.js +2 -2
  335. package/dist/node_modules/dayjs/dayjs.min.cjs +13 -13
  336. package/dist/node_modules/dayjs/dayjs.min.js +13 -13
  337. package/dist/node_modules/dayjs/plugin/advancedFormat.cjs +5 -5
  338. package/dist/node_modules/dayjs/plugin/advancedFormat.js +5 -5
  339. package/dist/node_modules/dayjs/plugin/customParseFormat.cjs +15 -15
  340. package/dist/node_modules/dayjs/plugin/customParseFormat.js +15 -15
  341. package/dist/node_modules/dayjs/plugin/localeData.cjs +11 -11
  342. package/dist/node_modules/dayjs/plugin/localeData.js +11 -11
  343. package/dist/node_modules/dayjs/plugin/weekOfYear.cjs +3 -3
  344. package/dist/node_modules/dayjs/plugin/weekOfYear.js +3 -3
  345. package/dist/node_modules/dayjs/plugin/weekYear.cjs +3 -3
  346. package/dist/node_modules/dayjs/plugin/weekYear.js +3 -3
  347. package/dist/node_modules/dayjs/plugin/weekday.cjs +3 -3
  348. package/dist/node_modules/dayjs/plugin/weekday.js +3 -3
  349. package/dist/node_modules/engine.io-client/build/esm/transports/polling-xhr.cjs +2 -2
  350. package/dist/node_modules/engine.io-client/build/esm/transports/polling-xhr.js +2 -2
  351. package/dist/node_modules/rc-field-form/es/Field.cjs +2 -2
  352. package/dist/node_modules/rc-field-form/es/Field.js +2 -2
  353. package/dist/node_modules/rc-field-form/es/utils/NameMap.cjs +2 -2
  354. package/dist/node_modules/rc-field-form/es/utils/NameMap.js +2 -2
  355. package/dist/node_modules/rc-field-form/es/utils/validateUtil.cjs +2 -2
  356. package/dist/node_modules/rc-field-form/es/utils/validateUtil.js +2 -2
  357. package/dist/node_modules/rc-input/es/Input.cjs +1 -2
  358. package/dist/node_modules/rc-input/es/Input.js +1 -2
  359. package/dist/node_modules/rc-menu/es/MenuItem.cjs +2 -2
  360. package/dist/node_modules/rc-menu/es/MenuItem.js +2 -2
  361. package/dist/node_modules/rc-motion/es/CSSMotionList.cjs +2 -2
  362. package/dist/node_modules/rc-motion/es/CSSMotionList.js +2 -2
  363. package/dist/node_modules/rc-motion/es/DomWrapper.cjs +2 -2
  364. package/dist/node_modules/rc-motion/es/DomWrapper.js +2 -2
  365. package/dist/node_modules/rc-motion/es/hooks/useDomMotionEvents.cjs +2 -2
  366. package/dist/node_modules/rc-motion/es/hooks/useDomMotionEvents.js +2 -2
  367. package/dist/node_modules/rc-motion/es/hooks/useNextFrame.cjs +2 -2
  368. package/dist/node_modules/rc-motion/es/hooks/useNextFrame.js +2 -2
  369. package/dist/node_modules/rc-motion/es/hooks/useStepQueue.cjs +2 -2
  370. package/dist/node_modules/rc-motion/es/hooks/useStepQueue.js +2 -2
  371. package/dist/node_modules/rc-picker/es/PickerInput/Selector/MaskFormat.cjs +2 -2
  372. package/dist/node_modules/rc-picker/es/PickerInput/Selector/MaskFormat.js +2 -2
  373. package/dist/node_modules/rc-progress/es/hooks/useId.cjs +2 -2
  374. package/dist/node_modules/rc-progress/es/hooks/useId.js +2 -2
  375. package/dist/node_modules/rc-resize-observer/es/SingleObserver/DomWrapper.cjs +2 -2
  376. package/dist/node_modules/rc-resize-observer/es/SingleObserver/DomWrapper.js +2 -2
  377. package/dist/node_modules/rc-select/es/OptionList.cjs +1 -1
  378. package/dist/node_modules/rc-select/es/OptionList.js +1 -1
  379. package/dist/node_modules/rc-select/es/Selector/Input.cjs +47 -8
  380. package/dist/node_modules/rc-select/es/Selector/Input.js +47 -8
  381. package/dist/node_modules/rc-select/es/hooks/useCache.cjs +2 -2
  382. package/dist/node_modules/rc-select/es/hooks/useCache.js +2 -2
  383. package/dist/node_modules/rc-select/es/hooks/useFilterOptions.cjs +2 -2
  384. package/dist/node_modules/rc-select/es/hooks/useFilterOptions.js +2 -2
  385. package/dist/node_modules/rc-table/es/Body/BodyRow.cjs +8 -22
  386. package/dist/node_modules/rc-table/es/Body/BodyRow.js +8 -22
  387. package/dist/node_modules/rc-table/es/Body/ExpandedRow.cjs +3 -3
  388. package/dist/node_modules/rc-table/es/Body/ExpandedRow.js +3 -3
  389. package/dist/node_modules/rc-table/es/Body/MeasureCell.cjs +1 -2
  390. package/dist/node_modules/rc-table/es/Body/MeasureCell.js +1 -2
  391. package/dist/node_modules/rc-table/es/Body/MeasureRow.cjs +5 -10
  392. package/dist/node_modules/rc-table/es/Body/MeasureRow.js +5 -10
  393. package/dist/node_modules/rc-table/es/Body/index.cjs +6 -24
  394. package/dist/node_modules/rc-table/es/Body/index.js +6 -24
  395. package/dist/node_modules/rc-table/es/FixedHolder/index.cjs +4 -3
  396. package/dist/node_modules/rc-table/es/FixedHolder/index.js +4 -3
  397. package/dist/node_modules/rc-table/es/Table.cjs +15 -17
  398. package/dist/node_modules/rc-table/es/Table.js +16 -18
  399. package/dist/node_modules/rc-table/es/hooks/useColumns/index.cjs +4 -10
  400. package/dist/node_modules/rc-table/es/hooks/useColumns/index.js +4 -10
  401. package/dist/node_modules/rc-table/es/hooks/useFlattenRecords.cjs +3 -5
  402. package/dist/node_modules/rc-table/es/hooks/useFlattenRecords.js +3 -5
  403. package/dist/node_modules/rc-table/es/hooks/useFrame.js +1 -1
  404. package/dist/node_modules/rc-tabs/es/TabNavList/index.cjs +21 -30
  405. package/dist/node_modules/rc-tabs/es/TabNavList/index.js +22 -31
  406. package/dist/node_modules/rc-tabs/es/hooks/useIndicator.cjs +2 -9
  407. package/dist/node_modules/rc-tabs/es/hooks/useIndicator.js +2 -9
  408. package/dist/node_modules/rc-tabs/es/hooks/useVisibleRange.cjs +1 -1
  409. package/dist/node_modules/rc-tabs/es/hooks/useVisibleRange.js +1 -1
  410. package/dist/node_modules/rc-textarea/es/ResizableTextArea.cjs +13 -1
  411. package/dist/node_modules/rc-textarea/es/ResizableTextArea.js +13 -1
  412. package/dist/node_modules/rc-tree/es/Tree.cjs +2 -2
  413. package/dist/node_modules/rc-tree/es/Tree.js +2 -2
  414. package/dist/node_modules/rc-util/es/Dom/isVisible.cjs +2 -2
  415. package/dist/node_modules/rc-util/es/Dom/isVisible.js +2 -2
  416. package/dist/node_modules/rc-util/es/isMobile.cjs +2 -2
  417. package/dist/node_modules/rc-util/es/isMobile.js +2 -2
  418. package/dist/node_modules/rc-virtual-list/es/List.cjs +2 -3
  419. package/dist/node_modules/rc-virtual-list/es/List.js +2 -3
  420. package/dist/node_modules/rc-virtual-list/es/ScrollBar.cjs +23 -21
  421. package/dist/node_modules/rc-virtual-list/es/ScrollBar.js +23 -21
  422. package/dist/node_modules/rc-virtual-list/es/hooks/useOriginScroll.cjs +2 -2
  423. package/dist/node_modules/rc-virtual-list/es/hooks/useOriginScroll.js +2 -2
  424. package/dist/node_modules/rc-virtual-list/es/hooks/useScrollDrag.cjs +1 -1
  425. package/dist/node_modules/rc-virtual-list/es/hooks/useScrollDrag.js +1 -1
  426. package/dist/node_modules/rc-virtual-list/es/utils/CacheMap.cjs +6 -6
  427. package/dist/node_modules/rc-virtual-list/es/utils/CacheMap.js +6 -6
  428. package/dist/node_modules/react-icons/hi/index.cjs +0 -16
  429. package/dist/node_modules/react-icons/hi/index.js +0 -16
  430. package/dist/node_modules/react-toastify/dist/ReactToastify.css.cjs +1 -0
  431. package/dist/node_modules/react-toastify/dist/ReactToastify.css.js +1 -0
  432. package/dist/node_modules/resize-observer-polyfill/dist/ResizeObserver.es.cjs +26 -26
  433. package/dist/node_modules/resize-observer-polyfill/dist/ResizeObserver.es.js +26 -26
  434. package/dist/node_modules/unified/lib/callable-instance.cjs +2 -2
  435. package/dist/node_modules/unified/lib/callable-instance.js +2 -2
  436. package/dist/node_modules/unist-util-is/lib/index.cjs +2 -2
  437. package/dist/node_modules/unist-util-is/lib/index.js +2 -2
  438. package/dist/node_modules/vfile-message/lib/index.cjs +5 -5
  439. package/dist/node_modules/vfile-message/lib/index.js +5 -5
  440. package/dist/providers/ToastProvider.cjs +1 -1
  441. package/dist/providers/ToastProvider.js +1 -1
  442. package/dist/styles/global-styles.cjs +6 -6
  443. package/dist/styles/global-styles.js +6 -6
  444. package/dist/utils/icon-util.cjs +0 -19
  445. package/dist/utils/icon-util.js +1 -20
  446. package/package.json +1 -2
  447. package/dist/components/Button/IconButton.cjs +0 -29
  448. package/dist/components/Button/IconButton.js +0 -30
  449. package/dist/components/Button/icon-button-styles.cjs +0 -76
  450. package/dist/components/Button/icon-button-styles.js +0 -77
  451. package/dist/components/Table/TableControls/PrimaryTableControlsRow.cjs +0 -162
  452. package/dist/components/Table/TableControls/PrimaryTableControlsRow.js +0 -163
  453. package/dist/components/Table/TableControls/SecondaryTableControlsRow.cjs +0 -80
  454. package/dist/components/Table/TableControls/SecondaryTableControlsRow.js +0 -81
  455. package/dist/components/Table/TableControls/TableControls.cjs +0 -38
  456. package/dist/components/Table/TableControls/TableControls.js +0 -39
  457. package/dist/components/Table/TableWithControls/TableWithControls.cjs +0 -41
  458. package/dist/components/Table/TableWithControls/TableWithControls.js +0 -42
  459. package/dist/node_modules/@babel/runtime/helpers/esm/OverloadYield.cjs +0 -5
  460. package/dist/node_modules/@babel/runtime/helpers/esm/OverloadYield.js +0 -6
  461. package/dist/node_modules/@babel/runtime/helpers/esm/regenerator.cjs +0 -78
  462. package/dist/node_modules/@babel/runtime/helpers/esm/regenerator.js +0 -79
  463. package/dist/node_modules/@babel/runtime/helpers/esm/regeneratorAsync.cjs +0 -9
  464. package/dist/node_modules/@babel/runtime/helpers/esm/regeneratorAsync.js +0 -10
  465. package/dist/node_modules/@babel/runtime/helpers/esm/regeneratorAsyncGen.cjs +0 -7
  466. package/dist/node_modules/@babel/runtime/helpers/esm/regeneratorAsyncGen.js +0 -8
  467. package/dist/node_modules/@babel/runtime/helpers/esm/regeneratorAsyncIterator.cjs +0 -33
  468. package/dist/node_modules/@babel/runtime/helpers/esm/regeneratorAsyncIterator.js +0 -34
  469. package/dist/node_modules/@babel/runtime/helpers/esm/regeneratorDefine.cjs +0 -23
  470. package/dist/node_modules/@babel/runtime/helpers/esm/regeneratorDefine.js +0 -24
  471. package/dist/node_modules/@babel/runtime/helpers/esm/regeneratorKeys.cjs +0 -10
  472. package/dist/node_modules/@babel/runtime/helpers/esm/regeneratorKeys.js +0 -11
  473. package/dist/node_modules/@babel/runtime/helpers/esm/regeneratorValues.cjs +0 -19
  474. package/dist/node_modules/@babel/runtime/helpers/esm/regeneratorValues.js +0 -20
  475. package/dist/node_modules/antd/es/_util/convertToTooltipProps.cjs +0 -14
  476. package/dist/node_modules/antd/es/_util/convertToTooltipProps.js +0 -15
  477. package/dist/node_modules/antd/es/_util/hooks/useMergeSemantic/index.cjs +0 -80
  478. package/dist/node_modules/antd/es/_util/hooks/useMergeSemantic/index.js +0 -61
  479. package/dist/node_modules/antd/es/_util/mediaQueryUtil.cjs +0 -17
  480. package/dist/node_modules/antd/es/_util/mediaQueryUtil.js +0 -18
  481. package/dist/node_modules/antd/es/color-picker/util.cjs +0 -12
  482. package/dist/node_modules/antd/es/color-picker/util.js +0 -13
  483. package/dist/node_modules/antd/es/date-picker/hooks/useMergedPickerSemantic.cjs +0 -50
  484. package/dist/node_modules/antd/es/date-picker/hooks/useMergedPickerSemantic.js +0 -32
  485. package/dist/node_modules/antd/es/select/usePopupRender.cjs +0 -14
  486. package/dist/node_modules/antd/es/select/usePopupRender.js +0 -15
  487. package/dist/node_modules/rc-util/es/composeProps.cjs +0 -20
  488. package/dist/node_modules/rc-util/es/composeProps.js +0 -21
  489. package/dist/node_modules/react-icons/fi/index.cjs +0 -7
  490. package/dist/node_modules/react-icons/fi/index.js +0 -8
  491. package/dist/node_modules/react-icons/hi2/index.cjs +0 -7
  492. package/dist/node_modules/react-icons/hi2/index.js +0 -8
  493. package/dist/node_modules/react-icons/lu/index.cjs +0 -7
  494. package/dist/node_modules/react-icons/lu/index.js +0 -8
  495. package/dist/node_modules/react-icons/tb/index.cjs +0 -7
  496. package/dist/node_modules/react-icons/tb/index.js +0 -8
@@ -30,7 +30,7 @@ const genFilterStyle = (token) => {
30
30
  tablePaddingHorizontal,
31
31
  borderRadius,
32
32
  motionDurationSlow,
33
- colorIcon,
33
+ colorTextDescription,
34
34
  colorPrimary,
35
35
  tableHeaderFilterActiveBg,
36
36
  colorTextDisabled,
@@ -66,7 +66,7 @@ const genFilterStyle = (token) => {
66
66
  cursor: "pointer",
67
67
  transition: `all ${motionDurationSlow}`,
68
68
  "&:hover": {
69
- color: colorIcon,
69
+ color: colorTextDescription,
70
70
  background: tableHeaderFilterActiveBg
71
71
  },
72
72
  "&.active": {
@@ -29,7 +29,7 @@ const genFilterStyle = (token) => {
29
29
  tablePaddingHorizontal,
30
30
  borderRadius,
31
31
  motionDurationSlow,
32
- colorIcon,
32
+ colorTextDescription,
33
33
  colorPrimary,
34
34
  tableHeaderFilterActiveBg,
35
35
  colorTextDisabled,
@@ -65,7 +65,7 @@ const genFilterStyle = (token) => {
65
65
  cursor: "pointer",
66
66
  transition: `all ${motionDurationSlow}`,
67
67
  "&:hover": {
68
- color: colorIcon,
68
+ color: colorTextDescription,
69
69
  background: tableHeaderFilterActiveBg
70
70
  },
71
71
  "&.active": {
@@ -59,9 +59,7 @@ const genTableStyle = (token) => {
59
59
  return {
60
60
  [`${componentCls}-wrapper`]: Object.assign(Object.assign({
61
61
  clear: "both",
62
- maxWidth: "100%",
63
- // fix https://github.com/ant-design/ant-design/issues/46177
64
- ["--rc-virtual-list-scrollbar-bg"]: token.tableScrollBg
62
+ maxWidth: "100%"
65
63
  }, index.clearFix()), {
66
64
  [componentCls]: Object.assign(Object.assign({}, index.resetComponent(token)), {
67
65
  fontSize: tableFontSize,
@@ -57,9 +57,7 @@ const genTableStyle = (token) => {
57
57
  return {
58
58
  [`${componentCls}-wrapper`]: Object.assign(Object.assign({
59
59
  clear: "both",
60
- maxWidth: "100%",
61
- // fix https://github.com/ant-design/ant-design/issues/46177
62
- ["--rc-virtual-list-scrollbar-bg"]: token.tableScrollBg
60
+ maxWidth: "100%"
63
61
  }, clearFix()), {
64
62
  [componentCls]: Object.assign(Object.assign({}, resetComponent(token)), {
65
63
  fontSize: tableFontSize,
@@ -52,7 +52,7 @@ const genStickyStyle = (token) => {
52
52
  height: tableScrollThumbSize,
53
53
  backgroundColor: tableScrollThumbBg,
54
54
  borderRadius: stickyScrollBarBorderRadius,
55
- transition: `all ${token.motionDurationSlow}, transform 0s`,
55
+ transition: `all ${token.motionDurationSlow}, transform none`,
56
56
  position: "absolute",
57
57
  bottom: 0,
58
58
  "&:hover, &-active": {
@@ -51,7 +51,7 @@ const genStickyStyle = (token) => {
51
51
  height: tableScrollThumbSize,
52
52
  backgroundColor: tableScrollThumbBg,
53
53
  borderRadius: stickyScrollBarBorderRadius,
54
- transition: `all ${token.motionDurationSlow}, transform 0s`,
54
+ transition: `all ${token.motionDurationSlow}, transform none`,
55
55
  position: "absolute",
56
56
  bottom: 0,
57
57
  "&:hover, &-active": {
@@ -5,10 +5,11 @@ const motion = {
5
5
  motionEnter: true,
6
6
  motionLeave: true
7
7
  };
8
- function useAnimateConfig(prefixCls, animated = {
9
- inkBar: true,
10
- tabPane: false
11
- }) {
8
+ function useAnimateConfig(prefixCls) {
9
+ let animated = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
10
+ inkBar: true,
11
+ tabPane: false
12
+ };
12
13
  let mergedAnimated;
13
14
  if (animated === false) {
14
15
  mergedAnimated = {
@@ -4,10 +4,11 @@ const motion = {
4
4
  motionEnter: true,
5
5
  motionLeave: true
6
6
  };
7
- function useAnimateConfig(prefixCls, animated = {
8
- inkBar: true,
9
- tabPane: false
10
- }) {
7
+ function useAnimateConfig(prefixCls) {
8
+ let animated = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
9
+ inkBar: true,
10
+ tabPane: false
11
+ };
11
12
  let mergedAnimated;
12
13
  if (animated === false) {
13
14
  mergedAnimated = {
@@ -38,14 +38,7 @@ function useLegacyItems(items, children) {
38
38
  warning$1.deprecated(!children, "Tabs.TabPane", "items");
39
39
  }
40
40
  if (items) {
41
- return items.map((item) => {
42
- var _a;
43
- const mergedDestroyOnHidden = (_a = item.destroyOnHidden) !== null && _a !== void 0 ? _a : item.destroyInactiveTabPane;
44
- return Object.assign(Object.assign({}, item), {
45
- // TODO: In the future, destroyInactiveTabPane in rc-tabs needs to be upgrade to destroyOnHidden
46
- destroyInactiveTabPane: mergedDestroyOnHidden
47
- });
48
- });
41
+ return items;
49
42
  }
50
43
  const childrenItems = toArray(children).map((node) => {
51
44
  if (/* @__PURE__ */ React__namespace.isValidElement(node)) {
@@ -18,14 +18,7 @@ function useLegacyItems(items, children) {
18
18
  warning.deprecated(!children, "Tabs.TabPane", "items");
19
19
  }
20
20
  if (items) {
21
- return items.map((item) => {
22
- var _a;
23
- const mergedDestroyOnHidden = (_a = item.destroyOnHidden) !== null && _a !== void 0 ? _a : item.destroyInactiveTabPane;
24
- return Object.assign(Object.assign({}, item), {
25
- // TODO: In the future, destroyInactiveTabPane in rc-tabs needs to be upgrade to destroyOnHidden
26
- destroyInactiveTabPane: mergedDestroyOnHidden
27
- });
28
- });
21
+ return items;
29
22
  }
30
23
  const childrenItems = toArray(children).map((node) => {
31
24
  if (/* @__PURE__ */ React.isValidElement(node)) {
@@ -41,7 +41,7 @@ var __rest = function(s, e) {
41
41
  }
42
42
  return t;
43
43
  };
44
- const InternalTabs = /* @__PURE__ */ React__namespace.forwardRef((props, ref) => {
44
+ const Tabs = (props) => {
45
45
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
46
46
  const {
47
47
  type,
@@ -61,10 +61,8 @@ const InternalTabs = /* @__PURE__ */ React__namespace.forwardRef((props, ref) =>
61
61
  animated,
62
62
  style,
63
63
  indicatorSize,
64
- indicator,
65
- destroyInactiveTabPane,
66
- destroyOnHidden
67
- } = props, otherProps = __rest(props, ["type", "className", "rootClassName", "size", "onEdit", "hideAdd", "centered", "addIcon", "removeIcon", "moreIcon", "more", "popupClassName", "children", "items", "animated", "style", "indicatorSize", "indicator", "destroyInactiveTabPane", "destroyOnHidden"]);
64
+ indicator
65
+ } = props, otherProps = __rest(props, ["type", "className", "rootClassName", "size", "onEdit", "hideAdd", "centered", "addIcon", "removeIcon", "moreIcon", "more", "popupClassName", "children", "items", "animated", "style", "indicatorSize", "indicator"]);
68
66
  const {
69
67
  prefixCls: customizePrefixCls
70
68
  } = otherProps;
@@ -77,17 +75,14 @@ const InternalTabs = /* @__PURE__ */ React__namespace.forwardRef((props, ref) =>
77
75
  const prefixCls = getPrefixCls("tabs", customizePrefixCls);
78
76
  const rootCls = useCSSVarCls(prefixCls);
79
77
  const [wrapCSSVar, hashId, cssVarCls] = index.default(prefixCls, rootCls);
80
- const tabsRef = React__namespace.useRef(null);
81
- React__namespace.useImperativeHandle(ref, () => ({
82
- nativeElement: tabsRef.current
83
- }));
84
78
  let editable;
85
79
  if (type === "editable-card") {
86
80
  editable = {
87
- onEdit: (editType, {
88
- key,
89
- event
90
- }) => {
81
+ onEdit: (editType, _ref) => {
82
+ let {
83
+ key,
84
+ event
85
+ } = _ref;
91
86
  onEdit === null || onEdit === void 0 ? void 0 : onEdit(editType === "add" ? event : key, editType);
92
87
  },
93
88
  removeIcon: (_a = removeIcon !== null && removeIcon !== void 0 ? removeIcon : tabs === null || tabs === void 0 ? void 0 : tabs.removeIcon) !== null && _a !== void 0 ? _a : /* @__PURE__ */ React__namespace.createElement(CloseOutlined, null),
@@ -100,7 +95,6 @@ const InternalTabs = /* @__PURE__ */ React__namespace.forwardRef((props, ref) =>
100
95
  const warning$1 = warning.devUseWarning("Tabs");
101
96
  process.env.NODE_ENV !== "production" ? warning$1(!("onPrevClick" in props) && !("onNextClick" in props), "breaking", "`onPrevClick` and `onNextClick` has been removed. Please use `onTabScroll` instead.") : void 0;
102
97
  process.env.NODE_ENV !== "production" ? warning$1(!(indicatorSize || (tabs === null || tabs === void 0 ? void 0 : tabs.indicatorSize)), "deprecated", "`indicatorSize` has been deprecated. Please use `indicator={{ size: ... }}` instead.") : void 0;
103
- warning$1.deprecated(!("destroyInactiveTabPane" in props || (items === null || items === void 0 ? void 0 : items.some((item) => "destroyInactiveTabPane" in item))), "destroyInactiveTabPane", "destroyOnHidden");
104
98
  }
105
99
  const size = useSize(customSize);
106
100
  const mergedItems = useLegacyItems(items, children);
@@ -111,7 +105,6 @@ const InternalTabs = /* @__PURE__ */ React__namespace.forwardRef((props, ref) =>
111
105
  size: (_g = (_e = (_d = indicator === null || indicator === void 0 ? void 0 : indicator.size) !== null && _d !== void 0 ? _d : indicatorSize) !== null && _e !== void 0 ? _e : (_f = tabs === null || tabs === void 0 ? void 0 : tabs.indicator) === null || _f === void 0 ? void 0 : _f.size) !== null && _g !== void 0 ? _g : tabs === null || tabs === void 0 ? void 0 : tabs.indicatorSize
112
106
  };
113
107
  return wrapCSSVar(/* @__PURE__ */ React__namespace.createElement(Tabs$1, Object.assign({
114
- ref: tabsRef,
115
108
  direction,
116
109
  getPopupContainer
117
110
  }, otherProps, {
@@ -131,12 +124,9 @@ const InternalTabs = /* @__PURE__ */ React__namespace.forwardRef((props, ref) =>
131
124
  }, more),
132
125
  prefixCls,
133
126
  animated: mergedAnimated,
134
- indicator: mergedIndicator,
135
- // TODO: In the future, destroyInactiveTabPane in rc-tabs needs to be upgrade to destroyOnHidden
136
- destroyInactiveTabPane: destroyOnHidden !== null && destroyOnHidden !== void 0 ? destroyOnHidden : destroyInactiveTabPane
127
+ indicator: mergedIndicator
137
128
  })));
138
- });
139
- const Tabs = InternalTabs;
129
+ };
140
130
  Tabs.TabPane = TabPane;
141
131
  if (process.env.NODE_ENV !== "production") {
142
132
  Tabs.displayName = "Tabs";
@@ -21,7 +21,7 @@ var __rest = function(s, e) {
21
21
  }
22
22
  return t;
23
23
  };
24
- const InternalTabs = /* @__PURE__ */ React.forwardRef((props, ref) => {
24
+ const Tabs = (props) => {
25
25
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
26
26
  const {
27
27
  type,
@@ -41,10 +41,8 @@ const InternalTabs = /* @__PURE__ */ React.forwardRef((props, ref) => {
41
41
  animated,
42
42
  style,
43
43
  indicatorSize,
44
- indicator,
45
- destroyInactiveTabPane,
46
- destroyOnHidden
47
- } = props, otherProps = __rest(props, ["type", "className", "rootClassName", "size", "onEdit", "hideAdd", "centered", "addIcon", "removeIcon", "moreIcon", "more", "popupClassName", "children", "items", "animated", "style", "indicatorSize", "indicator", "destroyInactiveTabPane", "destroyOnHidden"]);
44
+ indicator
45
+ } = props, otherProps = __rest(props, ["type", "className", "rootClassName", "size", "onEdit", "hideAdd", "centered", "addIcon", "removeIcon", "moreIcon", "more", "popupClassName", "children", "items", "animated", "style", "indicatorSize", "indicator"]);
48
46
  const {
49
47
  prefixCls: customizePrefixCls
50
48
  } = otherProps;
@@ -57,17 +55,14 @@ const InternalTabs = /* @__PURE__ */ React.forwardRef((props, ref) => {
57
55
  const prefixCls = getPrefixCls("tabs", customizePrefixCls);
58
56
  const rootCls = useCSSVarCls(prefixCls);
59
57
  const [wrapCSSVar, hashId, cssVarCls] = useStyle(prefixCls, rootCls);
60
- const tabsRef = React.useRef(null);
61
- React.useImperativeHandle(ref, () => ({
62
- nativeElement: tabsRef.current
63
- }));
64
58
  let editable;
65
59
  if (type === "editable-card") {
66
60
  editable = {
67
- onEdit: (editType, {
68
- key,
69
- event
70
- }) => {
61
+ onEdit: (editType, _ref) => {
62
+ let {
63
+ key,
64
+ event
65
+ } = _ref;
71
66
  onEdit === null || onEdit === void 0 ? void 0 : onEdit(editType === "add" ? event : key, editType);
72
67
  },
73
68
  removeIcon: (_a = removeIcon !== null && removeIcon !== void 0 ? removeIcon : tabs === null || tabs === void 0 ? void 0 : tabs.removeIcon) !== null && _a !== void 0 ? _a : /* @__PURE__ */ React.createElement(RefIcon$1, null),
@@ -80,7 +75,6 @@ const InternalTabs = /* @__PURE__ */ React.forwardRef((props, ref) => {
80
75
  const warning = devUseWarning("Tabs");
81
76
  process.env.NODE_ENV !== "production" ? warning(!("onPrevClick" in props) && !("onNextClick" in props), "breaking", "`onPrevClick` and `onNextClick` has been removed. Please use `onTabScroll` instead.") : void 0;
82
77
  process.env.NODE_ENV !== "production" ? warning(!(indicatorSize || (tabs === null || tabs === void 0 ? void 0 : tabs.indicatorSize)), "deprecated", "`indicatorSize` has been deprecated. Please use `indicator={{ size: ... }}` instead.") : void 0;
83
- warning.deprecated(!("destroyInactiveTabPane" in props || (items === null || items === void 0 ? void 0 : items.some((item) => "destroyInactiveTabPane" in item))), "destroyInactiveTabPane", "destroyOnHidden");
84
78
  }
85
79
  const size = useSize(customSize);
86
80
  const mergedItems = useLegacyItems(items, children);
@@ -91,7 +85,6 @@ const InternalTabs = /* @__PURE__ */ React.forwardRef((props, ref) => {
91
85
  size: (_g = (_e = (_d = indicator === null || indicator === void 0 ? void 0 : indicator.size) !== null && _d !== void 0 ? _d : indicatorSize) !== null && _e !== void 0 ? _e : (_f = tabs === null || tabs === void 0 ? void 0 : tabs.indicator) === null || _f === void 0 ? void 0 : _f.size) !== null && _g !== void 0 ? _g : tabs === null || tabs === void 0 ? void 0 : tabs.indicatorSize
92
86
  };
93
87
  return wrapCSSVar(/* @__PURE__ */ React.createElement(Tabs$1, Object.assign({
94
- ref: tabsRef,
95
88
  direction,
96
89
  getPopupContainer
97
90
  }, otherProps, {
@@ -111,12 +104,9 @@ const InternalTabs = /* @__PURE__ */ React.forwardRef((props, ref) => {
111
104
  }, more),
112
105
  prefixCls,
113
106
  animated: mergedAnimated,
114
- indicator: mergedIndicator,
115
- // TODO: In the future, destroyInactiveTabPane in rc-tabs needs to be upgrade to destroyOnHidden
116
- destroyInactiveTabPane: destroyOnHidden !== null && destroyOnHidden !== void 0 ? destroyOnHidden : destroyInactiveTabPane
107
+ indicator: mergedIndicator
117
108
  })));
118
- });
119
- const Tabs = InternalTabs;
109
+ };
120
110
  Tabs.TabPane = TabPane;
121
111
  if (process.env.NODE_ENV !== "production") {
122
112
  Tabs.displayName = "Tabs";
@@ -42,12 +42,12 @@ const genCardStyle = (token) => {
42
42
  color: itemSelectedColor,
43
43
  background: token.colorBgContainer
44
44
  },
45
- [`${componentCls}-tab-focus:has(${componentCls}-tab-btn:focus-visible)`]: index$1.genFocusOutline(token, -3),
46
- [`& ${componentCls}-tab${componentCls}-tab-focus ${componentCls}-tab-btn:focus-visible`]: {
47
- outline: "none"
48
- },
45
+ [`${componentCls}-tab-focus`]: Object.assign({}, index$1.genFocusOutline(token, -3)),
49
46
  [`${componentCls}-ink-bar`]: {
50
47
  visibility: "hidden"
48
+ },
49
+ [`& ${componentCls}-tab${componentCls}-tab-focus ${componentCls}-tab-btn`]: {
50
+ outline: "none"
51
51
  }
52
52
  },
53
53
  // ========================== Top & Bottom ==========================
@@ -181,7 +181,7 @@ const genDropdownStyle = (token) => {
181
181
  _skip_check_: true,
182
182
  value: token.marginSM
183
183
  },
184
- color: token.colorIcon,
184
+ color: token.colorTextDescription,
185
185
  fontSize: token.fontSizeSM,
186
186
  background: "transparent",
187
187
  border: 0,
@@ -414,13 +414,10 @@ const genSizeStyle = (token) => {
414
414
  componentCls,
415
415
  cardPaddingSM,
416
416
  cardPaddingLG,
417
- cardHeightSM,
418
- cardHeightLG,
419
417
  horizontalItemPaddingSM,
420
418
  horizontalItemPaddingLG
421
419
  } = token;
422
420
  return {
423
- // >>>>> shared
424
421
  [componentCls]: {
425
422
  "&-small": {
426
423
  [`> ${componentCls}-nav`]: {
@@ -434,23 +431,16 @@ const genSizeStyle = (token) => {
434
431
  [`> ${componentCls}-nav`]: {
435
432
  [`${componentCls}-tab`]: {
436
433
  padding: horizontalItemPaddingLG,
437
- fontSize: token.titleFontSizeLG,
438
- lineHeight: token.lineHeightLG
434
+ fontSize: token.titleFontSizeLG
439
435
  }
440
436
  }
441
437
  }
442
438
  },
443
- // >>>>> card
444
439
  [`${componentCls}-card`]: {
445
- // Small
446
440
  [`&${componentCls}-small`]: {
447
441
  [`> ${componentCls}-nav`]: {
448
442
  [`${componentCls}-tab`]: {
449
443
  padding: cardPaddingSM
450
- },
451
- [`${componentCls}-nav-add`]: {
452
- minWidth: cardHeightSM,
453
- minHeight: cardHeightSM
454
444
  }
455
445
  },
456
446
  [`&${componentCls}-bottom`]: {
@@ -480,15 +470,10 @@ const genSizeStyle = (token) => {
480
470
  }
481
471
  }
482
472
  },
483
- // Large
484
473
  [`&${componentCls}-large`]: {
485
474
  [`> ${componentCls}-nav`]: {
486
475
  [`${componentCls}-tab`]: {
487
476
  padding: cardPaddingLG
488
- },
489
- [`${componentCls}-nav-add`]: {
490
- minWidth: cardHeightLG,
491
- minHeight: cardHeightLG
492
477
  }
493
478
  }
494
479
  }
@@ -543,7 +528,7 @@ const genTabStyle = (token) => {
543
528
  _skip_check_: true,
544
529
  value: token.marginXS
545
530
  },
546
- color: token.colorIcon,
531
+ color: token.colorTextDescription,
547
532
  fontSize: token.fontSizeSM,
548
533
  background: "transparent",
549
534
  border: "none",
@@ -561,7 +546,7 @@ const genTabStyle = (token) => {
561
546
  color: itemSelectedColor,
562
547
  textShadow: token.tabsActiveTextShadow
563
548
  },
564
- [`&${tabCls}-focus ${tabCls}-btn:focus-visible`]: index$1.genFocusOutline(token),
549
+ [`&${tabCls}-focus ${tabCls}-btn`]: Object.assign({}, index$1.genFocusOutline(token)),
565
550
  [`&${tabCls}-disabled`]: {
566
551
  color: token.colorTextDisabled,
567
552
  cursor: "not-allowed"
@@ -760,11 +745,11 @@ const genTabsStyle = (token) => {
760
745
  },
761
746
  [`${componentCls}-nav-add`]: Object.assign({
762
747
  minWidth: cardHeight,
763
- minHeight: cardHeight,
764
748
  marginLeft: {
765
749
  _skip_check_: true,
766
750
  value: cardGutter
767
751
  },
752
+ padding: index.unit(token.paddingXS),
768
753
  background: "transparent",
769
754
  border: `${index.unit(token.lineWidth)} ${token.lineType} ${colorBorderSecondary}`,
770
755
  borderRadius: `${index.unit(token.borderRadiusLG)} ${index.unit(token.borderRadiusLG)} 0 0`,
@@ -818,28 +803,15 @@ const genTabsStyle = (token) => {
818
803
  };
819
804
  };
820
805
  const prepareComponentToken = (token) => {
821
- const {
822
- cardHeight,
823
- cardHeightSM,
824
- cardHeightLG,
825
- controlHeight,
826
- controlHeightLG
827
- } = token;
828
- const mergedCardHeight = cardHeight || controlHeightLG;
829
- const mergedCardHeightSM = cardHeightSM || controlHeight;
830
- const mergedCardHeightLG = cardHeightLG || controlHeightLG + 8;
806
+ const cardHeight = token.controlHeightLG;
831
807
  return {
832
808
  zIndexPopup: token.zIndexPopupBase + 50,
833
809
  cardBg: token.colorFillAlter,
834
- // We can not pass this as valid value,
835
- // Since `cardHeight` will lock nav add button height.
836
- cardHeight: mergedCardHeight,
837
- cardHeightSM: mergedCardHeightSM,
838
- cardHeightLG: mergedCardHeightLG,
810
+ cardHeight,
839
811
  // Initialize with empty string, because cardPadding will be calculated with cardHeight by default.
840
- cardPadding: `${(mergedCardHeight - token.fontHeight) / 2 - token.lineWidth}px ${token.padding}px`,
841
- cardPaddingSM: `${(mergedCardHeightSM - token.fontHeight) / 2 - token.lineWidth}px ${token.paddingXS}px`,
842
- cardPaddingLG: `${(mergedCardHeightLG - token.fontHeightLG) / 2 - token.lineWidth}px ${token.padding}px`,
812
+ cardPadding: `${(cardHeight - Math.round(token.fontSize * token.lineHeight)) / 2 - token.lineWidth}px ${token.padding}px`,
813
+ cardPaddingSM: `${token.paddingXXS * 1.5}px ${token.padding}px`,
814
+ cardPaddingLG: `${token.paddingXS}px ${token.padding}px ${token.paddingXXS * 1.5}px`,
843
815
  titleFontSize: token.fontSize,
844
816
  titleFontSizeLG: token.fontSizeLG,
845
817
  titleFontSizeSM: token.fontSize,
@@ -40,12 +40,12 @@ const genCardStyle = (token) => {
40
40
  color: itemSelectedColor,
41
41
  background: token.colorBgContainer
42
42
  },
43
- [`${componentCls}-tab-focus:has(${componentCls}-tab-btn:focus-visible)`]: genFocusOutline(token, -3),
44
- [`& ${componentCls}-tab${componentCls}-tab-focus ${componentCls}-tab-btn:focus-visible`]: {
45
- outline: "none"
46
- },
43
+ [`${componentCls}-tab-focus`]: Object.assign({}, genFocusOutline(token, -3)),
47
44
  [`${componentCls}-ink-bar`]: {
48
45
  visibility: "hidden"
46
+ },
47
+ [`& ${componentCls}-tab${componentCls}-tab-focus ${componentCls}-tab-btn`]: {
48
+ outline: "none"
49
49
  }
50
50
  },
51
51
  // ========================== Top & Bottom ==========================
@@ -179,7 +179,7 @@ const genDropdownStyle = (token) => {
179
179
  _skip_check_: true,
180
180
  value: token.marginSM
181
181
  },
182
- color: token.colorIcon,
182
+ color: token.colorTextDescription,
183
183
  fontSize: token.fontSizeSM,
184
184
  background: "transparent",
185
185
  border: 0,
@@ -412,13 +412,10 @@ const genSizeStyle = (token) => {
412
412
  componentCls,
413
413
  cardPaddingSM,
414
414
  cardPaddingLG,
415
- cardHeightSM,
416
- cardHeightLG,
417
415
  horizontalItemPaddingSM,
418
416
  horizontalItemPaddingLG
419
417
  } = token;
420
418
  return {
421
- // >>>>> shared
422
419
  [componentCls]: {
423
420
  "&-small": {
424
421
  [`> ${componentCls}-nav`]: {
@@ -432,23 +429,16 @@ const genSizeStyle = (token) => {
432
429
  [`> ${componentCls}-nav`]: {
433
430
  [`${componentCls}-tab`]: {
434
431
  padding: horizontalItemPaddingLG,
435
- fontSize: token.titleFontSizeLG,
436
- lineHeight: token.lineHeightLG
432
+ fontSize: token.titleFontSizeLG
437
433
  }
438
434
  }
439
435
  }
440
436
  },
441
- // >>>>> card
442
437
  [`${componentCls}-card`]: {
443
- // Small
444
438
  [`&${componentCls}-small`]: {
445
439
  [`> ${componentCls}-nav`]: {
446
440
  [`${componentCls}-tab`]: {
447
441
  padding: cardPaddingSM
448
- },
449
- [`${componentCls}-nav-add`]: {
450
- minWidth: cardHeightSM,
451
- minHeight: cardHeightSM
452
442
  }
453
443
  },
454
444
  [`&${componentCls}-bottom`]: {
@@ -478,15 +468,10 @@ const genSizeStyle = (token) => {
478
468
  }
479
469
  }
480
470
  },
481
- // Large
482
471
  [`&${componentCls}-large`]: {
483
472
  [`> ${componentCls}-nav`]: {
484
473
  [`${componentCls}-tab`]: {
485
474
  padding: cardPaddingLG
486
- },
487
- [`${componentCls}-nav-add`]: {
488
- minWidth: cardHeightLG,
489
- minHeight: cardHeightLG
490
475
  }
491
476
  }
492
477
  }
@@ -541,7 +526,7 @@ const genTabStyle = (token) => {
541
526
  _skip_check_: true,
542
527
  value: token.marginXS
543
528
  },
544
- color: token.colorIcon,
529
+ color: token.colorTextDescription,
545
530
  fontSize: token.fontSizeSM,
546
531
  background: "transparent",
547
532
  border: "none",
@@ -559,7 +544,7 @@ const genTabStyle = (token) => {
559
544
  color: itemSelectedColor,
560
545
  textShadow: token.tabsActiveTextShadow
561
546
  },
562
- [`&${tabCls}-focus ${tabCls}-btn:focus-visible`]: genFocusOutline(token),
547
+ [`&${tabCls}-focus ${tabCls}-btn`]: Object.assign({}, genFocusOutline(token)),
563
548
  [`&${tabCls}-disabled`]: {
564
549
  color: token.colorTextDisabled,
565
550
  cursor: "not-allowed"
@@ -758,11 +743,11 @@ const genTabsStyle = (token) => {
758
743
  },
759
744
  [`${componentCls}-nav-add`]: Object.assign({
760
745
  minWidth: cardHeight,
761
- minHeight: cardHeight,
762
746
  marginLeft: {
763
747
  _skip_check_: true,
764
748
  value: cardGutter
765
749
  },
750
+ padding: unit(token.paddingXS),
766
751
  background: "transparent",
767
752
  border: `${unit(token.lineWidth)} ${token.lineType} ${colorBorderSecondary}`,
768
753
  borderRadius: `${unit(token.borderRadiusLG)} ${unit(token.borderRadiusLG)} 0 0`,
@@ -816,28 +801,15 @@ const genTabsStyle = (token) => {
816
801
  };
817
802
  };
818
803
  const prepareComponentToken = (token) => {
819
- const {
820
- cardHeight,
821
- cardHeightSM,
822
- cardHeightLG,
823
- controlHeight,
824
- controlHeightLG
825
- } = token;
826
- const mergedCardHeight = cardHeight || controlHeightLG;
827
- const mergedCardHeightSM = cardHeightSM || controlHeight;
828
- const mergedCardHeightLG = cardHeightLG || controlHeightLG + 8;
804
+ const cardHeight = token.controlHeightLG;
829
805
  return {
830
806
  zIndexPopup: token.zIndexPopupBase + 50,
831
807
  cardBg: token.colorFillAlter,
832
- // We can not pass this as valid value,
833
- // Since `cardHeight` will lock nav add button height.
834
- cardHeight: mergedCardHeight,
835
- cardHeightSM: mergedCardHeightSM,
836
- cardHeightLG: mergedCardHeightLG,
808
+ cardHeight,
837
809
  // Initialize with empty string, because cardPadding will be calculated with cardHeight by default.
838
- cardPadding: `${(mergedCardHeight - token.fontHeight) / 2 - token.lineWidth}px ${token.padding}px`,
839
- cardPaddingSM: `${(mergedCardHeightSM - token.fontHeight) / 2 - token.lineWidth}px ${token.paddingXS}px`,
840
- cardPaddingLG: `${(mergedCardHeightLG - token.fontHeightLG) / 2 - token.lineWidth}px ${token.padding}px`,
810
+ cardPadding: `${(cardHeight - Math.round(token.fontSize * token.lineHeight)) / 2 - token.lineWidth}px ${token.padding}px`,
811
+ cardPaddingSM: `${token.paddingXXS * 1.5}px ${token.padding}px`,
812
+ cardPaddingLG: `${token.paddingXS}px ${token.padding}px ${token.paddingXXS * 1.5}px`,
841
813
  titleFontSize: token.fontSize,
842
814
  titleFontSizeLG: token.fontSizeLG,
843
815
  titleFontSizeSM: token.fontSize,
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  var FastColor = require("../../../../../@ant-design/fast-color/es/FastColor.cjs");
3
- function genColorMapToken(seed, {
4
- generateColorPalettes,
5
- generateNeutralColorPalettes
6
- }) {
3
+ function genColorMapToken(seed, _ref) {
4
+ let {
5
+ generateColorPalettes,
6
+ generateNeutralColorPalettes
7
+ } = _ref;
7
8
  const {
8
9
  colorSuccess: colorSuccessBase,
9
10
  colorWarning: colorWarningBase,
@@ -1,8 +1,9 @@
1
1
  import { FastColor } from "../../../../../@ant-design/fast-color/es/FastColor.js";
2
- function genColorMapToken(seed, {
3
- generateColorPalettes,
4
- generateNeutralColorPalettes
5
- }) {
2
+ function genColorMapToken(seed, _ref) {
3
+ let {
4
+ generateColorPalettes,
5
+ generateNeutralColorPalettes
6
+ } = _ref;
6
7
  const {
7
8
  colorSuccess: colorSuccessBase,
8
9
  colorWarning: colorWarningBase,
@@ -40,6 +40,17 @@ const unitless = {
40
40
  opacityImage: true
41
41
  };
42
42
  const ignore = {
43
+ size: true,
44
+ sizeSM: true,
45
+ sizeLG: true,
46
+ sizeMD: true,
47
+ sizeXS: true,
48
+ sizeXXS: true,
49
+ sizeMS: true,
50
+ sizeXL: true,
51
+ sizeXXL: true,
52
+ sizeUnit: true,
53
+ sizeStep: true,
43
54
  motionBase: true,
44
55
  motionUnit: true
45
56
  };
@@ -72,7 +83,8 @@ const getComputedToken = (originToken, overrideToken, theme2) => {
72
83
  });
73
84
  mergedDerivativeToken = alias(mergedDerivativeToken);
74
85
  if (components) {
75
- Object.entries(components).forEach(([key, value]) => {
86
+ Object.entries(components).forEach((_ref) => {
87
+ let [key, value] = _ref;
76
88
  const {
77
89
  theme: componentTheme
78
90
  } = value, componentTokens = __rest(value, ["theme"]);