Releases: infra-fe/infra-design
Releases · infra-fe/infra-design
4.23.6
- Table
- 🐞 Fix Breadcrumb not support number
0
. #38006 @li-jia-nan - Input
- 🐞 Fix Input.TextArea render extra input node when enable
autoSize
. #38050 - 🐞 Fix Input.Password that should not have value prop on input after click toggle icon. #37900 @linxianxi
- 💄 Fix border style issues for Input.Search in RTL. #37980 @foryuki
- 🐞 Fix Input.TextArea render extra input node when enable
- 🐞 Fix AutoComplete warning for unused
dropdownClassName
. #37974 @heiyu4585 - 🐞 Fix Typography with ellipsis that the computed
fontSize
style be calculated as empty string in some case. #37928 @zheeeng - 🐞 Fix editable Tabs add button missing in edge case. #37937
- 🐞 Fix RangePicker panel blink in some case. #439
- 🛠 Refactor Spin with Function Component. #37969 @li-jia-nan
- 🛠 Refactor Statistic.Countdown with Function Component. #37938 @li-jia-nan
- Table
- 🐞 修复 Breadcrumb 不支持数字
0
的问题。#38006 @li-jia-nan - Input
- 🐞 修复 Input.TextArea 配置
autoSize
时会额外渲染 input 节点的问题。#38050 - 🐞 修复 Input.Password 在点击隐藏按钮后 input 上会有 value 属性的问题。#37900 @linxianxi
- 💄 修复 RTL 下 Input.Search 边框样式问题。#37980 @foryuki
- 🐞 修复 Input.TextArea 配置
- 🐞 修复 AutoComplete 会报未使用的废弃属性
dropdownClassName
的问题。#37974 @heiyu4585 - 🐞 修复 Typography 省略算法在计算一些元素 fontSize 时为空字符串的情况#37928 @zheeeng
- 🐞 Fix Tabs 添加按钮在某些边界情况下无法展示的问题。#37937
- 🐞 修复 RangePicker 在某些情况下面板会闪烁的问题。#439
- 🛠 重构 Spin 为 Function Component。#37969 @li-jia-nan
- 🛠 重构 Statistic.Countdown 为 Function Component.#37938 @li-jia-nan
4.22.6
4.22.3
- 🐞 Fixed flickering when
fileList
updating in Uploader with React 18. #36801 @zhengjitf - 🐞 Fix Form.Item with small size
labelCol
andwrapperCol
not break line in vertical layout. #36800 - 🐞 Fix Row in flex layout takes too wide space by default. #36770
- 🐞 修复在 React 18 版本中 Uploader 的
fileList
发生更新后出现闪烁的情况。#36801 @zhengjitf - 🐞 修复 Form.Item 在垂直布局下使用小尺寸的
labelCol
和wrapperCol
时不换行的问题。#36800 - 🐞 修复 Row 在 flex 布局中占据过多空间的问题。#36770
4.21.7
- 🆕 Add Skeleton.Node sub-component, allow user customize content of Skeleton. #36441 @DawnLck
- Form
- 🐞 Fix Form with percentage width Select may leaves unexpected height. #36484
- 🐞 Fix Form disabled but Upload component still uploadable in it. #36573 @cwjTerrace
- 🐞 Fix Tree non-draggable element still render the draggable icon. #36511 @Wxh16144
- 🐞 Fix Upload preview error on SVG with
<foreignObject>
and cross-origin links. #36402 @jonioni - 🐞 Fix that Tooltip cannot close automaticly on disabled Radio. #36483
- 💄 Add Modal Less variable
@modal-border-radius
. #36527 @kkkisme - 💄 Fix Table expand icon wrap style when column is fixed and ellipsis. #36496
- 🆕 新增 Skeleton.Node 子组件,允许用户自定义 Skeleton 的内容。#36441 @DawnLck
- Form
- 🐞 修复 Form 下设置 Select 百分比宽度时会有未预期空行问题。#36484
- 🐞 修复 Form 设为禁用时、内部的 Upload 组件仍能上传文件的问题。#36573 @cwjTerrace
- 🐞 修复 Tree 非
draggable
依然展示可拖拽图标的问题。#36511 @Wxh16144 - 🐞 修复 Upload 在预览包含
<foreignObject>
及跨域链接的 SVG 文件时发生错误的问题。#36402 @jonioni - 🐞 修复 Tooltip 在被禁用的 Radio 上时无法自动关闭的问题。#36483
- 💄 添加 Modal Less 变量
@modal-border-radius
。#36527 @kkkisme - 💄 修复 Table 开启固定和省略功能的列内的展开按钮换行样式。#36496
4.21.6
- 🐞 Fix Skeleton active lost border-radius in Safari. #36445
- 🐞 Fix Breadcrumb separators disappearing when used as last element in a List. #36448 @LeonKattendick
- 🐞 Fixed Upload removing file status color is wrong. #36439
- 🐞 Fix DatePicker style issue when using
status
. #35685 @simplejason - Table
- 🐞 Fix Table scroll shadow style. #36420 @shunyue1320
- 🐞 Fix Table hover render performance issue. #36383
- 💄 Adjust Modal header close icon style. #36309 @cw1997
- 🐞 Fix Form.ErrorList shaking when validating too fast. #36358
- 💄 Radio shadow color should be transparency to fit none-white background. #36335
- 🐞 Fix Table border style issue when
title
configured. #36384 @Unuuuuu
- 🐞 修复 Skeleton 在 Safari 下开启 active 时圆角丢失的问题。#36445
- 🐞 修复 Breadcrumb 作为 List 最后一个元素时,分割线丢失的问题。#36448 @LeonKattendick
- 🐞 修复 Upload 移除文件时状态色会变化的问题。#36439
- 🐞 修复 DatePicker 配置
status
时的样式问题。#35685 @simplejason - Table
- 🐞 修复 Table 横向滚动的阴影样式问题。#36420 @shunyue1320
- 🐞 修复 Table 鼠标悬浮时的性能问题。#36383
- 💄 微调 Modal 标题上关闭按钮尺寸。#36309 @cw1997
- 🐞 修复 Form.ErrorList 在校验状态很快的时候视觉抖动问题。#36358
- 💄 修复 Radio 聚焦时的阴影样式在非白底背景下的问题。#36335
- 🐞 修复 Table 配置有
title
时的圆角样式。#36384 @Unuuuuu
4.21.4
- Table
- 🐞 Fix Popover arrow color with custom
color
prop. #36241 @MadCcc - 🐞 Fix Upload
listType="picture-card"
select button not being hidden when children is empty. #36196 - 🐞 Fix Menu deprecated warning when
item={undefined}
. #36190 - 💄 Fix Button
loading
icon margin style lost. #36168 - 🐞 Fix Dropdown using Menu with group item can not close by click. #36148
- 💄 Enlarge dragable area for Slider handler. #36018 @slotDumpling
- 🐞 Fix: repeat a css class in readOnly, which has been declared in rc-input-number. #36120 @RainyLiao
- 💄 Fix Skeleton active background color in dark theme. #36116
- TypeScript
- 🤖 Fix type incompatibility. #36189 @Dunqing
- 🤖 exporting
UploadFile
fromUpload
. #34733 @chentsulin
- Table
- 🐞 修复 Upload
listType="picture-card"
当 children 为空时上传文件按钮没有隐藏的问题。#36196 - 🐞 修复 Popover 自定义
color
时箭头颜色问题。#36241 @MadCcc - 🐞 修复 Menu
item={undefined}
时会有废弃警告的问题。#36190 - 💄 修复 Button
loading
图标的间距丢失的问题。#36168 - 🐞 修复 Dropdown 中 Menu 分组下的 Item 点击不会关闭的问题。#36148
- 💄 优化 Slider 拖拽手柄的可交互区域。#36018 @slotDumpling
- 🐞 修复重复添加 readOnly 的 css 类名,它已在 rc-input-number 中被声明了。#36120 @RainyLiao
- 💄 修复 Skeleton 在
active
时的背景色样式。#36116 - TypeScript
- 🤖 修复 TreeSelect
switcherIcon
类型不兼容。#36189 @Dunqing - 🤖 从
Upload
导出类型UploadFile
。#34733 @chentsulin
- 🤖 修复 TreeSelect
4.21.1
- 🐞 Fixed Image the
getContainer
property not reading from ConfigProvider. #36002 @robothot - 🐞 Fixed Button issue #35952 where the
disabled
attribute does not take effect withhref
. #35975 @MuxinFeng - 🐞 Fix less color palette algorithm according to
@ant-design/colors
. #35954 @christian-lechner - 🐞 Fix Upload image flickering. #35943
- 💄 Remove styles from Form such as
status
for children of Modal and Drawer. #35849 - TypeScript
- 🤖 Fix type definition for
autoFocus
in Dropdown. #35990 @robothot - 🤖 Fix type definition for
MenuItemGroupType
in Menu. #35790 @MasaoBlue - 🤖 Fix Carousel type definition in React 18. #35959
- 🤖 Fix type definition for
- 🌐 Localization
- 🐞 修复 Image
getContainer
属性没有从 ConfigProvider 中读取的问题。#36002 @robothot - 🐞 修复 Button 有
href
时disabled
属性不生效的问题。#35952。#35975 @MuxinFeng - 🐞 修复 Upload 组件动画闪烁的问题。#35943
- 🐞 修复 less 色彩算法,使其和
@ant-design/colors
保持一致。#35954 @christian-lechner - 💄 Form.Item 中的 Modal 或 Drawer 组件包含的控件去除
status
等受 Form 影响的样式。#35849 - TypeScript
- 🤖 修复 Dropdown
autoFocus
属性定义。#35990 @robothot - 🤖 修复 Menu 中
MenuItemGroupType
的类型定义。#35790 @MasaoBlue - 🤖 修复 Carousel 在 React 18 下的 TS 定义问题。#35959
- 🤖 修复 Dropdown
- 🌐 国际化
4.20.6
- 🐞 Fix DatePicker placeholder flush when open first time. #35620 @yykoypj
- 🛠 Remove Grid default
role
attr to fit aria-required-parent requirement. #35616 @bartpio - 🐞 Fix Anchor cut content in some browser. #35612 @josonho
- 🐞 Fix Table header cell border when have
rowSpan
andscroll.y
. #35591 - 🐞 Fix Drawer that the button in it closes too fast issue. #35339
4.20.4
- 🐞 Fix broken List.Item type definition. #35455 @rsmeral
- 🐞 Fix Checkbox margin in Tree RTL mode. #35491 @miracles1919
- 🗑 Remove Cascader
displayRender
warning. #35417 @lalalazero
- 🐞 修复 List.Item 类型错误。#35455 @rsmeral
- 🐞 修复 Tree 组件 RTL 模式下 Checkbox 的间距。#35491 @miracles1919
- 🗑 删除 Cascader
displayRender
警告。#35417 @lalalazero
4.20.0
- 🔥 React 18 Support. Fix related known issue.
- 🔥 New component Segmented. #34319
- Form
- 🛎 Menu support
items
for perf prepare, andchildren
will be removed in next major version. #34559 - 🆕 Image PreviewGroup Support top progress rendering. #35038 @zpc7
- Upload
- Table
- 🆕 Support reset to the default value rather than empty, when click reset in Table column filter. #34355 @heiyu4585
- 💄 Fix Table head background and selection column width styling issues when
size="small"
. #34963 - 🇩🇪 Improve German translations for Table. #34836 @pfedan
- ⚡️ Optimize Table filter calculation perfromance. #35064 @nieyuyao
- 💄 Improve small and middle size Table selection dropdown margin style. #35173
- Tree
- Breadcrumb
- 🐞 Fix Breadcrumb deprecated warning of Dropdown
placement
. #35162 - 🐞 Fix Breadcrumb show the number when is unexpected. #35123
- ⌨️ Make structure of Breadcrumb be accessible. #34082 @VladimirOtroshchenko
- 🐞 Fix Breadcrumb deprecated warning of Dropdown
- Anchor
- Cascader
- 🆕 Cascader supports
showCheckedStrategy
for value display strategy. #34568 @heiyu4585 - 🐞 Fix Cascader search result do not fill the entrie panel. #35019 @boomler
- 🆕 Cascader supports
- 🆕 Click event object can be accessed in
onCopy
function of Typography. #34655 @yzwxk - 🆕 Grid supports
justify="space-evenly"
. #34606 @gp5251 - 🆕 Support
rootClassName
property for Dialog and Image. #34574 @heiyu4585 - 🐞 Fix error
Nothing was returned from render
when Skeleton use falsyloading
props withoutchildren
. #34872 @AlbertAZ1992 - 💄 Optimize Switch disabled color to fit colorful background. #35103
- 💄 Remove Tabs
overflow: hidden
style to fix Select and sticky Table display problem inside Tabs. #35195 - 💄 Fix Steps style issues in RTL mode. #35088 @zpc7
- 💄 Fix animation for standalone Badge in RTL mode. #34899 @hmz22
- 🛠 Optimize Modal id generate logic to improve accessibility experience. #35072
- 🐞 Fix Select and AutoComplete scroll abnormal behavior when navigate via keyboard.。#35025
- Spin
- 💄 Fix Spin animation style being abnormally parsed in Parcel. #35005
- ⌨️ Spin add
aria
attribute to improve accessibility. #34408 @heiyu4585
- ⌨️ Dropdown support select option by keyboard. #34738
- 🐞 Fix Title, Text, Paragraph components cannot get
ref
bug. #34847 @MQuy - Input
- ⌨️ Fix
aria-checked
attribute for Checkbox, to avoid screen reader getting an incorrect status. #34862 @SpaNb4 - Less
- TypeScript
- 🤖 Fixed
Upload
componentUploadChangeParam<T>
internalfileList
not using generics. #35158 @rendaoer - 🤖 Update TypeScript definition for
@types/react@18
compatible. #35075 @AliRezaBeigy #35076 @littledian
- 🤖 Fixed
- 🔥 支持 React 18 以及严格模式,修复了相关已知问题。
- 🔥 新增 Segmented 分段控制器组件。#34319
- Form
- 🛎 Menu 添加
items
数据化菜单项支持以为将来性能提升做准备,并且children
将会在下个大版本中废弃。#34559 - 🆕 Image PreviewGroup 支持顶部进度渲染。#35038 @zpc7
- Upload
- Table
- 🆕 Table 列筛选条件重置时,支持重置为默认值而非空值。#34355 @heiyu4585
- 💄 修复 Table
size="small"
时列头背景色和选择列宽度的样式问题。#34963 - 🇩🇪 补全 Table 的德语国际化文案。#34836 @pfedan
- ⚡️ 优化 Table 过滤列表的计算性能。#35064 @nieyuyao
- 💄 优化 Table
size="small"
和size="middle"
时选择下拉菜单的边距样式。[ant-design#35173](https://github...