npm antd 5.25.0

latest releases: 5.27.3, 5.27.2, 5.27.1...
4 months ago
  • 🔥 New component Statistic.Timer, supporting both counting up and down. #53401 @lcgash
  • 🆕 Tour add actionsRender prop to custom action button. #53067 @dengfuping
  • 🆕 Add size prop to Divider. #53570 @coding-ice
  • Collapse
  • 🆕 Upload supports paste upload via the pastable property. #53463 @madocto
  • 🆕 AutoComplete component adds popup semantic node with support for customizing dropdown menu via classNames.popup, styles.popup, popupRender and onPopupVisibleChange, while deprecating legacy popupClassName, dropdownClassName, dropdownStyle, dropdownRender and onDropdownVisibleChange APIs. #53257 @aojunhao123
  • 🆕 Cascader component adds popup semantic node, and deprecated some api. #53311 @aojunhao123
  • 🆕 ConfigProvider support setting the variant and color props of Button. #53165 @yellowryan
  • 🆕 TreeSelect component adds popup semantic node, and deprecated some api. #53285 @aojunhao123
  • 🆕 DatePicker and TimePicker add popup semantic node, and deprecated some api. #53718 @aojunhao123
  • 🆕 Select component adds popup semantic node with support for customizing dropdown menu via classNames.popup, styles.popup, popupRender and onPopupVisibleChange, while deprecating legacy popupClassName, dropdownClassName, dropdownStyle, dropdownRender and onDropdownVisibleChange APIs. #53243 @aojunhao123
  • 🆕 FloatButton supports tooltip props. #53138 @Wxh16144
  • 🆕 Table rowSelection support align prop. #53127 @zombieJ
  • 🆕 options prop of Radio.Group and Checkbox.Group support classNames. #52917 @li-jia-nan
  • ⚡️ Optimize ColorPicker components to use derived state pattern instead of setState in useEffect. #53701 @DDDDD12138
  • 🐞 Fix Checkbox that render empty dom when children is null. #53723 @li-jia-nan
  • 🐞 Fix Anchor that would refresh the page after clicking the anchor point. #53687 @765477020
  • Splitter
    • 🐞 Fix Splitter that multiple calls to onResizeEnd in lazy mode. #53708 @wanpan11
    • 🐞 Fix Splitter to use minimum value as fallback when historical value out of bound. #53703 @jjlstruggle
  • 💄 Fix Form that label is not middle align with input when not required and wrapped. #53552 @pre1ude
  • 🐞 Fix Tabs card type height not working correctly when using cardHeight token. #52837 @aojunhao123
  • 🛠 MISC:Refactor compatible code, use standard web API first, and downgrade to deprecated API when not compatibale #53107 @li-jia-nan
  • ⌨️ Opt Tour's aria-* props. #53345 @kiner-tang
  • ⌨️ MISC: Optimized closable component's aria props. #53410 @kiner-tang
  • 🗑 MISC: Deprecate destory* of some components for destroyOnHidden prop。 #53739 @li-jia-nan
  • Dropdown
  • 🗑 Deprecated dropdown* props in Cascader #53133 @aojunhao123
  • 🇨🇿 Add cs_CZ locale for QRCode and ColorPicker. #53741 @malda26

  • 🔥 新组件 Statistic.Timer,支持正计时和倒计时。#53401 @lcgash
  • 🆕 Tour 新增 actionsRender 属性,用于自定义操作按钮。#53067 @dengfuping
  • 🆕 Divider 组件新增 size 属性。#53570 @coding-ice
  • Collapse
  • 🆕 Upload 支持通过 pastable 属性粘贴上传文件。#53463 @madocto
  • 🆕 AutoComplete 组件新增 popup 语义节点,支持通过 classNames.popupstyles.popuppopupRenderonPopupVisibleChange 自定义弹出菜单,并废弃旧的 popupClassNamedropdownClassNamedropdownStyledropdownRenderonDropdownVisibleChange API。#53257 @aojunhao123
  • 🆕 Cascader 组件新增 popup 语义节点,并且废弃部分 props。#53311 @aojunhao123
  • 🆕 ConfigProvider 支持设置 Button 的 variantcolor 属性。#53165 @yellowryan
  • 🆕 TreeSelect 组件新增 popup 语义节点,并且废弃部分 props。#53285 @aojunhao123
  • 🆕 DatePicker 和 TimePicker 组件新增 popup 语义节点,并且废弃部分 props。#53718 @aojunhao123
  • 🆕 Select 组件新增 popup 语义节点,支持通过 classNames.popupstyles.popuppopupRenderonPopupVisibleChange 自定义弹出菜单,并废弃旧的 popupClassNamedropdownClassNamedropdownStyledropdownRenderonDropdownVisibleChange API。#53243 @aojunhao123
  • 🆕 FloatButton 支持 tooltip 属性。#53138 @Wxh16144
  • 🆕 Table rowSelection 支持 align 属性用于定位。#53127 @zombieJ
  • 🆕 Radio.Group 和 Checkbox.Group 组件的 options 属性支持传入 className 属性。#52917 @li-jia-nan
  • ⚡️ 优化 ColorPicker 组件,使用派生状态模式替代在 useEffect 中调用 setState。#53701 @DDDDD12138
  • 🐞 修复 Checkbox 组件 childrennull 的时候渲染多余 dom 的问题。#53723 @li-jia-nan
  • 🐞 修复 Anchor 组件点击锚点会刷新页面的问题。#53687 @765477020
  • Splitter
    • 🐞 修复 Splitter 组件在 lazy 模式下 onResizeEnd 被多次调用问题。#53708 @wanpan11
    • 🐞 修复 Splitter 组件,当历史值超出范围时使用面板设置的最小值最为兜底值。#53703 @jjlstruggle
  • 🐞 修复 Tabs 组件卡片类型页签在使用 cardHeight token 时高度设置不正确的问题。#52837 @aojunhao123
  • 💄 修复 Form 组件中非必选的 label 换行不对齐的问题。#53552 @pre1ude
  • 🛠 杂项:重构兼容逻辑,优先使用标准 Web API,不兼容的时候降级为废弃 API。#53107 @li-jia-nan
  • ⌨️ 优化 Tour 的 aria-* 属性。#53345 @kiner-tang
  • ⌨️ 杂项:优化可关闭组件的无障碍属性。#53410 @kiner-tang
  • 🗑 杂项:废弃多个可开关组件的 destory* 属性,统一为 destroyOnHidden#53739 @li-jia-nan
  • Dropdown
    • 🗑 废弃 Dropdown 组件的 destroyPopupOnHide,统一为 destroyOnClose API。#53533 @li-jia-nan
    • 🗑 废弃 Dropdown 中 dropdownRender 属性,用 popupRender 替代。#53263 @aojunhao123
  • 🗑 废弃 Cascader 组件的 dropdown* 等属性。#53133 @aojunhao123
  • 🇨🇿 添加 QRCode 和 ColorPicker 的捷克语(cs_CZ)支持。#53741 @malda26

Don't miss a new antd release

NewReleases is sending notifications on new releases.