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

fix(deps): update dependency antd to ^5.14.0 #495

Merged
merged 1 commit into from
Feb 3, 2024
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 3, 2024

Mend Renovate

This PR contains the following updates:

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

Release Notes

ant-design/ant-design (antd)

v5.14.0

Compare Source

  • 🔥 Refactored the DatePicker component, details are follows. #​46982
    • 🆕 DatePicker adds multiple to support multiple selection capabilities.
    • 🆕 DatePicker supports showWeek attribute.
    • 🆕 DatePicker.RangePicker supports order attribute.
    • 🆕 DatePicker id attribute under RangePicker supports setting the id of the start and end input boxes separately.
    • 🆕 DatePicker onFocus and onBlur events of RangePicker will additionally provide an info.range to inform which input box the current focus comes from.
    • 🆕 DatePicker add matching pickerValue and defaultPickerValue attributes to control the date where the expanded panel is located.
    • 🆕 DatePicker add the preserveInvalidOnBlur attribute to keep the input content when losing focus in the case of accessibility.
    • 🆕 DatePicker format supports the align attribute, allowing input content through the mask mode.
    • 🆕 DatePicker Support required attribute.
    • 🆕 DatePicker time panel supports scrollOnChange to automatically select the corresponding time when scrolling.
    • 🆕 DatePicker add the needConfirm attribute to allow setting the confirmation or non-confirmation submission mode.
    • 🆕 DatePicker add the components attribute to allow customizing some panels.
    • 🆕 DatePicker all date-related information in the panel will allow configuration through locale.
    • 🆕 DatePicker format supports LT and LTS date formats.
    • 🆕 DatePicker add minDate and maxDate to set the panel switching range.
    • 🐞 DatePicker defaultPickerValue will now be reset each time the panel is expanded.
    • 🐞 DatePicker fix the problem that the input box function key will trigger the pop-up box, now it will only be triggered when the interactive key and the input content change.
    • 🐞 DatePicker Losing focus after entering the date through the input box will submit the change instead of losing the input content (that is, it is no longer necessary to press Enter to submit).
    • 🐞 DatePicker fix the problem that the hour obtained by disabledTime under use12Hours will also be clipped to 0~12.
    • 🐞 DatePicker fix the problem that the disabled date is not effective and can still be submitted under some interactions.
    • ⚡️ DatePicker Optimize disabledDate check logic, now it will provide info.type to inform the current panel information.
    • 🛠 DatePicker allowClear trigger event from onMouseDown to onClick.
    • 🛠 DatePicker Deprecate the preventDefault parameter of onKeyDown, please call it directly through event.preventDefault.
    • 🛠 DatePicker Remove the keyboard interaction with the panel, it needs to be redesigned based on accessibility.
    • 💄 DatePicker Remove the dotted line style of RangePicker to reduce visual interference.
    • 💄 DatePicker Remove the disabled range of RangePicker when selecting start or end time to optimize the interaction experience.
  • 🔥 Added support for stacked fixed columns in the Table component. #​47245
  • 🆕 Added support for components.body in the Table component under the virtual mode. #​47098 by @​linxianxi
  • 🆕 Added support for generics in the Segmented value type. #​47091 by @​madocto
  • 🆕 Added the changeOnWheel property to the InputNumber component to enable mouse wheel control. #​47158 by @​MadCcc
  • 🆕 Added six tokens (defaultHoverBg, defaultHoverColor, defaultHoverBorderColor, defaultActiveBg, defaultActiveColor, and defaultActiveBorderColor) to the Button component. #​47075 by @​madocto
  • 🆕 Added duration configuration support to the useNotification function in the Notification component. This update also applies to the notification configuration of the App component. #​47141
  • 🆕 Added support for configuring flex property in responsive layouts of the Grid component. #​47124
  • 🐞 Improved the Transfer internal padding of the Pagination component. #​47231 by @​qmhc
  • 🐞 Fixed the alignment issue in the Avatar component when the height is less than 16px. #​47236 by @​lcgash
  • 🐞 Fixed the incorrect mouse pointer when the Input component is disabled. #​47280 by @​MadCcc
  • 🐞 Fixed the issue where the hoverBorderColor and activeBorderColor token customization didn't work in the Input component. #​47243 by @​MadCcc
  • 💄 Fixed the issue where the hover style of submenus in the Menu component disappears at the edges. #​47227 by @​MadCcc
  • 💄 Menu fixed component styling issues in non-hash mode. #​46609 by @​MadCcc
  • 💄 Added classNames and styles properties to the Card component. #​46811 by @​zh-lx
  • ConfigProvider

  • 🔥 重构了 DatePicker 组件,详细改动如下。#​46982
    • 🆕 DatePicker 新增 multiple 支持多选能力。
    • 🆕 DatePicker 支持 showWeek 属性。
    • 🆕 DatePicker.RangePicker 下的 id 属性支持分别设置 startend 输入框的 id
    • 🆕 DatePicker.RangePicker 的 onFocusonBlur 事件会额外提供一个 info.range 告知当前的焦点来自于哪个输入框。
    • 🆕 DatePicker.RangePicker 支持 order 属性。
    • 🆕 DatePicker 新增配套 pickerValuedefaultPickerValue 属性用于受控管理展开面板所在日期。
    • 🆕 DatePicker 新增 preserveInvalidOnBlur 属性用于无障碍时失去焦点需要保留输入内容的场景。
    • 🆕 DatePicker format 支持 align 属性,允许通过掩码模式输入内容。
    • 🆕 DatePicker 支持 required 属性。
    • 🆕 DatePicker 时间面板支持 scrollOnChange 设置滚动时间时自动选择对应的时间。
    • 🆕 DatePicker 添加 needConfirm 属性,允许设置需要确认、或者不确认的提交模式。
    • 🆕 DatePicker 添加 components 属性,允许自定义部分面板。
    • 🆕 DatePicker 面板中所有的日期相关信息都会允许通过 locale 进行配置。
    • 🆕 DatePicker format 支持 LTLTS 日期格式。
    • 🆕 DatePicker 新增 minDatemaxDate 用于设置面板切换范围。
    • 🐞 DatePicker 的defaultPickerValue 现在会在每次面板展开时都进行重置。
    • 🐞 DatePicker 修复输入框功能按键会唤起弹出框的问题,现在只有在交互按键、以及输入内容变化时唤起。
    • 🐞 DatePicker 通过输入框输入日期后失去焦点会提交变更,而不是丢失输入内容(即不再强制需要按下回车提交)。
    • 🐞 DatePicker 修复 use12Hours 下,disabledTime 获取的 hour 也会被裁剪成 0~12 的问题。
    • 🐞 DatePicker 修复某些交互下,禁用日期没有生效依然可以提交的问题。
    • ⚡️ DatePicker 优化 disabledDate 检查逻辑,现在会提供 info.type 告知当前面板信息。
    • 🛠 DatePicker 的 allowClear 触发事件从 onMouseDown 切换为 onClick
    • 🛠 移除 DatePicker 的键盘对面板交互,它需要基于无障碍重新设计。
    • 🛠 DatePicker 废弃 onKeyDownpreventDefault 参数,请直接通过 event.preventDefault 进行调用。
    • 💄 DatePicker.RangePicker 移除虚线样式,减少视觉干扰。
    • 💄 DatePicker.RangePicker 移除在选择开始或者结束时间时的禁用范围,优化交互体验。
  • 🔥 Table 支持堆叠固定列。#​47245
  • 🆕 Table 支持 virtual 下的 components.body#​47098 @​linxianxi
  • 🆕 Segmented value 类型支持泛型。#​47091 @​madocto
  • 🆕 InputNumber 组件支持 changeOnWheel 属性,以启用鼠标滚轮控制。#​47158 @​MadCcc
  • 🆕 Button 添加 defaultHoverBgdefaultHoverColordefaultHoverBorderColordefaultActiveBgdefaultActiveColordefaultActiveBorderColor 六个 token。#​47075 @​madocto
  • 🆕 Notification useNotification 支持 duration 配置,该更新同样适用于 App 组件的 notification 配置。#​47141
  • 🆕 Grid 支持为响应式布局配置 flex 属性。#​47124
  • 🐞 改进 Transfer 组件分页器的内边距。#​47231 @​qmhc
  • 🐞 修复 Avatar 组件当高度小于 16px 内容不居中的问题。#​47236 @​lcgash
  • 🐞 修复 Input 组件禁用时鼠标指针不正确的问题。#​47280 @​MadCcc
  • 🐞 修复 Input 组件 hoverBorderColoractiveBorderColor token 定制无效的问题。#​47243 @​MadCcc
  • 💄 修复 Menu 组件子菜单 hover 样式在边缘消失的问题。#​47227 @​MadCcc
  • 💄 修复 Menu 在无 hash 模式下的组件样式问题。#​46609 @​MadCcc
  • 💄 Card 组件增加 classNamesstyles 属性。#​46811 @​zh-lx
  • ConfigProvider

