@gobolt/genesis 0.3.9 → 0.3.11

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 (479) hide show
  1. package/dist/bundle.css +41 -41
  2. package/dist/components/Breadcrumb/Breadcrumb.types.d.ts +2 -0
  3. package/dist/components/Select/SelectTrigger.cjs +1 -2
  4. package/dist/components/Select/SelectTrigger.js +1 -2
  5. package/dist/components/Table/TableControls/PaginationNumber.cjs +1 -3
  6. package/dist/components/Table/TableControls/PaginationNumber.js +1 -3
  7. package/dist/components/Table/TableControls/PrimaryTableControlsRow.cjs +2 -2
  8. package/dist/components/Table/TableControls/PrimaryTableControlsRow.js +2 -2
  9. package/dist/components/Table/TableWithControls/TableWithControls.cjs +2 -2
  10. package/dist/components/Table/TableWithControls/TableWithControls.d.ts +1 -1
  11. package/dist/components/Table/TableWithControls/TableWithControls.js +2 -2
  12. package/dist/components/Tabs/styles.d.ts +3 -1
  13. package/dist/components/index.d.ts +1 -1
  14. package/dist/node_modules/@ant-design/cssinjs/es/Cache.cjs +3 -2
  15. package/dist/node_modules/@ant-design/cssinjs/es/Cache.js +3 -2
  16. package/dist/node_modules/@ant-design/cssinjs/es/Keyframes.cjs +2 -2
  17. package/dist/node_modules/@ant-design/cssinjs/es/Keyframes.js +2 -2
  18. package/dist/node_modules/@ant-design/cssinjs/es/extractStyle.cjs +1 -2
  19. package/dist/node_modules/@ant-design/cssinjs/es/extractStyle.js +4 -5
  20. package/dist/node_modules/@ant-design/cssinjs/es/hooks/useCSSVarRegister.cjs +2 -1
  21. package/dist/node_modules/@ant-design/cssinjs/es/hooks/useCSSVarRegister.js +2 -1
  22. package/dist/node_modules/@ant-design/cssinjs/es/hooks/useCacheToken.cjs +4 -5
  23. package/dist/node_modules/@ant-design/cssinjs/es/hooks/useCacheToken.js +4 -5
  24. package/dist/node_modules/@ant-design/cssinjs/es/hooks/useStyleRegister.cjs +3 -3
  25. package/dist/node_modules/@ant-design/cssinjs/es/hooks/useStyleRegister.js +3 -3
  26. package/dist/node_modules/@ant-design/cssinjs/es/theme/Theme.cjs +2 -2
  27. package/dist/node_modules/@ant-design/cssinjs/es/theme/Theme.js +2 -2
  28. package/dist/node_modules/@ant-design/cssinjs/es/theme/ThemeCache.cjs +2 -2
  29. package/dist/node_modules/@ant-design/cssinjs/es/theme/ThemeCache.js +2 -2
  30. package/dist/node_modules/@ant-design/cssinjs/es/util/index.cjs +1 -2
  31. package/dist/node_modules/@ant-design/cssinjs/es/util/index.js +2 -3
  32. package/dist/node_modules/@ant-design/cssinjs-utils/es/_util/hooks/useUniqueMemo.cjs +2 -2
  33. package/dist/node_modules/@ant-design/cssinjs-utils/es/_util/hooks/useUniqueMemo.js +2 -2
  34. package/dist/node_modules/@ant-design/cssinjs-utils/es/util/calc/CSSCalculator.cjs +2 -2
  35. package/dist/node_modules/@ant-design/cssinjs-utils/es/util/calc/CSSCalculator.js +2 -2
  36. package/dist/node_modules/@ant-design/cssinjs-utils/es/util/calc/NumCalculator.cjs +2 -2
  37. package/dist/node_modules/@ant-design/cssinjs-utils/es/util/calc/NumCalculator.js +2 -2
  38. package/dist/node_modules/@babel/runtime/helpers/esm/OverloadYield.cjs +5 -0
  39. package/dist/node_modules/@babel/runtime/helpers/esm/OverloadYield.js +6 -0
  40. package/dist/node_modules/@babel/runtime/helpers/esm/regenerator.cjs +78 -0
  41. package/dist/node_modules/@babel/runtime/helpers/esm/regenerator.js +79 -0
  42. package/dist/node_modules/@babel/runtime/helpers/esm/regeneratorAsync.cjs +9 -0
  43. package/dist/node_modules/@babel/runtime/helpers/esm/regeneratorAsync.js +10 -0
  44. package/dist/node_modules/@babel/runtime/helpers/esm/regeneratorAsyncGen.cjs +7 -0
  45. package/dist/node_modules/@babel/runtime/helpers/esm/regeneratorAsyncGen.js +8 -0
  46. package/dist/node_modules/@babel/runtime/helpers/esm/regeneratorAsyncIterator.cjs +33 -0
  47. package/dist/node_modules/@babel/runtime/helpers/esm/regeneratorAsyncIterator.js +34 -0
  48. package/dist/node_modules/@babel/runtime/helpers/esm/regeneratorDefine.cjs +23 -0
  49. package/dist/node_modules/@babel/runtime/helpers/esm/regeneratorDefine.js +24 -0
  50. package/dist/node_modules/@babel/runtime/helpers/esm/regeneratorKeys.cjs +10 -0
  51. package/dist/node_modules/@babel/runtime/helpers/esm/regeneratorKeys.js +11 -0
  52. package/dist/node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.cjs +62 -275
  53. package/dist/node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js +62 -275
  54. package/dist/node_modules/@babel/runtime/helpers/esm/regeneratorValues.cjs +19 -0
  55. package/dist/node_modules/@babel/runtime/helpers/esm/regeneratorValues.js +20 -0
  56. package/dist/node_modules/@rc-component/async-validator/es/index.cjs +2 -2
  57. package/dist/node_modules/@rc-component/async-validator/es/index.js +2 -2
  58. package/dist/node_modules/@rc-component/async-validator/es/rule/url.cjs +2 -2
  59. package/dist/node_modules/@rc-component/async-validator/es/rule/url.js +2 -2
  60. package/dist/node_modules/@rc-component/async-validator/es/util.cjs +2 -2
  61. package/dist/node_modules/@rc-component/async-validator/es/util.js +2 -2
  62. package/dist/node_modules/@rc-component/color-picker/es/color.cjs +2 -2
  63. package/dist/node_modules/@rc-component/color-picker/es/color.js +2 -2
  64. package/dist/node_modules/@rc-component/trigger/es/hooks/useAlign.cjs +2 -1
  65. package/dist/node_modules/@rc-component/trigger/es/hooks/useAlign.js +2 -1
  66. package/dist/node_modules/@rc-component/trigger/es/index.cjs +3 -1
  67. package/dist/node_modules/@rc-component/trigger/es/index.js +3 -1
  68. package/dist/node_modules/antd/es/_util/ActionButton.cjs +4 -4
  69. package/dist/node_modules/antd/es/_util/ActionButton.js +4 -4
  70. package/dist/node_modules/antd/es/_util/colors.cjs +1 -2
  71. package/dist/node_modules/antd/es/_util/colors.js +1 -2
  72. package/dist/node_modules/antd/es/_util/convertToTooltipProps.cjs +14 -0
  73. package/dist/node_modules/antd/es/_util/convertToTooltipProps.js +15 -0
  74. package/dist/node_modules/antd/es/_util/extendsObject.cjs +11 -13
  75. package/dist/node_modules/antd/es/_util/extendsObject.js +11 -13
  76. package/dist/node_modules/antd/es/_util/hooks/useMergeSemantic/index.cjs +80 -0
  77. package/dist/node_modules/antd/es/_util/hooks/useMergeSemantic/index.js +61 -0
  78. package/dist/node_modules/antd/es/_util/mediaQueryUtil.cjs +17 -0
  79. package/dist/node_modules/antd/es/_util/mediaQueryUtil.js +18 -0
  80. package/dist/node_modules/antd/es/_util/motion.cjs +13 -16
  81. package/dist/node_modules/antd/es/_util/motion.js +13 -16
  82. package/dist/node_modules/antd/es/_util/placements.cjs +4 -4
  83. package/dist/node_modules/antd/es/_util/placements.js +4 -4
  84. package/dist/node_modules/antd/es/_util/responsiveObserver.cjs +18 -20
  85. package/dist/node_modules/antd/es/_util/responsiveObserver.js +18 -20
  86. package/dist/node_modules/antd/es/_util/scrollTo.cjs +1 -2
  87. package/dist/node_modules/antd/es/_util/scrollTo.js +1 -2
  88. package/dist/node_modules/antd/es/_util/toList.cjs +5 -4
  89. package/dist/node_modules/antd/es/_util/toList.js +5 -4
  90. package/dist/node_modules/antd/es/_util/warning.cjs +8 -6
  91. package/dist/node_modules/antd/es/_util/warning.js +3 -2
  92. package/dist/node_modules/antd/es/_util/wave/WaveEffect.cjs +10 -13
  93. package/dist/node_modules/antd/es/_util/wave/WaveEffect.js +11 -14
  94. package/dist/node_modules/antd/es/_util/wave/style.cjs +1 -1
  95. package/dist/node_modules/antd/es/_util/wave/style.js +1 -1
  96. package/dist/node_modules/antd/es/_util/wave/util.cjs +1 -1
  97. package/dist/node_modules/antd/es/_util/wave/util.js +1 -1
  98. package/dist/node_modules/antd/es/avatar/Avatar.cjs +22 -28
  99. package/dist/node_modules/antd/es/avatar/Avatar.js +22 -28
  100. package/dist/node_modules/antd/es/avatar/AvatarGroup.cjs +2 -3
  101. package/dist/node_modules/antd/es/avatar/AvatarGroup.js +2 -3
  102. package/dist/node_modules/antd/es/avatar/style/index.cjs +14 -7
  103. package/dist/node_modules/antd/es/avatar/style/index.js +14 -7
  104. package/dist/node_modules/antd/es/breadcrumb/BreadcrumbSeparator.cjs +3 -4
  105. package/dist/node_modules/antd/es/breadcrumb/BreadcrumbSeparator.js +3 -4
  106. package/dist/node_modules/antd/es/button/DefaultLoadingIcon.cjs +4 -5
  107. package/dist/node_modules/antd/es/button/DefaultLoadingIcon.js +4 -5
  108. package/dist/node_modules/antd/es/button/button.cjs +20 -9
  109. package/dist/node_modules/antd/es/button/button.js +21 -10
  110. package/dist/node_modules/antd/es/button/style/index.cjs +15 -8
  111. package/dist/node_modules/antd/es/button/style/index.js +15 -8
  112. package/dist/node_modules/antd/es/button/style/token.cjs +1 -0
  113. package/dist/node_modules/antd/es/button/style/token.js +1 -0
  114. package/dist/node_modules/antd/es/card/Card.cjs +1 -2
  115. package/dist/node_modules/antd/es/card/Card.js +1 -2
  116. package/dist/node_modules/antd/es/card/style/index.cjs +1 -1
  117. package/dist/node_modules/antd/es/card/style/index.js +1 -1
  118. package/dist/node_modules/antd/es/checkbox/Checkbox.cjs +3 -3
  119. package/dist/node_modules/antd/es/checkbox/Checkbox.js +3 -3
  120. package/dist/node_modules/antd/es/checkbox/Group.cjs +4 -4
  121. package/dist/node_modules/antd/es/checkbox/Group.js +4 -4
  122. package/dist/node_modules/antd/es/checkbox/style/index.cjs +26 -27
  123. package/dist/node_modules/antd/es/checkbox/style/index.js +26 -27
  124. package/dist/node_modules/antd/es/color-picker/color.cjs +9 -12
  125. package/dist/node_modules/antd/es/color-picker/color.js +9 -12
  126. package/dist/node_modules/antd/es/color-picker/util.cjs +12 -0
  127. package/dist/node_modules/antd/es/color-picker/util.js +13 -0
  128. package/dist/node_modules/antd/es/config-provider/DisabledContext.cjs +4 -5
  129. package/dist/node_modules/antd/es/config-provider/DisabledContext.js +4 -5
  130. package/dist/node_modules/antd/es/config-provider/MotionWrapper.cjs +10 -3
  131. package/dist/node_modules/antd/es/config-provider/MotionWrapper.js +10 -3
  132. package/dist/node_modules/antd/es/config-provider/PropWarning.cjs +3 -4
  133. package/dist/node_modules/antd/es/config-provider/PropWarning.js +3 -4
  134. package/dist/node_modules/antd/es/config-provider/SizeContext.cjs +4 -5
  135. package/dist/node_modules/antd/es/config-provider/SizeContext.js +4 -5
  136. package/dist/node_modules/antd/es/config-provider/UnstableContext.cjs +2 -2
  137. package/dist/node_modules/antd/es/config-provider/UnstableContext.js +2 -2
  138. package/dist/node_modules/antd/es/config-provider/hooks/useSize.cjs +1 -1
  139. package/dist/node_modules/antd/es/config-provider/hooks/useSize.js +1 -1
  140. package/dist/node_modules/antd/es/config-provider/index.cjs +3 -2
  141. package/dist/node_modules/antd/es/config-provider/index.js +3 -2
  142. package/dist/node_modules/antd/es/date-picker/generatePicker/generateRangePicker.cjs +23 -9
  143. package/dist/node_modules/antd/es/date-picker/generatePicker/generateRangePicker.js +23 -9
  144. package/dist/node_modules/antd/es/date-picker/generatePicker/generateSinglePicker.cjs +22 -10
  145. package/dist/node_modules/antd/es/date-picker/generatePicker/generateSinglePicker.js +22 -10
  146. package/dist/node_modules/antd/es/date-picker/hooks/useMergedPickerSemantic.cjs +50 -0
  147. package/dist/node_modules/antd/es/date-picker/hooks/useMergedPickerSemantic.js +32 -0
  148. package/dist/node_modules/antd/es/date-picker/style/index.cjs +18 -16
  149. package/dist/node_modules/antd/es/date-picker/style/index.js +18 -16
  150. package/dist/node_modules/antd/es/date-picker/style/panel.cjs +30 -40
  151. package/dist/node_modules/antd/es/date-picker/style/panel.js +30 -40
  152. package/dist/node_modules/antd/es/dropdown/dropdown-button.cjs +10 -4
  153. package/dist/node_modules/antd/es/dropdown/dropdown-button.js +10 -4
  154. package/dist/node_modules/antd/es/dropdown/dropdown.cjs +25 -23
  155. package/dist/node_modules/antd/es/dropdown/dropdown.js +25 -23
  156. package/dist/node_modules/antd/es/dropdown/style/index.cjs +1 -1
  157. package/dist/node_modules/antd/es/dropdown/style/index.js +1 -1
  158. package/dist/node_modules/antd/es/empty/index.cjs +11 -9
  159. package/dist/node_modules/antd/es/empty/index.js +11 -9
  160. package/dist/node_modules/antd/es/empty/style/index.cjs +1 -1
  161. package/dist/node_modules/antd/es/empty/style/index.js +1 -1
  162. package/dist/node_modules/antd/es/form/ErrorList.cjs +13 -16
  163. package/dist/node_modules/antd/es/form/ErrorList.js +13 -16
  164. package/dist/node_modules/antd/es/form/Form.cjs +4 -3
  165. package/dist/node_modules/antd/es/form/Form.js +2 -1
  166. package/dist/node_modules/antd/es/form/FormItem/ItemHolder.cjs +9 -7
  167. package/dist/node_modules/antd/es/form/FormItem/ItemHolder.js +9 -7
  168. package/dist/node_modules/antd/es/form/FormItem/StatusProvider.cjs +16 -13
  169. package/dist/node_modules/antd/es/form/FormItem/StatusProvider.js +16 -13
  170. package/dist/node_modules/antd/es/form/FormItem/index.cjs +8 -12
  171. package/dist/node_modules/antd/es/form/FormItem/index.js +8 -12
  172. package/dist/node_modules/antd/es/form/FormItemLabel.cjs +22 -26
  173. package/dist/node_modules/antd/es/form/FormItemLabel.js +22 -26
  174. package/dist/node_modules/antd/es/form/context.cjs +6 -7
  175. package/dist/node_modules/antd/es/form/context.js +6 -7
  176. package/dist/node_modules/antd/es/form/hooks/useForm.cjs +4 -3
  177. package/dist/node_modules/antd/es/form/hooks/useForm.js +3 -3
  178. package/dist/node_modules/antd/es/form/hooks/useFormWarning.cjs +3 -4
  179. package/dist/node_modules/antd/es/form/hooks/useFormWarning.js +3 -4
  180. package/dist/node_modules/antd/es/form/hooks/useVariants.cjs +1 -2
  181. package/dist/node_modules/antd/es/form/hooks/useVariants.js +1 -2
  182. package/dist/node_modules/antd/es/form/index.cjs +1 -1
  183. package/dist/node_modules/antd/es/form/style/fallbackCmp.cjs +4 -5
  184. package/dist/node_modules/antd/es/form/style/fallbackCmp.js +4 -5
  185. package/dist/node_modules/antd/es/form/style/index.cjs +62 -92
  186. package/dist/node_modules/antd/es/form/style/index.js +62 -92
  187. package/dist/node_modules/antd/es/grid/hooks/useBreakpoint.cjs +1 -3
  188. package/dist/node_modules/antd/es/grid/hooks/useBreakpoint.js +1 -3
  189. package/dist/node_modules/antd/es/input/Input.cjs +3 -3
  190. package/dist/node_modules/antd/es/input/Input.js +3 -3
  191. package/dist/node_modules/antd/es/input/OTP/OTPInput.cjs +31 -13
  192. package/dist/node_modules/antd/es/input/OTP/OTPInput.js +26 -8
  193. package/dist/node_modules/antd/es/input/OTP/index.cjs +2 -1
  194. package/dist/node_modules/antd/es/input/OTP/index.js +2 -1
  195. package/dist/node_modules/antd/es/input/Password.cjs +3 -2
  196. package/dist/node_modules/antd/es/input/Password.js +3 -2
  197. package/dist/node_modules/antd/es/input/Search.cjs +18 -14
  198. package/dist/node_modules/antd/es/input/Search.js +18 -14
  199. package/dist/node_modules/antd/es/input/TextArea.cjs +42 -6
  200. package/dist/node_modules/antd/es/input/TextArea.js +42 -6
  201. package/dist/node_modules/antd/es/input/style/index.cjs +7 -20
  202. package/dist/node_modules/antd/es/input/style/index.js +7 -20
  203. package/dist/node_modules/antd/es/input/style/otp.cjs +23 -1
  204. package/dist/node_modules/antd/es/input/style/otp.js +23 -1
  205. package/dist/node_modules/antd/es/input/style/textarea.cjs +27 -5
  206. package/dist/node_modules/antd/es/input/style/textarea.js +27 -5
  207. package/dist/node_modules/antd/es/input/style/variants.cjs +25 -29
  208. package/dist/node_modules/antd/es/input/style/variants.js +25 -29
  209. package/dist/node_modules/antd/es/layout/Sider.cjs +9 -21
  210. package/dist/node_modules/antd/es/layout/Sider.js +9 -21
  211. package/dist/node_modules/antd/es/layout/style/index.cjs +1 -1
  212. package/dist/node_modules/antd/es/layout/style/index.js +1 -1
  213. package/dist/node_modules/antd/es/layout/style/sider.cjs +1 -1
  214. package/dist/node_modules/antd/es/layout/style/sider.js +1 -1
  215. package/dist/node_modules/antd/es/locale/en_US.cjs +2 -1
  216. package/dist/node_modules/antd/es/locale/en_US.js +2 -1
  217. package/dist/node_modules/antd/es/menu/MenuItem.cjs +1 -1
  218. package/dist/node_modules/antd/es/menu/MenuItem.js +1 -1
  219. package/dist/node_modules/antd/es/menu/SubMenu.cjs +1 -1
  220. package/dist/node_modules/antd/es/menu/SubMenu.js +1 -1
  221. package/dist/node_modules/antd/es/menu/menu.cjs +2 -2
  222. package/dist/node_modules/antd/es/menu/menu.js +2 -2
  223. package/dist/node_modules/antd/es/menu/style/index.cjs +1 -3
  224. package/dist/node_modules/antd/es/menu/style/index.js +1 -3
  225. package/dist/node_modules/antd/es/menu/style/rtl.cjs +21 -24
  226. package/dist/node_modules/antd/es/menu/style/rtl.js +21 -24
  227. package/dist/node_modules/antd/es/menu/style/theme.cjs +1 -1
  228. package/dist/node_modules/antd/es/menu/style/theme.js +1 -1
  229. package/dist/node_modules/antd/es/pagination/style/bordered.cjs +1 -1
  230. package/dist/node_modules/antd/es/pagination/style/bordered.js +1 -1
  231. package/dist/node_modules/antd/es/pagination/style/index.cjs +2 -11
  232. package/dist/node_modules/antd/es/pagination/style/index.js +2 -11
  233. package/dist/node_modules/antd/es/popover/PurePanel.cjs +5 -6
  234. package/dist/node_modules/antd/es/popover/PurePanel.js +5 -6
  235. package/dist/node_modules/antd/es/popover/index.cjs +2 -2
  236. package/dist/node_modules/antd/es/popover/index.js +3 -2
  237. package/dist/node_modules/antd/es/progress/Line.cjs +4 -7
  238. package/dist/node_modules/antd/es/progress/Line.js +4 -7
  239. package/dist/node_modules/antd/es/progress/utils.cjs +13 -16
  240. package/dist/node_modules/antd/es/progress/utils.js +13 -16
  241. package/dist/node_modules/antd/es/radio/group.cjs +10 -4
  242. package/dist/node_modules/antd/es/radio/group.js +8 -2
  243. package/dist/node_modules/antd/es/radio/style/index.cjs +2 -2
  244. package/dist/node_modules/antd/es/radio/style/index.js +2 -2
  245. package/dist/node_modules/antd/es/result/index.cjs +21 -24
  246. package/dist/node_modules/antd/es/result/index.js +21 -24
  247. package/dist/node_modules/antd/es/result/noFound.cjs +117 -139
  248. package/dist/node_modules/antd/es/result/noFound.js +117 -139
  249. package/dist/node_modules/antd/es/result/serverError.cjs +131 -154
  250. package/dist/node_modules/antd/es/result/serverError.js +131 -154
  251. package/dist/node_modules/antd/es/result/unauthorized.cjs +113 -125
  252. package/dist/node_modules/antd/es/result/unauthorized.js +113 -125
  253. package/dist/node_modules/antd/es/segmented/style/index.cjs +2 -2
  254. package/dist/node_modules/antd/es/segmented/style/index.js +2 -2
  255. package/dist/node_modules/antd/es/select/index.cjs +42 -15
  256. package/dist/node_modules/antd/es/select/index.js +42 -15
  257. package/dist/node_modules/antd/es/select/style/index.cjs +17 -11
  258. package/dist/node_modules/antd/es/select/style/index.js +17 -11
  259. package/dist/node_modules/antd/es/select/style/multiple.cjs +2 -1
  260. package/dist/node_modules/antd/es/select/style/multiple.js +2 -1
  261. package/dist/node_modules/antd/es/select/useIcons.cjs +18 -20
  262. package/dist/node_modules/antd/es/select/useIcons.js +18 -20
  263. package/dist/node_modules/antd/es/select/usePopupRender.cjs +14 -0
  264. package/dist/node_modules/antd/es/select/usePopupRender.js +15 -0
  265. package/dist/node_modules/antd/es/skeleton/Title.cjs +14 -17
  266. package/dist/node_modules/antd/es/skeleton/Title.js +14 -17
  267. package/dist/node_modules/antd/es/skeleton/style/index.cjs +1 -1
  268. package/dist/node_modules/antd/es/skeleton/style/index.js +1 -1
  269. package/dist/node_modules/antd/es/space/Item.cjs +7 -8
  270. package/dist/node_modules/antd/es/space/Item.js +7 -8
  271. package/dist/node_modules/antd/es/spin/Indicator/Progress.cjs +4 -6
  272. package/dist/node_modules/antd/es/spin/Indicator/Progress.js +4 -6
  273. package/dist/node_modules/antd/es/spin/Indicator/index.cjs +2 -1
  274. package/dist/node_modules/antd/es/spin/Indicator/index.js +2 -1
  275. package/dist/node_modules/antd/es/spin/style/index.cjs +1 -1
  276. package/dist/node_modules/antd/es/spin/style/index.js +1 -1
  277. package/dist/node_modules/antd/es/style/compact-item-vertical.cjs +6 -3
  278. package/dist/node_modules/antd/es/style/compact-item-vertical.js +6 -3
  279. package/dist/node_modules/antd/es/style/compact-item.cjs +10 -8
  280. package/dist/node_modules/antd/es/style/compact-item.js +10 -8
  281. package/dist/node_modules/antd/es/style/index.cjs +13 -16
  282. package/dist/node_modules/antd/es/style/index.js +13 -16
  283. package/dist/node_modules/antd/es/style/motion/motion.cjs +1 -2
  284. package/dist/node_modules/antd/es/style/motion/motion.js +1 -2
  285. package/dist/node_modules/antd/es/switch/index.cjs +3 -3
  286. package/dist/node_modules/antd/es/switch/index.js +3 -3
  287. package/dist/node_modules/antd/es/table/InternalTable.cjs +1 -2
  288. package/dist/node_modules/antd/es/table/InternalTable.js +1 -2
  289. package/dist/node_modules/antd/es/table/hooks/useFilter/FilterDropdown.cjs +51 -64
  290. package/dist/node_modules/antd/es/table/hooks/useFilter/FilterDropdown.js +53 -66
  291. package/dist/node_modules/antd/es/table/hooks/useFilter/index.cjs +20 -30
  292. package/dist/node_modules/antd/es/table/hooks/useFilter/index.js +20 -30
  293. package/dist/node_modules/antd/es/table/hooks/usePagination.js +2 -2
  294. package/dist/node_modules/antd/es/table/hooks/useSelection.cjs +29 -34
  295. package/dist/node_modules/antd/es/table/hooks/useSelection.js +29 -34
  296. package/dist/node_modules/antd/es/table/hooks/useSorter.cjs +26 -44
  297. package/dist/node_modules/antd/es/table/hooks/useSorter.js +26 -44
  298. package/dist/node_modules/antd/es/table/style/filter.cjs +2 -2
  299. package/dist/node_modules/antd/es/table/style/filter.js +2 -2
  300. package/dist/node_modules/antd/es/table/style/index.cjs +3 -1
  301. package/dist/node_modules/antd/es/table/style/index.js +3 -1
  302. package/dist/node_modules/antd/es/table/style/sticky.cjs +1 -1
  303. package/dist/node_modules/antd/es/table/style/sticky.js +1 -1
  304. package/dist/node_modules/antd/es/tabs/hooks/useAnimateConfig.cjs +4 -5
  305. package/dist/node_modules/antd/es/tabs/hooks/useAnimateConfig.js +4 -5
  306. package/dist/node_modules/antd/es/tabs/hooks/useLegacyItems.cjs +8 -1
  307. package/dist/node_modules/antd/es/tabs/hooks/useLegacyItems.js +8 -1
  308. package/dist/node_modules/antd/es/tabs/index.cjs +20 -10
  309. package/dist/node_modules/antd/es/tabs/index.js +20 -10
  310. package/dist/node_modules/antd/es/tabs/style/index.cjs +42 -14
  311. package/dist/node_modules/antd/es/tabs/style/index.js +42 -14
  312. package/dist/node_modules/antd/es/theme/themes/shared/genColorMapToken.cjs +4 -5
  313. package/dist/node_modules/antd/es/theme/themes/shared/genColorMapToken.js +4 -5
  314. package/dist/node_modules/antd/es/theme/useToken.cjs +1 -13
  315. package/dist/node_modules/antd/es/theme/useToken.js +1 -13
  316. package/dist/node_modules/antd/es/theme/util/useResetIconStyle.cjs +1 -1
  317. package/dist/node_modules/antd/es/theme/util/useResetIconStyle.js +1 -1
  318. package/dist/node_modules/antd/es/tooltip/index.cjs +6 -5
  319. package/dist/node_modules/antd/es/tooltip/index.js +6 -5
  320. package/dist/node_modules/antd/es/tooltip/style/index.cjs +13 -17
  321. package/dist/node_modules/antd/es/tooltip/style/index.js +13 -17
  322. package/dist/node_modules/antd/es/tooltip/util.cjs +5 -0
  323. package/dist/node_modules/antd/es/tooltip/util.js +5 -0
  324. package/dist/node_modules/antd/es/tree/DirectoryTree.cjs +4 -5
  325. package/dist/node_modules/antd/es/tree/DirectoryTree.js +4 -5
  326. package/dist/node_modules/antd/es/tree/style/directory.cjs +50 -48
  327. package/dist/node_modules/antd/es/tree/style/directory.js +50 -48
  328. package/dist/node_modules/antd/es/tree/style/index.cjs +12 -13
  329. package/dist/node_modules/antd/es/tree/style/index.js +12 -13
  330. package/dist/node_modules/antd/es/tree/utils/dictUtil.cjs +7 -8
  331. package/dist/node_modules/antd/es/tree/utils/dictUtil.js +7 -8
  332. package/dist/node_modules/antd/es/tree/utils/iconUtil.cjs +3 -2
  333. package/dist/node_modules/antd/es/tree/utils/iconUtil.js +3 -2
  334. package/dist/node_modules/antd/es/typography/Base/CopyBtn.cjs +13 -13
  335. package/dist/node_modules/antd/es/typography/Base/CopyBtn.js +13 -13
  336. package/dist/node_modules/antd/es/typography/Base/Ellipsis.cjs +4 -5
  337. package/dist/node_modules/antd/es/typography/Base/Ellipsis.js +4 -5
  338. package/dist/node_modules/antd/es/typography/Base/EllipsisTooltip.cjs +6 -7
  339. package/dist/node_modules/antd/es/typography/Base/EllipsisTooltip.js +6 -7
  340. package/dist/node_modules/antd/es/typography/Base/index.cjs +16 -16
  341. package/dist/node_modules/antd/es/typography/Base/index.js +16 -16
  342. package/dist/node_modules/antd/es/typography/Editable.cjs +13 -16
  343. package/dist/node_modules/antd/es/typography/Editable.js +13 -16
  344. package/dist/node_modules/antd/es/typography/hooks/useCopyClick.cjs +4 -5
  345. package/dist/node_modules/antd/es/typography/hooks/useCopyClick.js +4 -5
  346. package/dist/node_modules/antd/es/typography/style/index.cjs +6 -6
  347. package/dist/node_modules/antd/es/typography/style/index.js +6 -6
  348. package/dist/node_modules/antd/es/typography/style/mixins.cjs +2 -2
  349. package/dist/node_modules/antd/es/typography/style/mixins.js +2 -2
  350. package/dist/node_modules/antd/es/version/version.cjs +1 -1
  351. package/dist/node_modules/antd/es/version/version.js +1 -1
  352. package/dist/node_modules/d3-ease/src/elastic.cjs +2 -2
  353. package/dist/node_modules/d3-ease/src/elastic.js +2 -2
  354. package/dist/node_modules/d3-interpolate/src/rgb.cjs +2 -2
  355. package/dist/node_modules/d3-interpolate/src/rgb.js +2 -2
  356. package/dist/node_modules/d3-shape/src/curve/cardinal.cjs +2 -2
  357. package/dist/node_modules/d3-shape/src/curve/cardinal.js +2 -2
  358. package/dist/node_modules/dayjs/dayjs.min.cjs +13 -13
  359. package/dist/node_modules/dayjs/dayjs.min.js +13 -13
  360. package/dist/node_modules/dayjs/plugin/advancedFormat.cjs +5 -5
  361. package/dist/node_modules/dayjs/plugin/advancedFormat.js +5 -5
  362. package/dist/node_modules/dayjs/plugin/customParseFormat.cjs +15 -15
  363. package/dist/node_modules/dayjs/plugin/customParseFormat.js +15 -15
  364. package/dist/node_modules/dayjs/plugin/localeData.cjs +11 -11
  365. package/dist/node_modules/dayjs/plugin/localeData.js +11 -11
  366. package/dist/node_modules/dayjs/plugin/weekOfYear.cjs +3 -3
  367. package/dist/node_modules/dayjs/plugin/weekOfYear.js +3 -3
  368. package/dist/node_modules/dayjs/plugin/weekYear.cjs +3 -3
  369. package/dist/node_modules/dayjs/plugin/weekYear.js +3 -3
  370. package/dist/node_modules/dayjs/plugin/weekday.cjs +3 -3
  371. package/dist/node_modules/dayjs/plugin/weekday.js +3 -3
  372. package/dist/node_modules/engine.io-client/build/esm/transports/polling-xhr.cjs +2 -2
  373. package/dist/node_modules/engine.io-client/build/esm/transports/polling-xhr.js +2 -2
  374. package/dist/node_modules/rc-field-form/es/Field.cjs +2 -2
  375. package/dist/node_modules/rc-field-form/es/Field.js +2 -2
  376. package/dist/node_modules/rc-field-form/es/utils/NameMap.cjs +2 -2
  377. package/dist/node_modules/rc-field-form/es/utils/NameMap.js +2 -2
  378. package/dist/node_modules/rc-field-form/es/utils/validateUtil.cjs +2 -2
  379. package/dist/node_modules/rc-field-form/es/utils/validateUtil.js +2 -2
  380. package/dist/node_modules/rc-input/es/Input.cjs +2 -1
  381. package/dist/node_modules/rc-input/es/Input.js +2 -1
  382. package/dist/node_modules/rc-menu/es/MenuItem.cjs +2 -2
  383. package/dist/node_modules/rc-menu/es/MenuItem.js +2 -2
  384. package/dist/node_modules/rc-motion/es/CSSMotionList.cjs +2 -2
  385. package/dist/node_modules/rc-motion/es/CSSMotionList.js +2 -2
  386. package/dist/node_modules/rc-motion/es/DomWrapper.cjs +2 -2
  387. package/dist/node_modules/rc-motion/es/DomWrapper.js +2 -2
  388. package/dist/node_modules/rc-motion/es/hooks/useDomMotionEvents.cjs +2 -2
  389. package/dist/node_modules/rc-motion/es/hooks/useDomMotionEvents.js +2 -2
  390. package/dist/node_modules/rc-motion/es/hooks/useNextFrame.cjs +2 -2
  391. package/dist/node_modules/rc-motion/es/hooks/useNextFrame.js +2 -2
  392. package/dist/node_modules/rc-motion/es/hooks/useStepQueue.cjs +2 -2
  393. package/dist/node_modules/rc-motion/es/hooks/useStepQueue.js +2 -2
  394. package/dist/node_modules/rc-picker/es/PickerInput/Selector/MaskFormat.cjs +2 -2
  395. package/dist/node_modules/rc-picker/es/PickerInput/Selector/MaskFormat.js +2 -2
  396. package/dist/node_modules/rc-progress/es/hooks/useId.cjs +2 -2
  397. package/dist/node_modules/rc-progress/es/hooks/useId.js +2 -2
  398. package/dist/node_modules/rc-resize-observer/es/SingleObserver/DomWrapper.cjs +2 -2
  399. package/dist/node_modules/rc-resize-observer/es/SingleObserver/DomWrapper.js +2 -2
  400. package/dist/node_modules/rc-select/es/OptionList.cjs +1 -1
  401. package/dist/node_modules/rc-select/es/OptionList.js +1 -1
  402. package/dist/node_modules/rc-select/es/Selector/Input.cjs +8 -47
  403. package/dist/node_modules/rc-select/es/Selector/Input.js +8 -47
  404. package/dist/node_modules/rc-select/es/hooks/useCache.cjs +2 -2
  405. package/dist/node_modules/rc-select/es/hooks/useCache.js +2 -2
  406. package/dist/node_modules/rc-select/es/hooks/useFilterOptions.cjs +2 -2
  407. package/dist/node_modules/rc-select/es/hooks/useFilterOptions.js +2 -2
  408. package/dist/node_modules/rc-table/es/Body/BodyRow.cjs +22 -8
  409. package/dist/node_modules/rc-table/es/Body/BodyRow.js +22 -8
  410. package/dist/node_modules/rc-table/es/Body/ExpandedRow.cjs +3 -3
  411. package/dist/node_modules/rc-table/es/Body/ExpandedRow.js +3 -3
  412. package/dist/node_modules/rc-table/es/Body/MeasureCell.cjs +2 -1
  413. package/dist/node_modules/rc-table/es/Body/MeasureCell.js +2 -1
  414. package/dist/node_modules/rc-table/es/Body/MeasureRow.cjs +10 -5
  415. package/dist/node_modules/rc-table/es/Body/MeasureRow.js +10 -5
  416. package/dist/node_modules/rc-table/es/Body/index.cjs +24 -6
  417. package/dist/node_modules/rc-table/es/Body/index.js +24 -6
  418. package/dist/node_modules/rc-table/es/FixedHolder/index.cjs +3 -4
  419. package/dist/node_modules/rc-table/es/FixedHolder/index.js +3 -4
  420. package/dist/node_modules/rc-table/es/Table.cjs +17 -15
  421. package/dist/node_modules/rc-table/es/Table.js +18 -16
  422. package/dist/node_modules/rc-table/es/hooks/useColumns/index.cjs +10 -4
  423. package/dist/node_modules/rc-table/es/hooks/useColumns/index.js +10 -4
  424. package/dist/node_modules/rc-table/es/hooks/useFlattenRecords.cjs +5 -3
  425. package/dist/node_modules/rc-table/es/hooks/useFlattenRecords.js +5 -3
  426. package/dist/node_modules/rc-table/es/hooks/useFrame.js +1 -1
  427. package/dist/node_modules/rc-tabs/es/TabNavList/index.cjs +30 -21
  428. package/dist/node_modules/rc-tabs/es/TabNavList/index.js +31 -22
  429. package/dist/node_modules/rc-tabs/es/hooks/useIndicator.cjs +9 -2
  430. package/dist/node_modules/rc-tabs/es/hooks/useIndicator.js +9 -2
  431. package/dist/node_modules/rc-tabs/es/hooks/useVisibleRange.cjs +1 -1
  432. package/dist/node_modules/rc-tabs/es/hooks/useVisibleRange.js +1 -1
  433. package/dist/node_modules/rc-textarea/es/ResizableTextArea.cjs +1 -13
  434. package/dist/node_modules/rc-textarea/es/ResizableTextArea.js +1 -13
  435. package/dist/node_modules/rc-tree/es/Tree.cjs +2 -2
  436. package/dist/node_modules/rc-tree/es/Tree.js +2 -2
  437. package/dist/node_modules/rc-util/es/Dom/isVisible.cjs +2 -2
  438. package/dist/node_modules/rc-util/es/Dom/isVisible.js +2 -2
  439. package/dist/node_modules/rc-util/es/composeProps.cjs +20 -0
  440. package/dist/node_modules/rc-util/es/composeProps.js +21 -0
  441. package/dist/node_modules/rc-util/es/isMobile.cjs +2 -2
  442. package/dist/node_modules/rc-util/es/isMobile.js +2 -2
  443. package/dist/node_modules/rc-virtual-list/es/List.cjs +3 -2
  444. package/dist/node_modules/rc-virtual-list/es/List.js +3 -2
  445. package/dist/node_modules/rc-virtual-list/es/ScrollBar.cjs +21 -23
  446. package/dist/node_modules/rc-virtual-list/es/ScrollBar.js +21 -23
  447. package/dist/node_modules/rc-virtual-list/es/hooks/useOriginScroll.cjs +2 -2
  448. package/dist/node_modules/rc-virtual-list/es/hooks/useOriginScroll.js +2 -2
  449. package/dist/node_modules/rc-virtual-list/es/hooks/useScrollDrag.cjs +1 -1
  450. package/dist/node_modules/rc-virtual-list/es/hooks/useScrollDrag.js +1 -1
  451. package/dist/node_modules/rc-virtual-list/es/utils/CacheMap.cjs +6 -6
  452. package/dist/node_modules/rc-virtual-list/es/utils/CacheMap.js +6 -6
  453. package/dist/node_modules/resize-observer-polyfill/dist/ResizeObserver.es.cjs +26 -26
  454. package/dist/node_modules/resize-observer-polyfill/dist/ResizeObserver.es.js +26 -26
  455. package/dist/node_modules/unified/lib/callable-instance.cjs +2 -2
  456. package/dist/node_modules/unified/lib/callable-instance.js +2 -2
  457. package/dist/node_modules/unist-util-is/lib/index.cjs +2 -2
  458. package/dist/node_modules/unist-util-is/lib/index.js +2 -2
  459. package/dist/node_modules/vfile-message/lib/index.cjs +5 -5
  460. package/dist/node_modules/vfile-message/lib/index.js +5 -5
  461. package/dist/providers/ToastProvider.cjs +1 -1
  462. package/dist/providers/ToastProvider.js +1 -1
  463. package/dist/styles/global-styles.cjs +6 -6
  464. package/dist/styles/global-styles.js +6 -6
  465. package/package.json +1 -1
  466. package/dist/node_modules/@fontsource/inter/300.css.cjs +0 -1
  467. package/dist/node_modules/@fontsource/inter/300.css.js +0 -1
  468. package/dist/node_modules/@fontsource/inter/400.css.cjs +0 -1
  469. package/dist/node_modules/@fontsource/inter/400.css.js +0 -1
  470. package/dist/node_modules/@fontsource/inter/500.css.cjs +0 -1
  471. package/dist/node_modules/@fontsource/inter/500.css.js +0 -1
  472. package/dist/node_modules/@fontsource/inter/600.css.cjs +0 -1
  473. package/dist/node_modules/@fontsource/inter/600.css.js +0 -1
  474. package/dist/node_modules/@fontsource/inter/700.css.cjs +0 -1
  475. package/dist/node_modules/@fontsource/inter/700.css.js +0 -1
  476. package/dist/node_modules/@fontsource/roboto-mono/400.css.cjs +0 -1
  477. package/dist/node_modules/@fontsource/roboto-mono/400.css.js +0 -1
  478. package/dist/node_modules/react-toastify/dist/ReactToastify.css.cjs +0 -1
  479. package/dist/node_modules/react-toastify/dist/ReactToastify.css.js +0 -1
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  var React = require("react");
4
- var warning = require("../../../rc-util/es/warning.cjs");
4
+ var warning$1 = require("../../../rc-util/es/warning.cjs");
5
5
  function _interopNamespaceDefault(e) {
6
6
  var n = /* @__PURE__ */ Object.create(null);
7
7
  if (e) {
@@ -26,17 +26,18 @@ function noop() {
26
26
  let deprecatedWarnList = null;
27
27
  function resetWarned() {
28
28
  deprecatedWarnList = null;
29
- warning.resetWarned();
29
+ warning$1.resetWarned();
30
30
  }
31
- exports.default = noop;
31
+ let _warning = noop;
32
32
  if (process.env.NODE_ENV !== "production") {
33
- exports.default = (valid, component, message) => {
34
- warning.warningOnce(valid, `[antd: ${component}] ${message}`);
33
+ _warning = (valid, component, message) => {
34
+ warning$1.warningOnce(valid, `[antd: ${component}] ${message}`);
35
35
  if (process.env.NODE_ENV === "test") {
36
36
  resetWarned();
37
37
  }
38
38
  };
39
39
  }
40
+ const warning = _warning;
40
41
  const WarningContext = /* @__PURE__ */ React__namespace.createContext({});
41
42
  const devUseWarning = process.env.NODE_ENV !== "production" ? (component) => {
42
43
  const {
@@ -57,7 +58,7 @@ const devUseWarning = process.env.NODE_ENV !== "production" ? (component) => {
57
58
  console.warn("[antd] There exists deprecated usage in your code:", deprecatedWarnList);
58
59
  }
59
60
  } else {
60
- process.env.NODE_ENV !== "production" ? exports.default(valid, component, message) : void 0;
61
+ process.env.NODE_ENV !== "production" ? warning(valid, component, message) : void 0;
61
62
  }
62
63
  }
63
64
  };
@@ -72,6 +73,7 @@ const devUseWarning = process.env.NODE_ENV !== "production" ? (component) => {
72
73
  return noopWarning;
73
74
  };
74
75
  exports.WarningContext = WarningContext;
76
+ exports.default = warning;
75
77
  exports.devUseWarning = devUseWarning;
76
78
  exports.noop = noop;
77
79
  exports.resetWarned = resetWarned;
@@ -7,15 +7,16 @@ function resetWarned() {
7
7
  deprecatedWarnList = null;
8
8
  resetWarned$1();
9
9
  }
10
- let warning = noop;
10
+ let _warning = noop;
11
11
  if (process.env.NODE_ENV !== "production") {
12
- warning = (valid, component, message) => {
12
+ _warning = (valid, component, message) => {
13
13
  warningOnce(valid, `[antd: ${component}] ${message}`);
14
14
  if (process.env.NODE_ENV === "test") {
15
15
  resetWarned();
16
16
  }
17
17
  };
18
18
  }
19
+ const warning = _warning;
19
20
  const WarningContext = /* @__PURE__ */ React.createContext({});
20
21
  const devUseWarning = process.env.NODE_ENV !== "production" ? (component) => {
21
22
  const {
@@ -115,18 +115,15 @@ const WaveEffect = (props) => {
115
115
  }
116
116
  return false;
117
117
  }
118
- }, (_ref, ref$1) => {
119
- let {
120
- className: motionClassName
121
- } = _ref;
122
- return /* @__PURE__ */ React__namespace.createElement("div", {
123
- ref: ref.composeRef(divRef, ref$1),
124
- className: index(className, motionClassName, {
125
- "wave-quick": isSmallComponent
126
- }),
127
- style: waveStyle
128
- });
129
- });
118
+ }, ({
119
+ className: motionClassName
120
+ }, ref$1) => /* @__PURE__ */ React__namespace.createElement("div", {
121
+ ref: ref.composeRef(divRef, ref$1),
122
+ className: index(className, motionClassName, {
123
+ "wave-quick": isSmallComponent
124
+ }),
125
+ style: waveStyle
126
+ }));
130
127
  };
131
128
  const showWaveEffect = (target, info) => {
132
129
  var _a;
@@ -141,7 +138,7 @@ const showWaveEffect = (target, info) => {
141
138
  holder.style.left = "0px";
142
139
  holder.style.top = "0px";
143
140
  target === null || target === void 0 ? void 0 : target.insertBefore(holder, target === null || target === void 0 ? void 0 : target.firstChild);
144
- const reactRender = UnstableContext.getReactRender();
141
+ const reactRender = UnstableContext.unstableSetRender();
145
142
  let unmountCallback = null;
146
143
  function registerUnmount() {
147
144
  return unmountCallback;
@@ -4,7 +4,7 @@ import CSSMotion from "../../../../rc-motion/es/CSSMotion.js";
4
4
  import "../../../../rc-motion/es/CSSMotionList.js";
5
5
  import wrapperRaf from "../../../../rc-util/es/raf.js";
6
6
  import { composeRef } from "../../../../rc-util/es/ref.js";
7
- import { getReactRender } from "../../config-provider/UnstableContext.js";
7
+ import { unstableSetRender } from "../../config-provider/UnstableContext.js";
8
8
  import { TARGET_CLS } from "./interface.js";
9
9
  import { getTargetWaveColor } from "./util.js";
10
10
  function validateNum(value) {
@@ -95,18 +95,15 @@ const WaveEffect = (props) => {
95
95
  }
96
96
  return false;
97
97
  }
98
- }, (_ref, ref) => {
99
- let {
100
- className: motionClassName
101
- } = _ref;
102
- return /* @__PURE__ */ React.createElement("div", {
103
- ref: composeRef(divRef, ref),
104
- className: classNames(className, motionClassName, {
105
- "wave-quick": isSmallComponent
106
- }),
107
- style: waveStyle
108
- });
109
- });
98
+ }, ({
99
+ className: motionClassName
100
+ }, ref) => /* @__PURE__ */ React.createElement("div", {
101
+ ref: composeRef(divRef, ref),
102
+ className: classNames(className, motionClassName, {
103
+ "wave-quick": isSmallComponent
104
+ }),
105
+ style: waveStyle
106
+ }));
110
107
  };
111
108
  const showWaveEffect = (target, info) => {
112
109
  var _a;
@@ -121,7 +118,7 @@ const showWaveEffect = (target, info) => {
121
118
  holder.style.left = "0px";
122
119
  holder.style.top = "0px";
123
120
  target === null || target === void 0 ? void 0 : target.insertBefore(holder, target === null || target === void 0 ? void 0 : target.firstChild);
124
- const reactRender = getReactRender();
121
+ const reactRender = unstableSetRender();
125
122
  let unmountCallback = null;
126
123
  function registerUnmount() {
127
124
  return unmountCallback;
@@ -43,5 +43,5 @@ const genWaveStyle = (token) => {
43
43
  }
44
44
  };
45
45
  };
46
- var useStyle = genStyleUtils.genComponentStyleHook("Wave", (token) => [genWaveStyle(token)]);
46
+ var useStyle = genStyleUtils.genComponentStyleHook("Wave", genWaveStyle);
47
47
  module.exports = useStyle;
@@ -42,7 +42,7 @@ const genWaveStyle = (token) => {
42
42
  }
43
43
  };
44
44
  };
45
- var useStyle = genComponentStyleHook("Wave", (token) => [genWaveStyle(token)]);
45
+ var useStyle = genComponentStyleHook("Wave", genWaveStyle);
46
46
  export {
47
47
  useStyle as default
48
48
  };
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  function isValidWaveColor(color) {
3
3
  return color && color !== "#fff" && color !== "#ffffff" && color !== "rgb(255, 255, 255)" && color !== "rgba(255, 255, 255, 1)" && !/rgba\((?:\d*, ){3}0\)/.test(color) && // any transparent rgba color
4
- color !== "transparent";
4
+ color !== "transparent" && color !== "canvastext";
5
5
  }
6
6
  function getTargetWaveColor(node) {
7
7
  const {
@@ -1,6 +1,6 @@
1
1
  function isValidWaveColor(color) {
2
2
  return color && color !== "#fff" && color !== "#ffffff" && color !== "rgb(255, 255, 255)" && color !== "rgba(255, 255, 255, 1)" && !/rgba\((?:\d*, ){3}0\)/.test(color) && // any transparent rgba color
3
- color !== "transparent";
3
+ color !== "transparent" && color !== "canvastext";
4
4
  }
5
5
  function getTargetWaveColor(node) {
6
6
  const {
@@ -39,7 +39,24 @@ var __rest = function(s, e) {
39
39
  }
40
40
  return t;
41
41
  };
42
- const InternalAvatar = (props, ref$1) => {
42
+ const Avatar = /* @__PURE__ */ React__namespace.forwardRef((props, ref$1) => {
43
+ const {
44
+ prefixCls: customizePrefixCls,
45
+ shape,
46
+ size: customSize,
47
+ src,
48
+ srcSet,
49
+ icon,
50
+ className,
51
+ rootClassName,
52
+ style,
53
+ alt,
54
+ draggable,
55
+ children,
56
+ crossOrigin,
57
+ gap = 4,
58
+ onError
59
+ } = props, others = __rest(props, ["prefixCls", "shape", "size", "src", "srcSet", "icon", "className", "rootClassName", "style", "alt", "draggable", "children", "crossOrigin", "gap", "onError"]);
43
60
  const [scale, setScale] = React__namespace.useState(1);
44
61
  const [mounted, setMounted] = React__namespace.useState(false);
45
62
  const [isImgExist, setIsImgExist] = React__namespace.useState(true);
@@ -58,9 +75,6 @@ const InternalAvatar = (props, ref$1) => {
58
75
  const childrenWidth = avatarChildrenRef.current.offsetWidth;
59
76
  const nodeWidth = avatarNodeRef.current.offsetWidth;
60
77
  if (childrenWidth !== 0 && nodeWidth !== 0) {
61
- const {
62
- gap = 4
63
- } = props;
64
78
  if (gap * 2 < nodeWidth) {
65
79
  setScale(nodeWidth - gap * 2 < childrenWidth ? (nodeWidth - gap * 2) / childrenWidth : 1);
66
80
  }
@@ -72,31 +86,14 @@ const InternalAvatar = (props, ref$1) => {
72
86
  React__namespace.useEffect(() => {
73
87
  setIsImgExist(true);
74
88
  setScale(1);
75
- }, [props.src]);
76
- React__namespace.useEffect(setScaleParam, [props.gap]);
89
+ }, [src]);
90
+ React__namespace.useEffect(setScaleParam, [gap]);
77
91
  const handleImgLoadError = () => {
78
- const {
79
- onError
80
- } = props;
81
92
  const errorFlag = onError === null || onError === void 0 ? void 0 : onError();
82
93
  if (errorFlag !== false) {
83
94
  setIsImgExist(false);
84
95
  }
85
96
  };
86
- const {
87
- prefixCls: customizePrefixCls,
88
- shape,
89
- size: customSize,
90
- src,
91
- srcSet,
92
- icon,
93
- className,
94
- rootClassName,
95
- alt,
96
- draggable,
97
- children,
98
- crossOrigin
99
- } = props, others = __rest(props, ["prefixCls", "shape", "size", "src", "srcSet", "icon", "className", "rootClassName", "alt", "draggable", "children", "crossOrigin"]);
100
97
  const size = useSize((ctxSize) => {
101
98
  var _a, _b;
102
99
  return (_b = (_a = customSize !== null && customSize !== void 0 ? customSize : avatarCtx === null || avatarCtx === void 0 ? void 0 : avatarCtx.size) !== null && _a !== void 0 ? _a : ctxSize) !== null && _b !== void 0 ? _b : "default";
@@ -174,15 +171,12 @@ const InternalAvatar = (props, ref$1) => {
174
171
  ref: avatarChildrenRef
175
172
  }, children);
176
173
  }
177
- delete others.onError;
178
- delete others.gap;
179
174
  return wrapCSSVar(/* @__PURE__ */ React__namespace.createElement("span", Object.assign({}, others, {
180
- style: Object.assign(Object.assign(Object.assign(Object.assign({}, sizeStyle), responsiveSizeStyle), avatar === null || avatar === void 0 ? void 0 : avatar.style), others.style),
175
+ style: Object.assign(Object.assign(Object.assign(Object.assign({}, sizeStyle), responsiveSizeStyle), avatar === null || avatar === void 0 ? void 0 : avatar.style), style),
181
176
  className: classString,
182
177
  ref: avatarNodeMergedRef
183
178
  }), childrenToRender));
184
- };
185
- const Avatar = /* @__PURE__ */ React__namespace.forwardRef(InternalAvatar);
179
+ });
186
180
  if (process.env.NODE_ENV !== "production") {
187
181
  Avatar.displayName = "Avatar";
188
182
  }
@@ -19,7 +19,24 @@ var __rest = function(s, e) {
19
19
  }
20
20
  return t;
21
21
  };
22
- const InternalAvatar = (props, ref) => {
22
+ const Avatar = /* @__PURE__ */ React.forwardRef((props, ref) => {
23
+ const {
24
+ prefixCls: customizePrefixCls,
25
+ shape,
26
+ size: customSize,
27
+ src,
28
+ srcSet,
29
+ icon,
30
+ className,
31
+ rootClassName,
32
+ style,
33
+ alt,
34
+ draggable,
35
+ children,
36
+ crossOrigin,
37
+ gap = 4,
38
+ onError
39
+ } = props, others = __rest(props, ["prefixCls", "shape", "size", "src", "srcSet", "icon", "className", "rootClassName", "style", "alt", "draggable", "children", "crossOrigin", "gap", "onError"]);
23
40
  const [scale, setScale] = React.useState(1);
24
41
  const [mounted, setMounted] = React.useState(false);
25
42
  const [isImgExist, setIsImgExist] = React.useState(true);
@@ -38,9 +55,6 @@ const InternalAvatar = (props, ref) => {
38
55
  const childrenWidth = avatarChildrenRef.current.offsetWidth;
39
56
  const nodeWidth = avatarNodeRef.current.offsetWidth;
40
57
  if (childrenWidth !== 0 && nodeWidth !== 0) {
41
- const {
42
- gap = 4
43
- } = props;
44
58
  if (gap * 2 < nodeWidth) {
45
59
  setScale(nodeWidth - gap * 2 < childrenWidth ? (nodeWidth - gap * 2) / childrenWidth : 1);
46
60
  }
@@ -52,31 +66,14 @@ const InternalAvatar = (props, ref) => {
52
66
  React.useEffect(() => {
53
67
  setIsImgExist(true);
54
68
  setScale(1);
55
- }, [props.src]);
56
- React.useEffect(setScaleParam, [props.gap]);
69
+ }, [src]);
70
+ React.useEffect(setScaleParam, [gap]);
57
71
  const handleImgLoadError = () => {
58
- const {
59
- onError
60
- } = props;
61
72
  const errorFlag = onError === null || onError === void 0 ? void 0 : onError();
62
73
  if (errorFlag !== false) {
63
74
  setIsImgExist(false);
64
75
  }
65
76
  };
66
- const {
67
- prefixCls: customizePrefixCls,
68
- shape,
69
- size: customSize,
70
- src,
71
- srcSet,
72
- icon,
73
- className,
74
- rootClassName,
75
- alt,
76
- draggable,
77
- children,
78
- crossOrigin
79
- } = props, others = __rest(props, ["prefixCls", "shape", "size", "src", "srcSet", "icon", "className", "rootClassName", "alt", "draggable", "children", "crossOrigin"]);
80
77
  const size = useSize((ctxSize) => {
81
78
  var _a, _b;
82
79
  return (_b = (_a = customSize !== null && customSize !== void 0 ? customSize : avatarCtx === null || avatarCtx === void 0 ? void 0 : avatarCtx.size) !== null && _a !== void 0 ? _a : ctxSize) !== null && _b !== void 0 ? _b : "default";
@@ -154,15 +151,12 @@ const InternalAvatar = (props, ref) => {
154
151
  ref: avatarChildrenRef
155
152
  }, children);
156
153
  }
157
- delete others.onError;
158
- delete others.gap;
159
154
  return wrapCSSVar(/* @__PURE__ */ React.createElement("span", Object.assign({}, others, {
160
- style: Object.assign(Object.assign(Object.assign(Object.assign({}, sizeStyle), responsiveSizeStyle), avatar === null || avatar === void 0 ? void 0 : avatar.style), others.style),
155
+ style: Object.assign(Object.assign(Object.assign(Object.assign({}, sizeStyle), responsiveSizeStyle), avatar === null || avatar === void 0 ? void 0 : avatar.style), style),
161
156
  className: classString,
162
157
  ref: avatarNodeMergedRef
163
158
  }), childrenToRender));
164
- };
165
- const Avatar = /* @__PURE__ */ React.forwardRef(InternalAvatar);
159
+ });
166
160
  if (process.env.NODE_ENV !== "production") {
167
161
  Avatar.displayName = "Avatar";
168
162
  }
@@ -65,8 +65,7 @@ const AvatarGroup = (props) => {
65
65
  } = props;
66
66
  if (process.env.NODE_ENV !== "production") {
67
67
  const warning$1 = warning.devUseWarning("Avatar.Group");
68
- [["maxCount", "max={{ count: number }}"], ["maxStyle", "max={{ style: CSSProperties }}"], ["maxPopoverPlacement", "max={{ popover: PopoverProps }}"], ["maxPopoverTrigger", "max={{ popover: PopoverProps }}"]].forEach((_ref) => {
69
- let [deprecatedName, newName] = _ref;
68
+ [["maxCount", "max={{ count: number }}"], ["maxStyle", "max={{ style: CSSProperties }}"], ["maxPopoverPlacement", "max={{ popover: PopoverProps }}"], ["maxPopoverTrigger", "max={{ popover: PopoverProps }}"]].forEach(([deprecatedName, newName]) => {
70
69
  warning$1.deprecated(!(deprecatedName in props), deprecatedName, newName);
71
70
  });
72
71
  }
@@ -100,7 +99,7 @@ const AvatarGroup = (props) => {
100
99
  });
101
100
  childrenShow.push(/* @__PURE__ */ React__namespace.createElement(index$2, Object.assign({
102
101
  key: "avatar-popover-key",
103
- destroyTooltipOnHide: true
102
+ destroyOnHidden: true
104
103
  }, mergeProps), /* @__PURE__ */ React__namespace.createElement(Avatar, {
105
104
  style: mergeStyle
106
105
  }, `+${numOfChildren - mergeCount}`)));
@@ -45,8 +45,7 @@ const AvatarGroup = (props) => {
45
45
  } = props;
46
46
  if (process.env.NODE_ENV !== "production") {
47
47
  const warning = devUseWarning("Avatar.Group");
48
- [["maxCount", "max={{ count: number }}"], ["maxStyle", "max={{ style: CSSProperties }}"], ["maxPopoverPlacement", "max={{ popover: PopoverProps }}"], ["maxPopoverTrigger", "max={{ popover: PopoverProps }}"]].forEach((_ref) => {
49
- let [deprecatedName, newName] = _ref;
48
+ [["maxCount", "max={{ count: number }}"], ["maxStyle", "max={{ style: CSSProperties }}"], ["maxPopoverPlacement", "max={{ popover: PopoverProps }}"], ["maxPopoverTrigger", "max={{ popover: PopoverProps }}"]].forEach(([deprecatedName, newName]) => {
50
49
  warning.deprecated(!(deprecatedName in props), deprecatedName, newName);
51
50
  });
52
51
  }
@@ -80,7 +79,7 @@ const AvatarGroup = (props) => {
80
79
  });
81
80
  childrenShow.push(/* @__PURE__ */ React.createElement(Popover, Object.assign({
82
81
  key: "avatar-popover-key",
83
- destroyTooltipOnHide: true
82
+ destroyOnHidden: true
84
83
  }, mergeProps), /* @__PURE__ */ React.createElement(Avatar, {
85
84
  style: mergeStyle
86
85
  }, `+${numOfChildren - mergeCount}`)));
@@ -31,21 +31,25 @@ const genBaseStyle = (token) => {
31
31
  textFontSize,
32
32
  textFontSizeLG,
33
33
  textFontSizeSM,
34
+ iconFontSize,
35
+ iconFontSizeLG,
36
+ iconFontSizeSM,
34
37
  borderRadius,
35
38
  borderRadiusLG,
36
39
  borderRadiusSM,
37
40
  lineWidth,
38
41
  lineType
39
42
  } = token;
40
- const avatarSizeStyle = (size, fontSize, radius) => ({
43
+ const avatarSizeStyle = (size, fontSize, iconFontSize2, radius) => ({
41
44
  width: size,
42
45
  height: size,
43
46
  borderRadius: "50%",
47
+ fontSize,
44
48
  [`&${componentCls}-square`]: {
45
49
  borderRadius: radius
46
50
  },
47
51
  [`&${componentCls}-icon`]: {
48
- fontSize,
52
+ fontSize: iconFontSize2,
49
53
  [`> ${iconCls}`]: {
50
54
  margin: 0
51
55
  }
@@ -70,9 +74,9 @@ const genBaseStyle = (token) => {
70
74
  [`${antCls}-image-img`]: {
71
75
  display: "block"
72
76
  }
73
- }), avatarSizeStyle(containerSize, textFontSize, borderRadius)), {
74
- "&-lg": Object.assign({}, avatarSizeStyle(containerSizeLG, textFontSizeLG, borderRadiusLG)),
75
- "&-sm": Object.assign({}, avatarSizeStyle(containerSizeSM, textFontSizeSM, borderRadiusSM)),
77
+ }), avatarSizeStyle(containerSize, textFontSize, iconFontSize, borderRadius)), {
78
+ "&-lg": Object.assign({}, avatarSizeStyle(containerSizeLG, textFontSizeLG, iconFontSizeLG, borderRadiusLG)),
79
+ "&-sm": Object.assign({}, avatarSizeStyle(containerSizeSM, textFontSizeSM, iconFontSizeSM, borderRadiusSM)),
76
80
  "> img": {
77
81
  display: "block",
78
82
  width: "100%",
@@ -123,9 +127,12 @@ const prepareComponentToken = (token) => {
123
127
  containerSize: controlHeight,
124
128
  containerSizeLG: controlHeightLG,
125
129
  containerSizeSM: controlHeightSM,
126
- textFontSize: Math.round((fontSizeLG + fontSizeXL) / 2),
127
- textFontSizeLG: fontSizeHeading3,
130
+ textFontSize: fontSize,
131
+ textFontSizeLG: fontSize,
128
132
  textFontSizeSM: fontSize,
133
+ iconFontSize: Math.round((fontSizeLG + fontSizeXL) / 2),
134
+ iconFontSizeLG: fontSizeHeading3,
135
+ iconFontSizeSM: fontSize,
129
136
  groupSpace: marginXXS,
130
137
  groupOverlapping: -marginXS,
131
138
  groupBorderColor: colorBorderBg
@@ -29,21 +29,25 @@ const genBaseStyle = (token) => {
29
29
  textFontSize,
30
30
  textFontSizeLG,
31
31
  textFontSizeSM,
32
+ iconFontSize,
33
+ iconFontSizeLG,
34
+ iconFontSizeSM,
32
35
  borderRadius,
33
36
  borderRadiusLG,
34
37
  borderRadiusSM,
35
38
  lineWidth,
36
39
  lineType
37
40
  } = token;
38
- const avatarSizeStyle = (size, fontSize, radius) => ({
41
+ const avatarSizeStyle = (size, fontSize, iconFontSize2, radius) => ({
39
42
  width: size,
40
43
  height: size,
41
44
  borderRadius: "50%",
45
+ fontSize,
42
46
  [`&${componentCls}-square`]: {
43
47
  borderRadius: radius
44
48
  },
45
49
  [`&${componentCls}-icon`]: {
46
- fontSize,
50
+ fontSize: iconFontSize2,
47
51
  [`> ${iconCls}`]: {
48
52
  margin: 0
49
53
  }
@@ -68,9 +72,9 @@ const genBaseStyle = (token) => {
68
72
  [`${antCls}-image-img`]: {
69
73
  display: "block"
70
74
  }
71
- }), avatarSizeStyle(containerSize, textFontSize, borderRadius)), {
72
- "&-lg": Object.assign({}, avatarSizeStyle(containerSizeLG, textFontSizeLG, borderRadiusLG)),
73
- "&-sm": Object.assign({}, avatarSizeStyle(containerSizeSM, textFontSizeSM, borderRadiusSM)),
75
+ }), avatarSizeStyle(containerSize, textFontSize, iconFontSize, borderRadius)), {
76
+ "&-lg": Object.assign({}, avatarSizeStyle(containerSizeLG, textFontSizeLG, iconFontSizeLG, borderRadiusLG)),
77
+ "&-sm": Object.assign({}, avatarSizeStyle(containerSizeSM, textFontSizeSM, iconFontSizeSM, borderRadiusSM)),
74
78
  "> img": {
75
79
  display: "block",
76
80
  width: "100%",
@@ -121,9 +125,12 @@ const prepareComponentToken = (token) => {
121
125
  containerSize: controlHeight,
122
126
  containerSizeLG: controlHeightLG,
123
127
  containerSizeSM: controlHeightSM,
124
- textFontSize: Math.round((fontSizeLG + fontSizeXL) / 2),
125
- textFontSizeLG: fontSizeHeading3,
128
+ textFontSize: fontSize,
129
+ textFontSizeLG: fontSize,
126
130
  textFontSizeSM: fontSize,
131
+ iconFontSize: Math.round((fontSizeLG + fontSizeXL) / 2),
132
+ iconFontSizeLG: fontSizeHeading3,
133
+ iconFontSizeSM: fontSize,
127
134
  groupSpace: marginXXS,
128
135
  groupOverlapping: -marginXS,
129
136
  groupBorderColor: colorBorderBg
@@ -21,10 +21,9 @@ function _interopNamespaceDefault(e) {
21
21
  return Object.freeze(n);
22
22
  }
23
23
  var React__namespace = /* @__PURE__ */ _interopNamespaceDefault(React);
24
- const BreadcrumbSeparator = (_ref) => {
25
- let {
26
- children
27
- } = _ref;
24
+ const BreadcrumbSeparator = ({
25
+ children
26
+ }) => {
28
27
  const {
29
28
  getPrefixCls
30
29
  } = React__namespace.useContext(context.ConfigContext);
@@ -1,10 +1,9 @@
1
1
  import * as React from "react";
2
2
  import "../config-provider/index.js";
3
3
  import { ConfigContext } from "../config-provider/context.js";
4
- const BreadcrumbSeparator = (_ref) => {
5
- let {
6
- children
7
- } = _ref;
4
+ const BreadcrumbSeparator = ({
5
+ children
6
+ }) => {
8
7
  const {
9
8
  getPrefixCls
10
9
  } = React.useContext(ConfigContext);
@@ -63,11 +63,10 @@ const DefaultLoadingIcon = (props) => {
63
63
  onEnterActive: getRealWidth,
64
64
  onLeaveStart: getRealWidth,
65
65
  onLeaveActive: getCollapsedWidth
66
- }, (_ref, ref) => {
67
- let {
68
- className: motionCls,
69
- style: motionStyle
70
- } = _ref;
66
+ }, ({
67
+ className: motionCls,
68
+ style: motionStyle
69
+ }, ref) => {
71
70
  const mergedStyle = Object.assign(Object.assign({}, style), motionStyle);
72
71
  return /* @__PURE__ */ React.createElement(InnerLoadingIcon, {
73
72
  prefixCls,
@@ -62,11 +62,10 @@ const DefaultLoadingIcon = (props) => {
62
62
  onEnterActive: getRealWidth,
63
63
  onLeaveStart: getRealWidth,
64
64
  onLeaveActive: getCollapsedWidth
65
- }, (_ref, ref) => {
66
- let {
67
- className: motionCls,
68
- style: motionStyle
69
- } = _ref;
65
+ }, ({
66
+ className: motionCls,
67
+ style: motionStyle
68
+ }, ref) => {
70
69
  const mergedStyle = Object.assign(Object.assign({}, style), motionStyle);
71
70
  return /* @__PURE__ */ React__default.createElement(InnerLoadingIcon, {
72
71
  prefixCls,
@@ -3,6 +3,7 @@ var React = require("react");
3
3
  var index$1 = require("../../../../_virtual/index.cjs");
4
4
  var omit = require("../../../rc-util/es/omit.cjs");
5
5
  var ref = require("../../../rc-util/es/ref.cjs");
6
+ var useLayoutEffect = require("../../../rc-util/es/hooks/useLayoutEffect.cjs");
6
7
  var warning = require("../_util/warning.cjs");
7
8
  var index$2 = require("../_util/wave/index.cjs");
8
9
  var context = require("../config-provider/context.cjs");
@@ -54,7 +55,7 @@ const InternalCompoundedButton = /* @__PURE__ */ React.forwardRef((props, ref$1)
54
55
  variant,
55
56
  type,
56
57
  danger = false,
57
- shape = "default",
58
+ shape: customizeShape,
58
59
  size: customizeSize,
59
60
  styles,
60
61
  disabled: customDisabled,
@@ -73,16 +74,26 @@ const InternalCompoundedButton = /* @__PURE__ */ React.forwardRef((props, ref$1)
73
74
  autoFocus
74
75
  } = props, rest = __rest(props, ["loading", "prefixCls", "color", "variant", "type", "danger", "shape", "size", "styles", "disabled", "className", "rootClassName", "children", "icon", "iconPosition", "ghost", "block", "htmlType", "classNames", "style", "autoInsertSpace", "autoFocus"]);
75
76
  const mergedType = type || "default";
77
+ const {
78
+ button
79
+ } = React.useContext(context.ConfigContext);
80
+ const shape = customizeShape || (button === null || button === void 0 ? void 0 : button.shape) || "default";
76
81
  const [mergedColor, mergedVariant] = React.useMemo(() => {
77
82
  if (color && variant) {
78
83
  return [color, variant];
79
84
  }
80
- const colorVariantPair = ButtonTypeMap[mergedType] || [];
81
- if (danger) {
82
- return ["danger", colorVariantPair[1]];
85
+ if (type || danger) {
86
+ const colorVariantPair = ButtonTypeMap[mergedType] || [];
87
+ if (danger) {
88
+ return ["danger", colorVariantPair[1]];
89
+ }
90
+ return colorVariantPair;
91
+ }
92
+ if ((button === null || button === void 0 ? void 0 : button.color) && (button === null || button === void 0 ? void 0 : button.variant)) {
93
+ return [button.color, button.variant];
83
94
  }
84
- return colorVariantPair;
85
- }, [type, color, variant, danger]);
95
+ return ["default", "outlined"];
96
+ }, [type, color, variant, danger, button === null || button === void 0 ? void 0 : button.variant, button === null || button === void 0 ? void 0 : button.color]);
86
97
  const isDanger = mergedColor === "danger";
87
98
  const mergedColorText = isDanger ? "dangerous" : mergedColor;
88
99
  const {
@@ -113,7 +124,7 @@ const InternalCompoundedButton = /* @__PURE__ */ React.forwardRef((props, ref$1)
113
124
  isMountRef.current = true;
114
125
  };
115
126
  }, []);
116
- React.useEffect(() => {
127
+ useLayoutEffect.default(() => {
117
128
  let delayTimer = null;
118
129
  if (loadingOrDelay.delay > 0) {
119
130
  delayTimer = setTimeout(() => {
@@ -130,7 +141,7 @@ const InternalCompoundedButton = /* @__PURE__ */ React.forwardRef((props, ref$1)
130
141
  }
131
142
  }
132
143
  return cleanupTimer;
133
- }, [loadingOrDelay]);
144
+ }, [loadingOrDelay.delay, loadingOrDelay.loading]);
134
145
  React.useEffect(() => {
135
146
  if (!buttonRef.current || !mergedInsertSpace) {
136
147
  return;
@@ -180,7 +191,7 @@ const InternalCompoundedButton = /* @__PURE__ */ React.forwardRef((props, ref$1)
180
191
  const linkButtonRestProps = omit(rest, ["navigate"]);
181
192
  const classes = index$1(prefixCls, hashId, cssVarCls, {
182
193
  [`${prefixCls}-${shape}`]: shape !== "default" && shape,
183
- // line(253 - 254): Compatible with versions earlier than 5.21.0
194
+ // Compatible with versions earlier than 5.21.0
184
195
  [`${prefixCls}-${mergedType}`]: mergedType,
185
196
  [`${prefixCls}-dangerous`]: danger,
186
197
  [`${prefixCls}-color-${mergedColorText}`]: mergedColorText,