[Snyk] Upgrade antd from 5.20.6 to 5.21.2 #154
Closed
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.20.6 to 5.21.2.
ℹ️ 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 3 versions ahead of your current version.
The recommended version was released on 25 days ago.
Release notes
Package name: antd
-
5.21.2 - 2024-09-30
- 🐞 Revert #49221 to fix Typography
- 🐞 Fix Tabs flicker when browser zoom is enabled. #51072 @ afc163
- 🐞 Fix Select incorrect
- 🐞 Fixed Input.Search alignment issue between the input field and search button at different zoom levels. #50926 @ nathanlao
- 💄 MISC: Tweak outline width of focus style from
- Splitter
- 🐞 Fixed the issue with Splitter dragging abnormally on touch screen devices. #51060 @ sakuraee
- 💄 Fixed Splitter.Panel style is invalid error. #51032 @ wanpan11
- ⚡️ Remove TransButton in Table/Transfer/Typography. #51068 @ afc163
- 🐞 回滚 #49221 以修复 Typography
- 🐞 修复 Tabs 在浏览器缩放时无限闪烁的问题。#51072 @ afc163
- 🐞 修复了 Input.Search 组件中在不同缩放级别下输入框和按钮的对齐问题。#50926 @ nathanlao
- 🐞 修复 Select
- 💄 MISC: 调整 focus 时的 outline 边框宽度,从
- Splitter
- 🐞 修复 Splitter 在触屏设备上拖拽异常的问题。#51060 @ sakuraee
- 💄 修复 Splitter.Panel 无法隐藏的问题。#51032 @ wanpan11
- 📦 移除 Table/Transfer/Typography 内的 TransButton 实现以降低打包体积。#51068 @ afc163
-
5.21.1 - 2024-09-25
- 🐞 Fix Button issue where
- 🐞 Fix Button style class name weight issue that caused custom gradient styles to be overridden. #50962 @ coding-ice
- 🐞 Fix Transfer width issue when customized as TableTransfer. #50974 @ zombieJ
- 🇹🇷 Add Turkish text for
- 🐞 修复 Button
- 🐞 修复 Button 样式类名权重问题导致的自定义渐变样式覆盖失效的问题。#50962 @ coding-ice
- 💄 修复 Transfer 在自定义为 TableTransfer 时,宽度不正确的问题。#50974 @ zombieJ
- 🇹🇷 补充 Table 组件
-
5.21.0 - 2024-09-22
- 🔥 Introduce the new Splitter component, draggale split panel. #50038 @ wanpan11

- Button
- 🔥 Button supports

- 💄 Button adds
- FloatButton
- 🆕 FloatButton supports

- 🆕 FloatButton supports
- 💄 Unify FloatButton and FloatButton.Group button round style. #50513 @ Layouwen
- 💄 Manage FloatButton's
- Menu
- 🆕 Menu.Item and Dropdown's

- 🐞 Fix Menu
- Table
- 🆕 Table supports
- 🐞 Fix Table empty and shadow issues in virtual mode. #50416 @ linxianxi
- 🐞 Fix Table column selection issue where deselection was not possible under certain circumstances. #50746 @ Jarryxin
- Input
- 🆕 Input.OTP support
- 🐞 Fix Select inside Input addon text color when Select is focused. #50486 @ DDDDD12138
- Modal
- ⌨️ Fix Modal throws warning
- 🆕 Modal supports
- Descriptions
- 🐞 Fix Descriptions column is missing in some cases. #50895 @ yezhonghu0503
- 🐞 Revert #49946 to fix the issue where the popup layer component inside Descriptions is being cut off. #50891 @ afc163
- Upload
- 🆕 Upload will pass
- 🆕 Upload
- ColorPicker
- 🐞 Fix ColorPicker when type hex input may not get correct color with precision issue. #50843 @ zombieJ
- 🐞 Adjust ColorPicker popup panel not lock by
- App
- 🐞 Fixed App warn about
- 🐞 Fix App rtl style does not respect ConfigProvider direction prop. #50246 @ li-jia-nan
- Pagination
- 🆕 Pagination
- 💄 Remove Pagination default font family. #50808 @ afc163
- Select
- 💄 Add more tokens for Select to customize hover/focus style. #50951 @ kiner-tang
- 🐞 Fix Select search text overlap with arrow icon. #50917 @ yezhonghu0503
- 🐞 Fix Select extra background of clear icon when enable
- 🆕 Segmented adds

- 🆕 Radio.Group supports
- 🆕 ConfigProvider supports configuring the
- 🆕 Image add
- 🆕 Add ref on List component. #50772 @ Asanio06
- 🆕 Collapse support
- 💄 Make Skeleton.Node custom node by remove it's default icon children. #50278 @ afc163
- 🐞 Fix Layout.Sider can not modify theme when used alone. #50780 @ zombieJ
- 🐞 Fix Typography
- 🐞 Fix Tour where long title will overlap with close button. #50942 @ kiner-tang
- 🌐 Localization
- 🇯🇵 Added
- 🇪🇬 Added Arabic
- 🇬🇷 Added Greek text for the Form component. #50825 @ nathanlao
- 🇪🇸 Added Spanish
- TypeScript
- 🤖 Checkbox adds onFocus
- 🤖 Fix Badge property type definition to support passing mouse events. #50774 @ yuanliu147
- 🔥 全新 Splitter 区域分割组件,自由拖拽调整区域大小。#50038 @ wanpan11

- Button
- 🔥 Button 支持

- 💄 Button 添加
- FloatButton
- 🆕 FloatButton 组件支持

- 💄 统一 FloatButton 和 FloatButton.Group 的按钮圆角。#50513 @ Layouwen
- 💄 FloatButton 组件的
- 🆕 FloatButton 支持传入
- Menu
- 🆕 Menu.Item 和 Dropdown 的 menu 支持

- 🐞 修复 Menu
- Table
- 🆕 Table 列支持配置
- 🐞 修复 Table 虚拟表格下的空数据和阴影问题。#50416 @ linxianxi
- 🐞 修复 Table 列选择在某些情况下无法取消选择的问题。#50746 @ Jarryxin
- Input
- 🆕 Input.OTP 添加
- 🐞 修复 Input Addon 内 Select 选中时的文字颜色。#50486 @ DDDDD12138
- Modal
- ⌨️ 修复 Modal 抛出
- 🆕 Modal 支持
- Descriptions
- 🐞 优化 Descriptions 在某些情况下列内容消失的问题。#50895 @ yezhonghu0503
- 🐞 回滚 #49946 以修复 Descriptions 内弹层组件被截断的问题。#50891 @ afc163
- Upload
- 🆕 Upload
- 🆕 Upload 的
- ColorPicker
- 🐞 修复 ColorPicker 在 hex 输入框输入颜色时,部分颜色会因为精度问题得到不正确的颜色的问题。#50843 @ zombieJ
- 🐞 调整 ColorPicker 在受控时,弹出面板现在不会被
- App
- 🐞 修复 App 的
- 🐞 修复 App rtl 样式不遵守 ConfigProvider
- Pagination
- 🆕 Pagination
- 💄 移除 Pagination 默认
- Select
- 💄 Select 组件新增一些 token 以支持自定义 hover 和 focus 样式。#50951 @ kiner-tang
- 🐞 修复 Select 搜索模式下搜索词内容覆盖右侧图标的问题。#50917 @ yezhonghu0503
- 🐞 修复 Select 同时启用
- 🆕 Segmented 新增

