[Snyk] Upgrade antd from 5.11.3 to 5.21.3 #19
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.
Snyk has created this PR to upgrade antd from 5.11.3 to 5.21.3.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 54 versions ahead of your current version.
The recommended version was released on a month ago.
Release notes
Package name: antd
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 @ thinkasanycopyable
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 @ afc163type="link"
incorrectly usedcolorPrimary
. #50962 @ coding-icefilterCheckall
in Table component. #51000 @ ytahirkosetype="link"
错误使用colorPrimary
的问题。#50962 @ coding-icefilterCheckall
的土耳其语文案。#51000 @ ytahirkosevariant
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-nanonActive
到toolbarRender
以切换图片 。#50812 @ madoctoref
属性。#50772 @ Asanio06classNames
和styles
属性。#50557 @ wanpan11children
使其成为真正的自定义节点。#50278 @ afc163copyable
对数组children
复制时会有额外,
字符的问题。#50813 @ zombieJja_JP
语言环境的shortWeekDays
和shortMonths
文案。#50893 @ harapekoar_EG
阿拉伯语文案。#50851 @ nathanlaoonFocus
和onBlur
类型定义。#50842 @ huiliangShensize
. #50734 @ afc163onChange
arguments. #50754 @ yuanliu147size
变化的问题。#50734 @ afc163onChange
的函数入参类型。#50754 @ yuanliu147defaultExpandAll
logic to only add internalexpandedKeys
whichtreeNode
has children instead to avoid perf issue when with large data orloadData
case. #50689 @ zombieJmultiple
.