Configuration

📅 Schedule: Branch creation - "every weekend" in timezone Asia/Shanghai, Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, 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 has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Feb 3, 2024

This PR has 2 quantified lines of changes. In general, a change size of upto 200 lines is ideal for the best PR experience!


Quantification details

Label      : Extra Small
Size       : +1 -1
Percentile : 0.8%

Total files changed: 2

Change summary by file extension:
.json : +1 -1
.lock : +0 -0

Change counts above are quantified counts, based on the PullRequestQuantifier customizations.

Why proper sizing of changes matters

Optimal pull request sizes drive a better predictable PR flow as they strike a
balance between between PR complexity and PR review overhead. PRs within the
optimal size (typical small, or medium sized PRs) mean:

  • Fast and predictable releases to production:
    • Optimal size changes are more likely to be reviewed faster with fewer
      iterations.
    • Similarity in low PR complexity drives similar review times.
  • Review quality is likely higher as complexity is lower:
    • Bugs are more likely to be detected.
    • Code inconsistencies are more likely to be detected.
  • Knowledge sharing is improved within the participants:
    • Small portions can be assimilated better.
  • Better engineering practices are exercised:
    • Solving big problems by dividing them in well contained, smaller problems.
    • Exercising separation of concerns within the code changes.

What can I do to optimize my changes

  • Use the PullRequestQuantifier to quantify your PR accurately
    • Create a context profile for your repo using the context generator
    • Exclude files that are not necessary to be reviewed or do not increase the review complexity. Example: Autogenerated code, docs, project IDE setting files, binaries, etc. Check out the Excluded section from your prquantifier.yaml context profile.
    • Understand your typical change complexity, drive towards the desired complexity by adjusting the label mapping in your prquantifier.yaml context profile.
    • Only use the labels that matter to you, see context specification to customize your prquantifier.yaml context profile.
  • Change your engineering behaviors
    • For PRs that fall outside of the desired spectrum, review the details and check if:
      • Your PR could be split in smaller, self-contained PRs instead
      • Your PR only solves one particular issue. (For example, don't refactor and code new features in the same PR).

How to interpret the change counts in git diff output

  • One line was added: +1 -0
  • One line was deleted: +0 -1
  • One line was modified: +1 -1 (git diff doesn't know about modified, it will
    interpret that line like one addition plus one deletion)
  • Change percentiles: Change characteristics (addition, deletion, modification)
    of this PR in relation to all other PRs within the repository.


Was this comment helpful? 👍  :ok_hand:  :thumbsdown: (Email)
Customize PullRequestQuantifier for this repository.

@renovate renovate bot merged commit 0a37224 into main Feb 3, 2024
5 checks passed
@renovate renovate bot deleted the renovate/dependencies branch February 3, 2024 22:22
github-actions bot added a commit that referenced this pull request Feb 3, 2024
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> 0a37224
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file Extra Small
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants