mia-platform / design-system

React graphical components designed by Mia Platform
https://mia-platform.github.io/design-system/
Apache License 2.0
13 stars 1 forks source link

chore(deps): bump antd from 5.21.1 to 5.22.2 #720

Open dependabot[bot] opened 5 days ago

dependabot[bot] commented 5 days ago

Bumps antd from 5.21.1 to 5.22.2.

Release notes

Sourced from antd's releases.

5.22.2

  • 🐞 Fix Input.OTP focus from advancing when previous input is empty. #51664 @​thecodesalim
  • 🐞 Adjust Modal function call not to scroll the confirm button when it get auto focused. #51647 @​zombieJ
  • 🐞 Fix Form rules with same error content will cause React render warning. #51636 @​zombieJ
  • 🐞 Refactor Button focus logic trigger with useEffect to resolve some async load case not get autoFocus. #51624 @​zombieJ
  • 🐞 Fix Button custom icon not center-aligned. #51652 @​afc163
  • 🐞 Fix Table getCheckboxProps event handlers being overridden by internal selection logic. #51661 @​Zyf665
  • 🐞 Fix Tree that onCheck and onSelect were not properly triggered. #51448 @​Wxh16144
  • 🌐 Localization

  • 🐞 修复 Input.OTP 组件在有非法输入时仍会切换到下一个输入框的问题。#51664 @​thecodesalim
  • 🐞 调整 Modal 确认函数,使其在弹出后聚焦确认按钮时不要滚动窗体。#51647 @​zombieJ
  • 🐞 修复 Form rules 生成多条相同错误时会报 React 渲染错误的问题。#51636 @​zombieJ
  • 🐞 调整 Button 使用 useEffect 来触发 autoFocus 逻辑,以解决一些异步渲染场景下 Button 无法自动聚焦的问题。#51624 @​zombieJ
  • 🐞 修复 Button 中使用自定义三方图标库时图标未居中的问题。#51652 @​afc163
  • 🐞 修复 Table 组件 getCheckboxProps 中的事件处理器被内部选择逻辑覆盖的问题。#51661 @​Zyf665
  • 🐞 修复 Tree 组件的 onCheckonSelect 事件没有被正确触发的问题。#51448 @​Wxh16144
  • 🌐 本地化

5.22.1

  • 🛠 Adjust DatePicker.RangePicker to not allow switching to the next field by clicking the input when needConfirm and the user has not submitted the date. #51591 @​zombieJ
  • 🛠 Lock Input.OTP ctrl + z operation to avoid data not correct. #51609 @​zombieJ
  • 🐞 Fix Select tags or multiple mode display issue. #51605 @​guoyunhe
  • 🐞 Fix Badge count motion missing in Safari. #51598 @​zombieJ
  • 🐞 Fix Tabs with centered the tabs can not fully display. #51571 @​DDDDD12138
  • 🐞 Fix Transfer with controlled dataSource & selectedKeys sometime miss sync checked state. #51523 @​IsKaros
  • 🐞 Revert Button display inline-flex back to inline-block to resolve Icon align issue. #51588 @​Wxh16144

  • 🛠 调整 DatePicker.RangePicker 当 needConfirm 切用户未提交日期时,不允许通过点击输入框切换到下一个字段。#51591 @​zombieJ
  • 🛠 禁用 Input.OTP ctrl + z 操作以防止数据变化非预期的问题。#51609 @​zombieJ
  • 🐞 修复 Select 标签模式下展示异常的问题。#51605 @​guoyunhe
  • 🐞 修复 Badge count 在 Safari 下动画丢失的问题。#51598 @​zombieJ
  • 🐞 修复 Tabs centered 下标签展示不全的问题。#51571 @​DDDDD12138
  • 🐞 修复 Transfer 受控 dataSourceselectedKeys 时,偶尔会出现勾选不正确的问题。#51523 @​IsKaros
  • 🐞 回滚 Button displayinline-flexinline-block 以解决 Icon 位置偏移的问题。#51588 @​Wxh16144

5.22.0

  • Form
    • 🆕 Form.Item supports hiding labels. #51524 @​crazyair
    • 🐞 Form removes the div used to expand the error height, wraps errorDom and extraDom with a div, and sets a minimum height for the div. #51254 @​hongzzz
    • 🐞 Fix the problem that onValuesChange is still triggered when the Form field triggers change but the value does not change. #51437 @​crazyair
    • 🆕 Form supports the focus property in scrollToFirstError when form validation fails. #51231 @​nathanlao
  • Table
  • Tree

... (truncated)

Changelog

Sourced from antd's changelog.

5.22.2

2024-11-21

  • 🐞 Fix Input.OTP focus from advancing when previous input is empty. #51664 @​thecodesalim
  • 🐞 Adjust Modal function call not to scroll the confirm button when it get auto focused. #51647 @​zombieJ
  • 🐞 Fix Form rules with same error content will cause React render warning. #51636 @​zombieJ
  • 🐞 Refactor Button focus logic trigger with useEffect to resolve some async load case not get autoFocus. #51624 @​zombieJ
  • 🐞 Fix Button custom icon not center-aligned. #51652 @​afc163
  • 🐞 Fix Table getCheckboxProps event handlers being overridden by internal selection logic. #51661 @​Zyf665
  • 🐞 Fix Tree that onCheck and onSelect were not properly triggered. #51448 @​Wxh16144
  • 🌐 Localization

5.22.1

2024-11-13

  • 🛠 Adjust DatePicker.RangePicker to not allow switching to the next field by clicking the input when needConfirm and the user has not submitted the date. #51591 @​zombieJ
  • 🛠 Lock Input.OTP ctrl + z operation to avoid data not correct. #51609 @​zombieJ
  • 🐞 Fix Select tags or multiple mode display issue. #51605 @​guoyunhe
  • 🐞 Fix Badge count motion missing in Safari. #51598 @​zombieJ
  • 🐞 Fix Tabs with centered the tabs can not fully display. #51571 @​DDDDD12138
  • 🐞 Fix Transfer with controlled dataSource & selectedKeys sometime miss sync checked state. #51523 @​IsKaros
  • 🐞 Revert Button display inline-flex back to inline-block to resolve Icon align issue. #51588 @​Wxh16144

5.22.0

2024-11-12

  • Form
    • 🆕 Form.Item supports hiding labels. #51524 @​crazyair
    • 🐞 Form removes the div used to expand the error height, wraps errorDom and extraDom with a div, and sets a minimum height for the div. #51254 @​hongzzz
    • 🐞 Fix the problem that onValuesChange is still triggered when the Form field triggers change but the value does not change. #51437 @​crazyair
    • 🆕 Form supports the focus property in scrollToFirstError when form validation fails. #51231 @​nathanlao
  • Table
  • Tree
    • 💄 Fix the problem of missing padding style for selected nodes in Tree. #51492 @​zombieJ
    • 🆕 Tree component Token adds nodeHoverColor and nodeSelectedColor support. #51367 @​zmbxy
    • 🆕 Tree adds indentSize token for custom indent width. #51010 @​afc163
  • DatePicker
    • 🆕 DatePicker supports prefix attribute. #51335 @​guoyunhe
    • 💄 Fixed the issue of DatePicker.RangePicker flashing when the mouse moves between cells. #51533 @​afc163
  • Input.OTP
    • 🆕 In the Input.OTP component, add onInput event to get the value of each user input. At the same time, the relevant documentation has been updated. #51289 @​aojunhao123
    • 🐞 Fixed the problem that Input.OTP cannot specify inputMode. #51271 @​alan-rudzinski
  • 🆕 ColorPicker supports disabledFormat. #51539 @​su-muzhi

... (truncated)

Commits


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)