npm antd 5.7.0

latest releases: 5.20.6, 5.20.5, 5.20.4...
14 months ago
  • 🆕 ConfigProvider now supports className and style properties for all components. Thanks to @Yuiai01, @li-jia-nan, @MuxinFeng for their contributions.
  • 🆕 Badge now supports classNames and styles properties. #43245 @li-jia-nan
  • 🆕 ColorPicker now supports new features such as showText, destroyTooltipOnHide, onChangeComplete, panelRender and size.
  • 🆕 Alert, Drawer, Modal, Notifaction, Tag, Tabs now support hiding the close button by setting closeIcon to null or false. #42828 @kiner-tang
  • 🆕 Image supports imageRender, toolbarRender attributes to support custom rendering of preview images and toolbars, also supports new props such as onTransform, minScale, maxScale. Image.PreviewGroup supports items attribute to pass in list data, and fixes that the native attributes of the img tag are not passed to preview images The problem. #43075 @linxianxi
  • 🆕 Modify the layout style of the Image preview, the preview attribute supports closeIcon, Image.PreviewGroup supports the fallback attribute, and fixes the problem of loading preview resources in advance. #43167 @linxianxi
  • 🆕 Changed the layout style, Preview now supports closeIcon, PreviewGroup now supports fallback, and fixed an issue where preview resources would be loaded at the beginning.#43167 @linxianxi
  • 🛠 InputNumber was refactored to use rc-input. (#42762)。#42762 @muxin
  • 🛠 Resolved Circular dependency issue in vite, rollup, meteor and microbundle. #42750. Thanks to @jrr997, @kiner-tang and @MuxinFeng for their contributions.
  • 🐞 Remove default values (empty string) of className prop in Anchor, CollapsePanel, and Input.Group. #43481 @thinkasany
  • 🐞 Fix Upload progress bar missing fade motion. #43471
  • 🐞 Added warning for deprecated Token colorItemBgSelected in Menu.#43461 @MadCcc
  • 🐞 Fixed an issue where some browsers had scroll bars that were not redrawn when style feature support was detected.#43358 @LeeeeeeM
  • 🐞 Fixed an issue where the Tab component of Card would not be displayed at all when tabList is empty.#43416 @linxianxi
  • 🐞 Fixed an issue where the `form.validateMessages`` configuration would be lost when using ConfigProvider nestedly.#43239 @Wxh16144
  • 🐞 Fixed an issue where the ripple effect of Tag click would sometimes be offset from the Tag element.#43402
  • 🐞 Fixed an issue where clicking "now" in DatePicker when switching to the year-month panel would not work.#43367 @Yuiai01
  • 🐞 Fixed an issue where the height set for the TextArea component would become invalid when the screen size changed.#43169 @MadCcc
  • 💄 In Slider, the tooltip should be centered when there is little content. #43430 @Jomorx
  • 💄 Added colorLink to the seed token, and colorLinkHover and colorLinkActive will be calculated from colorLink.#43183 @MadCcc
  • 💄 Adjusted some tokens in Slider to component tokens. #42428 @heiyu4585 RTL#42428 @heiyu4585
  • RTL
    • 🤖 Progress now supports animations in rtl direction.#43316 @Yuiai01
  • TypeScript

  • 🆕 ConfigProvider 支持所有组件的 classNamestyle 属性控制。感谢 @Yuiai01@li-jia-nan@MuxinFeng 的贡献。
  • 🆕 Badge 支持 classNames 属性和 styles 属性。#43245 @li-jia-nan
  • 🆕 ColorPicker 支持 showTextdestroyTooltipOnHideonChangeCompletepanelRendersize 等新特性。
  • 🆕 Alert、Drawer、Modal、Notifaction、Tag、Tabs 均已支持通过设置 closeIcon 为 null 或 false 隐藏关闭按钮。 #42828 @kiner-tang
  • 🆕 Anchor 添加 replace 属性。#43006 @ds1371dani
  • 🆕 Image 支持 imageRendertoolbarRender 属性以支持预览图和工具栏的自定义渲染,还支持了 onTransformminScalemaxScale 等新属性,Image.PreviewGroup 支持 items 属性传入列表数据,并修复了 img 标签的原生属性没有传递给预览图的问题。#43075 @linxianxi
  • 🆕 修改 Image 预览图的布局风格,preview 属性支持 closeIcon,Image.PreviewGroup 支持 fallback 属性,修复加载预览资源提前加载的问题。#43167 @linxianxi
  • 🛠 InputNumber 使用 rc-input 进行重构。#42762 @muxin
  • 🛠 解决 vite、rollup、meteor、microbundle 等构建工具中遇到的循环依赖问题,并增加相关的检测。#42750,感谢 @jrr997@kiner-tang@MuxinFeng 的贡献。
  • 🐞 移除 Anchor/CollapsePanel/Input.Group 组件中 className 属性的默认值(空字符串)。 #43481 @thinkasany
  • 🐞 修复 Upload 上传进度条延迟消失且丢失动画效果的问题。#43471
  • 🐞 为 Menu 中组件 Token colorItemBgSelected 添加废弃警告。#43461 @MadCcc
  • 🐞 修复样式特性支持检测时部分浏览器因为未重绘导致出现滚动条的问题。#43358 @LeeeeeeM
  • 🐞 修复 Card tabList 为空时 Tab 完全不展示的问题。#43416 @linxianxi
  • 🐞 修复 ConfigProvider 嵌套使用时,form.validateMessages 配置会丢失的问题。#43239 @Wxh16144
  • 🐞 修复 Tag 点击的水波纹效果有时候会和 Tag 元素产生偏移的问题。#43402
  • 🐞 修复 DatePicker 切换到年月面板时,此刻 点击无效的问题。#43367 @Yuiai01
  • 🐞 修复 TextArea 组件在屏幕大小变化时设置的高度失效的问题。#43169 @MadCcc
  • 💄 Slider 中 tooltip 在内容很少时应该居中。#43430 @Jomorx
  • 💄 将 colorLink 添加至 seed token 中, colorLinkHovercolorLinkActive 将会由 colorLink 计算得出。#43183 @MadCcc
  • 💄 调整 Slider 中部分 token 为 component token。#42428 @heiyu4585
  • RTL
  • TypeScript

Don't miss a new antd release

NewReleases is sending notifications on new releases.