yarn antd 5.8.0

latest releases: 5.21.0, 5.20.6, 5.20.5...
13 months ago
  • 🔥 Component Token support algorithm to calculate derivative tokens same as global. #43810 @MadCcc
  • 🔥 Modal hooks function support await call. #43470
  • 🔥 ConfigProvider support wave to customize wave effect. #43784
  • 🆕 Form support getFieldsValue({ strict: true }) to support only Item bind values. #43828
  • 🆕 Descriptions support items prop. #43483 @RedJue
  • 🆕 ColorPicker support disabledAlpha prop. #43355 @RedJue
  • 🆕 Avatar.Group support shape prop. #43817 @li-jia-nan
  • 🆕 AutoComplete/Cascader/DatePicker/Input.Textarea/TimePicker/TreeSelect support allowClear prop to customize clear button。#43582 @kiner-tang
  • 🆕 RangePicker presets support callback functions. #43476 @Wxh16144
  • 🆕 Added the preview={{ movable: Boolean }} prop to the Image component to support dragging and dropping into folders. #43823 @linxianxi
  • 🆕 Slider tooltip support autoAdjustOverflow prop. #43788
  • 🆕 Added the selectionsIcon property to the Transfer component to support custom icons for the dropdown menu. #43773 @li-jia-nan
  • 🗑 Select, Tree-Select and Cascader deprecated showArrow prop. Now suffix arrow should be configured with suffixIcon. #43520 @MuxinFeng
  • 🐞 Optimized the import method for @ant-design/icons to avoid importing all icons. #43915 @ssxenon01
  • 🐞 Fix Anchor not trigger getCurrentAnchor when scroll. #43916
  • 🐞 Fix Tooltip hover not trigger on disabled element. #43872
  • 🐞 Fix ColorPicker not calling onChangeComplete callback when changing value. #43867 @RedJue
  • 🐞 Fix Modal.confirm locale setting were reset. #43277 @Yuiai01
  • 🐞 Fix Slide description info and slider handle overlap issue. #43780 @Wxh16144
  • 🐞 Fix InputNumber handler style in large size. #43875 @yee94
  • 🐞 Fix Select popup flip position motion not correct. #43764
  • 💄 Fix when using with other component libraries that use @ant-design/cssinjs, antd styles will always be inserted at the top to avoid style override issues caused by loading order. #43847
  • 💄 Optimize message and notification to not to extract style in SSR. #43808
  • ⌨️ Fix Select aria-activedescendant didn't conform to valid value. #43800
  • ⌨️ Fix Layout.Header accessibility role. #43749 @khalibloo
  • TypeScript
    • 🤖 Form.Item support for generic pairs name props verification. #43904 @crazyair

  • 🔥 组件 Token 支持配置 algorithm 参数,添加配置即可像全局 Token 一样由部分修改的 token 计算派生 token 的值并用于组件样式中。#43810 @MadCcc
  • 🔥 Modal hooks 方法支持 await 调用。#43470
  • 🔥 ConfigProvider 支持 wave 配置以自定义水波纹效果。#43784
  • 🆕 Form 新增 getFieldsValue({ strict: true }) 以支持获取仅通过 Item 绑定的字段。#43828
  • 🆕 Descriptions 支持 items 属性。#43483 @RedJue
  • 🆕 ColorPicker 支持 disabledAlpha 属性。#43355 @RedJue
  • 🆕 Avatar.Group 支持设置 shape 属性。#43817 @li-jia-nan
  • 🆕 AutoComplete/Cascader/DatePicker/Input.Textarea/TimePicker/TreeSelect 组件均已支持通过 allowClear.clearIcon 属性自定义清除按钮。#43582 @kiner-tang
  • 🆕 RangePicker presets 属性支持回调函数。#43476 @Wxh16144
  • 🆕 Image 新增 preivew={{ movable: Boolean }} 属性以支持可拖拽到文件夹。#43823 @linxianxi
  • 🆕 Slider tooltip 支持配置 autoAdjustOverflow 属性。#43788
  • 🆕 Transfer 组件新增 selectionsIcon 属性以支持自定义下拉菜单图标。#43773 @li-jia-nan
  • 🗑 Select、Tree-Select 和 Cascader 组件废弃 showArrow 属性,可由 suffixIcon 统一配置。#43520 @MuxinFeng
  • 🐞 优化 @ant-design/icons 导入写法以避免 Tree Shaking 在 Next.js 中失效的问题。#43915 @ssxenon01
  • 🐞 修复 Anchor 在滚动时无法触发 getCurrentAnchor 的问题。#43916
  • 🐞 修复 Tooltip hover 时无法在 disabled 元素上触发的问题。#43872
  • 🐞 修复 ColorPicker 在更改值时未调用 onChangeComplete 回调的问题。#43867 @RedJue
  • 🐞 修复 Modal.confirmlocale 设置被重置的问题。#43277 @Yuiai01
  • 🐞 修复 Slider 中描述信息和滑块手柄重叠问题。#43780 @Wxh16144
  • 🐞 修复 Select 弹出框翻转时动画不正确的问题。#43764
  • 🐞 修复 InputNumber 在圆角不同下的样式异常。#43875 @yee94
  • 💄 修复和其他使用 @ant-design/cssinjs 的组件库混合使用,antd 的样式总是会插入在最前面,以避免加载顺序导致的样式覆盖问题。#43847
  • ⌨️ 修复 Select aria-activedescendant 缺少有效值的问题。#43800
  • ⌨️ 修复 Layout.Header a11y role 属性。#43749 @khalibloo
  • 💄 优化 message 和 notification 渲染逻辑,现在在 SSR 环境下不会导出样式。#43808
  • TypeScript

Don't miss a new antd release

NewReleases is sending notifications on new releases.