notional-labs / dig

Dig: Governance
Other
174 stars 70 forks source link

Bump antd from 4.24.2 to 5.4.0 in /webapp #564

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps antd from 4.24.2 to 5.4.0.

Release notes

Sourced from antd's releases.

5.4.0

  • 🗑 Remove antd/es/locale-provider antd/lib/locale-provider directory since LocaleProvider was replaced by ConfigProvider and removed in 4.x version years before. #41289 @​li-jia-nan
  • 🆕 DatePicker/TimePicker/Calendar could change date-library to luxon now. #41580 @​hihuz
  • 🆕 Add Form.Item.useStatus hook to get error messages. #41554 @​Yuiai01
  • 🆕 Input and Input.TextArea support classNames and styles props. #41493
  • 🆕 Tag add bordered={false} to support border-less style. #41305 @​li-jia-nan
  • 🆕 FloatButton support badge prop. #41040 @​li-jia-nan
  • 🆕 Select add title property. #41280
  • 🆕 Image component supports preview.rootClassName. #41265 @​Yuiai01
  • 🆕 Modal added afterOpenChange prop. #41253 @​MuxinFeng
  • 🆕 Form.useWatch could watch field change at preserve mode. #41191 @​li-jia-nan
  • 🛠 Refactor some components by using useMemo. #41533 #41550 @​li-jia-nan
  • 🛠 Refactor Checkbox with hooks and new types. #41117
  • 🛠 Refactor Input.TextArea that move count into affixWrapper element. #41450
  • 🆕 DatePicker/Calendar add cellRender for custom cells and deprecated properties dateRender and monthCellRender in DatePicker, deprecated properties dateCellRendermonthCellRenderdateFullCellRendermonthFullCellRender in Calendar. #41584 @​kiner-tang
  • 🐞 Fix Tour double arrow problem. #41578 @​acyza
  • 🐞 Fix Checkbox with customize controlHeight token not align in center with text. #41566
  • 🐞 Fix Form.Item not rendering correctly in Modal when it has help. #40519 @​Yuiai01
  • 🐞 Fix Form wrong UI status when using hasFeedback. #41594 @​Yuiai01
  • 🐞 Fix Slider throws warning [antd: Tooltip] forcePopupAlign is align to forceAlign instead. #41540 @​MuxinFeng
  • 🐞 Fix checkable Table checking not working when click on the edge of checkbox. #41519
  • Locales

  • 🗑 移除 antd/es/locale-provider antd/lib/locale-provider 目录,LocaleProvider 已在 4.x 版本移除,使用 ConfigProvider 作为替代。#41289 @​li-jia-nan
  • 🆕 DatePicker 等时间类组件可以定制 luxon 作为日期库。#41580 @​hihuz
  • 🆕 新增 Form.Item.useStatus 以支持获取错误状态信息。#41554 @​Yuiai01
  • 🆕 Input 和 Input.TextArea 组件支持 classNamesstyles 属性,用于更细粒度的样式自定义。#41493
  • 🆕 Tag 新增无边框模式。#41305 @​li-jia-nan
  • 🆕 FloatButton 支持用 badge 属性开启角标功能。#41040 @​li-jia-nan
  • 🆕 Select 支持 title 属性以便覆盖一些自带的 title 提示。#41280
  • 🆕 Image 组件支持设置 preview.rootClassName#41265 @​Yuiai01
  • 🆕 Modal 组件支持 afterOpenChange 属性。#41253 @​MuxinFeng
  • 🆕 Form.useWatch 新增 preserve 参数,支持在 Form.Item 未注册的情况下 setFieldValue 时触发监听。#41191 @​li-jia-nan
  • 🛠 使用 useMemo 重构部分组件代码。#41533 #41550 @​li-jia-nan
  • 🛠 使用 React hooks 重构 Checkbox,并优化了 TS 定义。#41117
  • 🛠 重构 Input.TextArea 文字计数实现方式,移至 affixWrapper 元素中。#41450
  • 🆕 DatePicker/Calendar 组件新增 cellRender 用于自定义日期单元格,同时在 DatePicker 中废弃 dateRendermonthRender 等属性,在 Calendar 中废弃 dateCellRendermonthCellRenderdateFullCellRendermonthFullCellRender 等属性。#41584 @​kiner-tang
  • 🐞 修复 Tour 出现两个箭头的问题。#41578 @​acyza
  • 🐞 修复 Checkbox 配置 controlHeight token 时勾选框与文字不对齐的问题。#41566
  • 🐞 修复 Form.Item 存在 help 值时在 Modal 中没有正确渲染元素。#40519 @​Yuiai01
  • 🐞 修复 Form 使用 hasFeedback 时表单状态不对的问题。#41594 @​Yuiai01
  • 🐞 修复 Slider 组件显示 Warning: [antd: Tooltip] forcePopupAlign is align to forceAlign instead 警告信息的问题。#41540 @​MuxinFeng
  • 🐞 修复可选择 Table 的勾选框在边缘点击的时候无法触发勾选的问题。#41519
  • 国际化

... (truncated)

Changelog

Sourced from antd's changelog.

5.4.0

2023-04-03

  • 🗑 Remove antd/es/locale-provider antd/lib/locale-provider directory since LocaleProvider was replaced by ConfigProvider and removed in 4.x version years before. #41289 @​li-jia-nan
  • 🆕 DatePicker/TimePicker/Calendar could change date-library to luxon now. #41580 @​hihuz
  • 🆕 Add Form.Item.useStatus hook to get error messages. #41554 @​Yuiai01
  • 🆕 Input and Input.TextArea support classNames and styles props. #41493
  • 🆕 Tag add bordered={false} to support border-less style. #41305 @​li-jia-nan
  • 🆕 FloatButton support badge prop. #41040 @​li-jia-nan
  • 🆕 Select add title property. #41280
  • 🆕 Image component supports preview.rootClassName. #41265 @​Yuiai01
  • 🆕 Modal added afterOpenChange prop. #41253 @​MuxinFeng
  • 🆕 Form.useWatch could watch field change at preserve mode. #41191 @​li-jia-nan
  • 🛠 Refactor some components by using useMemo. #41533 #41550 @​li-jia-nan
  • 🛠 Refactor Checkbox with hooks and new types. #41117
  • 🛠 Refactor Input.TextArea that move count into affixWrapper element. #41450
  • 🆕 DatePicker/Calendar add cellRender for custom cells and deprecated properties dateRender and monthCellRender in DatePicker, deprecated properties dateCellRendermonthCellRenderdateFullCellRendermonthFullCellRender in Calendar. #41584 @​kiner-tang
  • 🐞 Fix Tour double arrow problem. #41578 @​acyza
  • 🐞 Fix Checkbox with customize controlHeight token not align in center with text. #41566
  • 🐞 Fix Form.Item not rendering correctly in Modal when it has help. #40519 @​Yuiai01
  • 🐞 Fix Form wrong UI status when using hasFeedback. #41594 @​Yuiai01
  • 🐞 Fix Slider throws warning [antd: Tooltip] forcePopupAlign is align to forceAlign instead. #41540 @​MuxinFeng
  • 🐞 Fix checkable Table checking not working when click on the edge of checkbox. #41519
  • Locales

5.3.3

2023-03-28

  • Menu
    • 🐞 Fix Menu items not accept key issue. #41434 @​Yuiai01
    • 🐞 Fix submenu themes being overwritten when using getPopupContainer to select the main Menu. #41465 @​Yuiai01
  • 🐞 Fix Table filter do not persist filter status when filter dropdown is visible. #41445 @​ablakey
  • 🐞 Fix Modal using useModal is not transparent and prefers user settings. #41422 @​luo3house
  • Form
    • 🐞 Fix the problem that the Form validation state does not change in sequence. #41412 @​kiner-tang
    • 💄 Fix Form component layout exceptions when set props layout="inline". #41140 @​itkui
  • 💄 Fix ConfigProvider nonce not working on CSS-in-JS style. #41482
  • 💄 Fix Pagination when size=small, pagination button active, previous page next page button hover and active styles are lost. #41462 #41458
  • 💄 Fix the style problem that the bottom border of the Tabs component overlaps with other borders. #41381
  • 💄 Fix Dropdown.Button down icon size issue. #41501
  • TypeScript
    • 🐞 Fix the incorrect type definition of Breadcrumb.Item menu. #41373
    • 🤖 Optimize Grid Col type. #41453 @​vaakian
    • 🤖 Optimize Table resetPagination type. #41415
    • 🤖 Optimize TreeSelect InternalTreeSelect type. #41386 @​Andarist

... (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 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)
sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

dependabot[bot] commented 1 year ago

Superseded by #573.