Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
5.21.3
->5.23.0
Release Notes
ant-design/ant-design (antd)
v5.23.0
Compare Source
maxCount
to limit the maximum number of selections. #51759 @aojunhao123width
support responsive size. #51653 @zombieJlazy
mode. #51557 @OysterD3color
support full color palette. #51550 @OysterD3loadingIcon
to customize loading icon. #51758 @zhangchao-woocextra
font size and vertical align issue. #52217 @guoyunhesubMenuItemSelectedColor
to resolve submenu title color being overrided byitemSelectedColor
. #52182 @afc163classNames
andstyles
. #52208 @thinkasanyclassNames
andstyles
. #52126 @thinkasanyclassNames
andstyles
. #52110 @thinkasanyclassNames
andstyles
. #51872 @thinkasanyclassNames
andstyles
. #52120 @thinkasanyclassNames
andstyles
. #52185 @thinkasanyshowSearch
configdefaultValue
&placeholder
. #52125 @EmilyyyLiushowWeek
prop. #52072 @afc163onPopupScroll
props. #51858 @OysterD3bodyPaddingSM
,headerPaddingSM
,bodyPadding
,headerPadding
component token. #51762 @thinkasanypresets
supportkey
prop. #51794 @li-jia-nanoptionSelectedColor
token. #51769 @thinkasanydisabled
&selected
node display style. #52173 @EmilyyyLiutipFormatter
is undefined. #52184 @thinkasanytrigger
style not correct. 46a8eff @Wxh16144fixed:right
is not working inexpandable
. #52176 @afc163margin
&padding
for customize component. #52170 @li-jia-nanneedConfirm
sometime can switch panel without confirm. #52102 @Zyf665name
prop to improve a11y. #52076 @aojunhao123type=search
by default. #52083 @Kaikiat1126name
prop to improve a11y. #51725 @thinkasany@ctrl/tinycolor
with@ant-design/fast-color
. #52190 #52157 @aojunhao123span
tobutton
to improve a11y. #52180 @li-jia-nanref
type to React.Ref. #52205 @li-jia-nanmaxCount
属性以限制最大选择数量。#51759 @aojunhao123width
支持响应式尺寸。#51653 @zombieJlazy
模式。#51557 @OysterD3color
属性支持完整色板。#51550 @OysterD3loadingIcon
以自定义加载图标。#51758 @zhangchao-woocsubMenuItemSelectedColor
,避免itemSelectedColor
覆盖子菜单标题样式。#52182 @afc163extra
字体大小和垂直居中对齐问题。#52217 @guoyunheclassNames
和styles
。#52208 @thinkasanyclassNames
和styles
。#52185 @thinkasanyclassNames
和styles
。#52126 @thinkasanyclassNames
和styles
。#52110 @thinkasanyclassNames
和styles
。#51872 @thinkasanyclassNames
和styles
。#52120 @thinkasanydisabled
与selected
节点状态下的颜色展示。#52173 @EmilyyyLiushowSearch
配置defaultValue
和placeholder
。#52125 @EmilyyyLiushowWeek
属性用于显示周数列。#52072 @afc163onPopupScroll
属性。#51858 @OysterD3bodyPaddingSM
、headerPaddingSM
、bodyPadding
、headerPadding
组件 token。#51762 @thinkasanypresets
支持传入key
。#51794 @li-jia-nanoptionSelectedColor
token。#51769 @thinkasanytrigger
样式不正确的问题。46a8eff @Wxh16144expandable
中设置fixed:right
不生效的问题。#52176 @afc163sticky
模式下水平固定滚动条在 rtl 模式下不生效的问题。#52176 @afc163margin
、padding
样式。#52170 @li-jia-nanneedConfirm
模式偶尔在不确认仍然可以切换面板的问题。#52102 @Zyf665tipFormatter
未定义时导致崩溃的问题。#52184 @thinkasanyname
属性以提升无障碍体验。#52076 @aojunhao123type=search
类型。#52083 @Kaikiat1126name
属性以提升无障碍体验。#51725 @thinkasany@ant-design/fast-color
替换@ctrl/tinycolor
以降低打包体积。#52190 #52157 @aojunhao123span
元素更改为button
元素,提高了可访问性和交互性。#52180 @li-jia-nanref
类型为 React.Ref。#52205 @li-jia-nanv5.22.7
Compare Source
reactRender is not a function
under React 19. #52105 @afc163reactRender is not a function
错误的问题。#52105 @afc163component
属性类型抛错。#51715 @msyavuzv5.22.6
Compare Source
z-index
too low. #52065 @wanpan11loading
. #52059 @zombieJz-index
层级过低问题。#52065 @wanpan11loading
时,动画不够顺滑的问题。#52059 @zombieJv5.22.5
Compare Source
ref
check logic to resolve React 19ref
conflict (Note, this is not finally support React 19 but we will resolve step by step in future version). #51952 @zombieJchildren
. #50174 @coding-icesetFieldValue
not reset field validation. #51993 @zombieJshowSizeChanger.showSearch
not working. #51962 @zombieJCheckboxChangeEvent
from antd. #52008 @SpecLadref
检查逻辑以解决 React 19ref
部分冲突(注:该更新不会完全解决 React 19 兼容问题,后续将会持续更新)。#51952 @zombieJchildren
不支持传入 ReactNode 的问题。#50174 @coding-icesetFieldValue
没有重置字段校验信息的问题。#51993 @zombieJshowSizeChanger.showSearch
无效的问题。#51962 @zombieJCheckboxChangeEvent
类型。#52008 @SpecLadv5.22.4
Compare Source
collapsedIconSize
. #51863 @Gnomeektype="editable-card"
. #51935 @aojunhao123zero-width
mode. #51936 @aojunhao123collapsedIconSize
时图标对齐的问题。#51863 @Gnomeektype="editable-card"
时样式不正确的问题。#51935 @aojunhao123zero-width
模式下触发器样式优先级不足的问题。#51936 @aojunhao123v5.22.3
Compare Source
handleVisible
token not work as expected. #51728 @dengfupingReactNode
tolabel
field ofpresets
property. #51808 @li-jia-naninlineCollapsed
property not works bug within Layout. #51775 @coderz-wonHeaderCell
provided partstyle
can not override. #51793 @Wxh16144clearFilters
function property. #51754 @fubdpreserve
tofalse
. #51796 @zombieJhandleVisible
token 不生效的问题。#51728 @dengfupingpresets
属性中的label
字段传入ReactNode
会报错的问题。#51808 @li-jia-naninlineCollapsed
属性在 Layout 中不生效的问题。#51775 @coderz-wonHeaderCell
提供的style
无法被覆盖的问题。#51793 @Wxh16144clearFilters
函数的入参类型。#51754 @fubdpreserve
为false
时,Form.List 中嵌套的字段卸载会丢失值的问题。#51796 @zombieJv5.22.2
Compare Source
rules
with same error content will cause React render warning. #51636 @zombieJfocus
logic trigger withuseEffect
to resolve some async load case not getautoFocus
. #51624 @zombieJgetCheckboxProps
event handlers being overridden by internal selection logic. #51661 @Zyf665onCheck
andonSelect
were not properly triggered. #51448 @Wxh16144rules
生成多条相同错误时会报 React 渲染错误的问题。#51636 @zombieJuseEffect
来触发autoFocus
逻辑,以解决一些异步渲染场景下 Button 无法自动聚焦的问题。#51624 @zombieJgetCheckboxProps
中的事件处理器被内部选择逻辑覆盖的问题。#51661 @Zyf665onCheck
和onSelect
事件没有被正确触发的问题。#51448 @Wxh16144v5.22.1
Compare Source
needConfirm
and the user has not submitted the date. #51591 @zombieJctrl + z
operation to avoid data not correct. #51609 @zombieJtags
ormultiple
mode display issue. #51605 @guoyunhecount
motion missing in Safari. #51598 @zombieJcentered
the tabs can not fully display. #51571 @DDDDD12138dataSource
&selectedKeys
sometime miss sync checked state. #51523 @IsKarosdisplay
inline-flex
back toinline-block
to resolve Icon align issue. #51588 @Wxh16144needConfirm
切用户未提交日期时,不允许通过点击输入框切换到下一个字段。#51591 @zombieJctrl + z
操作以防止数据变化非预期的问题。#51609 @zombieJcount
在 Safari 下动画丢失的问题。#51598 @zombieJcentered
下标签展示不全的问题。#51571 @DDDDD12138dataSource
和selectedKeys
时,偶尔会出现勾选不正确的问题。#51523 @IsKarosdisplay
的inline-flex
为inline-block
以解决 Icon 位置偏移的问题。#51588 @Wxh16144v5.22.0
Compare Source
onValuesChange
is still triggered when the Form field triggers change but the value does not change. #51437 @crazyairfilterDropdownProps
. #51297 @Wxh16144expandedRowClassName
supports string . #51067 @li-jia-nannodeHoverColor
andnodeSelectedColor
support. #51367 @zmbxyindentSize
token for custom indent width. #51010 @afc163Input.OTP
component, addonInput
event to get the value of each user input. At the same time, the relevant documentation has been updated. #51289 @aojunhao123inputMode
. #51271 @alan-rudzinskidisabledFormat
. #51539 @su-muzhicursor
configuration item to thefocus
method of InputNumber component to control the cursor position. #51444 @aojunhao123disabled
attribute to disable all first-level directory items of the component. #51272 @aojunhao123prefix
property to support custom prefix. #51186 @guoyunheImageProps.preview.rootClassName
in Image. #51538 @dislidoitemRender
callingaction.preview
will cause a crash. #51419 @yoyo837onValuesChange
仍然会触发的问题。#51437 @crazyairfilterDropdownProps
。#51297 @Wxh16144expandedRowClassName
支持 string 。#51067 @li-jia-nannodeHoverColor
和nodeSelectedColor
支持。#51367 @zmbxyindentSize
token 用于自定义缩进宽度。#51010 @afc163prefix
属性。#51335 @guoyunheonInput
事件用于获取用户每一次输入的值。#51289 @aojunhao123inputMode
的问题。#51271 @alan-rudzinskidisabledFormat
属性以禁用格式切换器。#51539 @su-muzhifocus
方法增加cursor
配置项以控制光标位置。#51444 @aojunhao123disabled
属性以禁用组件的所有一级目录项。#51272 @aojunhao123prefix
属性以支持自定义前缀。#51186 @guoyunheImageProps.preview.rootClassName
导致预览图类名丢失。#51538 @dislidoitemRender
调用action.preview
会导致崩溃的问题。#51419 @yoyo837v5.21.6
Compare Source
not-allowed
in thedisabled
state whenvariant
of the Input was set toborderless
. #51387 @ustcfuryindeterminate
to enhance accessibility experience. #51350 @SpaNb4title
of the Empty preset svg image to improve accessibility experience. #51368variant
设置borderless
时,disabled
状态下指针样式未设置not-allowed
的问题。#51387 @ustcfuryindeterminate
提升无障碍体验。#51350 @SpaNb4title
提升无障碍体验。#51368v5.21.5
Compare Source
limit
set tofalse
. #51263 @dongbanbanonRefresh
property not working properly. #51315 @kiner-tanglimit
属性设置false
不生效的问题。#51263 @dongbanbanonRefresh
属性不生效的问题。#51315 @kiner-tangv5.21.4
Compare Source
hoverBorderColor/activeBorderColor
token for hover/active states. #51226 @iqingtingtextHoverBg
hover background tocolorFillTertiary
. #51187 @coding-iceeventHandler
. #51165 @thinkasanyhoverBorderColor/activeBorderColor
修改边框颜色的问题。#51226 @iqingtingtextHoverBg
悬浮状态下的背景色为colorFillTertiary
。#51187 @coding-iceeventHandler
类型。#51165 @thinkasanyConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.