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

Update antd: 4.18.9 → 4.19.2 (minor) #52

Merged
merged 1 commit into from
Mar 19, 2022

Conversation

depfu[bot]
Copy link
Contributor

@depfu depfu bot commented Mar 14, 2022

Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.

What changed?

✳️ antd (4.18.9 → 4.19.2) · Repo

Release Notes

4.19.2

  • 🐞 Fix Dropdown not auto adjust placement when position on the edge of window. #34390
  • 💄 Change PageHeader elements margin from 12px to 8px inside extra. #34428
  • 🛠 Export css variable function in antd/es/config-provider folder to enable ssr requirement. #34436
  • 🛠 Refactor Menu with React hooks. #34433
  • Input
    • 💄 Fix Input font-size when size is large. #34381
    • 💄 Fix Input.Group wrong border when status is error. #34412
  • Form
    • 🐞 Fix Form.Item removed in form.validateFields throw Can't perform a React state update on an unmounted component warning. #34405
    • 🐞 Fix to Form that initialValues would change if preserve is false. #34411
  • Tooltip
  • 💄 Remove Collapse bottom border in simple style. #34366 @PanStar
  • TypeScript

  • 🐞 修复 Dropdown 在边界情况下不会自动调整展示位置的问题。#34390
  • 💄 缩小 PageHeader extra 内元素间距为 8px#34428
  • 🛠 导出 antd/es/config-provider 目录下的 css variable 函数以支持 ssr 的需求。#34436
  • 🛠 使用 React hooks 重构 Menu。#34433
  • Input
    • 💄 修复大尺寸 Input 的字号问题。#34381
    • 💄 修复 Input.Group 多余的错误边框样式。#34412
  • Form
    • 🐞 修复 Form.Item 在 form.validateFields 中移除时抛出 Can't perform a React state update on an unmounted component 警告的问题。#34405
    • 🐞 修复 Form 组件当 preservefalseinitialValues 会被更改的问题。#34411
  • Tooltip
    • 💄 修复 Tooltip 在 Safari 下的内容宽度问题。#34415 @jiandandkl
    • 💄 修复 Tooltip/Popover/Popconfirm 等组件箭头大小问题。#34407
  • 💄 优化 Collapse 简洁模式的底边框。#34366 @PanStar
  • TypeScript
    • 🤖 修复 Input 不支持 data-* TS 定义的问题。#34410 @GitKou
    • 🤖 修复 Transfer 的 footer 类型定义。#34337 @zomixi

4.19.1

  • 🐞 Fix less compile error related to custom status. #34350
    • 🐞 Fix error ReferenceError: colorPalette is not defined when customize theme.
    • 🐞 Fix error Error: Invalid class or id selector syntax when import antd/dist/antd.css.
  • 🐞 Fix Input.Passowrd icon color in site. #34354
  • 🐞 Fix ConfigProvider csp sometime not effect on Icon. #34356

  • 🐞 修复自定义状态相关的 less 编译错误 #34350
    • 🐞 修复使用定制主题时 less 编译提示 ReferenceError: colorPalette is not defined 错误。
    • 🐞 修复引入 antd/dist/antd.css 时提示 Error: Invalid class or id selector syntax 错误。
  • 🐞 修复 Input.Passowrd 图标颜色错误。#34354
  • 🐞 修复 ConfigProvider csp 有时在 Icon 上不会生效的问题。#34356

4.19.0

  • 💄 Optimize arrow style for some components. #33710
    image
  • Input
    • 🛠 Refactor Input with rc-input. #34206
      • Attention: The type and value of ref is modified because of refactoring from class component to function component. You can still get DOM node from input, and other methods such as focus and blur mentioned in document are also supported.
    • 🆕 Support clearIcon prop for customizing clear icon. #34325
  • Table
    • 🆕 filterSearch now support passing function to customize search. #34085 @heiyu4585
    • 🆕 column.filterDropdown({ clearFilters }) support clearFilters({ confirm: false, closeDropdown: false }). #34120 @heiyu4585
    • ⌨️ Table adds aria-sort attribute for screen readers. #33603 @dgreene1
    • 🐞 Fix Table filters select-all Checkbox not changed when select item. #34295
  • 🆕 Data entry components add status prop to support custom status.
  • 🆕 InputNumber supports controls={{ upIcon, downIcon }} to customize icon up and down. #33914 @heiyu4585
  • 🆕 Notification placement support top / bottom #33871 @heiyu4585
  • 🆕 Select, Cascades, DatePicker now support placement property. #33641 @ONLY-yours
  • 🆕 Dropdown support arrow={{ pointAtCenter: true }} to make arrow point at center. And top bottom placement are also supported. #33658
  • 🆕 Skeleton.Input Adds block prop. #33672 @woochanleee
  • 🆕 Move TimePicker disabledHours, disabledMinutes, disabledSeconds into disabledTime to align with DatePicker. #33503
  • 💄 Modify the color of some borders and the background color of the progress bar to be transparent to suit the colored background. #33506
  • 💄 Space support custom children key. #33607 @qin20
  • 🐞 Fix Typography.Title didn't keep font size when become editable. #34169 @heiyu4585
  • 🐞 Fix Form.Item throw warning React does not recognize the requiredMark prop on a DOM element. #34323

  • 💄 优化部分组件箭头样式。 #33710
    image
  • Input
    • 🛠 引入 rc-input 重构 Input 组件为 function component。#34206
      • 注意:由于从 class component 变为 function component,Input 组件的 ref 类型及内容已经更新,可以通过 import { InputRef } from 'antd' 引入。其中的 input 属性作为获取 DOM 的途径被保留,同时支持 focusblur 等文档中支持的方法。
    • 🆕 新增 clearIcon 属性,支持自定义清除按钮。 #34325
  • Table
    • 🆕 column.filterSearch 属性现在支持返回一个函数用于自定义搜索条件。#34085 @heiyu4585
    • 🆕 column.filterDropdown({ clearFilters }) 支持参数 clearFilters({ confirm: false, closeDropdown: false }) 控制筛选。#34120 @heiyu4585
    • ⌨️ 增加 aria-sort 属性以优化屏幕阅读器的使用体验。 #33603 @dgreene1
    • 🐞 修复 Table 列筛选器中选择全部 Checkbox 状态问题。 #34295
  • 🆕 表单组件新增 status 属性以支持自定义状态。
  • 🆕 InputNumber 组件支持 controls={{ upIcon, downIcon }} 用于自定义上下图标。#33914 @heiyu4585
  • 🆕 Notification 组件弹窗位置新增支持 top / bottom#33871 @heiyu4585
  • 🆕 Select、Cascader、DatePicker 等组件新增 placement 用于自定义弹层方向。 #33641 @ONLY-yours
  • 🆕 Dropdown 组件支持 arrow={{ pointAtCenter: true }} 用于指向元素正中间,并且新增 top bottom 两种 placement 位置。 #33658
  • 🆕 Skeleton.Input 添加 block 属性。 #33672 @woochanleee
  • 🆕 合并 TimePicker disabledHoursdisabledMinutesdisabledSecondsdisabledTime 以保持与 DatePicker 接口一致性。 #33503
  • 💄 修改部分边框颜色和进度条的背景色为透明色以适应有色背景。 #33506
  • 💄 Space 支持自定义 children 的 key#33607 @qin20
  • 🐞 修复 Typography.Title 进入编辑模式时大小不一致的问题。 #34169 @heiyu4585
  • 🐞 修复 Form.Item 抛出 React does not recognize the requiredMark prop on a DOM element 的问题。 #34323

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 54 commits:


Depfu Status

Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.

All Depfu comment commands
@​depfu rebase
Rebases against your default branch and redoes this update
@​depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@​depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@​depfu close
Closes this PR and deletes the branch
@​depfu reopen
Restores the branch and reopens this PR (if it's closed)
@​depfu pause
Ignores all future updates for this dependency and closes this PR
@​depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@​depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)

@depfu depfu bot added dependencies Dependencies depfu labels Mar 14, 2022
@vercel
Copy link

vercel bot commented Mar 14, 2022

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/uiuxarghya/8bits/CaCgzfYSE9Mq7iicPeiwTKMFfXFf
✅ Preview: https://8bits-git-depfu-updatenpmantd-4192-uiuxarghya.vercel.app

@uiuxarghya uiuxarghya merged commit a22cd5b into master Mar 19, 2022
@depfu depfu bot deleted the depfu/update/npm/antd-4.19.2 branch March 19, 2022 18:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant