Releases: ant-design/ant-design
Releases · ant-design/ant-design
5.12.2
- 🐞 MISC: Fix
useId
error when webpack build with React 17. #46261 - Pagination
- 🐞 Fix Pagination throws error in legacy browsers. react-component/pagination#545
- 🐞 Fix Pagination
current
not working insimple
mode. react-component/pagination#546
- 🐞 Fix Table filter dropdown lost background color in CSS variables mode. #46314
- 🐞 Prevent interaction when Spin component enable
fullscreen
prop. #46303 @li-jia-nan - 🐞 Fix Form
hideRequiredMark
prop's priority compared with ConfigProviderform
prop. #46299 @linhf123 - TypeScript
- 🐞 MISC: 修复 React 17 以下使用 webpack 构建时报错
useId
找不到的问题。#46261 - Pagination
- 🐞 修复 Pagination 在低版本浏览器上报错的问题。react-component/pagination#545
- 🐞 修复 Pagination
simple
模式下current
受控选中分页不生效的问题。react-component/pagination#546
- 🐞 修复 Table 筛选菜单在 CSS 变量模式下丢失背景色的问题。#46314
- 🐞 优化 Spin 交互,全屏状态时禁止用户触发鼠标事件。#46303 @li-jia-nan
- 🐞 修复 Form
hideRequiredMark
属性的优先级低于 ConfigProvider 的 form 配置的问题。#46299 @linhf123 - TypeScript
5.12.1
5.12.0
- 🔥 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 deprecateonAfterChange
. #46182 @MadCcc - 🆕 Tabs
items
supporticon
prop. #46096 @li-jia-nan - 🆕 Tour supports
getPopupContainer
property. #45751 @li-jia-nan - 🆕 Switch support for
value
anddefaultValue
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 withReact.DOMAttributes
in FloatButton. #46175 @li-jia-nan
- 🤖 Update
- 🔥 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
anddefaultValue
属性。#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
5.11.5
5.11.4
5.11.3-alpha.1
5.11.3-alpha.1
5.11.3
- 🐞 Fix Modal static method create
zIndex
too high will cover other popup content. #46012 - Image
- 🆕 Image preview support mobile touch interactive. #45989 @JarvisArt
- 🐞 Fixed Image preview
z-index
conflict when in a nested pop-up. #45979 @kiner-tang
- 🐞 Fix Collapse header cursor style. #45994
- 🐞 Fix ColorPicker not support Form disabled config. #45978 @RedJue
- 🐞 Fix Typography.Text
ellipsis.tooltip
cannot open under Layout component. #45962 - 🐞 Remove Select native 🔍 icon from search input in Safari. #46008
- 💄 Remove Rate useless style.#45927 @JarvisArt
- 🛠 UMD
antd.js
will try to reuse global@ant-design/cssinjs
first now. #46009 - 🌐 Improve
eu_ES
localization. #45928 @ionlizarazu
- 🐞 修复 Modal 静态方法创建
zIndex
过高会覆盖其他弹出内容的问题。#46012 - Image
- 🆕 Image 预览支持移动触摸事件交互。#45989 @JarvisArt
- 🐞 修复 Image 预览在嵌套弹框中
z-index
设置不正确的问题。#45979 @kiner-tang
- 🐞 修复 Collapse 可折叠区域鼠标
hover
样式问题。#45994 - 🐞 修复 ColorPicker 不支持 Form 组件的禁用问题。#45978 @RedJue
- 🐞 修复 Typography.Text
code
在 Layout 下开启ellipsis
时 tooltip 无效的问题。#45962 - 🐞 修复 Select 搜索框在 Safari 下显示多余的 🔍 图标。#46008
- 💄 删除 Rate 组件无用样式。 #45927 @JarvisArt
- 🛠 UMD 版本
antd.js
现在会优先使用全局的@ant-design/cssinjs
依赖。#46009 - 🌐 补充
eu_ES
国际化内容。#45928 @ionlizarazu
5.11.3-alpha.0
chore: for alpha release
4.24.15
5.11.2
- 🆕 Table with
virtual
can now customizecomponents
except thecomponents.body
. #45857 - 🐞 Fix Button with href and disabled that could be focused. #45910 @MadCcc
- 🐞 Fix
zIndex
logic problem that message and notification are covered when multiple Modal are opened. #45911 #45864 @kiner-tang - 💄 Fix QRCode
style.padding
is not working. #45815 - 💄 Optimize Carousel dots border radius style. #45817
- TypeScript