Skip to content

Releases: ant-design/ant-design

5.12.0

04 Dec 10:40
71ac290
Compare
Choose a tag to compare

  • 🔥 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

5.11.5

27 Nov 11:58
f38abb2
Compare
Choose a tag to compare

5.11.4

24 Nov 14:03
3fbed04
Compare
Choose a tag to compare
  • 🐞 Fix where Image sets z-index abnormally in nested Modal. #46035
  • 🐞 Fix Button that disabled link button should not have navigate options when right click. #46021
  • Card
    • 🛠 Refactor the Card internal method getAction into a function component. #46032
    • 🐞 Fix the problem of Card warning invalid annotation in Rollup. #46024
  • TypeScript
    • 🤖 Export the type definition for the required property of the Radio and Checkbox components. #46028 @nnmax

  • 🐞 修复 Image 在嵌套 Modal 中设置 z-index 异常的问题。#46035
  • 🐞 修复 Button 禁用的链接按钮右键点击时会有打开新链接选项的问题。#46021
  • Card
    • 🛠 把 Card 内部方法 getAction 重构为函数组件。#46032
    • 🐞 解决 Card 在 Rollup 中会警告 invalid annotation 的问题。#46024
  • TypeScript
    • 🤖 导出 Radio 和 Checkbox 组件的 required 属性的类型定义。#46028 @nnmax

5.11.3-alpha.1

23 Nov 03:02
ea56970
Compare
Choose a tag to compare

5.11.3-alpha.1

5.11.3

22 Nov 12:51
ce9041b
Compare
Choose a tag to compare
  • 🐞 Fix Modal static method create zIndex too high will cover other popup content. #46012
  • Image
  • 🐞 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

22 Nov 07:59
Compare
Choose a tag to compare
5.11.3-alpha.0 Pre-release
Pre-release
chore: for alpha release

4.24.15

21 Nov 15:18
916332c
Compare
Choose a tag to compare
  • 🐞 Fix Radio has wrong disabled state problem that affected by Form. #44837 @Yuiai01
  • 💄 Fix DatePicker disabled styles when hovered in Form. #44779 @crazyair

  • 🐞 修复 Radio 的 disabled 状态被 Form 的 disabled 覆盖的问题。#44837 @Yuiai01
  • 💄 修复 DatePicker 的 disabled 样式在 Form hover 场景下被覆盖的问题。#44779 @crazyair

5.11.2

17 Nov 10:32
aec6a80
Compare
Choose a tag to compare
  • 🆕 Table with virtual can now customize components except the components.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

  • 🆕 放开 Table virtualcomponents 的限制,现在除了 components.body 都可以自定义。#45857
  • 🐞 修复 Button 带有链接且禁用时可以被聚焦到的问题。#45910 @MadCcc
  • 🐞 修复 zIndex 逻辑,解决多层 Modal 打开时,message 与 notification 被遮盖的问题。#45911 #45864 @kiner-tang
  • 💄 修复 QRCode 设置 style.padding 时无效的问题。#45815
  • 💄 优化 Carousel 切换条圆角样式。#45817
  • TypeScript

5.11.1

09 Nov 15:12
f22f61d
Compare
Choose a tag to compare
  • 🐞 Fix Dropdown use wrong zIndex when nest items. #45761
  • 🐞 Fix Upload should show remove icon when showRemoveIcon is specified to true explicitly. #45752
  • 🐞 Fix Descriptions use children structure missing the Descriptions.Item key prop. #45757
  • 🐞 Fix Message that token specified in component scope not work. #45721 @MadCcc
  • 🐞 Fix Popconfirm not compatible with visible prop. #45702 @linhf123
  • 🐞 Fix Tag default background color not correct. #45711 @kiner-tang
  • 💄 Fix Notification that style.width not work. #45681 @MadCcc
  • 🐞 Fix App console unexpected attr warning when set component=false. #45671 @li-jia-nan
  • TypeScript

  • 🐞 修复 Dropdown 在嵌套列表时 zIndex 错误的问题。#45761
  • 🐞 修复 Upload 显式指定 showRemoveIcon: true 时删除图标未显示的问题。#45752
  • 🐞 修复 Descriptions 使用 children 结构语法糖时,会丢失 Descriptions.Item 的 key 的问题。#45757
  • 🐞 修复 Message 组件在组件范围设置全局 token 无效的问题。#45721 @MadCcc
  • 🐞 修复 Popconfirm 不兼容 visible 的问题。#45702 @linhf123
  • 🐞 修复默认 Tag 的背景颜色不正确的问题。#45711 @kiner-tang
  • 💄 修复 Notification 组件设置 style.width 无效的问题。#45681 @MadCcc
  • 🐞 修复 App 设置 component=false 时,会报非预期的属性警告的问题。#45671 @li-jia-nan
  • TypeScript

5.11.0

