fix(deps): update dependency antd to v5 #678
Open
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:
^4.0.0
->^5.0.0
Release Notes
ant-design/ant-design (antd)
v5.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 @thinkasanyv5.21.3
Compare Source
id
prop is not supported.useLayoutEffect does nothing on the server
warning whenextractStyle
is invoked.onChange
function receiving incorrect sorter value. #51114 @nathanlaoreact
andreact-dom
peerDependencies. #51079 @chentsulineventName
. #51156 @thinkasanyid
属性的问题。extractStyle
时抛出useLayoutEffect does nothing on the server
警告信息的问题。onChange
函数接收到错误的 sorter 值的问题。#51114 @nathanlaoreact
和react-dom
添加进 peerDependencies。#51079 @chentsulineventName
类型。#51156 @thinkasanyv5.21.2
Compare Source
copyable
icon align issue. #51066 @afc163activeBorderColor
token when variant is filled. #51054 @coding-ice4px
to3px
. #51069 @afc163copyable
图标位置偏上的问题。#51066 @afc163variant="filled"
时activeBorderColor
token 失效的问题。#51054 @coding-ice4px
调整到3px
。#51069 @afc163v5.21.1
Compare Source
type="link"
incorrectly usedcolorPrimary
. #50962 @coding-icefilterCheckall
in Table component. #51000 @ytahirkosetype="link"
错误使用colorPrimary
的问题。#50962 @coding-icefilterCheckall
的土耳其语文案。#51000 @ytahirkosev5.21.0
Compare Source
variant
andcolor
properties for more combination styles. #50051 @coding-icetextColor
,textHoverColor
andtextActiveColor
tokens. #47870 @madoctoplacement
property, allowing menus to pop up from multiple directions. #50407 @li-jia-nanhtmlType
prop. #50892 @li-jia-nanz-index
withuseZIndex
to improve compatibility with other popup components. #50311 @li-jia-nanmenu
supportsextra
prop now. #50431 @coding-icepopupStyle
not working on SubMenu. #50922 @Wxh16144minWidth
for columns. #50416 @linxianxitype
to help handle some case need number only. #50811 @zombieJavoid using aria-hidden on a focused element or its ancestor
. #50823 @afc163closable.disabled
prop now. #50522 @Ke1syname
prop to<input type="file" />
. #50652 @Wxh16144showUploadList.showXxxIcon
accept a function value now. #50245 @guoyunhevalue
to allow control mode withonChangeComplete
scenarios. #50785 @zombieJzIndex
too large when using themodal
with having popup component method viauseApp
. #50829 @zombieJshowSizeChanger
accepts Select props now. #50952 @afc163allowClear
andvariant="filled"
. #50916 @thinkasanyvertical
property and improves accessibility. #50708 @liangchaofeiblock
prop now. #50828 @yuanliu147className
andstyle
properties of the Splitter component. #50855 @li-jia-nanonActive
totoolbarRender
for toggling images . #50812 @madoctoclassNames
andstyles
for semantic style customization. #50557 @wanpan11copyable
with arraychildren
has additional,
string issue. #50813 @zombieJja_JP
locale for DatePicker'sshortWeekDays
andshortMonths
text. #50893 @harapekoar_EG
text for Image preview feature. #50851 @nathanlaoes_ES
text for the Tour component. #50805 @thinkasanyand
onBlur` in type definition. #50842 @huiliangShenvariant
变体和color
颜色属性,以支持更多组合样式。#50051 @coding-icetextColor
、textHoverColor
和textActiveColor
三个 token。#47870 @madoctoplacement
属性,支持从四个方向弹出菜单。(实现方式改为position: absolute
+ flex 布局,可能会对你现有的布局造成 breaking change,请注意兼容)#50407 @li-jia-nanz-index
加入useZIndex
管理,兼容弹层类组件。#50311 @li-jia-nanhtmlType
属性。#50892 @li-jia-nanextra
属性。#50431 @coding-icepopupStyle
在 SubMenu 上失效的问题。#50922 @Wxh16144minWidth
属性。#50416 @linxianxitype
属性以支持只需要输入数字的场景。#50811 @zombieJavoid using aria-hidden on a focused element or its ancestor
警告的问题。#50823 @afc163closable.disabled
属性以禁用关闭按钮。#50522 @Ke1syname
属性将透传给<input type="file" />
。#50652 @Wxh16144showUploadList.showXxxIcon
选项支持传入函数。#50245 @guoyunhevalue
锁定从而允许与onChangeComplete
配合使用的受控场景。#50785 @zombieJuseApp
调用modal
方法时,填入弹层组件会警告zIndex
过大的问题。#50829 @zombieJdirection
配置。#50246 @li-jia-nanshowSizeChanger
属性现在支持传入 Select 属性对象。#50952 @afc163font-family
样式。#50808 @afc163allowClear
和variant="filled"
时清除图标多余的白色背景的问题。#50916 @thinkasanyvertical
属性以支持垂直模式,并优化了可访问性。#50708 @liangchaofeiblock
属性以撑满一行。#50828 @yuanliu147className
和style
属性。#50855 [@li-jia-nan](https://redirect.github.Configuration
📅 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.