Skip to content

Releases: ant-design/ant-design

5.13.1

15 Jan 08:48
995612b
Compare
Choose a tag to compare
  • 🐞 Fix Checkbox type error with @types/react version 16 or 17. #46962 @crazyair

  • 🐞 修复 Checkbox 组件在 @types/react 16 或 17 版本下 Typescript 报错。#46962 @crazyair

5.13.0

13 Jan 09:18
8555d3d
Compare
Choose a tag to compare
  • 🔥 Form support variant to control components variant inside. #46573
  • 🆕 QRCode support status adds a new scanned option. #46704
  • 🆕 Table support hidden to set hidden columns. #46957 @madocto
  • 🆕 Select support the maxCount, which is used to set the maximum selectable value. #46667
  • 🆕 Mentions support allowClear for setting the clearing function. #46396 @yociduo
  • 🆕 ColorPicker support displaying cleared status. #45993
  • 🆕 Drawer adds styles.wrapper and discards the contentWrapperStyle drawerStyle maskStyle attributes, and simplifies the dom structure. #46858
  • Tour
    • 🆕 Tour support disabledInteraction, which is used to disable the interactive behavior of the highlighted area. #46304
    • 🐞 Fixed the issue where modifying pointAtCenter under the arrow attribute of the Tour component does not take effect. #46301
  • Tabs
    • 🆕 Tabs support the indicator: { align: xxx } attribute, which is used to set the alignment of the Tabs indicator bar. #46786
    • 🛠 Tabs deprecated the indicatorSize attribute and replaced it with indicator: { size: xxx }. #46786
  • ConfigProvider
    • 🆕 ConfigProvider adds ConfigProvider.config to support holderRender for message modal notification static method setting Provider. #46596
    • 🆕 ConfigProvider support the indicator: { align: xxx } attribute, which is used to set the alignment of the Tabs indicator bar. #46786
    • 🛠 ConfigProvider deprecated the Tabs indicatorSize attribute and replaced it with indicator: { size: xxx }. #46786
  • 🐞 Fix the problem of Segmented content being obscured in hover and active. #46925 @madocto
  • 🐞 Fixed the problem that the customized font size of Checkbox does not take effect under Form. #46904
  • 🐞 Fixed the issue where the Radio component configuration title did not take effect. #46809
  • 🐞 Fixed Input hover style in css var mode. #46946
  • 💄 Fixed the problem of abnormal display of Dropdown style under multi-level menu. #46888
  • 🛠 Refactor the popup panel logic of the ColorPicker component to avoid style conflicts when customizing using panelRender. #46327
  • TypeScript
    • 🆕 MISC: Export GetProp GetProp GetRef tool methods to facilitate developers to obtain unexported type definitions. #46923
    • 🆕 Checkbox.Group now supports generic configurable options.value. #46423 @daledelv
  • 🌈 Token
    • 🆕 Button support the contentLineHeight series of tokens. #46936
    • 🆕 Input support inputFontSize token. #46875
    • 🆕 Menu support darkPopupBg token. #46618
    • 🆕 Segmented support trackPadding and trackBg token. #46674
    • 🐞 Fix the problem that paddingBlock does not take effect after customizing contentFontSize token in Button component. #46901
    • 🐞 Fixed the issue where the InputNumber component cannot customize the padding token. #46878
  • 🌐 Localization

  • 🔥 Form 组件新增 variant 属性用于设置内部组件形态变体。#46573
  • 🆕 QRCode 组件 status 新增已扫描选项。#46704
  • 🆕 Table 组件新增 hidden 属性可设置隐藏列。#46957 @madocto
  • 🆕 Select 组件新增支持 maxCount 属性,用于设置最大可选。#46667
  • 🆕 Mentions 组件新增 allowClear 属性,用于设置清除功能。#46396 @yociduo
  • 🆕 ColorPicker 新增支持显示清空状态。#45993
  • 🆕 Drawer 组件新增 styles.wrapper 并废弃 contentWrapperStyle drawerStyle maskStyle 属性,并简化 dom 结构。#46858
  • Tour
    • 🆕 Tour 新增 disabledInteraction 属性,用于禁用高亮区域的交互行为。#46304
    • 🐞 修复 Tour 组件在 arrow 属性下修改 pointAtCenter 不生效的问题。#46301
  • Tabs
    • 🆕 Tabs 组件支持 indicator: { align: xxx } 属性,用于设置 Tabs 指示条对齐方式。#46786
    • 🛠 Tabs 组件废弃 indicatorSize 属性,改为 indicator: { size: xxx } 代替。#46786
  • ConfigProvider
    • 🆕 ConfigProvider 组件新增 ConfigProvider.config 支持 holderRender,用于 message modal notification 静态方法设置 Provider#46596
    • 🆕 ConfigProvider 组件支持 indicator: { align: xxx } 属性,用于设置 Tabs 指示条对齐方式。#46786
    • 🛠 ConfigProvider 组件废弃 Tabs 组件的 indicatorSize 属性,改为 indicator: { size: xxx } 代替。#46786
  • 🐞 修复 Segmented 在 hoveractive 内容被遮挡的问题。#46925 @madocto
  • 🐞 修复 Checkbox 定制字体大小在 Form 下不生效的问题。#46904
  • 🐞 修复 Radio 组件配置 title 未生效的问题。#46809
  • 🐞 修复 Input 组件在 css 变量模式下的悬浮态样式问题。#46946
  • 💄 修复 Dropdown 在多级菜单下样式显示异常的问题。#46888
  • 🛠 重构 ColorPicker 组件弹出面板逻辑,避免使用 panelRender 自定义时样式冲突的问题。#46327
  • TypeScript
    • 🆕 MISC: 导出 GetProp GetProp GetRef 工具方法,便于开发者获取未导出的类型定义。#46923
    • 🆕 Checkbox.Group 新增支持范型可配置 options.value#46423 @daledelv
  • 🌈 Token
    • 🆕 Button 组件新增支持 contentLineHeight 系列 token。#46936
    • 🆕 Input 组件新增支持 inputFontSize token。#46875
    • 🆕 Menu 组件新增支持 darkPopupBg token。#46618
    • 🆕 Segmented 组件新增 trackPaddingtrackBg token。#46674
    • 🐞 修复 Button 组件定制 contentFontSize token 后 paddingBlock 不生效的问题。#46901
    • 🐞 修复 InputNumber 组件无法定制 padding token 的问题。#46878
  • 🌐 国际化

5.12.8

05 Jan 10:24
a72ea64
Compare
Choose a tag to compare
  • 🐞 Fix Upload.Dragger not align center and focus ring style. #46810
  • 🐞 Fix Popconfirm config empty okText and cancelText will not fallback to locale text. #46812
  • 🐞 Fix Progress that line border-radius cannot be overrided. #46789
  • 🐞 Fix Typography without children has extra margin-left when copyable is true. #46748
  • 🐞 Fix Typography copied icon color. #46748

  • 🐞 修复 Upload.Dragger 内容不居中和多余的 focus 样式的问题。#46810
  • 🐞 修复 Popconfirm 配置空的 okTextcancelText 时不会被预设 locale 兜底的问题。#46812
  • 🐞 修复 Progress 线性模式圆角无法覆盖的问题。#46789
  • 🐞 修复 Typography 没有 children 并启用 copyable 时多余的 margin。#46748
  • 🐞 修复 Typography 复制成功后的图标颜色问题。#46748

5.12.7

02 Jan 11:53
3fc65a0
Compare
Choose a tag to compare
  • 🐞 MISC: Fix error caused by upgrading @ctrl/tinycolor@4.0.2. #46744 @MadCcc
  • 🐞 Fix Mentions item height bug. #46737

  • 🐞 MISC: 修复升级 @ctrl/tinycolor@4.0.2 导致的错误。#46744 @MadCcc
  • 🐞 修复 Mentions 选项高度偏大的问题。#46737

5.12.6

31 Dec 05:14
d9f3867
Compare
Choose a tag to compare
  • 🐞 Fix Upload accessibility issue of tabbing twicely. #46432
  • 🐞 Fix Modal footer Button duplicated gap style. #46702
  • Select
    • 🐞 Fix Select that scrollbar do not display in some case. #46696 @MadCcc
    • 💄 Optimize Select style of multiple selection. #46646 @MadCcc
  • Tree
  • 🐞 Fix Layout.Sider will collapse when trigger printer. #46650 @anilpixel
  • 🐞 Fix Table style with edge shadow overflow. #46644 @Fatpandac
  • 🐞 Typography.Text should update the Tooltip when the width changes. #46613 @linxianxi
  • 🐞 Fix Tooltip, Popover or other popup like component arrow issue when in nest case. #46294 @bestlyg
  • TypeScript

  • 🐞 修复 Upload 组件包裹 Button 时 Tab 键会聚焦两次的问题。#46432
  • 🐞 修复 Modal footer 内 Button 可能重复的边距样式问题。#46702
  • Select
    • 🐞 修复 Select 组件滚动条在某些条件下不会显示的问题。#46696 @MadCcc
    • 💄 优化 Select 组件多选时选项样式。#46646 @MadCcc
  • Tree
    • 🐞 修复 Tree 组件滚动条在某些条件下不会显示的问题。#46672 @yyz945947732
    • 💄 优化 Tree 组件 TreeNode 节点聚焦样式。#46608 @MadCcc
  • 🐞 修复触发打印时,Layout.Sider 会收起的问题。#46650 @anilpixel
  • 🐞 修复 Table 边缘阴影会超出 Table 高度。#46644 @Fatpandac
  • 🐞 修复 Typography.Text 省略模式下修改宽度 Tooltip 不会触发的问题。#46613 @linxianxi
  • 🐞 修复 Tooltip、Popover 等弹出组件嵌套使用时,箭头样式问题。#46294 @bestlyg
  • TypeScript

5.12.5

22 Dec 11:46
59b5841
Compare
Choose a tag to compare
  • 💄 Fix Tabs style issue of editable mode when there is only "new" button left. #46585 @hzyhbk
  • 💄 Fix Progress style issue of line mode with strokeLinecap. #46551 @ZN1996
  • 🐞 Fix ColorPicker not support prefixCls. #46561

  • 💄 修复 Tabs 在 可编辑模式下只剩新增按钮时的样式问题。#46585 @hzyhbk
  • 💄 修复 Progress strokeLinecap 不生效的问题。#46551 @ZN1996
  • 🐞 修复 ColorPicker 配置 prefixCls 不生效的问题。#46561

5.12.4

19 Dec 12:30
03ac98a
Compare
Choose a tag to compare
  • 🐞 Fix DatePicker style in cssVar mode. #46526

  • 🐞 修复 DatePicker 组件在 CSS 变量模式下的样式错乱问题。#46526

5.12.3

18 Dec 11:48
49e6045
Compare
Choose a tag to compare
  • 💄 修复 Tag 组件在 SSR 场景下的样式丢失问题。#46500 @MadCcc
  • 🐞 Upload 的 disabled 属性不再对下载按钮生效。#46454
  • 💄 Upload.Dragger 增加一个水平内边距。#46457
  • 🐞 修复 Upload actions 的颜色问题。#46456
  • 🐞 修复 Form 使用 getValueProps 展示值无法更新的问题。#46445
  • 💄 修复 Checkbox 自定义 token.lineWidth 时勾选箭头错位问题。#46431
  • 🐞 修复 Select 组件定制 token 会让 padding 失效的问题。#46427 @MadCcc
  • 🐞 修复 Message 在 cssVar 模式下覆盖组件 token 无效的问题。#46415 @MadCcc
  • 💄 Flex 组件不应该应用额外的样式。#46404 @li-jia-nan

  • 💄 Fix Tag that style would be missing in SSR. #46500 @MadCcc
  • 🐞 Upload disabled prop should not affect download icon. #46454
  • 💄 Upload.Dragger add vertical padding style. #46457
  • 🐞 Fix Upload actions color issue. #46456
  • 🐞 Fix Form with getValueProps not working with value update. #46445
  • 💄 Fix Checkbox style when customize token.lineWidth. #46431
  • 🐞 Fix Select that custom token make padding broken. #46427 @MadCcc
  • 🐞 Fix Message that token overrides not work in cssVar mode. #46415 @MadCcc
  • 💄 Fix Flex component don't apply extra style. #46404 @li-jia-nan

5.12.2

11 Dec 16:25
dcf9e64
Compare
Choose a tag to compare

  • 🐞 MISC: 修复 React 17 以下使用 webpack 构建时报错 useId 找不到的问题。#46261
  • Pagination
  • 🐞 修复 Table 筛选菜单在 CSS 变量模式下丢失背景色的问题。#46314
  • 🐞 优化 Spin 交互,全屏状态时禁止用户触发鼠标事件。#46303 @li-jia-nan
  • 🐞 修复 Form hideRequiredMark 属性的优先级低于 ConfigProvider 的 form 配置的问题。#46299 @linhf123
  • TypeScript
    • 🤖 修复 Descriptions TS 定义不支持 id 属性的问题。#46367 @RSS1102

5.12.1

04 Dec 12:49
e191962
Compare
Choose a tag to compare
  • 🐞 MISC: Fix missing color less variables converted from token. #46250
  • 🐞 Fix Notification title overlaps with the close icon when it is too long。 #46211 @zh-lx

  • 🐞 MISC: 修复 token 转换 less 变量丢失的问题。#46250
  • 🐞 修复 Notification 标题太长时会与关闭图标重叠的问题。#46211 @zh-lx