Open
Conversation
Snyk has created this PR to upgrade antd from 5.13.2 to 5.20.0. See this package in npm: antd See this project in Snyk: https://app.snyk.io/org/ren3846/project/a77c2650-048d-46a9-b0b0-b089a899cfda?utm_source=github&utm_medium=referral&page=upgrade-pr
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.13.2 to 5.20.0.
ℹ️ 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 30 versions ahead of your current version.
The recommended version was released on a month ago.
Release notes
Package name: antd
-
5.20.0 - 2024-08-03
- 🛠 Replace ColorPicker internal
- 🆕 ConfigProvider support indicator property for Spin. #50183 @ coding-ice
- 🆕 Upload
- 🆕 Tree support custom loading icon for tree nodes with new prop
- 🆕 Slider support
- 🆕 Slider
- 🆕 Support custom status render in QRCode. #49563 @ kiner-tang
- 🆕 Table component supports custom Filter dropdown box empty status. #49613 @ Wxh16144
- 🆕 Allow user to add the Divider style of
- 🆕 InputNumber supports
- 🆕 ColorPicker support gradient color type and fix controlled mode not working. #50050
- 🆕 Input/TextArea/Mentions support
- ⌨️ Optimize Input be changed repeatedly when hold the enter key in multi-mode. rc-input#72 @ crazyair
- 🐞 Fix the issue where line-height is not effective in cssinjs mode for ColorPicker. #50220 @ vagusX
- 🐞 Fix cursor disabled state for ColorPicker. #50217 @ coding-ice
- 🐞 Fix grouping columns does not apply sorting for Table. #50086 @ Zyf665
- 🐞 Fix Popover/PopConfirm/Tooltip with
- 💄 Fix Tree filter node style lost. #49773 @ wanpan11
- 💄 Optimize ColorPicker when selecting a color from the
- TypeScript
- 🤖 Component Token support string and number. #49837 @ thinkasany
- 🤖 Improve Radio export types. #50203 @ baicie
- 🌐 Locales
- 🇪🇸 Improve Spanish translation. #50179 @ sergioalmela
- 🇺🇦 Add missed translation in uk_UA. #50178 @ Andrik264
- 🛠 替换 ColorPicker 内部使用的
- 🆕 ConfigProvider 支持配置 Spin 的 indicator 属性。#50183 @ coding-ice
- 🆕 Upload
- 🆕 Tree 新增
- 🆕 Slider 支持
- 🆕 Slider
- 🆕 在 QRCode 中支持自定义状态渲染。#49563 @ kiner-tang
- 🆕 Table 组件支持自定义过滤器下拉框空状态。 #49613 @ Wxh16144
- 🆕 Divider 支持添加
- 🆕 InputNumber 支持
- 🆕 ColorPicker 支持渐变色选择,并修复受控模式不生效的问题。#50050
- 🆕 Input/TextArea/Mentions 组件支持
- ⌨️ 优化 Input 下长按回车会不断触发变更的问题。rc-input#72 @ crazyair
- 🐞 修复 ColorPicker 在 cssinjs 模式下 line-height 失效的问题。#50220 @ vagusX
- 🐞 修复 ColorPicker 在 disabled 状态下的光标问题. #50217 @ coding-ice
- 🐞 修复 Table 中列存在分组时,排序不生效的问题。#50086 @ Zyf665
- 🐞 修复 Popover/PopConfirm/Tooltip 在目标元素宽度过大时,使用
- 💄 修复 Tree 组件 filter-node 节点高亮样式丢失。#49773 @ wanpan11
- 💄 优化 ColorPicker 当从
- TypeScript
- 🤖 Component Token 支持 string 或 number。#49837 @ thinkasany
- 🤖 改进 Radio 类型导出。#50203 @ baicie
- 🌐 Locales
- 🇪🇸 改进西班牙语本地化文案。#50179 @ sergioalmela
- 🇺🇦 补全
-
5.19.4 - 2024-07-30
- 🐞 Fix the internal elements of Form.Item did not inherit the row height. #50020 @ Wanpan
- 🐞 Fix Overlay is still displayed when both Popover
- 🐞 Fix the Token of Empty setting
- 💄 Fix Tour overflowed the screen on mobile devices. #50082
- 💄 Fix hover style of Checkbox
- 💄 Fix DatePicker selection style is not intuitive under rtl. #50045 @ Layouwen
- 💄 Fix Descriptions overflowing the container in
- 🛠 MISC: Migrate common style tools to
- 🌐 Locales
- 🇵🇱 Add DatePicker locales for pl_PL. #50023 @ ang33l
- 🇧🇪🇫🇷 Add Modal Tour locales for fr_BE fr_FR. #50058 @ JaccoGoris
- 🐞 修复 Form.Item 内部元素没有继承行高的问题。#50020 @ Wanpan
- 🐞 修复 Popover
- 🐞 修复 Empty Token 设置
- 💄 修复 Tour 在移动端下溢出屏幕的问题。#50082
- 💄 修复 Checkbox
- 💄 修复 DatePicker 在 rtl 下选择样式不符直觉。#50045 @ Layouwen
- 💄 修复 Descriptions 在
- 🛠 MISC:将通用样式工具迁移到
- 🌐 国际化
- 🇵🇱 为 pl_PL 补充 DatePicker 国际化。#50023 @ ang33l
- 🇧🇪🇫🇷 为 fr_BE fr_FR 补充 Modal Tour 国际化。#50058 @ JaccoGoris
-
5.19.3 - 2024-07-19
- 🐞 Fix Table sorter argument of
- 🐞 Fix Pagination
- 🐞 Fix List wrong align style of pagination. #49925 @ coding-ice
- 🐞 Fix Image cannot exit preview, when click blank area on both sides of aciton bar. #49915 @ wanpan11
- 🐞 Fix Card border radius cannot works for non-img elements from
- 💄 Fix Dropdown menu item wrong wrap style at edge of viewport. #49899
- 💄 Fix Descriptions items may too close with each other. #49895 @ crazyair
- ⌨️ Optimize Select be changed repeatedly when hold the enter key in multi-mode. #49963 @ crazyair
- 🇪🇬 Add missing translation for the Arabic language(Egypt) (ar_EG). #49852 @ ahmedsamirdev
- TypeScript
- 🤖 Reuse Tooltips type definitions for ColorPicker. #49949 @ Wxh16144
- 🐞 修复 Table 的
- 🐞 修复 Pagination
- 🐞 修复 List 默认分页位置错误的问题。#49925 @ coding-ice
- 🐞 修复 Image 预览操作栏两侧空白区域被点击时,无法关闭预览的问题。#49915 @ wanpan11
- 🐞 修复 Card 圆角对
- 💄 修复 Dropdown 菜单内容在视口边缘换行的问题。#49899
- 💄 修复 Descriptions 子项之间可能没有边距的问题。#49895 @ crazyair
- ⌨️ 优化 Select 多选模式下长按回车会不断触发变更的问题。#49963 @ crazyair
- 🇪🇬 添加阿拉伯文(埃及) (ar_EG) 的翻译。#49852 @ ahmedsamirdev
- TypeScript
- 🤖 复用 Tooltips 的定义以简化 ColorPicker 的类型声明。#49949 @ Wxh16144
-
5.19.2 - 2024-07-15
- 🐞 Fix List render
- 🐞 Fix Upload with dragging upload, the
- Descriptions
- 🐞 Fix Descriptions overlap when content is too long. #49803 @ coding-ice
- 🐞 Fix Descriptions render style issue when under Table
- 🐞 Fix Spin style issue when use
- 🇮🇳 Fill DatePicker
- Typescript
- 🐞 Fix Tree
- 🐞 Revert Cascader
- 🐞 修复 List
- 🐞 修复 Upload 拖拽上传文件夹时,
- Descriptions
- 🐞 修复 Descriptions 在内容过长时会遮盖后面内容的问题。#49803 @ coding-ice
- 🐞 修复 Descriptions 在 Table
- 🐞 修复 Spin
- 🇮🇳 补充 DatePicker 的
- Typescript
- 🐞 修复 Tree
- 🐞 回滚 Cascader
-
5.19.1 - 2024-07-05
- 🐞 Global: @ ant-design/colors use pre-compiled color presets to improve runtime performance. #49714 @ guoyunhe
- 🐞 Global: No more limit max auto
- 🐞 Adjust position of Input.TextArea to be consistent with other data entry components. #49718 @ wanpan11
- 🐞 Fix Input variant
- TypeScript
- 🤖 Fix Cascader
- 🐞 Global: @ ant-design/colors 使用预编译颜色预设来提升运行时性能。#49714 @ guoyunhe
- 🐞 Global: 对于弹层类自动增长
- 🐞 优化 Input.TextArea 清除图标的位置,与其他输入组件统一。#49718 @ wanpan11
- 🐞 修复 Input 组件
- TypeScript
- 🤖 修复 Cascader 组件
-
5.19.0 - 2024-07-01
- 🆕 ConfigProvider now supports global configuration for
- QRCode
- QRCode uses
- QRCode adding support for click events and
- 🆕 Select component's
- 🆕 Pagination adds
- 🐞 Enhanced Anchor's
- DatePicker
- 🐞 Fixed missing arrow in DatePicker/TimePicker RangePicker with
- 🐞 Fixed missing accessible text for DatePicker switch button, style issue in RTL mode for
- 🐞 Fixed DatePicker.RangePicker resetting selected dates when entering dates via keyboard. #49333
- 🐞 Button fixed
- 🐞 InputNumber now warns when using
- Table
- 🐞 Table fixed issue with
- 🐞 Fixed Table filter panel not working after customizing global Empty style. #49548 @ duqigit
- 🐞 Upload fixed rendering performance issue when listing many files in list mode. #49598 @ tlkv
- 💄 Added initial styles for
- 💄 Improved active style for Slider handle. #49630
- 💄 Optimized
- 🐞 Fixed Typography
- TypeScript:
- 🤖 ConfigProvider Improved TypeScript definition for
- 🌐 Locales
- 🇹🇭 Added missing Thai translations for
- 🇳🇱 Fixed nl_NL localization issues for Tour. #49612 by @ Hannnnnnnnnnnnnnnn
- 🇹🇷 Adjusted Turkish language text for
- 🆕 ConfigProvider 现支持全局配置
- 🆕 QRCode
- QRCode 使用
- QRCode 新增支持点击事件和
- 🆕 Select 组件的
- 🆕 Pagination 支持
- 💄 优化了 Slider 滑块的激活样式。#49630
- 🐞 增强了 Anchor 的
- DatePicker
- 🐞 修复了 DatePicker/TimePicker 的 RangePicker 在
- 🐞 修复了 DatePicker 切换按钮缺失可访问性文本的问题,修复了
- 🐞 修复了 DatePicker.RangePicker 年选择器输入结束值错误导致报错的问题。#49333
- 🐞 修复了 DatePicker.RangePicker 键盘输入日期时已选日期重置的问题。#49333
- 🐞 Button 修复了用作 Dropdown
- 🐞 InputNumber 在同时使用
- 🐞 修复 Dropdown 次级菜单 reset 样式丢失的问题。#49643 @ wanpan11
- 💄 优化了 DatePicker、TimePicker、Select、TreeSelect、Input、InputNumber、Mentions 的
- Table
- 🐞 Table 修复了
- 🐞 Table 自定义全局组件的 Empty 样式后,Table的过滤面板没生效的问题。#49548 @ duqigit
- 🐞 Upload 修复了在列表模式下文件过多时出现的渲染性能问题。#49598 @ tlkv
- 🐞 Typography 修复在父元素存在
- TypeScript:
- 🤖 ConfigProvider 改进了
- 🌐 国际化
- 🇹🇭 添加了缺失的泰语翻译,包括
- 🇳🇱 Tour 修复了 nl_NL 本地化问题。#49612 @ Hannnnnnnnnnnnnnnn
- 🇹🇷 调整了 DatePicker 的土耳其语言文案。#49333
-
5.18.3 - 2024-06-19
- 🐞 Revert #49289 to resolve Table sort state missing in some cases. #49487
- 🛠 Migrate the
- 🇳🇵 Fix ne_NP missing locales. #49492 @ FuliangZhang
- 🐞 回滚 #49289 以修复 5.18.2 引入的 Table 排序状态失效的问题。#49487
- 🛠 将样式处理的部分功能迁移到
- 🇳🇵 补充 ne_NP 本地化文案。#49492 @ FuliangZhang
-
5.18.2 - 2024-06-17
-
5.18.1 - 2024-06-12
-
5.18.0 - 2024-06-03
-
5.17.4 - 2024-05-27
-
5.17.3 - 2024-05-19
-
5.17.2 - 2024-05-14
-
5.17.1 - 2024-05-14
-
5.17.0 - 2024-05-02
-
5.16.5 - 2024-04-28
-
5.16.4 - 2024-04-22
-
5.16.3 - 2024-04-21
-
5.16.2 - 2024-04-15
-
5.16.1 - 2024-04-05
-
5.16.0 - 2024-03-31
-
5.15.4 - 2024-03-25
-
5.15.3 - 2024-03-16
-
5.15.2 - 2024-03-11
-
5.15.1 - 2024-03-06
-
5.15.0 - 2024-03-02
-
5.14.2 - 2024-02-23
-
5.14.1 - 2024-02-13
-
5.14.0 - 2024-02-03
-
5.13.3 - 2024-01-28
-
5.13.2 - 2024-01-19
from antd GitHub release notes@ ctrl/tiny-colorwith@ ant-design/fast-color. #49846showUploadListsupportextrafor additional content. #50098 @ guoyunheswitcherLoadingIcon. #49716 @ coding-icerange.editableto dynamic add/remove handles. #49923range.editablesupportminCountandmaxCount. #49987dashed,dottedorsolid. #49654 @ pinaki-08suffixprop. #49674 @ coding-iceonClearprop. #49905 @ li-jia-nantopLeft,topRight,bottomLeft,bottomRightzoom in transform origin not correct when target element width is too large. #50134transparentstate, it defaults to using a bright color instead of black color to enhance the user interaction experience. #50148@ ctrl/tiny-color为@ ant-design/fast-color。#49846showUploadList添加extra以支持渲染额外信息。#50098 @ guoyunheswitcherLoadingIcon属性以支持自定义树节点的加载图标#49716 @ coding-icerange.editable以动态添加/删除节点。#49923range.editable支持minCount与maxCount以配置可编辑节点树。#49987dashed(虚线)、dotted(点线)或solid(实线)的样式。#49654 @ pinaki-08suffix属性。#49674 @ coding-iceonClear回调,便于区分点击 x 清除和手动清除这两个行为。#49905 @ li-jia-nantopLeft,topRight,bottomLeft,bottomRight的弹出动画起始缩放中心有所偏移的问题。#50134transparent状态进行颜色选取时,默认使用亮色以代替原本的纯黑色以提升用户交互体验。#50148uk_UA本地化文案。#50178 @ Andrik264titleandcontentdo not exist. #50064 @ LLmoskkopacityImagedoes not take effect. #50066 @ thinkasanyindeterminatestate. #50083borderedmode. #49946 @ leefinder@ ant-design/cssinjs-utils. #50030 @ YumoImertitle和content都不存在时 Overlay 仍显示的问题。#50064 @ LLmoskkopacityImage不生效的问题。#50066 @ thinkasanyindeterminate状态的 hover 样式。#50083bordered模式下溢出容器的问题。#49946 @ leefinder@ ant-design/cssinjs-utils。#50030 @ YumoImeronChangewith unexpected value. #49533 @ Zyf665token.itemBgnot working. #49933coverproperty. #49862 @ coding-iceonChange事件中排序器参数错误的问题。#49533 @ Zyf665token.itemBg设置不生效的问题。#49933cover属性中的非 img 元素不生效的问题。#49862 @ coding-ice0whenactions={[]}. #49842 @ int64agofileListinbeforeUploadis not fully filled. #49832 @ coderz-wexpandedRowRender. #49727 @ ljw-codekingpercentandsizeat same time. #49876kn_INmissing locales. #49860 @ neerajap-01iconandswitcherIconparameter types not being correctly inferred. #49821multipledefinition casevaluedefinition missing. #49741 @ YangZhi1actions为空数组时会渲染0的问题。#49842 @ int64agobeforeUpload中fileList不完整的问题。#49832 @ coderz-wexpandedRowRender中渲染样式异常的问题。#49727 @ ljw-codekingpercent和size一同使用时,样式不正确的问题。#49876kn_IN本地化文案。#49860 @ neerajap-01icon和switcherIcon参数类型未能正确推导的问题。#49821multiple定义更新导致value定义丢失的问题。#49741 @ YangZhi1zIndexincrease but use warning instead. #49720filledactiveBorderColortoken invalid. #49699 @ wanpan11multipletype issue. #49669 @ YangZhi1zIndex不再限制最大值,而是改成控制台警告。#49720filled变体下activeBorderColor不生效问题。#49699 @ wanpan11multiple的类型问题。#49669 @ YangZhi1variant. #49535 @ MadCccrc-qrcodeinstead ofqrcode.react. #49454 @ kiner-tangiconSizeconfiguration. #49240 @ thinkasanyfilterSortproperty now includessearchValueparameter. #49352 @ MadCccsimpleproperty, supports read-only mode, and introducesalignproperty. #49562 @ coding-iceaffixproperty for more configuration options. #49295 @ gin-lslplacementset totopRightorbottomRight.#49333DatePicker.RangePicker, and crash when entering wrong end value in year selection of DatePicker.RangePicker.#49333disabledproperty not working when used asDropdowntrigger. #47363type=numberwithchangeOnWheel. #49648 @ wanpan11locale.emptyTextshowing default value when set to a non-undefinedvalue. #49599 @照明胧SubMenunode in Menu. #49643 @ wanpan11variant=borderlessstyle for DatePicker, TimePicker, Select, TreeSelect, Input, InputNumber, Mentions, now distinguishable when settingstatusproperty. #49608ellipsisnot working when parent hasnowrapstyle. #49667renderEmptymethod. #49602 @ Wxh16144Transfer.deselectAll,Text.collapse,QRCode.scanned,ColorPicker.presetEmpty. #49588 by @ Tantatorn-devDatePicker. #49333variant。#49535 @ MadCccrc-qrcode替代了qrcode.react。#49454 @ kiner-tangiconSize宽高配置。#49240 @ thinkasanyfilterSort属性现新增获取searchValue的参数。#49352 @ MadCccsimple={{ readOnly }}属性和align属性。#49562 @ coding-iceaffix属性,支持更多配置项。#49295 @ gin-lslplacement设置为topRight或bottomRight时箭头丢失的问题。#49333DatePicker.RangePicker在 RTL 模式下的样式问题。#49333trigger时disabled属性不生效的问题。#47363type=number和changeOnWheel时现在会给出警告提示。#49648 @ wanpan11variant="borderless"样式,现在在设置status属性时也能够被区分。#49608locale.emptyText设置为非undefined值时仍会显示默认值的问题。#49599 @照明胧nowrap样式时,ellipsis不生效的问题。#49667renderEmpty方法的 TypeScript 类型定义。#49602 @ Wxh16144Transfer.deselectAll、Text.collapse、QRCode.scanned、ColorPicker.presetEmpty。#49588 @ Tantatorn-devgenCalcandAbstractCalculatorto@ ant-design/cssinjs. #49463 @ YumoImer@ ant-design/cssinjs中。#49463 @ YumoImerImportant
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: