npm antd 5.18.0

latest releases: 5.22.1, 5.22.0, 5.21.6...
5 months ago
  • 🛎 Fix Button icon and text align issue by changing inline-block to inline-flex and simplify iconPosition implementation. #47318
  • Drawer
    • 🆕 Drawer add drawerRender property to control render. #49125 @crazyair
    • 🛠 Drawer loading implementation changes to Skeleton from Spin. #48886 @li-jia-nan
  • Form
    • 🆕 Form.Item add layout property to toggle layout mode. #49119 @crazyair
    • 🆕 Form ref property supports to access the native element. #48841 @wanpan11
    • 🆕 Form add clearOnDestroy property to clear form data when destroy. #48921 @crazyair
  • Image
    • 🆕 Image add onReset and onClose properties. #48936 @kiner-tang
    • 🆕 Image supports get imgInfo from arguments of toolbarRender and imageRender render functions. #48729 @nova1751
  • notification
    • 🆕 notification add pauseOnHover property to pause the timer. #49024 @yociduo
    • 🆕 notification add showProgress property to show the progress bar. #48353 @yociduo
  • Progress
  • 🆕 Avatar.Group add max property for replace maxCountmaxStylemaxPopoverPlacement and maxPopoverTrigger properties. #49131 @wanpan11
  • 🆕 Modal add loading property to show the skeleton. #48848 @li-jia-nan
  • 🆕 Rate add keyboard property to ignore keyboard events. #49132 @Wxh16144
  • 🆕 Spin support percent to render as progress. #48657
  • 🐞 Watermark add overflow: hidden style to prevent set height: 0 to hide the watermark case. #49130
  • 🐞 Anchor fix scroll animation lost bug when set replace property. #49136 @mySkey
  • 🐞 Tour fix current argument of onClose is wrong. #49124
  • 💄 List.Item add styles and className properties. #49154 @wanpan11
  • 🇯🇵 DatePicker add missing ja_JP translations. #49155 @huyikai
  • 🛠 Simplify several logics and type definitions. #49146 #49156 #49169 #49162 @coding-ice

  • 🛎 Button 默认布局由 inline-block 切换为 inline-flex 以修复图标和文字对齐问题,并简化了 iconPosition 的实现。#47318
  • Drawer
    • 🆕 Drawer 新增 drawerRender 属性以支持自定义渲染。#49125 @crazyair
    • 🛠 Drawer 加载中的状态实现由 Spin 替换为 Skeleton。#48886 @li-jia-nan
  • Form
    • 🆕 Form.Item 新增 layout 属性以切换布局方式。#49119 @crazyair
    • 🆕 Form 的 ref 属性支持获取原生节点。#48841 @wanpan11
    • 🆕 Form 新增 clearOnDestroy 属性以在卸载时清空表单数据。#48921 @crazyair
  • Image
    • 🆕 Image 新增 onResetonClose 属性。#48936 @kiner-tang
    • 🆕 Image 的 toolbarRenderimageRender 渲染函数入参新增 ImgInfo 信息。#48729 @nova1751
  • notification
    • 🆕 notification 增加 pauseOnHover 属性以暂停计时器。#49024 @yociduo
    • 🆕 notification 新增 showProgress 属性以显示进度条。#48353 @yociduo
  • Progress
  • 🆕 Avatar.Group 新增 max 属性以替代 maxCountmaxStylemaxPopoverPlacementmaxPopoverTrigger#49131 @wanpan11
  • 🆕 Modal 新增 loading 属性以展示加载中的状态。#48848 @li-jia-nan
  • 🆕 Rate 新增 keyboard 属性以支持禁用键盘事件。#49132 @Wxh16144
  • 🆕 Spin 支持 percent属性以进度形态展示。#48657
  • 🐞 Watermark 添加 overflow: hidden 样式以防止通过设置 height: 0 样式达到隐藏水印的效果。#49130
  • 🐞 Anchor 修复设置 replace 属性时滚动动画丢失的问题。#49136 @mySkey
  • 🐞 Tour 修复 onClosecurrent 参数错误的问题。#49124
  • 💄 List.Item 增加 stylesclassNames 属性。#49154 @wanpan11
  • 🇯🇵 DatePicker 补充 ja_JP 本地化文案。#49155 @huyikai
  • 🛠 精简数处判断逻辑及类型定义。#49146 #49156 #49169 #49162 @coding-ice

Don't miss a new antd release

NewReleases is sending notifications on new releases.