03 Nov 15:38
fe59bb0
Compare
Choose a tag to compare
  • Slider
    • 🆕 Slider will show tooltip when focus handler. #45653
    • 💄 Slider handler should be movable after click tracker. #45651
  • InputNumber
    • 🆕 InputNumber support changeOnBlur prop to disable trigger onChange event when blur. #45395
    • 🐞 Fix InputNumber in Form with hasFeedback that will lose focus when feedback icon appear. #45632 @MadCcc
    • 🐞 Fix InputNumber dynamic modify formatter not working. #45325
  • Table
    • 🆕 Table columnTitle support render function. #41937 @Zhou-Bill
    • 🛠 Refactor Table ref to support scrollTo to scroll to target key or index or top. #45245
  • Tabs
    • 🆕 Tabs items support tab pane level destroyInactiveTabPane. #45359
    • 🐞 Fix Tabs overflow blinking when Tab bar has decimal width. #45370
  • ConfigProvider
    • 🆕 ConfigProvider support RangePicker className and style properties. #45479 @chenzhuo198
    • 🆕 ConfigProvider support Dropdown className and style properties. #45621 @li-jia-nan
  • 🆕 ColorPicker preset prop support defaultOpen to control whether preset colors is open by default. #45607 @Wxh16144
  • 🆕 Select support optionRender prop. #45529 @RedJue
  • 🆕 Pagination support combine simple and showSizeChanger. #45538
  • 🆕 Spin support fullscreen to display as backdrop. #44986 @Rafael-Martins #45436 @li-jia-nan
  • 🆕 Form validateFields support dirty for validating touched and validated fields. #45389
  • 🆕 Watermark support inherit prop to disable watermark pass to Drawer and Modal. #45319
  • 🆕 App support component for customization. #45292
  • 🆕 Input and Input.TextArea support count custom character count (for example, fix emoji character length to 1); count.max supports out-of-range styles; restore emoji to native count to solve the problem of maxLength and value mismatch. #45140
  • 🐞 Fix Dropdown not trigger onOpenChange when click menu item to close the popup. #45378
  • 💄 Modal static function support styles. #45558 @KotoriK
  • 💄 Optimize z-index logic of popup components, and make them don't block each other by default. #45512 #45490 @kiner-tang

  • Slider
    • 🆕 Slider 聚焦滑块时现在会显示 Tooltip。#45653
    • 💄 优化 Slider 交互体验,点击轨道后可直接拖拽滑块。#45651
  • InputNumber
    • 🆕 InputNumber 添加 changeOnBlur 属性以支持在失去焦点时不触发 onChange 事件。#45395
    • 🐞 修复 InputNumber 组件在 Form 组件中使用并且启用 hasFeedback 时,反馈图标出现会使 InputNumber 失去焦点的问题。#45632 @MadCcc
    • 🐞 修复 InputNumber 动态改变 formatter 不生效的问题。#45325
  • Table
    • 🆕 Table 组件 columnTitle 支持传入 render 方法。#41937 @Zhou-Bill
    • 🛠 重构 Table ref 支持 scrollTo 以滚动到目标 keyindextop#45245
  • Tabs
    • 🆕 Tabs items 支持单个标签页设置 destroyInactiveTabPane#45359
    • 🐞 修复 Tabs 的标签宽度存在小数时,滚动会出现抖动的问题。#45370
  • ConfigProvider
    • 🆕 ConfigProvider 支持 RangePicker 组件的 classNamestyle 属性。#45479 @chenzhuo198
    • 🆕 ConfigProvider 支持 Dropdown 组件的 classNamestyle 属性。#45621 @li-jia-nan
  • 🆕 ColorPicker 组件 preset 新增 defaultOpen 属性,可控制预设颜色默认是否展开。#45607 @Wxh16144
  • 🆕 Select 组件支持 optionRender 方法。#45529 @RedJue
  • 🆕 Pagination 组件支持组合 simpleshowSizeChanger 使用。#45538
  • 🆕 Spin 组件新增 fullscreen 属性,支持全屏展示。#44986 @Rafael-Martins #45436 @li-jia-nan
  • 🆕 Form validateFields 支持 dirty 参数以校验被修改过和校验过的字段。#45389
  • 🆕 Watermark 支持 inherit 配置,关闭水印传导至弹出 Drawer 与 Modal。#45319
  • 🆕 App 支持 component 以自定义渲染元素。#45292
  • 🆕 Input 与 Input.TextArea 支持 count 自定义字符计数(例如固定 emoji 字符长度为 1);count.max 支持超出范围样式;将 emoji 计数还原为原生计数以解决 maxLengthvalue 不匹配的问题。#45140
  • 🐞 修复 Dropdown 在点击菜单项关闭弹出框时不会触发 onOpenChange 的问题。#45378
  • 💄 Modal 静态方法支持 styles 属性。#45558 @KotoriK
  • 💄 优化弹层组件的 z-index 逻辑,使其在默认情况下不会互相遮挡。#45512 #45490 @kiner-tang