[Snyk] Upgrade antd from 5.20.3 to 5.24.7 #296
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.3 to 5.24.7.
ℹ️ 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 31 versions ahead of your current version.
The recommended version was released 23 days ago.
Release notes
Package name: antd
-
5.24.7 - 2025-04-14
- 🐞 Fix Input causing incorrect Popover positioning when a
- 🐞 Fix Table filter menu selection state loss when
- 🇨🇳 ColorPicker add
- 🐞 修复 Input 存在
- 🐞 修复 Table
- 🇨🇳 补充 ColorPicker 的
-
5.24.6 - 2025-04-01
- 🐞 Fix Modal show loading with async call, still can close with click outer space. #53227 @ jin19980928
- 🐞 Fix when Table
- 🐞 修复 Modal 通过异步方法显示 loading 态时,点击外侧仍能触发关闭的问题。#53227 @ jin19980928
- 🐞 修复 Table 在
-
5.24.5 - 2025-03-24
- 🐞 Fixed the issue that the suffix of InputNumber moves left after the mouse enters when it is disabled. #53184 @ yellowryan
- 💄 Fix Form syntax errors of style selector. #53236 @ Wxh16144
- 💄 Refactor TextArea resize logic when set
- 🇮🇷 Add missing translations and fix typos for Farsi language (fa_IR). #53251 @ AliReza-Kamkar
- 🐞 修复 InputNumber 在禁用状态下鼠标划入后
- 💄 修复 Form 组件样式选择器语法错误。#53236 @ Wxh16144
- 💄 重构 TextArea 对
- 🇮🇷 添加缺失的波斯语 (fa_IR) 翻译并修正拼写错误。#53251 @ AliReza-Kamkar
-
5.24.4 - 2025-03-17
- 🐞 Fix Input.TextArea width synchronization issue during resizing. #53024 @ triyys
- 🐞 Fix Typography type color not follow
- 🐞 Fix Affix abnormal
- 🐞 Fix Form
- 🇹🇷 Add Turkish (tr_TR) localization support for the Tour component. #53117 @ hakankosdag
- 🐞 修复 Input.TextArea 调整大小时宽度同步问题。#53024 @ triyys
- 🐞 修复 Typography
- 🐞 修复 Affix 组件在 React 18 以下版本中
- 🐞 修复 Form
- 🇹🇷 新增 Tour 组件的土耳其语(tr_TR)本地化支持。#53117 @ hakankosdag
-
5.24.3 - 2025-03-05
- Input
- 🐞 Fix the next element was not correctly selected after pressing the Tab key when
- 💄 Fix the border display issue when hovering in the
- 💄 Fix DatePicker header buttons misalignment caused by unexpected spacing. #53007 @ DDDDD12138
- 💄 Fix the text in AutoComplete was not centered when
- 🇩🇪 Add missing
- Input
- 🐞 修复 Input 开启
- 💄 修复 Input 开启
- 💄 修复 DatePicker 头部按钮意外间距导致的未对齐问题。#53007 @ DDDDD12138
- 💄 修复 AutoComplete 在
- 🇩🇪 完善
-
5.24.2 - 2025-02-24
- Input
- 🐞 Fix Input with component token
- 🐞 Fix Input.Search has a border that is not aligned with the bottom of the search button when configure
- 🛠 Improve Input.OTP logic for create default state. #52878 @ Dandelion-F
- 🛠 Improve Input.OTP implementation for render separator. #52841 @ li-jia-nan
- Watermark
- 🐞 Fix Watermark may cause page unresponsive when re-rendering. #52897 @ 765477020
- 🆕 Improve Watermark rendering logic to avoid disable it via developer tools and
- 🐞 Fix DatePicker.RangePicker arrow position not correctly when sometime reopened. #52854 @ zombieJ
- 🐞 Fix Layout.Sider content overflow issue when
- 🛠 Refactor Grid internal useBreakpoint logic to be same as other component, this will not affect usage. #52870 @ zombieJ
- 💄 Fix Button styles for hyperlink mode. #52888 @ DDDDD12138
- 💄 Fix Table sortable column headers could not wrap automatically. #52899 @ 765477020
- ⚡️ Improve Menu re-rendering performance when pass function to
- ⚡️ Improve Carousel indicator animation performance. #52881 @ li-jia-nan
- RTL
- 💄 Fix DatePicker wrong icon direction for RTL mode. #52896 @ li-jia-nan
- 💄 Fix Dropdown wrong arrow direction of multi-level menu for RTL mode. #52885 @ yellowryan
- Input
- 🐞 修复 Input 配置
- 🐞 修复 Input.Search 在设置
- 🛠 优化 Input.OTP 的默认状态创建逻辑。#52878 @ Dandelion-F
- 🛠 优化 Input.OTP 的分隔符渲染实现。#52841 @ li-jia-nan
- Watermark
- 🐞 修复 Watermark 重新渲染时可能导致页面卡死的问题。#52897 @ 765477020
- 🆕 调整 Watermark 渲染逻辑,防止通过开发者工具添加
- 🐞 修复 DatePicker.RangePicker 在弹层重新打开的时候,有可能出现箭头位置不正确的问题。#52854 @ zombieJ
- 🐞 修复 Layout.Sider 当
- 🛠 重构 Grid 内部响应式逻辑以复用其他组件类似的逻辑,该更新不会于使用上有所变化。#52870 @ zombieJ
- 💄 修复 Button 超链接模式的样式。#52888 @ DDDDD12138
- 💄 修复 Table 可排序列头不自动换行的问题。#52899 @ 765477020
- ⚡️ 优化 Menu 在
- ⚡️ 优化 Carousel 指示器的动画性能。#52881 @ li-jia-nan
- RTL
- 💄 修复 DatePicker 在 RTL 模式下图标方向错误的问题。#52896 @ li-jia-nan
- 💄 修复 Dropdown 在 RTL 模式下多级菜单箭头方向错误的问题。#52885 @ yellowryan
-
5.24.1 - 2025-02-17
- 🐞 Fix Button with
- 💄 Fix Input.Group & Input.OTP style issues caused by undefined CSS variables. #52799 @ afc163
- 🐞 Fix DatePicker with long content
- 🐞 Fix Table title missing
- 🐞 Fix Alert.ErrorBoundary type error when used as a JSX component with
- 💄 Fix Segmented
- 🐞 修复 Button 配置
- 💄 修复 Input.Group 与 Input.OTP 由于 css 变量未定义导致样式异常的问题。#52799 @ afc163
- 🐞 修复 DatePicker 的
- 🐞 修复 Table 列标题在排序时丢失
- 🐞 修复 Alert.ErrorBoundary 在
- 💄 修复 Segmented 设置
-
5.24.0 - 2025-02-11
- 🆕 Notification support
- 🆕 Carousel support show dot duration. #52672 @ yellowryan
- 🆕 Input.OTP support
- 🆕 Descriptions add
- 🆕 Segmented supports
- 🆕 ConfigProvider support
- 🆕 Progress/Step supports custom rounding with
- 🆕 Divider
- 🆕 Add
- 🆕 ConfigProvider support global config of Modal
- 🆕 Add
- 🐞 Fix Tooltip/Popover/Popconfirm/Dropdown misaligned popup positions with custom children in React 19. react-component/util#623 @ zombieJ
- 🐞 Fix DatePicker.RangePicker arrow position when popup auto adjust position. #52719 @ zombieJ
- 🐞 Update locale
- 🐞 Fix Form that
- 💄 Fix Button shadow color appearing awkward on dark backgrounds. #52701 @ afc163
- 💄 Fixed the unnatural animation transition effect of Segmented component in dark mode. #52708 @ yellowryan
- 💄 Separate style of Input and TextArea. #52570 @ guoyunhe
- 💄 Fix Input and Select style issue under css var mode. #52554 @ li-jia-nan
- ⌨️ Remove role="alert" from Form field error to improve screen reader experience. #52661 @ mellis481
- ⌨️ Improve accessibility by adding localized labels for empty table header and panel buttons. #52689 @ aojunhao123
- ⌨️ Improve Tabs accessibility by fixing error
- ⌨️ Add screen reader support for Tooltip. #52293 @ aojunhao123
- TypeScript
- 🤖 Separate type of Button
- 🤖 Deprecate Button.Group, prefer Space.Compact. #52572 @ guoyunhe
- 🤖 Deprecate Input.Group, prefer Space.Compact. #52571 @ guoyunhe
- 🤖 Tooltip export TooltipRef type. #49230 @ nuintun
- 🆕 Notification 支持
- 🆕 Carousel 支持展示指示点进度。#52672 @ yellowryan
- 🆕 Input.OTP 支持
- 🆕 Descriptions 增加
- 🆕 Segmented 支持
- 🆕 ConfigProvider 支持 Card 组件的
- 🆕 Progress/Step 支持使用
- 🆕 Divider 的
- 🆕 为 Input、InputNumber、Mentions、Form、Select、Cascader、TreeSelect、DatePicker、TimePicker 组件的
- 🆕 ConfigProvider 支持 Modal
- 🆕 为 Checkbox 和 Radio 增加
- 🐞 修复 Tooltip/Popover/Popconfirm/Dropdown 在 React 19 下 children 为自定义组件时弹层位置错乱的问题。react-component/util#623 @ zombieJ
- 🐞 修复 DatePicker.RangePicker 弹出窗体自动调整位置时,面板的箭头位置不正确的问题。#52719 @ zombieJ
- 🐞 修正 locale 中
- 🐞 修复 Form
- 💄 修复 Button 预设值按钮的阴影色在暗色背景下显示突兀的问题。#52701 @ afc163
- 💄 修复 Segmented 组件在暗黑模式下的动画过渡效果不自然的问题。#52708 @ yellowryan
- 💄 拆分 Input 和 TextArea 样式。#52570 @ guoyunhe
- 💄 修复 Input 和 Select 在 css var 模式下的样式问题。#52554 @ li-jia-nan
- ⌨️ Form field error 移除 role="alert" 以提升可访问性。#52661 @ mellis481
- ⌨️ 优化无障碍体验,为空表头和面板按钮添加本地化标签。#52689 @ aojunhao123
- ⌨️ 优化 Tabs 组件的可访问性,修复
- ⌨️ 为 Tooltip 添加读屏器支持。#52293 @ aojunhao123
- TypeScript
- 🤖 Button 根据
- 🤖 废弃 Button.Group, 推荐 Space.Compact。#52572 @ guoyunhe
- 🤖 废弃 Input.Group,推荐 Space.Compact。#52571 @ guoyunhe
- 🤖 Tooltip 导出 TooltipRef 类型。#49230 @ nuintun
-
5.23.4 - 2025-02-05
-
5.23.3 - 2025-01-28
-
5.23.2 - 2025-01-20
-
5.23.1 - 2025-01-13
-
5.23.0 - 2025-01-06
-
5.22.7 - 2024-12-27
-
5.22.6 - 2024-12-23
-
5.22.5 - 2024-12-14
-
5.22.4 - 2024-12-09
-
5.22.3 - 2024-12-02
-
5.22.2 - 2024-11-20
-
5.22.1 - 2024-11-13
-
5.22.0 - 2024-11-11
-
5.21.6 - 2024-10-28
-
5.21.5 - 2024-10-21
-
5.21.4 - 2024-10-14
-
5.21.3 - 2024-10-09
-
5.21.2 - 2024-09-30
-
5.21.1 - 2024-09-25
-
5.21.0 - 2024-09-22
-
5.20.6 - 2024-09-09
-
5.20.5 - 2024-09-03
-
5.20.4 - 2024-09-02
-
5.20.3 - 2024-08-26
from antd GitHub release notessuffixis present. #53475column.filterDropdownis set toundefined. #53421zh_HKzh_TWlocales. #53440 @ mjsong07suffix的情况下 Popover 弹出位置错乱的问题。#53475column.filterDropdown指定为undefined导致筛选菜单选中状态丢失的问题。#53421zh_HKzh_TW本地化文案。#53440 @ mjsong07sizeissmall, the theme config will take effect on the sub Pagination. #52829 @ Can-Chensize为small时,主题配置 Pagination 无效的问题。#52829 @ Can-Chenresize: bothstyle to fit with React life cycle. #53235 @ zombieJsuffix出现左移的问题。#53184 @ yellowryanresize: both时处理尺寸的逻辑以更符合 React 生命周期。#53235 @ zombieJcolor[Status]Textinstead ofcolor[Status]. #53086 @ zombieJonChangeevent behavior in React versions below 18. #53038 @ waiterrequiredMarknot working when component is false. #52950 @ Wxh16144type颜色没有跟随 tokencolor[Status]Text而是color[Status]的问题。#53086 @ zombieJonChange参数值异常的问题。#53038 @ waiterrequiredMark在component=false时不起作用的问题。#52950 @ Wxh16144allowClearwas turned on for Input. #52977 @ wanpan11disabledstate when Input hasvariant="underlined"turned on. #52959 @ ustcfurysize="large". #52819 @ aojunhao123de_DEtranslations for Transfer. #53047 @ chrisinickallowClear后按下 Tab 键后没有正确选中下个元素的问题。#52977 @ wanpan11variant="underlined"时disabled状态下 hover 时边框显示问题。#52959 @ ustcfurysize="large"时文字未居中对齐的问题。#52819 @ aojunhao123de_DETransfer 本地化. #53047 @ chrisinickinputFontSizebreaks the height ofcontrolHeight. #52865 @ zombieJvariableasunderlined. #52861 @ ustcfuryhiddenattribute. #52891 @ arronlaicollapsedWidth={0}. #52862 @ afc163expandIconproperty. #52863 @ wanpan11inputFontSizecomponent token 时,controlHeight会不生效的问题。#52865 @ zombieJvariant为underlined时下边框与搜索按钮底部没对齐的问题。#52861 @ ustcfuryhidden属性来去掉水印。#52891 @ arronlaicollapsedWidth={0}时的内容溢出的问题。#52862 @ afc163expandIcon属性传入函数时重新渲染的性能。#52863 @ wanpan11colorto beprimaryandvariantto betextorlinkwill not use correct color. #52812 @ zombieJprefixbreaks the layout. #52776 @ guoyunhearia-labelwhen sorting. #52772 @ mellis481@ types/react@18.x. #52766 @ afc163shapenot working withsize. #52757 @ yellowryancolor为primary并且variant为text或link时,没有取用正确的色板的问题。#52812 @ zombieJprefix内容多时会换行的问题。#52776 @ guoyunhearia-label的问题。#52772 @ mellis481@ types/react@18.x中无法作为 JSX 组件使用的类型错误问题。#52766 @ afc163size时,shape不生效的问题。#52757 @ yellowryanactionsprop and deprecatedbtnprop. #52703 @ thinkasanyseparatorprop. #52668 @ HaceraIlabelColorcomponent token. #52700 @ guoyunheshape="round". #52685 @ afc163variantfor Card. #52552 @ thinkasanyroundingprop. #52017 @ yanghoxomorientationsupportstartandend. #52567 @ li-jia-nanunderlinedtovariantof Input, InputNumber, Mentions, Form, Select, Cascader, TreeSelect, DatePicker and TimePicker. #52546 @ ustcfurycentered. #52343 @ guoyunhelabelclass name for Checkbox and Radio. #52322 @ guoyunhefilterCheckalltofilterCheckAll. #52517 @ thinkasanyscrollToFieldandscrollToFirstErrorcannot focus components of antd. #52726 @ Wxh16144Certain ARIA roles must contain particular children. #52677 @ afc163onClickevent byhref. #52654 @ Brew-Brewactions属性并废弃btn属性。#52703 @ thinkasanyseparator属性。#52668 @ HaceraIlabelColor组件 token。#52700 @ guoyunheshape="round"的胶囊形状的样式。#52685 @ afc163variant配置。#52552 @ thinkasanyrounding属性自定义取整方法。#52017 @ yanghoxomorientation属性支持start和end.#52567 @ li-jia-nanvariant添加underlined属性。#52546 @ ustcfurycentered全局配置。#52343 @ guoyunhelabel类名。#52322 @ guoyunhefilterCheckall为filterCheckAll。#52517 @ thinkasanyscrollToField和scrollToFirstError无法聚焦 antd 组件的问题。#52726 @ Wxh16144Certain ARIA roles must contain particular children的报错。#52677 @ afc163href属性区分onClick事件类型。#52654 @ Brew-BrewImportant
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: