皇上,还记得我吗?我就是1999年那个Linux伊甸园啊-----24小时滚动更新开源资讯,全年无休!

Ant Design 5.4.0发布

Ant Design 5.4.0发布

  •  Remove antd/es/locale-provider antd/lib/locale-provider directory since LocaleProvider was replaced by ConfigProvider and removed in 4.x version years before. #41289 @li-jia-nan
  •  DatePicker/TimePicker/Calendar could change date-library to luxon now. #41580 @hihuz
  •  Add Form.Item.useStatus hook to get error messages. #41554 @Yuiai01
  •  Input and Input.TextArea support classNames and styles props. #41493
  •  Tag add bordered={false} to support border-less style. #41305 @li-jia-nan
  •  FloatButton support badge prop. #41040 @li-jia-nan
  •  Select add title property. #41280
  •  Image component supports preview.rootClassName#41265 @Yuiai01
  •  Modal added afterOpenChange prop. #41253 @MuxinFeng
  •  Form.useWatch could watch field change at preserve mode. #41191 @li-jia-nan
  •  Refactor some components by using useMemo#41533 #41550 @li-jia-nan
  •  Refactor Checkbox with hooks and new types. #41117
  •  Refactor Input.TextArea that move count into affixWrapper element. #41450
  •  DatePicker/Calendar add cellRender for custom cells and deprecated properties dateRender and monthCellRender in DatePicker, deprecated properties dateCellRendermonthCellRenderdateFullCellRendermonthFullCellRender in Calendar. #41584 @kiner-tang
  •  Fix Tour double arrow problem. #41578 @acyza
  •  Fix Checkbox with customize controlHeight token not align in center with text. #41566
  •  Fix Form.Item not rendering correctly in Modal when it has help#40519 @Yuiai01
  •  Fix Form wrong UI status when using hasFeedback#41594 @Yuiai01
  •  Fix Slider throws warning [antd: Tooltip] forcePopupAlign is align to forceAlign instead#41540 @MuxinFeng
  •  Fix checkable Table checking not working when click on the edge of checkbox. #41519
  • Locales

  •  移除 antd/es/locale-provider antd/lib/locale-provider 目录,LocaleProvider 已在 4.x 版本移除,使用 ConfigProvider 作为替代。#41289 @li-jia-nan
  •  DatePicker 等时间类组件可以定制 luxon 作为日期库。#41580 @hihuz
  •  新增 Form.Item.useStatus 以支持获取错误状态信息。#41554 @Yuiai01
  •  Input 和 Input.TextArea 组件支持 classNames 和 styles 属性,用于更细粒度的样式自定义。#41493
  •  Tag 新增无边框模式。#41305 @li-jia-nan
  •  FloatButton 支持用 badge 属性开启角标功能。#41040 @li-jia-nan
  •  Select 支持 title 属性以便覆盖一些自带的 title 提示。#41280
  •  Image 组件支持设置 preview.rootClassName#41265 @Yuiai01
  •  Modal 组件支持 afterOpenChange 属性。#41253 @MuxinFeng
  •  Form.useWatch 新增 preserve 参数,支持在 Form.Item 未注册的情况下 setFieldValue 时触发监听。#41191 @li-jia-nan
  •  使用 useMemo 重构部分组件代码。#41533 #41550 @li-jia-nan
  •  使用 React hooks 重构 Checkbox,并优化了 TS 定义。#41117
  •  重构 Input.TextArea 文字计数实现方式,移至 affixWrapper 元素中。#41450
  •  DatePicker/Calendar 组件新增 cellRender 用于自定义日期单元格,同时在 DatePicker 中废弃 dateRender 和 monthRender 等属性,在 Calendar 中废弃 dateCellRendermonthCellRenderdateFullCellRendermonthFullCellRender 等属性。#41584 @kiner-tang
  •  修复 Tour 出现两个箭头的问题。#41578 @acyza
  •  修复 Checkbox 配置 controlHeight token 时勾选框与文字不对齐的问题。#41566
  •  修复 Form.Item 存在 help 值时在 Modal 中没有正确渲染元素。#40519 @Yuiai01
  •  修复 Form 使用 hasFeedback 时表单状态不对的问题。#41594 @Yuiai01
  •  修复 Slider 组件显示 Warning: [antd: Tooltip] forcePopupAlign is align to forceAlign instead 警告信息的问题。#41540 @MuxinFeng
  •  修复可选择 Table 的勾选框在边缘点击的时候无法触发勾选的问题。#41519
  • 国际化