Skip to content

Releases: ant-design/ant-design

5.13.3

28 Jan 05:49
3365a84
Compare
Choose a tag to compare
  • Input
    • 🐞 Fix Input.Search width 1px smaller than Input. #47193
    • 🐞 Fix Input inside Space.Compact display incorrectly when showCount is true. #47112 @huiliangShen
  • 🐞 Fix Descriptions lost border style when item's children is falsy. #47191
  • 🐞 Fix Table column.onFilter don't work on tree table data. #47170 @Mumujianguang
  • 🐞 Fix Affix placeholder height anomaly when browser zoom is 80%. #46823 @zhipenglin
  • 🐞 Fix QRCode background color in dark mode. #47128 @kampiu
  • 🐞 Fix Statistic component don't support html role and data-* and aria-* attributes. #47149
  • 🐞 Fix Transfer inverting current page incorrectly. #47125 @linxianxi
  • 💄 Lower the priority of Button size styles. #47074 @crazyair
  • 🐞 Fix Modal conflicting props bettween classNames.wrapper and centered. #47076 @sunsunmonkey
  • 🐞 Fix false positive console warning for Spin with tip and fullscreen used together. #47015 @xsjcTony
  • 🗑 Remove unused PageHeader locale text and ConfigProvider pageHeader property. #47163 @li-jia-nan
  • 🛠 Refactor Drawer motion style code. #47194
  • Locales
    • 🇮🇹 Added missing it_IT translations for Tour component. #47148 @nikzanda
    • 🇯🇵 Added missing locale keys in ja_JP locale for Table filters. #47072 @sebastibe

  • Input
    • 🐞 修复 Input.Search 宽度比 Input 少 1px 的问题。#47193
    • 🐞 修复 Input 启用 showCount 时在 Space.Compact 下的样式错误。#47112 @huiliangShen
  • 🐞 修复 Descriptions 当 itemchildrennull 时丢失单元格右边框样式的问题。#47191
  • 🐞 修复 Table column.onFilter 方法未过滤树形数据的问题。#47170 @Mumujianguang
  • 🐞 修复 Affix 在 Chrome 缩放 80% 的情况下占位高度异常的问题。#46823 @zhipenglin
  • 🐞 修复 QRCode 在暗黑模式下的背景色。#47128 @kampiu
  • 🐞 修复 Statistic 组件不支持 HTML roledata-*aria-* 等属性的问题。#47149
  • 🐞 修复 Transfer 反选当页错误的问题#47125 @linxianxi
  • 💄 降低 Button size 样式权重以方便覆盖。#47074 @crazyair
  • 🐞 修复 Modal 自定义 classNames.wrappercentered 属性不生效的问题。#47076 @sunsunmonkey
  • 🐞 修复 Spin 组件在 tipfullscreen 同时使用时的控制台误报。#47015 @xsjcTony
  • 🗑 移除了早已失效的 PageHeader 组件相关的多语言文案和 ConfigProvider 的 pageHeader 属性。#47163 @li-jia-nan
  • 🛠 重构简化 Drawer 的动画代码。#47194
  • 国际化
    • 🇮🇹 为 Tour 组件补充 it_IT 本地化文案。#47148 @nikzanda
    • 🇯🇵 为 Table 组件筛选功能补充 ja_JP 本地化文案。#47072 @sebastibe

5.13.2

19 Jan 06:21
dfbcf0f
Compare
Choose a tag to compare
  • 🐞 Fix that the inline rendering does not take effect when the preview.getContainer value for Image is false. #47034 @FEyudong
  • 🐞 Fix Modal static function with prefixCls breaks children other component prefixCls and thus bring the motion miss. #47010
  • 🐞 Fix ok button of the DatePicker becomes compacted when used with Space.Compact. #46769 @Fatpandac
  • 💄 Optimize Tree draggable node cursor style and collaspe icon hover style. #46974

  • 🐞 修复 Image 组件 preview.getContainer 值为 false 时,内联渲染不生效的问题。#47034 @FEyudong
  • 🐞 修复 Modal 静态方法配置 prefixCls 时,会改变所有子元素的 prefixCls 并导致动画丢失的问题。#47010
  • 🐞 修复 Space.Compact 与 DatePicker 一起使用导致 DatePicker 的确认按钮样式错误。#46769 @Fatpandac
  • 💄 优化 Tree 拖拽节点和展开收起按钮的鼠标 hover 样式。#46974

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