yarn antd 5.12.0

latest releases: 5.22.0, 5.21.6, 5.21.5...
11 months ago
  • 🔥 Component Token support CSS variables mode. For more detail, see CSS Variables. Special thank for contributors of this feature: @li-jia-nan @RedJue @c0dedance @kiner-tang @JarvisArt @cc-hearts
  • 🛠 Refactor rc-pagination from class component to FC. #46204 @Wxh16144
  • 🆕 Alert could support linear-gradient background by colorInfoBg token. #46188
  • 🆕 Form.useWatch support selector function param. #46180 @crazyair
  • 🆕 Slider support onChangeComplete and deprecate onAfterChange. #46182 @MadCcc
  • 🆕 Tabs items support icon prop. #46096 @li-jia-nan
  • 🆕 Tour supports getPopupContainer property. #45751 @li-jia-nan
  • 🆕 Switch support for value and defaultValue props. #45747 @Wxh16144
  • 🐞 Fix that clicking Form tooltip icon should not trigger Switch. #46155
  • 🐞 Fix Notification that icon should have line-height. #46148 @MadCcc
  • 🐞 Fix Progress that gradient in line should follow percent. #46209 @MadCcc
  • 💄 Button could be customized to gradient style. #46192
  • 💄 Fix style of InputNumber with addon inside Space.Compact. #46130 @MadCcc
  • TypeScript
    • 🤖 Update FloatButtonProps type with React.DOMAttributes in FloatButton. #46175 @li-jia-nan

  • 🔥 Component Token 支持 CSS 变量模式,详情见 使用 CSS 变量。感谢以下同学对此的贡献:@li-jia-nan @RedJue @c0dedance @kiner-tang @JarvisArt @cc-hearts
  • 🛠 rc-pagination 重构为 FC。#46204 @Wxh16144
  • 🆕 Form.useWatch 支持 selector 函数参数调用。#46180 @crazyair
  • 🆕 Slider 组件支持 onChangeComplete 事件,并废弃 onAfterChange#46182 @MadCcc
  • 🆕 Tabs 配置项 items 支持 icon 属性。#46096 @li-jia-nan
  • 🆕 Switch 支持 value and defaultValue 属性。#45747 @Wxh16144
  • 🐞 修复 Progress 进度条视觉效果,渐变效果应该随着百分比改变。#46209 @MadCcc
  • 🐞 修复点击 Form tooltip 图标会触发 Switch 切换的问题。#46155
  • 🐞 修复 Notification 图标行高为 0 的问题。#46148 @MadCcc
  • 💄 Button 按钮支持自定义为渐变色风格。#46192
  • 💄 Alert 背景色现在可以通过 colorInfoBg token 定义为渐变色。#46188
  • 💄 修复 InputNumber 带有 addon 时在 Space.Compact 下使用的样式问题。#46130 @MadCcc
  • TypeScript
    • 🤖 更新 FloatButton 的类型定义,透出原生事件处理函数类型。#46175 @li-jia-nan

Don't miss a new antd release

NewReleases is sending notifications on new releases.