Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

📦 chore(deps): Update dependency antd to v5 #45

Merged
merged 2 commits into from
Sep 17, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 22, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
antd (source) ^4.16.13 -> ^5.0.0 age adoption passing confidence

Release Notes

ant-design/ant-design (antd)

v5.20.5

Compare Source

  • 🛠 Adjust Tree & TreeSelect defaultExpandAll logic to only add internal expandedKeys which treeNode has children instead to avoid perf issue when with large data or loadData case. #​50689 @​zombieJ
  • 🐞 Fix Cascader not show parent option in search when using multiple. #​50689
  • 🐞 Fix Typography ellipsis.tooltip.title with ReactNode will cause dead loop. #​50688 @​zombieJ

  • 🛠 调整 Tree 与 TreeSelect 的 defaultExpandAll 的行为,仅将有子节点的 treeNode 加入 expandedKeys 以防止在大数据与 loadData 异步的情况下引发的性能问题。#​50689 @​zombieJ
  • 🐞 修复 Cascader 在 multiple 下搜索不会显示父节点作为选项的问题。#​50689
  • 🐞 修复 Typography ellipsis.tooltip.title 配置 ReactNode 会导致死循环的问题。#​50688 @​zombieJ

v5.20.4

Compare Source


v5.20.3

Compare Source

  • 🐞 Refactor Typography native css ellipsis measure logic to handle precision edge case. #​50514 @​zombieJ
  • 🐞 Fix ColorPicker onChangeComplete not correct when click directly without move on the picker panel. #​50501 @​zombieJ
  • 🐞 Fix FloatButton.Group with controlled mode warning for nest updating issue. #​50500 @​zombieJ

  • 🐞 重构 Typography 在使用 css 原生省略时的检查逻辑,以解决屏幕缩放等情况下的精度问题。#​50514 @​zombieJ
  • 🐞 修复 ColorPicker 组件在面板上不拖拽直接点击的时候,onChangeComplete 返回值不正确的问题。#​50501 @​zombieJ
  • 🐞 修复 FloatButton.Group 在受控模式下 React 会警告递归更新的问题。#​50500 @​zombieJ

v5.20.2

Compare Source

  • 💄 Fix the suffix style problem of InputNumber without control. #​50450 @​coding-ice
  • 🆕 Form rule.message supports skipping variable substitution through \\${}. #​50412 @​zombieJ
  • 🐞 Fixed the issue where the rounded corners of the trigger element are missing when the FloatButton component has shape="square" and in menu mode when the menu pops up. #​50408 @​li-jia-nan
  • 🐞 Fixed the problem that Upload.Dragger does not work when dragging and dropping upload folders. #​50394 @​huiliangShen
  • 🐞 Fixed the issue where the arrow icon disappears after hovering when Select specifies getPopcontainer={node=node.parentNode}. #​50382 @​afc163
  • 🐞 Fixed the arrow misalignment error when Popover sets the arrow.pointAtCenter property. #​50260 @​Wxh16144
  • 📖 Transfer adds Russian and Ukrainian localization copy. #​50429 @​alexlag
  • TypeScript

v5.20.1

Compare Source


v5.20.0

Compare Source


  • 🛠 替换 ColorPicker 内部使用的 @ctrl/tiny-color@ant-design/fast-color#​49846
  • 🆕 ConfigProvider 支持配置 Spin 的 indicator 属性。#​50183 @​coding-ice
  • 🆕 Upload showUploadList 添加 extra 以支持渲染额外信息。#​50098 @​guoyunhe
  • 🆕 Tree 新增 switcherLoadingIcon 属性以支持自定义树节点的加载图标#​49716 @​coding-ice
  • 🆕 Slider 支持 range.editable 以动态添加/删除节点。#​49923
  • 🆕 Slider range.editable 支持 minCountmaxCount 以配置可编辑节点树。#​49987
  • 🆕 在 QRCode 中支持自定义状态渲染。#​49563 @​kiner-tang
  • 🆕 Table 组件支持自定义过滤器下拉框空状态。 #​49613 @​Wxh16144
  • 🆕 Divider 支持添加 dashed(虚线)、dotted(点线)或 solid(实线)的样式。#​49654 @​pinaki-08
  • 🆕 InputNumber 支持 suffix 属性。#​49674 @​coding-ice
  • 🆕 ColorPicker 支持渐变色选择,并修复受控模式不生效的问题。#​50050
  • 🆕 Input/TextArea/Mentions 组件支持 onClear 回调,便于区分点击 x 清除和手动清除这两个行为。#​49905 @​li-jia-nan
  • ⌨️ 优化 Input 下长按回车会不断触发变更的问题。rc-input#72 @​crazyair
  • 🐞 修复 ColorPicker 在 cssinjs 模式下 line-height 失效的问题。#​50220 @​vagusX
  • 🐞 修复 ColorPicker 在 disabled 状态下的光标问题. #​50217 @​coding-ice
  • 🐞 修复 Table 中列存在分组时,排序不生效的问题。#​50086 @​Zyf665
  • 🐞 修复 Popover/PopConfirm/Tooltip 在目标元素宽度过大时,使用 topLeft, topRight, bottomLeft, bottomRight 的弹出动画起始缩放中心有所偏移的问题。#​50134
  • 💄 修复 Tree 组件 filter-node 节点高亮样式丢失。#​49773 @​wanpan11
  • 💄 优化 ColorPicker 当从 transparent 状态进行颜色选取时,默认使用亮色以代替原本的纯黑色以提升用户交互体验。#​50148
  • TypeScript
  • 🌐 Locales

v5.19.4

Compare Source


v5.19.3

Compare Source

v5.19.2

Compare Source


  • 🐞 修复 List actions 为空数组时会渲染 0 的问题。#​49842 @​int64ago
  • 🐞 修复 Upload 拖拽上传文件夹时,beforeUpload fileList 不完整的问题。#​49832 @​coderz-w
  • Descriptions
  • 🐞 修复 Spin percentsize 一同使用时,样式不正确的问题。#​49876
  • 🇮🇳 补充 DatePicker 的 kn_IN 本地化文案。#​49860 @​neerajap-01
  • Typescript
    • 🐞 修复 Tree iconswitcherIcon 参数类型未能正确推导的问题。#​49821
    • 🐞 回滚 Cascader multiple 定义更新导致 value 定义丢失的问题。#​49741 @​YangZhi1

v5.19.1

Compare Source


v5.19.0

Compare Source

  • 🆕 ConfigProvider now supports global configuration for variant. #​49535 @​MadCcc
  • QRCode
  • 🆕 Select component's filterSort property now includes searchValue parameter. #​49352 @​MadCcc
  • 🆕 Pagination adds simple property, supports read-only mode, and introduces align property. #​49562 @​coding-ice
  • 🐞 Enhanced Anchor's affix property for more configuration options. #​49295 @​gin-lsl
  • DatePicker
    • 🐞 Fixed missing arrow in DatePicker/TimePicker RangePicker with placement set to topRight or bottomRight.#​49333
    • 🐞 Fixed missing accessible text for DatePicker switch button, style issue in RTL mode for DatePicker.RangePicker, and crash when entering wrong end value in year selection of DatePicker.RangePicker.#​49333
    • 🐞 Fixed DatePicker.RangePicker resetting selected dates when entering dates via keyboard. #​49333
  • 🐞 Button fixed disabled property not working when used as Dropdown trigger. #​47363
  • 🐞 InputNumber now warns when using type=number with changeOnWheel. #​49648 @​wanpan11
  • Table
    • 🐞 Table fixed issue with locale.emptyText showing default value when set to a non-undefined value. #​49599 @​照明胧
    • 🐞 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 SubMenu node in Menu. #​49643 @​wanpan11
  • 💄 Improved active style for Slider handle. #​49630
  • 💄 Optimized variant=borderless style for DatePicker, TimePicker, Select, TreeSelect, Input, InputNumber, Mentions, now distinguishable when setting status property. #​49608
  • 🐞 Fixed Typography ellipsis not working when parent has nowrap style. #​49667
  • TypeScript:
  • 🌐 Locales

  • 🆕 ConfigProvider 现支持全局配置 variant#​49535 @​MadCcc
  • 🆕 QRCode
  • 🆕 Select 组件的 filterSort 属性现新增获取 searchValue 的参数。#​49352 @​MadCcc
  • 🆕 Pagination 支持 simple={{ readOnly }} 属性和 align 属性。#​49562 @​coding-ice
  • 💄 优化了 Slider 滑块的激活样式。#​49630
  • 🐞 增强了 Anchor 的 affix 属性,支持更多配置项。#​49295 @​gin-lsl
  • DatePicker
    • 🐞 修复了 DatePicker/TimePicker 的 RangePicker 在 placement 设置为 topRightbottomRight 时箭头丢失的问题。#​49333
    • 🐞 修复了 DatePicker 切换按钮缺失可访问性文本的问题,修复了 DatePicker.RangePicker 在 RTL 模式下的样式问题。#​49333
    • 🐞 修复了 DatePicker.RangePicker 年选择器输入结束值错误导致报错的问题。#​49333
    • 🐞 修复了 DatePicker.RangePicker 键盘输入日期时已选日期重置的问题。#​49333
  • 🐞 Button 修复了用作 Dropdown triggerdisabled 属性不生效的问题。#​47363
  • 🐞 InputNumber 在同时使用 type=numberchangeOnWheel 时现在会给出警告提示。#​49648 @​wanpan11
  • 🐞 修复 Dropdown 次级菜单 reset 样式丢失的问题。#​49643 @​wanpan11
  • 💄 优化了 DatePicker、TimePicker、Select、TreeSelect、Input、InputNumber、Mentions 的 variant="borderless" 样式,现在在设置 status 属性时也能够被区分。#​49608
  • Table
    • 🐞 Table 修复了 locale.emptyText 设置为非 undefined 值时仍会显示默认值的问题。#​49599 @​照明胧
    • 🐞 Table 自定义全局组件的 Empty 样式后,Table的过滤面板没生效的问题。#​49548 @​duqigit
  • 🐞 Upload 修复了在列表模式下文件过多时出现的渲染性能问题。#​49598 @​tlkv
  • 🐞 Typography 修复在父元素存在 nowrap 样式时,ellipsis 不生效的问题。#​49667
  • TypeScript:
  • 🌐 国际化

v5.18.3

Compare Source


v5.18.2

Compare Source

  • 🐞 Fix the bug where the icon and the text aren't strictly centered in message. #​49429 @​nova1751
  • 🐞 Fix Table sorter argument of onChange with unexpected value for #​49134. #​49289 @​Zyf665
  • 🐞 Add aria-label for expand icon in Collapse. #​49395 @​wanpan11
  • 🐞 Fix token inputFontSizeSM and inputFontSizeLG not working in InputNumber. #​49369
  • 💄 Fix Empty sometimes doesn't take colorTextDescription as description text color. #​49408
  • 💄 Resolve Badge processing status style conflict with Tailwind CSS. #​49379
  • 🌐 Locales

  • 🐞 修复了 message 图标与文本内容没有严格居中对齐的问题。#​49429 @​nova1751
  • 🐞 修复 #​49134 #​49289 中提到的 Table 组件的 onChange 事件中排序器参数的问题。@​Zyf665
  • 🐞 为 Collapse 组件中展开/折叠图标 添加具有语义的 aria-label 属性值。#​49395 @​wanpan11
  • 🐞 修复 InputNumber 组件中 token inputFontSizeSMinputFontSizeLG 不生效的问题。#​49369
  • 💄 修复 Empty 部分样式下,描述的 colorTextDescription 不生效的问题。#​49408
  • 💄 解决 Badge processing 与 Tailwind CSS 样式冲突的问题。#​49379
  • 🌐 国际化

v5.18.1

Compare Source


  • Typography
    • 🐞 修复 Typography 组件的 ellipsispre 标签中没有正常工作的问题。#​49168 @​nova1751
    • 🐞 修复 Typography ellipsis 在 Safari 中有时不生效的问题。#​49221
  • 🐞 修复 Space size 设置 0 不生效的问题。#​49192 @​coding-ice
  • 🐞 修复 Progress 文本的 padding 在 cssinjs 下单位失效问题。#​49250 @​vagusX
  • 🐞 修复 Modal 关闭按钮的 zIndexcssVar 模式下不正确的问题。#​49238
  • 🐞 修复 Image width height 被应用到预览图片上的问题。#​49259 @​nova1751
  • 🐞 修复 Pagination 页码切换器 hover 时图标消失的问题。#​49262
  • 🐞 修复 Mentions 当 loading=true 时不响应 Enter 事件的问题。#​49292 @​wanpan11
  • 🐞 修复 Notification 没有继承 App config 属性的问题。#​49339 @​hemengke1997
  • 💄 修复 Drawer 在暗黑模式下,文本颜色不正确的问题。#​49217
  • 💄 修复 Spin 自定义 indicator 时,样式不可见以及 percent 进度没有传递的问题。#​49211 @​wanpan11
  • DatePicker
    • 🐞 修复 DatePicker/TimePicker placement 属性失效的问题。#​49303
    • 💄 修复 DatePicker 头部区域内容不居中对齐的问题。#​49332
  • TypeScript
  • 🌐 国际化

v5.18.0

Compare Source



Configuration

📅 Schedule: Branch creation - "after 10pm,before 4am" in timezone America/New_York, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies Simple dependency bump label Aug 22, 2024
@renovate renovate bot force-pushed the renovate/antd-5.x branch 3 times, most recently from eebe3fd to 2c856de Compare September 17, 2024 10:14
@ChrisWeissmann ChrisWeissmann merged commit bc263ea into main Sep 17, 2024
2 checks passed
@ChrisWeissmann ChrisWeissmann deleted the renovate/antd-5.x branch September 17, 2024 10:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Simple dependency bump
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant