yarn antd 5.22.0

latest release: 5.22.1
2 days ago
  • Form
    • 🆕 Form.Item supports hiding labels. #51524 @crazyair
    • 🐞 Form removes the div used to expand the error height, wraps errorDom and extraDom with a div, and sets a minimum height for the div. #51254 @hongzzz
    • 🐞 Fix the problem that onValuesChange is still triggered when the Form field triggers change but the value does not change. #51437 @crazyair
    • 🆕 Form supports the focus property in scrollToFirstError when form validation fails. #51231 @nathanlao
  • Table
  • Tree
    • 💄 Fix the problem of missing padding style for selected nodes in Tree. #51492 @zombieJ
    • 🆕 Tree component Token adds nodeHoverColor and nodeSelectedColor support. #51367 @zmbxy
    • 🆕 Tree adds indentSize token for custom indent width. #51010 @afc163
  • DatePicker
    • 🆕 DatePicker supports prefix attribute. #51335 @guoyunhe
    • 💄 Fixed the issue of DatePicker.RangePicker flashing when the mouse moves between cells. #51533 @afc163
  • Input.OTP
    • 🆕 In the Input.OTP component, add onInput event to get the value of each user input. At the same time, the relevant documentation has been updated. #51289 @aojunhao123
    • 🐞 Fixed the problem that Input.OTP cannot specify inputMode. #51271 @alan-rudzinski
  • 🆕 ColorPicker supports disabledFormat. #51539 @su-muzhi
  • 🆕 Add cursor configuration item to the focus method of InputNumber component to control the cursor position. #51444 @aojunhao123
  • 🆕 Cascader adds disabled attribute to disable all first-level directory items of the component. #51272 @aojunhao123
  • 🆕 Descriptions supports single-line spreading. #51365 @crazyair
  • 🆕 Select/TreeSelect/Cascader components add prefix property to support custom prefix. #51186 @guoyunhe
  • 🐞 Fix the problem that the preview image class name is lost when setting ImageProps.preview.rootClassName in Image. #51538 @dislido
  • 🐞 Fixed the issue that the last item in the TimePicker panel column cannot be scrolled to the top. #51481 @zombieJ
  • 🐞 Fix TreeSelect dropdown height not enough. #51567 @afc163
  • 🐞 Fixed the issue that Typography is not updated immediately when the ConfigProvider language is switched. #51453 @thinkasany
  • 🐞 Fixed the issue that Upload itemRender calling action.preview will cause a crash. #51419 @yoyo837
  • 🐞 Fixed Splitter pseudo-element symbol issue. #51536 @dislido
  • 💄 Optimize Collapse accessibility attribute and mouse hover style. #51400 @afc163
  • 💄 Fix styling issue of Menu title content. #51425 @coding-ice
  • 🇵🇹 Fix translation in Portuguese (pt_PT) localization file for better accuracy and consistency. #51501 @alexandre-p-marques-alb
  • 🇺🇿 Optimize uz_UZ internationalization. #51407 @Zukhrik
  • TypeScript
    • 🤖 Upload exports type DraggerProps. #51546 @DBvc
    • 🤖 Add defaultValue property to TimePicker.RangePicker example. #51413 @nathanlao
    • 🤖 Message Optimize the top type in message.config. #51468 @Fog3211
    • 🤖 Optimize the TS definition of Tree and TreeSelect. #51251 @afc163

  • Form
    • 🆕 Form.Item 支持隐藏 label。#51524 @crazyair
    • 🐞 Form 移除了用于撑开 error 高度的 div,将 errorDom 和 extraDom 用一个 div 包裹,并为该 div 设置了最小高度。#51254 @hongzzz
    • 🐞 修复 Form 在字段触发 change 但是值没有变化时,onValuesChange 仍然会触发的问题。#51437 @crazyair
    • 🆕 Form 支持在表单验证失败时,scrollToFirstError 中的 focus 属性。#51231 @nathanlao
  • Table
  • Tree
    • 💄 修复 Tree 选中节点丢失 padding 样式的问题。#51492 @zombieJ
    • 🆕 Tree 组件 Token 增加 nodeHoverColornodeSelectedColor 支持。#51367 @zmbxy
    • 🆕 Tree 新增 indentSize token 用于自定义缩进宽度。#51010 @afc163
  • DatePicker
    • 🆕 DatePicker 支持 prefix 属性。#51335 @guoyunhe
    • 💄 修复 DatePicker.RangePicker 当鼠标移动到单元格之间时出现闪烁样式的问题。#51533 @afc163
  • Input.OTP
  • 🆕 ColorPicker 支持 disabledFormat 属性以禁用格式切换器。#51539 @su-muzhi
  • 🆕 为 InputNumber 组件的 focus 方法增加 cursor 配置项以控制光标位置。#51444 @aojunhao123
  • 🆕 Cascader 新增 disabled 属性以禁用组件的所有一级目录项。#51272 @aojunhao123
  • 🆕 Descriptions 支持单行铺满。#51365 @crazyair
  • 🆕 Select/TreeSelect/Cascader 组件增加 prefix 属性以支持自定义前缀。#51186 @guoyunhe
  • 🐞 修复 Image 设置 ImageProps.preview.rootClassName 导致预览图类名丢失。#51538 @dislido
  • 🐞 修复 TimePicker 面板列的最后一项无法滚动到最上面的问题。#51481 @zombieJ
  • 🐞 修复 TreeSelect 弹层高度不够的问题。#51567 @afc163
  • 🐞 修复 Typography 在 ConfigProvider 语言切换时候没有立即更新。#51453 @thinkasany
  • 🐞 修复 Upload itemRender 调用 action.preview 会导致崩溃的问题。#51419 @yoyo837
  • 🐞 修复 Splitter 伪元素符号问题。#51536 @dislido
  • 💄 优化 Collapse 可访问性属性和鼠标 hover 样式。#51400 @afc163
  • 💄 修复 Menu title 内容的样式问题。#51425 @coding-ice
  • 🇵🇹 修正葡萄牙语 (pt_PT) 本地化文件中的翻译,以提高准确性和一致性。#51501 @alexandre-p-marques-alb
  • 🇺🇿 优化 uz_UZ 国际化。#51407 @Zukhrik
  • TypeScript
    • 🤖 Upload 导出类型 DraggerProps。#51546 @DBvc
    • 🤖 将 defaultValue 属性添加到 TimePicker.RangePicker 示例中。#51413 @nathanlao
    • 🤖 Message 优化 message.config 中的 top 类型。#51468 @Fog3211
    • 🤖 优化 Tree 和 TreeSelect 的 TS 定义。#51251 @afc163

Don't miss a new antd release

NewReleases is sending notifications on new releases.