- 🆕 Radio.Group 支持
- 🆕 ConfigProvider 支持配置 Splitter 组件的
- 🆕 Image 新增
- 🆕 List 组件支持传递
- 🆕 Collapse 支持语义化
- 💄 移除 Skeleton.Node 默认的图标
- 🐞 修复 Typography
- 🐞 修复 Layout.Sider 单独使用时无法修改主题的问题。#50780 @ zombieJ
- 🐞 修复 Tour 组件标题过长时会遮挡关闭按钮的问题。#50942 @ kiner-tang
- 🌐 本地化
- 🇯🇵 补充 DatePicker
- 🇪🇬 补充 Image 预览功能的
- 🇬🇷 补充 Form 组件的希腊语文案。#50825 @ nathanlao
- 🇪🇸 补充 Tour 组件的西班牙语文案。#50805 @ thinkasany
- TypeScript
- 🤖 Checkbox 新增
- 🤖 修复 Badge 属性类型定义不支持传递鼠标事件的问题。#50774 @ yuanliu147
-
5.20.6 - 2024-09-09
- 🐞 Improve Menu collapse animation smoothness. #50751 @ afc163
- 🐞 Fix Table cell overflow bug if edit with virtual scroll. #50737 @ huiliangShen
- 🐞 Fix Input.Search button radius not changing with
- 🐞 Fix Form password still can be toggle show/hide even if disabled. #50616 @ Jarryxin
- 🐞 Revert #49899 to fix wrap behavior for Dropdown, and re-fix wrap when out of screen edge. #50718 @ afc163
- 💄 Fix Badge background transition when mouse out. #50743 @ coding-ice
- TypeScript
- 🤖 Fix Collapse types for
- 🐞 修复 Menu 折叠动画不够丝滑的问题。#50751 @ afc163
- 🐞 修复 Table 虚拟滚动时单元格宽度可能溢出的问题。#50737 @ huiliangShen
- 🐞 修复 Input.Search 的按钮圆角不随
- 🐞 修复 Form 禁用时仍可切换密码显隐的问题。#50616 @ Jarryxin
- 🐞 回滚 #49899 以修复 Dropdown 菜单项文字溢出菜单的问题,并重新修复屏幕视口外菜单项内容换行错误的问题。#50752 #50718 @ afc163
- 💄 修复 Badge 鼠标移出时无背景色过渡动画的问题。#50743 @ coding-ice
- TypeScript
- 🤖 修复 Collapse 的
from antd GitHub release notescopyableicon align issue. #51066 @ afc163activeBorderColortoken when variant is filled. #51054 @ coding-ice4pxto3px. #51069 @ afc163copyable图标位置偏上的问题。#51066 @ afc163variant="filled"时activeBorderColortoken 失效的问题。#51054 @ coding-ice4px调整到3px。#51069 @ afc163type="link"incorrectly usedcolorPrimary. #50962 @ coding-icefilterCheckallin Table component. #51000 @ ytahirkosetype="link"错误使用colorPrimary的问题。#50962 @ coding-icefilterCheckall的土耳其语文案。#51000 @ ytahirkosevariantandcolorproperties for more combination styles. #50051 @ coding-icetextColor,textHoverColorandtextActiveColortokens. #47870 @ madoctoplacementproperty, allowing menus to pop up from multiple directions. #50407 @ li-jia-nanhtmlTypeprop. #50892 @ li-jia-nanz-indexwithuseZIndexto improve compatibility with other popup components. #50311 @ li-jia-nanmenusupportsextraprop now. #50431 @ coding-icepopupStylenot working on SubMenu. #50922 @ Wxh16144minWidthfor columns. #50416 @ linxianxitypeto help handle some case need number only. #50811 @ zombieJavoid using aria-hidden on a focused element or its ancestor. #50823 @ afc163closable.disabledprop now. #50522 @ Ke1synameprop to<input type="file" />. #50652 @ Wxh16144showUploadList.showXxxIconaccept a function value now. #50245 @ guoyunhevalueto allow control mode withonChangeCompletescenarios. #50785 @ zombieJzIndextoo large when using themodalwith having popup component method viauseApp. #50829 @ zombieJshowSizeChangeraccepts Select props now. #50952 @ afc163allowClearandvariant="filled". #50916 @ thinkasanyverticalproperty and improves accessibility. #50708 @ liangchaofeiblockprop now. #50828 @ yuanliu147classNameandstyleproperties of the Splitter component. #50855 @ li-jia-nanonActivetotoolbarRenderfor toggling images . #50812 @ madoctoclassNamesandstylesfor semantic style customization. #50557 @ wanpan11copyablewith arraychildrenhas additional,string issue. #50813 @ zombieJja_JPlocale for DatePicker'sshortWeekDaysandshortMonthstext. #50893 @ harapekoar_EGtext for Image preview feature. #50851 @ nathanlaoes_EStext for the Tour component. #50805 @ thinkasanyandonBlur` 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 @ afc163onChangearguments. #50754 @ yuanliu147size变化的问题。#50734 @ afc163onChange的函数入参类型。#50754 @ yuanliu147Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information: